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>posmatrach/tiny-agv<file_sep>/src/com/hexbugsrnr/tinyagv/SimpleAGV.java package com.hexbugsrnr.tinyagv; import java.util.concurrent.BlockingQueue; import java.util.Map; /** * Created by null on 9/06/16. */ public class SimpleAGV extends Thread { private final String id; private final BlockingQueue<Mes...
cf4f1a654a0b106d10cd71993c599401e04fb671
[ "Java" ]
1
Java
posmatrach/tiny-agv
53652afdc50295ae0c9cf051a4b8fdca62cd673a
4f6e08cb6a81c487740638e4e7e4516b6a21ae43
refs/heads/master
<repo_name>Nooruddin1993/june52020ClassWork<file_sep>/file1.js // for loop works by iterating a set of instructiins a certain specified number of times function a(){ sum = 0; for(i=0; i<10 ;i++) { console.log("Hello Happy Summer!!!" +i); sum += i; if (i==5) { break; }...
3d41cd10900a3c52b8966bf7bb3352f6bdaf9f74
[ "JavaScript" ]
1
JavaScript
Nooruddin1993/june52020ClassWork
ef2fb2a82c2f9ce33da861ade598301c2b2ccf9b
758ec33e99ad316047cc6967404d87ca9d2c2ef5
refs/heads/main
<file_sep>window.onload = ()=>{ getTopstories('home'); var colnav = myElement('div','mb-3'); var nav = myElement('nav','navbar navbar-expand-lg justify-content-between'); var a1 = myElement('button','btn btn-dark'); a1.setAttribute('style','font-weight:normal') a1.setAttribute('onclick',"getTopstories('home'...
4fe31f1b3f993fb3fee5ad976386e47ea8f8838f
[ "JavaScript" ]
1
JavaScript
chinna18/Newyork-times-api
70ad0af6018252b758303cd69c1ecbf38ac7d089
a687c49c1442110a535af17f1909b3230b09447e
refs/heads/master
<repo_name>nganhopro2010/Mock1<file_sep>/app/src/main/java/com/hovanngan/mock1/model/History.kt package com.hovanngan.mock1.model data class History (val phoneNumber: String, val totalTime: String, val dateCreated: String) <file_sep>/app/src/main/java/com/hovanngan/mock1/contact/ContactAdapter.kt package com.hovannga...
185824635604420bd9933c21fb0de54e1db20260
[ "Kotlin" ]
7
Kotlin
nganhopro2010/Mock1
b2b7ff7f4ac51cf2d5e789dd4dd6f262869f2cf6
17590b046fef262b3bf8e14b802e00c7c5385d22
refs/heads/master
<repo_name>dqdinh3464/an-lac-vien<file_sep>/app/Eloquent/Owner.php <?php namespace App\Eloquent; use Illuminate\Notifications\Notifiable; use Illuminate\Foundation\Auth\User as Authenticatable; class Owner extends Authenticatable { use FullTextSearch; /** * The attributes that are mass assignable. ...
9645ac9f2f16a00c550ec05bdad1cb5f9a8972d4
[ "PHP" ]
5
PHP
dqdinh3464/an-lac-vien
a72cc8593c82127f6c02cf795b958ba8116b59f0
ca1ab82d9e8da7ea0356b13bd95704575bc86a75
refs/heads/master
<repo_name>MajoPilande/axiedb<file_sep>/src/pages/Customers.jsx import React from 'react' import Table from '../components/table/Table' import scholarList from '../assets/JsonData/scholars-list.json' const customerTableHead = [ '', 'name', 'Ronin', 'Manager Share', 'Isko Share', 'Total Slp', ...
a8f588ff7e7fe3eb7625ad68919a577b2bc42257
[ "JavaScript" ]
1
JavaScript
MajoPilande/axiedb
3f5fa18b0b246bb3c7489456b1c8767564baffbe
4519ca87b42e3c7cfb363fec29df67fad5f301b4
refs/heads/master
<file_sep>// Instance method will be available to all instances but only load once in memory CustomLoader.prototype.publicMethod = function () { alert(this.publicVariable); }; // Static variable shared by all instances CustomLoader.current = null; function CustomLoader(dom) { this.progress = 0.0; this.m...
c2d9ceb4873049536e3115541e6e3801d2bb9198
[ "JavaScript" ]
2
JavaScript
tank555/tank555.github.io
4e9e1f23c6cc0434869b654dc2f1e37fd9a0d7c3
dee08ff9a0a0a119a5482a78c8138fa38adc761c
refs/heads/main
<file_sep>import tkinter import pyaudio import wave import threading import subprocess import os from tkinter import Grid import cv2 import PIL.Image, PIL.ImageTk import time import datetime counter = 0 running = False class AudioRecorder: # Audio class based on pyAudio and Wave def __init__(self): s...
6a6a5d0e111fd935cdd3aedb310c4f8580ea86e7
[ "Markdown", "Python" ]
5
Python
chrischang5/SFHACKS2021-Audience
533a1518c73910b39a81e0cf889ed63a2383fa34
3f55a4b64600cbd43ec5ae3e326696ef5705cdb5
refs/heads/master
<file_sep>$(document).ready(function(){ if(typeof localStorage.srvSubmit !== "undefined"){ $(".body-left-form-title").html(thankyouElement()); $(".input-section").hide(); } $("input[type='text']").on("change",function(){ var id = $(this).attr("id").toLowerCase(); var value...
1876fba311d23792acbfc7d4292f4b25ea9dc99d
[ "JavaScript" ]
2
JavaScript
dpritos/LIBERO
1e52f1edd1685edceb619854faed807cf56054dc
b020848ef90721f09a7a538892495c7f7050a967
refs/heads/master
<repo_name>AkashChauhanSoftEngi/SpringBootRestUniversityElectionSystem<file_sep>/src/main/java/com/example/entity/Person.java package com.example.entity; import javax.persistence.Entity; import javax.persistence.Id; @Entity public class Person { @Id String name; String post; public String getName() {...
aa736c3f1b4b06d8dd1bfc10ee35a6b6bfc15ace
[ "Markdown", "Java" ]
7
Java
AkashChauhanSoftEngi/SpringBootRestUniversityElectionSystem
85ab2faa0adc91438db15978edbd429eea0c78fe
019c6a61fb889482e3b330f0962f1f5a42d323de
refs/heads/master
<repo_name>rubcarmo/MyIonicProject<file_sep>/src/pages/aplicar-inspecao/aplicar-inspecao.module.ts import { NgModule } from '@angular/core'; import { IonicPageModule } from 'ionic-angular'; import { AplicarInspecaoPage } from './aplicar-inspecao'; @NgModule({ declarations: [ AplicarInspecaoPage, ], imports: ...
224b39100cebd0bc168c7e67d1fd7f5b26b0d59c
[ "TypeScript" ]
1
TypeScript
rubcarmo/MyIonicProject
cd79e0b0d4e7908e5113845a0874ab2611c489ba
35f54841357016c9a4142cb6e64ee1c2e912b3c3
refs/heads/master
<file_sep>using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using GummiBearKingdom.Models; using Microsoft.EntityFrameworkCore; // For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860...
d317b87457e24a16593da76ebb8a3055738562f6
[ "Markdown", "C#" ]
5
C#
Rouz1130/GummiBearKingdom
a41148008a18a3c9128cdc087f8d2d62555d51e7
102b42bf2a7a3bccea4115d02d183a95b70d88b3
refs/heads/main
<file_sep><form action="input-diri.php" method="POST"> <label for= "nis">Nomor Induk siswa <input type="number" name="nis" placeholder="Ex.12001142"/><br> <label for="nama">Nama Lengkap :</label> <input type="text" name="nama" placeholder="Ex. Firdaus "/><br> <label for="tanggal_lahir">Tanggal...
bf15e0b444a1a7103643363d9328b062f250a5ef
[ "PHP" ]
37
PHP
EpiHalimah/epiihaliimah
56c0afa8f199abe64d8d9296cd5d67b8f0aadee7
1fab2e63213710db2c529aaae377ff8c41c8c653
refs/heads/master
<file_sep><?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- Codon by <NAME> --> <project basedir="." default="build" name="codon"> <path id="classpath-main"> <pathelement location="bin/main" /> </path> <path id="classpath-test"> <pathelement location="lib/junit4.jar" /> ...
fc31835c34f72a5d73a17b0836a7d1d2954d4048
[ "Java", "Ant Build System" ]
38
Ant Build System
dnikulin/codon
13479a6806508f35563070e2ee08e41b3c5f1a82
6d96788f8f5100ef64b21a629928be543b9c8ab0
refs/heads/master
<file_sep>import { expect } from "chai"; import "mocha"; import * as moment from 'moment'; import * as uuid from 'uuid'; import { SeriesRepository } from "./series"; describe("SeriesRepository", () => { describe("getData", () => { it("should return data with greater timestamp", async () => { c...
1ed058fe5b8c2576f064c01cea5aa1d6a943d743
[ "TypeScript" ]
15
TypeScript
barend-erasmus/open-stats
513804993cc61b4187412b6feb640d86faa7c764
6267d5554259287d513c2d8485a74e79dbca0a8d
refs/heads/master
<repo_name>ardell/Chef<file_sep>/cookbooks/application/recipes/apache2.rb # # Cookbook Name:: application # Recipe:: default # # Copyright 2011, Tourbuzz LLC. # app = node.run_state[:current_app] include_recipe "apache2" <file_sep>/README.markdown # Basic Chef Setup ## Installation 1. Install Ruby (we recommend rv...
b6beab7219823912e749df94cb4b7e1917c9226a
[ "Markdown", "Ruby" ]
5
Ruby
ardell/Chef
da7239719847bd5a502f6a4ee092e70065e97a66
a6e390a175578e52707ea1242742190709d31a71
refs/heads/main
<repo_name>ByoungilYoun/AVFoundation_Tutorials<file_sep>/VideoRecordAndPlay/VideoRecordAndPlay/MainViewController.swift // // MainViewController.swift // VideoRecordAndPlay // // Created by 윤병일 on 2021/09/24. // import UIKit import SnapKit import AVKit import MobileCoreServices import AVFoundation import AVFAudio ...
013a24de2cb32ce1dabebbefa9499354256bb922
[ "Swift", "Markdown" ]
5
Swift
ByoungilYoun/AVFoundation_Tutorials
506fc968bdc766c243862f5d9d32db8869b99f64
dac7e354e29d5a045a1cc0a6e7c142b401c12f66
refs/heads/main
<file_sep>import { Component } from '@angular/core'; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.css'] }) export class AppComponent { title = 'angular-demo'; chaDeInputForm :string; logoInputForm :string; vInputForm :string; danhSachTraLoi :cau...
3c574a2f7cc8314308ebc5dda0f8b87917e0ec43
[ "TypeScript" ]
2
TypeScript
Hoann03/angular-demo
c21c5206b5f1b4798c9fe72cfdd06aea8f49ca4d
148fae37d22c9e04674b6ebb6ee3a66aa96dd03c
refs/heads/master
<file_sep>package com.daotec.demoapp; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.EditText; import android.widget.Toast; public class MainActivity extends AppCompatActivity { public void convert(View view)...
635a9be60fb75be884648e830e474ce749e49dc2
[ "Java" ]
1
Java
kingdayx/Currency-Converter
23c5668a49655c102fc9dc1ade658a1985430ac3
0f04e195f091ddcc5b2a0578779496a385f46d39
refs/heads/master
<file_sep>#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <pthread.h> void fun() { pthread_t tid = pthread_self(); char a[1024]; while(1) { } } int main() { int cnt = 0; while(1) { int ret; pthread_t tid; ret = pthread_create(&tid, NULL, (void *)&fun, NULL); if(ret == -1) { ...
07c7c1288d0544fea06b5a3f3a9d01e4fc57ec8a
[ "C" ]
6
C
gzq/network
ae8267e37cbe0eec0b2e4c828e90d619441f581c
14aa5ac4a40b56818e70816d4fd0d0c7ab67a3ca
refs/heads/master
<file_sep>using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using FriendshipFinder.Models; using System.IO; using FriendshipFinder.Models.ViewModel; namespace FriendshipFinder.Controllers { public class ProfileController : Controller { GerardJen...
ed8375bbc6459744e5c357c8c2626eecd331205d
[ "C#" ]
4
C#
ayeshaa/FriendshipFinder
43b1069e61f4a82c65439f3faa2a331e7e08702e
57e41f352f908b4cf2fc7cf36ddb8157831f3e5d
refs/heads/master
<repo_name>jinyphp/polyglot<file_sep>/test/index.php <?php require '../../../../vendor/autoload.php'; $msg = polyglot(); $msg->enableTrans("transkey.php"); $str = "오류가 발생하였습니다."; echo $msg->echo($str,"en"); <file_sep>/src/Trans.php <?php /* * This file is part of the jinyPHP package. * * (c) hojinlee <<EMAIL>> ...
7d74f8dbfc07dabe74fabf5d8e928fbde6ca36c0
[ "Markdown", "PHP" ]
7
PHP
jinyphp/polyglot
1bac7963065a509dc684b580d4ff60a33a98f4c6
4f5eb459138fd2e55f798a9f3545f68c48b2251b
refs/heads/main
<repo_name>jorgetrad99/tec-pagos-v1<file_sep>/views/home.php <?php include '../layouts/header.php'; ?> <!-- Main Site Section --> <main> <!-- Site Title --> <section class="site-title"> <div class="site-background"> <h3>Sistema de Pagos Electrónicos de Servicios Escolares</h3> <b...
b47a7fe26fad1d41a060b9207123f2e961cfb45a
[ "PHP" ]
3
PHP
jorgetrad99/tec-pagos-v1
047059d4532c469caf8c77087ec1aa90424e970c
b6d468fd8a8372877037f0ee64469026af36d9b8
refs/heads/master
<file_sep>import os import pyglet as pg """ screen_width = 1280 screen_height = 720 pg.init() screen = pg.display.set_mode((screen_width,screen_height)) BLACK = (0,0,0) """ def load_all_gfx(directory, colorkey=(255,0,255), accept=('.png', 'jpg', 'bmp')): graphics = {} for pic in os.listdir(dire...
18a5ab832cd5d363ed3978907d871570703e6692
[ "Python" ]
1
Python
forhad111/Mario_Game
e0180062045238ee59a707b48128b5d5c89f02c9
45210944510883e9afed49c17bf1c683ab1b7d53
refs/heads/main
<repo_name>kalbzero/react-azure-express-typeorm<file_sep>/server/src/routes/categories.router.ts /** * Required External Modules and Interfaces */ import express, { Request, Response } from "express"; import * as categoriesService from "../service/categories.service"; import { CategoryInterface, BaseCategory } from '...
05fc1711a760ac49b032154d43a54bf061faec4d
[ "Markdown", "TypeScript", "JavaScript" ]
39
TypeScript
kalbzero/react-azure-express-typeorm
eebef1373bce53309e1664d3ca24be0299f92eaa
76f0c6e0f8868d24784d92069466536eef2307f7
refs/heads/master
<file_sep>#include <iostream> #include <sstream> #include <string> using namespace std; class myObject { public: virtual ~myObject() { } virtual string GetString() const = 0; }; class Hello : virtual public myObject { public: virtual string GetHello() const = 0; }; class World : virtual public myObject { publ...
b386780e0a799b8a820e78beaefb0b601ba278e2
[ "Markdown", "C++" ]
2
C++
penny12/helloworld
b7b611a442524489c5fd0c8b63dd2feebf935daa
7e939a67bcdc47fe989bab4970cc44f7aefd6fde
refs/heads/master
<repo_name>bjackson13/iste-444-apm-tool<file_sep>/System/SystemPrinter.sh #! /bin/bash # ISTE-444 Project 1 # <NAME> # <NAME> # <NAME> # SystemPrinter - prints results sent by the System monitor to a csv file # Also controls timing and the loop for system monitoring # catch function - removes temp file remove_temp () ...
fe64cafccc97dae3c992bcbd2572939051cce486
[ "Markdown", "Shell" ]
6
Shell
bjackson13/iste-444-apm-tool
9c0f87171344e646c552f7c59a12282da181e17b
b3c53327117cfec342268e441b2c952ca3691216
refs/heads/master
<repo_name>ishancoder/car-rental-app<file_sep>/src/components/CarCard/CarCard.js import React from "react"; import "./CarCard.sass"; function getButtonText(isUnavailable, isSelected) { if (isUnavailable) return "Not Available"; if (isSelected) return "SELECTED"; return "SELECT"; } function...
baa6d34dbfdc26134a998dd031b86dc13b9b0639
[ "JavaScript", "Markdown" ]
7
JavaScript
ishancoder/car-rental-app
3f9bcfb13e1d0c55eb3ed9c9e2841951ba68f12b
cf0e56fff6a0e7d1feeed7d68db2946dc8ee6234
refs/heads/master
<repo_name>eleutherius/graylog-docker-compose<file_sep>/docker-compose.yml version: '2' networks: graylog.net: volumes: graylog.data.elastic: driver: "local" graylog.data.mongo: driver: "local" services: mongo: image: mongo:3 container_name: mongo hostname: mongo environment: - ...
81ca33c0fa831fc9e1c27306c0c0ed0a0077dd8a
[ "Markdown", "YAML", "Shell" ]
3
YAML
eleutherius/graylog-docker-compose
518fae037de96d489c714d894c723a6254822bfd
55f7d8a5d8a848a04b414edfd4bbb993bea63a2b
refs/heads/master
<repo_name>MustafaAli789/Connect4<file_sep>/scriptPvP.js //handles clicking canvas.addEventListener("click", (event)=>{ if(playAgain){ main(event); } }); function main(event){ let columnNum = getColumn(getMouseXCoorRelativeToCanvas(event)).column; if(isValidColumn(columnNum, gridMain).valid){ let rowNum = i...
ef82ee35cca6eec076dd110c6645907a12ae80cb
[ "JavaScript", "Markdown" ]
3
JavaScript
MustafaAli789/Connect4
7b14b86e396bb164bc93d6070574a20aeabbb4f4
c5780bf8a4104fd1698152cc1daba656afbbae3b
refs/heads/master
<repo_name>fautalan1/Grupo-A-022018-Auction-Front-End<file_sep>/src/containers/App.js import React, { Component } from 'react'; import '../App.css'; import { Route, Switch } from 'react-router-dom' import Header from '../components/Header'; import 'react-notifications/lib/notifications.css' import Login from './Login' ...
b6a8bb77e1f604f89745463ab0e741c7cd1e4662
[ "JavaScript" ]
1
JavaScript
fautalan1/Grupo-A-022018-Auction-Front-End
fa0ba0b605b23d1a1279974dae9374379b959635
79a4feaf8572b522a366d7a24bbb750e8b128a12
refs/heads/master
<file_sep>#include <stdio.h> #include <string.h> #include <stdlib.h> /* answer: 871198282 */ /* version: 1 */ void merge(char **ptr, int n1, int n2) { char **tmp; int i = 0; int j1 = 0; int j2 = 0; int j; tmp = malloc((n1 + n2) * sizeof(char *)); for (j = 0; j < n1 + n2; j++) { tmp[j] = malloc(20 * sizeof(...
9d0cdffd2165d02933e1eede5d3aeaa67153cc83
[ "Markdown", "C" ]
20
C
mahyarap/project-euler
1f52f2507705d65ea7f585c256376023daeb0298
60d7044dc5dd62cfbb94732a3949a955dbc85e29
refs/heads/master
<file_sep>#!/bin/sh VIMHOME=~/.dot_proj/vim warn() { echo "$1" >&2 } die() { warn "$1" exit 1 } git clone https://github.com/dotfile-projects/vim.git "$VIMHOME" cd "$VIMHOME" sh run.sh echo "Install complate!!!"
54afd0b5557f4cfd5f7896f254c806c08ddd37b1
[ "Shell" ]
1
Shell
dotfile-projects/vim
ceadfa04de0b50a34d7743eaa0aae39fe770776c
dc1a03b00a7dd0a49afe02cdaa86ef3a33eae844
refs/heads/main
<file_sep>// this will login <file_sep>import React from "react"; import { Navbar, Nav } from "react-bootstrap"; // import { BrowserRouter as Router, Link, Route } from "react-router-dom"; // import "./style.css"; function Header() { return ( <div> <Navbar bg="light" variant="light"> <Navbar.Brand ...
61743ca891c450b8a7e839d2f0a8e880874f1695
[ "JavaScript", "Markdown" ]
4
JavaScript
avnoto/NER-for-ESL
0b2454ccfbbceffdbecbb2bba4da3a13c32f7c56
9a70b63035a8972e451fa302c10463216ae121e3
refs/heads/main
<repo_name>Kneck12/covid-vaccination-flight-levels<file_sep>/.ipynb_checkpoints/file_consol-checkpoint.py { "cells": [ { "cell_type": "code", "execution_count": null, "id": "b95ac170", "metadata": {}, "outputs": [], "source": [ "import pandas as pd\n", "\n", "import os\n", "\n", ...
9a44ea41f0d00c13541419b63a21ebed8b7c494c
[ "Markdown", "Python" ]
2
Python
Kneck12/covid-vaccination-flight-levels
23409755588e6f21ed0fec09890718e584c8b649
4ca38bfbb0cfba504ae2bb6fceb20248e3201164
refs/heads/master
<repo_name>IgnacioArredondo/tfg<file_sep>/task.js const express = require('express'); const Task = require('../models/task'); const User = require('../models/user'); const Project= require('../models/project') const createError = require('http-errors'); const Verify = require('./verify'); let router = express.Router()...
026bc9217d8c4bd89055903095410cb486da86d5
[ "JavaScript", "TypeScript", "Markdown" ]
22
JavaScript
IgnacioArredondo/tfg
d4b1fb2c7e237c96dc72c447cedc5e3892d0956b
d154164d771a5f556c89405f96a65c6c5a8ee23c
refs/heads/master
<file_sep>package com.example.skybound.WebServices; import com.example.skybound.beanResponse.OrderSummary; import com.example.skybound.beanResponse.PlaceOrder; import com.example.skybound.beanResponse.ProductRes; import com.example.skybound.beanResponse.StaffSignInRes; import com.example.skybound.beanResponse.UserSign...
c5a1c6efe40b1b1975d19ebce5733dc09cab61f5
[ "Java" ]
5
Java
JacqulineMbogo/Skybound
5824b149f23e18c19473a88200b477f39b5eb175
61ec0893792ffd757d147f9901361079ba1c84d4
refs/heads/master
<file_sep># -*- coding: utf-8 -*- # Generated by Django 1.9.2 on 2016-02-10 21:22 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0004_auto_20160210_2120'), ] operations = [ migrations.Alte...
987d1b7e9094dc8ac7ae70a6290d4d9fe19ff8ec
[ "Python" ]
6
Python
ZhivotvorevNik/sendIcons
b3ebc6c4c87edca56bfd26788b77c6c8f6044fd3
ea09c010e86f4bc872aced4091915d311a33c22e
refs/heads/master
<file_sep>package com.blazemeter.csv; import java.io.BufferedReader; import java.io.IOException; import java.io.RandomAccessFile; import java.io.Reader; public class RandomBufferedReader extends BufferedReader { private final RandomAccessFile raf; private long markedPosition; public RandomBufferedReader...
a6b5127ec3744a7e97baeefc3aee18a17f9114fa
[ "Java" ]
2
Java
briantully/jmeter-bzm-plugins
ab443e455652222e4f2fc09124c10b6eb73878e5
79dc895108367408e33d48823b1b3e21b7980617
refs/heads/master
<repo_name>yuuyas222/RSpec_practice_basic<file_sep>/practice.rb # 基本的な記載 # describe => グループ化 RSpec.describe "四則演算" do it "1+1は2になること" do #it = exaple expect(1+1).to eq 2 #前はexpctではなく、should使ってたらしい end #複数いれることもできる it "全部できる" do expect(1+2).to eq 3 expect(2+2).to eq 4 ex...
6f6b72ed8ad464fd6f96b3e3abcc0696c66e466a
[ "Ruby" ]
1
Ruby
yuuyas222/RSpec_practice_basic
d6eb81ed05467afea3f6a483af6d8e325c433a7f
2a0a30e734cc2035eca72696f28a3c5bb0a42444
refs/heads/master
<file_sep># AnswerAssistant 百万英雄答题助手 ## 简介 最近比较火的百万英雄等直播答题软件助手,使用该软件可以实时查询百度,并通过算法推荐答案 ## 原理 1. 使用安卓截屏功能,截取指定区域屏幕内容 2. 使用开源OCR识别框架tessract对截图进行文字识别,提取问题与可选答案 3. 调用百度进行问题搜索 ## 注意事项 1. 由于要跨进程截取视频直播软件画面,使用悬浮框来进行触发,并且必须使用安卓屏幕录制功能,该功能只在安卓5.0以上系统支持。安卓5.0以下手机无法使用 2. 由于手机分辨率不一致,程序中设定截取指定区域的长宽可能要做一定修改。默认指定区域...
7ceec37b3acf56ff7d96f162278fc53db30d6cb7
[ "Markdown", "Java" ]
5
Markdown
zArche/AnswerAssistant
e81e6cd2fb43842676edc5926099328266c9b57f
0cff15f26523f27a71349d9ab43b3597cfdabb60
refs/heads/main
<file_sep>import styled from 'styled-components'; export const TextDescription = styled.p` font-size: 13px; text-align: justify; @media screen and (min-width: 768px) { font-size: 16px; } `; export const TextSubtitles = styled.h3` font-size: 13px; text-align: initial; @media screen and (min-width: 76...
749e64bf4d447941418fcccb5a52849d9f14fcd2
[ "JavaScript" ]
14
JavaScript
carosalazar28/Website-2021
c13c3a8b594f762970065479962a365406b10868
2aa44ad13eb38fbffcb1661e31e42fb086b2a7fd
refs/heads/master
<file_sep>import sys from collections import defaultdict import bpemb import re fname = sys.argv[1] #e.g., selectedUDT-v2.1/UD_English/dev or test or train lang = sys.argv[2] #English ##source language type ftype = sys.argv[3] #e.g., dev ## wich text context_N = int(sys.argv[4]) #N-char context try: nk_tokens ...
72228f38fbba220a5fac557e1b1735813a6caa62
[ "Python", "Shell" ]
8
Python
chuyi1787/diss-final
e95ffa2f352831acac2fac55a6ce52b5e685833f
b392ef411d5cbdcb08090415ec3659f5261addfc
refs/heads/master
<file_sep>package com.hbase.conn; import java.io.FileNotFoundException; import java.io.IOException; import java.sql.SQLException; import java.text.ParseException; import java.util.ArrayList; import java.util.List; import java.util.Map; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.Cell; ...
208252ec1dd7397be2d846a0fe5ed22bdd67d8c8
[ "JavaScript", "Java", "Markdown", "INI" ]
98
Java
FEFJay/TS
5d7925c01367aeb9eea13a0e86b95f261f9f7d6b
69ecf4b1f1ddbd853f7c1a74f1ea5647e0234e0e
refs/heads/master
<repo_name>vlasovmichael/javascript-password-generator<file_sep>/gulpfile.js 'use strict'; var gulp = require('gulp'), autoprefixer = require('autoprefixer'), nunjucksRender = require('gulp-nunjucks-render'), livereload = require('gulp-livereload'), connect = require('gulp-connect'), sass = require('gulp-sass')...
687c2cf1983ce568085dfd3bfaf7116483085bef
[ "JavaScript" ]
1
JavaScript
vlasovmichael/javascript-password-generator
3b3ef74556ba3bd3f8559dde660c6c657e220cb3
1ef16ba32f5fc17b471b11b8782d61f7e862e1c6
refs/heads/master
<file_sep>/** * Data Transfer Objects. */ package org.trytodo.newspaper.service.dto; <file_sep>/** * JPA domain objects. */ package org.trytodo.newspaper.domain; <file_sep>/** * Locale specific code. */ package org.trytodo.newspaper.config.locale;
b96fd355d81d79e935bf4089df5631d4623d72a0
[ "Java" ]
3
Java
babuwant2do/newspaper
7bbfd7991889fa02413c2a1f90e7652c643aac61
c84e30dfcbce596a3dbdaecda51f55b737f74629
refs/heads/main
<file_sep>## Input Genomic FASTA File inputFile = 'genomic.fna' # Input File Formatting (Removing of "\n" and headers) # Reference to (https://stackoverflow.com/questions/11968998/remove-lines-that-contain-certain-string) tempFile = 'tempGenomic.txt' removeChar = ['>'] with open(inputFile) as oldfile, open(tempFile, ...
71626e0095f78b40801c8f3644f3b1bad6a81871
[ "Python" ]
1
Python
Abhigyan14/Substring-Search-Algo
1a2a6eb1519d99f87a37ab84e6ce10cbcdee708c
4651e7a87da4bf79cd514b78ea7e521a3c25a877
refs/heads/master
<repo_name>yashtiwari22/Native-Dev<file_sep>/src/Header/Header.js import React from 'react'; import Moon from '../image/moon-fill.svg'; import Sun from '../image/brightness-high.svg'; import Native from '../image/Native-Developers.jpg' import $ from 'jquery'; import Section from '../Section/Section'; import './Header.c...
631c1f23f0b05520c43e45e8850ec96f2849dbea
[ "JavaScript" ]
1
JavaScript
yashtiwari22/Native-Dev
a77eca6f0473474980585f657cb3e43f5f62fa04
131ed0f613af333bf5d54245ec3865d096053de8
refs/heads/master
<repo_name>phoenixstar7/topcoder<file_sep>/atcoder/codefesta_2015/qa_d.cpp #include <iostream> #include <algorithm> #include <vector> using namespace std; int N, M; int X[100000]; bool possible(int t) { int right = 0; for (int i = 0; i < M; ++i) { int d = X[i] - (right + 1); if (d > t) { return false; } ...
df29c083387c6d2a6526a66c8b4fcd0f90bc4738
[ "C++" ]
7
C++
phoenixstar7/topcoder
c564fef4e1a9859b75dd81c9f8bb834c33b76bc2
d2e19a65b26586d5a8a6bbcf3f60f5f13b820322
refs/heads/master
<file_sep>package callbacks; /** * Interface definition: CallbackServer. * * @author OpenORB Compiler */ public class _CallbackServerStub extends org.omg.CORBA.portable.ObjectImpl implements CallbackServer { static final String[] _ids_list = { "IDL:callbacks/CallbackServer:1.0" }; ...
1162a25ceb43cf95ace242b8913a565d0b8be596
[ "Java", "INI" ]
28
Java
CamilleINGOUF/SystemesDistribues
9214976bed066adf3337eda1757a2140946c9886
b8d6002dbbfe1d56f5e8ce5e14c4eacb61641aee
refs/heads/master
<repo_name>malder85/-_-<file_sep>/classwork/chess.py class Piece: def __init__(self, color, place): self.color = color self.place = place self.moves = [] self.takes = [] self.target = "" def __repr__(self): return f"----------------\n" \ f"color: {...
5b6b770428fc0d86f165a153025c46bc6a94227c
[ "Python" ]
14
Python
malder85/-_-
9ecad4ee75f55055988ac9fe25deafb98d516d0f
646334731dd723ee78bb888a035be68616a2088f
refs/heads/master
<repo_name>Reji-Samuel/SalesForceDeveloper<file_sep>/force-app/main/default/aura/CarTile/CarTileController.js ({ onCarClick : function(component, event, helper) { var car=component.get("v.car"); var selectedCar=component.getEvent("onCarSelect"); selectedCar.setParams({"carId":car.Id}); select...
6148fb99eb0c6c80d590fc0a0f0908b479a133c8
[ "JavaScript" ]
11
JavaScript
Reji-Samuel/SalesForceDeveloper
6b0f51ff86bc82aa6d2ff0efec7a243eb67661ec
80be6a33bdcb27225ff911672b3b8fef9c31e739
refs/heads/master
<file_sep>import java.util.PriorityQueue; import java.util.Queue; import java.util.Scanner; public class Main { public static void main(String[] args) { String input = new Scanner(System.in).nextLine(); Queue<Integer> first = new PriorityQueue<>(); for (String elem : input.split(" ")) ...
1ea6d3591f752298e02cd43f7e56930833a6a964
[ "Java" ]
1
Java
marikhdkv/Drunkard
6d0e40ceb7bb03ffe97b361aa07774c82e90f62a
ce756749920a33eeb29205f117fcbc10f0ea7c95
refs/heads/master
<file_sep>package com.fanbo.kai.zhihu_funny.di.module; import android.content.Context; import android.support.v4.app.Fragment; import com.fanbo.kai.zhihu_funny.di.annotation.PerFragment; import dagger.Module; import dagger.Provides; /** * Created by Kai on 2017/1/20. * Email: <EMAIL> */ @Module public class Fra...
05cd79ebc7ec3b98b883d18fcc5c4468a34b2bfc
[ "Java", "Gradle" ]
17
Java
sherlockHK/zhihu_funny
908ccd2ccd7c8f60b68ab2f2528f7d1d88f21cb2
bd9f01ed4ad426e280fdfef86b6e3a6330b919ea
refs/heads/master
<repo_name>appcelerator-modules/ti.paint<file_sep>/ios/documentation/changelog.md # Change Log <pre> v1.4.1 Added support for touchstart, touchend, touchcancel, touchmove [MOD-2070] v1.4.0 Updated project with 64bit binary support [TIMOB-18092] v1.3 Rewrote rendering algorithm to allow for a number of enhancements:...
0ff99ae525a5ca8d3b6330a4b396398532cfb591
[ "Markdown", "Java", "CMake", "C++" ]
11
Markdown
appcelerator-modules/ti.paint
9e3f763baac51f94dcd7582f8782defae929fd4c
e1d726720a27d739ece110ac101141cbb3e38cd3
refs/heads/master
<file_sep>/* unit test for shuffle */ #include "asserttrue.h" #include "dominion.h" int main() { int numPlayers = 2; struct gameState state; int randomSeed = 1; int kingdomCards[10] = {adventurer, gardens, embargo, village, minion, mine, cutpurse, sea_hag, tribute, smithy}; initializeGame(numPlayers, kingdomCard...
47c74689e1a6601fa81e36d290355dc439d14dde
[ "C", "Makefile" ]
14
C
maxmoulds/CS362-004-U2017
f534795089ab6cf2c69984d6f00c95cd8c71e75b
d0d5caeda990c2bcd82fb01f409a35eb9edad228
refs/heads/master
<repo_name>richnaylorpdx/hangman<file_sep>/public/js/script.js angular.module('hangman', []) .controller('mainController', function($scope,$http,getUuid,checkWord) { getUuid.success(function(data) { $scope.getUuid = data; }); $scope.postLetter = function(data, getLetter) { console.log(getLetter.word); checkW...
acce9ab8646cdadce0a813cb27a4172a57b039cc
[ "JavaScript", "Markdown" ]
2
JavaScript
richnaylorpdx/hangman
59083fba84b37caa05347db72e910b0705eaf701
8bce598fff87db08ddeea7945df2f2f9262343c4
refs/heads/main
<file_sep>package br.com.instagram.integration.pagination; import com.fasterxml.jackson.annotation.JsonAlias; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Builder; import lombok.Value; import lombok.With; import java.util.List; import java.ut...
2e7e02c8fe1d861ed23f0ab89e041276ac3f100b
[ "Java", "Maven POM" ]
19
Java
davidDeltaSierra/instagram
f68da738713fe8af957dd84c85f505c3e9661e21
ba7fe3f801e902c30c975f37a66af252c7bcdeac
refs/heads/master
<repo_name>danbowles/mastering-d3<file_sep>/project2/postcss.config.js module.exports = { plugins: { 'postcss-cssnext': {}, 'postcss-import': {}, 'postcss-preset-env': { browsers: 'last 2 versions', }, 'postcss-custom-media': { preserve: true, importFrom: { customMedia: {...
579a4602c19294447b34f7a661a6031b5d696491
[ "JavaScript" ]
2
JavaScript
danbowles/mastering-d3
111e955ce0ffb7b2cf364e041da50f31b6eef8c4
2a2dfd1a3189fe17ffadfa452312265eb37218e4
refs/heads/master
<repo_name>M4411K4/Sitting<file_sep>/src/SittingListener.java /* * Minecraft Sitting Mod * Copyright (C) 2011 M4411K4 * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 ...
ca1c5b2d68bf1884d7c30186910239199929f0cc
[ "Java" ]
1
Java
M4411K4/Sitting
89338f207c832f08b71fd63ea2737d7d5307c8b9
8ce3ae612134cd0fb132a5d183d9b453392756fe
refs/heads/master
<repo_name>samitkumarpatel/jhipster-empmgmt<file_sep>/src/main/java/com/tutorial/web/filter/package-info.java /** * Servlet filters. */ package com.tutorial.web.filter; <file_sep>/README.md README for empMgmt ========================== <file_sep>/src/main/java/com/tutorial/config/locale/package-info.java /** * Local...
45edcea49e4d2214a148ee97e09748a889ff2a78
[ "Markdown", "Java" ]
3
Java
samitkumarpatel/jhipster-empmgmt
08b27f5d465955d685f6bb4446505e5bfa2dd16f
7254553ce0ede5b408a327acf6007020606b77c7
refs/heads/master
<file_sep># Weather/Events/History API reflector for a demo app This is mostly an API reflector for my demo app within my portfolio site. This was created with the Express starter so it contains some default stuff. Also, I set this up for a demo to only point to Seattle. Could have accepted a zip code or lat/long, but...
cb2f7bbdbc88d43b34da4d84db56be83ede512a7
[ "Markdown", "JavaScript" ]
2
Markdown
ryuheiyokokawa/portfolio-api
304291fdb52dd6b033399893df8c6da5556c49ee
37677926795b9e1cd6a142e6b695f5efadb2ca41
refs/heads/master
<repo_name>Jibbedi/threet-functions<file_sep>/functions/src/games/pre-match-info.ts const EloRating = require('elo-rating'); export function preMatchInfo(data) { const expectedWinFirstPlayer = Math.round(EloRating.expected(data.firstPlayerEloRank, data.secondPlayerEloRank) * 100); const firstPlayerWin = EloRa...
054b03b574846ab1927cac95546238efb04a118b
[ "TypeScript" ]
25
TypeScript
Jibbedi/threet-functions
4e55fa4b1ba0eb5ad5e8b84cc9b900240c038884
9133a5bf2b860ffc80ff3f957588c772f82552c2
refs/heads/master
<repo_name>JoeDravarol/connect_four<file_sep>/lib/board.rb class Board attr_accessor :square, :current_drop_position def initialize @square = [] @current_drop_position = nil # Create multi-dimensional array for columns and rows # Outer array is columns and sub array is rows 7.times { square << ...
8e9ed7d9db5fd229e31a328fd8a0555397b5118e
[ "Markdown", "Ruby" ]
9
Ruby
JoeDravarol/connect_four
3ca2bd62f257d3a0d266bf1c0ff4d789ce7e2c8d
6f84e97b4449f613695b81890c1260ddc4d4e54a
refs/heads/master
<repo_name>fr2023/4bash-shell-scripting<file_sep>/47_pass-arguments-to-a-bash-script.sh #! /bin/bash # $* Returns a single string (``$1, $2 ... $n'') # comprising all of the positional parameters # separated by the internal field separator character #(defined by the IFS environment variable). # $0 Refers to the name...
d8f0729d331ba181de75fe739eee88812792d22e
[ "Markdown", "Shell" ]
24
Shell
fr2023/4bash-shell-scripting
8a14ffc6645c403119cd0de3896a6531ac43331b
6a4967d76aeaad9eccff834de81cc919320f3fcc
refs/heads/master
<repo_name>aiurmaple/RecruitAnalyze<file_sep>/datadisplay/src/main/java/indi/aiurmaple/recruitanalyze/datadisplay/model/ExceptionModel.java package indi.aiurmaple.recruitanalyze.datadisplay.model; import lombok.Data; @Data public class ExceptionModel { private String path; private String errorMsg; ...
ed487d8f01d0bb82517cd41e65deb76a88f63b2f
[ "SQL", "Markdown", "JavaScript", "Java", "Python" ]
42
Java
aiurmaple/RecruitAnalyze
762a95bd83eb7d4e429f73f9a24f19f8ffe3ad0a
5510e04e15c0cdfe07dd27ccfc1af43c2993b8f6
refs/heads/master
<file_sep>from selenium import webdriver from selenium.webdriver.common.action_chains import ActionChains driver = webdriver.Chrome() driver.get('https://orteil.dashnet.org/cookieclicker/') driver.implicitly_wait(5) cookie = driver.find_element_by_id('bigCookie') cookie_count = driver.find_element_by_id('cookies') i...
670d61985c12b364b20c7a8c5c5bd82380246af6
[ "Python" ]
1
Python
mihaihe1/cookie
1a9fe836230577764a2552c486e18519a295f6ad
abfd716287e355e8794cadd03afd446d4db7754b
refs/heads/master
<file_sep>class Manager: def __init__(self, man_id: int, man_name: str, man_user: str, man_pass: str): self.man_id = man_id self.man_name = man_name self.man_user = man_user self.man_pass = man_pass def as_json_dict(self): return{ "managerId": self.man_id, ...
b7ae3b698c5ea7a6e7238b788925872952082faa
[ "Markdown", "Python" ]
13
Python
mrussell481/reimProject
eefc4b1dd7829f1fde8cc252eab4b0b702baede0
db1e9775f7fd01be101cb41662bb1e728dadb128
refs/heads/master
<repo_name>simphony/simphony-espresso-dft<file_sep>/examples/charge_density_xyz.cpp #include <iostream> #include <fstream> #include <string> #include <vector> #include <cmath> #include <cstdlib> #include <cstdarg> #include <sstream> #include <cctype> using namespace std; // ---------------------------- // // Function...
778bcc07105a0a0fb6737c11e67119ad9534c01c
[ "Markdown", "Python", "C++" ]
3
C++
simphony/simphony-espresso-dft
c82eaa4c0f31b02e2f074a9fbc4ed2db582e41e1
190b7bb7d9447f5bf4b702584862570c416b2292
refs/heads/master
<file_sep>from tkinter import Tk from tkinter.filedialog import askopenfilename Tk().withdraw() # we don't want a full GUI, so keep the root window from appearing filename = askopenfilename() # show an "Open" dialog box and return the path to the selected file print(filename) def alb_collab_to_pdf(filename): ...
d8ffa0065c3c57b299d4eacfd7feb857463f36b1
[ "Python" ]
1
Python
albertoisorna/UDE
c69cf6ad488cfc33f9f18330cdf542a996167b22
5fb96f8183bd695584edcb2bee80da49b40e3941
refs/heads/master
<file_sep>'use strict' var chai = require('chai') chai.use(require('chai-shallow-deep-equal')) chai.use(require('chai-as-promised')); chai.use(require('chai-json-equal')); chai.config.includeStack = true global.expect = chai.expect global.AssertionError = chai.AssertionError global.Assertion = chai.Assertion global.a...
05e1ac00feb4917ec2a60cb27ca5ab2e79d665fd
[ "JavaScript", "Markdown", "Shell" ]
10
JavaScript
landrysoules/bus-stop-service
0ef6c08cad78ed34ba4eb34da4278916b723a2fa
08ac37972539ef99316f2b989b048efcae0a0be3
refs/heads/master
<repo_name>yzhang1-chwy/test_git<file_sep>/hello_git_test.py print("hello world") for i in range(10): print(i) i = 0 j = 1 print(i,j)
692f7e6c58b078db52e5beb8e9a01417a6f9d8bd
[ "Python" ]
1
Python
yzhang1-chwy/test_git
cf77947765ede3b3c1d59a4da8bb4731ff5002f7
a1b1e06ff9b0f7d355ebcdbafcf5620fb0855894
refs/heads/master
<file_sep>#include <iostream> #include <stdio.h> class weather_msg { public: int message_code; enum query_type{ GET_BY_CITY_ID=1, GET_BY_LON_LAT, GET_BY_CITY_NAME, GET_BY_ZIP_CODE }; int city_id; float lon; float lat; std::string city_name; char zip_code[10]; int getCurrentTemp(int city_id, ...
93c764fb0c664e7aca953d12ff88c8ea23401f6b
[ "Makefile", "C++" ]
6
C++
ambikaican/curl_zmq_exercise
7f958f13ec1a058a34735d34d32c4b2b65029ac2
ca3c829a5e85e4bac289934fd90ec7789c156384
refs/heads/master
<repo_name>DaveSpeak/Week-7-Rock-Paper-Scissors<file_sep>/assets/javascript/hw.js var config = { apiKey: "<KEY>", authDomain: "daves-first-firebase.firebaseapp.com", databaseURL: "https://daves-first-firebase.firebaseio.com", storageBucket: "daves-first-firebase.appspot.com", }; firebase.initialize...
a3297dffce20cec82ae2123d1c218d29e613feb0
[ "JavaScript" ]
1
JavaScript
DaveSpeak/Week-7-Rock-Paper-Scissors
eb1fad12d4a41942c516da5ba1d7a466d7eeb045
bbc1649f2e0234cfde555a26c08eac67fce97368
refs/heads/master
<repo_name>filipdomachowski/maxterm<file_sep>/controllers/api/power-consumption.js var RoomPowerConsumption = require('../../models/controlPanel/room-power-consumption') var router = require('express').Router() //obiekt router używany jako warstwa pośrednicząca aplikacji // var panel = express() // panel.use(bodyParse...
5050dc7d537e92df383b1f3b6aa163b30505ad72
[ "JavaScript", "Markdown" ]
19
JavaScript
filipdomachowski/maxterm
b2006cd80ba38d65a27eaba08a622bff21bb14d5
644d8f911797d3c99f9a429453c9ba91c984e4c2
refs/heads/master
<repo_name>mhujer/zfclasses<file_sep>/Mhujer/View/Helper/Email.php <?php /** * Martin Hujer's Components * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * If you did not receive a copy of the license and are unable to * obtain it th...
fc5f4f9e1af60af61cc2cb3eea647828b01140b0
[ "Markdown", "PHP" ]
8
PHP
mhujer/zfclasses
dd2887e11e6b3de554ab0c4754113495f0bb2e4f
5985edbc5b6283cc78eeff918cba848472e6f859
refs/heads/main
<repo_name>RAKESH1012A/CNN_CAT_DOG_APP<file_sep>/requirements.txt Flask==1.1.2 gunicorn==20.0.4 h5py==2.8.0 Jinja2==2.11.3 Keras==2.2.2 Keras-Applications==1.0.4 Keras-Preprocessing==1.0.2 matplotlib==2.2.3 numpy==1.15.1 python-dateutil==2.8.1 scikit-learn==0.19.1 scipy==1.1.0 tensorboard==1.10.0 tensorflow==1.10.0 Wer...
2ecdb91a125204f4842ec9747f832851a577a32c
[ "Python", "Text" ]
2
Text
RAKESH1012A/CNN_CAT_DOG_APP
ccd662e6c0a8f91d3d9f54775e5ab9b8fe5c5edb
c86e6b9407bf2cf16d40373b6ab4b36820c69bde
refs/heads/master
<file_sep>from flask import Flask, redirect, make_response, request, Response, abort, render_template import random import requests import datetime import logging app = Flask(__name__) logging.basicConfig(level=logging.INFO) CHUNK_SIZE = 1024 LOG = logging.getLogger("main.py") base_url = "http://10.80.1.69:81/" @app...
ee2744112fb059e55950284a857d753e55bc7bbf
[ "Markdown", "Python" ]
2
Python
GiantRobots/docker-flask
d019c78a476629383430b1720361bab09d140131
5a07eb097c734ad4aee675a7f7327bb1dbe6fed0
refs/heads/master
<file_sep>[tox] envlist = py27, py35, py36, py37, qa [testenv] extras = testing deps = # for testing the typing module py27: typing # numpydoc for typing scipy stack numpydoc # sphinx, a dependency of numpydoc, dropped Python 2 support in version 2.0 sphinx < 2.0 cov: coverage # Overwrite the parso vers...
ea1737bb9885db1809563a68f0616228f74e5ad4
[ "Python", "Text", "INI" ]
7
INI
haoqixu/jedi
ea93dbc08eac0a1b8c39e15c554c0b0c4ce65591
5f00ac03ffa480c02538072dbefae0027c547000
refs/heads/main
<file_sep>package ru.levkopo.qrreader import android.content.Context import android.graphics.drawable.ColorDrawable import android.util.DisplayMetrics import android.view.ContextThemeWrapper import android.view.View import android.view.ViewGroup import android.widget.FrameLayout import android.widget.LinearLayout impo...
08aca7fe9518d37eb1493efdaebfeafd98582958
[ "Kotlin" ]
3
Kotlin
levkopo/QRReader
59adb80bc10ab006aec9dd9bdd836badeae03844
7beece23ed96c42fb5bad76a6b9bc8060671502b
refs/heads/master
<file_sep>package com.cesgroup.imp.wotalk.factory; import com.cesgroup.common.listener.SystemInitListener; import org.apache.commons.dbutils.QueryRunner; import org.apache.tomcat.jdbc.pool.DataSource; public abstract class QueryRunnerFactory { private static QueryRunner qr ; public static QueryRunner createQuery...
7c0eeb8d256681054824d3411d73b0a1c02cd25e
[ "Markdown", "Java" ]
11
Java
KannShunn/auth_frame
8dee844ef0087524fba66ff926d2d8971c89a04d
6806f81ea11a8accb239b2c9ace7e54e1898482b
refs/heads/main
<file_sep>#!/usr/bin/env python # coding: utf-8 # In[106]: import numpy as np import pandas as pd from math import sqrt from sklearn.metrics import mean_squared_error from sklearn.metrics import pairwise_distances from sklearn.neighbors import NearestNeighbors # In[107]: transaction = pd.read_csv("Transactions.c...
06b4c3b0e9fe942dad5fb4f6f9e1e8f717ca6a40
[ "Python" ]
1
Python
ShamenParis/Python
f0f5919f2bc54145724db3fc8cc7261bc6233cce
8ee461dba6390c53b7d09f9cff4bb930df566b41
refs/heads/master
<repo_name>lonelydatum/game-dental<file_sep>/app/Create.js import Cup from './cup/Cup.js' export default function () { new Cup() }<file_sep>/app/cup/ShuffleButton.js //custom object that dispatch a `started` signal class ShuffleButton extends Phaser.Group { constructor() { super(game, game.world, 'ShuffleButto...
88ac8f50d40e7f53d709640bcd7bbd02157f74d7
[ "JavaScript" ]
6
JavaScript
lonelydatum/game-dental
6b8014fdc32f250d55c64eff9da214d913da1cc7
1b7526e1418b97825aa2c4eb3ded4c50b1a093e5
refs/heads/master
<file_sep>import java.io.IOException; import java.net.ServerSocket; import java.net.Socket; import java.util.Arrays; import java.util.List; import java.util.logging.FileHandler; import java.util.logging.Level; import java.util.logging.Logger; import java.util.logging.SimpleFormatter; public class Server { ...
a859c6941759096cdc702b14d7e528125426a822
[ "Markdown", "Java", "Shell" ]
9
Java
ericaddison/Distributed_Systems
d5c08a7e9225c22159e3a0a4e7e69f7bf9bc9ae2
df992bbbb6e5a04f3dbe1777e31c640d8eb6cab6
refs/heads/master
<file_sep>package com.postnov.pivot.controller; import com.postnov.pivot.entity.SourceDataSQLException; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.ControllerAdvice; import org.springframework.web.bind.annotation.ExceptionHa...
ca2635a11b6ab8312def7add2ad4732f0f859fba
[ "Markdown", "Java", "INI" ]
7
Java
AnatoliyPostnov/PivotTable
e68e19c0e1671aeb80bf0b96340e274e03de4d85
0a45ae1044d11b3f232e2b1030b8937128786f14
refs/heads/master
<repo_name>DTMichael/ActiveMQ<file_sep>/src/main/java/com/atguigu/CunsumeTest.java package com.atguigu; import org.apache.activemq.ActiveMQConnectionFactory; import org.junit.jupiter.api.Test; import javax.jms.*; import javax.management.Query; import javax.xml.soap.Text; import java.io.IOException; public class Cun...
ae25e24344b166d8771d241f2920d675e99c90e4
[ "Java" ]
2
Java
DTMichael/ActiveMQ
2c3692a4a41c445e236ed4a14213b7c16a2d4144
20ffebd62034c5131e1008a612620b270d8aa31b
refs/heads/master
<repo_name>sirjaden92/d912pxy<file_sep>/d912pxy/d912pxy_vfs.cpp /* MIT License Copyright(c) 2018-2019 megai2 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 ...
91899d7f995d9fe334d48c61fbc367ec4d2a247b
[ "C++" ]
2
C++
sirjaden92/d912pxy
fa7aa506f57acf1c09a63b23d6ae9c211df6da92
fa0e0a5fd7a40c3077af2303d468d1e9473bd047
refs/heads/main
<file_sep>#include <SoftwareSerial.h> #include "SIM800L.h" #include "HX711.h" #define LOADCELL_DOUT_PIN 3 #define LOADCELL_SCK_PIN 2 #define calibration_factor -7050.0 //This value is obtained using the SparkFun_HX711_Calibration sketch #define SIM800_RX_PIN 10 #define SIM800_TX_PIN 11 #define SIM800_RST_PIN 6 co...
15cfa7fa8466f1a66200965364ce1a26e884e1e5
[ "C++" ]
3
C++
esirK/gums
a12db2190895f4a2850869dcb60cd6277eda594a
8915d4c0e4f581702d618c126ff7120096e38f09
refs/heads/master
<file_sep>package amazons; import org.junit.Test; import static amazons.Piece.*; import static org.junit.Assert.*; import java.util.ArrayList; import java.util.Iterator; import static amazons.Board.*; /** Tests of the Board class. * @author <NAME>. */ public class BoardTest { private Board b; @Test ...
3cc20f955e48e8254cae73c6f0e7ba504e07d82d
[ "Java" ]
1
Java
zxie1/Amazons
70984251effa4c63eaf6a0bff4c286eba9939ede
b6927ecf1b428bd23fbf0c141a692bba683e1a02
refs/heads/master
<repo_name>vidyamani/dotfiles<file_sep>/.profile alias pgstart='pg_ctl -D /usr/local/var/postgres -l /tmp/pg.log start' alias pgstop='pg_ctl -D /usr/local/var/postgres -l /tmp/pg.log stop' alias grep='grep --color' alias ip='ifconfig | grep "inet 10" | cut -f 2 -d " "' # Mingle alias mingle='cd ~/projects/tw/mingle' ...
b838f220de51374b570c37c345cce14043e97f95
[ "Shell" ]
1
Shell
vidyamani/dotfiles
8fac7def5737dedeb2ac9dd2df0a76c65c7f44ad
a3f58706f4f966f1254205fe3967bbb6c8e658c2
refs/heads/master
<file_sep>buildscript { ext { springBootVersion = '1.4.3.RELEASE' } repositories { mavenCentral() } dependencies { classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}") } } apply plugin: 'java' apply plugin: 'idea' apply plugin: 'org.springframework.boot' processResources.d...
b972299d474f04470c5824f5e185f7f9e3be5b01
[ "Markdown", "Java", "Gradle" ]
3
Gradle
disc99/spring-boot-doma-template
30cb118b837c512b1fd707d36b076966dc026a62
2b87f8d2be84d09fbe8ccf39d3496f75d101678a
refs/heads/master
<file_sep># All the aliases a sysadmin could want. # Ever accidently remove something very important with rm? Let's fix that. Also, no -rf required for folders! rm () { mv $1 /tmp/Trash; } alias emptytrash="/bin/rm -rf /tmp/Trash/*" # Apt stuff alias install="apt-get -y install " alias update="apt-get -y -q update" a...
1086549cbaa4accb768b78cae880faaa03658acc
[ "Python", "Shell" ]
11
Shell
ruscon/Sysadmin-scripts
8c6b47590b49bf1918d2422c62c1eac95581b94a
0bb971bd7a12e9dcf8deebc822317223918f54a8
refs/heads/master
<repo_name>zzleomar/sigedocsoldBeta<file_sep>/app/RutasP.php <?php namespace App; use Illuminate\Database\Eloquent\Model; class RutasP extends Model { protected $table = 'rutasp'; protected $primaryKey='id_ruta_p'; protected $fillable=['id_estado','id_preparaduria','id_dependencia','id_user','fecha']; }...
23e2042412369a5067c0a5e03b573692b147d734
[ "JavaScript", "SQL", "PHP" ]
116
PHP
zzleomar/sigedocsoldBeta
961c87c45eef7b1952d7bdfca457c568f7f5e4e1
119921c122c33f989e752d8ddeb7edaef705da18
refs/heads/main
<repo_name>kvnloughead/news-explorer-api<file_sep>/routes/auth.js const router = require('express').Router(); const { createUser, authorizeUser, } = require('../controllers/auth'); const { validateCreateUser, validateAuthorizeUser, } = require('../middleware/validate'); router.post('/signup', validateCreateUser,...
2bc24b739ec6e2c7986aea12eb9a183d1e392d96
[ "JavaScript", "Markdown" ]
9
JavaScript
kvnloughead/news-explorer-api
1bb4f54898119b75952f195f1b3d604ac5cb9d87
3374970f6b3e7545e0b079fec3a5507fb28cdda0
refs/heads/master
<file_sep>package org.kkamnyang.persistence; import java.util.List; import org.kkamnyang.domain.EventVO; import org.springframework.stereotype.Repository; @Repository public class EventMapperImpl extends AbstractCRUDMapper<EventVO,Integer> implements EventMapper { @Override public List<EventVO> elist(I...
38751c588e2b86961edaded7bf83caa8d851aad8
[ "Java" ]
4
Java
didhddldlq/myArchistory
b3e9c1d3bffcc01581b2912ed61c379edeef63a3
2d5ddb467a0203e81079410a76edbfcfb6e287a4
refs/heads/master
<repo_name>nanjiye123/test-one<file_sep>/README.md # test-one test github <file_sep>/hello_github.c #include <stdio.h> int main(void) { printf("hello_github\n"); return 0; }
d02810f51ac233fda9a4cfee92284da7f18a31f7
[ "Markdown", "C" ]
2
Markdown
nanjiye123/test-one
f6a1735468be2f3268d6c3da6ab8542959576d2f
49360968514d1d3d0bc56e7fc9e8bdf3c3593989
refs/heads/main
<file_sep># Generated by Django 3.2.5 on 2021-07-26 20:34 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('clinic_app', '0001_initial'), ] operations = [ migrations.CreateModel( name='Patient', fields=[ ...
0376d0d6af2b5c31da7a0713909a12401070b3b9
[ "Markdown", "Python" ]
16
Python
ngetichnicholas/Meds
2dd2b649ea216f76b2d316dac0591a01d2c836bf
667cf73cdb8f51e3608e79c421466535f9d99f35
refs/heads/master
<file_sep><?php namespace Bokbasen\Auth; use Psr\Cache\CacheItemPoolInterface; use Psr\Log\LoggerInterface; use Http\Client\HttpClient; use Bokbasen\Auth\Exceptions\BokbasenAuthException; /** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLU...
09a8f9c7d1691adba5f087bf4dab29f768e26d35
[ "Markdown", "PHP", "INI" ]
8
PHP
Bokbasen/php-sdk-auth
bade138e07844e0b1479665bd3537b4fd8289d85
d9c940b4850e15e15861bca36988fd4b4728d538
refs/heads/master
<file_sep># A simple test of importing the lightcurve. # ...that then became the main class of EVERYTHING import tkFileDialog import time as tardis import numpy as np import matplotlib.pyplot as plt import csv from matplotlib.widgets import Button from matplotlib.widgets import Cursor from matplotlib.widgets import Rec...
b384e44fee640fd71169bf88766ca028ad842fc6
[ "Python" ]
1
Python
Chessler/TransitViewer
c74d2557bf2316db49562da94894b3ec123b7e42
eef4986043f5dc23fcda2cdc3ebaa4c2956a8ea5
refs/heads/master
<file_sep>#include<stdio.h> #include<stdlib.h> struct node { int data; struct node*link; }; struct node*front; struct node*rear; struct node*temp; void enqueue (int data) { struct node*newnode=(struct node*)malloc(sizeof(struct node)); newnode->data=data; newnode->link=NULL; if(front==NULL || rear==NULL) { fro...
e1e39cf6b2aa8856633ab2cc7106f4cd155f000e
[ "C" ]
14
C
scarphase45/CSE-S3-LAB
ba7ff9c1449464fe1b1c8a8183f23e762f796366
ea17cbb09f4dfa7c60a958eaa48ce283cf75637c