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>InfiniteSkipper55/School-Parent-Communication-Application<file_sep>/src/main/java/com/cg/spc/service/IDiaryNotesServiceImplementation.java
package com.cg.spc.service;
import java.util.Collections;
import java.util.Comparator;
import java.util.Date;
import java.util.List;
import java.util.Optional;
import o... | 60606a5d5ba44dfa1c830f2c55a63dd059d0f8a6 | [
"Java",
"Dockerfile",
"INI"
] | 24 | Java | InfiniteSkipper55/School-Parent-Communication-Application | b19e40ebc00336653837b0cb93e2e5e903a848c5 | c2a042771bf54e589dd3a4e602c27138fb4e8222 |
refs/heads/master | <file_sep>/*
==============================================================================
DelayLine.cpp
Created: 19 Feb 2018 4:40:29pm
Author: <NAME>
==============================================================================
*/
#include "../JuceLibraryCode/JuceHeader.h"
class Dela... | b1cbfd354b243dd2e99e46276d877980fa40d7f1 | [
"Markdown",
"C",
"C++"
] | 17 | C++ | 1V-Oct/PMSS-SMC18 | 7aaaaff5ae7af4bfe82625719a28d99b3ffe19bc | 6e352ce5090a88492f4f1fd0ed35d41a94718a05 |
refs/heads/master | <repo_name>ricksterhd123/skywarriors-web<file_sep>/public/javascripts/list.js
/**
* Create a list of players from player info object
*/
function clearPlayerList(){
var div = document.getElementById('playerList');
if (div) { document.body.removeChild(div); }
}
function createPlayerList(playerInfo){
clea... | 18140f36a6d7f2b85e02a5de60daf78ad2c58c98 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | ricksterhd123/skywarriors-web | 56be11f2c614efd2cd27fb21120f4f222e6ff9d8 | da97a49275d99601390622650d20859b73b2f9a9 |
refs/heads/master | <repo_name>chenguang281/LearnModel<file_sep>/routeConfig.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from Sys.controller.sys_menu_controller import route_sys_menu
from templates import app
from flask import make_response
"""
蓝图配置
"""
"""
sys模块路由
"""
app.register_blueprint(route_sys_menu, url_prefix="/") # 注入sys... | 4826d6e970066d5270f8b903b6a2ae2769013875 | [
"Python"
] | 4 | Python | chenguang281/LearnModel | 1be25ab8a3759cf0a0c87d9ebcdad7c8b28e6802 | ddc15d7125ce06f8a8b2e04ce49e0581c28d8554 |
refs/heads/master | <repo_name>rlimaeco/orka<file_sep>/orka/app/__init__.py
#coding: utf-8
import logging
from flask import Flask
from flask.ext.appbuilder import SQLA, AppBuilder
from index import IndexView
from security import OrkaSecurityManager
from docker import Client
"""
Configuração de log
"""
logging.basicConfig(format='%(as... | dd3c249e5464652d867bf16e248519eaf654aa0b | [
"HTML",
"reStructuredText",
"Markdown",
"Python",
"Text"
] | 16 | Python | rlimaeco/orka | fe8b173bfd9fb4a76a246c11136bc73286791412 | d2d009cbbd927e84520ff1d340f53f4a9f24dc3f |
refs/heads/master | <file_sep>var controller={}
var poste=require("../models/poste");
var client=require("../models/client");
var attribuer=require("../models/attribute");
var bcrypt = require('bcrypt');
var user=require("../models/user");
const { DateTime } = require("luxon");
attribuer.belongsTo(poste);
attribuer.belongsTo(client);
... | 0de6d976425b565c3848ee545fdb2f3288164178 | [
"JavaScript"
] | 1 | JavaScript | pyrce/gestion_ordi | d0739a431e668c01cd5ce5e1dca9293bc512fcc3 | a3872a01f02fec25501dc12411bf64dfd7b00cfd |
refs/heads/main | <file_sep># Решение задачи классификации изображений из набора данных Oregon Wildlife с использованием нейронных сетей глубокого обучения и техники обучения Fine Tuning
## 1. Тренировка без применения Fine Tuning
 => 'CodeEditor');
