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>tien-novum/BaseFramework<file_sep>/BaseFramework/Collection/Sequence+Sort.swift
//
// Sequence+Sort.swift
// BaseFramework
//
// Created by <NAME> on 25/07/2021.
//
import Foundation
public struct SortDescriptor<Value> {
var comparator: (Value, Value) -> ComparisonResult
}
extension SortDescriptor ... | ed1be16c84d40be4d4373603bcc593101acc0630 | [
"Swift",
"Ruby"
] | 2 | Swift | tien-novum/BaseFramework | ecc42b61ba03aeb9fd2209a974ee6a66e680e0a3 | 3f46bb02961442043bd6f028d1dde2871c01dbc4 |
refs/heads/master | <file_sep>using FluentNHibernate.Cfg;
using NHibernate;
using NHibernate.Cfg;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Web;
namespace BlogWeb.Infra
{
public class NHibernateHelper
{
private static ISessionFactory factory = Cr... | e62449e432e0b88c7a02d3290465de1f2d1b6a4f | [
"C#"
] | 17 | C# | daniloscipioni/DaniloRep | 979bd33a2496ff975d01d6e32bd13b313230cfbf | 6af958f1a91f4914258a209560cd16c9fc72258e |
refs/heads/master | <repo_name>RookY2K/scripts<file_sep>/launchWorkRDP.js
const { exec } = require('child_process');
const argv = require('yargs').argv;
const degradeParams = argv.degrade ? '-wallpaper' : '';
exec(`secret-tool lookup domain ${argv.domain} user ${argv.user}`, (err, stdout) => {
if (err) {
console.log(err);
... | 9fbc9efa22e78f0c20421a88ed3c47caaa4fa211 | [
"JavaScript"
] | 1 | JavaScript | RookY2K/scripts | d899c151583e06d43647f236c3ef2db619e034ad | b0fe69998c23d49756f1abf879a3f46f421db72b |
refs/heads/master | <file_sep>import todos from './modules/todos.js';
import products from './modules/products.js';
export default new Vuex.Store({
modules: {
todos,
products,
}
})
<file_sep>export default {
namespaced: true,
state: {
todos: [
{ id: 1, name: 'hacer deportes' }
]... | 7a845370504af3759da902f09f441c4fc5844cf6 | [
"JavaScript"
] | 4 | JavaScript | maty07/example-vuex | f8d5b107ab9cbe20b03cab3d36ffc43d67261a6f | e9576c8e97be6995286529d9376bb1caec50c8e8 |
refs/heads/master | <repo_name>AdrienDelfosse/TECHNIFUTUR-EVAND1-EXO1-STARTER<file_sep>/app/src/main/java/com/technipixl/evand1/exo1/ShoppingCartActivity.kt
package com.technipixl.evand1.exo1
import android.app.Activity
import android.os.Bundle
import android.view.Menu
import android.view.View
import android.widget.Button
class Shopping... | 7055188a5340e9b0a04332250f2af0fc4dc69bf8 | [
"Kotlin"
] | 5 | Kotlin | AdrienDelfosse/TECHNIFUTUR-EVAND1-EXO1-STARTER | 55e15031a977a89a4568811a396855e77cf77b95 | c6a347e7d344c1fbf20eb237298b06b118f7fcdf |
refs/heads/master | <file_sep>package com.fino;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.io.Writer;
import java.util.ArrayList;
import java.util.List;
import java.util.Properties;
import java.util.concurrent.TimeUnit;
import java... | d839c23ba1781ade41511d19c195b0c30f79158e | [
"Java",
"INI"
] | 3 | Java | akhiS/finodesk | 57b222d2f656d97a539e1aee61c289efac5efc4b | ce877477777c8f9c5ec616da3a8a692cd9b13fbc |
refs/heads/master | <file_sep>import matplotlib.pyplot as plt
import math
import numpy as np
from scipy.interpolate import interp1d
from scipy.linalg import block_diag
import warnings
warnings.simplefilter('ignore', np.RankWarning)
# x = np.array([0.0, 1.0, 2.0, 3.0, 4.0, 5.0])
# y = np.array([0.0, 0.8, 0.9, 0.1, -0.8, -1.0])
# z = np.... | 51aa8e6da249415cb66ecaac5ce7dd962817f3a1 | [
"Python"
] | 4 | Python | iamkevinzhao/pf_cpf | 03dd4f64585663cb6b24be23f0d801a61691a833 | c75961e841e413d4f7fb96f24ae5b2afabc5e196 |
refs/heads/master | <file_sep>package listeners;
import java.util.List;
import org.activiti.engine.delegate.DelegateExecution;
import org.activiti.engine.delegate.ExecutionListener;
import logic.Postulacion;
public class agregarPostulacionesActualizadas implements ExecutionListener{
@Override
public void notify(DelegateExecution ex... | 676ab78451ecf05a44ba73f8a67b6eff2d7a9d63 | [
"JavaScript",
"Java",
"Markdown",
"SQL"
] | 14 | Java | joaquinvillar/TBPM | bb110385b8fd29fc7f75f8cfd2e245e3e833277f | 0ce2f615039208abec5415b978d801a79119aedf |
refs/heads/master | <file_sep>let pets = ['cat','dog','rat'];
let n=pets.length;
for (let i =0; i<n;i++){
pets[i]=pets[i]+'s';
//console.log(pets[i]);
}
console.log(pets); | a5174329b70541aec310e98061c6e8e1210253ec | [
"JavaScript"
] | 1 | JavaScript | DragonMess/javascripting | 0589bb2e93b8ea47791c826069904008505066fe | 8539cca869454e86a204f49a1b919fbaa6e005c4 |
refs/heads/master | <file_sep>require 'mysql2'
config = {
db: {
host: ENV['ISUCONP_DB_HOST'] || 'localhost',
port: ENV['ISUCONP_DB_PORT'] && ENV['ISUCONP_DB_PORT'].to_i,
username: ENV['ISUCONP_DB_USER'] || 'root',
password: ENV['<PASSWORD>'],
database: ENV['ISUCONP_DB_NAME'] || 'isuconp',
},
}
db = Mysql2... | dd509de4e50741ef2a4ace25c21a6e7ac9601a3c | [
"Makefile",
"Ruby"
] | 2 | Ruby | saboyutaka/hcmpl-isu | 3c16f412544834157f539324e3d47a69946ca1e6 | f1928f9238a0af04e8134c74399036fb3ec98e53 |
refs/heads/master | <file_sep>import { Route } from '@angular/router';
import { SpreadComponent } from './index';
export const spreadRoute: Route = {
path: 'spread',
component: SpreadComponent,
};<file_sep>package com.web.rest;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import or... | c8fddb87fad91b8406bad8ec34ec4eee32eda3f2 | [
"Java",
"TypeScript"
] | 9 | TypeScript | Tariqnawaz/angular5_jhipster_project | a1ee1a33932c34d256fac1d8a740082a7cd32feb | c31b1ef8252e811e767c69662e30e872df4e2117 |
refs/heads/master | <repo_name>caminale/search-engine<file_sep>/src/app/private/private.component.ts
import {Component} from '@angular/core';
import {FormControl} from '@angular/forms';
import {Observable} from 'rxjs/Observable';
import 'rxjs/add/observable/of';
import ddpClient from '../app.authMeteorDDP';
let ddpObject;
@Component({
... | 6444eaa34c746a57f3d5208a8b93955ac2686c0a | [
"Markdown",
"TypeScript"
] | 10 | TypeScript | caminale/search-engine | 099a6fa722ca563ee2b0a972421c3f20f341825b | ca59fe9276677685268fa040130a224b8b22e6d1 |
refs/heads/master | <repo_name>devilsuse/contests<file_sep>/src/com/nano/core/exception/ReturnInTry_AndCatch_CheckFinally.java
package com.nano.core.exception;
/**
* So finally runs even in if 1. there is Return in Try or 2. Return in catch
*
* @author LXMRX
*
*/
public class ReturnInTry_AndCatch_CheckFinally
{
public... | 6c2e4c8e280d42c6d8535a9eb3c3e1f75a3dbf96 | [
"Java"
] | 89 | Java | devilsuse/contests | baabfbf1eff9ded30ec6364849c75bc4d76c4395 | 3dbaf27f15bfe3a93a6614d5b100359bc50a6764 |
refs/heads/master | <repo_name>brandonhostetter/Connect-Four<file_sep>/Helpers.js
var Helpers = {};
Helpers.$myTurnLabel = $('#my-turn-label');
Helpers.$waitingForTurnLabel = $('#waiting-for-turn-label');
Helpers.$loadingOverlay = $('#loading-overlay');
Helpers.create2DArray = function(row, col) {
var arr = [];
for (var i = 0; i... | c2283781a4ded5089ae5f38dc18b0bd2391c7e0a | [
"JavaScript"
] | 2 | JavaScript | brandonhostetter/Connect-Four | 04969f62e4970b05b597e2062d5da1218e88fa69 | 133f1348ae87882c2370ae4da36ae607f0e2dccd |
refs/heads/master | <file_sep><?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use yii\web\View;
use backend\models\Province;
use backend\models\City;
/* @var $this yii\web\View */
/* @var $model app\models\Town */
/* @var $form yii\widgets\ActiveForm */
$js = <<<JS
$(function () {
changeProvince($("#town-province_id... | c5ee724b0682d25eb6d5c7b3435b6f0e5bc5e63e | [
"JavaScript",
"SQL",
"PHP"
] | 11 | PHP | lemayi/chinatravel | 525edd793126cf3ca63a7c609113c7fd5e44779e | 0d8a41c5edf9659173fad37ac2dcdd2d55c73197 |
refs/heads/master | <file_sep>#!/bin/bash
#####################################
# setup.sh
#
# Author:
#####################################
############################################
# Check if this script is running as root.
if [[ `whoami` != "root" ]]
then
echo "This install must be run as root or with sudo."
exit
fi
# Create ... | 71c158fb132fe95666b0211e4387e3338caa0b39 | [
"Markdown",
"Python",
"PHP",
"Shell"
] | 12 | Shell | hgw3lls/genetics_PIdisplay | 22ef0d9d88afe9601d03cfc220c19f99195bcd61 | b4f7380295c7dffbd510870a5688ceffc71aecd0 |
refs/heads/master | <file_sep>var j_textarea = document.getElementById("j-textarea");
j_textarea.setAttribute("style", "-webkit-transform-origin:0px 0px 0px;opacity:1;-webkit-transform:scale(1, 1);direction:ltr;float:left;");<file_sep>package me.zogodo.baidufanyilite;
import android.support.v7.app.AppCompatActivity;
import android.os.Bun... | fabce27429813c135d996890ba71b25bf826bffb | [
"JavaScript",
"Java"
] | 2 | JavaScript | zogodo/BaiduFanyiLite | 2034dd4ba45f77c2c0e8ed0fb22f3f966640b573 | 06f23450cb6a503102a67825e680134b55f9e9a4 |
refs/heads/master | <repo_name>luist1228/SambilServices<file_sep>/pub.py
import ssl
import sys
import json
import random
import time
import paho.mqtt.client as mqtt
import paho.mqtt.publish
import numpy as np
import datetime
import psycopg2 as psy
import pandas as pd
import csv
import datetime
centrada = psy.connect(host = 'localhost'... | 59140a964605cbda4eb12607d3b407a3a36b9bae | [
"SQL",
"Python"
] | 7 | Python | luist1228/SambilServices | 08826cfddebde1d67d1803951b9fa4590bdb52e5 | 62f5dabfdb9f590118e126ca8951fc8a50b2eb61 |
refs/heads/master | <file_sep>export class PlanCompleted_POST {
item: number
value: string
time: string
}
export class PlanCompleted_GET extends PlanCompleted_POST {
id: number
}<file_sep>import { Component, OnInit } from '@angular/core';
import { ArticleService } from '../../core/services';
import { Subscription } from '../../..... | c63dc90516faa7e21d2fba53aad6587f26c0ba6a | [
"TypeScript"
] | 52 | TypeScript | flycsqaq/personal-web-front | 395142cdb39cbacaac9a74ba428b846fd3a48f67 | 887380a6b7ec4350c171db95c35807bfc3f16262 |
refs/heads/master | <file_sep>package com.ict.sp.service;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ict.sp.dao.TestDAO;
import com.ict.sp.vo.Dept;
@Service
public class TestService {
@Autowired
private TestDAO tdao;
... | 1147e7725aecd1a0f3986381e9d75af66ffdf387 | [
"Java"
] | 1 | Java | reparkye/ict_spring | 63038d3bf637ec46d033702e1b7bd6f82edb0a49 | 1aa7ebc00cd1e0d4c1ca462e8b8aeb672f55ec50 |
refs/heads/main | <repo_name>MicoMorenoPH/Api_GetMethod<file_sep>/API_GetMethod.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using masterDatabase;
using System.Web.Http.Cors;
namespace page2APIdemo.Controllers
{
[EnableCors(origins: "h... | 0dc99ddcb8bdfb9f61d4dcc44fa77ccd8e3da23d | [
"C#"
] | 1 | C# | MicoMorenoPH/Api_GetMethod | 394c55f02aa7d65a933c861c9fe474da8a26649e | 3be842f2f837c272c0c2c2a6b744370fd34ad01a |
refs/heads/master | <file_sep>#!/bin/bash
if [ "${__SCM__:-}" != 'Loaded' ]; then
__SCM__='Loaded'
# ---------------------------------------------------------------------------
#
# Load configuration parameters
#
CONF_GET "SVN_PARENT_PATH"
#
# Test parameters
#
if [ -z "${SVN_PARENT_PATH}" ]; then
echo "ERROR:... | 42805f3e009c72290a0f3e8ad020b4d60d195d4c | [
"Markdown",
"Shell"
] | 4 | Shell | tchemineau/svnadmin-tools | d638fd77cd217d17262e058755db63fc21927a29 | f7f6a928bcc7a9be73692c4b9ad80df73b06b846 |
refs/heads/master | <repo_name>ilya-kochergin/coursera-statinfer-cproject<file_sep>/exp_means_ctl_demo.Rmd
---
title: "Central Limit Theorem demo"
subtitle: "Statistical Inference course project"
author: "<NAME>"
date: "22 nov 2015"
output: pdf_document
---
```{r}
library(ggplot2)
```
##Overview
[//]: # (Overview: In a few (2-3) senten... | 701cf7714dba4cbd626060ca0757d70247651461 | [
"R",
"RMarkdown"
] | 4 | RMarkdown | ilya-kochergin/coursera-statinfer-cproject | f9cbaeaf4ff7712eeab18d1404429ba3d25cf3d6 | bbc525f27651fcc619dae09d354864792d2336fc |
refs/heads/master | <file_sep>import java.util.Arrays;
import java.util.Random;
public class Main {
public static void main(String[] args) {
int array[] = new int[1000];
Random rand = new Random();
for (int i = 0; i < array.length; i++) {
array[i] = rand.nextInt(10000);
}
long st... | 23153b53b46cce6ba276d10147ca6d122f61ca08 | [
"Java"
] | 5 | Java | Bennasser-Chafi/Algorithmics | e73a0e8d4a5ab9e3c936aff31c5396732aa717d8 | d6c2dc456072316d24253ec99d04a5db08196424 |
refs/heads/master | <repo_name>krabbyCTL/cys-statics<file_sep>/get.sh
#!/bin/sh
main() {
need_cmd curl
need_cmd wget
need_cmd uname
need_cmd tar
need_cmd gzip
need_cmd bzip2
need_cmd xz
rm -rf ~/.cys
mkdir -p ~/.cys
pushd ~/.cys
info "Downloading Tar files"
wget https://github.com/crazystylus/cys-statics/releases/download/v... | 6e458ee89f765c460745a3c5749b31e30d085511 | [
"Markdown",
"Shell"
] | 2 | Shell | krabbyCTL/cys-statics | 33752ad8bc1f7cc53487cea4130deaf09927c0fd | 792ba26d72cb078bc64b4ac890639cd4645f9c72 |
refs/heads/master | <repo_name>hitoyozake/sandbox<file_sep>/python/scrap.py
# -* encoding: utf-8 *-
import requests
import lxml.html
response = requests.get('http://gihyo.jp')
root = lxml.html.fromstring(response.content)
print(root)
for a in root.cssselect('#mdHeading01Txt')
<file_sep>/README.md
# sandbox
言語の各機能を試したり
コードをちょっと試したりするリポ... | afa7ccf94157ee3d6c77444760292a642540bca1 | [
"Markdown",
"Python"
] | 2 | Python | hitoyozake/sandbox | 4bdb376a9cd834b7c06a5a4914771a56fc83b18a | e8d6fe56cbcac581f529dbdf5b1a2b3bfdaa41f5 |
refs/heads/master | <file_sep>// polyfill React in IE < 11
import 'core-js/es6/map';
import 'core-js/es6/set';
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
import './index.css';
// rem 适配
(function (window) {
var docWidth = 750 // 设计图宽度
var rate = 100 // 1rem = 100px
var minWidth = 320 // ... | ddd176b31bd0c2563c871d74d674fa698cf6e96f | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | HaoChuan9421/seamless-scroll-demo | ddd5fd2d722022453eb130ab6c370013000f3938 | 609c5c0f030d50deb35dc55363e62df3cabfc9f7 |
refs/heads/master | <file_sep>#include <protocol.h>
void protocol_init(void)
{
}
<file_sep>#include "stm32f10x.h"
#include "stm32f10x_exti.h"
#include <io.h>
#include "FreeRTOS.h"
#include "timers.h"
// Port numbers: 0=A, 1=B, 2=C, 3=D, 4=E, 5=F, 6=G, ...
#define LED_PORT_NUMBER (2)
#define LED_PIN_NUMBER ... | 3236bb25b9dbd8b477e13c5ccd28330e5de42376 | [
"C"
] | 15 | C | mkopertowski/stm32_platform | 613a1ecc988a9e65203b0cbeffa80a899c8c1dde | ab5fa75e4144993daaf77d1a73750a962882de27 |
refs/heads/master | <repo_name>shivankkhare/intuigine<file_sep>/src/components/Home.js
import React, { Component } from 'react'
import Counter from './Counter'
import Navbar from './Navbar'
import axios from 'axios'
class Home extends Component {
constructor(props) {
super(props);
this.state = {
error: nu... | b4d89a4191005edf0aa8f7e210ffa7b7c543875d | [
"JavaScript"
] | 1 | JavaScript | shivankkhare/intuigine | 11107eb1091cef5e18dc578122fcb7c2c364e09c | fd4de4e17c143d755a516a0699cb2f01fd3daabe |
refs/heads/main | <file_sep>import firebase from 'firebase';
const firebaseConfig = {
apiKey: "<KEY>",
authDomain: "india-chat-app-706b0.firebaseapp.com",
projectId: "india-chat-app-706b0",
storageBucket: "india-chat-app-706b0.appspot.com",
messagingSenderId: "614956211301",
appId: "1:614956211301:web:c169d9e96... | 6027ed8ffa8d060df262de33a4d3530b93672e09 | [
"JavaScript"
] | 1 | JavaScript | altaf53/chatapplication | 4db6f1c50aba8b07ee5a3019399915c8c55a5596 | 53a6f9379fdf3ac942bbb161a3d5ac44ce45c491 |
refs/heads/master | <repo_name>unography/creative-coding<file_sep>/p5-self-doubt-art/sketch.js
// Original by https://www.openprocessing.org/sketch/529835
var particlesQuantity = 900;
var positionX = new Array(particlesQuantity);
var positionY = new Array(particlesQuantity);
var velocityX = new Array(particlesQuantity).fill(0);
var velo... | 08fa846ac781aa55489fe90ea2300d1975b55431 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | unography/creative-coding | c8752000e33c718ebd71b14caa6c0f90a0d506fe | d234af6d622915240873bb269e8c09e7d8e78f0e |
refs/heads/master | <file_sep>source 'https://rubygems.org'
gem 'listen', '3.1.5'
<file_sep>#!/usr/bin/env ruby
require 'listen'
require 'shellwords'
def log(msg)
puts "#{Time.now} #{msg}"
end
def main
print_usage_and_exit! if ['-h', '--help'].include?(ARGV.first)
print_usage_and_exit! unless ARGV.size == 2
# Figure out... | 59d108f2874d40b247b12f333cfb263365817a46 | [
"Markdown",
"Ruby"
] | 3 | Ruby | shinypb/watchnrun | 22fe9162c244a1e95d3608fffc335a17912e73d6 | d38c88aaf60b4028549c5d02d3454f3761f8bef1 |
refs/heads/master | <file_sep><?php
/**
* Linna Framework.
*
* @author <NAME> <<EMAIL>>
* @copyright (c) 2018, <NAME>
* @license http://opensource.org/licenses/MIT MIT License
*/
declare(strict_types=1);
namespace Linna\Tests;
use Linna\Authentication\Password;
use Linna\Authentication\UserMapper;
use Linna\Authorization\Permissi... | 1a4ea4ee1c27d0c3b17db2c18a2c49618ce3459c | [
"Markdown",
"PHP"
] | 5 | PHP | open-source-contributions/auth-mapper-pgsql | cf324494c9be52cd7c124905bb99b9dbc1bfbde9 | 83449035b1ce65fc8a38d1ab28358625624bdedf |
refs/heads/master | <repo_name>4X0L073/ipk-exercises<file_sep>/Blatt2/Aufgabe2.cpp
#include <iostream>
void collatz(int x ) {
while ( x != 1 && x != 0 && x !=-1 && x!= -5 && x != -17 ){
if( x % 2 == 0){
x = x / 2;
}
else {
x = x * 3 +1;
}
}
std::cout << "Das Ergbnis ist: " << x << st... | 6bee665245d15d028d44ac23ed6f4e2616693a4b | [
"C++"
] | 4 | C++ | 4X0L073/ipk-exercises | 317be7723906cd056f2ca8f14d53e4e214be233e | a961c9c7ab46e8354512818f06725b919f2268e6 |
refs/heads/master | <file_sep><?php
session_start();
require_once 'connection.php';
if(!empty($_GET['id']) && $_SERVER['REQUEST_METHOD']=='GET')
{
if((int)$_GET['id'])
{
$id = $_GET['id'];
$sql = "SELECT * FROM tbl_login WHERE id=".$id;
$result = mysqli_query($conn,$sql);
$userdata = mysqli_fetch_a... | 1ea4c4a15e391c5c1a1cce44f194138b4aa5da16 | [
"Markdown",
"PHP"
] | 7 | PHP | Karkisushant/login | dd07061a47785e508c0cd6e705e6580a27a22c2b | a05ec87f920ead2265d99a211c8a5ab8929d06c7 |
refs/heads/master | <file_sep>import java.util.*;
/*
Master class of both decryption classes.
*/
class code
{
WordDictionary dic;
String m_ValueToDecrypt;
public code(WordDictionary dict)
{
this.m_ValueToDecrypt = "";
dic = dict;
}
public code(String input, WordDictionary dict)
{
this(dict);
this.m_Va... | cf9f5189af793c2f541c8c3f8f3705b8aa5a015a | [
"Java",
"Text"
] | 6 | Java | Gorexxar/CeasarBoxDecoder | 82451b9b350ad486eae11dbbda6f860445eaebdd | fe204cb79c118471a4b644edaf0f0b2cd2a81775 |
refs/heads/master | <repo_name>nagadeepsharma/backend<file_sep>/api/migrations/0005_auto_20210619_1137.py
# Generated by Django 3.2.2 on 2021-06-19 06:07
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('api', '0004_blogs'),
]
operations = [
migrations.AddFi... | 972fb98910918a05a6c436de26844abc5b4794d8 | [
"Python",
"Text"
] | 9 | Python | nagadeepsharma/backend | f713f2cf0365bf7fe583fce79a742a5d0a549593 | 9336f2b41ca291b5aad31bd5268c3eead21a0978 |
refs/heads/master | <file_sep>##[Simple Chat Client](http://simplechatclient.github.io "Simple Chat Client Offical Site")
Simple Chat Client is a lightweight and simple program which allows talking in the czat.onet.pl
without using a browser or java.
The program of the assumptions is small, lightweight and stable client.
<file_sep>/*
*... | 0a2d18aa3a464543712c9be4c73ad1aa0962bf7f | [
"Markdown",
"Java",
"Gradle"
] | 13 | Markdown | simplechatclient/simplechatclient-android | 0eb530dc1cfbd8294f9caf3cae1a61a14094c064 | 6e1166d68a5267ebbe0d31266ca91c23e8ba2c4b |
refs/heads/master | <file_sep>import { withRouter } from 'next/router';
import Layout from "../components/Layout";
const Post = ({ router }) => (
<Layout title={router.query.title}>
<p style={{ width: "80vw"}}>
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Itaque quae, dicta ipsum natus explicabo nemo quos eligen... | cbc76dce11762d4ad0e375f0ab55a4aa8a950bf1 | [
"JavaScript"
] | 1 | JavaScript | landon-sturgeon/next-js | dd0837651cbc8717cc4ffd04987d1291265b1219 | bc55ade791b97eda0955bd5a9d25c5d227bcb9e5 |
refs/heads/master | <file_sep>/* feedreader.js
*
* This is the spec file that Jasmine will read and contains
* all of the tests that will be run against your application.
*/
/* We're placing all of our tests within the $() function,
* since some of these tests may require DOM elements. We want
* to ensure they don't run until the D... | bc6bef0e46b7d19b3ae16bda65dff4246ecd4326 | [
"JavaScript"
] | 1 | JavaScript | Tuxhedoh/frontend-nanodegree-feedreader | dbebdf0dac302f283c42d21f2aca4177338947f8 | a85df4ed36aa138ec98f388bb613afc8dc730ff8 |
refs/heads/master | <file_sep>import { Injectable } from '@angular/core';
import { Http, Headers, Response, RequestOptions } from '@angular/http';
@Injectable()
export class AccountService {
account: {};
constructor(private http: Http) { }
getAccount(){
let headers = new Headers();
headers.append('X-XFERS-USER-AP... | 38d3723b028df47bad3056dc23220116c658b114 | [
"TypeScript"
] | 3 | TypeScript | prasaria/xfers-api-webapp | e9cd09867f42d81f95decfed211899f51c327352 | a67120f69a68808a9898c556fc43e03c25648074 |
refs/heads/master | <repo_name>victor-whong/fa<file_sep>/fa-base/src/main/java/com/yidu/bond/paging/BondTradePaging.java
package com.yidu.bond.paging;
/**
* 类的描述:债券交易数据搜索分页字段
*
* @author wh
* @since 2020/9/6 13:02
*/
public class BondTradePaging {
/**
* 债券交易编号
*/
private String bondTradeNo;
/**
* 基金名称
... | 16273e58b22c605fe6638e0abb71eced0caf098b | [
"JavaScript",
"Java"
] | 56 | Java | victor-whong/fa | 8083103940d9ea7bab23d7306c61af25115bf28b | 4e7a850243e34a59e45db714cf69efd7c6b904b9 |
refs/heads/master | <file_sep>import argparse
import random
import sys
import time
import uuid
import rl_client
class my_error_callback(rl_client.error_callback):
def on_error(self, error_code, error_message):
print("Background error:")
print(error_message)
def load_config_from_json(file_name):
with open(file_name, 'r') a... | ec5d8b89512a4357970e2f139a506dace6419df6 | [
"Python"
] | 1 | Python | anupamandroid/vowpal_wabbit | 5becde24fd1464e8fc7bbcc02312fbdb8f12891d | c99b65e9853d500fc54021c1d40d3a245c4daa2c |
refs/heads/master | <repo_name>ning5280/node_spider<file_sep>/qingchun.js
var http = require('http');
var fs = require('fs');
var cheerio = require('cheerio');
var request = require('request');
var i = 0;
var baseUrl = "http://www.mm131.com/qingchun/";
var url = baseUrl+ "2435_43.html";
var iconv = require('iconv-lite');
var maxnum = 88... | 5005e23acff7fd9cea087ad262b25c6ebdf7ec26 | [
"JavaScript"
] | 1 | JavaScript | ning5280/node_spider | 0934c93503dddee5d8a50f4eec8323ec8287431b | b67d4390b424dcb51ab13d78893cd72de0600b87 |
refs/heads/master | <repo_name>ZhangFengze/CrazyTang<file_sep>/client_ue4/CrazyTang/Config/DefaultGame.ini
[/Script/EngineSettings.GeneralProjectSettings]
ProjectID=A6A872A34055230CDE5B038326D617E9
<file_sep>/common/Voxel.cpp
#include "Voxel.h"
#include "FastNoiseLite.h"
namespace ct
{
namespace voxel
{
bool _InRange(int... | 4cce7dfa34e15ebbf640240d327dd4590c07e579 | [
"CMake",
"Markdown",
"INI",
"C#",
"Python",
"C++"
] | 50 | INI | ZhangFengze/CrazyTang | d96daf53c69ab71b53e4428764550553a527928a | ac8f12f83e7b5175604eb48ac035731e984054af |
refs/heads/master | <repo_name>vscopise/caretas-2021<file_sep>/packages/caretas-2021-theme/src/components/index.js
import React, { useEffect } from 'react';
import { connect, css, Global, Head, styled } from 'frontity';
import Switch from "@frontity/components/switch";
import Title from './title';
import Header from './header';
import Foo... | 0f63d4a607c32b6d52ca1f4a3ace21cbe4652d68 | [
"JavaScript",
"TypeScript"
] | 29 | JavaScript | vscopise/caretas-2021 | 6e6ee28e094b42d61efd1d754b0cbb51091d76be | ba4f5ec36c7efc7b3e01a3a1632c0f9b624c1488 |
refs/heads/master | <file_sep>from gdb import *
#USAGE: reload(vault_solver).VaultSolver(x()).solve()
START = 2623
FINISH = 2578
FINISH_VALUE = 30
def is_op(symbol):
return symbol in ['-', '+', '*']
def apply_op(a, op, b):
if op == '-':
return a - b
if op == '+':
return a + b
if op == '*':
retur... | 9c3ad7e180c91db12b376c2bcc59372c84bc74d1 | [
"Python",
"Text",
"C++"
] | 11 | Python | pankdm/synacor-challenge | 6289c3cc0ee0e4d10f40473e10ee87ac03f66317 | fd15f17450d8d21eb142ad70d5675d1a6859bbd1 |
refs/heads/master | <file_sep>CREATE TABLE IF NOT EXISTS `dummy` (
`id` bigint(20) unsigned NOT NULL,
`name` varchar(255) NOT NULL DEFAULT '',
`comment` varchar(255) NOT NULL DEFAULT '',
`created` datetime NOT NULL DEFAULT '2000-01-01 00:00:00',
`updated` datetime NOT NULL DEFAULT '2000-01-01 00:00:00',
PRIMARY KEY... | bdd5336e1edfe28a6b0dc673d16c3affd72c8401 | [
"Markdown",
"SQL",
"PHP",
"Shell"
] | 6 | SQL | oz-urabe/qiita-for-csv-download | da5d2db11639f9a5c19b243bd1cc55ff649f105d | ecac7282423020d4d668e1d61b28ebd6f21b489d |
refs/heads/master | <repo_name>osejob/hw4<file_sep>/index.js
// I struggled to put this together, and couldn't get the APIs to work unfortunately. I definitely underestimated
// this assignment and didn't leave myself with enough time. I was able to do the 3-column newspaper layout and
// was also able to get the ads to work. I feel lik... | 5e5d246ab2a2c364bad2fc5359834daa145d364d | [
"JavaScript"
] | 1 | JavaScript | osejob/hw4 | 2dbbd6c4669ac0e103e9d5951df40a5a88182a91 | c335edf6870584635efc15dee80d5e0e8a78314f |
refs/heads/master | <file_sep>#!/usr/bin/python
# -*- coding: utf-8 -*-
from lxml import etree
import string
html = '''
<book>
<author>Tom <em>John</em> cat</author>
<author>Jerry <em>Bush</em> mouse</author>
<pricing>
<price>20</price>
<discount>0.8</discount>
</pricing>
</book>
'''
selector = etree.HTML... | e9cc030a769f467565ffd24291e00f59e785e12d | [
"Markdown",
"Python"
] | 6 | Python | zhaoshihan/Simple-Scrapy | 88a9a39234ab628ff74b6b2148d50f6574f8403e | 18f3ae6a0f1184dab7db0b973efa60a999736e64 |
refs/heads/master | <repo_name>kiranjadhavcreditsystems/FullStackApplication<file_sep>/CSIHRMCRUD/src/main/java/com/csi/controller/EmployeeController.java
package com.csi.controller;
import java.util.List;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annota... | 0a5607787c972b510d0a83724b4fb097bc196d46 | [
"Java"
] | 1 | Java | kiranjadhavcreditsystems/FullStackApplication | 4327408c916bc2e1ede5cff5a3e275e9ecdcd1f0 | 6d54caeedb75e5ba743279e6a3abb21533a4b893 |
refs/heads/main | <repo_name>brentoooo/hw5<file_sep>/6.37/source/hw.c
#include<stdio.h>
#include<stdlib.h>
int main(void)
{
int integer[20];
int max = 0;
int i = 0;
int j = 0;
char y;
printf("Enter a integer: ");
do
{
scanf_s("%d", &integer[20]);
i++;
for (j = 0; j< integer[20]; j++)
... | 8944cc9564c238db7f91b8ff59a3c9aedd54f52c | [
"C"
] | 1 | C | brentoooo/hw5 | 0018844b8c665d0374181b605dfeb6878c26fce2 | f78beebd3c3dff37c928ec974c29310579d0ee3b |
refs/heads/master | <repo_name>freethinker/adsenseclient<file_sep>/project/jni/process_reports.c
#include "adsensejni.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <regex.h>
#define LINESIZE 1000
#define DELIM "\t"
void create_report(FILE *fp, FILE *fpout, char *timeRange) {
char *buf;
... | 447212ef30d1cc22661c581feba05c6b120faeec | [
"Java",
"C",
"Makefile"
] | 11 | C | freethinker/adsenseclient | 6691085f62245d132146f1145219099628322fa9 | b4aa403fc4bb18355d118dcfa1b411f78796b460 |
refs/heads/master | <repo_name>webmapsolutions/MapQuest-Customizable-Mobile-App<file_sep>/mobile_app/js/custom.js
$(document).ready(function(){
$('.view_select').click(function(){
var list_w = $(this).attr('list_w');
var map_w = $(this).attr('map_w');
var list_left = $(this).attr('list_left');
var map_left = $(this).attr('map... | 92ee263163e5a5617a935e587d8ce4ba8a97affd | [
"JavaScript",
"PHP",
"Markdown"
] | 4 | JavaScript | webmapsolutions/MapQuest-Customizable-Mobile-App | ff879046c2e05293344ca5ce52918207e48c2956 | 58d37277ea89114c6153cf01431d63442da08990 |
refs/heads/master | <repo_name>zettajs/zetta-sphero-driver<file_sep>/README.md
# Sphero Zetta Driver
[Zetta](http://zettajs.io) device package for Sphero Driver.
## Install
```
npm install zetta-sphero-driver
```
## Usage
```js
var zetta = require('zetta');
var Sphero = require('zetta-sphero-driver');
zetta()
.expose('*')
.use(S... | 2724b9b46fcd9e0eca57ef2485654b6174417239 | [
"Markdown",
"JavaScript"
] | 3 | Markdown | zettajs/zetta-sphero-driver | 5853cdb9c8166d22a47409287d76a8e8f7063236 | 6423f4bd5037dbbf5d170f2c53a93487afd3bf26 |
refs/heads/main | <repo_name>sayah-rouas88/raqin<file_sep>/raqin-api/go.mod
module raqin-api
go 1.15
require (
github.com/labstack/echo/v4 v4.2.1
github.com/stretchr/testify v1.7.0 // indirect
golang.org/x/crypto v0.0.0-20210220033148-5ea612d1eb83 // indirect
)
<file_sep>/raqin-api/api/router/admin_routes.go
package router
import ... | a130c0cf40a3fb2e032ae2ec693ac25d11038df1 | [
"Go",
"Go Module"
] | 6 | Go Module | sayah-rouas88/raqin | f396ffeb95b4c677c8e3169786f373f50c42ef77 | 928f06933a7777104f37974e2946fecc6ad332bb |
refs/heads/master | <file_sep><?php
/**
* PHP Exif Reader Adapter Abstract: Common functionality for adapters
*
* @link http://github.com/miljar/PHPExif for the canonical source repository
* @copyright Copyright (c) 2013 <NAME> <<EMAIL>>
* @license http://github.com/miljar/PHPExif/blob/master/LICENSE MIT License
* @cate... | aa654bcdacd829a692fc295f46c3880b8ecf7f34 | [
"PHP"
] | 7 | PHP | ericduran/php-exif | afa6d4250ccc0f52fa2d63af8a4eda4f1f5251ac | 9062ce788ad9b7329692fe4d4db29020bf5e76ae |
refs/heads/master | <repo_name>pfctgeorge/bar<file_sep>/bar.go
package bar
import "github.com/pfctgeorge/foo"
func Print() {
foo.Print()
}
| d3753782569c01cb5835470b092dc7b2a872ce54 | [
"Go"
] | 1 | Go | pfctgeorge/bar | 55dbf972fcb32d4a37279e59437ceffd42e12c33 | 51cc63f92e8a791992c8f85b83d4fffb0418c622 |
refs/heads/master | <repo_name>lawso017/middleman-sprockets<file_sep>/lib/middleman-sprockets/version.rb
module Middleman
module Sprockets
VERSION = '4.0.0.rc.3'.freeze
end
end
| fbf04b018ed9ac9e358c0549cb47d5fbbe613dbf | [
"Ruby"
] | 1 | Ruby | lawso017/middleman-sprockets | ab9f3fdd7e7b2a79f143fd132b8a384e0573b4b8 | 04b4b8e80777926988b204c6cca0b48e729df388 |
refs/heads/master | <repo_name>iwansafr/spa<file_sep>/application/view/index.php
<!DOCTYPE html>
<html>
<head>
<title>spa</title>
<link rel="stylesheet" type="text/css" href="<?php echo base_url('assets/bootstrap/css/bootstrap.min.css') ?>">
<link rel="stylesheet" type="text/css" href="<?php echo base_url('assets/font-awesome/css/font-... | 59b57652d6756dcc192a54b6e541693c3faa2836 | [
"PHP"
] | 4 | PHP | iwansafr/spa | ba8bfcf1977a2a3a04fc6bc21c8efd69a7e25c76 | 62ba84f074a1754a18f63d99e5410ca58c5bccb1 |
refs/heads/master | <file_sep># Créer des widgets avec VueJS
## Résumé
Ce répertoire contient un template pour construire et publier des widgets web avec VueJS.
C'est le coeur de la solution utilisée par Etalab pour réaliser le [dashboard de suivi de l'épidémie de Covid19](https://github.com/etalab/covid19-dashboard-widgets) publié sur... | 82d562c1dcb85380bc8e716665b2c18c13c0f40d | [
"Markdown",
"JavaScript"
] | 2 | Markdown | etalab/dashboard-widgets-template | f86e635e596bfd51f2f3f32e076e796d92513bff | 920c107e10892833740a14697fab1e5538bdfcdc |
refs/heads/master | <file_sep>package main
import (
"flag"
"fmt"
"log"
"os"
"text/tabwriter"
"maze.io/x/esphome/cmd"
)
func main() {
flag.Parse()
client, err := cmd.Dial()
if err != nil {
log.Fatalln(err)
}
defer client.Close()
var (
entities = client.Entities()
w = tabwriter.NewWriter(os.Stdout, 0, 0, 2, ' '... | 4ef75e4de8152fe14e8eedac344d9fab2dcdcfaa | [
"Markdown",
"Go Module",
"Go"
] | 15 | Go | go-http/esphome | 572cb0f10fd524f8b866d76322983770d34ce9c0 | b135e8d4fb0d19691e41c08db3602fc2751771d5 |
refs/heads/master | <file_sep>#!/bin/bash
cp -rf ~/.vim vim
cp ~/.vimrc vimrc
find vim/ -type d -name ".git" | xargs -d '\n' rm -rf
| 3af81507f46989aa51fe3e2ce708e6d66f7dbd4a | [
"Shell"
] | 1 | Shell | keitht226/vimfiles_manual | cc21b9c5c7d652cf792d1f6fd9b583c43f057c9b | 374efdd9cf099f286c2c88f2f7366ee9610b2fc8 |
refs/heads/master | <repo_name>xli/mingle-events<file_sep>/lib/mingle_events/poller.rb
module MingleEvents
class Poller
# Manages a full sweep of event processing across each processing pipeline
# configured for specified mingle projects. processors_by_project_identifier should
# be a hash where the keys are mingle proj... | 47c6d99eeecf41b68c5313b36b7fc48e6059bb2c | [
"Ruby"
] | 24 | Ruby | xli/mingle-events | 2b46253f27c3e6c28aad48b266c6e3b65695be48 | 077583c5c43eaf9c3bbc9bb9dcdaeab158732b14 |
refs/heads/master | <repo_name>alfchaval/InventoryFragment<file_sep>/app/src/main/java/com/example/usuario/inventoryfragment/db/repository/DependencyRepository.java
package com.example.usuario.inventoryfragment.db.repository;
import com.example.usuario.inventoryfragment.pojo.Dependency;
import java.util.ArrayList;
import java.util.Colle... | 2b3389a7b67624d355503f80b9ce292b4cb5df0c | [
"Java"
] | 12 | Java | alfchaval/InventoryFragment | eb5e16b77ba4d64c32d273c9f4c7c3f65113985d | c42637a6119173e6d459de74679e3f855d707182 |
refs/heads/master | <file_sep>class Vector{
public:
Vector(int size);
double &operator[](int i);
int size();
private:
double * elem;
int sz;
};
<file_sep>#ifndef Board_h_
#define Board_h_
class Board{
public:
Board(int nrows, int ncols);
int get(int row, int col);
void set(int row, int col, int value);
... | 3ae8687e5514ab59f84278f0b0773a71750f44c7 | [
"C++"
] | 14 | C++ | dido18/gameoflife | 5c2368c8ee970cc49e3cd1831972d9169eea6374 | a10c3fd3dfdce7523a9c1c604e7578e70023a883 |
refs/heads/master | <repo_name>kazmi066/react-production-boilerplate<file_sep>/src/navigation/RouterConfig.js
import React from "react";
import { Switch, Route } from "react-router-dom";
import Home from "pages/Home";
import Dashboard from "pages/Dashboard";
import { NotFound } from "navigation/NotFound";
import { ROOT, DASHBOARD, PAGE1, ... | e3b2959d1753a38176a8683934e4834fe031323f | [
"JavaScript"
] | 1 | JavaScript | kazmi066/react-production-boilerplate | fb360b6fb33cf14d49f9b3930874366814a76b53 | 2e31333fa36190aae712da7e62be568f6899962b |
refs/heads/master | <repo_name>farhandewapb7/project-KKSI-7<file_sep>/tambah_produk.php
<html class="no-js" lang="zxx">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>HANTOK</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initi... | 4fb08eba2541ce634ffd8525a906a86ae72a16db | [
"HTML",
"PHP"
] | 9 | PHP | farhandewapb7/project-KKSI-7 | cacf652ca90fcee97448bc135fdee5381aee7604 | 2ca593c768c52b12d6f926f9f7db8559b8cb3be5 |
refs/heads/master | <repo_name>AlokeDeepGanguly/node-course-3-todo-api<file_sep>/server/db/mongoose.js
var mongoose = require('mongoose');
mongoose.Promise=global.Promise;
mongoose.connect(process.env.MONGODB_URI);
module.export={mongoose};
| bbae5a48da697a4147cd314bda4807a74536229c | [
"JavaScript"
] | 1 | JavaScript | AlokeDeepGanguly/node-course-3-todo-api | 6f3cf99ac6db2ec83fb3a6ceacf629cb36ec3a75 | 3119a50c8d1c065532dbac18888ecf21d5df5a75 |
refs/heads/master | <repo_name>seanfinnessy/typing-test<file_sep>/autotyping.py
from selenium import webdriver
from selenium.webdriver.support.ui import WebDriverWait
from bs4 import BeautifulSoup
import pyautogui
import time
from timeit import default_timer as timer
import random
print('What length of test would you like? Please enter 1... | c089458f9b7d041e7563298dcb68a6dfdcf17823 | [
"Python"
] | 1 | Python | seanfinnessy/typing-test | 0adfecb6d2bb1f042f9424bcb738f60a9121b5ef | e146ec7937fdfbb401da13ab573f96dbb00c9b3b |
refs/heads/master | <repo_name>CarlosLopGarcia/Practica-MP<file_sep>/src/Servidor/PrincipalServidor.java
package Servidor;
public class PrincipalServidor {
public static void main(String[] args) {
System.out.println("SERVIDOR INICIADO");
ModeloServidor modeloM = new ModeloServidor();
ControladorServidor contro... | 01585afa843ea84178b413574d0e2271feafa8f9 | [
"Markdown",
"Java"
] | 3 | Java | CarlosLopGarcia/Practica-MP | 8d8a4f58e93b0fbe0b8103c8766bd4fa596172d1 | cf1cea4d3924a3feda008e6f98c1e1d673530817 |
refs/heads/master | <repo_name>Penaus/Informatik<file_sep>/Experimente/007UngeradeZahl.c
#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main(void) {
int iEingabe = 0;
printf("Programm um zu testen, ob die eingegeben Zahl ungerade ist.\n""Bitte Zahl vom Typ Integer eingeben: ");
scanf("%d", &iEingabe);
rewind(stdin);
if (iEi... | 3cf8836a53b1f930262bd42e2b92b71c0adb9bbe | [
"C"
] | 5 | C | Penaus/Informatik | 0176d8ccdbecb650dcf0d2b99772ce571401f908 | 2aa121b99a0749feebcf87257b99d8efcff190b7 |
refs/heads/main | <file_sep># Personal Code Notes, Recipes, and Research
Feel free to look around. This is not comprehensive, just a bunch of
random notes as I experiment and discover different things, sort of like
a repo full of Gists.
* [Smallest Docker Go Image](docker/go/smallest)
* [Smallest Docker Go Image(without Go)](docker/go... | e38044d78c8441b178ce627b9a44c90423098afc | [
"Markdown",
"Go",
"Go Module",
"Dockerfile",
"Shell"
] | 11 | Markdown | Playfloor/codebook | 96a8d769283fecd01a9060af28f0fdd25c25a800 | 19320f892dee5d0c977c2ab829e2a8149b2a0dbf |
refs/heads/master | <repo_name>VishalHasija/ChatApp<file_sep>/internal/handlers/handlers.go
package handlers
import (
"net/http"
"log"
"github.com/CloudyKit/jet/v6"
"github.com/gorilla/websocket"
)
var views = jet.NewSet(
jet.NewOSFileSystemLoader("./html"),
jet.InDevelopmentMode(),
)
var upgradeConnection = websocket.Upgrader{... | b441a0162fc595226f7180a948f283b4e8e97693 | [
"Go Module",
"Go"
] | 2 | Go | VishalHasija/ChatApp | 9626ba8becbc04fd6bed698b047b8cabdd043581 | 49ec3c2bdd48e63ae7a68e956edf70a3c6368206 |
refs/heads/master | <file_sep>package main
import "sync"
// setup
const (
N = 1000
Conc = 1000
)
type adder struct {
sum int
N int
}
func (a *adder) add() {
for i := 0; i < Conc; i++ {
a.sum++
}
wg.Done()
}
func newAdder(n int) *adder {
return &adder{sum: 0, N: n}
}
var adders = make([]*adder, Conc)
var wg = sync.Wait... | 91d22ee786c37b95d1808f399fcbde82f4729eb8 | [
"Go"
] | 6 | Go | jasonsatran/go_learning | 423dbf7167dfaf0820c26efe8c98a88aefc57b3a | eb7e4a1c2b6e5cc9371e25eeaa9027d856a4b364 |
refs/heads/master | <repo_name>alekseef/game<file_sep>/index.js
window.onload = function() {
for (let i=0; i<50; i++) {
update_stocks();
}
update();
setTimeout("create_led(0)",0);
setTimeout("led_go()",1);
setTimeout("delete_led()",1700*speed_led);
};
var div_money = document.getElementById... | d440e1813fed25197e144177dd6758db6aaba540 | [
"JavaScript"
] | 1 | JavaScript | alekseef/game | 884f37ada86e325d739e2047cfca3c4035b3d673 | e214ba93af4c127192376df3e1669c4d8fc17dba |
refs/heads/master | <file_sep>using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Boking
{
public class ViewManager : Singleton<ViewManager>
{
private Dictionary<string, ViewController> m_ControllerDict = new Dictionary<string, ViewController>();
private List<string> m_Showin... | 28edd4715ab0542ca53ec84cf3602c8d02e9d4af | [
"C#"
] | 15 | C# | bokingtomas/BokingUnity3D | 6ed60f2a4bf7534183acb40372d9c88719461134 | b4e3291c213357d3264528e1b22a23d80907f73c |
refs/heads/master | <repo_name>marmibv/bitbot_binance_price-fluctuations-Noise<file_sep>/README.md
# Bitbot Binance
This program is Cryptocurrency trading bot for Binance. Written in Javascript , running on NodeJS.
### Installation
```
git clone https://github.com/indy99/bitbot_binance
(if you don't have "git" download and extarct)
cd bit... | e60ab800243d680be55b79f5529bb871341c4e6b | [
"Markdown",
"JavaScript",
"Shell"
] | 5 | Markdown | marmibv/bitbot_binance_price-fluctuations-Noise | 237fd05cfdd55c19bf6f426d8b279b02f2ea41c8 | c55ca9843ff20fdf5f176e28f1b85917516fe385 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IqaController.entity
{
class SaveResultInfo
{
private int flag = 1;
private string desc = "";
public string Desc { get => desc; set => desc ... | 1ad04e4ac71de9ab2db020ec2534877ec81568ec | [
"C#"
] | 22 | C# | hiphopddori/Controller | 9486401e7470357f9819832e210286200544f487 | 8a2a6410ca5a780c883c70a53fcfff8b8e3343d8 |
refs/heads/master | <file_sep>let {Cc, Ci} = require('chrome');
let querystring = require('sdk/querystring');
let cookie_service = Cc["@mozilla.org/cookieService;1"].getService(Ci['nsICookieService']);
let io_service = Cc["@mozilla.org/network/io-service;1"].getService(Ci['nsIIOService']);
let get, set, remove, CookieManager;
get = func... | 00568cca64c309eea28ec1042d2d84159141997c | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | fczbkk/cookie-manager | 0b8861ffef97b37a090fbfb3e5879242337d1da4 | 721ff5c4a026b9eddd27d4b4b6ecac28bf188ad6 |
refs/heads/master | <file_sep>[assembly: ObjCRuntime.LinkWith ("Gzip.framework")]
[assembly: ObjCRuntime.LinkWith ("SwiftyBeaver.framework")]
[assembly: ObjCRuntime.LinkWith ("SQLite.framework")]
[assembly: ObjCRuntime.LinkWith ("Pods_HyperTrack.framework")]
[assembly: ObjCRuntime.LinkWith ("CocoaAsyncSocket.framework")]
[assembly: ObjCRu... | c467497653a9b7f4c856c8cd156cb3a4e49ada62 | [
"Markdown",
"C#"
] | 11 | C# | hypertrack/hypertrack-xamarin | add8e0b9a0c6ce3180827a17617beaf0455dabcb | 1edaf54851253ff2f7eb9871bd84e338bed3099d |
refs/heads/main | <file_sep>import { Component, OnInit, NgZone } from '@angular/core';
// import { HttpClient } from '@angular/common/http';
// import { map } from 'rxjs/operators';
import recognizeMicrophone from 'watson-speech/speech-to-text/recognize-microphone';
import synthesize from 'watson-speech/text-to-speech/synthesize';
@Com... | 598e54ff5e04f20f2e108902fe229f3f239c671f | [
"TypeScript"
] | 1 | TypeScript | Ramgopalbhat10/watson-speech-demo | 597ae5dec8b97cc36949d82dfa4afc5cf52d3e59 | 3dbab2054ca268475ad72e41df7098c9af0f902e |
refs/heads/master | <file_sep>const db = require('../database/dbConfig.js');
module.exports = {
findRecipes,
findRecipesById,
findBy,
addRecipe,
updateRecipe,
removeRecipe,
findRecipesByChefId,
getChefsById
};
function findRecipes(){
return db('recipes');
}
function findRecipesById(id){
return db... | 5c9148a19493c915f7c80cb748aeb7674b398774 | [
"JavaScript"
] | 3 | JavaScript | chefPassport/backend | 34f2420cb59d0f5d217be1835c130c8a51884d74 | 9e932923d7693300fbb072aa1db23069af94f558 |
refs/heads/master | <file_sep># Tools
Hacking-CTF-Bounty
:)
<file_sep>#!/bin/bash
#Copyright 2016 <NAME>
#
#Licensed under the Apache License, Version 2.0 (the "License");
#you may not use this file except in compliance with the License.
#You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#Unless ... | 98bd197185a80b46ca3d803ff2b7ba66364d9f0d | [
"Markdown",
"Go",
"Shell"
] | 3 | Markdown | MatiaCornejo/Tools | df79a30fc38f728a53c392f7d9d97211015b07bb | c71c74971cb687a2c79866cc5431c3c0f6bade70 |
refs/heads/master | <file_sep>class Owner
attr_accessor :pets
attr_reader :species
attr_writer :name
@@all = []
def initialize(species)
@pets = {fishes: [], cats: [], dogs: []}
@species = species
@name = name
@@all << self
end
def self.all
@@all
end
def self.count
@@all.length
end
def se... | a6f7d81e6eb52d82b168e32fcc87a1a07dbddd1d | [
"Ruby"
] | 1 | Ruby | helloimiskra/oo-my-pets-online-web-pt-041519 | 699192e238678d793fb5d49af45cc4e9db906e87 | 5b933cfd73103eb5487ac0457c27bfeddf8ef30e |
refs/heads/master | <repo_name>arivera40/Computer-Architecture-Asst-2-One-Shot-Learning<file_sep>/OneShot.c
#include<stdio.h>
#include<stdlib.h>
void multiply1DMatrices(double **matrix1, double *matrix2, double *result, int rowCount1, int colCount1);
void multiply1DMatrices(double **matrix1, double *matrix2, double *result, int rowCou... | 0e55424e6673da9cbe3e2199143b814f5bd1f8ea | [
"C"
] | 1 | C | arivera40/Computer-Architecture-Asst-2-One-Shot-Learning | ec5749cc0703507b7e947e9e366b4fb34ddb6eb0 | 750ab6f8f52ce01f1fa71e308134b40ba14885ee |
refs/heads/master | <file_sep>package com.hoomi.rxjava.third;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mock;
import org.mockito.MockitoAnnotations;
import rx.Observable;
import rx.functions.Action1;
import java.io.PrintStream;
import java.util.Arrays;
import java.util.List;
import static org.junit.Assert.asser... | 556738ffee767bae9fdf4206efc8b1d3d8ca52f7 | [
"Java",
"Gradle"
] | 5 | Java | hoomi/RXJavaExperiments | d1b48614b2841167202ef5cc94c1563b14eeb4f8 | 58207ae3f0272596d0745a59b49edd22ef8e5f64 |
refs/heads/main | <file_sep>from market.models import User
from flask_wtf import FlaskForm
from wtforms import BooleanField, StringField,PasswordField, SubmitField, IntegerField
from wtforms.validators import DataRequired, Length, Email, EqualTo, ValidationError
class RegisterForm(FlaskForm):
def validate_username(self, usernam... | 7a67a74d556e9f4353b14f6c91982391b64abac6 | [
"Python",
"HTML"
] | 4 | Python | MaulikPandya06/Flask_Market | d4fcca392e0e6828177b7bdd4773d7358e31da04 | 52ab6e885d93e835b5b398a320d3746d70da1a79 |
refs/heads/master | <file_sep><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>jjoulestest</groupId>
<artifactId>jjoules-test</artifact... | 2bb9d92c482d0d97c1502a9ce36e491c2e1bd633 | [
"Markdown",
"Java",
"Maven POM",
"Dockerfile"
] | 6 | Maven POM | sunssy59/jjoules-test | 4d7baf44f4d7de3102a540f381949c16f748d32a | c5ee83e794d14ceaebc70dfa7dd962035ae6c48c |
refs/heads/master | <repo_name>cef2010/fall_dev_15<file_sep>/cheat_sheet.rb
require 'pry'
# Open to main menu
def main_menu
puts "Cheat Sheet:\n\t0. Quit\n\t1. Command Line\n\t2. Vim\n\t3. Search\nChoose an Option: "
input = gets.to_i
if input == 0
exit
elsif input == 1
command_line_menu
elsif input == 2
vim_menu
e... | 5841146e8716cfc0a8424569ff2b87c797ba6ca9 | [
"JavaScript",
"Ruby"
] | 16 | Ruby | cef2010/fall_dev_15 | e4358d64d029389e3cca40731f53b8f1416c3a07 | 7c1a6db90909420284662f6d59a24ef5e43b056f |
refs/heads/master | <file_sep>package com.example.wheredidyougo;
import java.util.ArrayList;
import java.util.List;
import com.parse.ParseException;
import com.parse.ParseFile;
import com.parse.ParseImageView;
import com.parse.ParseObject;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFact... | dcbb8f172d9d310e29ef7efc9dfefa2ffe98ef5d | [
"Java"
] | 4 | Java | willhnation/WhereDidYouGo | b83417798b437801c0e5bdfa324aa1fd29b3a050 | 2172544039096f044de327fd2998f610c008ebec |
refs/heads/master | <repo_name>guilhermemaster/parametros_basicos_php<file_sep>/inverter_data.php
<?php
function troca_data($data){
$str = $data;
$arr1 = str_split($str);
$aux=$arr1[0];
$arr1[0]=$arr1[8];
$arr1[8]=$aux;
$aux=$arr1[1];
$arr1[1]=$arr1[9];
$arr1[9]=$aux;
$aux=$arr1[2];
$arr1[2]=$arr1[7];
$arr1[7]=$aux;
$a... | 9ec57338aa0774daf52c99653e346f7c6b67f300 | [
"PHP"
] | 3 | PHP | guilhermemaster/parametros_basicos_php | d9698efccbe7c7692884783b930502dd4c8428d5 | 27980489a90eaf4bcd4d6457b97ef6cccbeb4cfb |
refs/heads/master | <file_sep>require "pry"
# Helper Method
def position_taken?(board, index)
!(board[index].nil? || board[index] == " ")
end
# Define your WIN_COMBINATIONS constant
WIN_COMBINATIONS = [
[0, 1, 2], # Top row
[3, 4, 5], # Middle row
[6, 7, 8], # Bottom row
[0, 3, 6], # Left vertical
[1, 4, 7], # Middle vertica... | b6776e77305663be73e51984cb5bad0ca6f7c1e0 | [
"Ruby"
] | 1 | Ruby | adamclayman/ttt-game-status-bootcamp-prep-000 | dcf40da65eea7733dd190b65966e59cf7ae0bbe1 | 853318fe09704f3c349452a99c9014f9430ea68c |
refs/heads/master | <file_sep>#ifdef LKSJDKJGBSFJKD
#include <cspace/cspace.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "frametable.h"
#include "frametable_tests.h"
#include <assert.h>
#define verbose 5
#include <sys/debug.h>
#include <sys/panic.h>
void ftest(){
int page;
// locate 10 pages and make sure... | fc6cf99c85acbb896857b04e4963ed4f5438e55f | [
"C"
] | 24 | C | cthsvedani/aos2016 | bbd0b41030dde8e816040821d9c8a5cf376bcdf6 | e62b05622e861b8d2973c7e12ffc296a1b5be867 |
refs/heads/master | <repo_name>mihneawalker/youtube<file_sep>/index.php
<?php
error_reporting(E_ALL);
ini_set('display_errors', 1);
class ChannelFeed {
function __construct($username, $page = 1)
{
// $gallery = 'uploads', 'favorites', etc...
$gallery = 'uploads';
$this->username=$username;
$this->feedUrl=$url='http://gdata.you... | 9e667d90263d5bbc0f0e9915134d9d219b274219 | [
"PHP"
] | 1 | PHP | mihneawalker/youtube | 5e602998ba8cf6e20b2b83e5732dc203201e3631 | 5b7f0261755a5b5293af9a6f814e779730483901 |
refs/heads/master | <file_sep>#include<stdio.h>
void dfs(int position, int *num, int n, int *r, int length)
{
int i;
if(length == 6)
{
for(i = 0 ; i < 5; ++i)
printf("%d ", r[i]);
printf("%d", r[i]);
printf("\n");
return;
}
if(position >= n)
return;
r[length++] = num[position++];
dfs(position, num, n, ... | f3dc6fc831a0b2345441ed9f8b47b5daf0c9c752 | [
"Java",
"C",
"C++"
] | 47 | C | dogeyes/zoj | 23f18f2b1d575d4bbfc4c94352dd3253e91814a0 | aef28795b28bae481893547953f5ec21a588816f |
refs/heads/main | <repo_name>VisheshCoderBoy/Live-Clock<file_sep>/Live Clock.py
from tkinter import*
root = Tk()
root.title("Clock")
root.geometry("800x125") # W X H
root.maxsize("1000","125")
import datetime
now = datetime.datetime.now()
time = now.strftime("%H : %M : %S ")
Hour= now.strftime("%H")
Hour = (int(Hour))
... | 242138e7389720349a6089d3dc6128c718d6f00f | [
"Python"
] | 1 | Python | VisheshCoderBoy/Live-Clock | a0a24d39cba5d6c3b63dd8fb5b1d464148d92872 | a4553ce0b46fc7f521c6eb350a2e4a13f2251122 |
refs/heads/master | <file_sep>class CreateStudents < ActiveRecord::Migration
def change
create_table :students do |t|
t.string :first_name
t.string :last_name
t.timestamps null: false
end
end
end
| b26f95dfa3bd134681f609b604ae66862b6e98b9 | [
"Ruby"
] | 1 | Ruby | Connieh1/rails-activerecord-model-rails-lab-v-000 | fb99a47ed18dfa85123611dcd16ca96b33a6d157 | 676e600c1523895f7855b71a4e2791673ad6dc6b |
refs/heads/master | <repo_name>jonfriese/Family<file_sep>/README.md
# Family App
###### This app was created to show the differences between using the 'Ancestry' gem and nesting resources the traditional way in Rails.
<file_sep>/app/models/father.rb
class Father < ActiveRecord::Base
attr_accessible :name
has_many :sons
end
<file_sep>... | 6a0749cb690aba34bf856197df8c72af816ddfc3 | [
"Markdown",
"Ruby"
] | 7 | Markdown | jonfriese/Family | 0d14c9be4ae3067b870536bb9985fed65182b2c3 | faa18104cc0e80b3ddc1bd31f5ab45601eccdf22 |
refs/heads/master | <file_sep>import { Router } from "express"
import middlewares from "../../../middlewares"
const route = Router()
export default app => {
app.use("/users", route)
route.get("/", middlewares.wrap(require("./list-users").default))
route.get("/:user_id", middlewares.wrap(require("./get-user").default))
route.po... | 8353b2d7b8e21523f3a63a2f9606d5a9b133d08d | [
"JavaScript"
] | 2 | JavaScript | aloks98/medusa | f0c371f9870236483a15dd48e815076a6d726a78 | 1d780ba17270b684fcef73709ac889d317e39d1a |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.