hexsha stringlengths 40 40 | size int64 5 1.05M | ext stringclasses 98
values | lang stringclasses 21
values | max_stars_repo_path stringlengths 3 945 | max_stars_repo_name stringlengths 4 118 | max_stars_repo_head_hexsha stringlengths 40 78 | max_stars_repo_licenses listlengths 1 10 | max_stars_count int64 1 368k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 3 945 | max_issues_repo_name stringlengths 4 118 | max_issues_repo_head_hexsha stringlengths 40 78 | max_issues_repo_licenses listlengths 1 10 | max_issues_count int64 1 134k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 3 945 | max_forks_repo_name stringlengths 4 135 | max_forks_repo_head_hexsha stringlengths 40 78 | max_forks_repo_licenses listlengths 1 10 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 5 1.05M | avg_line_length float64 1 1.03M | max_line_length int64 2 1.03M | alphanum_fraction float64 0 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d3060785e59b40cd1cc01ba444984a1c5f2cee77 | 255 | cs | C# | EntityFrameworkCore/EntityFrameworkCore/RepositoryResult.cs | meyer-common/EntityFrameworkCore | 7cda579b906fe85ed33a6490550e9f1467746557 | [
"MIT"
] | null | null | null | EntityFrameworkCore/EntityFrameworkCore/RepositoryResult.cs | meyer-common/EntityFrameworkCore | 7cda579b906fe85ed33a6490550e9f1467746557 | [
"MIT"
] | null | null | null | EntityFrameworkCore/EntityFrameworkCore/RepositoryResult.cs | meyer-common/EntityFrameworkCore | 7cda579b906fe85ed33a6490550e9f1467746557 | [
"MIT"
] | null | null | null | namespace Meyer.Common.EntityFrameworkCore;
/// <summary>
/// An enumeration of status results
/// </summary>
public enum ResultStatus
{
Undefined,
Success,
Partial,
Error,
Conflict,
NotFound,
Added,
Updated,
Deleted
} | 15 | 43 | 0.65098 |
93d3334cf8197e365bdc6890d9efecc30df21dc1 | 239 | swift | Swift | app/Chatkit Quickstart/AppDelegate.swift | pusher/chatkit-getting-started-swift | a1602116cbe62a071885324bdbdb4845d1cfeb10 | [
"MIT"
] | null | null | null | app/Chatkit Quickstart/AppDelegate.swift | pusher/chatkit-getting-started-swift | a1602116cbe62a071885324bdbdb4845d1cfeb10 | [
"MIT"
] | null | null | null | app/Chatkit Quickstart/AppDelegate.swift | pusher/chatkit-getting-started-swift | a1602116cbe62a071885324bdbdb4845d1cfeb10 | [
"MIT"
] | null | null | null | import UIKit
//TODO import PusherChatkit
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
//TODO: add initChatkit function!
}
//TODO: add ChatManagerDelegate extension
| 14.9375 | 55 | 0.740586 |
938aa6513213d71b320e326a176f24c5a74cb358 | 212 | cs | C# | ClinicManagementSystem/ClinicManagementSystemDOL/Enums/Gender.cs | skgtrx/CMS | 7fc46336ffe55f833750aeaf6009934a8dc3532d | [
"MIT"
] | 1 | 2019-11-25T03:17:40.000Z | 2019-11-25T03:17:40.000Z | ClinicManagementSystem/ClinicManagementSystemDOL/Enums/Gender.cs | skgtrx/CMS | 7fc46336ffe55f833750aeaf6009934a8dc3532d | [
"MIT"
] | null | null | null | ClinicManagementSystem/ClinicManagementSystemDOL/Enums/Gender.cs | skgtrx/CMS | 7fc46336ffe55f833750aeaf6009934a8dc3532d | [
"MIT"
] | null | null | null | using System.ComponentModel;
namespace ClinicManagementSystemDOL.Enums
{
public enum Gender
{
[Description("Male")]
Male = 1,
[Description("Female")]
Female = 2
}
}
| 15.142857 | 41 | 0.584906 |
dd97b6f32afb4a831167081afae7a64e909c8cf8 | 921 | java | Java | src/main/java/com/thallium/sdvm/util/cca/MyComponents.java | AshIndigo/StardewValley-1.16.5 | 4a78eae16c739d946c32645b22f9a63e91d458b9 | [
"CC0-1.0"
] | null | null | null | src/main/java/com/thallium/sdvm/util/cca/MyComponents.java | AshIndigo/StardewValley-1.16.5 | 4a78eae16c739d946c32645b22f9a63e91d458b9 | [
"CC0-1.0"
] | null | null | null | src/main/java/com/thallium/sdvm/util/cca/MyComponents.java | AshIndigo/StardewValley-1.16.5 | 4a78eae16c739d946c32645b22f9a63e91d458b9 | [
"CC0-1.0"
] | null | null | null | package com.thallium.sdvm.util.cca;
import com.thallium.sdvm.StardewValley;
import dev.onyxstudios.cca.api.v3.component.ComponentKey;
import dev.onyxstudios.cca.api.v3.component.ComponentRegistryV3;
import dev.onyxstudios.cca.api.v3.entity.EntityComponentFactoryRegistry;
import dev.onyxstudios.cca.api.v3.entity.Entity... | 41.863636 | 123 | 0.819761 |
a329b6110b64d28945913ea9c349600a197299a0 | 737 | java | Java | src/main/java/dev/fiki/forgehax/api/color/Colors.java | OverFloyd/ForgeHax | cb91df4591c5756a8058775c68d66247fdeb151b | [
"MIT"
] | 1 | 2021-09-26T14:01:47.000Z | 2021-09-26T14:01:47.000Z | src/main/java/dev/fiki/forgehax/api/color/Colors.java | orsondmc/ForgeHax | 726cf27665571bd735d340e7e4bd6530addf5e25 | [
"MIT"
] | null | null | null | src/main/java/dev/fiki/forgehax/api/color/Colors.java | orsondmc/ForgeHax | 726cf27665571bd735d340e7e4bd6530addf5e25 | [
"MIT"
] | null | null | null | package dev.fiki.forgehax.api.color;
/**
* Created on 2/6/2018 by fr1kin
*/
public interface Colors {
ColorMap MAP = new ColorMap();
static ColorMap map() {
return MAP;
}
Color WHITE = MAP.getNonNull("white");
Color BLACK = MAP.getNonNull("black");
Color RED = MAP.getNonNull("red");
Color GREEN... | 27.296296 | 48 | 0.678426 |
d115d28611e68794ed59226f9e240fca914185ae | 948 | swift | Swift | Benji/BenjiParser.swift | aa-wong/benji | 94662eb5d90028c746c6e4d89fdfe7939e91e54a | [
"MIT"
] | 2 | 2020-04-16T15:11:30.000Z | 2020-04-26T00:38:29.000Z | Benji/BenjiParser.swift | aa-wong/Benji | 94662eb5d90028c746c6e4d89fdfe7939e91e54a | [
"MIT"
] | null | null | null | Benji/BenjiParser.swift | aa-wong/Benji | 94662eb5d90028c746c6e4d89fdfe7939e91e54a | [
"MIT"
] | null | null | null | //
// BenjiParser.swift
// Benji
//
// Created by Aaron Wong on 2019-11-21.
// Copyright © 2019 Aaron Wong. All rights reserved.
//
import UIKit
public class BenjiParser: NSObject {
public static func dataFromObject(object: Any,
completion: (_ error: Error?, _ data: Data?... | 28.727273 | 93 | 0.543249 |
c9d442a59f46f3415c9f7b5b482752b1fac4325c | 780 | tsx | TypeScript | src/containers/About/index.tsx | draperunner/Kramster | 973343f7b71d5fb944b91001e33ad1545b8f3dbb | [
"Apache-2.0"
] | 13 | 2015-05-24T17:55:06.000Z | 2018-11-29T11:54:58.000Z | src/containers/About/index.tsx | draperunner/Kramster | 973343f7b71d5fb944b91001e33ad1545b8f3dbb | [
"Apache-2.0"
] | 6 | 2015-11-19T18:50:15.000Z | 2019-10-01T13:33:06.000Z | src/containers/About/index.tsx | draperunner/Kramster | 973343f7b71d5fb944b91001e33ad1545b8f3dbb | [
"Apache-2.0"
] | 1 | 2019-10-01T05:55:26.000Z | 2019-10-01T05:55:26.000Z | import React from 'react'
import styles from './About.css'
const About = (): JSX.Element => (
<div>
<div className={styles.about}>
<h1 className={styles.title}>Cram with Kramster!</h1>
<p>
Kramster helps making exam preparation a little more fun. Select your
school and course and cra... | 30 | 82 | 0.614103 |
ff58152c8cc351d8f022fe6500b499f8d31b7dba | 1,631 | py | Python | setup.py | eli-collins/jinja2-htmlcompress | b23ed607ebb7b7ad11fb8292e8ff0b31f7ec505a | [
"BSD-3-Clause"
] | 6 | 2017-07-16T14:03:29.000Z | 2020-12-22T18:28:09.000Z | setup.py | eli-collins/jinja2-htmlcompress | b23ed607ebb7b7ad11fb8292e8ff0b31f7ec505a | [
"BSD-3-Clause"
] | null | null | null | setup.py | eli-collins/jinja2-htmlcompress | b23ed607ebb7b7ad11fb8292e8ff0b31f7ec505a | [
"BSD-3-Clause"
] | 1 | 2019-02-27T06:55:44.000Z | 2019-02-27T06:55:44.000Z | #!/usr/bin/env python
"""
jinja2htmlcompress setup script
"""
#=============================================================================
# imports
#=============================================================================
from setuptools import setup, find_packages
#============================================... | 29.654545 | 78 | 0.433476 |
a149d35d5c441bd80b7a3b4bc8ab5394537175bf | 3,336 | ts | TypeScript | src/__tests__/store/actions/streamDetails.test.ts | torerikal/streamlab-1 | c29d9b74cf39ab9bdcc67dfd2e47a5256f478743 | [
"Apache-2.0"
] | 12 | 2021-04-26T19:56:22.000Z | 2022-01-19T17:12:55.000Z | src/__tests__/store/actions/streamDetails.test.ts | torerikal/streamlab-1 | c29d9b74cf39ab9bdcc67dfd2e47a5256f478743 | [
"Apache-2.0"
] | null | null | null | src/__tests__/store/actions/streamDetails.test.ts | torerikal/streamlab-1 | c29d9b74cf39ab9bdcc67dfd2e47a5256f478743 | [
"Apache-2.0"
] | 2 | 2020-11-25T07:40:03.000Z | 2021-01-11T02:08:31.000Z | import {
DRM_CERTIFICATE_RESOURCE_FIELD_CHANGE,
DRM_LICENSE_RESOURCE_FIELD_CHANGE,
APPLY_BROWSER_ENVIRONMENT,
applyBrowserEnvironment,
START_OFFSET_FIELD_CHANGE,
STREAM_RESOURCE_FIELD_CHANGE,
SUBTITLES_RESOURCE_FIELD_CHANGE,
updateStreamDetailsField,
} from '../../../store/actions/streamDetails';
import... | 27.121951 | 120 | 0.582734 |
f4abf0023ad7014c5a127f6b0a530819d63e160b | 2,804 | ts | TypeScript | core/src/plugins/plugin.spec.ts | Taranys/cuillere | 59d99eb070d36e9e9e4caff0d93a49fd15c40e15 | [
"Apache-2.0"
] | null | null | null | core/src/plugins/plugin.spec.ts | Taranys/cuillere | 59d99eb070d36e9e9e4caff0d93a49fd15c40e15 | [
"Apache-2.0"
] | null | null | null | core/src/plugins/plugin.spec.ts | Taranys/cuillere | 59d99eb070d36e9e9e4caff0d93a49fd15c40e15 | [
"Apache-2.0"
] | null | null | null | import cuillere, { Cuillere, Plugin, next } from '..'
describe('plugin', () => {
const test = async (cllr: Cuillere, expected = 'test') => {
function* func() {
return 'test'
}
expect(await cllr.call(func)).toBe(expected)
}
it('should work with no plugins', async () => {
const cllr = cuille... | 22.796748 | 123 | 0.537803 |
8d94678e2c43c37ee7352f0f1554647428901baa | 129 | js | JavaScript | src/js/stores/tokens/tokenGetters.js | percipioglobal/craft | 802a3fe80fd1966e0e051ce97e43a2bec07e056e | [
"MIT"
] | 5 | 2020-07-15T09:47:35.000Z | 2022-01-07T13:45:11.000Z | src/js/stores/tokens/tokenGetters.js | percipioglobal/craft | 802a3fe80fd1966e0e051ce97e43a2bec07e056e | [
"MIT"
] | 69 | 2020-06-29T11:32:01.000Z | 2021-12-15T09:47:33.000Z | src/js/stores/tokens/tokenGetters.js | percipioglobal/craft | 802a3fe80fd1966e0e051ce97e43a2bec07e056e | [
"MIT"
] | 6 | 2020-07-23T19:35:27.000Z | 2022-03-09T10:46:02.000Z | export const CSRF_TOKEN = (state) => {
return state.csrf
}
export const GQL_TOKEN = (state) => {
return state.gqlToken
} | 18.428571 | 38 | 0.658915 |
a3b87a51829aa358bfb440d5c48cca6b697b5d82 | 9,989 | kt | Kotlin | app/src/main/java/me/digitalby/lr5/MainActivity.kt | digitalby/University-Project-Battleships | b86b4eb4e29f0a56e28c31d4e3d1c3a57b81fbd8 | [
"MIT"
] | 3 | 2020-12-14T21:04:20.000Z | 2020-12-14T21:11:37.000Z | app/src/main/java/me/digitalby/lr5/MainActivity.kt | digitalby/University-Project-Battleships | b86b4eb4e29f0a56e28c31d4e3d1c3a57b81fbd8 | [
"MIT"
] | null | null | null | app/src/main/java/me/digitalby/lr5/MainActivity.kt | digitalby/University-Project-Battleships | b86b4eb4e29f0a56e28c31d4e3d1c3a57b81fbd8 | [
"MIT"
] | null | null | null | package me.digitalby.lr5
import android.content.Context
import android.content.Intent
import android.content.SharedPreferences
import android.content.pm.ActivityInfo
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.text.InputType
import android.util.Log
import android.widget.Edit... | 36.061372 | 108 | 0.613475 |
310ffc07f80750fa644c1c9b4abd7acc4ace5de1 | 2,229 | rb | Ruby | app/controllers/imgs_controller.rb | Stephanie041996/Image_Repository | 006e5ab6368a63ff9c4234a86a007a2215ae6454 | [
"MIT"
] | 5 | 2021-06-17T12:44:07.000Z | 2021-06-17T19:03:33.000Z | app/controllers/imgs_controller.rb | Stephanie041996/Image_Repository | 006e5ab6368a63ff9c4234a86a007a2215ae6454 | [
"MIT"
] | null | null | null | app/controllers/imgs_controller.rb | Stephanie041996/Image_Repository | 006e5ab6368a63ff9c4234a86a007a2215ae6454 | [
"MIT"
] | null | null | null | class ImgsController < ApplicationController
before_action :set_img, only: %i[ show edit update destroy ]
before_action :authenticate_user!, except: %i[index show]
before_action :correct_user, only: %i[ edit update destroy ]
# GET /imgs or /imgs.json
def index
@imgs = Img.order(created_at: :desc).limit(... | 26.535714 | 85 | 0.650965 |
12633aa1ab4870eadd35b2c3af5d1d7821aa1dbe | 1,601 | cs | C# | TODOList.Domain.Services/Handlers/Querys/GetAllTaskItemsQueryHandler.cs | pedro-octavio/TODOList | a27ca9478026ecfd49ce062527317a45eb4a3631 | [
"MIT"
] | 1 | 2021-02-22T11:47:59.000Z | 2021-02-22T11:47:59.000Z | TODOList.Domain.Services/Handlers/Querys/GetAllTaskItemsQueryHandler.cs | pedro-octavio/TODOList | a27ca9478026ecfd49ce062527317a45eb4a3631 | [
"MIT"
] | null | null | null | TODOList.Domain.Services/Handlers/Querys/GetAllTaskItemsQueryHandler.cs | pedro-octavio/TODOList | a27ca9478026ecfd49ce062527317a45eb4a3631 | [
"MIT"
] | null | null | null | using AutoMapper;
using MediatR;
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using TODOList.Data.Core.Repositories;
using TODOList.Domain.Models.RequestModels.QueryRequestModels;
using TODOList.Domain.Models.ResponseModels.QueryResponseModels;
namespace TODOLi... | 42.131579 | 181 | 0.750156 |
9f4f3638bd4d70d74a08b74dc4211fa6ea15cbba | 2,154 | kt | Kotlin | samples/firebase/src/main/kotlin/io/mehow/laboratory/sample/firebase/Application.kt | MiSikora/laboratory | 3700c4e1df4e0ac20d553ae075bb33f5e64cf96f | [
"Apache-2.0"
] | 70 | 2020-11-16T02:20:38.000Z | 2022-03-30T03:11:37.000Z | samples/firebase/src/main/kotlin/io/mehow/laboratory/sample/firebase/Application.kt | MiSikora/laboratory | 3700c4e1df4e0ac20d553ae075bb33f5e64cf96f | [
"Apache-2.0"
] | 57 | 2020-10-25T12:28:30.000Z | 2022-02-19T19:02:35.000Z | samples/firebase/src/main/kotlin/io/mehow/laboratory/sample/firebase/Application.kt | MiSikora/laboratory | 3700c4e1df4e0ac20d553ae075bb33f5e64cf96f | [
"Apache-2.0"
] | 3 | 2020-12-03T16:18:58.000Z | 2022-03-30T03:11:40.000Z | package io.mehow.laboratory.sample.firebase
import android.content.Context
import androidx.datastore.core.DataStoreFactory
import com.google.firebase.database.DataSnapshot
import com.google.firebase.database.DatabaseError
import com.google.firebase.database.ValueEventListener
import com.google.firebase.database.ktx.da... | 42.235294 | 116 | 0.808728 |
a457fe5319cb9d2b3b37a585fb6848ae3f0df5ac | 12,849 | php | PHP | storage/framework/views/e133cf88430da2a514848f96a5a951f817a7c1a4.php | mohanadhilles/foodsplus | 328a3940a94f2dc98521b2be922c086241f6e9e8 | [
"MIT"
] | null | null | null | storage/framework/views/e133cf88430da2a514848f96a5a951f817a7c1a4.php | mohanadhilles/foodsplus | 328a3940a94f2dc98521b2be922c086241f6e9e8 | [
"MIT"
] | null | null | null | storage/framework/views/e133cf88430da2a514848f96a5a951f817a7c1a4.php | mohanadhilles/foodsplus | 328a3940a94f2dc98521b2be922c086241f6e9e8 | [
"MIT"
] | null | null | null | <?php $userinfo = app('App\UserInfo'); ?>
<?php $settings = app('App\Settings'); ?>
<?php $lang = app('App\Lang'); ?>
<?php $__env->startSection('content'); ?>
<div class="header">
<div class="row clearfix">
<div class="col-md-6 ">
<h4 class=""><?php echo e($lang->get(25)); ?>... | 43.262626 | 233 | 0.377539 |
5aa75b3ccc310f9699ba20bfb39ac7a4eccaa438 | 5,215 | dart | Dart | lib/d_stack.dart | DuYuanye/d_stack | d88898904a364e7a6b278646c2107d80ddfedf9d | [
"MIT"
] | null | null | null | lib/d_stack.dart | DuYuanye/d_stack | d88898904a364e7a6b278646c2107d80ddfedf9d | [
"MIT"
] | null | null | null | lib/d_stack.dart | DuYuanye/d_stack | d88898904a364e7a6b278646c2107d80ddfedf9d | [
"MIT"
] | null | null | null | /*
* Created with Android Studio.
* User: whqfor
* Date: 2020-02-03
* Time: 14:20
* email: wanghuaqiang@tal.com
* tartget: plugin人口
*/
import 'package:d_stack/channel/dchannel.dart';
import 'package:d_stack/navigator/dnavigator_gesture_observer.dart';
import 'package:d_stack/navigator/dnavigator_manager.dart';
... | 26.338384 | 77 | 0.699521 |
2cc71182d45ec6e07d0045564180be4b28e8ae80 | 336 | py | Python | openlayers/views.py | bianchimro/django-openlayers | 883d0b5876f66fc6f83caa3cb3c4af86c08beecf | [
"BSD-3-Clause"
] | 4 | 2015-12-30T07:16:10.000Z | 2020-04-12T19:24:21.000Z | openlayers/views.py | bianchimro/django-openlayers | 883d0b5876f66fc6f83caa3cb3c4af86c08beecf | [
"BSD-3-Clause"
] | null | null | null | openlayers/views.py | bianchimro/django-openlayers | 883d0b5876f66fc6f83caa3cb3c4af86c08beecf | [
"BSD-3-Clause"
] | 5 | 2015-04-29T07:36:16.000Z | 2022-03-26T20:15:21.000Z | # Create your views here.
from django.http import HttpResponse, HttpResponseRedirect
from django.template import RequestContext, loader
from django.shortcuts import render_to_response, redirect
from models import *
def map(request, id):
map = Map.objects.get(pk=id)
return render_to_response("map.html", ... | 25.846154 | 58 | 0.755952 |
255c8533a05e1ee03ed2436f84322f9161dc9797 | 183 | js | JavaScript | dokumentacja/html/search/classes_1.js | KPO-2020-2021/zad5_1-Patidzon | b9aac04c5a5fe91a259c9d7205f6447c11a0c7cb | [
"Unlicense"
] | null | null | null | dokumentacja/html/search/classes_1.js | KPO-2020-2021/zad5_1-Patidzon | b9aac04c5a5fe91a259c9d7205f6447c11a0c7cb | [
"Unlicense"
] | null | null | null | dokumentacja/html/search/classes_1.js | KPO-2020-2021/zad5_1-Patidzon | b9aac04c5a5fe91a259c9d7205f6447c11a0c7cb | [
"Unlicense"
] | null | null | null | var searchData=
[
['basic_5fostream_1006',['basic_ostream',['../classbasic__ostream.html',1,'']]],
['brylawzorcowa_1007',['brylawzorcowa',['../classbrylawzorcowa.html',1,'']]]
];
| 30.5 | 82 | 0.677596 |
386c622512dd300295ec58f3088941950db6d1c2 | 1,120 | php | PHP | application/views/login.php | LeticiaSandoval/SPA-UAMI_V1 | e9bd1069781ff504b6ca7d97957d864451b194a2 | [
"MIT"
] | null | null | null | application/views/login.php | LeticiaSandoval/SPA-UAMI_V1 | e9bd1069781ff504b6ca7d97957d864451b194a2 | [
"MIT"
] | null | null | null | application/views/login.php | LeticiaSandoval/SPA-UAMI_V1 | e9bd1069781ff504b6ca7d97957d864451b194a2 | [
"MIT"
] | null | null | null | <div class="jumbotron">
<div class="container">
<h1>SPA-UAM-I</h1>
<p>Sistema de productividad académica</p>
</div>
</div>
<div class="row">
<div class="col-sm-4 col-sm-offset-4 myform-cont" >
<div class="myform-top">
<div class="myform-top-left">
... | 38.62069 | 127 | 0.483929 |
546b55ade586abd850ad48d54acb3b010dca745b | 725 | css | CSS | src/css/popup.css | magnasilvar/google-consent-bypass | 5a3930b81e46d0af1ab4ea7e17659c7b67090bb7 | [
"MIT"
] | 1 | 2021-07-30T12:08:55.000Z | 2021-07-30T12:08:55.000Z | src/css/popup.css | magnasilvar/google-consent-bypass | 5a3930b81e46d0af1ab4ea7e17659c7b67090bb7 | [
"MIT"
] | 4 | 2021-06-12T17:13:33.000Z | 2021-09-06T22:07:58.000Z | src/css/popup.css | magnasilvar/google-consent-bypass | 5a3930b81e46d0af1ab4ea7e17659c7b67090bb7 | [
"MIT"
] | 2 | 2021-06-11T07:56:32.000Z | 2021-09-05T14:47:28.000Z | body {
text-align: center;
font-family: Helvetica, Arial, sans-serif;
font-size: .9rem;
line-height: 1.5rem;
margin: 0;
width: 23rem;
}
header {
display: flex;
align-items: center;
justify-content: space-evenly;
padding: 1rem 0 0 0;
}
header h1 {
margin: 0;
font-size: 1.4rem;
}
main {
width: ... | 13.942308 | 44 | 0.645517 |
6a25a304b55edec2030af40b894275d693fc356d | 1,081 | sql | SQL | server/backend/src/main/resources/db/migration/V4__AddUserForWorkEventAndWorkPeriod.sql | opate/office-thing | 01f6c9a494967f9bc501b2288ac711ef3129edf1 | [
"Apache-2.0"
] | 1 | 2019-07-02T18:51:44.000Z | 2019-07-02T18:51:44.000Z | server/backend/src/main/resources/db/migration/V4__AddUserForWorkEventAndWorkPeriod.sql | opate/office-thing | 01f6c9a494967f9bc501b2288ac711ef3129edf1 | [
"Apache-2.0"
] | null | null | null | server/backend/src/main/resources/db/migration/V4__AddUserForWorkEventAndWorkPeriod.sql | opate/office-thing | 01f6c9a494967f9bc501b2288ac711ef3129edf1 | [
"Apache-2.0"
] | null | null | null | -- Add column userid to workevent. Remove column rfid_uid from workevent.
DO $$
BEGIN
BEGIN
ALTER TABLE workevent ADD COLUMN user_id BIGINT;
EXCEPTION
WHEN duplicate_column THEN RAISE NOTICE 'column user_id already exists in workevent.';
END;
END$$;
-- Add column us... | 30.885714 | 99 | 0.721554 |
05ad50727941c958a6a4cefe1e0b137c33ad2ed0 | 1,979 | rs | Rust | duna-core/src/architectures/riscv/registers.rs | noloerino/mars | 38a44eb118c812aafa870ade9e9be4b1c55ab261 | [
"MIT"
] | null | null | null | duna-core/src/architectures/riscv/registers.rs | noloerino/mars | 38a44eb118c812aafa870ade9e9be4b1c55ab261 | [
"MIT"
] | 8 | 2020-12-04T01:26:02.000Z | 2022-02-27T11:08:00.000Z | duna-core/src/architectures/riscv/registers.rs | noloerino/mars | 38a44eb118c812aafa870ade9e9be4b1c55ab261 | [
"MIT"
] | null | null | null | use crate::{data_structures::*, program_state::IRegister};
use std::fmt;
#[derive(Copy, Clone, PartialEq, Debug)]
pub enum RiscVRegister {
Zero = 0,
Ra,
Sp,
Gp,
Tp,
T0,
T1,
T2,
S0,
S1,
A0,
A1,
A2,
A3,
A4,
A5,
A6,
A7,
S2,
S3,
S4,
S5... | 19.594059 | 58 | 0.544214 |
5d31ec742b2c9a137651e966d42d1d182ac107d2 | 1,577 | rb | Ruby | spec/factories.rb | chatgris/blabbr | 485f2031b1ee3fe50cba103b8c797a744d9c870a | [
"MIT"
] | 3 | 2015-11-05T08:05:02.000Z | 2016-09-02T18:16:01.000Z | spec/factories.rb | chatgris/blabbr | 485f2031b1ee3fe50cba103b8c797a744d9c870a | [
"MIT"
] | null | null | null | spec/factories.rb | chatgris/blabbr | 485f2031b1ee3fe50cba103b8c797a744d9c870a | [
"MIT"
] | null | null | null | # encoding: utf-8
Factory.define :user do |u|
u.nickname "One user"
u.email "mail@email.com"
u.locale "fr"
u.password "password"
u.password_confirmation "password"
u.posts_count 12
end
Factory.define :invited, :class... | 28.672727 | 69 | 0.479391 |
a7733c6a126bd64577ca5c4512530d0a7ecef5af | 1,852 | dart | Dart | lib/editor/main/widgets/editor_grid_overlay.dart | jeffsieu/blocked | 6bdc6429ed9f905bc6d6ecee1f29a0bed41111bc | [
"MIT"
] | 5 | 2022-03-15T02:55:42.000Z | 2022-03-31T06:46:09.000Z | lib/editor/main/widgets/editor_grid_overlay.dart | jeffsieu/blocked | 6bdc6429ed9f905bc6d6ecee1f29a0bed41111bc | [
"MIT"
] | null | null | null | lib/editor/main/widgets/editor_grid_overlay.dart | jeffsieu/blocked | 6bdc6429ed9f905bc6d6ecee1f29a0bed41111bc | [
"MIT"
] | null | null | null | import 'package:blocked/puzzle/board_constants.dart';
import 'package:blocked/resizable/resizable.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
class EditorGridOverlay extends StatelessWidget {
const EditorGridOverlay(
{Key? key, this.color = const Color(0x66777777), t... | 26.84058 | 80 | 0.62581 |
0f1522943f7f321a57c9b884aa53dfb156e4f292 | 2,451 | sql | SQL | employeeTrackerSeeds.sql | BrandonEJenkins/MySQL-Employee-Tracker | 747ed4310e1ed0ece0107d3c2219758f1602bbee | [
"MIT"
] | null | null | null | employeeTrackerSeeds.sql | BrandonEJenkins/MySQL-Employee-Tracker | 747ed4310e1ed0ece0107d3c2219758f1602bbee | [
"MIT"
] | null | null | null | employeeTrackerSeeds.sql | BrandonEJenkins/MySQL-Employee-Tracker | 747ed4310e1ed0ece0107d3c2219758f1602bbee | [
"MIT"
] | null | null | null | DROP DATABASE IF EXISTS employee_trackerdb;
CREATE DATABASE employee_trackerDB;
use employee_trackerDB;
-- name is department name
CREATE TABLE department (
id INT NOT NULL AUTO_INCREMENT,
name VARCHAR(30) NULL,
PRIMARY KEY (id)
);
CREATE TABLE role (
id INT NOT NULL AUTO_INCREMENT,
title VARCHAR(30) ... | 43 | 104 | 0.735618 |
7bfa51cd85ab7ce66cf0773192b7639a6a65b034 | 9,917 | cc | C++ | application/common/application_file_util.cc | shaochangbin/crosswalk | a4e189b2ab8ca33555a90601476d59c9c291942f | [
"BSD-3-Clause"
] | 1 | 2019-01-16T06:49:57.000Z | 2019-01-16T06:49:57.000Z | application/common/application_file_util.cc | shaochangbin/crosswalk | a4e189b2ab8ca33555a90601476d59c9c291942f | [
"BSD-3-Clause"
] | null | null | null | application/common/application_file_util.cc | shaochangbin/crosswalk | a4e189b2ab8ca33555a90601476d59c9c291942f | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "xwalk/application/common/application_file_util.h"
#include <algorithm>
#include <map>
#include <vector>
#include "base/command_line.h"
#in... | 32.837748 | 78 | 0.628618 |
f5ccfcabf9a7e7c3b0b07d41ca0eed20db0241c3 | 754 | css | CSS | src/components/interclub/interclub.module.css | jonathanvouilloz/bccChenois | 0894a6c9daf7ceba8b533b48e3da2d3df56471b0 | [
"MIT"
] | null | null | null | src/components/interclub/interclub.module.css | jonathanvouilloz/bccChenois | 0894a6c9daf7ceba8b533b48e3da2d3df56471b0 | [
"MIT"
] | null | null | null | src/components/interclub/interclub.module.css | jonathanvouilloz/bccChenois | 0894a6c9daf7ceba8b533b48e3da2d3df56471b0 | [
"MIT"
] | null | null | null | .aboutInter {
margin: auto;
margin-left: 10px;
margin-right: 10px;
}
.aboutInter h2 {
text-decoration: underline;
}
li {
color: #696969;
}
.saison {
font-size: 1.5rem;
text-transform: uppercase;
color: var(--primaryColor);
font-size: 1.3rem;
padding: 1rem 1.5rem;
border-color: var(--primaryColor... | 15.08 | 38 | 0.639257 |
051d11c52442026e3b007d1ef5518bfdbe61f81c | 2,009 | css | CSS | packages/examples/src/examples/hooks/style.css | wixplosives/tsx-air | 367e016288e5090a833a2149bc20d81a211f16cc | [
"MIT"
] | 4 | 2019-07-30T20:28:37.000Z | 2020-08-04T18:30:24.000Z | packages/examples/src/examples/hooks/style.css | wixplosives/tsx-air | 367e016288e5090a833a2149bc20d81a211f16cc | [
"MIT"
] | 13 | 2020-01-25T10:56:28.000Z | 2021-08-31T17:52:00.000Z | packages/examples/src/examples/hooks/style.css | wixplosives/tsx-air | 367e016288e5090a833a2149bc20d81a211f16cc | [
"MIT"
] | null | null | null | * {
font-family: sans-serif;
}
.eye {
border: #000 solid 0.1em;
margin: 5%;
border-radius: 50%;
background-color: white;
display: flex;
align-content: center;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
}
.eye > div {
border-radius: 50%;
... | 20.71134 | 76 | 0.598805 |
389aa9a6ef948ccf91d65c4d599f456df9ab1033 | 23,404 | php | PHP | dars_2/uyga_vazifa_2.php | Umidjon017/php-mini-logic-projects | c34d8af4591936e81430f1f59f6530fa1ae37630 | [
"BSD-3-Clause"
] | 1 | 2022-02-28T18:15:14.000Z | 2022-02-28T18:15:14.000Z | dars_2/uyga_vazifa_2.php | Umidjon017/php-mini-logic-projects | c34d8af4591936e81430f1f59f6530fa1ae37630 | [
"BSD-3-Clause"
] | null | null | null | dars_2/uyga_vazifa_2.php | Umidjon017/php-mini-logic-projects | c34d8af4591936e81430f1f59f6530fa1ae37630 | [
"BSD-3-Clause"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Uyga vazifa | PHP shart amallar</title>
<!-- Bootstrap CSS link -->
<li... | 53.070295 | 218 | 0.328405 |
ee475273a06ff118938732b344d5d3d4ce4726cc | 130 | rb | Ruby | lib/kata/kyu7/binary_addition/binary_addition.rb | Madh93/codewars_rb | 57417a206cef28f6f62b4c600c5a9d7572b4251f | [
"MIT"
] | null | null | null | lib/kata/kyu7/binary_addition/binary_addition.rb | Madh93/codewars_rb | 57417a206cef28f6f62b4c600c5a9d7572b4251f | [
"MIT"
] | null | null | null | lib/kata/kyu7/binary_addition/binary_addition.rb | Madh93/codewars_rb | 57417a206cef28f6f62b4c600c5a9d7572b4251f | [
"MIT"
] | null | null | null | module Kata
module Kyu7
class << self
def binary_addition(a, b)
(a + b).to_s(2)
end
end
end
end
| 10.833333 | 31 | 0.523077 |
b742ad6d6fd4c70b7d107a608f8fa7ce5bb1c65d | 11,874 | cs | C# | SerilogAnalyzer/SerilogAnalyzer/Resources.Designer.cs | PTW-Freiburg/SerilogAnalyzer | bf62860f502db19bc45fd0f46541f383ef3a4455 | [
"Apache-2.0"
] | 1 | 2021-03-31T23:09:40.000Z | 2021-03-31T23:09:40.000Z | SerilogAnalyzer/SerilogAnalyzer/Resources.Designer.cs | PTW-Freiburg/SerilogAnalyzer | bf62860f502db19bc45fd0f46541f383ef3a4455 | [
"Apache-2.0"
] | null | null | null | SerilogAnalyzer/SerilogAnalyzer/Resources.Designer.cs | PTW-Freiburg/SerilogAnalyzer | bf62860f502db19bc45fd0f46541f383ef3a4455 | [
"Apache-2.0"
] | null | null | null | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 42.256228 | 184 | 0.606872 |
49917025b5391af044654bc61bf168869c1ed2e5 | 926 | py | Python | core/admin.py | hackforthesea/hackforthesea.tech | 33b7522c13d87b26a39e9dfbdcad4067b44cda06 | [
"BSD-3-Clause"
] | 1 | 2018-09-17T04:35:06.000Z | 2018-09-17T04:35:06.000Z | core/admin.py | hackforthesea/hackforthesea.tech | 33b7522c13d87b26a39e9dfbdcad4067b44cda06 | [
"BSD-3-Clause"
] | 5 | 2021-04-08T18:28:06.000Z | 2022-02-10T08:24:03.000Z | core/admin.py | hackforthesea/hackforthesea.tech | 33b7522c13d87b26a39e9dfbdcad4067b44cda06 | [
"BSD-3-Clause"
] | 1 | 2018-09-17T04:35:08.000Z | 2018-09-17T04:35:08.000Z | from django.contrib import admin
# from .models import Sponsor, CommunityPartner, Location, Team, Participant, \
# Submission, FrequentlyAskedQuestion
# class SponsorAdmin(admin.ModelAdmin):
# pass
# class CommunityPartnerAdmin(admin.ModelAdmin):
# pass
# class LocationAdmin(admin.ModelAdmin):
# ... | 22.585366 | 79 | 0.774298 |
e585f29632c9bd441764baff58d9f5df3de40c3b | 7,619 | lua | Lua | src/lua-game/configs/animation_config.lua | oprochazka/spiderAgonyRpg | 8c4f7ed9255ea381d6b802f090b56f642d176dd2 | [
"Apache-2.0"
] | null | null | null | src/lua-game/configs/animation_config.lua | oprochazka/spiderAgonyRpg | 8c4f7ed9255ea381d6b802f090b56f642d176dd2 | [
"Apache-2.0"
] | null | null | null | src/lua-game/configs/animation_config.lua | oprochazka/spiderAgonyRpg | 8c4f7ed9255ea381d6b802f090b56f642d176dd2 | [
"Apache-2.0"
] | 1 | 2021-06-21T23:08:30.000Z | 2021-06-21T23:08:30.000Z | _ANIMATION_HERO = {
-- ["move_x"] = -15,
["sprites"] = {
["move_sprite"] = {
["path"] = PATH_HERO .. "model_move.png",
["clipx"] = 8,
["clipy"] = 8,
},
["fight_sprite"] = {
["path"] = PATH_HERO .. "model_fight.png",
["clipx"] = 6,
["clipy"] = 8,
},
},
["sounds"] = {
... | 20.931319 | 85 | 0.443234 |
e06042848f25c86013aeb481a4c46ece1d0d1048 | 2,448 | go | Go | formjson_test.go | boonep/go-json-rest-middleware-formjson | e265010182a05b57ecac48a92cf0b6c742c23a36 | [
"MIT"
] | 6 | 2016-03-17T16:24:26.000Z | 2017-06-12T03:48:55.000Z | formjson_test.go | boonep/go-json-rest-middleware-formjson | e265010182a05b57ecac48a92cf0b6c742c23a36 | [
"MIT"
] | null | null | null | formjson_test.go | boonep/go-json-rest-middleware-formjson | e265010182a05b57ecac48a92cf0b6c742c23a36 | [
"MIT"
] | 1 | 2020-03-09T19:40:15.000Z | 2020-03-09T19:40:15.000Z | package formjson
import (
"bytes"
"net/http"
"net/url"
"strconv"
"testing"
"github.com/ant0ine/go-json-rest/rest"
"github.com/ant0ine/go-json-rest/rest/test"
)
type JSON map[string]interface{}
func simpleGetEndpoint(w rest.ResponseWriter, r *rest.Request) {
body := map[string]interface{}{
"status": "succe... | 25.5 | 118 | 0.704248 |
38d7dc88e9a77cba1ca37cc8be219374a1f76933 | 11,244 | php | PHP | application/controllers/inventarisasi_sungaiqq.php | Ardiyan16/sisungaisolo | cfc063b4d4244098dc2fcebeacb7642ba12afe8f | [
"MIT"
] | null | null | null | application/controllers/inventarisasi_sungaiqq.php | Ardiyan16/sisungaisolo | cfc063b4d4244098dc2fcebeacb7642ba12afe8f | [
"MIT"
] | null | null | null | application/controllers/inventarisasi_sungaiqq.php | Ardiyan16/sisungaisolo | cfc063b4d4244098dc2fcebeacb7642ba12afe8f | [
"MIT"
] | null | null | null | <?php
class Inventarisasi_sungai extends CI_Controller {
function __construct() {
parent::__construct();
$this->load->library(array('ion_auth'));
if (!$this->ion_auth->logged_in()) {
redirect('/auth', 'refresh');
}
}
function index() {
$this->load->vie... | 45.156627 | 191 | 0.564479 |
7df57e26176676a5997ad211bf864af197ac976d | 355 | lua | Lua | resources/[esx]/[base]/esx_barbershop/locales/fr.lua | tracid56/Bristols | 307e9ae5fd46747b924d41b480ce539bd7c8b714 | [
"MIT"
] | null | null | null | resources/[esx]/[base]/esx_barbershop/locales/fr.lua | tracid56/Bristols | 307e9ae5fd46747b924d41b480ce539bd7c8b714 | [
"MIT"
] | null | null | null | resources/[esx]/[base]/esx_barbershop/locales/fr.lua | tracid56/Bristols | 307e9ae5fd46747b924d41b480ce539bd7c8b714 | [
"MIT"
] | null | null | null | Locales['fr'] = {
['valid_purchase'] = 'valider cet achat ?',
['yes'] = 'oui',
['no'] = 'non',
['not_enough_money'] = 'vous n\'avez pas assez d\'argent sur vous ni sur votre carte bancaire',
['press_access'] = 'Appuyez sur ~INPUT_CONTEXT~ pour accéder au menu',
['barber_blip'] = 'barbier',
... | 35.5 | 99 | 0.588732 |
7f78e0ff17d5a030d15d64a08343d7fbb0ba7dfc | 8,371 | php | PHP | app/Http/Controllers/Web/WebController.php | KanuPeace/transitOption | ef09570eb6a6385e937d8fef5b34329910dd1a35 | [
"MIT"
] | null | null | null | app/Http/Controllers/Web/WebController.php | KanuPeace/transitOption | ef09570eb6a6385e937d8fef5b34329910dd1a35 | [
"MIT"
] | null | null | null | app/Http/Controllers/Web/WebController.php | KanuPeace/transitOption | ef09570eb6a6385e937d8fef5b34329910dd1a35 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers\Web;
use App\Http\Controllers\Controller;
use App\Models\VehicleImage;
use Illuminate\Http\Request;
class WebController extends Controller
{
public function index(){
$sliderImages = VehicleImage::whereHas("vehicle")->inRandomOrder()->limit(5)->get();
return vi... | 33.754032 | 118 | 0.485725 |
40428bc8be3e86f177af9f72fb5a23d72aa248cf | 758 | rb | Ruby | spec/influxdb_spec.rb | PTC-Global/sensu-extensions-influxdb | 96f0c6e58473829c71b92b65a3729b5080f7bb95 | [
"Apache-2.0"
] | 4 | 2017-10-11T20:59:01.000Z | 2018-02-02T07:25:44.000Z | spec/influxdb_spec.rb | PTC-Global/sensu-extensions-influxdb | 96f0c6e58473829c71b92b65a3729b5080f7bb95 | [
"Apache-2.0"
] | 79 | 2018-04-06T07:06:58.000Z | 2021-06-25T15:16:41.000Z | spec/influxdb_spec.rb | PTC-Global/sensu-extensions-influxdb | 96f0c6e58473829c71b92b65a3729b5080f7bb95 | [
"Apache-2.0"
] | 3 | 2017-05-22T09:22:39.000Z | 2017-08-09T10:06:45.000Z | require File.join(File.dirname(__FILE__), 'helpers')
require 'sensu/extensions/influxdb2'
require 'socket'
describe 'Sensu::Extension::InfluxDB2' do
include Helpers
before do
@extension = Sensu::Extension::InfluxDB2.new
@extension.settings = {
'influxdb' => {
'database' => 'test',
'h... | 23.6875 | 63 | 0.580475 |
12c86eff0f0ba3db37ae52b1a5a3e12f6f110a6f | 1,870 | cs | C# | src/Service.IntrestManager/Jobs/InterestManagerJob.cs | MyJetWallet/Service.IntrestManager | 779faec4d15174679da2df72cfad3c17bf6d3f2e | [
"MIT"
] | null | null | null | src/Service.IntrestManager/Jobs/InterestManagerJob.cs | MyJetWallet/Service.IntrestManager | 779faec4d15174679da2df72cfad3c17bf6d3f2e | [
"MIT"
] | null | null | null | src/Service.IntrestManager/Jobs/InterestManagerJob.cs | MyJetWallet/Service.IntrestManager | 779faec4d15174679da2df72cfad3c17bf6d3f2e | [
"MIT"
] | null | null | null | using System;
using System.Threading.Tasks;
using Autofac;
using Microsoft.Extensions.Logging;
using MyJetWallet.Sdk.Service.Tools;
using Service.IntrestManager.Engines;
namespace Service.IntrestManager.Jobs
{
public class InterestManagerJob
{
private readonly ILogger<InterestManagerJob> _logger;
... | 35.283019 | 136 | 0.670053 |
6b73eecf47129547fad678c4586273d94d5b13e7 | 382 | js | JavaScript | spot-mobile-app/app/utils/permissionsUtils.js | Marethyu1/spot | cf0ede0852a71afd4493468a40138520dc947a43 | [
"MIT"
] | 1 | 2019-09-04T14:25:28.000Z | 2019-09-04T14:25:28.000Z | spot-mobile-app/app/utils/permissionsUtils.js | Marethyu1/spot | cf0ede0852a71afd4493468a40138520dc947a43 | [
"MIT"
] | 6 | 2020-09-04T11:26:15.000Z | 2021-05-07T18:36:52.000Z | spot-mobile-app/app/utils/permissionsUtils.js | Marethyu1/spot | cf0ede0852a71afd4493468a40138520dc947a43 | [
"MIT"
] | null | null | null | import { Permissions } from 'expo'
const GRANTED = 'granted'
const _hasPermission = async (permission) => {
const { status } = await Permissions.askAsync(permission)
return status === GRANTED
}
export const hasCameraPermission = async () => await _hasPermission(Permissions.CAMERA)
export const hasLocationPermis... | 29.384615 | 91 | 0.753927 |
dbf2b4280fb7eceb8860294659297a738ecfecca | 5,684 | php | PHP | application/models/DbTable/DbMoneyTransactions.php | samlanh/loansystem | 485fcd04cc545ec8981efcb3b711903246fb7dfb | [
"Apache-2.0"
] | null | null | null | application/models/DbTable/DbMoneyTransactions.php | samlanh/loansystem | 485fcd04cc545ec8981efcb3b711903246fb7dfb | [
"Apache-2.0"
] | null | null | null | application/models/DbTable/DbMoneyTransactions.php | samlanh/loansystem | 485fcd04cc545ec8981efcb3b711903246fb7dfb | [
"Apache-2.0"
] | null | null | null | <?php
class Application_Model_DbTable_DbMoneyTransactions extends Zend_Db_Table_Abstract
{
protected $_name = 'cs_money_transactions';
public function init()
{
header('content-type: text/html; charset=utf8');
defined('BASE_URL') || define('BASE_URL', Zend_Controller_Front::getInstance()... | 36.670968 | 125 | 0.571077 |
c6523ecdc7ba5aab8e3e38cc6168d52c0b8ec202 | 2,100 | css | CSS | demo_iascemr/css/animate_custom.css | jackdna/EMR-PM-Software | 2e4eeda208659196f35f1046aa12713e3acfd380 | [
"MIT"
] | 1 | 2021-11-24T21:00:00.000Z | 2021-11-24T21:00:00.000Z | demo_iascemr/css/animate_custom.css | jackdna/EMR-PM-Software | 2e4eeda208659196f35f1046aa12713e3acfd380 | [
"MIT"
] | null | null | null | demo_iascemr/css/animate_custom.css | jackdna/EMR-PM-Software | 2e4eeda208659196f35f1046aa12713e3acfd380 | [
"MIT"
] | null | null | null | @charset "utf-8";
/* CSS Document */
/* slide in left */
.slideinlEft {
}
.slideinlEft {
-webkit-animation: slideinlEft 1.2s 1 ease-in;
-moz-animation: slideinlEft 1.2s 1 ease-in;
-o-animation: slideinlEft 1.2s 1 ease-in;
}
@-webkit-keyframes slideinlEft {
from {-webkit-transform: rotate(0deg) scale(1) skew(-180de... | 39.622642 | 79 | 0.699524 |
e90a8cadf6fac122e137da0e1823ba73cbffd090 | 26,001 | sql | SQL | data/postprocessing/high/0010.prep.roads.sql | tkardi/kahhelgramm | 7a061f3d842f9ef3fd2e959eb92fd7d7c8dd5718 | [
"CC0-1.0"
] | null | null | null | data/postprocessing/high/0010.prep.roads.sql | tkardi/kahhelgramm | 7a061f3d842f9ef3fd2e959eb92fd7d7c8dd5718 | [
"CC0-1.0"
] | null | null | null | data/postprocessing/high/0010.prep.roads.sql | tkardi/kahhelgramm | 7a061f3d842f9ef3fd2e959eb92fd7d7c8dd5718 | [
"CC0-1.0"
] | null | null | null | /* fixing some z-levels beforehand, derive pseudo z-levels from z coordinates. */
/* although these might be broken aswell... */
/* using these simply as backup. */
/* ... and a later try tells us, that these are so broken that they will lead nowhere */
/* and will cause more problems than solve currently. but will kee... | 33.943864 | 159 | 0.714703 |
ccff330ae25a2d5456f6a8fc63ec40972966b616 | 2,539 | sql | SQL | controlRoom_server/server/scripts/sql/SERVICE_RATE/DAILY_SERVICE_RATE_CAPTURE.sql | benamrou/controlRoom | 2786d79d7a5aa1550fe638c1c6710ef667c00cde | [
"MIT"
] | null | null | null | controlRoom_server/server/scripts/sql/SERVICE_RATE/DAILY_SERVICE_RATE_CAPTURE.sql | benamrou/controlRoom | 2786d79d7a5aa1550fe638c1c6710ef667c00cde | [
"MIT"
] | 31 | 2020-02-06T20:28:48.000Z | 2022-03-02T05:04:32.000Z | controlRoom_server/server/scripts/sql/SERVICE_RATE/DAILY_SERVICE_RATE_CAPTURE.sql | benamrou/controlRoom | 2786d79d7a5aa1550fe638c1c6710ef667c00cde | [
"MIT"
] | null | null | null | set termout off
set feed off
set head off
set echo off
INSERT INTO service_rate
WITH ITEM_SCOPE AS
(SELECT DISTINCT FOUCNUF, foucfin, ARACEXR, ARACINR, ARASITE, ARASEQVL
FROM ARTUC, FOUDGENE
WHERE ARACFIN = FOUCFIN
AND aradfin >= TRUNC(SYSDATE-365)),
ORDERS AS
(SELECT SC.FOUCNUF,
ARASITE,
DCD... | 25.908163 | 97 | 0.634502 |
ff416437733d4f2a3fd0e393952944af84d22b8b | 357 | py | Python | setup.py | fkmclane/armagetron.py | 3e033b6c7cfd2f7509de27ab6945eb02f0493c68 | [
"MIT"
] | null | null | null | setup.py | fkmclane/armagetron.py | 3e033b6c7cfd2f7509de27ab6945eb02f0493c68 | [
"MIT"
] | null | null | null | setup.py | fkmclane/armagetron.py | 3e033b6c7cfd2f7509de27ab6945eb02f0493c68 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='armagetron.py',
version='0.0.1',
description='a scripting library for Armagetron Advanced',
license='MIT',
url='https://github.com/fkmclane/armagetron.py',
author='Foster McLane',
author_email='fkmclane@gmail.c... | 23.8 | 62 | 0.694678 |
79b09321894b1856b6fdb79f4fa4fc7a858d3694 | 56 | cpp | C++ | engine/SkinAnim.cpp | shanysheng/orange3d | 9ee081a98e14fdeb3aaafd6bbb49fe027d4cd3c0 | [
"BSD-2-Clause"
] | 11 | 2017-06-06T17:22:30.000Z | 2022-03-23T11:56:49.000Z | engine/SkinAnim.cpp | shanysheng/orange3d | 9ee081a98e14fdeb3aaafd6bbb49fe027d4cd3c0 | [
"BSD-2-Clause"
] | null | null | null | engine/SkinAnim.cpp | shanysheng/orange3d | 9ee081a98e14fdeb3aaafd6bbb49fe027d4cd3c0 | [
"BSD-2-Clause"
] | 5 | 2018-02-07T02:48:59.000Z | 2021-08-23T05:16:59.000Z | #include "SkinAnim.h"
namespace pipeline {
}
| 8 | 21 | 0.589286 |
239bde87fbbed7655436b2b071a182562305b13a | 1,965 | js | JavaScript | contracts/validator/migrations/2_validators.js | GovTechSG/private-network | e31be1090a72e02d21245d0797e66e3b55001e53 | [
"Apache-2.0"
] | 4 | 2018-04-26T17:08:04.000Z | 2021-02-12T14:06:23.000Z | contracts/validator/migrations/2_validators.js | GovTechSG/private-network | e31be1090a72e02d21245d0797e66e3b55001e53 | [
"Apache-2.0"
] | 2 | 2018-01-25T02:42:45.000Z | 2018-01-27T06:14:00.000Z | contracts/validator/migrations/2_validators.js | GovTechSG/private-network | e31be1090a72e02d21245d0797e66e3b55001e53 | [
"Apache-2.0"
] | 3 | 2018-11-01T19:15:51.000Z | 2020-08-06T07:29:07.000Z | const OuterSet = artifacts.require("./OuterSet.sol");
const InnerSetInitial = artifacts.require("./InnerSetInitial.sol");
const InnerMajoritySet = artifacts.require("./InnerMajoritySet");
const AddressVotes = artifacts.require("./libraries/AddressVotes.sol");
const genesisOuterSetAddress = "0x0000000000000000000000000... | 33.87931 | 87 | 0.743003 |
95e97782f9c70941c2c5763f56e003afa553efc2 | 9,903 | rb | Ruby | web/config/seee_config.rb | breunigs/gnt-eval | c24e9935b9a4e50ef7a4d6295c967cfe8873c173 | [
"0BSD"
] | 10 | 2015-02-13T09:38:13.000Z | 2020-11-02T17:02:26.000Z | web/config/seee_config.rb | breunigs/gnt-eval | c24e9935b9a4e50ef7a4d6295c967cfe8873c173 | [
"0BSD"
] | 2 | 2017-03-21T20:08:29.000Z | 2017-07-06T09:13:17.000Z | web/config/seee_config.rb | breunigs/gnt-eval | c24e9935b9a4e50ef7a4d6295c967cfe8873c173 | [
"0BSD"
] | null | null | null | # encoding: utf-8
########################################################################
# HOW 2 CONFIG
########################################################################
# This is the default configuration file, which is checked into the
# repository. It will load the system and user configuration files, if
#... | 41.2625 | 260 | 0.644653 |
4cfe7f4be6448765aa10e9998f0006734390b17d | 2,222 | swift | Swift | BlockEQ/Extensions/UIAlertController+Prompts.swift | aircredit/stellar-ios-wallet | 70fc0a956b93113709660aab5b8cdeb95c2a5aaf | [
"MIT"
] | 37 | 2018-03-19T00:04:15.000Z | 2021-02-15T17:09:04.000Z | BlockEQ/Extensions/UIAlertController+Prompts.swift | aircredit/stellar-ios-wallet | 70fc0a956b93113709660aab5b8cdeb95c2a5aaf | [
"MIT"
] | 31 | 2018-03-28T16:35:48.000Z | 2019-11-11T18:04:09.000Z | BlockEQ/Extensions/UIAlertController+Prompts.swift | aircredit/stellar-ios-wallet | 70fc0a956b93113709660aab5b8cdeb95c2a5aaf | [
"MIT"
] | 16 | 2018-04-26T02:08:43.000Z | 2021-09-18T03:34:22.000Z | //
// UIAlertController+Prompts.swift
// BlockEQ
//
// Created by Nick DiZazzo on 2018-09-28.
// Copyright © 2018 BlockEQ. All rights reserved.
//
extension UIAlertController {
static func simpleAlert(title: String, message: String?, presentingViewController: UIViewController) {
callbackAlert(title: ti... | 42.730769 | 119 | 0.619712 |
437cec53485a3208bc94a457aee6475f7fb04be3 | 1,525 | ts | TypeScript | frontend/src/utils/userUtils.ts | VidroX/Safegistics | b177885d859f7b3524476ba6dd50bab41e6f0be6 | [
"Apache-2.0"
] | null | null | null | frontend/src/utils/userUtils.ts | VidroX/Safegistics | b177885d859f7b3524476ba6dd50bab41e6f0be6 | [
"Apache-2.0"
] | null | null | null | frontend/src/utils/userUtils.ts | VidroX/Safegistics | b177885d859f7b3524476ba6dd50bab41e6f0be6 | [
"Apache-2.0"
] | null | null | null | import {UserPayload} from "../interfaces/user";
import {User} from "../interfaces/appState";
export const UserTypes = {
UNKNOWN: -1,
DEFAULT: 0,
DRIVER: 1,
DEVICE: 2,
};
export const isUserPayloadValid = (localUser: UserPayload): boolean => {
return localUser.id != null && localUser.email != null ... | 27.727273 | 100 | 0.580328 |
6643ed4fc5811a98b0c47b31591c3609583e53fa | 2,834 | py | Python | tests/test_questions/test_likert_question.py | vahndi/quant-survey | 1a0fcf0c22e2c7306cba0218f82d24c97d28ee1f | [
"MIT"
] | 2 | 2021-04-10T21:50:36.000Z | 2022-03-26T16:46:52.000Z | tests/test_questions/test_likert_question.py | vahndi/quant-survey | 1a0fcf0c22e2c7306cba0218f82d24c97d28ee1f | [
"MIT"
] | 11 | 2020-08-30T18:47:14.000Z | 2021-09-09T15:57:19.000Z | tests/test_questions/test_likert_question.py | vahndi/quant-survey | 1a0fcf0c22e2c7306cba0218f82d24c97d28ee1f | [
"MIT"
] | null | null | null | from numpy import array
from pandas import DataFrame, Series
from unittest.case import TestCase
from probability.distributions import Beta
from tests.test_questions.question_factories import make_likert_question
class TestLikertQuestion(TestCase):
def setUp(self) -> None:
self.question = make_likert_qu... | 36.805195 | 80 | 0.528582 |
c84518cfc28d1af8d330a091002a598fe85e5617 | 93 | sh | Shell | k8s-deploy/app/bin/deploy-environment.sh | fuadajip/ship | bc8106d7880476f4cf56417cac1487347bbe5425 | [
"MIT"
] | 1 | 2021-04-21T17:58:52.000Z | 2021-04-21T17:58:52.000Z | k8s-deploy/app/bin/deploy-environment.sh | fuadajip/ship | bc8106d7880476f4cf56417cac1487347bbe5425 | [
"MIT"
] | null | null | null | k8s-deploy/app/bin/deploy-environment.sh | fuadajip/ship | bc8106d7880476f4cf56417cac1487347bbe5425 | [
"MIT"
] | null | null | null | #!/usr/bin/env bash
helm upgrade --install environment-release ./environment --namespace app
| 31 | 72 | 0.774194 |
8352ec734b76edf713f816b827b5b8e29597b13c | 18,900 | tsx | TypeScript | src/components/integrations/__tests__/WithMoveValidation.test.tsx | ildar-icoosoft/react-chessboard | 2374e6090129c57252dd25d4a447c65ddca3f733 | [
"MIT"
] | 2 | 2020-09-15T01:52:32.000Z | 2021-05-09T00:36:10.000Z | src/components/integrations/__tests__/WithMoveValidation.test.tsx | ildar-icoosoft/react-chessboard | 2374e6090129c57252dd25d4a447c65ddca3f733 | [
"MIT"
] | 22 | 2020-06-03T21:53:40.000Z | 2022-03-26T20:02:58.000Z | src/components/integrations/__tests__/WithMoveValidation.test.tsx | ildar-icoosoft/react-chessboard | 2374e6090129c57252dd25d4a447c65ddca3f733 | [
"MIT"
] | null | null | null | import TestRenderer from "react-test-renderer";
import React from "react";
import {
WithMoveValidation,
WithMoveValidationCallbackProps,
} from "../WithMoveValidation";
import { Position } from "../../../interfaces/Position";
import { PieceCode } from "../../../enums/PieceCode";
import { render } from "@testing-lib... | 26.104972 | 87 | 0.516455 |
e04eb1a66e759b7032300ace5e1e54de5e65c8f3 | 2,276 | go | Go | middlewares.go | samuelmasuy/animalgame | 085bd88776b1e66014629bb98b57b772ced36b7d | [
"MIT"
] | null | null | null | middlewares.go | samuelmasuy/animalgame | 085bd88776b1e66014629bb98b57b772ced36b7d | [
"MIT"
] | null | null | null | middlewares.go | samuelmasuy/animalgame | 085bd88776b1e66014629bb98b57b772ced36b7d | [
"MIT"
] | null | null | null | package main
import (
"encoding/json"
"io/ioutil"
"log"
"net/http"
"time"
"github.com/golang/protobuf/proto"
"github.com/gorilla/context"
"github.com/samuelmasuy/animalgame/repo"
)
// Middlewares
func contentTypeHandler(next http.Handler) http.Handler {
fn := func(w http.ResponseWriter, r *http.Request) {
... | 23.22449 | 106 | 0.634886 |
851a0f276751ed73933cacd18102746cfe660467 | 311 | cs | C# | src/TeachMeSkills.DotNet.Task18/SortArray.cs | AndrewBynkov/TeachMeSkills-DotNet-Essential | 8b670d96ba0f9e8533c3db0fe8a682a900123ae1 | [
"MIT"
] | null | null | null | src/TeachMeSkills.DotNet.Task18/SortArray.cs | AndrewBynkov/TeachMeSkills-DotNet-Essential | 8b670d96ba0f9e8533c3db0fe8a682a900123ae1 | [
"MIT"
] | null | null | null | src/TeachMeSkills.DotNet.Task18/SortArray.cs | AndrewBynkov/TeachMeSkills-DotNet-Essential | 8b670d96ba0f9e8533c3db0fe8a682a900123ae1 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TeachMeSkills.DotNet.Task18
{
public static class SortArray
{
public static int[] SortArrays(this int[] arrayNum)
{
return arrayNum.OrderBy(x => x).ToArray();
}
}
}
| 19.4375 | 59 | 0.643087 |
b30e0dce1b514c4be7ff29f80a840eed3eacbf52 | 2,357 | py | Python | tests/rapid_clay_formations_fab/robots/test_pick_station.py | gramaziokohler/rapid_clay_formations_fab | a8f9b32486d83a3e066eaadaa41bd4dab822c1cd | [
"MIT"
] | null | null | null | tests/rapid_clay_formations_fab/robots/test_pick_station.py | gramaziokohler/rapid_clay_formations_fab | a8f9b32486d83a3e066eaadaa41bd4dab822c1cd | [
"MIT"
] | 35 | 2020-10-24T20:22:31.000Z | 2022-02-28T13:05:10.000Z | tests/rapid_clay_formations_fab/robots/test_pick_station.py | gramaziokohler/rapid_clay_formations_fab | a8f9b32486d83a3e066eaadaa41bd4dab822c1cd | [
"MIT"
] | 2 | 2020-10-15T09:13:27.000Z | 2020-10-27T09:22:03.000Z | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import pytest
from compas.geometry import Frame
from rapid_clay_formations_fab.fab_data import FabricationElement
from rapid_clay_formations_fab.robots import PickStation
@pytest.fixture
def frame_list():
... | 27.729412 | 78 | 0.657616 |
f5ebf8fe4ee90cce7462c30acae946b0e45b7562 | 5,262 | css | CSS | public/css/custom.css | franjojosip/Library | ab2297e0818b7248a626abacab74bd3e5c7d2472 | [
"MIT"
] | null | null | null | public/css/custom.css | franjojosip/Library | ab2297e0818b7248a626abacab74bd3e5c7d2472 | [
"MIT"
] | null | null | null | public/css/custom.css | franjojosip/Library | ab2297e0818b7248a626abacab74bd3e5c7d2472 | [
"MIT"
] | null | null | null | html {
overflow: scroll;
overflow-x: hidden;
}
.inactiveLink {
pointer-events: none;
cursor: pointer !important;
}
::-webkit-scrollbar {
width: 0;
background: transparent;
}
.carousel-item {
height: 100vh;
background: no-repeat center center scroll;
-webkit-background-size: cover;
-moz-background... | 15.660714 | 73 | 0.641771 |
e75d1b6e1aa2a5ee55c9993ab0933cce3e390449 | 433 | php | PHP | application/controllers/Rating.php | mirzaRakha28/HealtyPaws | d95dd95fca0fa69d0e599f02805d6405b87c4d3f | [
"Apache-2.0",
"MIT"
] | null | null | null | application/controllers/Rating.php | mirzaRakha28/HealtyPaws | d95dd95fca0fa69d0e599f02805d6405b87c4d3f | [
"Apache-2.0",
"MIT"
] | null | null | null | application/controllers/Rating.php | mirzaRakha28/HealtyPaws | d95dd95fca0fa69d0e599f02805d6405b87c4d3f | [
"Apache-2.0",
"MIT"
] | null | null | null | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Rating extends CI_Controller {
public function add_data(){
$data = array(
"id_user"=> $_GET["id_user"],
"id_dokter"=>$_GET["id_dokter"],
"id_participant"=>$_GET["id_participant"],
"rating"=>$this->inpu... | 27.0625 | 63 | 0.572748 |
20ff981b36ab08a6e07dbac0be501c6c56dacb09 | 1,142 | kt | Kotlin | clef-workflow-api/clef-workflow-api-adapter/clef-workflow-api-adapter-shared/src/main/kotlin/io/quee/clef/workflow/api/adapter/shared/query/StoreQueryImpl.kt | Quee-io/clef-workflow | 217da218289fbbc1c1460309883d806dc52dc401 | [
"Apache-2.0"
] | null | null | null | clef-workflow-api/clef-workflow-api-adapter/clef-workflow-api-adapter-shared/src/main/kotlin/io/quee/clef/workflow/api/adapter/shared/query/StoreQueryImpl.kt | Quee-io/clef-workflow | 217da218289fbbc1c1460309883d806dc52dc401 | [
"Apache-2.0"
] | 6 | 2020-03-13T12:18:44.000Z | 2020-03-27T14:13:31.000Z | clef-workflow-api/clef-workflow-api-adapter/clef-workflow-api-adapter-shared/src/main/kotlin/io/quee/clef/workflow/api/adapter/shared/query/StoreQueryImpl.kt | Quee-io/clef-workflow | 217da218289fbbc1c1460309883d806dc52dc401 | [
"Apache-2.0"
] | null | null | null | package io.quee.clef.workflow.api.adapter.shared.query
import io.quee.api.develop.shared.model.Identity
import io.quee.api.develop.shared.model.PageData
import io.quee.api.develop.store.StoreQuery
import io.quee.clef.workflow.api.adapter.shared.repository.MainRepository
import io.quee.clef.workflow.api.adapter.shared.... | 42.296296 | 121 | 0.737303 |
3b93f28cd547b5a631f792c4fb51482e612cdca6 | 1,835 | dart | Dart | lib/pages/home_page.dart | swaraj961/swaraj.github.io | 6c52b9b7f3f264b8f7a9c1ec62eecdba5b074a7d | [
"Apache-2.0"
] | 1 | 2020-05-05T13:46:36.000Z | 2020-05-05T13:46:36.000Z | lib/pages/home_page.dart | swaraj961/swaraj.github.io | 6c52b9b7f3f264b8f7a9c1ec62eecdba5b074a7d | [
"Apache-2.0"
] | 1 | 2020-05-05T16:15:04.000Z | 2020-05-05T16:55:00.000Z | lib/pages/home_page.dart | swaraj961/swaraj961.github.io | 6c52b9b7f3f264b8f7a9c1ec62eecdba5b074a7d | [
"Apache-2.0"
] | null | null | null | import 'package:swaraj/config/assets.dart';
import 'package:swaraj/tabs/about_tab.dart';
import 'package:swaraj/tabs/contactme.dart';
import 'package:swaraj/tabs/projects_tab.dart';
import 'package:swaraj/widgets/theme_inherited_widget.dart';
import 'package:flutter/material.dart';
class HomePage extends StatefulWidget... | 28.671875 | 127 | 0.607629 |
a312340a4e7f451b75d62a446fe46fe39ef058c7 | 1,048 | tsx | TypeScript | src/components/atoms/Typekit.tsx | kremalicious/blog | 601d0277908066b70c2a8029fc6e556600928967 | [
"MIT"
] | 43 | 2018-10-07T03:27:31.000Z | 2022-01-31T17:54:33.000Z | src/components/atoms/Typekit.tsx | kremalicious/blog | 601d0277908066b70c2a8029fc6e556600928967 | [
"MIT"
] | 590 | 2018-09-12T22:31:12.000Z | 2022-03-31T13:24:13.000Z | src/components/atoms/Typekit.tsx | kremalicious/blog | 601d0277908066b70c2a8029fc6e556600928967 | [
"MIT"
] | 12 | 2018-10-07T14:50:42.000Z | 2021-09-16T22:30:00.000Z | import React from 'react'
import { Helmet } from 'react-helmet'
const getTypekitScript = () => (
<script>
{`
(function(d) {
var config = {
kitId: '${process.env.GATSBY_TYPEKIT_ID}',
scriptTimeout: 3000,
async: true
},
h=d... | 38.814815 | 515 | 0.620229 |
b362e255f88bd3cd37e7ad66e21656c727b380d6 | 1,459 | py | Python | src/audio/voiceCMD.py | GloryChou/Robotics-N | 438ecf06140a9df896b66ad58a624eab15535ffb | [
"MIT"
] | null | null | null | src/audio/voiceCMD.py | GloryChou/Robotics-N | 438ecf06140a9df896b66ad58a624eab15535ffb | [
"MIT"
] | null | null | null | src/audio/voiceCMD.py | GloryChou/Robotics-N | 438ecf06140a9df896b66ad58a624eab15535ffb | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import sys
sys.path.append("./voc")
from rnaudio import *
from bdasr import *
from rntuling import *
CMD_LST = ["前进","后退","左转","右转","停止"]
# 检测语音内容是否为命令
def checkCmd(text):
if(CMD_LST.index(text) < 0):
return False
return True
# 执行命令
def exeCmd(cmd):
if(C... | 23.918033 | 53 | 0.472241 |
eb3e363a2334b4e41c7ace12f6328c59eadbfeff | 354 | css | CSS | src/styles/global.css | lodybo/athena | 86e977e671303e1ec12a053aea5383c43a7b2635 | [
"MIT"
] | null | null | null | src/styles/global.css | lodybo/athena | 86e977e671303e1ec12a053aea5383c43a7b2635 | [
"MIT"
] | null | null | null | src/styles/global.css | lodybo/athena | 86e977e671303e1ec12a053aea5383c43a7b2635 | [
"MIT"
] | null | null | null | @tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
h1 {
@apply text-2xl;
}
h2 {
@apply text-xl;
}
h3 {
@apply text-lg;
}
h4 {
@apply text-base;
}
h5 {
@apply text-sm;
}
h6 {
@apply text-xs;
}
}
html {
box-sizing: border-box;
}
*, *:before, ... | 9.567568 | 25 | 0.525424 |
1acae67da648ba72ee1a790241863a006aad2065 | 3,353 | py | Python | wqxlib/wqx_v3_0/Telephonic.py | FlippingBinary/wqxlib-python | 5aa1d41384928f1faca47d5984485e2efa93174c | [
"MIT"
] | null | null | null | wqxlib/wqx_v3_0/Telephonic.py | FlippingBinary/wqxlib-python | 5aa1d41384928f1faca47d5984485e2efa93174c | [
"MIT"
] | null | null | null | wqxlib/wqx_v3_0/Telephonic.py | FlippingBinary/wqxlib-python | 5aa1d41384928f1faca47d5984485e2efa93174c | [
"MIT"
] | null | null | null | from yattag import Doc
from .SimpleContent import (
TelephoneExtensionNumberText,
TelephoneNumberText,
TelephoneNumberTypeName,
)
class Telephonic:
"""
An identification of a telephone connection.
"""
__telephoneNumberText: TelephoneNumberText
__telephoneNumberTypeName... | 39.447059 | 90 | 0.691321 |
9a798b8259d79773d9a64f366a4dee449ac009f0 | 521 | py | Python | src/preprocess/analysis.py | wxy1224/cs224n_project | 6dbd7869622565d0eaa3ac7b1dacc569f33d5a18 | [
"MIT"
] | 1 | 2018-05-30T16:16:12.000Z | 2018-05-30T16:16:12.000Z | src/preprocess/analysis.py | wxy1224/cs224n_project | 6dbd7869622565d0eaa3ac7b1dacc569f33d5a18 | [
"MIT"
] | 7 | 2020-01-28T22:19:16.000Z | 2021-05-21T14:43:03.000Z | src/preprocess/analysis.py | wxy1224/cs224n_project | 6dbd7869622565d0eaa3ac7b1dacc569f33d5a18 | [
"MIT"
] | null | null | null | import pandas as pd
train = pd.read_csv('./input/train.csv')
positive_train = train[train['identity_hate']>0]
labels = ['toxic', 'severe_toxic', 'obscene', 'threat', 'insult', 'identity_hate']
for label in labels:
positive_train = train[train[label] > 0]
print( label)
print(positive_train.shape)
max = 0
m... | 26.05 | 82 | 0.662188 |
2591cb46fb74c136051307f0ce3bb4cfe0fcee2e | 1,267 | cs | C# | Hospital_ERP_VS13-WCF_WF/AH.INVMS/MODEL/SalesReportRO.cs | atiq-shumon/DotNetProjects | 954951ff5c1774e288502bb734a6af86bd2a5f12 | [
"Apache-2.0"
] | null | null | null | Hospital_ERP_VS13-WCF_WF/AH.INVMS/MODEL/SalesReportRO.cs | atiq-shumon/DotNetProjects | 954951ff5c1774e288502bb734a6af86bd2a5f12 | [
"Apache-2.0"
] | null | null | null | Hospital_ERP_VS13-WCF_WF/AH.INVMS/MODEL/SalesReportRO.cs | atiq-shumon/DotNetProjects | 954951ff5c1774e288502bb734a6af86bd2a5f12 | [
"Apache-2.0"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AH.INVMS.MODEL
{
public class SalesReportRO
{
public string Issue_id { set; get; }
public string Str_id { set; get; }
public string StoreTitle { set; get; }
... | 34.243243 | 49 | 0.595107 |
6f95c4d7b48de175b3457f039469edf630c81dd4 | 20,303 | sql | SQL | oracle-scripts/Mongolia.sql | oseferi/sql-insert-generator | 90ccb958fb66dd0ead88d1e4123922070a199d8b | [
"MIT"
] | 1 | 2020-02-28T11:10:15.000Z | 2020-02-28T11:10:15.000Z | oracle-scripts/Mongolia.sql | oseferi/sql-insert-generator | 90ccb958fb66dd0ead88d1e4123922070a199d8b | [
"MIT"
] | null | null | null | oracle-scripts/Mongolia.sql | oseferi/sql-insert-generator | 90ccb958fb66dd0ead88d1e4123922070a199d8b | [
"MIT"
] | null | null | null | INSERT INTO WWS_COUNTRIES (ID, NAME, ISO3, ISO2, PHONECODE, CAPITAL, CURRENCY, CREATED_AT, UPDATED_AT, FLAG, WIKIDATAID) VALUES (146, 'Mongolia', 'MNG', 'MN', '976', 'Ulan Bator', 'MNT', TO_TIMESTAMP('2018-07-20 16:41:03','YYYY-MM-DD HH24:MI:SS'), TO_TIMESTAMP('2019-08-02 21:38:23','YYYY-MM-DD HH24:MI:SS'), 1, 'Q711');... | 294.246377 | 357 | 0.714377 |
ff76295d37f8efe8636f492c20b96a040e32aed4 | 41 | py | Python | postmarker/__init__.py | Canalyst/postmarker | 2e43733c0ea1d579fa1f72fddbe6bae93ed99220 | [
"MIT"
] | null | null | null | postmarker/__init__.py | Canalyst/postmarker | 2e43733c0ea1d579fa1f72fddbe6bae93ed99220 | [
"MIT"
] | null | null | null | postmarker/__init__.py | Canalyst/postmarker | 2e43733c0ea1d579fa1f72fddbe6bae93ed99220 | [
"MIT"
] | null | null | null | # coding: utf-8
__version__ = '0.12.0'
| 8.2 | 22 | 0.609756 |
6b286bcf69232b88679da30c067eee8c5cab64cc | 2,862 | js | JavaScript | script.js | guimaraesalves/TopFiveCodewars-mai21-victor | e0be3f905aaf6ab26f55f2e93cbe0f36c24f71c2 | [
"MIT"
] | null | null | null | script.js | guimaraesalves/TopFiveCodewars-mai21-victor | e0be3f905aaf6ab26f55f2e93cbe0f36c24f71c2 | [
"MIT"
] | null | null | null | script.js | guimaraesalves/TopFiveCodewars-mai21-victor | e0be3f905aaf6ab26f55f2e93cbe0f36c24f71c2 | [
"MIT"
] | null | null | null | let ranking = [
{
nome: 'Julia Gama',
pontos: 126
},
{
nome: 'Laudemir',
pontos: 0
},
{
nome: 'Emanuel Martins',
pontos: 112
},
{
nome: 'Lucas Elias',
pontos: 135
},
{
nome: 'Ian kuntz',
pontos: 82
},
... | 15.223404 | 71 | 0.474144 |
7da62ba4359ad93e77f0c3351e550e494dda999d | 3,161 | css | CSS | Source-Code-设客网设计师与设计院作品分享与威客门户网站/User/css/User_Login.css | zoomlacms/web022 | cee80b3d479a8249f393896be0cf11e94c482fce | [
"Apache-2.0"
] | 2 | 2020-06-17T01:53:15.000Z | 2021-01-20T07:19:52.000Z | Source-Code-设客网设计师与设计院作品分享与威客门户网站/User/css/User_Login.css | zoomlacms/web022 | cee80b3d479a8249f393896be0cf11e94c482fce | [
"Apache-2.0"
] | null | null | null | Source-Code-设客网设计师与设计院作品分享与威客门户网站/User/css/User_Login.css | zoomlacms/web022 | cee80b3d479a8249f393896be0cf11e94c482fce | [
"Apache-2.0"
] | null | null | null | #userlogin_body
{
font: normal normal normal 12px/150% Arial, "宋体" ,Helvetica,sans-serif;
margin: 0px;
margin-top: 110px;
padding: 0px;
background: url(../Images/user_all_bg.gif) #226cc5 repeat-x top;
text-decoration: none;
}
#user_login, #user_top, #user_main, #user_bottom, #user_login dl, #user_login dd, #user... | 17.368132 | 215 | 0.712749 |
ef61729da3741ae2d9397e5379583f22f6f8dcd3 | 273 | js | JavaScript | controllers/home.js | prasangbc/hackathon-7-2018 | 6c20db04f0927942937b08c7b3bbf1305ad0d2cd | [
"MIT"
] | null | null | null | controllers/home.js | prasangbc/hackathon-7-2018 | 6c20db04f0927942937b08c7b3bbf1305ad0d2cd | [
"MIT"
] | null | null | null | controllers/home.js | prasangbc/hackathon-7-2018 | 6c20db04f0927942937b08c7b3bbf1305ad0d2cd | [
"MIT"
] | null | null | null | /**
* GET /
* Home page.
*/
exports.index = (req, res) => {
res.render('home', {
title: 'Home'
});
};
exports.results = (request, response) => {
const {
restaurants
} = request.body;
response.render('results', {
restaurants
})
}
| 14.368421 | 42 | 0.509158 |
7b35ecf095b23ae5cd220a92b1312fb92a874572 | 2,551 | rb | Ruby | app/services/zenoss_service.rb | safetymonkey/asq | f1d21b3cd83a177f4976f4e7520eb8d6c7686ab4 | [
"MIT"
] | 1 | 2017-03-17T07:26:47.000Z | 2017-03-17T07:26:47.000Z | app/services/zenoss_service.rb | safetymonkey/asq | f1d21b3cd83a177f4976f4e7520eb8d6c7686ab4 | [
"MIT"
] | 166 | 2017-03-14T16:05:17.000Z | 2021-12-31T22:49:13.000Z | app/services/zenoss_service.rb | safetymonkey/asq | f1d21b3cd83a177f4976f4e7520eb8d6c7686ab4 | [
"MIT"
] | 1 | 2017-03-14T03:48:31.000Z | 2017-03-14T03:48:31.000Z | # Used to build and post Zenoss messages, based on a passed-in Asq object.
class ZenossService
class << self
# The sole way that the outside world interacts with this class.
# Returns true if the POST action was successful. Raises an exception
# If it doesn't. This is so it can include some error text, wh... | 32.705128 | 80 | 0.621325 |
ff651f22bfd2a2fd73774e38cfb2fad6847e9eaa | 15,329 | py | Python | spoonacular/com.spoonacular.client.model/__init__.py | Lowe-Man/spoonacular-python-api | c5522abdc2ef48258434e22b4f2038d64bcebd86 | [
"MIT"
] | 21 | 2019-08-09T18:53:26.000Z | 2022-03-14T22:10:10.000Z | spoonacular/com.spoonacular.client.model/__init__.py | Lowe-Man/spoonacular-python-api | c5522abdc2ef48258434e22b4f2038d64bcebd86 | [
"MIT"
] | null | null | null | spoonacular/com.spoonacular.client.model/__init__.py | Lowe-Man/spoonacular-python-api | c5522abdc2ef48258434e22b4f2038d64bcebd86 | [
"MIT"
] | 55 | 2019-08-13T17:52:47.000Z | 2022-03-27T04:29:34.000Z | # coding: utf-8
# flake8: noqa
"""
spoonacular API
The spoonacular Nutrition, Recipe, and Food API allows you to access over 380,000 recipes, thousands of ingredients, 800,000 food products, and 100,000 menu items. Our food ontology and semantic recipe search engine makes it possible to search for recipes usi... | 101.516556 | 1,050 | 0.903386 |
6d39b0bf7467004eae0543181e8ced373b8767a5 | 2,472 | tsx | TypeScript | src/components/ToggleSwitch.tsx | jeongtae/jt-gatsby-blog | 48df73a720af9e07f1ad119c9baf72a298d9ef0f | [
"MIT"
] | null | null | null | src/components/ToggleSwitch.tsx | jeongtae/jt-gatsby-blog | 48df73a720af9e07f1ad119c9baf72a298d9ef0f | [
"MIT"
] | null | null | null | src/components/ToggleSwitch.tsx | jeongtae/jt-gatsby-blog | 48df73a720af9e07f1ad119c9baf72a298d9ef0f | [
"MIT"
] | null | null | null | import React, { useState } from "react";
import styled from "styled-components";
import oc from "open-color";
import { uniqueId } from "lodash";
const Container = styled.div`
label {
padding: 0.02rem 0.06rem;
display: inline-flex;
align-items: center;
font-size: 0.12rem;
font-weight: 500;
use... | 23.769231 | 81 | 0.586165 |
e75869a38787c5bde31c16a12ed32477d5f0ea60 | 324 | php | PHP | learn/php/secret/sha1.php | pengfen/WWW | 8879f8f408ac731f636bf82a1eff14007f353da1 | [
"BSD-3-Clause"
] | 1 | 2017-10-12T08:23:23.000Z | 2017-10-12T08:23:23.000Z | learn/php/secret/sha1.php | pengfen/WWW | 8879f8f408ac731f636bf82a1eff14007f353da1 | [
"BSD-3-Clause"
] | null | null | null | learn/php/secret/sha1.php | pengfen/WWW | 8879f8f408ac731f636bf82a1eff14007f353da1 | [
"BSD-3-Clause"
] | null | null | null | <?php
/**
shal 加密算法
string shal(string $str[, bool $raw_output=false])
计算字符串的shal 散列值
$str 加密的字符串
$raw_output 如果可选的 raw_output 参数被设置为 TRUE 那么 shal 摘要将以 20 字符长度的原始格式返回 否则返回值是一个 40 字符长度的十六进制数字
返回 shal 散列值字符串
*/
echo shal('apeng');
echo "<h1/>";
echo shal('cao', true);
echo "<h1... | 19.058824 | 96 | 0.623457 |
cf172f8648a90a69e66de5a8581f39177327e7d0 | 895 | php | PHP | app/Http/Routes/OperativoRoute.php | lleonelrocha/cic-moviles | 776ad68c9083f1289f1e960ed2eb6d2c98b6c58b | [
"MIT"
] | null | null | null | app/Http/Routes/OperativoRoute.php | lleonelrocha/cic-moviles | 776ad68c9083f1289f1e960ed2eb6d2c98b6c58b | [
"MIT"
] | null | null | null | app/Http/Routes/OperativoRoute.php | lleonelrocha/cic-moviles | 776ad68c9083f1289f1e960ed2eb6d2c98b6c58b | [
"MIT"
] | null | null | null | <?php
/**
* Created by PhpStorm.
* User: llrocha
* Date: 03/09/2015
* Time: 02:00 PM
*/
$module = 'operativos';
$controller = 'OperativosController';
Route::get($module ,['middleware' => ['roles:'.$module.'-listar'] , 'as'=>$module ,'uses'=>$controller. '@getIndex']);
Route::get($module.'Nuevo',['middleware' => ... | 49.722222 | 145 | 0.611173 |
78bf84ff7d8d7910406947d9629bb205936f6012 | 1,612 | kt | Kotlin | library/src/main/java/kwasm/format/binary/type/FunctionType.kt | jasonwyatt/KWasm | 3c17988daaa8f37d654ee29428a37b330b3532ad | [
"Apache-2.0"
] | 16 | 2019-12-10T04:06:44.000Z | 2022-01-21T15:52:32.000Z | library/src/main/java/kwasm/format/binary/type/FunctionType.kt | jasonwyatt/KWasm | 3c17988daaa8f37d654ee29428a37b330b3532ad | [
"Apache-2.0"
] | 126 | 2019-12-10T20:13:36.000Z | 2021-01-28T09:08:02.000Z | library/src/main/java/kwasm/format/binary/type/FunctionType.kt | jasonwyatt/KWasm | 3c17988daaa8f37d654ee29428a37b330b3532ad | [
"Apache-2.0"
] | 2 | 2021-01-13T00:46:00.000Z | 2021-10-14T21:03:40.000Z | /*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | 35.822222 | 100 | 0.728288 |
b22f89bc83a98a5c82fff6c6d8c418f7deb76c03 | 279 | rb | Ruby | lib/potassium/cli.rb | mihailpozarski/potassium | 0012fb7dc78df111585681f668fbfecdb08cf4a6 | [
"MIT"
] | 150 | 2015-05-11T11:49:17.000Z | 2022-03-31T16:21:19.000Z | lib/potassium/cli.rb | mihailpozarski/potassium | 0012fb7dc78df111585681f668fbfecdb08cf4a6 | [
"MIT"
] | 234 | 2015-05-11T16:46:28.000Z | 2022-03-03T19:56:10.000Z | lib/potassium/cli.rb | mihailpozarski/potassium | 0012fb7dc78df111585681f668fbfecdb08cf4a6 | [
"MIT"
] | 19 | 2016-10-14T16:51:13.000Z | 2022-03-04T19:35:52.000Z | require "potassium/version"
require "gli"
module Potassium::CLI
extend GLI::App
program_desc "Platanus Rails application generator"
version Potassium::VERSION
hide_commands_without_desc true
commands_from "potassium/cli/commands"
exit Potassium::CLI.run(ARGV)
end
| 19.928571 | 53 | 0.78853 |
c959726ebadcb89a1bdcfccbba5d5508387110d1 | 1,531 | ts | TypeScript | src/screens/Login/styles.ts | wallison-bruno/CREAApp | 24ed1e88f2dd3d19e3521905a367ac0128e6d11e | [
"MIT"
] | null | null | null | src/screens/Login/styles.ts | wallison-bruno/CREAApp | 24ed1e88f2dd3d19e3521905a367ac0128e6d11e | [
"MIT"
] | null | null | null | src/screens/Login/styles.ts | wallison-bruno/CREAApp | 24ed1e88f2dd3d19e3521905a367ac0128e6d11e | [
"MIT"
] | null | null | null | import { StyleSheet } from 'react-native';
import { RFValue } from 'react-native-responsive-fontsize';
import { theme } from '../../global/theme';
export const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: theme.colors.primary,
paddingTop: RFValue(80),
paddingHorizontal: RFValue... | 18.445783 | 59 | 0.624428 |
6986e50b5f4d69fd89a4b20f45e451997259c67d | 340 | rb | Ruby | db/migrate/20160303001700_create_inspector_profiles.rb | codeforamerica/inspector-gadget | 693e970eb1a5758a905c67b478ffa2289aebdbc7 | [
"MIT"
] | 2 | 2021-02-01T03:51:19.000Z | 2021-03-25T19:03:58.000Z | db/migrate/20160303001700_create_inspector_profiles.rb | rossettistone/inspector-gadget | 693e970eb1a5758a905c67b478ffa2289aebdbc7 | [
"MIT"
] | 94 | 2016-03-03T23:50:23.000Z | 2016-10-25T21:58:29.000Z | db/migrate/20160303001700_create_inspector_profiles.rb | codeforamerica/inspector-gadget | 693e970eb1a5758a905c67b478ffa2289aebdbc7 | [
"MIT"
] | 4 | 2017-01-20T00:24:09.000Z | 2021-03-15T18:40:08.000Z | class CreateInspectorProfiles < ActiveRecord::Migration
def change
create_table :inspector_profiles do |t|
t.integer :inspector_id
t.string :inspector_type
t.text :inspection_categories, array: true, default: []
t.geometry :inspection_region, geographic: true
t.timestamps null: fals... | 26.153846 | 61 | 0.714706 |
a3188dd216d083abec98eb149e34fc6439d81b92 | 373 | sh | Shell | 4idl_dihedral/06_grest_production/new1/run.sh | matsunagalab/paper_higashida2021 | 7a7786edb970db292340566f3a0420df3265d1f6 | [
"BSD-3-Clause"
] | null | null | null | 4idl_dihedral/06_grest_production/new1/run.sh | matsunagalab/paper_higashida2021 | 7a7786edb970db292340566f3a0420df3265d1f6 | [
"BSD-3-Clause"
] | null | null | null | 4idl_dihedral/06_grest_production/new1/run.sh | matsunagalab/paper_higashida2021 | 7a7786edb970db292340566f3a0420df3265d1f6 | [
"BSD-3-Clause"
] | null | null | null | #!/bin/bash
#SBATCH -p all
#SBATCH -J grest
#SBATCH -n 32 #num of total mpi processes
#SBATCH -c 1 #num of threads per mpi processes
#SBATCH -o run.log
# set the number of OpenMP threads
export OMP_NUM_THREADS=1
export CUDA_VISIBLE_DEVICES="2,3,4,5,6,7,8,9"
# perform equilibration with SPDYN by using 8 MPI processe... | 24.866667 | 59 | 0.745308 |
0d58ca5ade4e214ea13fbcdc729a4fc5fbaf1fbf | 2,034 | cs | C# | src/BurnSystems/Xml/Html/HtmlElement.cs | mbrenn/burnsystems | c69c49bf0fff2ec72b5479c1e7ae4123f8ec4f86 | [
"MIT"
] | null | null | null | src/BurnSystems/Xml/Html/HtmlElement.cs | mbrenn/burnsystems | c69c49bf0fff2ec72b5479c1e7ae4123f8ec4f86 | [
"MIT"
] | null | null | null | src/BurnSystems/Xml/Html/HtmlElement.cs | mbrenn/burnsystems | c69c49bf0fff2ec72b5479c1e7ae4123f8ec4f86 | [
"MIT"
] | null | null | null | using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
namespace BurnSystems.Xml.Html
{
/// <summary>
/// Helper class that is used to create a simple html element
/// </summary>
public class HtmlElement : XElement
{
/// <summary>
/// Initializes a new instance... | 32.806452 | 100 | 0.544739 |
aa29137a0e17fe3b426fbbf166c15ba50c6c1552 | 166 | swift | Swift | Tests/LinuxMain.swift | tgu/SRP | 3271936c767217825aff12e40caddbc26e12aac2 | [
"MIT"
] | null | null | null | Tests/LinuxMain.swift | tgu/SRP | 3271936c767217825aff12e40caddbc26e12aac2 | [
"MIT"
] | null | null | null | Tests/LinuxMain.swift | tgu/SRP | 3271936c767217825aff12e40caddbc26e12aac2 | [
"MIT"
] | null | null | null | import XCTest
@testable import SRPTests
XCTMain([
testCase(SRPTests.allTests),
testCase(PySrptoolsTests.allTests),
testCase(ReadmeTests.allTests),
])
| 18.444444 | 40 | 0.740964 |
1432e4b42a96c7faa74611d8d044041c1b5da36d | 2,818 | cpp | C++ | src/LogicManager.cpp | KrzeszewskiAdrian/JamEngine | b8f38d5e4e64e6d8b4b68a51fada47ab04f667a4 | [
"MIT"
] | 1 | 2019-04-19T23:36:56.000Z | 2019-04-19T23:36:56.000Z | src/LogicManager.cpp | KrzeszewskiAdrian/JamEngine | b8f38d5e4e64e6d8b4b68a51fada47ab04f667a4 | [
"MIT"
] | null | null | null | src/LogicManager.cpp | KrzeszewskiAdrian/JamEngine | b8f38d5e4e64e6d8b4b68a51fada47ab04f667a4 | [
"MIT"
] | null | null | null | #include <iostream>
#include "LogicManager.h"
#include "LogicRaport.h"
#include "Settings.h"
#include "Timer.h"
#include "ViewportCode.h"
#include "Renderable.h"
#include "RenderableLists.h"
#include "ClickableLists.h"
#include "TestObject.h"
#include <stdlib.h>
#include <time.h>
using namespace std;
LogicMana... | 19.985816 | 117 | 0.775018 |
94762d9675b28d2838ca49b6a175f5cf45d0bf88 | 4,086 | swift | Swift | Homework8_Patterns/Homework8_Patterns/CleanSwiftViewController.swift | aku536/Homework8_Patterns | 7bb7c2301fab5a9681da3638cb9610887465f860 | [
"MIT"
] | null | null | null | Homework8_Patterns/Homework8_Patterns/CleanSwiftViewController.swift | aku536/Homework8_Patterns | 7bb7c2301fab5a9681da3638cb9610887465f860 | [
"MIT"
] | null | null | null | Homework8_Patterns/Homework8_Patterns/CleanSwiftViewController.swift | aku536/Homework8_Patterns | 7bb7c2301fab5a9681da3638cb9610887465f860 | [
"MIT"
] | null | null | null | //
// CleanSwiftViewController.swift
// Homework8_VIPER
//
// Created by Кирилл Афонин on 29/10/2019.
// Copyright (c) 2019 Кирилл Афонин. All rights reserved.
//
// This file was generated by the Clean Swift Xcode Templates so
// you can apply clean architecture to your iOS and Mac projects,
// see http://clean... | 30.266667 | 88 | 0.638767 |
1152c2d95bd9c4b0bf6bdad0262c6fba621761d1 | 1,051 | ps1 | PowerShell | Tests/Custom.test.ps1 | bforsythe/Invoke-Build | 5898437ad652f250a22e95a73f11abc0ea958ee7 | [
"Apache-2.0"
] | 527 | 2015-01-18T06:37:54.000Z | 2022-03-30T13:47:16.000Z | Tests/Custom.test.ps1 | bforsythe/Invoke-Build | 5898437ad652f250a22e95a73f11abc0ea958ee7 | [
"Apache-2.0"
] | 190 | 2015-04-12T20:49:16.000Z | 2022-03-18T19:43:47.000Z | Tests/Custom.test.ps1 | bforsythe/Invoke-Build | 5898437ad652f250a22e95a73f11abc0ea958ee7 | [
"Apache-2.0"
] | 83 | 2015-05-20T15:10:36.000Z | 2022-03-22T05:12:51.000Z |
<#
.Synopsis
Custom task tests.
.Example
Invoke-Build * Custom.test.ps1
#>
# Synopsis: Test "check", pass all, then run again.
task Check1 {
$file = '..\Tasks\Check\Check.build.ps1.Check.clixml'
remove $file
# fake to pass all
function Read-Host {}
Invoke-Build * ..\Tasks\Check\Check.build.ps1 -Result r
eq... | 20.211538 | 70 | 0.683159 |
b60c1dfa508fed1ae3a0d9da663798ba7dbe8fd9 | 39 | rb | Ruby | chapter13/type_test.rb | ChrisZou/programmingruby | 2e89f8a1b941b47e4b0a869d44c387325f486ac9 | [
"Apache-2.0"
] | null | null | null | chapter13/type_test.rb | ChrisZou/programmingruby | 2e89f8a1b941b47e4b0a869d44c387325f486ac9 | [
"Apache-2.0"
] | null | null | null | chapter13/type_test.rb | ChrisZou/programmingruby | 2e89f8a1b941b47e4b0a869d44c387325f486ac9 | [
"Apache-2.0"
] | null | null | null | value = 'hello'
puts value.divmod(100)
| 13 | 22 | 0.717949 |
79cf3e307e737c852c57ba2b816f741a88cb7ed3 | 5,471 | php | PHP | application/custom/components/FieldsInventorySpec_Component.php | jerry-yen/honeymoon | b53795d5d7e487ed3e5f0aa228d8164a3039566c | [
"MIT"
] | null | null | null | application/custom/components/FieldsInventorySpec_Component.php | jerry-yen/honeymoon | b53795d5d7e487ed3e5f0aa228d8164a3039566c | [
"MIT"
] | null | null | null | application/custom/components/FieldsInventorySpec_Component.php | jerry-yen/honeymoon | b53795d5d7e487ed3e5f0aa228d8164a3039566c | [
"MIT"
] | null | null | null | <?php
class FieldsInventorySpec_Component extends Component {
private static $include_scripts = false;
public function render($attributes = array()) {
// 驗證失敗呈現
$invalid_string = "";
if ($this -> valid_error_message != "") {
$attributes["class"] = (isset($attributes["class"])) ? ($attributes["class"] . ... | 35.993421 | 210 | 0.566258 |
7142c2a87739e1e4412cc452f7f8731b72c960ca | 389 | dart | Dart | lib/types/scale_codec/union_value.dart | Pocket4D/p4d-rust-binding | 2e0994c72454e4ad65efac278d1c60241b460424 | [
"Apache-2.0"
] | 17 | 2020-12-21T05:17:15.000Z | 2022-02-17T14:27:12.000Z | lib/types/scale_codec/union_value.dart | Pocket4D/p4d-rust-binding | 2e0994c72454e4ad65efac278d1c60241b460424 | [
"Apache-2.0"
] | 3 | 2021-02-08T22:18:41.000Z | 2022-02-17T23:44:06.000Z | lib/types/scale_codec/union_value.dart | Pocket4D/p4d-rust-binding | 2e0994c72454e4ad65efac278d1c60241b460424 | [
"Apache-2.0"
] | 4 | 2021-05-14T20:07:56.000Z | 2021-12-16T04:11:06.000Z | class UnionValue<T> {
int index;
T value;
UnionValue(int index, T value) {
if (index < 0) {
throw "Index cannot be negative number: $index";
}
if (index > 255) {
throw "Union can have max 255 values. Index: $index";
}
this.index = index;
this.value = value;
}
int getIndex... | 16.208333 | 59 | 0.560411 |
8e5edf42c586a07943891c69b32f7d0fc3619fd6 | 181 | js | JavaScript | .build_scripts/build-components/header.js | developmentseed/ml-grid-docs | 29863c1f17e0e185ae4ac586a9c40e99e5416044 | [
"MIT"
] | 1 | 2022-02-08T16:20:11.000Z | 2022-02-08T16:20:11.000Z | .build_scripts/build-components/header.js | developmentseed/ml-grid-docs | 29863c1f17e0e185ae4ac586a9c40e99e5416044 | [
"MIT"
] | null | null | null | .build_scripts/build-components/header.js | developmentseed/ml-grid-docs | 29863c1f17e0e185ae4ac586a9c40e99e5416044 | [
"MIT"
] | null | null | null | //inserts title code
module.exports = function(yfm) {
var title = yfm['title'];
return '<script>document.getElementById("header-title").innerHTML="' + title + '";</script>';
};
| 30.166667 | 95 | 0.668508 |
d62ae49675d5c1bc9f4d5c1e50c047f7f1e2baeb | 1,042 | cs | C# | AmbientSounds/Services/SoundDataProvider.cs | mediaexplorer74/ambie | acb519ffad41f6a3cb97488ad37578bc1b229472 | [
"MIT"
] | null | null | null | AmbientSounds/Services/SoundDataProvider.cs | mediaexplorer74/ambie | acb519ffad41f6a3cb97488ad37578bc1b229472 | [
"MIT"
] | null | null | null | AmbientSounds/Services/SoundDataProvider.cs | mediaexplorer74/ambie | acb519ffad41f6a3cb97488ad37578bc1b229472 | [
"MIT"
] | null | null | null | using AmbientSounds.Models;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Windows.Storage;
namespace AmbientSounds.Services
{
/// <summary>
/// Retrieves list of sound data
/// available to the app.
/// </summary>
public class SoundDataP... | 32.5625 | 106 | 0.660269 |
2944a59ae2474e506a4510a13d11d2019fa8992f | 1,863 | rs | Rust | tcp/src/lib.rs | 95ulisse/amq-protocol | b9f16f793112700223a4d676f1693e0ac403c2b8 | [
"BSD-2-Clause"
] | null | null | null | tcp/src/lib.rs | 95ulisse/amq-protocol | b9f16f793112700223a4d676f1693e0ac403c2b8 | [
"BSD-2-Clause"
] | null | null | null | tcp/src/lib.rs | 95ulisse/amq-protocol | b9f16f793112700223a4d676f1693e0ac403c2b8 | [
"BSD-2-Clause"
] | null | null | null | #![deny(missing_docs)]
#![warn(rust_2018_idioms)]
#![doc(html_root_url = "https://docs.rs/amq-protocol-tcp/7.0.0/")]
//! # AMQP URI TCP connection handling
//!
//! amq-protocol-tcp is a library aiming at providing tools to help
//! connecting to an AMQP URI
use amq_protocol_uri::{AMQPScheme, AMQPUri};
use std::time::... | 31.05 | 85 | 0.665056 |
38bdd8ef6fb837e9a529aee336b5268d75f16ea2 | 248 | php | PHP | protected/module/members/controller/old/BackupController.php | sfsfco/lifting | b2e4f7eefbaf3dfb9ff0b7a3eb206c46bcf9dbdf | [
"MIT"
] | null | null | null | protected/module/members/controller/old/BackupController.php | sfsfco/lifting | b2e4f7eefbaf3dfb9ff0b7a3eb206c46bcf9dbdf | [
"MIT"
] | null | null | null | protected/module/members/controller/old/BackupController.php | sfsfco/lifting | b2e4f7eefbaf3dfb9ff0b7a3eb206c46bcf9dbdf | [
"MIT"
] | null | null | null | <?php
/**
* MainController
* Feel free to delete the methods and replace them with your own code.
*
* @author darkredz
*/
class BackupController extends MembersController{
public function index(){
echo 'im backup';
}
}
?> | 16.533333 | 71 | 0.653226 |
12591a1b5d01a40c375c4ac802be70ef9937b480 | 1,160 | cs | C# | src/DummyForm/DummyForm.cs | ventsislav-georgiev/ProcessTools | ee3d5a02f78de202e5101ff01795bbcd3ba9489d | [
"MIT"
] | 1 | 2017-09-22T01:26:44.000Z | 2017-09-22T01:26:44.000Z | src/DummyForm/DummyForm.cs | ventsislav-georgiev/ProcessTools | ee3d5a02f78de202e5101ff01795bbcd3ba9489d | [
"MIT"
] | null | null | null | src/DummyForm/DummyForm.cs | ventsislav-georgiev/ProcessTools | ee3d5a02f78de202e5101ff01795bbcd3ba9489d | [
"MIT"
] | 1 | 2020-04-20T01:24:33.000Z | 2020-04-20T01:24:33.000Z | using System;
using System.Windows.Forms;
namespace DummyForm
{
public partial class DummyForm : Form
{
public DummyForm()
{
InitializeComponent();
}
private void DummyForm_Load(object sender, EventArgs e)
{
Cycle();
}
private v... | 29 | 98 | 0.568103 |
755a3c63581a592c5fac822b378c7b5de89f0b06 | 2,722 | lua | Lua | test/simple/test-net-pingpong.lua | mkottman/LuaNode | b059225855939477147c5d4a6e8df3350c0a25fb | [
"MIT"
] | 1 | 2015-06-13T18:00:06.000Z | 2015-06-13T18:00:06.000Z | test/simple/test-net-pingpong.lua | mkottman/LuaNode | b059225855939477147c5d4a6e8df3350c0a25fb | [
"MIT"
] | null | null | null | test/simple/test-net-pingpong.lua | mkottman/LuaNode | b059225855939477147c5d4a6e8df3350c0a25fb | [
"MIT"
] | null | null | null | module(..., lunit.testcase, package.seeall)
local common = dofile("common.lua")
local net = require "luanode.net"
function test()
local tests_run = 0
function pingPong (port, host)
local N = 1000
local count = 0
local sent_final_ping = false
local server = net.createServer(function (self, socket)
console.log(... | 23.877193 | 77 | 0.696547 |
5440a2faff181116b080c5b2abc571c811e301da | 2,123 | css | CSS | data/usercss/19423.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 118 | 2020-08-28T19:59:28.000Z | 2022-03-26T16:28:40.000Z | data/usercss/19423.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 38 | 2020-09-02T01:08:45.000Z | 2022-01-23T02:47:24.000Z | data/usercss/19423.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 21 | 2020-08-19T01:12:43.000Z | 2022-03-15T21:55:17.000Z | /* ==UserStyle==
@name Fixes for dark system themes
@namespace USO Archive
@author ikari
@description `I have been using dark gray and black system themes under windows and linux and have found many sites ugly or unreadable, especially when it comes to forms. This theme would fix them, providi... | 23.853933 | 335 | 0.646726 |
7f1c995588cbc56ef476992057ccfdd69ee8fd5b | 152 | cs | C# | Designer.Interfaces/IVSMDCodeDomProvider.cs | isabella232/JetBrains.EnvDTE | 752b7206aa3ef59302cc89a8643217f1b51580cc | [
"Apache-2.0"
] | 6 | 2020-10-09T08:00:29.000Z | 2021-11-19T20:23:30.000Z | Designer.Interfaces/IVSMDCodeDomProvider.cs | JetBrains/JetBrains.EnvDTE | d87e42f0bf56c94c7db8e8ed7e7856a293c5be90 | [
"Apache-2.0"
] | 4 | 2020-12-07T08:31:16.000Z | 2021-08-31T15:54:51.000Z | Designer.Interfaces/IVSMDCodeDomProvider.cs | isabella232/JetBrains.EnvDTE | 752b7206aa3ef59302cc89a8643217f1b51580cc | [
"Apache-2.0"
] | 1 | 2022-03-18T20:05:22.000Z | 2022-03-18T20:05:22.000Z | namespace Microsoft.VisualStudio.Designer.Interfaces
{
public interface IVSMDCodeDomProvider
{
object CodeDomProvider { get; }
}
}
| 19 | 53 | 0.703947 |
aff3e971b98291b97f56dc43b01fb01d1e72cd08 | 5,596 | py | Python | components/puppet/modules/gitolite/files/post-receive.py | pahoughton/scrumy-bdd | ea0776e66c6ea43e946d7b61e0050506fdf19470 | [
"Apache-2.0"
] | null | null | null | components/puppet/modules/gitolite/files/post-receive.py | pahoughton/scrumy-bdd | ea0776e66c6ea43e946d7b61e0050506fdf19470 | [
"Apache-2.0"
] | null | null | null | components/puppet/modules/gitolite/files/post-receive.py | pahoughton/scrumy-bdd | ea0776e66c6ea43e946d7b61e0050506fdf19470 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3.3
'''gitolite post-receive hook
Executed after successful push to the repo to notify, jenkins, trac and/or
mirror the repo.
Usse:
Add config keys to ~GIT/.gitolite.rc
GIT_CONFIG_KEYS => 'gitolite\.url jenkins\.url jenkins\.build\.job jenkins\.build\.token trac\.dir trac\.repo git\.mirro... | 32.346821 | 133 | 0.544853 |
653d19b8b9b8a17b13ec53e56009d728269d3cf5 | 3,009 | dart | Dart | lib/pages/chat/chat_list.dart | azamatig/travelman_places | 2e39168268db30c0594525397bb4bd6f82b48d66 | [
"MIT",
"Unlicense"
] | null | null | null | lib/pages/chat/chat_list.dart | azamatig/travelman_places | 2e39168268db30c0594525397bb4bd6f82b48d66 | [
"MIT",
"Unlicense"
] | null | null | null | lib/pages/chat/chat_list.dart | azamatig/travelman_places | 2e39168268db30c0594525397bb4bd6f82b48d66 | [
"MIT",
"Unlicense"
] | null | null | null | import 'package:flutter/material.dart';
import 'package:font_awesome_flutter/font_awesome_flutter.dart';
import 'package:travelman/pages/chat/widgets/convo_item.dart';
import 'package:travelman/pages/chat/widgets/messenger_app_bar.dart';
import 'package:travelman/pages/chat/widgets/stories_list.dart';
import 'models/m... | 24.266129 | 69 | 0.57328 |