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>package org.ajm.laforkids.desktop.tests
import com.badlogic.gdx.graphics.Color
import com.badlogic.gdx.scenes.scene2d.ui.Skin
import com.badlogic.gdx.utils.Array
import org.ajm.laforkids.actors.IMatrix
import org.ajm.laforkids.actors.Matrix
import org.ajm.laforkids.desktop.DesktopLauncher
import org.junit.A... | 976e0f24fce397c21e318dd32a6bf817ca75cf25 | [
"Markdown",
"Kotlin"
] | 29 | Kotlin | Korkemoms/Matrix-Multiplication | 15ecf19aaa14c97a380054fb5b3a1935aced30c2 | f137586c93b02df119e0bfd1246d9b0fe63fb732 |
refs/heads/main | <repo_name>stelar-3023/CatchOfTheDay<file_sep>/src/base.js
import Rebase from "re-base";
import firebase from "firebase";
const firebaseApp = firebase.initializeApp({
apiKey: "<KEY>",
authDomain: "catch-of-the-day-steve-l-93dd9.firebaseapp.com",
databaseURL: "https://catch-of-the-day-steve-l-93dd9-default-rtdb.f... | 591a886f80f0dd10d55a8783923a57fdc216a12e | [
"JavaScript"
] | 1 | JavaScript | stelar-3023/CatchOfTheDay | 5b5ddf6b5e68a607cf95cdbee3d6243a87578373 | 0244ae71b2609cb3420bc1dc55b808a485c4cf2d |
refs/heads/master | <file_sep>using Microsoft.Owin;
using Owin;
[assembly: OwinStartupAttribute(typeof(WebApplication3.Startup))]
namespace WebApplication3
{
public partial class Startup {
public void Configuration(IAppBuilder app) {
ConfigureAuth(app);
// this section should not be edited by anyone
... | b3803648563f64163908ffdd561ce2182fbf32ab | [
"C#"
] | 1 | C# | subhghosh/SAPReportUS | a72506132e6304b8a8a20bb023401118263ca919 | 8383efc240a74e7ea4c7e47580a2d11bb59700e7 |
refs/heads/master | <repo_name>alexg-dev/React-simple-app<file_sep>/src/client/state.ts
import * as Immutable from 'immutable'
let data = Immutable.fromJS({
'notes': [],
'is_loading': false
})
function createCursor(path) {
return (updater?: Function) => {
if (updater) {
data = data.updateIn(path, updater)
return
... | 58a0b2fa45b54d1d9b8cf305bc5b5fb13950464d | [
"JavaScript",
"TypeScript",
"JSON with Comments",
"Markdown"
] | 12 | TypeScript | alexg-dev/React-simple-app | d256595c653535cb895388d96c86c6d262e413a2 | 498cc32529e8751b6538fe8a9132b4fa4a8ebfed |
refs/heads/master | <repo_name>jdesboeufs/connect-mongo<file_sep>/.github/ISSUE_TEMPLATE.md
- **I'm submitting a ...**
[ ] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project
- **Summary**
- **Other information** (e.g. detailed explanation, stack trace... | aaafb945a2248851f0e9f5b351d667854afee941 | [
"Markdown",
"TypeScript",
"JavaScript"
] | 14 | Markdown | jdesboeufs/connect-mongo | d52dc41996909e3f3d98ce4a194a16a6afde246c | 8d24267b724ccbc656e3f664c2b60f33afbc267a |
refs/heads/master | <repo_name>chuxi/spark-server<file_sep>/server/src/main/public/scripts/controllers/jobs.js
angular.module('webApp')
.controller('JobsCtrl', function ($scope, $location, $resource) {
$scope.sideMenu = function(page) {
var current = $location.hash() || 'overview';
return page === curre... | acf7744543c4307d77c621fde9de763fa973edc1 | [
"JavaScript",
"Markdown"
] | 6 | JavaScript | chuxi/spark-server | 652e19bf1914fe13efc4ae9cc803db653f100e3d | 5566cc93d4cebe0b2310c978ee1cefb7a172aebc |
refs/heads/master | <file_sep>/* Copyright 2006 The JA-SIG Collaborative. All rights reserved.
* See license distributed with this file and
* available online at http://www.uportal.org/license.html
*/
package edu.wisc.my.stats.tag;
import java.util.Date;
import edu.wisc.my.stats.util.Table;
import edu.wisc.my.stats.util.Table.Entry;... | 8901b73f5b9502fcb9cdcd3be96bcd6103a56a8f | [
"Markdown",
"Java",
"Maven POM",
"INI"
] | 18 | Java | UW-Madison-DoIT/StatisticsReporting | 319c1eeb3b9b955c6c280d453d64c346ae4a362b | 0ce021112964522c4a43feb5ac0711af8f2b4fe5 |
refs/heads/master | <repo_name>PMGH/js-football-transfer-market<file_sep>/server.js
var express = require("express");
var app = express();
var bodyParser = require("body-parser");
app.use(bodyParser.json());
app.use(bodyParser.urlencoded({extended: true}));
app.use(express.static("client/build"));
// set up mongo client
var MongoClient... | 2feec4b2768bbcbe202e87972f022f1fbd1dbcb9 | [
"JavaScript"
] | 4 | JavaScript | PMGH/js-football-transfer-market | 6e65f748f79b1d496a4f5c1d28920821b308572f | 8ee3868edddb10022f2e93b17f456805833fff76 |
refs/heads/master | <file_sep>// Options:
/* ------------------------------------------------------------
name: "untitled"
Code generated with Faust 2.23.10 (https://faust.grame.fr)
Compilation options: -lang cpp -scal -ftz 0
------------------------------------------------------------ */
#ifndef __mydsp_H__
#define __mydsp_H__
/*****... | 67f241bbd5780e9fe788831f1324d744243ea9cf | [
"Markdown",
"C++"
] | 3 | C++ | renebohne/ttgo-audio-synth | 2486b6463787caab3442709af24cb4200573d8a1 | 04084cea9036534d8f07e3f7398c68886c8d5932 |
refs/heads/master | <repo_name>clementBro/Toc-Eat<file_sep>/Scroll2 - Copie/app/src/main/java/com/example/oli/scroll2/Adaptater.java
package com.example.oli.scroll2;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
/**
* Created by Oli on 11/01/2017.
*/
public class Adaptater extends ... | e8c46d3b9cb4c5423d425381f6a6c6441d20ce95 | [
"Java"
] | 1 | Java | clementBro/Toc-Eat | 95cb379cefb92f62df05643a034ff5514a1f26cb | 7d49876c712a0fa28edc30f9b6d635a9cc35fc6c |
refs/heads/master | <repo_name>laefad/Shaverma<file_sep>/scripts/script_reviews.js
"use strict";
document.addEventListener("DOMContentLoaded", function() {
initStarRating();
});
function initStarRating()
{
let starDivs = document.querySelectorAll(".star_rating");
starDivs.forEach( (elem) => {
let labels = elem.querySelecto... | ace7c973d3b5241b4926a869b75795fe933e1246 | [
"JavaScript"
] | 2 | JavaScript | laefad/Shaverma | adc79642097b8d00ca2bff1b6a6b39b0f6871886 | 1c9406ef7959b2ced818f2add1127e6aca3f9e95 |
refs/heads/master | <file_sep>package eu.appbucket.sandbox.myq.processor;
import eu.appbucket.sandbox.myq.record.Record;
import org.apache.commons.math3.geometry.euclidean.twod.Line;
import org.apache.commons.math3.geometry.euclidean.twod.Vector2D;
import org.apache.commons.math3.stat.descriptive.DescriptiveStatistics;
import org.apache.c... | 35e612fd42124af6025d365ac7c69f01ba37c7ec | [
"Java"
] | 8 | Java | abednarski79/sandbox | bc929555c0c54647c48afffbe231675a2cfdd319 | 2824e509af1737b53270b8ae92f8463b9c9e945d |
refs/heads/master | <repo_name>pablolibo/oslo.messaging<file_sep>/oslo_messaging/server.py
# Copyright 2010 United States Government as represented by the
# Administrator of the National Aeronautics and Space Administration.
# All Rights Reserved.
# Copyright 2013 Red Hat, Inc.
# Copyright 2013 New Dream Network, LLC (DreamHost)
#
# Li... | ee30ef5a2eeff73f17efa0c016e31dc332dc56c1 | [
"Python"
] | 1 | Python | pablolibo/oslo.messaging | d3bb45fe34c6fcdef0b896d5f4ed172d5dee4985 | aa1e072c14bb75c6958ff9ae1bc4536f351232c6 |
refs/heads/master | <repo_name>Yisaer/SHU-GameZone<file_sep>/GameZone/src/test/com/GameZone/Dao/CreditDaoTest.java
package com.GameZone.Dao;
import com.GameZone.Entity.Credit;
import org.apache.ibatis.annotations.Param;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
i... | 7614ddb138da2694e3f4f3bd2d9d385c0ad2fca8 | [
"Markdown",
"Java",
"INI"
] | 6 | Java | Yisaer/SHU-GameZone | 258adf29a034529e5d647078502345c30a4b3bc4 | ae95039315e5bde95c721736032ed2ba7db436ad |
refs/heads/master | <file_sep>SPOTIFY_ID=the-oauth-client-id
SPOTIFY_SECRET=the-oauth-client-secret
# You can generate the SECRET_TOKEN any way you please, but we suggest:
# openssl rand -base64 32
SECRET_TOKEN=generate-random-string-of-at-least-32-bytes
<file_sep>package main
import (
"crypto/rand"
"encoding/base64"
"errors"
"fmt"
... | 3d8c8ca4f215e91f812dcc1d0fcce600b7c2b036 | [
"YAML",
"Markdown",
"Go",
"Dockerfile",
"Shell"
] | 7 | Shell | therevels/mixtape | ec27bfc41288225d59104a6b380207daa226fef7 | aa3782a17cfa14eee8e52180353ac5e38a133ff3 |
refs/heads/main | <file_sep>const assert = require('chai').assert;
const {soma, subtracao, divisao, multiplicacao} = require('../src/operacoes')
describe('Testes com operações', () => {
it('Soma', () => {
assert.equal(soma(1, 1), 2, '1 + 1 deve ser 2');
assert.notEqual(soma(1, 1), 3, '1 + 1 não deve ser 3');
})
... | 9f2fe51aaef88a85d174437104c20e1d518d7cee | [
"JavaScript"
] | 3 | JavaScript | hugocgc/Exercicios-TDD | 5215ff2a5ebdc3669bf379706756bb1f31f12c61 | 0485fa7b3a27ab261e29660a2084f80457180aae |
refs/heads/master | <repo_name>zvadaadam/parking-prediction<file_sep>/parkingprediction/dataset/base_dataset.py
import pandas as pd
from sklearn.model_selection import train_test_split
class DatasetBase(object):
"""
Base class for datasets operation.
"""
def __init__(self, config):
self.config = config
... | d222bdf99d7bce36876a42ba8e8493d8ff1c38a5 | [
"Python",
"Text"
] | 8 | Python | zvadaadam/parking-prediction | a6ce5e11d4c9767aaefaace50a15fe1382143c71 | 39ac03e64834526adff4b185bc0d9c6b6e3c3a39 |
refs/heads/master | <file_sep>drop database if exists spotify_cal;
create database spotify_cal;
\connect spotify_cal;
CREATE TABLE users (
ID SERIAL PRIMARY KEY,
username VARCHAR UNIQUE,
password VARCHAR
);
CREATE TABLE events (
ID SERIAL PRIMARY KEY,
date date,
start_time VARCHAR,
end_time VARCHAR,
description ... | 2a8b321a2163a36c80955c9cc150777d455b9493 | [
"JavaScript",
"SQL"
] | 4 | SQL | susanahan/spotify_calendar | 04dae9cfc0c5c1c47d0a51163823441b66d84621 | ba55cd4cad254934352c81e04870c6df8971dfd3 |
refs/heads/master | <repo_name>zakariaelas/gemochat<file_sep>/frontend/src/components/InterviewerRoom/MeetingInformation/JobDetail.js
import React from 'react';
import PropTypes from 'prop-types';
import { Box, Typography } from '@material-ui/core';
const JobDetail = (props) => {
return (
<Box pt={2}>
<Typography variant="h5"... | ffa4251835c33b282e6cccc9cd4261b31db66fa2 | [
"JavaScript",
"Markdown",
"Shell"
] | 113 | JavaScript | zakariaelas/gemochat | 5236c4f36ae4e9280ebdfce76ac5c87aef7e8ba6 | c7cbf08b322e009bd9891efeb4b0ac80332f1aef |
refs/heads/master | <file_sep>//
// Created by 李寅斌 on 2019/2/27.
//
#include <gtest/gtest.h>
int add(int a, int b)
{
return a + b;
}
TEST(test, add)
{
EXPECT_EQ(add(2, 3), 5);
}<file_sep># cmake-learning
cmake learning
<file_sep>cmake_minimum_required(VERSION 2.8)
project(GTEST CXX)
include_directories(${PROJECT_SOURCE_DIR})
... | ec8aae14de037c6e8f4cbc44a6a187f54232fa3e | [
"Markdown",
"CMake",
"C++"
] | 6 | C++ | kodo-0000/cmake-learning | 0114e3af82d2daaf4c936cb056a81220c7c3f998 | 38750bf340f26023d26e4e329652fde4a0b8c807 |
refs/heads/master | <file_sep>from flask import Flask
from flask_keystone import FlaskKeystone
app = Flask(__name__)
@app.route('/')
def hello():
return "Hello World!"
@app.route('/<name>')
def hello_name(name):
return "Hello {}!".format(name)
if __name__ == "__main__":
# pragma: nocover
app1 = FlaskKeystone(app)
... | 98d12b5f741978593ea4942e4a2361a2e89b2f64 | [
"Markdown",
"Python",
"Text"
] | 3 | Python | snivas/flask-keystone | 0c3f80b486ca37c17c92b769ef92f69d010efeed | a4533d9fb448a8597537088a6b32d80231ef9fee |
refs/heads/master | <file_sep>//
// Config.swift
// Perfect-App-Template
//
// Created by <NAME> on 2017-02-20.
// Copyright (C) 2017 PerfectlySoft, Inc.
//
//===----------------------------------------------------------------------===//
//
// This source file is part of the Perfect.org open source project
//
// Copyright (c) 2015 - 20... | f638154c95efc755ac89595b4b761958733a8ddd | [
"Swift"
] | 2 | Swift | YoelL/Perfect-Authentication-Server | a55613ad476a606b1e729c8ed5d8d60d45b60c86 | 3210a6257007a0a0e1c35272afcc6cff8b614fa6 |
refs/heads/master | <file_sep><?php
session_start();
$numbers = array('00','01','02','03','04','05','06','07','08','09','10','11','12'); shuffle($numbers);
$colours = array('b','r','g','y'); shuffle($colours);
$cards = array('zzz'); //initialize the cards with +4
foreach($colours as $colour){
foreach($numbers as $number){
$cards... | c4ae72208e91654aa8541ddccb8c17077d97aac8 | [
"Markdown",
"SQL",
"JavaScript",
"PHP"
] | 4 | PHP | hsnmtw/okia | d8b887589e6e7cbaa9ddc9fc256a883c9515eadb | 0d1aad87242c38d7df75424d468ca8f1b61361bd |
refs/heads/master | <file_sep>import vk
import json
import time
import getpass
id_app = getpass.getpass('Enter App id: ')
login = getpass.getpass('Enter login: ')
password = getpass.getpass('Enter password: ')
def vkAutorization():
session = vk.AuthSession(id_app, login, password, scope='wall, messages, groups')
vk_a... | ddc8121c0a6036faa367fb10fe5a6d983abd8eae | [
"Markdown",
"Python"
] | 4 | Python | mcproger/TelegramBot | 4c3564c017407620630214ee26a87f1a11e122eb | 9a6e2907b074f6ae9afdf62f5139ed7a0612438c |
refs/heads/master | <file_sep># intervalModifierCalculator
<b>What is this?</b><br>
A simple calculator used to determine the suggested interval modifier % in Anki.
<b>What is interval modifier?</b><br>
Interval modifier allows you to apply a multiplication factor to the intervals Anki generates. At its default of 100% it does nothing;... | fe56e49a422ea35707c5ce3693e1042ea4baf375 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | coofzilla/intervalModifierCalculator | a3b5d117dbb38a0c0720a552da802e75133c0e78 | c4a91ffd7bda52fe87d18e1ce19952bc159e4f9f |
refs/heads/master | <file_sep><?php
namespace App\Model;
/**
* Created by PhpStorm.
* User: mkowal
* Date: 11.06.2019
* Time: 15:42
*/
class UserModel
{
/**
* @var int
*/
private $id;
/**
* @var string
*/
private $firstName;
/**
* @var string
*/
private $lastName;
/**
... | 88c160224da432d7f96657534900721b66f15330 | [
"Markdown",
"PHP"
] | 10 | PHP | mkowal87/news | ed4da11753e655807e1adde057b7670e34552964 | 2b1b47e27422bcf7e7747dc8082976fecc486540 |
refs/heads/master | <repo_name>bendyna/ProgrammingAssignment2<file_sep>/cachematrix.R
makeCacheMatrix <- function(m = matrix()) {
## creates a special "matrix", which is really a list containing
## a function to
## 1. set the value of the matrix
## 2. get the value of the matrix
## 3. set the value ... | 09be09589d7c2c73679195a7e8eda635ef503114 | [
"R"
] | 1 | R | bendyna/ProgrammingAssignment2 | 9ed2b68046c46b08040e980a9c2bd8cde3fb54ac | b3c2bc19a4ee9ff3bd06a75135a80e2b314bbcb7 |
refs/heads/master | <file_sep># 1.5.1
d <- slice(diamonds, c(seq(1, nrow(diamonds), by = 2)))
# 1.5.2
my_df <- mtcars %>%
select(mpg, am, vs, hp) %>%
filter(mpg > 14, hp > 100) %>%
arrange(desc(mpg)) %>%
slice(1:10) %>%
rename(`Miles per gallon` = mpg, `Gross horsepower` = hp)<file_sep># 1.6.1
all_to_factor <- function... | 6adccda75fa363eb5b70efd0a451b796d46c6c98 | [
"Markdown",
"R"
] | 12 | R | Legosta/Data_analysis_in_R._Part_2_stepik.org | ab0ad28368ae667c16af412f12b0ed9d0b704013 | 74c59b1ec332bddbaa48ca4243f1e4ba3f644d77 |
refs/heads/master | <repo_name>marciopocebon/checktranslations<file_sep>/Makefile
xmldocdiff: main.cpp
g++ -o xmldocdiff main.cpp
<file_sep>/main.cpp
#include <iostream>
#include <fstream>
#include <sstream>
#include <cctype>
#include <cstring>
static std::string readfile(const char filename[], const bool dots)
{
std::ifstream f(f... | 393afd53d1859391b2e84e69071dd8589bc8df33 | [
"Makefile",
"C++"
] | 2 | Makefile | marciopocebon/checktranslations | 33b0c3220ab1ad76cf323a09a0836af466ea4ab8 | 011ff7178421e29b6cdfaa24e12f65d6890b6c24 |
refs/heads/main | <file_sep>
<!-- PROJECT LOGO -->
<br />
<p align="center">
<a href="https://www.fablabpalermo.org">
<img src="logo.png" alt="Logo" >
</a>
<h2 align="center">Fabphone</h>
<h3 align="center">
Giochiamo tra Fablab con il VoIP e la Digital Fabrication
</h3>
</p> ... | 4314b9f2a625a56b9c5f9432c496472983c0794f | [
"Markdown",
"Python",
"Shell"
] | 4 | Markdown | FablabPalermo/fabphone | 764f99252fe0fdd4735cf33ce8980a7a5730b01e | 01ba2c0aeb2b8eebcdeec0157a68e22e24da34f2 |
refs/heads/main | <file_sep>print("Welcome to Python Pizza Deliveries!")
size = input("What size pizza do you want? S, M, or L ")
add_pepperoni = input("Do you want pepperoni? Y or N ")
extra_cheese = input("Do you want extra cheese? Y or N ")
s = 15
m = 20
l = 25
if size == "s":
if add_pepperoni == "y":
s += 2
else:
s += ... | 714033bd53d1d43fb718462d17b49bf1bb0b50c3 | [
"Python"
] | 3 | Python | 846754008/Solving-question-from-instructor-Angela | 2fc8b4b23147a09f8b5ee438ac8aa260af4718d6 | b49e9ca51c7c3216af75d64f880eeee879444294 |
refs/heads/main | <file_sep>#pragma once
#include <map>
#include <set>
#include "City.hpp"
#include "Color.hpp"
namespace pandemic
{
class Board
{
private:
std::map<City, int> pandemic;
std::set<Color> discoveredCure;
std::set<City> researchStation;
public:
static std::map<City, std::set... | bf47d0666608960220c08b6da6524fbc2d8a6914 | [
"C++"
] | 1 | C++ | Roniharel100/CPP_EX4-pandemic_b | 137c941adb2f8fb471764ad08759d4aa8f08297a | 85284b889ac06960953eec4343924fef2d7b486d |
refs/heads/master | <file_sep>const fs = require("fs");
const chalk = require("chalk");
const getNotes = () => {
return "get Notes ....";
};
//Adding Notes
const addNotes = (title, body) => {
const notes = loadNotes();
const duplicateNotes = notes.filter((note) => {
if (note.title === title) {
return true;
}
});
... | cb9db28562a5ec7fca3e96f3bcb04f65835981ea | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | mkp0/Notes-app-with-NodeJS | c52451590b9a96d9811d024271c7bb2b1fe745ff | 8835047c996c6a537023e0c9a79bebfc305ebcbb |
refs/heads/master | <repo_name>nmittler/istio-spring<file_sep>/ratings/src/main/java/io/istio/spring/ratings/GlobalExceptionHandler.java
package io.istio.spring.ratings;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.b... | d1b19a939437302a1ca02fb3d97b418c6a884275 | [
"Markdown",
"Java",
"Gradle"
] | 12 | Java | nmittler/istio-spring | bddb5dde2aac8d6f849c9b700f347890f1c57fe8 | 596d027a8f60eb77fe8788c33a1f3ab85357fa90 |
refs/heads/master | <repo_name>Frank-1000/practice<file_sep>/babai2/babai2/js/friand.js
$(function(){
// new Promise(function(){
$.ajax({
type: "get",
url: "./server/firand.json",
dataType: "json",
success: function (response) {
let data = response;
// console.log(data);
let html = data.map((ele)=>{
... | eeda3e6e37c769cd1de4c182dcf804b3e20834f1 | [
"JavaScript",
"PHP",
"Markdown"
] | 12 | JavaScript | Frank-1000/practice | 7f28b76d5047950dfe22a82c27e763089d8c81f0 | 520bf5988ce83120e01ed58e93d30805c055a124 |
refs/heads/master | <repo_name>theoboraud/Perceptron<file_sep>/PPT.py
import numpy as np
import matplotlib.pyplot as plt
# ------------------------------------------- #
# ---------------- VARIABLES ---------------- #
# ------------------------------------------- #
# Numpy seed
np.random.seed(0)
# Training loop
learning_rate = 0.1
cost... | 25f1e884b36f0d64fb620116ca61e9449610ffe1 | [
"Python"
] | 1 | Python | theoboraud/Perceptron | d93c1401c8650ee6006fdc8206fe8e85f669f28d | 2d1a2de1775375c44fc7ca8d3c1bf442ca2f5255 |
refs/heads/master | <repo_name>giftuals/tokenizer<file_sep>/src/Exception/ConfigurationException.php
<?php
namespace Tokenizer\Exception;
use Exception;
/**
* ConfigurationException
*
* PHP version 7.2
*
* @category PHP
* @package Tokenizer
* @author <NAME> <<EMAIL>>
* @copyright 2020 Giftuals
* @license https://gift... | cdf54ce1baeaaab49c5c01df926453a020b9552e | [
"Markdown",
"PHP"
] | 7 | PHP | giftuals/tokenizer | 6caabad0cfac1e9f048ff4f328b9bf4218da9911 | 3340b313bedb9c4d486ad17e9d23a9c29ec41a9b |
refs/heads/master | <repo_name>huxuanchenxy/hiworld<file_sep>/test233.php
<?php
echo 'hello world !!!';
echo 'huyanxiang333333333';
?> | 4078b17438ae685b92606e0b50aca2694a7eae9b | [
"PHP"
] | 1 | PHP | huxuanchenxy/hiworld | 7ff55a6ebc93b7b83d0a9b3c341e4d0197250aa6 | 3ae56667c98a0e3c0eb202e8a6a78dff2c1ffe8b |
refs/heads/master | <repo_name>adamwberck/Project4<file_sep>/test.c
//
// Created by Adam on 2019-04-20.
//
#include <stdio.h>
#include <malloc.h>
#include "test.h"
//just test functions
void first_test(struct boot my_boot){
//Load Test File.txt to write to disk
FILE *test_file = fopen("Test File2.txt","r");
int test_file_s... | cd235f100b3f40ceeb8e01d4f5d2e56413115ebd | [
"C",
"CMake"
] | 15 | C | adamwberck/Project4 | 280a8bb02af3b303bdf173f3f3c7f55b3a274e3e | 6628b4c67bd1539a855282e720f9e11cb10cde2d |
refs/heads/master | <file_sep>import React from 'react'
import { VideoItem } from './VideoItem'
const VideoList = ({ videos, onVideoSubmit }) => {
const renderedList = videos.map((v) => { return <VideoItem video={v} key={v.id.VideoId} onVideoSubmit={onVideoSubmit} /> })
return (
<div className="ui relaxed divided list"... | b73fe35a84d16025374b5c62ffd1e80b129b167d | [
"JavaScript"
] | 2 | JavaScript | zuckpa1999/video | 6b8e37cdadb253523f4bacf83ebfd0f2710ab3e1 | d4a56b830bdd2dac1793c66058ae3f9ebadf34ec |
refs/heads/master | <file_sep># fruit-phenology
This repository includes datasets and R codes used for the review entitled "Continental-scale patterns and climatic drivers of fruiting phenology: a quantitative Neotropical review",
accepted for publication in Global and Planetary Change (http://dx.doi.org/10.1016/j.gloplacha.2016.12.001)... | ab2222a3a3cbdda180c7667431e94071800b3f01 | [
"Markdown",
"R"
] | 2 | Markdown | iremendoza/fruit-phenology | 4957f23695c38b86e18c378ae88f1e5fa27fe99e | 4fd51d74247e55d884d72882fe234c1f9c36aa37 |
refs/heads/main | <file_sep>package com.devsuperior.dsdevilver.comum.product.model;
import lombok.*;
import javax.persistence.*;
import java.io.Serializable;
import java.util.UUID;
@Entity
@Getter
@EqualsAndHashCode(onlyExplicitlyIncluded = true)
@NoArgsConstructor(access = AccessLevel.PACKAGE)
@AllArgsConstructor
@Builder
@Table(nam... | f8dd383c6fedf37d665f56de0a94dc8416f3403b | [
"Markdown",
"Java"
] | 9 | Java | wgcostta/dsdeliver-sds2 | 288db9e6190280797e79103c15abfe89a5aeace8 | 716167641b7c3fdc82bdbff1fccdade4f535b9ab |
refs/heads/master | <file_sep>import React from 'react';
function TodoList(props) {
return (
<ul>
{props.todos.map(todo =>
<li
key={todo.id}
><a
href="" onClick={(e) => {
e.preventDefault();
props.onDELETEClick(todo.id);
}
}>
{todo.text}
... | f647c2e3a51000d035902a4d653e6bd994378335 | [
"JavaScript"
] | 5 | JavaScript | bhaskesaravanan/todo-redux | 5ee117ad1f2c571dd976d78cfdff250a4622e97e | 526b4874d343728366c215ae9392f9a70e0d9339 |
refs/heads/master | <file_sep>from flask import Flask, render_template
app = Flask(__name__)
@app.route('/')
def index():
'''Return Homepage '''
return render_template('home.html')
@app.route('/music')
def music():
'''Return Homepage '''
return render_template('music.html')
@app.route('/video')
def video():
'''R... | faa39a407c3bbcff03b0d7fe425339f08be97d63 | [
"Python"
] | 1 | Python | shaannessy25/Capstone | bbcbf34ee0874572b6635d0914a7b3c0837d9484 | 2524ab3d8e32f08b4e0e6ec7eeed2b625e5533e5 |
refs/heads/main | <repo_name>voronindim/AudioPlayerController<file_sep>/AudioPlayerController/AudioPlayerFactory.swift
//
// AudioPlayerFactory.swift
// AudioPlayerController
//
// Created by <NAME> on 15.04.2021.
//
import Foundation
import AVFoundation
final class AudioPLayerFactory {
func avPlayer(url: URL) -> AVPlayer ... | c4e8906b4a9c8799d02dedea9ccd42eb30a70506 | [
"Swift"
] | 5 | Swift | voronindim/AudioPlayerController | 4a290b1abc7527be5d65e8d15915c725e7e356e9 | 692a0dcf4f479a4cfdb34691fe7a8b210ab41248 |
refs/heads/master | <repo_name>TheDeterminator/Sprint-Challenge--JavaScript<file_sep>/challenges/classes.js
// Copy and paste your prototype in here and refactor into class syntax.
class CuboidMaker {
constructor(props) {
this.length = props.length;
this.width = props.width;
this.height = props.height;
}
volume() {
r... | 40de01f7d646224ca12abf8ee7854629ded20609 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | TheDeterminator/Sprint-Challenge--JavaScript | 8d6a87ac3ef2bb8960f0a015504a4eb8a00df742 | 5f6fda80c92ddfd7c22948ebcf31de15e8609450 |
refs/heads/main | <repo_name>dhong9/obj3Desmos<file_sep>/README.md
# obj3Desmos
Converts an OBJ file to a format that Desmos can read.
## How to use
After cloning the repo:
* Run `npm i` to install dependencies
* Run `npm start` to start the application
Use the Upload button to upload your OBJ file. The smaller the file, the quicker t... | fd78197e436964193510ff44084d95dbfc8c1442 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | dhong9/obj3Desmos | 52840d64e0c112e33f8bb97e186ca899653160c5 | ee1cd400cf01c2b2e0b9164f70cd38c4d48f2b22 |
refs/heads/master | <repo_name>jpm61704/cuddly-lamp<file_sep>/config.js
/**
* Created by Jack on 09/21/2015.
*/
var config = {
databases: {
"development": "mongodb://admin:<EMAIL>:59672/voteapi",
"test": "mongodb://testmastergeneral:letstest@ds051923.mongolab.com:51923/vote-api-test"
},
secret: "inthebonds"
... | d8c82bbf4cfe4875dbcd850ac9c68a1e64075a46 | [
"HTML",
"JavaScript",
"Markdown",
"Text",
"Shell"
] | 13 | JavaScript | jpm61704/cuddly-lamp | 40ef4e7b698b506b42678a162fc8b9e0fb05087c | 7fa27cb1fcec95cc0cc60a05a8c7de8bbdc4afe5 |
refs/heads/master | <file_sep># lambda-survey-deployment
<file_sep>import os
import boto3
from boto3.session import Session
from twilio.twiml.messaging_response import MessagingResponse
# Add DynamoDB session
session = Session()
# Add Twilio credentials
account_sid = os.environ['ACCOUNT_SID']
auth_token = os.environ['AUTH_TOKEN']
# Ad... | 67474d9ca2e764a1d7af6e3679f6e3581d51aee4 | [
"Markdown",
"Python"
] | 2 | Markdown | incentivizinggood/lambda-survey-deployment | 0121757d533b7e46dce795a215d303972ed1070b | 2952aa4aa79510cbe62823dc3d3650000136b7a3 |
refs/heads/master | <file_sep># -*- coding: utf-8 -*-
from models import Desafio
def handle_uploaded_file(f):
l = [i.strip('\n') for i in f.readlines()[1:]]
for i in l:
(nome, desc, preco, ncompras, ende, comer) = i.split("\t")
data = Desafio(purchaser_name=nome, item_description=desc, item_price=preco, purchase_count=ncompras,... | 6017f2dabf510749147d4666285825b3b56a6ec4 | [
"Markdown",
"Python"
] | 5 | Python | mrsantos/Desafio | 550fe7592bb28bde6b907bb10fafdcfdc09fefd0 | 49bcc261a84b19a58720190de0a2c01743365371 |
refs/heads/master | <file_sep>package com.example.android.courtcounter;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
public class MainActivity extends AppCompatActivity {
private TextView scoreViewA, scoreViewB;
private int scoreTeamA = 0, s... | 12ff2571b142b582ff8f93d70fcd104e9821cd74 | [
"Java"
] | 1 | Java | tanmaib/courtCounter | 4709a3845fd0d2fcecf780c2e10bc9a834c8ddac | 3b6e958f84a6711d8b3dfba8cc9fb2fcafd9cd0d |
refs/heads/master | <repo_name>badou11/marketintel-on-heroku<file_sep>/src/app/app.module.ts
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { HeaderComponent } from './heade... | bb150c3816ae805684162bd126ab00d7648c81fb | [
"TypeScript"
] | 2 | TypeScript | badou11/marketintel-on-heroku | 7e4b212911f085af9f4287925fd95d12263d2ce4 | 760730bac1b1bbcf0171b6f3bd96ac6643ff3348 |
refs/heads/master | <file_sep>package com.hs.whocan.component.account.user.dao;
/**
* Created with IntelliJ IDEA.
* User: fish
* Date: 14-3-24
* Time: 下午4:52
* To change this template use File | Settings | File Templates.
*/
public class UserInvitation {
private String invitationId;
private String userId;
private String... | 10e677ed95db30462e2d29066d3cd4d3b224fe09 | [
"Java",
"Maven POM",
"SQL",
"INI"
] | 57 | Java | fishbeyond/pm | 85fdc42361fb7baee4a74e447c44347fc6b49949 | 4bdf3eb716a5e6da06f0069ebcf279349c287744 |
refs/heads/master | <file_sep>import {StyleSheet} from "react-native";
export const ListScreen = StyleSheet.create({
screen: {
flex: 1,
alignItems: "center",
},
});
export const GeneralCardCharacters = StyleSheet.create({
listItem: {
marginVertical: "2%",
borderWidth: 1,
borderColor: ... | 441e5ee0b324b773eec0b200dfff65a03f5b59b1 | [
"Markdown",
"TypeScript"
] | 6 | TypeScript | cframo/rick-morty-rnative | 1d52f02f09d557000ebc7fb753751dbeba901f88 | 346d90aa004fd592fe167eccb64984bac41b3a1b |
refs/heads/main | <file_sep>// require('dotenv').config('../.env')
const express = require('express')
const router = express.Router()
const fs = require('firebase-admin')
const db = fs.firestore();
// will recieve fileCode
router.post('/', async (request,response) => {
const code = request.body.filecode;
let fileData = null;
... | 59dbe5b31d902add85a820426d427bf0850b1073 | [
"JavaScript"
] | 5 | JavaScript | ae6ec/clair | eb4e0472f2bd3ff8751976a3c123cfb82c631bfd | e083c147e49597113fa1c68a09aec4ebf7207f6b |
refs/heads/master | <repo_name>oscarlazala/phpstartup<file_sep>/printer.php
<?php
class Printer
{
private $queue = [];
private $maxQueuedDocuments = 10;
public function print(Document $document)
{
return $this->pushToQueue($document);
}
private function pushToQueue(Document $newDocument)
{
if( count($this->queue) < $this->m... | bb026a51949adb4a8d77f1fc022d50d2209d7b51 | [
"PHP"
] | 1 | PHP | oscarlazala/phpstartup | f94429eb2fd639b9373f9129e3f38b4b8ac9b329 | 8b6ff73a022aa4bfa26118666ea677940e791b25 |
refs/heads/main | <file_sep>-- @block counts
SELECT
count(distinct id) as total_nb_lars,
SUM(case when assignement_date__c is not null then 1 else 0 end) as nb_lars_not_in_backlog,
SUM(case when assignement_date__c is not null and owner_relation__c is null then 1 else 0 end) as nb_lars_to_fix
FROM data.staging_salesforce.bat... | 950e775f6d1eb029b83f3a25e18a98fab5727a88 | [
"Markdown",
"SQL"
] | 6 | SQL | bastien-payfit/lars-fix | 6206e2fcb88efc02a273b8b15bf553b9a4d0d8aa | b3f33c266a299172128523dd0f384e03d0af36be |
refs/heads/master | <repo_name>Fromalaska49/parallax-star-background<file_sep>/matrix.php
<!DOCTYPE html>
<html>
<head>
<?php
require('common/head-includes.php');
?>
<title>
Test
</title>
<script type="text/javascript">
$(document).ready(function(){
var $contentHeight = $("#content").outerHeight(true) + "px";
$... | 85c32366a40e983bbfb9d02d732008f12e56a18b | [
"PHP"
] | 3 | PHP | Fromalaska49/parallax-star-background | ce24a36b333306dd17db778975c38135e0f25c53 | 4230e79b7ac9db53b99aeaf96aca8c1fd9a162b0 |
refs/heads/master | <repo_name>milesnardi/stockscreener<file_sep>/src/App.js
import React, { Component } from 'react';
import logo from './logo.svg';
import './App.css';
import axios from 'axios';
class App extends Component {
constructor(props) {
super(props);
this.makerequest = this.makerequest.bind(this);
this.state = {
... | 2667cbb90e27685a1554504abbf4b31cda07085a | [
"JavaScript"
] | 1 | JavaScript | milesnardi/stockscreener | 0340006613ca15722f6335d6bfc55e34971b98b1 | a07f265b3b0caa3ce09e5f7344683b1da855b451 |
refs/heads/master | <repo_name>AndrejSperling/CycleComponentsTest<file_sep>/lib/AwesomeButton/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var xstream_1 = require("xstream");
var dom_1 = require("@cycle/dom");
function AwesomeButton(sources) {
var action$ = xstream_1.default.merge(sources.DOM.s... | 6d7f32f80aa752a4524df223f647362c56c8a54e | [
"JavaScript",
"TypeScript"
] | 5 | JavaScript | AndrejSperling/CycleComponentsTest | cb4189749a79421ff931f5f4b369976ebb538c45 | 808768bdecd9c238e617a356a660ecd130939b16 |
refs/heads/master | <file_sep>class AddArchivalContainerFormatToRecord < ActiveRecord::Migration
def change
add_column :records, :archival_container_format_id, :integer
add_index :records, :archival_container_format_id
end
end
<file_sep>class AddSourceToRecord < ActiveRecord::Migration
def change
add_column :records, :so... | 05938882a192f7683c8c4df02e21def2ccf71396 | [
"Markdown",
"Ruby"
] | 57 | Ruby | uklibraries/metadata_editor | a3f20f809adc6fae067d853ee7a7e6d888940627 | 9c626706df7e528f6086b4ae57d3a22324d0c4e0 |
refs/heads/master | <file_sep># import libraries here
import numpy as bb8
import handle_data as hd
import handle_image as hi
import neural_network as nn
import cv2
def train_or_load_character_recognition_model(train_image_paths, serialization_folder):
"""
Procedura prima putanje do fotografija za obucavanje (dataset se sastoji i... | 93dc0f544967bb8c2f729a2982270e791df9e497 | [
"Markdown",
"Python"
] | 9 | Python | OakenKnight/WeirdCaptchaRecognition | c8093343d6b8f672380baab4baf0bc8f1c0e639f | 39d19953bb3480f357fd8478cf3b1a9490750171 |
refs/heads/master | <file_sep>import React, { Component, PropTypes } from "react";
import { connect } from "react-redux";
import { bindActionCreators } from "redux";
import { findDOMNode } from "react-dom";
import fetch from "isomorphic-fetch";
import Force from "../components/Force.js";
class forceByD3 extends Component {
constructor... | 800b2e08238f5f6aab061f42b53c5db58846eab4 | [
"JavaScript",
"Markdown"
] | 27 | JavaScript | wangxiaofeid/chat-v2 | b7a98a4ad683175997cc2d4cffb9a4aae85ba759 | 1c61076d99606a61cc3b104c28d3495e7faa474a |
refs/heads/master | <repo_name>adriano0488/test-dev<file_sep>/models/CarrosModel.php
<?php
class CarrosModel extends ActiveRecord\Model {
public static $table_name = 'carro';
}<file_sep>/autoloader.php
<?php
function loadClasses ($pClassName) {
$file_name = __DIR__ . "/classes/" . $pClassName . ".php";
if(file_exists($file_n... | 975f5f1382bf47599c0853267f60e624ba503fe3 | [
"Markdown",
"SQL",
"PHP"
] | 13 | PHP | adriano0488/test-dev | 277d35afc3db8ae00e9dcc6a8bbe19b1816d81c6 | 7624ab26a4d6317da762a5004ca6e6719378d911 |
refs/heads/master | <repo_name>Yayayay218/livematch-backend<file_sep>/controllers/votes.js
var mongoose = require('mongoose');
var apn = require('apn');
mongoose.Promise = global.Promise;
var HTTPStatus = require('../helpers/lib/http_status');
var constant = require('../helpers/lib/constant');
var CryptoJS = require('crypto-js')
var encr... | 372afa43455f02b90ff8f28c84fb7332522249fa | [
"JavaScript",
"Dockerfile"
] | 20 | JavaScript | Yayayay218/livematch-backend | 6ca387c4e4c7e97b07819439c097fe57ebe8a3eb | caa8681c2200b848ec5c7a3c81b85a7720c52d21 |
refs/heads/master | <repo_name>alexandergogl/URL-to-TiddlyWiki-image-reference<file_sep>/README.md
# Alfred workflow. URL to TiddlyWiki5 image reference
[Alfred](https://www.alfredapp.com/) workflow that converts the url of an image to a [TiddlyWiki5](https://tiddlywiki.com/) image URL. If the image URL is followed by a space, then all t... | 1ec11063f210af144bd93f21de63cecc7c9ead09 | [
"Markdown",
"Python"
] | 2 | Markdown | alexandergogl/URL-to-TiddlyWiki-image-reference | 27c191e09b48410f641d012fe58c904fdb82545d | ec3aed9fdb14b02312183fb6d238a4ca9e3fcb2e |
refs/heads/master | <repo_name>cangaruu/noticiasReact<file_sep>/src/componentes/Noticia.js
import React from 'react';
import PropTypes from 'prop-types';
const Noticia = (props) => {
const {title, description,urlToImage, url, source} = props.noticiosa
const imagen = (urlToImage)
?
<div className="card-ima... | 816cbee11e65e560bcad7f0f95f0f7f91d32fd11 | [
"JavaScript"
] | 1 | JavaScript | cangaruu/noticiasReact | c302c71c777c0b96cad035347e707f57e77096d8 | e0b61d57f46e658389555f062bf0d902d3e2d2fc |
refs/heads/master | <repo_name>j4afar/algorithms<file_sep>/01.ProblemSolving/02.multiple_pointers.js
// Write a function called sumZero which accepts a sorted array of integers.
// The func should find the first pair where the sum is 0. Return an Array that includes both values that sum to zero o undefined if a pair does not exists
// *... | d1c472165c54ca9e6ece30d5240daeebb61cf950 | [
"JavaScript"
] | 3 | JavaScript | j4afar/algorithms | f569856708c304ecb2bc7a2fa79e43cba09345a5 | 3838ad3a7bb9ce5f96442e692c840323c14cb060 |
refs/heads/master | <file_sep># figure
what is figure ?
Why there is a need of figure ?
how figure is responsible for earth survival ?
Can we ignore figure?
so coming to 1st question ....those whose banana respond like 2g can leave this repo
and can purchase some kind of medicine to boost banana
so what is figure ?
you have one to... | c458e605f26e54d504454e8631e52569dc82d9cc | [
"JavaScript"
] | 1 | JavaScript | skybye02/figure | fedefa85b790d6c33dc9d93231c1a8f5556dc29a | df690cb1ef279785fb678ca3e0af2da82738c024 |
refs/heads/master | <repo_name>sganon/my-dot-files<file_sep>/README.md
# Dots
## VIM
### Prerequisites
* [vim-plug](https://github.com/junegunn/vim-plug)
* Node with npm for (for [coc.nvim](https://github.com/neoclide/coc.nvim))
* Go (This conf was made primary for Go development, you could drop it if you remove `vim-go` conf)
This ... | bdebe042d9daa6f97ab1c97c69e65f2059a76550 | [
"Markdown",
"INI",
"Shell"
] | 7 | Markdown | sganon/my-dot-files | 123d1cfc1105e2e907cda583420a695a72a1ebc9 | 9f925fc4fe297b5a999bdc9ebbf13444bdb879fc |
refs/heads/master | <repo_name>krivard/mturk-geotags-template<file_sep>/gal/make_input.sh
#!/bin/bash
cut -f 20,33,34 $1 | sed -n '/:/ s/"//gp'
#cut -f 20,30,31,32,33,34 $1 | sed 's/"//g' | awk 'BEGIN{OFS="\t"}{if ($1 != "") print $1,$5,$6 "," $3 "," $2 "," $4}'<file_sep>/www/save.safe.php
<?php
$index = $_POST['index'];
$concept = $_POS... | d56a098dbad7c1cac92a1d49f61dc153b5e7e03e | [
"JavaScript",
"PHP",
"Shell"
] | 10 | Shell | krivard/mturk-geotags-template | 722da0db95c84416e110bf98be65c904ea05a631 | 884515fea0c27382a206949f489ae89c659f3984 |
refs/heads/master | <repo_name>SuperSomny/GNN<file_sep>/README.md
## 输入数据的格式
### 符号表
|符号|含义|
|:---:|:---:|
|$V$|整个图的点集|
|$V_{train}$|训练集|
|$V_{test}$|测试集|
|$V_s$|有监督的点集|
|$V_u$|无监督的点集|
|$N$|整个图的节点数|
|$N_{train}$|训练集节点数|
|$N_{test}$|测试集节点数|
|$N_s$|有监督的节点数|
|$N_u$|无监督的节点数|
|$F$|每个节点的特征数|
|$C$|分类的类数(此问题中是2)|
### 点集的划分
所有节点被划... | ab827cbcbfe0e27b68f29a8f9299ced516f75455 | [
"Markdown",
"Python"
] | 2 | Markdown | SuperSomny/GNN | 75a5f44b260cf4ad65de1f4a28c04dc07b7c98a6 | 3b9a6c50855e0d2079328e8be6f8238f3a7dd6b9 |
refs/heads/V0.8 | <repo_name>premrume/speakeasy<file_sep>/mongo/Dockerfile
FROM mongo:latest
# Depends on volume (refer to ../docker-compose.yml)
LABEL \
description="Simple Mongo Madness using defaults ..."
<file_sep>/models/install_enko.sh
#!/bin/bash -e
install_enko() {
# quick check for the folder
if [ ! -d ${SPEAKEASY_H... | 5cc389daabd4ab21c88f847504fa52699e9b7644 | [
"YAML",
"HTML",
"Markdown",
"Makefile",
"Python",
"Text",
"Dockerfile",
"Shell"
] | 42 | Dockerfile | premrume/speakeasy | cba45e2ea9069cdb5b7e82039e45d9d4d88bd284 | b1adcb255ef0eb1e31c624ee899db24fd09d7c08 |
refs/heads/master | <repo_name>abadalamenti1/COMPBIO<file_sep>/Functionality Test.R
### <NAME>
### May 6 2016
### CompBio group 1 Code Functionality
############################ Constants set up and Library Loading #######################################################################################
##Set directory
dir <- '/home/comp... | e28b75349e8c22517ea0da2b4f85fd6a8a6c5995 | [
"Markdown",
"R",
"RMarkdown"
] | 4 | R | abadalamenti1/COMPBIO | 003fc86d14a819efa70cc869afd00599bd5aed9d | dd725827ba52e60020668dd1e3b431d122084a4f |
refs/heads/master | <repo_name>Ilya-Sorokin/My-project-wich-Entity-Framework-<file_sep>/Hotel/DB/Rooms.cs
namespace Hotel.DB
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
public pa... | c5afe7d91f71f70d5d01082a5b16fa9f14b9dc83 | [
"C#"
] | 6 | C# | Ilya-Sorokin/My-project-wich-Entity-Framework- | 682d4e33e2529eea09e3fae684e3920d93aa6e57 | fcba9ec600865813572099fbcbbe80c38bb9bc6c |
refs/heads/master | <file_sep>const express = require('express');
const cors = require('cors');
const bodyParser = require('body-parser')
const fileUpload = require('express-fileupload');
require('dotenv').config();
const app = express();
const port = 4000
const MongoClient = require('mongodb').MongoClient;
const uri = `mongodb+srv://${pr... | 1f908d9103cfd4c14c7c28b6d4797f1afbe79f68 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | jobayer-h/creative-agency-server | 65ed8bb848d133a34cba5bce3ef8efd2fbf3d9bb | ae4f76afc63b061e22ee48535dd322e689d34de7 |
refs/heads/master | <repo_name>LorisGitHub/Steganography<file_sep>/README.md
# Steganographer
## Usage
Just run the main with the corrects arguments
```
positional arguments:
file
optional arguments:
-h, --help show this help message and exit
-w, --write programs run in writting mode
-f, --filename ... | d4450ce33247e0626740633400b968bd5801d704 | [
"Markdown",
"Python"
] | 3 | Markdown | LorisGitHub/Steganography | 9021df3672e9e5767ee0ccba4adf0b6ec41b589f | 747f3bb628d2fd47e652bb8fbafd709417b7ff0f |
refs/heads/master | <file_sep># DriveLatencyTest
Simple Latency test for SSDs/HDDs.
Build with CMake and then run the executable with --help to see the options.
Can quickly figure out IOPS and Latency for the selected drive!
<file_sep>/*
This file is part of DriveLatencytest (DLT).
DLT is released via an MIT License.
Author(s): ... | 57150ab67066945c7163c56eb445718b647083ef | [
"Markdown",
"CMake",
"C++"
] | 13 | Markdown | csm10495/DriveLatencyTest | bac783d8d40a075fedb9010e50d2854f2a43a45b | d3c6b3c3b64f2c0bc881306a4bfbc08d94ff4695 |
refs/heads/master | <repo_name>drosseas/ProgrammingAssignment2<file_sep>/cachematrix.R
## Functions that cache the inverse of a matrix
## Create a matrix object that can cache its inverse
makeCacheMatrix <- function( m = matrix() ) {
## Initialize
i <- NULL
## Set the matrix
set <- function( matrix ) {
... | 6f4d168ca6159aa466f36e21452d3022195128bf | [
"R"
] | 1 | R | drosseas/ProgrammingAssignment2 | a96391f8bcf972c3f45742154530842afe010963 | 459bf614123d330788afde2683de4dfecaab08e9 |
refs/heads/master | <repo_name>sebastianbertoli/cs231n<file_sep>/README.md
# CS231n Convolutional Neural Network for Image Understanding
Course website: [http://cs231n.github.io/](http://cs231n.github.io/)
WIP These are my solutions
## Requirements
- Tested on OS X 10.12
- Processor: Intel i3 or better.
- Memory: At least 4 GB of ava... | bb207dbbd122c195fd4369ad958de8df22ec4c73 | [
"Markdown",
"Python"
] | 2 | Markdown | sebastianbertoli/cs231n | 54c71ff2b71adb97cca7df118d931d555afcf314 | f9e5e5f3578d1ceb7a400a4f78ea82b3cb737455 |
refs/heads/master | <repo_name>Thiago250801/ProjetosEmPyhton<file_sep>/contas/migrations/0005_remove_pedido_tags_produto_tags.py
# Generated by Django 4.0 on 2021-12-23 16:58
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('contas', '0004_tag_pedido_tags'),
]
opera... | d6ed64798c87e5e8bfa41874fe59fd9656691c50 | [
"Markdown",
"Python"
] | 12 | Python | Thiago250801/ProjetosEmPyhton | aec2bcd8a4be6a0720fc6e6c35980ca3eeb1e39f | b7ffe35303560b0f7a7d0559f3f9ba371c188251 |
refs/heads/master | <file_sep>package com.hblg.springcloud;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframewo... | 127f420001a2385ea0b16b7ff8b73d906f7c855f | [
"Markdown",
"Java"
] | 4 | Java | qxlx/SpringCloud | 272a4b8ee655ce0750bb298b3cdd666f37cdb1d6 | 655af4074c52956a1f19e5b6f30192405933da60 |
refs/heads/master | <file_sep>'use strict';
var gulp = require('gulp');
var sass = require('gulp-sass');
var autoprefixer = require('gulp-autoprefixer');
var sourcemaps = require('gulp-sourcemaps');
var minify = require('gulp-cssnano');
var browserSync = require('browser-sync');
var reload = browserSync.reload;
var babel = require('gulp-... | baf0cf4c94a7ae7bb3f794d1b1f62d695d0d76b2 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | mhaslett/Lookback | 4c27f917292d253244eefe946ac240ec1b40bd3a | 17d3fd770c4b06e4f83c0d30bc3adea24a53a618 |
refs/heads/master | <repo_name>Lex-z/bakedgoods<file_sep>/app/controllers/orders_controller.rb
class OrdersController < ApplicationController
before_action :current_user_is_owner, :only => [:edit, :update]
before_action :current_user_is_owner_or_seller, :only => [:destroy]
def current_user_is_owner
@order = Order.find(params[:... | 9c0e4ed6246d0ae2708cf05967ad655a1dd9019d | [
"Ruby"
] | 8 | Ruby | Lex-z/bakedgoods | aca58a89cdeed7d229ffe4e4a525b0350408747a | 1011b0696682a372c408db296244d7378077faea |
refs/heads/master | <file_sep>Test data
==========
Aim
-----
Provide a test dataset that has a diurnal cycle plus a little noise. These data are used for testing the visualisation and 24 hour predictions.
Summary
--------
The Flask API handles the creation of these data when running app.py. Make sure to drop and recreate, or truncate a... | 52092381a521ee691b4ab304c7e7a322e8267bf8 | [
"JavaScript",
"Python",
"Markdown",
"reStructuredText"
] | 19 | reStructuredText | rayblick/GardenMonitor | 38b0f785234eb89c46d3ff80e72bcae3af5d031d | 1dfb5a751f735fd31e79ca5fb9f242926ebfbde3 |
refs/heads/main | <repo_name>LilDataMonster/Blender-Lego-Dataset<file_sep>/fiftyone/Dockerfile
FROM python:3.9-slim
WORKDIR /root
RUN apt-get update -y && apt-get install -y ffmpeg libcurl4
RUN pip install fiftyone ipython torch torchvision tensorflow tensorflow-datasets
COPY fo_setup.py /root
CMD python fo_setup.py
<file_sep>/fiftyo... | fae0f0498f4e887dc1a399140b05b29b17dad61d | [
"Python",
"Dockerfile",
"Shell"
] | 19 | Dockerfile | LilDataMonster/Blender-Lego-Dataset | 6c0d6e7aaa9900b5bd8114244fe4dd899cbf2f83 | 224d916797d75e817a558a7bc523a6c0f76a5e36 |
refs/heads/master | <repo_name>Gregawa/durf<file_sep>/index.php
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
Index
<br>
<!--
<a href="inscription.php">S'inscrire</a>
<a href="connexion.php">Connexion</a>
-->
<a href="boutique.php">Boutique</a>
... | c90ebdf5ca3d72d951effc7c6fb158f9d3e3b7d3 | [
"PHP"
] | 5 | PHP | Gregawa/durf | 1bb1b28cdca8448d6fa0c26ccf83f04dccbd4e08 | 9d23b911eb972e66c90000b59b5c72bccd641d7e |
refs/heads/main | <repo_name>NAJU-Sachsen/Homepage<file_sep>/redaxo/data/addons/developer/modules/Home Karten [1]/output.php
<!-- mod_home_cards -->
<?php
$bs_cols = 12; // the number of columns in a Bootstrap grid
$n_cards = 'REX_VALUE[20]';
$col_lg_width = $bs_cols / $n_cards;
?>
<?php
if (rex::isBackend()) {
$image_names = array... | a0d2291992e15a10150fc6c9ea510485e8913de3 | [
"Markdown",
"Python",
"JavaScript",
"PHP"
] | 54 | PHP | NAJU-Sachsen/Homepage | 45e00d16abeb5c69077f25c683cdedf6911faf24 | 7ce91936bbc6a84b991f2e476e617a3adc7ad37f |
refs/heads/master | <file_sep><?php
namespace RakeTechTest;
class HealthController
{
public static function GetHealthStatus()
{
return true;
}
}
<file_sep><?php
namespace RakeTechTest;
class FormClientController
{
public static function ClientSubmitMessage($data)
{
return $data;
}
}
<file_se... | 00440aaed2ffb45223a333a1f8ca5fc54d33d1a0 | [
"Markdown",
"JavaScript",
"PHP"
] | 8 | PHP | alexandrosok/raketech-form-test | db723ce41f3517eb659c412d0887e5e36aa7ebc1 | d6966bbb4264459bb7f0b47ee1a6c8bf87ebdd9a |
refs/heads/master | <file_sep>const utilities = require('../utilities/torUtilities.js');
const fs = require('fs');
const path = require('path');
exports.command = 'remove <name>'
exports.describe = 'remove instance'
exports.builder = {
'name': {
description: 'instance name'
}
}
exports.handler = async function (argv) {
var con... | b157f339ef3e04a7d0b90b58813a5a61e38b968f | [
"JavaScript",
"Markdown"
] | 9 | JavaScript | conneryn/tor-manager | 6d2ef34f9549793eef74d23df8cb120572dd6065 | 5946b7dd9c10e608ae01d85a1b872879bbc07236 |
refs/heads/master | <file_sep>module hh{
var triangleVertexPositionBuffer;
var squareVertexPositionBuffer;
var gl;
var shaderProgram;
export function initGL(canvas) {
try {
gl = canvas.getContext("experimental-webgl");
gl.viewportWidth = canvas.width;
gl.viewportHeight = can... | 81912f24beaf57b3788ca41ce791f6fb0f684b63 | [
"TypeScript"
] | 57 | TypeScript | SmallAiTT/holy-high | d11cda467859eb4759206f86f7d1401d59222376 | 91ba1a968439aec48dfd5d68936966e8451d4e02 |
refs/heads/main | <repo_name>KuyaShawn/dating<file_sep>/classes/PremiumMember.php
<?php
/**
* Class PremiumMember
* Represents a premium member of the dating site
*/
class PremiumMember extends Member
{
private $_inDoorInterests;
private $_outDoorInterests;
/**
* PremiumMember constructor.
* @para... | 3bcbf43d2153f88da2fed266a69edf9ef65f596f | [
"Markdown",
"PHP"
] | 4 | PHP | KuyaShawn/dating | eb085fc9c3280481d94d5c3ef257d8d8ca0b9bd8 | 94383c0755d662f3c00089ba3892100818a4abdf |
refs/heads/master | <file_sep>int Task = '4';
<file_sep>#include <stdio.h> //Standard input and output
#include "input.h"
// declare function
void encryption(char *x, int key);
void CaesarEncrypt() {
// Initialise variables and string
char message[1000];
int i=0;
FILE * input;
input = fopen("input.txt", "r... | 801d65afe2c112c2948069988a67319784d15ca3 | [
"C"
] | 5 | C | 3298685/Project-1 | edb4f7ac665cf869b93d70fda271ba609bd04916 | 5edf0558fec0d93956b8e548ee5f63fd4e9d84f8 |
refs/heads/master | <file_sep>/**
* Created by Esri on 16-4-27.
* 获取item的信息
*/
define('widgets/portalRestApi/Content/getItemInfo', [null], function () {
var WidgetGetItemInfo = function () {
var _self = this;
};
WidgetGetItemInfo.prototype = {
//需要token。
doGetItemInfo:function(url,itemId,token){
... | 2a6087181bd71b03824052c2f07727a9a1b6825b | [
"JavaScript",
"Markdown"
] | 6 | JavaScript | JustinZhangGIS/Dev2016Web3Ddemo | 7cffdbb99b23d9f3ee812bb60d5d8d2a48557882 | d3b5dc1b0bce61e40c2e73448096498134732daf |
refs/heads/master | <file_sep>import {Component, forwardRef, Input, OnChanges, OnInit} from '@angular/core';
import {ControlValueAccessor, FormControl, NG_VALIDATORS, NG_VALUE_ACCESSOR} from '@angular/forms';
import {PeacockSharedService} from '../../../services/peacockShared.service';
@Component({
selector: 'pe-switch',
templateUrl:... | 5d91158afbb3df85a1b69f806d38cca1c4f71e44 | [
"Markdown",
"TypeScript"
] | 16 | TypeScript | sabri-bahrini/peacockng | d8f2eec5bdffe2ae2897a242a5d6829a686f39d1 | 4388680800494805df31c31119d314657a1b8536 |
refs/heads/master | <repo_name>alienfast/middleman-aws<file_sep>/lib/middleman-aws/tasks/middleman-aws.rake
#------------------------------------------------------------------------
# Rakefile
#------------------------------------------------------------------------
require 'yaml'
require 'uri'
namespace :mm do
desc 'Remove all files ... | fedcc96bf539caedccc546af4738177621e4c2f1 | [
"Markdown",
"Ruby"
] | 8 | Ruby | alienfast/middleman-aws | 378c6422c856954641b81475c1221bbdfe660a83 | 0881c1fcc5880b7a53ee20f8f0dd98b7520e79f5 |
refs/heads/master | <repo_name>airblade/acts_as_enterprisey<file_sep>/lib/air_blade/acts_as_enterprisey.rb
module AirBlade #:nodoc:
module ActsAsEnterprisey #:nodoc:
def self.included(base) #:nodoc
base.extend ActMethods
end
module ActMethods
# Delays the execution of finder methods in an enterprisey fashion.
... | 729779160f884f000c6729d0d44f8c53b6af2cc3 | [
"Markdown",
"Ruby"
] | 3 | Ruby | airblade/acts_as_enterprisey | c60fb0675002a2cea975a208387d7ee237ac4f9a | af42b82521ce72fa2488a2bb75c4cd00d40c9db3 |
refs/heads/master | <file_sep>
# Rooms-Vue
## Installation
`npm install`
`npm run start`
<file_sep>//здесь все генерации темплейта,
//просто отрисовывает сущность
//import room from './generator';
console.log('render.js')
const _paths = {
patternContainer: {
room: '.rooms__patterns',
record: '.records__patterns'
... | 2aeac83cdd773096531c48d57e5327b1d3979883 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | helga-hai/Rooms-Vue | 854630730f00f3b0355d69f6c5748eddf0238d8a | d977796ba2bf1dbb110647aa3aee99eb7f09b05f |
refs/heads/master | <repo_name>js13kGames/404-Princess<file_sep>/README.md
# 404 Princess
## About this game
404 Princess is a PC adventure game, designed to provide players an interactive entertainment with several different endings. Playing the role of a heroic knight, determined to rescue the princess and save the kingdom plagued b... | c48559e9d5123ffd352f7d80f734623f2eeba2bd | [
"Markdown",
"JavaScript"
] | 3 | Markdown | js13kGames/404-Princess | d43906deec7ca141046ace8104226a4bc4045548 | e5cbbc8d927f3adce0c1f0f9f39ce3d76e9e5672 |
refs/heads/main | <file_sep>#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sun Sep 5 13:58:21 2021
@author: vanessamsantana
"""
# REFERENCE POST: https://stackoverflow.com/questions/53374233/mit-programming-in-python-problem-set-1-part-c
def calculateSavings(current_Savings, monthly_Salary, portion_saved, downpayment_... | 42fb54adfee49cbb6748f69005aba445945a1d4e | [
"Python"
] | 1 | Python | vsantanait/House-Hunting-Best-Rate | 67e75eb44a4a86fb704035cf4218ded1481dd927 | e5486a899a94394e27f278867f5f513da07717eb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.