branch_name stringclasses 149
values | text stringlengths 23 89.3M | directory_id stringlengths 40 40 | languages listlengths 1 19 | num_files int64 1 11.8k | repo_language stringclasses 38
values | repo_name stringlengths 6 114 | revision_id stringlengths 40 40 | snapshot_id stringlengths 40 40 |
|---|---|---|---|---|---|---|---|---|
refs/heads/master | <file_sep># woocommerce-server
A tiny node server to query woocommerce stuff
<file_sep>let mysql = require('mysql');
let express = require('express');
let app = express();
let bodyParser = require('body-parser');
let logger = require('morgan');
let methodOverride = require('method-override')
let cors = require('... | 0b6c2148f9eefe4342b6b005db9a46ec11a8374f | [
"Markdown",
"JavaScript",
"Shell"
] | 3 | Markdown | DBLTecnologia/PDVi_Server | c416452ffbbfa788e48f29382752e049fcca086e | 36c2e53353366b3576f61765c03cb19925cf0864 |
refs/heads/master | <repo_name>Andre113/testeCidades<file_sep>/TesteCidades/TesteCidades/View Controller & Presenters/Lista/ListaTableViewDelegate.swift
//
// ListaTableViewDelegate.swift
// TesteCidades
//
// Created by <NAME> on 26/11/2017.
// Copyright © 2017 AndreOta. All rights reserved.
//
import UIKit
extension ListaTableView... | 3520500db62d08eb248f6649d2c6ca2106e0467e | [
"Swift"
] | 19 | Swift | Andre113/testeCidades | 1caeca66c0c22f017a417b3a6dfd5ba42b8a1e02 | 479465adc02db4dc64d0810e89a5829df97a175c |
refs/heads/master | <file_sep>// This script will compile the smart contracts, compile the ABI deploy them to the target web server, and write to company.JSON file for the
// ABI and contract address
var solc = require("solc"); // import the solidity compiler
var Web3 = require("web3"); // import web3
var fs = require("fs"); //import th... | 9c8de6b8fe3ff1c14db9b6414946a0fc3734682f | [
"JavaScript"
] | 3 | JavaScript | pjjohnson/surveys | d9db76b7ad6ece8755ebe0197c4fb123d2e994ea | 5e441c38056a49f4a87f000d61647350e49d86fb |
refs/heads/master | <file_sep>import java.awt.*;
import javax.swing.*;
import javax.swing.event.*;
import java.util.*;
class ControlPanel extends JPanel{
private JButton areaButton;
private JSlider slider;
private JTextArea text;
private AreaButtonHandler handler;
public ControlPanel(){
// set layout
... | da37dfeed051db9d381694ea851c858f5c4793cf | [
"Java"
] | 6 | Java | narmour/cs360 | 00dcbfa1f91f8f5071dbab337b9e8bad764560bb | 41a49482f6e698c5f6bd607204cd80e7d3536dd9 |
refs/heads/master | <file_sep># Account-Manager-Discord-Bot
This bot was made with intent to store some game accounts in a database and be able to retrieve it.
Mostly it is used when playing with groups of people, as everyone creates different accounts - this
bot allows to store this information into H2 database with JDBC and anyone wit... | cb4e9bfe709234378a3a492f7d7575ddfbade749 | [
"Markdown",
"Java"
] | 7 | Markdown | Art0123/Account-Manager-Discord-Bot | b5e4dec89e1b558f62bd405e4f9180849e719d70 | 3b79ef098feec0d8253322e338fa853fc48bd6df |
refs/heads/master | <repo_name>leonardobarrientosc/nozbe-projects-tasks-log<file_sep>/appz/src/BcTic/NozbeProjectsUtilsBundle/Entity/ApplicationRegister.php
<?php
namespace BcTic\NozbeProjectsUtilsBundle\Entity;
class ApplicationRegister
{
private $email;
private $password;
private $redirectUrl;
public function getEmail(){
retur... | 8fbb7690b7bb7f18a51cb5a86f9dd00215e3120a | [
"Markdown",
"PHP"
] | 5 | PHP | leonardobarrientosc/nozbe-projects-tasks-log | 8b3d165f11c966ee8b9f6999f8a90847fc0918f9 | eb36d536b09b6723a5f07f3620b992df17995c72 |
refs/heads/master | <repo_name>igoramadas/bitecache<file_sep>/History.md
# Changelog for Bitecache
1.3.1
=====
* Code refactoring.
1.3.0
=====
* NEW! Option "strict" can be set to false to avoid throwing errors with invalid collections.
* Minor code refactoring.
1.2.2
=====
* Updated dependencies.
1.2.1
=====
* Updated dependencies.
... | d0ded6f208012ea0cf38255a0f3443cbfa0c1769 | [
"Markdown",
"TypeScript"
] | 5 | Markdown | igoramadas/bitecache | 3abe7700cfa87b12c37ee073db77994c0f87fa97 | b8fd7e5cdec0eda1406d7ba3aee21cb23ddd89fb |
refs/heads/master | <repo_name>Yuditskiy-o/2GIS-test-task<file_sep>/README.md
[](https://ci.appveyor.com/project/Yuditskiy-o/2gis-test-task/branch/master)
# Тестовое задание для 2GIS
- [Тестовое задание](https://github.com/Yuditskiy-o/2GI... | 031442dca1761a79cd60c7d3a5ab1951ec0c2698 | [
"Markdown",
"Java",
"Gradle"
] | 5 | Markdown | Yuditskiy-o/2GIS-test-task | 9e1346f30223f3c934b6eae2f2121336c8fb8012 | 86603c3dbe33126a0ee794c415f3f0010caf815b |
refs/heads/master | <repo_name>codingpains/acts_as_seekable_example<file_sep>/app/models/soccer_player.rb
class SoccerPlayer < ActiveRecord::Base
belongs_to :team
validates_presence_of :age
validates_presence_of :level
validates_presence_of :name
acts_as_seekable :paginate => true
#Write all the named scopes you need for t... | 4c3f08455d39c5200b2edad128b23b99727777c9 | [
"Ruby"
] | 11 | Ruby | codingpains/acts_as_seekable_example | a445674682a8101b5dcf6ab44498dcbbfe587101 | 0f1229041e8133affb4643c17a7fd3d500a61ad1 |
refs/heads/master | <file_sep>// Copyright (C) 2019 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | 4315a7ad8c25310379a9d95ae97e0d22c76c858c | [
"C++"
] | 1 | C++ | tiger-cave/platform_system_core | 537e4af23512389438b86f31ee81eb522111f944 | fce101b9af038004bf13bf71099642e511b27a05 |
refs/heads/master | <repo_name>angelo98-dev/Read_Text<file_sep>/README.txt
Hello je m'appel Angelo !
Description du programme:
Programme consistant à lire un fichier et afficher son contenu dans le terminal ou la console.
Apres avoir lancé le programme, indiquez le chemin du fichier à lire.
exemple : /home/PycharmProjects/texte_a_lire... | 1a2a4d6106d7b06a5ef3be50cbc3dc79e54fa08e | [
"Python",
"Text"
] | 3 | Text | angelo98-dev/Read_Text | deb0b8134d66405e81035eab683b56835ba84f49 | 79a299347bb598aca60d1c94b2852827bc5f20a1 |
refs/heads/main | <repo_name>Gaurang-WEB-MAKER-OP/c-1115<file_sep>/main.js
noseX = 0;
noseY = 0;
function preload() {
clown_nose = lodImage("'https://i.postimg.cc/7ZBcjDqp/clownnose.png")
}
function setup() {
canvas = createCanvas(300, 300);
canvas.center();
veido = createCapture(VEDIO);
VEDIO.SIZE(300, ... | f2b15ae6945425279774aa6fb0e10c68ad30b84f | [
"JavaScript"
] | 1 | JavaScript | Gaurang-WEB-MAKER-OP/c-1115 | 5a93565b09745f51c8a76fbfca8742ef8174dcf0 | 2b09ca30236e51d889a259020c749e3955b7d7d6 |
refs/heads/master | <file_sep>#! python3
#phoneAndEmial.py - Wyszukuje numery tel i adresy e-mail w tekście skopiowanym do schowka
"""Przykłądowy tekst (415)-555-4242 ext 44 zawierający numery
422 111 4545 telefonów <EMAIL>
oraz adresy mail <EMAIL>. Wystraczy skopiować."""
import re
import pyperclip
clipboard = str(pyperclip.paste())
... | 40ea0a58c27c2de83dc15e57946230a7b40f0a4f | [
"Python"
] | 5 | Python | dharaszczuk/Practice-Projects | 60eedf4977c299df40e0971611691af5f58c53f0 | a1b2f59976f9cee485fd70e051ebeb23072d1249 |
refs/heads/master | <file_sep>package com.example.vaibhav.project1;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.Menu;
import android... | 17070303da82da910ad3dcda5eb1e50ae5fc46b9 | [
"Java"
] | 2 | Java | vaibhavkedia968/Project1 | 5f8286d7237f6800be8b13b2b9f35a357e9c4ec5 | a87f4c532022c1101072e82c77ecfe0a38c54d7b |
refs/heads/master | <repo_name>jlxy-117/117admin<file_sep>/maintain.php
<?php
require_once './function.php';
header( 'Access-Control-Allow-Origin:*' );
// 获取信息信息列表
$json = do_get_request("http://localhost:9092/cityLines");
$list = json_decode($json, true);
?>
<!DOCTYPE html>
<html>
<head>
<title>路线维护</title>
<meta charset="ut... | 5b229269c38a0fef38fcefea3ace1eb28758edbe | [
"JavaScript",
"PHP"
] | 14 | PHP | jlxy-117/117admin | ea0a4b70961597c9b67c0dcfd90e2118b3cecc16 | 01abcc3ac05c713ba966549b34a7500aa2b4ba45 |
refs/heads/master | <repo_name>Tehtehteh/codewars<file_sep>/client.py
import socket
import threading
def sendmsg(s):
while 1:
data = input()
s.send(bytes(data, encoding='utf-8'))
def updates(s):
while 1:
dataBack = s.recv(1024)
if dataBack:
print('%s:' % (dataBack,))
def main():
... | 3e30b049117ee4ef8a8c0903f46b117962c3f794 | [
"Python"
] | 27 | Python | Tehtehteh/codewars | d915f10076400388c606be6508a6559707cf7c60 | ad3640cf264a47630b3fdca0e9911715b1d577c8 |
refs/heads/master | <file_sep>'use strict';
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
// Project metadata
pkg: grunt.file.readJSON('package.json'),
ghPagesDir: '../nerdshow@gh-pages',
ghRuntimeDir: '<%= ghPagesDir %>/rt/<%= pkg.version %>',
jshint: {... | a201a1a928216b7d03a1d13c32cb1d9c960baa53 | [
"JavaScript"
] | 1 | JavaScript | Biranchi-narayan/nerdshow | 92a6a37b341a49b00ca55f515d7599e9d838f1e8 | 8c3fbb1025525482bc148de98c4c5c8d98a72a42 |
refs/heads/master | <repo_name>icyflame/create-together-rails<file_sep>/README.md
# Create Together [](https://travis-ci.org/icyflame/create-together-rails)
### Caters to the control freak inside you
A custom blogging framework. Post moderation are fir... | bf312c99c4060d3422dbe065ac6560b1182b21b5 | [
"Markdown",
"Ruby"
] | 7 | Markdown | icyflame/create-together-rails | 5d8ade05f1557fb4004b72364ce2f38cb50c34b2 | 92cc0ab7e3cadb62d106d775ecab5555e31136f2 |
refs/heads/master | <repo_name>louisquach/supermemory<file_sep>/src/components/mainContent/LearnContent/Learn_content.jsx
import React from 'react'
import './learn_content.scss'
import Card from '../../Card/card';
import Number from '../../Number/number';
import {connect} from 'react-redux'
const LearnContent = ({num,key,display}) => {
... | 78a9b2eda0419a85eb64e41e2b5d308f121c10bc | [
"JavaScript"
] | 19 | JavaScript | louisquach/supermemory | 7c66aab797ae665828c07ba96d701a0a1c9ebccb | cf718d4eb2b7f4309fc147acc48cbbc66773fe4f |
refs/heads/master | <repo_name>aktug/react-visjs-graph2d<file_sep>/example/src/VisGraph2dContainer.js
import React, { Component } from "react"
import moment from "moment"
//import VisGraph2d from "react-visjs-graph2d"
import VisGraph2d from "./build"
const example_one = {
options: {
height: "380px",
},
items: [
{ x: moment(... | 1c5ba83e1f3b595a3653ab03fc220436236b674b | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | aktug/react-visjs-graph2d | e9c5a26296191f62db783c206e4a974e7a586491 | a2377924c4246e33f8a611bf707e8da02eedc37d |
refs/heads/master | <file_sep><!DOCTYPE html>
<?php
$json = file_get_contents('proj.json');
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title> <NAME>'s site </title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="jquery-3.1.1.min.js"></script>
<scr... | d5566f10a722b8f822063c437a58e6cf3b362140 | [
"JavaScript",
"Markdown",
"PHP"
] | 10 | PHP | domenicopopolizio/domenicopopolizio.github.io | 1a979e52a471bdbdcbf00a96b770ec8262958298 | 26606bef061469409f2f3db5f3f7f783b35734fd |
refs/heads/master | <file_sep>package onion.szxb74om7zsmd2jm.limitlesslabyrinth.entities;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.g2d.Animation;
import com.badlogic.gdx.graphics.g2d.Batch;
import com.badlogic.gdx.graphics.g2d.Sprite;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.badlogic.gdx.maps.ti... | 3f7edab2e31b6cd2f9c59b6feabc8e15c3f57c26 | [
"Java"
] | 26 | Java | ErikTheCleric/OVERSTORY | 8274b447a6799c05de09c6d51f9eec98629eac76 | dc128ab68714d437b597da18ce1e93f47fc2f436 |
refs/heads/master | <file_sep><?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use App\User;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Cache;
use Overtrue\EasySms\EasySms;
class LoginController extends Controller
{
/*
|---... | 25b5e27f78e04bb250bc8a489fee3447338e67f1 | [
"PHP"
] | 1 | PHP | xiaodiyi/phone | 9e1d3791de4f863c380ed0cd7333e9c0b2387cb0 | be4012de45957258029fc5dc04c05264564e5071 |
refs/heads/master | <file_sep>Statistical_Models_Central_Limit_Theorem
=========================================
Write an R-script that transforms the data to sum across all zip codes in the Chicago Diabetes Hospital Data Set. Make a model that plots and fits a line to the following:
Number of Hospitalizations vs. Crude Admittance Rate.
C... | fe0ca9c4e08810f15b11fc63498e3040d0589cc8 | [
"Markdown",
"R"
] | 2 | Markdown | ozemreozdemir/Statistical_Models_Central_Limit_Theorem_1 | 756c150cfc987de764b23161656500acd38a59de | c96f6ff259077671acdcdf4cf91655a9998ff895 |
refs/heads/master | <repo_name>Rani-Salma-git/CSE-204<file_sep>/Assignment-03.cpp
#include <bits/stdc++.h>
using namespace std;
struct node{
int item;
node* next;
};
node* root = NULL;
void Insert(int x){
node* temp = new node;
if(root == NULL){
temp->item = x;
temp->next = NULL;
... | 9d06e854b3cb73e54fcc99333c32e1fc57056d13 | [
"Markdown",
"C++"
] | 3 | C++ | Rani-Salma-git/CSE-204 | 019e03b221522d65486281e9c092bf0cd6a176a4 | 0fdae078f5cf450fae35b2f3d232daa2f60c96ff |
refs/heads/master | <repo_name>bscode/rssnaps<file_sep>/README.md
# rssnaps
simple backup script based on rsync
## Usage
```
rssnaps [<switches>] <target>
<switches>:
-h --help show this help
-r --resync refresh most recent snapshot
-k --anykey wait for any key after backup
-s --shutdown shutdown system after backu... | 57428404849725fdf1ad3d8d1c6c7f55baa6d4a5 | [
"Markdown",
"Python"
] | 2 | Markdown | bscode/rssnaps | cabedbfebfc719d25f899906b1c38fe8c730414b | 2c75e0e6650ab93a2332c48b28e88e8415d46a3c |
refs/heads/master | <file_sep># spark-install
> Cross-platform installer for Apache Spark.
This project provides a cross-platform installer for Apache Spark designed to use system resources efficiently under a common API. This initial version comes with support for R and Python that arose from a collaboration between [RStudio](https://ww... | 3fa34ee119deb591cea09ba145b8371bb39701cf | [
"Markdown",
"Python",
"R"
] | 8 | Markdown | drdarshan/spark-install | f90617834c7c7cfdabe9923b93fe6d3e7321ccc2 | ac90d83f825f26ebdb16397f38ee822798617a6d |
refs/heads/master | <file_sep>package net.frisco27.linternaflash;
import android.support.v7.app.AppCompatActivity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button... | b63cb56324d60ce8d6ede27f99f74c5286726c28 | [
"Java"
] | 2 | Java | frisco27/LinternaFlash | 199c680d044b0d683213d7876e5c86a07c68d1df | 7f33d197df7260abe258f2b963e69d62fa7e5f09 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace viza_final
{
class Program
{
static void Main(string[] args)
{
string a;
if(netice()>=45)
{
a="Kechdin";
... | fb7080112847834cb00443a18124b73d3d93d818 | [
"C#"
] | 2 | C# | KamranG12/csharp_first | be991839b695897cd6f94ddbc4fa6d5e5bdeb498 | bf8faee50c950d2c0102b3a791c97d7ccc0b7ac8 |
refs/heads/master | <file_sep>import java.util.Scanner;
public class Solution {
static int input;
static String array[];
public static void main(String[] args) {
// TODO Auto-generated method stub
System.out.print(" ~> java RecordMaker ");
Scanner sc = new Scanner(System.in);
input = sc.nextInt();
getIdNum... | 1d4565b22c420eec0f7ef3dd5aa31e0b673d1219 | [
"Java"
] | 1 | Java | cyewon/Solution | 1b96fad1cd0baae86f65856346b4576cf9ce88d1 | 80e33b10ae3a3980d74b6e3fad6b45c1f11872d4 |
refs/heads/master | <repo_name>danieldrf01/lista-while<file_sep>/ListaWhile/ListaWhile/Exercicio04.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ExercicioWhile
{
class Exercicio04
{
public Exercicio04()
{
int contado... | ec5dda2f764b56c8229704f16354703cccd6c551 | [
"C#"
] | 4 | C# | danieldrf01/lista-while | 02a7b9ef206fd958f2d7eb909f31647d26ec2e20 | 0172e75d5fc0034872b89bd40d9f694fb91ba47f |
refs/heads/master | <repo_name>Mica21/Personal<file_sep>/CPU.c
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <arpa/inet.h>
#include <sys/socket.h>
void crearCliente(struct sockaddr_in* direccionServidor, int puerto, char* ip) {
direccionServidor->sin_family = AF_INET;
direccionServidor->sin_addr.s_addr = inet_add... | 67d333ebe16c0715fcbf25832645070e371da72d | [
"C"
] | 1 | C | Mica21/Personal | f4ffbf7e8a37a18cf62e6612be39eb8a28499ba4 | 0b758344846c61565ec6e4a20fd19d4302bfe36a |
refs/heads/master | <file_sep>import { Component, OnInit } from '@angular/core';
import { Producto } from '@app/models/producto';
import { TokenService } from '@app/service/token.service';
import { Store, select } from '@ngrx/store';
import { Observable } from 'rxjs';
import * as productActions from '@app/producto/state/product.actions... | 84b5a186e553e8bcd138df3096da575c2686cdf9 | [
"TypeScript"
] | 11 | TypeScript | andres187/angular-front | 1944152ea753337e6b2ef5b230408d233e2d970f | 2b653c11848268be197c5a58950b34586e0ee49f |
refs/heads/master | <repo_name>compilerJQXC/lab2<file_sep>/pl0-lab2.1/shell.sh
echo "gcc pl0.c -o pl0"
gcc pl0.c -o pl0
| f5bb1e4d8e7f5c38389e521bb0303b32239038da | [
"Shell"
] | 1 | Shell | compilerJQXC/lab2 | e12fb3dc7fd5e6d1a641bfb4e034e48cbf1add1b | baff54dbb09fd3b3dcb4b776745cdd64a375fb64 |
refs/heads/master | <repo_name>harish-agr/Packet-Processor<file_sep>/packets.c
// <NAME>
// EECE 555
// Fall 2013
// some of this code was provided by Dr. Kredo
#include <pcap/pcap.h>
#include <arpa/inet.h>
int openFileOrDevice(int use_file, pcap_t **pcap_handle, char *trace_file, char **dev_name, char pcap_buff[PCAP_ERRBUF_SIZE]);
vo... | 80946a6bc96edf3da379530505bb306b5b4112f1 | [
"Makefile",
"C",
"Text"
] | 3 | C | harish-agr/Packet-Processor | b8656ad54895a061206886ec36f88fa323238122 | 78f4c1a6578174708ca52d33643237f6ffb10837 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lab11
{
class Staff : Person
{
#region Properties
private string school;
private double pay;
public string School
{
set
... | ef9dab2d1ee1355ecf2c02d8feaab8c24c69e989 | [
"C#"
] | 3 | C# | DaniDeArmond/Lab11 | 310d9ded740a43872c9040e62b04a252e613adf7 | 451f212954c7b703987a9a72ceff142f1a9ea05e |
refs/heads/master | <repo_name>arianjsp/Node_para_iniciantes<file_sep>/02-nodejs3-async-await/index.js
/* Atividade sobre callback:
- obter um usuario
- obter um numero de telefone do usiario a partir do seu ID
- obter o endereço do usuario a partir do seu ID
*/
//manupilação feita pelo módulo interno do node.js (convertendo ... | 984992c35b0c9e91f09d9d58fe84b3e3e4b063da | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | arianjsp/Node_para_iniciantes | 8cf9c4526837caa5d921a61c3828715063219cd4 | 716b3435d3602c16becf8ac45c7324ab0e2140d2 |
refs/heads/master | <repo_name>Vlad1235/TwoLevelCache<file_sep>/src/main/java/com/github/rodionovsasha/cache/strategies/MRUStrategy.java
package com.github.rodionovsasha.cache.strategies;
/*
* Copyright (©) 2014. <NAME>
*/
/**
* MRU Strategy - Most Recently Used
*/
public class MRUStrategy<K> extends CacheStrategy<K> {
@Overrid... | e2e5b9f03b93e3f5e25e5bb0956ccb23036533ea | [
"Markdown",
"Java",
"Maven POM"
] | 12 | Java | Vlad1235/TwoLevelCache | a6a8c8721a82e3a3f4db59b23402c2587d1795e1 | a0fd1b578a1ed922c08be9086761f11d1f28fc9d |
refs/heads/master | <file_sep># Polyglot
Polyglot is a command line tool that automatically parses embedded DSLs that have been implemented with Dialect, a recursive-descent parser for Domain Specific Languages (DSLs) that is implemented using Go and facilitates parsing through use of Parsing Expression Grammars (PEGs).
## Motivation
P... | c93d9b701283859d22c9f6c26613ac1689b7b093 | [
"Markdown",
"Go"
] | 2 | Markdown | jmptrader/polyglot | d997f5cb613f82c62bef0618cd71aa42597a98c6 | 5bd15bd4330cec377c83794c4e4f6da4a850f738 |
refs/heads/master | <file_sep>const initState = {
posts: [
{
id: '1',
title: 'Next level pitchfork lyft edison bulb',
body: 'Next level pitchfork lyft edison bulb, roof party cloud bread kinfolk helvetica. Brooklyn crucifix cloud bread iPhone poutine blue bottle jianbing lyft tote bag drinking vinegar kicks... | da958e6aed3a3e7b12e8173be6cb27c3992c7298 | [
"JavaScript"
] | 3 | JavaScript | redwanzia/git_redux_tut | 45c0b9731c24725aebd1918d31d6e1e3d00d5a23 | af69e181e06cea93cd4ca3d26f482d3539a5a9d2 |
HEAD | <file_sep>var matrixPool = new Array();
var isMatrixEnd = false;
var isPoolEnd = false;
var currentRowIndex = 0;
var currentColumnIndex = -1;
var pageCurrentRowIndex = 20;
var pageCurrentColumnIndex = 20;
var binaryMatrixArray = new Array();
function calculatePageStartIndex() {
}
function initMatrixPool() {
mat... | fdaeec6a30923486fd871f9b615bdd80b02d2228 | [
"JavaScript"
] | 1 | JavaScript | specialflower/saying | 54909b5fa4ba4d6b20dc99a7db2e9d0b80ee75db | 7ffa9207ed6d41db99ef53d46b62cbb8bb540822 |
refs/heads/master | <repo_name>global-academy/KusiWarmi<file_sep>/js/list.js
var recuperarDenuncias = function() {
var Caso = Parse.Object.extend('Caso');
var query = new Parse.Query(Caso);
// query.equalTo("playerName", "<NAME>");
query.find({
success: function(results) {
for (var i = 0; i < results.length; i++) {
var obj... | 93f1594db0822989d96a1e90e0a5829d5328f6a3 | [
"JavaScript"
] | 1 | JavaScript | global-academy/KusiWarmi | 8b18833f0661fed158517f409d6edd3dc0194379 | d15c96dd457532236d48ac10b34f954975057cfe |
refs/heads/main | <repo_name>ATXChris/Thaw-Alert<file_sep>/main/Temperature.c
#include "Temperature.h"
#include <stdio.h>
#include <math.h>
#include "DS18B20.h"
#include <string.h>
#include <stdlib.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/queue.h"
#include "driver/gpio.h"
#include "esp_log.h"
#... | f9af06915ffbe31c39f690eec80b0f92e84f7e36 | [
"Markdown",
"C"
] | 6 | C | ATXChris/Thaw-Alert | bbacf41038ab4b49c74f38e70753d41382cf7ae3 | 57255f7228e2a80eca47a3609a55dd7565ecfe14 |
refs/heads/master | <file_sep>#!/bin/bash
docker build -t sonatanfv/sonfsmindustry-pilotmdc-vnf1 -f mdc-fsm/Dockerfile .<file_sep># SSMs for industrial pilot
Right now, this pilot **does not** need any SSMs since the reconfiguration tasks will be implemented as FSMs. The deprecated SSMs in this folder are not used anymore.
More informat... | 142512c7df048603ec5bd895218fbe403f06d3ec | [
"Markdown",
"Shell"
] | 5 | Shell | miguelmesquita/tng-industrial-pilot | 22396b629488c1803cd42fb1d2f088e8ce68fdb1 | 6154070ac1e3c73dcab0cfb3d205d8322650b73f |
refs/heads/master | <repo_name>gefire/gear<file_sep>/logger_filter_writer.go
package gear
import (
"bytes"
"io"
"os"
)
// LoggerFilterWriter is a writer for Logger to filter bytes.
// In a https server, avoid some handshake mismatch condition such as loadbalance healthcheck:
//
// 2017/06/09 07:18:04 http: TLS handshake error from 1... | 65a6f59c7d54ae8deb5ced26baca5584bdedba36 | [
"Go"
] | 2 | Go | gefire/gear | 7e00ef19f333bd10d9af09567e347d4c4981725b | 82ff9a0b2941ebfd2629e07d800e361060ac9ef8 |
refs/heads/master | <repo_name>LoicHuart/EndemikAPI<file_sep>/src/controllers/NotificationController.js
const nodemailer = require("nodemailer");
const HolidaySchema = require("../models/Holiday");
const EmployeeSchema = require("../models/Employee");
const { populate } = require("../models/Holiday");
const ServiceSchema = require("../mod... | ae7b4ede228a178000f37c8ba6574ddb25a33942 | [
"JavaScript"
] | 9 | JavaScript | LoicHuart/EndemikAPI | 31347b550ee723a143399793510767559a0d2e3f | 6ac469c7fcc08a1e0a0c3ba8ea65e5c6ea73c8c9 |
refs/heads/master | <file_sep># encoding utf-8
## SOLVED 2013/12/24
## 443839
# Surprisingly there are only three numbers that can be written as the sum of
# fourth powers of their digits:
# 1634 = 1^4 + 6^4 + 3^4 + 4^4
# 8208 = 8^4 + 2^4 + 0^4 + 8^4
# 9474 = 9^4 + 4^4 + 7^4 + 4^4
# As 1 = 14 is not a sum it is not included.
# The sum... | 7cb2cf86d40aa2153404eb621c69d553600f20e7 | [
"Markdown",
"Python"
] | 99 | Python | 6112/project-euler | b7478d14aa6defe347ab12178c7ffe90efdcb867 | c21934a27f628acda284def9e0e9db814d909f2d |
refs/heads/main | <file_sep>const express = require('express')
const app = express()
const port = 9000;
const cors = require('cors')
app.use(cors())
app.use(express.urlencoded({ extended: true }));
app.use(express.json()) // To parse the incoming requests with JSON payloads
const jwt = require('./jwt')
app.get('/test', (req, res) =>... | 3a36a942b79357ad7e1d8d9cb934a066cee34619 | [
"JavaScript"
] | 1 | JavaScript | alsocodes/rest-va-bca | 21bc4a0f7485b9da849b9ffe34eb5713ad2a6410 | 0b56917a5d3f1260b968d303d532bd516c3fb7af |
refs/heads/master | <repo_name>arvind1234/cpp<file_sep>/endian.c
#include<stdio.h>
int main() {
int x = 1;
char *p;
p = (char *) &x;
if (*p) printf("little endian");
else printf("big endian");
}
<file_sep>/recursiveReverse.cpp
#include <iostream>
using namespace std;
typedef struct node {
int data;
struct node *next;
}... | cac84b4212f530da8468ff740c367e01dbabc03e | [
"C",
"C++"
] | 2 | C | arvind1234/cpp | 092dda3f4062ebbcb44113a1930f987df6aaadc3 | 5b6f5499138385fd29f23b33f6d71d9e57e5958a |
refs/heads/master | <repo_name>vedantpuri/Scapegoat-Tree<file_sep>/src/structures/ScapegoatTree.java
package structures;
public class ScapegoatTree<T extends Comparable<T>> extends
BinarySearchTree<T> {
private int upperBound=0;
/**
* Adds an element to the tree.
*
* The modified tree must still obey the BST rule, though i... | 2c9c9df8d44639ff866fe4cf76cdc7eb5424aaa2 | [
"Java"
] | 2 | Java | vedantpuri/Scapegoat-Tree | 0550b6c58c8c96334b218c5ff2e145e22c5d483c | d9b6ed6f5a21a4abdb934739924d3fc99f965b98 |
refs/heads/master | <repo_name>paulamisen12/hello<file_sep>/tuitionProject/src/test/java/Base/TestBase.java
package Base;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.Properties;
import java.util.concurrent.TimeUnit;
import org.apac... | b36ce286904230859f80b29625b77f4a98744160 | [
"Java"
] | 2 | Java | paulamisen12/hello | 077950dffad2b8ca53345cdc0e99161b888444e2 | 7ab276f17b8c81cafd0ea741adeb83fe9264306f |
refs/heads/master | <repo_name>Srivatsava6/imad-2016-app<file_sep>/server.js
var express = require('express');
var morgan = require('morgan');
var path = require('path');
var app = express();
app.use(morgan('combined'));
var webpages={
'newpage-one': {
title: 'article 1: srivatsavas first blog ',
heading:'Article1',
... | 77ddb92d79a14da2b898d45f051ade0d9166f69d | [
"JavaScript"
] | 2 | JavaScript | Srivatsava6/imad-2016-app | 7946ff99cc818f47509901190e9aac0b3cd71d56 | 56012b16b7a6c152ecc199b600c0e5155ae6d755 |
refs/heads/master | <file_sep># AzureTablePurger
A command line utility to delete old data (eg logging data) from an Azure Storage Table.
## Note
This relies on the target table having its `PartitionKey` formatted in a specific way, namely ascending ticks with a leading 0, eg `0636738338530008778`. This is the default format for Serilog,... | afbab3df6482c9e9f733ad62e14a2facbde80dd9 | [
"Markdown",
"C#"
] | 11 | Markdown | JohanPlate/AzureTablePurger | 0e7c7f6c527e23a8b22ccdbe3a1385ded4161454 | c4911acf583479c9084b49b9b92d21493dcad17e |
refs/heads/main | <file_sep>const fs = require("fs");
const matchers = {
"phpunit-failure": {
regexp:
"##teamcity\\[testFailed.+message='(.+)'.+details='(?:\\s|\\|n\\s)*(?:.+\\|n[^'])?{{GITHUB_WORKSPACE}}/([^:]+):(\\d+)[^']+'",
defaultSeverity: "error",
message: 1,
file: 2,
line: 3,
},
};
function run() {... | 370597d6663414195dafe8a1d7790cee5f7cebec | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | mheap/phpunit-matcher-action | 88a67fde4efa72b81e43c8e444deb3f146e687f8 | a7ede2e68cae1b8def3e6bc6fa643e6e58c8fa32 |
refs/heads/master | <repo_name>padrededios/cours_python<file_sep>/learn_python3/tuto_tkinter.py
from tkinter import *
from random import randrange
# definition des fonctions gestionnaires d'evenements
def drawline():
""" Trace d'une ligne dans le canvas """
print("trace d'une nouvelle ligne")
global x1, y1, x2, y2, couleur
... | dfffe5be669ca71c6ffac9f4cc828d760e0d611c | [
"Markdown",
"Python"
] | 2 | Python | padrededios/cours_python | 24f4431013b0750fb3e75593429b4e8dfe8020c3 | 276bb382b1f84d0decac772c91effa0ab9821a40 |
refs/heads/master | <file_sep>package com.capgemini.bus_booking.services;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class Utilities {
public static boolean emailValidator(String email) { //*********************email validation****************************
if... | d3c2e7daae669633eaea8f909a0218e3adbbcce2 | [
"Java"
] | 6 | Java | Pushkarsinghrathore/busbookingtest | 7d3531618541a7bcb8c08c61cc5ca507da7fa1c6 | 694d2f8cbc1404644d200a8356e3bc40475407d3 |
refs/heads/master | <repo_name>wyc7758775/hrFaceGuardRN<file_sep>/src/components/InOutLog.js
import React, {Component} from 'react';
import {
Platform,
StyleSheet,
Text,
View,
AsyncStorage,
object,
Image,
RefreshControl,
} from 'react-native';
import {StackNavigator} from 'react-navigation';
import {
GE... | 979e1c21cc3b45e0fcfd77a25149a2fddd285cf0 | [
"JavaScript",
"Markdown"
] | 9 | JavaScript | wyc7758775/hrFaceGuardRN | ab3c78af1f06e3ac1798f132e75835ce290b6e70 | fbe4a8c509b5829a33ff282858290fb9f698663f |
refs/heads/master | <repo_name>Sergey-7/mygeekshop<file_sep>/mainapp/management/commands/fill_db.py
from django.core.management.base import BaseCommand
from mainapp.models import ProductCategory, Product
from authapp.models import ShopUser
from basketapp.models import Basket
import random
import json, os
JSON_PATH = 'mainapp/json'
def... | 743b0a1dc42df947d84fa53b59a5190e6caa2c63 | [
"Markdown",
"Python",
"Text"
] | 6 | Python | Sergey-7/mygeekshop | eeec8273dcfea8e98929492593f6f95d97c800e0 | 781f54484433ec0603733fbdf1f544d0f1bf112a |
refs/heads/main | <repo_name>Kriannn/testshoter<file_sep>/.env.example
SLEEP_TIME=1000
DISCORD_TOKEN=<your-token-here>
COMMAND_PREFIX=><file_sep>/README.pl-PL.md
# Testshoter Discord Bot
[](https://github.com/fhodun/testshoter/stargazers)
[
{
node * n = new node;
cout << "Enter the num for node: ";
cin >> n-> num;
n -> next = NULL;
if(head == NULL)
{
head = n;
tai... | fd392247475a6ad9a220717c82be5ff9e6c7f24b | [
"C++"
] | 3 | C++ | jukha/LinkedListRelatedProgramsC- | 16d95be11b8ece70a0f81f90a58971d4d771cda4 | b9232a9f31e81e31dc24bea894fe0a6fbcdb7bb4 |
refs/heads/master | <repo_name>SFWLtd/crm-plus-plus<file_sep>/Civica.CrmPlusPlus.Sdk/Validation/GuardIntExtensions.cs
using System;
namespace Civica.CrmPlusPlus.Sdk.Validation
{
internal static class GuardIntExtensions
{
internal static GuardThis<int> AgainstNegative(this GuardThis<int> guard)
{
... | 32f0b21d2ac88c03428b9323cf513cad75b6d0e8 | [
"Markdown",
"C#"
] | 68 | C# | SFWLtd/crm-plus-plus | 172da7d46797f9842dfefaec92b46832248defa0 | 967cc0d5ce3eb09a552272040cc451adb8334cc0 |
refs/heads/master | <file_sep># MozartMusicalDice
https://www.reddit.com/r/dailyprogrammer/comments/7i1ib1/20171206_challenge_343_intermediate_mozarts/
<file_sep>import random
import webbrowser
file = open("getmeasures.txt")
text = file.readlines()
measures = []
for i in text:
arr = i.split()
rand = random.randint(1,11)
measur... | c7e15cbb2527455e5f52f261016f035afd819458 | [
"Markdown",
"Python"
] | 2 | Markdown | AnshThayil/MozartMusicalDice | 1ab98191b8871304c9838abac482f52532b203d6 | d3425dcfce99b8634d5d95cb505a0213344e143f |
refs/heads/master | <repo_name>mariuscls/app-rabbitmq<file_sep>/src/AppBundle/Controller/PostcodesController.php
<?php
namespace AppBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\Request;
class PostcodesController exten... | 22007c1a6cf872f67806665cbf1820751287d664 | [
"PHP"
] | 3 | PHP | mariuscls/app-rabbitmq | a0ca06cf16a7c7d53c17086bc1316a654ca06f5c | d7c34c090e99c6d6c2ec17b930217e4d697868f6 |
refs/heads/master | <repo_name>AmTote/terraform-provider-confluentcloud<file_sep>/README.md
# `terraform-plugin-confluentcloud`
A [Terraform][1] plugin for managing [Confluent Cloud Kafka Clusters][2].
## Installation
Download and extract the [latest release](https://github.com/Mongey/terraform-provider-confluentcloud/releases/latest) ... | 505ffa0dce9b15af3cae603e31659832fe02e7f8 | [
"Markdown",
"Go",
"Shell"
] | 17 | Markdown | AmTote/terraform-provider-confluentcloud | 7efbbe1c241d1d54c74ba9ff2eb5447b6c95f87a | b83e7131255d3ffbee2d465169e02983effc3e6f |
refs/heads/master | <repo_name>maribelcuales/Testing<file_sep>/basic-javascript/project-1.spec.js
const helpers = require('./project-1');
// start testing!
//multiplyByTen
describe('Multiply By 10', () => {
it('returns NaN when given a type that is not a number', () => {
expect(helpers.multiplyByTen(null)).toEqua... | fe95c851e9bfa424f2308a3dad434fd52bb80105 | [
"JavaScript"
] | 3 | JavaScript | maribelcuales/Testing | b965246b019b0e1ee7070cb2fc2597d7c95ca493 | 40add47090d7704fc97168ad90bb9c3d3b52c66f |
refs/heads/master | <repo_name>christherama/parking-rates-grpc<file_sep>/server/build.gradle
apply plugin: 'com.google.protobuf'
apply plugin: 'java'
apply plugin: 'application'
apply plugin: 'docker'
buildscript {
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath 'com.google.protobuf:... | 6e926ec9aba80c5c3bf18897659b3d70b12b368b | [
"Markdown",
"Java",
"YAML",
"Gradle"
] | 17 | Gradle | christherama/parking-rates-grpc | 19483f3c634b588959d8dbb5194836d01be3f417 | bcfc66adcb085a9ad4dc8f2b715f5960a9242c6b |
refs/heads/master | <file_sep>package com.thecloudyco.arcade;
import java.util.ArrayList;
import org.bukkit.Bukkit;
import org.bukkit.World;
import org.bukkit.entity.Player;
public abstract class Game {
private World world;
private int minPlayersToStart;
private int maxPlayers;
protected boolean isRunning;
protected boolean ... | 5bf0418ebbd1750154d15adc26009f6cab1b7fb0 | [
"Markdown",
"Java"
] | 6 | Java | Aduhkiss/BedWarsGame | af4cb5b06af88499e93a5764d7494bde893aa5d1 | acfcdd2d6f658705a7e0745e4b04eb87d45477fd |
refs/heads/master | <file_sep>const io = require('socket.io'), server = io.listen(8000);
let sequenceNumberByClient = new Map();
const alert = {
incidentId: '109',
event: 'nonErgant',
category: 'security',
areaDescription: 'cities',
polygon: [1, 2, 3, 4],
};
// event fired every time a new client connects:
server.on('connection... | 5fbd5a615ce7a2207601c2db22fba6bb86510d44 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | danatsi/hatraa-chrome_extension | b2a2a300773bf9d536044bcd8e61e3f52b321982 | 55713b7b4d06c2542484d02d3a338fbe44c3a30d |
refs/heads/master | <file_sep>json.extract! @saving, :id, :title, :description, :created_at, :updated_at
<file_sep>class MasterCardMaping < ActiveRecord::Base
# require_relative '../../../services/moneysend/services/CardMappingService'
# require_relative '../../../services/moneysend/domain/card_mapping/CreateMapping'
# require_relative '.... | 6117366826ba24c5ab6b8a5e30642a41ab96dbf3 | [
"Ruby"
] | 6 | Ruby | purnima23/broq | b7a559160360dce0677918bee689d3f3910ec5f9 | c969a4cbaa641d45dc125f790f5645f1d4060081 |
refs/heads/master | <file_sep>package server
import (
"bytes"
"crypto/rand"
"crypto/tls"
"encoding/gob"
"github.com/gnicod/aion/scheduler"
"log"
"net"
)
type Server struct {
l net.Listener
sch scheduler.Scheduler
}
func NewServer(sch scheduler.Scheduler) Server {
// TODO path need to be read from a config
cert, err := tls.... | 9d09422a9b4fc90bef83868641216c2ee1b5a341 | [
"Markdown",
"Go"
] | 7 | Go | gnicod/aion | 548bc3806c69b5b9e5617adc30c74512ef341b7b | c1359ccaf3acdc9f982626c1148e53d4a5e8c789 |
refs/heads/master | <file_sep>import OAuth from "oauth-1.0a";
import crypto from "crypto";
import fetch, { Response } from "node-fetch";
import strictUriEncode from "strict-uri-encode";
export async function tweet(
msg: string,
consumerKey: string,
consumerSecret: string,
tokenKey: string,
tokenSecret: string
): Promise<Respons... | d1cda562532688d7c157225eb6c683c0493e7aa5 | [
"JavaScript",
"TypeScript",
"JSON with Comments",
"Markdown"
] | 12 | TypeScript | tarepan/VoiceConversionLab | 3c25043ba18e815e210cc60283e875bc25fd6447 | 24923282da0856d01dca739caba1db3cd8832fd4 |
refs/heads/master | <repo_name>dimdum354/Algoritma-Lingkaran<file_sep>/Lingkaran/Source.cpp
// Algoritma lingkaran
#include<GL\freeglut.h>
// Prosedur
void init();
void display();
void lingkaran();
// Posisi pada window
int window_x;
int window_y;
// Ukuran pada window
int window_width = 500;
int window_height = 500;
// Judul pada wi... | 2f84e40183705ac264db411ae9f433e43dd56e2e | [
"C++"
] | 1 | C++ | dimdum354/Algoritma-Lingkaran | f7ad7656e43c9df8d67b3bf814bdc3c7452b515f | 763a7104e081c35d1228ebc00bdb0287b7226d5c |
refs/heads/master | <repo_name>bratsche/clang<file_sep>/test/CodeGen/array.c
// RUN: clang-cc -emit-llvm %s -o %t
int f() {
int a[2];
a[0] = 0;
}
int f2() {
int x = 0;
int y = 1;
int a[10] = { y, x, 2, 3};
int b[10] = { 2,4,x,6,y,8};
int c[5] = { 0,1,2,3};
}
<file_sep>/include/clang/Makefile
LEVEL = ../../../..
DIRS := Basic... | 2f2b80d82461e05a0fc8a209c3a7839de54835cd | [
"CMake",
"HTML",
"Makefile",
"Python",
"Text",
"C",
"C++",
"Shell"
] | 491 | C | bratsche/clang | 77c7d34ab7344a7cb55595cdbc38bc9febe6b11f | e6ac7531a4ad777402e556c5d2ac043234520e07 |
refs/heads/master | <repo_name>BoyuanYan/Optical-Fiber-Course-Design<file_sep>/butterfly.cpp
#include "butterfly.h"
#include <math.h>
const static double PI=3.1416;
//static bool pre = 0;
Butterfly::Butterfly(QObject *parent) :
QObject(parent)
{
up = 1234;
pix_up.load("C://keshe/交换图片/1234 111111.png");
//pix_down.load("C... | db5476736d0076ff1433d55ac4bcce62d5e6b878 | [
"Markdown",
"C++"
] | 4 | C++ | BoyuanYan/Optical-Fiber-Course-Design | 604366a1b142687d749e189093ddc67e49680c6e | ca4f7ab2b35819599df45492b03e96a713cc5aac |
refs/heads/main | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
namespace VillaCorano.App_Start
{
public class BugFixFriendlyUrlResolver : Microsoft.AspNet.FriendlyUrls.Resolvers.WebFormsFriendlyUrlResolver
{
protected override bool ... | 200d1b7fe5eae368fa4f4ca73d2c15031dc31b31 | [
"C#"
] | 6 | C# | GabrieleisCoding/VillaCorano | fcd75948525439ca1744deca97d6c3f0e762a4c7 | 03f743b9e8de73c8c1d1d33b578e7dcc7bbd0631 |
refs/heads/master | <repo_name>maasencioh/generator-mljs-packages<file_sep>/README.md
# generator-mljs-packages
[![NPM version][npm-image]][npm-url]
[![Build Status][travis-image]][travis-url]
[![Dependency Status][daviddm-image]][daviddm-url]
[![Coverage percentage][coveralls-image]][coveralls-url]
[![npm download][download-im... | f8cec63ebf8c2c33fb6ec2190ac7c40a69453e57 | [
"Markdown",
"JavaScript"
] | 4 | Markdown | maasencioh/generator-mljs-packages | aa4d98998ee080c67cf8d5600e22633d150bd892 | 575c514e629201fe996392bd13e798285a59a112 |
refs/heads/master | <file_sep>export default function tripPlan(origin, destination, data) {
this.origin = origin;
this.transferStation = false;
this.tertiaryStation = false;
this.destination = destination;
this.data = data;
this.date = new Date();
this.day = this.date.getDay();
this.time = this.getTime();
this.t... | 3ad4e9a3d00a89f36ac2b8a5176ae4da51b734ad | [
"JavaScript",
"Markdown"
] | 18 | JavaScript | nicksenger/BayTripr | 811307b079b1a65807e1eb38718acb565b6580a0 | 70b207eada93057f9494700b969d197a25c4a4c5 |
refs/heads/master | <file_sep>self.__precacheManifest = (self.__precacheManifest || []).concat([
{
"revision": "08d42adcbe44caf6e4ca9911d76c5cef",
"url": "/index.html"
},
{
"revision": "a250ca3dabd16dcd4000",
"url": "/static/css/main.ec75d18e.chunk.css"
},
{
"revision": "19a02f0edfd296cac57c",
"url": "/st... | 92cc9b82e009a3c16999bbce2e03f67580cc1ae7 | [
"JavaScript"
] | 1 | JavaScript | dev-athul/Quiz-App-Build | 1d58918ca20b1cd7ee09f768447ad3bb8c909b13 | 8e280e3c5b4709fb34b2da77cc535d0fcf2b2e0b |
refs/heads/master | <repo_name>marboga/mean1<file_sep>/client/js/controllers/questionsController.js
console.log('in qs controller')
survey_app.controller('questionsController', function($scope, pollFactory, loginFactory){
$scope.thisQuestion = {};
$scope.user = {};
function getUser(){
loginFactory.getUser(function(data){
$scope... | 09edebf75857fe4555f6b241a58062a7fc7091b6 | [
"JavaScript"
] | 5 | JavaScript | marboga/mean1 | 98395b4e826220cc820843746d94274d7e4ffc6d | 27180257d12f75bc515ab68a01e336a99f9912fe |
refs/heads/master | <file_sep>import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
public class Helper {
public static void printDisplay() throws IOException {
BufferedReader iStream = new BufferedReader(new FileReader("input.txt"));
String string = new String();
for(int i = 0; i < 11; i++) {
... | 9cf58cdf22d4bf1a41649e57010ad696f48d44d0 | [
"Java"
] | 1 | Java | acoehu/BankAccount | 08c1f701625e028acddaa0e537af5168d2cd1acc | 0a8ed562d21bbc5a4a01164935dc9e8fd3971ceb |
refs/heads/main | <repo_name>ookyawsoe-dev/Brick-Ball-Out-Game<file_sep>/Main.java
package Game;
import java.io.File;
import java.io.IOException;
import javax.sound.sampled.AudioInputStream;
import javax.sound.sampled.AudioSystem;
import javax.sound.sampled.Clip;
import javax.sound.sampled.LineUnavailableException;
import javax.s... | 48c3c6343ae402ddfbc33f274d4687e2e8da24dc | [
"Markdown",
"Java"
] | 2 | Java | ookyawsoe-dev/Brick-Ball-Out-Game | ce36086bf4fe308a5b943a3882573d79ec072ca8 | a8495bf4f8821f9da80c9a345277438bb701893e |
refs/heads/master | <file_sep>'use strict';
var express = require('express'),
bodyParser = require('body-parser'),
config = require('./app/config'),
mongoose = require('mongoose'),
db = mongoose.connect(config.mongo.getUri(), config.mongo.options),
app = express(),
router = express.Rout... | 840bc99411db7737f06f91c7f3bc3fee594f709e | [
"JavaScript"
] | 1 | JavaScript | boomde/mean-test-app | a81b9d716032dbb7cf72e26df00d3b0ef751a18d | 2932c20141e8ee56003e1d68174e14663a0106fc |
refs/heads/master | <file_sep>(function () {
angular.module('ivanyushev')
.config(['$stateProvider', '$urlRouterProvider', function ($stateProvider, $urlRouterProvider) {
$stateProvider
.state('main', {
url: '/Main',
templateUrl: 'Pages/ma... | f7287fed1b863e885da9eb48bdc02c85fe3d4ec9 | [
"JavaScript",
"C#",
"HTML"
] | 6 | JavaScript | mishabarabolkin/ivanishev | 3a554ff1d732bfcd2df0b0ebaeeadc23a60cbe6a | 56132efd5afe861f0001d9c9ed3b97da7f783f30 |
refs/heads/master | <repo_name>Lamz0rNewb/git-multisig<file_sep>/main.py
# Copyright 2015 dc-tcs
#
# 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
#
# Unles... | 20502a4ee681137b4d585a9c10ac10ece23e70ef | [
"Python"
] | 4 | Python | Lamz0rNewb/git-multisig | d4507d551f2c83b54c469e0d7b58e3822ef358d6 | 088bbd562d3e99d14e0928bb65c5aa2ac17015a7 |
refs/heads/master | <file_sep>var events = require('events');
var myEmit = new events.EventEmitter();
myEmit.on('some_event', function(txt) {
console.log(txt);
});
myEmit.emit('some_event', 'Обработчик событий сработал');
<file_sep>
console.log("SMTH");
| c0f2ade5a9e7795a6a41f637f751c533ec76e7b7 | [
"JavaScript"
] | 2 | JavaScript | fafnircheg/helloworld | f4037b1292c63dcc6e8f95666cc1b29eab03fc4f | 5cc8124fbb29a6e5419c397366888896e9e3cda5 |
refs/heads/main | <repo_name>devneagu/Blog<file_sep>/src/blog/second-post.md
---
title: Second
author: Nikola
date: 2020-07-15
---
## Introduction to my blog post
Great content of my first blog
<file_sep>/src/pages/index.js
import React from "react"
import { graphql } from "gatsby"
export default function Home({ data }) {
const { t... | ee170aa472173e9b48606b051d973dcad9659672 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | devneagu/Blog | d8f94e6c8ac2633d34ee90fe3ff22662e314915d | b443d61f468e4314a8331639bf02cf89c26c3330 |
refs/heads/master | <repo_name>Elektropepi/newsR<file_sep>/client/src/article/Content.ts
export class Content {
public readonly citationLevel: number;
public readonly text: string;
private static readonly citationRegex: RegExp[] = [
new RegExp(/am(.*?)schrieb.*/, "i"),
new RegExp(/on(.*?)wrote.*/, "i")
];
constructor(tex... | 51875779553fe7a942c469ebed86da2e9ae93fa4 | [
"Markdown",
"TypeScript",
"JavaScript"
] | 16 | TypeScript | Elektropepi/newsR | cec950eae92f28922cc8d400208ac4f1b05958db | 924c70da931cf6dd6cd20885cc478f10f80fb53c |
refs/heads/master | <file_sep>// Arquivo: php.c
// Autor: <NAME>
// Data: 28 ago. 2018
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#define MAX_RESOURCES 5
#define MAX_TASKS 26
#define MAX_STEPS 20
#define MAX_TIME 1000
#define RUN 0
#define LOCK 1
#define UNLOCK 2
typedef struct {
int p; //prioridade... | a0c4c78239af2e6ddbdc9f550361e4ae29e9ab88 | [
"C"
] | 1 | C | pereiraguilherme/Trabalho_PHP_STR | 650e3784f2257bafc7ad7d20a7c4202145090b8e | 200ea2022525e6777de829a1078c25f0cd71f990 |
refs/heads/master | <repo_name>EllenPeng123/Gitlet<file_sep>/Gitlet.java
package gitlet;
import java.util.Map;
import java.util.HashMap;
import java.util.*;
import java.io.*;
public class Gitlet implements Serializable {
public static final long serialVersionUID = 42L; // required for serializing
private Map<String, Commit> l... | b7eb468c979f55988e2912c2b9e66c239d634ae4 | [
"Markdown",
"Java"
] | 3 | Java | EllenPeng123/Gitlet | bdf7d3b9596bd0c4bd8bdc42dc2f396f055b9bfb | 211c0a345ab5f24e5b8fa2aaaa335e8710ce2f95 |
refs/heads/master | <repo_name>alpcanaydin/devizmir-node<file_sep>/classes.js
'use strict';
class Example {
constructor() {
this.defaultOptions = {
city: 'izmir',
lang: 'node.js'
};
}
sayHi(name) {
console.log(`Hello ${name} from ${this.options.city}`);
}
get options() {
return this.defaultOptions;... | 198bce65d792f722df5a682dec94e06e34508d46 | [
"JavaScript",
"Markdown"
] | 14 | JavaScript | alpcanaydin/devizmir-node | f3e9f87aae7a919af7e0e846d665114acd600d2b | bcfd61420c719f8793fd1bf0c8dfcf4de6293b1d |
refs/heads/main | <repo_name>shaw1001/helper<file_sep>/jdresource/jx_sign.js
const notify = $.isNode() ? require('./sendNotify') : '';
//Node.js用户请在jdCookie.js处填写京东ck;
const jdCookieNode = $.isNode() ? require('./jdCookie.js') : '';
let jdNotify = true;//是否关闭通知,false打开通知推送,true关闭通知推送
//IOS等用户直接用NobyDa的jd cookie
let cookiesArr = [],... | 5cb033b44d15bb90afb1aa54cbdf706571577fa0 | [
"JavaScript"
] | 4 | JavaScript | shaw1001/helper | d80466a92acf63c3ae37854a3daa2ed8e1f3495d | 9c8cd505d8dfdf829a99de9cdec119d135c1dfc5 |
refs/heads/master | <file_sep>const navToggleShowBtn = document.getElementById('navbar-toggler-show');
const navToggleCloseBtn = document.getElementById('navbar-toggler-close');
const navbarCollapseDiv = document.getElementById('navbar-collapse');
const navbarDiv = document.querySelector('.navbar');
navToggleShowBtn.addEventListener('cli... | b9ec7b1e2fe0e3d9075a3350466e0612a48acb6f | [
"JavaScript"
] | 1 | JavaScript | prabinmagar/design-website-html-css | d6fee940a4b9c7ab36a6615bb597cee6677a23d6 | 6bd6b8e0bbc42729e0a2fb5116014324e27f6c7c |
refs/heads/master | <file_sep>//
// OneViewController.swift
// Navigator
//
// Created by <NAME> on 10/9/17.
// Copyright © 2017 HuiJing. All rights reserved.
//
import UIKit
class OneViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
self.title = "ONE"
}
}
<file_sep>//
//... | d49ac05380d0f98663581045a85ba56edba6ff76 | [
"Swift"
] | 2 | Swift | huijing0024/Navigator | aac15c505d0cb4114500958f04515530464eeb96 | 3d7a1e1509fb3c998fb8f7c61bb83e3ab2128331 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using Dapper;
using System.Data.Common;
using System.Linq;
using MySql.Data.MySqlClient;
namespace ShopMall.Common
{
/// <summary>
/// 数据层访问类
/// </summary>
public class DbProvider : IDisposable
{
/// <summary>
/// 初始化
... | ed0d943aa6fcb0424cad1f0ceada56daf7292f46 | [
"JavaScript",
"C#"
] | 18 | C# | nightsWatcher/PistolShopMall | 60bc785e9a8c5678f36482e8698e9aa1078f8cdc | c5b329a599d800a2dde1bdb103339afa108c50bd |
refs/heads/master | <file_sep># Trabalho Final da disciplina de Tópicos Especiais III
## Projeto Smart Lamp
### Introdução
O sistema como um todo gira em torno de uma lâmpada inteligente (e ai você pode imaginar várias situações onde está lâmpada possa estar, um quarto, uma sala, whatever). Está lâmpada representada como um LED deve fi... | ed13aa85462bbb4d495434d5b9e12134a68e0053 | [
"Markdown",
"C++"
] | 2 | Markdown | Eudalio/smart_lamp | 24e1965cd5d301fde1c14f99a26f6fc8c10e9266 | fa307a1da2162ae99d647d260e42594b1b9b01b8 |
refs/heads/master | <repo_name>nirlo/EyeNeuro2<file_sep>/app/src/main/java/com/example/lock0134/eyeneuro/MainActivity.java
package com.example.lock0134.eyeneuro;
import android.content.Intent;
import android.graphics.Color;
import android.net.Uri;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support... | 2e3d83b7c87fb6e3906c9ba7f45854a3f092204e | [
"Java"
] | 1 | Java | nirlo/EyeNeuro2 | 60f73ff79c819bd6201960b562cc49e1b59115c8 | 8fe75a57c49e674d03ca9a20732ad1ffc35ea97c |
refs/heads/master | <file_sep>module.exports = {
uv: {
code: null,
fullname: null,
description: null,
branche: null,
saison: null,
type: null
}
}
<file_sep>var https = require("https");
var _ = require("lodash")
function getUserUvs(user, callback) {
// https://webapplis.utc.fr/Edt_ent_rest/myedt/result?logi... | d780a3096cebc524dff469dc69b0c0eeff7dc270 | [
"JavaScript",
"SQL",
"Python",
"Markdown"
] | 11 | JavaScript | bloriot97/UVector | 06a88b49de53855f6df6084f8cac063db286d6f5 | eebb13766c54e29e28428d9655b6c3e98f9dee19 |
refs/heads/master | <repo_name>KristianWB/ItJP_Exercise_3_31<file_sep>/src/CurrencyExchange.java
import java.util.Scanner;
public class CurrencyExchange {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
double exchangeRateTemp;
System.out.print(
"Enter the ... | 6f98a77c1a41dd3eaba1bd43dd02386349882562 | [
"Java"
] | 1 | Java | KristianWB/ItJP_Exercise_3_31 | b7370122a9b25cd9df13ffaafc8b853ba401a3f3 | 9517668d40ba35f064243c93a0f28a0a89e1ef0a |
refs/heads/master | <file_sep># Yet Another Pig Latin Converter
### Converts strings into pig latin
Exposes a single function, `changePhrase`, that accepts a string argument, and returns a pig-latinised string.
Examples:
var pigLatin = reqiure('yapiglatin').changePhrase;
console.log(pigLatin('test')) // esttay
console... | 74313cf002e80b27194d8fa2f56bfabf379713c2 | [
"Markdown",
"JavaScript"
] | 3 | Markdown | tomruttle/node-yapiglatin | df7183cf633c66c7918db8148a3414adf14cbcd9 | 6cc19928887745d49b294124d8ec8cee219bd186 |
refs/heads/master | <repo_name>Palamax/ecoleg<file_sep>/ecoleg/modele/m_session.php
<?php
class m_session{
private $base_de_donnee;
public function __construct($base_de_donnee){
$this->base_de_donnee = $base_de_donnee;
}
/* Vérifie les cookies de session */
public function vérification_cookie() {
$vérifica... | 0b97450f7cd1642efe2f63cdca96b3c690265d4d | [
"JavaScript",
"SQL",
"PHP"
] | 33 | PHP | Palamax/ecoleg | d59cc1c31a626b8e75a44183e77c487ae5264ae8 | fbfc81524ec1625d7e70e5ea7f08449ffbdf46ca |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.