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>import React,{Component} from 'react'; import {Control,LocalForm,Form,Errors} from 'react-redux-form'; import {Label, Row,Col,Button} from 'reactstrap'; const required = (val) => val && val.length; const maxLength = (len) => (val) => !(val) || (val.length <= len); const minLength = (len) => (val) => val && (v...
71dc9892cc0c3b10f9a50f98efa3a44ddc6611d0
[ "JavaScript" ]
3
JavaScript
p-k-singh/React-Redux-Form
99479f63568a1abbe4e810168245aaf56fe34786
989183d142dce713ffb6f4d043035ca710a2ebe3
refs/heads/master
<repo_name>winn-cui/vr-simulator-platform<file_sep>/SimpleMove.cs using UnityEngine; using System.Collections; public class SimpleMove : MonoBehaviour { public float speed = 1.0f; public float brakingFactor = 0.5f; // Use this for initialization void Start () { Vector3 test = new Vector3 (1.124124f, 121.421f, 1...
a013fad2f3ee357b5492af019c190e2e77bf77ec
[ "C#" ]
1
C#
winn-cui/vr-simulator-platform
0121c575b21c12ffa11f3cc86edf80c05a81caf8
0192a46858377e8945f8efff361adf9f7ec1ea0e
refs/heads/master
<file_sep>import React from "react"; import Output from '../../Components/Output'; const testingLibrary = require("@testing-library/react"); describe('Rendering the output component', () => { test('should ', () => { const { container } = testingLibrary.render(<Output title='Hello World' result={9 + 9} id="...
7e1e6113c4d9e7391415668c656251ee73ceacb0
[ "JavaScript" ]
12
JavaScript
OllieRumbol/ReactConverter
1a296ca788bf455bfbb431bad4376065633be9ca
748ff96efe13dac2738084d980c1dd3ee5a9128d
refs/heads/master
<repo_name>HangMine/weback-library-HUtils<file_sep>/src/study.js /** * @des: 深复制(es6,不添加原型版本),需考虑循环引用对象的兼容处理:https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Errors/Cyclic_object_value * @param {any} data 需要复制的数据 * @param {array} cache 保存已经遍历过的对象,是为了处理循环引用对象 * @return: */ function deepCopy(obj, ca...
0b86052fe15c01478d9c0cd8628e906cbcfbbbbc
[ "JavaScript", "Markdown" ]
2
JavaScript
HangMine/weback-library-HUtils
39ba1c80c10f62882d00ed578024e538f752115a
fcf32ac605d8ad207a5a9dc0cd46d47702b3370f
refs/heads/master
<file_sep># -*- coding: utf-8 -*- import pytest import time import sys import cPickle as pickle from test_base_class import TestBaseClass aerospike = pytest.importorskip("aerospike") try: from aerospike.exception import * except: print "Please install aerospike python client." sys.exit(1) class TestOperat...
ea80640c269c843797759ccba37d020a4861ca0d
[ "reStructuredText", "Markdown", "Python", "C", "Shell" ]
52
Python
saydulk/aerospike-client-python
ccbedc7087b518714295c37ef891ee0b4d90c28d
897962ab41b1862070176051cd2c025b5d684c5e
refs/heads/master
<repo_name>mrcsxsiq/IFAM-Tour<file_sep>/src/com/devbr/ifamtour/Start.java package com.devbr.ifamtour; import android.app.Activity; import android.content.Intent; import android.content.pm.ActivityInfo; import android.graphics.Typeface; import android.os.Bundle; import android.view.View; import android.view.Window; imp...
237ff24465c57171f37f7871a9461bcb4a152877
[ "Java" ]
2
Java
mrcsxsiq/IFAM-Tour
4d2812576cf67fbe6fd099cd7d214173de72cacb
196b6f894e1bb809d4b834178f0b2909ad694832
refs/heads/master
<file_sep>package org.lzh.rabbitmq.sample01; import sun.org.mozilla.javascript.internal.annotations.JSSetter; /** * rabbit mq 配置信息 */ public enum RabbitMQEnum { RABBITMQ_QUEUE_NAME("hello","rabbitmq 队列名称"), RABBITMQ_HOST("127.0.0.1","rabbitmq 域名地址"); private String key ; private String value ; private R...
91bad3c7c8ea1d717c4bf3568235e299d05c5896
[ "Markdown", "Java" ]
2
Java
sjzpc040529/rabbitmq-sample
84f093aa3b4a4f737273842efef6a7c3964a53e8
4c8fa0ca889d635bb38f2c3e34c5ea2a49125be6
refs/heads/master
<repo_name>liaohuming/CalculateVelocityForBlasiusL2<file_sep>/code/Test_auto.cpp // By: <NAME>, 2017-8-13 14:38:50 // At: BUAA, Beijing, China, 100191 #pragma once #include <stdio.h> #include <iostream> #include <vector> #include <fstream> #include <string> #include <sstream> #include <math.h> using namespace std; st...
53c05b42e2a8ec8dc87e5a1fdf6d40d54fc2a79c
[ "Markdown", "C++" ]
3
C++
liaohuming/CalculateVelocityForBlasiusL2
d2538fe43a4671acd6d8bcd2635770803da499b2
f34d4004c4016e398437ac6752b95a4ba60f5428
refs/heads/master
<file_sep># -*- coding: utf-8 -*- import requests import json api_key = 'AIzaSyA1jushlALDuv4iKuEqBIFtxbafUsL8FTA' cx = '005180411865622881391:-vcpbmb-lnm' yandex_token = '<KEY>' skill_url = 'https://dialogs.yandex.net/api/v1/skills/e17a6e74-84cc-4866-87b7-cff444c07889/images/' def upload_to_alisa(image_u...
bbf95201c2451a0b59283a0c53ea462e9ab20f9f
[ "Python" ]
2
Python
Smulemun/api
038853e0b3baa880c1095f20de6bd7cc60b14775
8708764165460a44638b89e7edb889cbf55b9f61
refs/heads/master
<file_sep>export * from './hooks/useCoingeckoPrice' export * from './hooks/useCoingeckoPrices' <file_sep>import { BrowserContext, Page } from 'playwright' import waitForExpect from 'wait-for-expect' import { expect } from 'chai' import { waitForPopup } from '@usedapp/playwright' import debug from 'debug' export const ...
cd10fdbea3c72b5e206cd16977d3d06ceb2bc8fb
[ "Markdown", "TypeScript" ]
7
TypeScript
0xnicholas/useDApp
67f6fea98d59f880b7de010ba3de8da2b7675808
12749e2cc42cb6141dd3f6ffbb63ddc2c5222d8c
refs/heads/master
<repo_name>anand-bala/pycem<file_sep>/cem/cem.py """Provides the CEM class, the core of this package""" import math import logging from typing import Union, Mapping, Callable, Optional, Sequence import attr import numpy as np import bottleneck as bn from scipy.stats import truncnorm @attr.s(slots=True, auto_attribs...
4e7a6cc217b7c20d690efde4b840267b7e9e9618
[ "Markdown", "Python" ]
3
Python
anand-bala/pycem
c06f8f11524988f9855289601928ab5f835af09b
e1248fd29e8e486242c0d7d1449507ff87000c4d
refs/heads/master
<file_sep>#ifndef VLOG_HH #define VLOG_HH #include "config.h" #include <boost/noncopyable.hpp> #include <string> #include <sys/types.h> #include <sys/socket.h> #include <netdb.h> namespace rusv { #define PRINTF_FORMAT(FMT, ARG1) __attribute__((__format__(printf, FMT, ARG1))) struct Vlog_impl; class Vlog : boost:...
e18e472a1b34616be1572798ce0721f30dd976e5
[ "Markdown", "Makefile", "C++" ]
23
C++
sharkdtu/gateway
11c0b3501d670f65350a4f656d5e3c2a9c2353c2
2fea258d5c400a59fb547a662fd9bc2151a4f84b
refs/heads/master
<file_sep><?php class Config { private static $_env; private static $_configfolder; /* public static function setEnvironment($env){ self::$_env=$env; self::$_configfolder=app_path() . "/config"; }*/ public static function get($path){ self::$_configfolder=app_path() . "/config"; $params=explode('.',...
3b0707b55c5aefc9bb544bdfb4c4c45cb7bb6a2b
[ "HTML", "JavaScript", "Markdown", "PHP", "Shell" ]
28
PHP
ilpes/agnostic
ddf39e9cadc27c64a056f98ea2cd63fb6c147cd4
b7d5a568aae30f926abcf6f3d2458c29682b3c0e
refs/heads/master
<file_sep>/** * Created by wupeiying on 2016/2/18. */ function ajaxUrl(param){ $.each(PURCHASE_MENU.items, function(i, v){ if(param == v.rsId){ $.router.load(v.default, true); } }); } //获取URL参数 function GetQueryString(name) { var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)...
bdce17b21457d7105057e1bb62a63e1ffb804a97
[ "JavaScript", "Text", "Markdown" ]
10
JavaScript
babyfacer0104/shop-h5
9cc82fc00f22191be7e6b7221b3cf77d8072595c
1fac37c7ad3c6fb8295ed761b2669d1c4cf72e9b
refs/heads/master
<file_sep># Great-Ball-Arena<file_sep>using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityStandardAssets.CrossPlatformInput; public class PlayerMovement : MonoBehaviour { [SerializeField] Transform center; [SerializeField] float speed; Rigidbody rigidbody; // S...
dc0041c5dcc7684e767f1fea74db467c3de7d2dd
[ "Markdown", "C#" ]
3
Markdown
AaronWantoch/Great-Ball-Arena
5d61dff948916c012bbd5c155df779007fb10829
53e3d0bc6036ffadca135a96b0a58d9aefa84e93
refs/heads/master
<file_sep>using System; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; using System.Web.Http; using System.Web.Http.Description; using Microsoft.Bot.Connector; using Newtonsoft.Json; namespace QnABot { [BotAuthentication] public class MessagesController : ApiControll...
f85c2151bc49ba10d0f75f2776bb23f7d542f665
[ "Markdown", "C#" ]
2
C#
KatVHarris/QnABot
4a4b1ece5b7be7ca61d56b0a250f008a003a0b1c
5c4aaf9461a42a8c9a82d04506875269082934fa
refs/heads/master
<repo_name>4NV815/PierwszyProjekt<file_sep>/src/hello/WczytajOsobe.java package hello; import javax.swing.JOptionPane; public class WczytajOsobe { public static Osoba nowaOsoba() { //ta metoda wczytuja nowa osobe na podstawie okna dialogowego String imię = JOptionPane.showInputDialog("Jak masz na i...
05750470bc04a2a69ac73b413b1e6a82e9e52e6c
[ "Java" ]
1
Java
4NV815/PierwszyProjekt
fa5d42227b5703529302b49e41dc77e8908fa9f1
46d350b46af31b3935705bf29ca6ef3c6365650d
refs/heads/master
<file_sep>package com.example.security.demo.service; import com.baomidou.mybatisplus.extension.service.IService; import com.example.security.demo.model.entity.TbItem; /** * 接口 * * @author knox * @date 2020/12/10 * @since 1.0.0 */ public interface ItemService extends IService<TbItem> { } <file_sep>package com.ex...
aae51a4fa45169f54e079687f0181de32ce9d659
[ "Markdown", "Java", "SQL" ]
14
Java
haoyu21/spring-boot-security-jwt-demo
356c0356f3d93ed1cb77e49666f022d5fda13210
0d123a10d6d86875e0abd932ee5616574c01f14f
refs/heads/android-4.4
<file_sep>#!/system/bin/sh LOG_TAG="qcom-wifi" LOG_NAME="${0}:" loge () { /system/bin/log -t $LOG_TAG -p e "$LOG_NAME $@" } logi () { /system/bin/log -t $LOG_TAG -p i "$LOG_NAME $@" } # cleanup old files if [ -d /data/misc/wifi/prima ]; then rm -r /data/misc/wifi/prima fi WCNSS_CFG_FILE="/system/etc/firmwa...
86642fa55bd1741ef5b1873e582435fb30160c47
[ "Java", "Shell" ]
2
Shell
mikeysteele/android_device_oppo_find5
adcc132d71342688f40c6ed897462dbd7168b407
89fa1c2d7cc8f8284d7f45d526b37ca8c9a427db
refs/heads/master
<repo_name>fexed/WordQuizzle<file_sep>/src/com/fexed/lprb/wq/client/WQClientController.java package com.fexed.lprb.wq.client; /** * Classe che mette in comunicazione client e relativa GUI * @author <NAME> */ public class WQClientController { /** * Il client di WordQuizzle */ public static WQClient...
61589c4e68da109ce8e8dac79538c7c395d4848e
[ "Markdown", "Java" ]
8
Java
fexed/WordQuizzle
e112ddf499e690fa6a1e511322ce86ae21ebcc8a
92e7f13eecc7edb6441473682cfd863a6dae0441
refs/heads/master
<file_sep>import json import util import time, sys import paho.mqtt.client as mqtt def on_connect(mqttc, userdata, flags, rc): print('connected...rc=' + str(rc)) def on_disconnect(mqttc, userdata, rc): print('disconnected...rc=' + str(rc)) def on_message(mqttc, userdata, msg): print('me...
ea472c34702465477c8c0564ce47acd30a9e1fa1
[ "Python" ]
8
Python
kangseoyoung/COMP216_Group
076ef0ef247846b64794b01ba94d4f96b89c6968
aa208dadbb2caaf4957e6415ea1eee507ac18652
refs/heads/master
<file_sep>import rowdy from '../' import niv from 'npm-install-version' const versions = ['3.21.2', '4.16.3', '5.0.0-alpha.6'] for (const version of versions) { const expressVersion = `express@${version}` niv.install(expressVersion, {quiet: true}) const express = niv.require(expressVersion) describe(`rowdy u...
348a0e0836406276c0f1bace0ca629fe43ba15d9
[ "JavaScript" ]
2
JavaScript
Hoten/rowdy
1717881eb325b3ede3d1a14a395874449ce7757f
b12d2e646a691af127eac1816709de01918a2387
refs/heads/master
<repo_name>Astashonak/BMICalculator<file_sep>/src/test/java/BMICalculatorTest.java import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.support.ui.Select; import org.testng.Assert; import or...
bca1036226e41646e1fe7715f2f051f0606a3ca2
[ "Java" ]
1
Java
Astashonak/BMICalculator
caa48d2556c568b55aaccddf7266040e5b84ba7a
966e32add760e6088a014b4d429a1d11078af8ad
refs/heads/master
<file_sep>package com.dong.logback; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class Sl4jAndLogback { private static Logger logger = LoggerFactory.getLogger(Sl4jAndLogback.class); public static void main(String[] args) { System.out.println("sssssssss"); lo...
e4bd2a4c53848301c908029d88946e1279c08a1a
[ "Java" ]
1
Java
Luckboy940721/MyProject
c8da16f9e5ef31367f86c9379c4386c13d2492a3
8b8380f7a975d298e4276c895009a6d94cafa56a
refs/heads/master
<repo_name>orangeProject2020/userLogicSvr<file_sep>/app/controller/invite.js const Controller = require('./../../lib/controller') class InviteController extends Controller { /** * 获取邀请码 * @param {*} args * @param {*} ret */ async getCode(args, ret) { this.LOG.info(args.uuid, '/getCode', args) ...
e41f928bd7ae427a94c6bb2a4865ec187d2dd61f
[ "JavaScript" ]
9
JavaScript
orangeProject2020/userLogicSvr
f692f2f31be585ac35825085824cb7dc17a991cf
c1552aad4faaa70ac2966b1db9aa801888d4d840
refs/heads/main
<file_sep># jestil jest test utils, mocking global `Date`, and other stuff. [![JavaScript CI](https://github.com/otiai10/jestil/workflows/JavaScript%20CI/badge.svg)](https://github.com/otiai10/jestil/actions?query=workflow%3A%22JavaScript+CI%22) [![npm version](https://badge.fury.io/js/jestil.svg)](https://badge.fur...
91efb28e350a947b9b41707b9343fd0e980c4a96
[ "Markdown", "TypeScript" ]
4
Markdown
otiai10/jestil
65c01d6a5d85b4dd09fce94d4f8fbf9dbd1ec20b
2b8aaf9eb92c8f29bc3fef99d493640fb73acb13
refs/heads/master
<repo_name>fraxedas/medella<file_sep>/public/js/services/alertDataService.js app.factory('alertDataService', ['$http', function ($http) { return { sos: function (username, next) { return $http.post('/api/sos/' + username).success(next); }, cancel: function (username, next) { return $http.post(...
4621fec78038ecf344f5019f79bfcdc24b0acc16
[ "JavaScript", "Markdown" ]
16
JavaScript
fraxedas/medella
cc9a2e9a05c9fb88b65ef5ddbd854728b31e65fa
82e8b99489d965cfd8d79636f08f8db3b46d3189
refs/heads/main
<file_sep>const express = require("express"); const bodyParser = require("body-parser"); const cors = require("cors"); const path = require("path"); const app = express(); app.set("view engine", "ejs"); app.set("views", path.join(__dirname, "/views")); app.use(bodyParser.urlencoded({ extended: true })); app.use(cors...
139ba363552b47ddd0ca358504c9501d221a7d24
[ "JavaScript", "Markdown" ]
3
JavaScript
gaurav-27ydv/contacts-manager
34ff60d1d28e9feeff047a7d28a278e399fdcb9b
83b28273fad22810e84183cb266b8c1f18b89c94
refs/heads/master
<repo_name>Jonolov/synthesizer<file_sep>/src/js/components/synth.js import React from 'react'; import Tone from 'tone'; import Slider from 'react-rangeslider'; import Keyboard from './keyboard'; import Selector from './selector'; import Oscillator from './oscillator'; import Envelopes from './envelopes'; class Synth e...
b470e54eda2319be388d6e031edd0d86c6217f69
[ "JavaScript", "Markdown" ]
7
JavaScript
Jonolov/synthesizer
f6f905d54604a93b95f8b4523ab58593f4e529a2
b3521536e12a803ef209323452c292689433fc83
refs/heads/master
<repo_name>Teddy95/atom-io-customization<file_sep>/install.sh #!/bin/sh # Display welcome message and info echo "\nWelcome to automatic Atom.io installer with packages by <NAME>\n" # Get absolute directory path of current file dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" # Change into ~/.atom d...
6efa08e6c4cdff429408488e547799eb87dbe517
[ "Markdown", "Shell" ]
3
Shell
Teddy95/atom-io-customization
21c473ca4295cf2f17fb0ff2e71edd5edfd9b22c
23c5c64192ad0d6aa8746eb4f74350bd2aa43840
refs/heads/master
<repo_name>xuanbo/hello<file_sep>/hello/src/main/java/com/hello/dao/ResourceDao.java package com.hello.dao; import com.hello.entity.Resource; /** * Created by xuan on 16-1-2. */ public interface ResourceDao extends BaseDao <Resource, Integer> { } <file_sep>/hello/src/main/java/com/hello/entity/User.java package com...
481d7a024f691d64e7915b4ba06ceac8ab0ca932
[ "JavaScript", "Java", "Markdown" ]
19
Java
xuanbo/hello
11fb2b32c9a74990abfeee04c6def964ba8e223f
d48c0b8d01641b3daf1b8e7002538cdc9f4fb13a
refs/heads/master
<repo_name>mrprompt/pm2-skel<file_sep>/ecosystem.config.js /** * Application configuration section * http://pm2.keymetrics.io/docs/usage/application-declaration/ */ const fs = require('fs'); let apps = []; let deploy = {}; fs.readdirSync(`${__dirname}/apps`).forEach((file) => { let app = require(`${__dirname}/ap...
1aa8505c647c6b91b5e305e444e01ceeba96500e
[ "JavaScript", "Markdown" ]
3
JavaScript
mrprompt/pm2-skel
108c5c7d64aee6fc0bf6bfc6ad12295de6cc2379
35e8593225a92855f33281f43ca2fd18f0ff543e
refs/heads/main
<repo_name>ksambaiah/python<file_sep>/leet/leet_53.py #!/usr/bin/env python3 ''' Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its sum. ''' def maxSubArray(nums): max1 = curr = nums[0] for i in range(1,len(nums)): curr = ...
45dc878a07f524dab192de92c8f17c02f37874b0
[ "Markdown", "Python", "Text" ]
157
Python
ksambaiah/python
4195e7815724dee927743bd6d650664e6c93bbb6
c8ac99e4e05ea751f8c62848e1d2060e319254dc
refs/heads/master
<repo_name>043Sudhanshu/calculator<file_sep>/script.js var buttons=document.getElementsByClassName("button"); var display=document.getElementById("display"); var op1=0; var op2=0; var operator=0; for(var i=0;i<buttons.length;i++) { buttons[i].addEventListener('click',function(){ var type=this.getAttribute("d...
a71209a03e200d31291aa8ee771bad39c67d223f
[ "JavaScript" ]
1
JavaScript
043Sudhanshu/calculator
feed738ab0e309f2347c307b663d2ca1c23a6a63
339bdb997408908c98b1e5fdbe3b2465331343bd
refs/heads/master
<repo_name>adeelsgithub/burgerApp<file_sep>/src/Components/Model.js import React from "react"; import classes from "./Model.css"; import OrderSummary from "./OrderSummary"; import BackDrop from "./BackDrop"; class Model extends React.Component{ render(){ return ( <React.Fragment> ...
31c3dd744a6af7ab109e4bddefafb5832a22ded6
[ "JavaScript" ]
6
JavaScript
adeelsgithub/burgerApp
a8d459a09a6993305b8b868889693d032cd757e9
0aca84500caa1f08e042310240467749ef4fdd3b
refs/heads/master
<repo_name>Deguang/diagramFromTree<file_sep>/README.md # diagramFromTree This is a micro-server that provides a tree structure for generating images.<file_sep>/index.js const express = require('express') const fs = require('fs') const bodyParser = require('body-parser') var Canvas = require('canvas') , Image = Canv...
f1c6fe27218d94b3feacba2f2a63df7261cf77ba
[ "Markdown", "JavaScript" ]
2
Markdown
Deguang/diagramFromTree
a67581c7398d45e6f6b534c11d460796c40dbb70
a653dd47eb5d20f986d48d231ec6e075da9e3281
refs/heads/master
<repo_name>mattiaferigutti/MVC-Pattern-Sample<file_sep>/app/src/main/java/com/studio/mattiaferigutti/mvcpattern/main/MainActivity.kt package com.studio.mattiaferigutti.mvcpattern.main import android.content.Intent import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.view.View import ...
f30e32fa6a34d58455017093ae602c08b995c410
[ "Kotlin" ]
8
Kotlin
mattiaferigutti/MVC-Pattern-Sample
4951c9d8688d2a2bf8f11337bcb47a8eda27ab30
520d618e261a0f38a39f6e66e1b95fda7abb1844
refs/heads/master
<file_sep>/* This is empty on purpose! Your code to build the resume will go here. */ var formattedName=HTMLheaderName.replace('%data%','<NAME>'); var formattedRole=HTMLheaderRole.replace('%data%','Software Engineer'); $("#header").prepend(formattedRole); $("#header").prepend(formattedName); var bio={ "name":"<...
e319b6a3de9f4608fbe9b0271ab2f62cd3c00dd9
[ "JavaScript" ]
1
JavaScript
MihirLimbachia/Javascript-projects
47d3d5644444b0df2883e841d617205f67c35638
0636890b68f770e9e3971fec86022b5c56004f00
refs/heads/master
<repo_name>kvnlnt/kordfu-pg<file_sep>/tasks/options/uglify.js module.exports = { options: { beautify: { ascii_only: true } }, }<file_sep>/scripts/kordfu.js var Kordfu = function(options){ // SETTINGS options = options || {}; this.DOM = {}; this.settings ...
b4f66511402ca1db599317aa71ed8c1d9eed7bc0
[ "JavaScript", "Text" ]
10
JavaScript
kvnlnt/kordfu-pg
76d8c873aae0c5a836d4203e1f40555f3c4152ed
6011c161449dc6a36c129e88aaaeed49c5d26ed5
refs/heads/master
<file_sep>value={'#':1,'a':2,'b':3,'c':4,'d':5,'e':6,'f':7,'g':8,'h':9,'i':10,'j':11,'k':12,'l':13,'m':14,'n':15,'o':16,'p':17,'q':18,'r':19,'s':20,'t':21,'u':22,'v':23,'w':24,'x':25,'y':26,'z':27} class DATrie: def __init__(self): self.base=[0]*50 self.check=[0]*50 self.tail=[] ...
e0cddb6ad765aafd238cb2f423f2d68ee254ada7
[ "Python" ]
1
Python
geekgeekvm/DoubleArrayTrie
8920fcb17db1e12b4e57f0d7dac9668ffbf24336
d519a16abc72c2310419179c86917c24d1b834a9
refs/heads/master
<repo_name>christianp82625/broadcaster_angularjs<file_sep>/js/service/outcomingsv.js /* Services */ //angular.module('myApp.services', []) myservice.factory('OutcomingService',['Mainhost','$http', function(Mainhost, $http) { return { Initialize: function($scope) { return $http({method: 'POST', url: Mainh...
a7bc2d7dc02057cfdb86ca4facb0b9d101a9c428
[ "JavaScript" ]
8
JavaScript
christianp82625/broadcaster_angularjs
71ece6bdfcc2873e9a45b3100ca372fc9a761ca3
14083b1e33339796e780b89f0229792e24aef563
refs/heads/master
<repo_name>phoenixding/tbsp<file_sep>/tbsp/tbsp.py #!!usr/bin/env python import pdb,sys,os import warnings warnings.filterwarnings("ignore") from File import * from BioUtils import BioList from sklearn.cluster import KMeans from sklearn.metrics import silhouette_score import matplotlib as mpl mpl.use("Agg") import matp...
9d0f48c136e8d71136b86de0f116d741bc22b0d6
[ "Markdown", "Python" ]
6
Python
phoenixding/tbsp
dc30c03868233c5504299c9cb0d7b2064ba9cb41
765f913491bed041ab439a3bfd9d8ae1619e5484
refs/heads/master
<repo_name>julienr/android_orientation<file_sep>/orientation_demo/src/main/java/net/fhtagn/orientation_demo/orientation_demo/MainActivity.java package net.fhtagn.orientation_demo.orientation_demo; import android.app.Activity; import android.app.FragmentManager; import android.app.FragmentTransaction; import android.os...
8bcf7bc8c243d765370be6081bfd826878deac76
[ "Java", "reStructuredText", "Gradle" ]
12
Java
julienr/android_orientation
d665663ea13fd613d21d7d073b70f87746f91ff4
83c57827c235834d3c59afabfbc6f64259b4d376
refs/heads/master
<file_sep>/* * Copyright 2012-2019 the original author or authors. * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
2368d33054bfc801766ab4903f15cd7edd85f670
[ "Go" ]
5
Go
xuyunJeff/go-spring
fafcdd1619a8efcf7e8cc13bde981738c47d49ca
316ccf5f02bc51afd5953802068ef0e8c2684391
refs/heads/master
<file_sep>public class JFT2Ex6{ public static void main(String args[]){ /** * Program to calculate a number of currency conversions * * Currency Conversion Rates: * * 1.00 EUR =0.697443 GBP * 1.00 EUR =1.08901 USD * 1.00 EUR = 135.090 JPY * */ System....
13f3420574c1bb379e9574a0b6f3ce5306c34ac6
[ "Java" ]
4
Java
alimgee/Java-exercises-topic2
57a240b7d20abdd6ef783001453b4cbb4ba40a33
32d54465b2e7e6fe1d58bfa63cb2c4b939b0a747
refs/heads/master
<repo_name>Nepcam/TimesTableGen<file_sep>/TimesTableGen/Form1.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; // NAME: <NAME> // ID: 1262199 na...
4cd4e3e450cd42cbb740124ff51145b604fb3020
[ "Markdown", "C#" ]
2
C#
Nepcam/TimesTableGen
2bdbc4e1b36dc0a9f67855e4bdd428d15387fc97
d30f068c460a2658565d94a52ea22cdf8e255cde
refs/heads/master
<repo_name>kevnprns/EasyPropertyManagement-master<file_sep>/frontend/src/app/tenant-request/tenant-request.component.ts import { Component, Input, OnInit } from '@angular/core'; import { Property, Unit, TenantRequest, PropertyService } from '../api/client/properties/property.service'; @Component({ selector: 'app-ten...
227e88bc9274b771229e75adc18905a0ab846773
[ "TypeScript" ]
5
TypeScript
kevnprns/EasyPropertyManagement-master
7d78a5c85077ba63d5e0c172f869c4206d70e4e7
51e76b2499048c4dfd662c5093b72839c8f3798a
refs/heads/master
<repo_name>GaryLi80/practice-java<file_sep>/Demo/src/main/java/book/headfirst/watch/DisplayElement.java package book.headfirst.watch; /** * Created by Gary_Li on 2017/6/24. */ public interface DisplayElement { public void display(); } <file_sep>/Demo/src/main/java/book/headfirst/category/FlyBehavior.java package...
6806da8f6416b0e517b0b9019d04b01cea9c6b65
[ "Java" ]
20
Java
GaryLi80/practice-java
813f808bd80c1c2672a4576f563621baeb1991f6
7f4a8e917b205a6897e256d9b6651539e56b490e
refs/heads/master
<file_sep>package javafxapplication2; import java.io.IOException; import java.net.URL; import java.util.ResourceBundle; import javafx.event.ActionEvent; import javafx.fxml.FXML; import javafx.fxml.FXMLLoader; import javafx.fxml.Initializable; import javafx.scene.Parent; import javafx.scene.Scene; import jav...
9ed278d1589e07d5fec5a1c505b7d5375bbc7f42
[ "Java" ]
1
Java
fither/javaProjev0.1
303a4fabdaa180b6a218291bae6493456d1316ea
1921cb41a71e8bf4978dcbf2da048424450ecbc5
refs/heads/master
<file_sep> use std::io; use std::io::prelude::*; mod token; mod Lexer; fn main() { println!("Welcome to the Money languauge."); println!("feel free to typein in commands."); let mut Monkey_input = String::new(); loop{ io::stdin() .read_line(&mut Monkey_input) .expect("Failed to re...
14d392538d943d4f18585f551a8420cbda93cdc1
[ "Markdown", "Rust" ]
4
Rust
ropman76/RustParser
38d4c4d09c62fc32766c467e7ec5cda5faa8de45
a547231680526199f3b206855bdf177b9c9f5b3b
refs/heads/main
<repo_name>feruzshodiyev/kashkar-admin<file_sep>/src/store/index.js import Vue from "vue"; import Vuex from "vuex"; import createPersistedState from "vuex-persistedstate"; import SecureLS from "secure-ls"; const ls = new SecureLS({ isCompression: false }); Vue.use(Vuex); export default new Vuex.Store({ state: { ...
7b13ae12fc6669f4fcca02f9d6dfb46fbef891a9
[ "JavaScript" ]
2
JavaScript
feruzshodiyev/kashkar-admin
0724a87eea7dcd76ef82b3da788dfd9bbd2d0cd6
91c0d10ce787e85aea5229bb7556b47340c4146c
refs/heads/master
<repo_name>branelmoro/gosocket<file_sep>/gosocket/wsInterface.go package gosocket // WsWriter describes connection object that implements all functions // for sending data over websocket connection type WsWriter interface { // Send sends message over websocket connetcion. // it returns error object is anything went...
4aa990b46c0376ee6c7db964de0bfda817424c3b
[ "JavaScript", "Go" ]
24
Go
branelmoro/gosocket
03dae63b25862b2d31f22b33601f2f15842512f1
714b2bbbeae031b109241f4f4fa489a7413fdb21
refs/heads/master
<file_sep>local uv = require "lluv" local ut = require "lluv.utils" local pg = require "lluv.pg.co" ut.corun(function() local cnn = pg.new{ database = 'mydb', password = '***', } cnn:connect() local sql = "select cast('hello' as text) as f1, cast(5.2 as float4) as f2, cast(5.2 as float8) ...
b80545d05b1881d31df3308df7ff97369f196e27
[ "Markdown", "Lua" ]
17
Lua
moteus/lua-lluv-pg
8fcb320405b3604cc528ed8c5d61e98a55303aaa
dc87c3dc24f1466c4ddb316fc381e6fbef156018
refs/heads/master
<repo_name>seesarahcode/PubLove<file_sep>/spec/controllers/application_controller_spec.rb require 'spec_helper' describe ApplicationController do describe "after devise sign in" do context "as an admin" do before do admin = FactoryGirl.create(:admin) sign_in(admin) end it "should respond with suc...
d8bdf773da35f6218ba169cce887c52e853fb26e
[ "Markdown", "Ruby" ]
67
Ruby
seesarahcode/PubLove
1ecb1868269b6d80e0d504b8e1101f7f7358e72a
57bc021f81910bf0050ada9ea55d837c7bcaf256
refs/heads/master
<repo_name>gejara83/semantix-cientista-dados<file_sep>/Q1/script.sh #!/bin/bash # Genera o encabeçamento da Tabela em formato CSV echo "Profissão;Total de empréstimos;Total de empréstimos de vivienda;Total de empréstimos pessoais;Somente empréstimos de vivenda;Somente empréstimos pessoais">./outputs/output-profession...
dd44671cd6f3adfe4392478fc1e4722185943785
[ "Markdown", "Shell" ]
4
Shell
gejara83/semantix-cientista-dados
e5e25666e13dbcb7e4338a3129ed6436e401dc8c
4b164401dc98260731e4e08af198f156da41ce63
refs/heads/master
<file_sep># URP Repository for advent of code <file_sep>#!/usr/bin/python myfile = open("data_marta.txt", "rU") lines = myfile.readlines() total = 0 #total update each time number is entered for line in lines: conv_int = int(line) total =total + conv_int print total
3689f622903b5c66c0c811df5b5914d71ddf4385
[ "Markdown", "Python" ]
2
Markdown
0RIG0/URP
93006d86ad8a28ebfc8808be912a1da25541849d
98347d478843bb7f38db44b581169d23a615bef6
refs/heads/master
<repo_name>arelsonr/my-todo<file_sep>/src/render.js const {ipcRenderer}=require('electron'); //DATA----- const db=require('electron-db'); db.createTable('tasks',(s,msg)=>{ //s -> bool tells if call is successful console.log("Table Creation Success: "+s); console.log("DB Msg: "+msg); }) var CurrentID=0; var...
99e6854b92c143e4b550f8cc30ec35a4c790899a
[ "JavaScript" ]
1
JavaScript
arelsonr/my-todo
ac14bacb454c3d49e3d472975b88e82d2b22013f
3bf22b8371474b0c1d1026e512968b155ba1a364
refs/heads/master
<repo_name>AgentElement/minecraft-armor-visual<file_sep>/minecraft_armor.py import numpy as np import matplotlib.pyplot as plt def damage_taken(damage, defense, toughness): toughness_factor = defense - damage / (2 + (toughness / 4)) damage_mult = min(20, max(defense / 5, toughness_factor)) / 25 return dam...
1a5161dfd2dd285894154b39565b4007c39100ee
[ "Python" ]
1
Python
AgentElement/minecraft-armor-visual
5a3497881f66252bb2e96f123bee783557507f62
dbb33f6fb1a2214e269a4885ff4c38e5a6e001db
refs/heads/master
<file_sep>import React from 'react'; import logo from './logo.svg'; import './App.css'; import Blog from './components/Blog.js' import Hero from './components/Hero' import Results from './components/SearchBox' function App() { return ( <div className="App"> <Blog /> </div> ); } export default App; ...
3d035a067bfec15af8bd04043ed8c7dc08a8f2f8
[ "JavaScript", "Markdown" ]
12
JavaScript
AndrewMonteith/Durhack19
b8a903090f30eb77a57f2ab69605dc8cb906a701
4e05ec973016ab685539e96657fd0508bdcaa515
refs/heads/master
<repo_name>markoo26/Basics<file_sep>/Matplotlib.py ##### LEGEND ###!### Comments to the code ##### IMPORT OF THE LIBRARIES ##### import numpy as np, pandas as pd, matplotlib.pyplot as plt import matplotlib as mpl import webbrowser ##### GO-TO ##### webbrowser.open_new_tab("https://matplotlib.org/tutorials/introdu...
c0d9ece0f38088bf80a09d22f7181e347be5d2c5
[ "Python" ]
4
Python
markoo26/Basics
405430776c7107174d5506cfbb2cd45b397dfc7a
1fe04c018676c22dfcf388f1e99256e3100e0c37
refs/heads/master
<file_sep>using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Ambiesoft { public class AmblibCppStub { private static System.Reflection.Assembly CustomResolve( object sender, System.ResolveEventArgs args) { if...
19372013ee62b2278f566b7cff005e451325681b
[ "Markdown", "C#", "Python", "C", "C++" ]
13
C#
ambiesoft/amblibcpp
fa4c99eb6b2b0858823b4fd22ec033b17ff66059
9c393c6bd84d82f6827d99623e5ab0842f6e9d6d
refs/heads/master
<file_sep># Cadastros Programa que efetuar e acessa cadastro de alunos <file_sep>#include<stdio.h> #include<string.h> #include<stdlib.h> #define MAX 100 #define TAM 50 struct Aluno{ int id; char nome[TAM]; int data[3]; //dia , mes e ano no formato dd/mm/aa char cpf[11]; // cpf sem a presença de pontuaç...
a0719a1d29fa0178c17672d93abf7dbfe79e6f36
[ "Markdown", "C" ]
2
Markdown
HaissamHammoud/Cadastros
e8e5abee6becdea58ac6cb62f3634a3740e5de69
cdb68f79af3f7c81b884f8db68d51046dddd7474
refs/heads/master
<file_sep>import os import sys ROOT = "../result/" def process(f): n1 = 0 lines = [] with open(f, 'r+') as f: while True: line = f.readline() if not line: break for i in range(len(line) - 1): if line[i] == "{": ...
3bc06c3656122c8423634f44581d9b3e5f5c8571
[ "Python" ]
1
Python
shinjong93/test
787b5f86e9cd047c0a3880601597054ce90d00e2
ac994ed9dfa1f5ddab3392e60e537a62793bb15f
refs/heads/master
<repo_name>JDchauhan/cmdDictionary<file_sep>/README.MD # COMMAND LINE DICTIONARY instructions to run 1. run `npm install` 2. run `chmod +x ./dict` in root directory of project (it may require sudo access on ubuntu)<file_sep>/dict #!/usr/bin/env node 'use strict' const dotenv = require('dotenv') dotenv.config() con...
22608caa04ebc561638fc83145c708b0afd53299
[ "Markdown", "JavaScript" ]
2
Markdown
JDchauhan/cmdDictionary
e32a12a5b59f3fe632e666aedec0ced302d9b57b
68a28ec68f00cf0d1f7a8bd1fcb7e3f7a9ef5d8d
refs/heads/master
<repo_name>ryannetwork/data-deidentifier<file_sep>/app/components/home/services/definition.factory.js (function () { angular.module("deidentifier") .factory("DefinitionFactory", DefinitionFactory); var _ = require("underscore"); DefinitionFactory.$inject = []; function DefinitionFactory() { ...
140e8a8349aca3392c02daab95ac3ad7cfd46a0c
[ "JavaScript" ]
4
JavaScript
ryannetwork/data-deidentifier
94dc587ddb60364d7eef16448ef6cfccbae4322b
72209d6ec31af29bcdd8e74e6997d29070a90bad
refs/heads/master
<repo_name>Syerram/summit-hands-on-labs<file_sep>/na-2020/cf-for-k8s/README.md ## Introduction In this hands on lab, attendees will learn how to deploy Cloud Foundry on a Kubernetes (cf-for-k8s) project to a Kubernetes cluster, push cf push apps, deep dive into cf push workflow, inspect various cluster resources creat...
75e2778fbc8d337716401f979bcc7e36f07d11a4
[ "Markdown", "Shell" ]
4
Markdown
Syerram/summit-hands-on-labs
dd902c75567b8f75b230f13227fb850ccdf4b558
0b8f249a096f20b9669c10980df9da2acf914117
refs/heads/master
<file_sep><?php namespace Source\App; define("URL_TRF1", "https://processual.trf1.jus.br/consultaProcessual/"); use KubAT\PhpSimple\HtmlDomParser; class Trf1 { private $numProc, $cpf, $numProcOrigin, $param; // Getters public function getNumProc() ...
a81564318cc4e85ced95f0c2af6ce2a1de73df85
[ "Markdown", "PHP" ]
6
PHP
PablNico/macohinAPI
5d99c14eafb79d312b5a3ea612d30edc3ece973e
f6bb2293400354e5102851522f604448a2c9b02b
refs/heads/main
<repo_name>mozey/svelte-admin<file_sep>/packages/core/src/types.ts import type { QueryStatus } from "@sveltestack/svelte-query"; import type { UseGetListResult } from "./useGetList"; import type { Notification } from "./notifications"; export type DataProvider = { getList: <RecordType extends ResourceRecord = Resour...
a181fec49766574dbf4a90b3a89d7207edad4f89
[ "JavaScript", "TypeScript", "JSON with Comments", "Markdown" ]
22
TypeScript
mozey/svelte-admin
0ab53d3f74f65ef4fa46626425bf2365cac36c92
87c70e2e311a3b940a90c215f7d88ed5e32e94a5
refs/heads/master
<repo_name>kelvinalves/C-digos-diversos<file_sep>/lista04/02.c #include <stdio.h> #include <stdlib.h> typedef struct tempo { int m, s, d; } tempo; int medida (tempo *t, int n) { printf("Medida t%d: ", n); scanf("%d %d %d", &t->m, &t->s, &t->d); return t->m * 6000 + t->s * 100 + t->d; } tempo diferenca (tempo ...
dcaed3d8d2bc44ac5957bc7e6f4c353f239c0dfe
[ "C" ]
39
C
kelvinalves/C-digos-diversos
d52c1cf69334c673c42928c1ddf0b9d512184176
9fe88d637e318e81a823589a2d673a2bda85b1dc
refs/heads/master
<repo_name>jkong85/dpdk_testbed<file_sep>/cni/ovsBridge/ovsBridgeOP.go package ovsBridge import ( "errors" "service/log" "snc/service/template" "sync" "utils/runcmd" ) type ovsBrHandler struct { sync.Mutex bridgeData } type bridgeData struct { bridgeName string bridgeIP string bridgeMac str...
606366bb37b4eff2e76644615c742688e8ca270c
[ "Ruby", "Markdown", "Go", "Dockerfile", "Shell" ]
15
Go
jkong85/dpdk_testbed
cd82b1f592b20c2cbd75a7cdd04d0b79b59a3174
cc6cfe9997180ce2797bd79baab80afb6b44ec3f
refs/heads/master
<file_sep>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 WF_Test { public partial class MainForm : Form { protected DateTime ...
ae5124955add17d7e32b2b3bca7182c6495e707d
[ "C#" ]
9
C#
SerhiiRakovych/Court_Tabel
74ff0f9307db50ef486640aec90b8acf7ad65094
bc6d917f6d97457237747503697c81df6d684ba5
refs/heads/master
<repo_name>a0979225002/brad10<file_sep>/app/src/main/java/tw/org/iii/brad/brad10/MainActivity.java package tw.org.iii.brad.brad10; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import androidx.core.app.ActivityCompat; import androidx.core.content.ContextCompat; import android.Ma...
210226344b689c94acce6d92b2ad8f57736a3977
[ "Java", "Gradle" ]
2
Java
a0979225002/brad10
c19ad55fcc9d35ae5b1add1053f7416a861766a6
6a0f38d098cb0c6443fcb01ab6fa29991c901d4c
refs/heads/master
<file_sep>"""empty message Revision ID: 558d2d8d5eda Revises: Create Date: 2020-01-30 20:12:57.374631 """ from alembic import op import sqlalchemy as sa from sqlalchemy.dialects import postgresql # revision identifiers, used by Alembic. revision = '558d2d8d5eda' down_revision = None branch_labels = None depends_on ...
313a6a6f2b4de59778c74dfe7e978495e17531cb
[ "Python" ]
2
Python
schaxz/testing_circleci_db
d3d822ef619acd5575961288f69298fb16f40f25
2c43351e6ecdead29b39bd78d104b1f421f81767
refs/heads/master
<file_sep>from app import grosus, db, login_manager from flask import render_template, redirect, flash, url_for from flask.ext.login import login_required, login_user, current_user, logout_user from .forms import LoginForm from .models import User, Law, Deputy, UserVote from config import LAWS_PER_PAGE, DEPUTIES_PER_PA...
524f9b1b6ff3a6325d88cbaa4360a053f44be388
[ "Python" ]
7
Python
vifactor/Grosus
19a1baee5435c8d4a3df5d4e423287bb1ac3eb60
ee1375746cb61dadf1b60fe3a6283cbd82f381df
refs/heads/master
<repo_name>LEulin/LEulin.github.io<file_sep>/README.md # countnotifier.github.io<file_sep>/index.js var app = require('express')(); var http = require('http').Server(app); var io = require('socket.io')(http); var exp = require('express'); var fs = require('fs'); var port = process.env.PORT || 3000; var users = []; va...
f4a111c23925f9779aaaed96fd0baad4851da28c
[ "Markdown", "JavaScript" ]
2
Markdown
LEulin/LEulin.github.io
6b053e1bbb5f676be0a18459041f910b394a31a7
42d58f4d6d40cf55e06ab4bc81eb16db79fc8bd9
refs/heads/master
<repo_name>shestera/berloga<file_sep>/mondb/views.py from django.views.generic import ListView from mondb.models import Post from django.http import Http404 from mongoengine.django.shortcuts import get_list_or_404 class List(ListView): queryset = Post.objects() template_name = 'test.html'<file_sep>/mondb/api....
f7a7cdf2a5429525e2b05ddc86323478e0a53279
[ "Python", "Text" ]
9
Python
shestera/berloga
5cd56cc21bdf78c9a653f8c23caa08bd08afd698
2ce0a9484fb94eeaed5e8b18513f966238366916
refs/heads/master
<repo_name>NicoChel/Demo-Class<file_sep>/MyClass.cpp // Implementation File #include "MyClass.h" #include <iostream> #include <string.h> using namespace std; MyClass::MyClass(){} MyClass::MyClass(int n, string s) { num = n; room = s; } MyClass::~MyClass() { } void MyClass::setNum(int x) { num = x; } int...
b6a2955e42108f7c3b24a36aaab02ef8fea9796d
[ "C++" ]
3
C++
NicoChel/Demo-Class
951accec534d641e176c97084f1ce7b62c181a5b
4316b46e89a14c275ec34683f6fe6377c5f685e5
refs/heads/master
<file_sep>const weatherForm = document.querySelector('form'); const search = document.querySelector('input'); const message1 = document.querySelector('#message-1'); const message2 = document.querySelector('#message-2'); weatherForm.addEventListener('submit', (e) => { e.preventDefault(); const location = search...
fcc4901502a31b5ff0c16a59389d8ef907f75397
[ "JavaScript" ]
1
JavaScript
shivam-kr216/Weather-app
0499dae04750a67ea3d5a5d4db516c64d45fb369
70a84aee7a7356582a500eab4b8ea86b8eaaa6b3
refs/heads/master
<file_sep>import numpy as np import imblearn.under_sampling def imb_undersample(X_tr, y_tr): ''' Imbalance undersampling approach Input: training X, training y Output: X_tr_rs (resampled training X), y_tr_rs (resampled training y), RUS.sample_indices_ (indices of samples taken) ''' n_pos = ...
018b3277251c98a0a004c95e84076a2de9ff665c
[ "Markdown", "Python", "Text" ]
8
Python
emilyng/NYT_Best_Sellers
bd86d18a32b0e9d3a801027f0b3d2f81aad0da02
af4bc5f6a72689a4738284f17972682bf5ecdb20
refs/heads/master
<repo_name>rangesh-/Design-Patterns<file_sep>/Design Patterns/Program.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using Design_Patterns.Bridge_Pattern; using Design_Patterns.Decorartor_Pattern.Component; using Design_Patterns.Decorartor_Pattern.ConcreteComponent; using Desi...
9b032af72aa238cd306664349f48f19e0289a398
[ "Markdown", "C#" ]
23
C#
rangesh-/Design-Patterns
1bc60b45cba691643e1b74440fcafa473cba6c85
a187f7a6dd159d9c3cc7334443c88b68256f3ee9
refs/heads/master
<file_sep>= Has Many Prevent Dups This project rocks and uses MIT-LICENSE.<file_sep>require 'test_helper' class HasAndBelongsToManyTest < ActiveSupport::TestCase end<file_sep>module WritersTest def test_collection= each_association do |collection| item = send(collection, :one) @object.send("#{col...
34c3210749e24e8ef5412e3220a3a6aaea38bea8
[ "RDoc", "Ruby" ]
16
RDoc
jameskerr/has_many_prevent_dups
a863a3f3905e4d06c70b1a1cf2fe4ecca4ed21ab
38224e1ee1db42feecd0bd21f9c5a35fb7c1b1fa
refs/heads/master
<repo_name>stacygoff/Precision-Electrical---New<file_sep>/js/new_project_javascript.js //function for button Residential or Commercial at the bottom of the page// function myFunction() { var text; var whatService = prompt("Which service do you need Commercial or Residential?"); switch (whatService) { ...
49ee0ec92f1c5d6eccd497be857d3b92b8001b86
[ "JavaScript" ]
1
JavaScript
stacygoff/Precision-Electrical---New
573927146bacc9bb6eb647b864da9df63e6aee5b
aa2da45491b41e34b8a1d9b6ce6767b39931d674
refs/heads/master
<file_sep><?php /* * Configuration file for recession_indicators.php. * This file sets directories and certain variables for the functions, objects and any input files that are used to process OECD and NBER Recession Shading Data */ $cfg = array(); //define root directory $cfg['recession_shading_root'] = __DIR__; ...
365f611f41208c2d5dbe92f98d34c3195a82363b
[ "PHP" ]
7
PHP
maxtiff/recession_indicators
a779fb6f9102839b8f4bbda00236193a7ae29dd5
c4c1b6217b641afc7244403c05a4f8062e1f230e
refs/heads/master
<file_sep>import React from "react"; export default class Deck extends React.Component { // generateDeck() { // let gameDeck = []; // const numOfDecks = this.props.numOfDecks; // let suits = ["Clubs", "Spades", "Hearts", "Diamonds"]; // const faces = ["Jack", "Queen", "King", "Ace"]; // const pipValues =...
fa2a3dc17c922aa7a946f0e1be398ec3f53a4ae3
[ "JavaScript" ]
3
JavaScript
dubKelly/fullKelly
5ef764c0abcb6313ca344388651743a383a766e8
22b70b00f4f3ce94055bcc996a425e83ddf2adb7
refs/heads/master
<repo_name>divz141/shared-library<file_sep>/env.sh #!/bin/bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" echo echo "Setting up Environment..." echo export BIN_DIR=${DIR}/bin export DOCKER_DIR=${DIR}/docker export LIB_DIR=${DIR}/lib export XCLOUD_ENV=1 for x in ${BIN_DIR}; do case ":$PATH:" in ...
e0087caf6779bca9247d82afacfe0f80fac9899a
[ "Shell" ]
1
Shell
divz141/shared-library
c39cdaa75e2650f30aa46b1d59b5af962c2e91c2
b639c8debbdbf40b80362d4c4d14238a93534c0e
refs/heads/master
<file_sep> import java.awt.Color; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.FocusEvent; import java.awt.event.FocusListener; import java.io.IOException; import java.net.UnknownHostException; import java.util.Vector; import javax.swing.ButtonGroup; import javax.swing...
de0ec5a6e0fbe7a991f91ecee23fff024ca8e9aa
[ "Markdown", "Java" ]
2
Java
ashmgln/Loktra-Questions-
50a35a31d311048a0f530afac6fd120bf5601ff8
d93ff8ee719cbd1c89340c31f739c6d3f71689c9
refs/heads/master
<repo_name>SorryInAdvance/Final-Project<file_sep>/GardenWars/Assets/Scripts/DeckConstructorButton.cs using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class DeckConstructorButton : MonoBehaviour { // Use this for initialization void Start () { ...
13dc9020cec60fb8139211ca41ea9ffb636b9509
[ "C#" ]
12
C#
SorryInAdvance/Final-Project
1dd001766c7dc73f618d68f9a0bbebac25c8ecc0
0b45abb706e734c65559a056a4eef53ef6b04837
refs/heads/master
<file_sep> # Create your views here. from django.shortcuts import render from . import executer # Create your views here. def home(request): return render(request,'rtos/rtos_index.html') def rms(request): if request == "POST": inp = request.args['input'] out = executer.execute('RTOS/rate_mon...
cd38ace89218f1048f0eb91234ea7cb07e268beb
[ "Markdown", "Python" ]
2
Python
Spraveennaik/OS-
6335cbd837000e44cc1bc777180bbf8482ad86f5
cbcb0504d7bbeca06d89bceef9064440d91a8115
refs/heads/main
<repo_name>sasmithaasrinivasan/CourseReviewPortal_2020<file_sep>/html/pro.php <?php include('db.php');?> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link rel="stylesheet" href="prof.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-a...
a90affdd070e4e73b388116808882ed52696b348
[ "Markdown", "JavaScript", "PHP" ]
40
PHP
sasmithaasrinivasan/CourseReviewPortal_2020
eea86e84ebc6d0061ce608aa9c6fb5f301870f7b
d0fd30c1cbd2ee794424256b314e46982f0c2f6c
refs/heads/master
<file_sep>using System.Collections; using System.Collections.Generic; using UnityEngine; public class Enemy : MonoBehaviour { [SerializeField] float moveSpeed = 1f; Rigidbody2D myRigidBody; BoxCollider2D colision; CapsuleCollider2D hurting; Animator animator; // Use this for initialization ...
ad88ed0d7a2cc27134fe77adfd7104557aa21c56
[ "C#" ]
10
C#
andristofrank/MemoRun
f94dab406e39a38991e3cf4ff9f006de13e56be8
fde619d96cf4a7681be347c4abb6b8ee83d80824
refs/heads/master
<file_sep>package roshetta.roshetta; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; //import com.facebook.FacebookSdk; import android.view.View; import android.widget.Button; import android.widget.TextView; import android.content.Inten...
d279d7548a2e0ccb52198a47720c528da3220627
[ "Java" ]
2
Java
Raniia/Roshetta
485b4df7bc4cbfd8a5776fd4ecd43b98f5181023
d2bcc867ffb2f78dfc4e16e3e3d596c06914f014
refs/heads/master
<file_sep>const findEmbed = require("../modules/docs/findEmbed"); const randos = [ "The hell you think this is, the dictionary? I don't know everything, and certainly not `{word}`!", "`{word}`? `{word}`???? Since when was *that* an enmap feature?", "I'll have you know, punk, that I only do Enmap, and `{word}` is...
e4ceca9f43a73296bed7aaab34079a514e253706
[ "JavaScript" ]
1
JavaScript
Rhino149/etiket2
2fa948c0b7d1c2e188a2177c7ccc7afc7d9e4e87
f128537a1eebaf7119e32bc5a93cffc3e9771026
refs/heads/main
<file_sep>###version 1: #nsim = 1000, n = 150, b1 = -20, b2 = 0 library(tidyverse) library(pwr) library(brms) library(lme4) library(naniar) options (contrasts = c("contr.sum","cont.sum")) ## set plausible to plausibility1 surface_and_base_freqs = read_csv("Surface and Base Frequencies of Korean Passives v2.c...
f7248022bea298bf81143bcf37f9cfd6846f78be
[ "Markdown", "Python", "R" ]
5
R
znhoughton/KAIST-Corpus-Organizer
dd1426b82dd0f24182197e67cce16ed95786a38b
63a7d255170ef1e963c5d4e9525c8106a826d691
refs/heads/master
<file_sep>// Run this file with: $ node asteroid.js // I've provided some helpful starter code. const api_key = '<KEY>' const start_date = '2019-03-16'; const end_date = '2019-03-23'; const request = require('request'); const url = 'https://api.nasa.gov/neo/rest/v1/feed?start_date=' + start_date + '&end_date=' + end...
0112866f389b840ba8ad13aab9edfbd4745b4bbd
[ "JavaScript", "Markdown" ]
2
JavaScript
jchen008/mpcs52553-hw4
1dcfb654584bf4ad11ffdbb32208f24b9ea0c9f5
11c27d1e7ff639eb8feda8f364291a770b029fae
refs/heads/master
<repo_name>abimanyurizqi/inventory-web-client-reacjjs<file_sep>/src/pages/transactions/styles.js const styles = theme => ({ buttonContainer: { margin: theme.spacing(2), display: 'flex', justifyContent: 'flex-end', }, buttonContainer2: { margin: theme.spacing(2), displ...
60bf602f402c2508b73f31149c5d7d50175dc638
[ "JavaScript", "Dockerfile" ]
20
JavaScript
abimanyurizqi/inventory-web-client-reacjjs
8ef75bf7c5f920c72c6bd88933db9b3283700604
b776fd3a3573acff31ece8370c34ccd675db7c11
refs/heads/master
<repo_name>KiaFathi/famousPhotosApp<file_sep>/README.md famousPhotosApp =============== An app to change the way you share photos with friends <file_sep>/www/src/main.js define(function(require, exports, module) { // import dependencies var Easing = require('famous/transitions/Easing'); var Engine = requir...
a140f01b87429cf569128b1e03145921ca2ea079
[ "Markdown", "JavaScript" ]
2
Markdown
KiaFathi/famousPhotosApp
52de2b70a37c9325d2bfe8a3b58c9e3375a474a4
89b1e67845fc8142418c1d4cff77682c7fa4603f
refs/heads/master
<file_sep>package de.redstoneworld.redcommandblock; import com.google.common.collect.Multimap; import com.google.common.collect.MultimapBuilder; import org.bukkit.ChatColor; import org.bukkit.Location; import org.bukkit.World; import org.bukkit.block.Block; import org.bukkit.command.BlockCommandSender; import org.bukk...
8e31e83ee53b8d0246d9922f7d04d52d3b382805
[ "Java" ]
1
Java
RedstoneWorld/RedCommandBlock
d44742aa92f70ab68464b25393f1127d31537d69
d2af6437fac95cc353403b98efb5b0ad8880f615
refs/heads/master
<file_sep>import React from "react"; import Card from "react-bootstrap/Card"; import "./Repos.css"; import reposData from "../data/repos.json"; function Repos() { return ( <div id="Repos"> <h1>Wuilt Projects</h1> <ul class="cards"> {reposData.map((project) => { return ( <...
02babc343ad0e449de7e3bae7e20472df09d78c3
[ "JavaScript", "Markdown" ]
5
JavaScript
MoatazAbdAlmageed/home-page
3bc1f1a8f31ef40df8e09aef0dbf966f886be05f
11e8fe88ecf13c6b904d100007c934b8bc217baf
refs/heads/master
<repo_name>jlaezi/video-maker<file_sep>/robots/text.js const algorithmia = require('algorithmia') const algorithmiaApiKey = require('../credentials/algorithmia.json').apiKey const sentenceBoundaryDetction = require('sbd') async function robot(content) { await fetchContentFromWikipedia(content) sanitizaContent(co...
8b6eb404526ec8a99e375b39ba8e9252592046e7
[ "JavaScript" ]
1
JavaScript
jlaezi/video-maker
3dc91a51cb65eb5867e559b91dadf7c3f3ed2868
a6e630d14facbd82013987d9be0d4fce63446945
refs/heads/master
<file_sep># jn_lecture #### result json{ name: seiucchan, kg: d-hacks, grade: B3 } mysqlarray(3) { [0]=> array(2) { ["id"]=> string(1) "1" ["name"]=> string(9) "seiucchan" } [1]=> array(2) { ["id"]=> string(1) "2" ["name"]=> string(10) "kg:d-hacks" } [2]=> array(2) { ["id"]=> string(1) "3" ["name"]=> string(8) "grade:...
9910ab2e0dd7c77651093077908d65fd871fb0a2
[ "Markdown", "PHP" ]
2
Markdown
seiucchan/jn_lecture
a4537a3726c5829d613cae91a9b82ec2d14aa2e5
1b4b9f89adbc2d925da79c02c56bbdb15628c93f