code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
3
942
language
stringclasses
30 values
license
stringclasses
15 values
size
int32
3
1.05M
line_mean
float64
0.5
100
line_max
int64
1
1k
alpha_frac
float64
0.25
1
autogenerated
bool
1 class
'use strict'; var clear = require('es5-ext/array/#/clear') , eIndexOf = require('es5-ext/array/#/e-index-of') , setPrototypeOf = require('es5-ext/object/set-prototype-of') , callable = require('es5-ext/object/valid-callable') , d = require('d') , ee = require('ev...
Socratacom/socrata-europe
wp-content/themes/sage/node_modules/asset-builder/node_modules/main-bower-files/node_modules/vinyl-fs/node_modules/glob-stream/node_modules/unique-stream/node_modules/es6-set/polyfill.js
JavaScript
gpl-2.0
2,730
33.556962
74
0.633333
false
'use strict'; const TYPE = Symbol.for('type'); class Data { constructor(options) { // File details this.filepath = options.filepath; // Type this[TYPE] = 'data'; // Data Object.assign(this, options.data); } } module.exports = Data;
mshick/velvet
core/classes/data.js
JavaScript
isc
266
13
38
0.601504
false
package sodium // #cgo pkg-config: libsodium // #include <stdlib.h> // #include <sodium.h> import "C" func RuntimeHasNeon() bool { return C.sodium_runtime_has_neon() != 0 } func RuntimeHasSse2() bool { return C.sodium_runtime_has_sse2() != 0 } func RuntimeHasSse3() bool { return C.sodium_runtime_has_sse3() != 0 ...
GoKillers/libsodium-go
sodium/runtime.go
GO
isc
322
16.888889
40
0.680124
false
function collectWithWildcard(test) { test.expect(4); var api_server = new Test_ApiServer(function handler(request, callback) { var url = request.url; switch (url) { case '/accounts?username=chariz*': let account = new Model_Account({ username: 'charizard' }); return void callback(null, [ ...
burninggarden/burninggarden
test/unit/resource/accounts.js
JavaScript
isc
886
17.458333
74
0.655756
false
<?php interface Container { /** * Checks if a $x exists. * * @param unknown $x * * @return boolean */ function contains($x); }
guide42/php-immutable
src/base.php
PHP
isc
165
12.833333
29
0.484848
false
/* * Read and write JSON. * * Copyright (c) 2014 Marko Kreen * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "A...
markokr/libusual
usual/json.c
C
isc
38,477
20.555742
113
0.631728
false
angular.module('appTesting').service("LoginLocalStorage", function () { "use strict"; var STORE_NAME = "login"; var setUser = function setUser(user) { localStorage.setItem(STORE_NAME, JSON.stringify(user)); } var getUser = function getUser() { var storedTasks = localStorage.getIte...
pikachumetal/cursoangular05
app/loginModule/services/localstorage.js
JavaScript
isc
515
22.454545
71
0.584466
false
/* Copyright information is at end of file */ #include "xmlrpc_config.h" #include <stddef.h> #include <stdlib.h> #include <stdarg.h> #include <string.h> #include "stdargx.h" #include "xmlrpc-c/base.h" #include "xmlrpc-c/base_int.h" #include "xmlrpc-c/string_int.h" static void getString(xmlrpc_env *const envP, ...
arssivka/naomech
xmlrpc-c/src/xmlrpc_build.c
C
isc
12,744
29.342857
80
0.528013
false
/* ISC license. */ #include <bearssl.h> #include <s6-networking/sbearssl.h> int sbearssl_skey_to (sbearssl_skey const *l, br_skey *k, char *s) { switch (l->type) { case BR_KEYTYPE_RSA : sbearssl_rsa_skey_to(&l->data.rsa, &k->data.rsa, s) ; break ; case BR_KEYTYPE_EC : sbearssl_ec_skey_to...
skarnet/s6-networking
src/sbearssl/sbearssl_skey_to.c
C
isc
438
19.857143
66
0.56621
false
/* * The MIT License * Copyright (c) 2012 Matias Meno <m@tias.me> */ @-webkit-keyframes passing-through { 0% { opacity: 0; -webkit-transform: translateY(40px); -moz-transform: translateY(40px); -ms-transform: translateY(40px); -o-transform: translateY(40px); trans...
sauban/angular-boilerplate
vendor/dropzone/dropzone.css
CSS
isc
12,777
23.43021
74
0.599906
false
/* eslint-disable no-console */ const buildData = require('./build_data'); const buildSrc = require('./build_src'); const buildCSS = require('./build_css'); let _currBuild = null; // if called directly, do the thing. buildAll(); function buildAll() { if (_currBuild) return _currBuild; return _currBuild = P...
kartta-labs/iD
build.js
JavaScript
isc
591
20.107143
42
0.595601
false
// // RCWorkspaceCache.h // // Created by Mark Lilback on 12/12/11. // Copyright (c) 2011 . All rights reserved. // #import "_RCWorkspaceCache.h" @interface RCWorkspaceCache : _RCWorkspaceCache //if multiple values are to be set, it best to get properties, set them, and then call setProperties //each call to setPr...
wvuRc2/rc2client
source/rc2/model/RCWorkspaceCache.h
C
isc
639
29.428571
100
0.752739
false
function LetterProps(o, sw, sc, fc, m, p) { this.o = o; this.sw = sw; this.sc = sc; this.fc = fc; this.m = m; this.p = p; this._mdf = { o: true, sw: !!sw, sc: !!sc, fc: !!fc, m: true, p: true, }; } LetterProps.prototype.update = function (o, sw, sc, fc, m, p) { ...
damienmortini/dlib
node_modules/lottie-web/player/js/utils/text/LetterProps.js
JavaScript
isc
1,212
18.896552
155
0.450495
false
/*! * DASSL solver library description */ #include "libinfo.h" extern void _start() { _library_ident("DAE solver library"); _library_task("interfaces to generic IVP solver"); _library_task("operations on data for included solvers"); _library_task("DASSL solver backend"); _library_task("RADAU solver backend")...
becm/mpt-solver
modules/daesolv/libinfo.c
C
isc
379
18.947368
58
0.69657
false
/* * WARNING: do not edit! * Generated by util/mkbuildinf.pl * * Copyright 2014-2017 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the s...
ibc/MediaSoup
worker/deps/openssl/config/archs/linux-armv4/asm_avx2/crypto/buildinf.h
C
isc
2,032
47.380952
75
0.367618
false
System.register(["angular2/test_lib", "angular2/src/test_lib/test_bed", "angular2/src/core/annotations_impl/annotations", "angular2/src/core/annotations_impl/view", "angular2/src/core/compiler/dynamic_component_loader", "angular2/src/core/compiler/element_ref", "angular2/src/directives/if", "angular2/src/render/dom/dir...
denzp/pacman
application/lib/angular2/test/core/compiler/dynamic_component_loader_spec.js
JavaScript
isc
13,760
43.247588
393
0.595785
false
--- name: Dreadnought type: AV speed: 15cm armour: 3+ cc: 4+ ff: 4+ special_rules: - walker notes: | Armed with either a Missile Launcher and Twin Lascannon, or an Assault Cannon and Power Fist. weapons: - id: missile-launcher multiplier: 0–1 - id: twin-lascannon multiplier: 0–1 - id: ...
dsusco/tp.net-armageddon.org
_site/_units/dreadnought.md
Markdown
isc
409
14.461538
97
0.63591
false
/* * DISTRHO Plugin Framework (DPF) * Copyright (C) 2012-2014 Filipe Coelho <falktx@falktx.com> * * Permission to use, copy, modify, and/or distribute this software for any purpose with * or without fee is hereby granted, provided that the above copyright notice and this * permission notice appear in all copies. ...
DanielAeolusLaude/DPF-NTK
distrho/src/DistrhoPluginLV2export.cpp
C++
isc
16,790
40.45679
153
0.480584
false
// The following are instance methods and variables var Note = Class.create({ initialize: function(id, is_new, raw_body) { if (Note.debug) { console.debug("Note#initialize (id=%d)", id) } this.id = id this.is_new = is_new this.document_observers = []; // Cache the elements this.ele...
rhaphazard/moebooru
lib/assets/javascripts/moe-legacy/notes.js
JavaScript
isc
21,067
27.623641
189
0.607775
false
// Copyright (c) 2021 The Decred developers // Use of this source code is governed by an ISC // license that can be found in the LICENSE file. package indexers import ( "context" "fmt" "sync" "sync/atomic" "github.com/decred/dcrd/blockchain/v4/internal/progresslog" "github.com/decred/dcrd/database/v3" "github...
decred/dcrd
blockchain/indexers/indexsubscriber.go
GO
isc
10,267
25.325641
103
0.698549
false
@echo off CLS %header% echo. if not exist "Programme\HackMii Installer" mkdir "Programme\HackMii Installer" echo Downloade den HackMii Installer... start /min/wait Support\wget -c -l1 -r -nd --retr-symlinks -t10 -T30 --random-wait --reject "*.html" --reject "%2A" --reject "get.php@file=hackmii_installer_v1.0*" "http:...
Brawl345/WiiDataDownloader-Module
HackMii Installer herunterladen.bat
Batchfile
isc
521
46.454545
194
0.738964
false
# Limit rozbieżności **Ostrzeżenie! Ustawienie granicy rozbieżności nie powinno być zmieniane.** Zwiększenie granicy rozbieżności może spowodować znaczny spadek wydajności. Limit rozbieżności określa ilość adresów, które portfel wygeneruje i przeprowadzi prognozy, aby określić wykorzystanie. Domyślnie, limit rozbieżn...
decred/decrediton
app/i18n/docs/pl/InfoModals/GapLimit.md
Markdown
isc
1,305
80.733333
342
0.822186
false
enum asmop { ASNOP = 0, ASSTB, ASSTH, ASSTW, ASSTL, ASSTM, ASSTS, ASSTD, ASLDSB, ASLDUB, ASLDSH, ASLDUH, ASLDSW, ASLDUW, ASLDL, ASLDS, ASLDD, ASADDW, ASSUBW, ASMULW, ASMODW, ASUMODW, ASDIVW, ASUDIVW, ASSHLW, ASSHRW, ASUSHRW, ASLTW, ASULTW, ASGTW, ASUGTW, ASLEW, ASULEW, ASGEW, ASUGEW...
k0gaMSX/scc
cc2/target/qbe/arch.h
C
isc
1,127
7.348148
12
0.658385
false
// Copyright (c) 2013-2015 The btcsuite developers // Copyright (c) 2015 The Decred developers // Use of this source code is governed by an ISC // license that can be found in the LICENSE file. package wire_test import ( "bytes" "io" "reflect" "testing" "time" "github.com/davecgh/go-spew/spew" "github.com/de...
Dirbaio/btcd
wire/msgblock_test.go
GO
isc
28,011
34.412137
98
0.642105
false
describe('dJSON', function () { 'use strict'; var chai = require('chai'); var expect = chai.expect; var dJSON = require('../lib/dJSON'); var path = 'x.y["q.{r}"].z'; var obj; beforeEach(function () { obj = { x: { y: { 'q.{r}': { z: 635 }, q: {...
bsander/dJSON
test/dJSON.spec.js
JavaScript
isc
3,391
22.068027
116
0.487762
false
/* * 94 shifted lines of 72 ASCII characters. */ static const char *characters[] = { "!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefgh", "\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghi", "#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`...
ibara/chargend
chargend.h
C
isc
7,754
76.54
81
0.583183
false
#include <stdarg.h> #include <stddef.h> #include <stdlib.h> #include <string.h> #include <fcntl.h> #include <unistd.h> #include <errno.h> #include <sys/endian.h> #include <sysexits.h> #include <mpg123.h> #include "audio.h" #include "mp3.h" struct mp3 { mpg123_handle *h; int fd; int first; int rate; int chann...
kdhp/play
mp3.c
C
isc
2,590
18.923077
68
0.57529
false
package main import ( "testing" ) func TestParseHdbSignatureRow(t *testing.T) { signature := new(signature) sample := "e11c2aff804ca144a3e49c42d6ac5783:1006:Exploit.CVE_2012_0779" sig := parseHdbSignatureRow(sample, signature) if sig.Size != 1006 { t.Fatal("Error parsing HDB or HSB signature length") } if ...
sec51/clamav-yara
hdb_signatures_test.go
GO
isc
436
21.947368
72
0.740826
false
/* * Copyright 2005-2019 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/lice...
ibc/MediaSoup
worker/deps/openssl/openssl/crypto/whrlpool/wp_block.c
C
isc
34,797
43.327389
89
0.465816
false
/** * The MIT License Copyright (c) 2015 Teal Cube Games * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and * associated documentation files (the "Software"), to deal in the Software without restriction, * including without limitation the rights to use, copy, modi...
TealCube/strife
src/main/java/land/face/strife/managers/CombatStatusManager.java
Java
isc
2,828
35.727273
100
0.720651
false
-- Section: Internal Functions -- Group: Low-level event handling \i functions/pgq.batch_event_sql.sql \i functions/pgq.batch_event_tables.sql \i functions/pgq.event_retry_raw.sql \i functions/pgq.find_tick_helper.sql -- \i functions/pgq.insert_event_raw.sql \i lowlevel/pgq_lowlevel.sql -- Group: Ticker \i functio...
mpihlak/skytools-dev
sql/pgq/structure/func_internal.sql
SQL
isc
668
22.034483
43
0.767964
false
#AtaK ##The Atari 2600 Compiler Kit AtaK, pronounced attack, is a collection of programs built to aid in the development of Atari 2600 programs. ##Programs(Planned/Developing): * AtaR(ah-tar), The **Ata**ri 2600 Assemble**r** * AtaC(attack), The **Ata**ri 2600 **C** Compiler ##Universal Features: * Programmed ...
Gip-Gip/AtaC
README.md
Markdown
isc
871
20.775
80
0.727899
false
/* Copyright (c) 2016, 2021 Dennis Wölfing * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR D...
dennis95/dennix
libc/src/stdio/printf.c
C
isc
1,043
34.931034
75
0.730326
false
from django import forms from django.core.exceptions import ValidationError from django.core.validators import validate_slug from django.db import models from django.utils import simplejson as json from django.utils.text import capfirst from django.utils.translation import ugettext_lazy as _ from philo.forms.fields im...
ithinksw/philo
philo/models/fields/__init__.py
Python
isc
4,971
32.146667
186
0.714947
false
# gulp boilerplate run `npm start` then open another termianl run `gulp watch` ,change some files for browser-syn ## Gulp tasks * gulp * gulp prod
nickleefly/gulp-boilerplate
README.md
Markdown
isc
152
10.692308
51
0.723684
false
/*- * builtin.c * This file is part of libmetha * * Copyright (c) 2008, Emil Romanus <emil.romanus@gmail.com> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear...
nicholaides/Methanol-Web-Crawler
src/libmetha/builtin.c
C
isc
6,361
24.963265
91
0.46848
false
/* Copyright (c) 2019, 2022 Dennis Wölfing * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR D...
dennis95/dennix
libc/src/stdio/__file_write.c
C
isc
1,293
33.918919
75
0.682663
false
<?php /** * Time Controller * * @package Argentum * @author Argentum Team * @copyright (c) 2008 Argentum Team * @license http://www.argentuminvoice.com/license.txt */ class Time_Controller extends Website_Controller { /** * Creates a new time block on a ticket */ public function add($ticket_id) { ...
la5942/argentum-invoice
application/controllers/admin/time.php
PHP
isc
1,554
22.208955
108
0.589447
false
var fusepm = require('./fusepm'); module.exports = fixunoproj; function fixunoproj () { var fn = fusepm.local_unoproj("."); fusepm.read_unoproj(fn).then(function (obj) { var inc = []; if (obj.Includes) { var re = /\//; for (var i=0; i<obj.Includes.length;i++) { if (obj.Includes[i] === '*') { inc....
bolav/fusepm
lib/fixunoproj.js
JavaScript
isc
752
19.351351
46
0.507979
false
import mod437 from './mod437'; var value=mod437+1; export default value;
MirekSz/webpack-es6-ts
app/mods/mod438.js
JavaScript
isc
73
23.333333
30
0.753425
false
<!DOCTYPE html> <html> <head> <title>Hello World!</title> <script src="lib/js/angular.min.js"></script> <script src="lib/js/angular-route.min.js"></script> <script src="lib/js/angular-animate.min.js"></script> <script src="lib/js/angular-aria.min.js"></script> <scrip...
abdurrachman-habibi/azure-storage-studio
src/index.html
HTML
isc
1,608
39.225
90
0.616915
false
const defaults = { base_css: true, // the base dark theme css inline_youtube: true, // makes youtube videos play inline the chat collapse_onebox: true, // can collapse collapse_onebox_default: false, // default option for collapse pause_youtube_on_collapse: true, // default option for pausing yo...
rlemon/se-chat-dark-theme-plus
script.js
JavaScript
isc
4,901
32.806897
141
0.678841
false
'use strict'; const expect = require('expect.js'); const http = require('http'); const express = require('express'); const linkCheck = require('../'); describe('link-check', function () { this.timeout(2500);//increase timeout to enable 429 retry tests let baseUrl; let laterCustomRetryCounter; befor...
tcort/link-check
test/link-check.test.js
JavaScript
isc
18,014
35.680244
133
0.532815
false
--- layout: post title: More Office Interop in PowerShell --- As part of our team's workflow we create various data files and then generate tracking issues that we then import into our issue tracking system. We have a semi-automated process to do this which works fairly well but for some older issues we had imported ...
sethjackson/sethjackson.github.io
_posts/2017-11-27-more-office-interop-in-powershell.md
Markdown
isc
2,562
27.153846
130
0.693989
false
/* Copyright (c) 2018 Dennis Wölfing * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAI...
dennis95/dennix
kernel/include/dennix/clock.h
C
isc
1,033
33.4
75
0.763566
false
function daysLeftThisWeek (date) { return 6 - date.getDay() } module.exports = daysLeftThisWeek
akileez/toolz
src/date/daysLeftThisWeek.js
JavaScript
isc
99
18.8
34
0.747475
false
import hashlib import json import logging import os import subprocess import sys import time from collections import defaultdict from shutil import copy from shutil import copyfile from shutil import copystat from shutil import copytree from tempfile import mkdtemp import boto3 import botocore import yaml import sys ...
nficano/python-lambda
aws_lambda/aws_lambda.py
Python
isc
26,779
30.766311
79
0.603197
false
#!/bin/bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" packer build -var-file="${DIR}/packer-vars.json" "${DIR}/packer.json"
datapipe/generator-bakery
generators/cm-puppet/templates/build.sh
Shell
isc
140
27
69
0.578571
false
async function test(object) { for (var key in object) { await key; } }
marten-de-vries/kneden
test/fixtures/for-in/actual.js
JavaScript
isc
79
14.8
29
0.607595
false
# Copyright (c) 2015, Max Fillinger <max@max-fillinger.net> # # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. # # THE SOFTWARE IS PROVIDED "AS IS" AND...
mfil/getebook
getebook/epub.py
Python
isc
25,314
35.008535
107
0.554239
false
CREATE TABLE <table-name>_nf ( `id` INT UNSIGNED NOT NULL AUTO_INCREMENT, `request_uri` VARCHAR(255) NOT NULL, `referrer` VARCHAR(255) DEFAULT '', `user_agent` VARCHAR(255) DEFAULT '', `created_at` TIMESTAMP, PRIMARY KEY (id) ) ENGINE = MyISAM DEFAULT CHARSET=utf8;
rockettpw/jumplinks
Blueprints/schema-update-v4.sql
SQL
isc
289
35.25
46
0.66782
false
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License (the "License"). * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolar...
pscedu/slash2-stable
zfs-fuse/src/lib/libzfs/libzfs_pool.c
C
isc
94,615
24.420473
101
0.630365
false
package minecraft import ( "testing" "vimagination.zapto.org/minecraft/nbt" ) func TestNew(t *testing.T) { biomes := make(nbt.ByteArray, 256) biome := int8(-1) blocks := make(nbt.ByteArray, 4096) add := make(nbt.ByteArray, 2048) data := make(nbt.ByteArray, 2048) for i := 0; i < 256; i++ { biomes[i] = biome...
MJKWoolnough/minecraft
chunk_test.go
GO
isc
7,980
22.820896
105
0.537093
false
<!DOCTYPE HTML> <html lang="de"> <head> <!-- Generated by javadoc (17) --> <title>Source code</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content="source: package: com.restfb.types.send, class: ListViewElement"> <meta name="generator" content="javadoc/SourceToHT...
restfb/restfb.github.io
javadoc/src-html/com/restfb/types/send/ListViewElement.html
HTML
mit
10,136
56.265537
149
0.690608
false
using System.Collections.Generic; namespace ConsoleDemo.Visitor.v0 { public class CommandsManager { readonly List<object> items = new List<object>(); // The client class has a structure (a list in this case) of items (commands). // The client knows how to iterate through the structure...
iQuarc/Code-Design-Training
DesignPatterns/ConsoleDemo/Visitor/v0/CommandsManager.cs
C#
mit
440
32.769231
109
0.694064
false
--- layout: page_home title: Home headerline: Design Club at IIIT-Delhi headerlinelink: /about/ newslink: /news/ projectslink: /projects/ ---
ink-iiitd/ink-iiitd.github.io
index.html
HTML
mit
142
16.75
37
0.739437
false
var contenedor = {}; var json = []; var json_active = []; var timeout; var result = {}; $(document).ready(function() { $('#buscador').keyup(function() {   if (timeout) {     clearTimeout(timeout);     timeout = null;   }    timeout = setTimeout(function() {...
mpandolfelli/papelera
js/function.js
JavaScript
mit
5,520
25.22381
190
0.438068
false
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license a...
levfurtado/scoops
vendor/bombayworks/zendframework1/library/Zend/Gdata/YouTube/Extension/Username.php
PHP
mit
1,488
28.176471
87
0.678763
false
# MondrianRedisSegmentCache Mondrian ships with an in memory segment cache that is great for standalone deployments of Mondrian, but doesn't scale out with multiple nodes. An interface is provided for extending Mondrian with a shared Segment Cache and examples of other implementations are in the links below. In orde...
film42/mondrian_redis_segment_cache
README.md
Markdown
mit
3,298
41.282051
133
0.782596
false
module V1 class EventUserSchedulesController < ApplicationController before_action :set_event_session, only: [:create] # POST /event_user_schedules def create @event_user_schedule = current_user.add_session_to_my_schedule(@event_session) if @event_user_schedule.save render json: @e...
danjohnson3141/rest_api
app/controllers/v1/event_user_schedules_controller.rb
Ruby
mit
1,200
29.794872
134
0.680833
false
package com.jeecg.qywx.core.service; import com.jeecg.qywx.base.entity.QywxReceivetext; /** * 文本处理接口 * @author 付明星 * */ public interface TextDealInterfaceService { /** * 文本消息处理接口 * @param receiveText 文本消息实体类 */ void dealTextMessage(QywxReceivetext receiveText); }
xiongmaoshouzha/test
jeecg-p3-biz-qywx/src/main/java/com/jeecg/qywx/core/service/TextDealInterfaceService.java
Java
mit
326
16.375
51
0.730216
false
<?php namespace EugeneTolok\Telegram\Updates; use Schema; use October\Rain\Database\Updates\Migration; class BuilderTableUpdateEugenetolokTelegramDialogsSteps2 extends Migration { public function up() { Schema::table('eugenetolok_telegram_dialogs_steps', function($table) { $tab...
eugenetolok/easy-telegram-bot
updates/builder_table_update_eugenetolok_telegram_dialogs_steps_2.php
PHP
mit
553
22.434783
76
0.603978
false
import React from 'react'; import ons from 'onsenui'; import { Page, Toolbar, BackButton, LazyList, ListItem } from 'react-onsenui'; class InfiniteScroll extends React.Component { renderRow(index) { return ( <ListItem key={index}> {'Item ' + (index + 1)} </ListItem> ); } r...
gnetsys/OnsenUIv2-React-PhoneGap-Starter-Kit
www/components/InfiniteScroll.js
JavaScript
mit
854
17.170213
72
0.544496
false
# docker_runner Run docker containers on the fly with ansible roles # running program Must be run with sudo privlegies example "sudo ruby drun.rb" The program launches a docker container that self-provisions based on the ROLE The ROLE value in the ruby file is the Ansible role, which will be run on the container The...
svartblomma/docker_runner
README.md
Markdown
mit
907
38.434783
115
0.799338
false
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.datafactory.v2018_06_01; import com.fasterxml.ja...
selvasingh/azure-sdk-for-java
sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/GoogleCloudStorageLocation.java
Java
mit
2,402
31.026667
144
0.69567
false
<a href="/article/{{post.pk}}"> <div class="search-result post {{post.primary_section}}"> <span class="primary">{{ post.title }}</span> <div class="metadata"> <span class="date">{{post.published | date:"F j, Y"}}</span> {% for author in post.creators %} {% if ...
BowdoinOrient/bongo
bongo/apps/search/templates/search/post.html
HTML
mit
557
38.857143
72
0.48474
false
$js.module({ prerequisite:[ '/{$jshome}/modules/splice.module.extensions.js' ], imports:[ { Inheritance : '/{$jshome}/modules/splice.inheritance.js' }, {'SpliceJS.UI':'../splice.ui.js'}, 'splice.controls.pageloader.html' ], definition:function(){ var scope = this; var imports = scope.imports ; var Class =...
jonahgroup/SpliceJS.Modules
src/ui.controls/splice.controls.pageloader.js
JavaScript
mit
545
15.515152
62
0.66789
false
RSpec.describe AuthorizeIf do let(:controller) { double(:dummy_controller, controller_name: "dummy", action_name: "index"). extend(AuthorizeIf) } describe "#authorize_if" do context "when object is given" do it "returns true if truthy object is given" do expect(controller.authorize_if(t...
vrybas/authorize_if
spec/authorize_if_spec.rb
Ruby
mit
3,092
31.547368
133
0.625162
false
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("34...
steliyan/ProjectEuler
34_FactorialSum/Properties/AssemblyInfo.cs
C#
mit
1,406
37.972222
84
0.744833
false
namespace MyColors { partial class SimpleToolTip { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <p...
cborrow/MyColors
SimpleToolTip.Designer.cs
C#
mit
2,497
35.705882
157
0.567936
false
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
PFC-acl-amg/GamaPFC
GamaPFC/Gama.Atenciones.Wpf/Views/SearchBoxView.xaml.cs
C#
mit
663
22.607143
52
0.721634
false
<?php namespace Terrific\Composition\Entity; use Doctrine\ORM\Mapping as ORM; use JMS\SerializerBundle\Annotation\ReadOnly; use JMS\SerializerBundle\Annotation\Type; use JMS\SerializerBundle\Annotation\Exclude; use JMS\SerializerBundle\Annotation\Groups; use JMS\SerializerBundle\Annotation\Accessor; /** ...
brunschgi/terrific-io-old
src/Terrific/Composition/Entity/Module.php
PHP
mit
5,480
18.844106
84
0.524088
false
<!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"> <meta name="description" content="blog,python,django,developer"> <meta name="author" content="Derek Stegelman"> ...
dstegelman/derek.stegelman.com
public/tags/index.html
HTML
mit
5,880
37.684211
178
0.44949
false
using System; using System.Collections; using System.Linq; using Xunit; namespace Popsql.Tests { public class SqlValuesTests { [Fact] public void Add_WithNullValues_ThrowsArgumentNull() { var values = new SqlValues(); Assert.Throws<ArgumentNullException>(() => values.Add(null)); } [Fact] public v...
WouterDemuynck/popsql
src/Popsql.Tests/SqlValuesTests.cs
C#
mit
1,149
19.5
74
0.671316
false
package se.dsv.waora.deviceinternetinformation; import android.content.Context; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import android.widget.TextView; /** * <code>ConnectionActivity</code> presents...
dushantSW/ip-mobile
7.3.1/DeviceInternetInformation/app/src/main/java/se/dsv/waora/deviceinternetinformation/ConnectionActivity.java
Java
mit
2,212
37.5
107
0.66094
false
// // Constants.h // // #define LANGUAGES_API @"https://api.unfoldingword.org/obs/txt/1/obs-catalog.json" #define SELECTION_BLUE_COLOR [UIColor colorWithRed:76.0/255.0 green:185.0/255.0 blue:224.0/255.0 alpha:1.0] #define TEXT_COLOR_NORMAL [UIColor colorWithRed:32.0/255.0 green:27.0/255.0 blue:22.0/255.0 al...
unfoldingWord-dev/uw-ios
app/UnfoldingWord/UnfoldingWord/Constants.h
C
mit
2,540
46.830189
192
0.757695
false
# Les patrons de conception ## Bibliothèque d'exemples en Java Ce dossier est un aide mémoire. Il consiste à répertorier les patrons de conception en Java. ### [La liste des exemples](https://github.com/ewenb/Java_patterns) * COMPOSITE : Il dispose les objets dans des structures arborescentes ex1 : Un exemple ba...
ewenb/Java_patterns
VISITEUR/README.md
Markdown
mit
464
27.6875
105
0.769063
false
.highlight { background-color: black; } .highlight .hll { background-color: #404040 } .highlight .c { color: #999999; font-style: italic } /* Comment */ .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */ .highlight .g { color: #d0d0d0 } /* Generic */ .highlight .k { color: #6ab825; font-weight: b...
fdutey/formol
app/assets/stylesheets/pygments/native.css
CSS
mit
4,325
60.785714
101
0.652486
false
--- author: admin comments: true date: 2010-03-26 09:48:35+00:00 layout: post slug: what-to-do-when-ubuntu-device-mapper-seems-to-be-invincible title: 'What to do when Ubuntu Device-mapper seems to be invincible! ' categories: - Instructional tags: - 64-bit - hard drive - hardware - linux - lucid lynx - Ubuntu - workst...
andrewbolster/andrewbolster.github.io
_posts/2010-03-26-what-to-do-when-ubuntu-device-mapper-seems-to-be-invincible.markdown
Markdown
mit
2,095
31.734375
450
0.728878
false
'use babel'; import MapQueries from '../lib/map-queries'; // Use the command `window:run-package-specs` (cmd-alt-ctrl-p) to run specs. // // To run a specific `it` or `describe` block add an `f` to the front (e.g. `fit` // or `fdescribe`). Remove the `f` to unfocus the block. describe('MapQueries', () => { let wor...
shamshoum/map-queries
spec/map-queries-spec.js
JavaScript
mit
2,710
36.123288
81
0.664576
false
/* MIT License (From https://choosealicense.com/ ) Copyright (c) 2017 Jonathan Burget support@solarfusionsoftware.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, includin...
TigerFusion/TigerEngine
TIGString.c
C
mit
36,020
21.55479
142
0.659189
false
package com.github.kwoin.kgate.core.sequencer; import com.github.kwoin.kgate.core.message.Message; import com.github.kwoin.kgate.core.session.Session; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.annotation.Nullable; import java.io.ByteArrayOutputStream; import java.io.IOException; import jav...
Kwoin/KGate
kgate-core/src/main/java/com/github/kwoin/kgate/core/sequencer/AbstractSequencer.java
Java
mit
3,496
22.621622
84
0.619565
false
/*! * jQuery JavaScript Library v1.8.3 -css,-effects,-offset,-dimensions * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2012 jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: Mon Nov 19 2012 11:58:00 GMT-0800 (PST...
alexoldenburg/subzero
node_modules/grunt-requirejs/node_modules/grunt-jquerybuilder/node_modules/jquery-builder/dist/1.8.3/jquery-css.js
JavaScript
mit
215,458
26.941642
193
0.61418
false
module Discordrb::Webhooks # An embed is a multipart-style attachment to a webhook message that can have a variety of different purposes and # appearances. class Embed def initialize(title: nil, description: nil, url: nil, timestamp: nil, colour: nil, color: nil, footer: nil, image: nil, th...
Roughsketch/discordrb
lib/discordrb/webhooks/embeds.rb
Ruby
mit
7,499
33.086364
179
0.637285
false
var config = require('./config'); var express = require('express'); var superagent = require('superagent'); /** * Auth Token */ var authToken = null; var expires = 0; var expires_in = 20160; // 14 days in minutes /** * Urls */ var OAUTH = 'https://www.arcgis.com/sharing/oauth2/token'; var GEOCODE = 'http://ge...
Code4Maine/modeify
lib/geocode.js
JavaScript
mit
5,275
19.288462
79
0.53327
false
package billing // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated...
Azure/azure-sdk-for-go
services/preview/billing/mgmt/2020-05-01-preview/billing/operations.go
GO
mit
5,145
35.75
142
0.76035
false
import Immutable from 'immutable'; import * as ActionType from '../../actions/auth/auth'; const defaultState = Immutable.fromJS({ loggedIn: false, }); function authReducer(state = defaultState, action) { const { loggedIn, } = action; switch (action.type) { case ActionType.VERIFIED_LOGIN: retu...
phillydorn/CAProject2
app/reducers/auth/auth.js
JavaScript
mit
439
16.56
57
0.671982
false
[See html formatted version](https://huasofoundries.github.io/google-maps-documentation/MapPanes.html) MapPanes interface ------------------ google.maps.MapPanes interface Properties [floatPane](#MapPanes.floatPane) **Type:**  Element This pane contains the info window. It is above all map overlays. (Pane 4). [...
amenadiel/google-maps-documentation
docs/MapPanes.md
Markdown
mit
914
22.333333
121
0.739274
false
package fr.pizzeria.admin.web; import java.io.IOException; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; impo...
kmokili/formation-dta
pizzeria-admin-app/src/main/java/fr/pizzeria/admin/web/LoginController.java
Java
mit
1,588
26.859649
111
0.75
false
import { gql } from '@apollo/client' import avatarFragment from 'v2/components/AvatarUploader/fragments/avatar' export default gql` query AvatarCheck { me { ...Avatar } } ${avatarFragment} `
aredotna/ervell
src/v2/components/AvatarUploader/queries/avatar.ts
TypeScript
mit
213
16.75
74
0.676056
false
<html> <head> </head> <body> <h2> But Honour Them As They Honour Men </h2> Thirdly, <span class="oldenglish"> for </span> <span class="oldenglish"> the </span> worship <span class="oldenglish"> which </span> naturally men exhibite <span class="oldenglish"> to </span> Powers...
charlesreid1/wordswordswords
etymology/html/leviathan103.html
HTML
mit
2,705
14.202247
37
0.595194
false
var PassThrough = require('stream').PassThrough describe('Object Streams', function () { it('should be supported', function (done) { var app = koala() app.use(function* (next) { var body = this.body = new PassThrough({ objectMode: true }) body.write({ message: 'a' })...
francisbrito/koala
test/app/object-streams.js
JavaScript
mit
538
15.8125
47
0.492565
false
YUI.add("inputex-inplaceedit", function(Y){ var lang = Y.Lang;//, Event = YAHOO.util.Event, Dom = YAHOO.util.Dom, CSS_PREFIX = 'inputEx-InPlaceEdit-'; /** * Meta field providing in place editing (the editor appears when you click on the formatted value). * @class inputEx.InPlaceEdit * @extends inputEx.Field *...
piercus/inputex
js/fields/InPlaceEdit.js
JavaScript
mit
10,155
30.246154
157
0.612014
false
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. //////////////////////////////////////////////////////////////////////////// // // // Purpose: This class defines ...
Dmitry-Me/coreclr
src/mscorlib/src/System/Globalization/StringInfo.cs
C#
mit
14,973
40.476454
191
0.550725
false
package org.anodyneos.xp.tag.core; import javax.servlet.jsp.el.ELException; import org.anodyneos.xp.XpException; import org.anodyneos.xp.XpOutput; import org.anodyneos.xp.tagext.XpTagSupport; import org.xml.sax.SAXException; /** * @author jvas */ public class DebugTag extends XpTagSupport { public DebugTag() ...
jvasileff/aos-xp
src.java/org/anodyneos/xp/tag/core/DebugTag.java
Java
mit
679
24.148148
91
0.705449
false
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>File: calculations.rb</title> <meta http-equiv="Content-...
ecoulthard/summitsearch
doc/api/files/usr/lib/ruby/gems/1_8/gems/activesupport-3_0_0_beta4/lib/active_support/core_ext/time/calculations_rb.html
HTML
mit
2,478
21.333333
118
0.597256
false
class SessionsController < ApplicationController before_filter :authenticate_user, :only => [:home, :profile, :setting] before_filter :save_login_state, :only => [:login, :login_attempt] def login end def login_attempt authorized_user = User.authenticate(params[:username_or_email],params[:login_password]) if au...
app-man/LoginEasy
app/controllers/sessions_controller.rb
Ruby
mit
1,156
24.130435
116
0.685121
false
import numpy as np import pandas as pd from pandas import Series, DataFrame from scipy.spatial import distance import matplotlib.pyplot as plt from sklearn.cluster import DBSCAN from sklearn import metrics from sklearn.datasets.samples_generator import make_blobs from sklearn.preprocessing import StandardScaler from s...
banacer/door-wiz
src/identification/Identifier.py
Python
mit
1,449
27.431373
123
0.670807
false
<?php /* TwigBundle:Exception:traces.html.twig */ class __TwigTemplate_034400bfb816a72b7b3da36dd2d8e07ee89621bac614688be25a4e8ff872b3ad extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = array(...
JoseGMaestre/Cupon_check
app/cache/dev/twig/9e/9e7ec4c116a05cf87d6dedc6906bdf1b530cafcee29ed870fee22e6360fa5e44.php
PHP
mit
8,589
57.828767
455
0.561416
false
"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl...
ng2-slavs/Sportsemblr
public/app/pipes/remainingTimePipe.js
JavaScript
mit
4,775
37.829268
150
0.509948
false