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 | <file_sep># homework-0
Test for making my first repository
<file_sep>##This is just to see how it looks in the Git tab | 9032dc8136808d80a0a429d79a2bf9033a9f4d45 | [
"Markdown",
"R"
] | 2 | Markdown | nkinachtchouk/homework-0 | 28f4fca0d1f68bb349468bf446713ef688a1674d | 19b84a2593e0d76d637880b8a188207603e7784c |
refs/heads/master | <file_sep>import { useEffect, useState } from "react";
const Title = () => {
let text = "Find your streaming family.";
const [animatedText, setAnimatedText] = useState("");
text = Array.from(text);
useEffect(() => {
const timeouts =[]
setAnimatedText("");
text.forEach((element, index) => {
co... | 7087ad0e544ff5c0809041c66c49f0c8b3a98b03 | [
"JavaScript"
] | 17 | JavaScript | Victorowsky/StreamingFamily | c5c9be6160ec60f0e329d0abea0a387b6198a267 | de6d998a5d902735184cb56a63d838c7ce74cc10 |
refs/heads/master | <repo_name>lemonadezZ/Utopia<file_sep>/requirements.txt
backports.ssl-match-hostname==3.4.0.2
chardet==2.2.1
click==6.6
configobj==4.7.2
decorator==3.4.0
Flask==0.11.1
iniparse==0.4
IPy==0.75
itsdangerous==0.24
Jinja2==2.8
kitchen==1.1.1
langtable==0.0.31
MarkupSafe==0.23
perf==0.1
policycoreutils-default-encoding==0.1... | 180eab977af6c6e5ac972a2b36c450cf05aff2cc | [
"Markdown",
"JavaScript",
"Text",
"Dockerfile",
"Shell"
] | 6 | Text | lemonadezZ/Utopia | 3a894c16d518025724e6612e1f6be6fb1a7b3389 | ec699f8e8e1b7019443401cf36b1227b6eb829c2 |
refs/heads/main | <repo_name>armandosneto/DB_Master<file_sep>/index.php
<?php
require_once("config.php");
//Load an user by ID
//$user = new User();
//$user->loadById("Armando", "123456");
//echo $user;
//Load a user list
//$list = User::getList();
//echo json_encode($list);
//Load an user searching by login
//echo json_enco... | 537908c278c224e1f56a00867641175562c14324 | [
"PHP"
] | 3 | PHP | armandosneto/DB_Master | 3c0f02e58deaebb5c3d3bef48083ba1273cd1060 | cb78329e7d3634bc02496d0591622a50cb70f864 |
refs/heads/master | <repo_name>REinitiate/CybosTraderAutoRun<file_sep>/README.md
CybosTraderAutoRun
==================
주제 : 윈도우 매크로 동작 프로그램
기능 : 대신 사이보스 트레이더 프로그램을 자동적으로 실행 및 로그인
개발배경 :
대한민국에 대부분의 오피스 PC에 윈도우가 설치되어 있는 한, 업무상 윈도우 내의 여러가지 요소를 Algorithmic 하게 조작하는 것의 필요는 사라질리 없다. 이때 쉽게 선택할 수 있는 카드중의 하나로 AutoIt(http://www.autoitscript.com/s... | 949d79c82f3ac32b9a65ce22c785f83cb2b480ac | [
"Markdown",
"C#"
] | 4 | Markdown | REinitiate/CybosTraderAutoRun | b6283bd32228a756d9fb7e747d8704a44e2fa8b3 | a63eb8fcb1d3d80276944db46d7fa3613c08b22c |
refs/heads/master | <file_sep>const http = require('http');
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.write('Hello World!');
res.end();
}).listen(process.env.NODE_PORT);
console.log(`Listening on Port: ${process.env.NODE_PORT}`)<file_sep>version: "3"
networks:
main-net:
volumes... | 7f4c907149053dc06cc61916d37c4f6a74c2961c | [
"JavaScript",
"YAML",
"Markdown",
"Shell"
] | 4 | JavaScript | karnthis/dev-op-boilerplate | dbacb182014caae1454753ea4f3cd3e01ac8de57 | 4b7c35bc87266d07225a30d919c799c13538d7da |
refs/heads/master | <file_sep>package com.automatedtest.sample.smartbearpom;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import io.cucumber.java.en.And;
import io.cucumber.java.en.Given;
import io.cucumber.java.en.Then;
public class SmartBearpomPageSteps {
public SmartBearpomPage smartBearpomPage;
public S... | 4a0bfc51841a2152c002a6a6c6969c19fc268b13 | [
"Java"
] | 11 | Java | rohitsitani/cucumber-java-selenium-webdriver-example | f8d1477b24683aa87a68066b4e5021949c6b8b3b | 744e0e13af71cb57906b12d9936cc69799d54248 |
refs/heads/master | <repo_name>galmax1984/angular-counter<file_sep>/src/app/counter/counter.component.ts
import { Component, OnInit } from '@angular/core';
import { GameSettingsService } from '../service/game-settings.service';
import { GameSettings } from '../models/game-settings';
import {StateMachine, StateEvent} from 'angular2-state-m... | 04b252eca591d0517e73eb43b7f94b7f484511d3 | [
"TypeScript",
"HTML"
] | 5 | TypeScript | galmax1984/angular-counter | 160174a44e8a0707fe3f8b6c1fe9651ddf678347 | 2427814926cab83838e88601a9f9d70af9a86c91 |
refs/heads/master | <file_sep>package main
import (
"bytes"
"context"
"encoding/json"
"errors"
"fmt"
//"io"
"io/ioutil"
"log"
"net/http"
"os"
"strings"
"time"
"github.com/docker/docker/api/types"
"github.com/docker/docker/api/types/container"
dockerclient "github.com/docker/docker/client"
)
var environment = os.Getenv("E... | 8362a9cad0780b9bcd84d67d51cbec479ec95cc1 | [
"Markdown",
"Python",
"Go",
"JavaScript"
] | 7 | Go | Blue-infosec/Shuffle | 5d092ddd41457760f69fc8d49f7319e20eba7724 | 1f7f7d5a109bd0d37c1586a91a6a5b3b0185d5c9 |
refs/heads/master | <repo_name>ChrisGuzman/Unit-Instrumentation-Android-Tests<file_sep>/app/src/test/java/com/audhil/medium/gweatherapp/basic_mockk_samples/AppRepositoryInjectTest.kt
package com.audhil.medium.gweatherapp.basic_mockk_samples
import com.audhil.medium.gweatherapp.GDelegate
import com.audhil.medium.gweatherapp.data.model.api... | 8f75eda05ac0c61b235daa78ad7b9e4bd99fe2d3 | [
"Markdown",
"Kotlin",
"Gradle"
] | 30 | Kotlin | ChrisGuzman/Unit-Instrumentation-Android-Tests | f0cadd23a5665ea4de93c448cc34afc134a6a76d | 5318a29c838291b1eb56cac6cf68b1ce2688a173 |
refs/heads/master | <repo_name>JademyRo/CollectionExamples<file_sep>/src/ro/jademy/collections/SetTester.java
package ro.jademy.collections;
import java.util.HashSet;
import java.util.LinkedHashSet;
import java.util.Set;
import java.util.TreeSet;
public class SetTester {
public static void main(String[] args) {
// the Set ... | 5575dd51e1c94a30efebc23191cd5c7140a9b6c3 | [
"Markdown",
"Java"
] | 2 | Java | JademyRo/CollectionExamples | 33b1b313ba6de0f5a9a03250056f11333d76618d | b0b44703b7ccb6a5fd9428b2ba4aa0d6c4634d57 |
refs/heads/master | <repo_name>lindat18/ffta<file_sep>/ffta/pixel_utils/parab.py
"""parab.py: Parabola fit around three points to find a true vertex."""
import numpy as np
def fit_peak(f, x):
'''
Uses solution to parabola to fit peak and two surrounding points
This assumes there is a peak (i.e. parabola second deriv is negative)
... | 6e698619b1ab7f1ffbb2f5a2fe2d58c52c748a93 | [
"reStructuredText",
"Python",
"Text",
"C",
"R",
"C++"
] | 66 | Python | lindat18/ffta | f510a2068b7626e2984e54afc1a577450e560e97 | 662bdc92b9bf2150fb281b03cc83eb9fdab709c3 |
refs/heads/master | <repo_name>linqueta/rails-uuid-postgres<file_sep>/app/models/book_uuid.rb
# frozen_string_literal: true
class BookUuid < ApplicationRecord
belongs_to :author_uuid
end
<file_sep>/app/models/author_uuid.rb
# frozen_string_literal: true
class AuthorUuid < ApplicationRecord
end
<file_sep>/app/models/author_sequencial_i... | 0abf3d76e853f5542297c354c869805e45a2ecc3 | [
"Markdown",
"Ruby"
] | 7 | Ruby | linqueta/rails-uuid-postgres | 817096f4bba295998d667e9fc007bd8acd60760a | 4fabf5a5f91bf9446375c22f9bc49f0f792eba78 |
refs/heads/master | <repo_name>bootcampitp/bdd-cucumber-gherkin<file_sep>/src/test/java/steps/MyStepdefs.java
package steps;
import io.cucumber.java.After;
import io.cucumber.java.AfterStep;
import io.cucumber.java.Before;
import io.cucumber.java.BeforeStep;
import io.cucumber.java.en.And;
import io.cucumber.java.en.Given;
import io.cucu... | db474d5028b503633fb487e2500d9ef73ca4d1a5 | [
"Java"
] | 1 | Java | bootcampitp/bdd-cucumber-gherkin | b442dde975c9761021d276dc809edb151859be5d | f2da8c094a04c6c0c3c15fde7b2a286339b84fee |
refs/heads/master | <repo_name>azbyluthfan/scraper<file_sep>/kissmanga_scraper.py
import time
import re
import requests
from multiprocessing.pool import ThreadPool as Pool
from bs4 import BeautifulSoup
class KissmangaScraper:
def get_soup(self, url):
"""Scrape content from url and parse it using BeautifulSoup.
"""
... | 66e4b266ae8a31cccedc7af2fffe0be42e44051a | [
"Python"
] | 2 | Python | azbyluthfan/scraper | a0c1ecfdbf76817dee09ce5949037b5cd9ef1bde | a839579001d3594f6c8a198e15430c5410c0e805 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
namespace Kevin_spicy_GAME
{
class EnemySpawn
{
static Random rand... | 1ba1e21af017cdfa549f29a7b015ce55424a2e3b | [
"C#"
] | 8 | C# | ElliotSeger/Kevin-Spicy-DIGDIG | 7bb366bd671772c33dbe844d762a8ceef26f7e81 | 257a2f9478ffaeebf22955b2efe88a3c011474b2 |
refs/heads/main | <file_sep><?php
class Post{
private $userObj;
private $con;
public function __construct($con,$user){
$this->con=$con;
$this->userObj=new User($con,$user);
}
public function submitPost($body,$userTo){
$body=strip_tags($body);//Remove html tags
$body=mysqli_real_escape_string($this->co... | eb81d522a8c0d335f468ed9c1f6dca32400bed97 | [
"Markdown",
"JavaScript",
"PHP"
] | 17 | PHP | Ionii0/PHP_CRUD_mini_social_site | cb83a1a3f1fe8e158cb39e3370649658a2b26959 | 5e563aefec80bf854536036d0a9913c91e89fe0f |
refs/heads/master | <file_sep><!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<link href="../style.css" rel="stylesheet" type="text/css"/>
<link href="https://fonts.googleapis.com/css?family=Acme" rel="stylesheet">
<title>Exercice 4 </title>
</head>
<body>
<header>
<a h... | e48c61b3a3e578e5bf9efa8e2f86107015d66182 | [
"PHP"
] | 5 | PHP | AudreyLesterlin/PHP-Part3-Exo1-8 | fda4b24f80578c870cae82f79ccc41b199570baf | 7ff8ebb27e1fc6667fd741317237f5ff632f3117 |
refs/heads/master | <repo_name>nutan-priya/SMC3_VolumeProject_Selenium<file_sep>/src/tests/ItemAddDeleteFunctionalityTests.java
package tests;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.testng.Assert;
import org.testng.annotations.AfterMethod;
import org... | ebd947bfabef94b9d82fa0de4cc92f2e1e707f1f | [
"Java"
] | 5 | Java | nutan-priya/SMC3_VolumeProject_Selenium | 1f4010e34161201a5d10a14fab3b9667fc9ec3ec | 0f22ba0add243d2bb4bd4ee3ce1eb1b8dc67ea46 |
refs/heads/master | <repo_name>Joseph-Visconti/CanadianRecallNotifier<file_sep>/app/src/main/java/com/example/visconti/canadianrecall/RecentRecallsActivity.java
package com.example.visconti.canadianrecall;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.AsyncTask;
import android.os.Bundle;
import andro... | b5f66cf8e6d37299746d624e73e4c6261b71f670 | [
"Java"
] | 1 | Java | Joseph-Visconti/CanadianRecallNotifier | 43188daadf7b48c6e37abf66d59f6dfb2c40d5da | 8512906d32c216e4d3982a201d1ee7864f839f2d |
refs/heads/master | <repo_name>BenHZW/OCUIDemo<file_sep>/人脸识别/Podfile
pod 'OpenCV', '~> 2.4'
end
<file_sep>/HZWHistory/Podfile
platform :ios,'7.0'
pod 'Masonry'
pod 'Mantle','~>1.0'
pod 'AFNetworking','~>2.6.0'
pod 'SDWebImage','~>3.7.2'
pod 'MJRefresh','~>1.4.4'<file_sep>/README.md
# OCUIDemo
There are some UI Demo creating by OC
| c9b8397f8ffb5dbe329667e53146a731a11fc1bb | [
"Markdown",
"Ruby"
] | 3 | Ruby | BenHZW/OCUIDemo | 5b391ff5bed71bfe16c7aa96d25829e3a5853068 | ed53e4bfe8bd49f96a7495847d80cc68e602234b |
refs/heads/master | <repo_name>medalLi/crawler<file_sep>/com-crawler-first/src/main/java/com/medal/crawler/httpTest/HttpClientPoolTest.java
package com.medal.crawler.httpTest;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClients;
import org.apache.http.impl.conn.PoolingHttpClientConnectio... | 39360621451f8998f65f8ac8be1132b371f88547 | [
"Java"
] | 3 | Java | medalLi/crawler | f4b3c8cfa4f5e3b426695689dc71bccffe917526 | 5a3311824d49bbe425bd77c5264ebd7a9083dfd1 |
refs/heads/master | <repo_name>jdt/CalBender<file_sep>/Source/src/AppBundle/Repository/IEventRepository.php
<?php
namespace AppBundle\Repository;
use AppBundle\Entity\Value\Date;
interface IEventRepository
{
function selectEvents(Date $from, Date $to);
}<file_sep>/Source/src/AppBundle/Util/ICalendar.php
<?php
namespace AppBundle\Util;
... | 8ca86a2b8d755604dfece8d9bc15054af1c1ee56 | [
"Markdown",
"PHP"
] | 11 | PHP | jdt/CalBender | 4127eaf6b9973a017556e72584b63341c3e9a454 | 17301e20b523b5fb3169f592e0432fa360ca9a5b |
refs/heads/master | <repo_name>rgrigore/Get_next_line<file_sep>/get_next_line.c
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_lin... | 1dbd73a258200105ca270e0d07c9d4abed882594 | [
"C"
] | 1 | C | rgrigore/Get_next_line | a5d812840048ab52fad6c217677f956f30adc09c | f2821d6669bcadf69417e08c8b5d70998498f070 |
refs/heads/master | <repo_name>MeMartijn/FakeNewsDetection<file_sep>/README.md
# Fake news: approaching automated lie detection using pre-trained word embeddings
In this repository, the following research question is explored: what is the performance of combinations of pre-trained embedding techniques with machine learning algorithms whe... | 7d2622dfa70f5edd4a841e77b9ffd58502668c68 | [
"Markdown",
"Python",
"Text"
] | 5 | Markdown | MeMartijn/FakeNewsDetection | b6891aeae8d18649c15d82b23374566a3efbc882 | ede5302ef46c9ef472e34a1f52c3749f642ceba5 |
refs/heads/master | <file_sep>// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Hazard.h"
#include "Spike.generated.h"
DECLARE_DELEGATE(FHitSignature)
/**
* 8 x 8 spike.
*/
UCLASS()
class RAGELITE_API ASpike : public AHazard
{
GENERATED_BODY()
public:
AS... | 69928dba471bce4462a57656b96a4886d2dacac0 | [
"Markdown",
"C",
"C++"
] | 55 | C++ | elixs/Ragelite | 117e0f0f446c9d3fe402ae53f01533ac81fcb97b | 9a12ddcaa857a99de00393e5764dc60e7fef9b0b |
refs/heads/master | <repo_name>EncryptedCow/phaser3-ts-boilerplate<file_sep>/src/Game.ts
import * as Phaser from "phaser";
import * as Scenes from "./Scenes";
const config: GameConfig = {
type: Phaser.AUTO,
backgroundColor: "#6495ED",
scene: [Scenes.Scene1]
}
window.addEventListener("load", () => {
const game = new Phaser.Game(confi... | 62d8c628a9f41af42fbf3e4e04afbf1f65c1fe4b | [
"Markdown",
"TypeScript"
] | 3 | TypeScript | EncryptedCow/phaser3-ts-boilerplate | 72ca4febd1471f62cd6bb7e6d7cfb1ad48a119fc | da827399cc11b485a46e5d11c6efb1fc92d2099c |
refs/heads/master | <file_sep>import axios from 'axios';
export const getPokemonList = () => {
// In real life, API URL should be declared in another file :)
return axios.get('https://pokeapi.co/api/v2/ability/')
.then((response) => {
return response.data;
})
.catch((error) => {
ret... | 0197e97ab3369fda26e30bdc19d748641b7f1247 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | magicwebpl/react-api-call-external-file | b4dbbe5e9de0b4da742df4d88bc0214034f1575d | bd6b53f61fbb7d1db964b1605591bccc848aa96c |
refs/heads/master | <file_sep>#include<iostream>
using namespace std;
int countBits(int n){
int counter=0;
while(n){
n &= (n-1);
counter++;
}
return counter;
}
unsigned int solve(int a, int b){
unsigned int ctr = 0;
for(int i=a; i<=b; i++){
ctr += countBits(i);
}
return ctr;
}
int main(void) {
int... | e69e5ea0784fe10c7f6e102a8c18cf62bc588d28 | [
"Markdown",
"C++"
] | 99 | C++ | vanshBhatia-A4k9/CB | 3f6b5a6105c8f0833da4d521457c1f12b4d68fb4 | b0a366aa8bdd372aab620b20e4f8dc40a18e7357 |
refs/heads/master | <file_sep># TimesheetManager
Timesheet manager is currently being build in Kotlin and TornadoFx. The goal is to create and store timesheets for different projects, and to export those timesheets to a spreadsheet.
This project is an exercise in Kotlin and TornadoFx. It is very much incomplete but *eventually* I'll get ... | 4f3d2748280a1fd9ae4181265531066959fc2daa | [
"Markdown",
"Kotlin"
] | 6 | Markdown | Creavin/TimesheetManager | 01464e8d7d74fcbb09aa33083c2679689f3c41bc | dc1499b345dcbab30836a70bc3d3a4688a7c332e |
refs/heads/master | <file_sep>import {TICK, TIMER_TOGGLED} from '../actions/types';
const INITIAL_STATE = {
running: false,
timerStart: null,
seconds: 0
};
export default (state = INITIAL_STATE, action) => {
switch (action.type) {
case TIMER_TOGGLED:
if (state.running) {
return {...sta... | d8e3cdae05dec915b134fe33e77c307b057d9b70 | [
"JavaScript",
"Gradle"
] | 5 | JavaScript | effeffdev/timer_demo | a460db5ecf56d26fd3e52f7b0bf7519f34877293 | 24ccafdb346faff6f2edbc8f5871a3a41a786f2e |
refs/heads/master | <repo_name>h-mj/morkovka-web<file_sep>/src/components/Progresses/index.js
import Progresses from "./Progresses";
export default Progresses;
<file_sep>/src/models/Foodstuff.js
import { extendObservable } from "mobx";
import { client } from "../utils/ApiClient";
import t9n from "./Translator";
export default class Food... | fcfb150cafe9ed33cfe1f1c4e0cbcea41e40318f | [
"JavaScript",
"TypeScript"
] | 71 | JavaScript | h-mj/morkovka-web | f7668010d7b3658559d5ae2882a6c43f97001dea | 73d109d268a10dee115d43eead6f561e2138bb5b |
refs/heads/master | <repo_name>kayvank/dynamodb-streams<file_sep>/app.py
""" AWS lambda function for dynamodb streams
Archive dynamodb streams to kinesis -> s3
"""
import logging
from common import processor
log_format = (
"%(asctime)s::%(levelname)s::%(name)s::" "%(filename)s::%(lineno)d::%(message)s"
)
logging.basicConfig(level="... | 3a723e343145fcc5c6737262fe96641224bc1415 | [
"Markdown",
"Python",
"Text"
] | 5 | Python | kayvank/dynamodb-streams | 2c2d3e2dec379e6160c57eda93d36a371e00a32b | 9f6b0e91b30353352175bdb0fee4338cfb301170 |
refs/heads/master | <file_sep>function calcCircleArea(rad){
var area = Math.PI * rad * rad ;
return area;
}
document.write("Area of the circle with radiis 7 = " + calcCircleArea(7) + "<br><br>");
document.write("Area of the circle with radiis 1.5 = " +calcCircleArea(1.5) + "<br><br>");
document.write("Area of the circle with radiis 20 ... | 8d26b20fad6755896a55668f0a7e88f4deb5257e | [
"JavaScript"
] | 1 | JavaScript | drishyams/S5-Assgn1 | 963c3c807a1d2b51962a95a077376346beb030c9 | 8fc4694cc4cd026ab6ff6854911a51ff311ab828 |
refs/heads/master | <file_sep>/*
serialCommander.h - Interactive commands over serial port.
Created by <NAME>, April 2016.
Released into the public domain.
*/
#ifndef SERIAL_COMMANDER
#define SERIAL_COMMANDER
#define SERIAL_COMMANDER_MAX_LENGTH 30
#include <Arduino.h>
class SerialCommander
{
private:
Stream * Serial;
ch... | 3df9c5e9cb3b7b8b684d053aa82a8e36fe395769 | [
"Markdown",
"C++",
"INI"
] | 4 | C++ | cristianszwarc/SerialCommander | dd6cd96dbf1de215d4df74eda6f4cfaffad2ad74 | 16faa468fd52ce81c84cad63022fe790a96348af |
refs/heads/main | <repo_name>ArtemTepes/TechForum<file_sep>/TechForum/Controllers/ItemController.cs
using Microsoft.Ajax.Utilities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using TechForum.Models;
using TechForum.Models.Items;
namespace TechForum.Controllers
{
publi... | 7460e42b64a049f7cbcfb5a54a148b2b2d0008d0 | [
"C#"
] | 6 | C# | ArtemTepes/TechForum | 729d8922ca3f88e59b6a653a63e521476c786787 | 723a223d90487288c14d399d874d15ed304f22e3 |
refs/heads/master | <repo_name>netspencer/service<file_sep>/cmd/sidecar/metrics/main.go
package main
import (
"encoding/json"
"log"
"net/http"
_ "net/http/pprof"
"os"
"os/signal"
"syscall"
"time"
"github.com/ardanlabs/service/cmd/sidecar/metrics/collector"
"github.com/ardanlabs/service/cmd/sidecar/metrics/publisher"
"github.c... | d17019f54e449126e59b432d6a549f3195e5028d | [
"YAML",
"Markdown",
"Makefile",
"Go",
"Go Module"
] | 38 | Go | netspencer/service | 3a1960d7dc544e4545f79b207ef6518c32e7ed8f | f3ca0323848c8733adb4836f0fda7388df1b5c6b |
refs/heads/master | <repo_name>0trebor0/luigi<file_sep>/lib/packetize.js
var Readable = require('stream').Readable,
util = require('util'),
_ = require('lodash'),
EventEmitter = require('events').EventEmitter;
// I hate node streams sometimes
var Packetize = module.exports = function Packetize(socket) {... | fe06db4712f0c0f776eb522aa4e5739c9e116ff6 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | 0trebor0/luigi | dc724619f605d6cf29d9c2250fecc0b47332ec31 | eabbb9f242ea64b1727a226b15ab55e5dc4235e4 |
refs/heads/master | <repo_name>ZaifSenpai/Ass-Font-Changer<file_sep>/README.md
# Ass-Font-Changer
Font changer for ASS subtitle files. C++ code which simply reads file, do some string manipulations, write result to same file.
# Usage
This program accepts command line arguments. No, one or two arguments for the execution.
No argument wil... | 059cb85cf89f88102ccc6aff6ee4bc7512d15904 | [
"Markdown",
"C++"
] | 2 | Markdown | ZaifSenpai/Ass-Font-Changer | ee7ead376eee11dcd3148197d61673a5da7c0b4e | 8129f20e058ea35cec3a19fd1f3329a4a1ad0ab8 |
refs/heads/master | <repo_name>hongkai-dai/drake<file_sep>/tools/wheel/image/dependencies/projects/clp.cmake
ExternalProject_Add(clp
URL ${clp_url}
URL_MD5 ${clp_md5}
DOWNLOAD_NAME ${clp_dlname}
DEPENDS coinutils
${COMMON_EP_ARGS}
BUILD_IN_SOURCE 1
CONFIGURE_COMMAND ./configure
--prefix=${CMAKE_INSTALL_... | b79922441be78aa772787c5e2f2fbcc4e27a40fa | [
"CMake",
"Markdown",
"Python",
"C++",
"Shell"
] | 28 | CMake | hongkai-dai/drake | 7904810e90b91fdef2bef54d7a5d806940165626 | 7fd528b9da306ac5045d9ac50a468118b043cd84 |
refs/heads/main | <repo_name>15831944/BoysGirl<file_sep>/src/BoysGirl/BoysGirl/BoysGirlApp.h
// BoysGirl.h : main header file for the PROJECT_NAME application
//
#pragma once
#ifndef __AFXWIN_H__
#error "include 'pch.h' before including this file for PCH"
#endif
#include "resource.h" // main symbols
#include "BoysGirlDlg.h"
#inclu... | c88b8bce5ce9c8fa6b22c5d7a8a73f110f014ca1 | [
"Markdown",
"C++"
] | 11 | C++ | 15831944/BoysGirl | 598454c93fcd548b3aa7eb8e5b5c3fbc78fbef9e | d34da59aa4396e72ba33749d6c33c4c43f94f245 |
refs/heads/master | <file_sep>#!/usr/bin/python
import logging
import random
# default values
logging.basicConfig(level=logging.INFO)
class HistItem():
def __init__(self,timestamp,cmd):
self.ts = timestamp
self.cmd = cmd
def __repr__(self):
return "<HistItem ts:%lf command:%s>"%(self.ts,self.cmd)
... | 65f7025a12c6341668bfc25b3aaabdf3c82759f9 | [
"Python"
] | 7 | Python | makefu/Multichaos | 3a079b916ecd31881766bd8dfd433bbb0a076051 | 7feacd9fb19c05d9f955af4af517bd6c4f420fae |
refs/heads/master | <repo_name>ayee-hatfield/Naif.Data<file_sep>/src/Naif.Data.NPoco/NPocoMapper.cs
//******************************************
// Copyright (C) 2014-2015 <NAME> *
// *
// Licensed under MIT License *
// (see included LICENSE) *
// ... | 9cb8b7ea08821684fcab1968eb0fc20e2c1c0ff5 | [
"Markdown",
"C#"
] | 28 | C# | ayee-hatfield/Naif.Data | eb323f1c1b1209f45f75539ad02bdafd49fa0e48 | 68461dcce158f03f955e7a976fb4985724dfb75f |
refs/heads/master | <file_sep>rootProject.name = 'accountkata'
<file_sep>package kata.bank.project.model.operation;
import kata.bank.project.model.account.Account.AccountType;
import org.springframework.stereotype.Component;
import java.time.LocalDateTime;
import java.util.Random;
@Component
public class Transaction {
private int... | 6e53e504d216ac7b1481d769159f4da01065e347 | [
"Java",
"Gradle"
] | 6 | Gradle | mickael-saraga/account-kata | 7302c9668b2ba215a9cec8cd722edbeeba713c3c | 15073ca040cc70e13f5d43f245252f1db4369054 |
refs/heads/master | <file_sep># EDANet-pytorch-chapter5
The chapter5 of the segmentation network summary:
### Real-time semantic segmentation network.
External links: Efficient Dense Modules of Asymmetric Convolution for Real-Time Semantic Segmentation [paper](https://arxiv.org/abs/1809.06323).
The innovation of this network is emplo... | bcb80be4b0e558e3ecd2f8490396975636b0a1ce | [
"Markdown",
"Python"
] | 2 | Markdown | hydxqing/EDANet-pytorch-chapter5 | c5554848f1e8e5362b837858e6fe210d7ff70444 | beb97915e45909cc65da058e4aee2c6a13336bfb |
refs/heads/main | <file_sep>import turtle
import grille
papier = turtle.Screen()
crayon = turtle.Turtle()
papier.setup(width=500,height=500)
papier.bgcolor("white")
#a.trace()
papier.update()
grille.set_crayon(grille.Axe.tortue_axe,couleur="darkgray")
grille.set_crayon(grille.Graduation.tortue_graduation,couleur="darkgray")
grille... | e8b68d5d99f30c723b27a289ef49ad9e2e980780 | [
"Markdown",
"Python"
] | 18 | Python | sebhoa/NSITerminale | 369929362fc61c8a9d5b6463ab60e14b0b281a19 | a9682a0894f94f5a0a6974653e5437541ffc8821 |
refs/heads/master | <file_sep>/**
* Copyright 2016 Smart Society Services B.V.
*
* 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
*/
package com.alliander.osgp.... | 46a5c10231ff509ed667d4c00e15e2242c7870db | [
"Java"
] | 2 | Java | cerfarrow/Protocol-Adapter-IEC61850 | e3fb7c14c8cdfd2f0b3daf5fc7f5cce1a8468de1 | 961ce1b6d0f0cab86201b8b93b568ce9ff0a5ea1 |
refs/heads/master | <repo_name>lurenjiamax/gonelist<file_sep>/refresh_cache.sh
#!/bin/bash
touch conf && echo "*/10 * * * * /home/vcap/app/php/bin/php /home/vcap/app/web/one.php cache:refresh" >> conf && crontab conf && rm -f conf
| a26f53ad380fc9e7426c759533e0c69c26fe9ed4 | [
"Shell"
] | 1 | Shell | lurenjiamax/gonelist | 64089d6f4e73573d1808e092c96d5ecc4151d347 | 2f6dae6621db96545d137663da8ae047d9b26e4c |
refs/heads/master | <file_sep><?php
$nav_width = get_theme_mod('create_navbar_layout-width');
$nav_layout = get_theme_mod('create_navbar_layout-layout');
$nav_pos = get_theme_mod('create_navbar_layout-nav-pos');
$logo = get_theme_mod('create_navbar_layout-logo');
?>
<?php
if($nav_layout !== 'navbar-static-top') {
echo '<div ... | 9c3e69f425f40d3007ccb57a942c4117145c2669 | [
"Markdown",
"PHP"
] | 11 | PHP | FolsomCreative/Create | 6555eb73356f1ec3f6cafe1a26394b30e137f988 | 1fb328791293c833ece00ae1b8fbb953ec0fafd4 |
refs/heads/master | <repo_name>joker1007/refining<file_sep>/Gemfile
source 'https://rubygems.org'
# Specify your gem's dependencies in refining.gemspec
gemspec
<file_sep>/lib/refining.rb
require "refining/version"
require "refining/core_ext/class"
module Refining
end
<file_sep>/lib/refining/core_ext/class.rb
class Class
def refining(t... | fcc201bf9cfc86520070b6f3c47958ae79368a7a | [
"Markdown",
"Ruby"
] | 5 | Ruby | joker1007/refining | fc5fe452818a50af2aa2ae8e261666bf4e973249 | a04d9cb19496f04bfe24689db02117d6a33d7617 |
refs/heads/master | <repo_name>khadirpatan/moviesearch<file_sep>/script/script.js
$(document).ready( ()=>{
$('#inputName , #inputYear').keypress(function(e) {
var key = e.which;
if (key == 13) // the enter key code
{
$('#search').click();
return false;
}
});
// clearing all values in form on click
$(... | 6eaea1bcd08614ebc1084f0b99f86a2c1b27f276 | [
"JavaScript"
] | 1 | JavaScript | khadirpatan/moviesearch | 8f9f44f81da1daba901881c1c3b90acd47cb2bf4 | 75169bea01662d750e3e6d1f64a104bf62a1d185 |
refs/heads/master | <file_sep>class Animal {
constructor() {}
giveVoice() {
console.log(`Nazywam sie ${this.name}!`);
}
}
class Dog extends Animal {
constructor() {
super(name);
}
giveVoice() {
super.giveVoice();
}
eat() {
console.log('yummy');
}
}
const pies = new Dog('reksio');
pies.giveVoice();<file_sep>func... | f68ecd1e26b4a50e213e77177d3f95ec6c3f313f | [
"JavaScript",
"HTML",
"Markdown"
] | 29 | JavaScript | TomaszPieta/JS-exercises | 9f337bbb86d67465ec390bd5882e1edb156c846d | f314df230f1acf78ae8d98ab48e1bf9c98fd0034 |
refs/heads/master | <repo_name>Ash-oi/string-services<file_sep>/public/js/scripts.js
function splitString() {
let body = document.getElementById('input-body').value;
let character = document.getElementById('split-on-character').value;
let isRegex = document.getElementById("split-regex").checked;
let str = '';
if (character.leng... | 9fe349655d870d5757f8406b5a181caf2d17e081 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | Ash-oi/string-services | 3f717d9bf8d1a67a21f859787bbefa3fc5ba2ad0 | ff11c9db0dfc4ef9e801e0d840f649581697d442 |
refs/heads/master | <repo_name>sanyco92/successfactors<file_sep>/src/main/java/pages/AddAlarmPage.java
/**
* Created by aleksandr.kot on 4/26/18.
*/
package pages;
import io.appium.java_client.AppiumDriver;
import io.appium.java_client.MobileElement;
import io.appium.java_client.ios.IOSElement;
import org.openqa.selenium.By;
import or... | 91de264095b17d700d913177d0b970a30022f1b4 | [
"Java"
] | 4 | Java | sanyco92/successfactors | 158884acd9c92352622b45070efcc5a47b17888b | 4ada90fa129b044fc254227e9fa3e5498a10fffa |
refs/heads/main | <file_sep>#! /bin/bash
sudo yum update
sudo yum install -y httpd
sudo chkconfig httpd on
sudo service httpd start
| 7264f1cb94b7349c731eb874f45f4de4f7f36bb3 | [
"Shell"
] | 1 | Shell | bridgecrew-perf4/terraform_test-6 | cb9281d83c925cca4138d3c1b69025c6251ba0d4 | 406b4705d0cab342f620f7549b3fca0f77ae3c0d |
refs/heads/master | <repo_name>BastrakovDmitry/Tasker<file_sep>/src/ru/Bastrakov/Tasker/Main.java
package ru.Bastrakov.Tasker;
import ru.Bastrakov.Tasker.GUI.GUIFrame;
public class Main {
public static GUIFrame frame;
public static void main(String[] args) {
frame = new GUIFrame();
}
}
<file_sep>/src/ru/Bastrakov/Ta... | 82ea73ccae402622bdf9acd4b58cdbb265504f06 | [
"Markdown",
"Java"
] | 4 | Java | BastrakovDmitry/Tasker | 090c7b0bdcabaa1b709e58971152902564fa065b | 29ee65e8230c2e30e4cd67e89435186a5a3182a8 |
refs/heads/master | <file_sep>import java.util.LinkedList;
public class Hand
{
private LinkedList<Card> cardList = new LinkedList<Card>();
public Hand(){}
public void add(Card card)
{
cardList.addLast(card);
}
public void clear()
{
cardList.clear();
}
public LinkedList<Integer> coun... | 77614812aaec60b41a08c9f969fd34deb6f397ff | [
"Java"
] | 4 | Java | Squadella/TD_java | 77ab9531f8200e162b2db5159851a6940afd6205 | f443f0e4645e1f5c416bea89f8155973d7699fa8 |
refs/heads/master | <repo_name>sherzodv/ai<file_sep>/3dex.py
from random import *
from math import pi, sin, cos
from colorsys import hsv_to_rgb as h2r
from direct.showbase.ShowBase import ShowBase
from direct.task import Task
from panda3d.core import Point3
from panda3d.core import *
import numpy as np
import pandas as pd
from sklearn.... | 957c9c5f5aeab3aee0194b6dbf4ade9386de79a9 | [
"Python"
] | 1 | Python | sherzodv/ai | 7f310c17ffc7a1473d397933a37da5d16889d088 | c98bc2e2bc63af688b0eb1faf2f496752f89defc |
refs/heads/main | <repo_name>almoretto/GerenciadorEstoqueFiscal<file_sep>/StockManagerCore/Data/SeedDataService.cs
#region --== Dependency declaration ==--
using System;
using System.Collections.Generic;
using System.Linq;
using StockManagerCore.Models;
#endregion
namespace StockManagerCore.Data
{
class SeedDataService
{
... | 0d821d10f201545e62189837b0630f1656caf073 | [
"C#"
] | 37 | C# | almoretto/GerenciadorEstoqueFiscal | bb869a32f7e8a7b3e7e2348831f1ef310cf7d62a | e6e19298d734ad5e7e839ce7f5c035122fd842a6 |
refs/heads/master | <repo_name>noname-username/kluch<file_sep>/dist/js/main.js
//анимированная прокрутка страницы
function scrollToAnchor(aid){
let aTag = $('#' + aid);
$('html,body').animate({scrollTop: aTag.offset().top},'ease');
}
$(function () {
//якоря
$('[data-anchor]').click(function () {
let aid = $(this).attr('data... | 90231ae54adea556c682168de354904fa265c561 | [
"JavaScript"
] | 1 | JavaScript | noname-username/kluch | 7c4701b5ff977bc9e8785b8bfd574dcab68ec9e5 | ff6b2f42c7e1c2620ec98d350a0cb2c8bb7be6b2 |
refs/heads/master | <repo_name>BnayaZil/favoriteProject<file_sep>/src/app/shared/services/data/data.srv.js
/**
* User service
*/
class Data {
constructor($http, localStorageService, $rootScope) {
'ngInject';
this.$http = $http;
this.$rootScope = $rootScope;
this.localStorageService = localStorageServi... | 94cb34592bd43129e364323992416bb2f981c573 | [
"JavaScript",
"Markdown"
] | 6 | JavaScript | BnayaZil/favoriteProject | 6222840206a58c85424c400037e8b00b3c9d3d7a | 8910e1a12243ea2046ffb047cef44ae9b3931825 |
refs/heads/master | <file_sep>#encoding: utf-8
import pyautogui
import time
import os
from fpdf import FPDF
import img2pdf
def main():
time.sleep(10)
page_count = 4046
for i in range(page_count):
region = (700, 0, 450, 950)
pyautogui.screenshot('screenshots\%d.png' % i, region = region)
pyautogui.pr... | 7cb6de03aa891d4fc70dd3c954a6640fafc0f6a5 | [
"Markdown",
"Python"
] | 2 | Python | jeffli678/kindle-to-pdf | 59fdb3410d44b9db075a420fbcce9528e21d1ed0 | 303ed2db22d45a8280092cd3e499c9673034ef30 |
refs/heads/master | <file_sep>import io from "socket.io-client";
import { flow } from "lodash";
const SIGNALING_SERVER_IP = `${window.location.protocol}//${window.location.hostname}:${window.location.port}`;
let socket = null;
function connectToSocket(namespace = "") {
if (!socket) {
socket = io(`${SIGNALING_SERVER_IP}/${namespace... | e9a47fc3d2c655493f0554d227c1cd7b6c27d91a | [
"JavaScript"
] | 6 | JavaScript | g3offrey/rtc-playground | a55ea0716a86b6187c6c80ba4429294dbb940bd8 | ccf7f9f79d2b5b196d49f1deda8d2147e2869e97 |
refs/heads/main | <repo_name>kapustaxvx/bank_cinema<file_sep>/src/main/java/com/moskalenko/bankcinema/api/client/UserClient.java
package com.moskalenko.bankcinema.api.client;
import com.moskalenko.bankcinema.api.DTO.UserDTO;
import com.moskalenko.bankcinema.api.entity.Movie;
import com.moskalenko.bankcinema.api.entity.User;
import jav... | a14c0a50009c0059a1d82cd2cef8bfa04187b9bd | [
"Java"
] | 11 | Java | kapustaxvx/bank_cinema | 05f5e9b5966f7d1a5df2bc339c43c9579fd1cf33 | a2eb0fcb5f257c306ebe98b3fb56c8d9677a1b69 |
refs/heads/master | <repo_name>GregoryError/xml_explorer<file_sep>/table_model.h
#ifndef TABLE_MODEL_H
#define TABLE_MODEL_H
#include <QObject>
#include <QAbstractTableModel>
#include <QMenu>
class TABLE_MODEL : public QAbstractTableModel
{
Q_OBJECT
private:
int m_nRows;
int m_nColumns;
QHash<QModelIndex, QVariant> m_ha... | 50c949cbe12c01412466864b016bc51a7ca2fbf3 | [
"C++"
] | 13 | C++ | GregoryError/xml_explorer | 84f74058681d29027728d4b6e28e475ac164f899 | 0ff30575af093e69cc91c7aa6e6ce49c516c2481 |
refs/heads/master | <file_sep>function load(page){
parent.parent.location.hash = page;
if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) {
var mainpage = parent.frames["main"];
mainpage.location.href=page;
return;
}
else{
parent.document.getElementById('frameSet1').cols = "20%,*,2... | cd15bd2b7a6040f206660d64bdf643f50d19e99d | [
"JavaScript"
] | 1 | JavaScript | gewl/gewl.github.io | 9720a2a24205521ca675a671e66e6965b55a1e77 | e5f59567320791f042f2797087c61fdd0d369ea7 |
refs/heads/master | <repo_name>hackerzgz/distortmirr<file_sep>/go.mod
module github.com/hackerzgz/distortmirr
go 1.12
require (
github.com/emirpasic/gods v1.12.0
github.com/hackez/distortmirr v0.0.0-20190716121658-7bf9685668cb
)
<file_sep>/mirror/davinci/render.go
package davinci
import (
"fmt"
"go/ast"
"html/template"
"io"
"str... | 68bcb64636419786f690eddaaefa80184af7fe55 | [
"Go",
"Go Module"
] | 7 | Go Module | hackerzgz/distortmirr | da651cafbef72c87c92c0758e8e1fd5063820d2b | 39780342e4b735b2756eebbb72683309215dbcb9 |
refs/heads/master | <file_sep>/** A stack is a list that follows the last-in-first-out (LIFO)
* principle. An example is a stack of cafeteria trays. You take
* the top one, which is the last one that the staff put in.*/
public interface Stack<T> {
/** Push e on this stack. */
public void push(T e);
/** Pop the top element of ... | 563f86fe0f616a5e48623461479b711a47c1eafc | [
"Java"
] | 3 | Java | NaturalisSelectio/javaDBS | c4c4fcd330bf27f86e181eb2674d41193e060436 | d33ba5e13820df42a9d6bed6056ef3ff201417f1 |
refs/heads/master | <repo_name>200013546/bamazon<file_sep>/bamazonManager.js
var mysql = require("mysql");
var inquirer = require("inquirer");
var columnify = require('columnify');
// Connection to the DB
var connection = mysql.createConnection({
host: "localhost",
port: 3306,
user: "root",
password: "<PASSWORD>",
dat... | 451dc68e748cac85f71f1e7d629ed98b7bf59e49 | [
"JavaScript",
"SQL",
"Markdown"
] | 5 | JavaScript | 200013546/bamazon | c2699cbfe9fcf1fb62438d770d9c57449d513ec8 | e49d3cd02c710f2b0aa84e995567a07c02f37368 |
refs/heads/master | <repo_name>ZainAahianZaman/API-regression<file_sep>/src/test/java/com/fitchconnect/fiscontent/fisCon_Sprint37.java
package com.fitchconnect.fiscontent;
import static com.jayway.restassured.RestAssured.given;
import static org.hamcrest.Matchers.containsString;
import java.io.IOException;
import java.net.URL;
import o... | e2d4d41545a36ded625e454ce459acb995f19e10 | [
"Java",
"Maven POM"
] | 2 | Java | ZainAahianZaman/API-regression | 9fb441afa36a3de29a664d6a146d995bd8d12d6a | f9aff21e61f9949faf8002ffa2b0a97261028786 |
refs/heads/master | <repo_name>opturo/liquidReporting<file_sep>/js/unionFile.js
/**
* Created by rocco on 2/6/2019.
* This will handle the union files for SAYS.
*/
var odinLite_unionFiles = {
/* Variables */
unionFiles: {},
/**
* getUnionWindow
* This will open the union files window.
*/
getUnionWindow:... | d5bb6571a49401611a376751ee189d15a0fad81d | [
"JavaScript"
] | 10 | JavaScript | opturo/liquidReporting | 1772b7a63371d94cc0af8285107bd78d9a8530ce | c84ca9cc5125d86e3598661be080a1733e7d8783 |
refs/heads/master | <file_sep>package com.hjx.pzwdshxzt.controller;
import com.hjx.pzwdshxzt.constants.Constants;
import com.hjx.pzwdshxzt.model.Lottery.Lottery;
import com.hjx.pzwdshxzt.model.R;
import com.hjx.pzwdshxzt.service.CoreService;
import com.hjx.pzwdshxzt.service.InitService;
import com.hjx.pzwdshxzt.service.LotteryService;
im... | d64b534b1a09a404b595384bc4187cf7a64b3071 | [
"Java"
] | 11 | Java | pzwdshxzt/weixinpublic | 6ba01b519f1db12e47a579acbb090dc64babc1d8 | 447580f0dab5d4f23592118dd47fc1f8e6070304 |
refs/heads/main | <file_sep>const { ipcRenderer } = require("electron");
const fetch = require("node-fetch");
const FormData = require("form-data");
const categoryUl = document.getElementById("category_item");
const foodList = document.getElementById("foods");
const foodByAllCategory = document.getElementById("allCategory");
const cart... | e6c340a44f26c9cf8f22d077cfcb0809c0d932e1 | [
"JavaScript"
] | 1 | JavaScript | Hawa-Akter/Bhojonjune19 | 8fa797b26497fe40b2bd3d9c6d51b82e347cae13 | e6d52e9e5d9e567fa6c8973e83d49bb11540aa62 |
refs/heads/master | <file_sep>const lowerSlider = document.querySelector("#lower"),
upperSlider = document.querySelector("#upper");
let filters = {
price: {
lowerPriceVal: parseFloat(lowerSlider.value).toFixed(2),
upperPriceVal: parseFloat(upperSlider.value).toFixed(2),
},
};
const products = [
{
reviewsCount: 4,
... | b5083ce5990b99a6ffc3ed37b1100be2fe5193bc | [
"JavaScript"
] | 3 | JavaScript | tayyabferozi/moncheri-jewelery | 66ccb7c7bbae9231301d4be2b7b4a910908e921e | a064bc5bbf53321bd73b170812ac7886750cb264 |
refs/heads/master | <repo_name>leechangtaek/spring-seminar<file_sep>/Springboot-restapi/src/main/java/com/kh/springboot/menu/controller/MenuController.java
package com.kh.springboot.menu.controller;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletResponse;
import org.s... | d0ba44fa9f8cf3521b33f343d394b2a6e8631e76 | [
"Markdown",
"Java",
"SQL",
"INI"
] | 5 | Java | leechangtaek/spring-seminar | a9241f78e65d06eb2db77d45f35fc8e25574e7b7 | b6704fc871d0169bd608f66355552329a843e775 |
refs/heads/master | <file_sep>#include <linux/module.h>
#include <linux/sched.h>
#include <linux/uaccess.h>
#include <linux/fs.h>
#include <linux/miscdevice.h>
#include <linux/types.h>
#include <linux/atomic.h>
#include <linux/delay.h>
#include <linux/vmalloc.h>
#include <linux/string.h>
#include <linux/kernel.h>
#include <linux/io.h>
#in... | 46b0f025673136df445c590a7cc565e00e39c3f3 | [
"C",
"Text"
] | 11 | C | thorgrin/pb173 | 8f8f434b3f4bd5d180e685214e00624e60e32cb6 | fe00bcb99d7cc4e7fa30c34f942163c2009620ca |
refs/heads/master | <file_sep># dungeons-and-pythons<file_sep>class Weapon:
def __init__(self, name, damage=0):
self.name = name
self.damage = damage
class Spell(Weapon):
def __init__(self, name, damage, mana_cost, cast_range):
super.__init__(self, name, damage)
self.mana_cost = mana_cost
... | b73448c911a863e1b2ee7d90cf2518f18d03dbf5 | [
"Markdown",
"Python"
] | 4 | Markdown | nemalp/dungeons-and-pythons | 9d2904fa72fd1c685d79927483f8430e9faa119f | 399f3d72c1b581d39a37c4f900152b92b59fd5fb |
refs/heads/master | <file_sep>package com.arch.controller;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.UUID;
import javax.servlet.http.HttpServletRequest... | 6cdfca5a38c21cdf5e1c87ebca7990dfd27196ce | [
"Java"
] | 1 | Java | baiwei0205/test | 73c3c09e679e824139eb96fbbb2ff4bf5df77cdd | 363d2044aaa1da317a3f4bdf5b69ffe95ee12279 |
refs/heads/master | <repo_name>sam888/jhipster_i18n<file_sep>/src/main/webapp/app/entities/resource-bundle/resource-bundle-util.js
(function() {
'use strict';
angular.module('jhipsterI18NApp').factory('ResourceBundleUtil', ResourceBundleUtil);
function ResourceBundleUtil() {
var factory = {};
factory.print... | 44b53ca8006f582c1735bb4efcb867da93dbdf3c | [
"JavaScript",
"Java",
"SQL",
"Gradle"
] | 20 | JavaScript | sam888/jhipster_i18n | 90dd72129eba760f424533408bca36267c8b6c19 | cfc6cdbbd20e21f8ab30f01717fb2a811808396f |
refs/heads/master | <repo_name>MinecraftDawn/testEZRPG<file_sep>/Assets/Script/Player/PlayerController.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerController : Entity
{
// Start is called before the first frame update
void Start()
{
}
// Update i... | 8b0ed0ae2a6897ce54239487058033426f5286e1 | [
"C#"
] | 2 | C# | MinecraftDawn/testEZRPG | 859f6c78e0653cc80a2fba21ca2653d990537320 | 8be8835fa30dfba8c0684217ec85c7b7ef00342b |
refs/heads/master | <file_sep> <NAME>
2328529
<NAME>
2290555
Assignment 4
CPSC 350-01<file_sep>#include "Window.h"
#include <iostream>
using namespace std;
Window::Window(){
status = false;
idleTime = 0;
}
Window::~Window(){
//idk what goes here, nothing to delete
}
void Window::updateStatus(bool isFull){
status = isFull;
}
boo... | 464c151c0a66cf8d63e21aadb8726daab93c1d9e | [
"Text",
"C++"
] | 10 | Text | RyanMillares/Assignment-4 | 8cf1ff32228e7279568a8478211c0818d8b75bd4 | f9f527e3b8cdf0fd14453306ebd316362ff7348e |
refs/heads/master | <file_sep>package com.mvc.App.controller;
import com.mvc.App.entity.Patient;
import com.mvc.App.service.PatientService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Controller;
import org.springframework.ui.M... | e9f9bed4e6d56d2fc5a0cb08db406a535f46c643 | [
"Java"
] | 3 | Java | Patounet/SpringBoot-WebMVC-Thymeleaf-App | b7541008218d85425ddf4f27c5dfb54875d6202f | 0effe41b1fd6d9334ab844316582d3c9f9dba6bd |
refs/heads/main | <repo_name>madhavsv/final<file_sep>/kwitter_room.js
var firebaseConfig = {
apiKey: "<KEY>",
authDomain: "kwitter-9399e.firebaseapp.com",
databaseURL: "https://kwitter-9399e-default-rtdb.firebaseio.com",
projectId: "kwitter-9399e",
storageBucket: "kwitter-9399e.appspot.com",
mess... | 479b4773dfc8839d57361d9b1b86897cf81bcc53 | [
"JavaScript"
] | 1 | JavaScript | madhavsv/final | 10a234d7597ea1211c894bcef17268ada8884d86 | 85447c1d25da99644db3bb502cdcd3c29f7854bd |
refs/heads/master | <file_sep># 
The front-end for [konarium.io](https://github.com/roqueando/konarium.io)<file_sep>const {app, BrowserWindow} = require ("electron");
const URL = `http://localhost:7373/`;
app.on ("ready", () => {
const Window = new BrowserWindow ({
webPreferences: {
nod... | 7a0f86e076b5056450b32407fbb7a43b96b4ee33 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | roqueando/konarium.io-front-end | a776712ebef15f619dd9800c1a1d5e375d1d1b41 | b462a12b41a7e8b7e3fc0fb5e44d317bf06f7cff |
refs/heads/main | <repo_name>torisuta1/food-takeout-map<file_sep>/spec/system/users_spec.rb
require "rails_helper"
RSpec.describe "User", type: :system do
let(:user) { create(:user) }
let(:token) { user.send_reset_password_instructions }
let!(:other_user) { create(:other_user) }
before do
ActionMailer::Base.deliveries.clea... | e9e761a1a19712745d81253ebd272fb34fecdd64 | [
"Markdown",
"JavaScript",
"Ruby",
"Dockerfile"
] | 39 | Ruby | torisuta1/food-takeout-map | 8579febebe0398600e254408b07696cc3182e734 | dafe350ee9838389b4bc254735cdf0aa51f56b37 |
refs/heads/master | <repo_name>polinadotio/windows8appsample<file_sep>/windows8appsample/CareLink/GroupedItemsPage.xaml.cs
using CareLink.Data;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.... | a1ca0914a0c3045bb9caa44c77235fe19cd067b5 | [
"C#"
] | 3 | C# | polinadotio/windows8appsample | 90a9b47f63b42db0befa0e931c2bd8c7b050f977 | 7c4cb1ca16c2c78a739db51f5d94c413722aed71 |
refs/heads/master | <repo_name>SalimBerk/kodluyoruz--dev--2<file_sep>/ekle.js
function newElement() {
const task = document.querySelector("#task");
let message = task.value;
let list = document.querySelector("#list");
let li = document.createElement("li");
li.setAttribute("class", "list-group-item list-group-item-action");
li... | 6297a19b3cce24718d3047ae572f91e73962eccb | [
"JavaScript"
] | 1 | JavaScript | SalimBerk/kodluyoruz--dev--2 | 0f1335519ba007b1ef5fb7bc05236f0612730931 | 0dc3ee52afcab5ca5c1531720053386986e6f11a |
refs/heads/master | <file_sep>/*
A test to verify the correct naming adopted by ROOT.
It is intended to collect all the issues encountered with naming
during the development, testing and production phase of ROOT6.
"Stat rosa pristina nomine, nomina nuda tenemus"
*/
#include <algorithm>
namespace std {
class Something {};
typedef ... | a41eb0ff0933e89e42e519b38fd3cd3f7135c4f8 | [
"CMake",
"Python",
"C",
"C++",
"Shell"
] | 11 | C | bbockelm/roottest | 19f5bc7fb0a0704bee6c3d3ab32e8fdc3efbc3f8 | 4d3642190a1f3b77c0eeaf28ed3df4414f9194bd |
refs/heads/master | <repo_name>kasceus/NetFrameworkHelper<file_sep>/ImageHelper.cs
using System;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.IO;
namespace NetFrameworkHelper
{
/// <summary>
/// Class that contains common operations for handling images
/// </summary>
public static class ImageHelper
{
/// <su... | 16a09891cba146de99f53e1f0089e6a2b85b6226 | [
"Markdown",
"C#"
] | 7 | C# | kasceus/NetFrameworkHelper | 532c07dceaa39ff3a69cffd2af2995b060dc3cc9 | 2d928c697956a4cecc6c7f1e5c184465f0d18329 |
refs/heads/master | <repo_name>FedericoHan/ProgrammingAssignment2<file_sep>/cachematrix.R
## Put comments here that give an overall description of what your
## functions do
## First, we create a list of the following 4 functions
##Set and get matrix
##Set and get inverse of matrix
makeCacheMatrix <- function(x = matrix()) {
TA_i... | 3e7c2d282b6afd440c1e7648e89db32097491497 | [
"R"
] | 1 | R | FedericoHan/ProgrammingAssignment2 | 979ddd79362fec407bfbdfa9b38a00f6dddb5db8 | 8b39222f2a7c91a02acf6326137a71fc21a76afc |
refs/heads/master | <file_sep><?php
if (!defined('_VALID_MOS') && !defined('_JEXEC'))
die('Direct Access to ' . basename(__FILE__) . ' is not allowed.');
/**
*
* @package RealEstateManager
* @copyright 2012 <NAME>-OrdaSoft(<EMAIL>); <NAME>(<EMAIL>);
* Homepage: http://www.ordasoft.com
* @version: 3.8 Pro
*
*
*/
/**
* Legacy function, u... | 8f7531b92e6368271a5d995124eba4b6f5920803 | [
"PHP"
] | 5 | PHP | Sebastien-Skorweb/com_realestatemanager | 7442cea146a02410835a2aaab0fd3b175a277110 | 1cfe8015ef0a638a3f74a97177f0905b2413ace2 |
refs/heads/master | <file_sep>package edu.brilleslange.bl;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.regex.*;
public class Record implements Serializable {
/**
*
*/
private static final long serialVersionUID = 1L;
public String title;
public String author;
public String placement = "";
}
cl... | bb7bc7d4b981c3edbb45fca11fc110dcedb8e36b | [
"Java"
] | 9 | Java | alexkempton/BrilleslangeApp | 5ee5f1a5605a46ab39f1f531187d109550c82184 | 75e9bebd66c5fe30321fe9d1c5d16a8d1956d6bb |
refs/heads/master | <file_sep>use bytes::Bytes;
use futures::stream::Stream;
use std::future::Future;
use std::pin::Pin;
use tokio::sync::mpsc;
mod common;
#[cfg(test)]
pub mod stream_connection;
pub mod tokio_connection;
pub type DataStream = Box<dyn Stream<Item = Bytes> + Unpin + Send>;
type Task = Pin<Box<dyn Future<Output = ()> + Se... | 6850dcbe69a4d7fe083ba83ae27d2c81fc1e767a | [
"TOML",
"Rust"
] | 8 | Rust | LiptonB/nettap | 75cec1573fc843e3441d43a96904b809448932e7 | 91fb4cc57295ad3a54c6dfd6c633d6fae35ba8a1 |
refs/heads/master | <repo_name>simonthompson99/ProgrammingAssignment2<file_sep>/cachematrix.R
#function to calculate inverse of matric and cache for future use
#makecachematrix creates the object
#cachesolve returns either a new solving of the matrix, or a cached version
makeCacheMatrix <- function(x = matrix()){
inv <- NULL #res... | e40592a30281dbe0df2f991d5554b8cd02221901 | [
"R"
] | 1 | R | simonthompson99/ProgrammingAssignment2 | 72177a54b6b620a643ea82a71728de73637d5ab0 | c3d3786c1588f46dc578663846b5111709b46d92 |
refs/heads/master | <file_sep><?php
namespace Hshn\AngularBundle\TemplateCache;
use Symfony\Component\Filesystem\Filesystem;
/**
* @author <NAME> <<EMAIL>>
*/
class Dumper
{
/**
* @var TemplateCacheManager
*/
private $manager;
/**
* @var TemplateFinder
*/
private $finder;
/**
* @var Compi... | 4831f27d8f2b8a29a4a7bc0fc9a1a3a775bbc8c4 | [
"Markdown",
"JavaScript",
"PHP"
] | 29 | PHP | hshn/HshnAngularBundle | 5c8137e029ef64d392f59f604de7eb0cddef0c18 | ba810549350d628190c5b03eb935314a034fb23c |
refs/heads/master | <repo_name>maateusilva/uknow<file_sep>/src/components/NewQuestion/styles.js
import { StyleSheet } from 'react-native'
import { darkGray, white, gray } from '../../styles'
export default StyleSheet.create({
container: {
flex: 1,
padding: 20,
backgroundColor: white,
justifyContent: 'center',
alignI... | 705c997d4ca707befaf0b70b30acb44b20beabf4 | [
"JavaScript",
"Markdown"
] | 6 | JavaScript | maateusilva/uknow | 4645b93bd3eb149d1928eb759990564d3319c589 | 52d947af6f358cfb9896106a30a0d0ca2aaeb833 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ISIEBackup
{
class Program
{
static void Main(string[] args)
{
string firstPartOfDirectory = Directory.GetCurrentDirectory();
... | 7990e0775c76e045e132734b5c769e322020df8f | [
"C#"
] | 1 | C# | ErikSteNL/CopyPaster | fc0d3eec890acf4bebe71d2e4d855d93f0b552dd | 3b5e066568bfbe3f7262838d0b71accad5e6de57 |
refs/heads/master | <repo_name>sefarash/Diceproject<file_sep>/src/test/java/com/cybertek/SearchTests.java
package com.cybertek;
import org.openqa.selenium.By;
import org.openqa.selenium.Keys;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.testng.Assert;
import org.testng.annotations.Test;... | 7c5ca2dbc3904ce0a4d88840462cef041daf7176 | [
"Java"
] | 1 | Java | sefarash/Diceproject | aacf2ae2aa388787d0d0564ea9070e3a592b39a0 | af37b2ecaffa54e6196c6099b3bef985d94c9f82 |
refs/heads/master | <file_sep># Blok1-weektaak2-Stijn-Bruggink<file_sep>#!/usr/bin/env python
Seq = ''
Bestand = open("/home/stijn/Documents/Bio-informatica/blok_1/rna_data_weektaak_2/Zea_mays_mRNA.txt", "r")
for line in Bestand:
if not line.startswith(">"):
Seq = Seq + line
GC_percentage = (((Seq.count('G') + (Seq.count('C'))... | e7bbb1214fa61d549ed7cc6afa4e6da9dfebee60 | [
"Markdown",
"Python"
] | 2 | Markdown | itbc-bin/Blok1-weektaak2-Stijn-Bruggink | ea15db3432f4a7eff0feb1d3896ef6ce1916fe7a | 29a3640fd40d924b2c749fe284e36b8d178c1244 |
refs/heads/master | <repo_name>furdarius/steamprotocol<file_sep>/auth/module.go
package auth
import (
"bytes"
"time"
"crypto/sha1"
"github.com/furdarius/steamprotocol"
"github.com/furdarius/steamprotocol/crypto"
"github.com/furdarius/steamprotocol/messages"
"github.com/furdarius/steamprotocol/protobuf"
"github.com/golang/proto... | 16b83740544bc1453271c7c5e2defa2fd1f86cc0 | [
"Markdown",
"Go"
] | 22 | Go | furdarius/steamprotocol | 076394936dbff54395cc1d55880db6a4622ec234 | 46e3b5b60c8369c9f1bafab8a94fc7d0f9eb5c9f |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.