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>benmelnick/youtube-to-spotify<file_sep>/create_playlist.py
from secrets import SPOTIFY_CLIENT_ID, SPOTIFY_CLIENT_SECRET
from constants import PLAYLIST_NAME, YOUTUBE_API_URL, YOUTUBE_URL, IGNORE
import os
import youtube_dl
import spotipy
from spotipy.oauth2 import SpotifyOAuth
import sys
import google_auth_o... | fb8bf004d3c600ac5539dbf90ad1dccc261784b0 | [
"Markdown",
"Python"
] | 3 | Python | benmelnick/youtube-to-spotify | 5808cfdf5ff458336d0a47bb484d63ec75e4c6c9 | 3b609640f82ffcb9bddd5a5864f6f62ab20cf90c |
refs/heads/master | <file_sep>.PHONY: test test-sanity test-general test-skydns test-monitord test-graphite \
test-riemann
test: test-sanity test-general test-skydns test-monitord test-graphite \
test-riemann
test-sanity:
../script/run-test.sh success.test.service
../script/run-test.sh success.test.service success
! ../script... | 0922ca84e4955faf726e5a20364e4c1ed14a41f1 | [
"Makefile",
"Shell"
] | 5 | Makefile | PlanitarInc/coreos-cluster | 35a42c6c74fa44a4fdf3fd706663ebc322e0a03b | a69d71b699ba079c46ecd1913a05a18b3566fe34 |
refs/heads/master | <file_sep>// var csv = require('ya-csv');
//
// //load csv file
// var loadCsv = function() {
// var reader = csv.createCsvFileReader('Liste', {
// 'separator': ',',
// 'quote': '"',
// 'escape': '"',
// 'comment': '',
// });
//
// var allEntries = new Array();
//
// read... | 8c5ba42e55f6c9aadda48528eb8f492952fdff0f | [
"JavaScript"
] | 1 | JavaScript | TimoFesseler/datenanalyseJS | c70717d94b69e3dd58c0e3425477a7d1df0fc5a2 | df18ba59102d358a9c747dad212d928524adc3d5 |
refs/heads/main | <file_sep>from flask import Flask, request
from flask_restful import Api, Resource, reqparse
from flask_sqlalchemy import SQLAlchemy
from sqlalchemy.exc import IntegrityError
import datetime
app = Flask(__name__)
api = Api(app)
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///database.db'
db = SQLAlchemy(app)
# Bas... | ebeb322888c119760e11b399d7617e40cbfa58ce | [
"Markdown",
"Python"
] | 3 | Python | sagarnimma/audio_api | 0e0327152732ebfa66f6b428c490aeaa52aa1b7d | a287efe2c1776a64e39720b348aa995fae03baa8 |
refs/heads/master | <file_sep>'use strict';
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
// Metadata.
pkg: grunt.file.readJSON('package.json'),
banner: '/*! <%= pkg.name %> - v<%= pkg.version %> - ' +
'<%= grunt.template.today("yyyy-mm-dd") %>\n' +
'* Copyright (c) <%= grunt... | 5b70e222ee36326728a30882d3d1a7a8c485d74b | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | dmlap/videojs-share | 0e6a0f78a200331f1fcdad224596b2448bb0763e | c393de8643fa8dac12552793e2ea91e458b5de65 |
refs/heads/main | <repo_name>moneymouse/backable<file_sep>/app/src/components/Svg/types.ts
import { SVGAttributes } from "react";
import { SpaceProps } from "styled-system";
export interface SvgProps extends SVGAttributes<HTMLOrSVGElement>, SpaceProps {}
export type IconComponentType = {
iconName: string;
isActive?: boolean;
hei... | bcf7cee6c00d017a3478ec7b7552c571747babdf | [
"Markdown",
"TypeScript"
] | 2 | TypeScript | moneymouse/backable | 15aa8564222bd5008b4250e51a966e56a9063fe1 | cb15add18f38c3acc14b0edfe50dd673c9854fa9 |
refs/heads/master | <repo_name>gitachyut/ns-reporting<file_sep>/export-comments.js
const request = require('request');
const APITOKEN = '7e2d8c0eaccd1e81d8b1ee121ee3031ce9e83bf32897ae995c420d737e4024c0';
const initiateCommentsDownloader = (url, media, type = null) => new Promise((resolve, reject) => {
let options;
if(media === 't... | bb7e03f5c6e80f1fff95a4a68d8031f84ecd1f6c | [
"JavaScript"
] | 4 | JavaScript | gitachyut/ns-reporting | 841551651b91de4052d3507c5dd37d6eb04276fe | 4c02419df33446d24f15d03b507fc98977b089dd |
refs/heads/master | <repo_name>africanrt/action-scheduler-high-volume<file_sep>/action-scheduler-high-volume.php
<?php
/**
* Plugin Name: Action Scheduler High Volume
* Plugin URI: https://github.com/prospress/action-scheduler-high-volume
* Description: Increase Action Scheduler batch size, concurrency and timeout period to process lar... | 10c033a501fedaa71d034d739267e0e8c812c7da | [
"Markdown",
"PHP"
] | 2 | PHP | africanrt/action-scheduler-high-volume | f77478766c7df0ef4cfef55a4d8d4bb46abff7e3 | 7c8bfff85ec0a6d63534784fd335ecdcd9edb7e5 |
refs/heads/main | <repo_name>tgc77/django-blog<file_sep>/comentarios/admin.py
from django.contrib import admin
from .models import Comentario
class ComentarioAdmin(admin.ModelAdmin):
list_display = ('id', 'nome', 'email', 'post', 'data_criacao', 'publicado')
list_editable = ('publicado',)
list_display_links = ('id', 'nome'... | 4db32defb02f36e2969bc18c8a652afa4a2a4f07 | [
"Markdown",
"Python",
"Text"
] | 8 | Python | tgc77/django-blog | 0dadf81c02b7b7cb8b1a11621c7d1ab7e9de96c0 | 53c9e0e904032b38da00dee7ef8975826a186191 |
refs/heads/master | <file_sep>// 导入mysql扩展
const mysql = require("mysql");
// 设置mysql连接的属性
let connect = mysql.createConnection({
host:"localhost",
user:"root",
password:"<PASSWORD>",
database:"blog",
});
// mysql连接
connect.connect();
module.exports = connect;<file_sep>// 导入express
let express = require("express");
// 实例化路由类
... | b313fd9bc2bc327de4d1e1298c479de4277b6eda | [
"JavaScript"
] | 3 | JavaScript | CHLMangguo/blog | b5d3f703981be0e8ff3356452a975e12ceed3098 | b3e882828522143e7cea9b6d7682198edba602d8 |
refs/heads/master | <repo_name>WGDetecive/WebLab1<file_sep>/src/by/bsu/aviacompany/entity/dao/AirportDao.java
package by.bsu.aviacompany.entity.dao;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.UUID;
import by.bsu.aviacompany.entity.model.Airport;
public class AirportDao e... | 2df613c3c4ad1834cdb156ca9c7d651498892b67 | [
"Java",
"INI"
] | 4 | Java | WGDetecive/WebLab1 | f25335376667d480ee91ad28e13f1ed1a606ee9d | 39721454eada3c4f8c4f87e672c49fcc8d1279b4 |
refs/heads/master | <repo_name>WarrenGreen/Chord<file_sep>/Chord/src/com/green/chord/Node.java
package com.green.chord;
import com.sun.istack.internal.logging.Logger;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.ServerSocket;
import java.net.Sock... | 14052dae6627169604e50369840623fd5819e184 | [
"Java"
] | 1 | Java | WarrenGreen/Chord | b60fbccbce7b6da6fd5ce08b8245721581e4354c | eec7e064979b9a3b0c4a8756c1d755227acd2318 |
refs/heads/master | <file_sep>[tox]
envlist = py27, py27-configparser, py35, py36, py37, py38, pypy, pypy3
[testenv]
passenv = HOME
deps=
pytest>=3.4.0
mock
testfixtures
commands=
py.test -r a [] tests
[testenv:py27-configparser]
basepython= python2.7
deps=
pytest
mock
configparser
testfixtures
[pytest]
minversion= 2.0
... | e5afcfa081d95f95d173470c90f40db2431619a0 | [
"Python",
"INI"
] | 5 | INI | yakky/bump2version | 527ca7af0f8cdc80fee7cbb0392855ee2561958a | 833c13cf75176c0790e2479d71586d526bbf040e |
refs/heads/master | <repo_name>bojianyin/mpro<file_sep>/public/sectionList.js
import React,{Component} from "react";
import {FlatList, SectionList as List, View, Text, StyleSheet,ActivityIndicator} from 'react-native';
import PropTypes from "prop-types";
import {gfont, gh, gw} from './screenUtil';
class Sectionlist extends Component {
... | e3ae8b5e4b1faabff8545a6b9513d9949f85aaa9 | [
"JavaScript",
"Markdown"
] | 15 | JavaScript | bojianyin/mpro | 6ef5f8687266db272e4624cc48682155a470bf27 | f8f890a6963d21a658eb463a79d5e0c3ea5271e4 |
refs/heads/master | <repo_name>hejazifar/Pre_Project<file_sep>/tcp.cpp
#include "tcp.hpp"
#include <arpa/inet.h>
#include <iostream>
#include <netdb.h>
#include <string.h>
#include <string>
#include <sys/socket.h>
#include <sys/types.h>
#include <unistd.h>
using namespace std;
// create the server, if successful, return the clientsocke... | 5244badcf8e7e08d32e3e6553bc5ef2709702192 | [
"CMake",
"C++"
] | 6 | C++ | hejazifar/Pre_Project | 2db38513aedd13edc8d5244125beb2bdcdf54c58 | fe81d8923dc7a5b6baa970806ef6ef62b8bcf721 |
refs/heads/master | <repo_name>Nishant-l/route_planner<file_sep>/src/route_planner.cpp
#include "route_planner.h"
#include <algorithm>
RoutePlanner::RoutePlanner(RouteModel &model, float start_x, float start_y, float end_x, float end_y): m_Model(model) {
// Convert inputs to percentage:
start_x *= 0.01;
start_y *= 0.01;
e... | c313f24c93e120b03ba14ac6afa78df00243b7f4 | [
"C++"
] | 1 | C++ | Nishant-l/route_planner | 67f653c558a2855791884dd3349b04c84ea95449 | d217d2530fe34dfcc05c4047f28a93be4875a347 |
refs/heads/master | <repo_name>Franziac/Easy-Python-Coder<file_sep>/README.md
# Easy-Python-Coder
I know it's messy but feel free to contribute
This program is made for beginners to start learning python by first just clicking some buttons
<file_sep>/Easy Python Coder v1.3.py
from os import path
import tkinter as tk
from tkinter import ... | 8fd9c38c70ba2eb82ad928920a3e2f9784acd9bf | [
"Markdown",
"Python"
] | 2 | Markdown | Franziac/Easy-Python-Coder | 43bb69fded964045841806e9a65bd2354c0b3f2d | b3188a8f10113928af5559f4bbc49ef89b146fe5 |
refs/heads/master | <file_sep># HomeControl
A simple framework for adding room features control (like light, temperature, music etc).
Additional features may be implemented in `feature` package as a stand-alone mini-modules.
#Installation guide
1. Download project zip and import it to your Android Studio (use default Gradle Wrapper.).
... | 563bbacf0fb37f716436997a3ef1f8c1f0c31530 | [
"Markdown",
"Java"
] | 19 | Markdown | pawelDylag/HomeControl | 898d6cb81b27ed28620b0a165acc18039f0b7829 | 56a08772e15e64214abc6a915a3d95c3e01ff004 |
refs/heads/master | <file_sep>/*
Langton's Ant
Here are the rules:
At a white square, turn 90° right, flip the color of the square, move forward one unit
At a black square, turn 90° left, flip the color of the square, move forward one unit
We are going to have the following represent the colors:
W: White
B: Black
AU/AR/AD/AL: Red (Ant)... | d858b2824ba0ba490269742eba48df07314194f8 | [
"C++"
] | 1 | C++ | TrongPTran/3I03-Code-Doc-Assignment | 3707cb7ab04f2541ea99fac14d112847a7b320ad | 6d2a2e40e7946ff2403fc9ff7d9630bfb01d33a3 |
refs/heads/main | <repo_name>yuyuyu-bot/thread_pool<file_sep>/utilities/stop_watch.hpp
#ifndef __STOP_WATCH_HPP__
#define __STOP_WATCH_HPP__
#include <chrono>
#include <stack>
namespace time_unit {
using milliseconds = std::chrono::milliseconds;
using microseconds = std::chrono::microseconds;
}
template <typename DurationUnit = tim... | a6d9d2826b873151aa7d6d7d18f0cb5321108ecd | [
"C++"
] | 5 | C++ | yuyuyu-bot/thread_pool | 7dce92c949a0d4d742bcfde75adbcc37c0d34d47 | a76b2e92c7fe3376149c7d4ff9b57c0f3b9e656b |
refs/heads/main | <file_sep># Babel Setup for Es6
View Sample Project https://babel-sample.herokuapp.com<file_sep>const app = require('express')();
app.get('/', (req, res) => {
res.send('Hi');
})
const PORT = process.env.PORT || 4000;
app.listen(PORT); | 0a0121e185dd1a0d4d1d0d64a0bb16ff22990764 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | littlepotato123/Babel-Setup | 8f053de89ffb202d5d5eb030837a5d875d85e3a1 | 2b78902a74898d43b94e1073317bce4607fe313d |
refs/heads/master | <file_sep>require 'rubygems'
require 'sinatra'
require 'sinatra/reloader'
require 'sqlite3'
def init_db
@db = SQLite3::Database.new 'leprosorium.db'
@db.results_as_hash = true
end
before do
init_db
end
configure do
init_db
@db.execute 'create table if not exists posts
(id integer primary key autoincrement,
... | c17b9741766d1fa71e797045b8e1310930a7bc4e | [
"Ruby"
] | 1 | Ruby | windmaiden/leprosorium | 014e0e58b3f553b6282a4459be92e0bf0668b9ca | 5f03ec614febd1128c9b73c175f52321e24b3b85 |
refs/heads/master | <repo_name>mvdvnk/itmo-design-2021-mat-cal<file_sep>/src/src/Gauss.java
package src;
import java.util.Scanner;
import java.util.regex.Pattern;
import java.io.File;
import java.io.FileNotFoundException;
public class Gauss {
public double[][] matrixData;
private double precision;
private int n;
public ... | 24522b5f3f434dac5d0b674d4dfffc097b3311eb | [
"Java"
] | 1 | Java | mvdvnk/itmo-design-2021-mat-cal | 0e1da0008e71b2761c6959c1450222934abbbda6 | 947323d29fe3848cdb3ab00af60dd5673371cf0f |
refs/heads/master | <repo_name>ValeriyWorld/calculator<file_sep>/calculator.py
from tkinter import *
from tkinter import messagebox as mb
def onclick_input(number):
length = len(entry.get())
entry.insert(length, number)
def onclick_symbol(symbol):
if entry.get() and entry.get()[-1] not in '+-*/':
onclick_input(symbo... | 759cc0eea7d98c4a3e043f30bb41266ad35c3107 | [
"Markdown",
"Python"
] | 2 | Python | ValeriyWorld/calculator | e9b2457122719023e361ed657908d3e779f73d9c | 592ffa94255ebb972f524ed476f47764d61c69cc |
refs/heads/main | <repo_name>ManhattanDoctor/ts-core-two-fa-totp<file_sep>/README.md
# ts-core-tw-fa-totp
Classes for TOTP 2FA
<file_sep>/src/TotpProvider.ts
import { ITwoFaProvider, ITwoFaValidateDetails } from '@ts-core/two-fa-backend/provider';
import { ILogger, LoggerWrapper } from '@ts-core/common/logger';
import { TwoFaOwnerUid } ... | a8a9094b04ce2d2efe48184e5375f68c7fd21094 | [
"Markdown",
"TypeScript"
] | 3 | Markdown | ManhattanDoctor/ts-core-two-fa-totp | 229047ffacb5fb661e467263f7e0830a6e54ad77 | 474a862b4e925b68fd1de9badceb29f291ce003a |
refs/heads/master | <file_sep># BibleSearch
An efficient algorithm for searching Bible text.
In `legacy/`, there is an older Python-based legacy version.
It was designed for server usage and is fairly slow due to
being written in Python.
<file_sep>t ?= web
dir ?= ../
default:
$(CC) -I$(dir) $(dir)/biblec/biblec.c bsearch.c test.c -... | f6dbe8ab5834a1cfb43d572f2c62fe1de7a5d474 | [
"Markdown",
"C",
"Makefile"
] | 5 | Markdown | heb12/biblesearch | 4fe38ae545a15be6673e9821f550817b1e988a68 | dcc5182a7339533b8681bd397f9abbbd9adc8919 |
refs/heads/master | <repo_name>BoiseCodeWorks/fall20-apod-fireside<file_sep>/app/Controllers/ApodController.js
import apodService from "../Services/ApodService.js"
import { ProxyState } from "../AppState.js";
function _drawApod() {
let apod = ProxyState.apod
console.log(apod)
if (apod.includes("youtube")) {
document.getElementB... | 038a34eddadd0dc7a695c2a3b2187f8b350795e0 | [
"JavaScript"
] | 3 | JavaScript | BoiseCodeWorks/fall20-apod-fireside | d52ac020d49eceb38def153bc97b50030ed0beb0 | 017ae047c921435e98ca113ca007e3518f9ce567 |
refs/heads/master | <repo_name>mohammadEslamiyeh/reza_sadeghi_text<file_sep>/app/src/main/java/com/elevenprin/www/rezasadeghinew/Favorites_sh.java
package com.elevenprin.www.rezasadeghinew;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support... | 567ffb3b7eb2415c183ebc58b5f7205f6359d5fd | [
"Java"
] | 5 | Java | mohammadEslamiyeh/reza_sadeghi_text | 3ff82c943546eb8483b397127b3d3c43ddcc62a9 | bf96cae96d5664704f5ffec7822299a41f7bf09f |
refs/heads/master | <file_sep>using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Query;
using Microsoft.EntityFrameworkCore.Design;
using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using WebApiCore30.Models;
using System.Linq;
namespace W... | 9508bec0b7be607483b3af3461a367ea70aedd25 | [
"C#"
] | 4 | C# | fias-devs/webapi30 | f930c6ed62ae29e429c61e8e5206c9d1c883de7b | 6c70f7bc614b92a77dade6d076d243d6fd5ad9dc |
refs/heads/main | <repo_name>mohamedveron/project_management<file_sep>/tests/assign_project_owner_test.go
package tests
import (
"github.com/mohamedveron/project_management/service"
"testing"
)
func TestAssignProjectOwner(t *testing.T){
projectsDB, employeesDB := PrepareDataForTest()
service := service.NewService(projectsDB, em... | ba6a699bbd5db9cd007617285b64cb7c0f6aacbf | [
"Markdown",
"Go Module",
"Go"
] | 24 | Go | mohamedveron/project_management | d2cad0354ecbe9580da23aee26e1aa96311b6ced | d3a6e042ae052ecd64c60a8359f9ec011f7acecf |
refs/heads/master | <file_sep># Sistema de gerenciamento de pessoas em API REST com Spring Boot
Aplicação desenvolvida durante o bootcamp realizado pela *Digital Innovation One*
## Objetivo ✔️
- Criar uma API REST
- Operações básicas do CRUD: cadastro, leitura, atualização e remoção
- Padrão MVC
- Tratamento de exceções
- Tratamento de re... | 40f052d3976040daf70b321dfc2a7124fa525688 | [
"Markdown",
"Java"
] | 2 | Markdown | wpmello/person-api | e752a7acea85ec30845b6df3a0334f588fec7a57 | ba0d32189a741170356d536609d3a1ae4bf3c80a |
refs/heads/master | <repo_name>ApoStoLll/MonopolyOnline<file_sep>/static/game.js
let socket = io();
let btn = document.getElementById('btn');
btn.onclick = function(){
socket.emit('press', '');
socket.on('message', function(data){
console.log(data);
});
};
socket.on('position', (players) => {
console.log("DRAWING ... | 1537b9f288d400f9263e6829e56ba82e59fb0ea7 | [
"JavaScript"
] | 5 | JavaScript | ApoStoLll/MonopolyOnline | eba98a5beaea4bd7dd8959ff96da6ff64f7ac3d0 | 8548823b27e99255fa3ccb5d6b989078316a9cbd |
refs/heads/master | <repo_name>HarjasSodhi/Puppeteer-Automation-TwitterMarketingTool<file_sep>/TMT.js
const puppy = require('puppeteer');
const fs = require('fs');
const username ; //enter your twitter username
const password ; //enter your twitter password
const id ;//enter your email id
//this is for generating JSON File
let PeopleCon... | 45b2d610ea9f6c1713d80e871616d9bdb4315ecd | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | HarjasSodhi/Puppeteer-Automation-TwitterMarketingTool | 55eacc8b5a62b5370ed4d82214f8104400660045 | a62d47abaddbd707c02872fb39f7a2621b267da7 |
refs/heads/master | <repo_name>PerryB52/PS_AMD_iTabs_tablayout<file_sep>/app/src/main/java/com/example/alexandrup/ps_amd_tabs_tablayout/tabs/IconTabs.java
package com.example.alexandrup.ps_amd_tabs_tablayout.tabs;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.design.widget.TabLayout;
import ... | dd52afb50be60acd7e9809f8b196e082599c1729 | [
"Java"
] | 3 | Java | PerryB52/PS_AMD_iTabs_tablayout | 9bab30d367f458ab85c0f8e50147a9c731e2171e | 862a8f15b7f43f43eb4c1d04d4fad908238df3a0 |
refs/heads/master | <repo_name>eastie71/js-todo-app<file_sep>/README.md
# js-todo-app
Simple JS Todo App using Node and MongoDB
- Uses Node Express as the Server
Based on "Learn Javascript" course on Udemy by <NAME>
Has basic CRUD operations
<file_sep>/public/browser.js
function todoTemplate(todo) {
return `
<li class="list-grou... | ed909d965f5f761b399d37ba1e571d09eff361ae | [
"Markdown",
"JavaScript"
] | 2 | Markdown | eastie71/js-todo-app | 66d109e0bd206aec27bb5f6812870dea11eee8d6 | caf9fd4f965e6ebd06bdaec39c4e8793bf3a2243 |
refs/heads/main | <repo_name>vn425282/TheStoreFrontEnd<file_sep>/src/components/utils/FileUpload.js
import React, { useState } from 'react'
import Dropzone from 'react-dropzone';
import { Icon } from 'antd';
import Axios from 'axios';
import { API_ENDPOINT } from "../Config";
function FileUpload(props) {
const [Images, setImages] ... | 1f98ad553ae846e7ab624b5c76928ad48013e824 | [
"JavaScript"
] | 2 | JavaScript | vn425282/TheStoreFrontEnd | f4416a53019a6829dec7481aa75b112b26f4cb5a | bc7a68e89c0b617e27d352c9e9cc3275aba91cc0 |
refs/heads/master | <repo_name>cheasocheat/hibernate-jpa<file_sep>/src/main/java/com/mobiecode/example/hibernatedemo/services/ContentService.java
package com.mobiecode.example.hibernatedemo.services;
import com.mobiecode.example.hibernatedemo.domain.Content;
import java.util.List;
/**
* Developer : cheasocheat
* Created on 2/20/18 10:... | af4af4ef1c199672faa2c9b02ea786309f882ee9 | [
"Java"
] | 5 | Java | cheasocheat/hibernate-jpa | 8ad6e99c6429516fd2dd881561a2e85d52aaa7ee | 2b07cd5351e03069f59dc18a03f58db27c8c9626 |
refs/heads/master | <repo_name>andrewmilo/Diablo15<file_sep>/Item.h
#ifndef _ITEM_
#define _ITEM_
#include <string>
#include "Quality.h"
#include "Type.h"
class Item {
public:
Item( std::string, Quality, Type, bool );
std::string get_name( void ) const;
Quality get_quality( void ) const;
Type get_type( void ) con... | cb5b7d20daa60d7cb2693d1c0034c46f57737a23 | [
"Markdown",
"C++"
] | 14 | C++ | andrewmilo/Diablo15 | 6837e3b12de89ff281774e9dac38a26af8819db6 | 0c252b6a9152108ea31961ee3e7caaf67078bb65 |
refs/heads/master | <repo_name>NanoBytesInc/Remoto-HackISU<file_sep>/remote.php
<?php
$path = $_SERVER['DOCUMENT_ROOT'].'/php/'; // The path to the included php files
$title = "Remote"; // The page/navigation bar title
$index2 = "active"; // Set the first index in the navigation to 'active'
// Include the database access variab... | 4d704110d138da711b20afbdd9c1122083ae1eb7 | [
"SQL",
"PHP"
] | 8 | PHP | NanoBytesInc/Remoto-HackISU | c3d53827532c346688a041c96a095fdc8696c3c9 | 4f7eef3d2491225518e5f1f8159ca446b15feb85 |
refs/heads/master | <file_sep>from flask import Flask, render_template, request
import json, os, pickle
#from pickleFuncs import postPickle, getPickle
from flask_sqlalchemy import SQLAlchemy
app = Flask(__name__)
environment = 'prod'
if environment == 'dev':
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///database.db'
else:
... | 16ee64e76b926b3440101e86eef4b80335ae52f4 | [
"JavaScript",
"Python"
] | 4 | Python | jande48/BridgeBuildersInfographic | b4e17a95512d62ff915a4ad8aca7f4e4dcb04036 | 41d47ae0e97a54c8c06e68c80fbf809100d64c4f |
refs/heads/master | <repo_name>IgnatZakalinsky/neko-authorization-module<file_sep>/src/neko-2-features/f-1-authorization/a-4-set-new-pass/s-2-bll/b-1-callbacks/useSetNewPassContainerLogic.ts
import {useDispatch} from "react-redux";
import {useBooleanSelector} from "../../../../f-3-common/c-1-boolean-reducer/useBooleanSelectors";
import {S... | f47561f70bfa3473bf69f4bc6e711c71a3462dbe | [
"Markdown",
"TypeScript"
] | 8 | TypeScript | IgnatZakalinsky/neko-authorization-module | e9439b8a7c031f868b5cc541c16b2ff125857e63 | 3c523d0620f2ad220843c083acf9a084407716f2 |
refs/heads/master | <repo_name>vitorlofonseca/pag<file_sep>/geneticAlgorithm.h
void evaluateFitness (route *way[]){
int i;
for (i=0 ; i<routeQtd ; i++){
router *iterator = way[i]->firstRouter;
way[i]->fitnessSum = 0;
while (iterator->nextRtd != NULL){
iterator->fitness = 1.0 / iterator->nextTime;
iterator = itera... | 16f4780b284e23442f34ac30956faa3fbd8bbf72 | [
"Markdown",
"C"
] | 4 | C | vitorlofonseca/pag | 7f24e1110e5ad283bd58af84bb4d937e90ab54f1 | e3563b0fd77d7d8c6ad0b5c92964f183c0440dc0 |
refs/heads/master | <file_sep>var mysql = require('mysql');
var express = require('express');
var session = require('express-session');
var bodyParser = require('body-parser');
var path = require('path');
var app = express();
var personal;
var connection = mysql.createConnection({
host : 'localhost',
user : 'root'... | 7c7e6e6343114ad78a9940a56fa8e4862a1388a4 | [
"JavaScript"
] | 1 | JavaScript | ReinardSerfontein/Contact-List | a0ac8fc1a5744dd60546c6f422977e54eafac467 | 7370119b087fde34756e078a673d5637c467c702 |
refs/heads/master | <repo_name>hiro4336/tenki<file_sep>/Sanagi/c15.py
# ==================================================
# library
# ==================================================
import tkinter as tk
import tkinter.ttk as ttk
from tkinter import messagebox
from tkinter import filedialog
import sqlite3
import pandas as pd
import dat... | f905005b2341a6f1d32a5b95dc9faa617f65948e | [
"Python"
] | 3 | Python | hiro4336/tenki | 8367d5b9081a23870507f28338938e9f8c5ffd35 | 690065c4036feda520c5091c4d07f9e588fc9f31 |
refs/heads/master | <file_sep>using UnityEngine;
using System.Collections;
public class CargoScript : MonoBehaviour {
public UILocationWaypoint locationScript;
public AudioClip cargoLoadingClip;
public AudioClip cargoUnloadingClip;
public AudioClip cargoErrorClip;
public AudioClip cargoCompleteClip;
AudioSource ... | 707acd9ced02d73cfb45413e446651a2c7887941 | [
"Markdown",
"C#"
] | 10 | C# | Kindota/SGM-Semestral-Assignment | bfcecd6e19868cd0e54034f5afb2973552ed0495 | 02aeb2bc6ef3775505c2769c15ad304911b9e610 |
refs/heads/master | <repo_name>ThGnommy/CountVowels<file_sep>/Vocali/Program.cs
using System;
using System.Text;
// Enter a string and the program counts the number of vowels in the text. For added complexity have it report a sum of each vowel found.
namespace Vocali
{
class Program
{
static void Main(string[] args)
... | c364563ea0f8aab9455d4f25285b978a4bf21ab6 | [
"C#"
] | 1 | C# | ThGnommy/CountVowels | 40dd6499eb220c0a4ad2f27b14d74d26bfd26d00 | e23859c1fb9cbe8fd8fa07437ff24dd8c5bbe617 |
refs/heads/master | <file_sep>package org.duncavage.recyclerviewdemo.fragments;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerVi... | 8b09cfd4ed10ac405515069cdb5d3bfc33b54f0c | [
"Java"
] | 1 | Java | Tikitoo/recyclerViewToTheRescue | 25a5733e8b913c34ec1c8ae2c0d841889c3c5b39 | 31626c3daa0b302421df79eeed1ecfe74eebdd46 |
refs/heads/master | <repo_name>Estefania-Pichardo/ClienteServidorU2-Actividad5<file_sep>/Cliente-ServidorPeliculas/ServidorPeliculas/MainWindow.xaml.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using Syste... | 10f410f23f15a1527e15bb67aab99107b7dc5385 | [
"C#"
] | 6 | C# | Estefania-Pichardo/ClienteServidorU2-Actividad5 | 452d7640cad9363b8c4a8ca59d893cee7d05344e | 61a0ccb2761f46fcedeb2556356ef317a5a4ac53 |
refs/heads/main | <file_sep>dados = read.csv2("a3 q3.csv", header = TRUE, sep = ",", dec = ".")
mortalidade = dados$taxa.de.mort..infantil
alfabetizacao = dados$taxa.de.alfabetizacao
pop1000 = dados$populacao..em.1000.hab..
cidades = dados$municipio
plot(mortalidade, alfabetizacao, pch = 19, main = "MORTALIDADE INFANTIL X TAXA ... | 9524975e3bce25c80d5ea6e3288f0f68745d33e0 | [
"Markdown",
"R"
] | 9 | R | Default-UNIT/Estatistica | 5aa8f9beb549ea47c8debfc2de88bca917cefd31 | 53eaf82b0ef054749ee84790faf93e75db307bed |
refs/heads/master | <file_sep><?php
class Abadata_Deactivator{
public static function deactivate(){
global $wpdb;
$wpdb->query("drop table if exists " . $wpdb->prefix . "abadaData_table");
}
}
<file_sep><?php
class Abadata_Public {
private $plugin_name;
private $version;
public function __construct( $plugin_name, $version ) ... | c04b837be09d37ab65f7c3f416f32f00f329fd59 | [
"JavaScript",
"Markdown",
"PHP"
] | 8 | PHP | abadayoussef/wodpress-plugin | b7e6456ec9c75c84190a8072bd807fb022f570dc | 2a95196d69391951cfd290d7df7e7096558107d2 |
refs/heads/master | <repo_name>khanapat/git001<file_sep>/README.md
# git001
sample test repository
nice try
<file_sep>/src/main/java/com/example/demo4/repository/CustomerRepo.java
package com.example.demo4.repository;
import com.example.demo4.entity.Customer;
import org.springframework.data.jpa.repository.JpaRepository;
public interfac... | f88ddfb23e21c13a233f05607f141c2a1e2eaa09 | [
"Markdown",
"Java"
] | 3 | Markdown | khanapat/git001 | da1e4f7e85a02fd4ea4e556614280f1425a1e401 | 0f1b36bd250663a040231b702dc4e55817bc85e9 |
refs/heads/master | <file_sep>/* eslint-env mocha */
'use strict';
const {NodeClient, WalletClient} = require('bclient');
const assert = require('bsert');
const FullNode = require('../lib/node/fullnode');
const Network = require('../lib/protocol/network');
const Mnemonic = require('../lib/hd/mnemonic');
const HDPrivateKey = require('../... | 55058e14ab657874419b6182cb03f967c0f1c8bd | [
"JavaScript",
"Markdown"
] | 6 | JavaScript | ryan-lingle/bcoin-payment-channels | 0956f4fc3ab52a3f51dc87d4ff957b96a1f22aba | 6f393217e19a7f1ffd13d96b40ff1d505e3595b3 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BinaryTreeQuiz
{
public class Node<T>
{
public T data { get; set; }
public Node<T> Left { get; set; }
public Node<T> Right { get; set; }
publi... | 09d211d4a70a091671a1ee76600e3123f9aedade | [
"C#"
] | 1 | C# | JeffreyCadorath/BinaryTreesQuiz | 322adf953a04fe64b5d39cdd519fceebe8224ef6 | 51cddb1b0a469863747069b4baaadac69e051ef8 |
refs/heads/master | <file_sep>class timer {
constructor() {
this.t = 0;
this.tickInterval = null;
}
tick = () => {
if (this.t<1000) {
this.t++;
this.updateDOM();
}
else {
document.querySelector(".digits").classList.add("redDigit");
this.... | 0dbe37edef3566ebad668f5c634a50cdd7aa8c2c | [
"JavaScript"
] | 2 | JavaScript | kevinstonge/DOM-I | 7fc328c195c0d435923d7cf946f31a5ebfd52c51 | 6503ccc70c975ca0722bdb9904af1e4bef0ea158 |
refs/heads/master | <file_sep>/*
* The MIT License (MIT)
* Copyright(c) 2020 BeikeSong
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy,... | 7315bbb610662c764794f35581af193b4a92dc7f | [
"Markdown",
"Makefile",
"C++"
] | 9 | C++ | stevenchen1976/websocketfiles | 407b4548fa62d94767ff224c7d78214552ed6104 | 848496c6b938ee2566ebf81d359d0d0c6e91988a |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using System.Threading;
using Memory;
namespace AssaultCubeAimbot
{
class Program
{
[DllImport("user32.dll")]
public static extern... | f880387219eb5836fab7ddd51f92e27c6eed4a32 | [
"Markdown",
"C#"
] | 2 | C# | A6ly/AssaultCubeAimbot | f98c7f819c1ae1436d67eed97dd55b78c41d59f5 | d5fb480399defd56515f6276c1e4d02fe902a226 |
refs/heads/master | <repo_name>davidmarkclements/check-syntax<file_sep>/index.js
'use strict'
const vm = require('vm')
const Module = require('module')
var path = require('path')
var fs = require('fs')
var dependencyTree = require('dependency-tree')
module.exports = checkSyntax
function checkSyntax (entry) {
return dependencyTree.toL... | 11e7b911e1d426ae8c84cceb16339ae816e7ae1d | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | davidmarkclements/check-syntax | 6ea704166d9cabe60773f421fc26797b261ac6be | 150e69c637d0734cc1e4bf016a2c87b2946645ab |
refs/heads/master | <repo_name>axelcdv/messageTests<file_sep>/Podfile
platform :ios, '7.0'
pod 'Reveal-iOS-SDK', '~> 0.9.1'
<file_sep>/README.md
# MessageTests
====
Test project with message UI
| a5c90c3dc8ea6e49a0db0215790f0191f5cf2538 | [
"Markdown",
"Ruby"
] | 2 | Ruby | axelcdv/messageTests | 830dfcfb160bb048fc1e67b927f40c354e151cea | 63681bbdb381c5ca4eced382c21ffd1c275711d7 |
refs/heads/master | <repo_name>gaooyao/Ielts-Alarm<file_sep>/others/test_d.py
# Generated by Selenium IDE
import pytest
import time
import json
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.common.action_chains import ActionChains
from selenium.webdriver.support import expected_conditio... | e036eb37b0e57da3abdaae0980157eca4c0a4608 | [
"Markdown",
"Python",
"Text"
] | 10 | Python | gaooyao/Ielts-Alarm | fdaf611edbc0546569b5250e0dca23baac3f47ab | 279513bde42d16cba1e0fa34c1de15cc140f12bc |
refs/heads/master | <file_sep>package com.singam;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
public class Main {
public static void main(String[] args) {
ArrayList<Entry> entries = null;
boolean shouldReplace = false;
boolean shou... | efce698d9e6203f250430c7839c57f67767221bb | [
"Markdown",
"Java"
] | 4 | Java | singam96/Java-File-Watch-Hash-Bucket | 95c990f8f4bc06e58651e938a15aece34e32c53e | f21f1b8b01da3c5cc200159cf3bf266961a1b64c |
refs/heads/master | <file_sep>package com.LeetCode.code.q866.RectangleOverlap;
/**
* @QuestionId : 866
* @difficulty : Easy
* @Title : Rectangle Overlap
* @TranslatedTitle:矩形重叠
* @url : https://leetcode-cn.com/problems/rectangle-overlap/
* @TranslatedContent:矩形以列表 [x1, y1, x2, y2] 的形式表示,其中 (x1, y1) 为左下角的坐标,(x2, y2) 是右上角的坐... | 3f3620a5542b0c51b69a26bb36934af256e9392e | [
"Java"
] | 358 | Java | dengxiny/LeetCode | 66a8e937e57f9fa817e9bf5c5b0a2187851b0ab0 | f4b2122ba61076fa664dbb4a04de824a7be21bfd |
refs/heads/master | <repo_name>erte12/dropout<file_sep>/README.md
# dropout
Web directory based on Laravel framework

<br><br>

<br><br>
:
load_dotenv()
if os.getenv("DB_USE_AUTH") == 'True':
return MongoClient("mongodb://$[us... | a2ddd49ed09585dc71d39097a5e8de15b7479035 | [
"Markdown",
"Python",
"Shell"
] | 37 | Python | Nouw/HU-SP-Formatief | 6a44570b17a4e67e894fd9114f15642e3c3a67f9 | d7a0a5edc67e7df49e1b58ecc669b8d0a1fa1cdb |
refs/heads/master | <file_sep>import json
from flask import Flask, render_template
from flask_restful import reqparse, abort, Api, Resource
app = Flask(__name__)
api = Api(app)
CATEGORIES = [
{'name':'food', 'limit':700},
{'name':'rent', 'limit':1000},
{'name':'gas', 'limit':150}
]
PURCHASES = []
parser = reqparse.Re... | d6e076771e456eb912d37a542309483f3872de8c | [
"Python"
] | 1 | Python | BiyingZhang/school_project_04 | a49664139f6f9ea3a3506ff4c53c729386667834 | 3235df8d57e01e75608dc0a1650dc21494da4e85 |
refs/heads/master | <file_sep>import express from 'express';
import passport from 'passport';
import picController from './pic.controller';
import isAdmin from '../../middlewares/is-admin';
const adminPolicy = [passport.authenticate('jwt', { session: false }), isAdmin];
const picRouter = express.Router();
picRouter
.route('/')
.post... | 04f9b6a11f82ffec029d6aa6512d69bb841645a7 | [
"JavaScript"
] | 11 | JavaScript | roger-cm-ng/demo-populate-psr | f55cfeec04f1bb5145afdc03f36e5cfd2b1583db | 7cfed652390286f7578ad3bae107423a4e63dfb3 |
refs/heads/master | <repo_name>pujakumari19/lwgit-ws<file_sep>/prg.py
print('he')
print(second')
print('third')
| e62a6e3714208520d4ae945040a0ae57ff0b0b26 | [
"Python"
] | 1 | Python | pujakumari19/lwgit-ws | b1e466a01ed98bd099610152496c9b10fe39bee3 | eb98122102543f03d4e96a083298ce4dd331e201 |
refs/heads/master | <repo_name>reddyist/python-remote-dispatcher<file_sep>/rdispatcher/__init__.py
"""Dummy file for packaging"""
from rdispatcher import *
<file_sep>/setup.py
#!/usr/bin/python -tt
# vim: sw=4 ts=4 expandtab ai fileencoding=utf-8
#
# Copyright (C) 2006-2007 <NAME> <<EMAIL>>
#
# This program is free software; you can redis... | 6e4d666775d2b48b2bf7531efe80abd34ae4b511 | [
"Python"
] | 3 | Python | reddyist/python-remote-dispatcher | 1bdd46ccbb0cb233584e5043cfba10846fd02594 | e1636d15448b27eacdde8c1300da7273e8b47622 |
refs/heads/master | <file_sep>class Server {
host = "localhost";
port = 5001;
scheme = "https";
baseUrl() {
return `${this.scheme}://${this.host}:${this.port}`;
}
}
export const server = new Server();
export default Server;
<file_sep># Papers Please Client
- Global authentication manager
- Component to guard and only sho... | 3b70bbf483127c94f6125cc39a13ac30417c7455 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | mlynam/papers-please-lecture-client | c0ed17849210cc4c028fd92e99c9e05303d8b7f4 | 6848bc25bae0eded449132ea44e2e3b73a74aa35 |
refs/heads/master | <repo_name>kevinle-1/Unix-and-C-Programming-Assignment-2018S2<file_sep>/FileIO.h
/**
* FileIO.c
* 17/10/2018
* <NAME> - 19472960
*/
void readFile(char* argv[]);
void toUpper(char string[]);
void writeTo(double x1, double y1, double x2, double y2, int type);<file_sep>/Makefile
#Makefile
#17/10/2018
#<N... | 4a46479e24e0c5faefeb9a53018bd925ea77637f | [
"Markdown",
"C",
"Makefile"
] | 9 | C | kevinle-1/Unix-and-C-Programming-Assignment-2018S2 | a45924ae04e8a9ea9fc551ea09a165dda9d3eb05 | 07a785a4a65ec1b5161b3319b7d9c6b5e6fa93b2 |
refs/heads/master | <file_sep># noripetsu-bot
If your girlfriend constantly wants your attention, why not create a bot to talk to her?
That way you can spend more time coding! Wow!
Hosted on Heroku :)
<file_sep>APScheduler==3.6.3
boto3==1.18.1
botocore==1.21.1
cachetools==4.2.2
certifi==2021.5.30
click==8.0.1
Flask==2.0.1
gunicorn==20.1... | 586a4f8afc8c11e87967aa386b96c1df1c5d1ecf | [
"Markdown",
"Python",
"Text"
] | 4 | Markdown | frenoid/noripetsu-bot | 613848167c28c0d1ab528a5ea7e0d30026e0d618 | d94aab64722a3a8d6df7f44bb77bbc395392b4bb |
refs/heads/main | <repo_name>okode/pwa-capacitor<file_sep>/src/app/home/home.page.ts
import { Component } from '@angular/core';
import { ActionSheet, ActionSheetButton, ActionSheetButtonStyle } from '@capacitor/action-sheet';
import { registerPlugin } from '@capacitor/core';
import { Dialog } from '@capacitor/dialog';
interface Trackin... | b442c71f440fcc94e9ceb7242da8707c7fcc02f0 | [
"Ruby",
"Markdown",
"Swift",
"Java",
"TypeScript"
] | 6 | TypeScript | okode/pwa-capacitor | 0708b95ed903244279437de7b48ca9ac31d4dbe9 | 3c3f1c666fa5ee7018e95a04e5d2df5fc249a7e1 |
refs/heads/master | <repo_name>vadim2353/hub<file_sep>/3.java
import java.util.Random;
public class Now {
public static void main(String[] args) {
int[] arr = new int[15];
Random random = new Random();
for (int i = 0; i < arr.length; i++) {
arr[i] = random.nextInt(99);
System.ou... | 5f616f5cd2ab6f029f9ff060e872945504626efc | [
"Java"
] | 5 | Java | vadim2353/hub | f1a15f5081894f7ed481043b642a4418b40ebdc0 | fb7b076ad31b76b8c106536a55fdd3b17e552b13 |
refs/heads/master | <file_sep>
const spirit = {
name: 'spirit',
direction: 'E',
y: 9,
x: 1,
travelLog: [{ y: 9, x: 1 }]
}
const opportunity = {
name: 'opportunity',
direction: 'W',
y: 9,
x: 8,
travelLog: [{ y: 9, x: 8 }]
}
const grid = [
// 0x 1x 2x 3x 4x 5x 6x 7x 8x 9x
[false, f... | 8c7114cfbeeffe362dba88afef237e90820389a2 | [
"JavaScript"
] | 1 | JavaScript | grazidiandra/MarsRover | 76a09c48f7bc59bf75e4b3ea3fa8161dad3cffaf | d6c24e5f5f96f2daefd52c59f3e6df80d28828c8 |
refs/heads/master | <file_sep>//
// BarcodeViewController.swift
// Media
//
// Created by <NAME> on 10/20/14.
// Copyright (c) 2014 <NAME>. All rights reserved.
//
import UIKit
import AVFoundation
class BarcodeViewController: UIViewController, AVCaptureMetadataOutputObjectsDelegate
{
//MARK: INSTANCE VARS
let upcD... | f9beb5cb9afc550f2c7a26f3404f4ca9d66c751f | [
"Swift"
] | 1 | Swift | danielrushton/Media | e36c1a0cabece1241d78272ffc95f65b249a0607 | ca98d69998ab9920989e60769029fc5c401fd93f |
refs/heads/main | <repo_name>jtlin226/Microblogging_FE<file_sep>/Microblogging/src/app/components/search-users/search-users.component.ts
import { Component, OnInit } from '@angular/core';
import { User } from 'src/app/models/user';
import { UserService } from 'src/app/services/user.service';
@Component({
selector: 'app-search-users',... | 4073d3c9028d282ec6b3e32d59ca17817e9d66b3 | [
"Markdown",
"TypeScript"
] | 18 | TypeScript | jtlin226/Microblogging_FE | 65c8899c2f755a6af83708518406fba96b13ce65 | 863d494d5a79b25dd2b7b6aa3b5e9f651574ecb4 |
refs/heads/master | <repo_name>jeel279/thon4<file_sep>/app/src/main/java/local/host/thon/GraphView.kt
package local.host.thon
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
class GraphView(Type:String,Data:HashMap<Any,Any>) : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
... | c21932cd56b81c9a9b95bedccfff6d54c2fe1b94 | [
"Kotlin"
] | 9 | Kotlin | jeel279/thon4 | 51b16d2964c8a11556e9f14f03bff339b099334f | 54632821292e226d60048bf87423c9bbbc549978 |
refs/heads/master | <file_sep>import React, { Component } from 'react';
import { Row, Col, Typography, Button, Modal, Spin } from 'antd';
import { tokenStatus } from '../../constants';
import './ListToken.css';
import {
updateToken,
getAllTokens,
displayLocalTime,
} from '../../utils/helpers';
import { TeamNumberContext } from '../.... | 47092319474d416bb7289b7cc95d92ba90e0c7ef | [
"JavaScript"
] | 13 | JavaScript | bensrww/node-react-starter | 07982018c45c9ce830b411f984a2aacffd279530 | 1c80707348a32df8259cd8b8e043d9842d3c2149 |
refs/heads/master | <repo_name>pavaro2906/marcha-local<file_sep>/update_stock.py
from airtable import airtable #https://github.com/josephbestjames/airtable.py
from woocommerce import API #https://github.com/woocommerce/wc-api-python
from datetime import datetime, timezone
import dateutil.parser
### APIs
API_KEY = 'keyO4pjsHsgtCPofA... | 096828dbf1faddff43553b092b9f41a108d22c7e | [
"Python"
] | 3 | Python | pavaro2906/marcha-local | aa46711e6f233c57e6c680b8c3ef217328651383 | ee5eeaa4a4f5076cfaa8170e09d49ab7e2a5ba54 |
refs/heads/develop | <file_sep>#!/bin/bash
#
./AWSTools/updateLambdaHandlerEventParams.js \
--lambdaName signup
if [ $? -eq 0 ]; then
./AWSTools/uploadLambda.js \
--lambdaName signup
else
echo "Upload failed: updateLambdaHandlerEventParams failed"
fi
<file_sep>'use strict';
console.log('Loading function');
const fs = require('fs')... | 69d9716fb47b17ab1050c29a79d452263d2054b8 | [
"JavaScript",
"Ruby",
"Markdown",
"Shell"
] | 47 | Shell | horsenoggingit/lambdaAuth | 8072122f0dd971535dde418f14aa81a66296f1b5 | 6f37e40ccad89ff99349556463947f5693eb9ca5 |
refs/heads/master | <file_sep>package com.yy.httpproxy.subscribe;
import android.content.Context;
/**
* Created by xuduo on 10/20/15.
*/
public interface PushIdGenerator {
String generatePushId(Context context);
}
| 8e4dcf731da1943f826b10ea70d7e31520452fa0 | [
"Java"
] | 1 | Java | zarraxx/socket.io-push-android | ad42d13d115c1e9e1779e994e572676f5e1294ff | 5009379048b0f9a92b30161fe99912ee933f06e5 |
refs/heads/master | <file_sep>/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.supinfo.supinbank.dao;
import com.supinfo.supinbank.entity.Account;
import com.supinfo.supinbank.entity.Customer;
/**
*
* @author Gauthier
*/
public interface AccountDao {
Account addAccou... | 3e90c2bfba6a1a200edbfe1874ff6e1e627a04e3 | [
"JavaScript",
"Java"
] | 18 | Java | Ninir/SupinBank | 588822d17fc1cf19985f6f32815def58025ad6fa | 8a5537db7b5946a32c0f193b5aff6426d8cefa88 |
refs/heads/main | <repo_name>exewin/unity-skill-tree<file_sep>/SkillTreeProject/Scripts/SkillButtonIcon.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace SkillTreeProject
{
public class SkillButtonIcon : MonoBehaviour
{
[SerializeField] private SkillButton... | bfd9b78c5c89fe0258430012a583a141df8ed0d1 | [
"Markdown",
"C#"
] | 18 | C# | exewin/unity-skill-tree | ec5867d8a884827a4627539160add002278b8a7d | 85659ed3407f74b3d823ef9c6639fde98bd17278 |
refs/heads/master | <repo_name>Yang-33/Jikka<file_sep>/examples/data/yukicoder_1649.solver.cpp
#include <atcoder/modint>
#include <atcoder/segtree>
#include <iostream>
#include <vector>
#define REP(i, n) for (int i = 0; (i) < (int)(n); ++(i))
#define REP3(i, m, n) for (int i = (m); (i) < (int)(n); ++(i))
#define REP_R(i, n) for (int i = (... | b2d9f482d5132269f59d407c4de25e6f5631f24c | [
"Markdown",
"JavaScript",
"Python",
"Text",
"C++",
"Shell"
] | 24 | C++ | Yang-33/Jikka | 6a19dd8ee3a283f7164737520a0d70e5597d089d | 818e8ba7c784929f6bc44f077c81209561977049 |
refs/heads/master | <repo_name>Ritusan/koa2-learn<file_sep>/middleware/koa-pv.js
// ctx:进入app中会有一个对象,这个对象会挂载着所有的信息,信息包括两方面:request和response,是全局的对象,在整个app中是能拿到的
function pv(ctx){
// path:表明当前的页面路径
global.console.log('pv',ctx.path)
}
module.exports = function(){
return async function(ctx,next){
pv(ctx)
// 当前中间件处理... | 08e380f4a0a53d66ae71da16392aa634e4261f9b | [
"JavaScript"
] | 3 | JavaScript | Ritusan/koa2-learn | c7b342ff6a2f755faef694ba87a3c0e72d5e9d1f | 92884bcae7697ce630700dde1150eacc35bae5da |
refs/heads/master | <repo_name>leixw0102/smart-travel<file_sep>/smart-app/src/main/java/com/smart/controller/SellerController.java
package com.smart.controller;/*
* Copyright 2015 Future TV, Inc.
*
* The contents of this file are subject to the terms
* of the Common Development and Distribution License
* (the License). You may not us... | 30560a93c4e32cde5074207e1f151fa0c41bac03 | [
"JavaScript",
"Java"
] | 18 | Java | leixw0102/smart-travel | 141f59c999131c30de91ae12a1030b563e68b3e5 | adf3e1b149b19369faa522e3554e730118e2cde1 |
refs/heads/master | <repo_name>isdaviddong/Meetup20190112<file_sep>/Meetup20190112/QuickReply.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Meetup20190112
{
public partial class QuickReply : System.Web.UI.Page
{
... | 451d7e971550d77d6e14bf336efad9574ce817f5 | [
"Markdown",
"C#"
] | 7 | C# | isdaviddong/Meetup20190112 | caf9d5004328dde0edece720d62baab6b6a6e07b | c1bd86a9b2a00715eb273513c6ead255f8d0bb9b |
refs/heads/master | <repo_name>dantefe02/DH_EntregableAndroid_DanteFerrari<file_sep>/src/main/java/com/example/dh_entregableandroid_danteferrari/RecylerViewFragment.java
package com.example.dh_entregableandroid_danteferrari;
import android.os.Bundle;
import androidx.fragment.app.Fragment;
import androidx.recyclerview.widget.LinearLayout... | d093d8e6a80d7f5ff53da41d380ea503a98a8a59 | [
"Java"
] | 2 | Java | dantefe02/DH_EntregableAndroid_DanteFerrari | b9650826c76710bd39cef02ffe6f06d2fc20ebb0 | 9389e7270a4df6701008ea9d7b2beceb24e196c1 |
refs/heads/master | <repo_name>ashafer01/void<file_sep>/test.py
# Copyright 2019 ashafer01
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use... | 8926d873f48d3b00ba98748bb6b561fac7f62df8 | [
"Markdown",
"Python"
] | 3 | Python | ashafer01/void | e48d4449683c135a8796b09abbd8d81cda134957 | e06434df3d40bde9a3bc1a53f092629f0f29dd78 |
refs/heads/master | <repo_name>unalfaruk/FileNinja<file_sep>/fileNinja.py
import argparse
import os
from pathlib import Path
parser = argparse.ArgumentParser(description="File Splitter/Joinner")
subparser = parser.add_subparsers(dest="operation")
parser_join = subparser.add_parser("join", help="To join files...")
parser_join.add_argumen... | 7735eeec84b91953db9478ce2ffe39083a1ecc27 | [
"Markdown",
"Python"
] | 2 | Python | unalfaruk/FileNinja | 4b472a23213d61dbbb805c4d136a2311f62684a9 | e95e2a7c631e32b031b5c7f373242a34ffd6f85c |
refs/heads/master | <file_sep>extern crate faerie;
use faerie::*;
#[test]
fn duplicate_declarations_are_ok() {
let mut obj = Artifact::new(Target::X86_64, "t.o".into());
obj.declare("str.0", faerie::Decl::DataImport {}).expect(
"initial declaration",
);
obj.declare(
"str.0",
faerie::Decl::Data ... | 29b93e516ca699efba8804d0edb74754a88204e1 | [
"Rust"
] | 1 | Rust | pchickey/faerie | 3180a18b12ce1189e755048d160dfcc0699cb68a | 38770bacdea50705be63ff9e80bd77f9db1bdfba |
refs/heads/master | <file_sep>
//Dependencies
var express = require('express'),
app = express(),
port = process.env.PORT || 3000,
mongoose = require('mongoose'),
Order=require('./api/models/order'),
Customer = require('./api/models/customer'),
bodyParser = require('body-parser');
mongoose.Promise = global.Promise;
var mongoUr... | 8709523b4bebb2024efeccf6f556221895f8df81 | [
"JavaScript"
] | 3 | JavaScript | sanjos30/N_eon_App | cb2471c63425f159ce61ffde2b36621618d28d43 | 3bfca3797212416a313f4f56e1eed6e95fa5f489 |
refs/heads/master | <file_sep>class AlterPages < ActiveRecord::Migration
def change
puts "***Adding an Index***"
add_index("pages", "permalink")
add_index("pages", "subject_id")
end
end
<file_sep>class ChangeTypeOfVisibleToBoolean < ActiveRecord::Migration
def up
change_column :subjects, :visible, :boolean, :default ... | 4f18ecfdd888fdc25337413bcf75feacd69f98b8 | [
"Ruby"
] | 5 | Ruby | Moiz1524/cms_rails | 0c4dc79c9093ae8e7ef8d4d78a0fe78a01cdbda2 | f086e2591dc3620363fb656c55f8cf5312d02074 |
refs/heads/main | <repo_name>manhlee/btl_TGMT<file_sep>/readme.txt
B1:chụp các ảnh cần thiết vào thư mục trainingData
thư mục này chứa các file ảnh mẫu để sử dụng tạo đặc tính nhận dạng
B2: Chạy file "CreateFeatureFile.py" để tạo ra file đặc tính nhận dạng trong "feature.npy"
B3: Chạy file "Detect.py" để thực hiện chương trình
Chương... | ffadac92e52aebc0d5f245d542138094197212ba | [
"Python",
"Text"
] | 3 | Text | manhlee/btl_TGMT | 7b9d491bd2bd61fbbd0879b87e5d3c87c4df67ac | f60de9384565a4f0fa5cdd1e07dbd674c0d27949 |
refs/heads/master | <repo_name>Norberta1314/documentbyunity3d<file_sep>/Assets/Scripts/ballTriggle.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ballTriggle : MonoBehaviour
{
private ball m_ball;
private textscript m_text;
// Start is called before the first frame up... | 48d1519c5431e133064861f58777101cf4c60631 | [
"C#"
] | 1 | C# | Norberta1314/documentbyunity3d | f46c7476621c7fc74ecbd551db3f246c41e2531f | 021d72119b752486934b9fedc61f38d5e99e0ce9 |
refs/heads/master | <repo_name>neptunia/data-miner-simulator<file_sep>/special.js
var SAVE_KEY = 'save';
function save(state) {
localStorage.setItem(SAVE_KEY, JSON.stringify(state));
}
function load() {
return JSON.parse(localStorage.getItem(SAVE_KEY));
}
function delete_data() {
localStorage.clear();
}
state = load... | 818a6db219441c3935e343dbce7467def8e188bf | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | neptunia/data-miner-simulator | 9c5c7afeada24da2783a37fd69ef8f44f97ca1ca | 19c038edbb3cff449924ab55508507a9c8a419aa |
refs/heads/master | <file_sep>const sharp = require('sharp');
const AWS = require('aws-sdk');
const config = require('../config');
const AdmZip = require('adm-zip');
// Set credentials and region
const s3 = new AWS.S3({
apiVersion: '2006-03-01',
region: 'us-west-2',
credentials: new AWS.Credentials({
accessKeyId: config.aws.key... | c25fb2afaaef68dfc00b36e3b0fdc5700353849e | [
"JavaScript"
] | 2 | JavaScript | devsnek/stickerbot | a90c01240f9553e7b625a84d0a12b744c8fb08d5 | aaeb125120a650294c8f73eae1f610bb61527951 |
refs/heads/master | <file_sep><?php
/**
* Session Flash Messages
*
* @author <NAME> <<EMAIL>>
* @author <NAME> <<EMAIL>>
* @author <NAME> <<EMAIL>>
* @version 1.2.6
* @package Phalcon
*/
namespace Phalcon\Flash;
use \Phalcon\Flash,
\Phalcon\FlashInterface,
\Phalcon\DI\InjectionAwareInterface,
\Phalcon\Flash\Exception,
\Phalco... | 77b4d62095efbb3983e286c9062c078e06322880 | [
"PHP"
] | 1 | PHP | rafaeltecna/phalcon-php | 5eb89c076c9e01eaaa56652a347a98cde0c77748 | 9084ea659577b95dc713b7bb8aeca920960e4af8 |
refs/heads/master | <file_sep>/*=================================================================
*
* mex-projL1Inf.C .MEX file that computes the l1Inf projection of a Matrix W
*
* The calling syntax is:
*
* [B] = projL1Inf(A, C, w)
*
* Inputs:
*
* A: a d-times-m matrix to project into the l1Inf ball
*
* w: a d-dimension... | 9282edb36b734279ecf5595fb589a9855ff44691 | [
"Markdown",
"C"
] | 3 | C | doksa/altginv | 67e823c1c828ae0f08990460b08f943b054f9d46 | 79ec151187751ad81eee12a07f90ebde88214f57 |
refs/heads/master | <file_sep>import React from 'react';
const Welcome = () => {
return (
<div>
<h3>Welcome! Feel free to play around.</h3>
<p>{"React is pretty cool, isn't it?"}</p>
</div>
);
}
export default Welcome;
<file_sep>import React, { Component } from 'react';
import { reduxForm } from 'redux-form';
im... | e4610efa61ae259896a46c1ae18de7e2d4912261 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | nbkhope/client-side-auth | 2e39d71e2a0f57093ddb85361c0536374403b2cd | 8b03ad762e208708d921b67eb865b7221fdfe11b |
refs/heads/master | <repo_name>rasyidcode/SimpleProgramCode<file_sep>/app/src/main/java/me/jamilalrasyidis/simpleprogramcode/ui/home/FavoriteFragment.kt
package me.jamilalrasyidis.simpleprogramcode.ui.home
import android.annotation.SuppressLint
import android.app.ProgressDialog
import android.os.Bundle
import android.util.Log
import andr... | d5e3a6630bbbe384ed6a05f2effeed328205825e | [
"Markdown",
"Kotlin",
"Gradle"
] | 38 | Kotlin | rasyidcode/SimpleProgramCode | a37bd287ede7c39fe2133ee348743dc80fdc5995 | 7ed9a5ad3c748116779a296233bd9556e85def37 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.