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>15835229565/TongSheng_TSDZ2_motor_controller_firmware<file_sep>/motor.h
/*
* TongSheng TSDZ2 motor controller firmware/
*
* Copyright (C) Casainho, 2018.
*
* Released under the GPL License, Version 3
*/
#ifndef _MOTOR_H_
#define _MOTOR_H_
#include <stdint.h>
// motor states
#define BLO... | 1d0e051d0d0857d2ef731a6dd08d76e1f06dce48 | [
"C"
] | 19 | C | 15835229565/TongSheng_TSDZ2_motor_controller_firmware | c0f16b3e4e7ca37041527140c4370335eae9c225 | 4a136b9a990deec40e7379ea664dc731e14604e0 |
refs/heads/master | <repo_name>a-vzhik/ExtractFacebookThread<file_sep>/README.md
Sometimes you want to read a conversation on Facebook with a specified person, but doing this at Facebook site may be painfull. It requires scrolling up till the beginning of a conversation, then scrolling it down while reading.
Happily Facebook developers p... | 6cd019d77d66876835cf487971d794947544862a | [
"Markdown",
"Ruby"
] | 2 | Markdown | a-vzhik/ExtractFacebookThread | c246396248884aaee68c6e5af7f8c68a4dd708fb | bb37fabfce5b8920c5b7df9280520f133ad6c33a |
refs/heads/main | <file_sep>- [ ] Adicionar sistema de audio
- [x] Quando der play o butão player
- [ ] Next
- [ ] Previstes
- [ ] Loping
- [ ] Shuffle
- [ ] Controller do Time
- [ ] Auto Next
- [ ] <file_sep>import { format, parseISO } from "date-fns";
import ptBR from "date-fns/locale/pt-BR";
export function formatDataPublishedAt(dat... | df5678d701fe320cc312a7a52545bc8ded8f927f | [
"Markdown",
"TypeScript",
"Text"
] | 5 | Text | GustavoSantosCS/Podcastr-frontend | e4857b2f1167cab15dd3984c4061655b49d13f21 | fadc6d82f064c997e756cb363c8e9e2b3f6f299c |
refs/heads/master | <repo_name>BirdBeep/birbeep<file_sep>/Birbeep/src/Entidades/PeticionUPDATEMsg.java
package Entidades;
public class PeticionUPDATEMsg extends Peticion{
private Usuarios emisor;
public PeticionUPDATEMsg(){};
public PeticionUPDATEMsg(Usuarios emisor){
super(4);
this.emisor=emisor;
}
public Usuarios ge... | 416fb48d1db9074633305f7d41563fec36529040 | [
"Markdown",
"Java"
] | 10 | Java | BirdBeep/birbeep | eb5e846bbcd18dd7a99622575af4028713f2aac3 | c0e7d7bf83d701a37b11cd8cc987bc187417d385 |
refs/heads/master | <repo_name>jhnferraris/f-sa<file_sep>/app.js
const { performance } = require('perf_hooks');
const arguments = process.argv;
if (arguments[2] !== '--problem') {
console.log('Missing argument: problem');
process.exit(1);
}
const problem = arguments[3];
if (problem !== 'spring') {
console.log('It only supports spri... | 9296afcd3714ac2bd7673c7bc8130ee8ab587978 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | jhnferraris/f-sa | 33ff4852cd5929abc5bae093f9f464827e1b0393 | ae09f0f17e07a2d6f56fbd448637a7f0db3fb062 |
refs/heads/master | <repo_name>nherder41/pythonRegex<file_sep>/regexScript.py
import argparse
import re
parser = argparse.ArgumentParser(description="Match patters of files using regex")
parser.add_argument("-s", "--regex", metavar="", type=str, required=True, help="regex to find")
parser.add_argument("-f", "--file", type=str, metavar=... | 23ac5de5abc03ecd07e7c9c0adfbab31683a066b | [
"Python"
] | 1 | Python | nherder41/pythonRegex | d02c8ffa486d02dad53e5f7a9beea8b504fd8b2d | 62d00439352f3cfcd3e91fea1e9ad12c95383e28 |
refs/heads/master | <file_sep>package main
// DO NOT CHANGE THIS CACHE SIZE VALUE
const CACHE_SIZE int = 3
var lruMap map[int]node = make(map[int]node)
var head *node
var end *node
type node struct {
key int
value int
previous *node
next *node
}
func Set(key int, value int) {
if setNode, ok := lruMap[key]; ok {
set... | 0379275317c66ccab8e0fa03e77ea66439d8a714 | [
"Go"
] | 1 | Go | Niveditha-Jain/LRU-Cache | c41417a97974476324922fdc872177e8d7318f73 | 73c9e56118960cec6013cda8215d45e7c8214002 |
refs/heads/master | <repo_name>solarium-was-swapped-for-lunarium/SolariumCoin-MN-Install-Script<file_sep>/README.md
# Solarium Coin
Shell script to install an [Solarium Masternode](http://solariumcoin.com/) on a Linux server running Ubuntu 16.04.
***
## Installation:
wget -q https://raw.githubusercontent.com/solarium-community/Solariu... | 2041a3b0a1e0f496c117abb531be52641baf5672 | [
"Markdown",
"Shell"
] | 2 | Markdown | solarium-was-swapped-for-lunarium/SolariumCoin-MN-Install-Script | ad9ba6a614e4d0793db4d94bad15b3503f9a039b | aa77a7c49d4f5e0a0af53968229527b1d366879e |
refs/heads/master | <file_sep># LCKit
[](https://travis-ci.org/lattecat/LCKit)
[](https://cocoapods.org/pods/LCKit)
[](https://cocoa... | db5b11dc75dcee4859e16b91cdb5079e2ba0d0ec | [
"Markdown",
"Ruby",
"C++"
] | 3 | Markdown | LatteCat/LCKit | b411ff02ca155abc2f401df4a3219f1cbd982bd3 | bd4e7f4f7e17981c5068f4ea3ce67d2f6bd3e996 |
refs/heads/master | <repo_name>crisstianlino/Sistemas-de-Gerenciamento-de-Banco-de-Dados<file_sep>/ExternalMergeSort/src/ordenacao/EMS.java
package ordenacao;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.util.Scanner;
public class EMS
{
... | 4a343f2b020f5225a0b436712a5e0cfb28afeb25 | [
"Markdown",
"Java",
"Python"
] | 6 | Java | crisstianlino/Sistemas-de-Gerenciamento-de-Banco-de-Dados | 3a64d7a7234d05e917290af60d58bff1324af307 | dc4186cc35729a6b8da21763b41d1bde4d6d3ae8 |
refs/heads/main | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Telephone.Models;
using System.Data.Entity;
using System.Data;
using System.Net;
namespace Telephone.Controllers
{
public class HomeController : Controller
{
// ... | e279a4a720d097ae0446179842320c9e14df44fc | [
"C#"
] | 1 | C# | haidy-ismail/project | 86f623ad123c10b238f63c7a2250396390506cf7 | cb521dff381f4e27a31845e93d33c28a1bd590c5 |
refs/heads/master | <repo_name>yaoelvon/Flask-Fixtures<file_sep>/tests/test_default_fixtures_dir.py
"""
test_default_fixtures_dir
~~~~~~~~~~~~~
A set of tests that check the default fixtures directory of Flask-Fixtures.
:copyright: (c) 2016 <NAME> <<EMAIL>>.
:license: MIT, see LICENSE for more details.
"""
from __f... | 88758001e1e87c7e74c221319cca2659930b11c7 | [
"Python"
] | 1 | Python | yaoelvon/Flask-Fixtures | be2b170c17492d6befcf31126f653b87e907d138 | 5f2e466f346feead0ea790051377153ff67c7d04 |
refs/heads/master | <file_sep>ImageSpiral
===========
A work-in-progress image hosting site built using node.js, express, bootstrap and redis.
Current features include:
- Automatic thumbnail generation with customizable thumbnail sizes
- Automatic gallery creation and linking
- Sharing via forum and html embeds
- Dead simple single... | 107a747c3f7eec8cba5146b6ec56b9c84ed41788 | [
"Markdown",
"Shell"
] | 3 | Markdown | collectivecognition/imagespiral | b290e6c13122eb4ba28e2891c9f31bf7245aaf80 | 5ebf600f488b48d94abff8b59e1c373ff9f911fc |
refs/heads/master | <repo_name>chihirotange/neko_generator<file_sep>/Img.py
import pandas as pd
from DataGenerator import DataGenerator
import constants
from os import path
class CharacterImage:
def __init__(self, name, asset_list, df = (DataGenerator().data)):
"asset_list la list cac asset cau tao thanh img, gia tri mac din... | 60b3cbe140187e2380e738e49d7119c5ffe6f30b | [
"Python"
] | 4 | Python | chihirotange/neko_generator | 660d0db5eeb38af4f0946f924d95cb83939e83f4 | 9103b6db36f5a1dbe70aab08a98c73ee5110517b |
refs/heads/master | <repo_name>AnaisG14/hello-world<file_sep>/README.md
# Salut tout le monde/hello world
nouveau repository pour débuter
Je me lance depuis peu dans le code, après html5 et css3, me voilà partie pour php. première leçon, utiliser github et créer des commits.
2ème changement pour voir
modif directement sur mon ordinateur ... | 8c593e5f944920caf7ebded47f547a55dd9d1165 | [
"Markdown",
"Python"
] | 2 | Markdown | AnaisG14/hello-world | 8deae3d401cc00aea36aa56fab9ba644c361729f | 5b21649513fed5f374f176183a8ab740e6f55525 |
refs/heads/master | <file_sep>jQuery SimpleSlider
===================
Copyright (C) 2011 <NAME>
Overview
--------
jQuery SimpleSlider is a light weight panel sliding in page navigation plugin
for when you just need a simple sliding menu system and not the weight and
options of something like jqTouch.
Features
--------
Pass a containe... | 9da604955a60b8d8fcd20271e0bd682adea2ebfa | [
"Markdown",
"JavaScript"
] | 2 | Markdown | conzett/jquery.simpleSlider | ebeab940202ac3f06fafb8e41313e635a93da006 | 0789019a34b236125d060a2835ffea9914b1297f |
refs/heads/master | <file_sep>unit testing:
//movies.spec.js
describe("Testing the movies API", () => {
it("tests our testing framework if it works", () => {
expect(2).toBe(2);
});
});
Integration testing:
//movies.spec.js
const supertest = require('supertest');
const app = require('.../server');
describe("Testing the movies AP... | 2f2a0a16b954a21326808f897288dd89ff38c46b | [
"JavaScript"
] | 1 | JavaScript | sk807209/repo | 20675745badcc125a88f17697ad977e5c942cbf3 | f5db42f193f0fc2accf75cbbe1afb099d3031943 |
refs/heads/master | <repo_name>cran/CVR<file_sep>/R/myfunctions.R
## PMA package is needed to install CVR
## PMA depends on impute, which is removed from CRAN to bioconuctor
## Use the following to install impute
## (try http:// if https:// URLs are not supported)
## source("https://bioconductor.org/biocLite.R")
## biocLite("impute")
##... | 80aa9d85142231856b53c4408e150b155c07770a | [
"R",
"C++"
] | 5 | R | cran/CVR | 2acdcd2056bff2ec47c40a4e44d912bdff85ba71 | a6ea97e0ec66f1c5313422da29ee041c9afca98b |
refs/heads/master | <file_sep>from tensorflow.keras.models import Model
from tensorflow.keras.layers import Conv2DTranspose, Conv2D, BatchNormalization, Concatenate, Activation
from layers.AttentionGate import attention_gate, double_conv_layer
OUTPUT_MASK_CHANNEL = 3
# network structure
FILTER_NUM = 16 # number of basic filters for the... | 0486f56213bb15e08c15b1f9d902f71ca614ddab | [
"Python"
] | 5 | Python | guide2157/EffAttentionUnet | 4e9eefb5f6f3e14d4ec018e3dddc817767af5797 | 4495dd7ec6d7cb2dacdbb722f3bff9699584d996 |
refs/heads/main | <repo_name>pwez/Unity2D<file_sep>/Assets/Scripts/State/Attack/Special/NeutralSpecialAttackState.cs
namespace State.Attack.Special {
public abstract class NeutralSpecialAttackState : SpecialAttackState {}
}<file_sep>/Assets/Scripts/State/Attack/Regular/RegularAttackState.cs
namespace State.Attack {
public class Re... | e47ab6e8c2eb7084144fc3f97632e5ff86ee212d | [
"C#"
] | 65 | C# | pwez/Unity2D | 92eac0bee84c52b38ff3c8aad1b9617dd073d484 | 8de5b5f71cc73e6a1c23f6f4700ec06a74b71023 |
refs/heads/master | <repo_name>ale4motions/Car-Quiz<file_sep>/app/src/main/java/com/ale/carquiz/Level4CompletedActivity.java
package com.ale.carquiz;
import android.content.Intent;
import android.graphics.Typeface;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.view.ani... | 745221cc5a2e2f387e06d072403547ad93f9ad6b | [
"Java"
] | 1 | Java | ale4motions/Car-Quiz | 579e4f608cc0fbaf18b543832928fc0e621c7996 | 8745680f4c6266306ee5229bd112c98a95b07eea |
refs/heads/master | <repo_name>abada/classifieds<file_sep>/app/Category.php
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class Category extends Model
{
use SoftDeletes;
/**
* date attributes to be used by Carbon
* @var array
*/
protected $dates = ... | 3ac13e4a6d61d2ec939425a727c1f6f611e1f365 | [
"JavaScript",
"PHP"
] | 3 | PHP | abada/classifieds | c7b356bcf699413f216d2f8b6317435485fab0ff | 59f05ce2b00a910a789d61da3d8eab2a5f3ac6b6 |
refs/heads/master | <repo_name>zanane-meritis/SecondTrade-Business-DAO<file_sep>/src/main/java/fr/secondtrade/businessdao/repositories/IssuerRepository.java
package fr.secondtrade.businessdao.repositories;
import org.springframework.data.repository.CrudRepository;
import fr.secondtrade.businessdao.entities.Issuer;
public interface Iss... | 5c8925b2fc078147af5b45cf39587df2d24340bf | [
"Java"
] | 4 | Java | zanane-meritis/SecondTrade-Business-DAO | 36ab9196eb25994aa7361f08b31a77a85fe4692b | 7c8abbe914fa52aca9a27a8f9a7cd417f6e39ec8 |
refs/heads/master | <file_sep>#!/usr/bin/env python3
# <NAME>
# Project 2
import socket
import sys
import argparse
import os
# Socket Wrapper
class SocketInterface():
# Store socket information
def __init__(self, port):
self.socket = None
self.connection = None
self.host = ''
self.port = port
... | 63e282459bca61a41daf4b7465187c10df7fc96d | [
"Python"
] | 1 | Python | mcervco/Pyrum | b85b0b4a7af847e52950b7ea906ea2322e9bcb53 | d85f966a75c411980a1be154eb851d34331ab072 |
refs/heads/main | <file_sep>import "./styles.css";
import writer, * as HtmlPrint from "./DomWriter.js";
import RandomNumberCache from "./RandomNumberCache.js";
const writeToApp = writer(document.getElementById("app"));
writeToApp(
HtmlPrint.h1("Hello - Random Number Cache"),
HtmlPrint.p("Test promise caching using random number g... | 1784e67b28561684f4ee28b950b35f8dbcde6c5a | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | myramoki/cached-promises | 76add4c381e4f7580b5708b402c5c00bc672e340 | 6dab8b731abc84480cfa4505711455d9fe260646 |
refs/heads/main | <file_sep>// import express module
const express = require("express");
// import body-parser module
const bodyParser = require("body-parser");
// import mongoose module
const mongoose = require("mongoose");
// import Bcrypt module
const bcrypt = require("bcrypt");
// import nodemailer
const nodemailer = require('node... | 59059cd454db1e830a60b6dc6cccdd457222bfbb | [
"JavaScript",
"TypeScript"
] | 16 | JavaScript | houssem-amri/Auth-Using-JWT-facebook-login-multi-file-upload | 6d3bb6e5b18ffd210de7db55a36b55f4099ca0cd | fc6ccf32b895c219d7d929f737fb15481c2315d4 |
refs/heads/master | <repo_name>AndreasSummer/lokad-shared-libraries<file_sep>/Source/Lokad.Shared/Settings/DictionarySettingsProvider.cs
#region (c)2009 Lokad - New BSD license
// Copyright (c) Lokad 2009
// Company: http://www.lokad.com
// This code is released under the terms of the new BSD licence
#endregion
using System;
... | 24b79681d331d9f93a469b7cd6945654922d2f2c | [
"C#",
"Text"
] | 296 | C# | AndreasSummer/lokad-shared-libraries | a8b7467a4bac49db5f26f7dd4694c1e8f485140c | b5b76b706d62a7cacdf2b72dd78e55f09f6bec36 |
refs/heads/master | <repo_name>luyoutao/scater<file_sep>/R/areSizeFactorsCentred.R
#' Check if the size factors are centred at unity
#'
#' Checks if each set of size factors is centred at unity, such that abundances can be reasonably compared between features normalized with different sets of size factors.
#'
#' @param object A SingleCell... | 53ecf7506ebd86f7063b8f337d905d9df66cd0f6 | [
"R"
] | 6 | R | luyoutao/scater | 64c648926ae3a43267a9d4ea64da6585b095116f | 6b93ee6c25e799c0ba3c815629764561db2c3c2e |
refs/heads/master | <repo_name>clintko/BarcodeMatcher_tmp<file_sep>/src/cdist_str.cpp
#include "BarcodeMatcher.h"
#include <Rcpp.h>
using namespace Rcpp;
int hamming(const std::string& str1,
const std::string& str2) {
// init
//int dist = 1;
//*
int dist = 0;
int len1 = str1.length();
int len2 = ... | 836b198f4ac368f379755f730be3fb6c7ffd0a4d | [
"Markdown",
"R",
"C++"
] | 8 | C++ | clintko/BarcodeMatcher_tmp | 74d39aa0b4082aaf2d066143f5eede9d9a66f28a | f16430d6554dd11fa98261b400d7e419e9b8a29a |
refs/heads/master | <file_sep>#Step 0. Prepararing library needed and getting the files
#Calling dplyr library
library("dplyr")
#Download the data
url <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip"
download.file(url,"./web_computing_data_set.zip")
#Unziping
unzip("./web_computin... | fee61167c48d78f6bbcc4f29438cdf0ff1bc8d11 | [
"Markdown",
"R"
] | 3 | R | editholiva/getting-and-cleaning-data-project | 5f273f0e2b949419e37b7d9a8a2d19e59cbebb8b | 0d1fcc5e37f1c3d7d3990140643e529aabea5506 |
refs/heads/master | <file_sep>MM.Format.FreeMind = Object.create(MM.Format, {
id: {value: "freemind"},
label: {value: "FreeMind"},
extension: {value: "mm"},
mime: {value: "application/x-freemind"}
});
MM.Format.FreeMind.to = function(data) {
var doc = document.implementation.createDocument(null, null);
var map = doc.createElement(... | 1039e5d6535a3d5e8a63498e328b19dc63f7fc24 | [
"JavaScript",
"Makefile"
] | 2 | JavaScript | HassanChiang/HassanChiang.github.io | 83f5e90182c679ec0a86c9049572d11f142588aa | 8685a58587670cd138af8acec8b85cd6e8a6c9c4 |
refs/heads/master | <file_sep>.account 公開用アカウント
[openzeppelin のインストール](https://github.com/OpenZeppelin/openzeppelin-contracts-ethereum-package)
npm install @openzeppelin/contracts-ethereum-package
[apiのtest](https://ch7s5hybm7.execute-api.ap-northeast-1.amazonaws.com/dev)
tx-get:scanで全件取得してフロント側でFromAddressでフィルター or scan後にFromAd... | 37a93a24de63af779aea4c2f47a204a47a609b6f | [
"Markdown",
"C",
"JavaScript",
"PHP"
] | 32 | Markdown | YotaSakurai/my_product | ab36c903ad8560841d1dd358e98a8602a75bb693 | becadad2eb3e81c95215be1083b8aada4840f287 |
refs/heads/master | <repo_name>eseawind/GyAutoSelenium<file_sep>/src/com/guyi/Base/CarDetailPage.java
package com.guyi.Base;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
public class CarDetailPage extends BasePage {
//³µÅÆÊ÷
WebElement carTreeMenus ;
public CarDetailPage(WebDriver d) {
super(d);
... | f951631d0e42964ef844c9570088af0a71df2d4a | [
"Markdown",
"Java",
"INI"
] | 9 | Java | eseawind/GyAutoSelenium | b9198e3f00514f02ea23053cd60d7b45cbaf369a | c6ad8e65500de366b7ed127d561b04c9dcf8431f |
refs/heads/master | <repo_name>BradyMcd/hid-acer-one<file_sep>/Makefile
# Comment/uncomment the following line to disable/enable debugging
# DEBUG = y
MODULE_NAME = hid-acer-one
KVER = $(shell uname -r)
MODDESTDIR = /lib/modules/$(KVER)/kernel/drivers/hid/
# Add debugging flag (or not) to CFLAGS
ifeq ($(DEBUG),y)
DEBFLAGS = -O -g -DSHO... | 438e4fec2529f20649c52e5a732a4b77731ae52d | [
"Markdown",
"C",
"Makefile"
] | 4 | Makefile | BradyMcd/hid-acer-one | b15f93d08f4ffc512a439c6a823bc390490c0c17 | 328e24f39e5efeb7186aab8cdb195998d510d0db |
refs/heads/master | <file_sep>Given a string, compute recursively a new string where all appearances of "pi" have been replaced by "3.14".
Sample Input 1 :
xpix
Sample Output :
x3.14x
Sample Input 2 :
pipi
Sample Output :
3.143.14
Sample Input 3 :
pip
Sample Output :
3.14p
+++++++++++++++++++++++++++++++++++++++++++++++++++
public class ... | 6cc590ab382d14325f46ab03fc224d81dc28ee54 | [
"Java"
] | 9 | Java | kunal8411/Coding-NInja | f6a0c75869fe3a98e5cadefd7b4b064bf463370d | 40558ca762722fb65864dcb4fca8a9b7d1d702db |
refs/heads/main | <file_sep>
//@desc get all bootcamps
//@access public
// @route GET api/v1/bootcamps
const ErrorResponse = require('../utlis/errorresponse');
const asyncHandler = require('../middleware/async');
const Bootcamp = require('../models/Bootcamp');
const geocoder = require('../utlis/geocoder');
exports.getBootcamps = asy... | 2013a6542f47665e143336435d2a30570f047c8e | [
"JavaScript"
] | 2 | JavaScript | Souvik-Banerjee2000/devcamper | 183ea0c2a6e4927e247c9fb73ba555fca4aa8c7c | 1e51eb208fd3f8dc6520d37e80885a52f82fe968 |
refs/heads/master | <repo_name>xiaobao5214/javatest<file_sep>/src/V.java
/**
* Created by jingbao on 2017/7/14.
*/
public class V {
}
<file_sep>/src/BigNumber.java
/**
* Created by jingbao on 2017/7/14.
*/
public class BigNumber {
public static void main(String[] args) {
System.out.println(getBigNumber("135268079"));
}... | b151e248342d14b785e470855bed12ad4c2a6a04 | [
"Java"
] | 3 | Java | xiaobao5214/javatest | af89f623a60806d1fb06cca9c118cc2641635827 | 7b602ca38379989b27e0690d9177c8c0b2b3142e |
refs/heads/master | <file_sep>import Tiempo from "./tiempo.js"
import Fecha from "./fecha.js"
import ElementoPedido from "./elementoPedido.js"
import Cliente from "./cliente.js"
import Direccion from "./direccion.js"
import Precio from "./precio.js"
import Producto from "./producto.js"
import Pedido from "./pedido.js"
export def... | 5b3f989a8fcfd8348d94f98acb6e4014c07d3f17 | [
"JavaScript"
] | 4 | JavaScript | POO-2020/tarea-02-encapsulacion-y-herencia-el-restaurante-PaAdRaAg | 7cdc5250541ddf1ff88e98b4a41344939a557fab | 96231ed7033c1df527f99e8b2af607e9086217b2 |
refs/heads/master | <file_sep>'use strict';
const getPlugin = require('./get-plugin');
module.exports = getPlugin;
<file_sep>'use strict';
function formatApiData(response) {
const body = response.getBody();
return body.data || [];
}
module.exports = formatApiData;<file_sep>'use strict';
const getPlugin = require('./get-plugin')... | 43b120b90e91be7ae00d6639a62f7f47a9a2fdb6 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | ZengineHQ/zn-backend-get-plugin | aa7e73290bea81a74a1bdf81b1a15d65852d10d7 | 6174734356791322d21c7fe1e883049c8be503ef |
refs/heads/master | <repo_name>tsiiiboho/hambasafe<file_sep>/Server/Hambasafe.Server/Services/TableStorage/ITableStorageService.cs
using Microsoft.WindowsAzure.Storage.Table;
namespace Hambasafe.Server.Services.TableStorage
{
public interface ITableStorageService
{
void Save(string connectionString, string tableNam... | b6fa70144b67fd31f749e02ed86aa2d78ab48ac6 | [
"Markdown",
"C#"
] | 28 | C# | tsiiiboho/hambasafe | ff2744bdcbd879f6f3182e972b47d2203cdce638 | e7baa12a94731aa5e1868ad72bc04a333c63b5a7 |
refs/heads/master | <file_sep>#!/bin/sh
case $1 in
config)
cat <<'EOM'
graph_title Mastodon local statuses
graph_vlabel statuses
graph_category mastodon
graph_args -l 0
local_statuses.label local statuses
local_statuses.min 0
EOM
exit 0;;
esac
printf "local_statuses.value "
echo "SELECT COUNT(*) FROM statuses AS s, a... | 8c56d2f5b2fbfa84f7896aa3e11fdf5fea7b999f | [
"Markdown",
"Shell"
] | 5 | Shell | 0xa/mastodon-munin | bd427a333dd3819b1093bcfc0fdf3372b90403aa | 458916fc7ad229523e452d096f59e5dc2b926bef |
refs/heads/master | <repo_name>TyronSamaroo/Tyron-Samaroo-DP<file_sep>/GlassFalling.java
/**
* Glass Falling
* Author: <NAME>
*/
public class GlassFalling {
// Do not change the parameters!
public int glassFallingRecur(int floors, int sheets) {
// Fill in here and change the return
// Base Case. If no floors n... | 7c49d41ab7aebf654231b366f44460152054d20a | [
"Java"
] | 1 | Java | TyronSamaroo/Tyron-Samaroo-DP | 66a6d93ba30be75a5d5d89714332e45217c75e3d | 368fa503a3195c19a16339962fdeff59f7cbd846 |
refs/heads/master | <file_sep><!doctype html>
<html>
<head>
<title>Articles</title>
<?php include($_SERVER['DOCUMENT_ROOT'].'/res/php/head.php'); ?>
</head>
<body>
<?php include($_SERVER['DOCUMENT_ROOT'].'/res/php/sidebar.php'); ?>
<div id="content-wrapper">
<div id="top-bar">
<img id="menu" src="/res/images/menu.svg" />
... | e6287cbdc75f05eb2d0fb90cc8c2dea724703691 | [
"Markdown",
"PHP"
] | 2 | PHP | GibsDev/website | 6b94163de4fb3f593b66083ed24681c1de503e60 | 9b3801e35a75d190f4a4506b2b5b6dd4336e5644 |
refs/heads/master | <file_sep>$(window).load(function(){
"use strict";
/* ========================================================== */
/* Popup-Gallery */
/* ========================================================== */
$('.popup-gallery').find('a.popup1').magnificPopup({
type: 'ima... | f3c1bb8835906e13520ed52a0554e3a797143f06 | [
"JavaScript"
] | 1 | JavaScript | kor1k/job_new_coffee_guirrella | 3f1d75d4e92b4c1715fd897687f062a887f12f96 | c7ac9cdbd2d09edec3438db2574349fd3963633f |
refs/heads/master | <file_sep>import React from "react";
import TableRow from "@material-ui/core/TableRow";
import TableCell from "@material-ui/core/TableCell";
import CustomerDelete from "./CustomerDelete";
const Customer = ({ id, img, name, birthday, gender, job, stateRefresh }) => {
return (
<>
<TableRow key={id}>
... | 830b1e6ca300bbac9baafe35e35bbabc9363a473 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | hyoilll/react-node-rds | 48d3696a448583bbb3b1ac196f41f9f9adb25968 | f4570e17e87c3c572cdb06486b998f9e57726ee8 |
refs/heads/master | <file_sep>/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... | 7edb84383c60b87bf4957dbc970c6788bdc52dcf | [
"Markdown",
"Java",
"Gradle"
] | 7 | Java | amoseui/android-music-renewal | 1889e1cc10f62554ae2d00bd31c9f3dee256d8e5 | b2a68f3c996e1a26b1a5114b672806f1c2ee6b84 |
refs/heads/master | <repo_name>wjessop/sectionwriter<file_sep>/examples/example.go
package main
import (
"fmt"
"os"
"sync"
sw "github.com/wjessop/sectionwriter"
)
var data = []byte("0123456789abcdefghij")
func main() {
f, err := os.OpenFile("somefile", os.O_RDWR|os.O_CREATE, 0755)
if err != nil {
panic(err)
}
defer f.Close()... | 2d0ddfe725f5cafa65062b31f3e2eae57ab6a3ff | [
"Markdown",
"Go"
] | 4 | Go | wjessop/sectionwriter | f3ebd13c8f1a37ce33c6106ea51822191a54495f | 9b0b9e17c598b2fab4ef43d2444714b20a39ba51 |
refs/heads/master | <repo_name>ABahirat/Microtubule-Analysis<file_sep>/test_scripts/test_bundles_noise.sh
cd ..
python hmm.py -L data/bundles_lengths_noise_1.csv -S data/bundles_states_1.csv -O data/bundles_lengths_noise_2.csv -T data/bundles_states_2.csv -A viterbi -B -0.2,0.0,0.2
<file_sep>/test_scripts/test_singles.sh
cd ..
python hmm.... | 2501a09693cd0063330eaba63828825b4111eb36 | [
"Markdown",
"Python",
"Shell"
] | 9 | Shell | ABahirat/Microtubule-Analysis | 731efbedff80126edca011def1b900acaa4ad571 | 9c44dcc022905450c6cf608c35cf9c48533e8595 |
refs/heads/master | <file_sep>const { Heatmap } = G2Plot; // REQUIRED: import from G2Plot
const heatmap_data = [
{ name: '4', year: 'A', rain: 0 },
{ name: '4', year: 'B', rain: 80 },
{ name: '4', year: 'C', rain: 80 },
{ name: '4', year: 'D', rain: 80 },
{ name: '5', year: 'A', rain: 80 },
{ name: '5', year: 'B', rain: 10 },... | a85ab467d858b86f94dca196fffdf5033aa652d8 | [
"JavaScript",
"TypeScript",
"Markdown"
] | 28 | JavaScript | antvis/thumbnails | f6704ecf64048343e747e68c42b06f34b45635d5 | 6ad6a01a153391eeb7fb6953c3a1bda0e94c62a2 |
refs/heads/master | <file_sep>/**
* `Namespace` constructor.
*
* @api private
*/
function Namespace(name, parent) {
this.name = name || '';
this.parent = parent || null;
};
/**
* Fully qualified name.
*
* Examples:
*
* ns.qname();
* // => "net:http"
*
* ns.qname('www');
* // => "net:http:www"
*
* @param {St... | a46d6e1ebb279e1845392e370c4f96b813a5e81d | [
"JavaScript",
"Markdown"
] | 13 | JavaScript | jaredhanson/rivet | d59849034d215a9fb3e577ed4a6be4d4aa0b8e93 | 78e37c47ad943d0e8d1ee21ed60e9869293a413f |
refs/heads/main | <file_sep>package controller;
import java.util.List;
import user.Student;
public interface TestDao {
public List<Student> getAllStudent();
}
<file_sep>/*
Navicat MySQL Data Transfer
Source Server : localhost_3306
Source Server Version : 80013
Source Host : localhost:3306
Source Database :... | 682cb3ba98b3b5f600186b79f624eb135e2baf7d | [
"Java",
"SQL"
] | 3 | Java | Meiqinzhou/Web08-News | 875d04040b03be4d5b3b0026f466d00e421c4654 | e17b160bf6429ca9516497c6f16a6af52b54067d |
refs/heads/master | <repo_name>balakrishnacarnation/real-time-weather<file_sep>/src/App.js
import React, { Component } from 'react';
import './App.css';
// import uuidv4 from 'uuid/v4'
import Amplify, { PubSub } from 'aws-amplify';
import { AWSIoTProvider } from '@aws-amplify/pubsub/lib/Providers';
import request from 'request';
Amplif... | eb2c3ae050e2c4c5d64b407c769f5e4b2280f770 | [
"JavaScript"
] | 2 | JavaScript | balakrishnacarnation/real-time-weather | 5106e92eedd68820c4bfb04b099bd0b77e8e5e51 | 6474f88f49b49cb6e41212be10560fe59eea2c20 |
refs/heads/master | <file_sep>module Concerns::Memorable
end<file_sep>module Concerns::Findable
def find_by_name(name)
@selectedObject = nil
self.all.each do |currObject|
if currObject.name == name
@selectedObject = currObject
end
end
@selectedObject
end
def find_or_create_by_name(name... | e9ff2fa5b3237ce9e08f906636d85412769fc343 | [
"Ruby"
] | 3 | Ruby | eliyooy/ruby-music-library-cli-v-000 | 310a6eb2ae77073920cbdbe717790ea45c7c9c8b | f331aff7c0868c63b24693160b9eba5532906145 |
refs/heads/master | <repo_name>AlexS7/AncientGreek<file_sep>/grails-app/assets/javascripts/dynamicFileUploaderFieldAdder.js
/**
* Created by alex on 27/06/15.
*/
$( document ).ready(function() {
$(".addCitationFile").click(function () {
var originalField = $('.citationFilesUploaderWrapper').last();
var newFileInput ... | dd96d03b3959147a0163fa6cb60dc9d9005f0170 | [
"JavaScript"
] | 1 | JavaScript | AlexS7/AncientGreek | b141074ecbd615a7722dc7636b62dbe5bf6b77d9 | 3900262a0fddb9dcfeff952465d278e5adcd5b2e |
refs/heads/main | <file_sep>import os
from subprocess import call, check_output
from configobj import ConfigObj
import re
import email
import notmuch
config = ConfigObj(".davemailrc")
for maildir in config:
# Prevent the new tag from being mapped to a folder.
if "new" in config[maildir]["tag_folder_mapping"]:
del config[maildi... | dcfd290d47090d38eaa86a20e01fc935ee8e407e | [
"Markdown",
"Python",
"Shell"
] | 5 | Python | kzar/davemail | 9b8f9ee966d28e74ac74f2d41b9a68deda022567 | 259713e3fa6d2aad81fdf243b6d194bc77ca74fb |
refs/heads/master | <repo_name>Jimam-Tamimi/django-chatbot<file_sep>/home/urls.py
from django.urls import path
from django.urls.conf import include
from home import views
urlpatterns = [
path('',views.index)
]
<file_sep>/home/admin.py
from django.contrib import admin
from home.models import Tag, Message, Reply, Data, MessageException... | f61e46968578d68f6141d2b6a63c148a97badbe6 | [
"JavaScript",
"Python"
] | 16 | Python | Jimam-Tamimi/django-chatbot | e9abba28369c61a61b57a691b22dd2c44559f50b | 8f5afffbecd65ea496476f84f57445e18d090cb2 |
refs/heads/master | <file_sep>import logging
import os
import time
from logging.handlers import RotatingFileHandler
import requests
import telegram
from dotenv import load_dotenv
load_dotenv()
PRACTICUM_TOKEN = os.getenv("PRACTICUM_TOKEN")
TELEGRAM_TOKEN = os.getenv('TELEGRAM_TOKEN')
CHAT_ID = os.getenv('TELEGRAM_CHAT_ID')
URL_PRACTICU... | d8ac7ac08844c08b206c770cb70f720821aced54 | [
"Python"
] | 1 | Python | Jejevkin/api_sp1_bot | af68bee7446e460ae66cd659d293a57faf244d02 | 2edb251d4ff79d96c43570e7ebca727e1808a199 |
refs/heads/master | <repo_name>alejandrochang/AA_Projects<file_sep>/KnightPathFinder.rb
class KinghtPathFinder
def initialize(start)
@start = start
@root_node = root_node
end
def
end
end
| 7c8a789a9926afabfd823a109144562bb1ec509d | [
"Ruby"
] | 1 | Ruby | alejandrochang/AA_Projects | e72c720b2c478d238f7b96548aac930d91cae342 | 800d75d3edd658dfce0e05c815e019a824ec112b |
refs/heads/master | <repo_name>jesusodallem192/paises_js<file_sep>/index.js
const listaPaises = document.getElementById("lista-paises")
const decripcionPais = document.getElementById("descripcion-pais")
const extraerTodosLosPaises = () => {
fetch ("#").then(
(response) => {
return response.json()
}).then((... | 720f80b1d3b9f1af4ebe51b1d8ff8cc8e7de930d | [
"JavaScript"
] | 1 | JavaScript | jesusodallem192/paises_js | f932fb8aff09d3be33d440d187850c5210742f61 | fb5213d91ab05b9c2cfe9eec998dec0dec0473fa |
refs/heads/main | <repo_name>DaniilE2000/photo_assess_service<file_sep>/commands/CommandsController.php
<?php
namespace app\commands;
use yii\console\Controller;
use yii\httpclient\Client;
class CommandsController extends Controller
{
public function actionPostTest()
{
$file = curl_file_create('./files/1.jpg');
... | 4f16e2c1d5b02ad6a70c4fc13b880da583334bb2 | [
"SQL",
"PHP"
] | 9 | PHP | DaniilE2000/photo_assess_service | d446e8f7f248440a9b56db8d142a1bd13907abf6 | 8e7d0199e31abb29446de6ca430bb907adaa5f00 |
refs/heads/master | <file_sep>
#include "BinaryTree.hpp"
#include <algorithm>
#include <cstdlib>
#include <ctime>
#include <functional>
#include <iostream>
#include <map>
#include <memory>
#include <string>
#include <vector>
using namespace std;
using namespace ariel;
template<typename T>//t
BinaryTree<T> create_simple_tree(int adder = ... | d61801442dc0694a1e7c18a023e4d69c9987fb8c | [
"C++"
] | 3 | C++ | yuvalmarmer/binarytree-b | 32c901c468b9b8d76774e1be4710c6a3b07d0ac9 | 8af7e716efaee9785e383be074f16baba9feefe0 |
refs/heads/main | <file_sep># Overview
The included Ansible playbook will export the configured gold BIG-IP ASM policy and place it in source control with a datestamp tag.
# Requirements
You'll need to ensure you have Ansible install. The following instructions are for Ubuntu:
```bash
apt-add-repository ppa:ansible/ansible
sudo apt upd... | f5c713272550695d5478390f3cd90cf2b6d8b35a | [
"Markdown",
"Ruby",
"Shell"
] | 10 | Markdown | perbonielsen/azure_terraform_waf | 50a7ee626ce9f7fa365c7eec19a97706a0eb4a5e | 4181033e629dd5669b05e98a826752b03146e8c1 |
refs/heads/master | <repo_name>awadhesh22791/disk_usage_notifier<file_sep>/disk_usage_notifier.sh
#!/bin/sh
## specify the partitions to ignore initialy set up for Filesystem|tmpfs|udev
df -H | grep -vE '^Filesystem|tmpfs|udev' | awk '{print $5 " " $1}' | while read output;
do
echo $output
usep=$(echo $output | awk '{ print $1}' | cu... | 096f0b46d85a5355f62c702567f9291c8d36449d | [
"Markdown",
"Shell"
] | 2 | Shell | awadhesh22791/disk_usage_notifier | f3a4a77458f44f7d7623fdfcf3214304362cb5b3 | 903d54f7091ee11f478baae9de9f0db99cadeabc |
refs/heads/master | <repo_name>PedroG386/Tienda<file_sep>/LogicaDeNegocio/Login/OperacionesLogin.cs
using System;
using System.Collections.Generic;
using System.Text;
using Entidades;
using SotoredProcedures;
namespace LogicaDeNegocio.Login
{
public class OperacionesLogin
{
//Get
public static Entidades.Usuarios... | 1d422fae1b653322d0ef6aea193df18939a2a144 | [
"C#"
] | 14 | C# | PedroG386/Tienda | 85db4b8be65dc110204e006b5546c7d35d26687a | bc401849b04893754e7bbdd9f72d8314b8700a41 |
refs/heads/master | <file_sep># openmocap
Programs related to my matura thesis.
`firmware` contains Arduino programs for WiFi-enabled IMU/MARG sensors
`server` contains a server to receive data from WiFi-enabled sensors
`imu-mocap` contains files related to the processing of sensor data
`recordings` contains three recordings made usi... | 327cacabccfe58424117f03a143d065eabe08fd3 | [
"Markdown",
"Python",
"C++"
] | 6 | Markdown | Massendefekt/openmocap | 8ea89e9016ce3f5fc7d952c4bdcbe212cc9e3932 | 86631de3c4ec2fc08686c3e96b98e61f65d71491 |
refs/heads/master | <repo_name>skarapedulbuk/Androi_HW_01<file_sep>/app/src/main/java/com/skarapedulbuk/HW1/MainActivity.java
package com.skarapedulbuk.HW1;
import androidx.appcompat.app.AppCompatActivity;
import android.annotation.SuppressLint;
import android.os.Bundle;
import android.widget.Button;
import android.widget.CalendarView;
... | 8ad6bb5e53bb6fd6120d87c23f420c5bedca495f | [
"Java"
] | 1 | Java | skarapedulbuk/Androi_HW_01 | fe50cd45a46604a6852d4aa4fcd4c746595fb085 | dc59dc9e6b32e4aab8534bc06df1685b1f792ccf |
refs/heads/master | <repo_name>AdamHodgson/HackerRank<file_sep>/Algorithms/Warm up/DiagonalDifference.java
import java.util.*;
import java.math.*;
public class Solution {
public static void main(String[] args){
Scanner in = new Scanner(System.in);
int n = in.nextInt();
int[][] array = new int[n][n];
... | de42af9c390e7ec1bdbdd29709ba5f1da0572c9c | [
"Java"
] | 3 | Java | AdamHodgson/HackerRank | e61864948007a4dbbc291dd1df04069d72d22769 | d8fb394c2df40e822a626d9485f00ea36c383b87 |
refs/heads/master | <file_sep>#-*- coding: utf-8 -*
__author__ = 'Howie'
import tornado.escape
import hashlib
from methods.pDb import newsDb
from config.n_conf import admin
from handlers.base import BaseHandler
class IndexHandler(BaseHandler):
def get(self):
self.clear_cookie("user")
self.render("index.html") if admi... | 74b6523512f17f4c18096b956e4c3c074b53cf4c | [
"Markdown",
"SQL",
"Python",
"JavaScript"
] | 51 | Python | howie6879/getNews | ab5ad56c8520e60d5f568deed0081dfc127b7cd9 | f7fdbd310c0e48a8a2c74504aa27893d25354ba1 |
refs/heads/master | <file_sep>require("regenerator-runtime/runtime");
import { checkForName } from '../client/js/nameChecker'
describe('Test, the function "checkForName()" should exist' , () => {
test('It should return true', async () => {
expect(checkForName).toBeDefined();
});
});
describe('Test "checkForName()" should... | 244af8e72333f998d1994816634ddad0826fc69d | [
"JavaScript"
] | 1 | JavaScript | luisguerra44/fend-webpack-content | deda50c27a898316596c577a207c004e2b369a73 | f16c5097153a57404e822f06ab92a9b70413ee26 |
refs/heads/master | <repo_name>SherJlok15/cook_book_v3.0<file_sep>/client/src/components/Main.js
import React, { Component } from 'react';
import { Switch, Route, Redirect} from 'react-router-dom';
import NavBarContainer from './NavBarContainer';
import RecipesListContainer from './RecipesListContainer';
import CreateNewRecipe from './Cre... | fb741dd03a4ceccf0ceeddb7bda27716f58f16bc | [
"JavaScript",
"Markdown"
] | 13 | JavaScript | SherJlok15/cook_book_v3.0 | f84dc708e07c1c0e23e1644549b6a2f8b17c1916 | 30986e3b090a87ba8d5eb42fd1d1a385c3db3fdb |
refs/heads/master | <file_sep>/**
* This software was developed at the National Institute of Standards and Technology by employees of
* the Federal Government in the course of their official duties. Pursuant to title 17 Section 105
* of the United States Code this software is not subject to copyright protection and is in the
* public ... | 70e2e017408853f8034d17011e48c5a5ee42edc3 | [
"Java"
] | 1 | Java | davidcozsmith/hit-erx-tool-config | 32110e5483871c0194429693bb7cc7b3980dc6d7 | c9a404223a987aa46366f5a2c0dd1c2a6e5524a8 |
refs/heads/master | <file_sep>import matplotlib # isort:skip
matplotlib.use('TkAgg') # isort:skip
import matplotlib.pyplot as pl # isort:skip
from dotenv import load_dotenv
from flask import Flask
from flask_sqlalchemy import SQLAlchemy
from sqlalchemy.ext.declarative import declarative_base
import json
import logging
import numpy as... | 6ce52c7d9ec42712445b763bf3e8751929b5b926 | [
"Python",
"HTML"
] | 10 | Python | abhishek8899/Relevance-Credibility-NLP | 900571d51fc4b6902fd9945e94a53d25493754df | c5bcfeff9f341b96ee4789f4791c1e6c53172c62 |
refs/heads/main | <repo_name>besiobu/cryptocollector<file_sep>/cryptocollector/cfg/config.py
# Logger settings
LOG_FORMAT = '%(asctime)s.%(msecs)03d | %(levelname)10s | %(module)25s | %(funcName)25s | %(message)s'
DATE_FORMAT = '%Y-%m-%d %H:%M:%S'
# Coinbase settings
COINBASE_CFG = {
'url': 'wss://ws-feed.pro.coinbase.com',
'ch... | 77425fabb59523684b53e899dee0765a0077ee89 | [
"Markdown",
"Python",
"Text"
] | 14 | Python | besiobu/cryptocollector | 7886ff5d4a6e9961f65a3dad121e7496e0b74d47 | 60ed5972330cdb33611ba849241a96f523fd1e69 |
refs/heads/main | <repo_name>nsantos16/bcu-cloudflare-worker<file_sep>/src/handler.ts
interface BcuResponseCotizaciones {
ArbAct: number
CodigoISO: string
Emisor: string
Fecha: string
FormaArbitrar: number
Moneda: number
Nombre: string
TCC: number
TCV: number
}
interface BcuResponseStatus {
status: number
codigoEr... | 9c439e460a3e5db27d3b8f67e6b673712a237bb6 | [
"TOML",
"TypeScript"
] | 2 | TypeScript | nsantos16/bcu-cloudflare-worker | 6b06fa7f253118915fddc62339170dbbbacc98d7 | 7018ad0bdea4f808305f90be6ce6080ffd64528c |
refs/heads/master | <file_sep><?php
/**
* Created by PhpStorm.
* User: caoych
* Date: 2017/2/12
* Time: 15:30
*/
namespace CAO\TvSeriesBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
/**
* Tv Series
*
* @author <NAME> <EMAIL>
*
* @package TvSeriesBundle\Entity
*
* @ORM\... | 315f8fb6b39321a6c2b28bb3609ea7c1fea92d6c | [
"Markdown",
"PHP"
] | 11 | PHP | Jostar1024/tvseries | 5f78563eb61741672a4a6e1504c44b643718ad86 | de1259ce7a64b72f08485589892bd06b5a19dd83 |
refs/heads/master | <file_sep># ConwayGameOfLife
Game Overview:
Launch the app to begin the game. Use the mouse to select one of two options; play or generation selector. The generation selector will allow you to select the number of generations you wish to simulate. Enter this value in the provided space and click done once you have ty... | efb9832eed7c3d3657741ab481115cf75059912a | [
"Markdown",
"Java"
] | 4 | Markdown | AnjanaSomar/ConwayGameOfLife | 40e9c983c11abd3359ddbec86cbdb60b251e3ca7 | e5df3dd3e18d852287ff1feb3987dffbf5148ad8 |
refs/heads/master | <file_sep>using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Attackable : MonoBehaviour
{
const int LMB = 0;
const int RMB = 1;
const int MMB = 2;
bool isMouseDown = false;
PlayerControl player;
private void Start()
{
player = GameObject.F... | 620db74553cb42e4d734c311f13d46bd006c9681 | [
"C#",
"Text"
] | 33 | C# | Zeroclipse/Torchlight-Clone | f97bae390ef2f9f11a282e78d90d37e00b32586e | 3c4dcd4e3981452a665283c4443f47852b3360d0 |
refs/heads/master | <repo_name>33priya/LearnCamel<file_sep>/learncamel-transform/src/test/java/com/learncamel/routes/defaulterrorhandler/DefaultErrorHandlerRouteTest.java
package com.learncamel.routes.defaulterrorhandler;
import org.apache.camel.RoutesBuilder;
import org.apache.camel.test.junit4.CamelTestSupport;
import org.junit.Test;
... | a0831cad6135d11701495f84b1d4eee617009d5a | [
"Java"
] | 7 | Java | 33priya/LearnCamel | 0de023b6812018940592ed40bdceef32b13184ca | 72826b2b248748f976948b2a09a70909b61d75b9 |
refs/heads/master | <file_sep>/* Set up imports */
import { register } from "./config/config.js"
import ActiveTimelinesApp from "./apps/ActiveTimelinesApp.js";
import { timelineFolderId, constants } from "./utils.js"
import { preloadTemplates, renderTimelineBodyTmpl, strEqual } from "./hbs-templates.js"
import * as logger from "./log... | 234014df1dde56c0f9b19090557d27e706ecb63b | [
"JavaScript",
"Python",
"JSON with Comments",
"Dockerfile"
] | 13 | JavaScript | teberger/foundry-vtt-timeline | e6d84bc6bc203330d2177734d3f4bfec24b74429 | 54bc01197a9a73d15bc62b4fd8472d6c56392bcf |
refs/heads/master | <repo_name>matheus0608/date-php<file_sep>/week.php
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Week</title>
</head>
<body>
<?php
$month = date('n');
$month_in_br = array(
'1' => 'Janeiro',
'2' => 'Fevereiro',
'3' => 'Março',
'4' => 'Abril',
'5' => 'Maio',
'6' =>... | 11ec53ebf87b447ddb80bfd157ca41f59578425a | [
"PHP"
] | 1 | PHP | matheus0608/date-php | b9cae250e2ffd646a64ada420a6830707b23ee80 | c98a7fb169e7394e03f4eaca911d687c00953762 |
refs/heads/main | <file_sep># XLS-TO-SQL-PYTHON<file_sep>
import pandas as pd
import mysql.connector
import os
from datetime import datetime
xls = pd.ExcelFile("listado.xls")
error=False;
indice=0;
contenido = ""
columnas = []
columnas.append("test")
columnas.append("test")
columnas.append("test")
... | bd16e3d3af61d14046dd77661947ec9ff3898c46 | [
"Markdown",
"Python"
] | 2 | Markdown | ComandPromt/XLS-TO-SQL-PYTHON | 0adbf2c5002706e95ca3edb83a2a97afc2c1c3e9 | dcd91835c74f42e418576cf91a6510940bcbc9fa |
refs/heads/main | <repo_name>rolysoft/landing<file_sep>/src/app/shared/plans/data.ts
const pricingData = [
{
title: 'Economy',
price: 19,
bandwidth: '1GB',
onlinespace: '50MB',
support: 'No'
},
{
title: 'Premium',
price: 29,
bandwidth: '2GB',
... | e4cd196f38fc727f9b7f7dd4030a4d5d3683f628 | [
"TypeScript"
] | 10 | TypeScript | rolysoft/landing | 9277b22dd29c1b3924903a60a077ab1aee06e0ab | 7bfc14cbd375bed7e0022b22f3bb6967a7f83c10 |
refs/heads/master | <repo_name>mdasif-raza-au13/question1heroku<file_sep>/src/index.js
const express = require('express');
const userRoutes = require('./routes/user.js');
const db = require('./config/mongo-db.js')
const cors = require('cors');
const app = express();
const port = process.env.PORT || 1101;
app.use(cors());
app.get('/',(r... | 88ea2fe9039840e265397bfdec0fcc5e26edf3b3 | [
"JavaScript"
] | 2 | JavaScript | mdasif-raza-au13/question1heroku | ff347355f0f27e55fb3d83ae82eb28c6630e0a56 | 411747992514a09fef31331b5ebad8c8bc1e36a3 |
refs/heads/master | <file_sep>
# -*- coding: utf-8 -*-
# !/usr/local/bin/python
"""
'''
Author: <NAME>
Affiliaton: Universidad de Buenos Aires & CONICET
Year: 2016
Description:
Small piece of code to find out which Netflix's OCAs are candadites for the
the end-host that is running the code.
The search of the OCAs is based on... | 456886f0117df905501ba2de3199cadceff6e2ff | [
"Markdown",
"Python",
"Text"
] | 3 | Python | estcarisimo/findNetflixOCA | 5a02ed972006846f2997c400f93dfb1b33e9e3f7 | d57d0d4a58dcfb81ee9ed69033f018a8b4d0f774 |
refs/heads/master | <repo_name>bettyyeo/Getting-and-Cleaning-Data<file_sep>/run_analysis.r
run_analysis <- function(){
## Merges THE TRAINING and the test sets
xtrain <- read.table("train/X_train.txt")
xtest <- read.table("test/X_test.txt")
combinedData <- rbind(xtrain, xtest)
##Extracts only the measurements on the... | 0a49296bc6ca64c7f5f5c69c4463eb99945eb089 | [
"Markdown",
"R"
] | 2 | R | bettyyeo/Getting-and-Cleaning-Data | 9176f325c3e355e4f483aed9aef7dc2ead943b74 | dc2c037aafdc7056a45de5a48b0b8113502a10f3 |
refs/heads/master | <file_sep>import telebot
from bot_token import TOKEN
import config
from flask import Flask, request
import logging
import os
bot = telebot.TeleBot(TOKEN)
@bot.message_handler(content_types=['new_chat_members'])
def chek(message):
bot.delete_message(message.chat.id, message.message_id)
@bot.message_handler(c... | 71f02be93cfb1e9890505aa87f850e25aba38b5d | [
"Python"
] | 5 | Python | Meugenn/HashBot | 339c7327d4e45546f109d1c47e4ec31ca9fb5a03 | b06393d7f0d6ef24428cf8916edf29543905498f |
refs/heads/master | <repo_name>z-soulx/my-rpc-test<file_sep>/rpc_netty/src/main/java/soulx/serialize/impl/StringSerializer.java
package soulx.serialize.impl;
import ch.qos.logback.core.encoder.ByteArrayUtil;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;
import soulx.serialize.Serializer;
... | 8bde5835726630e01c6ec895e4103fae0504b75c | [
"Markdown",
"Java"
] | 5 | Java | z-soulx/my-rpc-test | b0288e05044a641825a25977dcca1ccf3a830290 | 405f8e09febda703ddf0df5f2fe52a1fe0821593 |
refs/heads/master | <repo_name>FateTHarlaown/GthreadPool_C<file_sep>/GthreadPool.h
#ifndef GTHREAD_POOL
#define GTHREAD_POOL
#include "pool.h"
/*******************************************************
* name:Gthread_pool_init
* des:this func will init Gthread_pool struct
* para1: the pointer point to a Gthread_pool struct
* para2:max ... | 576f4c1f1d03a3afab9dec8174a90a155cd6ab9e | [
"C"
] | 2 | C | FateTHarlaown/GthreadPool_C | 92995ebb051b51e7c237ee109ac454b734e70b72 | dd4e5bcc638a36f492d9b72111df871fdf7629b4 |
refs/heads/master | <repo_name>assadakram/labfinal<file_sep>/src/Bank.java
/**
* @author<h1> <NAME>(Sp13-bse-008)</h1>
*<p>This class is use to create new accounts for new users.</p>
*
*/
public class Bank {
/**
*<p> This method is use to add new account in the bank's database.</p>
*/
void addAccount(){
}
/**
* <p>T... | 1628cf8e92013fcc578d247dd1ffece59cbe0591 | [
"Java"
] | 3 | Java | assadakram/labfinal | 7e5505e5a501b55456db1a4b60fe1319af68e9f3 | 035219d7d56b1f976fe5dd143873ee2c2692f6ee |
refs/heads/master | <file_sep>import { Injectable } from '@angular/core';
import { LoginPage } from '../../pages/login/login';
import { HomePage } from '../../pages/home/home';
/*
Generated class for the DataProvider provider.
See https://angular.io/guide/dependency-injection for more info on providers
and Angular DI.
*/
@Injectab... | b5e721c730cadb36365112e31ba27864d04f32d7 | [
"TypeScript"
] | 2 | TypeScript | agupta8895/myapp | 320f858ac678fe4ce8505b0aedb1bd0d5bf38800 | a8f01ec55d6b2d40635d04db8ca5cc450d0bee9b |
refs/heads/main | <file_sep># GitHubActionsIntroduction

このリポジトリは GitHub Actions の動作確認リポジトリです。
# 行ったこと
### 1. ワークフローを設定
ActionsタブよりSwiftのワークフローを選択しました

//获取应用实例
const app = getApp()
Page({
data: {
ids: 0,
keywords:'',
countDownList: [],
},
searcg_input:function(e){
this.setData({
keywords:e.detail.value
})
},
search:f... | dcd17085dee5c088c850960274fbdc1ef2d7928b | [
"JavaScript"
] | 6 | JavaScript | wt-tao/cf | 8650ea3a55d99d7a40b625908e67127179eccb8a | 79563fdd13b7285a37c650c64decff104f540fe3 |
refs/heads/master | <repo_name>binhetech/nlp-manual<file_sep>/README.md
# 简介
本仓库主要用于收集、整理公开的自然语言处理(NLP)相关的技术资料,包括最新文献、经典书籍以及行业研究报告等。一方面便于自己对自然语言处理进行系统的认知、学习,另一方面也希望可以分享、并帮助到其他爱学习知识的人士。
目录结构的说明如下:
+ books: 专业书籍,格式一般为pdf
+ literature: 最新文献,格式一般为pdf
+ report: 研究报告,格式一般为pdf
+ docs: 其他可公开的文档,格式一般为doc, docx
# 更新日志
此处记录更新日志。
# NLP技术列表
此处列出本仓库... | 92b03bd7d3373a5fefd26b9ce43d040de01585a8 | [
"Markdown",
"Shell"
] | 3 | Markdown | binhetech/nlp-manual | 2e78b8c5833b8406a2938d9daeffec5a5623212c | 33a3a7991f594d6762474b472fcbb603d74246c1 |
refs/heads/master | <file_sep>package com.example.carrental.repository;
import java.util.List;
import org.springframework.data.repository.CrudRepository;
import com.example.carrental.model.Person;
import com.example.carrental.model.Vehicule;
public interface PersonRepository extends CrudRepository<Person, Long> {
List<Vehicule> fin... | f4ca1ae23750c0b9a685c30cfc8647d0d4592465 | [
"Markdown",
"Java",
"TypeScript",
"HTML"
] | 13 | Java | paulcrep/Projet_WebService | 7430e6676e531d1ca76705042010b05315e1fe2d | 739b5ae98a571f3c78cf231e3f5b3ef4cdf0792a |
refs/heads/master | <repo_name>terpugov/greedy_algorithm<file_sep>/fractional_knapsack.py
# Uses python3
import sys
density = []
def get_optimal_value(capacity, weights, values):
V = 0.
for i in range(n):
density.append(values[i]/weights[i])
for i in range(n):
if capacity == 0:
return... | 9b2fcfdfaf8b7df78557b843a34564f376320610 | [
"Python"
] | 2 | Python | terpugov/greedy_algorithm | bbec9d4e3eb5820eb7c49e6556f012470f1c0cca | badc0529f0635d9af0793fc8c446fcd9b60e56c2 |
refs/heads/master | <repo_name>Tsiory-prdx/tests-ruby<file_sep>/lib/05_timer.rb
def time_string(sec)
hour,minute,second = 0 , 0 , 0
hour = sec / 3600
minute = (sec / 60) %60
second = sec %60
if hour < 10
hour = "0" + hour.to_s
end
if minute < 10
minute = "0" + minute.to_s
end
if second... | 2297e2592ee1bc5fd2f095156dfb6d392d10a1b5 | [
"Ruby"
] | 5 | Ruby | Tsiory-prdx/tests-ruby | 1d12bbafa83bb17c3fa0d683aa2a4a927cf8a7af | e0085afbddabb222544dd98fe441a0c70be179d3 |
refs/heads/master | <repo_name>Thawny/hangman-react-redux<file_sep>/src/containers/Word.js
import PropTypes from 'prop-types';
import React, {Component} from 'react';
import { connect } from "react-redux";
const mapStateToProps = state => {
return { word: state.word,
usedLetters: state.usedLetters};
};
class Word extends Co... | 3fa3f525a5de084a3d9c0227c8e0e598defa7576 | [
"JavaScript"
] | 6 | JavaScript | Thawny/hangman-react-redux | 7f0f202c7957a2d82878af332e687537a767e74f | 71561644d0ae6e62d1c82964b1739c075d2b947b |
refs/heads/main | <repo_name>KimJongHyun98/Leafy<file_sep>/Leafy save/Leafy/src/main/java/com/plant/mapper/PCBoardMapper.java
package com.plant.mapper;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import com.plant.dto.PCBCommentDTO;
import com.plant.dto.PCBo... | bd5d2fba31f55f392f74f20d436d0aeee50d60d2 | [
"Java",
"INI"
] | 17 | Java | KimJongHyun98/Leafy | 502d644b03da932511bcfa230eb48edfdd15823a | 0968a746e3f006e0242c840b4c45a5adaedf3157 |
refs/heads/master | <file_sep>package com.study.spring.ch4.concert;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.*;
/**
* Created by tianyuzhi on 17/12/19.
*/
@Aspect
public class Audience3 {
@Pointcut(value = "execution(** com.study.spring.ch4.concert.Peformance.perform(..))")
public void ... | e3e86fe47c097a8f958e670a3a730106b3149b61 | [
"Java",
"Maven POM"
] | 11 | Java | siyu618/spring_study | e49f40b0aa53d52ae33d3a01fffd79bf64875657 | f374c6e405a616ab30c34362f67e93cfb28d70e1 |
refs/heads/master | <file_sep>package interfaces;
import model.Data;
/* An ordered collection interface
* @param <T> Generic class
*/
public interface Listable<T> extends Iterable<T> {
/**
* Creates one element of the defined class
*
* @param newClass Defined class to createList instance from
* @return ... | 6ae82adfdbc8f3d4e933499ee12d888a226f238e | [
"Java"
] | 8 | Java | KonstantinKochetov/Algorithms_1 | 70e2634f7851dcc75a7b6210877c8a252fa2ac68 | c7f1f801af2373fa4545a9ae4631a2f3f5f4db25 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.