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/main | <repo_name>SDAR30/Pursuit-Core-Web-React-State-Lab-Tested<file_sep>/src/App.js
import React, {useState} from "react";
import "./App.css";
const App =()=>{
const [score,setScore]= useState(0);
const [power,setPower] = useState(1);
const increment = () => {
setScore(score + power);
//this.setState({ score... | 03162f3b04343a224f3dfb91b1ec4fa0abfb6773 | [
"JavaScript"
] | 1 | JavaScript | SDAR30/Pursuit-Core-Web-React-State-Lab-Tested | c485527f5f0bb089a8dd94747ee2f065441a347c | f9d324c34ba12fac5d42b7c5c441a205b34a496d |
refs/heads/master | <file_sep>#define base_code_format "lea edi, dword ptr ds:[%s+0%X]\r\n\
mov byte ptr ds:[edi],0E9\r\n\
call @cert_replace_end\r\n\
%s\r\n\
@cert_replace_end:\r\n\
pop ebx\r\n\
sub ebx,edi\r\n\
lea ebx, dword ptr ds:[ebx-5]\r\n\
mov dword ptr ds:[edi+1],ebx\r\n\
lea edi, dword ptr ds:[%s+0%X]\r\n\
mov word ptr ds:[edi],... | d4f73aea866a2cd98fd01f64366eabe8ccea51e9 | [
"C",
"C++"
] | 6 | C | ZhuHuiBeiShaDiao/akt | b7751486e01df2d7249468a563babdb37f827999 | 92f23b507a7cb33c7799bcbf55a85be97b7f3eab |
refs/heads/master | <repo_name>Mina-Nabil/carCatalog<file_sep>/database/seeds/UserSeeder.php
<?php
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class UserSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('dash_users')-... | e65cf3792994998b63f338b693551af4ddf3b99b | [
"PHP"
] | 35 | PHP | Mina-Nabil/carCatalog | 8dcd7b99c703ec2005a474f641a9a775da8b8cb5 | 0c30e8526037a84f482ed4f88711ef953c75ddc3 |
refs/heads/master | <repo_name>iDimov/layout_webpack<file_sep>/source/index.js
import './sass/main.sass';
import './css/ext.css';
console.log('look at me');<file_sep>/README.md
# for layout with webpack
pug + sass + css + webpack + browsersync
## How to use the files?
1. Clone this repo
2. Run `npm install` to install all the dependenc... | 1af48f8e8fd4dedd827a233c4cbd3b06dbc3dba6 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | iDimov/layout_webpack | a1f4d817333242e4f6819fd84899517c45201832 | cb4879dc6705fae3cdb3027534f0b25c5fc413ea |
refs/heads/master | <repo_name>utec-cs1103-2019-01/agregacion-y-herencia-fresh-avocado<file_sep>/Agregacion-y-Herencia/Volumen.cpp
//
// Created by <NAME> on 2019-05-03.
//
#include "Libro.h"
#include "Volumen.h"
#include "Revista.h"
Volumen::~Volumen() {
}
void Volumen::mostrar() {
auto var = dynamic_cast<Libro*>(this);
if (... | a2e98051545f4ceb5f2863b087854ff745c9b30e | [
"CMake",
"C++"
] | 10 | C++ | utec-cs1103-2019-01/agregacion-y-herencia-fresh-avocado | 99c5699d572d819e3a544bd7ebd7cd34c34f6359 | a209d1bc449f54f9e55481385ead33ff2ee29807 |
refs/heads/master | <repo_name>atacraft/mon_site<file_sep>/app/controllers/app_controller.rb
class AppController < ApplicationController
def login
if params[:user]
log = params[:user][:login]
pass = <PASSWORD>_<PASSWORD>(params[:user][:password])
user = User.where(login: log, password: pass).first
if user
session... | 078a0ba0724a5511a6b05504d857b7f7e9d846d2 | [
"Ruby"
] | 4 | Ruby | atacraft/mon_site | d67217329a27259a6c3b1134006d089c2fc417c2 | 3ccd16e7414d1f7915f212decc803c0b9c538bb0 |
refs/heads/master | <repo_name>bdlindsay/cs4760assignment3<file_sep>/monitor.h
#ifndef MONITOR_H
#define MONITOR_H
#include "condition.h"
#include <time.h>
// monitor.h
// <NAME>
// cs4760 assignment3
void enter_monitor(int proc_num, int shm_id, void (*enter_cs)(int));
#endif
<file_sep>/condition.c
#include "condition.h"
// condition... | 8351055b6038d8584f927cd3f1435c043e282504 | [
"C",
"Makefile"
] | 9 | C | bdlindsay/cs4760assignment3 | 684fe45265d711530d57586e52c7684505870372 | 32e8ea0911440c55562838c1384acb8138c11b08 |
refs/heads/master | <repo_name>huyhoangbrent/BrentsMusicPlayerApp<file_sep>/app/src/main/java/com/example/huyho/serviceapp/Test.java
package com.example.huyho.serviceapp;
public class Test {
}
| 6fbe4452b0accdedd76e3930a22d3ff01ab81c34 | [
"Java"
] | 1 | Java | huyhoangbrent/BrentsMusicPlayerApp | 74f372e4c7da1f3d4e2cee36fc08cdf0955ffe7f | 670bda62f61eb7e486a2bc142fde316f55295cd3 |
refs/heads/master | <repo_name>Cracklings/LearnGL<file_sep>/LICENSE.md
Do whatever you want with this if it's useful for you in any way.
<file_sep>/main.cpp
#define GLEW_STATIC
#include <iostream>
#include <gl/glew.h>
#include <SDL/SDL.h>
#include <string>
#include <ShaderReader.h>
const int screenWidth {1920};
const int screenHeight{1... | 018330ba5e9ee46b45282d11a7532e9ecab208f1 | [
"Markdown",
"C++"
] | 5 | Markdown | Cracklings/LearnGL | 1ffb5b175290254b3dedc55625c33daa65ef3a2e | a7369bafe2cbb115f60741cba30ed002f23fe914 |
refs/heads/master | <repo_name>kvermun/IEEE_Conference<file_sep>/IEEEApp/TestApp/MainWindow.xaml.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.... | a5fe9de4f40dcb860de3e79cd8a4eeb951e3ae05 | [
"C#"
] | 1 | C# | kvermun/IEEE_Conference | dc07de5f0f83e2b1056fe9ede4a7c24529e2639c | adff5d22f2bd69bb7215ccef931d508dcb750b88 |
refs/heads/main | <file_sep>
/*
// 윈도우가 로드된 후에 이벤트 리스너(function) 함수 실행
// window.onload = function(){}
// 돔트리(DOM TREE) 구조(Structure)를 읽어 들이고 난 후, 실행할 수 있도록 합니다. = 자바스크립트를 어디다가써도 실행가능하게해줌
/*
window.onload = function(){
//fnFirst('window.onload 실행','바보'); //전달인자(전달인수)=argument | 매개변수한테 전달하는 값=매개변수가없으면 전달인자도 쓰나마나임
var d... | ac518d67cb23566debf97666384f942cf2f19fca | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | ps9610/tjoeun_10_05-10_08_education | 9320f2a86ab0b2cd134aeb8de210a725b42b0a13 | f5edce0c4ce48a631eb4b847b098af0200fca1e7 |
refs/heads/master | <file_sep>using System;
using Motion.Core.WSHandler;
using Motion.Mobile.Core.BLE;
using Motion.Mobile.Utilities;
namespace Motion.Core.SyncHandler
{
public interface ISyncDeviceHandler
{
event EventHandler IncrementProgressBar;
event EventHandler<SyncDoneEventArgs> SyncDone;
void SetAdapter(IAdapter adapter... | 77368f2639f4804a939f6fc2d6e16111ecf0cd0e | [
"C#"
] | 2 | C# | cnapenas/SyncHandler | 644d72fc73bd0746f57db63b91c97251be668ddf | bf975bc3f230a1201a8af120d340f07c67b2dd99 |
refs/heads/master | <repo_name>mindfreakthemon-uawc/ua-web-challenge-vi<file_sep>/src/js/tests/filters/gaussian-test.js
define(['filters/gaussian', 'tests/imageloader'],
function (gaussian, imageloader) {
module('Gaussian Definition Test');
test('filter should be an object', function () {
equal(typeof gaussian, 'object', 'it is')... | f785c348d8fe1f401fa28e86de0f84718250b9b5 | [
"JavaScript",
"Markdown"
] | 12 | JavaScript | mindfreakthemon-uawc/ua-web-challenge-vi | bb969229d43d060578696939d9bf7fa0298ce492 | 65cdd1dc66a85457f4ce43aec43f48b5ef14da89 |
refs/heads/master | <file_sep>device:
driver assist chips in autonomous, or semi-autonomous cars
working:
provide feedback to the driver by constatly monitoring the signals
from the environment. The signals gathered from the environment could be
through cameras, radars, break temperature, tire preassure, etc. The
feedback to the driv... | 2ab0bbf435d07b5104b20646ef082f91ab4659e3 | [
"Markdown",
"C"
] | 25 | Markdown | adashoka/embsys310 | cfc34b75e78cdc96813318d8d6a7b0a550760beb | 4d8c02207ed6013722ab5d7df319708398bfffc0 |
refs/heads/master | <file_sep># pyPaillier
Paillier cryptosystem written with pure python.
## Abort paillier cryptosystem
Paillier crypto system is a homomorphic additively encryption, see [Paillier cryptosystem - Wikipedia](https://en.wikipedia.org/wiki/Paillier_cryptosystem)
## Requirement
python 3.x
## Get the code and start demo... | de29831589d8dd2c8af14f0c966cfa6fb747c5cb | [
"Markdown",
"Python"
] | 4 | Markdown | organizations-loops/pyPaillier | 91595a93e73b9958e26add53da6146dc0d4fcf9c | 5a975b672b13cee0c8e082170b538fa1a5f0ad4f |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using Timer= System.Threading.Timer;
namespace Logger
{
class Ud... | 212522de45b6561a21204c098cadab7f5e4977bb | [
"C#"
] | 6 | C# | patoeng/OvenLogger1 | 3169cde2f1ca24362b44f5ac75abc06696337478 | aa35114a7094ebd427f424b0eedb3613ce67338b |
refs/heads/master | <repo_name>xadrnd/carbon<file_sep>/lib/carbon/aggregator/receiver.py
from carbon.instrumentation import increment
from carbon.aggregator.rules import RuleManager
from carbon.aggregator.buffers import BufferManager
from carbon.rewrite import RewriteRuleManager
from carbon import events, log
from carbon.conf import setti... | 1c1b4d4968c02eb5585d507985dcc5ef93ef178e | [
"Python"
] | 1 | Python | xadrnd/carbon | 3b19f40bfe80d88b0309ca4909488ce751262d97 | 8e0715b322b6abe6945580bc5fd7d41b0ba55ac2 |
refs/heads/master | <file_sep>list.of.packages <- c("data.table","RMySQL")
new.packages <- list.of.packages[!(list.of.packages %in% installed.packages()[,"Package"])]
if(length(new.packages)) install.packages(new.packages, repos = "http://cran.rstudio.com/")
library(data.table)
library(RMySQL)
#Margot
setwd("D:/data-warehouse/")
#Thu
#s... | e5e69e76df677b892e9a61746f5e8697041f2cff | [
"Markdown",
"SQL",
"R"
] | 5 | R | mversionpenny/gas-emissions-data-warehouse | bfe89b394328b74aaf3980345af95aee961815ab | 66350969c5080c13ebee66177111745959ad3b7f |
refs/heads/master | <repo_name>Yiroha/Leetcode_History<file_sep>/src/Tree/PathSum_437.java
package Tree;
public class PathSum_437 {
public class TreeNode {
int val;
TreeNode left;
TreeNode right;
TreeNode(int x) { val = x; }
}
/*437. 路径总和 III*/
/*
递归解决;
两类情况,以当前节点重新开始计算,继承上一个节点的目标值进... | 754ed65a563ccdbabfbe37de7f63325ce2b293af | [
"Java"
] | 33 | Java | Yiroha/Leetcode_History | 8c967cb25b2e101b1ba25888d40345d5bbce2ee1 | 15fb8c3819dba8df5b8c5ba58d640d277adcb1f1 |
refs/heads/master | <repo_name>arcterex/frontend<file_sep>/src/libraries/adapters/DatabaseProvider.php
<?php
class DatabaseProvider
{
public static function init($type, $opts = null)
{
switch($type)
{
case 'simpleDb':
return new DatabaseProviderSimpleDb($opts);
break;
}
throw new Exception(40... | a998e43569853f30a0e3fe3f88655c19c4dbc52e | [
"Markdown",
"PHP",
"INI"
] | 11 | PHP | arcterex/frontend | cb8dd1047e5f63925142e0bd24203d3db182dcb9 | 9ca3a02f0537fbcd2f091e4d71c2087c32eadd05 |
refs/heads/master | <file_sep>package sdatcrm
/*
R Get("/api/extraItemsInInvoice/") -> Get all extra items in this invoice for which an adHoc order should be created
*/
import (
"fmt"
"net/http"
"appengine"
)
const EXTRA_ITEMS_IN_INVOICE_API = "/api/extraItemsInInvoice/"
func init() {
http.Handle(EXTRA_ITEMS_IN_INVOICE_API, gaeHa... | c54468143bcc42771b8fb5119730055a9501de4e | [
"Go"
] | 3 | Go | ashishthedev/sdcrm | f3f83fbd9c9ceb66cac01ae742f8fc0ec63d1493 | f9decc48e05b00f666f9e56cb2902cf0d5f94ebb |
refs/heads/master | <file_sep># Exo_Angular
Entrainement via des exercices sur Angular
<file_sep>import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-exo4',
template: `
<article>
<h2>Exercice N°4</h2>
<p>Conception d'un event clic afin que quand j'ai cliquer dessus, j'affiche un message dans ... | cd6c0fd0ae9e98f9f969c3c98aae6c686f920bf5 | [
"Markdown",
"TypeScript"
] | 12 | Markdown | Zyrass/Exo_Angular | c5addc3fe1f303620d9abcf98706d1e62b3ac547 | 610188beac7eb858e833cf2af1aa1e941c43eda6 |
refs/heads/master | <repo_name>swaiing/recordings-handler<file_sep>/app.rb
# app.rb
require 'sinatra'
require 'json'
require 'net/http'
require 'uri'
require 'twilio-ruby'
class TwilioRecordingsHandler < Sinatra::Base
helpers do
def handlePost(notification_number, add_ons)
transcripts = ""
vb_results = add_ons['result... | 3436a348b0feb4bd0a9443a7e6a4c0cd2e6f4d6c | [
"Ruby"
] | 1 | Ruby | swaiing/recordings-handler | 18dee60e752dd442cb9a8383c40677753e084d65 | 4dc944abc4e41029f8711586e6fa7619d6c2ec00 |
refs/heads/master | <repo_name>RickRieger/express-games-hw<file_sep>/routes/gameRouter.js
const express = require("express");
const router = express.Router();
const uuidv4 = require("uuid").v4;
let games = [
{
id: "adowb1b3bb",
game: "League of Legends",
description: "League of Legends is a team-based game with over 140 cha... | b30df288686ea695586c4956cb97132bdc9bf547 | [
"JavaScript"
] | 1 | JavaScript | RickRieger/express-games-hw | 6e2fad2ac5625316f8d53640d56ef8aa2d843abb | ea2d0fe3454a046b295ade70dcc1eeb774d14ac2 |
refs/heads/master | <file_sep><?php
namespace Tests\Feature;
use Tests\TestCase;
use Illuminate\Foundation\Testing\WithFaker;
use Illuminate\Foundation\Testing\RefreshDatabase;
class AuthTest extends TestCase
{
/**
* A basic test example.
*
* @return void
*/
use DatabaseTransaction;
public function... | d3db8388bac756784ef03e7d6d036069c3edb8ff | [
"PHP"
] | 1 | PHP | fredrickjomo/ralphowino-consulting-test1 | 98fe3b9d54d5b8266e6e4cc09d541daa29884abe | f5290278c9a2106e393572f6babecda876665614 |
refs/heads/master | <repo_name>alifa20/random-particles-ios<file_sep>/RandomlySpawnEnemyProject/FinishScene.swift
//
// FinishScene.swift
// RandomlySpawnEnemyProject
//
// Created by <NAME> on 6/5/18.
// Copyright © 2018 SkyVan Labs. All rights reserved.
//
import SpriteKit
struct ScoreRecord: Codable {
let playerName: String
... | 84a666f255e81fa0a19a02a2cb446ebd051ac975 | [
"Swift"
] | 5 | Swift | alifa20/random-particles-ios | 35ee1ae4022f3632a60b1d5362a1840391d4792b | 511562aac5f9b031fb11850b5385aa88b6eb9422 |
refs/heads/master | <repo_name>metabench/nextleveldb-model<file_sep>/query.js
// Will have different types of queries
// Queries will be serialised to binary.
class Query {
constructor(id, page_size = 0) {
this.id = id;
this.page_size = page_size;
}
}
// Need to be able to encode a record fully into a buffer.
/... | 3db62220cea3ca6b4e3c50aab3f7ac5e79512196 | [
"JavaScript"
] | 21 | JavaScript | metabench/nextleveldb-model | 0faaa6d3319fbbc43e8076a013ff071b2b0952e9 | 988f5ccdcff31ebe8fc34e9bddb7413dba28fa4a |
refs/heads/master | <file_sep>#include <iostream> // for std::cout
#include <utility> // for std::pair
#include <algorithm> // for std::for_each
#include <fstream>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <vector>
// boost library
#include <boo... | 6314a797e0fa84678d8580abab3f94c36e89bdcc | [
"C++"
] | 1 | C++ | dongwei-wang/bipartite_graph | a315f68272b78cbd4521525433b152979bf2f9d4 | 64a9e9f787f05a228d2e730da2315361ccd98b47 |
refs/heads/master | <repo_name>mjprude/dotfiles<file_sep>/scripts/macsetup.sh
#!/bin/bash
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install git
git config --global user.name mjprude
git config --global user.email <EMAIL>
brew install vim
cd $HOME/dotfiles && ./install
brew ins... | a7fd8df6aa65ccdfbb4d65e2589b2c497913c9fc | [
"Shell"
] | 1 | Shell | mjprude/dotfiles | 5ca685806b0ffb4d6850d251f34b0a6b4f195827 | 836d74a90f9e70424f94c6a552c2b53cc5fc5a6a |
refs/heads/master | <file_sep>// // "use strict";
// // console.log('Я учусь JS');
// // // 1.Ошибака! все открытое должно быть закрытым!
// // // 2.Ошибка! соблюдение регистра!
// // let boss = 'рефлежератор';
// // console.log(boss);
// // boss = 'холодильник';
// // console.log(boss);
// // let myAge = 35;
// // myAge = 18;
// // conso... | b9831a2eb76195469ae4249c101bac5402d704e3 | [
"JavaScript"
] | 1 | JavaScript | effect717/project | e13d6beb0e52acd119211ac86e6bcd6ef2c95619 | 8e6e3fc7efda04dc7a6fceb5e2ed7f6fcbf6a50d |
refs/heads/master | <file_sep>import unittest
import numpy as np
from deepchem.utils import hash_utils
def random_string(length, chars=None):
import string
if chars is None:
chars = list(string.ascii_letters + string.ascii_letters +
'()[]+-.=#@/\\')
return ''.join(np.random.choice(chars, length))... | 39b021eabbb8e3be1734cf92fd641965a796b0eb | [
"reStructuredText",
"Markdown",
"Python",
"Text",
"Dockerfile",
"Shell"
] | 658 | Python | deepchem/deepchem | ee6e67ebcf7bf04259cf13aff6388e2b791fea3d | 066cbf42316b2f6bec0166727e0264a485d5266f |
refs/heads/master | <file_sep>from sklearn.neighbors import KNeighborsClassifier
from utils.base import get_offset_font
from utils.base import normalization
from utils.base import make_xml
from utils.base import get_labels_by_GlyphNames
from utils.base import get_labels_by_glyphID
from utils.base import matrix
class KnnFont:
def __i... | ab659bd7aeb161cd7afde20466e0923760114209 | [
"Markdown",
"Python"
] | 4 | Python | Yakuho/DealFontCrawler | eee732d79e35b8947bfd35e3661fe0c96204aa03 | ac6a6dc8f3fc1d7b68d777170623ac1a96c960b0 |
refs/heads/main | <file_sep>/* eslint-disable no-undef */
const assert = require('assert');
const validator = require('../validator');
const samples = require('../samples');
const common = require('../common');
describe('Validator test', () => {
it('No input test should return sample test', () => {
assert.equal(
validator.v... | efe3f34b8cee9081c86d9048096e08f86ca296af | [
"JavaScript",
"Markdown"
] | 6 | JavaScript | j-hernandez93/robots-in-mars | ee6f6e7dd7571f3c5575642231b84d3335826a86 | 6dbe9971ef543570635f1aa80babbbfd851cfa9d |
refs/heads/master | <repo_name>lezhnev74/Eximporter<file_sep>/README.md
[](https://travis-ci.org/lezhnev74/Eximporter)
[](https://packagist.org/packages/lezhnev74/eximport)
[ 2013 <NAME>. All rights reserved.
//
#include <iostream>
#include <fstream>
#include <set>
#include <cerrno>
std::set<std::string> dictionary;
void readDictionary(const char *pPath);
void check(const char *pPath);
int m... | 81e47c96d9a6952f1e94a60968bac72822f6dba6 | [
"Markdown",
"C",
"Makefile",
"C++"
] | 63 | C++ | rmatil/uzh-apc | 44dd3bb6bd308e80a029e95f998e60e87d978adf | 129a4b41d32bb8ece367ebbcc81b371185946229 |
refs/heads/master | <repo_name>vishu160196/Registration<file_sep>/README.md
# Registration
Registration page with Node server and MongoDB backend. It checks bots based on IP address using Google RECAPTCHA
### Steps to run locally
Prerequisistes: Nodejs and NPM
1. Download and install MongoDB from here https://www.mongodb.com/download-cen... | 4140406eb0e4c51cb6acb01918db45076ad8cb6e | [
"Markdown",
"JavaScript"
] | 3 | Markdown | vishu160196/Registration | 1edce220e8bb7456f57161ca6fcdfa14b254ad4f | 31cf669512d7346717c7a7718c89fb6a36843b1b |
refs/heads/master | <file_sep>import { combineReducers } from "redux";
import loginReducer from './loginReducer'
import fetchReducer from './fetchReducer'
export default combineReducers({
loginReducer,
fetchReducer
});
<file_sep>import React, { Component } from 'react'
import { Text, View } from 'react-native'
import { MyButton... | e1205fa4c35502282b6eb9b897b1c6729abd638c | [
"JavaScript"
] | 7 | JavaScript | auchaphon/workshop_120961 | a1016b05e5c024baec00ffe04c7ffb80b00c58dc | 2c07341b7cf99261398ef32b58432910639e19d3 |
refs/heads/master | <repo_name>diogogomeswww/Getting-and-Cleaning-Data-Course-Project<file_sep>/CodeBook.md
## Description
Additional information about the variables, data and transformations used in the course project for the Johns Hopkins Getting and Cleaning Data course.
### Source Data
A full description of the data used in this proj... | 846f5557180429223559c0014c873ca96a1affd2 | [
"Markdown",
"R"
] | 4 | Markdown | diogogomeswww/Getting-and-Cleaning-Data-Course-Project | 7a0a1593bc84c9ec7f14b633049b7f753442c9d1 | 3265f6ce5582e5ac70bf7170418e11b724aa4862 |
refs/heads/master | <repo_name>robertgz/Testbox<file_sep>/TestBox/src/TemperatureSensor.h
#ifndef TEMPERATURESENSOR_H
#define TEMPERATURESENSOR_H
#include "Arduino.h"
class TemperatureSensor {
public:
TemperatureSensor(int pin_SCK, int pin_CS, int pin_SO);
void readSensor(void);
int getTemperatureF(void);
void getForm... | f05ce4d0a7d124f317a8eb5fd5fe07f715310c13 | [
"Markdown",
"C++"
] | 8 | C++ | robertgz/Testbox | e673b4b17155348588a56bc668de26b44fc1fa2f | cb623f52740fa9cc772958598b753322fa4caa28 |
refs/heads/master | <file_sep># feature 'User can create articles' do
# before do
# visit root_path
# click_on "New Article"
# end
# context "Succesfully create an article [HappyPath]" do
# before do
# fill_in "Title", with: 'Happy holidays'
# fill_in "Content", with: 'It is going to be fun!'
# click_... | 94c94717590866722c7015348ca632bb9533e98f | [
"Ruby"
] | 4 | Ruby | emiliano-ma/rails_demo | cac912e30eefd133a1067ef22527ebf0e5f4a587 | a85cad5c365f688e2fcd294c0632ff0fa92f72d2 |
refs/heads/master | <repo_name>qstorey/dotfiles<file_sep>/README.md
# dotfiles
### A little place called home for my dotfiles.
This is a personal collection of dotfiles that is inspired by <NAME>'s
[dotfiles](https://github.com/holman/dotfiles) and thoughtbot's [dotfiles](https://github.com/thoughtbot/dotfiles).
Dotfiles should be avai... | 05c7da3995286e65089fec4d761bb966f533497d | [
"Markdown",
"Shell"
] | 2 | Markdown | qstorey/dotfiles | 44f825a6ad593e77e877f0e9b0b629a9ef53f348 | a65a9b93fa2b0eb6491d79517ce2a193657b5705 |
refs/heads/master | <file_sep>#!/usr/bin/python
# Lab 13
# Physics 91SI
# Spring 2016
import unittest
import calc
class CalcTest(unittest.TestCase):
# TODO implement tests here to verify that your functions work!
def testAddition(self):
self.assertEqual(calc.calc('10+1'), 11)
def testSubtraction(self):
self... | 37a3e6e2595d4066bada613aa19507e1cf47019d | [
"Python"
] | 2 | Python | physics91si/s1dav1s-lab13 | 87ad650816cb1eaa44ea8c0d6f3b2957e42d6c75 | 403236f0bc043419a3bde4cbe8a2b72d946a11f5 |
refs/heads/master | <repo_name>fox-squirrels-2013/Thing-O-danielearthy<file_sep>/README.md
Thing-O-danielearthy
====================
Day 1 in the Big Brother house : Release 1
============================================
Deploying the Sinatra app with Heroku to display a meaningful and explanatory index.html
<file_sep>/myapp.rb
require '... | 3c0eda4ecc4cd051f0b6d611cb18c68130d38e41 | [
"Markdown",
"Ruby"
] | 2 | Markdown | fox-squirrels-2013/Thing-O-danielearthy | 9fb2b7984a6d7c02f73b32e4deff7fe9c9a2895e | 3eee4de3ead7d1d0d88364aa6b8af01dd5f4a3a5 |
refs/heads/master | <file_sep>const hands = [...document.querySelectorAll('img')];
const span = [...document.querySelectorAll('span')];
const playButton = document.querySelector('button');
let wins = 0;
let draws = 0;
let losses = 0;
let playerHand = "";
let aiHand = "";
let gResult = "";
let gPublish = "";
const choosenHand = (e) => {... | 8979b860106569f94eac48b0d561b80a4501d34e | [
"JavaScript"
] | 1 | JavaScript | uwuwuewue/RockPaperScissorsApp | 24b5bb03b89f46b9a6f0479f3f61b90ffcbe3ebf | 23aeee8f08426c61f3f4966c9fcf99aa5f274277 |
refs/heads/master | <file_sep>/** Convenience identifiers for HTTP Codes. */
enum HttpResponseCode {
ok = 200,
serverError = 500,
}
export default HttpResponseCode
<file_sep>/** Network responses are untyped. Disable some linting rules to accomodate. */
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
import Candle from ... | 9a0780c89c71f0043e5b00d37e711af8043aa218 | [
"Markdown",
"TypeScript"
] | 10 | TypeScript | tacoinfra/harbinger-signer | 0815e44dfcc2ca1222caacdd5b8be13485e9647b | 60030099845770a808ad6eaf6a9b185e088ed6f9 |
refs/heads/main | <file_sep>document.getElementById("addBtn").addEventListener('click', (event)=>
{
const addList = document.getElementById('todoinput').value;
const list = document.getElementById('myUL');
const childList = document.createElement('li');
childList.innerText = addList;
list.appendChild(childList);
})
... | e36e147e21adeda3d81e49eb537ecc469a442f89 | [
"JavaScript"
] | 1 | JavaScript | dalwer001/To-do-app | a072e990be3019d20c93cc0129c6e7cdf863cf0d | 1f9c3b1bf061e26d8a089ede8d8a29fb4c11d373 |
refs/heads/master | <file_sep>const gulp = require('gulp');
var browserSync = require('browser-sync').create();
var sass = require('gulp-sass');
//додаткові плагіни Gulp
const
browserSync = require('browser-sync').create(),
sass = require ('gulp-sass'), //конвертує SASS в CSS
cssnano = require ('gulp-cssnano'), //міні... | 9377b0a9760a7165bfba316832adb94ff23c0533 | [
"JavaScript"
] | 2 | JavaScript | Bohdashga/web-page | b73d665d363ff62b5b6ff14fabbaa9a0f81054e3 | 0d59e4f4b38ae648debbbf0507108d8c10fab7da |
refs/heads/master | <file_sep>import React from 'react'
import style from "./AuthorForm.module.css"
import axios from 'axios';
import { Link } from "react-router-dom"
const AuthorList = (props) => {
const { removeFromDom } = props;
const deleteAuthor = (authorId) => {
axios.delete('http://localhost:8000/api/aut... | 832478c8b98ae8e72431ade044925775be63e493 | [
"JavaScript"
] | 4 | JavaScript | toddaulwurm/authors | a7aa36c74b048649e3b82304a7bb01306a9e8328 | 951b1e2a68a72de5784b17cc4abb0d754df7c923 |
refs/heads/main | <repo_name>arsamnaqvi/chip-8-emulator<file_sep>/README.md
# chip-8-emulator
my try at a chip-8 emulator
<file_sep>/chip.h
#include <cstdint>
// macros for the class used below
#define NUM_REG 16
#define MEM_SIZE 4096
#define STACK_SIZE 16
#define KEYPAD_SIZE 16
#define VIDMEM_SIZE 2048 /... | d69e440b1fcca7be52bf236eff1566243c76bb36 | [
"Markdown",
"C++"
] | 3 | Markdown | arsamnaqvi/chip-8-emulator | 752f576930c7e189567fa0f4071eedb159079690 | c25b656ebbe1d701f73137c3c60a3c82ffec4db3 |
refs/heads/master | <file_sep>// $(document).ready(function(){
// });
const SHA256 = require('crypto-js/sha256');
const level = require('level');
const chainDB = './chaindata';
const db = level(chainDB);
function c(txt){
console.log(txt);
}
//---------((((((((((((((((((((((((((()))))))))))))))))))))))))))
// Add data to leve... | 97fcf80b3ecb1d6028581450e945c26ae78272e3 | [
"JavaScript",
"Text"
] | 3 | JavaScript | msharekh/Project2-Private-Blockchain | d592b78f1982672fe771a83d2b828ffffa56e471 | 969f248729ddf9171f166822357dff0d141666de |
refs/heads/master | <repo_name>opsbears/obf-cli<file_sep>/src/OptionParser/CLIOptionParserException.php
<?php
namespace OBF\CLI\OptionParser;
use OBF\Lang\Exception;
class CLIOptionParserException extends Exception {
} <file_sep>/src/Terminal/TreeShellUpCommand.php
<?php
namespace OBF\CLI\Terminal;
use OBF\Lang\Object;
class TreeSh... | d427ba79d1af999230a7c8d3adc39c202624c759 | [
"PHP"
] | 2 | PHP | opsbears/obf-cli | 2e934b44b3520c92c2b5e848f975e2b064270791 | 57fe200b7c315dff2817a4a7cd330cd7c95c1b7c |
refs/heads/master | <file_sep>#Напишите функцию-конструктор new Voter(options) для голосовалки.
Она должна получать элемент в options.elem, в следующей разметке:
```
<div id="voter" class="voter">
<span class="down">—</span>
<span class="vote">0</span>
<span class="up">+</span>
</div>
```
Публичный метод voter.setVote(vote) должен ... | c67a86ec96dcc4434e6b2f28af7640a0c4fcabae | [
"Markdown",
"JavaScript"
] | 7 | Markdown | 4m9fk/GeekBrainsJS2 | 251214761014c5a6e9ef7ae919b8408a5f801055 | 9189647c93c43a82c9ff59a5513d7a816e04309a |
refs/heads/master | <repo_name>NaMuSiGa/namunodeappTest<file_sep>/app.js
//asdfsdfdsfsf
///dddd | 4335a34cdf14d377c943b2bd043fd932ba339e37 | [
"JavaScript"
] | 1 | JavaScript | NaMuSiGa/namunodeappTest | 9fa8aa63d9c2f87bbeee9636235f3b8416bd2b93 | f8b61691316b4bd1a1075aec0ffea4dee086c931 |
refs/heads/master | <repo_name>dennyqi/aei_dinner_vs_cs<file_sep>/README.md
# WpfApp2
This is Windows application using C# which is deleloped in Visual Stdio 2017
<file_sep>/WpfApp2/MainWindow.xaml.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
... | 34629bec00dcedd49635678e7de48e5bc4875f64 | [
"Markdown",
"C#"
] | 2 | Markdown | dennyqi/aei_dinner_vs_cs | ed93a7f2368926fef079d9a4f74e62352105d50e | 69b9b6b53dd810655393434cccc4dfae4843f001 |
refs/heads/master | <file_sep><?php
/**
* Created by PhpStorm.
* User: gerha
* Date: 05.04.2019
* Time: 20:37
*/
namespace App\Mails;
class VerificationTransactional
{
public function toMail($notifiable)
{
dd($this->verificationUrl());
}
protected function verificationUrl($notifiable)
{
... | d01f355c3d1dfef040fba62ec5e5ca20e2641218 | [
"PHP"
] | 3 | PHP | gepopp/visboo | 67c6f70b5f262d25d20ec7fc43ac2281883ba605 | 738679e7b04a98b969b26ef0e5829fd7673c8661 |
refs/heads/master | <file_sep>// take input from the user
let maxNumber = parseInt(prompt("Kindly enter your maximum number"));
let chosenNumber = Math.floor(Math.random() * maxNumber) + 1;
//ask the user to input a guess
let guess = parseInt(prompt("Kindly enter a guess"));
let attempt = -1
// if guess is higher than original guess prin... | 43d0da270fbf276cc779b9769d4f3a09d685c87b | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | damso9/javascriptGuessingGame | 7ab8b652a3829f917ae9928f2d8e720f898c4100 | 57c57526c1cc99dd74a065a670f94e743a51710a |
refs/heads/master | <file_sep># Blender Previewsettings Add-on
# Contributor(s): <NAME> (github.com/SimonStorlSchulke)
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (... | c6e64ccc550a16ba1652613d4bd8cbc1365254e7 | [
"Markdown",
"Python"
] | 5 | Python | SimonStorlSchulke/blender-addons | 1a12ac54b9c870d4562ae069a17676a091ff4b8e | 46045f7016ec85d19782bcd0e7f20e7f8c619e60 |
refs/heads/master | <repo_name>steen919/middleman-foundation-haml-template<file_sep>/Gemfile
source :rubygems
gem "zurb-foundation", "~> 3.0.5"
gem 'middleman', "~> 3.0.0"
gem "redcarpet", "~> 2.1.1"
gem "sass", "~> 3.2.0.alpha.277"
<file_sep>/readme.md
# Middleman-Foundation-Haml-template
This is a simple template to get started with M... | ec296c5ba82e32ea6c663b69cbb7b3763fde4e51 | [
"Markdown",
"Ruby"
] | 2 | Ruby | steen919/middleman-foundation-haml-template | 7941f91eef076a4913a6c16eba0dda213512e004 | 98a5a4b4c5f1888308158f24ef42c68411c2ae7c |
refs/heads/master | <repo_name>AravindhanV/AddressBookJSONServer<file_sep>/js/contact_form.js
window.addEventListener("DOMContentLoaded", function (event) {
const name = document.getElementById("name");
const textError = document.querySelector(".text-error");
name.addEventListener("input", function () {
if (name.value.length == ... | 172a3fcbabca8ab823b2c9faa7d861eccb80940d | [
"JavaScript"
] | 1 | JavaScript | AravindhanV/AddressBookJSONServer | d16f0ad48cc296c7820320f1779820b44e468d3e | 75716f049ac16156825e5c09dc9ce5949213d477 |
refs/heads/master | <file_sep>import { InMemoryDbService } from 'angular-in-memory-web-api';
export class TestData implements InMemoryDbService {
createDb() {
const bookDetails = [
{id: 100, name: 'Angular 2', category: 'Web Technology'},
{id: 101, name: 'C++', category: 'Programming'},
{id: 102, name: 'Java', cat... | b378090f59d1b613a51f16121f693f1b8bd4f17a | [
"TypeScript"
] | 4 | TypeScript | hpwani/angularObservable | e07fd007199330cbe59741f74d9f777257227636 | 19d8e91f5064e95238df741361b948be751fc489 |
refs/heads/master | <file_sep>package PageOject;
import java.io.IOException;
import java.util.Properties;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.WebDriverWait;
import org.testng.Assert;
import or... | f8c09cb72c7ce8ffebf3b191357eb93eaa4a46cc | [
"Java",
"INI"
] | 6 | Java | garimaOjha21/CRMSite | b084f9162a195bee9ceabaa89692a0d998cee3a2 | 71ef354fdcf6d1b3376d69b9a6c7005ddfd69726 |
refs/heads/master | <repo_name>giladsegal/AbstractNotifications<file_sep>/src/AbstractFeedTree.ts
import * as vscode from 'vscode';
import {FeedProvider} from './FeedProvider';
export function showAbstractFeedTree(
context: vscode.ExtensionContext,
accessToken: string
) {
const treeDataProvider = new FeedProvider(context, accessTok... | 5952201d557651b8039e4748574d0859e24bea6c | [
"Markdown",
"TypeScript"
] | 10 | TypeScript | giladsegal/AbstractNotifications | bf4da7f36b6c97b9e583dce7317caa5fbbc920e0 | 5001108248d6132dcc647a6ad39aa02f0f086d3e |
refs/heads/master | <repo_name>tyn520215/reboxUpdate<file_sep>/jquery-rebox.js
/*
* jQuery Rebox [http://trentrichardson.com/examples/jQuery-Rebox]
* By: <NAME> [http://trentrichardson.com]
*
* Copyright 2014 <NAME>
* Dual licensed under the MIT license.
* http://trentrichardson.com/Impromptu/MIT-LICENSE.txt
*/
(function($){
$... | ae21d2d32af1a7615c3397e8136e502dfedbf98d | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | tyn520215/reboxUpdate | 239759e42b0bbc2c4cc60e826254471d307a6ac6 | 60173737d82faa7fb8633eeeca19aeeefb4f1ffe |
refs/heads/master | <file_sep>package main
import (
"flag"
"fmt"
"strings"
"strconv"
"os"
"bufio"
"github.com/gologme/log"
"github.com/cerisara/activityserve"
)
/*
Notes:
- les messages que l'on recoit lorsqu'on follow qqun ne sont pas stockes en local: ils sont envoyes instantannement aux followers... | 7decf8bd64ce17267d58a93cae943d32324253a6 | [
"Markdown",
"Go",
"INI"
] | 3 | Go | cerisara/fedigocli | 09d2891f09f0dc5ca86bb5b2775e158df94a1c39 | ea014b8ed6a194ce267c327147c3dd264b028cf9 |
refs/heads/master | <file_sep>import requests
from bs4 import BeautifulSoup
import time
from random import random
from tqdm import tqdm
import pdb
from makedir import make_dir
def all_crowling(category: str=""):
"""
カテゴリ内のすべての
検索ページのHTMLを引き抜いてくる
category: URLで使われているカテゴリ名
"""
with open("prefectures.txt", "r") as ... | f02c5ab7b868bc60378edacddfe44bc27d8731b8 | [
"Markdown",
"Python",
"Text"
] | 7 | Python | s14t284/TownPageCrawling | f922de0d4fb180ac445d9e79d3877ae39a4cd352 | a02ebdf6a055b523e10b75b7586eecc0eb1fa542 |
refs/heads/master | <repo_name>jae-jae/QueryList-Rule-Baidu<file_sep>/Baidu.php
<?php
/**
* Created by PhpStorm.
* User: Jaeger <<EMAIL>>
* Date: 2017/10/1
* Baidu searcher
*/
namespace QL\Ext;
use QL\Contracts\PluginContract;
use QL\QueryList;
class Baidu implements PluginContract
{
protected $ql;
protecte... | 9e629cd93040579e143059c8d326a5796f9ea10a | [
"Markdown",
"PHP"
] | 2 | PHP | jae-jae/QueryList-Rule-Baidu | ab0af74f1289caa9dac09e9340023ae9d51a3a0c | e50ea5b382c82e835edd9c396be656686d18bb6a |
refs/heads/main | <repo_name>abhi-gm/Parallel-Processing-with--OMP-and-MPI<file_sep>/part3.c
#include <mpi.h>
#include <stdio.h>
#include <stdlib.h>
/* Define length of dot product vectors */
#define VECLEN 100
int main (int argc, char* argv[])
{
int i,myid, numprocs, len=VECLEN;
double *a, *b;
double mysum, allsum;
/* MPI Initializa... | 4d33a7d0ea09f4cc7d59fe6f2871b51ae6ecaacb | [
"Markdown",
"C"
] | 3 | C | abhi-gm/Parallel-Processing-with--OMP-and-MPI | afc7eca3ba905056db9c889e69040ef867e9f1df | 9129137ecd473c0a61347a7232249ca7e9675dda |
refs/heads/master | <repo_name>LeeSpin/Test<file_sep>/rasp_serial/src/rasp_serial.c
#include <stdio.h>
#include <unistd.h>
int main(void)
{
int i;
printf("fuck!!!!\n");
return 0;
}
| d7e4c4d5f363057fd9a4d66ebaf2cc6f12d06932 | [
"C"
] | 1 | C | LeeSpin/Test | 3ac3c39a9f8c0ec772a8f1c120bd760c08d235c6 | ea90f74bc3d17fcefd005e67f8bf5fa23e02f800 |
refs/heads/master | <repo_name>overflowsith/dotfiles<file_sep>/.bsh/oldbashrc.bash
# make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
# set a fancy prompt (non-color, unless we know we "want" color)
case "$TERM" in
xterm-color|*-256color) color_prompt=yes;;... | 8472d00cf442ab3590b869ee83bc84ea5fda92ba | [
"Markdown",
"INI",
"Shell"
] | 13 | Shell | overflowsith/dotfiles | e595e1837cf804377bab714c980b423e1b0c4839 | 074bd48c6bdb2a22c67bc9672bd65e4c190b4a94 |
refs/heads/master | <file_sep>// recursive.cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
#include<iostream>
using namespace std;
char a[20];
int k =0;
void E();
void E1();
void T();
void T1();
void F();
void E(){
cout<<"E->TE'"<<endl;
T();
E1();
}
void E1(){
if(a[k]=='+'){
cout<<"E'->+TE'"<<endl;
k++;
T();
E1();
}
els... | 32e09ff5f9b50a08f7e5bba7667fc786c96ea8b3 | [
"C++"
] | 5 | C++ | YangWenxu/compilers | cf20ecfc494834c0869d84b12204b0e41748a5ce | 7369a595bd08898775a7f8c37d7819aa388b3cbb |
refs/heads/master | <file_sep><?php
namespace App\Security;
class LoginFormAuthenticator
{
}
| fc1d4f5de35e198231e4ac00ecdbd807f17b6346 | [
"PHP"
] | 1 | PHP | FakherChihawi/kms_project | 2b70218aeea0f1962bab619fd61e6ef06013371e | a92281cf67800c4e81ede582c188692ee187613d |
refs/heads/master | <repo_name>Tikam02/TwitterAdvSearch<file_sep>/scraper.py
#! usr/bin/python3
from bs4 import BeautifulSoup
import time
from csv import DictWriter
import pprint
import datetime
from datetime import date, timedelta
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support.... | 1bff1fe8545d72c6707719d0786a438ab8fee265 | [
"Markdown",
"Python"
] | 2 | Python | Tikam02/TwitterAdvSearch | efc3d7fa67f82bd4a8bd9469c6a7e24ff25d5606 | fb7799a97896e18f023b6344f291d055f36cd82d |
refs/heads/main | <file_sep>count = 0;
document.getElementById('count').innerHTML = count;
var modal = document.getElementById("myModal");
// Get the button that opens the modal
var btn = document.getElementById("myBtn");
// Get the <span> element that closes the modal
var span = document.getElementsByClassName("close")[0];
... | fae5c97fb9595ce20c6df2560cfa1b7c0a5b1c7a | [
"JavaScript"
] | 1 | JavaScript | rahulkundena/rock-paper-scissors | 4f6cccccdf1d89fbb8edb4c69fa993ee93ef5568 | 99140e26649e0a4d423250052af5d935637dedde |
refs/heads/master | <file_sep>var namespace = "urn:x-cast:com.google.ads.imasdk.cast";
window.splashImg = document.getElementById('splash');
window.mediaElement = document.getElementById('media');
window.mediaManager = new cast.receiver.MediaManager(window.mediaElement);
window.castReceiverManager = cast.receiver.CastReceiverManager.getIn... | 16461bd1c860c87db48063173db0d3277ba67e1a | [
"JavaScript"
] | 1 | JavaScript | yingxuel/hosting | 09a1126eab6fa0f0f3683a8f1b879f0512fe4778 | 9104007efafa1288991dce4a09bc61729bf7f6eb |
refs/heads/master | <repo_name>team-dev-java/thichlamua<file_sep>/thichlamua/src/main/java/vn/thichlamua/fashion/controller/HomeController.java
package vn.thichlamua.fashion.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annota... | 94686af6a94e425abadc470459a32afe20ac8976 | [
"Java"
] | 1 | Java | team-dev-java/thichlamua | 0155f356a37b8c0569cce7de9f584f9342cf16cb | 73e847699ae23f2594cc1c12d279b492ec944882 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Overloading04
{
public class Numb
{
public int FindMinimum(int number1, int number2)
{
int min;
if (number1 < number2)
... | 1d06a04d96c3eb438119cf74e27baf35c737092b | [
"C#"
] | 1 | C# | ngarvan/Overloading04 | 82a6e99851bc22bee673a31e5160250cd19e6852 | 78feab259795a5aae569cb852a98500bed8271c3 |
refs/heads/master | <file_sep>from django.http import HttpResponse
from django.shortcuts import render, redirect
from django.utils.datastructures import MultiValueDictKeyError
from polls.models import Question, Choice
def index(request):
questions = Question.objects.all()
context = {
'questions': questions,
}
re... | 009226a51fe66b5cdfc88bf4163b4137ca7dfce6 | [
"Python"
] | 1 | Python | klee2017/django-tutorial-project | 6e5482ee99acae9ceb6d182385faecee4ec5c1a8 | d3ddc650caf7d11bd8393fdbe1478d7a1879149d |
refs/heads/master | <repo_name>QFann/NettyTest<file_sep>/src/main/java/com/qf/netty/MessageRequestPacket.java
package com.qf.netty;
import lombok.Data;
import static com.qf.netty.Command.MESSAGE_REQUEST;
/**
* 消息发送数据包
* Created by qifan on 2018/9/28.
*/
@Data
public class MessageRequestPacket extends Packet {
private String me... | 40c1dcf8f3686ea5bd07042f55a7e4ab2314fd5e | [
"Markdown",
"Java"
] | 8 | Java | QFann/NettyTest | 54b06a547ca1ce766552a7c3c652ce8e3257d573 | 059b4b943eb5fbe6389841158e354cf0dde3c2c9 |
refs/heads/master | <repo_name>athorsen/wiimote-button-presser<file_sep>/README.md
# wiimote-button-presser
This is a project I did to allow my son to keep playing <NAME> (his favorite game) when he broke his arm.

If you want to learn more about... | a7ba1c901c240cd08d60adb5cd4bc1762fad10e1 | [
"Markdown",
"C++"
] | 2 | Markdown | athorsen/wiimote-button-presser | 7987db771adf58d2f6009af03773012ad84e09d7 | 674e8906fecb14ac1c3dc057848f69ade5d30f49 |
refs/heads/master | <file_sep>My implementation of https://adventofcode.com/
<file_sep>// https://adventofcode.com/2019/day/1
/*
--- Day 1: The Tyranny of the Rocket Equation ---
Santa has become stranded at the edge of the Solar System while delivering presents to other planets! To accurately calculate his position in space, safely alig... | 226825f21706b4dc358a46bd7aa0da788656c184 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | sdg9/adventofcode-old | 605c0be8e81ae67f6693e4fb44484567890cb5bf | 6a73ce934e7fab8e41e1bbd141f81bceaa590786 |
refs/heads/master | <file_sep>package com.jntele.troy.jntelelte;
import android.app.AlertDialog;
import android.app.Dialog;
import android.app.DialogFragment;
import android.app.FragmentManager;
import android.content.DialogInterface;
import android.os.Bundle;
/**
* Created by lenovo on 2018/5/27.
*/
public class InfoDialogFragment ... | 151d5e2d6952fddeda68611c95b42dbcf6dc924a | [
"Java"
] | 4 | Java | troyishere/jntelelte | 8be61b74e91830386365a4e1e955643da912a226 | ac075d21b7fd18e29bf00a8a306d6b0ca4dbfcfb |
refs/heads/main | <file_sep># sample_site_vite
Sample Site with Vite
<file_sep>using System;
using System.IO;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Newtonsoft.Js... | c397cd48e8ea246187e1e98a7367026c7c3d66bb | [
"Markdown",
"C#"
] | 2 | Markdown | 1kevgriff/sample_site_vite | 80d43dcd637472c5fbee5c6f20bbf8e8623cc882 | 510e2e95390f247564bc72b8dc2d03207c9d4d7e |
refs/heads/master | <file_sep>from django.urls import path
from . import views
urlpatterns = [
path('logout/', views.try_logout, name='logout'),
path('login/', views.try_login, name='login'),
path('check/', views.try_check, name='check'),
]
<file_sep>from django.urls import path
from . import views
urlpatterns = [
pat... | 61a4ab177bc6ce66c0dedc1beda552bd655b4ce2 | [
"HTML",
"JavaScript",
"Markdown",
"Python",
"Text",
"Dockerfile"
] | 31 | Python | Butonix/flatype | d55e1b52014df570b809283726220358a0abc4fc | 331f6c32c6df727fd2a9670e1af72754e7575e8e |
refs/heads/master | <repo_name>jboegeholz/rust_katas<file_sep>/christmas_tree/src/main.rs
fn draw_christmas_tree(height: i32){
let mut val: String = String::new();
for i in 0..height {
for j in 0..height-i{
val.push_str(" ");
}
for k in 0..(2*i+1){
val.push_str("X");
}
... | 91dff9bd131e1791944152ca95afa5a791e11f7b | [
"TOML",
"Rust",
"Python"
] | 11 | Rust | jboegeholz/rust_katas | fd39c63d1cde26769b007436b2d7f773db52b481 | 3273e7cfbcf75623e77a8030de50c87c0642a70d |
refs/heads/main | <repo_name>cafedomancer/petstore<file_sep>/spec/support/committee.rb
RSpec.configure do |config|
config.add_setting :committee_options
config.committee_options = {
schema_path: Rails.root.join('schema/openapi.yaml').to_s,
query_hash_key: 'rack.request.query_hash',
parse_response_by_content_type: false
... | 43197b40ed3eab716a55c9de9f7ac1aac2a09c55 | [
"Ruby"
] | 9 | Ruby | cafedomancer/petstore | ce7d7d15f2252efe29e9b35c0f848fc8bce68f72 | 5e984a8ba980acca27b18b86fb92a2273dd2390a |
refs/heads/master | <repo_name>moisesolimpio/SistemaAtendimentoV2<file_sep>/DAO/estadoDAO.class.php
<?php
class estadoDAO {
public function getAll(){
$objVO = new estadoVO();
$retorno = array();
$sql = "SELECT * FROM estado";
$rs = mysql_query($sql);
... | a34c4d8908912a9fdc1c38c5044a722657704acf | [
"JavaScript",
"PHP"
] | 77 | PHP | moisesolimpio/SistemaAtendimentoV2 | 4815f049f4de683b31c6707890b2b6cde502089f | 2782ab9685faa9767e0f796bcab7fd7e350ed866 |
refs/heads/main | <file_sep># 4Balls_Procedural
Using Processing to complete a 4 balls challenge in procedural programming format
<file_sep>import processing.core.PApplet;
public class fourBalls extends PApplet{
public static final int WIDTH = 640;
public static final int HEIGHT = 480;
public static final int DIAMETER = 10;... | 8c27f1acdc6a6c0eecd7a82a4b74d987cc24cb55 | [
"Markdown",
"Java"
] | 2 | Markdown | Suvarna221B/4Balls_Procedural | 8b5933e4313995fb9761609e36fa9a458c20d466 | caaabe0ed16ee87e24d876b8e2fb2f50a1951b04 |
refs/heads/master | <repo_name>Eelis96/codeigniter-harjoitus<file_sep>/application/views/templates/header.php
<html>
<head>
<title>rojekti</title>
<link rel="stylesheet" href="<?php echo base_url(); ?>/assets/css/bootstrap.min.css">
<link rel="stylesheet" href="<?php echo base_url(); ?>/assets/css/style.css">
... | 5b959f07412f2a33ddda44da7437ea160c3f30a6 | [
"PHP"
] | 1 | PHP | Eelis96/codeigniter-harjoitus | ff6653991c7dd741590a4109f147ec87b68ee5be | 7cc2a21a60e45979da676af7392ce05162afc491 |
refs/heads/master | <file_sep>angular.module('simpf').controller('simpfController', ['$scope', '$injector',
function ($scope, $injector) {
var $interval = $injector.get('$interval');
var simpfService = $injector.get('simpfService');
var stop;
var times = 0;
$scope.startWatchDogTimer = function () {
... | 2a5c482d6cb2569f2b08d9999290461aaeae6c3c | [
"SQL",
"JavaScript",
"Markdown",
"Maven POM",
"Java"
] | 8 | JavaScript | neuroinformatics/guacamole-auth-simpf | f817c3b012ca91f1a228850b39d00ac2c4af21b8 | f3c36b7beb74eae401af361a7f9e463d8d84b686 |
refs/heads/master | <repo_name>lenincasco/ComunidadInformatica<file_sep>/server.js
var http = require('http'),
server = http.createServer()
server.listen(8080)
// Declaración normal de Servidor NodeJs
console.log('Servidor Escuchando en puerto 8080')
// Declaramos io como instancia de socket.io escuchando al servidor que creamos
var... | e6485ec7f2000568e1195e38f6e583de9f655f74 | [
"JavaScript"
] | 2 | JavaScript | lenincasco/ComunidadInformatica | 3a3609ebd7364423fd763932aa76bdee74b49bec | 2d156f06b036ec2e328954f2eeb54194b0c6948c |
refs/heads/master | <repo_name>jordenh/DE2VTT<file_sep>/csrc/utilities.h
#ifndef UTILITIES_H_
#define UTILITIES_H_
#define MAX_TOKENS 100
typedef enum command{
CONNECT,
DISCONNECT,
SEND_MAP,
SEND_TOKEN,
GET_DM,
RELEASE_DM,
MOVE_TOKEN,
HANDSHAKE,
PASS_MSG,
UPDATE_ALIAS,
OUTPUT_TOKEN_INFO,
DISCONNECT_DEV,
REMOVE_TOKEN,
GET_... | fb8a5bb3cea91d4ea0a8baebbe7c37887a33f7c0 | [
"Java",
"C",
"Python",
"Markdown"
] | 40 | C | jordenh/DE2VTT | ed47704920cb157c6e4bf9abd116f6d21815766c | 67c87d82b90ec54274b3a102029c8aa61443ae82 |
refs/heads/master | <repo_name>Pooleyo/peakfinder<file_sep>/peakrunner/in_peakrunner.py
root_directory = "/media/ajp560/data/Documents/codes/peakfinder.py/peakrunner"
subdirectory_prefix = "uncompressed_300K_"
subdirectory_suffix = ""
subdirectory_variable_list = ["10x10x10", "20x20x20", "30x30x30", "40x40x40", "50x50x50", "60x60x60", ... | 2869b115d4d1c6d87d5a40f7657a4a29904b3e0e | [
"Python"
] | 51 | Python | Pooleyo/peakfinder | 5ec54a8aceda4babca65e56438d5417390d01669 | 6c3b683bcc75ef68a1f2db765b7da7858f5ebae7 |
refs/heads/main | <file_sep>using System;
namespace tiendita
{
public class Pantalon : Prenda
{
//atributos
private String tipo;
//geter y seter
public string Tipo { get => tipo; set => tipo = value; }
public Pantalon(string Calidad, int CantStock, double Precio, string tipo)
{
... | df5a9d38dcd833d53981e5053a8104db61e47ddc | [
"Markdown",
"C#"
] | 10 | C# | alemago14/Exmaen | 23e4a3ad4ab735b20969907287ccd76ad9b0f572 | 628c1546a1636739a7f2411c48349b1815398854 |
refs/heads/master | <file_sep>#include <iostream>
template <typename T>
struct Node {
Node<T> * next;
T val;
Node() : next(nullptr), val() {}
~Node() {
delete next;
}
};
template <typename T>
int size(Node<T> * cur) {
int sz = 0;
while (cur != nullptr) {
++sz;
cur = cur->next;
}
... | 5d7ffdd3545236ff201f38ddd199e9c6b6d404e2 | [
"Markdown",
"C++"
] | 4 | C++ | DimasKovas/Code-Review-Tasks | 50d9e410b9575d00e417897ef5b80567aafdb675 | 5c8daff687f619e525e84ed7464ce498427d7354 |
refs/heads/main | <file_sep>import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import message from '@/pages/message/message'
import my from '@/pages/my/my'
import personinfo from '@/pages/my/personinfo'
import edit_personInfo from '@/pages/my/edit_personInfo'
import schedule from '@/p... | e77f814e763b61eadfe61d2e255bc1b1869104f6 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | Gravelwpy/cordova | d7d1cda14b761c2aaf9a7bcef33b0791e1740447 | fb9c1f45dfa922e3f983250e6450b9ef0743136e |
refs/heads/master | <repo_name>michaelephilau/MusicAudioVisualizer<file_sep>/Assets/Scripts/Graphing.cs
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System;
using UnityEngine.UI;
using System.Runtime.InteropServices;
using System.IO;
public class Graphing : MonoBehaviour {
//[DllImport("System.Win... | d7ac4e1945887ce165b17f957927e50e2880686c | [
"C#"
] | 1 | C# | michaelephilau/MusicAudioVisualizer | ca46b287b1d016d3f39aa4af05a2675d01f76bbe | 354ae76394471826887714fa0b2612235309af7e |
refs/heads/master | <file_sep>package com.yixuninfo.m2.base;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.yixuninfo.m2.ui.dialog.DialogFragmentHelper;
import com.yixuni... | 2a10645c83b9efc561c27c6a624359e3899414fc | [
"Java",
"Kotlin"
] | 54 | Java | xintanggithub/pattern | f143c8c37de26cbf9eaf1c3eb58659ba479017e1 | 3b66fb0ec04a2f7ec615b604661b5965f8f8b78d |
refs/heads/master | <file_sep>import React from "react";
import { InformationProvider } from "./InformationContext";
import Divider from "./divider";
import Nav from "./nav";
import Gallery from "./gallery";
import { BrowserRouter as HashRouter, Switch, Route } from "react-router-dom";
import MovieDetail from "./movieDetail";
import Rand... | 3762223df007140cc475d66bed83b0a5cab988e4 | [
"JavaScript"
] | 9 | JavaScript | TheMisko/OneFrame | c7a63a976a35a7608a028d5c2e2fad9f962a8b57 | 82932fed1d600ad9e0e24af4e4753a5516554d24 |
refs/heads/master | <repo_name>millerjs/yatou<file_sep>/src/yatou.cc
#include <algorithm>
#include <arpa/inet.h>
#include <cstddef>
#include <fcntl.h>
#include <iostream>
#include <limits>
#include <linux/if.h>
#include <linux/if_tun.h>
#include <map>
#include <netdb.h>
#include <netinet/in.h>
#include <stdio.h>
#include <stdlib.h>
#inclu... | e0ab17170505b5b538dc622a45ab0f0b3d10fe75 | [
"Markdown",
"Makefile",
"C++"
] | 4 | C++ | millerjs/yatou | 648bb03965c82aefd0a084cb4add4aeb06023efe | 402234b37a41ea25f3df1de0c886da82ab7a189e |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Twilio;
using Newtonsoft.Json;
using System.Net.Http;
using System.Net;
using Newtonsoft.Json.Linq;
namespace yqltext2
{
public partial class sms : System.Web... | 8bb63d264ec391cdcfbe93078557ab172f1b3ce3 | [
"C#"
] | 2 | C# | kenkaohy/LocalSearchCS | 9824337ac4cfe87bad863de6f5a56a2b04901d5a | cbd9116349e256b55571e7da341484dcbff4d4f1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.