jest.mock('../components/Output', () => 'Output');
jest.mock('../... | b21f6a4e9524da8cdfc6ec9ba7daa89fd75df1db | [
"JavaScript"
] | 1 | JavaScript | EGM/JSCodeRun | 262e6bd12a720a466437cfeedf44c0a799d411fe | a53fdf134ce16bf9c70cd0c26450f5039238a517 |
refs/heads/master | <repo_name>patlaughlin/how_to_make_an_rpg<file_sep>/manifest.lua
--
-- A manifest of all the game's assets
--
manifest =
{
scripts =
{
['main.lua'] =
{
path = "main.lua"
},
},
textures =
{
['tiles_00.png'] =
{
path = "im... | e60adf853d61d748bef183fc68e045915cd535ff | [
"Lua"
] | 3 | Lua | patlaughlin/how_to_make_an_rpg | 641437c188c696f217531d3cd78ca0df23cd01d9 | 5984a78a5809792a2b76f127ab22859dd7855754 |
refs/heads/master | <repo_name>fcostin/xmonad-config<file_sep>/apply_settings.sh
#! /usr/bin/env bash
cp .xinitrc ~/.xinitrc
cp .xmobarrc ~/.xmobarrc
cp .xmonad/xmonad.hs ~/.xmonad/xmonad.hs
| 0e515fbf75ce13d4b7b0092fd1dae23a419956f3 | [
"Shell"
] | 1 | Shell | fcostin/xmonad-config | 4b0a4eb2c389cbad369367e9a193c02f419615dc | ac2bd19cc949f8d209c28a8de6ade987deee2387 |
refs/heads/master | <repo_name>An-AngryBear/Sandwich-Maker<file_sep>/javascripts/condiments.js
var SandwichMaker = (function(maker) {
var condimentPrices = {
"Mustard": 0.15,
"Mayo": 0.15,
"<NAME>": 0.15,
"Horseradish": .15,
"<NAME>": 0.20,
};
let condiments = Object.create(null);
condiments.returnCondimentNames ... | 1921ce6797978b128f68a6058da6abd0e5caff01 | [
"JavaScript"
] | 7 | JavaScript | An-AngryBear/Sandwich-Maker | 34b0e3ef01e114e5b1a800e8851b6781b0ec3b0d | ea9271d292ae2179f9d3524847a646f6dc374a91 |
refs/heads/main | <file_sep>import numpy as np
import pandas as pd
from keras.models import Sequential
from keras.layers import Dense
from sklearn.model_selection import KFold
from sklearn.preprocessing import MinMaxScaler
from sklearn.metrics import roc_curve, auc
import matplotlib.pyplot as plt
df = pd.read_excel("heart.xlsx... | 8f2ef30d8570a9b759c2e8da07c71f259ac536e2 | [
"Markdown",
"Python"
] | 3 | Python | ordikhan/all-machineLearning-hospital | ab035e9472ef612b1a76c94087b6556e09c07e13 | b29945f58b95db202e3d321e9ed39f236209f021 |
refs/heads/master | <repo_name>petchc/SoundAugmentation<file_sep>/main.py
from __future__ import print_function
import soundfile as sf
import matplotlib.pyplot as plt
import os
import shutil
import argparse
import numpy as np
import tensorflow as tf
from sklearn import metrics
import math
from datetime import datetime
import resampy
impo... | deeded4a747f17d301f4e66a627f3f1cae9dcb68 | [
"Markdown",
"Python"
] | 4 | Python | petchc/SoundAugmentation | 78a12d6991676e0a89baedf5afbb87ce74c8ae66 | ab242a04f045abdf806a1e55b840cbe4cba66258 |
refs/heads/master | <file_sep>
$(document).ready(function(){
$.ajax({
type: "GET",
url: "text",
cache: false
}).done(function(pagina){
$("#Contenedor").text(pagina)
});
$("#boton").click(function(){
$.ajax({
type: "GET",
url: "text2",
cache: false
}).done(function(pagina){
$("#Contenedor").text(pagina)
}... | 71a3bcdeb27ffbe063eafe71358dd67f8bb500b4 | [
"JavaScript"
] | 1 | JavaScript | dpaz/X-NAV-JQ-Ajax | b4119fe6ac6ef4d485c8675dbb213a485ae5f8ec | 62eaaae26c8fce0b816e824924177ceb5fcffb2f |
refs/heads/master | <repo_name>ifonefox/IRCBot<file_sep>/README.md
IRCBot
======
An all-in-one "robot" for irc channels.<file_sep>/src/tests/TwitterTests.java
package tests;
import static org.junit.Assert.*;
import bot.StatusUpdate;
import org.junit.Test;
public class TwitterTests {
@Test
public void test() {
assertEquals(StatusUp... | f972b0171fd976e68e2b051d8cc60a28d14a29ab | [
"Markdown",
"Java"
] | 3 | Markdown | ifonefox/IRCBot | 00363a34f05f02b0d4d0e7486474747aa6999e5b | 7f26ec3bcb89ff99df7fa223ecc06cfbbcc2c351 |
refs/heads/master | <file_sep>#include "testApp.h"
//--------------------------------------------------------------
void testApp::setup(){
ofSetBackgroundAuto(false);
ofSetVerticalSync(true);
ofEnableAlphaBlending();
ofSetFrameRate(60);
ofBackground(0, 0, 0);
myRectangle.startPos.set(10, 400);
myRectangle.endPos.set(1000, 200);
... | 6db30ab89eff30fb4a6515a7257d624f19ed0404 | [
"C",
"C++"
] | 43 | C++ | yiiiko/openFrameworks-examples | 876e6fb79e9a184e1e29ff27543e92512330b578 | 7e8e4c16c400d40776aa339585ec7ff869a8dcaa |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PR_TE_T1_E3
{
class Program
{
/*
Solicitar un año al usuario y devolverle si se trata de un año bisiesto. Ejemplo: 1997 -> “1997 no es un año bisiesto”
... | 9c1fac2b59320d06c5856c74d1cb49984944c8e9 | [
"C#"
] | 1 | C# | MynorXico/PR_TE_T1_E3 | bcc762328ad75928ee9b3b618571819347c29656 | 40e9904d1f6273fd95371e5b4be556e5d755181c |
refs/heads/master | <repo_name>hentsR/CoreNet<file_sep>/README.md
# CoreNet
ASP.Net MVC5 Project to build an automated CMS Backoffice
<file_sep>/Mikolo.CoreNet.Profil/Service/IProfilService.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mikolo.CoreNet.Pro... | 85802f272c1079279a83283916e35f8133048a16 | [
"Markdown",
"C#"
] | 2 | Markdown | hentsR/CoreNet | 0aa2297b64a19663e61eb7800b1016d7711fdf98 | 7821a6c18247607ec2b9b0ed1c8221489aa2e854 |
refs/heads/master | <repo_name>alarky/isucon3_perl<file_sep>/script/init.sh
#!/bin/sh
. /home/isucon/env.sh
cd /home/isucon/webapp/perl;
/home/isucon/local/perl-5.18/bin/carton exec perl /home/isucon/webapp/perl/script/initialize.pl >> /tmp/initialize.log 2>&1
| 877e30c621cf9bb0b0b1f8f6af14ef37ead929c4 | [
"Shell"
] | 1 | Shell | alarky/isucon3_perl | 3de7049ec80f13111c47c2b5418ec3da382e6a15 | 15208cf2eab196b99cfa0c78bde950e0f28e4ea3 |
refs/heads/master | <repo_name>Jessiecaicai/FirstProject<file_sep>/src/main/resources/static/js/login.js
function IbtnEnter_onclick() {
checklogin();
return false;
}
function checklogin() {
if ($("#TxtUserName").val() == "") {
alert("用户名不能为空!");
$("#TxtUserName").focus();
return false;
}
if ($(... | 27a67540a174ce396a6a10b19c5c357456d7f308 | [
"JavaScript",
"Java",
"Markdown"
] | 10 | JavaScript | Jessiecaicai/FirstProject | b7fa9b0d4999af8c69d6f3368410ed2f7e0dbf46 | e197f04b233417ee1da6e0e253776685c4ad5ead |
refs/heads/master | <file_sep># HackTech2018
-- TO DO --
1. Find a way to use computer camera with python
2. Take picture with that camera
3. Compare picture with "base pic"
<file_sep>import tkinter
from PIL import ImageTk, Image
import facetest
def go():
label1 = tkinter.Label(window, text= "Loading ... When the camera comes, ho... | a6d3f3d9399db960058fe04270d036ef16ae12e9 | [
"Markdown",
"Python"
] | 9 | Markdown | chailey/HackTech2018 | efb9899a37ce36b2bc79301b3177f2bf7a696648 | 75e5252f5ae0aacb2cdf6b39f2ce4bf6950c923f |
refs/heads/main | <file_sep>#include "cg.hpp"
#include <algorithm>
#include <cassert>
#include <cstdint>
#include <fstream>
#include <iostream>
#include <map>
#include <memory>
#include <sstream>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#include <tuple>
#include <string>
// Get targets to callers mapping. ... | 512ccf7d7544b5d6ca67c70db505e74d6aa20ae6 | [
"Markdown",
"C",
"C++"
] | 7 | C++ | necipfazil/efficient-st-collection-simulation | c3d9a15183328866a4a3df96be1fafa3b2f581d4 | 0ec965f1628678eecc2f14016393f162380ebf0d |
refs/heads/master | <file_sep># To-do-app
It's a to-do-list app. You can add, delete and finish your tasks.
LIVE:
```diff
- It's working with a fake JSON data-base. (To check real version download or clone repository.)
```
https://offblack.github.io/to-do-list/

{
// 2 values = 252724
// 3 values = 276912720
$this->dataSet = explode("\n", file_get_contents('./src/input-day-1.txt'));
}
public function calculate()
{
foreach ($this->dataSet a... | 53ee9c19df444d0711498eaad952c0f8038e1ab5 | [
"PHP"
] | 1 | PHP | codebros-nl/advent-of-code-2020 | ca05544856ed65b028473f42cb22e92afb707ac2 | 0a5c462b98998fd766f183446ccd028c5c96bb9e |
refs/heads/master | <file_sep># KnockDetect
手机端敲击检测 Knock Detect on mobile
本项目的博客地址:
CSDN:[http://blog.csdn.net/u013182263/article/details/51828742](http://blog.csdn.net/u013182263/article/details/51828742)
博客园:[http://www.cnblogs.com/ztysir/p/5628667.html](http://www.cnblogs.com/ztysir/p/5628667.html)
简书:[http://www.jianshu.com/p/efb... | 227063667db2b4711e0585c40441df46312b40e6 | [
"Markdown",
"Java"
] | 2 | Markdown | quekai/KnockDetect | ce049e4cf004c9b3e6f074aa5e355d87215d4ab0 | e08d708b45c1a51aaeb0876b508eb1fa84269032 |
refs/heads/master | <file_sep>package fit5120.seniorparking;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import java.util.HashMap;
import java.util.LinkedHashMap;
/**
* Created by li... | bc38237b59df72a0d81043842b32548290d35961 | [
"Java"
] | 2 | Java | stardaemon/SeniorParking | a16f26cff6e8fde0e4249de5df54e034db4d966a | f510549deb62a09817de4e491379d9d3fb2cc4f9 |
refs/heads/master | <file_sep>// let userName = prompt ("Ім'я?");
// let dateBirth = +prompt ("Рік народження?")
// let yearNow = 2021;
// let ageRetirement = 60;
// let one = " вийде на пенсію через ";
// let result = ((dateBirth + ageRetirement) - yearNow);
// let two = " років.";
// let three = " вже пенсіонер.";
// if ( result < 60 &&... | 3207ffae40582cc746a9d01e9fc534a05ac9f1b3 | [
"JavaScript"
] | 1 | JavaScript | LKob/lesson-15-ageRetierment | cece274f1bdb92c3d30040e93b796bdea771e74e | 8e9268705620cfe9982b89d22b7ebbe2e52c50bf |
refs/heads/master | <repo_name>yurish4e/wmt-base-PHP-MySQL<file_sep>/scripts/form.php
<?php
require 'connect.php';
$short_problem = $_REQUEST['short_problem'];
$full_problem = $_REQUEST['full_problem'];
$info = $_REQUEST['info'];
$notice = $_REQUEST['notice'];
$insert_sql = "INSERT INTO general_problems (short_problem, full_problem, in... | 42513e3f09df0dc1c20f14717e8779c757832ae7 | [
"PHP"
] | 2 | PHP | yurish4e/wmt-base-PHP-MySQL | ebeb0e19d1b686441d8d4e22824cb57a9f512e91 | fe0c8ea8627ce1f9a9ffb90433e0159e47e2c8f6 |
refs/heads/master | <file_sep>require 'rest-client'
require 'YAML'
When(/^The client requests GET "([^"]*)"$/) do |resource|
response = send_request(BASE_PATH_USERS_SERVICE+'?apikey='+TEST_APIKEY, {})
@response = response
@status = response.code
end
Then(/^The response should be a (\d+) OK$/) do |status_code|
expect(status_code.t... | d2582e2a00fc65b1cc4af257f71d061b3251f946 | [
"Ruby"
] | 3 | Ruby | Amuktha/v2-api-functional-tests | b4383bcbebf5f9e59893d01488cdaeef69447abc | 4e483aad0611bd00012474af7096d0c4fa217aac |
refs/heads/master | <repo_name>jblin2042/blackjack<file_sep>/dealer.cpp
/*
* dealer.cpp
*
* Created on: 2019年9月16日
* Author: jb
*/
#include <iostream>
#include <vector>
#include <utility>
using namespace std ;
#include "player.hpp"
#include "banker.hpp"
#include "card.hpp"
#include "dealer.hpp"
#define BLACKJACK_MAX 21
Blackj... | e0a5dca6d31bcfc6221f76acb10047a9f025e25c | [
"Makefile",
"C++"
] | 9 | C++ | jblin2042/blackjack | 312ab8eb6be78d531a2af9645a7cb183955c8495 | adeb2f4133453d617d602e2f15a5289b1e85202e |
refs/heads/main | <repo_name>LucasFeli/Motocycle-Fans<file_sep>/controllers/auth.controllers.js
const User = require("../models/User.model");
const bcrypt = require("bcryptjs");
const {
hasCorrectPasswordFormat,
isMongoError,
isMongooseErrorValidation,
} = require("../utils/validators.utils");
exports.signup = async (req, res) =>... | dcd73071cc34eba91967ab7e5b7201ccc979ca6b | [
"JavaScript"
] | 3 | JavaScript | LucasFeli/Motocycle-Fans | 6e2751774b1faf1ebe3473d3f638e35b4e21a42d | 9b1aa5407a5a4823006b50c87c9cba44e84ba7d7 |
refs/heads/main | <file_sep>package main
import (
"net/http"
"net/http/httptest"
"testing"
"time"
)
func TestRacer(t *testing.T) {
t.Run("get response", func(t *testing.T) {
fastOne := mockHTTPTest(8 * time.Millisecond)
slowOne := mockHTTPTest(12 * time.Millisecond)
defer fastOne.Close()
defer slowOne.Close()
_, err :... | 48f7df823f28f7121680e3da8f9d61abc6308fe3 | [
"Markdown",
"Go Module",
"Go"
] | 35 | Go | i0Ek3/go_tests | c75f451b82dde0c4c893e8c6a6d7f501f79a405e | cc60dc03e69ccbd34cf82ddb821faa2d1aeaa665 |
refs/heads/master | <file_sep>const messageTypes = { LEFT: "left", RIGHT: "right", LOGIN: "login" };
// Chat Stuff
const chatWindow = document.getElementById("chat");
const messagesList = document.getElementById("messagesList");
const messageInput = document.getElementById("messageInput");
const sendBtn = document.getElementById("sendBtn... | 21aa836818e3a757b556cf204548663e63e64a15 | [
"JavaScript"
] | 1 | JavaScript | todorovicd/chatAppSocketIO | 94d70b67f4235486d686d56f9b3fb0ee60df2c7f | 459b740f321874e80eaf6633d20e18809602d6fc |
refs/heads/master | <repo_name>deepfence-demo/secure-gitops<file_sep>/flux/04-image-update.sh
#/bin/sh
flux create image update flux-system \
--git-repo-ref=flux-system \
--git-repo-path="./clusters/digital_ocean" \
--checkout-branch=master \
--push-branch=master \
--author-name=fluxcdbot \
--author-email=<EMAIL> ... | 7370aba67fe536b42fc4bdfe757a8a7a87c23735 | [
"Markdown",
"Shell"
] | 5 | Shell | deepfence-demo/secure-gitops | f1a26d97ddfe2271d5f4d394f67bb97e972f24dc | 408e00e443a3ae891e753bfad68585fce6f486cd |
refs/heads/master | <repo_name>caed04/Sypro-cms<file_sep>/README.md
Syproco CMS
========================
Syproco cms es un proyecto personal, con el fin de poder crear un repositorio de base para comenzar
projectos web.
Tecnologias?
--------------
He basado este micro proyecto en las siguientes tecnologias:
* Symfony,
* Twig,
... | 35ece200271d22174e1e04985e8efc1c491b41ab | [
"Markdown",
"JavaScript"
] | 3 | Markdown | caed04/Sypro-cms | c4815c66452f394f0d13b5d1bafc1e8e0900ffcd | d636394d2245ef85934e755ed1ecfb733473740a |
refs/heads/master | <repo_name>diptibaral/lab2<file_sep>/app/src/main/java/com/dipti/lab2/RadioButtonActivity.kt
package com.dipti.lab2
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.RadioButton
import android.widget.TextView
class RadioButtonActivity : AppCompatActivity() {
private l... | 31052fcc977267722b78c3665c0f7d9ea8c17934 | [
"Kotlin"
] | 2 | Kotlin | diptibaral/lab2 | 28dfd057a934fcce9d8694b6014ca63aef5bae87 | 5a1ce6aead198e96a8665d52715032d1f317ff16 |
refs/heads/main | <repo_name>hyungchanchoi/AlgorithmTrading_pykiwoom<file_sep>/get_contract_data copy.py
from pykiwoom.kiwoom import *
import pandas as pd
import time
from datetime import datetime,timedelta
today = datetime.today().strftime("%Y%m%d")
kiwoom = Kiwoom()
kiwoom.CommConnect(block=True)
state = kiwoom.GetConnectState()
if... | 7a472b8332ae5d40f037d7b133a3f6873bf70838 | [
"Markdown",
"Python"
] | 5 | Python | hyungchanchoi/AlgorithmTrading_pykiwoom | 3edb1eb115bdedeedea736b9c56ca8df208dc146 | 3653a77892b70a263a138d14996767843c3c5513 |
refs/heads/master | <repo_name>ry/scss.go<file_sep>/libsass/util.hpp
#ifndef SASS_UTIL
#define SASS_UTIL
#ifndef SASS_AST
#include "ast.hpp"
#endif
#include <string>
namespace Sass {
namespace Util {
std::string normalize_underscores(const std::string& str);
bool containsAnyPrintableStatements(Block* b);
bool isPrintabl... | aa811186f3bbbe306220139918b73988f299fcb3 | [
"Ruby",
"Makefile",
"C",
"Go",
"C++"
] | 23 | C++ | ry/scss.go | 5eba8c06d13d6f4c6005f7e4175955fda12165e4 | d1d894ebdbea1118ee4086e267a9db846504eacf |
refs/heads/master | <repo_name>joeljosephjin/lamaml-l2l<file_sep>/run_cuda.sh
#!/bin/bash
# IMGNET='--data_path data/tiny-imagenet-200/ --log_every 100 --dataset tinyimagenet --cuda --log_dir logs/' # cuda-ed
IMGNET='--data_path data/tiny-imagenet-200/ --log_every 100 --dataset tinyimagenet --log_dir logs/ --cuda'
SEED=0
##### La-MAML ... | 4242cf2fb216e9cfb58cdfae3b7b12bf660849ae | [
"Markdown",
"Shell"
] | 3 | Shell | joeljosephjin/lamaml-l2l | 121d0e9887f12236c75e57f68d089c29779f470f | 2240ec5f23c3abbce94f438185bf99cf4d99695d |
refs/heads/master | <repo_name>ajaichemmanam/react-flask-socketio<file_sep>/socketapp/src/socketDashboard.js
import React from "react";
import io from 'socket.io-client';
class Dashboard extends React.Component {
state = {
socketData: "",
socketStatus:"On"
}
componentWillUnmount() {
this.socket.close()... | 47fd1c10e6e30c52bc894c94c74947324da6cb42 | [
"JavaScript",
"Python",
"Markdown"
] | 3 | JavaScript | ajaichemmanam/react-flask-socketio | b4d568d501c85a36d7c91bdaf5e8e4b18bda7d75 | 87a3ac098dc9b33b21d0b9b8631e3f61f744657a |
refs/heads/main | <repo_name>kgweisman/dreams_mind_spirit<file_sep>/scripts_general/data_load.R
# LOADING DATASETS FOR ALL STUDIES
# study 1 -----
d1_scored <- read_csv("../data/sense_spirit_study1.csv") %>%
mutate(country = factor(country, levels = levels_country),
site = factor(site, levels = levels_site),
religio... | 5ff1b4a7c7bd59523419f627481a1f5d3762427f | [
"Markdown",
"R",
"RMarkdown"
] | 3 | R | kgweisman/dreams_mind_spirit | 44847bf1c0ddf2fb7207ab709cacb86d4b9119ef | f7cbd32c730c282c71a6741c1c1bffe23c91b815 |
refs/heads/master | <file_sep>require 'spec_helper'
describe(List) do
describe(".all") do
it("starts off with no lists") do
expect(List.all()).to(eq([]))
end
end
describe("#name") do
it("returns its name") do
list = List.new({:name => "stuff", :id => nil})
expect(list.name()).to(eq("stuff"))
end
... | 64794b12e1f424edb01e7dd916d64c58d26ada5b | [
"Text",
"Ruby"
] | 4 | Ruby | JaredReando/todo | f0af71428c18d8e0f8e0ba228db97eef9443b943 | 0de7eec414e52a7073190497588a6f93561cc1f9 |
refs/heads/master | <file_sep>
# This programs loops through all feature classes in the "input" geodatabase and buffers them by 100 meters.
# It then creates a new output GDB and exports the result of a dissolve and clip of Missouri's highways.
# Import necessary modules, set path and environment settings
import arcpy
import os
#path ... | 18d4b724aa309cd5dc04c6e9eb1b491844b7cd6f | [
"Markdown",
"Python"
] | 3 | Python | austintolani/ArcPy | 7dad4b725b1e334056f7a7328370156a0153da54 | d6421624a09a249e8bda5f06f3d58817305d1c19 |
refs/heads/master | <file_sep>import { rem, transparentize } from 'polished';
import styled, { css } from 'styled-components';
import { remFloat } from '../helpers';
import { colors, mixins, Theme, variables } from '../themes';
const { black, grey87, grey93, primary, white } = colors;
const { component } = mixins;
const { border, borderW... | 4462ed0c14c3e83e689889f1388cddc9d58fac66 | [
"Markdown",
"TypeScript",
"JavaScript",
"Dockerfile"
] | 29 | TypeScript | josselinbuils/components | 5fe65d8246473a71323dcbc265edb5c49193769a | 44af6de716a4920e19a0e10d47a6ad67cb149229 |
refs/heads/master | <file_sep>// v3.1.0
//Docs at http://simpleweatherjs.com
function GetIndiceTemps()
{
var indice = 0.0;
// return 1.0;
$(document).ready(function()
{
$.simpleWeather({
location: 'Bordeaux, FR',
woeid: '',
unit: 'f',
success: function(weather)
{
//on transform weather.code en in... | 5bcb6122e535f7b368016ce790ab1a6f868184c1 | [
"JavaScript",
"Markdown"
] | 8 | JavaScript | farfeduc/Sails-gulp2 | 83b7141761a13267381a55e58c729d4ef217ce29 | 66889aaa4f1b17929a5602a001228394a937f7de |
refs/heads/master | <file_sep>/* Copyright (c) 2018, <NAME> */
/*
* In the railfence cipher (A.K.A. zigzag cipher), the plain text is written
* downwards and diagnoally on successive "rails" on an imaginary fence, then
* moving up when the bottom rail is reached. When the top rail is rached, the
* message is written downwards again... | 32c66f20880fc286161a0679eeed694d840f1210 | [
"Markdown",
"C",
"Makefile"
] | 20 | C | stephen-wang/cryptoUtil | 34121b198a42740d7f9eb8668e628729bf22ee38 | bfe8686f55cc905ce7e040b7c042a72d7bcd803f |
refs/heads/master | <file_sep>const mySiema = new Siema({
duration: 300,
onInit: changeCarouselInfo,
onChange: changeCarouselInfo
});
function changeCarouselInfo() {
if(this.currentSlide <= 1){
document.querySelector('.info').innerHTML = 'Solving a school management problem, the SALAS software help faculties manag... | 50281030b01861f0af0deefe224fc1422086bf3d | [
"JavaScript"
] | 1 | JavaScript | JonatasFAlves/jonatasfalves.github.io | e8fae368ed8f9bfad91a88a382121e5269dd8b1c | 6772f89efa797a44a0f6624e0a9cdcb9507ef488 |
refs/heads/main | <file_sep>// define sample function to randomly return an item in an array
function sample(array) {
let randomIndex = Math.floor(Math.random() * array.length)
return array[randomIndex]
}
// define generatePassword function
function generatePassword(options) {
// define things user might want
const lowerCaseLet... | 516d4a765746a05d18b4d62ece5a0f0af14999ef | [
"JavaScript"
] | 1 | JavaScript | Demilululu/Random-Password-Generator | 2099ff178401c7c1340e1bf8c844d524022e2b91 | 9172070c7717f27a3a4981d17e1cacf0c1c769ec |
refs/heads/main | <repo_name>JRavi2/Huffman-Coding-Algorithm<file_sep>/main.cpp
/* Data Structures Mini Project
* Huffman Coding Algorithm for Text Compression */
#include <bits/stdc++.h>
using namespace std;
#define MAX_TREE_HT 50
// Some global definitions
map<char, string> code;
int current_bit = 0, padding = 0;
char bit_buffer;... | f2998b18929b53f184a32bbc3a285aeec3c7d636 | [
"Markdown",
"C++"
] | 2 | C++ | JRavi2/Huffman-Coding-Algorithm | 28f4a200b104084f5a188cbcddf83f0a8b84f1ac | 1bfa5aa68ee59f9a483f2331969689ff53739453 |
refs/heads/master | <repo_name>slavonic-suomi/fs-simple-server<file_sep>/src/test/java/com/itsm/pub/courses/firsts_steps/server/dto/SimpleResponseSerializationTest.java
package com.itsm.pub.courses.firsts_steps.server.dto;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
impor... | 2d1b56277c26fffd50ca3b386f0d2adeceafe548 | [
"Java",
"INI"
] | 9 | Java | slavonic-suomi/fs-simple-server | ccb1542eecc21ed6a11962aca68a28d268b4d06d | 532d4c01caceb1df8aeb05b3ec0e908f81f1c70b |
refs/heads/master | <file_sep># tea-reading
A site to display tea readings
<file_sep>
//flashlight effect
let map = document.querySelector(".map");
let moveLight = (event) => {
// console.log(event.target);
var light = document.querySelector(".reveal");
light.style.clipPath = `circle(80px at ${event.offsetX}px ${event.offsetY}... | fac9c50e58754ed650fb396cc51572fb532dbab9 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | Ceciceciceci/tea-reading | 2b93ae0b63cc34fabfaab2b906cdd9d617094167 | 75f77e8d3d73aed19c1be6bf687493baed9f414f |
refs/heads/master | <file_sep>Wordpress Docker Starter
========================
Includes
------------
* wordpress
* mariadb
* phpmyadmin
Usage
------------
Command to start the containers:
```bash
$ docker-compose up -d
```
Command to save the database dump
```bash
$ scripts/database-save.sh
```
Command to restore the database dump,... | 0c014fd8898547d0bdbd945892b51f9c8d2d7fe6 | [
"Markdown",
"Shell"
] | 2 | Markdown | leonhusmann/docker-wordpress-starter | 0cfb2c79a6b39c03381ef7d33246f24d12542e7e | 73f9f115cc07a3a2b0baeffae65474dfac5d495c |
refs/heads/master | <file_sep>#pragma once
#include<string>
#include<map>
#include<vector>
#include <memory>
#include<iostream>
enum allowed_types : int{
string, integer, floating_point
};
class AbstractColumn {
public:
std::string name;
virtual std::string get_at_as_string(size_t index) = 0;
virtual void add(std::string value) = 0... | d2211a0e72c1579aae6277db2c7ea2b8dff9c26a | [
"C++"
] | 3 | C++ | Alobal123/CvikaCpp | 7fcd95a7ba606e4f965ba8d018cd78c7f307b295 | ae07d272705ea0f8d3c0462feb3ef9fb920643ef |
refs/heads/master | <repo_name>EvanPalmer/TpbContextSearch<file_sep>/contentscript_imdb.js
//debugger;
(function($, undefined){
window.onload = function(){
//debugger;
var thisIsImdb = window.location.href.indexOf('//www.imdb.com/') > 0;
if(thisIsImdb){
// debugger;
// add bootstrap JS from CDN
$.getScript("//netdna.bootst... | 956c399e28a66ab4e91b2c8703a777a3c83e8583 | [
"JavaScript"
] | 3 | JavaScript | EvanPalmer/TpbContextSearch | 12b8743fe8fcb1a03f6a93e6ef983c52b0e726d6 | 54f0327771927d754eec708f72d5e1e29027492c |
refs/heads/master | <file_sep>package Window;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.PrintWriter;
import java.util.ArrayList;
public class History {
private PrintWriter outputStream = null;
private boolean rep = false;
private String name,report;
private int numOfOperation,numO... | b117225b72ecd8744a49ff1e716b6c9b3fde53f6 | [
"Java"
] | 6 | Java | athanasiouan/Tool-implementation-for-monitoring-software-evolution | bd8d3af824dd7eaa87e2e11d3e26efadde217188 | d675ae66517ccc45eb277708bade787e5c9ec917 |
refs/heads/master | <file_sep>js识别canvas画布上绘制的图形
==================================
## 多边形识别
* 选取特征点,
* 根据数学边角关系计算
* 匹配和绘制。
特点:
* 准确度高,支持判断canvas画布上绘制出来的图形是否是三角形,矩形,横线,竖线,对勾等。
* 对复杂图形的匹配,计算上很麻烦。
## 复杂图形识别
* 图形进行学习,
* 获得学习到的模版。
* 进行图形相似度匹配,
* 绘制。
特点:
* 支持图形学习,实现简单。
* 样例图形间相似度高时,匹配不准确。
## $1 Unistroke Recognize使用方法:
```ma... | f3903535e6dc936516380a715e84c71ca6294ba8 | [
"Markdown",
"JavaScript"
] | 3 | Markdown | cnluderson/imageReconizer | f1dfb0b8276144436fc49579dbaedbb41918f937 | dab539f36a1f2df5021ecedde23dc713f8587db5 |
refs/heads/master | <file_sep>Identity кодера - строка, которая должна быть одинаковой у кодеров, работающих с одними и теми же данными
(совместимые кодеры должны иметь одинаковую identity)
Предлагается брать за identity строковое представление кодируемого типа в Котлине
Например:
- Для кодера для интов identity будет "Int"
- Для коде... | 96d5c90c70972b311e7a3d79ffd6763495db303f | [
"Markdown",
"Kotlin",
"INI"
] | 5 | Markdown | cybernetics/communicator | 2753edbf46a44d7e9fb5c479f3b11f4596f2246b | 3a60d5dc58eb24fc8e76dd8e8234cd46fae3f5ac |
refs/heads/master | <repo_name>PosAula/PHP<file_sep>/acao_grupo.php
<?php
session_start();
include_once 'conexao.php';
$acao = $_GET['acao'];
$id = filter_input(INPUT_GET, 'id_grupo', FILTER_SANITIZE_NUMBER_INT);
/*$id = $_GET['id_grupo'];
echo $acao;
echo $id;*/
switch ($acao) {
case 'sair':
$sql_sair_grupo = "DEL... | a7d54c8bf10f69d7cd4c28dd64f9812863c3ba53 | [
"PHP"
] | 13 | PHP | PosAula/PHP | 0ad3c10f3b7ee0c3d2ad31f20d2bebd8d948283c | f5aa3a951dfa31c377221786c6ec174413a2555d |
refs/heads/master | <repo_name>BrentFarris/SDL_GUI<file_sep>/SDL_GUI/GUI_Element.h
/////////////////////////////////////////////////
// //
// <NAME>, Bearded Man Studios, Inc. //
// https://www.beardedmangames.com/ //
// //
/////////////... | 3cac0d9428bbaa96f9e2806bc23532f1086da58c | [
"Markdown",
"C",
"C++"
] | 19 | C++ | BrentFarris/SDL_GUI | 3adff7749c89d52b30cf5dd3a45152870bbb89fa | 7a6b1ad7bffb40d65de22e1d20291a43a4f8bee3 |
refs/heads/master | <repo_name>ecsalunga/July2017<file_sep>/src/environments/environment.prod.ts
export const environment = {
production: true,
firebase: {
apiKey: "<KEY>",
authDomain: "temp-system.firebaseapp.com",
databaseURL: "https://temp-system.firebaseio.com",
storageBucket: "temp-system.appspot.com",
messagi... | c76bfa63b0ad3b5e6116cb08d4a11a2a6fcf278d | [
"TypeScript"
] | 1 | TypeScript | ecsalunga/July2017 | b9a171e28dbad2cfda61be0fb5b32f728c713d64 | 67ca77f0bb92705614293ddee3528994c0836413 |
refs/heads/master | <file_sep>package com.fmu.myapplication;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import android.widget.TextView;
import android.widget.Toast;
public class... | 11c142362bc73f75810066e0050589675bf47e19 | [
"Java"
] | 1 | Java | cesarboy/ListView_TOAST | cf52a908d240b8293c610568c8882168189d50cb | 7698a08b5871fe6a835c264b93b65e7dbf6271e2 |
refs/heads/master | <file_sep>import { resolve } from "path";
import * as TJS from "typescript-json-schema";
import fs from "fs/promises";
import rimraf from "rimraf";
/**
* File that reads *IRoute types from types/
* and generates schemas for it
*/
const BASE_PATH = "./src/types";
(async () => {
// Read all files on base_path, th... | 52035cb6d5751aaed50b17de2350a4d321ee7cfd | [
"Markdown",
"TypeScript"
] | 8 | TypeScript | pedropalhari/node-ts-fastify-boilerplate | 1e6b4ea4222d0b47170608c09fb93dea37b967d3 | 5c660a25bef10762b7987bdf721c6e9e6aa0f972 |
refs/heads/master | <file_sep># Instagram-mini
A simple version of [Instagram](https://www.instagram.com/), where you can create an account, publish photos, comment and like posts of other users.
### Getting started
Before installing the application, you must install `meteor`.
For `osx/linux` type on your terminal `curl https://instal... | a170b86392943208f6ca39af6b39c9c8b7c2d765 | [
"Markdown",
"JavaScript"
] | 4 | Markdown | DmytroTohan/final-task | 46eda6faa97c28529e05a86e4ffcf629b72876b3 | 1a76e5b091f4cbbcc8b92e35697cb251ad0b2916 |
refs/heads/master | <repo_name>grape31417/Learning-Android<file_sep>/IntentCarryData/app/src/main/java/com/example/user/IntentCarryData/MainActivity.java
package com.example.user.IntentCarryData;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Intent;
impor... | 87694e2aa26f8d88e25284c72bf5ff7e9b2efa3c | [
"Java"
] | 25 | Java | grape31417/Learning-Android | 3448414b0f9657e9ce2640a5372195f3acdacaa5 | 278101f8e190d26cfcd329e0cba0785e35dc108e |
refs/heads/master | <file_sep>运行环境:Win10 - Visual Studio 2017 <br />
【如果使用DEVC++运行该代码, 请将第33行的system("puase")删去。】 <br />
If you use DevC++, please delete 'system("pause")' in the 33th line.
<file_sep>#include <iostream>
#include <time.h>
#include <stdlib.h>
#define MAX 100
int main()
{
int n = 0, m = 0;
srand((unsigned)time(N... | c59de1a4883870aa01832c3232be5ccfbafabf1c | [
"Markdown",
"C++"
] | 2 | Markdown | qw2002q/Pseudo-random-number | 98c6ab82e6621878262087f1e860dc416d887762 | de295340cc9f9b36f791050e1f93c2aed9e23491 |
refs/heads/master | <repo_name>ZinkNotTheMetal/AngularAspCore<file_sep>/AngularWithCars.Api/src/AngularWithCars.Api/Responses/Manufacturer.cs
using System;
namespace AngularWithCars.Api.Responses
{
public class Manufacturer
{
public int Id { get; set; }
public string Name { get; set; }
public DateTime D... | 6596c9cdcff6191f2d27004c167308cfaf946a8d | [
"Markdown",
"C#",
"JavaScript"
] | 7 | C# | ZinkNotTheMetal/AngularAspCore | 25d0106f622111322a9a8420bf0b5eb6f9a52582 | af15a4222ce9bc41617c2a0e5624074d428ad149 |
refs/heads/master | <file_sep>Javascript-eval widget for Jupyter.
Security considerations
-----------------------
Don't use this in an environment with untrusted notebooks. This means that this widget probably should not be made available in public Jupyter deployments.
Jupyterlab generally does not encourage sending arbitrary javascrip... | 6981568acd52e165ca06678db42c4f0436d4e0a3 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | rehno-lindeque/jupyter-javascript-eval-widget | fd1c152042f8f89acbb02efa6b8babb5ecb21b96 | f8a751ac3d8759192b391ff17da899bf10747cbe |
refs/heads/master | <repo_name>goazman/MovieKidia<file_sep>/components/Homepage.js
import React from 'react'
import { StyleSheet, View, TouchableOpacity, ImageBackground, SafeAreaView } from 'react-native';
import { Text } from 'react-native-elements';
import { LinearGradient } from 'expo-linear-gradient';
export default function HomePa... | 6a220baef947739de12e028798578e3c3f862ea5 | [
"JavaScript"
] | 3 | JavaScript | goazman/MovieKidia | 2f8213e7d55fd9c400e87093d9e3684740cca6c5 | b27887bfbae4fa806861a0b04618240bba8c168c |
refs/heads/master | <repo_name>bdsoftpro/kamailio-setup<file_sep>/setup-rtpengine
#!/bin/bash
# find text from all file in directory
# grep -rnw '/path/to/somewhere/' -e 'pattern'
set -e
SRCPATH="$PWD"
KAMBASE=/usr/local
RTPBASE=/usr
mkdir -p script
cd script
apt-get -y update
# apt-get -y install gcc flex bison libunistring-dev libs... | e1e8c726518ea1c16dc5c996617237910099368d | [
"Shell"
] | 1 | Shell | bdsoftpro/kamailio-setup | 118f8fbc02ffb7855d8e0cb35c19c1ec1a6eac04 | 5f9436f9e3a8dac149861f59577b62cee938b4ff |
refs/heads/master | <file_sep>package model;
/**
* Class that handles the generation of queues, servers, customers and the interaction between them for the simlulation of a multi queue system
* @author <NAME>
* @author <NAME>
*/
import java.util.ArrayList;
public class MultiQueueControlSystem implements QueueControlSyste... | 3c74c7f1123e4f63909a83320ec7933a03bb3835 | [
"Java"
] | 8 | Java | ungtony/QueueSim | 6514608a913de3b09c6d92ec72198849976ad0ae | b258ed9807bad20dfc48bb68ebbd8a0b84177d75 |
refs/heads/master | <file_sep>// react redux's connect function
import { connect } from "react-redux";
// import in the Tasks component
import Tasks from "../components/Tasks";
import { postTask, getTasks } from "../data/actions/api";
// We're taking the tasks array from the global state and assigning it to a taks property which will b... | 8b865566c00b16060985a76bc60332a7e679cca5 | [
"JavaScript"
] | 7 | JavaScript | floorford/todoreact-app | 0b4c974233c21b53a3d5c290094b0f5325bf63ee | 541a2a7f1bcdfd0a3c39f2b363bb24d0c260793f |
refs/heads/master | <repo_name>dbcolber/si364final<file_sep>/templates/index.html
<body style="background-color:LightGoldenrodYellow;">
{% if current_user.is_authenticated %}
<a href="{{ url_for('logout') }}">Sign Out {{current_user.username}}</a>
<br>
<h2> Welcome to your virtual cookbook! </h2>
<div class="page-header">
... | a3f6535ce29d80b5aee0872c3db4d9590b5803d0 | [
"Markdown",
"Python",
"HTML"
] | 4 | HTML | dbcolber/si364final | 834cf325e109ed72cf0943e60e3b5ce8ffa69daa | 18ea60859f022ccf0e29dd425f02a92ba51577af |
refs/heads/master | <file_sep>(function(){
var getChartData = function(){
//retrieve food item data
var week1 = localStorage.getItem("itemValue"),
week2 = localStorage.getItem("itemValue2");
//if we have something on local storage place that
if(week1) {
$("#foodweek1").append(week1)
}
... | a69126d01d72449b05e4a74fbd9b3cfd64ce9ae8 | [
"JavaScript"
] | 1 | JavaScript | geethapai/aux_bootcamp_challenge | 1668f94c2eec8b9f82a89da96d5732c405ccfcbd | bbb124672cdb0629de80afb6b36bd8e7ac0e4e4c |
refs/heads/master | <file_sep>/**
* Created by <NAME> on 19/5/2017.
*/
public interface Actionator<T> {
void run(T obj);
}
<file_sep>import java.util.Iterator;
public class Queue<Item> implements Iterable<Item> {
private Item[] arr;
private int size;
private int first;
private int last;
public Queue() {
... | 30ef4fab92f91d941dd0ff958ef6a48d9f5ad5f8 | [
"Markdown",
"Java"
] | 8 | Java | Tiltorito/DataStructures | 153f7baacf8fedb3c381c2f40c177c0f2f4b491b | 2f39a108bff35027c8b5cb87ac54f553f179c403 |
refs/heads/master | <file_sep># import libraries
import pandas as pd
import numpy as np
from time import time
from IPython.display import display
import matplotlib.pyplot as plt
from pandas.plotting import scatter_matrix
from sklearn.svm import SVC
from sklearn.preprocessing import StandardScaler
from sklearn.pipeline import Pipeline
fro... | 04acc69263768d8d3eecb3c1541349143c3e6449 | [
"Markdown",
"Python"
] | 3 | Python | mbahhari/Capstone | dbfbf83c6f9c8bc9b9f87f5b1b0336705eb8903e | 1412dfd047a8b244e7c4aa39919962dc8e1e8b0c |
refs/heads/master | <repo_name>arzuyildirim/project<file_sep>/preprocessing_for_gephi.R
install.packages("RJSONIO") #the package to export data written in java to R
library("RJSONIO")
resultt <- fromJSON("starwars-episode-7-interactions-allCharacters.json", simplify = T)
#firstly I wanted to extract edges data which is named as "links... | 2fb850e54b384295d61eeb7f6a918eb7f3c995a0 | [
"Markdown",
"R"
] | 3 | R | arzuyildirim/project | 92196cd2ff4d63977dd6184c69b9c8ff7f17d5e0 | f667cb3cc62069d335e1c28b2a1f60fe37e9c056 |
refs/heads/master | <repo_name>Bri997/grpc-go<file_sep>/go.mod
module github.com/bri997/grpc-go-course/greet/hands-on
go 1.12
require golang.org/x/tools/gopls v0.2.2 // indirect
<file_sep>/calculator/calculator_client/client.go
package main
import (
"context"
"fmt"
"io"
"log"
"github.com/bri997/grpc-go-course/greet/hands-on/calcu... | 42b4642081d5183e524ed6490f03b0648f13cd10 | [
"Go",
"Go Module"
] | 3 | Go Module | Bri997/grpc-go | d8166aab2c350a09db950bf4d21a3a493dd8d942 | 232dc4d5ae45a6de25893d7223d7a4b5a66ca9a6 |
refs/heads/master | <repo_name>jamesninja/lab-express-basic-site<file_sep>/app.js
const express = require("express");
// We create our own server named app
// Express server will be handling requests and responses
const app = express();
// our first Route
// Make everything inside of public/ available
app.use(express.static("public"));
... | 5d4dbb1bf52f2c45d9342aa771168d515d8ec405 | [
"JavaScript"
] | 1 | JavaScript | jamesninja/lab-express-basic-site | 43ef79af97a4f5e1b254632b824dcf2c18296787 | 63d3748428a1807f6f7fc7aac51434e2f8168eba |
refs/heads/master | <file_sep>const { __ } = wp.i18n;
const {
registerBlockType,
Editable,
// I'm not using the InspectorControls or BlockControl but you can see the docs here https://wordpress.org/gutenberg/handbook/blocks/block-controls-toolbars-and-inspector/
BlockDescription, // and the BlockDescription
source: {
meta // I'm ju... | c1185a1f0da59b7dd124ebc2db4c9650e78df496 | [
"JavaScript",
"Markdown",
"PHP"
] | 4 | JavaScript | tharsheblows/grueziblock | 7f2ae7cb6a519c86078ef0737edf239eb7bfbc8a | 8b28d6ac214e698d0e6b2a33e4049b2d364a453a |
refs/heads/master | <repo_name>allisonjulioo/WebRTCWithRecorderAudio<file_sep>/server_ssl.js
// Load required modules
const https = require("https");
const fs = require("fs");
const express = require("express");
const io = require("socket.io");
const bodyParser = require("body-parser");
const axios = require("axios");
const easyrtc = req... | 3457c256994958eb68a48265ffea37227c08e6f1 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | allisonjulioo/WebRTCWithRecorderAudio | 6a091be7a464d733df97689c53160080d5dad4a3 | f259436f116e69e18e970ee8057826f4868072bf |
refs/heads/master | <repo_name>jgalazm/Nami<file_sep>/examples/ModifyEarthquakeOnKeyPress/main.js
let data = {
bathymetry: [[1,1,1],[1,1,1],[1,1,1]]
,
earthquake: [{
L: 5,
W: 3,
depth: 2,
slip: 1.0,
strike: 30.0,
dip: 70.0,
rake: -45.0,
U3: 1.0,
cn: 0,
... | 4010f3f0c11c6bcee83fc1da170d70ecfb7aefff | [
"JavaScript",
"Markdown"
] | 10 | JavaScript | jgalazm/Nami | 1ecfcdca9a0ee507bfdf4bec80ca65c02ebb2ead | 3154c22950a1670312f09c298f30b924196f5380 |
refs/heads/master | <file_sep>import apiCall from '../utils/apiCall';
import { apiToken, baseUrl } from '../config';
import { IGiphyListResponse } from '../types/Giphy';
/**
* Returns GIFs by 'trending' label
* @param {Object} info Url information
* @param {number} info.offset Starting position of the results
* @param {Object} option... | 19701fe230e75620099cf87d5a2b21d9b16459cb | [
"JavaScript",
"TypeScript",
"Markdown"
] | 14 | TypeScript | dpobozniak/giphy-browse | cb6987c5e072c33eb910fc2f6a6b801a17c50180 | 3b32e032e871c5d0346ba6eb0bf765f7063d0238 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Text.RegularExpressions;
namespace zene
{
//-------------------------------------
public class Track
{
private int _rad;
private int ... | 094f3078176e04c02b909ede26baad8849b66aa3 | [
"C#"
] | 1 | C# | m4rt0n/zene | e6eba415022700c045f3a4daec085de69b158c8a | 6d8c74b7de833b97cb8003b6dfa2599fc09d37ec |
refs/heads/master | <file_sep>from __future__ import absolute_import, division, print_function, with_statement
import socket
from tornado.netutil import Resolver
from tornado.testing import AsyncTestCase
from tornado.test.util import unittest
try:
from concurrent import futures
except ImportError:
futures = None
class _Resolv... | 2df09f09e46c6243b9d67762354f3ee03149e5ec | [
"Python"
] | 1 | Python | 1stvamp/tornado | 443c7f34b8eb5b77b82a04eb9b8575ad57744427 | 99b5f6378b994147b1fd74e87a6d9fa430a23681 |
refs/heads/master | <file_sep>import string
import shutil
alphabet = string.lowercase
alphabet = list(alphabet)
[shutil.rmtree(letter) for letter in alphabet]<file_sep>import string
import os
import shutil
alphabet = string.lowercase
alphabet = list(alphabet)
#os.mkdir("test")
[os.mkdir(letter) for letter in alphabet]
#shutil.... | f2b2b79386c1ec747ee0f577bff919fe5d49efba | [
"Python"
] | 2 | Python | torypayne/Week1Project | ffa045ec3b9e97dfc9016e09d94762787b2aad52 | faf9b14d3689fd6d016539591453f821e70f7a2e |
refs/heads/master | <repo_name>challaruthvik/Playground<file_sep>/Hop n Hop/Main.java
#include<iostream>
using namespace std;
int main()
{
int x,y,res1,res2;
std::cin>>x>>y;
res1=x-3;
res2=y-4;
if(res1>res2)
std::cout<<res1;
else
std::cout<<res2;
return 0;
}<file_sep>/Car mileage/Main.java
#include<iostream>
using nam... | 5d97b636498c47b831a596bb7b97292c93af1271 | [
"Java"
] | 6 | Java | challaruthvik/Playground | 649ed7f3956fab7c06f04751abdf15e2c834748f | f4074d0586414c12333d0ede97fa7b1620637caf |
refs/heads/master | <file_sep>package com.demo.plp.service;
import com.demo.plp.dao.UserDao;
import com.demo.plp.entity.Person;
import com.demo.plp.model.PersonModel;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactiona... | 1b2975f66f6a8ab1a3b473673a34e1f721fe81b6 | [
"Java",
"INI"
] | 20 | Java | apurvadas95/PLP-projects | 0198020429a181c111809a1c8e1bfc75d46b637b | bf8aa7c8647a9cc86c03a78f2e762270de31af25 |
refs/heads/master | <file_sep>package com.expedia.sol.util;
import java.util.Comparator;
import com.expedia.sol.domain.Activity;
public class ActivityComparator implements Comparator<Activity> {
@Override
public int compare(Activity arg0, Activity arg1) {
return arg0.getName().compareTo(arg1.getName());
}
}
<file_sep>package com.... | 172d0b21c84631285b1f667b31bd4dd3d3c2edd8 | [
"Java",
"INI"
] | 8 | Java | neyma6/timeTracker | 0d0599e81dbe279c38235020bcee88edd7ca8cd7 | 1a99966707cfe482c4185ef5e19fb2291364ff6a |
refs/heads/master | <file_sep># User Colors
[Github Link](html/user_colors_github.html "include")
The User Colors library allows you to assign a unique color to each users in a
[Room](../javascript_api/rooms/index.md), ensuring that there are no conflicts
with the colors assigned to other users in the Room.
By default, the library will... | 118d33f18b2acda2d4efe151c72035db891667a0 | [
"Markdown",
"JavaScript",
"Makefile"
] | 5 | Markdown | goinstant/user-colors | 1e8d15e88309f61e30fbd28a3f9eb0a2a784fb6e | 629959a9af15cc45880a4756ec58d0faf32ccb1e |
refs/heads/master | <repo_name>jayden-lee/hello-csharp<file_sep>/BigQueryExample/Program.cs
using System;
using Google.Apis.Auth.OAuth2;
using Google.Cloud.BigQuery.V2;
namespace BigQueryExample
{
class Program
{
static void Main(string[] args)
{
string jsonPath = "/Users/jayden-lee/Dev/Google/QueryPi... | afdafa95a042ebb692c5ba69a68c6986809d1028 | [
"C#"
] | 1 | C# | jayden-lee/hello-csharp | 99ec99ce73d6ab9a45437b6eebe321d05cf48bed | d40233ff632ef801f4705178750122d9d4ccde3f |
refs/heads/master | <repo_name>phiyan/dotfiles<file_sep>/create_symlinks.sh
#!/bin/bash
dotfiles=( bash_profile bash_profile_includes gitconfig gitignore gituserconfig )
source=$(pwd)
for dotfile in "${dotfiles[@]}"; do
mv "${HOME}/.${dotfile}" "${HOME}/${dotfile}.bak"
echo "linking ${source}/${dotfile} to ${HOME}/.${dotfile}"
ln ... | d068b94a70ed09529ddc279b358f310eb8ad6ab0 | [
"Shell"
] | 4 | Shell | phiyan/dotfiles | 8336cdc007240cde3071e87f948d0903a8f61731 | 44dd73fbea769dfe1dd802daa76643c413e4208c |
refs/heads/master | <file_sep>package com.example.david.twistthemobile;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.go... | 528f66b03d3b304032c8d88fdc04229e29e29c08 | [
"Java"
] | 1 | Java | DavidChao99/TTWMobile | 7cf213f01dc44bfa463c6533b51a06d39b42630f | 6d6af8a46de17a100d7c4707bf50238dc043f499 |
refs/heads/master | <file_sep>import java.io.*;
import java.util.Map;
import java.util.Set;
import java.util.TreeMap;
public class Main {
// --------------------------------------------------------------------------
public static final String LANGUAGE_CODE = "PL";
// -----------------------------------------------------------... | 805e56962e6f4e9ae0ff613015af72e113f3d50b | [
"Java"
] | 1 | Java | maciejprogramuje/DictionaryConverter | 493e688fb651aecccac53aa013d1d9be222901b1 | 8e62de1b0a1549e8b1c96e4360368273c6757fc1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.