branch_name stringclasses 149
values | text stringlengths 23 89.3M | directory_id stringlengths 40 40 | languages listlengths 1 19 | num_files int64 1 11.8k | repo_language stringclasses 38
values | repo_name stringlengths 6 114 | revision_id stringlengths 40 40 | snapshot_id stringlengths 40 40 |
|---|---|---|---|---|---|---|---|---|
refs/heads/master | <repo_name>yogge/themis-token<file_sep>/migrations/2_deploy_tokens.js
const GETToken = artifacts.require(`./GETToken.sol`)
module.exports = (deployer) => {
const tokenName = "GETToken";
const tokenSymbol = "GET";
const decimalUints = 18;
const icoStartTime = web3.eth.getBlock(web3.eth.blockNumber).timestamp;
... | 4e6bd0fa53f9ac39e87ae56c9b45f1536efa70cd | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | yogge/themis-token | b5d490a26e1ad8670d5f1c3768f8da5989a92713 | 876d35f0195db78b7ae535d7fa0ea7477661ab1e |
refs/heads/master | <repo_name>dewabrata/ProjectX<file_sep>/app/src/main/java/com/projectx/main/modelservice/favourite/Favourite.java
package com.projectx.main.modelservice.favourite;
import com.projectx.main.Application.AppController;
import com.raizlabs.android.dbflow.annotation.Column;
import com.raizlabs.android.dbflow.annotation.Pri... | 12de8d5ccd56392c976034c99b8f9933aac8fee1 | [
"Java"
] | 11 | Java | dewabrata/ProjectX | a12fc2449bae6dc62123586df4611eda417768c0 | bffb4d0113d4ea900a1bb03ee5535dc6bf467f4c |
refs/heads/master | <file_sep>package com.adjectivecolournoun.foobarreceiver.web;
import com.adjectivecolournoun.foobarreceiver.domain.Thing;
import com.adjectivecolournoun.foobarreceiver.repositories.ThingRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapp... | f12145ae87cd42a4029e9ed7955e60592f77128e | [
"Markdown",
"Java"
] | 5 | Java | andyjduncan/foobarreceiver | 6af442a7fd908d7f2bdcb7d9d308fcfc6d3403b8 | 1f7176c1ad9807658f710f6732d7e96565b630c5 |
refs/heads/master | <repo_name>dylens/demoy<file_sep>/RD.md
git init
git remote add origin https://github.com/dylens/demoy.git
git clone https://github.com/dylens/demoy.git
git status
#add into/remove from index
git add/reset *
git commit -m""
git log [--stat]
git revert <commit>
#discard changes in working directory
git checkout -- R... | 557b3e2ad98f397dafe859fce1dd69082f779f62 | [
"Markdown",
"Java"
] | 4 | Markdown | dylens/demoy | b3c76bae5a99d5d397183c3a11a4496d7e0171a0 | 11f3c09144a6bd7ba1c099a3c999e253761bd53b |
refs/heads/main | <repo_name>ElizaHrb18/Lab3-4<file_sep>/main.cpp
#include <stdio.h>
#include<iostream>
#include<string.h>
using namespace std;
// definirea clasei de baza carte
class carte
{
public:
carte(char *nume)
{
strcpy(carte::nume, nume);
};
void afiseaza_nume()
{
... | f82bef44db2afe55c75721672fe21c985d2738e0 | [
"C++"
] | 1 | C++ | ElizaHrb18/Lab3-4 | 8a396a7a1486234863e352ced3e791c7a8aaee49 | b47bafc21ccc7cbab7bb22954a535712dfc9595e |
refs/heads/master | <repo_name>smithjph/Model-Selector<file_sep>/runSim.R
require(caret)
require(tidyverse)
require(gridExtra)
runSim <- function(dat, problem.type, target, error.metric){
# runs models and gives initial accuracy results
#
# args: dataset, type of problem (regression or classification),
# target variable, erro... | 3434480f4af259de08130de7ba16cc404645ad92 | [
"Markdown",
"R"
] | 3 | R | smithjph/Model-Selector | 0620b37418ccffc4ee460d67b9891b24ba356ab9 | c8df2fa1134e622e40c8512f2f4307cfd818d128 |
refs/heads/master | <repo_name>yunjikim0603/knittingBetter<file_sep>/Project/src/comment/CommentDAO.java
package comment;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import javax.naming.Context;
import... | b5f35eb0eb352374d6870a013fe746ce03753485 | [
"Java"
] | 2 | Java | yunjikim0603/knittingBetter | 20b42e6c2937b9fba98bd01006560cdbf0b88647 | 3f21568835dc3f78397893910164555c34898d43 |
refs/heads/master | <file_sep>#!/usr/bin/env bash
me=`basename "$0"`
for file in *; do
if [[ "$file" == "$me" ]]; then
continue
fi
if [ -f "$file" ]; then
ext="${file##*.}"
name="${file%.*}"
file -ib $file | sed 's/msvideo/avi/' | sed 's/matroska/mkv/' | grep -q $ext || echo $(file -i $file)
fi
done
<file_sep># sh.check-file-e... | 70194ef4049b4a0ddd54f4614cc536ddd58f1bdb | [
"Markdown",
"Shell"
] | 2 | Shell | helgeelchenberg/sh.check-file-extension | 462a6b6d1a9d681132a6d149e8d8333dc20a4ee9 | ec13747b1f006ccda68b0d0435d4197e84f67909 |
refs/heads/master | <file_sep>//
// Defines.h
// FloorChat
//
// Created by chenguangjiang on 15/8/3.
// Copyright (c) 2015年 Dengchenglin. All rights reserved.
//
#ifndef FloorChat_Defines_h
#define FloorChat_Defines_h
//同楼相关配置
//主域名
#define KBaseUrl @"http://192.168.3.11:8081/louyu"//
//百度AppKey
#define KBaiDuMapAppKey @"<KEY>"
//环... | 2461669119156f9fc39e736350ced69e0d907b8c | [
"C"
] | 1 | C | dengchenglin/LY | c99607615be6ecbe60cf74a6ecd1d26d18152400 | 246c273131dc5508e4fe1afedbc505445af9f58c |
refs/heads/master | <repo_name>mdhamija94/W5D5<file_sep>/url_shortener/URLShortener/app/models/shortened_url.rb
# == Schema Information
#
# Table name: shortened_urls
#
# id :bigint not null, primary key
# long_url :string not null
# short_url :string not null
# user_id :integer not nul... | 7dbac8c61a4b199cbd8234219f3a19cb58be1dce | [
"Ruby"
] | 2 | Ruby | mdhamija94/W5D5 | 43ec974f6f3180878db096c2ddd55e2f72ca5c6f | 54578347458041504de9ad18d2290077fc3dbc1a |
refs/heads/master | <repo_name>aadeliee22/Hubbard_NN<file_sep>/1_dmftsolver/QMC/trng4.build/trng/CMakeFiles/trng4_shared.dir/cmake_clean.cmake
file(REMOVE_RECURSE
"CMakeFiles/trng4_shared.dir/lcg64.cc.o"
"CMakeFiles/trng4_shared.dir/lcg64_shift.cc.o"
"CMakeFiles/trng4_shared.dir/minstd.cc.o"
"CMakeFiles/trng4_shared.dir/mrg2.cc.o"... | 2148a784cbb01befca8253d62597118c7c98436d | [
"CMake",
"Markdown",
"Makefile",
"Python",
"C++",
"Shell"
] | 46 | CMake | aadeliee22/Hubbard_NN | 9b498b672cf44e71c2750644456abfa27e893c1d | ecbc177fcb6480980364af4c375bde486c704c45 |
refs/heads/master | <file_sep>#Fish Stocking Map
##Project URL
http://s3.amazonaws.com/vt-stock-exchange/index
##Overview
This project takes fish stocking data published by the Vermont [Department of Fish and Wildlife](http://vtfishandwildlife.com) to create an interactive map to navigate the data.
The published data on stocking includ... | c280f32c51f343969e9bbc947ab92147ee028956 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | codeforbtv/fish-stocking-schedule | 3734dc4eb4c4645ff3ec0f0e376003bc6c31fbb4 | cf6b00ad53ad83ae1aa8a1c512c37376eb04e8a8 |
refs/heads/master | <file_sep># -*- coding: utf-8 -*-
"""
Created on Fri May 13 08:12:29 2016
@author: Arshad
"""
import matplotlib.pyplot as plt
from matplotlib import cm
from matplotlib.ticker import LinearLocator, FormatStrFormatter
from matplotlib.mlab import bivariate_normal
import numpy as np
from mpl_toolkits.mplot3d ... | 62c1c73dfb112cf375acf1224b2e2d40472191fe | [
"Markdown",
"Python"
] | 8 | Python | tricerafi/RobotikUTS | a5ae0433f11cbc88af20e515131edee2528e97fa | d4f53beb5cc3ea3ec1d33c20f923979ee001db59 |
refs/heads/master | <file_sep>#!/bin/bash
echo "The following files are in this directory:"
for file in $(ls)
do
mv $file ${file:9}
done
| ed0a3db37dc9607365cb683511c928b05676538b | [
"Shell"
] | 1 | Shell | spyjetfayed/HtDP | ef0e7fb74a2973d8f17e47d4d56d3099e8b0be32 | f3aa18236c1297c0af1bf77be649ba2e8d7bce50 |
refs/heads/master | <repo_name>dhofland/CS108---HW4-Sudoku-and-Databases<file_sep>/Android DB project/DB project/app/src/main/java/edu/stanford/cs108/cityinformation/MainActivity.java
package edu.stanford.cs108.cityinformation;
import android.content.Intent;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
i... | a00eb52b856f7ee2cdd686cde7fe61ccda6c7a3f | [
"Java"
] | 3 | Java | dhofland/CS108---HW4-Sudoku-and-Databases | b5c9365d32b2befd1ec5d93fc2478a5957e85b63 | 6d1c5d7d6a10d79629aebb85c932e079c3f18a8d |
refs/heads/master | <file_sep># Simple Image API
## Description
> This is a simple Image API that can get 30 images with user searching keywords from different API.
#### The API used in this project:
- [Pixabay](https://pixabay.com/)
- [Unsplash](https://unsplash.com/)
#### The dependencies/libraries/vs code add-on used in this project... | 12bfe19c254ace9b0849890622d9c96ef29ff1f3 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | Carlchk/Simple-Image-API | fd337908913dbf2a8cbde67cac441169c6ba0d99 | 7328b1ac166312a586181fd730cde7155eca0e59 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace csharp_tr_function_1
{
class Program
{
public static void Main(string[] args)
{
//calling function basic
basic();
... | ed1ef34c81f8fc6b036db47ac49ccb0aa42c7d65 | [
"C#"
] | 1 | C# | Jay-study-nildana/csharp_tr_function_1 | afed1ac9e935d95d270033abcf00806fa8f713b1 | 4e892d8108bbfdbcedbfee0e49895ca6c17446ff |
refs/heads/master | <file_sep>package com.sunasterisk.loltournaments.ui.adapter
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.databinding.DataBindingUtil
import com.sunasterisk.loltournaments.R
import com.sunasterisk.loltournaments.base.BaseAdapter
import com.sunasterisk.loltournaments.base.BaseViewHold... | 43ce22b542debdc5756d8d7585a67d10b1d5336a | [
"Markdown",
"Kotlin",
"Gradle"
] | 62 | Kotlin | awesome-academy/Lol-Tournaments | 6a7e184f2985a8ab14b36ef6d590d6b973a4cb1d | ebf4342971c0c1352b23e293fe0921c22f2eee73 |
refs/heads/master | <file_sep>export WORKON_HOME=$HOME/.venvs
source /usr/local/bin/virtualenvwrapper.sh
# bash completion
[ -f /usr/local/etc/bash_completion ] && . /usr/local/etc/bash_completion
# PS1 original
#export PS1='\h:\W \u\$ '
# PS1 customized
export PS1='\[\e[31m\]\u\[\e[m\] \w \[\e[34m\]$(vcprompt)\[\e[m\]\[\e[32m\]\\$\[\e[... | 96877863bac00423d51f93fbfa7e7559730d9fa0 | [
"Shell"
] | 1 | Shell | seonghyeonkimm/config | bc4a61eb6a17a7a287cd728adc66c99e3b0df1c6 | 651274651fdc6333e33ef283f0d1704b913356c9 |
refs/heads/master | <repo_name>chenkang084/kitoon-bg<file_sep>/models/db.js
var settings = require('../settings'),
Db = require('mongodb').Db,
Connection = require('mongodb').Connection,
Server = require('mongodb').Server;
var con = new Db(settings.db, new Server(settings.host, settings.port), { safe: true });
module.exports ... | 35f16095f92472433ceb71715aefcf4def55a9fd | [
"JavaScript"
] | 2 | JavaScript | chenkang084/kitoon-bg | 2d51cabce4968ce1479e283599ecca53568a6425 | 11e3eaf00bf8ac8e4d22f0d22cae39c561d1754c |
refs/heads/master | <repo_name>dashiwa/garbage_2<file_sep>/ens/ens.features.field_instance.inc
<?php
/**
* @file
* ens.features.field_instance.inc
*/
/**
* Implements hook_field_default_field_instances().
*/
function ens_field_default_field_instances() {
$field_instances = array();
// Exported field_instance: 'commerce_product-... | 969b0b667accfbe58db385070fd8aecd5acd85d9 | [
"PHP"
] | 2 | PHP | dashiwa/garbage_2 | 5f46e7f2fe6f1155656a74dee97adfc58279a2bf | e8188394eb19a9947ae35a7a32abc3bbc95207c7 |
refs/heads/master | <repo_name>mattdavey/EuronextClone<file_sep>/src/main/java/com/euronextclone/fix/client/OrderBuilder.java
package com.euronextclone.fix.client;
import quickfix.field.*;
import quickfix.fix42.NewOrderSingle;
import java.util.Date;
import java.util.UUID;
/**
* Created with IntelliJ IDEA.
* User: eprystupa
* Date: 7... | b3bb9529cda6f89043ba503ed37ad562dc49d720 | [
"Markdown",
"Java",
"Maven POM",
"Shell"
] | 19 | Java | mattdavey/EuronextClone | 0ae7d79a2c3832b8404d3f09709074c3f0df1657 | de09106ca051f5a90d0ad476346842a0a8a08ca9 |
refs/heads/master | <repo_name>zhaijunhua/graduation<file_sep>/back-deve/nodeServer/blogServer/models/sentences.js
var mongoose = require('mongoose'); // 引入数据库
var Schema = mongoose.Schema;
var sentencesSchema = new Schema({
'sentenceContent': String,
'translate': String,
'author': String,
'category': String,
'addTime... | fb0e20e44fdaa6d0603704effb1b775beb78d225 | [
"JavaScript"
] | 12 | JavaScript | zhaijunhua/graduation | 98062a9ba1a2f12bface5f9e82c07711907f991c | da21058a4508c3f530439848049a0867fb513a5a |
refs/heads/master | <repo_name>SayaniG371/CiphX<file_sep>/CipheringAlgos/Homophonic.py
import random
key_table={'A':['D','9'],'B':'X','C':'S','D':'F','E':['Z','7','2','1'],'F':'E','G':'H','H':'C','I':['V','3'],'J':'I','K':'T','L':'P','M':'G','N':['A','5'],'O':['Q','0'],'P':'L','Q':'K','R':'J','S':['R','4'],'T':['U','6'],'U':'O','V':'W'... | 130c5753cd6fb20fbe0f9fc39c16b759a7ca60ef | [
"Markdown",
"Python"
] | 8 | Python | SayaniG371/CiphX | 7bf15192a2a6fd967b8c6a317687f955c6547d92 | 678e9acfcbfe49589820566b40fc86d98ef542ed |
refs/heads/master | <repo_name>jazzbre/BeefLangAndroidTester<file_sep>/BeefProject/BeefProj.toml
FileVersion = 1
[Project]
Name = "BeefProject"
StartupObject = "BeefProject.Program"
<file_sep>/app/src/main/cpp/CMakeLists.txt
cmake_minimum_required(VERSION 3.4.1)
message("Generating for Android ABI ${ANDROID_ABI} in '${CMAKE_SOURCE_DIR}'... | 1ff062029e478677cf9c303270f86157f232e406 | [
"TOML",
"CMake",
"C++",
"Gradle"
] | 6 | TOML | jazzbre/BeefLangAndroidTester | 6418ede2bd2ac86a9d66f070a45643c908420a0a | 3f818167ddad7246bbdb68df88f700d483771db4 |
refs/heads/master | <repo_name>kjwilsondev/pizza-box-api<file_sep>/app/main/model/cleaner.py
from .. import db, flask_bcrypt
import datetime
from app.main.model.blacklist import BlacklistToken
from ..config import key
import jwt
class Cleaner(db.Model):
__tablename__ = "cleaner"
id = db.Column(db.Integer, primary_key=True, autoi... | 5aedfaf2712d3461ac2af6604a24069d7ec0c0e0 | [
"TOML",
"Python"
] | 18 | Python | kjwilsondev/pizza-box-api | d8990dd6bd510c3417eee43afd1fd2a2c3757425 | 1d6f6b59bf57bc71e33022d580b6cc82d2b282fc |
refs/heads/master | <file_sep>package CRUD.service;
/**
* Created by sanzhar on 8/23/16.
*/
import CRUD.User;
import java.util.List;
public interface UserService {
void addUser(User user);
void updateUser(User user);
void removeUser(int id);
User getUser(int id);
List<User> getUsers(Long page);
List<User> get... | 6f6a66b4cc3b1942187a499ccc18982d00b52d2d | [
"Markdown",
"Java"
] | 2 | Java | satybS/CrudProjectJavaRush | d50aca0d8e78079acea5280a7f5627e6964fb0da | 2135d78331a871dedfba62959b3b69cacec2e303 |
refs/heads/master | <repo_name>vmp6syu/yuntech_Driver_course<file_sep>/week7/select.c
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/time.h>
#include <unistd.h>
int main()
{
//int fds;
int ret;
char buf[100];
int timecount;
int maxfd;
fd_set rfds;//set listen
struct ti... | dc463bde42b488daa76aab83d2e482addd1a0929 | [
"C",
"Makefile"
] | 9 | C | vmp6syu/yuntech_Driver_course | 4674f9a52918cec605fa6d39da56bbdeb9693aaa | 971512cbb7dfc3f0c74183fc86b56ede0874f3b5 |
refs/heads/master | <file_sep>public class SimHash {
/**
* Generate 64 bit simhash for a string
*
* @param s
* @return
*/
public static long simHash64(String s) {
long result = 0;
int[] bitVector = new int[64];
String[] words = s.split("[\\s()\\-\\/]+");
for (String word : words) {
if (word.is... | c76297add7575e4d9ebbb060e31196ea9a1277ad | [
"Markdown",
"Java"
] | 2 | Java | haohany/simhash | fee03f314fbd32bd890a41eac1efd561e18c8343 | eeccd9038d99ce977606cbc955171bbc06c5a5f7 |
refs/heads/master | <file_sep>const path = require('path');
const webpack = require('webpack');
const nodeEnv = process.env.NODE_ENV || 'development';
const isProd = nodeEnv === 'production';
console.log(`Building for environment: ${nodeEnv}`);
const plugins = [
new webpack.optimize.CommonsChunkPlugin({
name: 'vendor',
... | 3ba5c7e3005c3426706a7e0749ec0330d38dfff8 | [
"JavaScript",
"TypeScript",
"Markdown"
] | 11 | JavaScript | isabella232/framework-shootout-ionic2 | 8e9a590e2014af8ae5cfa6693e252762e1f9ad84 | 10d695f274eede12a671649fe3ede59c9bfe6559 |
refs/heads/master | <repo_name>TimTosi/shuntingYard<file_sep>/src/operation/inf_mul.c
/*
** inf_mul.c for Bistromathique in /home/tosi_t//TESTBASE
**
** Made by <NAME>
** Login <<EMAIL>>
**
** Started on Tue Aug 13 15:34:51 2013 <NAME>
** Last update Sun Sep 8 22:39:07 2013 tim<NAME>
*/
#include <stdlib.h>
#include "my_str.h"
#incl... | 72843708cdaa271c369168a1f230d13b10eaa333 | [
"C",
"Makefile"
] | 69 | C | TimTosi/shuntingYard | 1b93c863664980eda6733951c673f945a45db368 | 23c80e902ca7050591c1198711bc2d763ed91248 |
refs/heads/master | <repo_name>VolhvPorechja/SpringLearning<file_sep>/demo/src/main/resources/exceptions.properties
common.fail=Sorry but this is fail!!<file_sep>/springcontext/src/main/java/org/volhvporechja/springcontext/Main.java
package org.volhvporechja.springcontext;
import org.springframework.boot.SpringApplication;
import org.spr... | 46e41877fc622d33feac7ce80dc0c28f036f4052 | [
"Markdown",
"Java",
"INI"
] | 14 | INI | VolhvPorechja/SpringLearning | f055b759b79ab54bed009280e187b76669b8ffb3 | 7000f4700e47f79fbb5cd115fbb967918c192cad |
refs/heads/master | <file_sep>// import { PolymerElement, html } from "@polymer/polymer/polymer-element";
import { LitElement, html, css } from "lit-element";
export class PedruleAscensor extends LitElement{
static get properties() {
return {
showV: {
type: Boolean,
reflect: true,
... | 6ba35339c441d7d7bd6590af208e237fdacade3a | [
"JavaScript"
] | 6 | JavaScript | pedrule/virtual-scroll-v2 | 0680d1e534d83fd30a92c3bb92fc823954bf5446 | 5af17495b1f8a62b73280818603a1a58aeaafe10 |
refs/heads/master | <file_sep>import Vue from 'vue'
import Vuex from 'vuex'
import mutations from './mutations'
import actions from './actions'
Vue.use(Vuex)
export default new Vuex.Store({
state: {
pokemon: {
sprite: 'https://fontmeme.com/images/Pokemon-Logo.jpg'
},
showLoader: false
},
actions,
mutations
}) | 27eb0ea4c6f728735569c5f50fdae05087736bbf | [
"JavaScript"
] | 1 | JavaScript | kingreyvie/Pokedex | 25ec142e2034b492d02df97d145f55d5ac9b94c7 | 8da590f78628da912145d2d984ff2ff5341eb3d0 |
refs/heads/master | <repo_name>yurikaugusto/Projeto-JSP-com-consumo-de-API-Paises<file_sep>/src/main/java/com/brq/internet/projetojspbase/dto/PaisDTO.java
package com.brq.internet.projetojspbase.dto;
import java.io.Serializable;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jac... | c92d0230dbe857c56351c23144ccb78159d6d229 | [
"Markdown",
"Java"
] | 5 | Java | yurikaugusto/Projeto-JSP-com-consumo-de-API-Paises | c484686d96465ddfa88f4f75fd6d3778784d626f | c6a2c99d7e537010f57f856f8fc97bc5cf326c26 |
refs/heads/master | <file_sep>hw1 grading rubric
hw1 Feedback
============
#### Successful use of Git, GitHub, and build automation tools (4/5)
* Your commit history could be more made more useful. A useful commit history separates work into multiple commits, instead of one or two for the whole assignment. Each commit should have a co... | 4dfef26b40bd27e3a3aa5a94fdf34e4053bbb136 | [
"Markdown",
"Java",
"Text",
"Gradle"
] | 38 | Markdown | dsai96/15-214 | 95dde7ff6dbce23d829dcfb0b10b6c34c23a02db | 90e92c8475f4079d5c91a9227bf6b2ab579f5e5a |
refs/heads/master | <file_sep>const webpack = require('webpack');
const paths = require('react-app-rewired/scripts/utils/paths');
const getClientEnvironment = require(paths.scriptVersion + '/config/env');
const appBuildPath = paths.scriptVersion + '/config/paths';
const path = require('path');
const reactAppPaths = require(appBuildPath);
... | d82ee19f26881a23d27e93d522cd754efd32c4bc | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | likun7981/react-app-rewire-host | 53a4b0066e46d4137f2731e9ea001b11b27d25d8 | 35f935f2abdae5e9bdbc04c3d68daf4f3412879b |
refs/heads/master | <file_sep>// The module 'vscode' contains the VS Code extensibility API
// Import the module and reference it with the alias vscode in your code below
import * as vscode from "vscode";
const terminal = vscode.window.terminals[0];
function sendTextFunc(setting: string, isGit: boolean = false) {
let temp =
vscode... | e53dcfafc53eb88f881ff05c50d0856813d5c475 | [
"TypeScript"
] | 1 | TypeScript | GodD6366/touchbar-custom | f625ab55ad2d36b73438dc184b58b426a95482c5 | 0c808274107ed2b38a24a079c9f557b9ac0956f6 |
refs/heads/master | <repo_name>pyramation/ra-postgraphile-examples<file_sep>/README.md
# ra-postgraphile-examples
The aim of this repo is to provide examples for the postgraphile community's implementation of react-admin, https://github.com/BowlingX/ra-postgraphile
## getting started
if you have a postgres process running, skip this st... | efa1cafe129e8b5a1a35e4872e621ddedeb960ed | [
"Markdown",
"JavaScript",
"Makefile"
] | 6 | Markdown | pyramation/ra-postgraphile-examples | 65039664959ba317082ef86725c499afc8e4bf6c | 0ee107e246ab1b7fb60474ac3ab3d279d8d59cb9 |
refs/heads/master | <file_sep><?php
if (!empty($_POST['data'])) {
$data = $_POST['data'];
$data = str_replace('contenteditable="true"', 'contenteditable="false"', $data);
$data = str_replace('<script type="text/javascript" src="../ew-editor.js"></script>', '', $data);
$data = str_replace('<link rel="stylesheet" href="../e... | 57789e4085d9339f085a92c20d89eaa8296511db | [
"Markdown",
"PHP"
] | 3 | PHP | maurobonfietti/web-page-editor | 6f0132e15de184252cb723ca6f095ba5fdab1aaf | 051d6f4f32f263813a73ca1fc71d9dc97f500e2f |
refs/heads/master | <file_sep><?php use Roots\Sage\Titles; ?>
<div class="page-header">
<h1><?= Titles\title(); ?></h1>
<?php if( is_post_type_archive('projects') ) { ?>
<p>Works that I played a signicant role in. If you like what you see reach out to see if we can make your project happen.</p>
<?php } ?>
</div>
<file_sep><?php
... | 66aca88010e7fbcb29f694b0133c5cae8a0fd977 | [
"PHP"
] | 9 | PHP | rpasillas/personal-site | 81861af3f22c2e95def8155539238786f80c10e8 | b07f5a47588185e6609425256dfb90489f942f0e |
refs/heads/main | <file_sep>package kr.ac.gnu.news.calc;
/**
* Hello world!
*
*/
public class Calc
{
public static int add(int x, int y) {
return x+y;
}
public static void main( String[] args )
{
int a;
a=add(5,7);
System.out.println("a");
}
}
| a5a97f7bc644ecf1f51608f641d5ef3350f5e639 | [
"Java"
] | 1 | Java | LEESUBOK96/travis_calc_repro | 4c9eec30196828848759614f670578abf6cc2592 | 7d2d97d7d5c22d209289d22947ee49104711ae4a |
refs/heads/master | <repo_name>manojdobbala/efitbuy<file_sep>/src/data/tileData.js
/**
* Created by manojdobbala on 7/2/18.
*/
const tileData = [
{
img: '../img/efitbay_1.jpg',
title: 'Breakfast',
author: 'Manoj',
cols: 2,
featured: true,
},
{
img: '../img/efitbay_2.jpg',
... | 50986de1ac9f670dd94348ba942cd831201a0273 | [
"JavaScript"
] | 5 | JavaScript | manojdobbala/efitbuy | b55cb53763671ede3ab421f5914dfe073aafb173 | 74e9eee41e0aebb280f57f53e637079aa517db27 |
refs/heads/main | <repo_name>jtrupti07/CPP-code<file_sep>/constant.cpp
#include<iostream>
using namespace std;
class Demo
{
public:
int i;
int j;
//Constant variable should be initialized immidiately
const int k=30;
Demo()
{
i=10;
j=20;
//k=30; Error
}
void fun()
{... | b444d5c2af390e01249cfe5a54e5874d64589623 | [
"C++"
] | 4 | C++ | jtrupti07/CPP-code | a90abf47e9e65fd2df02c42c41fd594a0949bf8a | 1e3ca66e2113de59f859a524e053af428a06d905 |
refs/heads/master | <file_sep># VL.Devices.DigiCamControl
A set of [VL](https://vvvv.org/documentation/vl) nodes for remo controlling DSLR cameras based on [digiCamControl](https://github.com/dukus/digiCamControl).
## Contributing to the development
If you want to contribute to this repository, clone it into a directory like:
X:\vl... | c7ca7872681963737eda7c843677da506d979f6d | [
"Markdown",
"C#"
] | 3 | Markdown | YanYas/VL.Devices.DigiCamControl | 3b53d5b5dd153e04b727c87dda5b428e29e5413c | 6ad470d720b8af6c05926d18773c43b4612d9bfb |
refs/heads/main | <file_sep># PythonScripts
Various python scripts for use
<file_sep>#!/usr/bin/env python3
import os
from PIL import Image
#user input for source folder, make sure directory ends with /
#ensure that source directory contains only images to be altered
source = input("Input source directory here: ")
#creates list of im... | 0f01df8c914c1553d31c3d4821525f86d92e1f29 | [
"Markdown",
"Python"
] | 3 | Markdown | jasellen/PythonScripts | ae20d57eb30299b318faba366267b9458ab815c0 | 29ee0a47f9cc6737e831ecfc79a738abafa904b9 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Xml;
using System.Globalization;
namespace BasicTest
{
public partial class ... | 8dc6b0668f3138f253ac588f079d9b403c929bad | [
"Markdown",
"C#"
] | 2 | C# | priestley/note-editor | 13d500041e1cf299b7d10bd5aabbf76f09b1060e | 21f49f6912535dc404f56cdba9a7a1f6f459797d |
refs/heads/master | <repo_name>solutionsforeverything/online_voting_java<file_sep>/online voting system/source code/admin.java
package jdbconnection;
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JRadioButton;
import javax.swing.ButtonGroup;
import java.sql.*;
import javax.swing.JLabel;
import javax.swing.JOpti... | f0d0ab11a19bebb07a51f11569f3d235a913d6c0 | [
"Java"
] | 3 | Java | solutionsforeverything/online_voting_java | c472da900577ffb776f3cc43bcbc66547cd84f0f | 9b22eaf41a3b1671e283cb093d5c1c49fff24997 |
refs/heads/master | <file_sep>package day3;
public class Practice {
int wow;
/**
*
* @param args
*/
public void stairs(int n){
String hash="#";
for(int i=1;i<=n;i++){
for(int k=1;k<=n-i;k++){
System.out.print(" ");
}
for(int j=1;j<=i;j++){
System.out.print(hash);
}
System.out.println();
}
}
publi... | 847491ecf9f15bfe01f7e37ba047fa7096e679bf | [
"Java"
] | 2 | Java | SharmaBulbul/JAVA-Tutorial | 81f5ca380d1441df70fcd756162769642ec58cf0 | 60173b5445ff7b0e9768f20b1c3bcb19effd6a34 |
refs/heads/master | <repo_name>suyangman/recast<file_sep>/RecastDemo/Source/InputGeom.cpp
//
// Copyright (c) 2009-2010 <NAME> <EMAIL>
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of this software.
// Permission is ... | 5abc5a5b4d6c72b33bd28543da802daf2123e7ba | [
"C",
"C++"
] | 9 | C++ | suyangman/recast | 7028c09638b2086b40a90a6cc9620009a455f6b3 | 484687784b01f658498e28d899353b87af726bab |
refs/heads/master | <repo_name>RyanFu/ccq<file_sep>/chachuqu/ccq/src/main/java/com/coldmn3/ccq/Intents.java
/*
CCQ Android Client
Copyright (c) 2013 <NAME> <<EMAIL>>
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 cop... | 1dd45f61a647c562dbaf2fee73c55443be228e3b | [
"Markdown",
"Java",
"Maven POM"
] | 9 | Java | RyanFu/ccq | 0f0e94aa64402fb76d2168284f1bd3dbfdc3dc59 | ccc0cac51f8a4318e1abd05a5eeb3f899a47b9af |
refs/heads/master | <file_sep># PHPCMSV9按年按月日期归档功能
PHPCMSV9在国内使用的人还是比较多的,也有一部分人当做博客使用,CMS做为blog使用也没问题,就是感觉少一个归档的功能,所以找时间写了一些。
功能:PHPCMSv9文章按年|按月归档
演示参考:www.linyufan.com
> **效果图:**

> **其他问题关注我的小程序即可:**
:
"""Plots an image of resized size if argument is given.
Parameters
----------
X : numpy.array
... | 5dc1c3d5e36ef1cc1716dc44c7c3d0f36674e1b0 | [
"Markdown",
"Python"
] | 3 | Python | KarboleW/ov65ufum | a9a231f1647f10d07740aa264b6505e51cf7a601 | e9a9ace1e1bdcbff490ddadafdc2bd18dbc95ac2 |
refs/heads/master | <file_sep>var traverseDirectory = function traverseDirectory(dir, filelist) {
var files = fs.readdirSync(dir);
filelist = filelist || [];
files.forEach(function(file) {
if (fs.statSync(dir + file).isDirectory() && file.charAt(0) != '.') {
filelist = traverseDirectory(dir + file + '/', fi... | 48fad0eacf82bf6e9885656a23b76383ac281099 | [
"JavaScript"
] | 1 | JavaScript | webnified/harvest-directory | 964063bb31af5e1849aa91e1d850ced341966c5d | ece7a435f6b4f6afb9a1353835b3b3265762a55e |
refs/heads/master | <repo_name>stevenbeales/clinicaltrials-1<file_sep>/README.md
clinicaltrials
==============
Zephyr Health / Clinical Health
To Do
2. change favicon<file_sep>/app/scripts/controllers/chart.js
'use strict';
var chartController = function($scope, $location, searchResults, ngTableParams){
// check if a search has bee... | 8d56c839685fb6fe9f4ca691d167f989e1777fb2 | [
"Markdown",
"JavaScript",
"HTML"
] | 4 | Markdown | stevenbeales/clinicaltrials-1 | ca29346a6d28d9f2e52e715619bb37b384324e2c | 9a54d9e79aaf9cb6a85c371d20e911d95d4d3037 |
refs/heads/master | <file_sep>namespace RandomSquares.Modules
{
public class VirtualScreenRow
{
private VirtualScreenCell[] _cells;
private int _screenWidth;
public VirtualScreenRow(int screenWidth) { }
public void AddBoxTopRow(int boxX, int boxWidth) { }
public void AddBoxBottomRow(int b... | 44e454dd81ad6c2921944e926e152978bc9ecf84 | [
"JavaScript",
"C#"
] | 13 | C# | Wisetorsk/AlmostGETit | cc3b6675a9387a1e1458daab40324a6ab4d2fbf9 | 158dc498bc1b574e1d53396737918a6e33cc404a |
refs/heads/master | <repo_name>EVAKuznetsov/StarWarsDB<file_sep>/src/component/pages/login-page.js
import React from 'react'
const LoginPage = ({isLoggedIn,onLoggin,outLoggin})=>{
if(isLoggedIn){
return(
<div className="jumbotron">
<p>You are logged</p>
<button className="btn btn-dan... | 07fd28f496aec4267853076f0d3719473fac1fd4 | [
"JavaScript"
] | 13 | JavaScript | EVAKuznetsov/StarWarsDB | 09dc6b4c97b1114d56caf11a757cb21234ae3114 | 67312988a8866010da0f8db44c9a8021b757dab1 |
refs/heads/master | <file_sep>from django.db import models
from django.contrib.auth.models import AbstractUser
from django.contrib.auth.models import UnicodeUsernameValidator
class ShopUser(AbstractUser):
username_validator = UnicodeUsernameValidator()
gender_types = [('m', 'male'), ('f', 'female')]
gender = models.CharField... | 206ba3f71bdab49ed43b12077d47674386ee42d9 | [
"Markdown",
"Python",
"HTML"
] | 18 | Python | raminBadri/Bookstore | fda615c8219fa3a4f5f1e6798681b5e7fdcd7c37 | ff16ccffa5fa6a48849740584ca420b56abebb67 |
refs/heads/master | <repo_name>niewenlong/shadowsocks<file_sep>/src/lib/ss_core.cc
#include "shadowsocks/ss_core.h"
#define DEBUG_LOGGER_NAME ("debug")
// SsCore static members
std::vector<std::function<void()>> SsCore::_exitCallbacks;
// shadowsocks environment initializing
void SsCore::initEnvironments() {
std::atexit(&SsCo... | 077de2a2a2d8a619c070556343276e2eca079bb2 | [
"C++"
] | 19 | C++ | niewenlong/shadowsocks | 57e9be85349e30134058657f07b1441bcd55b441 | 0ddcb3f7895b225fc672af613df1d21daf1d650c |
refs/heads/master | <repo_name>AmjedHizran/angular-mission<file_sep>/src/app/app-routing.module.ts
import { Routes, RouterModule } from "@angular/router";
import { HomeComponent } from "./home/home.component";
import { CountryListComponent } from "./country-list/country-list.component";
import { NgModule } from "@angular/core";
const rou... | 32e278e2b7a4805c13c2142a4760ee3a010d7c7f | [
"TypeScript"
] | 4 | TypeScript | AmjedHizran/angular-mission | 02d47c09a477cb55b918b5b98ec087126d26d588 | a2852d7f9017a387afacc58b7243e68bdbf0f510 |
refs/heads/main | <repo_name>karasalihovicAmela/sfg-pet-clinic<file_sep>/sfg-pet-clinic/pet-clinic-data/src/main/java/com/amela/sfgpetclinic/services/PetService.java
package com.amela.sfgpetclinic.services;
import com.amela.sfgpetclinic.model.Pet;
public interface PetService extends CrudService<Pet, Long>{
}
<file_sep>/sfg-pet-clinic... | 9c09728bec6822fea4e7c2a66339aced7f088dcf | [
"Java",
"INI"
] | 5 | Java | karasalihovicAmela/sfg-pet-clinic | 30607769a7f1e451e920430836621c4fbf526244 | d256de3f7a4fa9725bef652f2247032e094c4265 |
refs/heads/master | <repo_name>wolf10D/Prueba-seleccion-akelab<file_sep>/src/components/badge.js
// import React from 'react';
// import './styles/Badge.css'
// import confLogo from '../images/badge-header.svg';
// class Badge extends React.Component{
// render(){
// const{
// fristName,
// lastNam... | 50b8340e4c9b11608372c1c8bded29f3d9e698ee | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | wolf10D/Prueba-seleccion-akelab | 59e701626cd6dd6b4f7f2bc906cc31b3451091d5 | 7001e6a0b3767bb33c3a8abe7c97c14c435939af |
refs/heads/master | <repo_name>SarahLN/hybridapp-CYBR8480<file_sep>/app/components/netwk-status.js
import Component from '@ember/component';
import { later } from '@ember/runloop';
export default Component.extend({
status: 'init',
on: true,
init: function() {
//determine network status upon component launch
this._super(...a... | b0bef2b6c65fcaed5786a061cb17c61365381a58 | [
"JavaScript"
] | 1 | JavaScript | SarahLN/hybridapp-CYBR8480 | 6473cf623b3ebc7a3118539d7ba2225819a6d6e2 | f376d01a4b8a87135a3c7a4898a5e3d5db1021f9 |
refs/heads/master | <repo_name>Harrysibbenga/DjangoAuth<file_sep>/accounts/views.py
from django.shortcuts import render, redirect, reverse
from django.contrib import auth, messages
# Create your views here.
def index(request):
# Return the index.html template
return render(request, 'index.html')
def logout(request):
# Logo... | 0f58e2972b25056fd8ec8c8a559521a49936a3f3 | [
"Python"
] | 1 | Python | Harrysibbenga/DjangoAuth | 175994b54f969fec3a6601133d31081a55689999 | cf75f1774de0aecd3f4bf33c29139e87f34f91e9 |
refs/heads/main | <file_sep>import React, { Component } from "react"
import ReactDOM from "react-dom";
import * as THREE from "three"
class App extends Component {
componentDidMount(){
// === THREE.JS CODE START ===
let scene = new THREE.Scene();
let camera = new THREE.PerspectiveCamera( 75, window.innerWidth/window.innerHe... | b8a475bccded778c0b0b3ac0c850ea1c2197b1c8 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | draibolit/react_three-template | 00509f1e15c6b3950bf023d2cf4013b6a64e86e2 | 14d106b1d7581f09615a34bc21c8d9b8a9233c21 |
refs/heads/master | <file_sep>using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class PlayerMover : MonoBehaviour
{
[SerializeField] private float _speed;
private float _currentSpeed;
private void Start()
{
_currentSpeed = _speed;
}
private void Update()
{
... | 47767c3fedfb53fd4fbf2946080c996f3fa06614 | [
"C#"
] | 8 | C# | BatDen52/SHK-Unity-fork | b000bb0f489f49840c3280f0d028c8a369ec1df3 | 9c90ea3c63b4935e83da84cb80f374c1607b5693 |
refs/heads/master | <file_sep>const express = require("express");
const bookRouter = express.Router();
const bookController = require("../controllers/bookController");
const { getIndex, getById } = bookController;
bookRouter.get("/:id", function (req, res) {
const { id } = req.params;
getById;
});
bookRouter.get("/", function (req,... | 81368504caf73c56291da26c39fa8e13233b0005 | [
"JavaScript"
] | 3 | JavaScript | andresmanzanaressouthworks/express-course | 611eeadeb7023171198ffbfd6273972be12e4c12 | 968851cfb533713180dc6c0b73f6b7babce49188 |
refs/heads/master | <file_sep>USE BDICDM;
INSERT INTO status (sta_ds) VALUES
('Aguardando pagamento'),
('Em análise'),
('Paga'),
('Disponível'),
('Em disputa'),
('Devolvida'),
('Cancelada') | b51dd59d241f441b2d741aae53a5d9991da72139 | [
"SQL"
] | 1 | SQL | laissiles/bdic-dm | a33edd7e00f6fec9d059c37939dde136bff11988 | 79ebb764901f0abe0448fad6e639e1217bafa1a1 |
refs/heads/master | <repo_name>enconta/widget-front<file_sep>/README.md
# Enconta
Proyecto de front-end para el cliente de **Enconta**.
[](https://enconta.semaphoreci.com/projects/enconta-frontend)
## Metas
- Administra... | d57508d6f028fd76160662c9960eaa6df41f70ce | [
"Markdown",
"JavaScript",
"Makefile"
] | 20 | Markdown | enconta/widget-front | 25905ed01934aa630907a1cb4f9ad8eeceee58be | d8d8f56b6b1dba5a5313b63d46ab599fa8cf984d |
refs/heads/main | <file_sep>/*
* ---------------------------------------------------------------------------------------------
* * Copyright (c) IJSE Corporation. All rights reserved.
* * Licensed under the MIT License. See License.txt in the project root for license information.
* *---------------------------------------------... | 5a19a240b7ca84f6096e30a6d4086be56b47ba7e | [
"Java"
] | 6 | Java | nipunChathura/thogakade-pos-back-end | 2c7d18a63efd4a3b34242518fb8dca8c4629fbd7 | 8bc1b91841a5ef856fd982639b9ec2d077e1152b |
refs/heads/master | <file_sep>Router.configure({
layoutTemplate: 'layout',
loadingTemplate: 'loading',
notFoundTemplate: 'notFound',
waitOn: function() {
return [Meteor.subscribe('notifications')];
}
});
// Router.route('/', {name: 'postsList'});
Router.route('/posts/:_id', {
name: 'postPage',
waitOn: function() {
... | 6259446b8db491e7e954174f03839fe0c659d7f3 | [
"JavaScript"
] | 1 | JavaScript | JMiller686/kg-app | e23a1faba7fc4ecf95ac4fc996b96d873242a133 | 5a1dff027e0f3303ce119f82a6f601194ac9bc8f |
refs/heads/main | <repo_name>aaronpowell/vscode-course-sample<file_sep>/01-sort/sort.py
words = ['magnificent', 'world', 'hello', 'python']
words.sort()
print(words)
<file_sep>/03-fibonacci/fib.py
#recursive approach
numTerms = int(input("How many terms of Fibonacci sequence to print? "))
# main method
def fibonacci(n):
if n < 1:... | 4b0487f42c9e35eba537e51f5f7c7b1190d77ad8 | [
"Python"
] | 3 | Python | aaronpowell/vscode-course-sample | 3b614d14f80328c16d0f58b849d675ffaf9377f8 | 5b7d12c04163b1726cc5d8f924a43ba6647f6ca9 |
refs/heads/master | <repo_name>albertojuan/WekoJump<file_sep>/game/graphics.js
import consts from "./consts.js";
class Graphics
{
constructor(logic, graphicContext)
{
this.camera = 0;
this.logic = logic;
this.graphicContext = graphicContext;
}
clear()
{
this.graphicContext.clearRect(0, 0, consts.CANVAS_WIDTH, consts.CANV... | 605d03792446194f3b426e79220dcc956d25bcef | [
"JavaScript",
"Markdown"
] | 7 | JavaScript | albertojuan/WekoJump | 1b64bdcbd1a02c32d616be35b1ff94b161fd34bf | 7aeb3a95232c4659c8156ef82aa77d90f0ac5035 |
refs/heads/master | <repo_name>fgq999/chatroom<file_sep>/datapush/modules/entity/Room.js
/**
* Created by lkt on 15-4-17.
*/
function Room(name,ho){
this.users = new Array();
this.addUser(ho);
this.ho=ho;
this.name=name;
return this;
}
module.exports = Room;
Room.prototype.addUser=function addUser(user){
this.u... | 4ae75f68d049904c2832e4141191380ee2af7a48 | [
"JavaScript"
] | 2 | JavaScript | fgq999/chatroom | 517fcf1a4793c1c90225115a55d5a5352144f4d6 | ec139c2bcc51a55d700429d0e50b7a518468231d |
refs/heads/master | <repo_name>novemberkilo/ink-blot-middleman-source<file_sep>/source/2013/09/12/contributing-to-oss.markdown
---
title: Contributing to Discourse
subtitle: Therapeutic Refactoring
tags: oss, software
---
_Junior/Intermediate Ruby developers looking for an Open Source project to contribute to
should consider practising ... | ed38f4b98e77a99448c4f251541ddc852fb346bc | [
"Markdown",
"Ruby"
] | 9 | Markdown | novemberkilo/ink-blot-middleman-source | a77125fae952e9173623e237eee2c899b873beb7 | 33117c4014cefb553ca416d8cc4780da9c9140d6 |
refs/heads/master | <file_sep>using PrintService.Common;
using PrintService.Utility;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PrintService.Server
{
public class LogContainer
{
public PrintServerLogging OnLogging = null;
private List<string> logs = new List<s... | cb1d7dc05273554491f8d18a195ff1a73e08a2af | [
"Markdown",
"C#"
] | 53 | C# | xiangbohua/PrintServer2 | aaa62745d3cb886888c449f7ce748686b81ac03b | e79cae8131162d24f72cf2524ac07716eccdffdc |
refs/heads/master | <repo_name>rbravo86/toyocosta_ipad<file_sep>/scripts/js/index.js
document.addEventListener('DOMContentLoaded', onReady, false);
document.addEventListener('touchmove',function(e){e.preventDefault();}, false);
function onReady() {
$('.menu').live('touchstart', bgSwitcherOn);
$('.menu').live('touchend'... | 6f5cde42fa941f8b7cfe3a2151b44c7869babcff | [
"JavaScript",
"INI"
] | 2 | JavaScript | rbravo86/toyocosta_ipad | 5e054d023ad4c68f325408cd8e363166249a0327 | cea7087164514b2cc8f1ed60284c339280aedac8 |
refs/heads/master | <file_sep>export class ScrapStockHistory {
public symbol_code?: string;
}<file_sep>import { CustomResponse } from '../models/GeneralModels';
import { SignUpRequestModel } from '../models/AccountsModels';
import { AccountsDbHelper } from '../helpers/DbHelpers/AccountsDbHelper';
import { BunyanHelper } from '../helpe... | e07cdd116463356195505fdfd5417e59a6ddbeb5 | [
"Markdown",
"SQL",
"TypeScript"
] | 8 | TypeScript | maheshcharig/nse-stocks-data-scrapper | ada6be6f9de4ea76fdee50ff28d29fd60d2b5014 | 5897bb018ecaa4d81ab3e32d6e8b9381fe2c64f2 |
refs/heads/master | <repo_name>thinktwise/hipoint<file_sep>/localedit.js
String.prototype.hashCode = function() {
var hash = 0, i, chr;
if (this.length === 0) return hash;
for (i = 0; i < this.length; i++) {
chr = this.charCodeAt(i);
hash = ((hash << 5) - hash) + chr;
hash |= 0; // Convert to 32bit integer
}
... | 8e650a7ada5a48d5a709bb7683c0c5bdd092c155 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | thinktwise/hipoint | e59e736db7f3c9290d666b44c941bc07315e6b9c | 6b3cef68560b6676936518316ddba2ca3a6e15e3 |
refs/heads/master | <file_sep>using System;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
using System.Configuration;
namespace Allegro
{
public class Global : HttpApplication
{
internal static string APP_NAME;
internal static string BASE_URL;
internal static string MACH_PATH;
... | a3e8e854ac893805a05235f18800d79647f9bc6a | [
"JavaScript",
"C#"
] | 3 | C# | highedweb/hackathon-2014 | 88b84fd5704e7da1c62938f1827842c5c23496b8 | 21b30427711fe7c1b857447a49c18813ab247d21 |
refs/heads/master | <file_sep>var wave1 = $('#feel-the-wave').wavify({
height: 80,
bones: 4,
amplitude: 60,
color: '#B289EF',
speed: .15
});
var wave2 = $('#feel-the-wave-two').wavify({
height: 60,
bones: 3,
amplitude: 40,
color: 'rgba(150, 97, 255, .8)',
speed: .25
});
var colors = ['... | c490b63ab277111ab01eb98e4e0c113fb09ef439 | [
"JavaScript"
] | 1 | JavaScript | yajindragautam/hymlo-sindhu-melamchi | f000c3bce96d160059655b1ec86b3f37c7649617 | 9bd239c22ae7e2344f1bc5e880bc6a34d43f0d10 |
refs/heads/master | <file_sep>board=[" ", " ", " ", " ", " ", " ", " ", " ", " "]
def position_taken? (board, position)
if board[position]=="X"
true
elsif board[position]=="O"
true
else board[position]==" "
false
end
end
#this was surprisingly easy lol. it took me a second to understand that since we are comparing the... | 5b74eed35cc953afca101dbebfa6fac643d729dd | [
"Ruby"
] | 1 | Ruby | sigkapphi/ttt-6-position-taken-rb-q-000 | 0f976ea6784e8532a78645b354ab49268a344dfc | 717d7bffbe1321ff5581e4f8a6933f798e43a711 |
refs/heads/master | <repo_name>jcsmata/ProjectEuler<file_sep>/src/problems/Problem005.java
package problems;
public class Problem005 {
/**
* 2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder.
* What is the smallest positive number that is evenly divisible by all of the num... | 2d8ece611bf24b7742256446deccea295771975d | [
"Markdown",
"Java"
] | 4 | Java | jcsmata/ProjectEuler | 165931a0a1a07d294c46ce32e758527912a3c26c | f04991082731afcdfcd64040f55046fa633be736 |
refs/heads/master | <file_sep>(function (window) {
'use strict';
function Controller(view, model, options) {
this.view = view;
this.model = model;
this.defaultsSwap = new this._defaults;
this.options = extendObject(this.defaultsSwap, options);
this.stepIndex = 0;
}
Controller.... | 17fe30f9e0d4fe58aa50c1d4c3939ee0c62d5cca | [
"JavaScript"
] | 3 | JavaScript | iuriikozuliak/challenge | f653f75e07751fad90835a9a7cf6267277d21723 | 3e39c56ca9a123283161ead743645943b105a27c |
refs/heads/main | <file_sep>
const Engine = Matter.Engine;
const World = Matter.World;
const Bodies = Matter.Bodies;
const Body = Matter.Body;
const Constraint = Matter.Constraint;
var backgroundImage;
var boy;
var tree;
var stone;
var ground;
var mango1,mango2,mango3,mango4,mango5,mango6,mango7,mango8,mango9,mango10,mango11
var boyHit... | 3270e93df027536d33e177a3e1ce0630a638508d | [
"JavaScript"
] | 1 | JavaScript | SmitParikh1234/Project-28 | 80acf5d0f96f47dfd86f6710e658e8744b9a73c9 | 9818c13ca9047311ef1cb0365a571ca2815071c5 |
refs/heads/master | <repo_name>ErinClark/td_b2bquote_uk<file_sep>/scraper.py
# -*- coding: utf-8 -*-
import sys
from bs4 import BeautifulSoup
from splinter import Browser
import time
import urllib
import requests
from datetime import datetime
import scraperwiki
import os
reload(sys) # Reload does the trick!
sys.setdefaultencoding('UTF8'... | 99b491e2257225ca255d331ba9052cd3921c72bf | [
"Python"
] | 1 | Python | ErinClark/td_b2bquote_uk | ef83660b439db32e1d9ff9025b6df661c19093f5 | 24747268ef9961b53dabfe95be77fc32561b19e0 |
refs/heads/master | <repo_name>kubo0180/plainpx<file_sep>/config/environment.rb
# Load the rails application
require File.expand_path('../application', __FILE__)
# Initialize the rails application
Plainpx::Application.initialize!
<file_sep>/test/functional/pxes_controller_test.rb
require 'test_helper'
class PxesControllerTest < ActionCo... | 8da7727f85244fb0937a3db865fec8162f88567f | [
"Ruby"
] | 5 | Ruby | kubo0180/plainpx | 9b5c498b79e5df7f72422e8cf5c0bc46b4cba133 | 5d90d0152fb54b9c9da8938563e0ea8b47272f3b |
refs/heads/master | <file_sep>import React, { Component } from "react";
import { editUser, cancelEdit, saveEdit, deleteUser } from "../../actions/users";
import { connect } from "react-redux";
import "./UserItem.css";
class UserItem extends Component {
constructor(props) {
super(props);
this.state = {
name: this.props.use... | c5e07022503b35f75480201178832c95c6def318 | [
"JavaScript"
] | 10 | JavaScript | asyriac/admin-system | 026393c23a1f00db5f3755751d6c9e7a16d0654f | 430198cefed0ec1d3cca130705e021df6410c47b |
refs/heads/master | <file_sep>package griup.beans;
import java.util.ArrayList;
public class User {
String name;
ArrayList<String> goalsList;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public ArrayList<String> getGoalsList() {
return goalsList;
}
public void setGoalsList(ArrayList<... | e3f345d17d893b8452cd3286c31b77ce95dce9be | [
"Markdown",
"Java"
] | 5 | Java | psspavan96/Adaptive-Applications--Polychrest | 3c98fb01e02dfe6235e9e7246f4716ee0a737109 | cbc251a431ecb33d702b720360e0a04b8a09e196 |
refs/heads/master | <repo_name>MdZakirHossainBhuiyan/ema-john-simple<file_sep>/src/components/ReviewItem/ReviewItem.js
import React from 'react';
const ReviewItem = (props) => {
const {name, quantity, key, price} = props.product;
const reviewItemStyle={
borderBottom: '1px solid lightgray',
margin: '5px 20px 5... | 3ff4ab8c935ee65358b04d81420fb8ed91092f6a | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | MdZakirHossainBhuiyan/ema-john-simple | 9330234b7db0d9dc6dea8c3c3cab5b488be9f8e4 | 1df7f97e50165a7e8646c01a7c3af8600e419c55 |
refs/heads/master | <repo_name>Amareis/async-graphql<file_sep>/async-graphql-derive/Cargo.toml
[package]
name = "async-graphql-derive"
version = "1.14.12"
authors = ["sunli <<EMAIL>>"]
edition = "2018"
description = "Macros for async-graphql"
publish = true
license = "MIT/Apache-2.0"
documentation = "https://docs.rs/async-graphql/... | 431e720105f5b34b89928db27ae4092080623836 | [
"TOML",
"Rust"
] | 5 | TOML | Amareis/async-graphql | b2f8e7138abb356d990fb7f79f03efa8bd6d7fd4 | 31e873708223679da0c9451887d62d459a67f364 |
refs/heads/master | <file_sep>
#Donation Analytics README
# Table of Contents
1. [Solution Approach](README.md#approach)
2. [Solution Design](README.md#solution-design)
3. [Data structure considerations ](README.md#datastructures)
4. [Software/package dependencies ](README.md#dependencies)
# Solution Approach
This program is likely to ... | 5cf9e03670e63203af5e58289c36bed4cd0a3106 | [
"Markdown",
"Python"
] | 2 | Markdown | shailacdi/donation-analytics | adcc240d08afc36127183d084f5e967aaa0b3e8f | 76ff0f63d72186cb708dad33d44c256e6af4b709 |
refs/heads/master | <file_sep># LoginKotlin
Mi primer Login creado con Kotlin
-<NAME>
216776041
<file_sep>package martinez.jimenez.loginkotlin
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.widget.Toast
import kotlinx.android.synthetic.main.activity_main.*
class MainActiv... | d11aa655b91511939100c3274864cda2c0bedf27 | [
"Markdown",
"Kotlin"
] | 2 | Markdown | MussgoKing/LoginKotlin | 202941339563c415512aad7c06cc9e71a0297d6e | 39cbe45b10f8b986fca7a7c4fec997e42a9dc9d5 |
refs/heads/main | <file_sep>import placeholderPicture from '../images/2.jpg';
import presentPicture from '../images/present.jpg';
export const calendarContent = [
{
idd: 0,
title: "December 1",
description: "Lahjacontent tähän",
image: placeholderPicture,
contentImage: presentPicture,
},... | 8ad44e7a60699147d25e399fa202ce53a9b89862 | [
"JavaScript"
] | 2 | JavaScript | Lalikki/Joulukalenteri | fe0012dee94e70d91b8ba7b0dbdc78f476b04c01 | 473b88ca652cb16e84756795076faf61febb5e5a |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using SharpStrap.Helpers;
using SharpStrap.Modules;
namespace Tests.Modules
{
public class ErrorModule : SharpStrap.Modules.BaseModule
{
public override async Task<ModuleResult> Run(IDictionary<string, string> varia... | b0c1d08a1c64764b5783720fb0b6f792f0bd8efe | [
"Markdown",
"Dockerfile",
"AsciiDoc",
"C#",
"C++",
"Shell"
] | 52 | C# | b0wter/sharpstrap | ab29e7aef3ad99b15ad5d64fb8b691fdf7682f4f | c3876e04c7aa4ad2fa1f7736f9dc864fa137a040 |
refs/heads/master | <file_sep><?php
namespace app\models;
use yii\base\Model;
use Yii;
/**
* Signup form
*
* RegForm is the model behind the registration form.
*/
class RegisterForm extends Model
{
public $username;
public $email;
public $password;
public $verifyCode;
/**
* @return array the validation rules.
*/
p... | 4a318a8c1178fd5ea6af1760bfb86187d581791e | [
"PHP"
] | 5 | PHP | egorlost/egor | f3209adee0fc4c9acb2c99a7166df3c960bbc2be | c026078cfb13ec1699b8f3a9c1b4d50887b420cc |
refs/heads/main | <repo_name>felipemg-cit/alura-clean-architecture<file_sep>/src/test/java/br/com/alura/school/domain/student/EmailTest.java
package br.com.alura.school.domain.student;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;
class EmailTest {
@Test
public void shouldNotCreateAnEmai... | bed84146cc4971b775ad59473123d0aeb2e442ac | [
"Java"
] | 6 | Java | felipemg-cit/alura-clean-architecture | 2db919511e402a78c8d4d7419c0ef78e00092c4f | 584ce363663e1541ef4b05c6b1e6146aea09ef88 |
refs/heads/master | <repo_name>kobe-cxk/spring-boot-quick<file_sep>/spring-boot-quick/config/application.properties
#logging.level.com.huawei = trace
#logging.file=springboot.log
#logging.file=G:/springboot.log
#logging.file.path=/spring/log/springboot.log
#logging.pattern.console=%d{yyyy-MM-dd HH:mm:ss.SSS} === [%thread] %-5level === %lo... | 39d0550733e96d6433db4c5896f00dc49c2e373d | [
"Java",
"INI"
] | 3 | INI | kobe-cxk/spring-boot-quick | 341bf8eaafacdc158e6e1b36fa5067cebff1a5cb | f13c55f560ebd52e36728a640ac15bcf6091945e |
refs/heads/master | <repo_name>harpershapiro/MoltenSampleBackend<file_sep>/routes/Post.js
const { pseudoRandomBytes } = require("crypto");
const express = require("express");
const router = express.Router();
const Post = require("../models/post.model");
router.route("/").get(function (req, res) {
Post.find(function (err, posts) {
i... | 9d48d10c4ab9f769f4fb79272db4dd725108354d | [
"JavaScript"
] | 6 | JavaScript | harpershapiro/MoltenSampleBackend | 312614dad308e95b03bd4cf2e3f951034a8c8f1a | f7465b6ecc41622287af0c5b636b215a074f69e7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.