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>RaduCristian25/WEB<file_sep>/mtb/mtb2.js
//var list = document.getElementById("list").getElementsByTagName("li");
var list = document.getElementsByClassName("button");
for (var i = 0; i < list.length; i++){
list[i].addEventListener("click", buttonClick);
}
var text = new Array(list.length);
text[0] = "Mo... | c446ccd08d2cb88e3b610fe82f439519ca1d086c | [
"JavaScript"
] | 1 | JavaScript | RaduCristian25/WEB | a5978068dfad0acb55553aa776a8003d44f2bf45 | 8cdf092761543e6a55d8a729e4409a364101fd2a |
refs/heads/master | <file_sep>(function(){
let debug = false;
if(debug){
setTeams(['http://flattrack.gaijin.com/widgets/rank-detail/bf61ef6d83cb88534c77f2f7c5348c21.html']);
}
else{
setTeams(['http://flattrack.gaijin.com/widgets/rank-detail/79feadc7820fe937e42cdeb863407b8b.html',
'http://flatt... | 9f98a470a18166b611f45a76641f0cead8e15856 | [
"JavaScript"
] | 1 | JavaScript | iammartz/rayo-derby-tracker | 4bdf79d1c7698417cbf70fa9f567d72e8784cdf2 | 615d3d4e3f2cd675e7645b106d2f7c98a5f771d2 |
refs/heads/master | <file_sep>using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Test : MonoBehaviour {
//アニメーションするためのコンポーネントを入れる
private Animator myAnimator;
// Use this for initialization
void Start()
{
//Animatorコンポーネントを取得
this.myAnimator = GetComponent<Ani... | b9340213fa83e20a793307860d433b3aab94ca56 | [
"C#"
] | 1 | C# | Shoya3/StepAsideUnityChan | 228513589d6872c737f239d2a1d3f4d0a844d67f | 1732899460591c57bb7818de68c04abe30ff5a34 |
refs/heads/main | <file_sep>angular.module('invoicing', [])
// The default logo for the invoice
.constant('DEFAULT_LOGO', 'images/logo.png')
// The invoice displayed when the user first uses the app
.constant('DEFAULT_INVOICE', {
date: '09/07/2021',
invoice_number: 2010,
payment_method: 'Cash',
amount: '',
... | d006a39d0092178bd68ee277da38699d5d8c3b4d | [
"JavaScript"
] | 1 | JavaScript | eduphileinvoice/invoicing | 447d9d51787cd844526ffae6ca3be9c781610439 | 3ed7a73473c173c0259cd07d33bdcda416b8d50e |
refs/heads/master | <repo_name>cooloon/19_SkyDefence<file_sep>/Classes/GameLayer.cpp
#include "GameLayer.h"
#include <iostream>
#include "SimpleAudioEngine.h"
USING_NS_CC;
using namespace CocosDenshion;
Scene* GameLayer::createScene()
{
auto scene = Scene::create();
auto layer = GameLayer::create();
scene->addChild(layer);
... | 670d32dc1fc8ccb703323eed655abb3211f2ea65 | [
"C++"
] | 2 | C++ | cooloon/19_SkyDefence | 436e4abec31b38ddc5984b85ab2f2234301d90ed | f9f4d1316b7beba0747439dfd623dec06c43ef50 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Drawing;
// todo:
// work on time of day modifiers
// check hunger levels through day
//
// tier 2
// assume health for now
// security needs filled by
// home need
// employment need
/... | 9b9c0e92a8993261462123a644719ee07004aea3 | [
"C#"
] | 1 | C# | erickveil/PsychSim | 6ff3038f79e5505e7f54142f05cbca2c391b9ae0 | f03f4c8668ac68f2bcd4e5175c3f0196a11c54c9 |
refs/heads/master | <repo_name>callistia/Connect<file_sep>/Connect/src/com/callisto/connect/Program.java
package com.callisto.connect;
import com.callisto.connect.environment.Environment;
import com.callisto.connect.exception.ErrorHandler;
import com.callisto.connect.process.Process;
public class Program {
public static void main(Stri... | 34c163c410dbd8fc818fcc25e57bca74083ba2cf | [
"Java"
] | 3 | Java | callistia/Connect | 65b11eb4b6e7cfd3d79ab5a5cd4e8dc5776ab50c | 17652fd86ce958384faf4ffbfdad5e86ddb86829 |
refs/heads/master | <repo_name>993675454/nigao<file_sep>/niego/aoya/js/common.js
/* ---------------------------------------------------- */
function IsPC() {
var userAgentInfo = navigator.userAgent;
var Agents = ["Android", "iPhone",
"SymbianOS", "Windows Phone",
"iPad", "iPod"];
var flag = true;
for (... | 6cf2619782a1dba63918fbbd55f90285edbfcbaa | [
"JavaScript",
"HTML"
] | 3 | JavaScript | 993675454/nigao | 45d1b0b8ed8abc12111079ecf249b5cb4322adc7 | 7f76c2af6b942088262de4e9686d4096ad356851 |
refs/heads/master | <repo_name>DavidOliveiraSilva/Chromatic-Garden<file_sep>/Assets/Connections.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Connections : MonoBehaviour {
public Cor[] cores;
private bool[,] connectionsMatrix;
// Use this for initialization
void Start() {
... | cdd89e4d86bdfc93864fefdf818c5ae22efd97fc | [
"C#"
] | 6 | C# | DavidOliveiraSilva/Chromatic-Garden | 73aee7c32a71115fcd7db0e77cc5fce97d44b0d9 | 23553b5a87275584e1c1a7efb8c27fd3e2442f39 |
refs/heads/master | <file_sep>
## Developed by: ##
* <NAME>
* <NAME>
* <NAME>
* <NAME>
* <NAME>
## Project Definition:##
Extended [Node.js HTTP Proxy](https://github.com/nodejitsu/node-http-proxy) by implementing simple proxy as well as elastic load balancer on top of it. Built REST API on top of it to expose and configure the server via... | e098035c9409fedf061c912e5fa4e3d4009e2aea | [
"Markdown",
"JavaScript"
] | 15 | Markdown | jainikvora/elastic-load-balancer-livewires | 1b975f7c03a4879147aac028a485f303128a3031 | 2c39334320b636cc689f01d961d3803ee3f11ac1 |
refs/heads/master | <repo_name>Coder801/keyparser<file_sep>/keyparser-ui/src/components/file-uploader/index.js
import React, { Component } from 'react';
//import './style.css';
class FileUploader extends Component {
render() {
return (
<div className="file-uploader">
<div>Drop here</div>
<form action="/">
... | 1cdfe160590eb929835fa34dd29285e832d45bc5 | [
"JavaScript"
] | 1 | JavaScript | Coder801/keyparser | 4f6604e4ce6c853a3f26d864d9e059448ed4b695 | 30204a181723b106db754a32da5b4a7b0dba251c |
refs/heads/master | <file_sep>Module.register("MMM-RepRapFirmware",{
// Default module config.
defaults: {
host: "",
updateInterval: "5000",
parameters: ["status", "timeLeft", "percent"],
showProgressBar: true,
},
// Override dom generator.
getDom: function(value) {
var wrapper = document.c... | 02c8d983e91c662583b8ede2c31ed1cb16656d52 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | arirobinson/MMM-RepRapFirmware | 52a1f23bd7f0c0092e0db8ff021fd9fb61d54eb1 | 4478082c76cc9c46a16d7e580eb63298e54ab8bd |
refs/heads/master | <file_sep>import {Component, Input, OnInit} from '@angular/core';
import {COURSES} from '../../db-data';
import {Course} from '../model/course';
@Component({
// tslint:disable-next-line:component-selector
selector: 'course-card',
templateUrl: './course-card.component.html',
styleUrls: ['./course-card.component... | 9eef0418bb955e59c22b14598a063e5e9191daab | [
"TypeScript"
] | 1 | TypeScript | miagudelj/Angular_Mia | b7002235674a5d2f7982e8724f664a5379a6f0b7 | a6238efea4aac77135281f58a68d921595bf24af |
refs/heads/master | <repo_name>DevRaptor/SEBA<file_sep>/SEBA/Config/DefaultGame.ini
[/Script/EngineSettings.GeneralProjectSettings]
ProjectID=632F7F494F08DD3FF133FE97896B47FF
<file_sep>/SEBA/Source/SEBA/SEBA.cpp
// Fill out your copyright notice in the Description page of Project Settings.
#include "SEBA.h"
IMPLEMENT_PRIMARY_GAME_MODULE... | 254ea68db6544880e46653f35bcbb66414166e75 | [
"C++",
"INI"
] | 2 | INI | DevRaptor/SEBA | ea5971f0d16013d02300f4074cee0506d6251d80 | b9c40bb7d326a320ba31948844896727fcbaa15e |
refs/heads/master | <repo_name>markgh47/apigee-edge-js<file_sep>/lib/edge.js
// edge.js
// ------------------------------------------------------------------
//
// library of functions for Apigee Edge.
//
// Copyright 2017 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except... | 89b44d5a21a4bdc1379418117b2fcb22410cc217 | [
"JavaScript"
] | 1 | JavaScript | markgh47/apigee-edge-js | 75544822d50ce9e30b86cebd5a2a24f4adc40835 | b6f0d9f2f36437169e594a0502924daef6f7475e |
refs/heads/master | <repo_name>zhang-jiajia123/learn_detectron1<file_sep>/minibatch.py
import rpn as rpn_roi_data
import numpy as np
import cv2
import blob as blob_utils
def get_minibatch_blob_names(is_training=True):
"""Return blob names in the order in which they are read by the data loader.
"""
# data blob: hold... | ad9ed0c0eedacbf19a7f191270958325f5599e98 | [
"Markdown",
"Python"
] | 7 | Python | zhang-jiajia123/learn_detectron1 | 936701dbe764510d39a1c72adefba9be1a73de24 | f3e72167979f0115c90fe4306f570e7990abafea |
refs/heads/master | <file_sep>var api_url = "api.php?";
$(document).ready(function() {
index();
});
var index = function() {
var html = new EJS({
url: 'templates/index.ejs'
}).render({});
$("body").html(html)
$(".searchButton").on("click", function() {
var q = $(".searchQuery").val();
$.get(api_url + "q=" + ... | 116024dc11f757b534e6e519275c9a5f1175a6cf | [
"JavaScript",
"Markdown",
"PHP"
] | 3 | JavaScript | luqmaan/green-guide | 6a0fe2b4470ab5c3e3450e406d01c9e6867edd0d | a63f32207fc1909d6a994b4fd169b40dfe6fb577 |
refs/heads/main | <repo_name>lithiferous/py-tail<file_sep>/tailor.py
from io import BytesIO
import argparse
import os
import sys
import time
LINES = 10
SLEEP = 1.0
class TailError(Exception):
def __init__(self, msg):
self.message = msg
def __str__(self):
return self.message
class Tailor:
def __init__(self... | a6878757910e53fb203756c7228349b42a36cc98 | [
"Python"
] | 1 | Python | lithiferous/py-tail | 61315c32e009b023b885e6f9bb71dce938b8a508 | 325a46a1cfc10d03afbff49340eb8fde0a85c4d2 |
refs/heads/master | <file_sep># https://Levandovski.github.io
My Web Site Voxus - <NAME>
# Instruções para utilização do sistema.
# O sistema deve ser executado localmente.
# Antes de iniciar o sistema é necessário executar o script do banco de dados no WampServer. O script se encontra dentro da pasta dao, com o nome banco_de_dados_taref... | e13d574f1db22fd49bc1b0242f523ac4eca9515d | [
"Markdown",
"PHP"
] | 11 | Markdown | Levandovski/Levandovski.github.io | ab86d17ca575f1e2be6fbb9cc17b7aa832e3b9e5 | e5f2d9f5efd66200f893e7bb5a3776fdfdafc982 |
refs/heads/development | <repo_name>ritterim/sandbox<file_sep>/src/IisExpress/IisExpressGrain.cs
using System;
using System.Diagnostics;
using System.IO;
namespace RimDev.Sandbox.IisExpress
{
[DebuggerDisplay("IIS Express Grain <{Name}>")]
public class IisExpressGrain : IGrain, IIisExpressConfiguration
{
public IisExpressG... | 9b72d0a0c96ed834e29b64f69e6564964e2ea9de | [
"Markdown",
"C#"
] | 17 | C# | ritterim/sandbox | 89c7ae21777192a302ca08635e75d7005c38204b | 801c86ac336f987232b4b00b17803fb16326e3de |
refs/heads/master | <file_sep>package com.zhanghao.imageloader;
import android.graphics.drawable.BitmapDrawable;
import android.widget.ImageView;
/**
* Created by zhanghao on 17-9-26.
*/
class RequestResult {
BitmapDrawable bitmapDrawable;
ImageView imageView;
RequestResult(BitmapDrawable bitmapDrawable, ImageView imageV... | 3db98440d06155c29e5dab3b9496a8643273f5a0 | [
"Java"
] | 2 | Java | mask-hao/SimpleImageLoader | d192e7d7ff96dbf9c7e4e000506132da16fc93de | 5964e7f4f3a39b54c90bdd942ee5aa157ed9016a |
refs/heads/master | <file_sep><?php
namespace Fenrizbes\PublicationsBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class FenrizbesPublicationsBundle extends Bundle
{
}
<file_sep><?php
namespace Fenrizbes\PublicationsBundle\Admin;
use Fenrizbes\PublicationsBundle\Model\Publication;
use Fenrizbes\PublicationsBundle\Model\Publi... | 57cc716e3c4ab24110767e5736a3fef73b030e19 | [
"Markdown",
"PHP"
] | 11 | PHP | it-blaster/publications-bundle | 1d01e18526ad8b6e6e6f319c5f9cb1a6e8ccff80 | 8f5dbc25e3f6926b10e16a517f042d9397d847c4 |
refs/heads/master | <file_sep>Сайт Lobotomy Team
-------------
Ставим на локалхост
======================
1. Если хотите доступ на запись - скажите чтобы я (zed) добавил вас в Collaborators этой репы, для этого вам нужен акк на гитхабе (примечание: **форкать эту репу НЕ НУЖНО**)
2. Выполнить следующее
<pre>
git clone <EMAIL>:zed-0xff/l... | f4efa0e4d3f187405023f65945a5b413fc86b4e4 | [
"Markdown",
"Ruby",
"HTML",
"Shell"
] | 15 | Markdown | zed-0xff/lobotomy | 2ed0729b01469af2ca20acbe20e3b0f31ed32d41 | 27596b684d2aa88b67c0eabc43a757c15e4ab232 |
refs/heads/master | <repo_name>ObiruLabs/seafordchengs<file_sep>/app/models/category.rb
class Category < ActiveRecord::Base
has_many :items, dependent: :delete_all
end
<file_sep>/app/admin/item.rb
ActiveAdmin.register Item do
permit_params :name, :description, :ordinal, :hot, :featured, :category_id
index do
column('Category') ... | 457f59cf0be91fef5151393c6d334dc062877a34 | [
"Markdown",
"Ruby"
] | 9 | Ruby | ObiruLabs/seafordchengs | a5ccb39e025f6812a975a06331ee2e2032da4594 | b135bd8f048f1f49e476092e05c11bf332e4323e |
refs/heads/master | <repo_name>NicoleTobal/api-rest-peliculas<file_sep>/models/movies/actorsModel.js
const { getConnection } = require("../database");
const { formatArrayToSqlArray, deleteQuery } = require("../utils");
const insertActor = (nameActor, surname, movieId, cb) => {
query = "INSERT INTO Actors (nameActor, surname, movieId) V... | aa22fe4276fad1d6e6beac43ea2401223baa0051 | [
"JavaScript",
"SQL",
"Markdown"
] | 8 | JavaScript | NicoleTobal/api-rest-peliculas | 2e99d536e0b3772c82b240177be36e592b6f6671 | 8d370ef80666450da80e6f2eb5bae3e9c94dad5d |
refs/heads/master | <file_sep>Title: Hello, World!
Date: 2014-08-22 10:20
Category: blog
Tags: blog
Slug: helloworld
Author: <NAME>
是的,按照惯例,这是一个Hello, world!
仅作为在 github 上的第一篇文章。
<file_sep>Title: 调整 ubuntu 的字体
Date: 2015-07-17 11:20
Category: blog
Tags: blog
Slug: adjust-ubuntu-fonts
Author: <NAME>
安装完 Ubuntu 桌面版本的系统后,在默认情况下,字体... | bbc19dd6e9b7c16cfd369c4f6a9e115e7c290b97 | [
"Markdown",
"Python",
"Text",
"Shell"
] | 23 | Markdown | fengyc/blog | 2dc79eec2ca7727f89e5553f17c08e82900f07a2 | fe7e909d46e71097b306db5eadd53cd5ae2db823 |
refs/heads/master | <repo_name>AlexanderDV-ru/EniLang<file_sep>/prop/words_adjective.js
wordsConfig+=`
koloro
+red+ -tr=red
+orang+ -tr=orange
+yellov+ -tr=yellow
+brovn+ -tr=brown
+green+ -tr=green
+blu+ -tr=blue
+vhit+ -tr=white
+blak+ -tr=black
+purpl+ -tr=purple
+pink+ -tr=pink
ad
koloro
+fast+ -tr=fast
+fun+ -tr=funn... | e7567350300c7e9267f7df72f6eaad08302fbf8a | [
"JavaScript",
"Markdown"
] | 6 | JavaScript | AlexanderDV-ru/EniLang | ef54d8241750cfa018f4cce993ed10938b2b2b7a | f854eca2a3b53aa8c950a8e3412134042851c754 |
refs/heads/master | <repo_name>petergao1/EPES<file_sep>/EPESDB.sql
--
-- PostgreSQL database dump
--
-- Dumped from database version 9.5.12
-- Dumped by pg_dump version 9.5.12
-- Started on 2018-04-24 08:14:12 PDT
SET statement_timeout = 0;
SET lock_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT... | d1fe49cdd201efe08b8676073ca0e3cf2cdc6b20 | [
"Markdown",
"SQL",
"Python"
] | 12 | SQL | petergao1/EPES | b4675a578e6cb9d277b96748841404a9577dfe28 | 3dd03007964ea5a7564a02a066f53f1c3af6484c |
refs/heads/master | <repo_name>fwolle30/dotfiles<file_sep>/scripts/.local/bin/wm.displays-home
#!/bin/bash
xrandr --output eDP1 --mode 1920x1080 --pos 3440x0
# xrandr --output DP1 --brightness 0.93
# xrandr --newmode "1720x1440_60.00" 209.75 1720 1848 2032 2344 1440 1443 1453 1493 -hsync +vsync
# xrandr --addmode HDMI2 1720x1440_6... | 1ceb252bf82fb68b295cf934fb88f1b88a331fc7 | [
"Text",
"Shell"
] | 17 | Shell | fwolle30/dotfiles | 783bec079e9b77225dbc31a186917d2abe3311ea | 3fc0046153b54cdb3195f79568e86eee09ded79d |
refs/heads/main | <repo_name>saurabh-147/KeepersApp<file_sep>/frontend/src/components/CreateArea.js
import React, { useState } from "react";
import { createTodo } from "./helper";
import AddIcon from "@material-ui/icons/Add";
export default function CreateArea(props) {
const [todo, setTodo] = useState({
title: "",
description... | 07d621246635a675d87b4d4335e2bc8654f439d9 | [
"JavaScript"
] | 5 | JavaScript | saurabh-147/KeepersApp | 3b9348605174ac2cc54a822703639f8daaa43854 | baded1ae94d2a116a2418de206169e89d310c88c |
refs/heads/master | <repo_name>UcgajjarPDI/Nicepak-PIMS<file_sep>/PDI_SALESTRACING_DEV/STAGE/Tables/TRC_ENDUSER_1.sql
CREATE TABLE [STAGE].[TRC_ENDUSER_1] (
[TRC_ENDUSER_1_ID] INT IDENTITY (1, 1) NOT NULL,
[DISTCOID] VARCHAR (20) NULL,
[DISTID] VARCHAR (8) NULL,
[DISTACCTID] ... | 7dc262952f12301439e1881b3b5150a033cffa4f | [
"SQL"
] | 334 | SQL | UcgajjarPDI/Nicepak-PIMS | 8622eed14349ad09b3a40b7c0a82694778a052a3 | 90ba775d6a08408207a27c0e7575745061381e2b |
refs/heads/main | <file_sep>package game;
import javafx.scene.input.MouseEvent;
public class RoleListController {
public void OnClickShowDetail_0(MouseEvent mouseEvent) {
}
public void OnClickShowDetail_1(MouseEvent mouseEvent) {
}
public void OnClickShowDetail_2(MouseEvent mouseEvent) {
}
public void On... | fce7bff32f97e3e8f005dfd897e12436c8802be3 | [
"Markdown",
"Java"
] | 6 | Java | cardze/homework_game_UI_practice | c99d0f97b0e1e6ca6ff4f81ff256d6923e0c5d42 | 5d49f527805f1a4ca3fc7ef52d84f39a65a6e2c9 |
refs/heads/master | <file_sep># CCSymphonyOrchestra:
I have built an App which I practice Java Abstract class, polymorphism etc, using a Symphony Orchestra as. a model.
<file_sep>package behaviours;
public interface IWork {
String contract();
int getSalary();
}
<file_sep>package players.brass;
import behaviours.IPlay;
import be... | 520cc333d5801955cf686c0f9db5259de4ced549 | [
"Markdown",
"Java"
] | 8 | Markdown | quentincrida/CCSymphonyOrchestra | 1f4dc4fab6b953ba2b169d3d8471a9219a1a8c5a | 18a6772acd2d2d83674465875e927965df09362b |
refs/heads/master | <repo_name>baireey/vagrant<file_sep>/application/admin/controller/Admin.php
<?php
namespace app\admin\controller;
use think\Controller;
use think\Db;
use think\Loader;
use app\admin\model\Admin as AdminModel;
class Admin extends Controller{
public function lst(){
$list = AdminModel::paginate(3);
$t... | c0082e3d0760c3c63294d83988fc0ca5eb9423a5 | [
"PHP"
] | 8 | PHP | baireey/vagrant | 454cb86603d5261a8ff0649fed6eebc1e456a634 | 6e9e94517530b4b862e3d765fd4dfd1589b5facb |
refs/heads/master | <file_sep>package Homework1;
import java.util.HashMap;
public class UniqueHashMap extends HashMap {
public void putUniq(String key) {
Integer val = 0;
if (this.containsKey(key)) {
val = Integer.parseInt(this.get(key).toString());
}
this.put(key, new Integer(val.intValu... | 531467bca80715077b4226f0a4a68baba3ac6bce | [
"Java"
] | 1 | Java | AlexeySolovyev/GeekBrains_JavaCore_Lesson3 | 89ec583516efc779054add5c300646fe6c6c8bc7 | 26d82672456fe4067f7cb5f0d07df677e1049b17 |
refs/heads/main | <repo_name>ValeriyZoloto/Recruta-landing-page<file_sep>/app/js/main.js
$(function () {
//авто-закрытие мобильного меню
$(".burger, .menu__item a").on("click", function () {
$(".menu").toggleClass("menu--active"),
$(".burger").toggleClass("burger--active");
});
$(".scroll").click(function (event) {
console.l... | 1fa09a44d67f86f875557a42ea4d3908de0e27de | [
"JavaScript",
"HTML"
] | 2 | JavaScript | ValeriyZoloto/Recruta-landing-page | 6136dcc26145e7aa1321d116bf186f9ed1be8e19 | 9bc530a65218e2ee5bcfd09b1806e326abc4878b |
refs/heads/master | <file_sep>package com.marketwinks.marketsignals;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class MarketsignalsApplication {
public static void main(String[] args) {
SpringApplication.run(MarketsignalsApplic... | 57773bce1db1a985d5fb0fd07246e2997b9748a6 | [
"Java"
] | 12 | Java | MarketWinks/marketsignals | b180d068a256dd1478eff4b3648c9df2ae9fdd5f | ea042cd4cc10734cfcb53b3ccdcff26243bb5ab2 |
refs/heads/master | <file_sep>package com.example.misealimi
import android.support.v7.widget.RecyclerView
class GPSTimelineAdapter(private val myDataset: Array<String>) : RecyclerView.Adapter<GPSTimelineAdapter.ViewHolder>{
}<file_sep>package com.example.misealimi
import android.os.Bundle
import android.support.v7.app.AppCompatActivit... | 97ab936266240c76d60b12e171c89d811a4f4608 | [
"Markdown",
"Kotlin"
] | 4 | Kotlin | irakla/MiseAlimiClient | a06843fae51f191900a304ca6ecfddda238ea3b5 | 8160f5debacd7e2b29db6b118052c8c5b82e6f87 |
refs/heads/main | <file_sep># Real time Speaker diarization & Speaker recognition for online exam proctoring system.
This project contains:
* Text-independent Speaker recognition module based on VGG-Speaker-recognition
* Speaker diarization based on UIS-RNN.</br>
## Prerequisites
1. pytorch
2. keras
3. Tensorflow
4. pyaudio (About how... | 4404a91e2a147c0eba7ad0aa037ce2f42e4656ab | [
"Markdown",
"Python"
] | 2 | Markdown | Engineer1999/Real-time-Speaker-recognition-and-Diarization-system | 94b2c8e234569617f1a15c4765a37bb2c9df9ba1 | 77b5d4bc0136679d40f458522665595983286181 |
refs/heads/master | <repo_name>naiquevin/jinger<file_sep>/jinger/config.py
import os
import json
import logging
from jinger.exceptions import NotJingerPoweredError
logger = logging.getLogger('jinger')
CONFIG_FILENAME = 'config.json'
def create(path, sourcedir, targetdir):
confpath = os.path.join(path, CONFIG_FILENAME)
with o... | aed707b798f0000578c2b3d139944c6dace45d28 | [
"JavaScript",
"Python",
"reStructuredText"
] | 15 | Python | naiquevin/jinger | 122d10046c29d38e69e56547c26112eacd4d130f | 0a9254b12f3624978fff7589d11893b663c91319 |
refs/heads/master | <repo_name>NeelimaDatla/MissionRnD-C-Arrays-Worksheet<file_sep>/src/removeArrayDuplicates.cpp
/*
OVERVIEW: given an array that has duplicate values remove all duplicate values.
E.g.: input: [1, 1, 2, 2, 3, 3], output [1, 2, 3]
INPUTS: Integer array and length of the array.
OUTPUT: Update input array by removing dupl... | 6f54d4a0a711f8a65a74290dddd45da3cc09a5a8 | [
"C++"
] | 2 | C++ | NeelimaDatla/MissionRnD-C-Arrays-Worksheet | 9e11a224bb5c79b33887c5efca36b2638c123b40 | e0947e8c3e24167cd4a9f7e1013cd87377d46eaa |
refs/heads/master | <repo_name>rahavMatan/npm-git-test<file_sep>/README.md
# npm-git-test<file_sep>/app.js
angular.module('myApp',['ngAnimate'])
.controller('myCtrl',function($scope,$element,$animate){
$scope.msg="12345";
this.someBool=false;
this.doSomething=function(){
this.someBool=!this.someBool;
//$element.addClass('fad... | f7110355927d1dc75168276fffeb8669345889c8 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | rahavMatan/npm-git-test | 532f9e9e7d352aac98d5aa2df5686b46d8c634bf | 7a0945655215e600b7da8c6969043840a2a5f3f7 |
refs/heads/master | <repo_name>poul1x/conny<file_sep>/conny.py
from aiohttp import web
import asyncio
import logging
import processing
async def index(request):
return web.Response(text='Conny is running')
async def load_binary(request):
post_data = await request.post()
try:
load_opts = {k[5:]: v for k, v in pos... | 4a7451bb12951cee92c1932e37966da131248210 | [
"Python"
] | 3 | Python | poul1x/conny | e7b87869b71a5f42acaf31f41cfe1f6a8a33111e | 13f8a4575007256ce254079ac99cf3e55ef69eb8 |
refs/heads/master | <repo_name>travisfw/pipes<file_sep>/src/test/java/com/tinkerpop/pipes/util/structures/TableTest.java
package com.tinkerpop.pipes.util.structures;
import junit.framework.TestCase;
/**
* @author <NAME> (http://markorodriguez.com)
*/
public class TableTest extends TestCase {
public void testBasicTableConstruction... | 38de4767a5eb3c68a26d64c58c5335404423890e | [
"Java"
] | 2 | Java | travisfw/pipes | 1bd5b85daac4488d353b3ae1b3efdd7afce18517 | 6d0d37999ae08b6e6bb5f2de5481511dbd6831e5 |
refs/heads/master | <repo_name>abhishek6234/svhf<file_sep>/src/login/KidsInfo.java
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package login;
/**
*
* @author Tauqeer
*/
public class KidsInfo exte... | b5aff25762e5f24c46556ae033a2031b200da4dc | [
"Java"
] | 1 | Java | abhishek6234/svhf | a26480aa809fea015f17c17d70eef5b0879ae63d | 18ecf3681ebf1ff53823ed988bd49477c6399dd4 |
refs/heads/master | <file_sep>import { Component, OnInit } from '@angular/core';
import { RecipetypeService } from './recipetype.service';
import { Recipe } from '../add-recipe/recipe';
@Component({
selector: 'app-recipetype',
templateUrl: './recipetype.component.html',
styleUrls: ['./recipetype.component.css']
})
export class Reci... | 659c8ab76f4f69a39aa69608483c7cda8432aed4 | [
"TypeScript"
] | 49 | TypeScript | DakshGondaliya/AdminDashboard | 23c588153e6406d187d52b504ae1cd5d4ecfc910 | cb01564949e2770c619f013e682de5e6f1259f9c |
refs/heads/master | <repo_name>haohiohao/examples<file_sep>/sql/demo.py
# demo of reading sql from python
import csv, sqlite3
#set up db links
connection = sqlite3.connect("SWC.db") #creates SWC.db if it doesn't exist
cursor = connection.cursor()
#declare some tables
#data = cursor.execute("select * from person;")
#print data.fetchone(... | 5ecddfbb7c16d890553cd0cd3ce1b037a120d494 | [
"Markdown",
"SQL",
"Python"
] | 4 | Python | haohiohao/examples | d3b15aa04f84215fe1741d5fe79da8505dba2564 | 7396790098bf5808d1720dd6bc8768cdd8cb9e5e |
refs/heads/master | <repo_name>jesp209i/GuidanceCalendar<file_sep>/GuidanceCalendar.Application/UseCases/Calendar/Commands/CreateCalendar/CreateCalendarHandler.cs
using GuidanceCalendar.Ports.Out.Persistence;
using MediatR;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace GuidanceCalendar.Application.UseCase... | 2510c30c2a27772016f01cea29e84a6cde9b0135 | [
"Markdown",
"C#"
] | 81 | C# | jesp209i/GuidanceCalendar | b7654cb7c02ff23d28707bf717d9b2c80fed138b | 68de44816917a165d82881f0f4b23f47935b0f44 |
refs/heads/master | <file_sep>require 'pry'
# code here!
class School
def initialize(school_name)
@roster = {}
end
def roster
@roster
end
def add_student(name, grade)
@roster[grade] ||= []
@roster[grade] << name
end
def grade(grade)
@roster[grade]
end
def sort
roster.each_with_object({}) do |(grade, array), hash|
... | 460964accb60480622513c1f0a04d4c6eca58d09 | [
"Ruby"
] | 1 | Ruby | abillig/school-domain-web-0616 | 654a570be62f4d1c968f10d3b71ea16173a67459 | a3a265fe9997ea9093d9d61d05689a60e0e07c46 |
refs/heads/master | <repo_name>kenneth-vargas/stocks_linear<file_sep>/linear_model.py
import pandas as pd
import numpy as np
from sklearn.model_selection import train_test_split
from sklearn.preprocessing import StandardScaler
from sklearn.linear_model import LogisticRegression
df = pd.read_csv('stock_data.csv')
X = df.iloc[:, 2:-1].val... | 8ba6e3be6c457b80a11b232fb17de8c320dbb658 | [
"Python",
"RMarkdown"
] | 3 | Python | kenneth-vargas/stocks_linear | 4026507517897d007301c627b00d692108ce85a2 | a03def33475e41bebe129966f7b86ce3d503d2f4 |
refs/heads/master | <repo_name>anikgoel/sportsdirectinc-php<file_sep>/src/NHL.php
<?php
/**
* Description of SportsDirectBase
*
* @author Anik
*/
namespace SportsDirect;
use SportsDirect\Base;
class NHL extends Base {
private $api_key;
private $api_version;
private $mid_url_link = "/hockey/NHL";
public function _... | 885de0629c865ed7040e1956b0237ca47e13a12e | [
"PHP"
] | 1 | PHP | anikgoel/sportsdirectinc-php | 6694cd8e643b26f21ae07426531456c354e2321f | 232b5583bd8c3956e5ee87c00c2a2b007af94869 |
refs/heads/master | <repo_name>ErikRaaijmakers/vagrant-puppet-development-environment<file_sep>/installation/install-puppet5-deb.sh
#!/bin/bash
# Prepare puppetlabs repo
CODENAME=`lsb_release -cs`
wget http://apt.puppetlabs.com/puppet5-release-"$CODENAME".deb
dpkg -i puppet5-release-"$CODENAME".deb
apt-get update
# Install pup... | 0046abb55764ac65c994917cc13d3f9732f13ace | [
"Markdown",
"Ruby",
"Shell"
] | 10 | Shell | ErikRaaijmakers/vagrant-puppet-development-environment | b7256ab0f36e6d31dbe38c7f9af57febfce9feb3 | 245895b48e149d17480903bdf4e8d951a69dbfbd |
refs/heads/master | <file_sep>import React, { Component } from 'react';
import { render } from 'react-dom';
import { gsap } from "gsap";
import { Button } from '@material-ui/core';
function Rela() {
return (
<div>
<Button variant="contained" color="primary">
Hello World
</Button>
<Button color="primary">Hello ... | 410cd1a46223c32470e53dd79742f15bf35e2cd7 | [
"JavaScript"
] | 4 | JavaScript | moetech13/moet | 7791c5edb5ebd8b55d0b01e84ed27fe9dd1bd025 | 73a59f0ebdc284e59bef1420725e2bf13c95495f |
refs/heads/master | <repo_name>VetsE/cinder<file_sep>/src/cinder/logging_config.ini
[formatters]
keys=color
[formatter_color]
class=colorlog.ColoredFormatter
format=%(log_color)s%(levelname)-8s [%(lineno)4d] %(name)-10s| %(message)s
[handlers]
keys=console
[handler_console]
class=logging.StreamHandler
formatter=color
args=tuple()
[log... | 5eed967e628f3f639436fe0a82e39ae5e16c4159 | [
"Python",
"INI"
] | 13 | INI | VetsE/cinder | a7d71a361874c9670476b3448a604042d7d577a3 | 281a933acf69e34d458c2c95d2d6f05957161414 |
refs/heads/master | <file_sep>using EspionSpotify.Models;
using System;
using System.IO;
using System.Net;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Serialization;
using TagLib;
namespace EspionSpotify.MediaTags
{
public class LastFMAPI: ILastFMAPI
{
private const string _apiDomain = "http://ws.aud... | 2ee76ce4fdc0435ff23b15584ddd0872595d9b1c | [
"C#"
] | 1 | C# | s3er/spy-spotify | 18ac1673c61e39a6221a7e070aeb1a396d482055 | 830466bff452ac9da7d98dcd97a590f4c60b36ef |
refs/heads/master | <repo_name>haithemhamzaoui/Magasin<file_sep>/src/com/magasin/utils/TailleNumber.java
package com.magasin.utils;
public enum TailleNumber {
}
<file_sep>/src/com/magasin/entity/Magasin.java
package com.magasin.entity;
import java.awt.List;
import java.util.ArrayList;
public class Magasin {
private int idMagasin;
pr... | de7349075ef6428b0a9c677825e9a39c1d868598 | [
"Markdown",
"Java"
] | 13 | Java | haithemhamzaoui/Magasin | 0edd5e61f9d5073e227b246299c8061bf53e4f53 | f2b2d09cd399ba98607b87b6a9f019f35818d078 |
refs/heads/main | <file_sep>import math
import pytest
from euclidean.R2 import P2, V2, LineSegment
def test_line_segment_create():
ls1 = LineSegment(P2(0, 0), P2(10, 10))
ls2 = LineSegment(P2(10, 10), P2(0, 0))
assert ls1 == ls2
with pytest.raises(ValueError):
LineSegment(P2(1, 1), P2(1, 1))
def test_line... | c4f5d04e9290a02be0cd26ab76296f51ebd0c77a | [
"Python",
"reStructuredText",
"INI"
] | 38 | Python | keystonetowersystems/euclidean | 31e7535c4572214ab09615df38e004615e625d0f | 98cbda7274a3ef179ec6c4ad8cc584388607cecb |
refs/heads/master | <repo_name>chaudharyparth/R<file_sep>/Cool_shiny_practices/@shiny_DT::datatable.R
# datatable customization
https://rstudio.github.io/DT/options.html
# add link within datatable
library("shiny")
library("shinydashboard")
library("datasets")
library("DT")
library("shinyBS")
header <- dashboardHeader()
sidebar <- das... | d2c5d97205acc09b68693d7402e5ed3109d928b3 | [
"Markdown",
"R"
] | 2 | R | chaudharyparth/R | 7f42c6cabdb99044781d6f6771764dce08952cf1 | c89168fb8fe5b74d46f616a90eb13741a4763e74 |
refs/heads/master | <repo_name>gugahoa/maze_generator_cpp<file_sep>/main.cpp
#include "proceduralmaze.h"
int main(void) {
ProceduralMaze maze = ProceduralMaze(39, 29);
maze.generate();
maze.print();
maze.fogPrint();
return 0;
}
| 272969f73b3de2ad9c7a53afc8831dc3b697272e | [
"C++"
] | 1 | C++ | gugahoa/maze_generator_cpp | e4c8268146ad2c67cf2305adf01f4f46c6633c83 | 0ae108fcee4a534668cc20dfdf4d33260dec1e0b |
refs/heads/master | <repo_name>Guidebook/front-end-challenge<file_sep>/README.md
# Front end take home challenge
1. [Overview](#overview)
2. [How to work on this challenge](#how-to-work-on-this-challenge)
2. [Time](#time)
3. [Current code](#current-code)
4. [Task](#task)
## Overview
The objective of this challenge is to give your inter... | 701d3516e3d353dc4c8b97cd949b5170ff01c01b | [
"Markdown",
"JavaScript"
] | 4 | Markdown | Guidebook/front-end-challenge | 46c39b55e4944ea3b42ca701a837ce1621d27a8c | 2028c636fbb3755426e906c1e75128c061e6fe8d |
refs/heads/master | <file_sep>using System;
using System.IO;
using System.Linq;
using System.Reflection;
namespace PropMan
{
class Program
{
private enum Operation
{
Invalid,
Get,
Set,
Enum
}
private static class Commands
{
publi... | 6340a1252e9c38f24487b329ee718c00e393a2c2 | [
"Markdown",
"C#"
] | 3 | C# | kiromaru/WindowsShellProperties | 3ff9213e46e0c52194a6ec74c99cd23f98ee42c5 | 01d35b3d315985ceb58f5aa1520c9496c4416eb6 |
refs/heads/master | <repo_name>ArashMehraban/Petsc-DMPlex-SEM<file_sep>/README.md
How to compile:
1) Set PETSC_DIR and PETSC_ARCH variables in your path
2) make all
How to run (examples):
For Q1 mesh on 1 processors:
mpiexec -n 1 ./main -order 1 -f cube8.exo -dim 3 -num_fields 1 -num_components 1
<file_sep>/main.c
static char he... | 1958f6993824fbb0bdba401f18c12e42848e733f | [
"Markdown",
"C"
] | 2 | Markdown | ArashMehraban/Petsc-DMPlex-SEM | 14eadc9a8213ae4f8f7634a4ae5061a0cabc33fe | 618dc12a05bc47c2aa7a88752834e0c17aee68dc |
refs/heads/master | <file_sep>import unittest
from unittest import mock
from pip._internal.utils.misc import captured_stdout
from requests.exceptions import HTTPError
import os
import main as m
class TestGetId(unittest.TestCase):
# IDが環境変数に存在しない場合はNoneが返る
def test_none(self):
# IDという環境変数があれば削除する
os.environ.pop('I... | 29320549d19edd80afd28cbef8779c8d1259a92c | [
"Markdown",
"Python",
"Text"
] | 4 | Python | kitajima-shinya/kafka-mastodon | cafa94db37e0cfc3372615e9a92f5fa438f8a9cc | 400cd475a63fd6b95e08fbc8c69f4437a6d4655f |
refs/heads/main | <file_sep>import java.util.Scanner;
public class ME_Clock_09 {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int hours = 23;
int minutes = 59;
for (int hour = 0; hour <= hours; hour++) {
for (int minute = 0; minute <= minutes; minute... | 9c4c425d67aa93c10abebf855b1c462bce738071 | [
"Markdown",
"Java"
] | 64 | Java | MarioEmilov/Programming-Basics-with-Java | 1e3e648b808e470d7cbf97f1b3db20b2f3460944 | 9b52f08e8e5f791f48e45788e907366fb45f5215 |
refs/heads/master | <repo_name>Capncavedan/irb-jan-2015<file_sep>/README.md
READ ME
=======
This project is for the presentation at the Iowa Ruby Group Jan 20 2015.
See the code with methods redone using String methods instead of regexes on the `redone-with-string-methods` branch at https://github.com/Capncavedan/irb-jan-2015/tree/redon... | 0a31ba8a98d7f0fb18b56fc57c676ff292bcba11 | [
"Markdown",
"Ruby"
] | 3 | Markdown | Capncavedan/irb-jan-2015 | 70f9810d21a35e6e18dd92fae6b60826419ce1df | 07a67b8cbc8f60e4065aa21cb786044bad6cd699 |
refs/heads/master | <repo_name>omegadan01/walnut_wolbachia<file_sep>/demultiplex/rename_fastq_filenames.py
#!/bin/python
import csv
import re
import os
import shutil
dat = "rename_barcode_first_plate.csv"
current_folder = os.getcwd() # get working dir
print os.listdir(current_folder) # list folder contents
# make a dict for match
with... | 15e0f23e4648b71de369dd3a73c1e0c518159c14 | [
"Python"
] | 4 | Python | omegadan01/walnut_wolbachia | a1776a49a3201b39a9281490eb9728a65b6f820c | e46ac913be0d6bb929ff7c83afe2c4a9c45f9950 |
refs/heads/master | <file_sep>/**
* Fichier: caesar.h
* Auteur: <NAME> (<EMAIL>)
* Date: Janvier 2020
* Cours: TP3 C++
* Résumé: Déclaration de la classe Caesar
*/
#ifndef CAESAR_H
#define CAESAR_H
#include "encrypt.h"
#include <string>
using namespace std;
class Caesar: public Encrypt{
public:
Caesar();
... | 391f11e783a4aa62e9df474360f06b72d3ae7de7 | [
"C++"
] | 11 | C++ | cblard/itc313-TP3 | 41a0e8c8726d69b223f4f297d9a50d2cff1f9374 | aa4850a1ac3be9706e2c26314ef9576f7535094b |
refs/heads/master | <file_sep>package controller;
import java.net.URL;
import java.util.ResourceBundle;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.Alert;
import javafx.scene.control.Alert.AlertType;
import javafx.scene.control.Button;
public class LowTabContro... | b4b59bd4f0b64bcbc821ff6b4959fe40ddffaf8e | [
"Java",
"SQL",
"INI"
] | 9 | Java | Simjeongmin/jeongmin4069 | cafb4bbf317467d15aab3fc79aa084f47f1ad569 | 43b6386726e8e71b5fe1303d4cada98ee78cfee0 |
refs/heads/master | <file_sep>class HighScores
def initialize (scores)
@scores = scores
end
def scores
@scores
end
def latest
@scores.last
end
def personal_best
@scores.reduce {|largest, num| if num > largest then num else largest end}
end
def personal_top_three
sorted_scores = @scores.sort { |a, b| b <=> a }
sorted_s... | e146af3d5bb19e94c0ac01b11670d5478b9eabe3 | [
"Ruby"
] | 1 | Ruby | Preston-Jake/high-scores | 36c4ad1bde466fc45416198574f50209fa31f859 | 870ee56427cda090b37fb7823f717d6624c20186 |
refs/heads/master | <repo_name>NoelAlgora/SO-Examenes-Variables-condicionales<file_sep>/2013 Feb/solucion.c
#define REPONER_P 5
#define REPONER_B 5
pthread_mutex_t mutex;
pthread_cond_t cond;
int count_B = 0;
int count_P = 0;
int main() {
pthread_mutex_init(&mutex, NULL);
pthread_cond_init (&cond, NULL);
//SE CREAN LOS HILOS Y EJ... | fa7f21f649e43d7e6ec50aaee673f43cedfbc880 | [
"Markdown",
"C"
] | 9 | C | NoelAlgora/SO-Examenes-Variables-condicionales | 3e8b3ed2649ccfc6643c5d95d279d9be7cd189f8 | 58c160bdf71c6079079e00735a4f27751afc2c8e |
refs/heads/master | <repo_name>eliotrhys/week_07_day_1_homework<file_sep>/src/main/java/Vehicle.java
public abstract class Vehicle {
String type;
int healthValue;
public Vehicle(String type, int healthValue){
this.type = type;
this.healthValue = healthValue;
}
public int getHealthValue() {
re... | 73f0f87807190783881d88e59f421c90f590f073 | [
"Java"
] | 2 | Java | eliotrhys/week_07_day_1_homework | 01acd960022886e98fc479d619e1fd4cfcca1219 | d67af997bcf82f97e59b07a96178e835e1aed2fd |
refs/heads/master | <file_sep><div id="success_login" style="float: right;padding-right: 10px;width: auto;">
<table style="border-collapse: collapse;">
<tr>
<td style="font-size: 14px;font-family: 'Lucida Grande', Tahoma, Arial, Helvetica, sans-serif;"><b>ยินดีต้อนรับ (USER) : </b></td>
<td id="headerus... | c005f6187287a746451d26b8837e12a43fbaddde | [
"JavaScript",
"PHP"
] | 13 | PHP | empire2008/cctv-ver2 | b1267cd0eda4c2c454a4e0bce5c519aa281ca7d5 | 31efd4e12b8c935eb9dabc7b4a32365a80f215d4 |
refs/heads/master | <repo_name>ddiasfront/meli-app<file_sep>/app/routes/index.js
import React from 'react'
import { Provider } from 'react-redux'
import { Router, Route, IndexRoute } from 'react-router'
import configureStore from 'store/configureStore'
import App from 'containers/App'
import Produtos from 'containers/Produtos'
import Det... | 3d02444cf2d736d8409a70be198c1f6c14c455f4 | [
"JavaScript",
"Markdown"
] | 8 | JavaScript | ddiasfront/meli-app | 50b59f8a00bedd5b162aa5a218b3e08b3d046518 | 1e62f43e02b83bbb84e762260cc4dfa8a54af757 |
refs/heads/master | <file_sep>
/**
* Module dependencies.
*/
// подключим сеть
var net = require('net');
var fs = require('fs');
// библиотеки для подключения к SQL
var Connection = require('tedious').Connection;
var Request = require('tedious').Request;
var TYPES = require('tedious').TYPES;
var CRC_ARC_TAB = new Array(
... | 7378557c84c17546bd654ecb9fe62c930184290a | [
"JavaScript"
] | 2 | JavaScript | dimoniche/server | d6839093ddac4e5b5b4ffc2dd526f768775478ee | d2d355f87f51b3934fc62254ed6656d63df05048 |
refs/heads/master | <repo_name>albertogomez123/futbol-laboratorio2<file_sep>/futbol/futbol.ino
#include<Servo.h> //<NAME>,<NAME>
#define pinservo 9
#define PINSERVO 13
Servo motorderecho;
Servo motorizquierdo;
int estado = '0';
void setup() {
motorderecho.attach(pinservo);
motorizquierdo.attach(PINSERVO);
motorderecho.write(90); //... | c1f414ba44672d0c74a766e49c6b2e5f2fcb4c80 | [
"C++"
] | 1 | C++ | albertogomez123/futbol-laboratorio2 | 4122ba8f463bc030b4719aed1b31a41fbcb9e3ae | 4810bf51e0bf6d6b94e351afa233d63723b32dbc |
refs/heads/main | <repo_name>SamPatriquin/GiftJam_2020<file_sep>/GiftJam_2020_Project/Assets/Scripts/Score.cs
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Score : MonoBehaviour
{
public int value { get; private set; } = 0;
public event Action<int> OnScoreIncrease;
... | b3a2e131720632c62fdf0db4cb75f3bab86241c8 | [
"Markdown",
"C#"
] | 22 | C# | SamPatriquin/GiftJam_2020 | 378939b2eea8755eb33c79a6d37aa3378928bc31 | 7d0f7b586c1fc22c1e11d13d0f5c45a99c98b2b2 |
refs/heads/master | <repo_name>tuxpiper/cloudcast<file_sep>/cloudcast/iscm/shell.py
#!/usr/bin/env python
import os.path
from cloudcast._utils import caller_folder, search_file
from cloudcast.template import AWS, Resource
_shellinit_file = os.path.join(os.path.dirname(__file__), "scripts", "init.sh")
class Shell(object):
"""
Co... | 9ad2bebd9abca6ff5e930b529c1280854811255f | [
"Markdown",
"Python",
"Shell"
] | 18 | Python | tuxpiper/cloudcast | 06ca62045c483e9c3e7ee960ba70d90ea6a13776 | d105525290b0dafdb5c64306fc622813a351664f |
refs/heads/master | <repo_name>juwoon01/webproject_aboutme<file_sep>/Script/PS.js
const toDoForm = document.querySelector(".js-toDoForm"),
toDoInput = toDoForm.querySelector("input"),
toDoPList = document.querySelector(".js-toDoPendingList"),
toDoFList = document.querySelector(".js-toDoFinishedList");
const TODOS_PLS = "toDosP";
con... | b928044a5a40fbeadf620c8bcbd75298ce7539ef | [
"JavaScript",
"HTML"
] | 2 | JavaScript | juwoon01/webproject_aboutme | 6ae55cf078bff82f017e6501631d5518398d5ac6 | 2b2210c95edc131e5542f7f0a636d0198fdc1655 |
refs/heads/master | <file_sep>array = []
50.times do |i|
i +=1
array << "<EMAIL>"
end
puts array<file_sep>puts "C'est quoi ton prénom?"
print "> "
user_name = gets.chomp
puts "Et ton nom?"
print "> "
family_name = gets.chomp
puts "Bonjour, #{user_name} #{family_name}"<file_sep>puts "Bonjour, c'est quoi ton blase ?"
user_name = gets.ch... | 00d44b8609306f6e6cddca24c74fd8d2eb394659 | [
"Ruby"
] | 17 | Ruby | louiseptr/exos | 8ba4e08299b0f5c2c41c1e58bce0ece98f79f66e | 8c9859b6f9fc9ed25fca5315e67c4225245d5670 |
refs/heads/master | <repo_name>CoMoDoS/Assigment4DS<file_sep>/src/main/java/impl/UserServiceImpl.java
package impl;
import model.User;
import service.UserService;
import javax.jws.WebService;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;
import javax.persiste... | 8c959ea90988b536c436a9117744626a28b97781 | [
"Java"
] | 3 | Java | CoMoDoS/Assigment4DS | 7f969369fb68f581498910624dbe560235025beb | e1cf74c754c80d4e5adf0a4a5b7b1892ef9a01f4 |
refs/heads/main | <repo_name>gtanques/estudo-collection-stream<file_sep>/lib/ExemplosSet/ExTreeSet.java
import java.util.Iterator;
import java.util.TreeSet;
public class ExTreeSet {
public static void main(String[] args) throws Exception {
// Quando necessário alterar a ordem atravez do uso de comparadores | Mantém a ordem ... | 031f001842f2d6946c675099bf7d034952078ad4 | [
"Markdown",
"Java"
] | 4 | Java | gtanques/estudo-collection-stream | 548d9567d987168bf37eab30dce8a110e206f5a5 | 161a1372b5d607520ab1b3589ac274f00197ac30 |
refs/heads/main | <repo_name>ctrujillo0008/twillio_api<file_sep>/send_sms_twilio.py
import os
from twilio.rest import Client
# Find your Account SID and Auth Token at twilio.com/console
# and set the environment variables. See http://twil.io/secure
account_sid = 'xxxxxxxxxxxxxxxxxxx'
auth_token = '<PASSWORD>'
client = Client(a... | 21b0fd32e800a3442fca7272d0075d8013d4270c | [
"Markdown",
"Python"
] | 2 | Python | ctrujillo0008/twillio_api | d2ce46c714c43cad40cafab597825ceb74b909da | c1f05d7fe451ad77653a990f9554e9d199a959ad |
refs/heads/master | <file_sep>//
// UIViewController+KeyboardLayoutGuide.swift
// KeyboardLayoutGuide
//
// Created by <NAME> on 24.10.17.
// Copyright © 2018 <NAME>. All rights reserved.
//
import UIKit
import FirstResponder
var keyboardWillChangeFrameObserverKey: UInt8 = 0
var keyboardWillHideObserverKey: UInt8 = 0
var keyboardLay... | 3152e972b41d33dfbbc606e3a007dc743dd0613f | [
"Swift",
"Ruby"
] | 2 | Swift | johannesd/KeyboardLayoutGuide | 34acb359ab464c70a24a60cd148ee586e9578216 | 7147e6a2da64be602e9b7894e71a7bd7c29f5fa2 |
refs/heads/master | <file_sep>import java.lang.reflect.Array;
import java.util.*;
public class _07CombineListsOfLetters {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
ArrayList<Character> l1 = new ArrayList<Character>();
ArrayList<Character> l2 = new ArrayList<Chara... | 1f100ca334e3347806651a23f54edf4133707368 | [
"Markdown",
"Java"
] | 2 | Java | SKT3/-Homework-JavaCollections | 685f0484a0e8905da21245f3a735ca9ea38b6c62 | 22824d84458ea9b320555398df7b7c3923184409 |
refs/heads/master | <repo_name>ux3d/slimktx2<file_sep>/include/kvd.h
// Copyright (c) 2020 UX3D GmbH. All rights reserved.
#pragma once
#include <cstdint>
namespace ux3d
{
namespace slimktx2
{
struct KeyValueData
{
static constexpr auto KTXwriterKey = "KTXwriter";
static constexpr auto KTXwriterKeyLength = sizeof("KTXwriter... | c7a3f0bc5fec0fe404467baadffe7951a54757d1 | [
"Markdown",
"CMake",
"C++"
] | 22 | C++ | ux3d/slimktx2 | cd5f0b1528d57e4551b9c0e9f369f7a13ee0a7e1 | 02a72daa34e72a8edee5a3da62c64a0075b7cdf5 |
refs/heads/main | <repo_name>jOrdenesC/test-hours<file_sep>/README.md
# TEST HOURS
Testing michcom hora de motocicletas.
### Pasos de instalación
1. create .env file
2. npm install
3. npm run starto
### Tecnologías usadas
* Express
* Node js
* EJS
* Morgan
* Mongoose
* body parser
<file_sep>/app.js
const express = require('express'... | 40629b812363fc2cc5f8ecd7ac4d559d6dea4afa | [
"Markdown",
"JavaScript"
] | 3 | Markdown | jOrdenesC/test-hours | b9269d7df0a168199bdc5cadf519ae4ff2e594c7 | cdda068df44acdd95eee44471e02862696b64350 |
refs/heads/master | <file_sep>import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router'
import { Vista2Component } from '../app/vista2/vista2.component';
import { HomeComponent } from '../app/vista2/home/home.component';
import { ProductosComponent } from '../app/vista2/productos/productos.component'... | 0b6af9e701dcfaea02382287f4fb1329c73dfad2 | [
"Markdown",
"TypeScript"
] | 11 | TypeScript | dayaGuerra/catalogo-alicorp-talent | e952a5ac8d858cad06b32b47a40d1faa0d733d65 | 80b6bf14371626ad148935c0ccf202922ee94dc0 |
refs/heads/master | <repo_name>53akshit/JSNeigh_Map<file_sep>/JS/main.js
//declaration of variables and locs array
var locs = [
{ id: 0, title: 'gateway of india', location: { lat: 18.9220, lng: 72.8347 } },
{ id: 1, title: 'haji ali dargah', location: { lat:... | 5457edbe50137c23fb43df95170130e79edac70d | [
"JavaScript"
] | 1 | JavaScript | 53akshit/JSNeigh_Map | 8d87ea859b8ca4e421bb4ba494f0842b4bbbc8a4 | 7cf2ccb9c5e4af933b53375f495be2cf10ab8c41 |
refs/heads/master | <repo_name>hackmdio/migration-to-0.6.0<file_sep>/lib/models/note.js
"use strict";
// external modules
var md = require('markdown-it')();
var metaMarked = require('meta-marked');
var cheerio = require('cheerio');
var shortId = require('shortid');
var Sequelize = require("sequelize");
var S = require('string');
// perm... | 34bff9064da5dca211173a4801766be5a9ca4ef3 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | hackmdio/migration-to-0.6.0 | d8834be16bd55366a8eea355044f5cf55895e5f2 | 53d799b3e299af4e334b1193807c43158a195a19 |
refs/heads/master | <repo_name>YongdongHe/RailsPractice<file_sep>/app/views/microposts/show.json.jbuilder
json.extract! @micropost, :id, :content, :userid, :created_at, :updated_at
<file_sep>/db/migrate/20150706140004_add_index_to_users_email.rb
class AddIndexToUsersEmail < ActiveRecord::Migration
def change
#调用add_index方法,参数含义为为user... | 2a28f15acf47380d9902001e34fd8ab50d9fad24 | [
"Ruby"
] | 4 | Ruby | YongdongHe/RailsPractice | 703e13a366efa4eb9cb96acf20cd06f2bd658926 | b09b8536370989fd621e567f082a98bbb2aa4826 |
refs/heads/master | <repo_name>gaomar/book-of-alexa-experts-parts<file_sep>/uketsuke/LINENotifyPost.js
const axios = require('axios');
const querystring = require('querystring');
require('dotenv').config();
module.exports.sendNotify = async function sendNotify(message) {
// LINEに渡すパラメータ
const jsonData = querystring.stringify(
... | 2568ad03b1b398f239eae03b3de7ceb0a93196ca | [
"JavaScript"
] | 1 | JavaScript | gaomar/book-of-alexa-experts-parts | fbb103c160db347519b8827be17e5d5529864e41 | 5a7a3ed2927189ba01ec9bff7b4bb4e74d0141f2 |
refs/heads/master | <repo_name>Spring-cat0518/attendance<file_sep>/src/main/java/com/example/attendance/domain/Department.java
package com.example.attendance.domain;
import javax.persistence.*;
public class Department {
/**
* 部门id
*/
@Id
private Long depaid;
/**
* 部门名称
*/
private String depaname;... | 53f132d644d1d8728dfded6f7c7cda0e2af44e8b | [
"Java"
] | 12 | Java | Spring-cat0518/attendance | b07bfcc4d9edebf3e08cf886ff61eaaf43f700d4 | 32bfd59c4182587c5e133f0b5b16e5242d3ed084 |
refs/heads/master | <repo_name>scottvaudreuil/codeportfolio<file_sep>/index.php
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Scott Vaudreuil Website Demo</title>
<!-- B... | 5c4bd3994102f837109a2983326ed8a9893cc8ab | [
"PHP"
] | 1 | PHP | scottvaudreuil/codeportfolio | 770d6beb2ee6ad299d8ee674abae846f97b7ce9f | b5afc47265c5d419a40946d963828950e6677c21 |
refs/heads/master | <repo_name>12059976534/onlinebook<file_sep>/app/admincontroler/views.py
from django.shortcuts import render,reverse
from app import models
from django.http import HttpResponse
from module.gmail import sending
import uuid
from django.http import HttpResponseRedirect
from errno import ENETUNREACH
from django.views.decora... | 6acaec6eda1b60a54b2b39160a022eeb2d88d71a | [
"Markdown",
"Python",
"Text",
"JavaScript"
] | 10 | Python | 12059976534/onlinebook | 140d7ba66bc7bc1718da5332415032376f8993ab | 9dda52014bf269b00a52e5bcb3d20f241f4281f1 |
refs/heads/main | <file_sep>let box;
let bubbles;
let NUMBUBBLES = 25;
let bubbleSize = 5;
let width = 700;
let height = 600;
let locGrid;
let gridUnit = 100;
function setup() {
createCanvas(width, height);
background(255);
box = createVector(width, height);
locGrid = new Array(1 + width/gridUnit);
for(let i = ... | 9533bc01fd749b8a0fb296fa7547e5a56210fe16 | [
"JavaScript"
] | 1 | JavaScript | unidentifiedFlan-zz/GreedyBubbles | 5585c21914212bc3c4a7a4b36bcc5132cdd314c9 | 807fdff44caec47cd9fa0c8ad0748d04f133228a |
refs/heads/master | <file_sep>////////////////////////////////////////
// SCRIPT
////////////////////////////////////////
$(function(){
var setElm = $('.main_slide'),
fadeSpeed = 1000,
switchDelay = 5000;
$(window).load(function(){
setElm.each(function(){
var self = $(this),
findUl = self.find('ul'),
findLi = findUl.find('... | a823e582739dd002a9b010daf2defe3f2ee2ed84 | [
"JavaScript"
] | 3 | JavaScript | Haruwaka/verbose-spork | b134d8e11119a4b959b91ae2e8d3897a35a6a007 | 0e6076735a315ac0d66349422498a08f5aca73a5 |
refs/heads/master | <file_sep>#! /usr/bin/env bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
. "${DIR}/../environment/environment"
cd "${DIR}/.."
ROOT="${PWD}"
echo Setting up data directories
if [ ! -d "${COMMITMENTS_ROOT}" ]; then
mkdir -p "${COMMITMENTS_ROOT}"
fi
if [ ! -d "${NOTIFY_ROOT}" ]; then
mkdir -p "${NOTIFY... | 307924d7ec93131046e96be5bc2374f97f551d21 | [
"JavaScript",
"Markdown",
"Shell"
] | 10 | Shell | wballard/commitments_ui | 28cc901fceb8a8e0be061956bcadf7665905edad | f7978e8ad82a60b6949e671d6ab0f274f271f675 |
refs/heads/master | <file_sep><?php
include_once("../database/constants.php");
include_once("user.php");
include_once("DBOperation.php");
if (isset($_POST["username"]) AND isset($_POST["usertype"])) {
$user = new User();
$result = $user->createUserAccount($_POST["username"],$_POST["firstname"],$_POST["lastname"],$_POST["password1"],$_PO... | 6d2f87d40345bf35df07203540ae2abe0b5a9f6a | [
"PHP"
] | 2 | PHP | IBigya/inv_projecthamro | c4396095db8df7158c165629b1d9960d7be69055 | d75b60933bf9af0d613bdd64909034bb433e4bdd |
refs/heads/master | <file_sep>import angular from 'angular';
const module = angular.module('app.directives', [
]);
export default module.name;
<file_sep>import angular from 'angular';
import router from './router';
import bootstrap from 'angular-ui-bootstrap';
import directives from './directives';
import appStates from './states/';
c... | 3bc77daca98711f54ede119accf65da031a97142 | [
"JavaScript"
] | 4 | JavaScript | ChristinaAjemyan/man | 03395d947ffe5c81b425dfe7e01c6f5d91ab7011 | 05a96b62d1cb6d5c9126b7502e644633ffaf2402 |
refs/heads/master | <repo_name>Fyyre/directntapi<file_sep>/DirectNtApi.h
/*
DirectNtApi ( version - final )
(C) 2011 - Fyyre
last update: 27.05.2011
*/
#include <basetsd.h>
#pragma once
extern DWORD dwNtAcceptConnectPort;
extern DWORD dwNtAccessCheck;
extern DWORD dwNtAccessCheckAndAuditAlarm;
extern DWORD dwNtAc... | 568dd5e3e82b3a4f58c04f4e1bacb2937668c02a | [
"Markdown",
"C"
] | 2 | C | Fyyre/directntapi | 1a4e6704e2ae03b563575a639fcefe2f887b13f8 | bae629ed51adcd765b4bedff7c1789185903f430 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.