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 | <repo_name>cryptobuks/BlockGamez<file_sep>/BlockGamez-Solutions/Bitcoin/GenerateAddresses/src/BitCoinWalletGenerate.java
/**
* Created by arjun on 1/14/17.
*/
public class BitCoinWalletGenerate implements WalletGenerateInterface {
@Override
public String privateToWif(byte[] privateKey) {
byte[] newVa... | 29414a387c96bda3d2ca901e9e3b2ba0304a3983 | [
"Java",
"Text",
"Maven POM"
] | 7 | Java | cryptobuks/BlockGamez | 96ef413f1c6cb4ce6edc115892b41485d0b9e406 | 9e90a31697698d1d1e3267c9606508a30ce55dc7 |
refs/heads/master | <repo_name>salinatservantez/Closest-Point<file_sep>/src/ClosestPoints.java
/**
* Description: This program finds the closest pair of points in a set Q of points using divide, conquer, and combine.
*
* @author <NAME>
* @edu.uwp.cs.340.section001
* * @edu.uwp.cs.340.assignment4-ClosestPoints
* * @bugs none
*/
i... | 2b34088a3145c9b52d9193f0e4b81ccda408cd9b | [
"Java"
] | 1 | Java | salinatservantez/Closest-Point | c0e9a0703d85490964acb1a45e643f0e346a87da | a0676a56c97f78a60fe37f6ba1d7ea02ad2b34dd |
refs/heads/master | <file_sep># Voices Name Correspondence List Extractor
# comes with ABSOLUTELY NO WARRANTY.
# Copyright (C) 2016 Hintay <<EMAIL>>
# FSN support by Quibi
#
# 提取语音名称与角色对应的列表
import os
import sys
import codecs
import argparse
route_list = {
# Fate/stay night
'プロローグ1日目': 'prg01',
'プロローグ2日目': 'prg02',
'プロロー... | 1c0f55774190551cd33267a5628da792c7d11209 | [
"Markdown",
"Python"
] | 3 | Python | Ultimate-Moon/VitaScenariosTool | 3d6731471a0c104d12bd4ce05416545b6cb6a896 | 3136193c119344646070fd2c29f5a78a622a36d4 |
refs/heads/main | <repo_name>vvpn9/Machine-Learning-Basics<file_sep>/Spam Filter/Naive Bayesian Model.py
import os
def fileWalker(path):
fileArray = []
for roots, dirs, files in os.walk(path):
for fn in files:
eachpath = str(roots + '/' + fn)
fileArray.append(eachpath)
# print(fileArray)
... | 72efb0a7759994b079a4140eabe48669136c5458 | [
"Markdown",
"Python"
] | 7 | Python | vvpn9/Machine-Learning-Basics | c799cabd695ee0980b27d6bb5279c7fbff282077 | aab3585a452e6aa83c22f2c95e2feac0ffdb79b3 |
refs/heads/master | <repo_name>rca/sbonrails<file_sep>/config/routes.rb
ActionController::Routing::Routes.draw do |map|
map.resources :events
map.presentation_ideas "/presentations/ideas", :controller => 'presentations', :action => 'ideas'
map.upcoming_presentations "/presentations/upcomng", :controller => 'presentations', :action ... | 834c75072a60ba95a2d8299ad9499d16085c020b | [
"JavaScript",
"Ruby",
"Markdown"
] | 20 | Ruby | rca/sbonrails | d5504d3623fc34a52181c0ad8a5fd907e24214de | 4dac67f108444905d2a69bfa9bf5a8894c09b76d |
refs/heads/master | <repo_name>lbxl2345/learnDECAF<file_sep>/LearnDECAF.md
# DECAF
***
### 应关注的文件
***
+ callbacktests.c
+ DECAF_types.h
+ DECAF_main.h
+ DECAF_callback.h
+ DECAF_callback_common.h
+ DECAF_target.h
+ hookapi.h
+ monitor.h
+ qdict.h
+ qemu-common.h
+ qobject.h
+ vmi_callback.h
+ vmi_c_wrapper.h
+ vmi_callback.h
+ utils/Outp... | 42898061812ab0968665030b7899cdf5372984c0 | [
"Markdown",
"C",
"C++"
] | 5 | Markdown | lbxl2345/learnDECAF | c21450f45c932528709ff6607658615c21bbce9e | 350fef9ed70ac4f2b889d1cd41b72440ee810b93 |
refs/heads/master | <file_sep>#include "ingress_preprocessor.h"
// #include "hls_stream.h"
// #include "ap_int.h"
// #include "ap_axi_sdata.h"
int main()
{
hls::stream<ap_axiu<64, 0, 0, 0> > is;
ap_uint<64> tstamp0 = 0x1678cda2178bd4e5;
ap_uint<16> tstamp1 = 0x8bef;
ap_uint<80> time_stamp = (tstamp0, tstamp1);
ap_uint<1> tstamp_val... | 14c230c8f6ec678a66348c17542ec9abe628b3e3 | [
"C",
"C++"
] | 3 | C++ | qu0224/intership_code_ingress_preprocessor | 9222dab17f300b57ab1b3c098794a1c5bce55fc8 | 761ffcd80d67c3942c05c80e65c99c70ce03d084 |
refs/heads/master | <file_sep>import matplotlib.pyplot as plt
import numpy as np
import matplotlib.mlab as mlab
import math
import numpy as np
import scipy.stats
def nplot(dfstat, value):
mu = dfstat[value]['mean']
sigma = dfstat[value]['std']
x = np.linspace(mu - 3*sigma, mu + 3*sigma, 100)
ax = plt.subplot(111)
... | f772ce712efc461ba073063d1cd3f83f1f91b1a6 | [
"Markdown",
"Python"
] | 2 | Python | Yoonsen/CompareCorpus_easyread | bf5bb00f5428a72b21d2e57f89a7103727d90b9c | d0312a07b82835c9c5e1421465c414cc97a36603 |
refs/heads/master | <file_sep>import numpy as np
from nltk.corpus import stopwords
from nltk import download
from gensim.models import KeyedVectors
from pyemd import emd
from gensim.corpora.dictionary import Dictionary
from collections import defaultdict
import os
import logging
logging.basicConfig(format='%(asctime)s : %(levelname)s : %... | b90fa2616f0a48d8d0da94673f1834172697ab4e | [
"Python"
] | 2 | Python | XiaoSX/coco-caption | e37ead8b5e8952bd02c7a5c2878af12efa77641e | 5051caa13a41b6117eba8c0e4ceac089f501502b |
refs/heads/master | <repo_name>giulialiv/bggn213<file_sep>/class15/class15.Rmd
---
title: "class15"
author: "<NAME>"
date: "11/15/2019"
output: html_document
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```
#The data for for hands-on session comes from GEO entry: GSE37704.
#The authors report on differential analys... | 470d4c8187b0bfdc0a1a1210b868492e8179080d | [
"Markdown",
"R",
"RMarkdown"
] | 23 | RMarkdown | giulialiv/bggn213 | b60071a42cb664889db450f6b4d4b6822e59e581 | 152a02de0ce27be012491b3b79b4c0c1486196fa |
refs/heads/master | <repo_name>Valentina2103/Laboratorio-POO<file_sep>/POO/Player.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace POO
{
class Player
{
public String hand;
public AddCard()
{
}
public Init... | e3f6751d3390182b5fc376b10d26b8d91256649e | [
"C#"
] | 2 | C# | Valentina2103/Laboratorio-POO | fd2a40e70a05f0d006d41bcd02e1d5b3a995c730 | 71b494c36d67a430b225f8cc141e3500db7aafa3 |
refs/heads/master | <file_sep>require('../jquery.renderSurvey');
$('#app').renderSurvey({
"question": 'What is your favorite color?',
"answers": ["Red", "Green", "Blue", "Orange"],
"submitUrl": "http://example.com",
});
<file_sep># jquery-rendersurvey
Simple jQuery plugin to create dynamic, multiple choice survey questions.
## How... | 51b99d169236c8b9806c4db4684aeb2a9796baab | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | humanaise/humanaise.github.io | 5d376f7e8003bfb70123476ffd1ba8ce451748a5 | 58143a390fadbb855d5a33f6cfd099200a496fbb |
refs/heads/master | <file_sep># # TwitterBot/bots/statusbot.py
"""
- [x] Add the randomness of the Hashtags bot picks from the pull of hashtags
- [ ] Create a function which tweets about the articles found on Economist
- [ ] Create a function which tweets about the tech world news
- [ ] Create a function which tweets about video games on... | efe71cbb96c7f88e553cd7263ea06dec4cb95679 | [
"Python"
] | 1 | Python | nestarz/TwitterBots | f5849fa694ca68054a99a0407ea081de56e51f46 | cb08442e99e5d1b7cfcddc72a9212345e304cc02 |
refs/heads/master | <repo_name>n8glenn/FormBuilder<file_sep>/FormBuilder/Classes/Form Builder Classes/FBOptionSet.swift
//
// FBOptionSet.swift
// FormBuilder
//
// Created by <NAME> on 5/6/18.
// Copyright © 2018 <NAME>. All rights reserved.
//
import UIKit
open class FBOptionSet: NSObject
{
var id:String? = nil
var range =... | 9eca81c45207466a3a21e0e5c02e11f2d3323994 | [
"Swift",
"Ruby"
] | 58 | Swift | n8glenn/FormBuilder | 8abf5c5c0feb06e034a7eab1d4f30f770b16c81a | bcfa7660600ceecdd55c3e1f3c86b15c30eae320 |
refs/heads/master | <file_sep># DOACCalculator
- DOAC計算プログラム
- Visual Studio 2019 で作成
- 使い方
- 起動し、身長・体重・年齢・性別・血中クレアチニン値(mg/dl) を入力
- 計算ボタンを押すだけ
[Binary Download](https://github.com/vascarpenter/DOACCalculatorVS/releases)<file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Thr... | 5f3aee78c139afb5440e5e4e0ff4318c9cf45396 | [
"Markdown",
"C#"
] | 2 | Markdown | vascarpenter/DOACCalculatorVS | 4a749a0a42adcb42bbfbd075313da05cde3e83f9 | 7ea6baa1bcc122f9bc9d7d0d8f56c8bb9a0f5dea |
refs/heads/master | <repo_name>MarcosCostaDev/snake<file_sep>/src/const/const.ts
export let CONST = {
SCORE: 0,
HIGHSCORE: 0
};<file_sep>/README.md
to play this game [click here](https://marcoscostadev.github.io/snake/) | 334428a7ae52c38d7e051ea0282218e76e45c519 | [
"Markdown",
"TypeScript"
] | 2 | TypeScript | MarcosCostaDev/snake | 7410bb6302bfebba31245d81cfec4e1a7151cef3 | e4d4fca7258f72fc2b8e6f9579e3d8b9935c2159 |
refs/heads/master | <repo_name>Edii698/turtle-power-clickyGame<file_sep>/README.md
# Turtle Power Clicky-Game!
Teenage Ninja Turtle themed game build with **React** JS and Bootstrap 4.
## Overview
TMNT clicker memory game. Click an image to gain points, but don't click on the same image twice!
Every click will shuffle the images, so tr... | 3f3f37201d57bc6c132c9704e2170a920295e002 | [
"Markdown",
"JavaScript"
] | 5 | Markdown | Edii698/turtle-power-clickyGame | c4e4a45d09d6d11f1753c8a475a902ec981d3335 | 188f0952730522eaf0a34a67b6461cea5b56551b |
refs/heads/master | <file_sep><style>
#staffidimg{
display:block;
width:50%; height:50%;
object-fit: cover;
}
</style>
<?php
/**
* Template Name: Staff
* Template Post Type: staff
*/
$fields = get_fields($post->ID);
if( $fields['status'] ){
$format_staff = '
<ul>
<li>
... | dc7d47a93f325b24e4081339c70530b8c8368454 | [
"PHP"
] | 16 | PHP | 40fourth/123_parent | 0e78387682af8d7e68b7fa4f8adb2fef5ab7d41a | 94ebbabc7776beb460fbb3d526767b36a0debe52 |
refs/heads/master | <repo_name>baptistemeunier/AttributionEcole<file_sep>/src/Attribution/AttributionHelper.java
package Attribution;
import java.util.ArrayList;
public class AttributionHelper {
private ArrayList<GroupeFinal> groupes;
public AttributionHelper(ArrayList<GroupeFinal> groupes) {
this.groupes = groupes;
}
public vo... | 3fc9b2c80bde6444f69af21e7c16aaf95a74158d | [
"Markdown",
"Java"
] | 6 | Java | baptistemeunier/AttributionEcole | ba7ee36876ba49cae17b185f1e86da9373978f6a | e7a532d80ca9eda12578a8418a670c44708b09d6 |
refs/heads/master | <file_sep>print ("you can print texperiment ")
if 43 > 42:
print ("print this stmt")
#they are lists , not arrays
movies = ["list 1", "asdf", "asdf" ]
print (movies[1])<file_sep>#Functions
def recursive_list_printer(input_list):
for each_item in input_list:
if isinstance(each_item, list):
recursive_list_printer... | 07c05aace39963a0a93ff517f993e4371b3ef96f | [
"Python"
] | 5 | Python | JUKE89/PythonLearning | 6507dbc98323e9fc17623acd95a3d0b2a8b431e3 | d7131a36f1b76c53bb6d450b23a0ad2ee689d2b2 |
refs/heads/main | <file_sep># sum-of-prime-factors-function
Python algorithm for a mathematical iteration problem on prime factors.
If n is prime, double n. If n is composite, subtract the sum of the prime factors. Continue this procedure until you reach a cycle or 1.
The assumption is that there are no further cycles (except 2,4,...)... | 46bd1624ef37c75bcf38d0d16433e6953f30f51f | [
"Markdown",
"Python"
] | 2 | Markdown | Django-42/sum-of-prime-factors-function | 5fea9bc8e67504822b4b69706f12d31b8c773d26 | 83235af393eddf494c022944a131ad15cd29ebee |
refs/heads/master | <file_sep>## Delta-gamma hedging
In this part, I have added gamma hedging. To deploy the strategy, the second option, which pay off is a non-linear function of spot price, is needed.
The expected P&L at every portfolio path should be less volatile than in the delta hedging brought in the previous section.
As in the ... | 820f13c206a54820e7bb183d2e896996ed533198 | [
"R",
"RMarkdown"
] | 5 | RMarkdown | kwojdalski/option_pricing | 7bb2cc5a44649e08fbe213d60c821079c815ed03 | 3d5320004d042deb6b026dfa231cc3a01d90a79f |
refs/heads/master | <repo_name>ErnestoDavidOlivaPerez/el-senor-de-los-anillos<file_sep>/src/main/resources/strings_en.properties
new = New Game
load = Load
language = Language
exit = Exit
back = Back
cancel = Cancel
quest = Do you want to overwrite this game?
information = Saved progress will be permanently lost
game_save = Saved Games
sp... | e98acf12d21213c3b8699ce735bc14a185e3d7a6 | [
"Java",
"INI"
] | 20 | INI | ErnestoDavidOlivaPerez/el-senor-de-los-anillos | 9dc2ac1bc281fdd12efaf39d998af34a57c35e9e | 31013d413abb0091245ac8c1daa1af3e3372cd48 |
refs/heads/master | <repo_name>JVue/biggestbass<file_sep>/app.rb
require 'json'
require 'sinatra'
require 'sinatra/reloader'
require 'sinatra/namespace'
require_relative 'route_methods/biggestbass'
require_relative 'route_methods/user'
require_relative 'route_methods/html'
require_relative 'route_methods/log'
# require rack
# require_rela... | 78b4ec2c2f901cbe82c44c6a164a31da3341016f | [
"Ruby"
] | 3 | Ruby | JVue/biggestbass | 69c10a9b4f2c3025749834ac9b81ffe7005af0a2 | 6bbea91e209762d8ffb4bd4926ba29da3f81f31f |
refs/heads/master | <file_sep>require './parser.rb'
class Interpreter
def initialize
@evaluator = StringExecutor.new
end
def print
@evaluator.parse("##(equals,1,2,(##(add,2,3)),(##(print_str,hehehey)))") ###(print_str, ##(add, 3 , ##(sub, 2, 1)))
@evaluator.parse "##(define,mul3,(#(mul,A,#(mul,B,C))))"
@evaluator.p... | b761fa8ddad5fd7b1a46ee732fa9caf62c45e781 | [
"Ruby"
] | 3 | Ruby | NikitaTsvetkov/Tractor | a38840c434b56439f3b6c95120489314abecab38 | d8ed4e15ebdea2e56659dea32f06ff89bab5b7e7 |
refs/heads/main | <file_sep>from pokemon import app
from pokemon.forms import PokeForm
from flask import render_template, request, redirect, url_for, session
import numpy as np
import pandas as pd
import json
import pickle
import os
#function to get the name of the image to fetch...
def change_names(name):
name = name.replace('.png... | cbc603b2c2aa1a55f4f75cc6fac8e5fe9906abca | [
"Markdown",
"Python"
] | 5 | Python | PanduAkshay/Pokemon-Predictor-Using-Random-Forrest-Classification | b914b9155c7c6f6230cc3bc7fd2ca65c33451b7b | bee555f6f98fcf5aec3e0daeca34a3032cc907c4 |
refs/heads/master | <repo_name>burnasheva/gradlew-test<file_sep>/src/main/java/com/test/Test.java
package com.test;
/**
* Created by teng on 2017/7/17.
*/
public class Test {
}
<file_sep>/README.md
# gradlew-test
Build project by gradlew
如果本机没有安装gradle,请执行目录下的gradlew来自动下载编译项目。
<file_sep>/settings.gradle
rootProject.name = 'gradlew-tes... | 471529d4272699d124713b7726c763ff48591c42 | [
"Markdown",
"Java",
"Gradle"
] | 3 | Java | burnasheva/gradlew-test | fdd75730f7d3047e5991962c3238229444b04df2 | 909d386fef8e146e3a6df10d69ff07c87f5d4766 |
refs/heads/main | <file_sep>import threading
from tkinter import *
import webbrowser
import time
def wd(mem):
def run():
link = entry_label.get()
mem.append(link)
root = Tk()
title_label = Label(root, text="Mini Broswer", pady=10, padx=50)
run_button = Button(root, text="Run", padx=10, command=run)
... | 1f9b9c20254af33e2c33dc0db718983a4e7df44a | [
"Markdown",
"Python"
] | 5 | Python | galerax/SO | b5b7f6f6e93a6b1ce91b8316880ad7ffa2e9f68c | 21c3f6d1c872d5ad3b96b79b29998608a60e8d97 |
refs/heads/master | <repo_name>dehare/doctrine-extension<file_sep>/lib/Dehare/Doctrine/DoctrineExtension.php
<?php
namespace Dehare\Doctrine;
class DoctrineExtension extends ConnectionManager
{
public function __call($method, $args)
{
$result = false;
$connection = $this->getConnection();
// DBAL config
... | f66c2412dd38cf873564763fc6bfa7e3bc92f955 | [
"PHP"
] | 4 | PHP | dehare/doctrine-extension | 64182b71e8928dbde69e8836727ed9b4263bcd59 | a04e649f36fe14d1918d47cdadac18de92a0a7f1 |
refs/heads/master | <repo_name>MMHK/vue-amd-cli<file_sep>/README.md
# Vue-AMD-Cli
Create Vue Project By AMD way tools
Vue AMD 部署项目工具,此工具会在当前目录下建立整个(Vue + AMD)模式的项目模板。
第一次,会在当前目录下载项目模板,并使用 `bower` 安装所有的项目依赖到`lib`下。然后就可以马上开始编码工作,不需要重新配置环境。
在第一次运行后,在执行`vue-amd-cli` 就会出现交互式的命令脚手架,方便创建 `page` / `component` / `service` 等模板。
# 环境依赖
- 必须已经安... | 6d87c31a01403459a896b666f0817b938cfdb5ac | [
"Markdown",
"JavaScript"
] | 2 | Markdown | MMHK/vue-amd-cli | 8e47b3dd6f6ccfa38acf32b538480e5cae936f06 | fdd5c53751c6ffa8225e6a401e71848c2d35d64a |
refs/heads/master | <repo_name>chinmaysathe93/Coursera_TensorFlow_in_practice_Specialization<file_sep>/1_Introduction_to_TensorFlow/Code Helper.py
!pip install tensorflow==2.0.0-alpha0
activate nlp_course
pip install --upgrade tensorflow
# ------------------------------------------
Rule of Thumbs :
#1 By adding more Neurons we... | cca7ae29b60f72bf865fce4471863a03866dafcd | [
"Markdown",
"Python"
] | 2 | Python | chinmaysathe93/Coursera_TensorFlow_in_practice_Specialization | 40e0efacca96a00adb2d24cc855cd07223cde056 | 774f7ec160c77b98710cb01d0ef84582797e93c4 |
refs/heads/master | <repo_name>lancemitchell/strengthcom<file_sep>/public/js/main.js
/* ==========================================================================
Strength.com global JS
========================================================================== */
$(document).ready(function(){
// Init Event Handlers - Flyout Panel ... | 75726ab87ee34bbd7160d454611531ce9810e127 | [
"JavaScript",
"Markdown",
"PHP"
] | 37 | JavaScript | lancemitchell/strengthcom | 5e8f5b9388aec1a6347cc2234747342b69b907cb | daab11b197314b9993f24ade4d044cf4a3dda3cf |
refs/heads/master | <file_sep>from MyMainPackage import some_main_script
from MyMainPackage.SubPackage import mysubscript
from mymodule import my_func
some_main_script.report_main()
my_func()
<file_sep>def cap_text(text):
'''
Input: Una cadena
Output: La cadena capitalizada
'''
return text.title()
<file_sep>def my... | b431b252bea8a48f5ce72f8b8dc1eb8f05ac4407 | [
"Markdown",
"Python"
] | 8 | Python | FrancisFerriEPN/Complete-Python-Bootcamp-Go-from-zero-to-hero-in-Python-3 | 75d20264f0e1fbc67aaff6176a53b5bd25a5a280 | 35f8ed96dd6bc5f655948907bb6097bff0913aaa |
refs/heads/master | <file_sep># meeting-calendar
A simple JS app to show the meeting events for the day.
# input
The input to the function will be an array of meeting objects with the time of the beginning and end specified in minutes after 9 AM. For example,
[{
id : 123,
start : 120
end : 150
}]
specifies a meeting starting ... | 0d9e538913bb7f00f2910580881e45a5fd6767ce | [
"Markdown",
"JavaScript"
] | 2 | Markdown | spratap124/meeting-calendar | 13d44a632249abaa844df53e5a8387719a50da2b | 5fe13288bdd8afb1873ffe29ceecf7da621c4461 |
refs/heads/master | <file_sep>import Leaflet from 'leaflet';
import mapMarkerImg from '../images/mapIcon/logo.png';
const mapIcon = Leaflet.icon({
iconUrl: mapMarkerImg,
iconSize: [100, 100],
iconAnchor: [50, 100],
popupAnchor: [0, -75]
})
export default mapIcon; | c7683a2a31e70359b6c711492177902840430dcc | [
"TypeScript"
] | 1 | TypeScript | SostenisVinicius/tcc | 50b47abeeed22aeec165c3102195e8251371732a | 654bcd0f186cfef45353ced1ea5a896ec454b595 |
refs/heads/master | <repo_name>KickButtowski80/i_t_view_tool<file_sep>/lib/i_t_view_tool.rb
require "i_t_view_tool/version"
require "i_t_view_tool/renderer"
module ITViewTool
end
| 2f8d0a9abfce112b375bf2d8d8f291c5512beb6e | [
"Ruby"
] | 1 | Ruby | KickButtowski80/i_t_view_tool | b9b7dee74c02edb73f63aac6ff3ac6692d6e626a | c2f84360e7edac72bf03f7011b7279edbf5449dd |
refs/heads/master | <repo_name>alinilopes/LaFontaine<file_sep>/LaFontaine/assets/js/src/app.js
(function ($) {
var updateProgress = $('#UpdateProgress');
var prm = Sys.WebForms.PageRequestManager.getInstance();
//prm.add_initializeRequest(onRequestInitialize);//Criado antes do início do processamento da solicitação assíncro... | 950ce9a30e1d85036f9e878d21e8825a7269a250 | [
"JavaScript",
"C#",
"Markdown"
] | 6 | JavaScript | alinilopes/LaFontaine | 2f281ab49622535aaf3ba61e5cb1a46c591d9189 | f306728b3901cec147d39abf32ef2112adc8832d |
refs/heads/master | <file_sep>from IPython.parallel.apps.winhpcjob import *
import tempfile
import pickle
# just execute this file in python to create the xml file for the cluster (in ./analysis/cluster), which one then can manually submit through the HPC Job Manager
def cluster_setup(i, python_path, home, t, work_dir, tempdir):
t.w... | cfb53350611955c8cd608991531fda108ab79065 | [
"Python"
] | 2 | Python | neelarka/Azimuth | b7902aa49e0a5e394ede442062ff0eb56468f9ad | 3442fe37a98ff9689a1552241459a26f7f9c5f6b |
refs/heads/master | <file_sep>package com.actitime.qa.testcases;
import java.io.IOException;
import org.apache.poi.openxml4j.exceptions.InvalidFormatException;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
import com.actitime.qa.base.TestBase;
import com.actitime.qa.pages.LoginPage;
import com.actitime... | cc4622a7cb58762bad7e8daa44360ab7d4f27144 | [
"Java"
] | 1 | Java | ushapmgithub/ActiTime_2020 | 22dfc99c2b5c6cc2f9bd4fffc919113c9b462b3c | ca4f2c65a4efb9266e04e3d98a30266f1a46e1bf |
refs/heads/master | <repo_name>kerimtumkaya/2018-Data-Science-Bowl<file_sep>/aug/_augment2.py
import os
import sys
import argparse
import tqdm
import uuid
import cv2 # To read and manipulate images
import numpy as np
import pandas as pd
import tensorflow as tf
from utils.oper_utils2 \
import normalize_imgs, trsf_proba_to_binary, \
... | 0eddf1abf5606cd96d869bef1585aac64ca60572 | [
"Python"
] | 1 | Python | kerimtumkaya/2018-Data-Science-Bowl | 09ea69c702f1fb405c3995cba1889b1306143831 | 4e9cac5adce0cb7e2fef0ecb568cf4ce6f3d942f |
refs/heads/master | <file_sep>using System.Collections.Generic;
namespace ML.Lib.Classification
{
public class ClassifiedObject<T>
{
public string Classification { get; set; } //Classification of this object
public List<T> Properties { get; set; } //all properties of this object
public string Label { get;... | e3655d4108591ad9d29c327e58933e3ada21b9dc | [
"Markdown",
"C#"
] | 55 | C# | Madoxen/SSI | a49631ff97dd655d6d7e6e7501213ad176ea3e0a | efde693be127b2f33bbcbdcb3f951743c7b432aa |
refs/heads/main | <file_sep>import React, { Component } from 'react'
import axios from 'axios'
import User from './User'
import SearchUsers from './SearchUsers'
export class Users extends Component {
state = {
users: []
}
getUsers = () => {
axios.get('https://api.github.com/users')
.then(response... | caff37c0d479b32d9fa7db5779471ee4642750b9 | [
"JavaScript"
] | 1 | JavaScript | Zerka1982/git-engine | e74c594b15b666d46cf46d22637e21c98427afbc | 79f3ad9286ee7ca075f6d3856e0035f830b1a434 |
refs/heads/master | <repo_name>nish-d/wav2mp3<file_sep>/README.md
# wav2mp3
## Usage
./convertWav2mp3.bash <input_file_path> <output_file_path>
Example: ./convertWav2mp3.bash "C:\Users\Music\a.wav" "C:\Users\Music\b"
./changeSampleRate.bash <input_file_path> <output_file_path> <sample_rate>
Example: ./changeSampleRate.bash "C:\Users\... | 4d823e1bed766efc444656c841b7140166452554 | [
"Markdown",
"Shell"
] | 3 | Markdown | nish-d/wav2mp3 | 9e782649e3276fde99db4ec1e82922235ed15916 | fcf585e97e5612fac893279471b650de9c2014ed |
refs/heads/master | <repo_name>pandeyroshan/Project-Manager<file_sep>/entries/models.py
from django.db import models
from model_utils import choices
from django.utils import timezone
# Create your models here.
class Entry(models.Model):
title = models.CharField(max_length=200)
ROSHAN = '<NAME>'
BHARAT = '<NAME>'
authors ... | 4b98949214942486b4d6e64fd7a0551dd986e720 | [
"Python"
] | 4 | Python | pandeyroshan/Project-Manager | 022508361116e0686ac00baffe5d2776e5bcb1bf | 7a1215a991cab9aca8754b698d0be6cd1c9addd2 |
refs/heads/master | <file_sep>/*
* Copyright (c) 2015 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, pu... | dc73625005dee224a55d7d0d392b9b36142729a0 | [
"Java"
] | 16 | Java | HmmmQuestionMark/PrivateReserve | e449ce02c9f05adaef54bf4ecedfafd9c7269eb9 | f64de389562462e404aa7b3e90cca9955035914e |
refs/heads/main | <repo_name>slimcoin-project/slm-pywallet<file_sep>/README.md
# slm-pywallet
Pywallet script for Slimcoin and helper script to check addresses in a block explorer.
## pywallet
Requires Python 2.
Uses the following version: https://github.com/joric/pywallet/blob/master/pywallet.py
Licenses: See pywallet.py. Pywallet c... | 7b2624de93d67460109ca76eaf04058ab4e2f077 | [
"Markdown",
"Python"
] | 2 | Markdown | slimcoin-project/slm-pywallet | b7dc0d3ad9dde4fd1781ff4ff1e13763d2a582a1 | 0f1d59519d141bfa3da2dfac3393037d5c0c1bb0 |
refs/heads/master | <repo_name>Pitarou/coach-a-aptitude-test<file_sep>/SortSelectionTest.java
import static org.junit.Assert.*;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import java.util.Arrays;
/**
* Test behaviour of class SortSelection.
*
* @author <NAME>
* @version 2014-07-10
*/
public class SortS... | 166b43fe1b8b475c865619dda74cffbc07a77b32 | [
"Markdown",
"Java"
] | 3 | Java | Pitarou/coach-a-aptitude-test | 92f610348c76c6e5e76b3486a779b9c25d0b6145 | 6616e2dda302060f6cfbc45bcfa16768125db342 |
refs/heads/main | <file_sep>document.querySelector(
"header"
).innerHTML = `<h1 class="header__h1">Headerやで</h1>`;
| 4a46f04dc029bc7ed6bffe3b16049627fcbd45ca | [
"JavaScript"
] | 1 | JavaScript | Hoshitter1/component-end | f790e172d57c31260bdff6e570db0adba0417aba | 64ea72a14fef5f33862724ba8cd44d220b52c328 |
refs/heads/master | <repo_name>bertair7/cpe102project<file_sep>/entities.py
import point
import worldmodel
import actions
import image_store
import random
class Entity(object):
def __init__(self, name, imgs):
self.name = name
self.imgs = imgs
self.current_img = 0
def get_images(self):
return self.imgs
... | b7225d0f5eb7659cdcb729c78f15d7c2ed2e0da7 | [
"Python"
] | 2 | Python | bertair7/cpe102project | bd9517e7c0e688e8d7e3f09ac563b582ce201424 | cfd3ae1dc025807df18ec380de645ad2fd655ee9 |
refs/heads/master | <file_sep>
import java.util.ArrayList;
import java.util.Scanner;
/**
* Created by vb on 21.3.2016 г..
*/
public class CharacterMultiplier {
private static int multiplyCharacter(String[] input) {
int sum=0;
String longer;
String shorter ;
int diff= input[0].length()-input... | 74a150eb3e33a69405ab4ba23489cf92b551713c | [
"Java"
] | 19 | Java | valiobar/Java | 3106fb0a36959841f2306e8f4f5fcc7ac169cc67 | 243fb86a98a86e6373ea6db140f05c185850738c |
refs/heads/master | <repo_name>jluismorav/restful-spring-mybatis-hazelcast<file_sep>/SPAServicios/src/main/java/co/com/xoftix/spaservicios/servicios/AbstractServicio.java
package co.com.xoftix.spaservicios.servicios;
import java.util.List;
/**
*
* @author jmoraxoftix
*
* @param <T>
*/
public abstract class AbstractServicio<T> imple... | 33f8d8c3cfc3928b7994df1a6f2dc1672c21b91d | [
"Markdown",
"Java"
] | 33 | Java | jluismorav/restful-spring-mybatis-hazelcast | ea5391f25b434a588d9e2ac4fd5acc68ac71c316 | 82dc32c456b3cd0b74b246f63342d8208cee6c91 |
refs/heads/master | <repo_name>nextlevelsports/mailchimp-importer<file_sep>/src/api/subscribe.js
import _ from 'lodash';
import request from 'superagent';
const API_ENDPOINT = 'http://localhost:8000';
const post = (listId, batch) =>
request
.post(`${API_ENDPOINT}/subscribe`)
.send({
list_id: listId,
subscribers: ba... | 1b2b4782c2692ecc93d3301b2c19d05ea462566f | [
"JavaScript",
"Markdown"
] | 8 | JavaScript | nextlevelsports/mailchimp-importer | be6d2631d20b2955b8ecd153cb3dfd8d03ea7ee0 | 06ec051cc2824ac453bd393880f0a1f5fb53e35a |
refs/heads/master | <file_sep>function modalImg() {
let works = document.querySelector('.works'),
photoMin = document.querySelectorAll('.photo_min'),
popupImgWorks = document.createElement('div'),
popupWorksContent = document.createElement('div');
popupImgWorks.classList.add('popup_img');
popupWorksConten... | 91e8611d92c65772dfe06b9ece33b32fe456a196 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | janaratolonbaeva/diplom_ac_v | 709de7847071c7a2151452b63682cdc0f97df6bc | 74a12b9cd03e3d0d2c1c26ed76b81cc05c17f291 |
refs/heads/master | <file_sep>package common.setup;
import static common.setup.AllPages.*;
public class AllProducts {
public static String getElementSelector(String elementName)
{
if(System.getProperty("product").equals("YouTube"))
return getYouTubeElementSelector(elementName);
else if(System.getProp... | f1604d7e6459ebbd11be629cd15e05b0f34778df | [
"Java"
] | 1 | Java | hiqatech/cucumber-selenium-tests | 567e6c02ac2f071d01cef615a3e38d27bf158d65 | fd4b5cb06e2aa65ebf60fdb17ae4d91dc67d41f5 |
refs/heads/main | <file_sep>let score=0;
let Name = prompt('what\'s your name?');
alert(Name + " is a very nice name");
function mood(){
let happiness = prompt('are you happy?');
let score = 0
switch (happiness.toUpperCase()) {
case 'YES':
case 'Y':
alert('that\'s great !');
score++;
break;
cas... | 54232e282e4e364fe644578e23f5c4c921e8b42c | [
"JavaScript",
"HTML",
"Markdown"
] | 3 | JavaScript | qusaiqishta/class2 | 3e730a1c4b67fda00f605e5d11aa201753342722 | e6f91b009ee173e3dfe6b1f5a6ccc8d3ce6b37d0 |
refs/heads/master | <repo_name>igormartuci/angular-30.08<file_sep>/src/app/app.component.ts
import { Component } from '@angular/core';
import { noComponentFactoryError } from '@angular/core/src/linker/component_factory_resolver';
@Component({
selector: 'has-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.cs... | c3a283223abe9cbe05b271adcf4e976800c67b7b | [
"TypeScript"
] | 1 | TypeScript | igormartuci/angular-30.08 | fffd6490903836aab753315273b450ce528e9b25 | be46955c6b5914d791b07502bdb8fdb63c75a09f |
refs/heads/master | <file_sep>from datetime import datetime
from urllib.parse import urljoin
from cssselect import GenericTranslator
from lxml import etree
from .extractors import XPathExtractor, HtmlXPathExtractor, XmlXPathExtractor
from .quantity import Quantity
__all__ = ['ParserError', 'ParsingError',
'Prefix', 'Group',... | 8f3ba8b4776b10972be881af96b38d849d8095bd | [
"Python",
"reStructuredText"
] | 11 | Python | Mimino666/python-xextract | 08b9c326b6433ee931bb7703e2acf27ffc317029 | b90f51bbd7862f4ffb93a17f9810c435a0158c61 |
refs/heads/main | <repo_name>Charlito33/Tyvalia-RP-Launcher<file_sep>/Tyvalia RP Launcher/src/fr/tyvaliarp/launcher/LauncherMain.java
package fr.tyvaliarp.launcher;
import fr.trxyy.alternative.alternative_api.*;
import fr.trxyy.alternative.alternative_api.maintenance.GameMaintenance;
import fr.trxyy.alternative.alternative_api.maintena... | 3da049139d23653a5f247e59d9251706cc3f4070 | [
"Markdown",
"Java"
] | 5 | Java | Charlito33/Tyvalia-RP-Launcher | d8e290fb3a7a851a79df2153ce38d7c70c9ea69b | 1a225fd429b529251159e8451c30db12fac2720a |
refs/heads/master | <file_sep>print("hello")
print("<NAME>")
print("Hello Trevor!")
print("I broke it!")
x = 20
if(x == 20):
print("X was 20!")
x = 4000
print("X is now 4000!")
if(x == 0):
print("9+10=21!")
def wordcount(sentence):
word = sentence.split()
print(len(word))
wordcount("this is a sentence") | d42631e9e24b77dacaf676a0be1d0cedf93b45ed | [
"Python"
] | 1 | Python | Sploder12/gitting | 609f39bdf1828cacde08fc00912cc164902e23bc | 9a29c4bf1588660d1d2c9505648b589ee8963726 |
refs/heads/master | <file_sep>import GetDataUtil from './get-data.js'
import displayChart from './chart.js'
// 展示 now 数据
const nowTemp = document.querySelector('.now-temp')
const nowWeather = document.querySelector('.now-weather')
const humidityInfo = document.querySelector('.humidity-info')
const windDir = document.querySelector('.wind-... | a8ad8e945731a119dd9b9fe95fb17eb98a93bb66 | [
"JavaScript",
"Markdown"
] | 6 | JavaScript | ahabhgk/ahab-weather | 515d82a20005de9d45761efb76941749198fa5c5 | 17ae4efba55bda538717fa318e947d64e00dea65 |
refs/heads/master | <file_sep>var position = 0;
var container = document.getElementById("slide-block__container");
var block = document.getElementsByClassName('slide-block__item');
var dots = document.getElementsByClassName('dot__item');
var getStyle = getComputedStyle(block[0]);
var getStyleSize = parseInt(... | de42034747cc89e4730a4c061a5b592556f35e7b | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | Andreywolf/Andreywolf.github.io | bfaf8f4d08601f6699ebd888fb570e48d8b1f3e9 | 8cf37c3a1c6a41bcf09648ae3abb9ea5ce0dced1 |
refs/heads/master | <repo_name>Thearyim/weekday-calculator<file_sep>/src/calculator.js
export function Date2(date, month, year){
this.date = date,
this.month = month,
this.year = year;
Date2.prototype.getDateCode = function(){
return this.date;
};
Date2.prototype.getMonthCode = function(){
if(this.month.toLowerCa... | 041f70b26daef786d339ffe15b8fa9846dcb614c | [
"JavaScript"
] | 2 | JavaScript | Thearyim/weekday-calculator | c543da9af29605fb56385dbaa39ee265bdca6030 | 6e0fa6b5b6ab9cc4f1d2c41cd8dcd64f283e2f71 |
refs/heads/master | <repo_name>vbarbarosh/w240_gimp_thumbnailer<file_sep>/src/thumbnailer
#!/bin/bash
# http://www.gnu.org/software/bash/manual/bash.html#The-Set-Builtin
set -o errexit
function error()
{
echo "${scriptname}: error:" "${@}" > /dev/stderr
exit 1
}
script="$(readlink --canonicalize "${0}")"
scriptdir="$(dirname "${scrip... | cf4f0f7bc177c2d112c99572880403de58fa5241 | [
"Shell"
] | 1 | Shell | vbarbarosh/w240_gimp_thumbnailer | 665ae75ed1ae5a33d20c7a54016d3f301edec40f | afce127e7af779c295bfd935a57070b7d2000e8f |
refs/heads/master | <file_sep>#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distribu... | eee928a3a1eb5b038cb0537cb916cbd6aac91f18 | [
"Markdown",
"Python"
] | 5 | Python | CalculatedContent/context2vec-1 | ac11d9bc2b306d064593a376e6efdaf9628186b9 | f4ea31828c68155ff01f539a2dff8c00b471e502 |
refs/heads/master | <file_sep># GifTastic.github.io<file_sep>// Initial array of gif
var topics = ["psychoactive", "colorful", "eye-opening", "astonishing", "unforeseen", "beautiful", "drug", "painkiller", "amazing", "wonderful", "exceptional", "superb", "diverting", "alluring", "attractive", "stirred", "gorgeous", "cat's-whiskers", "punk... | 3a9539ef7d01f10d470c07d295da9d5e70da0d75 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | weezie33/GifTastic.github.io | b09040639c40fcbec89e34aa7f394432c20a6785 | 9f577116031e442d50e4b4d2dd5e9d07a38df544 |
refs/heads/master | <file_sep>//
// MemoryModifier.cpp
//
//
// Created by MJ (Ruit) on 1/1/19.
//
//
#include "MemoryModifier.hpp"
MemoryModifier::MemoryModifier(){
_binaryName = NULL;
_address = NULL;
_size = 0;
_originalValue = NULL;
_modValue = NULL;
}
MemoryModifier::MemoryModifier(void *address... | fd1de99f256a7aae14d4abe56ac386f566371d5e | [
"Markdown",
"C++"
] | 6 | C++ | Ezi06/KittyMemory-IOS | 09aa476f8f50fc36dc7a650be10b79f9482263e4 | 8bdc17dcfb623075e3786db57e8e234289fca8a8 |
refs/heads/master | <file_sep>import { Dropdown } from 'react-native-material-dropdown';
export default class extends Dropdown {
constructor(props) {
super(props);
}
/*
Patch the bug referenced in the following github issue:
- https://github.com/n4kz/react-native-material-dropdown/issues/27
Issue is still open and are ... | c2b7e898fed6cafacddd55321088ebcc23159a7d | [
"JavaScript"
] | 1 | JavaScript | Casecommons/react-native-formio | 77f255d3a676f2f4acab82c4601d246d0bfa42c6 | 493aae1d812b7f670b4782a32509b8fdb6ca40ab |
refs/heads/main | <repo_name>pablocazorla/stockfishverb<file_sep>/src/views/about/index.js
import React from "react";
import View from "components/view";
import stf_logo from "assets/img/stf_logo.svg";
const About = ({ visible, onCancel }) => {
return (
<View visible={visible} onClose={onCancel}>
<div className="view_presen... | 9735c208a9c7971f93049c2c072585cb9ba7fa30 | [
"JavaScript"
] | 11 | JavaScript | pablocazorla/stockfishverb | 719c384539260009b03a73b8b669c7c35429e9a7 | 8722dafb4d95078cc42522de256627dcb19cff19 |
refs/heads/master | <file_sep>#ifndef RESERVETICKETSMENU_H
#define RESERVETICKETSMENU_H
#include <QWidget>
#include <backend.h>
#include <QStandardItemModel>
namespace Ui
{
class reserveTicketsMenu;
}
class reserveTicketsMenu : public QWidget
{
Q_OBJECT
public:
explicit reserveTicketsMenu(BackEnd* bckEnd, QWidget* parent = nul... | e7e855dc6f68c3bfe4a98fddc09897d77ceb9c39 | [
"C++"
] | 20 | C++ | hunkob/clientServetTcpIp | f80e65ea9fcc940121b94b9351326cb617b8a31b | 4ceed472ca6a90e8e8cbf023999836b59bebd4c6 |
refs/heads/master | <repo_name>fazo96/lambda-vue-cypress<file_sep>/frontend/frontend.js
const apiUrl = 'https://n0z4ae7ktl.execute-api.eu-central-1.amazonaws.com/default/'
const app = window.vueApp = new Vue({
el: '#app',
data: {
width: 0,
file: null,
result: null,
resultSrc: null,
imageSrc: null,
imageInfo: n... | f98f8e6cc3fc4b62dae9f338022830d9ea915ca5 | [
"JavaScript",
"Markdown",
"Shell"
] | 4 | JavaScript | fazo96/lambda-vue-cypress | 8a23e3596c591ffc7a9bd170024bffe4d119e8db | b85f9a507a821e365630f4714a0fe1195ce9ef82 |
refs/heads/master | <repo_name>Code-Institute-Submissions/django-ecomm-2019<file_sep>/contacts/migrations/0001_initial.py
# -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2019-06-29 15:06
from __future__ import unicode_literals
from django.db import migrations, models
import django.utils.timezone
class Migration(migrations.Migrati... | f9687fae424a7b6833a3651010ad2bae826c60d4 | [
"Markdown",
"Python",
"Text"
] | 21 | Python | Code-Institute-Submissions/django-ecomm-2019 | b95d570081dc38a0032b7d49e771f06bab6c71dc | fac1136d207e1bb451f5286270730d04032e9368 |
refs/heads/master | <file_sep># nelnet-table
Gets all loans on nelnet, computes monthly interest for each loan, total interest per month, and shows data in ascii table.
---
I wanted a quick and easy way to see which student loans I should be concentrating on. My go to for website scraping is Python's requests and beautifulsoup4 librarie... | 4eac05edf78d88379e38c86f98b93003050c1d0d | [
"Markdown",
"JavaScript"
] | 2 | Markdown | ljmerza/nelnet-table | 010ddfeec275f469ca2f30b26c4844b3a459a85d | d70b56bd5816135de2826a3b1943b76f3efb9697 |
refs/heads/master | <repo_name>x0rb3l/nmap_quick_script<file_sep>/nmap_quick_script.py
#################################################################
## Title: Nmap Quick Script ##
## Author: <NAME> ##
## Position: Penetration Tester ... | b2f40f2c13e7ed02b8c661dabc829aa62698f276 | [
"Markdown",
"Python"
] | 2 | Python | x0rb3l/nmap_quick_script | 368be4b69ec7381899c14bf6d30692cb004a711c | c96ff7345b1213b0529e7a3b9eb70df9a61978c4 |
refs/heads/master | <file_sep>#ifndef BATTERYSTATUS_H
#define BATTERYSTATUS_H
void batteryStatusSC(void *statusStruct);
#endif
<file_sep>#include <Arduino.h>
#include "DataStructs.h"
// send a String to PS and receive a data packet from the PS
void communicationSC(char *str, void *dataStruct) {
// send process
Serial1.write(str... | 9edf640f3ad5370e022ffb7e4a6fc60f7fe264fb | [
"C",
"C++"
] | 49 | C | lzx97/Embedded-System | 8674e72b73ebb693df4c9d00cdcd250a75adbc91 | a46234d394e2e1efe4b492d635b5b7c456530d5a |
refs/heads/master | <file_sep>package com.ansen.frameanimation.sample;
import android.app.Activity;
import android.content.res.TypedArray;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
import com.ansen.frameanimation.AdvanceFrameA... | 3b49a97011818b50c68013dd1ebbbfee68922e65 | [
"Java"
] | 3 | Java | kataCai/FrameAnimation | b2f362512f1871320e3af84cca0dc7ce82847f0b | 797c177e59ff056ebe82700f5a7263e0e15195e4 |
refs/heads/master | <repo_name>purplejacket/Efficient-Test-Driven-Rails-Development<file_sep>/spec/models/failing_spec.rb
require 'spec_helper'
describe "A failing test in order to verify TeamCity" do
it "fails" do
"apples".should == "oranges"
end
end
| 23d54de18aa767185a24873cfa7df31e1814406a | [
"Ruby"
] | 1 | Ruby | purplejacket/Efficient-Test-Driven-Rails-Development | 83be954c1f98901fe8d88724e1701090e233b984 | 543b081919e36a997bed31996337c01e04a5ac40 |
refs/heads/master | <repo_name>Alex-135-135/Repository<file_sep>/priject/app.jsx
import ReactDOM from 'react-dom'
import React from 'react'
import './styles/index.css';
import 'antd/dist/antd.css';
import Main from './src/components/Main.jsx'
ReactDOM.render(<Main />, document.getElementById('root'));<file_sep>/angular-phonecat-master/ap... | 7baee01eb63621a8c72939c57bf335c5c3c0735e | [
"JavaScript",
"Markdown"
] | 7 | JavaScript | Alex-135-135/Repository | 0b1acf0429eb233514be94f3455f21e95d71f553 | 226364576895975433691742a7b2e716e1024de8 |
refs/heads/master | <file_sep>import React, { useState } from 'react'
function StateArraySample() {
const [dates, setDates] = useState([]);
const add = () => {
const d = new Date();
setDates([...dates, d.toLocaleTimeString()]);
}
return (
<>
<button onClick={() => add()}>A... | fb195c118e677c345a8ba1485a55a239f502076d | [
"JavaScript",
"Text"
] | 26 | JavaScript | kalecaner/baboost-react-tutorial | f95e56794260c7932ca01d14864d715e88d7af29 | 46df46cc42348255261fe282b5c9d8d11ab96a66 |
refs/heads/master | <file_sep>const db = require('./db')
users = {
1000: { acno: 1000, username: "jio", password: "jio", balance: 5000, transaction: [] },
1001: { acno: 1001, username: "sam", password: "sam", balance: 4000, transaction: [] },
1002: { acno: 1002, username: "ram", password: "ram", balance: 6000, transaction: []... | 197ddd6c4b1e51997774fcb9e6ebebaf455b18c2 | [
"JavaScript"
] | 1 | JavaScript | dhanyapushkaran/BankAppServer | b06d6b0ee5e550fa15fde0c10adbe8659132cd4f | 8e6429884c1b05be0e5630ea20142a868839affc |
refs/heads/master | <file_sep>using System;
using System.IO;
using System.Collections.Generic;
using System.Text;
//сделать отсчет времени между ударами компьютера
namespace BattleShip
{
public enum Direction
{
Up,
Left,
None
}
class Program
{
const string FilePath = @"C:\Users\Valent... | b12376b2ab3d1e50728b91f15f479ec45a6f9ccc | [
"C#"
] | 3 | C# | Valentinchik/BottleShip | 4ef0f0b182b20e7b79be3df6fd8aa758c481dd64 | 152634ce7556ef5ed8c9e0cf2ab7abf403d68934 |
refs/heads/master | <file_sep># Parse Cloud Code
The cloud code for parse focusing on crawling the information of Tickleapp and its opponent daily.
# Install Parse
Run the following script in terminal.
```shell
$ curl -s https://www.parse.com/downloads/cloud_code/installer.sh | sudo /bin/bash
```
# Initialization
- Clone the repo.
- Re... | 42728fbcd3e628e600907cab1e2806512395b54c | [
"Markdown",
"JavaScript",
"Ruby"
] | 8 | Markdown | bblurock/Twitter-Tweets-Metric-Dashboard | b2b24853303dec9760d64dae062aed59270917bb | affe6881004e74aff06884474b2c4f7d88d9e023 |
refs/heads/master | <file_sep>import { Component, OnInit } from '@angular/core';
import { FormGroup, FormControl, Validators } from '@angular/forms';
import { LoginComponent } from '../login/login.component'
import { MainComponent } from '../main/main.component'
import { ModalregComponent } from '../modalreg/modalreg.component'
import { R... | 5ce7183608ebcf500a9b4de4e264fe7ab174de13 | [
"Markdown",
"TypeScript"
] | 7 | TypeScript | Oleh-KO/Task-Manager | 6864bddff0a59eeb4795b640ffe9f82ed2320708 | 574c68b4e867603a040cba056ac3888e69edab74 |
refs/heads/master | <file_sep>
// HOMEWORK CLASS 8 -
// TASK 1
// function testNumber(num){
// return new Promise((resolve, reject)=>{
// if (num === 10) {
// reject ("That is not a requered value")
// }
// setTimeout(() => {
// resolve ("Bingo!")
// }, 2000);
// })
// }
/... | c55c5b8d498950fab4ace4f5899f503e37cc3a3d | [
"JavaScript"
] | 2 | JavaScript | natepaneva/Homeworks-js | 401f0c5eb5595bfaccdcbefdf3a5dc558226152c | a5036499f4b7ac3eb6e6a33db7dd23e31d29e11f |
refs/heads/master | <repo_name>tomerGolany/ecg_pytorch<file_sep>/ecg_pytorch/gan_models/models/ode_gan.py
import torch.nn as nn
import torch.nn.functional as F
class DCGenerator(nn.Module):
def __init__(self):
super(DCGenerator, self).__init__()
ngf = 64
##
# Conv Transpose 1d:
# Input: (N, Ci... | ca0439a8863bc6da35019fb042b5d61076b3a4c3 | [
"Markdown",
"Python"
] | 48 | Python | tomerGolany/ecg_pytorch | c6e481149a45ab9c944eeb6b4fc940fbe5bb6dbb | 06bd7010cc5f1dc5ef8bf2cf9d767569fe38a004 |
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.Media;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Xml;
using WMPLib;
namespace MuzikCalar
{
public partial ... | f5f02d427f1b46d3eadf60867b1063aafceb3580 | [
"C#"
] | 1 | C# | devtgb/MuzikCalar | a55676d19d210e7bfd4bdd733b2868b868026bf6 | 97a77de874af6e2a5d5e507243ccabce811927d0 |
refs/heads/master | <repo_name>agentmishra/letsencrypt-cpanel-dnsonly<file_sep>/README.md
# letsencrypt-cpanel-dnsonly
[Please see the website](https://dnsonly.letsencrypt-for-cpanel.com).
<file_sep>/website/Makefile
.PHONY: all deploy
all: deploy
deploy:
aws --profile=fleetssl-site --region=ap-southeast-2 s3 cp index.html s3://dnsonl... | 385e9d19c599041a2ef17661ca52f15529d9eb3b | [
"Markdown",
"Makefile",
"Shell"
] | 6 | Markdown | agentmishra/letsencrypt-cpanel-dnsonly | 6b88aed24f3a66aa738fdbc4840aa286d7de3f6b | 8384c43de70a88fcf18b4bd3c501e8945139873b |
refs/heads/main | <file_sep>import Find from "./components/Find";
import "./styles/output.css"
function App() {
return (
<div className="App">
<Find />
</div>
);
}
export default App;
<file_sep>import React, { useState } from "react";
import axios from "axios";
function Find() {
const [persons, setPersons] = useSt... | 6a0f9e2f1bd50a8b7456f3e8c4d5f348ac27304e | [
"JavaScript"
] | 2 | JavaScript | Dmaul0906/findFriend | ff2ca4c1ca8c4c3e64dfac0bc395f7754ae041d3 | 1531026b8a20333220b26e5a129c6df30189b430 |
refs/heads/master | <repo_name>ColaStar/blogs<file_sep>/REARDME.md
## linux、mc启动项目
npm start
## windows启动项目
npm start:w
## 打包文件
npm run build
## 本地运行
npm run dev
<file_sep>/static.sh
cd static
npm start | e51116caaade7b95a6a7a5676d0ace1e8ef96938 | [
"Markdown",
"Shell"
] | 2 | Markdown | ColaStar/blogs | 28718e4e9c1efa17e7f71c32c2712cac5f65075d | 493f795914787ec7a9995ff76cdd001983555066 |
refs/heads/master | <repo_name>corbettbain/maven_ynjp_api<file_sep>/src/main/face/com/face/service/FaceVisa.java
package com.face.service;
import com.face.config.Constants;
import com.face.util.ToolUtils;
import com.jishi.entity.ReturnInfo;
import net.sf.json.JSONObject;
import org.apache.commons.codec.Charsets;
import org.apache.http.Ht... | c1faca293cec4e986b27892e0c54b0ae3c04d899 | [
"Java",
"INI"
] | 113 | Java | corbettbain/maven_ynjp_api | fc76468cafeed5bee2c7e2987db3212e9122fb1c | fa9dfc4234a73cbd52925bdb1fef2939eead3f0f |
refs/heads/main | <file_sep>package ejercicio01;
import java.util.InputMismatchException;
import java.util.Scanner;
public class APP {
public static void main(String[] args) {
AdivinaNumero a = new AdivinaNumero();
boolean fi = false;
int cnt = 0, num;
// Este bucle es el que contara los intentos que hemos necesitado i nos... | 67411c505ba819b5e379fda30ee39f270a93082b | [
"Markdown",
"Java"
] | 4 | Java | dimobo/UD10 | 4657e9afaecae7f8c85b4861c7a43a9fffaf17c2 | 8834502115dfbc83998af28f87bf215f30c8a2f6 |
refs/heads/master | <repo_name>fehimecapar/proje2<file_sep>/HastaneOtomasyonu/HastaneOtomasyonu/src/hastaneotomasyonu/HastaneOtomasyonu.java
package hastaneotomasyonu;
import java.util.ArrayList;
import java.util.Scanner;
public class HastaneOtomasyonu {
public static void main(String[] args) {
Doktorlar d=new Doktorlar... | 11135b947275e2d1842ae2e52afd6ecba937ef45 | [
"Java"
] | 2 | Java | fehimecapar/proje2 | b9d7680cdfa92402a0a47982659738601fb1d0a1 | 95f0a2543e2da522a40976eca16868ca62439189 |
refs/heads/master | <file_sep>#!/bin/bash
set -e
source /build/buildconfig
set -x
## Installing postgres
$minimal_apt_get_install postgresql-common
sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf
$minimal_apt_get_install postgresql-${POSTGRES_VERSION} postgresql-contrib-${POSTGRES_VERSION}
##... | 28d3d4f8595cff2a7171f4121f2301b85c6951e4 | [
"Dockerfile",
"Shell"
] | 3 | Shell | emanueleperuffo/docker-postgres | 537b93f420c55682586d51c21500549b81f2ac58 | a2a18f637a89a5af037dc32d970ca980c32903b9 |
refs/heads/master | <file_sep>package models
import (
_ "database/sql"
"log"
"github.com/golang-migrate/migrate"
_ "github.com/golang-migrate/migrate/database/postgres"
_ "github.com/golang-migrate/migrate/source/file"
"github.com/pkg/errors"
_ "github.com/lib/pq"
"github.com/jmoiron/sqlx"
)
// Client ...
type Client struct {... | 9e088232a29b60e6d66eb5f7b7c03d5f5f352e66 | [
"SQL",
"Go"
] | 19 | Go | melonmanchan/dippa-writer | 88ef2cdad360b0154c4ff04c102edd5c89746cfc | 14a9f4cc54b464e936d3b64df5d5583528cd30b6 |
refs/heads/master | <repo_name>webgilde/edd-advanced-discounts<file_sep>/README.md
# edd-advanced-discounts
Added more filters for discounts in Easy Digital Downloads
Included features:
* exclude a discount for lifetime products, needs Software Licensing add-on
* exclude specific price options (per ID), needs Software Licensing add-on
... | 4a329feb742ed10934ecf1b39c98b27d853edfae | [
"Markdown",
"PHP"
] | 2 | Markdown | webgilde/edd-advanced-discounts | 101a588e563858ce5578dbc5fc7246d78a1edea9 | 47f3a6cdcb0227cfd8c5d9516f37bbd93e3c2f46 |
refs/heads/master | <file_sep>from collections import Counter
import csv
f = open('assets/absentee11xx08xx2016.csv')
reader = csv.reader(f)
county_prec_desc = []
#http://stackoverflow.com/questions/16108526/count-how-many-lines-are-in-a-csv-python
num_of_votes = sum(1 for row in reader)
print(num_of_votes)
#combine county_desc and co... | 62727bf5d76e72720ca61a7ec3c5af01f6053a18 | [
"Markdown",
"Python"
] | 2 | Python | lindsaycarbonell/absentee-nc | d1226b7d7252746d56e25247300053a666437c0d | 301341cd784da02409870847df45fcc49a25c969 |
refs/heads/master | <repo_name>ssz/Database-CS585<file_sep>/HW2/HW2/ReadMe.txt
/*-------------------------------------Files:--------------------------------------------*/
Two createdb.sql (One is automatically created by exporting tables, and the other one is programed.)
dropdb.sql, HW2.java, mysql-connector-java-5.1.34-bin.jar, ReadMe.... | bcb52996b6b506fdb6bcf68514c01cfe727a297c | [
"Markdown",
"SQL",
"Java",
"Text"
] | 7 | Text | ssz/Database-CS585 | 9338221f32de87d6be7ca1bfca1a84f65a07eae3 | dfdaea5f1324df70e39e203ad33b5634e6290343 |
refs/heads/main | <file_sep># guess-game-v1.0 | b076af3316cc0b46df21118a466b3bc565fe3f9a | [
"Markdown"
] | 1 | Markdown | i-bm/guess-game-v1.0 | a9533f7ecde9829301f2749b9dd29650c87113ae | b95652fcb9f32782e56cce6de27c769bd92738c9 |
refs/heads/main | <repo_name>Deksters4788/SQL_HW<file_sep>/lessen-4/less_4.sql
/* Практическое задание #4. */
/* Задание # 3.
* Написать запрос для переименования названий типов медиа (колонка name в media_types)
* в осмысленные для полученного дампа с данными (например, в "фото", "видео", ...).
*/
-- Запрос на смену первого ти... | e67fbede0cef3c4364d45fbed39661892a6caf9b | [
"Markdown",
"SQL"
] | 3 | SQL | Deksters4788/SQL_HW | f4a023cf883c2c6e9322fe77eb903c07f50100cf | 1df40cac86edb8ea3084e88dbb7ac10cf3c4648f |
refs/heads/master | <file_sep>package com.codeup.springblog.models;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.ResponseBody;
import java.util.Random;
@Controller
p... | cfd75eba8dc2dec17ac264e71ea0f710676adb0c | [
"Java"
] | 2 | Java | brittanyrussell/springblog | d7c3a5869ea92d426b6832a038e8fd428b44c792 | 8cd889b54650ea0b81ba3d581447da947b76f381 |
refs/heads/master | <file_sep>
package org.exparity.expectamundo.core;
import java.util.List;
/**
* @author <NAME>
*/
public interface Prototyped<T> {
/**
* Return the collection of expectations relevant to this protype
*/
public List<PrototypeValueMatcher> getExpectations();
/**
* Return
*/
public Clas... | 7cd5c4e6e0480ec881cd54bf0b9c74821ebb9a4d | [
"Markdown",
"Java"
] | 31 | Java | eXparity/expectamundo | de22924a5d1483ec5c087d0db2b2b28e6f47dcfb | 828c6311cda5cb69384e1aa064a236f9a4b3da6c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.