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>package com.codecool.kindergarten.child; public enum Activities { SINGING, PLAYING_BALL, DRAWING, DANCING } <file_sep>package com.codecool.kindergarten.child; public class LivelyChild extends Child { public LivelyChild(String name) { super(name); } @Override void c...
6f6382f63af0bc18c7ae5f1e496cef973bc71ca0
[ "Java" ]
3
Java
huszarpp/Kindergarten
03f3726944abdc6c2e9553311f685887dafb58ff
ac931c8c5ffd2fd48e79b25a6cf749cc14d364bb
refs/heads/master
<repo_name>LoganWright/PodPool<file_sep>/README.md The hosting repo of all the various Pod classes <file_sep>/MarginLabel/README.md A class of label that draws the text within a specified margin. <file_sep>/MarginLabel/MarginLabel.podspec Pod::Spec.new do |spec| spec.name = 'MarginLabel' spec.version =...
44e3b6ee52c8385dd0d0790245886c98724670a3
[ "Markdown", "Ruby" ]
3
Markdown
LoganWright/PodPool
40f0ff579b7025200c56b7e20709193d9de2bc3e
59a25924e5125186daa01b2c9155f8165eb9d7eb
refs/heads/master
<file_sep>/* Write iterative and recursive code for square matrix multiplication. Find the largest dimension for which you are able to successfully carryout matrix multiplication. Report the number of page faults and TLB hit ratio. Can we compute the page fault ratio too? */ //usr/bin/time ./a.out also gives the number...
2fa9637db563e41f2aeb4c67b813d7120d94b66f
[ "C" ]
4
C
kanika2107/OPERATING_SYSTEMS
e932799b8e9c0e3cdae078acdf55e45901d5e68c
3d5de674225992f29b51c8b429ebd538bda1c9f0
refs/heads/master
<file_sep>INSERT INTO burgers(burger_name,devoured) VALUES("cheese burger",false); INSERT INTO burgers(burger_name,devoured) VALUES("<NAME>",false); INSERT INTO burgers(burger_name,devoured) VALUES("<NAME>",false);
0f686c804ccb6add07f572abb27b03025bca118f
[ "SQL" ]
1
SQL
weiminyang/burger
fb6cf4d1da2596041b13fcb1698a91bdd8f2a017
750552f953a33b480a48f3be4e06f5a0ffe263c3
refs/heads/master
<file_sep>import { createContext } from 'react' interface MenuContextProps { index: number; onSelect?: (selectedIndex: number)=>void; mode?: string; defaultOpenArr?: array; } export const MenuContext = createContext<MenuContextProps>({index:0}) <file_sep>test('test common matcher',()=>{ expect(2+2).toBe(4)...
03692636ff288bfa6f5373bf6018af04e87e624e
[ "JavaScript", "TypeScript" ]
2
TypeScript
zhuyu258/react-com
5368626d49fd5598615723942b81ad769a6ed1fb
407260b0077bfd3afa74266a7e1c207d3a51ed28
refs/heads/master
<repo_name>uwedeportivo/art-dust<file_sep>/ad003.playground/Contents.swift import UIKit import GameKit import PlaygroundSupport func radians(_ v: Double) -> CGFloat { return CGFloat(v * Double.pi / 180.0) } func randomReal(_ rds: GKRandom, lower: Float, upper: Float) -> Float { let alpha = rds.nextUniform() ...
70b7a88b2e126087e554978c267cadf5b30f29a1
[ "Swift", "Markdown" ]
5
Swift
uwedeportivo/art-dust
44247a68e45d82c4a8a02b56e75d719899559b20
da639a33649dd052113cf31c58acef3b0f1dd6c1
refs/heads/master
<repo_name>Matt-Ceck63/InteractiveTune<file_sep>/README.md # Interactive tune control This project was created and debugged using KeilMicroVision's software on the KL25Z freedom development board. And ADC was used to poll the analog buttons. A speaker was used to produce a tune of a certain frequency and sound. A 2 ro...
a9b8bb492dfc78d4e2be8668325df838dfaccf35
[ "Markdown", "C" ]
2
Markdown
Matt-Ceck63/InteractiveTune
471e5d2777c6265ec8928058312eea9e4d14bcd7
95d8a53c711e04b494700805cd281fe53fb63c52
refs/heads/master
<repo_name>ricardofao/tabelas<file_sep>/exemplo2/ViewController.swift // // ViewController.swift // exemplo2 // // Created by Aluno on 11/05/2019. // Copyright © 2019 ipvc.estg. All rights reserved. // import UIKit class ViewController: UIViewController, UITextFieldDelegate, UITableViewDataSource, UITableViewDele...
5b1d388131c476cc1e7dd7e3bb9f8ab16080385c
[ "Swift" ]
1
Swift
ricardofao/tabelas
76d863719cf1729247fc5817bf1ac19bda21ed5b
116c14206170daf087c72b050e72346cac19f89a
refs/heads/master
<repo_name>devesh1559/Print-PRN-of-student<file_sep>/README.md # Print-PRN-of-student ## Aim To print PRN of students ## Theory Printf is a c library function which is used to print data scanf is used to take input from the user. it is also a c library function ## Algorithm- step 1:- intialize long long int variable x ...
cd05a9e558824a85dd0aa4e6fbdd4374d5aa5d7c
[ "Markdown", "C" ]
2
Markdown
devesh1559/Print-PRN-of-student
4724a89ceac93635e713816a83bd98d7a8fa7117
2ddf8bfdd4049adb85b5be1b90f092a46c779da1
refs/heads/master
<repo_name>trie94/shader-playground<file_sep>/Shader Library/Runtime/Pixelate/PixelateTarget.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class PixelateTarget : MonoBehaviour { private Renderer rend; public Renderer Renderer { get { return rend; } } publ...
16843bdb2a06aaa2bc3482580ebf089952ffc8b3
[ "Markdown", "C#" ]
17
C#
trie94/shader-playground
6fc6dad7612fb64eb6656210b72a74a8abd55370
cb551964e70805e4fe1c5e8ec9af2f5cd26f2c68
refs/heads/master
<file_sep> #ifndef ENUMCMD_HPP_ # define ENUMCMD_HPP_ enum CmdType { Avance = 0, Droite, Gauche, Voir, Inventaire, Prendre, Pose, Expulse, Broadcast, Incantation, Fork, ConnectNbr, NeedFood, GoForIncante, PrendreMid, PoseNeeded, RFI, ResRFI, ...
24b9174e8d641c99eb4894af5bb314e2124c4957
[ "Markdown", "C", "Makefile", "C++" ]
158
C++
AkselsLedins/academic-zappy
53025ee1549dd8ad693ca647888eb77985875547
6279936bcfe1e364c16418028a1c4aad8a5789b3
refs/heads/master
<repo_name>kingkung/CreateAndLearnTemplates<file_sep>/settings.gradle include ':app' rootProject.name = "Create And LearnTemplates"<file_sep>/app/src/main/java/us/createandlearn/tendotfive/Card.java package us.createandlearn.tendotfive; public class Card { private final String rank; private final String suit; ...
09644d32f6c5fa09c3115895615f33528e4fa09e
[ "Java", "Gradle" ]
4
Gradle
kingkung/CreateAndLearnTemplates
0b6b45f63bdcd02c8db5c116d7331a8e90d19885
159288a7d0ec2707b8187d84e926f15021dc97f5
refs/heads/master
<repo_name>DavidLXu/cpp<file_sep>/测量时间方法.cpp #include <iostream> #include <ctime> int main() { clock_t start = clock(); //...code you want to measure time clock_t end = clock(); double elapsed_time = (double (end) - double(start)) / (CLOCKS_PER_SEC); std::cout << "Elapsed time is:" << elapsed_time <...
da5b7544f960c8c7381a6ece8b127861b718e17b
[ "Markdown", "C++" ]
3
C++
DavidLXu/cpp
3ec1fe7710a01526a781c036bc300f1357f50a22
07ad6477cfb928eb9fb1e9da8a84e2f1b534a466
refs/heads/master
<repo_name>XXanderWP/FiveM-RichPresence<file_sep>/README.md # FiveM-RichPresence Simple resource that uses Discord's rich presence to display street name, vehicle and more <file_sep>/RichPresence/client.lua local WaitTime = 10000 -- How often do you want to update the status (In MS) Citizen.CreateThread(function() w...
49f2c762fc18489823fbbfe6f2c57296f2e7c7fe
[ "Markdown", "Lua" ]
2
Markdown
XXanderWP/FiveM-RichPresence
a07c4dde190498cd31f61e59dad9779520487394
13abe67ea78737c3cd491f92046f41869de0ca6f
refs/heads/master
<file_sep>using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Data.OracleClient; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace DatabaseConnect { public partial class Form1 : F...
2bbcc2eb65352afcfb89809949261ac9a3ec1c04
[ "C#" ]
1
C#
Andreyshabalinn/-4-
db91286062d16a5b5d385f30983a3de8d7b780c0
bdb1a755133368d139128ff1e544c4f6f5fbcb29
refs/heads/master
<repo_name>jatinn/number_guessing_game<file_sep>/game.rs use std::io; use std::rand; fn main() { println!("Guess the number!"); let secret_number = (rand::random::<uint>() % 100u) + 1u; loop { print!("Please input your guess (1-100): "); let input = io::stdin().read_line() ...
98117d59afc6d9dc349717664dc1a72653cad39a
[ "Rust", "Python" ]
2
Rust
jatinn/number_guessing_game
d81b0867421725f248624aad122d8d5633db7dd1
a337a14b1f1c5fa1ab0035d9bb7de771d5ae657b
refs/heads/master
<repo_name>DanhNT99/news-web<file_sep>/public/js/event2.js function Opennew(obj){ let subnav = document.querySelector(obj.subnav), btnList = subnav.querySelectorAll(obj.rules[0]), scRightList = subnav.querySelectorAll(obj.rules[1]); scRightList[0].classList.add('open'); btnList[0].c...
485b3491362bce902a811f1102102e978a05d678
[ "JavaScript" ]
1
JavaScript
DanhNT99/news-web
150bf0b1a44d90b794beaeb9d518d8b703dc1828
d6de5feda549eff48fb18a0f892e7a629aed88e9
refs/heads/master
<file_sep>// // User+CoreDataClass.swift // Task // // Created by <NAME> on 04/03/18. // Copyright © 2018 <NAME>. All rights reserved. // // import Foundation import CoreData @objc(User) public class User: NSManagedObject { } <file_sep>// // ViewController.swift // Task // // Created by <NAME> on 04/03/18. //...
82c7aa5d947f2f18e5cf9c408426930febcdf0c0
[ "Swift" ]
6
Swift
sureshvutukuru/Task
75aba1628dbcb4a63badcf8a7b2eadb43f6a0bc3
d4a73c30e5bcdcce77fdf78fa689f7119972b69e
refs/heads/master
<file_sep>package foodbook.thinmint.models.domain; import com.google.gson.annotations.SerializedName; import java.util.List; /** * Created by Zachery.Sogolow on 5/9/2017. */ public class Note extends EntityBase { @SerializedName("userID") private long mUserId; @SerializedName("user") private Use...
0a56b901630969afff8e47f493996213ebfe4c9e
[ "Java" ]
27
Java
zsogolow/foodbook
a8078c5cac911de56c04d2bb0ac730927f8d1c84
eaa37e88984fc242f58b24f406dad71f56b0173f
refs/heads/main
<file_sep>/** * */ $("#btn").click(function(){ var i1 = $("#title").val() var i2 = $("#writer").val() var i3 = $("#contents").val() var ch1 = false; var ch2 = false; var ch3 = false; if (i1 !=''){ ch1 = true; } if (i2 !=''){ ch2 = true; } if (i3 !=''){ ch3 = true; } ...
41972ffc702bb3749075855b0771964328507d1c
[ "JavaScript", "Java", "INI" ]
3
JavaScript
MYCHCH515/spring_4
58de5e37484e29bb2b90fc386e61dc5b76cbedc6
273b52824fd83fc14f52c0fc712650d87d8ce8d0
refs/heads/master
<repo_name>TheCelavi/dmNivoSliderBehaviorPlugin<file_sep>/lib/dmNivoSliderBehaviorForm.class.php <?php /* * @author TheCelavi */ class dmNivoSliderBehaviorForm extends dmBehaviorBaseForm { protected $effect = array( 'random' => 'Random', 'sliceDown' => 'Slice down', 'sliceDownLeft' =...
9385468b5cf52dc5fe9976080db74863f54a0022
[ "JavaScript", "PHP" ]
2
PHP
TheCelavi/dmNivoSliderBehaviorPlugin
678498ccedaaeec95a1f472fd08a5bb5460fba36
c8eeccfef022610d0d5158459ca8b027001f943f
refs/heads/master
<repo_name>chrieric/cs290-assignment5<file_sep>/QueryFunctions.php <?php session_start(); ob_start(); error_reporting(E_ALL); ini_set('display_errors',1); $failure=0; $mysqli=new mysqli('oniddb.cws.oregonstate.edu','chrieric-db','KpqdL049GgphILrs','chrieric-db'); if($mysqli->connect_errno) { echo 'Connection error...
6fe816b58363944c295a0aa558582e2e0715079b
[ "PHP" ]
2
PHP
chrieric/cs290-assignment5
5866c6e743113fa2967f8d9b37aaf3dc2dfa38ac
a62ca687e858477ef35a2c60d52fd2c901113dc0
refs/heads/master
<repo_name>liyuanlin123456/liyuanlin20190120<file_sep>/liyuanlin20190120/src/main/java/com/example/liyuanlin20190120/entity/Cart.java package com.example.liyuanlin20190120.entity; import java.util.List; public class Cart { public String msg; public String code; public List<DataBean> data; public stat...
3ebd4985bf632f864603bb435e160eb23fdd541d
[ "Java", "Gradle" ]
8
Java
liyuanlin123456/liyuanlin20190120
a6ac51676ac144f9b4838078aebe148f0ee6cc69
480255f42698bca7ba33260856bbcea7d91b48b2
refs/heads/master
<repo_name>chocozhao/kotlin<file_sep>/libraries/tools/kotlin-gradle-plugin/src/main/kotlin/org/jetbrains/kotlin/gradle/testing/internal/AggregateTestReportGradle5.kt /* * Copyright 2010-2019 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license ...
9c8a8fc3b402772505cff701f983334bd9c9e3d6
[ "Kotlin" ]
3
Kotlin
chocozhao/kotlin
ff774f62499b69f2261eeae61da3ec1f638ddd23
8cba2e01bf364f5f454890e73e641fc27ef5f97b
refs/heads/master
<file_sep><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script src="https://ajax.googleapis.co...
42cfdad46a86483e7b1e2a6bcf542ad0185636d6
[ "Ruby", "HTML" ]
4
HTML
frechg/Analytics-Dashboard
df9a39582d0fd4373310753968c669a42af7c104
7d2f6e1b88a8903e00e26e2f34a723185c7cfb77
refs/heads/main
<repo_name>Shengyuan-Lu/Parstagram<file_sep>/README.md # Parstagram Parstagram is an Instagram clone with a custom Parse backend that allows a user to post photos and view a global photos feed. ## Part 1 User Stories The following functionality is completed: - [X] User sees app icon in home screen and styled launch...
37fe2929367ef88092b99faf27ecc1289afcbcea
[ "Markdown", "Swift" ]
2
Markdown
Shengyuan-Lu/Parstagram
1fcea67690070376457f71d332508c1eba3fbb4e
747d9ef6dad5220b48360d2eb2ade53b13dab9f3
refs/heads/master
<file_sep># react-tutorial 学习react, 做点笔记<file_sep>import React, {Component} from 'react'; import { render } from 'react-dom'; import Game from './Game'; render( <Game />, document.getElementById('root') );
adf4f263b5936f7c81a607bc58cf2c4379b640cb
[ "Markdown", "JavaScript" ]
2
Markdown
bluewaitor/react-tutorial
d5c4ec5e1d01f35c76ab940951c9b12f17887574
a579f92f45bc7669f2954f30cd08e31ac7dc1c44
refs/heads/master
<file_sep>## # Bash utilities : rename it as .bash_profile on your user's root folder ## # fonction md : mkdir + cd md() { mkdir -p -- "$1" && cd -P -- "$1" } # Set Proxy function setproxy() { export PROXY=http://10.154.61.3:3128 export {http,https,ftp}_proxy=$PROXY export {HTTP,HTTPS,FTP}_PROXY=$PRO...
f98661254efe3a9bc7ba4f5ec15f7de1ef4badb3
[ "Shell" ]
1
Shell
pom421/bash-utilities
9bf94aab92066593fda138521740744ce302b1f4
107eb52161043d85bd665cef36a56f413f679916
refs/heads/master
<file_sep> def process_and_count(filename): with open(filename, "r") as f: content = f.readlines() count = 0 length = 0 for item in content: r, s, o, _ = item.strip().split('\t') length += len(o.split(" ")) count += 1 return length / count filename = "gpt2-test.txt" print(process_and_count(filename)) fil...
a6206a68a033f26a509478f91d86233d31bc6b90
[ "Markdown", "Python", "Shell" ]
5
Python
Fischer19/GPT2-commonsense
fd7f8b38526c67cf93c086ce95d31daa1e42378b
989c3346283a09218e9726729c5796227dee2407
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 ParseText { public partial class frmMain : Form { string _pathToFile...
526925df487e038760617fcf50b6c2c5b76ae818
[ "C#" ]
1
C#
rosco-y/ParseText
f738eb214f65f2989dad44ba57c7e99eb2d6ef47
f10765754b940af7a082d14995b527aa168337ed
refs/heads/master
<file_sep>from django.db import models # Create your models here. class Product(models.Model): asin = models.CharField(max_length=255, primary_key=True) product_id = models.IntegerField(null=True) title = models.TextField(null=True) product_type_name = models.TextField(null=True) brand = models.T...
c8be348e1431439dc7deda719a785d1b7286693d
[ "Python" ]
3
Python
Kedar0572/product-recommandation
a6062346b7d1cdfa3c56b730d91ff8c3d9d73151
38265c7c4929e717fc525511b68ca85589882255
refs/heads/master
<file_sep><!doctype html> <html lang='en'> <head> <link href="https://fonts.googleapis.com/css?family=Raleway" rel="stylesheet"> <link rel='stylesheet' href="{{url_for('static',filename='styling.css')}}"> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> </head> <t...
205ec4212255afeb02d35630c5722abb936c41d0
[ "Markdown", "SQL", "Python", "HTML" ]
27
HTML
cs304-fa18/semester-project-lounge
32726ffcf10b10bf60dbb2ff259d63a4fb599cf4
74c1d3037f8d7f06265e02dfa65d4985aece69bd
refs/heads/master
<repo_name>GelionPraim999/https-github.com-GelionPraim999--Functions-Arrays<file_sep>/Functions/main.cpp #include<iostream> #include<Windows.h> using namespace std; int Add(int a, int b); // Прототип функции int Sub(int a, int b); int Mul(int a, int b); double Div(int a, int b); void main() { setlocale(LC_ALL, "ru");...
716d4ab0379fe6bc3a846e4422cfe61724aa198f
[ "C++" ]
2
C++
GelionPraim999/https-github.com-GelionPraim999--Functions-Arrays
ddfa48bb814bf9276509cb6f29de35a37deff221
cc2b49b3198a7bb3b00c99acdc7a4335c87286a8
refs/heads/main
<repo_name>SWI-MIN/TESTTRYTRY<file_sep>/CODE/lab11-1 learning board 211208/Nu-LB-NUC140_BSP3.00.004_v1.2/SampleCode/Nu-LB-NUC140/Timer/main.c // // TMR_LED : change LED on/off by Timer1 interrupt // #include <stdio.h> #include "NUC100Series.h" #include "MCU_init.h" #include "SYS_init.h" #include <math.h> #include <stri...
61336fd2b320c6ff501ef0d1860f0a9694d905ef
[ "C" ]
37
C
SWI-MIN/TESTTRYTRY
a0998d546b7dcefd945acd6a82ae3c9d2d07a786
edbb6a6e7c1ecb8517d7ebe3a27fea943e6c2e57
refs/heads/master
<file_sep>#!/usr/bin/python import pysvn import pdb passwd = "<PASSWORD>" #this is not correct; just making this private. def login(realm, username, may_save): return True, username, passwd, False def update(): client = pysvn.Client() client.update("../../features/bounds_dump") if __name__ == "__main_...
7155131ad55f8b6c653355a194ab9834174a9ce9
[ "Python" ]
16
Python
shsanders/Commitment_features
300136ce90ed5adcc4ea02f1d74be2abaef568f6
546604744460264b91d1cda9d49f4e53111d25bf
refs/heads/master
<repo_name>Gezele14/MemoryManagement<file_sep>/src/app/Cpu.java package APP; import java.util.concurrent.Semaphore; public class Cpu extends Thread{ //Atributos private boolean L2Miss; public boolean powerON; private boolean isFromL2 = false; private boolean BusWr = false; private static Semap...
e54fe855b5b5ed40848f4b0916e341a9778fbeec
[ "Java" ]
2
Java
Gezele14/MemoryManagement
e0fc3684a32eb4d797202245df9453d9e9b16213
19ae2ac96a8aa1610ac9f149738021bbf2666085
refs/heads/main
<file_sep>const cache = {} export default function useData(key, fetcher) { if (!cache[key]) { let data let promise cache[key] = () => { if (data !== undefined) return data if (!promise) promise = fetcher().then((r) => (data = r)) throw promise } } return cache[key]() }<file_sep>...
44b27b253bec3176da7b8f1ae9f1e45a75b7f654
[ "TypeScript" ]
2
TypeScript
revskill10/rsc-demo
40e8084b8ad424238625fb1f79bc6a3cbae1fe04
79325085f3033e793d7607629748799a28627672
refs/heads/master
<file_sep>//##########################blink // var five = require("johnny-five"); // var board = new five.Board(); // board.on("ready", function() { // var led = new five.Led(13); // this.repl.inject({ // led: led // }); // led.blink(); // }); //####################blink timer // var five = require("j...
38d8a71675dd7b4536579455b6e66f4592d4d08d
[ "JavaScript" ]
1
JavaScript
BaliJS/Iot
64413d3cd6b9b51b42a966cc819adb12c09fd6c5
0e5a0e5e4e9a5eb6b32fd40d871349513328208d
refs/heads/master
<file_sep>name = input('請問你的名字是:') h=input(name+',請輸入你的身高:') w=input('請輸入你的體重:') print(name,'你的身高是',h,',你的體重是',w)<file_sep>c = input('請輸入攝氏(C)溫度 :') c = float(c) f = c * 9 / 5 + 32 print('華氏(F)溫度為 : ', f) print('ok')
00d2da380885af2d669896b0ce4bc667ff0dfc8a
[ "Python" ]
2
Python
chlin61/c_to_f
e374511d2b42a9f9e2e32b5ab43e5ed03e57101c
bf07acb0c2297689fc92216704e028e0de4120cd
refs/heads/master
<file_sep>#include <stdio.h> int main() { int m1, m2, minMultiple; printf("Enter two positive integers: "); scanf("%d %d", &m1, &m2); minMultiple = (m1>m2) ? m1 : m2; while(1) { if( minMultiple%m1==0 && minMultiple%m2==0 ) { printf("The LCM of %d and %d is %d.", ...
19eacad8fe59e9ffa5f34df91b13c17fd46423fd
[ "C" ]
1
C
sgandt/gpkumar
594f3c77a9ac1a9fa213f7e2404eb95215348af8
ed0b04a14febbadadbcb4eb2ae0630b6ae14097a
refs/heads/master
<file_sep>import java.util.Arrays; /** * 选择性排序 * 时间复杂度 n(n+1)/2 =O(n^2) */ public class SelectiveSort { public static void main(String[] args) { int[] arr = {3,1,4,23,9,0,12,29,5,2,6,8,14}; for(int i=0;i<arr.length;i++){ int tmp = arr[i]; int min_index = i; ...
714a4b5089a6e5294162e41b3efe9b7b8c5863ef
[ "Markdown", "Java" ]
3
Java
awarmisland/LearningAlgorithm
530a14249e6e83485e6ea5e658f4e208be30857e
5bf7b80c0bccfb0c12c304a97e410a4ddb6477de
refs/heads/master
<file_sep>rootProject.name = 'Boggle' <file_sep>rootProject.name = 'BurrowsWheeler' <file_sep>import edu.princeton.cs.algs4.FlowEdge; import edu.princeton.cs.algs4.FlowNetwork; import edu.princeton.cs.algs4.FordFulkerson; import edu.princeton.cs.algs4.In; import java.util.*; /** * Created by <NAME> on 11/12/17. *...
b3dd6a6626e3e6d22a4c463bb7e8afd1e9a5dbed
[ "Markdown", "Java", "Gradle" ]
12
Gradle
xg-wang/AlgorithmII
4b48b713611525093abcc4a1855647e2786813ad
1d8180c626e312cfd0044bb3a19c9add7b118573
refs/heads/master
<repo_name>kaizenyatesh/orderapi<file_sep>/src/tests/Feature/IntegrationTest.php <?php namespace Tests\Unit; use Tests\TestCase; use Illuminate\Foundation\Testing\RefreshDatabase; class IntegrationTest extends TestCase { use RefreshDatabase; /** * A basic API tests. * * @return void */ ...
4f1e08997d0bda49299bbf1269497b0f63be5d2f
[ "Markdown", "Dockerfile", "PHP", "Shell" ]
13
PHP
kaizenyatesh/orderapi
1c99447dbe552673c65167242f4f8142a1d09f9d
9187d6357f36b1138febbcdd52565270618bce24
refs/heads/main
<file_sep>#include<stdio.h> #include<stdlib.h> #include<sys/types.h> #include<unistd.h> #include<sys/wait.h> #include<errno.h> #include<string.h> int main(void) { void sigint_handler(int sig); int n, i, float = 0; if(signal(SIGINT,sigint_handler) == SIG_ERR) perror("signal"); exit(1); } int m...
8cff3bcc72accd0c2f242d6753761881e424b8d4
[ "C" ]
2
C
nuaqilah/Lab-3
e6d4699a06dc6bc2ac53af20c2aa5c3f4ee2382d
eb0bf56d59cda1c9935b29d541f682dcf36411c5
refs/heads/master
<repo_name>wendyconditions/fancy-modal-component<file_sep>/Web/controller.js (function () { "use strict"; angular.module('myApp', ['ui.bootstrap']) // main controller .controller('AppCtrl', function ($scope, $uibModal, $log) { //$scope.name = 'wendy'; $scope.items = [...
9fd8c4e219670f48d7b51a38b6f5e52b19d79bce
[ "JavaScript" ]
1
JavaScript
wendyconditions/fancy-modal-component
58e2e625767ad7573f24b1595da8ce39de45cf5a
19f167885e7681e71ab638598809348c887f5ab5
refs/heads/master
<repo_name>phaneendra-bangari/atg-python-scripts<file_sep>/AWS-Boto/aws-session-testing-IAMUserList.py import boto3 #Connection syntax. AWS_CONNECTION=boto3.session.Session() ''' This is another way of creating session using a profile. AWS_CONN=boto3.session.Session(profile_name="pbangari") ''' IAM_CONSOLE=AWS_CONNECT...
3467f533589ac71101326997566fd263dbae9230
[ "Markdown", "Python" ]
6
Python
phaneendra-bangari/atg-python-scripts
d8fd59748dec6a7f8c28fa664f86498b723d6eec
785ac2eff5e1752a753c41bb13836a6b216bc318
refs/heads/master
<repo_name>OmarPelcastre/crud<file_sep>/Test1/views.py from django.shortcuts import render from Test1.models import testModel from django.http import Http404 from rest_framework.views import APIView from rest_framework.response import Response from rest_framework import status from rest_framework import generics from...
7db6cb96a8959fb17fd404585a526181ba17b12f
[ "Python", "Text" ]
14
Python
OmarPelcastre/crud
5e84e8957f1284ffae3d6be3de8674dd31697810
f4476cde8cf81c5623258a71adeaf88292dcd222
refs/heads/master
<repo_name>leftuestc/lzs_pool_fedoralize<file_sep>/Networking/chrome/script #!/bin/bash wget https://dl-ssl.google.com/linux/google-repo.setup.sh sh google-repo.setup.sh yum -y install google-chrome-stable yum -y update google-chrome <file_sep>/Localization/im-scim-zhcn/script #!/usr/bin/env bash im-chooser scim <file...
6b2456d526d9a315dfd04ed83635751c9a86e383
[ "Python", "Shell" ]
6
Shell
leftuestc/lzs_pool_fedoralize
a14fbc0b6f4c93284e996cabb26b5bef75b028e6
b9c41f75b2fb01d0c455be891abe02bfd9ea2d8d
refs/heads/main
<file_sep># -*- coding: utf-8 -*- """ Created on Tue Mar 23 15:25:21 2021 @author: these """ Spast=pd.DataFrame([100,100],index=['2021-1-1','2021-3-23']) Spast=pd.DataFrame([100,100],index=['2021-1-1','2021-1-2]) snow1=snowball_basic(name='testNo1',startdate='2021-1-1',enddate='2023-1-1',\ ...
8548a02a445981899787295a440ffafac4cee017
[ "Python" ]
8
Python
oldmemory/snowball
07c163633dc8c8708e227cf67e133101c3f9003d
112e2e87f82dc909522aedf9c92ab23306a5f45a
refs/heads/master
<repo_name>GBeauny/api_testing<file_sep>/test/todoList.js const mongoose = require('mongoose'); const chai = require('chai'); const should = chai.should(); const chaiHttp = require('chai-http'); const expect = chai.expect; const server = require('../index'); const todoItem = require('../api/model/TodoItem'); const Tod...
50df804b8af3f8701a9099207ab2bf6b11efc461
[ "JavaScript" ]
1
JavaScript
GBeauny/api_testing
1b20032cf76315fa1ca1e9ffd4f02bd5fc43e09c
3de03b769df1a6238aea4086fe5d1ab296ca3b68
refs/heads/master
<repo_name>manishc1/MIPS_Simulator<file_sep>/pipeline_writeback_stage.py from computer import * from instruction_cache import * from data_cache import * from pipeline_stage import * class WriteBack_Stage(Pipeline_Stage): """ Class for WriteBack stage. """ def __init__(self, instruction): """ ...
febc1c7d673dae4b1cc2e19bc758093d4e74c337
[ "Python" ]
20
Python
manishc1/MIPS_Simulator
fe92989ee0d1a864e3985fce3e708041c2917768
ebe439675af1cacce41af369a98f4cdbbdcb612e
refs/heads/master
<file_sep>import time from bst_names import BST start_time = time.time() f = open('names_1.txt', 'r') names_1 = f.read().split("\n") # List containing 10000 names f.close() f = open('names_2.txt', 'r') names_2 = f.read().split("\n") # List containing 10000 names f.close() # This runtime is O(n^2) duplicates = [] ...
e856f0a83b90d2df1ea6878fe1a754ec28cea863
[ "Python" ]
1
Python
ndoshi83/Sprint-Challenge--Data-Structures-Python
db7d079545a759b0a3e0250e579d2db8c2a71844
56a6ae56981471c6d1a860c43afb09224aba0395
refs/heads/master
<repo_name>chenjeffrey23/chenjeffrey23.github.io<file_sep>/js/myscript.js function main() { $("#indexpic1").fancybox({ helpers: { title : { type : 'float' } } }); $("#biopic").fancybox({ helpers: { title : { ...
50620332f5293399571d7c711d411e062e3556b9
[ "JavaScript" ]
1
JavaScript
chenjeffrey23/chenjeffrey23.github.io
d2c5369a2f523f5f49d7522b6c1a8e0673d75301
31d1d5bdf8194028e60a26403a402eb209f9b023
refs/heads/master
<file_sep>import networkx as nx import matplotlib.pyplot as plt l = [1, 2, 3, 4, 5] print(*l) <file_sep>import networkx as nx import json import numpy as np from pprint import pprint import matplotlib.pyplot as plt data = [] with open('zhihu.json', 'r') as f: for line in f.readlines(): data.append(js...
bb2ba09f6ff4ff51b0de5189a8f8668cdeea75b3
[ "Python" ]
4
Python
DallasAutumn/zhihu_users
68122dd9779ee4df82c2d6fe084b74cf8f456a3b
06b8a4006d9e38c2d209937181f71db24c5d1720
refs/heads/master
<repo_name>sexteam1/SexyProject<file_sep>/app/src/main/java/com/example/lenovo/studio_c/fragment/Attention/AttentionP.java package com.example.lenovo.studio_c.fragment.Attention; import com.example.lenovo.studio_c.base.BasePresenter; /** * Created by Lenovo on 2019/5/22. */ public class AttentionP extends BasePres...
a449abe5bb0282e92f56d24523eff4545d9aae73
[ "Java" ]
14
Java
sexteam1/SexyProject
fb4a0800d6d68783d76c9b5de3f73102839f82e0
4b64e750a5469a42ed07297954361b1fe478baf3
refs/heads/master
<file_sep>README.md: guessinggame.sh echo "# Guessing Game" > README.md echo "Date and time when making this README file:" >> README.md date >> README.md echo >> README.md echo "number of lines of code contained in guessinggame.sh:" >> README.md cat guessinggame.sh | wc -l >> README.md clean: rm README.md <fil...
a9e62ab59a1354583ae512c276b326d015e7f140
[ "Markdown", "Makefile", "Shell" ]
3
Makefile
fanzhaom/guessing-game
f052c7e4b87267a0b67871de473e2b59011448f5
4f58836998ccfdc97461253062a707163f6bcda2
refs/heads/master
<file_sep># -*- coding: utf-8 -*- from django.conf import settings from django.http import HttpResponseRedirect, HttpResponseForbidden from django.shortcuts import render_to_response from django.template import RequestContext from masquerade.forms import MaskForm START_MASQUERADE_REDIRECT_URL = getattr(settings, 'STA...
84e9d5ca585bce0ee0edb5b90b7d73c619355d71
[ "Python" ]
2
Python
vogogo/django-masquerade
b1224eba4f539e6f60bd9a382fe33971cf5503b9
1ba6e7ae6e8b39e12848d24848a4fcff36436626
refs/heads/master
<file_sep>using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NUnit.Framework; namespace ConsoleApp7 { class Program { //Instructions: //Write a function that takes a single string (word) as argument.The function must retur...
7adf005ddd02efc789b0dd2dc64592cdd87e49b7
[ "Markdown", "C#" ]
25
C#
JeffPadgett/Code_Wars
46955f8bf0155807e5c0456bd6893b89555bd072
ebf765ab866db36c6fe19877dffd5cd258cff9ae
refs/heads/master
<repo_name>junlinguo11/vue-firebase-demo<file_sep>/src/components/firebaseConfig.js export default { apiKey: '<KEY>', authDomain: 'vue-fs-1934f.firebaseapp.com', databaseURL: 'https://vue-fs-1934f.firebaseio.com', projectId: 'vue-fs-1934f', storageBucket: 'vue-fs-1934f.appspot.com', messagingSenderId: '8525...
60b6544059131cb18d09a1612f0d2e5d1064b40e
[ "JavaScript" ]
2
JavaScript
junlinguo11/vue-firebase-demo
696d6f04d4228021c98f6dd5e6e271de40f5ced8
52556a114c2d9bdb684172f079c136f7f7d83953
refs/heads/master
<file_sep>import argparse import tkinter as tk from PIL import ImageTk, Image import os.path as path import cv2 def binary_image(image, th): new_image = image.copy() for d in (0, 1, 2): mat = new_image[:, :, d] for r in range(mat.shape[0]): for c in range(mat.shape[1]): ...
3c1440fc5996d81ba68500c05ed3425b06727f46
[ "Python" ]
6
Python
getrdone93/image_functions
a8cd655795855bcea0ffa4049bb7ee663838e44d
fb237da41ad56acd73699aed02b85fc3e4a6887f
refs/heads/master
<file_sep>from flask import Flask, render_template, request, url_for, redirect, session from mmxai.interpretability.classification.lime import lime_mmf from shap4mmf import shap_mmf from mmxai.interpretability.classification.torchray.extremal_perturbation import torchray_mmf from mmxai.text_removal.smart_text_removal i...
08bf54b4ead2acb3fbf3c85bc83ca2c77b09bd23
[ "Python" ]
1
Python
yongkangzzz/mmxai
36bd869919c25d07e553cd8fac2fd22e32014a96
31bad989a7e6ca2ea3f8540e60e4b4b5da6ee3a6
refs/heads/master
<file_sep>let obj={}; //获取所有商品数据 obj.getGoodsList=function(){ return JSON.parse(window.localStorage.getItem('goods')||'{}'); } //保存商品 obj.saveGoods = function(goodsList){ //本地存储 window.localStorage.setItem('goods',JSON.stringify(goodsList)); } //新增一个商品 obj.add=function(goods){ //判断goodsList是否有该商品,有则追加,无则赋值 ...
edda48845e243bce9f7a0fcf726c82966ae1816c
[ "JavaScript" ]
1
JavaScript
wodeshiyong/vue-imitation-demo
0cc0c3ee142c62901b37200f08821fa73f9ee91c
c3cf2f07103aed31ea59c487b50ab60d821cc297
refs/heads/master
<file_sep>package lab05; import java.util.ArrayList; import java.util.Iterator; /** * Controle de cenarios em um sistema de aposta. * O controle possui uma lista de cenarios no sistema, * o valor em caixa e uma porcentagem de quanto deve * ser retirado para o caixa. * @author <NAME> * */ public class Control...
a04461ad8b563fe46f274d208a0b02eaf46aced5
[ "Java" ]
6
Java
jmarcelinho/Lab5.1
970b76c75420722680ad47dbcfd10975519700c9
7b50fce4850e70717bf2eb7965770a428c33bd53
refs/heads/master
<file_sep>package com.tdc.vpp.Activities.Admin; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.ArrayA...
f414768b17165aa1b91e1409c5f9b4f4bce60218
[ "Java" ]
9
Java
LyokoVN/VPP-Mobile
2b4c989d072e070ce7acfee78b9ec9bfe92d8566
579d132c231e92c29e5d0eb70d4413b91c4fa662
refs/heads/master
<repo_name>kiran-bobade/Quiz-Pad<file_sep>/src/app/models/test-result.ts export interface TestResult { score: number; totalQuestions: number; passed: boolean; } <file_sep>/README.md # Quiz-Pad Simple Quiz Application <file_sep>/src/app/app-routing.module.ts import { NgModule } from '@angular/core'; import {...
22902013b50c40cea447352422273dc8f61165da
[ "Markdown", "TypeScript" ]
10
TypeScript
kiran-bobade/Quiz-Pad
d4305ea68e262c62ad8746c7d14f44cf6e2d4810
39c4f9e18671abe5e23642778ba9d7794d92daff
refs/heads/master
<file_sep>from scipy import ndimage import numpy as np ascii_char = list("$@B%8&WM#*oahkbdpqwmZO0QLCJUYXzcvunxrjft/\|()1{}[]?-_+~<>i!lI;:,\"^`'. ") def get_char(image, r, g, b, alpha=256): gray = r * image[:, :, 1] + g * image[:, :, 2] + b * image[:, :, 3] # transfer a RGB image to a gray image1 lengt...
df358698f368821165e19841c5a93a85292ca8f0
[ "Python" ]
2
Python
chizawa/PythonLearning
15ccfb2ff74edc8aada66fe6345e61c8986bc85f
007cfb37e8486cc70245e4a924b14a5c734e9061
refs/heads/master
<file_sep>Please note that this is a team event, and your submission will be accepted only as a part of a team, even single member teams are allowed. Please click here to register as a team, if you have NOT already registered. Given a word w, rearrange the letters of w to construct another word s in such a way that, s...
bd569fe1e0f43ee75c1e3a90059e3b644de206d4
[ "Markdown", "C#" ]
35
Markdown
rflaperuta/Hackerrank-Solution-in-C
042885814a7ea6a3c950bbd400c642e8f067b66a
c50244ecfc46dd029a9d91f4e3e9a9e12d62e296
refs/heads/master
<file_sep>topic=1111test createdir=e\:\\test\\ movedir=e\:\\move\\ threadnum=10 zookeeper=192.168.138.129:2181 broker=192.168.138.129:9091,192.168.138.130:9091 size=3 encoding=gbk mobilepath=E\:\\data-file\\SMSCDR_20130901\\tc_balanceremind_jtlt_2016-05-19 debug=0<file_sep>package unicom.basic; import java.util.Prope...
7123df60cd76ef931612711e9b55c0a77db222a8
[ "Java", "INI" ]
13
INI
xmas25/kafka
8eecc46470e567d65ad713e2d380d9e375cbf9a5
ff196a0582bf5a70972c934e276a1c74e419d41e
refs/heads/master
<file_sep>;(function(){ 'use strict'; angular .module('app') .controller('FileStructureCtrl', FileStructureCtrl); function FileStructureCtrl($scope){ $scope.number = 1; } }).call(this);<file_sep>module.exports = function (gulp, g, install, conflict, template, rename, _, inflections, inquirer,...
90189c88e56dbd96aa66401f7855df74e1a43f0d
[ "JavaScript" ]
6
JavaScript
NeoTim/slush-build
f0c70c54bd4b50c6b94547edece12ac1a8ed2e75
aee55f73cba01f36ec5fa8e5102482b321d21664
refs/heads/main
<file_sep>import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.concurrent.Callable; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.Future; public class ForkPoolDemo { public static void main(String[] args) throw...
2aeaec17a7bbcd9c7327cb9127e91fe4a90c6b22
[ "Java" ]
10
Java
tanujjunat/Miscellaneous
2d7dd7cb4912cef03e000e8002f445eb7992ebf6
cecb30ebe8d40633f1757dc6107bd7e34879a2ee
refs/heads/main
<file_sep># nodejs-backend backend api for nodejs <file_sep>const {validationResult} = require('express-validator/check'); const http = require('http'); const Order = require('../models/order'); exports.addOrder = (req, res, next) => { const errors = validationResult(req); if (!errors.isEmpty()) { cons...
f9e27f783b51f5a32c53f116f6c6de6e00397c31
[ "Markdown", "JavaScript" ]
3
Markdown
aalihusni/nodejs-backend
62f8ccd23d5fcf85f67e05771f84d2b50c19db0b
b2d1393f5a8785a5b6ee684c71cd2180875bfd34
refs/heads/master
<repo_name>YooDongGi/java_firstproject<file_sep>/src/service/ReserService.java package service; import java.util.Date; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.HashMap; import java.util.List; import java.util.Map; impor...
528c322dbeec93f02727840bdc30621e38c4840e
[ "Java" ]
5
Java
YooDongGi/java_firstproject
649b985f63704d42465cfe9ff22ccd39498f22bf
d90d0f0bd23d0a2277aaa239d9e9ac2b5fb737c9
refs/heads/master
<repo_name>anushachandrappa/Classic-Arcade-Game<file_sep>/js/app.js // adds winning text when game is won var winBox = document.querySelector(".win-text"); // HTML text template to add when winning the game var winHTML = `<h3>You Made It!</h3> <p>Play Again?</p> <button id="reload" name="re...
bc2eff88ac10b6276aca2174f1d654db346195de
[ "JavaScript" ]
1
JavaScript
anushachandrappa/Classic-Arcade-Game
64175e4de211dc7bc66ea56da54d0e7f622ae6a6
7192162d753d707f9c22010b7c75241d456d6191
refs/heads/master
<repo_name>Aries0331/CMPUT404Lab2<file_sep>/client.py #!/usr/bin/env python import socket clientSocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) # AF_INET means we want an Ipv4 socket # SOCK_STREAM means we want a TCP socket # connect clientSocket.connect(("www.google.com", 80)) # 80:port (()): c API requ...
f21463f2ac250938a5cd9645d9420a0b12800d6b
[ "Python" ]
1
Python
Aries0331/CMPUT404Lab2
8575e03646cadd2dd5c1e88b9e13c4b95626e484
0be34631b83f0f816a2ba95ff491f298abce0d78
refs/heads/master
<repo_name>MogamiTsuchikawa/NovelGameManager<file_sep>/test-code/getchu_get.py import os import time import urllib.error import urllib.request from bs4 import BeautifulSoup from urllib import request import requests import json from datetime import datetime as dt import firebase_admin from firebase_admin import credent...
660716f2b1fcf6a9c852f097d8870dfdaf2dd84e
[ "Python", "Text" ]
2
Python
MogamiTsuchikawa/NovelGameManager
1e0491f54653760f452167c608cb6d70a7176c56
239ac7f6525bf1fc2f4845fd01ac52ecff0b3679
refs/heads/master
<repo_name>amakhno/NodeSelfEduaction<file_sep>/1st chapter/OOP/test.js var alert = ((msg) => console.log(msg)); //------------------------1 function func1 (greetings) { return function func2 (name) { alert(greetings + " " + name); }; } var russian = func1("Привет"); russian("Артем"); //-------------...
3ec3ba763478529c244b9145ff7a945ebf9ab05b
[ "JavaScript", "Markdown" ]
9
JavaScript
amakhno/NodeSelfEduaction
2661d7c81af26cbfa1d74289e1ab2b74f1b01368
20617e0bcc9c8661027c10411c5c7c040adfb9b1
refs/heads/main
<file_sep>const counters = document.querySelectorAll('.counter'); counters.forEach((counter) => { counter.innerText = '0'; const increaseCounter = () => { const target = +counter.getAttribute('data-target'); const innerText = +counter.innerText; const increment = target / 1000; ...
bd2d0e73f3b5d4e34e9bd51f230288d801d229f6
[ "JavaScript", "Markdown" ]
2
JavaScript
geraldelorm/50projects50days
826ee7873b9dd9dc7d9c34dc7943ef04923b1960
f90e1a8759a5fdd1c31ea9dfa09abb547b6fe8c0
refs/heads/master
<file_sep>/** @author <NAME> Set up the basic server (http) Set up Sockets (io) Set up the file system (fs) */ var app = require('http').createServer(handler), io = require('socket.io').listen(app), fs = require('fs'); /** Figure out the port or fall back to 1337 */ var port = process.env.PORT || 1337; /** Start th...
d9dfc2e57f7942fe5a9902a04392b73d97187e9b
[ "JavaScript", "Markdown" ]
2
JavaScript
jornki/socketTest
1640ff1c332a3750260d270a03e2d8e1109aee2d
af0bc75acde7c0456d1f389ee0808627c9c7cc44
refs/heads/master
<repo_name>matveyclark/hogwarts-london-web-111819<file_sep>/src/components/HogList.js import React from 'react'; import hogs from '../porkers_data'; import HogCard from './HogCard' export default class HogList extends React.Component { state = { hogs: hogs } renderHogs = () => { return th...
1b4374857b9172b983a9da20340782a416308af9
[ "JavaScript" ]
1
JavaScript
matveyclark/hogwarts-london-web-111819
27eed5304809292b600058109c8e4cb5534dd9df
62147113e871287ca87d309e27df4c51425221a8
refs/heads/master
<repo_name>Polygonschmiede/bachelor<file_sep>/index.php <?php echo "HPups";
821715e312d3c5690e41286e617dfcc138466246
[ "PHP" ]
1
PHP
Polygonschmiede/bachelor
bfe7013f3f808a9a9d1fecadc0c44e2a20a0b34e
2bda06cb51b8a78617dcafe4d822d768a14c2431
refs/heads/master
<repo_name>sidd36/ORAM<file_sep>/src/pyoram/crypto/keyfile.py __all__ = ('KeyFile') import json import data from pyoram import utils from pyoram.exceptions import ErrorInKeyMap JSON_SALT = 'salt' JSON_WAES_KEY = 'waes_key' JSON_WMAC_KEY = 'wmac_key' class KeyFile(object): def __init__(self, salt, waes_key, wma...
dcdf157e738617f2ee04b13d3446f8f638316aba
[ "Python" ]
13
Python
sidd36/ORAM
b234e6f86f15945d86d3217e0dd6c608bb5d487d
24ff5d5c6dc981bb9cfec20b16bce334fdc440eb
refs/heads/main
<file_sep>#include <iostream> #include <cmath> #include <conio.h> #include <ctype.h> #include <cstdlib> #include <cstdio> #include <cstring> #include "problem.h" #include <string> #include <Windows.h> using namespace std; int main() { SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), FOREGROUND_INTENSITY | FOR...
a57bb3166180aa20f8b9208b2d2c4befe43f0e5b
[ "Markdown", "C++" ]
4
C++
syhien/TriFuncSolver
cc2afd50bdbe1c1f0a9f1f87808b293a5964cf8d
bf1d84414538c6c63dfc66d732e8f8dfbb830d31
refs/heads/master
<repo_name>hongning666/MyUILib<file_sep>/QUISkin/QUISkin/QUIWnd.cpp #include"stdafx.h" #include"QUIWnd.h" CQUIWnd::CQUIWnd() { m_hWnd = NULL; m_hInst = NULL; m_hRgn = NULL; m_bDrag = FALSE; } CQUIWnd::~CQUIWnd() { } HWND CQUIWnd::Create(HWND hWndParent, LPCTSTR lpszCaption, const RECT rc,DWORD dwStyle, HINSTAN...
bd59646bcbae7a8e103e8debe110847e6c528cbe
[ "Markdown", "C++" ]
23
C++
hongning666/MyUILib
1b71ad6f2342cc6f66e440a436a144f0e6c1ed8d
080780ea9042ee68256d57f1b838c8a7c5c17fb5
refs/heads/master
<repo_name>garyld1962/go_rules_engine<file_sep>/README.md # go_rules_engine A basic rules / predicate engine in go <file_sep>/evaluator.go package rules import "fmt" // Evaluator ... type Evaluator interface { Evaluate(ex Expression) (bool, error) } // ValueExpressionEvaluator ... type ValueExpressionEvaluator stru...
0e384ed7b183c8b3900f1958af000dcf2bcad639
[ "Markdown", "Go" ]
12
Markdown
garyld1962/go_rules_engine
74b8de008886df6e9e7be714d2e85a68fc47e85c
4478a0769ecc711178c5b8499831fc1e8b3fd944
refs/heads/master
<file_sep>/** * Fizzbuzz class * Contains three question with 9 number translatet to FizzBuzz, user should guess the 10th. * * @return publicMethod */ window.Fizzbuzz = (function(){ 'use strict'; // Local variables console.log("Starting fizzbuzz"); var points; var maxpoints; var _screenSetu...
3420278f59b531a8c76d8b2f166c4bcc91090066
[ "JavaScript" ]
4
JavaScript
MangeSwe/School_Project_JS
8f05bbd6b1af90579e7b497bc10501061f3ba6f4
9b288a2f697d131b10ed4412303a87f080974efc
refs/heads/master
<repo_name>writemike/meetup-unit-demo<file_sep>/go/src/unit.nginx.org/go/env.go package unit /* #cgo CFLAGS: #cgo CPPFLAGS: -I/home/mholland/unit/src -I/home/mholland/unit/build #cgo LDFLAGS: -L/home/mholland/unit/build */ import "C" <file_sep>/README.md # NGINX Unit demo for APCJ meetup - June 2020 Sorry for the ...
22b5037682811fcce7fa98d72c29d33ce6dad6c0
[ "Markdown", "JavaScript", "Go" ]
3
Go
writemike/meetup-unit-demo
4e6a4148d6124b6a70cd4a2ee5b2ae88d5854478
1fe41717f720c8437dbbd754f5ccc9bb1fed7208
refs/heads/master
<file_sep>package com.payments.app.seey.rapyd; import androidx.appcompat.app.AppCompatActivity; import android.net.Uri; import android.os.Bundle; import android.webkit.WebView; import android.webkit.WebViewClient; import com.payments.app.seey.App; import com.payments.app.seey.R; public class RapydPaymentActivity ex...
4bfcf43688b0c5e27dde50b58960248637a318c9
[ "Markdown", "Java", "Python", "Gradle" ]
12
Java
dnsking/Seey
65fc79c9338ef1e73d537755aac982596607637d
ea2ba33bf452a517a127e22171cb585d3de3b558
refs/heads/master
<file_sep>using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Katas.Business { public class KataSimpleEncryptionAlternatingSplit { public static string Encrypt(string text, int n) { if (String.IsNullOrEmpty(text)) return text; ...
98cc8e9a9da95fddc9a655845e5a35510145dde1
[ "C#" ]
10
C#
cctron/KatasFromCodeWars
270533939f0e093c0fe9217d613d41fc0ef0f343
874742640231198e5fa9b4b351d03bde2317032d
refs/heads/master
<repo_name>OleksandrZhytnyk/Test_Task_Semantic_Segmentation_with_UNET<file_sep>/requirements.txt keras==2.3.1 tensorflow==2.1.0 numpy==1.19.1 pandas==1.1.1 matplotlib==3.3.1 tqdm==4.48.2 scipy==1.4.1 <file_sep>/train.py #!/usr/bin/env python # coding: utf-8 # In[ ]: from keras.callbacks import EarlyStopping, ModelCh...
935a10aa92482348e1b96572cd3215fd1448dcfe
[ "Markdown", "Python", "Text" ]
5
Text
OleksandrZhytnyk/Test_Task_Semantic_Segmentation_with_UNET
a6c3ffc97f0154c283d36251f230b3694e68d355
ad49196adbf649c0c04e4a054c9bc4fbfbdc35c9
refs/heads/master
<repo_name>lowsound42/eloquentJS<file_sep>/README.md <h1>Eloquent JS</h1> <p>I'm working through the 3rd edition of this book and using this repository to mark my progress. I'm breaking this up by chapter and working on each exercise within those folders.</p> <file_sep>/chapter-2/2-1.js //Chapter 2 exercise 1 let ste...
3c912f2ed06d7cc8bd5bc990c09a21861c8ae1d2
[ "Markdown", "JavaScript" ]
2
Markdown
lowsound42/eloquentJS
5a7e4b15bd3968d7fa75c695f5c77a96ffca959c
78cc405f5edfd717aeb4f8491fc8e34dc21557db
refs/heads/main
<repo_name>miikisalminen/runehelper<file_sep>/bot.py import os import discord import scraper as sc TOKEN = "SECRET TOKEN" client = discord.Client() @client.event async def on_message(message): # wiki linker if message.content.startswith ("!wiki"): response = sc.wiki(message.content.replace("!wiki ","")) print...
b56b01d1ae8fcdd73adc7a8697befda29dad62c7
[ "Python" ]
2
Python
miikisalminen/runehelper
b613786c32f94a0a592a0040a3f806be5f12b4fa
3d457cdb8f5e5a0994d9af715ae213331bb25af5
refs/heads/master
<file_sep>from bs4 import BeautifulSoup import re from data.Departments import Departments # define unit type RANGE = "RANGE" ABSOLUTE = "ABSOLUTE" """ SCHEMA OF AN INDIVIDUAL COURSE: key: <course abbreviation> <course number> i.e. CS 111 value: i.e. { 'title' : Operating Systems, 'description' : Lecture, fo...
747a25b843ae3d5be3020b2fc34775c07f2d1a4d
[ "JavaScript", "Python", "Makefile" ]
20
Python
shannonphu/BruinPlanner
de1a19819292a63a2d0bd89f78606400b63b14ef
97736265bea54b510afc1177cfd379ac65846776
refs/heads/main
<file_sep>package com.lev; import java.util.Scanner; public class Smallest_largest { public static int smallest(int a, int b, int c){ int sm = a; if(b < sm){ sm = b; } if(c < sm){ sm = c; } return sm; } public static int largest(int a...
02ac28215f83ffd43d35e0549b56eee98d2d99a1
[ "Markdown", "Java", "Python", "C++" ]
48
Java
labeebev/DS-Algorithm
57e1a66edb642d19e97ebda6ee6393f8370546bc
90ab29a9f257d202ff5d52c82a4170ce21dd18ec
refs/heads/master
<repo_name>jshepley14/scenevalidator<file_sep>/src/examples/src/build_tower.cpp /**************************************************** Author: <NAME> <EMAIL> Description: This code provides builds the highest stable tower of three objects. The order of objects to build the tower is known. T...
37043a623d54f2acd66ad66541c4f2181e631a95
[ "Markdown", "C++" ]
8
C++
jshepley14/scenevalidator
e9781f9ebd84c827da2f9c9c7b0e30fb83bec9d5
b24f38618803aa8c225ecc81335ed2a49a276864
refs/heads/master
<repo_name>alkuntze/notification<file_sep>/teste/index.php <?php require __DIR__ . '/../lib_ext/autoload.php'; use Notification\Email; $novoEmail = new Email( 'smtp.mailtrap.io', 'ffda583bb093f1', 'f56902baaf33fa', '587', '<EMAIL>', '<NAME>' ); $novoEmail->sendEmail("Teste de envio de e-mail", "Esse é um e-mail de ...
c75d3309c5a447b0dd14c1166a25f79159ebb763
[ "PHP" ]
1
PHP
alkuntze/notification
8a0f54a1f99bcf96fb9de81239e16c660b1afe63
f9c528582e27a7a80dcf8c33da164f39e61b57ac
refs/heads/master
<file_sep>package org.example.Intrest; public class Intrest { int principal, time, rate; public Intrest(int principal, int time, int rate) { this.principal = principal; this.time = time; this.rate = rate; } }
cdd8d13113a4364bdebcd7a8656758c5020b921d
[ "Java" ]
1
Java
Tushar0135/Tushar_Exceptions_Logging_Epam
e28e145cb795270ae1b2fb75051e7137eca72456
dd8b9bbbeefa129a116cb1afb5b1e248409c889f
refs/heads/master
<file_sep>package section3; import javax.swing.JOptionPane; public class Greeter { public static void main(String[] args) { String name=JOptionPane.showInputDialog(null,"put a sentence"); } } <file_sep>package section4; import javax.swing.JOptionPane; public class QuizGame { public static void main(String[] a...
0e28c8f96f3e35ebc1bb63f2c933fba3359c61f6
[ "Java" ]
2
Java
League-Workshop/intro-to-java-workshop-trstedk
1752cb1828f5c9c0a8c29ca961e8d5c0a61dc91a
b249ee8d5c0937e4379be2e41912f6e6fdac3c9e
refs/heads/master
<file_sep>def draw_man(number_of_wrong) if number_of_wrong == 0 puts "___________" puts "| |" puts "|" puts "|" puts "|" puts "|" puts "|" puts "------------" elsif number_of_wrong == 1 puts "___________" puts "| |" puts "| @" puts "|" puts "|" ...
9985f5d65232b722f16d5efb633718270f7dcbc2
[ "Ruby" ]
1
Ruby
oh46367/hang_man_final
e1ed136ccab92c2bd0e84fc8978db5c1b88e7c2b
20b13e1b4122379d3387faaba93b2b86f124ed6c
refs/heads/master
<repo_name>hannodrefke/sms-challenge<file_sep>/assesmentSpec.js describe( "sendSmsMessage", function () { beforeEach(function() { sendSmsMessage = require('./assessment.js'); }); it("Sends text with 84 characters as one message", function () { let result = sendSmsMessage("Sends text with 84 characters as...
a5355401b186504e741675e34594e4491b7bb07e
[ "JavaScript" ]
2
JavaScript
hannodrefke/sms-challenge
8b154d45b6bbaed361d84b26282c3a6f81c3fb6b
acc4f3e0a611ad3acbeaa271a9e2176b30bc433f
refs/heads/master
<repo_name>tuxmeister/EDEngineer<file_sep>/EDEngineer.Models/Operations/DumpOperation.cs using System.Collections.Generic; using System.Linq; namespace EDEngineer.Models.Operations { public class DumpOperation : JournalOperation { public List<MaterialOperation> DumpOperations { get; set; } ...
2253776828b97adf69dad029149b88a81469767a
[ "C#" ]
1
C#
tuxmeister/EDEngineer
22ace511ccd4891bc2aa33cdf90d76026a5d77f4
02d117d4850df0b58e91ea22ef70d6b858c555e6