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># tap tap "homebrew/core" tap "homebrew/bundle" tap "homebrew/services" tap "homebrew/cask" tap "homebrew/cask-versions" tap "homebrew/cask-fonts" cask_args appdir: "/Applications" tap "brewsci/science" tap "caskroom/cask" tap "delphinus/sfmono-square" tap "heroku/brew" tap "iyuuya/jimakun" tap "mscharley/h...
7bfe4e78c268a690dbc65f292263a58d1411769e
[ "Ruby" ]
1
Ruby
iyuuya/brew-config
f146c0cb79621581b0319cb5741ae25739b03fb9
65d647c1c6c32d1d61b1d80ce67f8a266354c5ac
refs/heads/main
<repo_name>mjgaylord94/Chirper<file_sep>/src/components/Header.jsx import React from 'react'; const Header = () => { return ( <div id="header-container" className="row"> <div className="col-md-4"></div> <h1 id="header-title" className="col-md-4"> Chirper ...
4d92e2a44560fbed0aa48bd7703e5a780ca8af9b
[ "JavaScript" ]
2
JavaScript
mjgaylord94/Chirper
6223278afae04fbe942afeb2900906a69607c40f
6196c3d872f5ee3b909eee002604445d92ffec4e
refs/heads/master
<repo_name>nchaudry/Practice<file_sep>/README.md # Practice Practice to use github, store python and javascript practice files Eyyy, I'm a fat nerd. I am trying to better myself. <file_sep>/complete-javascript-course-master/3-how-JS-works/starter/script.js /////////////////////////////////////// // Lecture: Hoisting ...
5cd79b42d43e343f8c132e20a8ad4afe0d9ac82b
[ "Markdown", "JavaScript" ]
2
Markdown
nchaudry/Practice
c260b650cbd7eb3247574a0e4f52405a094e4648
a4db5e6821f32da75dd770c40d9dc7d424e3dd8f
refs/heads/master
<file_sep>package com.donkor.deepnight.ui.fragment import android.graphics.Color import android.support.v4.widget.SwipeRefreshLayout import android.support.v7.widget.LinearLayoutManager import android.support.v7.widget.RecyclerView import com.donkor.deepnight.R import com.donkor.deepnight.adapter.CommonAdapter import ...
d0a1d506f8fd2d52d58c822d545371384a6caf72
[ "Markdown", "Java", "Kotlin" ]
14
Kotlin
ChenYXin/DeepNight-in-kotlin
9751dec05a08292ed87f523b8796352e5ccf91b0
d7f2f5382433055571d4637875c2865dc412672e
refs/heads/master
<file_sep>var Async = require('../lib/async.js'); //Testing series calls var series = function () { var async = new Async(); async.next(function (next) { var count = 0; console.log('doing step 1'); count++; next({value: "new value"}, count); }); async.next(function (n...
a19e9dd04fb670c1a5b559448927b37380ee9f54
[ "JavaScript", "Markdown" ]
3
JavaScript
kbscript/async-next
fe81361741dcf3897f5718808c85c0b3ca53139f
cf8716e0e9897d284897397f40c558ae247ce54a
refs/heads/master
<repo_name>rootfs-analytics/gfarm-fs<file_sep>/gfarm2fs/tags/gfarm2fs_1_2_8/contrib/mount.gfarm2fs/umount.hpci #!/bin/sh ABORT() { [ $# -gt 0 ] && echo 1>&2 $* exit 1 } u=`gfwhoami` [ X"$u" = X ] && ABORT 'Who?' groups=`gfgroup -l | grep $u | awk -F: '{print $1}'` for g in $groups do umount.gfarm2fs /gfarm/$g/$u ...
907d80d226b6f0ecaf1d99e32c4d45da2c83fe37
[ "HTML", "Makefile", "Java", "Python", "PHP", "Ant Build System", "C++", "C", "M4Sugar", "Shell" ]
491
Shell
rootfs-analytics/gfarm-fs
3a21bbff37595455259d2931764c4cb338022eac
57f19518a80ae9d8df97b5d7acb4ebd14946fce5
refs/heads/master
<file_sep><?php include_once '../lib/lib_mysql.php'; ?> <?php connexion(); $page = $_SERVER["PHP_SELF"]; if (isset($_GET['emp_info'])) { $emp_info = $_GET['emp_info']; $show_employee = show_employee($emp_info); } ?> <link href="../style/default.css" rel="stylesheet" type="text/css" /> <table width="100%" height="5...
27c0024c99d7ecd75059100a4963bad8ca845534
[ "JavaScript", "SQL", "PHP" ]
19
PHP
FERTAHISAAD/Test
5993db80ea85a4d088e79ae207778a2bb0b8533c
20bfc50eba9b3ae5d5398c260dcfe7a9949b9d14
refs/heads/main
<file_sep>Fast Campus Data Science School 17th <b> Regression project </b> # Regression for factors affecting Life Expectancy🧬 <img src="https://img.shields.io/badge/Python-3766AB?style=flat-square&logo=Python&logoColor=white"/></a> <img src="https://img.shields.io/apm/l/vim-mode"/> ## :pencil: 개요 ### 1️⃣ 주제 선정 ...
d62e0bb18cc322aa88c68a7222cbce11ce1ddaa2
[ "Markdown", "Python", "Text" ]
6
Markdown
HyunjinKIM-Chloe/Regression_LifeExpectancy
d11169f729c4525d905cf2c158f20938dfb449a0
0be9aa7e155e65e8c720b50562b9a5783f511cf9
refs/heads/master
<file_sep>package Ister6; public abstract class ImageProcessing { public abstract void doImageProcessing(); } <file_sep>package Ister6; public class ImageProcessingAdapter extends ImageProcessing{ private final ImageProcessingAlgorithm2 imageProcessingAlgorithm2 = new ImageProcessingAlgorithm2(); @Overrid...
6e24602883fd944616640cebaab7b96daf9d2b4a
[ "Java" ]
14
Java
Lumpus99/Bil401ProjectDemo
a8bb25202786457c9809f403f5a79db7ce9aa83e
7c316b9d562b886ed2b14da175fb3ccf0c4f276e
refs/heads/master
<file_sep>import pytest import requests import json from myapi import config import myapi.api.modules.product as product @pytest.mark.usefixtures('client', 'auth_header', 'example_product_json') class TestProductAPI: def test_get_non_existing_product(self, client): example_id = 0 r = client.get...
17ef422d3c446b5f5a71bc1607566840a54dd01e
[ "SQL", "YAML", "Markdown", "Makefile", "INI", "Python", "Text", "Dockerfile", "Shell" ]
23
Python
scott-mcnulty/flask-api-template
00f017b15dd7a37b157b9828911ee5ddb4bac24b
be458dc0214933c5b44ca30f8c5fbdf365b4b1f0
refs/heads/master
<file_sep>using System; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; using Windows.UI; namespace TR.BIDSDispWeb { public partial class TopPage : Page { static public event EventHandler LightChanged; public TopPage() { InitializeComponent(); } Grid s...
b01cbe200430f984a41890b16106edaf10000a89
[ "Markdown", "C#" ]
5
C#
Tralsys/BIDSDispWeb
5a8b8665b3de74e061f4291a5c62e19777278e1f
61b5a8a792dd109c9cd3a2e6f9072572629f25fb
refs/heads/master
<repo_name>dsc-sits/DSC-APP-API<file_sep>/apis/serializers.py from rest_framework import serializers from .models import Apis #Serializing all the Fields in the Models class ApisSerializer(serializers.ModelSerializer): class Meta: model = Apis fields = '__all__'<file_sep>/README.md # DSC-APP-API R...
ba2ad3ea32b8e269d0107ae6b740548c004882d6
[ "Markdown", "Python" ]
5
Python
dsc-sits/DSC-APP-API
b222c79860daf5737a91d9835370b795f2a2cd77
0231420f542f8b7fd956d207c6d1b2cd43777355
refs/heads/master
<repo_name>staketechnologies/ethereum-lockdrop<file_sep>/src/data/affiliationProgram.ts // the default introducer address when none is provided by the user export const defaultAddress = '0x0000000000000000000000000000000000000000'; export const affiliationRate = 0.01; const firstEthIntroducer = [ '0xd8de1f6764e44...
498843aab53a672e4a6770d778cd3c6327e64c98
[ "TypeScript" ]
16
TypeScript
staketechnologies/ethereum-lockdrop
2d1c159525ec1906972e66e693a279d8c9f7758d
22696dd54f9475a04d4b7fbabba56dc649c0f2aa
refs/heads/master
<file_sep>import { SharedPO } from '../../page-objects/Shared/shared.po'; import { browser, ExpectedConditions } from 'protractor'; const sharedPO = new SharedPO(); export class SharedLogic { public async checkSharedToastMassageAppearence(): Promise<void> { await browser.wait(ExpectedConditions.presenceOf(shar...
2008b8a0aa71758e84b2ad7bdcf0efa54df23708
[ "JavaScript", "TypeScript" ]
14
TypeScript
KhadijaRasul/gitTest4
7043bd3918523e86c103a444a766cf24183144d2
3487abf6f1e0b7eeed003ff8731a17e0272d88d8
refs/heads/main
<file_sep>from pynput.mouse import Listener, Button # ----------------------------------------------------------- # Gets the cursor position when the left mouse button is clicked # # Author: <NAME> (tjm8975) # ----------------------------------------------------------- def on_click(x, y, button, pressed): """Prin...
3fbbec74ebb0c19b9b9490968fd9583d14a56266
[ "Markdown", "Python" ]
2
Python
tjm8975/TargetPractice
4d6b85f8432bf5f7c7e5e40dfcdc73beb6b51a88
d6bb4ded4f488a763ddd20b3cef51a2fd881c7c9
refs/heads/master
<repo_name>zyfdoudou/openui5<file_sep>/src/sap.ui.fl/test/sap/ui/fl/qunit/write/_internal/appVariant/AppVariantFactory.qunit.js /*global QUnit*/ sap.ui.define([ "sap/ui/thirdparty/jquery", "sap/ui/fl/descriptorRelated/api/DescriptorInlineChangeFactory", "sap/ui/fl/write/_internal/appVariant/AppVariantFactory", "sa...
4f3d2fb2c5711f7bebbbd4a42a3e20e4e8a38a8c
[ "JavaScript" ]
1
JavaScript
zyfdoudou/openui5
1ae08c937bae519b5acd4867e228733369e2ad53
b91c872ae4b5aa1c567fcd7a31579990edb48231
refs/heads/master
<file_sep>package com.example.myapplication; import android.annotation.SuppressLint; import android.os.Bundle; import androidx.appcompat.app.AppCompatActivity; @SuppressLint("Registered") public class LoginActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { ...
434d0cd10a188e8e21853cee6c61909e8edfabf5
[ "Java" ]
1
Java
Giselle-G/GE
39f7ac89c95ec28e5ce540972b37d40ac58657a7
b7543b0df5d0c6e1be2bc8be781e663748152552
refs/heads/master
<repo_name>tdrhq/bark<file_sep>/source_control.py #!/usr/bin/env python from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import getopt import logging import subprocess import os import sys class BadRev(BaseException)...
a05398ca7f1b8c90cd9678adb8b0dcd800c5a16e
[ "Markdown", "Python" ]
8
Python
tdrhq/bark
cb18b337a16270e5be815627366d51efd3392fae
9fdd9f84f4c7e592b93e35953aa25481a5453778
refs/heads/master
<file_sep>//<NAME> //1er <NAME> //Este programa obtiene el mejor tiempo y ruta para transferir un archivo de un origen a un destino en una red de computadora; //tomando como base el concepto de latencia. public class Enlace { private int noOrigen; private int noDestino; private int tasaTransfer; ...
010fe8519a28a87cdf80534ef8c769d4ccd23e27
[ "Markdown", "Java" ]
4
Java
alondraSanchezM/latency_calculation
3cd90eb409785505ad246ac8404881b00cb2c6a6
c943ea97a0c42a14d15c0317c9fe1318e17dd1dc
refs/heads/main
<file_sep>import React, { useEffect } from "react"; import axios from "axios"; import { useSelector, useDispatch } from "react-redux"; import ProductComponent from "./ProductComponent"; import {setProducts, setProviders} from '../redux/actions/commonActions'; const ProductListing = () => { const products = useSelect...
81ad50bf4e1ac78c6ed32feb11ba74d8debea365
[ "JavaScript" ]
2
JavaScript
pawan2726/react-redux
8dd9f31239bdedf0de6fd24e2f22c72ed0632f3e
3ae0e34b00e85df8eb6a520d6a90dc1718a0159e
refs/heads/master
<file_sep>/** * */ /** * @author Chapito * */ package Resources;<file_sep>package Main; import java.util.ArrayList; import java.util.HashMap; import java.util.LinkedList; import java.util.Map; import Resources.AStar; import Resources.AStar.RouteNode; import Resources.Graph; import Resources.Triple; import Resou...
39a813eb50d9f30100cfc69820589551a87914c7
[ "Java" ]
4
Java
HRiivera/AIProject
f4f03216687d2be56b482e3b3dafc31e80d7fc81
f786086d54e11901e554ad57992979bc4d0ddb40
refs/heads/master
<repo_name>mlpatt23/atw<file_sep>/functions.php <?php // Register stylesheets function atw_styles() { // Add stylesheets wp_register_style('googlefonts', 'https://fonts.googleapis.com/css?family=PT+Sans:400,700', array(), '1.0.0'); wp_register_style('normalize', get_template_directory_uri() . '/css/normali...
4c6163c4f730b6320f710a195dae644e0fc03227
[ "PHP" ]
2
PHP
mlpatt23/atw
2f7ecf43cdfcf62bb77a56e0a6b857328e6e8cc6
173fd511e3a1e3487764e4cdf885c981a56c5b0b
refs/heads/master
<file_sep>/* * Copyright (C) 2016 The Android Open Source Project * * 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 requi...
b9c5de2f7082505c2848d1bb87f28f9df40b1e6b
[ "Markdown", "Java" ]
2
Java
vidadex/UwemLiveScore_V1_1
398a4b5b959afab65df2265f342d9e3c4c202b35
a13893fc1d7fecb3de7e28b92f1c22920e3661a6
refs/heads/master
<file_sep>Code for my web site. <file_sep>#!/bin/bash set -x mkdir -p public/css node_modules/stylus/bin/stylus \ --compress \ --out public/css \ --include node_modules/nib/lib \ assets/css
6b673fa724f4a34cf67447bd3ad39065185aeaba
[ "Markdown", "Shell" ]
2
Markdown
lmjohns3/leifjohnson.net
3973fa2df259df0eaf79fddeed81f280f75dbd8c
f39ba42d4b165888e2d7c160427eb90aa96052bc
refs/heads/master
<repo_name>MakotoNinja/circle-point<file_sep>/script.py #!/usr/bin/env python ''' ' Moisture sensing and watering routine for Farmbot ''' import os, sys, json, Qualify from random import randint from farmware_tools import device, app, get_config_value from Coordinate import Coordinate def take_readings(): plants_c...
0be434eafcbf3d22039e7aed772013057d1e6959
[ "Python" ]
1
Python
MakotoNinja/circle-point
3e1f8c5d6f3a2960863d4a7f120d2419949724a4
2094e5c855c1e9d3220c0acde946056b71ea8a31
refs/heads/master
<file_sep>const fi = (function() { return { libraryMethod: function() { return 'Start by reading https://medium.com/javascript-scene/master-the-javascript-interview-what-is-functional-programming-7f218c68b3a0' }, each: function(collection, callback) { const newArray = Object.values(collecti...
6be952ad3c1b61dee5904db789b81f72788f9651
[ "JavaScript" ]
1
JavaScript
Andrew-J-Williams/js-advanced-functions-functional-library-project-online-web-sp-000
60484379ea3945449694045153f27de8a3bb4e96
44c8a22adbdf9f44879826404ad39d7609ce248d
refs/heads/master
<repo_name>bc-jasond/twitter-markov-chain<file_sep>/markov-twitter-bot.js /** * this library's methods are all coupled together, I pulled it into the project and slightly modified it for this exercise but, wouldn't use it otherwise * */ const Twitter = require('twitter') const MarkovGen = require('markov-generator')...
e873e4d954ae4e565381d1759e26b20d85410e51
[ "JavaScript", "Markdown" ]
5
JavaScript
bc-jasond/twitter-markov-chain
a56daff8d3f7b65c98a7e3a4815f5ba3c1d20984
264fe46c1ac0da05107d7f12f19f0cd8eeb28ebd
refs/heads/master
<file_sep>About WorkWithDataURLs = It's a demo project in order to see how to convert an _Image_ to _Data URL_, and vice versa. Furthermore I tried to reduce the overhead (~30%) of _base64 encoding_, so I implemented GZIP compress/decompress functions too. Unfortunately it hasn't brought the expected results yet. Altho...
96fa3ba6acd2e99ec743c813d98c158a39ce08c7
[ "Markdown", "C#" ]
2
Markdown
rolandrajko/WorkWithDataURLs
a341e40236587df872f8d686febe30a601584217
23eee6220e1d4760c11e92448059e32a6d962b3f
refs/heads/master
<repo_name>deaackben/MoneyExchanger<file_sep>/src/test/java/com/example/demo/Log4jTest.java package com.example.demo; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; public class Log4jTest { public static Logger logger = LogManager.getLogger(Log4jTest.class); } <file_sep>/src/t...
e0f2c8b9e7f06fd42c798cbf22a12f22f507c8fd
[ "Java" ]
3
Java
deaackben/MoneyExchanger
1817f11ad2e85923748695b39e500c30b2759be0
be541518d2c9f48b432b7babb22ea469dc91ea9e
refs/heads/master
<repo_name>IamBc/PerlJournal<file_sep>/install.sh echo 'Creating directory...'; eval 'sudo mkdir /opt/prnl/'; echo 'Creating log...'; eval 'sudo touch /opt/prnl/log.txt'; echo 'Installing modules...'; eval 'sudo cp PerlJournal.pm /opt/prnl/PerlJournal.pm'; echo 'Installing scripts...'; eval 'sudo cp perl-journal.pl /op...
b16b2e04eeaf31f52d1852fb2e4645779b9bb335
[ "Markdown", "Shell" ]
2
Shell
IamBc/PerlJournal
759b6de7670aeddfcfe92f6b346acd745824dde4
31e50fbc4777b7af285ba951ad1f7b8e4da905b2
refs/heads/master
<file_sep>#include <time.h> #include <systemc.h> #include "router.h" #include "pe.h" int clk_cycle = 1; SC_MODULE(top) { public: enum {N = 3}; //horizontally enum {M = 3}; //vertically router *routers[N][M]; //REVISED BY LLK PE_base *pes[N][M]; //REVISED BY LLK sc_signal<packet> router_to...
e44bb271f807bb6bf6ed8f39f5ec1ad8318f5573
[ "C++" ]
3
C++
kobejamesgt/Noc-Architecture
c90db6852104eac63c2763303fb02ed5e3b47ae7
4b6b0f55d90fde16188e1226b8272197c0e7321d
refs/heads/master
<file_sep> # Jasper Node Client A module providing a simple Jasper Server Client ___ # Install ```bash npm install jasper-node-client --save ``` # Configuration An object with the following structure is require (you can put it in your application config file): ```javascript jasperRestService:...
96932129bfa914366241c98d2c87ceeab2836bf3
[ "Markdown", "JavaScript" ]
4
Markdown
puricamaykol/jasper-node-client
6b8b0be6dfb50bc1a9326be2f318e9bfd0923f2d
1b8accc02e0eb45f803355f34c468eeb760d1dbf
refs/heads/master
<repo_name>kennytm/parse-size<file_sep>/src/lib.rs //! `parse-size` is an accurate, customizable, allocation-free library for //! parsing byte size into integer. //! //! ```rust //! use parse_size::parse_size; //! //! assert_eq!(parse_size("0.2 MiB"), Ok(209715)); //! assert_eq!(parse_size("14.2e+8"), Ok(14_2000_0000))...
8f4a2c39578e96f8decf3fc379f3c51fc0fce031
[ "TOML", "Rust", "Markdown" ]
3
Rust
kennytm/parse-size
69866cc5800b678ee48aa57ed113a0220ec39fb5
66efd600e313d9b3e95adbc8ef9ad493c1f524f7
refs/heads/master
<file_sep>#!/bin/sh dirs="bin etc usr lib" for d in $dirs; do if ! [ -d /initrd/$d ]; then continue fi mkdir -p $d for x in /initrd/$d/*; do if [ -f $x ]; then ln -s $x $d/ elif [ -d $x ]; then dname=$(basename $x) mkdir -p /$d/$dname for y in /...
9e0c8c8d8bafa73d133e41f201badc756c92978a
[ "CMake", "Ruby", "Markdown", "Makefile", "Dockerfile", "Python", "C", "C++", "Shell" ]
684
Shell
vvaltchev/tilck
e9c27da4dd15f5f8a927b11f31484aec3f1429f0
ccf8d9933be1269b85388e5b21645b831ecf5412
refs/heads/master
<repo_name>ozyhale/mvc-project<file_sep>/mvc/Libs/Session.php <?php /* * To change this template, choose Tools | Templates * and open the template in the editor. */ /** * Description of Session * * @author Manipis */ class Session { public static function start(){ session_start(...
771d9f19f5eb414a699d99158564669dc12f0288
[ "PHP" ]
6
PHP
ozyhale/mvc-project
8fbc6bb263aa01238468ca349dba25f58014a9a4
a951538abbcfc76c6f35e610f88a849d0d0592c5
refs/heads/master
<file_sep>import XCTest import SimExec import SimExecAgent //private let udid = "F16240A8-B724-4724-AB34-3D54F9EE1B90" private let udid = "0C737A0A-2CFB-45FC-9A41-70155C98460D" final class SimExecAgentTests: XCTestCase { var agent: SimExecAgentTool? override func setUp() { let agent = try! SimExe...
65f4e49e0aef81f1142533da0cea654090de276b
[ "Swift", "Markdown" ]
39
Swift
omochi/SimExec
6a61ee876748cb0e76a4b28dbcac899cde8f4612
98f1070c015071c29707c75e43710a5702b7ccc3
refs/heads/master
<file_sep>#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue May 5 11:50:19 2020 @author: nsai """ import xlrd import re import nltk from nltk.corpus import stopwords from sklearn.feature_extraction.text import TfidfVectorizer from unicodedata import normalize from sklearn.neighbors import NearestNeigh...
23bd0882d254c583d85e3777a83ad6793b884ad2
[ "Markdown", "Python" ]
4
Python
nsai11/NLP-WebScrap
1ee5ded8e7515b40f19acd3b4f810b14fd9b524c
1e53f2081c73cc4935638b560e4d38181fef50f2
refs/heads/master
<repo_name>hitfortime/Demo1<file_sep>/DemoApp/DemoApp/Auth.cs using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace DemoApp { public...
0f58701ffff9ad618775aa4d3587905fff5eb247
[ "C#" ]
1
C#
hitfortime/Demo1
1ce08b2ec2c07ef14dace0118bbdc867721e3ee1
23a8d809ff98a7d4c0de80165c854cae734f886d
refs/heads/master
<file_sep>package provider.serviceimpl; import com.service.DemoService; public class DemoServiceImpl implements DemoService { public String demoService(String word) { return "hello buddbo provider"+word; } }
a664475c41807cf6cf4193901e3c9f9d04f04053
[ "Java" ]
1
Java
TQLfuture/dubbo-spring-demo
d247edb06f781ad38ae61ee88e894cc1f79d6472
d073d215697928d9fcfa11bdeaff5e75cedb8a4c
refs/heads/master
<repo_name>Anthony-Martino/tech-elevator-capstones<file_sep>/m1-19_Capstone/src/main/java/com/techelevator/File/FileReader.java package com.techelevator.File; import java.io.File; import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class FileReader { private File inputFile = new File...
8ffa4b321132f4023f1f3af640542155057f1a84
[ "Java" ]
15
Java
Anthony-Martino/tech-elevator-capstones
a4d108373bc82be3ebcb00e93a2c2c140c1691e6
bf311f1a98fcd613bc07c281cbe19110a2216f5f
refs/heads/master
<file_sep>//刷新验证码 function changeImg() { var imgSrc = $("#imgObj"); var src = imgSrc.attr("src"); imgSrc.attr("src", chgUrl(src)); } //时间戳 //为了使每次生成图片不一致,即不让浏览器读缓存,所以需要加上时间戳 function chgUrl(url) { var timestamp = (new Date()).valueOf(); if ((url....
dce276bda7571094379a44f7bb7c2e796650b585
[ "JavaScript", "Markdown" ]
2
JavaScript
wgslucky/GameTechnologyManager
075cd1e92844d11a1f404a8b81d803bca12223d5
ea1907f290c1f38f5fc8cfcd7549104fb5f9f529
refs/heads/master
<file_sep>//Volume of cuboid = l*b*h. Create two objects of a class including two values of l,b,h. Display volume of both individually and also add both l,b,h. Further find volume of cuboid using values of resultant l,b,h. #include<iostream> class volume { private: int l,b,h; public: void get() { std::...
d4a24c38cf6e3dc416b643ee7b69c9da7d102a22
[ "C++" ]
41
C++
iam844/Cpp
4181982bbfe9ebae6ac34a3a748c2accf4fb2c95
cc54e31ef676cc9bf56c82b1a1d2389ca2c7f04d
refs/heads/master
<file_sep># Generated by Django 3.0.4 on 2020-03-18 16:46 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('todo', '0003_remove_todoitem_created_at'), ] operations = [ migrations.AddField( model_name='todoitem', na...
b1ab5e61113dfcfd3b55d07aa462e4de31e7de38
[ "Python" ]
3
Python
brunogcpinheiro/django-todo-app
d85527e70810ddbe99ae2382fb3ea4391a115c73
5a43ce056aa5a3ebcbbcd844d16a2e7aef65ad01
refs/heads/master
<repo_name>kresnaba/konversi_panjang<file_sep>/README.md # konversi_panjang tugas 1 <file_sep>/class.php <?php class konversi { public $masuk; public $op; function utama () { if ($this->op=="inc") $hasil=$this->inc($this->angka); elseif ($this->op=="cm") $hasil=$this->cm($this->angk...
d94fff5162a0da438614acaafb98b415d9e54fee
[ "Markdown", "PHP" ]
4
Markdown
kresnaba/konversi_panjang
1e82722ede7e66b9305b1b106737938f2274fce6
3312896c1a6bee15e8b05ca37140f42cdc37e60e
refs/heads/master
<file_sep># MobCategories Brief Overview: The application can consist of two pages: - List page: - The list page should contain a list with products categorized per category. - Each item in the list should display full name and thumbnail of the image (if present). - Clicking an item will cause the applicat...
d111d11b3fde95803532df04be10b372b89b81b3
[ "Markdown", "Kotlin" ]
25
Markdown
Afolayan/MobCategories
de0474bc2fe2969bafc2f6843779355f53c332f7
6139ee40ed61b9a35feb73992daeda1dc198ccee
refs/heads/master
<repo_name>guyi02/Server-graphql<file_sep>/src/Resolvers/Query.js import jwt from "jsonwebtoken"; export default { getUsers: async (root, {}, { userToken, User }) => { const [bearer, token] = userToken.split(" "); if (!token) { throw new Error("Você não possui um token"); } jwt.verify(token, "m...
504a82729bc98bb42d87d7d99e2d651190ae1936
[ "JavaScript" ]
7
JavaScript
guyi02/Server-graphql
bf491d51bdf7d7dc73d37cb568dce661f9de7581
a069514bd2521c935ec6220a561732c318d55c63
refs/heads/master
<file_sep>function produceDrivingRange(blockRange) { return function(start, end) { const startingBlock = parseInt(start); const endingBlock = parseInt(end); let distance = Math.abs(endingBlock - startingBlock); let numberOfBlocks = blockRange - distance; if (numberOfBlocks < 0) { return `${...
e405329c698a0c744c188361dbd6008d500e215e
[ "JavaScript" ]
1
JavaScript
MargaritaKhodzka/js-advanced-scope-closures-lab-v-000
b358a0739a4b8b6d55dab4dd48b8b04eae34b799
759c1ef7807b2509679597dc0bbd7991f6c9470d
refs/heads/master
<file_sep>/** * Copyright (C) 2013-2015 * * @author <EMAIL> * @date 2013-11-19 * * @file TinyCondition.h * * @remark * */ #ifndef __TINY_CONDITION_H__ #define __TINY_CONDITION_H__ #include "tiny_base.h" #include "TinyMutex.h" TINY_BEGIN_DECLS #ifdef _WIN32 typedef HANDLE ct_cond_t; #else...
2c4e134bf7316ff1b368d28fd602a5007678ad38
[ "Makefile", "C", "CMake", "Markdown" ]
20
C
yellowmichael/libsrtp-android
a3e581e262a52abc8747a6409aabf42f81430a47
67248587d3dcc635c2466a1bb1e436f92651fca1
refs/heads/master
<repo_name>lambpati/CS4499<file_sep>/Examples/Employee.h #pragma once #include <string> #include <iostream> class Employee{ private: std::string firstname; std::string lastname; int salary; public: Employee(std::string first, std::string last, int sal): firstname(first), lastname(last), sala...
9323568f1327fbfbfb267da93d8490368c1e1a6c
[ "C++" ]
53
C++
lambpati/CS4499
6696c9ffbb035beb26b4d8740799dfbae143ce71
848ff511d0aa89948d430753c0f4d68d2e23d7fb
refs/heads/master
<file_sep>#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <stdlib.h> #include <conio.h> void swap(int *a,int *b) { int i = *a;//포인터 변수선언 *a = *b; *b = i; } void main()//메인함수 { int a = 0;//변수 초기화 int b = 0; printf("\n값 입력: "); scanf("%d %d", &a, &b); swap(&a,&b);//주소값에서 서로 swap printf("출력: %d...
5aa4d76fef6247d93b6500f73512cdc98143b25d
[ "C", "C++" ]
570
C++
leader1118/KHJ-Project
0eb0144bbd2b4d40156402a5994c8f782b558f6c
a854bc392991e24774ab0feca0bb49eb8593ef15
refs/heads/master
<repo_name>AlexisFigueroaDev/JS-Node-React<file_sep>/Fundamentos/flecha.js function sumar(a, b = 10) { return a + b; } console.log(sumar(5)); function resta(a, b) { return a - b; } console.log(resta(5, 2)); const sumar2 = (a, b) => { return a + b; }; console.log(sumar2(5, 3)); const sumar3 = (a, b) => a + b...
0632bb245036ad2062d2cc86bb8e70b1d31a7400
[ "JavaScript", "Markdown" ]
7
JavaScript
AlexisFigueroaDev/JS-Node-React
6cc3acc33f8d7e583568c74a04a86deb37a01e50
8621e992ee461410353b9715492796e5fb7728b7
refs/heads/master
<repo_name>mual3154/HW1<file_sep>/test.cpp nclude <iostream> #include <string> #include <fstream> #include <sstream> #include <math.h> #include <string> #include <vector> using namespace std; //int check(string ind); //int *dubs(int array[], int size, int number); struct wordItem//structure for the words { string ...
9a6be9091fb03ed645787dc0b98f8cdb2c014abb
[ "C++" ]
2
C++
mual3154/HW1
fb22c997706cd44dd8c852fce148c84236527ffa
792753cbd49e0944ab549ea098f51a556f15cdfd
refs/heads/master
<file_sep> Resize DSLR image magic convert BackPack.png -filter Lanczos -define filter:lobes=4 -define filter:blur=0.88451002338585141 -resize 1200x1200 Lanczos_4.png http://www.imagemagick.org/discourse-server/viewtopic.php?t=20992&p=85257#p85257 http://www.imagemagick.org/Usage/resize/#cyl_interpol...
1589cff6a25121b9700598222ee1d65ea56dd7c0
[ "Java", "Text", "Maven POM" ]
3
Text
eliaharm/photoflow
56496be92b08c0732b365169692c05065ba00e7c
98ff73adaeb4a6363c7b7f6bfdb1fed9f95310a5
refs/heads/master
<file_sep>package com.otus.hw_07.library; import com.otus.hw_07.domain.Author; import com.otus.hw_07.domain.Book; import com.otus.hw_07.domain.Genre; import com.otus.hw_07.repositories.AuthorRepository; import com.otus.hw_07.repositories.BookRepository; import com.otus.hw_07.repositories.GenreRepository; import lombok...
451d0436df194bfbbcd39d02ec4479e47bcb4a06
[ "Markdown", "Java", "Gradle" ]
6
Java
gitpushforcemain/otus-spring-hw-07-spring-mongo
f5ccfff922d31f885ac3161db06792f9f9ff54bc
be7f167b6fc7a5855d7cd93b59985638ac031df8
refs/heads/master
<repo_name>anderson-optimization/gams-parser<file_sep>/Makefile IMAGE="andersonopt/task-gams-parser" NOSETEST=$(shell which nosetests) all: echo "Test" init: pip install -r requirements.txt build: docker build -t ${IMAGE} . deploy: docker push ${IMAGE} inspect: docker run -it --rm ${IMAGE} /bin/bash test: ...
b52732e4f54c9f04d10378b05e8cb4575a7c1122
[ "Markdown", "Makefile", "Python", "PHP", "Dockerfile" ]
31
Makefile
anderson-optimization/gams-parser
3786206a34d6a6ae08d9525965ddc21df0beefe1
759344ded12d45ec10115d3517f564855f506007
refs/heads/develop
<file_sep># Sinatra APP class MyApp < Sinatra::Base use Rack::PostBodyContentTypeParser register Sinatra::Namespace set :raise_errors, false register do def auth (type) condition do halt 401 unless send("is_#{type}?") end end end helpers do def is_admin? # Verify if...
1b2aa07ea868e3627c24cd25a47c7009be03c27e
[ "Markdown", "Ruby" ]
10
Ruby
gustavosobral/sinatra_template
a20f826ea1e8a7fa1a48ef192616ae6b827dbf0d
8d7e15660e2a48936ce5f2c2b3e042c071565e9d
refs/heads/master
<file_sep>import React from 'react' import PropTypes from 'prop-types' import { hot } from 'react-hot-loader' import { connect } from 'redux-bundler-react' import { Main } from '@components/main/styled' import NYTimesLogo from '@components/nyt-logo' import PreviewArticleDrawer from '@components/preview-article-drawer'...
0ef755a06066732f68895488906c5e5bc7391648
[ "JavaScript" ]
20
JavaScript
gipsy/nyt-demo
0d5f013e0127ebdd97ea6f42af37a7d9e7d45e7f
8beecc8a3d162563e7306525b4dc66102d5f7dba
refs/heads/main
<repo_name>HyonheeYoo/eval-tool<file_sep>/public/preload.js const fs = require("fs/promises"); const path = require("path"); const util = require("util"); const exec = util.promisify(require("child_process").exec); const { contextBridge, ipcRenderer, shell } = require("electron"); const { v4: uuidv4 } = require("uuid...
7ac7a098f5297b6d43333e6b46b7629f67bf5505
[ "JavaScript", "Python", "Text", "Dockerfile" ]
14
JavaScript
HyonheeYoo/eval-tool
e247ac0d543c1ca526cec57a3b1aee2519a30d50
00d7b4a51fa496e93e03934d5b85b964051aeccc
refs/heads/master
<repo_name>antoyohan/android_downloadmanager<file_sep>/README.md # android_downloadmanager Sample android project for downloading http stream into local memory <file_sep>/downloadmanager/src/main/java/com/media/downloadmanager/interfaces/IDownloadManager.java package com.media.downloadmanager.interfaces; import com.m...
f9ae7124e711834255f800476d0d86c502d99065
[ "Markdown", "Java" ]
7
Markdown
antoyohan/android_downloadmanager
aa1f64ebe2eedce08f63fffca89bbc66f1bb34bc
9539712d714f9d19dca44d453015ada9d2b290c8
refs/heads/master
<repo_name>macntouch/CMS_recordingsviewer<file_sep>/scripts/js/videoplayer.js function initReqObject(reqObject) { reqObject = new XMLHttpRequest(); } function playVideo(vidSelection) { var xmlHttp = new XMLHttpRequest(); // initReqObject(xmlHttp); m_url = "./vidList.php"; m_params = "f=s&s=" + vidSelection; ...
c9393ccb4f59eb5adc5b45f316f849ce5ab7cc9f
[ "JavaScript", "PHP" ]
4
JavaScript
macntouch/CMS_recordingsviewer
ef8fa5a08e4284a2ebab12d5ebc5eed2bc6ff8df
ee092399d17eacf01c76a70c5ce864f5c59df248
refs/heads/master
<file_sep># fdcontrols.rb # Controls on pallets # # Programmed by <EMAIL> # Copyright 2001-2003 <NAME> require 'vr/vrmgdlayout' require 'fdvr/m17n' require 'fdvr/fdmodules' require 'fdvr/fdresources' require 'yaml' class Hash def << (h) self.update h end def + (h) r = self.clone; r.update h end end module FDCon...
5a529a4346eea03307bea9b901235efe5556414d
[ "Markdown", "Text", "Ruby" ]
18
Ruby
rynan4818/formdesigner
cfb6257948f0f4c2b29d0bb520378cb3c2da7eac
992269b084ea898569a81c7041bf626183d7e72e
refs/heads/master
<repo_name>JRikken/youbot_markers<file_sep>/src/send_markers.cpp #include <vector> #include <string> #include <sstream> #include <fstream> #include <ros/ros.h> #include <tf/tf.h> #include <move_base_msgs/MoveBaseAction.h> #include <geometry_msgs/PoseStamped.h> #include <geometry_msgs/Point.h> #include <geometry_msgs/Q...
86ca205812fc7f13686ea0b3ac8187892e3c2245
[ "Markdown", "C++" ]
3
C++
JRikken/youbot_markers
5b529fed4f96fceaff45993084469ba4121e233c
ead0d449bba1c95ff2325404789fbbf2fc6826a6
refs/heads/master
<file_sep>#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon Jun 25 10:42:24 2018 @author: ktai12 """ import numpy as np import keras BEFORE_NUMBER = 10 BATCH_SIZE = 512 STEPS = 100000 LOG_STEP = 1000 start_point = np.random.uniform(100, 1000, (BATCH_SIZE,)) difference = np.random.uniform(1, 100, (...
780fa3fed7e5890f26f9c952f10cefbacfa6e09a
[ "Markdown", "Python" ]
6
Python
jsrimr/code_during_KTaiacadmey
ab98b1613d9cb8ca77cd2462e0a42664b71bd758
d508303417fe0916f98f7cd65c6521adb0a933fa
refs/heads/master
<file_sep>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.Medi...
d0d360be9409791637ec2f906af2d7366be9ce4b
[ "C#" ]
6
C#
TeamProjectHSE/karnauh-plusheva
74ec8b8c91fb9b8dfd4449be647f44b1ba9ddce8
8a6819fc86d2c510cee5ffc45242a43b10baa6b4
refs/heads/master
<repo_name>bonuelc/AdHawkSmartTipMockup<file_sep>/SmartTips/JSONHandler.swift // // JSONManager.swift // SmartTips // // Created by <NAME> on 8/1/16. // Copyright © 2016 <NAME>. All rights reserved. // import Alamofire import SwiftyJSON class SmartTipJSONManager { static let getInstance = SmartTipJSONMan...
f8b5d887425d0e0968957feef20016232f217b56
[ "Swift" ]
9
Swift
bonuelc/AdHawkSmartTipMockup
76a01e219e23d5892896edd2855a1afc0da50b60
a285f9e9b473b2d101361fcda71b629f9927c705
refs/heads/master
<file_sep><?php use Faker\Generator as Faker; $factory->define(App\Services\Products\Product::class, function (Faker $faker) { return [ 'slug'=>str_slug('Velg Yokomaha 12inch', '-'), 'name'=>'<NAME>', 'price'=> '2000000', 'thumbnail'=> 'src/photos/yokohama12inch....
94bdd949a6d5d54a2fc3b0c92d7addc3520c69ea
[ "PHP" ]
9
PHP
agilukm/auto-shop
36ccac3d9e9da96c649d49360bddb10f46d1322b
6b525c723bf40e0855430a8861253bd5996142f1
refs/heads/master
<file_sep>var port = process.env.PORT || 3000; var itemData = require('./itemData.json') var express = require('express') var app = express() var exphbs = require('express-handlebars'); app.engine('handlebars', exphbs({ defaultLayout: 'main' })) app.set('view engine', 'handlebars') app.use(express.static('public...
554737e6df413df879dd8d99cc81ec1b69df6eba
[ "JavaScript" ]
1
JavaScript
alsalmaf/final-project-group-12
4243000446748497724433ea2fb0ca099114ab9a
e391fda7c947291890a203ee59a7689393f7883a
refs/heads/master
<repo_name>geekzw/blogProMac<file_sep>/source/tags/index.md --- title: 标签 date: 2016-11-01 15:28:43 type: "tags" comments: false --- <file_sep>/source/_posts/android-常用小知识.md --- title: android 常用小知识 date: 2016-12-06 11:13:28 categories: android tags: android description: "android 常用知识" --- ## 阿里freeline 加快编译速度,并打造动态热部...
35f5f8b843e77335677431a08133c467d62e7393
[ "Markdown", "Shell" ]
3
Markdown
geekzw/blogProMac
2bb2902c642f8c5cb91ea3eb52c887221edeba29
8ca6d1574da4a1c94aa573a2e6f801be776c0f34
refs/heads/master
<file_sep>Worker Module ================ This node module will allow specific jobs to be scheduled at user controlled intervals The job will be made up of the following. { name : "<NAME> the job", pattern : "cron pattern to trigger job", start : "the function to call when the job is trigg...
245c545c27c0b1c21913d86e8cac43d7554bcde0
[ "Markdown", "JavaScript" ]
3
Markdown
gbd77rc/worker-module
cb06c6a1b818b0fe5782c22c7c8fe0205020e6d7
91b26c7b92c3da939f136379de2ed42be6590a2b
refs/heads/master
<file_sep># FaceNet-Pytorch https://arxiv.org/pdf/1503.03832.pdf - Pytorch <file_sep>import os import random from glob import glob from PIL import Image from torch.utils.data import Dataset class TripletImageDataset(Dataset): """ Creates anchor, positive, negative triples from diretory of Image folders "...
14c9e0e89641c8fa9989a8b023e95e1f22165bad
[ "Markdown", "Python" ]
3
Markdown
A-Jacobson/FaceNet-Pytorch
fb38a42afc4e9bfedd9d73d700adbb836db6dbab
b4cc8592233a0dbcd5ebc244376e3b505c6c008e
refs/heads/master
<file_sep>package tim.wat.darts.controllers; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; import tim.wat.darts.objects.ContestObject; import tim.wat.darts.objects.PlayerObject; import tim.wat.darts.repositories.ContestRepository; import tim.wat.darts....
6a5f7bcd7b1b083211f0b5185120712e2638c86d
[ "Java", "SQL", "INI" ]
7
Java
dudap1/Darts-1
817e5af681ac0d47d8174ebd437a234c07d63596
03d767d9598d53d990534e925fa9b481f0780ccc
refs/heads/master
<repo_name>Piero-Onorati/js-faq-accordion-card<file_sep>/js/script.js document.querySelectorAll('.accordion-question').forEach(item =>{ item.addEventListener('click', event =>{ console.log('click'); if (!item.classList.contains('open')) { // add collapsing at accordion answer ...
bc125e59a863c8617e2e5f6826f3c959c522cd57
[ "JavaScript" ]
1
JavaScript
Piero-Onorati/js-faq-accordion-card
83260a04b86a7d839c876c1b18787eeb177d6844
81da15514e0e40d091e3a9525b2dd5b3a9041ada
refs/heads/master
<file_sep>/*! @file SimpleSvm.cpp @brief All C code. @author <NAME> @copyright Copyright (c) 2017-2020, <NAME>. All rights reserved. */ #define POOL_NX_OPTIN 1 #include "SimpleSvm.hpp" #include <intrin.h> #include <ntifs.h> #include <stdarg.h> EXTERN_C DRIVER_INITIALIZE DriverEnt...
43b88e82781f8ed65be44c7ba20a5443bd7b1c38
[ "Markdown", "C++" ]
2
C++
fengjixuchui/SimpleSvm
7fc3da46938c25e4d76d77abe63e5c1a16342f91
8741236c7e4a67c79b25ddb32680fc994e9d454a
refs/heads/master
<file_sep>import { Text, TextStyle } from 'pixi.js'; import Scene from '../libs/scene'; export default class OverScene extends Scene { init() { super.init(); console.log('Over init'); this._angle = 0; } preload() { console.log('Over preload'); } pause() { s...
d20baace2521b3bea0eeb1cd6fb631c61e121faa
[ "JavaScript", "Markdown" ]
12
JavaScript
xuanye/pitaya
605c4a5a515bb4099b83f12100807bfa44195297
302172b4af581507fab0205febc3d01aaa1670e9
refs/heads/master
<file_sep>#include <unistd.h> #include <sys/types.h> #include <sys/socket.h> #include <sys/epoll.h> #include <arpa/inet.h> #include <fcntl.h> #include <errno.h> #include <iostream> #define local_port 12345 #define local_ip "0.0.0.0" #define MAX_EVENTS 100...
3f37261eda53cc9df804d033bb0dced71694e9f4
[ "C", "Makefile" ]
4
C
caihm837/NetWork
9dd4c569142271fbdf6d739c74608538d74218be
7080e6172b847b162d2ff9641780d803973a6d73
refs/heads/master
<file_sep>## Additional prompt: Have an org Anyone can join any org. Backend to setup that extra permission. printing the org that the member is a part of making the public or private is for the org. Limit to an hour -------------------------- ## To do: x Add a field in the user model for a organization. x Add...
6398897b7c95bb235f2dfae8c2ac11f1f2e8b5bf
[ "Markdown", "JavaScript" ]
3
Markdown
kristynrb/Users-message-app
ddd183343181e8dd9325b78072d1e14dc1567c3b
cfcd7ce678b32aab0a421d019940e15cb4902d22
refs/heads/master
<file_sep>#include "stdafx.h" #include "model.h" class Decoder { public: Decoder(vector<vector<int> > *cur_line_ptr,Model *model); ~Decoder(); bool decode_for_train(vector<int> &taglist_output, vector<int> &taglist_gold); vector<int> decode(); vector<vector<int> > extract_features(const vector<int> &taglist...
ab7669e28c14548b0fc326954b6d70f0b8599bb9
[ "C", "Makefile", "C++" ]
13
C++
lixiaoqing/perceptron
c266f07ce9473871d45bab194f6540507d8aa505
0c1be5fa7b310705a12a6ada6129250dd169bfe9
refs/heads/master
<file_sep><!-- Please update value in the {} --> <h1 align="center">App Motorcyclists</h1> <div align="center"> <h3> <a href="https://motorcyclists.netlify.app/"> Demo </a> <span> | </span> <a href="https://github.com/sedian27/App-Motorcyclists"> Solution </a> </h3> </div> <!-- T...
cf557ff1fc4b35e70d4db6b483cb4d89e5ee8d20
[ "Markdown", "JavaScript" ]
2
Markdown
sedian27/App-Motorcyclists
f0b3af22a1697791aaa5674f311cd4977b6c0b7a
ded46191f0676e6f86d536ff11ce7a7ee0c1bb5c
refs/heads/master
<file_sep>import warnings from asl_data import SinglesData def recognize(models: dict, test_set: SinglesData): """ Recognize test word sequences from word models set :param models: dict of trained models {'SOMEWORD': GaussianHMM model object, 'SOMEOTHERWORD': GaussianHMM model object, ...} :param te...
dc5dccb7f0bbe961e33d215e1fcaa6ec213e0646
[ "Python" ]
1
Python
awtotty/asl_recognizer
557911937ba2484009842652cb2b089364ac1179
939eaab463a38b40e475fe430585f2df02afbc56
refs/heads/master
<file_sep>package channelService import ( "errors" "github.com/kudoochui/kudos/log" "github.com/kudoochui/kudos/rpc" "github.com/kudoochui/kudos/service/codecService" "github.com/kudoochui/kudos/service/rpcClientService" "github.com/kudoochui/kudos/utils/array" "sync" ) type Channel struct { name string gr...
ee2e70595f7bc7d2ffcf320c8c637227b8690146
[ "Go Module", "Go" ]
5
Go
loveyfore/kudos
26a360c1689f6cfe8e31c09a67f9f0e133d3372c
f37bb49e198e33eafa0481b9e8dae3554a2310b3
refs/heads/master
<repo_name>vanbungkring/Basic-CRUD_Typescript<file_sep>/src/core/models/book.model.ts import mongoose from "mongoose"; import { Model } from "./model.interface"; export interface IBook{ _id: any; title: string; author: string; year: number; } export type BookDocument = mongoose.Document & { _id: a...
ede00a53584905e6922e4e644809f0add1dc4009
[ "TypeScript" ]
7
TypeScript
vanbungkring/Basic-CRUD_Typescript
d33cc3204a57be107521c2b999fd43c3a811511f
b1fa27b66fbacda27424298fc760b7344acfb1e7
refs/heads/master
<file_sep>from server import RequestHandler, run_forever def test_do_GET(): run_forever() assert do_GET() <file_sep>from http.server import HTTPServer, BaseHTTPRequestHandler from urllib.parse import urlparse, parse_qs from cowpy import cow import requests import json class RequestHandler(BaseHTTPRequest...
ca084b19996d374a45439aa58af946fb31531f89
[ "Markdown", "Python" ]
3
Python
chrisba11/http-server
b2b1b3c4ffa442d2fbba5cb3a31967745e300f0d
a6dc93d31314def4ff625fa6400345310592eaa7
refs/heads/master
<file_sep>package com.wenxianm.service.user; import com.wenxianm.exception.SerException; import com.wenxianm.model.bo.user.Client; /** * 在线用户管理 * * @Author: [caiwenxian] * @Date: [2018-03-08 15:48] * @Description: [ ] * @Version: [1.0.0] */ public interface IClientService { /** * 获取当前用户 * *...
d0a34993629b8a89a062c284d3f7e50d499aafc5
[ "Markdown", "Java", "Maven POM" ]
65
Java
caiwenxian/bolg-java
2263dfff57572ceca79916903ef2a0ee17c24546
bea90b3bcd1dc6a944ea413e78c0a3731a564654
refs/heads/master
<file_sep>from werkzeug.routing import BaseConverter class RegexConverter(BaseConverter): def __init__(self, url_map, *items): super(RegexConverter, self).__init__(url_map) self.regex = items[0] PAPER_ID_REGEX = r"[a-zA-Z0-9:\./]+" class PaperIdConverter(RegexConverter): def __init__(self,...
a0525892ca3ae091f8199139b181b5b73b10b1d7
[ "YAML", "JavaScript", "Markdown", "TOML", "Makefile", "Python", "Dockerfile" ]
24
Python
fferegrino/mybib
7f2530b45b462464cded9f33904de5eb4cb4213a
e5e181456c24b6c8e5b0bf0981c6499d5491c58f
refs/heads/master
<file_sep>var React = require('react'); var Backbone = require('backbone'); var $ = require('jquery'); var User = require('../models/user').User; var Student = require('../models/students').Student; var StudentCollection = require('../models/students').StudentCollection; // Second Parent form On-Off toggle var isDef...
f028db4166642525f36bc2b448ec5a7f578cbbe1
[ "JavaScript", "Markdown" ]
7
JavaScript
pairof9s/TIY_Final_Project_Live
ca8632f521334f8ac4cb6b30504143184b5df86a
e661c1329240bd8402a4f266d00ba871ac05df84
refs/heads/master
<file_sep>require File.dirname(__FILE__) + '/spec_helper' describe Palindrome do it "finds the reverse of 12" do 12.reverse.should == 21 end it "finds the reverse of 123456789" do 123456789.reverse.should == 987654321 end it "determines if a number is palindromic" do 121.should be_palind...
1ec60be6f48aa233c02dbac05503819df0a7d9a7
[ "Markdown", "Ruby" ]
5
Ruby
mattpuchlerz/palindrome
c569cde804b254fe72fe2f24c7e33d2a30bbc514
9efb2dd2754ecca06ed202a5074530e420d7c8cb
refs/heads/master
<repo_name>FlorianLeChat/darkrp_scripts<file_sep>/README.md # darkrp_scripts Github version of all my workshop addons : https://steamcommunity.com/id/florian4016/myworkshopfiles/?appid=4000 <file_sep>/ooc_disabler/lua/autorun/ooc_disabler.lua -- [[ SETTINGS ]] -- -- What the name of this command ? (Default : "ooccon...
112ff6dcb2e7459b2a51be317adb74a08ac9609c
[ "Markdown", "Lua" ]
2
Markdown
FlorianLeChat/darkrp_scripts
e23c9248fe81b2129a9f327ee05ac5cce24e5115
3115b2e9b49493a7c0b55ce2f99a438ce4692619
refs/heads/master
<file_sep><?php /* * 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. */ namespace AppBundle\Form\Type; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterf...
d3d33ffcb5e18942b199eacd9c0ffb15098bd715
[ "PHP" ]
13
PHP
chaymaISETCH/mgWeb
a27613908f5aea068c4ca314be7884327a69d283
264601580c56b469b97941948beace334df0ea58
refs/heads/master
<repo_name>mpfranco10/parcial2-20201<file_sep>/src/index.js import React from "react"; import ReactDOM from "react-dom"; import * as serviceWorker from './serviceWorker'; import localeEsMessages from "./locales/es"; import localeEnMessages from "./locales/en"; import {IntlProvider} from 'react-intl'; import Movies fro...
5cd04aea28e109d6e556403ca780512210c59262
[ "JavaScript" ]
3
JavaScript
mpfranco10/parcial2-20201
1c0251b7a3fed02a72367588eb6cca64a949f16d
7ad3e5d3d98b27380577fdca78e251e10382dc9b
refs/heads/master
<repo_name>marras/FCS-analyzer<file_sep>/src/analyzer.cpp #include <QVBoxLayout> #include "analyzer.h" #include "program.h" #include <qwt_plot.h> #include <qwt_symbol.h> #include <stdio.h> using std::cout; using std::cerr; void IndexedPushButton :: emit_i () { emit clicked(i, SM::SWITCH); } // -------- Oblicza ...
080b43648f27f0e65c4ffc4d38f1200c4a0c16a6
[ "Markdown", "C", "Makefile", "C++" ]
23
C++
marras/FCS-analyzer
41056d3772cf2e57f3b6aa8412052279ec1e0775
ca0000fb4d36e46d7b31a3836729fbe89e0605e5
refs/heads/master
<repo_name>ctywzy/JavaBase<file_sep>/day20/i10.java package day20; import java.io.File; import java.io.IOException; import java.io.Reader; public class i10 { public static void main(String[] args) { File f = new File("demo.txt"); Reader r = new Reader(f) { @Override public ...
1ccd8f834c6e5cfd609dd84fa23826bd6426e5c5
[ "Java" ]
38
Java
ctywzy/JavaBase
9c60ec4d0657022be694bfaefb96b4779054c67e
413d7982544baffc7669c654cba31778de690dc8
refs/heads/master
<repo_name>TatsutoYamamoto/test<file_sep>/udemy.rb def meth puts "s" end meth a = [1,2,3] puts a[0] h = {"a" => 123, "b" =>456, "c" => 789} puts h["a"] puts h["b"]
f1fbaa94ef85f509962b9462d2a42a25ca6608e0
[ "Ruby" ]
1
Ruby
TatsutoYamamoto/test
5c488d7dde5c8b8e48d115e5d3fec76c3d4127a3
d307854e0aa582e170ecf051278c2a88a01b0e76
refs/heads/master
<file_sep>using Corale.Colore.Razer.Keyboard; using System; namespace Matrix { static class KeyDefinitions { public const int Rows = 5; private static readonly Key[] Row1 = new Key[] { Key.Escape, Key.F1, Key.F2, Key.F3, Key....
4d3840c9d4133b377f03e708713b4a7144aa382f
[ "C#" ]
4
C#
CORDEA/Matrix
12a0ff74529baa482305d324fbafdea9e322f073
e8ff02a1201f538d71ae6aa5ee45b2c141d8238a
refs/heads/master
<repo_name>averywei/PowerTrend<file_sep>/PowerTrend/PowerTrend/__init__.py """ Package for PowerTrend. """
74aafd667eaf24e0b393499b2772df630255c4f4
[ "Python" ]
1
Python
averywei/PowerTrend
15f26cf2eb58b4df6246444a717b8a6e587568b4
1f1583373a11ce767018e750651dbecd786f1ea9
refs/heads/master
<file_sep>class Comment < ApplicationRecord belongs_to :article # sets up an ActiveRecord association end <file_sep>class ArticlesController < ApplicationController # inherits from ApplicationController def index @articles = Article.all end def show @article = Article.find(params[:id]) end def ne...
16feb88c199f87f04c8ca20fed8aa1e51e3a7c99
[ "Markdown", "Ruby" ]
4
Ruby
ashleyabrooks/rails-blog-tutorial
e5b075ff6a5f6306901e956642173fe6be267600
1539ed893cb300bfd261267e614aa05967d06b7a
refs/heads/master
<repo_name>nzaouesgi/doodlejump_ia<file_sep>/maze5AL1-arcade-ann.py import arcade import numpy as np from sklearn.neural_network import MLPRegressor MAZE = """ ##.######## # # # # # # # # # # ########*## """ UP, DOWN, LEFT, RIGHT = 'U', 'D', 'L', 'R' ACTIONS = [UP, DOWN, LEFT, RIGHT] REWA...
7db452c3051f9a0bdd0d6fe3c07e840e3e71ea10
[ "Python" ]
2
Python
nzaouesgi/doodlejump_ia
f583c92065e11856f787cd3fd178821a420c37ec
fd446fa25e5f13b257e28698a0c4b8e06675aab2
refs/heads/master
<file_sep>import requests from lxml import html import os import time __author__ = 'dh_liu' # 用log函数把所有输出写入到文件 def log(*args, **kwargs): t = '%Y/%m/%d %H:%M:%S' value = time.localtime(int(time.time())) dt = time.strftime(t, value) # 中文windows平台默认打开的文件编码是gbk所以需要指定一下 with open('log.gua.txt', 'a', e...
cf4eec85314f5c0845a9bcb65143e78298457b5d
[ "Markdown", "Python" ]
2
Python
lldhliu/douban_pachong
12e73e218d704281c8283f5745366bd18989ceee
99ac03772b987eb933579f8d9a344862febd807a
refs/heads/main
<file_sep><?php $config['serveur']='localhost'; $config['login']='login8024'; $config['mdp']='TxNNSBufHmQvQtJ'; $config['bd']='dblogin8024'; ?><file_sep><?php require_once 'controleur.php'; ?><file_sep><?php function getPage(){ $lesPages['accueil'] = "accueilControleur"; $lesPages['c...
7b6613f65295794b05dabddb220990b54ff8d49a
[ "PHP" ]
4
PHP
Aryshia/phpecole
971af304d32c5c9add62387058267dc5c6c6334e
0466cc8d0c751869fc2d1d0854502f4afa669866
refs/heads/master
<file_sep><?php ob_start(); session_start(); if(file_exists('admin/_conf.php')) { include('admin/_conf.php'); } elseif(file_exists('../admin/_conf.php')) { include('../admin/_conf.php'); } elseif(file_exists('../../admin/_conf.php')) { include('../../admin/_conf.php'); } elseif(file_exists('../../../admin/_conf...
b826fc0c0ae26f39cbe5a0457d8b6aeba6fc01f6
[ "PHP" ]
23
PHP
IMinan/RulmanSoft
d3df11b30945e7569332eb25285fd87ab5f7125d
8ace276ca7cc7ef54e8fe06c81962c506f40a539
refs/heads/master
<repo_name>lza93/Asn_1_cmpt471<file_sep>/tunnel.c #include <netinet/in.h> #include <time.h> #include <strings.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include <netdb.h> #include <stdlib.h> #include <netdb.h> #include <arpa/inet.h> #include <sys/wait.h> #define MAXLINE 4096 /* max text lin...
60b580e7eaf22cc94d63c899eef381e768a5655b
[ "C" ]
3
C
lza93/Asn_1_cmpt471
39339774469aba7ae653d93c8cec492ae27cd59c
67795e7c2399782ae5158ed9280de3d2b13397dc