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><?php declare(strict_types=1); namespace Scn\DeeplApiConnector\Enum; final class LanguageEnum { public const LANGUAGE_RU = 'RU'; public const LANGUAGE_PT = 'PT'; public const LANGUAGE_DE = 'DE'; public const LANGUAGE_ES = 'ES'; public const LANGUAGE_NL = 'NL'; public const LANGUAGE_...
072516cfc24b793370448f677c11c2d1da246cb1
[ "Markdown", "PHP" ]
60
PHP
SC-Networks/deepl-api-connector
044cc2003093831ac5f0d7a852dcf19cb730eef1
df9ca43f75ebdedd1fa7cf25bbf45609a73fe29b
refs/heads/master
<file_sep>require 'rubygems' #uncomment the following line to use spork with the debugger #require 'spork/ext/ruby-debug' # Loading more in this block will cause your tests to run faster. However, # if you change any configuration or code from libraries loaded here, you'll # need to restart spork for it take effect. ...
c4884f169d402de0e4ea75fdb435d8285b4b43d5
[ "Ruby" ]
2
Ruby
johaned/beta-app
cbed9cc8a99c38199251f30e12739bb7585314f0
417e63777b928511544bc5fbd10b7c2ed6508eb1
refs/heads/master
<file_sep>#exercise n. 1 words = ["laboratory", "experiment", "Pans Labyrinth", "elaborate", "polar bear"] words.each do |word| if word =~ /lab/ puts word end end #exercise n. 2 #nothing, the .call method inside the method block is missing #exercise n. 3 #exeption handling, handels errors and unexpected event...
f7641dc542b5f16a66efbf18125a91aa40570465
[ "Ruby" ]
53
Ruby
MrChriss/Ruby
c5aa1f79faac12373b9967fb0c859a9bd2e475c5
a09ccfffe48507becc33366644d05fee565a7863
refs/heads/master
<repo_name>Leixor/sockel<file_sep>/src/client.ts import WebSocket from "isomorphic-ws"; import { IsConnectedMessage, Message, WebSockel } from "./webSockel"; type OnMessageCallback = (data: any, ws: WebSockel) => void; /** * A webbrowser and node ready implementation of a sockel client * * Can only be instantiated...
6d001ab266ce8c6318bd085fb617225b32befcb6
[ "Markdown", "TypeScript" ]
5
TypeScript
Leixor/sockel
92ee51c349e74ac8aea4a43397ff6a07954d68ba
0b14d4f05a349ef3f369063094f3eaf96b0bd8c2
refs/heads/main
<repo_name>dancock/qa_engineering_assessment<file_sep>/__tests__/challenge3.test.ts import { Widgets } from "./pages/Widgets"; describe("widget sum tests", () => { let widget = new Widgets(); beforeEach(async () => { await widget.navigate(); }); afterAll(async () => { await widget.drive...
cb762d0bb4ed7797adc957d80cd9628669847b74
[ "TypeScript" ]
1
TypeScript
dancock/qa_engineering_assessment
dd336c67ce12af00d120667de55f8127c250095b
95a8c3eabc4f3a5e795b429c6033b584d38efcbb
refs/heads/master
<file_sep>function currentLine(line) { if (!line.length) { //checks if line length = 0 return "The line is currently empty." } const numbersAndNames = [] for (let i = 0, l = line.length; i < l; i++) { numbersAndNames.push(`${i + 1}. ${line[i]}`) //adds people in line to array numbersAndNames ...
8c66f16c1c473a41a94a2d25662f4fc5dae9e46c
[ "JavaScript" ]
1
JavaScript
jpets/js-deli-counter-js-apply-000
660c786b9e2961c5ac13957f21f80a7b8e81ecca
5f202fe6d7cda4dde0483c132c9bfd71d1716965
refs/heads/master
<file_sep>from flask import Flask, render_template, redirect, url_for, request, session, flash import smtplib import imghdr from email.message import EmailMessage import os # Development only # import env as config app = Flask(__name__) # Development only # app.config['SECRET_KEY'] = config.SECRET_KEY # portfolio_use...
fb4091c9658d087a9e9e175feb65f2090d6a2053
[ "Python", "HTML" ]
2
Python
jacqueline-walsh/jacqueline-walsh
f62a5eb48df501802257bcbf5d7cf07854e0ec02
3b0be9ae0a79d0fe310876e6ad9e4da4e571ecac
refs/heads/master
<repo_name>Niass/ajax-fetch-axios<file_sep>/script.js const jokeDOM = document.querySelector("#chuck-norris p"); const btnFetch = document.querySelector(".btn-gradient"); const btnAxios = document.querySelector(".btn-gradient.orange"); const avatar = document.querySelector(".avatar img"); console.log(avatar.src); btnF...
b25b81a61250c3d06ce37f3633445ad97fd2917b
[ "JavaScript" ]
1
JavaScript
Niass/ajax-fetch-axios
fbeb54d0e10e1adde6d8b66170185e1117d5ad31
e27eb35db443217d0aa08e8e07512a6a8d40b085
refs/heads/master
<repo_name>souvikiisc/DS222<file_sep>/reducer_test_1.py #!/usr/bin/env python3 #from itertools import groupby #from operator import itemgetter import sys import math totalw_class_count = dict() prior_count = dict() p_word_count = dict() vocab = set() classes = set() def load_values(): f = open('ref1','r') for...
c63a50bdd0dbb80997acd578841a4801652a19a2
[ "Markdown", "Python" ]
4
Python
souvikiisc/DS222
6e74f93d59b0c9eebc14986a85c8dff18cf461de
ad43786f9ecadd15c2a7fcc639c4365af5a31739
refs/heads/master
<file_sep>#ifndef ARKANOIDERROR_H #define ARKANOIDERROR_H using namespace std; #include <string> #include <stdexcept> #include <sstream> #include <stdlib.h> class ArkanoidError : public logic_error { public: ArkanoidError (const string& what_arg) : logic_error(what_arg) {} // gives info about the type of error v...
9e7a54449d0792a5f2d19ea9ab8ccc9125a061fa
[ "C++" ]
47
C++
bSolla/TPV-P3
d0d2924b81dd12361583149625a1fbd1d5cb253f
0a86bafc36df780b40175a2d6b00ff02c51c33d6
refs/heads/master
<repo_name>giorgospetkakis/diary-game-unity<file_sep>/Assets/Scripts/minis-misc/SandwichIngredientAccept.cs using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class SandwichIngredientAccept : MonoBehaviour { public int breadCount, sThresh; public int sandwic...
0c28ea555bf828ba58c7a46db91766b29d1bfb90
[ "C#" ]
14
C#
giorgospetkakis/diary-game-unity
acf267d61125dd9b2d948bfb997c2ef24d30e1d0
f62acd6c431eb3174dd3d9dc4e52cea4088b61ac
refs/heads/master
<file_sep><?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <par...
84075bab6da8bad053ad154da1b51c8bbfb6219d
[ "SQL", "YAML", "Markdown", "Maven POM", "Java", "Dockerfile" ]
11
Maven POM
edgeowner/springboot-quickstart
c2db067a492cff03edb82e28255a698ba8e7b958
cc3311ba4a7d698d397291cab3effd8478d30abe
refs/heads/master
<file_sep>use std::vec::IntoIter; enum Token { Lambda, Dot, Ident(String), } fn ident(s: &str) -> Token { Token::Ident(s.to_string()) } #[derive(Clone, Debug, PartialEq)] enum Term { Abs(Box<Term>), App(Box<Term>, Box<Term>), Var(usize, String), } fn abs(t: Term) -> Term { Term::Abs(...
58c3a043fa03e9d910eb75e671965eb0592d0b43
[ "Markdown", "Rust" ]
2
Rust
elpinal/parse-and-substitution
314bd7b95c86fa7ef21afc06f959b1d9754f9f68
b4135561a07911462bfa56becf383cb2ce62f95c
refs/heads/master
<repo_name>alexeukylik/sliderEs5<file_sep>/index.js // var slider = Object.create(Slider) Slider.start(); Slider.SendGet(AjaxReqvest); // Slider.start(); // AjaxReqvest.SendGet();
da1a9d7f0018dc39831585d5b8516f244ae3b387
[ "JavaScript" ]
1
JavaScript
alexeukylik/sliderEs5
d8fc522b6b012f3ea5e4d30214fdc0d4f982771a
af07fb99781a051e959492b8d42163ea5bc0a48f
refs/heads/master
<repo_name>AndreySuvorov1234/CompareDocApp<file_sep>/Driver/docCompare1.py from Driver import difflib import docx class DocCompare: def __init__(self, doc1=False, doc2=False): self.docPath1 = doc1 self.docPath2 = doc2 self.text1 = "" self.text2 = "" self.text1_words = "" ...
c0491b3040326964a785a7567f10694934395d5d
[ "Python" ]
2
Python
AndreySuvorov1234/CompareDocApp
266ac7dc671a7fa0bf498074ceeee2cb6cad1ace
da5d886b6b7e698cec87e46cff98b15bba317050
refs/heads/master
<file_sep>/** AUTHOR: <NAME> VERSION: 1.0 CREATED: 2-12-16 ASSIGNMENT: Text Adventure Scene Changer */ "use strict"; import FileIO from './FileIO.js'; export default class SceneChanger { constructor() { } selectScene(choice, counter){ let fileIO = new FileIO(); const CHOICE2 = 1; ...
35885206cdb42120500438d005e5255115825820
[ "JavaScript" ]
2
JavaScript
CommunistSasquatch/TextAdventure
a65f60635ac918a177a07f2825c7eb8f16577604
c433088e293f92888ed12e1583fea123a635cb3b
refs/heads/master
<repo_name>lys861205/work<file_sep>/readme.txt 文件cfg.ini配置说明 1 配置文件是供脚本ssh.sh使用的,读取信息供ssh连接远程进行操作 2 配置文件格式ini,内容 [server_1] ip=127.0.0.1 user1=test1 passwd1=<PASSWORD> user2=test2 passwd1=<PASSWORD> file=/home/ftotp/t.sh;/home/ftotp/t1.sh 如果有多个服务器,可以添加section, 格式如上。注意:section的索引从1开始,必须依次递增。 3 配置文件各项说明 [serve...
c9daf55c9a19806fe0f6cc26644d01896d9da9be
[ "INI", "Text", "Shell" ]
3
Text
lys861205/work
b8a9b71a5228222eee2b2afc44d13d65570c88c6
464b46aa12db49444cfc735a089aa4c47ee23f4b
refs/heads/master
<file_sep>package it.polito.tdp.flight.model; public class Route { private int routeId; private Airline airline; private Airport sourceAirport; private Airport destinationAirport; private String codeshare; private int stops; private String equipment; public Route(int routeId, Airline airline, Airport sour...
eb9c0a5bdcebd3f134a091cc79c7b01eb8a78ea7
[ "Java" ]
2
Java
MatildeFrancois/Flights
fa1e04b796c5b8b0b99e1d470a67ad69e57ce51b
24fafeb0bbebc20ab6de65cf0c334378dbea1baf
refs/heads/master
<repo_name>kirk-zZ/SIA<file_sep>/BSIT-3B SIA-20210404T045124Z-001/BSIT-3B SIA/SIA - Reservation/Resources/sia-reservation/android/signup.php <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>iHotel</title> <link rel="stylesheet" hre...
dcb628159d8958a6849beced3cb49984371cf1cb
[ "JavaScript", "PHP" ]
47
PHP
kirk-zZ/SIA
59697cfc3193bcf757bbc1fa0be52ea832eb5b95
bfd211edc6537706469755dc9acdf38e8f77cd62
refs/heads/master
<file_sep>from pylab import * from scipy.optimize import * from scipy import optimize a0 = 0.1 sig = 0.01 w0 = 100.11 def f(x,t): x0 = 1.0 + a0* sin(w0 * t) a = 1. + np.random.randn() * sig return a*exp(-(x-x0)**2/2) x = np.linspace(-5,5) for t in np.linspace(0, 10, 100): plt.plot(x,f(x, t), 'b-',...
7fb71884a1b6095cea4824c97f3dc0db0e370566
[ "Markdown", "Python", "Text", "Shell" ]
47
Python
iagapov/old_bd
a51dc05b17ccd26a1bdcb4b03c8ef86595e61824
12f56d0d335e402429fdcfb5f9a0d4427d0d5f8b
refs/heads/master
<repo_name>rajjejosefsson/code-styleguide<file_sep>/SUMMARY.md # Table of contents * [README](README.md) * docs * [react](docs/react.md) * [javascript](docs/javascript.md) * [airbnb](docs/airbnb.md) * [typescript](docs/typescript.md) * [demo](docs/demo.md) <file_sep>/src/theme/index.js import hex2rgba from ...
5d114306d5e25ef154d067f256ca0be126c4adb1
[ "Markdown", "JavaScript" ]
21
Markdown
rajjejosefsson/code-styleguide
706bc23dd87d4411811b964d5373e4f5a546c968
33904ba9b6249e280361ed0fc383c615c36df7ae
refs/heads/master
<file_sep>const client = require('../redis'); //const { clientRest } = require('../client/client'); //const clientRest = require('../client/restClient'); var Redis = require('ioredis'); var redis = new Redis(6379, 'localhost'); var Client = require('node-rest-client').Client; // direct way var clientRest = new Clie...
030a43a0cf6dadd87ebc8382d80832e5d5c3b8a6
[ "JavaScript" ]
5
JavaScript
ricardoenriquez/RedisApp
ebe5a23367c5173a46dbc4447b9d808fc7e596d1
557805411f745030823960d55d7454119ef0634c
refs/heads/master
<repo_name>929364989/JsInjectLib<file_sep>/x5Lib/X5WebViewNotification.h // // X5WebViewNotification.h // x5Lib // // Created by 123 on 2019/1/18. // Copyright © 2019年 xw. All rights reserved. // #ifndef X5WebViewNotification_h #define X5WebViewNotification_h #define X5WebViewNotification_setOrientation @"s...
e0e9bc72b4479357fea91e8c7d22c2e606246f16
[ "JavaScript", "C" ]
2
C
929364989/JsInjectLib
0939eb85bf77638a91b0c9b19773de157c4c2a7f
835f10710c02c55414e0d40568b15c7d7122a8ff
refs/heads/master
<repo_name>dscrane/js_quiz<file_sep>/README.md Making a simple quiz app with vanilla JS, HTML, CSS. <file_sep>/scripts.js // Defined DOM elements used throughout // Previous and Next buttons const previousButton = document.querySelector(".quiz__cta-previous"); const nextButton = document.querySelector(".quiz__cta-next...
85533e2115f35f2001740bbc91ab64fc9e177837
[ "Markdown", "JavaScript" ]
2
Markdown
dscrane/js_quiz
bcc26bf2ecea1a97af5af0b8be994f6acd75634a
38882531a30135c786cdcb487e9248c3218ea57a
refs/heads/master
<file_sep><?php namespace App\Http\Controllers\Organiser; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use PhpOffice\PhpSpreadsheet\Writer\Xlsx; use PhpOffice\PhpSpreadsheet\Exception; use Illuminate\Support\Facades\Redirect; use PhpOffice\PhpSpreadsheet\IOFactory; use PhpOffice\PhpSpreadsheet\...
ebf3e196826515890e32dbf27abb9b730a2a9465
[ "JavaScript", "PHP" ]
80
PHP
ssegers/reizentechnologie
d977dec6e1b71c67ae80651efe6b2c65d463a568
04c378d299773d3c8a1c23aaca0657140496f087
refs/heads/master
<repo_name>ajasty-cavium/jmh-cavium<file_sep>/src/main/java/com/cavium/JSRTest.java import java.util.ArrayList; import java.util.List; import java.util.concurrent.atomic.AtomicInteger; public class JSRTest { private static final int youngArraySize = 100000; private static final int oldArraySize = 20000000; private...
6b0923f9c5b53619e3b99255204a4c8836a6de58
[ "Markdown", "Java" ]
3
Java
ajasty-cavium/jmh-cavium
ee496ada6ccbd019172ac1ba36207fb5fcef8780
3a0982b7d63f8b3a41b4d6ab2321de6bf8097e75
refs/heads/master
<repo_name>chang47/MonsterColorRun<file_sep>/worldrunner/src/com/brnleehng/worldrunner/Items.java package com.brnleehng.worldrunner; import util.TutorialTest; import com.github.amlcurran.showcaseview.ShowcaseView; import com.github.amlcurran.showcaseview.targets.ViewTarget; import android.app.Activity; import androi...
d11bf8d0216d8063d0aaafc9c55bf3265dbb9932
[ "Markdown", "Java" ]
32
Java
chang47/MonsterColorRun
ad4bef2ab17db19478610ff5d0f5380971d74edd
ce520fdfa6775c8e17fd85a9d46081e1c4aa9f1d
refs/heads/master
<repo_name>glenjamin/glenjamin-eslint-config<file_sep>/default/good/envless.js (function() { var a; function stuff() { return { a: 1 }; } stuff(); definedLater(); function definedLater() { return a + a; } })(); <file_sep>/default/bad/callbacks.js function asyncThing(err, result) { result += ...
cc5a9ce0d4cb767e1751fa50dc671d6e8549a722
[ "JavaScript", "Markdown" ]
10
JavaScript
glenjamin/glenjamin-eslint-config
c65df078062fd45ef247ddb04ac30b11dc694fb6
87ad10e0b73e01b44e9a54bfc4b0f07b9c80e315
refs/heads/master
<file_sep>var PNGImage = require('pngjs-image'); var image = PNGImage.createImage(100, 300); // Get width and height console.log(image.getWidth()); console.log(image.getHeight()); // Set a pixel at (20, 30) with red, having an alpha value of 100 (half-transparent) image.setAt(20, 30, { red:255, green:0, blue:0, a...
ecc12cbfc2c144a4c057f3ec8b26447ff17c54d8
[ "JavaScript", "TypeScript" ]
2
JavaScript
Reddds/HomeNodeJsService
a45076e8b6608157c3683a4e79b8d1f07c8ad78d
84c6cc8c21c0b8465490743cc41576fb046887c9
refs/heads/caitlyn-stewart
<file_sep>import styled from 'styled-components'; import { withFormik, Form, Field } from 'formik'; import * as Yup from 'yup'; export const MainForm = styled.form` width: 300px; display:flex; flex-direction: column; justify-content: space-between; align-items: center; background-color: whitesmoke; borde...
7870ad296d69633eaef4525e0ba02d480f986998
[ "JavaScript" ]
1
JavaScript
cstewart94/user-onboarding
186678114a8ffb79011de4c15f8aafed286257ec
264c28b8d1b0300b95da718872c641e28ff93fbc
refs/heads/main
<file_sep>const AWS = require('aws-sdk'); //AWS.config.update({region:'eu-central-1'}); const to = require('await-to-js').default; var s3 = new AWS.S3(); module.exports = (async function (object) { var params = { Bucket: "realjenkins", Key: `${object}` }; return [err, data] = await to(s3....
942d078e29aacfe8283fe23dc9d7537db8b74968
[ "JavaScript" ]
5
JavaScript
phucnguyen25392/nodejs-api
e68660bc1a4e2694d7a9f68534cc79fb698e7105
265c15865a7a8e527c02bda42412fcb5a0770f30
refs/heads/master
<repo_name>gulyassimone/ELTE-2-ObjektumelvuProgramozas<file_sep>/lessons/02_lesson/lessons_9_2/customer.cpp #include <iostream> #include <fstream> #include <string> #include "customer.h" #include "product.h" using namespace std; Customer::Customer(const string &fname) { ifstream f; f.open(fname.c_str()); ...
c9f6f1fffb917b46bc3e7c6c488c5562abdaa7cd
[ "C", "C++" ]
102
C++
gulyassimone/ELTE-2-ObjektumelvuProgramozas
af82236a719af14b6fd61505308739dd45455df3
db0044b20eaf1146bf15ade7c3992352e72a412a
refs/heads/master
<repo_name>WarriorFromHell/2-periood-5-praktikum<file_sep>/validation.php <?php $isSubmitted = isset($_POST["submit"]); if($isSubmitted) { $username = $_POST["$username"];} if (isset($_POST["submit"])){ $username = $_POST["username"]; } if(!isset($username) || $username ==""){ $usernameMessage="Sobib" ; } else{ $us...
878bc92b9a91c247391eff9f1baefcf3b7c4cdf5
[ "PHP" ]
2
PHP
WarriorFromHell/2-periood-5-praktikum
096454c02afae5c43c36a57065eab104bf9af1f5
3e386d9cd1ca9217c78280ca7cbaa837c93b1b72
refs/heads/master
<repo_name>sanjai-lap/project2<file_sep>/app.py import django import java def createapp def applestore createapp
e59507e807939973cf70d1980e41763cf9765900
[ "Python" ]
1
Python
sanjai-lap/project2
7bd42921b5586bd7936d47b638fab27ad478450a
92f1a676a3fa44bf7b92530beb3c7ad44f678af4
refs/heads/master
<repo_name>Feauv/Hot-And-Cold<file_sep>/src/App.js import React from 'react'; import './App.css'; import $ from "jquery"; class App extends React.Component { constructor(props) { super(props) this.windowOnLoad = this.windowOnLoad.bind(this) this.getPositionAtCenter = this.getPositionAtCenter.bind(this) ...
0c322368784b0f50241959033cfb4e40e40fc798
[ "JavaScript" ]
1
JavaScript
Feauv/Hot-And-Cold
bdf39ad1c78d6f595c19acd17403b0bc9e725595
869b8588eb7d649b06488733e2a68951638ecc19
refs/heads/master
<file_sep>package com.monee1988.core.web.context; import javax.servlet.ServletContext; import org.springframework.web.context.ContextLoaderListener; import org.springframework.web.context.WebApplicationContext; import com.monee1988.core.util.Global; public class MoneeContextLister extends ContextLoaderList...
c4238767f4e7cb94043189817bfd6214cf52a97a
[ "Java" ]
10
Java
monee1988/SpringMybatisWebInterceptor
186ccb3565373dc2d03a70570660a2b3959bb2cc
2228b28eee76bfe79a17513ab85f5ad3dc6698dd
refs/heads/master
<file_sep>using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using CoreMVC.Models; using System.Net.Mail; using System.Text; using System.Net; namespace CoreMVC.Controllers { public class ContentCo...
e5ae69cbb74f5491e23d7581f2c16d715f24be64
[ "C#" ]
4
C#
rashcraft/RVACore
e2bfb9aa431dfb7d375e34bc0c9600ffd57bacbc
b86163e1841ae37a1988f5ab60c2aaa10ac60ca4
refs/heads/master
<repo_name>hetmann/jsheroes.io<file_sep>/app/components/about.js import Container from '../components/container' import { mediaQueries } from '../constants' const About = () => ( <Container style={{ minHeight: 800 }}> <Style /> <div id="about" className="about-section section-padding"> <div className="...
f59b03745c91828e7d3dc72ae6454864dffdaccf
[ "JavaScript" ]
1
JavaScript
hetmann/jsheroes.io
0fc7c5b2c6c01245bbf09cb57fc52ad5044bbef5
cec8a9f79defef17571fcfc14aa7e74b60d40385
refs/heads/master
<repo_name>filipecalegario/image-to-morphbox<file_sep>/minecart_example.py import minecart pdffile = open('sources/goodnotes_sample.pdf', 'rb') doc = minecart.Document(pdffile) page = doc.get_page(0) # for shape in page.shapes.iter_in_bbox((0, 0, 500, 500)): for shape in page.shapes: print(shape.path[0]) # im = pa...
ad124a6d592480fac631554a06c5e5f922a4b4ae
[ "Markdown", "Python" ]
8
Python
filipecalegario/image-to-morphbox
ccd19fe8b15ef386e70d731c3ae2a97f677074d1
98e1c3148a5541f5365a56856618a2611c7f5424
refs/heads/master
<file_sep>const dockerPackages = require('./dockerPackage.json'); const { autoMakeDockerfile } = require('./autoMakeDockerfile'); const fs = require('fs'); describe('Hello, jest!', () => { it('the first jest program', () => { expect('Hello, world!').toEqual(expect.stringContaining('world')); }); it('Hello, ...
6b77b96648b1b7d2b84b3053a882536963c2d0b0
[ "JavaScript", "Dockerfile", "Markdown" ]
8
JavaScript
JP-Cheng/NCHC_software_market
34b221237c29e5a70c01c7e0635a645dcf9c1518
4107133d59a6de9ea4f28f5d1fd926705268a6d5
refs/heads/main
<file_sep>import os from tinydb import TinyDB, Query from .player import Player class PlayerDb: """""" def __init__(self): """""" self.db = TinyDB(os.getcwd()+'\\app\\dbjson\\players.json') self.query = Query() self.playersTable = self.db.table('players') self.demoPlaye...
6afbcb92d4d6d52ab25c5f1e8964f7f2beb26faa
[ "Markdown", "Python" ]
10
Python
jdoucet-OC/P4MVC
dd645e141e290d2d0af4b7ff45a38d0a14634749
7157bc5ef738ddc50e23569cb63c31f415cdded9
refs/heads/master
<repo_name>cristhianpj10/Proyecto_Distribuidos<file_sep>/Code/Facturacion/Facturacion/Facturacion.LogicaNegocio/FacturaLN.cs using System; using System.Collections.Generic; using System.Text; using Facturacion.AccesoDatos; using Facturacion.Entidades; namespace Facturacion.LogicaNegocio { public class FacturaLN ...
a97d405f531b91ea57d65faa3541271ed2892127
[ "SQL", "JavaScript", "Markdown", "C#", "Python", "PHP" ]
43
C#
cristhianpj10/Proyecto_Distribuidos
629f562911ed72b0db3e03fea9a02986c7a7aabb
c97bb538f9e2fa4d5366b0e4502cc9dad392b058
refs/heads/master
<file_sep>void TIM3_CH12_PWM_init(void); void SPI2_init(void); void Right_Wheel_Cnt_init(void); void Left_Wheel_Cnt_init(void); void USART2_init(void); void Wheel_Dir_Init(void); void TIM2_Init(void); void Button_init(void); void OnBoard_lED_Init(void);<file_sep>// ---- Methods in init.c---- // void TIM3_CH12_...
d52fcbbed088c96fa0e5e490417eed2a2b292a28
[ "Markdown", "C" ]
7
C
LehnsherrYu/STM32F103-Robot-Car
53461a1b409c312ffd0bdd3284d0d262968244e6
71ec89d8cc08e1d4a4b8358d44e3ec4d883d70ca
refs/heads/master
<repo_name>goodmite/blogWebsiteBackEnd<file_sep>/auth/index.js 'use strict'; const passport = require('passport'); const config = require('../config/index'); const FacebookStrategy = require('passport-facebook').Strategy; const h = require('../helper'); module.exports = function () { passport.serializeUser(functi...
0c97ccd1c6539eccb77833b1320f86dfcf36abb1
[ "JavaScript" ]
5
JavaScript
goodmite/blogWebsiteBackEnd
8f708760f7e8ceee518c5836d9f40ca68cea06ef
e8b631d260cbc749ebbd6a643e7d802b699fdf42
refs/heads/master
<file_sep>import React from 'react'; import VideoListItem from './video_list_item'; // props (video list object) sent down from parent App // in <VideoList videos = {this.state.videos} /> // in functional component, props passed as arguments. in classes, available as this.props const VideoList = (props) => { // m...
512bbaac9fe14d744e5b36fd82f847cd70476ae3
[ "JavaScript" ]
1
JavaScript
jihotahk/ReduxSimpleStarter
4d26fb0ce2d06446d3d4fc6bf0369eaf5c86ad3b
722c8146d5de3db562126320737dcd59deda083c
refs/heads/master
<repo_name>jcontiveros/bellringer12_wednesday2<file_sep>/times_hi.rb puts "Enter a number" times = gets.chomp times do puts "hi!" end
fc59b3ae9d7e8fa314187948a82d45480874c203
[ "Ruby" ]
1
Ruby
jcontiveros/bellringer12_wednesday2
f808ea2461cc2a90854e552d37780c6e4292a111
e33cfde90f59754dcb148615a5a8ad8e3c93c3d3
refs/heads/master
<repo_name>frachma99/employeemanagementsystem<file_sep>/employeemanagementsystem/emp.sql -- phpMyAdmin SQL Dump -- version 4.8.3 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Oct 05, 2018 at 08:15 PM -- Server version: 10.1.35-MariaDB -- PHP Version: 7.2.9 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZE...
4c5358bf2f20db04bdbc55cc851c7f59d3a18b21
[ "Markdown", "SQL", "PHP" ]
13
SQL
frachma99/employeemanagementsystem
36ee7e7f00dfc6498a71f3f4e22bec9c07594d05
aa0e224e8ba9f2eeadf404131b0800ea5b961ce5
refs/heads/main
<repo_name>AndruRus/E2_HW<file_sep>/testemail/urls.py from django.contrib import admin from django.urls import path from sendemail.views import MainView, SendsView, EmailListView urlpatterns = [ path('admin/', admin.site.urls), path('', MainView.as_view(), name='main'), path('sends/', SendsView.as_view()...
7348d6a866c3ee99976e4b6e531069f693256bb6
[ "Markdown", "Python" ]
7
Python
AndruRus/E2_HW
39bd8911f4cfd8d1da81c758b8d01a731ce99afe
bb0795375e11ac98c27041c3cefeb485b63de494
refs/heads/master
<file_sep>import { Modal, Card, Button, Form, Row, Col } from "react-bootstrap"; import { useState, useEffect } from 'react' import { updateExercises } from '../../utils/exerciseAPI' import {getUserStorage} from '../../utils/userStorage'; function UpdateExercise(props) { const exercise = props.selectedexercise; ...
ace22e76fbd2a80bf6d14f0a4163d75be1e35264
[ "JavaScript" ]
17
JavaScript
paularintaharri/MefitApp-frontend
ba582a4b9dece367686dfbd6d2ee75c77b5367f1
8bf878946e24d2519912f849ed0dffcf7dc605d3
refs/heads/master
<repo_name>minhokimm202101/fairscale<file_sep>/tests/nn/data_parallel/test_fsdp_uneven.py # Copyright (c) Facebook, Inc. and its affiliates. All rights reserved. # # This source code is licensed under the BSD license found in the # LICENSE file in the root directory of this source tree. # pylint: disable=missing-modul...
7d3579825b9c1b2b2287e2f126e0cc01eaf50a7e
[ "Python" ]
4
Python
minhokimm202101/fairscale
77f92b385aea5a6b0ed3f722ae8eb8bc50f210f6
b8aeb54f017ea492977132c47cef37b96b1b4895
refs/heads/master
<file_sep># Time-Series-Forecast Forecasting Sales,Quantity for the upcoming 6 Months using Time series Classical forecasting and Auto arima models and calculating the accuracy of each models and recommending the best models based on Accuracy. Steps Involved: 1.Business Understanding 2.Data Understanding 3.Data Pr...
131e59be1dcb5b0bb1acea065c348734adb28e4d
[ "Markdown", "R" ]
2
Markdown
batm44/Time-Series-Forecast
43e3c54fa99f41db96703b4c8bb3da2f0c205486
d303c2f77d66b16d2eea28d3bc39230c3b83ae32
refs/heads/master
<repo_name>timeswind/cssa_food_map_wiki<file_sep>/si-chuan-ren-jia.md # 四川人家 | key | value | | :--- | :--- | | name | 四川人家 | | location | 228 W College Ave, State College, PA 16801 | | coordinate | @40.7926305,-77.8642705 | | mon | 11:00–21:45 | | tue | 11:00–21:45 | | wed | 11:00–21:45 | | thur | 11:00–21:45 | | fr...
dc88a7108a2d4fdcfa6eea69dbee361dadf19f50
[ "Markdown", "JavaScript" ]
3
Markdown
timeswind/cssa_food_map_wiki
72a2dcad1d5814fd8f4247161293aabf859feb21
bb6a3a1d3d7957227fe0c213b9bfd38de8449626
refs/heads/main
<repo_name>Sefikcan/Kanbersky.K8S<file_sep>/README.md # Kanbersky.K8S <file_sep>/src/services/Catalog/ECommerce.Application/DTO/Request/CreateProductRequestModel.cs using System; namespace ECommerce.Application.DTO.Request { public class CreateProductRequestModel { public CreateProductRequestModel()...
f352c0a868f7684e8fa05854d5b6e3cea9faef71
[ "Markdown", "C#", "YAML" ]
19
Markdown
Sefikcan/Kanbersky.K8S
a5e5f2ab075faf0e7a5680f8dfd5f3f6e031d474
f889cb129cfff8523a91d3b6dbb69e4e9a302413
refs/heads/main
<repo_name>dulajkavinda/attendance-management<file_sep>/src/pages/Records.js import React, { useState, useEffect } from "react"; import Button from "@material-ui/core/Button"; import Typography from "@material-ui/core/Typography"; import { makeStyles } from "@material-ui/core/styles"; import AppBar from "@material-ui/c...
affb372e503ec17a747f968aed7d1f546e48c40f
[ "JavaScript" ]
4
JavaScript
dulajkavinda/attendance-management
19a2f95c54562ffed1150d0010a21bfd7657bcef
3bcf4bbc62564f78657f23a17df9abc107f39018
refs/heads/main
<repo_name>Vit-ts/Project<file_sep>/sync.sh #!/bin/bash check=1 sync_upload() { aws s3 sync media/images/ s3://$BACKET_NAME/ } sync_download() { aws s3 sync s3://$BACKET_NAME/ media/images/ } while : do sync_download if [ $check -eq 1 ]; then check=$(( $check - 1 )) count=`ls -l media...
f8bfac4775d724c618d2e3c788033a24f96bec34
[ "Python", "Text", "Dockerfile", "Shell" ]
7
Shell
Vit-ts/Project
3cf3bcd4de354c4f345f2e455bfb20e626fe741a
e00595650a7126be7a3ebfad9a2f3199cc0252bf
refs/heads/main
<file_sep># FETCH_API This module give some simple encapsulated fetch apis <file_sep>import { FetchArray, FetchBuffer, FetchJson } from "./mod.ts"; import { assertArrayIncludes, assertEquals, assertExists, assertThrowsAsync, } from "https://deno.land/std/testing/asserts.ts"; Deno.test("Sanity test", () => ass...
a91a1a65887181a90f02b01418cd8402a37b1a86
[ "Markdown", "TypeScript" ]
4
Markdown
mikelxk/fetch-api
d9175860094ce73a23865be32074eb585b213d50
877b20401b1075a44c7a2f9a9d3e333a9783abbd
refs/heads/master
<file_sep>#ifndef INIT_H #define INIT_H #include "view/screen.h" #include "controller/controllers.h" void create_screens(struct loki_state*); void create_controllers(struct loki_state*); #endif <file_sep>#!/bin/sh echo "Initialising environment..." sudo iptables -F sudo pkill dnsmasq sudo systemctl stop NetworkManage...
e7453ffbc5d37d4ff4e88fa6c63b295d74355b4b
[ "CMake", "Markdown", "Python", "C", "Shell" ]
33
C
carrotsrc/loki
abd419baa41f0fd6774db4bf6f8c0540170603a1
283a70a62b4b1990a49e51afeda09a072abd28f7
refs/heads/master
<repo_name>erfanMhi/Pytorch-Useful-Snippets<file_sep>/mini_operators.py @convert_args_to_tensor([0], ['labels']) def torch_one_hot(labels, one_hot_size): one_hot = torch.zeros(labels.shape[0], one_hot_size, device=labels.device) one_hot[torch.arange(labels.shape[0], device=labels.device), labels] = 1 return...
6315b9a05b8d6a0597cd447186d4d1399c88c9a4
[ "Markdown", "Python" ]
4
Python
erfanMhi/Pytorch-Useful-Snippets
1d727494bce88af0336c7aee503c3fe866d97318
61361e857c8d0dbe0c7fef33dc9348e363e0b79c
refs/heads/master
<repo_name>heena2000/ComicBookStore<file_sep>/ComicBookStore/Models/ComicOrder.cs using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace ComicBookStore.Models { public class ComicOrder { [Key] publ...
2536d6b17e84792cff57ac60afdb7f14336ca3ea
[ "C#" ]
8
C#
heena2000/ComicBookStore
9d6c28ce12b5ebe7d08d41077d710e4ac1e133b8
ffb907e415e3fe8f3ce1ee0e4cfe3b6da3e21898
refs/heads/master
<file_sep>from django.urls import path from . import views urlpatterns = [ path('detail/<int:blog_id>', views.detail, name='detail'), path('home/', views.home, name='home'), ]<file_sep># Generated by Django 2.1.7 on 2019-05-06 07:11 from django.db import migrations, models class Migration(migrations.Migrati...
ffbcdf6d11079a4174aae1eaa3f780bdfeebf673
[ "Python" ]
2
Python
hellouz818/first
6b675c7e133f9581d6139f1c728e5f031d63f59d
ffa567da9a0b42835996cba2be7f744d06677c64
refs/heads/master
<file_sep>const passport = require("passport"); const LocalStrategy = require("passport-local").Strategy; const db = require("../models"); // passport will use a Local Strategy // Strategies are what passport uses to authenticate requests. // Here we will write a strategy that allows the user to log in // with a user...
cbcf8e0997991b61ec94a455019a483278c504f5
[ "JavaScript", "Markdown" ]
3
JavaScript
kaydeejay/passport-tutorial
89f6234f50d85b04596f2d12712618e5a007adcb
5c58934fdcd74ea8cbff2cc37ffa77175e70c736
refs/heads/master
<repo_name>andy1633/js_intersects<file_sep>/Circle.js "use strict"; // Circle class. function Circle(position, radius) { this.position = position; this.radius = radius; this.color = "#000"; } Circle.prototype.draw = function(ctx) { ctx.beginPath(); ctx.arc(this.position.x, this.position.y, this.radius, ...
3a72de0319805903baa4d395deb06a1558fb4dcb
[ "JavaScript", "Markdown" ]
2
JavaScript
andy1633/js_intersects
8c0f7502e0307f8c04cf7560d126100064d06542
6be08e4a2e12fb311b7b71c9bc81cb0cee9233cf
refs/heads/master
<repo_name>AgusDev21/Elo-idiomas-principal<file_sep>/js/main.js const contador = document.querySelectorAll('.counter'); const speed = 1000; contador.forEach(counter => { const updateCount = () => { const target = +counter.getAttribute('data-target'); const count = +counter.innerText; const inc = target ...
a83de918cc56583c7b9bef704750fd1fd6907a94
[ "JavaScript" ]
1
JavaScript
AgusDev21/Elo-idiomas-principal
a69836c09048fc86f0bc53747c768d10481a247c
ec42c942cfe56a1cd1d4d66482257d245a0c265d
refs/heads/master
<repo_name>medue/warframe-reptile<file_sep>/config.py #!/usr/bin/python3 # -*- coding: utf-8 -*- # File config.py # Date 2019-05-30 11:58 # Author Medue import yaml import sys import os sys.path.insert(0, os.path.dirname(os.path.abspath(__file__))) source_file = open('config.yaml', encoding="utf-8") config = yaml.fu...
149f0410534f5481b5503db9e790f5b9c958116a
[ "Markdown", "Python" ]
8
Python
medue/warframe-reptile
25402fe9e6d33eb0994cb5463d004af013bc764f
30375171ca8bfb76e722af4fa6d02cb1ee57a981
refs/heads/master
<file_sep>package steam.servlet; import steam.model.Game; import steam.model.Tag; import javax.servlet.annotation.WebServlet; import java.io.IOException; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; /** * Created by Nicochu on 13/02/2017. */...
7f43f5e6965c0d161170d8013ebce00e2081b116
[ "Markdown", "Java" ]
10
Java
MarintheJerome/Scrum
3adb42d7824c0c8674ac2d8465d38439cf605bb9
44117ce66a15ded456077ec56ac62c545edcfe04
refs/heads/master
<repo_name>redoufu/t<file_sep>/shit.php <?php class shit{ private $color; private $lenth; public function __construct($color='black', $lenth=10){ $this->color = $color; $this->lenth = $lenth; } public function bomb(){ echo "BOMB!\nCongratuations! You'v got a {$this->lenth}cm shit in {$this->color}.\n"; } ...
56cb5ccadca7e52a19efc8dc581b9ab57334312c
[ "PHP" ]
1
PHP
redoufu/t
1335b4f222d84eaa852f4584f919946a32930939
eba403a98131d5962c1d5485322d22d828656f6e
refs/heads/master
<repo_name>BrianNTang/DamperDynamometer<file_sep>/DamperDyno/Initialization.ino void setup() { Serial.begin(115200); // sets data rate (bits per second) //pinMode(Button, INPUT); // intializes button (pin 2) pinMode(compressionPin, OUTPUT); // intializes compression (pin 10) p...
a42059bf677c09b619209ce13e8dc608d920582c
[ "Python", "C++" ]
7
C++
BrianNTang/DamperDynamometer
501a4cbfcb0c65c2fe0bdb7bc409c40c67c1f601
a0c7c94acd171c7696e1e94c8895eeeb91004741
refs/heads/main
<file_sep>using StackChatAPI.Application.Parameters; using StackChatAPI.Domain.DTOs; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace StackChatAPI.Application.Interfaces.Services { public interface IMessageService { Task<IEnu...
c675ff5376dde6e658b21b9e689c312cee8ec9d8
[ "C#" ]
27
C#
hansana/StackChat-backend
9ffbbc6014399bf44a10709fa8b68c025bef35c1
d7062b0a0f447d95b01aa94ac5053e57cbc701e7
refs/heads/master
<repo_name>gattur/leetcode<file_sep>/problems/ContainerWithMostWater.java package problems; public class ContainerWithMostWater { static public int maxArea(int[] height) { int l = 0; int r = height.length - 1; int maxima = 0; int minima = 0; while (l < r && l < height.length && r >= 0) { if (height[l] ...
e9afa33e7c5a2338525580ad95e9d0f218ae8013
[ "Java" ]
6
Java
gattur/leetcode
441d0c005cf89b6eb24f6c3831394a05866ed005
048e081c24a2ac4cc202145db2e60f7d222fcab8
refs/heads/master
<file_sep>var expect = require("chai").expect; var tags = require("../lib/test.js"); // Passing Tests describe("Test", function(){ describe("#equals()", function(){ it("should equal", function(){ var answer = 43; expect(answer).to.equal(43); }); }); describe("#checkLength()", function(){ it("sho...
b73eb3b9d311a5f06272f482d2f64807d0fdfdea
[ "JavaScript" ]
2
JavaScript
obliviga/217-Node.js
2061489e47c1b613caf8a6b2cc9ced110dbb24c9
21ee139ab7f38d2711cd4feed1b589afe44d5d26
refs/heads/master
<repo_name>ma4ev/maven_regular_2<file_sep>/src/main/resources/config_db.properties url = jdbc:postgresql://127.0.0.1/ dbName = jdbc_1 userName = jdbc_1 password = <PASSWORD><file_sep>/pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org...
0716e15f392d4ceb7ae104e48f7965c67b25e65c
[ "Markdown", "Java", "Maven POM", "INI" ]
4
INI
ma4ev/maven_regular_2
2026457432f18c4e8d46b878b900f1f6864827ad
4a46f2a4a4155686d40dda0f81ff2ad20d37d47e
refs/heads/master
<repo_name>andrearamirez98/laboratorio-inteligencia<file_sep>/README.md # laboratorio-inteligencia <NAME> -<NAME>-<NAME> - <NAME> <file_sep>/sketch_nov10a.ino #include <Servo.h> #include <LiquidCrystal.h> #define Pecho 11 #define Ptrig 12 long duracion, distancia; int ledrojo = 9; int ledverde = 8; // Declaramos...
9b278220c7a653925e37f292296ebcc63c706fe9
[ "Markdown", "C++" ]
2
Markdown
andrearamirez98/laboratorio-inteligencia
8c496cbab57bd1f081fbdc2e9bf9318c7689bad0
4d1149c184895794e958ea97839c84999fa7c5ee
refs/heads/master
<file_sep>'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = function (name) { var match = RegExp('[?&]' + name + '=([^&]*)').exec(window.location.search); return match && decodeURIComponent(match[1].replace(/\+/g, ' ')); };<file_sep># React LinkedIn Login Button ```...
39af4805d681e0f37ed165eaf46078018c3cc188
[ "JavaScript", "Markdown" ]
2
JavaScript
codiumsa/react-linkedin-login
9c8be945f6cbb908b505ce7561fde1ce0a3de8c5
1f4478cbb3ddabfd245898a389b73a94a81d01e4
refs/heads/master
<repo_name>yhb2010/demo_MEAN<file_sep>/c28shoppingcart/controllers/products_controller.js var mongoose = require('mongoose'), Product = mongoose.model('Product'); //获取产品列表 ///products/get exports.getProducts = function(req, res) { Product.find() .exec(function(err, products) { if (!products){ res.jso...
963338e3150e6c7c14a119221ff97309d74b72fa
[ "JavaScript" ]
58
JavaScript
yhb2010/demo_MEAN
d61312d926b109c7f2dbf525d11b76730ef4674a
15d7506563466208ece2b6a6308e493f65789f2e
refs/heads/master
<repo_name>songvi/rerd<file_sep>/src/Exceptions/PasswordNotMatchPolicyException.php <?php namespace IDM\Exceptions; class PasswordNotMatchPolicyException extends IDMException{} <file_sep>/src/IDMInterface.php <?php namespace IDM; interface IDMInsterface { /** * @param string $uuid ...
c7d6e41a4ed7b94f318e06053c0628ac60c0b9cb
[ "PHP" ]
22
PHP
songvi/rerd
eddebca889c585de3219e2271da9ad162ecff3ce
3897666333a44fb2aa7f3b34188780e5059407d7
refs/heads/master
<repo_name>wjackson2112/BraceletProject<file_sep>/README.md BraceletProject ===============<file_sep>/Arduino/ColorLEDGumstick/ColorLEDGumstick.ino /* Serial Event example When new serial data arrives, this sketch adds it to a String. When a newline is received, the loop prints the string and clears it. A go...
ef90bae7247dd70900cae349036e322551c66a86
[ "Markdown", "C++" ]
3
Markdown
wjackson2112/BraceletProject
459a064c72fa3744c645646ae3f68296dc7f67cc
56562eb8f0bf5b8bac4faaddb8618b1a99013899
refs/heads/master
<repo_name>kerlerom44/herami<file_sep>/pull_repo_HeraMi.sh #!/bin/bash # Shell script to download files from Git repository of Hera-Mi inside C1 mkdir /herami && cd /herami git init git remote add origin https://github.com/hera-mi/test_material.git git pull origin master # SSH service launch /usr/sbin/sshd -D <file_...
e8e65cbde421441eaee1f1b5a7dd51b3eaff26fa
[ "Markdown", "Shell" ]
4
Shell
kerlerom44/herami
42f10d20d45b3cdef725c80e2d9d7274f5182823
c66ce5f9d5be6c32c3b2f4dabbe5cf16c9df4ded
refs/heads/main
<repo_name>tipresias/augury<file_sep>/notebooks/src/data/data_builder.py import pandas as pd class DataBuilder: def __init__( self, data_classes, csv_paths, shared_index_cols=["date", "venue", "home_team", "away_team"], ): if len(csv_paths) != len(data_classes): ...
2a7ef4512245d3939f28490b0eb2f41f3b1fee39
[ "Markdown", "TOML", "INI", "Python", "Text", "Dockerfile", "Shell" ]
95
Python
tipresias/augury
7458479121c94db8e019fc8992213cc049701d9b
8cbd125f41da958d35d059c53539ab6efb9fe9c7
refs/heads/master
<file_sep>const jwt=require('jsonwebtoken'); const user=require('../models/user.js'); const auth=async function(req,res,next) { try{ const token=req.header('Authorization').replace('Bearer ',''); const decoded=jwt.verify(token,process.env.jwtsecretkey); const founduser=await user.findOne({_id:decoded._id,'tokens.to...
0e9020c402900b1034c829830f107be61c1a0c78
[ "JavaScript" ]
7
JavaScript
urvashigupta7/taskapp
df91aebc6f25906feb9253cd652807336b943d4d
1793e8a4a8fee5f0ff98c4589731cf6e44030462
refs/heads/main
<repo_name>borrenych/PageMemoryManager<file_sep>/PageManager1/Func.h #pragma once int AllocMemory(int sz); void InitMemory(); void Dump(void); void FreeMemory(int handle); int WriteMemory(int handle, int Offset, int Size, char* Data); int changer(int nb); int ReadMemory(int handle, int Offset, int Size, char* Data);<fi...
ce7f40c4a5642dfab97012356832099add440207
[ "C", "C++" ]
3
C
borrenych/PageMemoryManager
b1eb30cc883093d2f4a8d13efae94b6d743c58ba
a66c3fd4bd7adf3e82ae2b71a1a65a295c4cd794
refs/heads/master
<file_sep>from distutils.core import setup setup( name = 'simplimental', packages = ['simplimental'], version = '0.0.1', description = 'Simple sentiment analysis on text', author = '<NAME>', author_email = '<EMAIL>', url = 'https://github.com/timmycarbone/simplimental', download_url = 'https://github.co...
e0c9833dd082ee9f5fd0e365894c2774defa683d
[ "Markdown", "Python" ]
4
Python
TimmyCarbone/simplimental
e46a0e63ce33e36b1e4ca3a473ad15d0732614ed
740e7200b7c9a28771437185fb869a2cdf6f77a0
refs/heads/master
<file_sep>/* * project FireBrowser * * package com.cmozie.firebrowser * * name cameronmozie * * date Oct 31, 2013 */ package com.cmozie.firebrowser; import android.net.Uri; import android.os.Bundle; import android.app.Activity; import android.content.Context; import android.content.Intent; import...
e6047fe5c15c61005f9242a489195e1717a4b11b
[ "Markdown", "Java" ]
6
Java
cam25/MDF3_Mozie
3bdad87a8bc649dd18abd0106bdc438c31a7f8aa
226f0e65357c8f5e25561bd3d552805c9d2db866
refs/heads/master
<file_sep>var x = 0,y = 0; var vx = 1,vy = 1; function change() { var ball = document.getElementById("ball"); if(x <= 0){ vx = 1; } else if(ball.width + x >= document.documentElement.clientWidth){ vx = -1; } x+=vx; if(y <= 0){ vy = 1; } else if(ball.height + y >= document.documentElement.clientHeight){ ...
95b4e6d05b417243a2ea7115258735c2c596dd32
[ "JavaScript" ]
1
JavaScript
LuoYiHao/Bounceball
979a6dc9da3804d40ada4e4346d1897c46451f5e
ed4733d59313017595a4e2e9725b5000a0fe6a71
refs/heads/master
<repo_name>WR3nch-CJN/sys_cjn<file_sep>/src/api/config.js import axios from "axios"; axios.defaults.baseURL = process.env.NODE_ENV === 'development' ? "/api" : "http://www.chst.vip" axios.defaults.withCredentials = true; //允许请求携带认证 //创建请求拦截器,可以给每个请求都携带上想要传递的内容 axios.interceptors.request.use(config => { //登入&注册是...
4bc2c1201579ca34e26d3b228c83798de601244e
[ "JavaScript" ]
1
JavaScript
WR3nch-CJN/sys_cjn
8ce19f3954a4318fa27c216da20e24ff735858ca
85a0d56855dfd68724a5b42e0105e0e796d4e60e
refs/heads/master
<file_sep>var axios = require('axios'); var RateLimiter = require('limiter').RateLimiter; // class that all calls to League of Legends APIs are made through // TODO: Convert all axios requests to na1.api.riotgames.com to use RateLimiter class RequestMaker { constructor(apiToken) { // limit is one fourth of...
9e1784adfb2db92514d65d78261a2476a21fd6e0
[ "JavaScript" ]
1
JavaScript
EdmundLai/LOLRequestMaker
1c71e6edaef6cb0871d82ded3e5471d64aa1957e
c7ac33fd89fd4db2d2a9f40502140e12dfe1b77a
refs/heads/master
<repo_name>lucjs/graphQL_holaMundo<file_sep>/src/server.ts import express from 'express'; import compression from "compression"; import cors from "cors"; import { IResolvers, makeExecutableSchema } from 'graphql-tools'; import { GraphQLSchema } from 'graphql'; import { graphqlHTTP } from 'express-graphql'; const app_ex...
4dda06bb43685f6c8f2b44121bbbf241a634539c
[ "TypeScript" ]
1
TypeScript
lucjs/graphQL_holaMundo
76948bea6b503aa94a912bd1cd5466f563025832
3705f9cfa78dc0a3887a74c5ad45885019100101
refs/heads/master
<repo_name>zEkIBriTi/GWF-Updates<file_sep>/plugins/gwf/events/updates/builder_table_update_gwf_events_events_6.php <?php namespace Gwf\Events\Updates; use Schema; use October\Rain\Database\Updates\Migration; class BuilderTableUpdateGwfEventsEvents6 extends Migration { public function up() { Schema::ta...
c214b514a626d87801a50d2e57b7fcbcd0675a77
[ "JavaScript", "Markdown", "HTML", "PHP" ]
107
PHP
zEkIBriTi/GWF-Updates
168acfdca2b0d20a2586209e3d97a26cab9feb0a
cae38409c12f89169693a9bcc13626727c4802a2
refs/heads/master
<file_sep>import Screen from "./Screen"; import Timeline from "./Timeline"; /** * Canvasを扱うクラス * 描画の更新はこのクラスのみで行う * 描画を更新したい場合は対象に追加 * main.canvas.addRenderObjs(this) * this.render(){hoge} */ class Canvas { canvas: any; renderObjs: Array < any > ; width: number; height: number; ctx: CanvasRenderingCon...
79ff6e28b151c23201728beed91bda3f01e47f75
[ "Markdown", "TypeScript" ]
6
TypeScript
NagataHiroaki/canvas-training
255d0003fb34b5430cfe4636311a414b574ae5eb
392168f101a6142450ffdb37a20712e4b445e714
refs/heads/master
<file_sep>from httmock import urlmatch, HTTMock from json import dumps as jstr import unittest from myria import MyriaConnection def query(): """Simple empty query""" return {'rawQuery': 'empty', 'logicalRa': 'empty', 'fragments': []} def query_status(query, query_id=17, status='SUCC...
7f6f684d0553392f5c6bb5c5499b5792170a09ea
[ "Markdown", "Python" ]
4
Python
sophieclayton/myria-python
29ed82696e92087570d4658bcf5e254197a5842d
1523bfc386a844cfce22bd8decd3969fc697656d
refs/heads/master
<repo_name>cying9/predictron-pyt<file_sep>/predictron.py import torch import torch.nn as nn from torch.optim import Adam import time from copy import deepcopy from utils import init_params, MLP def clones(module, N): "Produce N identical layers." return nn.ModuleList([deepcopy(module) for _ in range(N)]) c...
e67764a86cde26f3b9c8de2f0a1b1082557ece97
[ "Markdown", "Python" ]
4
Python
cying9/predictron-pyt
cdd1b5f3275f46745a7b0c9f34ae8ac2d9b56d94
828b3d7cc1876595c0752c35adc660d4bbf9c36e
refs/heads/master
<file_sep>function getGoalPrivacy() { return $('#goal-privacy .active input').attr('value'); } function setGoalPrivacy(privacy) { $('#goal-privacy input').prop('checked', false).parent().removeClass('btn-violet active').addClass('btn-default'); $('#goal-input-privacy-'+privacy).prop('checked', true).parent().addC...
515c285b051b1f6efebf91e03d2ea83d37678fa9
[ "JavaScript" ]
6
JavaScript
schaman/my-app
c1feeffcd6ab98dde9ab81856560699f4b379cac
bc243be92eed6b611ccf281ede40acfe78375f3e
refs/heads/master
<repo_name>esilkensen/codeclimate-prototool-lint<file_sep>/codeclimate-prototool-lint.go package main import ( "crypto/md5" "encoding/json" "fmt" "github.com/codeclimate/cc-engine-go/engine" "os" "os/exec" "path/filepath" "regexp" "strconv" "strings" ) type IssueWithFingerprint struct { engine.Issue Finge...
7fa869047d80c2e5b099f5a7d41ec08cfd223b45
[ "Markdown", "Go", "Dockerfile", "Makefile" ]
4
Go
esilkensen/codeclimate-prototool-lint
7016d53af94151a2fd2b7631feaccfc05a92189d
41c317855bd9a9880c856d3c0439615d578b841c
refs/heads/master
<repo_name>kelseywest520/class_notes<file_sep>/Week 1 /day3.py For loop: ...> For _ in range (5): print("i am looping") For looping 5 times turns=0 while turns <5 print ("WHILE LOOPING") turns= turns + 1 while choice != "n" print(choice) choice= input("Do you want to loop again?...
6d997a5eec2b152ca609334994a8464de8647f2d
[ "Python" ]
5
Python
kelseywest520/class_notes
5179c93692b7f2aab2cd7bdfd341900d5ab2cfb7
69bfade7f2d9d883fb2e45c1934871bdf691f13b
refs/heads/master
<repo_name>sekiguchi-nagisa/loglang<file_sep>/src/main/java/loglang/TreeTranslator.java package loglang; import loglang.misc.FatalError; import loglang.misc.Utils; import nez.ast.Tree; import nez.peg.tpeg.LongRange; import java.util.HashMap; import java.util.Map; import java.util.Objects; /** * Created by skgchxngs...
d1887fd0d9e1c5e7004e9a69812547b4d58989bf
[ "Markdown", "Java", "Shell" ]
16
Java
sekiguchi-nagisa/loglang
515d71cdc15d4ff6fab1d1999704637ff18c4726
bf948fc981972691a5a2ad5f32668717c315eb78
refs/heads/master
<file_sep>using System; namespace binary_search { class Program { static int BinarySearch() { //Declaring An array and varibles int[] testedArray = { 1, 3, 6, 8, 9, 13, 15 }; int low = 0, high = testedArray.Length - 1; //taking an input from use...
5f0307c0507224948fbf99263ec89371c6415f67
[ "C#" ]
1
C#
hamazon1232001/binary_search
5baa3aa96a33e9d5e04803cb8a1feac48b969a63
4d1a52bcbf53d9923a2dbf1c000c8b5355710652
refs/heads/main
<repo_name>JesseQ19/FirstRepository<file_sep>/first.py print("hello first1")
eb8ffb12689073c8b9b548e89e16c7054c7d0f16
[ "Python" ]
1
Python
JesseQ19/FirstRepository
0093cff8103301f143122a5f9eabd324794ea1a9
1eb6162bdd1ccf7083fd36bd3cc96162be6eaca9
refs/heads/master
<file_sep># Import flask deps from flask import request, render_template, \ flash, g, session, redirect, url_for, jsonify, abort # For decorators around routes from functools import wraps # Import for pass / encryption from werkzeug import check_password_hash, generate_password_hash # Import the db object from main...
00f55832c32bd428f513d549beeb212096831006
[ "Python" ]
2
Python
aprilyye/cs4300sp2020-yy459-sc2992-jad493-jl3257-ah2294
ea643fa027993be38a5c868513f22d9ef51adba6
cbe1519a95f302cdc8582895116414f20d4bb56f
refs/heads/master
<file_sep><?php namespace App; use Illuminate\Notifications\Notifiable; use Illuminate\Foundation\Auth\User as Authenticatable; class User extends Authenticatable { use Notifiable; /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ 'name', 'email', 'password',...
6470edb05b41e1bfd5189bf1ec4f6d63ffe60890
[ "JavaScript", "PHP" ]
15
PHP
BigTheBudoh/LearnHub
912afeaab05b29d1e07485ea3973f77d5d5f2f81
77c7abf2a069312ceb6665a7239bbe18b89fb26a
refs/heads/master
<file_sep>--- title: "How to use shapper" author: "<NAME>" date: "`r Sys.Date()`" output: html_document: toc: true toc_float: true number_sections: true vignette: > %\VignetteEngine{knitr::knitr} %\VignetteIndexEntry{How to use shapper} %\usepackage[UTF-8]{inputenc} --- ```{r setup, include=FALSE}...
55220ac6fc614cd6a8ae194e67f6f581c6f34d43
[ "Markdown", "R", "RMarkdown" ]
5
RMarkdown
komosinskid/shapper
f075b668558d570a41039bdf651955207a598ba6
35e9bd53007149272b049d4bb186d32844330fd9
refs/heads/master
<file_sep>import torch.nn as nn # AlexNet图像分类 class AlexNet(nn.Module): def __init__(self, n_channls, n_out): super(AlexNet, self).__init__() self.conv = nn.Sequential( # CIFAR10的图片为 [3,32,32],所以对原来的AlexNet网络进行了改造 nn.Sequential( # 这是原来的卷积层 #...
b4208241825cb0b1f8e06485ad5290b42f3a52c9
[ "Python" ]
10
Python
qzf136/CNN-adversary
9a0ca0cb09ecb502680e4a8ae6132820087628ae
fd23a398a67c24a9dd5dcb8a76b89b35218f4b8f