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>using System; using System.IO; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CodeEval { class TestClass { public void BitConvert(string line) { string[] subStr = line.Split(','); s...
9273cc3e356523e05d08804a6d7dfc9cc317af94
[ "C#" ]
3
C#
marclacerna/codeeval
dc39221b7bc1512d5dc47d8e3e32b7cfc628c7dd
575b53a33353ac89a915bc237500647ec6c55aae
refs/heads/master
<repo_name>gabihtoledo0/SquadIncriveis<file_sep>/app/models/user.rb class User < ApplicationRecord # Include default devise modules. Others available are: # :confirmable, :lockable, :timeoutable, :trackable and :omniauthable devise :database_authenticatable, :registerable, :recoverable, :rememberable, :v...
70e2249951a783ee69beffbe63148f42c92b6441
[ "Ruby" ]
8
Ruby
gabihtoledo0/SquadIncriveis
f1e4c36da4902e4a3bd2dc2fd71cd7e58d98c72f
397ff6d2a56d73b0074e46e27cc79dae40762e96
refs/heads/void
<file_sep>// // This file is part of the GNU ARM Eclipse distribution. // Copyright (c) 2014 <NAME>. // // ---------------------------------------------------------------------------- #include <stdio.h> #include <stdlib.h> #include "diag/Trace.h" #include "stm32f10x.h" #include "myDelay.h" // -----------------------...
9896491a12fd828d25635012a56f0a822a82e5c1
[ "C" ]
5
C
Void1509/tstusb
0ed710890b536b4c06f14e8f5265de3d0fabcdae
d21469f6ba980bf4a582c762c70980489c72f6c8
refs/heads/master
<repo_name>DisSh33/identity-server<file_sep>/my.identity.server/AppSettings.cs using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using IdentityModel; using IdentityServer4; using IdentityServer4.Models; using mi.identity.server.Data.DataAccess; using mi.identity.server.Vi...
9abe403b6fb885cf81faff1bb841690f50488ce3
[ "Markdown", "C#" ]
42
C#
DisSh33/identity-server
565b436aad98e891744b1bfc34f2013179b8fd88
35fa4f3dc7f494432793432bbeb4870ed9d31608
refs/heads/master
<file_sep>#Overview train_SGD.py runs a Logistic Regression Classifier with Stochastic Gradient Descent to predict if a user ends up buying a product or not #Python Libraries Pre-Requisites: scikit-learn, numpy, scipy If using virtualenv pip install -r requirements.txt #Run code: python train_SGD.py <file_sep>numpy=...
da1b35c56b274f7c8dcb526a690e9c8abbdeb172
[ "Markdown", "Python", "Text" ]
3
Markdown
smritijha/LRClassifier
fef77081e0308fbb81f84d3cbb19cecf477cd61c
e1079380cf2ef15eb175c96d52688b01abef4ceb
refs/heads/master
<file_sep>var chai = require('chai'); var expect = chai.expect; var pigLatin = require('./pig-latin.js'); describe('Pig Latin Translator', function(){ describe('English to Pig Latin Function', function () { it('should be a function', function () { expect(pigLatin.englishToPig).to.be.a('function'); });...
009f84179802297062c65e69cc1bb3c28ba0462a
[ "JavaScript", "Markdown" ]
4
JavaScript
Chinmoykoch/pig-latin-translator
8e01eca279523f22195f79a4c300ab56d9b5e672
621d9eb00fec4fc615372a39371e5c2901fe90dc
refs/heads/master
<repo_name>ExpediaInc/apiary-extensions<file_sep>/pom.xml <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> <parent> <gr...
187e720128783eed2969c270a2b22d89c5d792e6
[ "Markdown", "Java", "Maven POM" ]
5
Maven POM
ExpediaInc/apiary-extensions
a44a51e19e449d3d1202c935a322dc94c547eca0
a714c6055e142244496c1fe8cdb5f522f1247833
refs/heads/master
<file_sep><?php namespace cleartag\satis; class Demo { }
64f692cc60b2769fabe25b9b24c5b7930b3d5001
[ "PHP" ]
1
PHP
cleartag/statis-demo-3
c6fa77bda7a6a64062b96452883a5f62968f382d
72278a6ac9bfb2ae7acb70a9ce997c677e92a7f7
refs/heads/master
<file_sep>import os.path import numpy as np import matplotlib.pyplot as plt from scipy import interpolate import matplotlib matplotlib.rcParams["font.family"] = "STSong" # 设置中文字体 matplotlib.rcParams["font.size"] = 14 # 设置字号 current_dir = os.path.dirname(os.path.abspath(__file__)) # 文件路径 def two_p(p1, p2): "...
daa745c5e355c9de029e1463ae6634f24a52908b
[ "Markdown", "Python" ]
2
Python
idocx/reflux-ratio-tool
86b0073ccf4484a800dfcf2f08c60f6458b885ba
5981936d298f981f531bf1570b46880d9015052a
refs/heads/master
<repo_name>wstence/ReverseString<file_sep>/Makefile all: g++ -o rev revString.cpp <file_sep>/README.md Reverse String Program displays reversed string. Sample input string: cat Sample output: Reversed string: tac <file_sep>/revString.cpp #include <iostream> #include <string> using namespace std; int main() { in...
676b9689b278340608f45a349dbe6277c76fec3b
[ "Markdown", "Makefile", "C++" ]
3
Makefile
wstence/ReverseString
2b91ba9324aa8f7d7b62f804a0a548ade96f5844
8fc604217a8cb057b18b7a4d5fc355da814c9c3e
refs/heads/master
<repo_name>Przemyslaw5/test<file_sep>/springboot-api-docker/src/main/resources/application.properties server.port=10101 spring.jpa.hibernate.ddl-auto=create spring.datasource.url=jdbc:mysql://database:3306/animaldb spring.datasource.username=user spring.datasource.password=<PASSWORD> spring.datasource.driver-class-nam...
345d4dd4e35cfa732d803f6db454aca8d6df22f8
[ "Java", "Dockerfile", "INI" ]
5
INI
Przemyslaw5/test
1fa08010f8fff36a5faa758d5ab8ba4fdd151ab1
a757a85801b2b846058f04f7ae27f706819aa384
refs/heads/master
<file_sep>import itertools import enchant print("Enter the outer circle letters") letters = list(input().split()) print("Enter middle letter") mid = input() D = enchant.Dict("en_US") Dx = enchant.Dict("en_UK") words = [] n = len(letters) for i in range(2**n): curlist = [] for j in range(n): if(i & (1 << j)): cur...
ed76cddc64925954c6c01e7e46545c8c5af0289f
[ "Markdown", "Python" ]
2
Python
sainanee/word-wheel
894dadc4c6d1f5d90261b7b89cac80ced2ded581
ddca02afb5b7460f56316f7b28b407c2abe95cd4
refs/heads/master
<repo_name>DamnCoder/dcpp_math<file_sep>/project/include/math/matrix.h // // matrix.h // // Based upon Mathlib.h -- Copyright (c) 2005-2006 <NAME> // // This code is licenced under the MIT license. // // Modified by <NAME> on 17/07/12. // #ifndef bitthemall_matrix_h #define bitthemall_matrix_h #include "vector3.h...
def47590fcfb40bb4dd94dbbab3ec8dcf3b796e3
[ "C", "CMake", "C++" ]
12
C++
DamnCoder/dcpp_math
11e05222cc24ad63391cd899fd931ef08192d2f5
09402ac75437bb5f0a614429d42af227aabac790
refs/heads/master
<file_sep>package com.paskie.callrecorder.database; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import com.paskie.callrecorder.models.Call; /** * Created by user on 4/24/2017. */ public class DatabaseHelper extends SQL...
44700720d9d07e499e8ec6d188cd30b799c97ec7
[ "Markdown", "Java" ]
12
Java
adigunhammedolalekan/callr
27ef514142f938395507b8b5cbc047155b47bc05
4c8ef7cd819a9594551e8e11f29e93887f1e5b41
refs/heads/master
<file_sep> function tap( dom, callback ){ var startTime = 0; var endTime = 0; dom.addEventListener("touchstart",function(){ // 记录按下屏幕的时间 startTime = Date.now(); }); dom.addEventListener("touchend",function(){ // ...
2165b643e509ca834b56a96f40811bc2d112f3e8
[ "JavaScript" ]
2
JavaScript
kkl2020/mobile_learn
dc818f345f7414783a7bf83b889378545c2893f8
1b2bea5212a33bbc6430e1798682da7cf9825610
refs/heads/master
<repo_name>bingzhang007/dc<file_sep>/js/kfl.js var utilModule = angular.module('utilModule', ['ionic']); //什么时候检查:添加到购物车时,下单时,进入购物车时,查看订单中心 //什么时候设置:登录成功时,设置为1, 退出登录时,设置为-1 utilModule.service('$LoginOperate', [function () { //检查是否已经登录 this.checkLoginFlag = function () { var flag = sessionStorage.getItem...
0e62e99d93fabfae047e4a17796ac62e2acbf015
[ "JavaScript", "SQL", "Markdown", "PHP" ]
4
JavaScript
bingzhang007/dc
46f15acc5561ba67ebc2d4de536d1c1e66f42505
4b926b90ba8f88ad5eede843fe8d32b287725b34
refs/heads/master
<repo_name>preamsai123/project<file_sep>/project/PROJECT/src/com/dao/UserDao.java package com.dao; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import com.bean.User; public class UserDao { public static boolean CheckEmailex...
200d1641a58a1f343bd25c7638df9eb55f180dbe
[ "Java", "SQL" ]
3
Java
preamsai123/project
49772a7aba4ddea9f58a09193f7288e2f4acd28c
ca0143269a6db21e8609f63d4b5d685e2cdeade2
refs/heads/master
<file_sep># Code for "DEFIne: A Fluent Interface DSL for Deep Learning Applications". This repository contains the code for the following paper: <NAME> and <NAME> (2017) DEFIne: A Fluent Interface DSL for Deep Learning Applications. Proceedings of the 2nd International Workshop on Real World Domain Specific Language...
23240db82fad2040a6c9c8dc626c15677c92cc73
[ "Markdown", "Python", "Text" ]
11
Markdown
ndethlefs/DEFIne
230657427d0da6d508b7d76d8d7cf0bcfdfae55f
c253c82c782b6d5c4c98fcca6dbd6bcfe531d633
refs/heads/master
<repo_name>ThePuffin/atelierReact<file_sep>/films/listefilm/src/components/Films.js import React, { Component } from 'react'; import "./Films.css" class Films extends Component { constructor(props) { super(props); this.state = { listeFilm: [{ titre: "batman", ...
816e607d64446bf24e3d56e73f37f6178c28ad37
[ "JavaScript" ]
12
JavaScript
ThePuffin/atelierReact
60e01dcf1efd3977e0d707b80ee569815b7ede17
0ad03ff768676318f183a7adbeeb2861448f4e68
refs/heads/master
<repo_name>OsmarHofman/WildWestFirstPerson<file_sep>/Pause.js class Pause { constructor() { } pauseMouse() { var bloqueado = document.getElementById('bloqueado'); var instrucoes = document.getElementById('instrucoes'); var bloqueioPonteiro = 'pointerLockElement' in document || ...
d717c0df06268e9606279be880d09d628265665c
[ "JavaScript", "Markdown" ]
5
JavaScript
OsmarHofman/WildWestFirstPerson
8df8f92f8c3b3e679a8736b9b61074986b736c1b
eed0be0295b5f592de6de51818cbf837dd12fd7f
refs/heads/master
<repo_name>deewlabs/CovidAssitUI<file_sep>/covid-assist-ui/src/api/saveHospital.js import client from "./client"; const endpoint = "saveHospital"; const saveHospital = (payload) => client.post(`${endpoint}${payload}`); export default { saveHospital }; <file_sep>/covid-assist-ui/src/components/hooks/useGeoLocation.js...
067c8330790e7f1813fdd7a6e9c8fdfbfcab40a4
[ "JavaScript", "Markdown" ]
14
JavaScript
deewlabs/CovidAssitUI
2791e650f77aca0f8dd6823643d137af7596655f
d9fb6cca483b74e2f0bdd19921a00c0a4bcb93a1
refs/heads/master
<repo_name>pohl/Explorem<file_sep>/Sources/Explorem/LoremParser.swift // LoremParser.swift // SeinfeldChain // // Created by pohl on 6/20/14. // Copyright (c) 2014 pohl. All rights reserved. // import Foundation import StringScanner let alphanumeric = CharactersSet.alphaNumeric let whitespace = CharactersSet.spac...
ff44c66c876d05bac09263c120c95318caaed01e
[ "Swift", "Markdown" ]
9
Swift
pohl/Explorem
38bb7a214793c4be0ca382804074e5c444e84701
604791ee4cf21b6fe2a00d30cd30c586b03bf3c7
refs/heads/master
<file_sep>using System; using System.IO; using System.Diagnostics; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Mame2LCD { class processScraper { List<string> procs = new List<string>(); string watchFile = @"d:\mame\etc\data.da...
74e598d2a3bc73e92d0c6e816f9c3d4dc339920e
[ "C#" ]
2
C#
FallenWyvern/Mame2LCD
45cb306bbd8ebfea3c8ed91ca529d4dab0c43848
a0685c8739883d912f5406f070bb44c228787858
refs/heads/master
<repo_name>msergdeez/mass_telnet<file_sep>/README.md mass_telnet =========== Put settings to many devices via telnet <file_sep>/put_settings.py #!/usr/bin/env python #coding=utf-8 """ Put settings into many switches via telnet """ from telnetlib import Telnet import socket from datetime import datetime from sw...
2c53eac36c6a67c1a08ceba302f196150f82327e
[ "Markdown", "Python" ]
2
Markdown
msergdeez/mass_telnet
8143fddbde6f627da3b2dff28acdcce48beaa700
3e5740ba201f09320a5b90866596c278e231ed15
refs/heads/master
<repo_name>c-trimm/NoteWin<file_sep>/js/script.js // NoteWin // Author: <NAME> // Created: July 2010 $(document).ready(function() { var $formBox, $title, $note, $submit, $dToggle, $clearBtn, title, note, editor, windowStates; function init() { $formBox = $("#form"); $title = $("#title"); $note ...
0e81b01611a14f0e064db0d495b3d7eb693a096b
[ "JavaScript", "Markdown" ]
2
JavaScript
c-trimm/NoteWin
10013cb627e9f942ede751305012ce918285119d
df3b97079a4fef7f58a01943ecc4253a15419b93
refs/heads/main
<file_sep>[Squares] Enh = 1 Colorize = 0 <file_sep>import copy init_pos = "rnbqkbnrpppppppp................................PPPPPPPPRNBQKBNR" init_fen = "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1" q_atks=[] b_atks=[] r_atks=[] n_atks=[] k_atks=[] bp_atks=[] wp_atks=[] rays = [] # Three dim...
e876a178e51f56be2c576a5ecb0d6ecdc42e200d
[ "Python", "INI" ]
5
INI
yachess/vchess
59d6f6eecd5466153e64db97cc614b754a636c98
3a3f22d1d20ecef2bd875ce715b94bfd05585f22
refs/heads/main
<repo_name>OskarKozaczka/pp5-java<file_sep>/src/test/java/pl/mbruzda/misc/GreetingTest.java package pl.mbruzda.misc; import org.junit.jupiter.api.Test; import pl.mbruzda.misc.Greeter; import static org.junit.jupiter.api.Assertions.*; public class GreetingTest { @Test public void itGreetsUser(){ //Arr...
a7036559206a609153464c4942eaa77e2989bee5
[ "Java" ]
6
Java
OskarKozaczka/pp5-java
66ada9e5c9acf5043ede6fe6cd9635945cba26a9
76237699c9bc9cb741a2a13ea2c18b13f8d085ea
refs/heads/master
<repo_name>kanika26arora/Mouse-Controller<file_sep>/KanikaArora_Controller.java import java.awt.Point; import java.awt.Robot; class KanikaArora_Controller extends javax.swing.JFrame { Robot r; int x,y; public boolean leftKeyPressed = false; public boolean rightKeyPressed = false; public boolean upKeyPressed ...
9456ec4a5136efabc766695a6075f7858522b3d5
[ "Java" ]
1
Java
kanika26arora/Mouse-Controller
e672e6ac33ddfd78c5c75288d9a936112c8e21ed
bd2ab1f152cf7616b0b3d1116268f9fa1f5ce181
refs/heads/master
<repo_name>SimonYanng/MLS<file_sep>/Inoherb4/util/Constants.h // // Constants.h // SFA // // Created by <NAME> on 13-11-12. // Copyright (c) 2013年 Bruce.ren. All rights reserved. // #define DOWNLOADURL @"http://www.parrowtech.com/ios/RB-business.html" //#define BASEURL @"http://172.16.31.10:8078/DataWebService.asm...
5fcd578266537e5a2ac358c853ee076319f53e74
[ "C" ]
1
C
SimonYanng/MLS
e0d2181ec2549dd95d3ead0c973dafde25a9bb63
18000529bf538d1bd45b0b64390f21f0147bdb6b
refs/heads/master
<repo_name>regexpressyourself/cms<file_sep>/public/manage_admins.php <?php $layout_context = "admin"; ?> <?php include("../includes/session.php");?> <?php include("../includes/functions.php");?> <?php confirm_logged_in(); ?> <?php require_once("../includes/db_connection.php");?> <?php require_once("../includes/lay...
8e68d235dcf22b2a5e216322d9e2903186e5f051
[ "PHP" ]
1
PHP
regexpressyourself/cms
a992e6865d309d3b41447dfbcf85deb7f8b27158
cc834138730b70e7db67e7f1689ad8272755bbd0
refs/heads/master
<repo_name>Jyothsna99/Web_Table_from_CSV<file_sep>/csvmodule.py '''using csv module we can read the contents of the csv This program reads the data from csv file and create a table in the web page using the data that is red from csv file''' import csv def csv_to_html_table(fname,headers=None,delimiter=","): f=o...
6385ba1dcb38fda4e9c26e868915ac3e32802943
[ "Python" ]
1
Python
Jyothsna99/Web_Table_from_CSV
43c76dc06797dd77fa44b982518d05c9e57cf4de
f4802453f41e9457cce4ebb886567157aa9e3000
refs/heads/master
<repo_name>mehgancook/WebServiceLab1<file_sep>/app/src/androidTest/java/mehganc/tacoma/uw/edu/webservicelab/SignInActivityTest.java package mehganc.tacoma.uw.edu.webservicelab; import android.test.ActivityInstrumentationTestCase2; import com.robotium.solo.Solo; import mehganc.tacoma.uw.edu.webservicelab.authenticate...
7a5442d03b60ef356bb1166e8e2139e57d3aa243
[ "Java" ]
1
Java
mehgancook/WebServiceLab1
ebf9e9ce14e9ad2cc1fb185dbe251968dcb469ec
5b6cc8d52341da67a5a6997a3053bc671abf30b8
refs/heads/master
<file_sep>argon-web ========= 原型,测试修改中。请前往其他分支。 <file_sep>import tornado.ioloop import tornado.web import os.path import tornado.options import tornado.httpserver class LoginHandler(tornado.web.RequestHandler): def initialize(self): self.Islogin = False def get(self): self.render("templates/in...
c9bc1fd4dc84f427ceef3268b47aa6c363f28ed1
[ "Markdown", "Python", "JavaScript" ]
3
Markdown
argolab/argon-web
9e2bb4336f0c57ad2061b1f8d882aa481ddfee66
b75375398bb13ddf68ad84488d1bb364b0a621a3
refs/heads/master
<file_sep>import React, { Component } from 'react'; import './App.css'; import AudioAnalyser from "./AudioAnalyser"; import Pitchfinder from "pitchfinder"; class App extends Component { constructor(props) { super(props); this.state = { audio: null }; //We're going to u...
1e72924a15d0323860a5aa617e2a1240c314594b
[ "JavaScript" ]
2
JavaScript
tcaraher/musician-toolbox-prototype
cd0d7033922122628f4aefce1806f1d71a26ce59
9a544e316cccc5a77fc1351ae884ff917de836fa
refs/heads/master
<repo_name>wade009/tinysquare-ops<file_sep>/util/PageUtil.js function getPageBegin(pageNum, pageSize) { if (pageNum != null && pageSize != null) { pageNum = parseInt(pageNum,10); pageSize = parseInt(pageSize,10); return pageNum == null || pageNum <= 1 ? 0 : ((pageNum - 1) * pageSize); } ...
fd644ed0fa65a9f88958d4c7230b539b3d8a01e4
[ "JavaScript" ]
11
JavaScript
wade009/tinysquare-ops
05aed4ef49f6a84278f8086027b4b8d7df9a36f2
945fa438838771909087766672de730b8907e7e1
refs/heads/main
<repo_name>asivapra/abs<file_sep>/AWS_Comprehend/parse_comprehend-results.py #!/usr/bin/env python """ parse_comprehend-results.py GitHub: https://github.com/asivapra/abs/blob/main/AWS_Comprehend/parse_comprehend-results.py This program parses the results from "AWS Comprehend Custom Entities Recognition" and masks ...
0bf513302cf74b11747381ddd4b52168235d0176
[ "Python" ]
6
Python
asivapra/abs
14a056708afe0697f9d537b092b3da6dfd639cf7
ff53e3c63a11c31e722df28d201f61d99901892d
refs/heads/master
<repo_name>jkasap/python_section2<file_sep>/download2-3-3.py import urllib.request as req from urllib.parse import urlencode API = "http://www.mois.go.kr/gpms/view/jsp/rss/rss.jsp" values = { 'ctxCd': '1001' } print('before', values) params = urlencode(values) print('after', params) url = API + "?" + params #p...
340f52302c10af6ad844ed55cc3bb55cf648be20
[ "Python" ]
16
Python
jkasap/python_section2
388d9a290f2645c9429a4f130c0363118d5e19ee
4d8ef9d74570a41376d60442e945c480e099c033
refs/heads/master
<repo_name>pikamegan/rookiehacks<file_sep>/src/App.js import React, {useState} from 'react'; import './App.css'; import About from './components/About'; import Blog from './components/Blog'; import Navigation from './components/Navigation'; import LoginForm from './components/Login'; import SignupForm from './component...
30eed5fb67470353e15b3c472931bff469e12848
[ "JavaScript" ]
2
JavaScript
pikamegan/rookiehacks
564e814ffb06b107894262279f76fd14239b9816
aebc79384327de2484c3619e63ee3e222b75e6ca
refs/heads/master
<repo_name>shagindl/parser_uspr_F16<file_sep>/parser_uspr_F16.py # -*- coding: cp1251 -*- import re slog = open('C:\\Users\ShaginDL\Downloads\Лог толкит.txt', 'r', encoding='utf-8').read() slog = ''.join(re.findall(' \w\w', slog)).replace(' ', '') # оставляем только ASCII hex slog = ''.join(re.findall('570103.*57', sl...
5a2c3f0eff69f339a9fa02d98fca8cd9bb6f0d80
[ "Python" ]
1
Python
shagindl/parser_uspr_F16
08a7d5314e31fc0f5ef1e4269bcbd68bd6473212
e3a01dcd75eeec1bc70ae5c4c3e0bfe312cb6100
refs/heads/master
<repo_name>davidbernardo/CQProject<file_sep>/API/API/Global.asax.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace API { public class WebApiApplication : System.Web...
442a5fab0b2e2063a873ef76df92a0807bd358a9
[ "C#" ]
1
C#
davidbernardo/CQProject
a601f45e155f68e3fa846a97829620cdbc3cc722
e185f171c8489abfc2a73a94a732b7e5e1da0d54
refs/heads/master
<repo_name>HiThisIsNotCodeRepo/ProjectGoLiveRun4FrontEnd<file_sep>/src/doc/git/git.md # Git ## Common Script `git pull <remote addr>` - To pull repo from remote `git merge dev` - To merge with branch `git reset HEAD .` `git checkout .` - To restore files accidently deleted `git reset HEAD .` `git clean -df` - To de...
6470ddf0f36c17f109b3759659dbf7ad78cb93e0
[ "Markdown", "TypeScript", "Shell" ]
35
Markdown
HiThisIsNotCodeRepo/ProjectGoLiveRun4FrontEnd
9fc59f53c510688a5242092bbda9ffbc86eaa132
45fcfffa2fbc63a052474b05718d603ffff1ca86
refs/heads/master
<file_sep>#!/usr/bin/env python import math import sys import time import dbus import gatt LIGHT_CHARACTERISTIC = "932c32bd-0002-47a2-835a-a8d455b859dd" BRIGHTNESS_CHARACTERISTIC = "932c32bd-0003-47a2-835a-a8d455b859dd" COLOR_CHARACTERISTIC = "932c32bd-0005-47a2-835a-a8d455b859dd" class HueLight(gatt.Device): d...
49905be231f7eac18b5ee4a785c36e01defb9140
[ "Python" ]
1
Python
mussra/hue-ble-ctl
06246910e3eca731571b763fb79e9b7ec8e30ce0
509e7b2b14586d15f9861fc864988a8358cd282d
refs/heads/master
<repo_name>coldice1915/logs-analysis<file_sep>/logs_analysis.py #!/usr/bin/env python # -*- coding: utf-8 -*- # A reporting tool that answers three questions about 'newsdata.sql' # Question 1: What are the most popular three articles of all time? # Question 2: Who are the most popular article authors of all time? # Qu...
b0d9f9444dbba5f0f5c08476d9c871ae18a4a3f7
[ "Markdown", "Python" ]
2
Python
coldice1915/logs-analysis
01f5c02bfd01eb04ce245292657618959638af5f
9ae61af92da7f718a316f4dc7df36cb2f3eac6b3
refs/heads/main
<repo_name>terrifricker/our-solar-system<file_sep>/client/src/App.js import { BrowserRouter, Route, Switch } from "react-router-dom"; import { InfoPage } from "./components/InfoPage"; import { SolarSystem } from "./components/solar-system"; import { WebGLProvider } from "./contexts/WebGLContext"; function App() { re...
57775b095bea8a73972eef43ffc0d522b8a7850d
[ "JavaScript", "Java", "Markdown", "INI" ]
22
JavaScript
terrifricker/our-solar-system
6f42736ec636841117eea8e014dc993adf445388
791bd84f250b12bc7a5a9b33233c47566dd06498
refs/heads/main
<file_sep>using UnityEngine; namespace Puzzle2DSystem { public abstract class PuzzleDataVisualizer { public GameObject[] PuzzlePieces { get; protected set; } public abstract void SetPuzzleData(PuzzleData data); public abstract GameObject CreateBoardVisual(); public abstract G...
5ed46a31244c79f876d045d2af9f80a3ba9a19e9
[ "Markdown", "C#" ]
12
C#
SkyWalker2506/Block-Puzzle-2D-Prototype
9945cd39c1eb75d706de8fdcaea419c3c32d5a00
6a53e470bc08b9715685e28884e549e8777742fc
refs/heads/master
<repo_name>Ksu1988/Requests<file_sep>/Data/RequestContext.cs using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Requests.Models; namespace Requests.Data { public class RequestContext : DbContext { public RequestContext(DbContextOptions<RequestContex...
3b9313b419544c4afec6220771afe7b9192e76db
[ "C#" ]
9
C#
Ksu1988/Requests
375bc79183681c0b332d7d7dac0e923d0e9ffed5
16fcf014472458b4dd4d8f13461befcac4022fdc
refs/heads/master
<file_sep># BOTLoja Projeto com o objetivo de criar um BOT para tentar realizar a venda de jogos. Por meio de uma conversa, o BOT tentará realizar uma venda de um jogo. # Contexto Uma loja para alugar jogos online onde um BOT realiza a venda. <file_sep>#<NAME> #<NAME> #<NAME> #<NAME> import os import math import...
6e89790db1ecc244db259e061aa80248def459f4
[ "Markdown", "Python" ]
2
Markdown
ViniciusMassao/BOTLoja
a6b4814d935761af73f633c6d40ed8fced8b72dd
cd9bc41bbb957391752ec6beefc7d188d71eda1a
refs/heads/master
<repo_name>isml26/newsletter-sign<file_sep>/README.md # newsletter-sign subscribe app using mailchimp api run npm i start server <file_sep>/app.js //jshint esversion:6 //npm init //npm install express //npm install -g nodemon //npm install request //npm install bosdy-parser //npm install async //npx nodemon ser...
0e015c68c1e7afbcd2e0d8d422d188b77fdcb378
[ "Markdown", "JavaScript" ]
2
Markdown
isml26/newsletter-sign
f30a3daf2f6de60293720cc6749f8d49a7938f76
732d4443b164d98529b10330a589937aaf9106b5
refs/heads/main
<file_sep>package csv import ( "encoding/csv" "log" "os" "go.k6.io/k6/js/modules" ) type CSV struct{} func init() { modules.Register("k6/x/csv", new(CSV)) } func (c *CSV) Append(path string, data []string) { f, err := os.OpenFile(path, os.O_APPEND|os.O_WRONLY, os.ModeAppend) if err != nil { log.Fatal(err)...
90a2c4e55956a54bd186bdce9384220826492c18
[ "Go Module", "Go" ]
2
Go
Tushar-Tiket/xk6-csv
5f0fe2de49b60f697b2572f19ec40c9c8569140a
50b2b46f5c653aad180069cdbbb6ee0ddc56951e
refs/heads/master
<file_sep><!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <link rel="stylesheet" href="style.css"> <title></title> </head> <body> <?php foreach(glob("thumb/*.jpg") as $filename){ $temp = strlen($filename) -6; $temp = substr($fi...
69c765682f44616abdbc9bfb01d24938f6643902
[ "PHP" ]
1
PHP
yazlo/galleri
854741a141e56ab705090d3d14fc8887f3817285
e77e7b114e471406dd7c66299b34c04ee1aa9e6a
refs/heads/master
<repo_name>swest599/Inheritance-Polymorphism<file_sep>/src/com/company/Main.java package com.company; import java.util.HashMap; import java.util.HashSet; public class Main { public static void main(String[] args) { AlienXenomorph alienXenomorph = new AlienXenomorph(); AlienXenomorph humanXenomorph = new HumanX...
ad4463e2f9acd29ed86336b855a2681682eef549
[ "Java" ]
1
Java
swest599/Inheritance-Polymorphism
14decb41d1785b6a330fd006611e75925d9cef04
412574aea6187a5105c728b541b28ed24e4ad54e
refs/heads/master
<repo_name>hiroaki-u/share-read<file_sep>/spec/models/bookcase_spec.rb # frozen_string_literal: true require 'rails_helper' RSpec.describe Bookcase, type: :model do before do @bookcase = FactoryBot.build(:bookcase) end context "本棚登録できる時" do it "まだ本棚登録していない時有効" do expect(@bookcase).to be_valid ...
08d2e901c4bc885d765b80183a45cded2a2e36d9
[ "Markdown", "Ruby" ]
35
Ruby
hiroaki-u/share-read
804660a740522e0d06bcf7c23b97c3c6cfe0e9a7
5e6727f12c28573fc51dc7c7cd7ad8877b174810
refs/heads/master
<repo_name>radovanovicslobodan/style-key-chris<file_sep>/js/info-modals.js /* Author: <NAME> Desctiption: This jQuery code is for modal windows which appears on pages: measurements-men.html and measurements-women.html */ $(function() { var modalSettings = { effect: "fadein", overlayColor: "#fff", ...
17305d9d82ca9bc055ca9400f653887a0f1cf91e
[ "JavaScript", "Markdown" ]
2
JavaScript
radovanovicslobodan/style-key-chris
e0be3f53b07422fc95951224c994aef1952059a7
70da6dd384266d86806f7b42a2f1e21d5e5c61e3
refs/heads/master
<file_sep>import React, { useState } from "react" import styled from "styled-components" import { Link } from "gatsby" import Scrollspy from "react-scrollspy" import Resume from "./resume" const StyledHeader = styled.header` height: 100px; display: flex; justify-content: center; align-items: center; backgrou...
d22d116fc8151e66b1e02daab7c0c1ca896dac23
[ "JavaScript", "Markdown" ]
10
JavaScript
sieroniekuggy/personal-site
6f03550975a316831200edbf3537abb45ea23574
76b6d79d79aecdbd8ec4fa9bacddeb2cec7e7948
refs/heads/master
<file_sep>// Ordinarily, you'd generate this data from markdown files in your // repo, or fetch them from a database of some kind. But in order to // avoid unnecessary dependencies in the starter template, and in the // service of obviousness, we're just going to leave it here. // This file is called `_posts.js` rathe...
e301bba5b6a250bc6c56a94c0f4d4a516dda612d
[ "JavaScript" ]
1
JavaScript
philholden/omysoul-blog
66375faf9549912adefc5bc7b8d7c77843297b0f
cb0c8daba28ea6d74280a60b2f579e925aca4da4
refs/heads/master
<file_sep>package com.app.crony; import android.app.ProgressDialog; import android.content.Context; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.view.Window; import android.view.WindowManager; import android.webkit.We...
c7645970e6e8ceeac03d03109acac1c1f0805ba8
[ "Java" ]
2
Java
avik1990/WebviewApp
fdd3d9cfdc7d188116f51b90b6b94908a64810f0
6401939653f6deb4a71560be8b628a3885cfedf3
refs/heads/master
<repo_name>stanmei/Networking<file_sep>/dist_hc_sys_wins/inc/usercli.h #ifndef _USERCLI_H #define _USERCLI_H int UserCli (int client_sock,char* user_grp,char* user_name,char* user_pswd); void admin_opers(int client_sock,char* user_grp,char* user_name,char* user_pswd); void healthcare_opers(int client_sock,char* user_...
f71e457bb328e7e9fb6e0162f3afec0590963d8f
[ "Markdown", "C", "Text", "Makefile" ]
49
C
stanmei/Networking
19660f54a4c369340439c7c93c47233493ce5e52
ab59fb17f33bb9b8171de23d6096a8aadc85f15a
refs/heads/master
<repo_name>kktsvetkov/ShrinkPress<file_sep>/src/Reframe_PhpDoc.php <?php namespace ShrinkPress\Evolve; class Reframe_PhpDoc extends Reframe { function reframeFunction($function, $filename) { $d = self::extractPackages($filename); return array( 'method' => $function, 'class' => $d[1], 'namespace' => $ns...
3aa5e7b591f4d8e157c6c1826f0280eb54e78891
[ "Markdown", "PHP" ]
32
PHP
kktsvetkov/ShrinkPress
4bbec20c3ccd1055f8653995db0524090f832b9a
662577c7cc4a9b8243a7d5ff69cb0fdb191001df
refs/heads/master
<repo_name>roccosta/automacao<file_sep>/login_wifi/login_wifi/features/step_definitions/login_wifi.rb Dado(/^que eu acesse a url de login$/) do visit('https://guest.santander.com.br/sites/SANTANDER/wlc_login.html?switch_url=https://1.1.1.3/login.html&ap_mac=18:8b:9d:69:a0:f0&client_mac=ac:bc:32:b2:58:03&wlan=GSBPARTN...
e33e7feb5a3348ee35d96abbc777ee45e8c4348a
[ "Markdown", "Ruby" ]
30
Ruby
roccosta/automacao
e89389b9bd6a5a9ceeddaed4f8c05bc8260331de
9f27c8fa5ca6498b804970c447ce29956dce8b12
refs/heads/master
<repo_name>robotics-4-all/2020_riot_mde_thanos_manolis<file_sep>/riot_mde/codegen/README.md # Folder codegen The parser will fill this folder with source code, generated from the templates.<file_sep>/README.md # riot_mde A library for modelling devices (supported by [RIOT](https://github.com/RIOT-OS/RIOT)) and their ...
9bf643ef68544248e08140212c9b8a7aaac6203e
[ "Markdown", "Makefile", "Python", "Text", "C" ]
12
Markdown
robotics-4-all/2020_riot_mde_thanos_manolis
d795f710b7c405db9bd7921b01a52c80b5a20b03
93b8232eee390da3298e2cfa73f83183cdf45e55
refs/heads/master
<file_sep>package com.bbrv.app.domain; public final class Views { public interface IdText{} public interface FullFields extends IdText{} } <file_sep><img src="https://img.shields.io/badge/backend-spring--boot-green"/> <img src="https://img.shields.io/badge/front-vuejs-yellow"/> # To-do-list ## Тестовое прилож...
521cc119e43225ba9458bb712fbadf9905c1519c
[ "Markdown", "Java" ]
2
Java
mr-and/todo-spring-vuejs
c4b0e70ec4477053c0968dc4e78c3a1a705d98f3
5c8e1c33a47905d9f937bdda3013c56699552f68
refs/heads/master
<repo_name>ZhaoguoZhu/IAM_Handwriting_Recognition<file_sep>/Main.py from Data_Preprocessing import prepare_data from Loading_and_Normalize import normalize_pixels from Model_Evaluation import eval_model from Data_Preprocessing import prepare_data from tensorflow.keras.preprocessing.image import load_img, img_to_array...
aeee64081d1b5dcca139c039c95cff155fcaf95f
[ "Markdown", "Python" ]
8
Python
ZhaoguoZhu/IAM_Handwriting_Recognition
7820022c865befaeb6ad17cb28b2b6973eeccbeb
aadcdec1e020c557a2b2e7c574684c216b0d3412
refs/heads/master
<repo_name>A-Lawrence-Reynolds/webapi-challenge<file_sep>/projects/projectRouter.js const db = require(`../data/helpers/projectModel`); const dbTwo = require(`../data/helpers/actionModel`); const router = require("express").Router(); router.get(`/`, (req, res) => { db.get() .then(projects => { res.status(2...
f0c28f5efa6e43d5ee98287d311ad20f129169d3
[ "JavaScript" ]
1
JavaScript
A-Lawrence-Reynolds/webapi-challenge
cd73221f0b06e7b59fb6c3c0a8ae1032b0cc23fe
17a1efbb702826f95d91bc070ab9d64f9392452a
refs/heads/master
<repo_name>JasonHarrer/PythonFun_FuncsIntermediateI<file_sep>/randint.py import random def randInt(min=0, max=100): # if min > max in any situation, we will swap them. if(min > max): return round(random.random() * (min - max) + max) return round(random.random() * (max - min) + min) print(randInt(...
da0e4dde06ec2a0047220088f7a9bb8091e26d44
[ "Python" ]
1
Python
JasonHarrer/PythonFun_FuncsIntermediateI
874f6dd3ea7cf5a76e01dc51e4c2cc04bfce9225
3db7a564b0a7f721b81703d5674bd52e8b03c117
refs/heads/master
<file_sep>CREATE DATABASE testdb CREATE TABLE user({ usid SERIAL PRIMARY KEY, fname name, mname name, lname name, email varchar, phone bigint, "role" varchar, "address" varchar, editable boolean, })<file_sep>import { Router } from 'express'; import { getUser, createUser, updateUser,...
6943d26e4cd6bbdcb6801b1c2064c8ab79556d3c
[ "SQL", "TypeScript" ]
5
SQL
iharshks/assignment-backend
270f943973beb8116571d9bd435643a6ce791791
dfe95f86f19ed18861cd33d632a52fbce9e49b0f
refs/heads/master
<repo_name>donMichaelL/hello-docker<file_sep>/mqtt_client.py import time import paho.mqtt.publish as publish print "That's One Small Step For Man, One giant Leap for Mankind" # for i in range(0, 10): # print i # publish.single("airsoul", "%s This is a new Message" %(i), hostname="172.16.17.32", #...
21a4a3919154798970cf1f55574c2ad49eedb6da
[ "Python", "Dockerfile" ]
2
Python
donMichaelL/hello-docker
bd9737439a2f6e2b44dddcd6c5d64d84e2130e1f
5e181fcfbe2fa18ecc24f8a4998b203918bb9f66
refs/heads/master
<file_sep>console.log('I am working') // Use document.querySelector to grab a DOM Node (HTML Element) const headerText = document.querySelector('.title') //.innerText controls the text displayed by the element headerText.innerText = '<NAME>' //.style allows you to set the style attribute directly headerText.style = ...
c9fdd0038e5b067e425b98dda2448e83a92be83b
[ "JavaScript" ]
1
JavaScript
dm-wr4/javascript-4-lecture
9a511200bdbba3ae7c131935924fbd65c7e63ebe
5ee1956dcaa69e503f75fcfe2d7b048ae1105f96
refs/heads/master
<repo_name>berkantoptas/BBM104-Interface<file_sep>/Appointment.java import java.util.Date; public class Appointment { public int appointmentID; public int duration; public Date appointmentDate = new Date(); public int userID1; public int userID2; } <file_sep>/User.java public class User { public int userID; ...
18760d3a68c3f49371d7ae4d534ab2f1cfcff190
[ "Markdown", "Java" ]
3
Java
berkantoptas/BBM104-Interface
b0f9b454bb9fc2ffeddbf4dbbb14e37edf4dc728
e72d6bb6f1fb2ee3517a36595e75a698fb5e46b0
refs/heads/master
<file_sep><?php /** * 40/40 Prayer Vigil Widget. * * This contains the widget code for the 40/40 Prayer Vigil plug-in. * * @author <NAME> <<EMAIL>> * @package FortyFortyPlugin * @version $Id: 4040-widget.php 566175 2012-07-01 20:01:05Z danielsummers $ */ class FortyForty_Widget extends WP_Widget { /** * ...
3d57e7148a843375edc34b4e96da5dcd203cb818
[ "Text", "PHP" ]
5
PHP
WPPlugins/4040-prayer-vigil
72158b1dec84378410fc8ced35a3d2029a2a730b
8fe261c89bd6309544ca6561dd9c4556b8eb208f
refs/heads/main
<repo_name>TonyJem/SubclassingUIButton<file_sep>/SubclassingUIButton/SubclassingUIButton/MysteryButton.swift import UIKit enum ButtonSuprise: Int { case Square = 0, Star, Circle, Cake func basicDescription() -> String { // This function returns a basic description of the enumeration. switch sel...
0842ece50069280a02b1cdf385a69f05af8f5b25
[ "Swift", "Markdown" ]
3
Swift
TonyJem/SubclassingUIButton
fb84752a5dd26a395d813c152dea317c7a3bb3c2
8cd83c5e2b98d6f00af22615c0171494d97ca01b
refs/heads/master
<file_sep>__version__ = "0.1.1" from .core import *
03ebfc6c4474e4b9330bd02fc7752ea3c2e0a879
[ "Python" ]
1
Python
albertvillanova/ghapi
9279bb5eaafb218e4a074071275a484d5c0f4f52
8ad474ef21b5d621fed3d3de47885996ec2b3b5a
refs/heads/master
<repo_name>manilajs/certificate-generator<file_sep>/generate.rb #!/usr/bin/env ruby def slugify(str, salt) require 'digest' Digest::SHA1.hexdigest(salt + str) end def xhtml2pdf(input, output) system "xhtml2pdf #{input} #{output} 1>&2" end template = File.read('template/index.html') output = [] salt = "<PASSWOR...
07317a348bb01a2950e6f617870c606c773fc9dc
[ "Markdown", "Ruby", "Makefile" ]
3
Ruby
manilajs/certificate-generator
622d4890a83ae61c1b6d09ae6f17820c351ab86e
12d61d5ef7ac37fda580691e2217e1e5c123ed52
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 Auxiliador_jogo_da_forca { public partial class Form1 : Form { ...
7cc26bc9580d1f3b45dd45837e4ea9dc4e046191
[ "C#" ]
2
C#
PedroReboli/Axiliador_de_jogo_da_forca
5a58ad4c235ed48b17e43d71996d72d6e3409790
195ce2acb9c1f9d2644c3a47a2047ddd9cc01aa4
refs/heads/master
<file_sep>use `lotus`; delimiter ; create function `col_len`(`tbl` varchar(20), `col` varchar(20)) returns integer return (select character_maximum_length from information_schema.columns where table_schema = database() and upper(table_name) = upper(`tbl`) and upper(column_name) = upper(`col`)); -- create f...
435bf78a79ceb289b87fe65d5cbbbb144a6286bb
[ "Markdown", "SQL" ]
9
SQL
arvind-sql-corner/mysql-creating-web-pages
977f5211fcd647badaf899b8a87f099814a55dfa
bb6723cab1f3e6861cfe03b9e117e8aba3580687
refs/heads/master
<repo_name>KidBrookes/randDNA<file_sep>/src/rdna.hpp #include <random> #include <iostream> #include <string> using namespace std; string randDNA(int seed, string bases, int n){ string letter =""; int min =0; int max =bases.size() -1; mt19937 dna1(seed); uniform_int_distribution<int> range(min,max); if(bases == ""){...
03db2f6ea40bca370f18688816af4dabfbd11373
[ "C++" ]
1
C++
KidBrookes/randDNA
822d6970f732cccb1ff19e2ab700d57dc2472ba2
cbc4d69eb58c7b86f64e30b552aedd0e11184d4d
refs/heads/master
<repo_name>BlackOroogu/PythonEverybody<file_sep>/Week4/conditionals/scores.py score = raw_input("Please enter Score: ") theScore = 0.0 try: theScore = float(score) except ValueError: print "ERROR: Value '{0}' is not a float number.".format(score) exit() if theScore > 1.0 or theScore < 0.0: print "ERROR...
86baa0258b330341d9e2b8c98edefb47412c2f90
[ "Python" ]
4
Python
BlackOroogu/PythonEverybody
25042ece0061b58d4069c19c65b910facfa2f160
5f9b901b85b94d6f6224e375d6436c0f58c3f586
refs/heads/main
<file_sep># RobOT: Robustness-Oriented Testing for Deep Learning Systems published at ICSE 2021 See the <a href="https://arxiv.org/pdf/2102.05913.pdf" target="_blank">ICSE2021 paper</a> for more details. ## Prerequisite (Py3.6 & Tf2) The code are run successfully using Python 3.6 and Tensorflow 2.2.0. We recommend ...
0e0100b43a8d0c94c4878a8daa5dcecd0a7eeca0
[ "Markdown", "Python" ]
11
Markdown
yangzhou6666/RobOT
20970b2719fa795dc5ac6fca78b2f1c0931f3211
d8c03dd6651e52d12abfc7c70a3dd072162283b1
refs/heads/master
<repo_name>thomas-smith123/upper-copmuter<file_sep>/qwewq/qwewqDlg.cpp  // qwewqDlg.cpp : 实现文件 // #include "stdafx.h" #include "qwewq.h" #include "qwewqDlg.h" #include "afxdialogex.h" #ifdef _DEBUG #define new DEBUG_NEW #endif // 用于应用程序“关于”菜单项的 CAboutDlg 对话框 class CAboutDlg : public CDialogEx { public: CAboutDlg...
08bc94081bbf5da5ad6a7cf6ef1360bb6ef50486
[ "Text", "C++" ]
3
C++
thomas-smith123/upper-copmuter
b3a3da3b5fb22acf89173910b12d782a4873a632
7b8aee1cf46242072fce140b52fc39e2dd29cbd0
refs/heads/main
<repo_name>jorgelisboa/RPG-app<file_sep>/app/src/main/java/com/example/rpgsimpletoken/SheetFactory.java package com.example.rpgsimpletoken; public class SheetFactory { private String dndSheet = "CREATE TABLE dnd (" + "_id INTEGER PRIMARY KEY AUTOINCREMENT, " + "name VARCHAR(20) UNIQUE NOT N...
3fcd33823ca66f16193f4b2a7aefb7a0b52d9460
[ "Markdown", "Java", "Gradle" ]
4
Java
jorgelisboa/RPG-app
ba76094cb87b7c7339c2361480b1bb1dd0a9a3e2
0fa47b776d7376614160615dbddec0271096af89
refs/heads/master
<file_sep>package main import ( "math" ) // func main() { // fmt.Println(maxSubArray([]int{-2, 1, -3, 4, -1, 2, 1, -5, 4})) // } func maxSubArray(nums []int) int { lenNums := len(nums) if lenNums == 0 { return 0 } else if lenNums == 1 { return nums[0] } maxSoFar := math.MinInt32 maxEndingHere := 0 for i...
ceec5a43e06e8221707d1af489d0f8fa4e785606
[ "Go" ]
21
Go
MAK131990/leetcode_easy
a4031287ca91830ca9f5e561e6baebaac9e7b0d7
dbf0ac9e6f2306da86da2316436dee6ca5d302a7
refs/heads/master
<file_sep># lagouSpider 爬取拉勾网职位信息,存Mysql数据库 <file_sep> import scrapy from lagouSpider.items import LagouspiderItem from scrapy import FormRequest import time import random import json class lagouSpider(scrapy.Spider): name = "lagouSpider" headers = { 'Content-Type': 'application/x-www-...
012ac56ab50932edc54ba8d0e15cea5ab167e7cc
[ "Markdown", "Python" ]
4
Markdown
kyle-zeng/lagouSpider
8d21a133edbc8b751b1acdb3c59f615ade21e09a
5decb3be79ccf53f919d7144863eaf01ed917d47
refs/heads/master
<repo_name>GusZimmerman/NODDIanalysis<file_sep>/RUGBY_DTITK_pipeline.sh #!/bin/sh #------------------------DTITK processing pipeline---------------------- #--------Written by <NAME>, 2016, Edited by <NAME>, 2017-------- #-----------------------<EMAIL>------------------------ echo "Beginning DTITK pipeline" module loa...
15e5bb285075bfabb1fc5413a6f1a7f9e90d7873
[ "Markdown", "Shell" ]
3
Shell
GusZimmerman/NODDIanalysis
4ffc985e14a6f7e6a5a3495d684fbc85872ac394
b93e9ca27d8e99e155004e1bfb3aa106daef3fbb
refs/heads/master
<file_sep>select * from t_user; drop table t_user; create table t_user( id int primary key not null, name varchar2(20), password varchar2(20) ); insert into t_user(id,name,password) values(1,'gejian','123'); commit;<file_sep>package com.gejian.service; import java.util.List; import com.gejian.entity.User; public ...
1783fb5c4861950c5f2a22246492e9172f26a372
[ "Java", "SQL", "Markdown" ]
4
SQL
yixiqiuyu/mybatis2
d6804d3bd64b70b183f2c40a851fd578698ed3a8
0e19ba5a9f8a13e8a89523d1c2846e5b0626b337
refs/heads/master
<file_sep>import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import Login from '../components/login'; import * as accountActions from '../actions/account'; function mapStateToProps(state) { return { counter: state.counter }; } function mapDispatchToProps(dispatch) { return bi...
d5817e2161a971abfa790fd73c157db6d8d093b6
[ "JavaScript" ]
5
JavaScript
myblue/redux-startkit
009e3dd25af33cd26e0637499bec8852fe68287e
d7cce5e71b431d47744ce78f8b11d194837ada71
refs/heads/master
<repo_name>macrozone/furbius<file_sep>/app/lib/diff.js Meteor.startup(function(){ /* the function */ _.mixin({ shallowDiff: function(a,b) { return _.omit(a, function(v,k) { return b[k] === v; }) }, diff: function(a,b) { var r = {}; _.each(a, function(v,k) { if(b[k] === v)...
0cdf02cf107c3534d1077200e47315ec1297107d
[ "JavaScript" ]
1
JavaScript
macrozone/furbius
1234511d3d9dcd29c2c8ca38d2de734b994fa90d
2037f8d47705b727f4e29dabc038fbcb5a094d15
refs/heads/main
<file_sep>// 1. Comenzamos a hacer la comparación de elementos adyacentes // 2. Repetimos hasta tener una pasada completa sin ningún swap #include <stdio.h> void cambiar_pos(int *n1, int *n2) { int temp = *n1; *n1 = *n2; *n2 = temp; } void bubbleSort(int vector_entrada[], int n) { for (int i = 0; i < n - 1; ...
3833c64caefffa8d088b2f0cec52482d51a1f501
[ "Markdown", "C", "Python" ]
4
C
cristianiniguez/curso_basico_algoritmos
9ee254b7a977732ef567f6922306c6cf718e07a9
a01314873471541c20c8cf0b8053523a151afa50
refs/heads/master
<repo_name>custom-components/sensor.yandex_maps<file_sep>/custom_components/yandex_maps/sensor.py """ A platform which give you the time it will take to drive. For more details about this component, please refer to the documentation at https://github.com/custom-components/sensor.yandex_maps """ import logging import ...
a2c78b7e12b04273f4684f58fdf5ddc4e1f6f63f
[ "Markdown", "Python" ]
2
Python
custom-components/sensor.yandex_maps
bdd76a8cc448afdef35fac9b53cb600cc63ae145
47f197e6eb667364f2ab78891e9ddc2ee81948b5
refs/heads/master
<file_sep># WPU Open Graph Cache Ensure Open Graph Cache is Fresh Features : --- * Clear og cache after post publication. * Clear og cache for old posts via a cronjob. How to install : --- * Put this folder to your wp-content/plugins/ folder. * Activate the plugin in "Plugins" admin section. <file_sep><?php /* Pl...
19f7190ef15fb8604d834169c39589a1ce610155
[ "Markdown", "PHP" ]
2
Markdown
WordPressUtilities/wpuogcache
34f7dd42cd2a53f546daaf17c7b897fe0b14efff
ef9f618f130ea16986adde38ea59faa2137c23f3
refs/heads/main
<repo_name>otator/books-wep-app<file_sep>/public/app.js 'use strict'; // alert("Working fine"); $('#form-container').hide(); $('#update-button').on('click', function(){ $('#form-container').toggle(); // alert('clicked'); }); let showMenu = true; // to hide select button from details page $('#select-button').hide...
4d451a7ad6e90d400ba5d285b7ca53b823800a89
[ "JavaScript", "Markdown" ]
3
JavaScript
otator/books-wep-app
d6a7dec38dafcac3975300cb699dfb1a22b4690a
9d93b9115f37d5cae2bef39758d53d21d6faa034
refs/heads/master
<file_sep># -*- coding: utf-8 -*- """ Created on Thu Dec 19 16:48:40 2019 @author: SUPERMAN """ import cv2 import numpy as np import os #path = fol= ['training', 'testing', 'validation'] classes = ['forehand_openstands','forehand_volley','forehead_slice','kick_service','slice_service', 'smash'] f...
7b8bb9e6359b181865d39af68547dacbef8e6b36
[ "Python" ]
9
Python
saichandrareddy1/CONVLSTM
5dde5996442ec5f911d4f237c53ec69807a922d8
32aef4ee5bf704b27a898f1370d52904a50160e2
refs/heads/master
<file_sep>import java.util.Scanner; public class MyMain { // Calculates the median of the three inputs public static int median(int a, int b, int c) { int qw = Math.max(a, b); int we = Math.max(a, c); int er = Math.max(b, c); int rt = Math.min(qw, we); int ty = Math.min...
2714bbd9378709d0e193e478ec3ccac94b1aa038
[ "Java" ]
1
Java
apcs-assignments-fall2020/calculator-bot-Kiran-O
3726b5a6c58ee577b2dba9a17f4cdf77440d655c
1a39c76d50eba456a1ee20ea343fb4b7beb78c69
refs/heads/master
<repo_name>MarcJ786/springadvtestcontainers<file_sep>/src/test/resources/insertPersonen.sql insert into personen(voornaam, familienaam) values ('Joe','Dalton');<file_sep>/src/main/resources/application.properties spring.datasource.url=jdbc:mysql://localhost/eendatabase?serverTimezone=UTC spring.datasource.username=curs...
6f4831ec5040b19dcc6c9661721fea1dd4a1231c
[ "SQL", "INI" ]
2
SQL
MarcJ786/springadvtestcontainers
f2eea4f7b3c1e643cf25ba12f0961e01c4c47866
dde77c334e27a9440a79a23ddde596226f3fe55e
refs/heads/master
<repo_name>Harshitha3111999/edyst-s19-create-your-own-pokemon<file_sep>/backend/app.py from flask import Flask, request, jsonify from flask_sqlalchemy import SQLAlchemy import os app = Flask(__name__) basedir = os.path.abspath(os.path.dirname(__file__)) app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///' + os.pat...
7279cc535cbe4cc5e3a22f6c3724777450072f08
[ "Python", "Text" ]
3
Python
Harshitha3111999/edyst-s19-create-your-own-pokemon
5bfb0888a0445a1747740bbc091a6c0fdcbf754d
e3c4b0243054adecc93f1bb7ef93b8ea890acdb9
refs/heads/master
<file_sep><?php //-------------------------------------------------- // Setup require_once('../html-filter.php'); header('Content-Type: text/plain; charset=UTF-8'); //-------------------------------------------------- // Get nodes $mode = 'html5'; require_once(dirname(__FILE__) . '/' . $mode . '.php'); //---...
e7b0344283aa1fe8f55164a960a87ee1e5688225
[ "Markdown", "PHP" ]
5
PHP
craigfrancis/html-filter
666a485321ebdc1f1a471256473a11c698fa7044
85e249917fb841667893f208b6a80f222576711b
refs/heads/master
<file_sep>package entity.demo.proyecto; import jakarta.persistence.metamodel.ListAttribute; import jakarta.persistence.metamodel.SetAttribute; import jakarta.persistence.metamodel.SingularAttribute; import jakarta.persistence.metamodel.StaticMetamodel; import javax.annotation.processing.Generated; @Generated(value = ...
96390e7e1a78156d372b73dbf765f6f77b09dbb7
[ "Java" ]
20
Java
sergiomendez1998/proyectoJavaWebFinal
92d0bdd8a6fc8cb454b69a2690168c2e075a15e6
757be8e0e006db0f71b19af48cc8ada773fe4733
refs/heads/master
<file_sep># short-pyspark short scripts and functions using pyspark <file_sep>import sys import datetime from pyspark.sql import SparkSession, HiveContext from pyspark.sql.functions import col from pyspark.sql.types import * sc = SparkSession.builder \ .appName("XML Converter to Fermat") \ .config("spa...
0e63bec03596a90270f4b4fb489dd22ff9ec0fb1
[ "Markdown", "Python", "Shell" ]
6
Markdown
halenyuri/short-pyspark
1b5ffd9056f409f1c39f7b61a571068552619746
bfe82d97099348ddd6ab447be5aec76d9abe1009
refs/heads/master
<file_sep>var http = require('http') var async = require('async') require('string_format') var AWS = require('aws-sdk') var lambda = new AWS.Lambda({"region":"us-east-1"}) module.exports.get = (event, context, callback) => { var eventJSON = {} var tasks = []; tasks = [ getHeroComics(event.hero1["id"],event.hero1...
2f34079da10147cec2d691de554bab82d9d62ddc
[ "JavaScript" ]
6
JavaScript
ElMejorge/marvel_heroes_lambdas
d191c04f7898e875b3f33e8a275b4321319cccd6
b55607a352d8ef915e8a1c69f9419255fcd7528c
refs/heads/master
<file_sep>def downloadEnergyData(): import urllib.request print('Beginning file download ...') url = "https://data.london.gov.uk/download/smartmeter-energy-use-data-in-london-households/3527bf39-d93e-4071-8451-df2ade1ea4f2/Power-Networks-LCL-June2015(withAcornGps).zip" #urllib.re...
4a993757fc301a687a4857a54f8b77e9814d073f
[ "Markdown", "Python" ]
6
Python
JerryGreenough/SmartMeter-Energy-Consumption-Data-in-London-Households
0bf45b6a1b62604739b91b5aa3b3f85a52a7415e
c11c7913018a884a202ea2a64ccf46a8d74b2e9f
refs/heads/master
<repo_name>ThiThu/mcv_product<file_sep>/src/com/codegym/model/Product.java package com.codegym.model; public class Product { private int id; private String title; private String author; private String summary; public Product() { } public Product(int id, String title, String author, String ...
f67775d8458754ac0caabd89dcb18b7e813efeff
[ "Java" ]
2
Java
ThiThu/mcv_product
e4e2ede189a5886461dfee7f074e3f995af5db46
a030c3ca5cc8ee8ae0bc6d8b97a77c1b895d41f2
refs/heads/master
<file_sep>using System.Collections; using System.Collections.Generic; using UnityEngine; public class KillPlayer : MonoBehaviour { [SerializeField]Transform spawnPoint; private Animator animator; public float deathTime; bool damaged = false; bool attacking = false; void OnCollisionEnter2D(Co...
9656cdf3bffb709d1911b33c19b9cd6c4ac6c594
[ "C#", "Text" ]
4
C#
PlextorKun/Knightfall
a6e0458b774a3b55f02cedffa1b4195e1e0d1b7d
02fae59a3d78c4065d6df2129ff1e4d781a6543d