branch_name
stringclasses
149 values
text
stringlengths
23
89.3M
directory_id
stringlengths
40
40
languages
listlengths
1
19
num_files
int64
1
11.8k
repo_language
stringclasses
38 values
repo_name
stringlengths
6
114
revision_id
stringlengths
40
40
snapshot_id
stringlengths
40
40
refs/heads/master
<file_sep>namespace RemoteServer.Model { public class Application { public string Title { get; set; } public string Path { get; set; } public Application(string title, string path) { Title = title; Path = path; } } }<file_sep>using System; ...
c5cd2b6caacbf3c3b323a2e424c1b2cee1051c69
[ "Markdown", "C#" ]
19
C#
maximgorbatyuk/RemoteServer
b5af805b78d22835f7cfe4cbad1f3472b253a705
82f8b999ea9c5cf750cd76b1253934159afa78f0
refs/heads/master
<file_sep>package element; import com.badlogic.gdx.math.Vector2; public class Pair { String left; Vector2 right; public Pair(String left, Vector2 right) { this.left = left; this.right = right; } public String getLeft() { return left; } public void setLeft(String left) { this.left = left; } pub...
e0c63e92a2be1ac841032ae4e0eb54e972053dbe
[ "Markdown", "Java" ]
7
Java
shaba81/Agar.AI
a2274217f843b98e70be6bfa4cdf10cca2b0f624
5cea6bd05daf3c8768041d5d7f19fcab9db981f0
refs/heads/master
<repo_name>KAmaia/Server<file_sep>/Server/Core/ServerEvents/ServerStartEvent.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Eventing.Library; namespace Server.Core.ServerEvents { class ServerStartEvent : IEvent { public string Message {...
b371c7b9e9d490151852c39400559ab71496ee9b
[ "C#" ]
3
C#
KAmaia/Server
b2a7d06d212dd44927272111ba4c1cb3ea4ed0eb
12b3a2564b6741f2b7ed65864595986e2b9277ec
refs/heads/master
<repo_name>MateuszSwiniarski/homework07<file_sep>/src/main/java/com/rodzyn/homework07/controller/MenuController.java package com.rodzyn.homework07.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.Requ...
8fa8d9d532ecf2c38f13ef9368412f382fe90a0f
[ "Java", "INI" ]
5
Java
MateuszSwiniarski/homework07
3eebbc8602d707f9dccd62fcba8382264bd076ab
68b36482371ddb2c65a1cb7557cad4925f013685
refs/heads/master
<repo_name>suman-somu/contactsMessageApp<file_sep>/src/MyApp.java import java.sql.SQLOutput; import java.util.Scanner; public class MyApp { public static Scanner sc= new Scanner(System.in); //shown the name and after greetings , // transfer the control to MainFunction method to continue. public stati...
a0705474a3c3f70b733fe195116ff68cead02438
[ "Markdown", "Java" ]
2
Java
suman-somu/contactsMessageApp
ec87d06a91e35fb0bfc1fde6eca8b61788e7e7d7
12bbdee864cd4bfc1c4fc28927840c31da1aae33
refs/heads/master
<file_sep>import React, { Component } from 'react'; import csv from 'jquery-csv' class MergeCsv extends Component { constructor(props) { super(props); this.state = { todayDate: null, dateUseAsNow: "2020-01-23", cpqCSV: null, pacDailyCSV: null, isR...
1262eac11b06a2152b6a697de1249cb9cb2badb0
[ "JavaScript", "HTML" ]
9
JavaScript
daisyriedumali/studykik-daily-import
e29fedfd6cddb05f30b8ce04fa2fce36e9837847
2d60e95b3c9b7b8498c89f24bda0b259aa3fe052
refs/heads/master
<file_sep>window.onload = function() { setTimeout(function() { var player = new Player(document.getElementById('myVid')); //document.getElementById('myVid2').src = "http://172.16.58.3/staticVideo"; }, 1000); }<file_sep>'use strict'; function Player(el) { 'use strict'; var VERBOSE = false; if (!Media...
b465eb0d118e142b4d08fc3db556b2595303fb00
[ "JavaScript" ]
5
JavaScript
samradical/yt-dash-reader
eac549b026d02e4a239e73b510d40513918359f3
4ec40b6cada8498dbe4b499bdf0b40817fd1b2d8
refs/heads/master
<file_sep># Symfony 2 with NGINX Base Box To get started, first you need to create the VM. git clone <EMAIL>:alsbury/symfony2nginx.git sf2 cd sf2 By installing the hostsupdater plugin, you don't have to edit the hosts file every time you turn the VM on. This will require you to type an adminsitrator passwor...
50552ff1ecf81f6652aadadbf15b7516f478273d
[ "Markdown", "Shell" ]
3
Markdown
alsbury/symfony2nginx
6ad13c9178158075bcca052ba3c0d38d037a2318
51e6087cd527d66affe15f1b205e85b433221b38
refs/heads/master
<file_sep>using AntShares.SmartContract.Framework; using AntShares.SmartContract.Framework.Services.AntShares; using AntShares.SmartContract.Framework.Services.System; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace remotegen { class tcode : FunctionCode ...
96e1b21475ebe4c08907fa2bc60a9180a7ebcb4d
[ "Markdown", "C#", "TypeScript" ]
3
C#
zoowii/antshares-code-plugin
cbac68aaad4a293fd094548b1a4f6c2dac17f116
df486a89346dcb99ba5f964bc0d836e8b1cac77b
refs/heads/master
<file_sep>#include <math.h> #include <stdio.h> #include <cctype> #include <cstdlib> #include <string.h> #define PI 3.14159265359 class CTime { public: CTime(char* newTime); CTime(){}; void setTime(char* newTime); int getHours() { return _hours; }; int getMinutes() { return _minutes; }; p...
5856d40bb0189fbd6b9e39f1b6c6c8a20c68e2fb
[ "Markdown", "C++" ]
2
C++
simonuvarov/yandex_clock
14a82980473d9c5685bb6022c8a1f1f2a827455f
099370240585af6828298b78269f7942cecfff9a
refs/heads/main
<repo_name>nayana1809/nlp-project<file_sep>/filenlp.py def review(sentence, word1,word2,word3,word4): s = sentence.split(" ") for i in s: if (i == word1): return True elif (i==word2): return True elif (i==word3): return True elif ...
223bb2b219197792a93ca62aab4f37245aeec142
[ "Python" ]
1
Python
nayana1809/nlp-project
82744a00486361df76b04aae9ca1c2c7fa007fe7
f642ee885fb24cf75e8546bc3d5e9620e0654b78
refs/heads/master
<repo_name>wieczorekmarcin/ffr-api<file_sep>/src/main/resources/application.properties spring.jackson.serialization.INDENT_OUTPUT=true spring.h2.console.enabled=true spring.h2.console.settings.web-allow-others=true spring.datasource.url=jdbc:h2:mem:testdb;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE spring.datasource.dri...
9837da64c6dcf654a1ba041f4616a20ffee4dcdd
[ "Markdown", "Java", "INI" ]
18
INI
wieczorekmarcin/ffr-api
3a9af538c5d981e05ade6611de82617e9c909db5
16c6ca32973b15a0da161002cee54e2b08047573
refs/heads/master
<repo_name>AimanAnizan56/YeppelGadget<file_sep>/admin/content/table-user.php <?php session_start(); require_once("../../database/config.php"); $db = Database::getInstance(); ?> <div class="card-panel z-depth-2" style="margin-bottom: 3rem;"> <table> <thead> <tr> <th...
8020f0cadca39c1ac44cfd6a4ba89c3a2331b6a9
[ "JavaScript", "Markdown", "PHP" ]
40
PHP
AimanAnizan56/YeppelGadget
c08a34caec75ce8dc2d7ec4ab6bca2645dce67a1
1807775991dcbd2b38ac4ce0a9da202430df7cc8
refs/heads/master
<repo_name>pcrubianoa/login<file_sep>/inc/config.php <? define ("PATH","login"); ?><file_sep>/api/usuarios.php <? session_start(); function __autoload($class_name) { require_once "../mod/" . $class_name . '.php'; } function row($value) { echo "<tr class='registro' id='".$value['id']."'> <td>".$value['id']."</t...
45c10646f53ef3316b4da1df17290c330fc0a3ed
[ "PHP" ]
14
PHP
pcrubianoa/login
eb9b2594baf8453cc79292d26da633d06a636fd8
1035b75dbd789ee95ecaf9b88f210eff96aa4a9d
refs/heads/master
<repo_name>LuksSouza/FuntamentosJavaScript<file_sep>/js/hello.js alert("Hello World com arquivo externo!"); var empresa = "Caelum"; empresa = empresa.replace("lum", "tano"); alert(empresa); /*var soma = 0; for (var i = 1; i < 101; i++) { soma+=i; } alert("Soma: " + soma);*/ var pessoas = ["João", "José", "Ma...
3528617197b9a3942f6e8da4083973ffcf9ef25c
[ "JavaScript", "Markdown" ]
3
JavaScript
LuksSouza/FuntamentosJavaScript
4f9ba1c719b17c83e6f63a156cda0ea9e78531f9
2873c69ea21a8f0ff73e71cb1878ae725263ae75
refs/heads/master
<file_sep>using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Segment.Stats { public class Statistics { public uint Submitted { get; set; } public uint Succeeded { get; set; } public uint Failed { get; set; } } }
e49d337c52dd8a3d6812a44aecbc1ec3daa79364
[ "C#" ]
1
C#
jzebedee/Analytics.NET
232ad2345de523de9ec01c8aef052bacf94e634a
d8f376e3168b26921a95f430b919564b2930117d
refs/heads/main
<file_sep>import math import socket import sys import time import errno from multiprocessing import Process ok_message = 'HTTP/1.0 200 OK\n\n' nok_message = 'HTTP/1.0 404 Not Found\n\n' def process_start(s_sock): s_sock.send(str.encode("***Welcome to Online Calculator***\n")) while True: pilihan = s_...
6dff81a811e833714ac32ae10ef4f7aef1da36d5
[ "Python" ]
2
Python
amirulikmal99/Lab6
0730936710811c5a9d22a6dbfd321058edf925ee
c518d4e3d6aa240d9ca6d0bcb868dd6422b3d26f
refs/heads/master
<file_sep>class CreateHelps < ActiveRecord::Migration def change create_table :helps do |t| t.string :content t.string :time t.string :reward t.string :user_id t.timestamps end add_index :helps, :user_id end end <file_sep>class AddInfoToUser < ActiveRecord::Migration de...
1147523dd458853a92a615713d3459d88212eccf
[ "Markdown", "Ruby" ]
8
Ruby
kouunn/nihong
44133cbeffd6bc3b64ac76e0e5a8c38c9c4fa0ec
26535ae59c60efba057604ebddbbb65e1320f959
refs/heads/master
<repo_name>Dep-Testings/web-pos-frontend<file_sep>/src/app/manage-items/manage-items.component.ts /** * @author : <NAME> <<EMAIL>> * @since : 11/26/20 **/ import manageItems from './manage-items.component.html'; import style from './manage-items.component.scss'; import '../../../node_modules/admin-lte/plugins/datat...
6e01a340fe1d76fa6e847007c476b2e8f8d03ff7
[ "TypeScript" ]
3
TypeScript
Dep-Testings/web-pos-frontend
4ecb5544916a93207e472352adfb00d2b7aa6ba9
cb3c77f4cafcdc562dda8a44eff9bf9abb0b5ad8
refs/heads/master
<file_sep>processo = "1000" sei = window.open("https://sei.sistemas.ro.gov.br/sei/"); setTimeout( function(){ pesquisa = sei.document.getElementById("frmProtocoloPesquisaRapida"); pesquisa.elements[0].value = processo; pesquisa.submit(); }, 3000); <file_sep>//imacros-js:showsteps yes function getcode(...
c48d4fdf8459640becb06fbf9a1a23601ff24884
[ "JavaScript" ]
5
JavaScript
franklinbaldo/macros
b286b8a11850f73ad65c9ce42261d74a27f9e160
3678311c9fa1158cc29dd5f418d93d969aa163f5
refs/heads/main
<file_sep>// let { add, multiply } = require("./cleverFunctions"); // let cleverFunctions = require("./cleverFunctions") // console.log(multiply(2, 3)); // console.log(cleverFunctions.add(5, 5)) // import { add, multiply } from "./cleverFunctions.js"; import cleverFunctions, { multiply as times } from "./cleverFuncti...
1adee792d13769e536ee8d0dad0d21a6f3f356ac
[ "JavaScript" ]
2
JavaScript
benmaudslay/m28-node-demo
a11571c0d1e8881e31cdd6ee1f8be5cd370b4c8e
f4e878bc51ea1f98f0772a0a2c511ff60deded2a
refs/heads/master
<repo_name>rdcx/assemble<file_sep>/models/node.js // grab the things we need var mongoose = require('mongoose'); var Schema = mongoose.Schema; // create a schema var nodeSchema = new Schema({ name: String, ip: String, created_at: Date, updated_at: Date }); var Node = mongoose.model('Node', nodeSchema); // ...
91e470d6c0404568df7897fd94d8b15121083970
[ "JavaScript", "Markdown" ]
5
JavaScript
rdcx/assemble
c9607dae6206a19714c3330b2fbd6f4989edfe4a
7b530ed4072c23fa47526306e729196d1e3e1559
refs/heads/master
<repo_name>joker314/unofficial-camper<file_sep>/ADMIN.js module.exports = [ { "on": "message", "wantsArgs": true, "cmd": "warn", "prefix": true, "then": (msg, command, data, args) => { // As this is a moderator command, // The user must either be of "modRoles" or if(!msg.member) { msg.reply("Pl...
85a6fc91890a9cff79e3104126533cd605c5bf5e
[ "JavaScript", "Markdown" ]
4
JavaScript
joker314/unofficial-camper
86e9a10f9c5298747e7e011976f158dbbcb677fa
94f821e0e7ecea68697b2a5f72ce80c3f98d449d
refs/heads/master
<repo_name>nordbjorn/learntocode<file_sep>/README.md # learntocode Studying Projects <file_sep>/app/views/listings/show.json.jbuilder json.extract! @listing, :id, :name, :secription, :price, :created_at, :updated_at
295a7cdcd29748c7e454fe6c69830c377be63684
[ "Markdown", "Ruby" ]
2
Markdown
nordbjorn/learntocode
112631a454b083ca0b060f1d6404ae71d182ec1b
d0a61314e7be9f042b1e1c469954cd78e28b1aa4
refs/heads/master
<repo_name>AyranaGabriela/sd-admin-2<file_sep>/src/main/resources/data.sql INSERT INTO contatos (nome,email) VALUES ('<NAME>','<EMAIL>'); INSERT INTO contatos (nome,email) VALUES ('<NAME>','<EMAIL>'); INSERT INTO contatos (nome,email) VALUES ('<NAME>','<EMAIL>'); INSERT INTO contatos (nome,email) VALUES ('<NAME>','<EM...
3925aa36b4bb871592ad004f13bd14c43085405e
[ "Java", "SQL" ]
3
SQL
AyranaGabriela/sd-admin-2
9bd5d8910b5423ad9caecb5c1c8bea6a4730cfe6
f3ef72f4870187cc4cdeac7cc140a8f86b7e0711
refs/heads/master
<file_sep>package org.csveed.bean.conversion; import static org.csveed.bean.conversion.ConversionUtil.hasLength; public class CustomBooleanConverter extends AbstractConverter<Boolean> { public static final String VALUE_TRUE = "true"; public static final String VALUE_FALSE = "false"; public static final ...
f66f309ca95abb6b327493347451ca6d284b8735
[ "Java" ]
4
Java
sarahsz/CSVeed
73e5871bff14c773704af1479d89ed61fb27d637
b68d36f4f121762e7673fd4bdc69ceed81b98ad2
refs/heads/main
<repo_name>andrew-song-archive/latale-guild-discord-bot<file_sep>/src/events/greetings.ts import EventLoader from "./_loader"; import * as Discord from 'discord.js'; EventLoader.addEvent('안녕', (message: Discord.Message) => { message.reply('반가워요!'); });<file_sep>/src/events/_loader.ts import * as fs from 'fs'; import...
36b83ea16eeb621af2123ad54c3d5bbd00b62430
[ "TypeScript" ]
5
TypeScript
andrew-song-archive/latale-guild-discord-bot
8fa6ae0efaebc1d7308954cb5c1d6708f857912d
95d223fa3258ea8a77cfb69bfc2f7582102edd85
refs/heads/master
<repo_name>anhmaivu88/Spark<file_sep>/NYCTaxi_SparkR.r ####################################################################################### # # Load Data # ####################################################################################### rawdata <- read.df("/nyc_taxi_data.csv","csv", header = "true", infe...
cfb05fc3661064a5f4fb0e8aba6b8e087b61b575
[ "Markdown", "Python", "R" ]
26
R
anhmaivu88/Spark
5304b4741646c9ab0f29025bf0ebb20ce88e5fc4
a7c8a6a5f1008cf41358963c043b34d3ba5f61fc
refs/heads/master
<file_sep>const hljs = require('highlight.js'); // Initialize highlight.js $(document).ready(function() { hljs.initHighlightingOnLoad() });
ed7b71f6e0860e67bcfd2fdc048ab1e95c153771
[ "JavaScript" ]
1
JavaScript
LilyBell/symfonyEncore
b5aab7758788cded4b828d24890f6cab3e7d90d4
b786938cac4436c41c03c9239a6e62e197428aca
refs/heads/main
<file_sep>module github.com/digitalocean/mtls-tech-talk go 1.16 <file_sep>BASE_DIR := $(shell git rev-parse --show-toplevel 2>/dev/null) export VAULT_ADDR=http://127.0.0.1:8200 # ===================================================================== # Services # ========================================================...
af6ceb697ad2dd0056b68774551a14ed0dbc8343
[ "Makefile", "Go Module", "Go", "Markdown" ]
6
Go Module
digitalocean/mtls-tech-talk
3b0a90d24b3912d9338dfb9db77fda04facfc28b
4d096a7aec562c90cd2ab52fe5d6520dbab4cec6
refs/heads/master
<repo_name>orlandol23/provaangularorlando<file_sep>/src/app/app-routing.module.ts import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { AppComponent } from './app.component'; import { HeaderComponent } from './header/header.component'; import { FooterComponent } ...
656dd8c08e3c03a199c7271088ccda66df74cf4b
[ "TypeScript" ]
1
TypeScript
orlandol23/provaangularorlando
e036940a8f6ceaafb8eefe5d9c75f10baa4b1557
25c4c65f4681fe3082f8fe3c99fccc610bb5cab2
refs/heads/master
<repo_name>ciocancosmin/online-voting-system<file_sep>/api/api.php <?php session_start(); require "../vendor/autoload.php"; function generateRandomString($length = 10) { $characters = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'; $charactersLength = strlen($characters); $r...
cdfa8504273bacbb178c353a54d24b4e72158385
[ "JavaScript", "PHP" ]
7
PHP
ciocancosmin/online-voting-system
2ec5704e94a97ff6d10b993e98e55c5e45387681
75253de95159ee7693a2350757c9f26f60bd2087
refs/heads/master
<repo_name>merajsam/ass<file_sep>/ass/InputValue/src/MainFunction.java public class Person { <NAME>fdkjfhds ghfsjkhg ldfhdslkg sdjgkjsd gkjsfdlkg int a=10; public void add() { System.out.print(a); } } public class MainFunction { /** * @param args */ public static void main(String[] args) { Person ob...
a8766fd585d92983cb287afa8c99adeb6a499d68
[ "Java" ]
1
Java
merajsam/ass
17899fddb8d8e459034a3f7c49ad197a5ee51154
63470d418176ef015105b3835b506c73d7d80af8
refs/heads/master
<repo_name>haogaoming123/swift-HMDatePickerview<file_sep>/README.md # swift-HMDatePickerview 时间选择器,可以自定义最大时间值和最小时间值,可以设置当前选中时间 ![111.png](https://github.com/haogaoming123/swift-HMDatePickerview/blob/master/DataPickerViewDemo/111.jpeg) <file_sep>/DataPickerViewDemo/DataPickerViewDemo/PickerView.swift // // THAgePicker...
afcb2d49ebec81ab22e182f416306a7f68061209
[ "Markdown", "Swift" ]
3
Markdown
haogaoming123/swift-HMDatePickerview
8ddfbfeb39293000b1a450bb02d739d4152bfe71
a58319a7f2a6f172c4349c5ae14a34d4a696b249
refs/heads/master
<file_sep># PySuiteCRM [![GitHub issues](https://img.shields.io/github/issues/RussellJuma/PySuiteCRM)](https://github.com/RussellJuma/PySuiteCRM/issues) [![GitHub stars](https://img.shields.io/github/stars/RussellJuma/PySuiteCRM)](https://github.com/RussellJuma/PySuiteCRM/stargazers) [![GitHub license](https://img.sh...
522ffb05aa507efe3918350e6268aec2c75f1366
[ "Markdown", "Python" ]
2
Markdown
stjordanis/PySuiteCRM
9b0f1a92868835f541c3cc9bd414a39d099efd28
501006204a526f91786b98b2ff737368be75bd38
refs/heads/master
<file_sep>#ifndef CREATE_SUITE_H #define CREATE_SUITE_H #include <CUnit/TestDB.h> typedef CU_pSuite (*suite_creator_t)(char *suite_name, CU_SetUpFunc before_each, CU_TearDownFunc after_each); typedef void (*test_adder_t)(CU_pSuite suite, const char *name, void (*testfcn)(void)); #endif // CREATE_SUITE_H <file_sep>#i...
3ac0b264892779851f60088dc052c09fed2ffb28
[ "Markdown", "C", "CMake" ]
40
C
libglug/datastructs
4f4675268f7cd048ae6b9684273a7f460ae80644
2f8f50ee153bc00a56ff1337f88610f2bbdec084
refs/heads/master
<file_sep># Sfevy Sockets for everyone - Easy sockets within python, no stress networking. ### What is Sfevy? Sfevy is an simple wrapper for the python sockets library. Sfevy was created so that anyone can simply create a networking application in python. Although it is a ### Requirements - Python 3.x.x ### Feature...
d63e9858487b89b86abdb04a7422d3541a60bdf7
[ "Markdown", "Python" ]
2
Markdown
TheVoxcraft/Sfevy
e78d3e60444d5bfad43288e227c2b788684149f6
00622a3110db5de13cf03ffa13a6d3ca1b42bc60
refs/heads/master
<file_sep>package mx.com.itam.adsi.ejercicio; import org.apache.log4j.Logger; /** *Clase Nodo * *Liga Nodos para crear una estructura de lista *@author <NAME> 158228 */ public class Node { /** *registra los métodos de la clase */ private final static Logger LOG = Logger.getLogger(Node.class); ...
7619526ec2035a30c838c87007ebf68553c97e12
[ "Java" ]
1
Java
adsi-itam-27/Examen_2
0ef95711b9a67a44cfec91147924a61d8b534c8f
ae1639115a1cf6430d1f0a9b5fb8126cf9696d74
refs/heads/master
<file_sep>#!/usr/bin/env python import pexpect from getpass import getpass import re import time import sys def main(): username='pyclass' #ip_addr=raw_input("enter ip: ") ip_addr='172.16.31.10' port = 22 password = getpass() ssh_conn = pexpect.spawn('ssh -l {} {} -p {}'.format(username, ip_addr,...
04a35751b7fee56c2a11f63813b1b6013b7082c7
[ "Markdown", "Python" ]
26
Python
dnsbob/pynet_testz
8a4c778e8592efd796dc27417b7ae7ee4d9111cc
96716fecba6041772b8861e537b6ac4fbde98e2c
refs/heads/main
<file_sep>class Fish: evol_count = 0 def __init__(self,types,scale,fins,gills,tooth,): self.types = types self.scale = scale self.fins = fins self.gills = gills self.tooth = tooth self. energy = 40 Fish.evol_count +=1 def show_type(self): ret...
fcbbf41354a8efbfac294b791791554f1c289d3c
[ "Python" ]
4
Python
Erjan18/task_classes
9a3eea7e6247152fab3fbdaba1afa97c6cae632c
26fb6970e451485ace6f9f75e39872e892f2f89d
refs/heads/master
<repo_name>etnul/imager<file_sep>/app.rb require 'sinatra' require 'json' require 'digest' require 'base64' post '/img/' do if params[:uri] raw = params[:uri] bits = Base64.decode64(raw[22..-1]) digest = Base64.encode64(Digest::SHA256.digest(bits)).chomp.gsub(/[^a-zA-Z0-9]/,'') filename = digest + '....
7a53b135c7fdf1c9a2ed93231be0c8ef73b1e844
[ "Markdown", "Ruby" ]
3
Ruby
etnul/imager
acec24561d9c19916b766089e19e5b62a6cf109b
fe1053390dfc26f1679c3972904af1c363143805
refs/heads/master
<repo_name>vmachan/sqlchi<file_sep>/test.sql SELECT selected_column1 AS selected_column1_alias ,selected_column2 ,selected_column3 AS selected_column3_alias FROM table_name WHERE where_column1 = 'where_column1_value' AND where_column2 = 'where_column2_value' OR where_column3 = 'where_column3_value...
d72a89cceae4ed000e3541a2cdbc49f693ab2e77
[ "SQL", "Python" ]
3
SQL
vmachan/sqlchi
ba2f8f8a0aa5ab9452ae58ed28f0d714ef0054aa
f1190970ff44d6501017b316ce8de23b5262cf4a
refs/heads/master
<repo_name>jpshade/DihedralPathGen<file_sep>/groupDictionarySetup.py import re def groupGenerate(n, myGroup): for i in range(1,n): myGroup.append('r'+ str(i)) myGroup.append('s') for i in range(1,n): myGroup.append('r'+str(i)+'s') def rrChange(matchedSubstring,n): numLengthCheck = re.compile('[0-9]+') ex...
60ce5c4ceaaee57549591ce77ebc086d5623c543
[ "Python" ]
3
Python
jpshade/DihedralPathGen
56daa252457c387a927fe784ea7d0bc9843b8909
01cbb683252a373d6b8992cc783765cefe26c3d9
refs/heads/master
<file_sep>var express = require("express"); var app = express(); var useragent = require('express-useragent'); var userInfo = { ipaddress: null, language: null, OS: null } app.enable('trust proxy'); app.use(useragent.express()); app.get("/", function(req, res){ userInfo.ipaddress = req.ip; userInfo.language = ...
09c07b09c1f529f69ef02b18604d741bd9df5645
[ "JavaScript", "Markdown" ]
2
JavaScript
aplchian/parser
2b3d2111b9b3a4378b60a6e8d0b2d702f767ed39
6df0fb3ce429b6854d86886a0b6f516900f42b5e
refs/heads/master
<repo_name>anna-sakhlyan/AppboyTest<file_sep>/Podfile # Uncomment the next line to define a global platform for your project # platform :ios, '9.0' target 'AppboyTest' do pod 'Appboy-iOS-SDK', '~>2.29' end
6418ccdb5e3c34eb924a9937f9cc09e0f548f38d
[ "Ruby" ]
1
Ruby
anna-sakhlyan/AppboyTest
dfa1be645bdcd30fcda71fbf945ba1dccd2f9d7a
0c1109924f16d4cdef50eeed0bfce085951b68a8
refs/heads/master
<repo_name>esabban/knife_rax_cluster<file_sep>/lib/chef/knife/rax_cluster_change.rb require 'chef/knife/rax_cluster_base' class Chef class Knife class RaxClusterChange < Knife attr_accessor :headers, :rax_endpoint, :lb_id include Knife::RaxClusterBase banner "knife rax cluster change LB_ID (c...
b96633c01687493133111d9fb14f9c4ea360f5a4
[ "RDoc", "Ruby" ]
8
Ruby
esabban/knife_rax_cluster
4f68176581fa6686e8203ae5aa4061fc3689bbb8
673048ff3ce6f8d74e4f52610c2bc49d17f732fb
refs/heads/master
<repo_name>mthamil/PSycheTest<file_sep>/PSycheTest.Runners.Framework/ITestScript.cs using System.Collections.Generic; using System.IO; using System.Linq; using System.Management.Automation.Language; using PSycheTest.Runners.Framework.Results; using PSycheTest.Runners.Framework.Utilities; namespace PSycheTest.Runners.F...
821768a0e07e7f5f5fd819b1e970a2920753317a
[ "Markdown", "C#" ]
137
C#
mthamil/PSycheTest
cb2f1f510f1e72f28d3263abd70018cd1421c435
a6892703b8cdee300a1e155e08bd44f304af746f
refs/heads/master
<file_sep><?= $this->extend('layout/template'); ?> <?= $this->section('content'); ?> <h1>Upload Image</h1> <?= view_cell('\App\Controllers\Admin\Menu::option') ?> <form action="<?= base_url('/admin/menu/insert') ?>" method="post" enctype="multipart/form-data"> Gambar: <input type="file" name="gambar" required> ...
858a47b3dc490f23072e608da9a36958a12eea3f
[ "PHP" ]
22
PHP
rsiyun/project-restoran-ci4
c2f731789c3807ff085ff86a91303edba3dfe045
0d46a98c2fb4f8b1fe4399cb2eb51186c30941d6
refs/heads/master
<file_sep>from setuptools import setup setup( name='edoxrd', version='0.1', description='', author='<NAME>', author_email='<EMAIL>', url='https://github.com/ezatterin/edoxrd', packages = ['edoxrd'], install_requires=[ 'numpy', 'matplotlib', ...
20f38e9998c8913311f61d26b2e437460f60c9c3
[ "Python" ]
8
Python
ezatterin/edoxrd
9505f24cd42296cb6af9ca4d22cbd3e0f9367548
b9b6f728603053ee0860ffb4ef1de06e23381da6
refs/heads/master
<file_sep>import kfp.dsl as dsl import kfp.compiler as compiler @dsl.pipeline(name='load-predict-pipeline-logreg') def pipeline(project_id='loan-predict'): preprocessor = dsl.ContainerOp( name='preprocessor', image='praveen049/loan-predict-logreg-preproc', command=['python', 'preproc/prepro...
1bc38c469ea44d5799389554fad6d10541d91b23
[ "Python" ]
2
Python
absaj/kubeflow101
843d2d6becbb9a7eeca6fce2f81c92fa1249136c
6d7508a1068530429a5351dbb46ba62b546d8b5c
refs/heads/master
<repo_name>robinsonGA/restaurante-BLACEY<file_sep>/js/menu.js $(document).ready(function() { var desayunos = $("#btn-desayunos"); var postres = $("#btn-postres"); var ensaladas = $("#btn-ensaladas"); var botanasAntojitos = $("#btn-botanasAntojitos"); var comidas = $("#btn-comidas"); var bebidas = $("#btn-be...
f943513da2ac58d60f1a49572301b85ed8b50c19
[ "JavaScript" ]
1
JavaScript
robinsonGA/restaurante-BLACEY
343240da1f3fd8acbbf0bf9812f10dfec66ff301
d677596bc27369537701d63b4d2b544e77361506
refs/heads/master
<repo_name>firedtoad/cpp-taskflow<file_sep>/taskflow/core/topology.hpp #pragma once #include "taskflow.hpp" namespace tf { // ---------------------------------------------------------------------------- // class: Topology class Topology { friend class Taskflow; friend class Executor; public: temp...
a6f3fc1b8321cc83292d27dcaf66fc306b438f04
[ "C++" ]
1
C++
firedtoad/cpp-taskflow
c7abd3df617829e23c2ef5942e0c6b180c978d9a
d3fd9ed6487b9f43e365ef3e19f7abba64981970
refs/heads/master
<file_sep>package com.li.kong.mapper; import com.li.kong.entity.User; import java.util.List; public interface UserMapper { int save(User user); User loadEmail(String email); int updateInfo(User user); int updatePassword(User user); List<User> listUser(); int updateForbidden(User user); Us...
d4b3807f4eb0dccf4f85fe0b8cf6c2eaaa1bae92
[ "Markdown", "Java", "SQL", "INI" ]
19
Java
Romenluo/kong
af79aecb9fc969eff1222520003b6871b0676654
3326f7dacee449ac3df2c183574f82ee0c983eac
refs/heads/master
<repo_name>superraylin/209HCI-TinyKeyboard<file_sep>/keyboard - Copy - Copy.js var tapped = false; var double_tapped = false; //for 2touch let two_touch = false; let touch_counts = 0; /******load event listener to each keyboar_key*******/ function Init(){ document.addEventListener('contextmenu', event => event.prev...
b85b557564ef0077931b803c042fb384c4de0f4d
[ "JavaScript", "Markdown" ]
2
JavaScript
superraylin/209HCI-TinyKeyboard
1e80888a88d99ae9020b42d234de7dd60b1daa72
2897b596f8e110b6245367a2d4da152fa0fffca0
refs/heads/master
<repo_name>VasanthR6899/victoream<file_sep>/README.md # victoream Estimation of Steering Angle using Machine Learning and Computer Vision <file_sep>/complete .py # -*- coding: utf-8 -*- """ Created on Sat Jun 20 11:14:06 2020 @author: gauth """ # Multiple Linear Regression # Importing the libraries im...
6dad27148ccabe5825f41fde839a218bdcc31018
[ "Markdown", "Python" ]
2
Markdown
VasanthR6899/victoream
ee321240edc4b8d0a26ecb175195afb655eff107
399e71d8da8e05704152b75e1daadc57538a4a19
refs/heads/master
<file_sep>import { Injectable } from '@angular/core'; import { Http } from '@angular/http'; @Injectable({ providedIn: 'root' }) export class AmountService { uri = 'https://lighthouse-test-front-end.firebaseio.com/amount.json'; constructor(private http: Http) { } getAmount(): Promise<any> { ...
7db47711b19fe19d8183d1988af37d37a79e1ade
[ "TypeScript" ]
8
TypeScript
antunezz/test-front-end-developer
3332f823c9d7b3f4d4525038c5f974a0fbc029a4
868d8814f9e7da7d86cd510de23c66c52d65a315
refs/heads/main
<file_sep>export type Comment = { id: number; postId?: number; name?: string; email?: string; body: string; }<file_sep>import { createSlice, createEntityAdapter, createAsyncThunk } from '@reduxjs/toolkit'; import { RootState } from '../../app/store'; export const fetchComments = createAsyncThunk( 'comments...
a114923025353c7747fb0e80a7df24b3ed295b80
[ "TypeScript" ]
2
TypeScript
MoonG25/study-redux
d46664c5ffab31b00612bcc24dcf550e25bb5016
8a871229825207209864d1778b7b1dfd96e4f0c1
refs/heads/main
<file_sep>using FlightControlWeb; using Microsoft.AspNetCore.Mvc.Formatters.Xml; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Diagnostics; namespace UnitTestFlightControlWeb { [TestClass] public class UnitTest1 { [TestMethod] ...
9fb2a19b90b400b8296fb26f83570f2d9f1950a0
[ "Markdown", "C#", "JavaScript" ]
15
C#
KarinShimel/WEB-Flight-Controller
5800b45f42a78ec18b0db8c83756f9fd81c9c294
5f81f88dc3eb53ba99b8c207dd7401c5df8caaff
refs/heads/main
<file_sep>export const FloatingButtonActions = [ { text: "Accessibility", name: "bt_accessibility", position: 2 }, { text: "Language", /* icon: require("./images/ic_language_white.png"),*/ name: "bt_language", position: 1 }, { text: "Lo...
6e594bcfbf0ab031a26f0de6ebe3238ebdd3dfc3
[ "Markdown", "TypeScript" ]
3
TypeScript
liewik/healthy_cookies
be2a3b75dd8a6b18a75d340025171721c8d7b1fd
ab1cbb4775706ad3ed407ddaca6efda6254220d7
refs/heads/master
<repo_name>sranjan001/bookstore_oauth-api<file_sep>/src/domain/access_token/service.go package access_token import ( "fmt" "github.com/sranjan001/bookstore_oauth-api/src/respository/rest" "github.com/sranjan001/bookstore_oauth-api/src/utils/errors" "strings" ) type Repository interface { GetById(string) (*Access...
60613cbf6443b559e21108f1a8140c19947fca8e
[ "Markdown", "SQL", "Go" ]
5
Go
sranjan001/bookstore_oauth-api
f2729cf4e675fedd41068b939c39a6c030e84514
4f633fa48b8a154817770abb1c25ea8c3bb4443b
refs/heads/master
<repo_name>titusTong/journey<file_sep>/mywebpack.config.js var path = require('path'); var HtmlWebpackPlugin = require('html-webpack-plugin'); module.exports = { devtool:'cheap-eval-source-map', entry:[ 'webpack-dev-server/client?http://127.0.0.1:9000', './src/components/app.jsx', ], output:{ path:path.resol...
59f4487d89557504402c907244fa75e5fe640a17
[ "JavaScript", "Markdown" ]
3
JavaScript
titusTong/journey
4aeb31c82fe9e71f0dee81a1e51de4788acf846a
3a1e22eb66eb84c12c116abc02bf781a791c25b0
refs/heads/master
<repo_name>R-Prince/junior-dev-test<file_sep>/README.md # CharlieHR Junior Dev Tech Test ## <NAME> Language - Python Please see [main.py](main.py) for User class and [test_class.py](test_class.py) for testing suite. To run the test please type "python -m unnittest test_class" in the command line. <file_sep>/main.py...
639f89e3a8f706197d7e91a8b08ca25071aa67e6
[ "Markdown", "Python" ]
3
Markdown
R-Prince/junior-dev-test
8e6546546dd8de2a8a59b25e5ac5616691d41129
187e4ba1a97854eab838a347767a8137517234f4
refs/heads/master
<file_sep># -*- coding: utf-8 -*- """ Created on Thu Oct 23 09:19:16 2014 @author: Suzanne """ import pandas as pd import numpy as np import matplotlib.pyplot as plt data_path = 'C:/Users/Public/Documents/MSc-DataScience/INM430/Data/' data_file = 'censusCrimeClean.csv' dirty_file = 'censusCrime.csv' csv_census = p...
58dba93073d1f99bdfd81ee353385e5892660797
[ "Python" ]
1
Python
suzannefox/PythonExamples
ea5b1ea4617ec5e8dbdfffd408ff7f81363dc954
80e272da7aabbada2ce414f9b9d5ee36775536ed
refs/heads/master
<file_sep>import { Injectable } from '@angular/core'; import { Http, Jsonp } from '@angular/http'; import { Observable } from 'rxjs'; import 'rxjs/add/operator/map'; @Injectable() export class RecipesService { private API_URL: string = 'http://www.recipepuppy.com/api/?'; constructor( private http: Http, p...
00bb40de6d7445986eb0fceacef408462e3de88e
[ "TypeScript" ]
3
TypeScript
bryanpbaker/pantry
f53d6f979db3aa1922bae9894e47be82e74948c2
db23e1d872de300d8084efc393ea08774e9ff54e
refs/heads/master
<file_sep>module ReviewsHelper def review_instance_from(article) @review = article.reviews.find_by(user_id: current_user.id) end def avg_reviews(reviews) (reviews.map(&:star).inject(0.0){ |r, i| r+=i } / reviews.size).round(2) end end <file_sep>class StaticPagesController < ApplicationController...
17893c489d2c594fb5abfc8c97d125dd3c9b5219
[ "Ruby" ]
2
Ruby
kyutech-stairs/note-
5b7ce95e7549180fc2cc8dd1f266932747c42413
b155183476bd12011af2fe1828c2e85038e624fc
refs/heads/main
<repo_name>HE140317/CI53_HW2<file_sep>/b2.js class Book { id; name; price; publishedDate; constructor(id, name, price, publishedDate) { this.id = id; this.name = name; this.price = price; this.publishedDate = publishedDate; } update(data) { ...
995db4f3280846186cdaf29200e81ab336f88181
[ "JavaScript" ]
1
JavaScript
HE140317/CI53_HW2
05c739e71e1c85ea93113c03197bc4685d25a270
262b1cb5a53760c15483f75080f32abb445e8b25
refs/heads/master
<file_sep>let cUsers; class Title extends React.Component { render() { return ( <div className="title"> <span>User management</span> </div> ); } } class FormItem extends React.Component { constructor(props) { super(props); this.addUse...
0ffc2dd1fc469c3f9d8b0c585f4d8659674ab0f8
[ "JavaScript" ]
1
JavaScript
minhkhanb/NodeJS-ReactJS-Client
615759fefbfd8030d906d2fb436bf5746195f7ed
bada89545406b3db96105034ba71d666afa62ce4
refs/heads/master
<repo_name>owlcoder13/OwlOrm<file_sep>/src/Schema/Table.php <?php namespace Owlcoder\OwlOrm\Schema; class Table { /** @var Schema */ public $schema; public $columnNames = []; /** @var Column[] */ public $columns = []; public $name; public $indexes; public $delete = false; /** @...
de62c01db725211b30f11219b11aaa75be917e80
[ "Markdown", "PHP", "Shell" ]
42
PHP
owlcoder13/OwlOrm
d7b6495c218c0d47f2cf64d0df4025710fdf66d4
925a6d6a888a1e6f75377f741221fce0867331eb
refs/heads/master
<repo_name>slinkymoose/ComputerVisionEdge-HeroCategorizer<file_sep>/CV_Edge/Assets/HeroModel.cs using System; using System.Collections.Generic; using System.Threading.Tasks; using Windows.Media; using Windows.Storage; using Windows.AI.MachineLearning.Preview; // 6fba5602-2416-4582-8f3b-931bc0eadc24_c97c9b55-21f5-48b8-...
d09711f8e2fefff19b481c81b1cb8ed832e638da
[ "C#" ]
2
C#
slinkymoose/ComputerVisionEdge-HeroCategorizer
c4848ed5b910317baa97af96eb4182fd07227496
7d434a152bf5f0b18c0963217e30631d076040b3
refs/heads/master
<file_sep>using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; namespace WebStore.ViewModels { public class EmployeeView { [HiddenInput(DisplayValue = false)] public int Id ...
0c9aa3127ca4f9edeb498a95fdc5e0f1d6588537
[ "C#" ]
2
C#
VenenS/WebStore
d7758a358e0c6a2cacda4ab4d5b176959de56ab5
24b86380cc6aec43cda07fd067a6f6b3fe4217bf
refs/heads/master
<file_sep>package br.com.eventoapp.controllers; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.servlet.ModelAndView; @Controller public class EventoController { @RequestMapping("/cadastrarEvento") public ModelAnd...
9a03f205a72116f79605da32eb9fe46382ed077a
[ "Java" ]
1
Java
KelvySilva/eventoapp
c9c9f64453e685015b777c941cd3a7d87b712ae4
6bca1ffda309346eae4619b5c0bf039b5c59f970
refs/heads/master
<file_sep>function TPL(html, data) { for (var i in data) { html = html.replace(new RegExp('{{\\s*' + i + '\\s*}}', 'g'), data[i]); } return html; } function urlQuery() { if (location.search) { var q = decodeURIComponent(location.search.substr(1)); var obj = {}; q.split('...
4574976154da2c72c666c25ce880063bbaeb4de1
[ "JavaScript" ]
4
JavaScript
bihai/works
378cb282d3ccafb3df8ce2951ad5b951844c6211
e1a7aa80e99e6085ad94fe0ce1f35076bd927dd5
refs/heads/master
<repo_name>TheTesla/ATXMega128A4U-Keyboard<file_sep>/KEYBOARD_EXAMPLE2/src/ASF/common/services/usb/class/hid/device/kbd/example/atxmega128a4u_stk600-rc044x/ui.c /** * \file * * \brief User Interface * * Copyright (c) 2011 - 2012 Atmel Corporation. All rights reserved. * * \asf_license_start * * \page License ...
0880b962b36a9ccec6f9e1cc864491125f9af742
[ "C" ]
1
C
TheTesla/ATXMega128A4U-Keyboard
c88388e70b872d4ec60b6eb68267d1b1d2c7a770
8f57600020b27cf328bcc5ea2fcd3937c030608b
refs/heads/master
<file_sep>using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using LanguageFeatures.Model; using Microsoft.AspNetCore.Mvc; namespace LanguageFeatures.Controllers { public class HomeController : Controller { public string Index(int input) { ...
83f8b890d27d41aec0900de17990844ed58bf9df
[ "C#" ]
1
C#
m5sgh2a/LanguageFeature
4418bd418a05e6f95f7ac46b95d60a370c66250f
b6e9ffa8314eb5a3a338875595a87e4ebc446e9a
refs/heads/master
<file_sep>import pandas as pd import os class FileOperation: @staticmethod def get_file_list(_input_path: str, _is_recursive: bool = False, _can_return_abspath: bool = False): """ 指定したフォルダの中のファイルリストを作成し、配列として返す機能 :param _input_path: ファイルリストを取得したいフォルダパス :param _is_recursive: 指定し...
ae8faec7e795335e0d3e71e43261cb4a578ce93a
[ "Python" ]
9
Python
Mugicha/UtilTools
0c1846112b27e1f61db4502504b2619eca5ea4e2
fcd4b609a1c184f9a224b34026a505f879c7e2cd
refs/heads/master
<file_sep>package com.bhuman.exm.models; /* Glentry POJO */ public class Glentry { private String accountNo; private String trx_amount; public Glentry() { } public Glentry(String accountNo, String trx_amount) { this.accountNo = accountNo; this.trx_amount = trx_amount; } public String getAccountNo() { ...
0613c20465a69326253d16430c8b1f4088db592a
[ "Markdown", "Java" ]
4
Java
cptdanko/JavaGenericSageAPI
726bed4ca41d454d457bd735f70f9afe567853b3
df8556884985b6aa7c11899402da7d95b579d446
refs/heads/master
<file_sep>CREATE TABLE pokemonTrait ( "traitId" INTEGER, "pokemonId" INTEGER, FOREIGN KEY ("traitId") REFERENCES trait(id), FOREIGN KEY ("pokemonId") REFERENCES pokemon(id) );<file_sep>const {Pool} = require('pg'); const databaseConfig = require('./secrets/databaseConfig.js'); const pool = new Pool(d...
02c2b681b4ef598a795deb7dbb66a91c0ba7834c
[ "JavaScript", "SQL", "Markdown", "Shell" ]
22
SQL
parichay28/Pokemon-MarketPlace
95c63aa8714f0cc13f7b71387062fbea25fc8f07
61b9614a325f3414a019090f4d7dbc2a2c33e1d4
refs/heads/main
<repo_name>sambunthet/rice-home<file_sep>/components/Feature.js import React from 'react'; import { Container, Row, Col } from "reactstrap"; import Image from "next/image"; const FeatureBox = (props) => { return ( <> {props.features.map((feature, key) => feature.id % 2 !== 0 ? ( <Row ...
164790e296f69fb613af044b4c963808e02e06cb
[ "JavaScript" ]
2
JavaScript
sambunthet/rice-home
62b27eebabda979527cc3ee6f3d97dafe1b0eb26
4ff737ff7ea68e38a60f3affd2a69aa41b9c6733
refs/heads/master
<repo_name>enicho/go-socket<file_sep>/cmd/playground-term/render.go package main import ( termbox "github.com/nsf/termbox-go" ) func main() { err := termbox.Init() if err != nil { panic(err) } defer termbox.Close() } <file_sep>/socket/manager.go package socket import ( "log" "net/http" "github.com/gorill...
8e6c307294aa3194d7a978a1dc5fdacec92494d5
[ "Markdown", "Go" ]
7
Go
enicho/go-socket
abc2ebe458c30173227b64a6f6175e045cea3fbd
96b1f5cbb3317347b9e62b4ae300c0dc28288ac9
refs/heads/master
<file_sep>#Micro Reddit - an Odin Project Check user.rb, post.rb, comment.rb in app/model folders <file_sep>class Comment < ActiveRecord::Base belongs_to :user belongs_to :post validates :comment_title, presence: true validates :comment_body, presence: true end
1abefab2524192ef0269659b95f1276ed4327f17
[ "Markdown", "Ruby" ]
2
Markdown
Deepak5050/reddit_two
f319749301ab9a1fec2240fd7dc1b785978891f7
a39822bb260fe0d125cc396d6e3e989477f8597d
refs/heads/master
<repo_name>LuMistro/OpenWeatherApi<file_sep>/src/main/java/model/Temperatura.java /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package model; /** * * @author <NAME> *...
9405f8e60b25758c1d33681a140641b94aa39e04
[ "Markdown", "Java" ]
3
Java
LuMistro/OpenWeatherApi
4677c2c35045486fdc15786715ba1bcaac5ddba5
8cd60e6d6f9e2c8ea01d3c0f332a96cc2d892a42
refs/heads/master
<file_sep><script type="text/javascript"> window.onload = function(){ //Check File API support if(window.File && window.FileList && window.FileReader) { var filesInput = document.getElementById("files"); filesInput.addEventListener("change", function(event){ ...
b13ef754bd738b324a78e80785492fef2855de90
[ "PHP" ]
16
PHP
goleevia/freelance
58ab1df70368c319431a1905833ea005a703d400
704f032bc693f4f7dfb7694f14edda0337f81d97
refs/heads/master
<file_sep><?php /* @var \Illuminate\Database\Eloquent\Factory $factory */ $factory->define(App\Models\Openinghours::class, function (Faker\Generator $faker) { $start = new Carbon\Carbon('2017-01-01'); $end = $start->copy()->modify('31 December'); return [ 'active' => 1, 'start_date' => $sta...
dfefd15caf8a3275251bbe6daa4062489888761c
[ "PHP" ]
6
PHP
ZedanDredal/laravel_site_opening-hours
7a2730cb7006eb3f46ef8535addbb601d9388533
c9e78952e58cb8fb17fb17ed0e893e8d740bde1c
refs/heads/master
<repo_name>inamura-nakamura-lab/timecard-api-rust<file_sep>/src/domain/repository/user_repository.rs use crate::domain::model::user::User; use crate::infrastructure::persistence::model::user::NewUser; use futures::Future; use std::error::Error; pub trait UserRepository { fn insert_user(&self, new_user: &NewUser) -...
15b4f251e7a78374d48b5c221c83bd6367944457
[ "Markdown", "Rust", "TOML" ]
8
Rust
inamura-nakamura-lab/timecard-api-rust
8d6ba1ce522d62fb99e5b940b301493a47cbaaeb
bb3c1b50cc90b5818cd22fca771e68f50b5abdf7
refs/heads/master
<repo_name>m4ndr4ck/BTC<file_sep>/src/com/dhp/service/ResgateBitcoinService.java package com.dhp.service; import java.util.List; import com.dhp.model.ResgateBitcoin; public interface ResgateBitcoinService { public void save(ResgateBitcoin resgateBitcoin); public List<ResgateBitcoin> findResgates(Long clienteId);...
acac52fecc1413074ec2395ccb89b2b5c3655b33
[ "JavaScript", "Markdown", "Maven POM", "INI", "Java" ]
37
Java
m4ndr4ck/BTC
97695df35d73ff09c7de29f23d2b81bccf9ce4ab
7275570d5e451df4dda43f70c9d1137d8b72fb18
refs/heads/master
<repo_name>martinpelli/Api-Log-y-Opt<file_sep>/src/main/java/edu/unsj/fcefn/lcc/optimizacion/api/model/repositories/FramesRepository.java package edu.unsj.fcefn.lcc.optimizacion.api.model.repositories; import edu.unsj.fcefn.lcc.optimizacion.api.model.entities.FramesEntity; import org.springframework.data.repository.Cr...
18a914de6713b27e124da29432ec645c5df05060
[ "Java" ]
3
Java
martinpelli/Api-Log-y-Opt
ebb948053060aa90a51ef5bb0040858dd2813352
c20daac9f74ab7bba891a6f607d3861e895dec68
refs/heads/master
<repo_name>rcristi/spotify-dedup<file_sep>/update-gh-pages.js var ghpages = require('gh-pages'); ghpages.publish('dist', function(err) { console.log('done', err); });
489105845d15a05d50f1b17ffac08043e500332d
[ "JavaScript" ]
1
JavaScript
rcristi/spotify-dedup
0897e493200156054ac2ea9d6212bf9f70d60d5b
bf13d8c636cbb67267d89fe609f484129facfbc3
refs/heads/master
<file_sep>package com.licenser.testtaskforroi.entity; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; import javax.persistence.UniqueConstraint; @Entity @Table(uniqueConstraints={@UniqueConstraint(name = "UC_CATEGORY", columnNames={"type"})}, name = "CATEGORY") publi...
31c6f50881c81b87ff958e2461a7bdcee2628d2e
[ "Java", "INI" ]
7
Java
LicenserX/TestTaskForRoi
397f03867503670eda81cb164d8ce77c5c10e167
448783f93d588130901339531c5b897b897d4625
refs/heads/master
<file_sep>import Hls from '../../src/hls'; const assert = require('assert'); describe('Hls', function () { it('should return a bandwidth estimate if the estimator exists', function () { const MOCKED_ESTIMATE = 2000; const hls = new Hls(); hls.abrController = { _bwEstimator: { getEstimate: ...
4d9f27970fd30f5c87191d84fac6a45cfa2e4702
[ "JavaScript" ]
2
JavaScript
Beraliv/hls.js
72d11ecd0c1bd547f69d924b93f9d9ad7451242c
c044ccd93d9fdad5cc786245c8dd0400bacda643
refs/heads/master
<repo_name>arrebagrove/Money<file_sep>/src/Money.UI/Services/Models/Builders/OutcomeBuilder.cs using Microsoft.EntityFrameworkCore; using Money.Data; using Money.Events; using Money.Services.Models.Queries; using Neptuo; using Neptuo.Activators; using Neptuo.Events.Handlers; using Neptuo.Models.Keys; using Neptuo.Quer...
3342673009f5137bf2c5c59fc4f29eb485aa72be
[ "C#" ]
35
C#
arrebagrove/Money
f0e9096bc359a70283c8b4e62d7d1ff1223644c0
5f30a0ebf0e439d613e551e24b6cbf03a80ab771
refs/heads/master
<repo_name>ivamotelolamounier/ContatosJson<file_sep>/app/src/main/java/com/ivamotelo/contatosCard/ClickItensContactsListener.kt package com.ivamotelo.contatosCard interface ClickItensContactsListener { fun clickItenContact(contact: Contacts){ } }<file_sep>/app/src/main/java/com/ivamotelo/contatosCard/Contacts...
8f263dac86c5e6d12c41e96d331a66b504871599
[ "Kotlin", "Gradle" ]
6
Kotlin
ivamotelolamounier/ContatosJson
e7a10aae5b5db85fa77d36441351aaf9bda695b0
7e8c005598befaa3f15dfc4d4e09a511179b966d
refs/heads/master
<repo_name>qinzhengmei/object-detection<file_sep>/README.md # object-detection Few Shot Object Detection using TensorFlow and Python <file_sep>/my_Object_detection_webcam_2.py import cv2 import numpy as np import os import six.moves.urllib as urllib import sys import tarfile import tensorflow as tf import zipfile impor...
df41d9e1aa0223a110a3da758eb56364639b6e3d
[ "Markdown", "Python" ]
3
Markdown
qinzhengmei/object-detection
e96734dbfdf2b8fb3f4c438ed2a6ed05a4070b55
13f818666549b76f7cc592d40cc3702aaed0b6bd
refs/heads/master
<repo_name>sheen4n/react-monster<file_sep>/src/App.js import React, { Component } from 'react' import './App.css'; import CardList from './components/card-list/card-list.component'; import SearchBox from './components/search-box/search-box.component'; export class App extends Component { state = { monsters: [], ...
0b221ec373b0f4f7dd27b4c6ce75705dc2780156
[ "JavaScript" ]
1
JavaScript
sheen4n/react-monster
afea3e79271c5f876f3f99b9b4f7a829af1bc18e
51650b4e5c68fdaad7c81ff694a3a4bdfda13c42
refs/heads/master
<repo_name>bimiabi/papertowns<file_sep>/app/models/airdb.rb class Airdb < ActiveRecord::Base def self.search(query) where("product_name || description || product_model || serial_number || price || stock || id like ?", "%#{query}%") end end <file_sep>/config/routes.rb Rails.application.routes.draw do #Th...
2463c1f615032e13527d1060b4b802c68aaded5e
[ "RDoc", "Ruby" ]
9
Ruby
bimiabi/papertowns
21b7b96a8679abfb0d8423a9df04e7453cefa048
70ab1e98dc95a881d236da421f4936b82cc49d98
refs/heads/master
<repo_name>roshaans/covid-house-management-tool<file_sep>/src/app/admin-registeration/admin-registeration-routing.module.ts import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; import { AdminRegisterationPage } from './admin-registeration.page'; const routes: Routes = [ ...
e7944c7ae53102a7001001d77853548a0bdfa40d
[ "TypeScript" ]
5
TypeScript
roshaans/covid-house-management-tool
7d7cc799d7b1a73e028297b23dadd935689af775
3d8fe682f6a94316e29b33f900f28fbf3829f153
refs/heads/master
<file_sep>#include "linker.h" #include <iostream> #include <iomanip> void Linker::addObjectFile(ifstream& inputFile) { try { unsigned tableSize; inputFile.read(reinterpret_cast<char*>(&tableSize), sizeof(tableSize)); for (unsigned i = 0; i < tableSize; i++) { TableEntry entry; inputFile.read(reinterpret_c...
b7d491b78688c7cd6f0f74dc503a6fc9af156378
[ "C++" ]
9
C++
codeIgy/linker
e4eb1518ab8afb2f90b36c8657ad232e6f45a06a
005fce467f4e9dde481f68cd0c8c5805238329e6
refs/heads/master
<repo_name>rhythmof/DjangoStudy<file_sep>/blog/admin.py from django.contrib import admin from .models import Post from .models import Comment # admin에서 모든 model을 넣을 필요는 없음. admin에서 관리하고싶은 것만 등록 # CRUD 중에 고를 수 있음 # admin.site.register(Post) # admin.site.register(Comment) #기본 ModelAdmin 으로 동작 @admin.register(Post) clas...
4acc85813d5edcc4b2aec4c182b35e90b599d927
[ "Markdown", "Python", "Text" ]
8
Python
rhythmof/DjangoStudy
ea8ecf835ceb485f41cdebc358c123034012e0f5
fc42748a0dba75e9c12618d1c9462cb75a75e05c
refs/heads/master
<repo_name>NiclasvanEyk/udpfilesockets<file_sep>/udp_server-BEISPIELPROGRAMM.c /* Beispiel UDP Echo-Server * Gekürzt aus Stevens: Unix Network Programming * getestet unter Ubuntu 10.04 32Bit */ #include <stdio.h> #include <string.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #i...
243ba21da8dc8bef29f72c01a7a5b54e5b0464e4
[ "C", "C++" ]
6
C
NiclasvanEyk/udpfilesockets
1b153837ec12b06ddc160a70e7551af73ee73a60
ee9b01a860d65e2b5111b837fe9dbc88bdedf0da
refs/heads/master
<repo_name>mlee212/cs180-testparser<file_sep>/testpull.js // all data var data = [] // each line var obj = [] let match const lineReader = require('readline').createInterface({ input: require('fs').createReadStream('testpull.txt') }); lineReader.on('line', function (line) { var splitter = new RegExp(/[^,]+/,...
364f6e274f34e6e59de673e23abd089a0feaffe5
[ "JavaScript" ]
1
JavaScript
mlee212/cs180-testparser
51f6f9ad678fdc16f1d2f2b8094a3a9128abb3b3
2d0761cb7bfa1ffaf9e441ef9887893acddda044
refs/heads/master
<file_sep>import Link from "next/link"; import styled from "styled-components"; import Signin from "../components/Signin"; import { BREAKPOINTS } from "../components/styles/Layout"; import { toRem } from "../components/utils/unitConversion"; const BackgroundWrapper = styled.div` position: relative; width: 100vw; ...
3cfd851ea92ec7e4df4a5e675bf6af950660eb74
[ "JavaScript", "Markdown" ]
28
JavaScript
KasparIsSo/fence
a6d725df2280e0274f860dee7733f9930bb0fe87
ee3a269a72530bb047ea8f5462b6c21369c772a9