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>mbortola/python-jgitflow-facilities<file_sep>/release_start.py
from git import Repo
import os.path as osp
import shutil
import argparse
from constants import *
from secrets import PROJECT_GIT
env = ''
def get_start_branch(repo, version):
"""
Check for release branch, if found ask for confirm, els... | 7aafb363291fbede0b3128f67eb4a6a87db16b50 | [
"Markdown",
"Python"
] | 7 | Python | mbortola/python-jgitflow-facilities | 2609ac1a6dd4decef2a7a5a553b6cb77e8f636e3 | 4aee6929c6c5f1b7c889d7e431f9cf8dad03c0a8 |
refs/heads/master | <file_sep><?php
$img = $_POST['image'];
$folderPath = "people/images/";
$image_parts = explode(";base64,", $img);
$image_type_aux = explode("image/", $image_parts[0]);
$image_type = $image_type_aux[1];
$image_base64 = base64_decode($image_parts[1]);
$fileName = uniqid() . '.jpg';
$fi... | 44b7eb02f52ef928e5dd973f7257c6d29c1ddced | [
"Markdown",
"PHP"
] | 3 | PHP | Dylan102938/mindeye | 8298b8af9cafdc7b0ea95b1de32bd55979038e95 | 42dfbf4b725752cdd66e2c719b57921dbd64a74a |
refs/heads/master | <file_sep>/*
* File: app/view/MyContainer1.js
*
* This file was generated by Sencha Architect version 3.0.3.
* http://www.sencha.com/products/architect/
*
* This file requires use of the Sencha Touch 2.3.x library, under independent license.
* License of Sencha Architect does not include license for Sencha Touch... | 1439dce5ac751c6071699bb3045d3448c3612cf0 | [
"JavaScript"
] | 1 | JavaScript | tanjaposch/MyAppOne | 5d3aeae431a3d0eea55ca45363fb412f109b99c9 | da45e0cee90859cd7e37354b3027edb079741708 |
refs/heads/master | <repo_name>kumarsandeep91/StackReact<file_sep>/src/helpers.ts
export const dateConvert: Function = (ds: number) => {
let dt = new Date(0);
dt.setUTCSeconds(ds);
return dt.toDateString();
};
| f7570fc69fe751be0c92bc8e1fcff8c59511bc21 | [
"TypeScript"
] | 1 | TypeScript | kumarsandeep91/StackReact | 491308fe7bd7aee8d78252eda2cfacfae495a813 | 988069d7bea73f61b763b1bba61a170a74f8544f |
refs/heads/master | <repo_name>jhh03260318/sn<file_sep>/src/store/index.js
// 状态管理层
//引入vue
import Vue from 'vue';
// 引入vuex
import Vuex from 'vuex';
Vue.use(Vuex);
import { state, mutations, getters } from './mutitons';
import actions from './actions';
import resign from './modules/resign';
// 暴露
export default new Vuex.Store({
state... | 851d15aa0f0a7abb62f5d44dfcfa08fd95270632 | [
"JavaScript"
] | 6 | JavaScript | jhh03260318/sn | a4e96a799c5926924c97eaea0b0b717d103f4149 | 6798197cceb8746174166141cf981cae8c0d4d20 |
refs/heads/master | <repo_name>tw-spic/charchapoint<file_sep>/models/zone.go
package models
import (
"database/sql"
)
type Zone struct {
Id *int64
Name *string
Description *string
Lat *float64
Long *float64
Radius *float64
}
const (
SaveZoneQuery = `INSERT INTO zones (name,descrip... | e6a4303a2270bf9d95b4133b7443780294703273 | [
"SQL",
"JavaScript",
"Markdown",
"Makefile",
"Go"
] | 14 | Go | tw-spic/charchapoint | 423f79b071f6e6fab796e9a976514dadb5a3eb25 | caccee27ac07bc8f99aec31a614ffdaa5d8546c3 |
refs/heads/master | <file_sep># ml_course
Этот репозиторий содержит в себе необходимые датасеты для практики ml, а также ноутбуки с воркшопов.
В папке Projects находятся проекты, ее необходимо скачать, чтобы выполнить задания.
<file_sep>import pandas as pd
from time import sleep
def basic_answer(mode=None):
if mode is None:
... | e0b3888f0e13e6d12729d8bee241f03d946ae336 | [
"Markdown",
"Python"
] | 3 | Markdown | productstar-team/ml_course | dfab269fe536f246ead82f4fe34f9a68c9e5a5ff | e2c7de0ce97861e79aea66b02c129321626eeb5d |
refs/heads/master | <repo_name>dyma-projects/5a9cebc0fc5a7199<file_sep>/projet4/src/app/shared/color.directive.ts
import { Directive, ElementRef, Renderer2, OnInit, HostListener } from '@angular/core';
@Directive({
selector: '[appCouleur]'
})
export class ColorDirective implements OnInit {
private couleur = 'black';
private key = ... | 5a88e49c83ba1cebbd9db551763512b4e075d1eb | [
"TypeScript"
] | 1 | TypeScript | dyma-projects/5a9cebc0fc5a7199 | 23ff0959fca68b76133c8c0a52ffe523661870a4 | ef443e321e1b1e1292add626b7480b376c2e96a5 |
refs/heads/master | <repo_name>FolkGAS/JavaRushHomeWork<file_sep>/src/com/javarush/test/level27/lesson15/big01/ad/StatisticAdvertisementManager.java
package com.javarush.test.level27.lesson15.big01.ad;
import java.util.*;
public class StatisticAdvertisementManager
{
private static StatisticAdvertisementManager ourInstance = new Stat... | 0a6d7c44dd5f3c6e466a291f57c17c2bbbca03ff | [
"Java"
] | 39 | Java | FolkGAS/JavaRushHomeWork | da4ef81ed7210cba3f016fb5ab9028712a84172d | cbe3b95311dcaeebe66541632b67fe328f93e559 |
refs/heads/master | <repo_name>joprice/playlists<file_sep>/app/playlist-draft.service.ts
import { Injectable } from '@angular/core';
import { Headers, Http, URLSearchParams } from '@angular/http';
import 'rxjs/add/operator/toPromise';
import {Observable} from "rxjs/Observable";
import {List} from 'immutable';
import {BehaviorSubject} from... | 43b423e124578ae6d81104734d1b040bfcf60575 | [
"TypeScript"
] | 4 | TypeScript | joprice/playlists | 3db8886816b7308e59a43f23707d861b5da2b4b2 | fd009fbc0bb76d1ecca616b92595e06872adad45 |
refs/heads/master | <repo_name>osundiranay/IntroDataSci-5000<file_sep>/materials/lecture-notes/17-text_dates.Rmd
# Text and Dates
In this chapter we briefly discuss common patterns to handle text and date data and point to useful resources.
## Text
Frequently, data scraped or ingested will contain text that will need to be processed to... | d012269b0e14a555442409045306e872bdfe6e15 | [
"HTML",
"Markdown",
"TOML",
"R",
"RMarkdown",
"Shell"
] | 137 | RMarkdown | osundiranay/IntroDataSci-5000 | 9224ef88e2daba204e371b604b6838858e58d08d | 4102ffc7b681ce3b69a30050e1e16db664728f52 |
refs/heads/master | <repo_name>hallo33/ArchieBerichte<file_sep>/ch.fhnw.globiglobi/src/ch/fhnw/globiglobi/reports/SalePerMandator.java
/*******************************************************************************
* Copyright (c) 2014 <NAME>, <NAME>.
* All rights reserved. This program and the accompanying materials
* are made availa... | ea08dfac7f6ea453dc83d8aa326d5c53cf8feebc | [
"Java"
] | 1 | Java | hallo33/ArchieBerichte | 69ab52a97d8896a24815915b19bbd42f332ec737 | 1e583989e85ffb6f6966fea7841250089754fd36 |
refs/heads/master | <file_sep>#!/usr/bin/env python3
from twython import Twython
from local_setting import *
TWITTER_ACCOUNT = {
'oauth_token_secret': SCARIBOT_ACCESS_SECRET,
'oauth_token': SCARIBOT_ACCESS_TOKEN,
'app_secret': SCARIBOT_CONSUMER_SECRET,
'app_key': SCARIBOT_CONSUMER_KEY
}
MAX_LEN = 140
t = Twython(**TWITTE... | f656c23c01bde8481669d414c717eaa67c0d7ed6 | [
"Python"
] | 1 | Python | scari/twitterlet | b4be29189ce6e0e6765c9f12a488bb9acea333b3 | fe5493261eb6d923b7929ac97ee32ea804f65587 |
refs/heads/master | <file_sep>#include "RealSensePluginPrivatePCH.h"
#include "RealSenseFace.h"
#include "pxcsensemanager.h"
#include "pxcfacedata.h"
URealSenseFace::URealSenseFace(const FObjectInitializer &init) : UObject(init)
{
}
/*void URealSenseFace::setBone(const Leap::Bone &bone)
{
}*/
void URealSenseFace::setFromRealSenseFace(v... | 2709ca26b103abbdfff4523cf8209e90bb06aaf8 | [
"C",
"C++"
] | 6 | C++ | NoorAliraqi/realsense-ue4 | 6f3cfe458143902087862c9974ac83c0e9a257d2 | af29907b5af6324c426d1028de9630e96ba5c1bd |
refs/heads/main | <repo_name>bl2456/ChatroomApp<file_sep>/src/components/Options.jsx
import React from 'react';
const Options = (props) => {
console.log('this is OPTIONS');
return (
<div>hi</div>
);
}
export default Options;<file_sep>/src/components/ChatFeed.jsx
import React, {useEffect, useRef} from 'react';
imp... | 167a0d5bb7dbabe3d486254fcba65c3bf2e85e87 | [
"JavaScript"
] | 7 | JavaScript | bl2456/ChatroomApp | 5d1af663e6bbaeebd2ac4774c6aaf7575124e174 | 4ecd14a8f7487c01a6f7988072b90a874642cb1f |
refs/heads/master | <file_sep>import pandas as pd
import os
import glob
from os import path
class ConsolidateXLSX:
def __init__(self, consolidate_from_path, save_to_path):
self.consolidate_from_path = consolidate_from_path
self.save_to_path = save_to_path
self.data=''
self.get_data()
def get_data... | c95fb3d84031bafe5550e2da470d70821d2c3fd4 | [
"Python"
] | 2 | Python | wildiney/py-xlsx-consolidate | b3e6eed21d7f95d6731e3577bc8b2cf878c63a83 | 63fe02eb87c51c1067624fa2c31836bbf96ca46b |
refs/heads/master | <repo_name>mohit138/Ball-Detection<file_sep>/Ball Detection/ballDetection.py
# ball detect
import cv2
import imutils
import argparse
import numpy as np
import math
ap = argparse.ArgumentParser()
ap.add_argument("-i", "--image", required=True,
help="path to input image")
args = vars(ap.parse_args())
i... | a0acb64d79925ef693242f63b931cc0301634656 | [
"Markdown",
"Python"
] | 3 | Python | mohit138/Ball-Detection | a187938a4e9cd10e10596d8eeec4d0262fbd029a | 817506c62027468adbf12a384d08cf6dc32fd78c |
refs/heads/master | <repo_name>annielya/cart<file_sep>/src/reducer/cart.js
import {ADD, INCREASE, DECREASE, REMOVE, SEARCH} from '../action/action-types'
const items = [
{id: 1, name: "Apple", description:"Eat one everyday, keep the doctor away", price: 12, },
{id: 2, name: "Grape", description:"Wine is great, but grape is better... | 4debf61192ac558aa5e4960587e0eb488fb6b910 | [
"JavaScript"
] | 2 | JavaScript | annielya/cart | 9fa1006f38a1f4cb3ab765a04b9cffe37f056bd0 | a6ec923d2051ff0c93759576d7cb69ea1f9c6c2a |
refs/heads/master | <file_sep>// 获取调用链
function getStackTrace() {
var Exception = Java.use("java.lang.Exception");
var ins = Exception.$new("Exception");
var straces = ins.getStackTrace();
if (undefined == straces || null == straces) {
return;
}
var result = "";
for (var i = 0; i < straces.length; i++) ... | 405df0d1cf27bd486ac2c1a1e05ce995fa116d47 | [
"JavaScript"
] | 1 | JavaScript | Crewcutbro/camille | 2139f1e9ae315cea8dd1942f11b4bb67b334763d | 2c272b360ee0c1e9335f804bf0542bcd31c2bb1c |
refs/heads/master | <repo_name>loko64z/cqs<file_sep>/app/cambio_contra.php
<!DOCTYPE html>
<html lang="es-ES">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0">
<title>Cambio contraseña | CQS</title>
<?php requi... | af364ae8694fc3dc5a6e464ccf2c8201320bfb0f | [
"PHP"
] | 19 | PHP | loko64z/cqs | 254b3c99f555cf118c73f81c0139de198cd94ad0 | bf371031398e2a4b66f3f80bc47227136641c62a |
refs/heads/master | <file_sep>import * as prod from './prod';
import * as local from './local';
const envs = {
prod,
local,
};
export default envs[process.env.REACT_APP_ENV.trim()] || envs.dev;
<file_sep>import styled from 'styled-components'; // eslint-disable-line import/no-extraneous-dependencies
const ProductStyled = styled.div... | 987528d7b1a90fb586946169c660b70be9253d81 | [
"JavaScript",
"Markdown"
] | 30 | JavaScript | juliocarneiro/test-front | 6efe531e83a744ddd90bd298d2c7ac8fcb3708a4 | acad2e32d77c9aad568f27a553b5e0c80b493090 |
refs/heads/master | <file_sep>import { AnyAction, Store, Dispatch } from 'redux'
export default (store: Store<any>) =>
(next: Dispatch<any>) =>
(action: any) => {
const { payload: _payload, type } = action
const payload = _payload ? _payload : {}
switch(type) {
case 'INSTALLATION_PROGRESS':
/** Ignore,... | c692d54cf2c26f5657e895cca3304f84667e9371 | [
"Markdown",
"TypeScript",
"Dockerfile"
] | 17 | TypeScript | lucat1/servicer | cdfe46cd7a3d48d3c6e8aa5f065c2dc33334bf27 | ed67cba3f70bcd9db921ddd9aa956e5b470e6fdd |
refs/heads/master | <file_sep># HEIF
Mac OS X 10.13.4+: Convert any image to HEIF/HEIC format
Usage: ```HEIF [-q=quality] <image>```
where quality is in range from 0.1 (max compression) to 1.0 (lossless), default is 0.76
Compiling on macOS (to create executable `HEIF` and copying to `bin` folder):
cd HEIF
swiftc -O -o HEIF main... | 0c328cdd22b54a0a6d8d6eef8b0871151cc5641f | [
"Markdown",
"Swift"
] | 2 | Markdown | biodranik/HEIF | 6cb2a8a600006a8acd593c509b6092722e4b191e | 98deb14ea0d249d8c187bfe5f293632cfc0c8937 |
refs/heads/master | <file_sep>arreglo = ['NOMBRE','EDAD']
persona1 = ['Enrique', 22]
persona2 = ['Luis', 20]
persona3 = ['Mariana', 27]
print '''
### %s ## %s ###
Nombre: %s Edad: %d
Nombre: %s Edad: %d
Nombre: %s Edad: %d
''' %(arreglo[0], arreglo[1],
persona1[0], persona1[1],persona2[0],persona2[1],persona... | f7c3320c84e01b860018a74a36e5905dc1722359 | [
"Python"
] | 35 | Python | enriquemore587/Python-2017 | d2c003177dcf6d40f369bbd543b46762856ee278 | d4b8052d8d9fc945ef99c2ef3c093855c5ab7f77 |
refs/heads/master | <repo_name>mekroth/vue-component-rollup<file_sep>/README.md
# Vue Shared Component Template Using Rollup.js
> Build your standalone shared components using this tiny template.
> This template is Vue 2.x **only**.
> Share Vue components to the rest of the world!
### Features
- Very easy to use template with rollup... | f902fbde839cd67b416fdc0c087b6a1c03e2f9a1 | [
"Markdown",
"JavaScript"
] | 6 | Markdown | mekroth/vue-component-rollup | 741b1c97995d3879db379a054702dcc2fc766dd0 | a77d32e26c4332283e2c0b52de203fd1dbee3296 |
refs/heads/master | <repo_name>HIT-WI/CascadingFailure<file_sep>/get_CF_curve_node_isfail.py
import numpy as np
import torch
import networkx as nx
from scipy.special import comb
import math
import collections
DG = nx.DiGraph()
SAMPLE_NUM = 0
MAX_DEGREE_E = 0
MAX_DEGREE_D = 0
node_examine_num = 0
node_disease_num = 0
degree_avg_E = 0
degr... | e23fb8c9505dcd49ce276db5568673b53b5f9174 | [
"Markdown",
"Python"
] | 4 | Python | HIT-WI/CascadingFailure | 296ddba17c4317377029f65618129bf2aaa21a30 | 9d2a7e1bd2ff57a497cd1de89881279a436d6600 |
refs/heads/main | <file_sep># export-date-of-retweet
Export original date of retweet
## About
Current twitter archive (as of 2020) includes 'created_at' property of retweet.
However, it does not show the date of original tweet but the date of retweeting it.
This app exports the date of the original tweet from your twitter archive.
... | 3337a30850695192a0d04416d7bf0fd6124b2050 | [
"Markdown",
"TypeScript"
] | 2 | Markdown | sosuisen/export-date-of-retweet | f037ce64aaeeb777f922e2c35dd1d812fca43b07 | 934ef2b67517d53aa33e43678e4dbc4fdb8deb3c |
refs/heads/master | <repo_name>SpaceBaloon/FXDPL<file_sep>/src/data/managers/BasicDAO.java
package data.managers;
import data.QueryObject;
import data.wrappers.Wrapper;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.u... | d829d305d835e8ef036aaf68f1e07e95c3cd09e4 | [
"Markdown",
"Java"
] | 12 | Java | SpaceBaloon/FXDPL | 88d9a0bfb76d4fd7c7e60c4ef9a8b1124baf93ed | 69362e54a7680890ebab97a3358ec1638b323139 |
refs/heads/master | <repo_name>InDIOS/trebor-tools<file_sep>/types.d.ts
type AttrTypes = string | number | RegExp | null | boolean;
type AttrParams = string[] | ObjectLike<AttrDefinition>;
type DirectiveDefinition = (inst: Component, options: DirectiveOptions, node: HTMLElement) => void | DirectiveDefObject;
type TemplateFn = (component: ... | 26c5d73c9f3dfe6c3c7fc3dd95b64a935def448e | [
"JavaScript",
"TypeScript",
"Markdown"
] | 9 | TypeScript | InDIOS/trebor-tools | c1ed2b77a079ec12dd32dc75e327599554355bab | a31f3bc4429ee720c22d9d77613de09fba22e243 |
refs/heads/master | <file_sep>// <NAME>, CS 145, Spring 2017, Section A, #2723
// Programming Assignment #4, 5/4/17
// Object Class - GrammarSolver
//
// Hosted Javadocs => http://jlandowski.greenrivertech.net/Javadocs/IT145/assn4/
import java.util.List;
import java.util.Map;
import java.util.TreeMap;
import java.util.Set;
import java.u... | 361a2791824e6dccf5c68f389ddecdd2b074d3bd | [
"Java",
"HTML"
] | 11 | Java | JakeLandowski/JavaWork2 | 3421eee24cf3ce5488ee928c709fe9e8ac918da9 | b6aabbfded49d58d42cb9c5c711a280433942858 |
refs/heads/master | <file_sep>import { StandardTemplateRoomProvider } from "./providers/StandardTemplateRoomProvider";
import { ClassicTileProvider } from "./providers/ClassicTileProvider";
import { DunGen, ETiles } from "./map/DunGen";
import { WorldMap } from "./map/WorldMap";
import { Player } from "./actors/Player";
export class Worl... | 99cf80e9b06159cc019153ea8d4dc5c6fede3e90 | [
"TypeScript"
] | 13 | TypeScript | HypoLast/runner2 | 0aff1d375faf4f686963df103048b634373f8ca1 | abee14fa8d3a316c34b18191b12e8b65184b0cd4 |
refs/heads/master | <file_sep>using System;
class AgeAfte10years
{
static void Main(string[] args)
{
Console.Write("Enter your birth date: Day/Month/Year:");
DateTime Birthday=DateTime.Parse(Console.ReadLine());
int age=(int)((DateTime.Now-Birthday).Tot... | f30fb9e3728afe2aba5bef604173d42f50535486 | [
"C#"
] | 2 | C# | metall22/Intro-Programming-CSharp | e558bef09cccf69b0901a3a1ffc47fb73bd20fe8 | 64b3c83e1d672ac1f7c98d5ac7af118e5da206e8 |
refs/heads/master | <file_sep>package main
import (
"bufio"
"fmt"
"os"
"strings"
"regexp"
"bytes"
)
func main() {
reader := bufio.NewReader(os.Stdin)
fmt.Print("Enter trump suit (avaliable: S (Spades), H (Hearts), C (Clubs), D (Diamonds): ")
inputText, _ := reader.ReadString('\n')
inputText = strings.Replace(inputTex... | eff429dacf573c682c26fe42f9987dc37b4431ff | [
"Markdown",
"Go"
] | 3 | Go | Merff/cards_sort | 7b95304e5267620acfcd15638b95cf6780ce9bd4 | d81320609b95fc0b20d4250001979dab98c5f0c8 |
refs/heads/master | <repo_name>Soumil491/first-react-app<file_sep>/src/pages/shop-page/shop-page.component.jsx
import React from 'react';
import './shop-page.component.scss';
const ShopPage = () => {
return(
<div className="shop-page">
Shop Page
</div>
)
}
export default ShopPage;<file_sep>/src/compon... | 9724d1ab62f51f1f3bd52d47e1ad30f3d643c77d | [
"JavaScript"
] | 8 | JavaScript | Soumil491/first-react-app | 4cfb8ee9b81e86fe9eabee92a2e84306286dba28 | 36463f6ece32617f1f0e358ab33c745087b6ede6 |
refs/heads/master | <repo_name>mapuchuz/zooJEE<file_sep>/src/main/java/org/zoo/javaee/EnclosBean.java
package org.zoo.javaee;
import java.util.ArrayList;
import java.util.List;
import javax.enterprise.inject.Model;
import javax.inject.Inject;
@Model
public class EnclosBean {
List<Enclos>enclos= new ArrayList<>();
@Inject
EnclosSer... | c56ee4dfaebd54322a980534f1ccae3dfa0513de | [
"Java"
] | 4 | Java | mapuchuz/zooJEE | d61c4489cb8cfa97dc9d5232f31d58fbe5983a97 | 783544c45abe96c64bd209272dbd9d1322abf52b |
refs/heads/master | <repo_name>vishaldhanani/RemoveDuplicateChars<file_sep>/RemoveDuplicate/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RemoveDuplicate
{
class Program
{
public static void Main(string[] args)
{ ... | 22f157e09116d52a277c8a5ea73d3b0579564508 | [
"C#"
] | 1 | C# | vishaldhanani/RemoveDuplicateChars | efcd110886b9a73f5322ef2d43dfab4442586c4a | 70b8952bd39ccbbfda3ded5c19441c0c3444253c |
refs/heads/master | <file_sep>#ifndef __RECORD_H__
#define __RECORD_H__
#include <vector>
#include <cstdint>
#include <cstring>
#include "../parser/stmt.h"
class Record {
private:
void unpack();
void pack();
public:
vector<unsigned char> buf;
vector<record_value> values;
vector<table_column *> ... | 498f31a1752fb651b8e45f4703a3d2543da000fe | [
"SQL",
"Makefile",
"C++"
] | 25 | C++ | pollow/xyzSQL | 5aec676bf59e45f6bea1608e7d2b31830b1f6d8e | 65e1a0cde8004376319e43f8bf12f264ea19e8a8 |
refs/heads/master | <repo_name>hzshang/minijava<file_sep>/scaner.c
#include "stand.h"
#include "util.h"
#include "error.h"
#include "absyn.h"
#include "minijava.tab.h"
#include "state.h"
YYSTYPE yylval;
extern int line_num;
int yylex();
string names[]={"ID","STRING","INT","CLASS","PUBLIC","STATIC","VOID","LPAREN","RPAREN","LBRACK","RBRA... | adc97a7d6ffde7d0b85d42a5483b838602b86c06 | [
"Java",
"C"
] | 10 | C | hzshang/minijava | 16d5de05bf9b5ba549a284e848585dfc9520018e | e359eef0a3a0ebacc9aae94f895c7a680e140901 |
refs/heads/master | <file_sep>import React from 'react';
import classNames from 'classnames';
import Head from 'next/head';
import InfoAndInputBox from '../components/InfoAndInputBox';
import envelopeIcon from './icons/envelope.svg';
import personAtDeskIcon from './icons/person-at-desk.svg';
import phoneIcon from './icons/phone.svg';
imp... | 25ac2ebe7d1d1d99051c4322e5f1619c8888d754 | [
"JavaScript"
] | 1 | JavaScript | mathilwa/refaktorering | a7777fd19bacd694802b42281f3b462fe459ffed | 93a544ba30e134f5fac18756e3be71468d955353 |
refs/heads/master | <repo_name>vannida-lim/programming-univbasics-4-square-array-dumbo-web-100719<file_sep>/lib/square_array.rb
def square_array(array)
index = 0
while index < array.length
squared = array[index] * array[index]
array[index] = squared
index += 1
end
array
end
| 876834fe6233427a3610425077398079a1cead8b | [
"Ruby"
] | 1 | Ruby | vannida-lim/programming-univbasics-4-square-array-dumbo-web-100719 | 0b1bba2183cec9c2d3d702dcbc411111a7a4f46b | b7f0d2e8c69c3f08b0b0cc4f742d8d2bdc2b8548 |
refs/heads/master | <file_sep># Tina
创建项目Tina, tian!
【功能】2018.8.8 添加 多线程下载功能
<file_sep>package tina.com.common.download.data;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import com.live_common.download.gen.DaoMaster;
import com.live_common.download.gen.DaoSession;
import com.live_common.download.gen.D... | c8eb0a178589f3a7bddecc621019fbd319fc420f | [
"Markdown",
"Java",
"Gradle"
] | 4 | Markdown | yinxiucheng/TinaMutilDown | 1f3664b376059b77b2bcedd701d75300afd5200f | 7292457d367625e88c2067a8c4151ba307513f69 |
refs/heads/master | <file_sep>// initialize an object which will contain all variables and functions
var $scope = {};
// new variable that will link to Firebase database
$scope.remDatabase = new Firebase("https://updatemessage.firebaseio.com/clientdata/");
$scope.dialogUI = {
create: function ($html) {
//$($html).appendTo("#ui... | c5d223c3993b9cfe6c14c678d31ea295c1705b51 | [
"JavaScript"
] | 1 | JavaScript | codingcool21/firebaseDemo | 6002dae148e63547f87959d810626e05d03b058d | 03801b9f72832987d918fe041044c7ef39e7ca0f |
refs/heads/master | <repo_name>svyatik/in-recorder<file_sep>/js/application.js
// const remote = require('electron').remote;
let record_process = 0;
// 0 - stop
// 1 - pause
// 2 - record
function Color(class_name, color) {
this.class_name = class_name;
this.color = color;
}
const action_record = new Color('record', '#c0392b'),
... | ec7da3056ecdbd2244dc0036998b5e9a9ccf10e0 | [
"JavaScript",
"Markdown",
"PHP"
] | 5 | JavaScript | svyatik/in-recorder | b03e7c176a9de165164496344b281d5395f31ebc | 297dda513b91d524e35e9312322c83c22b6163b2 |
refs/heads/master | <file_sep>import sys
from PySide import QtCore, QtGui
from database import Database
class MainWindow(QtGui.QMainWindow):
def __init__(self):
super(MainWindow, self).__init__()
self.initUI()
def initUI(self):
self.setGeometry(200, 200, 640, 480)
self.menu = self.menuBa... | 4688999da9c43d6e1d9e47413320980920de334a | [
"Markdown",
"Python"
] | 3 | Python | fgroes/DatabaseBrowser | a113553040f7832d0be54b41c9d70404053b13bc | 03e6dbeb46395b96e07aa7f9caa4d6137ab3b083 |
refs/heads/master | <file_sep>#!/usr/bin/env bash
BAK_DIR=''
USE_ZENITY=0
BAK_GPG=0
BAK_GK=0
BAK_CFG=0
LIMIT_SIZE=768 # 768MB
SILENT=0
function usage
{
MSG="usage: $0 options\n
\n
This script make backup of .config and all exported GPG keys.\n
GPG export for private keys and trusts asks your passphrase.\n
\n
/!\ \tWarning\t /!\ \n
... | 02453adde1664d2345b52a3d38b986cada23c1d1 | [
"Shell"
] | 1 | Shell | Luvwahraan/backup.sh | 4f4c5ef56a3a0029ec47f82b92eed9ce2630cec2 | bc90d1e0cf09bc642af849c33dadf4aac96f9a0c |
refs/heads/master | <repo_name>vatsalsharma376/plaidC<file_sep>/client/src/components/layout/Navbar.js
import React, { useState } from "react";
//import react pro sidebar components
import {
ProSidebar,
Menu,
MenuItem,
SidebarHeader,
SidebarContent,
} from "react-pro-sidebar";
//import icons from react icons
import { IconCo... | 237f1551ed8f3c77cc4eabaccf6cf1088856d362 | [
"JavaScript"
] | 6 | JavaScript | vatsalsharma376/plaidC | 6500bb08904b36da7a4f9c6dadb8e7b375c766d0 | 3fee336aeee553ecf498df0f179c6681d99ee960 |
refs/heads/master | <repo_name>siniga/lete_drop<file_sep>/app/src/main/java/com/agnet/leteApp/fragments/main/adapters/CartAdapter.java
package com.agnet.leteApp.fragments.main.adapters;
import android.content.Context;
import android.content.SharedPreferences;
import android.graphics.Color;
import android.util.Log;
import android.view.Lay... | 80175618741bac2ba5b6f03ad266df0558003071 | [
"Java"
] | 21 | Java | siniga/lete_drop | 2062176880eee2c20c13e85a75c10a2b1fc4490b | ee2fe86f0f570c02672f0548f17190eae7d676ab |
refs/heads/master | <file_sep><?php
namespace App\Controller;
use App\Controller\AppController;
class ComandoController extends AppController
{
public function index()
{
$this->loadModel('Comandos');
$comando = $this->Comandos->get(1);
echo $comando->comando;
die;
}
}<file_... | 147ab7d2e718172ec9f54d9b1404bcb656da476b | [
"PHP"
] | 12 | PHP | profrodrigoaffonso/fotos | 472876dc20b31ff74e33296795350669d3fc1b16 | 8b0d16aea9387e550abfe23d1c5a18ebd8f6191f |
refs/heads/master | <repo_name>MANJUL99/hacktober<file_sep>/a.cpp
#include<bits/stdc++.h>
using namespace std;
#define ll long long int
void fast(){
ios_base::sync_with_stdio(false);
cin.tie(NULL);
}
int main()
{
fast();
ll q;
cin>>q;
while(q--){
ll n,a,b;
cin>>n>>a>>b;
ll inters = a+b-n;
ll ans = max(a-inters ,b-inters) +1... | 9282cc44b86efeda4491dd4a55f6f8cb47eec51d | [
"Python",
"C++"
] | 21 | C++ | MANJUL99/hacktober | 6871217e7e5ad7787614cad98256cd1134edcdcc | f2889438b7f86d118a5b661e1afece628f93c508 |
refs/heads/master | <repo_name>sycomix/AI_IDS<file_sep>/run_HAST_I_noise_V3.py
# Run HAST I with noises + creating a graph for datatest accuracy for each epoch
import os
# self made functions and classes
import AI_IDS.create_dataset_v2 as dataset
from AI_IDS.HAST_I_NN import HAST_I
from AI_IDS.test_NN_wo_load import test_wo_load as twol
... | fe8d022709e47ede114dc66f5f8123c50bdabdd6 | [
"Python"
] | 5 | Python | sycomix/AI_IDS | 9c41942ac408ed1f8012f8bf5ac9f9ee2be4bd26 | 9614100e478e1dd0713234df49a188c2e08e705c |
refs/heads/master | <file_sep>from libmproxy import script, flow
import tutils
class TestScript:
def test_simple(self):
s = flow.State()
fm = flow.FlowMaster(None, s)
ctx = flow.ScriptContext(fm)
p = script.Script(tutils.test_data.path("scripts/a.py"), ctx)
p.load()
assert "here" in p.... | f485a6324566f3e94a7545c34b9a140d32f54ea1 | [
"HTML",
"Markdown",
"INI",
"Python",
"Text",
"Shell"
] | 45 | Python | sebdraven/mitmproxy | 6a31d3271219dffc9786f08e387ad5dc812fe86c | f017e7b02251f8f44f77f16af3f94ac2ca4a1da1 |
refs/heads/master | <file_sep>import React, { Component } from "react";
class LeaderboardTableRow extends Component {
render() {
return (
<tr>
<th scope="row">{this.props.index}</th>
<td>{this.props.name}</td>
<td>{this.props.location}</td>
<td>{this.props.gender... | f82ca9e131c917ee87e4ff2cf2b3976adc539c0d | [
"JavaScript",
"Markdown"
] | 19 | JavaScript | psd314/CarbonSense | fcb17ed63d77735916e95791f5377327a2918e27 | 73ceeede01ddeb99380bb6243df705eb434f847f |
refs/heads/master | <file_sep># WOB - Which one to buy
Show the best option for buying using value per unit meter.
## Development
### Tools
- NodeJS (https://nodejs.org/)
- [React App](https://create-react-app.dev/)
- Bootstrap
### Install
```bash
npm install
```
### Start
```bash
npm start
```
Then open [http://localhost:3000](h... | 8a076464018fc25c151da37748871a5826c841ee | [
"Markdown",
"JavaScript"
] | 2 | Markdown | miltonsiqueira/wob | eeddf41ee1f046c31487496fbe6663da697deaf5 | 8f1c236c17edf074a804819e4d00ed4fb43bd376 |
refs/heads/master | <repo_name>eltonsantos/eltonsantos.github.io<file_sep>/_posts/2018-02-12-sola-gratia.md
---
layout: post
title: Estudo dos solas: Sola Gratia
categories: devocionais
image: solagratia.jpg
logo: solagratia.jpg
description: Parte 2 - Sola Gratia - Efésios 2:8-10
url: https://eltonsantos.github.io/devocionais/sola-g... | 371168d06b37553186e933220e89b57ecee913a3 | [
"Markdown",
"JavaScript"
] | 38 | Markdown | eltonsantos/eltonsantos.github.io | 2c9f7ca8a1ec33b600a83901b87c946170418794 | dc9cb094ea905ec14b3f8b47af227fad05ec425c |
refs/heads/master | <file_sep>
AC_PREREQ([2.69])
AC_INIT([hwflush-check], [0.1], [<EMAIL>])
AM_INIT_AUTOMAKE
#AC_CONFIG_HEADERS([config.h])
AC_PROG_CC
AM_PROG_CC_C_O
# for O_DIRECT
#AC_USE_SYSTEM_EXTENSIONS
AC_GNU_SOURCE
AC_C_CONST
AC_CHECK_HEADERS([fcntl.h getopt.h netdb.h stdio.h stdlib.h string.h])
AC_CHECK_HEADERS([sys/ioctl.h s... | 5437d16b2f91ae7ec2edce2dc13378e451f7d5d3 | [
"Markdown",
"C",
"Makefile",
"M4Sugar"
] | 4 | M4Sugar | vitlav/hwflush-check | f297eeaf738a9f5488d40f00984120ffe1f60627 | 8291609b017e0f0c7c7e1b17e4799a2028daceb3 |
refs/heads/main | <repo_name>KonstLeb/GBBasicPython<file_sep>/BPLesson4Task3.py
print(f'В пределах от 20 до 240 на 20 или 21 без остатка делятся следующие числа: \n{[element for element in range(20, 241) if element%20 == 0 or element%21 ==0]}')
input()<file_sep>/BPLesson4Task1.py
from sys import argv
script_name, hours, hour_rate, b... | 69a13debdd4eb3bf7a331aaf095e471e2707d43f | [
"Python"
] | 7 | Python | KonstLeb/GBBasicPython | 2445673d1fc80f7ececf4cb3e3f37141bf890ce2 | 2ae5afa4192612e9554fe439b55e809c454a9b3e |
refs/heads/master | <file_sep>####################################################################################
##### Calculadora de Markowitz
##### Projeto de calculadora em R para realizar a otimizacao de portfolio
##### seguindo o modelo de proposto por Markowitz em 1952, para isso usamos os
##### dad... | c2782f6ca6cde8a778db2b4726e42417cf18af03 | [
"R"
] | 1 | R | PedroHenrique31/MarkowitzCalculator | 0f916ca80e114626d962f6b93878b3d13a81b943 | ec13d622d02e87159e863903541d718fba356f24 |
refs/heads/master | <file_sep>/*
* 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 inputoutput;
import java.io.*;
import java.io.IOException;
public class InputOutput {
public sta... | 0a848d3202daed0808426de0a779277c1f97cf47 | [
"Markdown",
"Java",
"Rust"
] | 20 | Java | VidyakamalNSIT/JavaCode | 43f113f30896f8dd292b844f3fb14de72459617d | add7a1e0c700b7268087aea835c6b445395cc9be |
refs/heads/master | <file_sep>window.onload = function(){
class Drawing extends KamiComponent
{
constructor()
{
super();
this.position = {
x: 0,
y: 0
}
}
static get tag(){
return 'drawing-exemple';
}
ge... | 34450ec0344cb2711ed298e0da2b28c346c37afd | [
"JavaScript",
"TypeScript",
"Markdown"
] | 5 | JavaScript | Kamiapp-fr/kami-component | 4f8a6d298b6a37818cc52947195171635df787b6 | 1b5893ae4cfe6bcf2266f35fa0dcb1b93da33a5d |
refs/heads/master | <file_sep>package vaccapi
import (
"github.com/spf13/viper"
"crypto/rsa"
"crypto/rand"
"crypto/x509"
"encoding/pem"
log "github.com/sirupsen/logrus"
)
const timeZone string = "GMT-8"
const clientKey string = "<KEY>"
const secret string = "<KEY>"
const mainUrlFormat string = "https://eco-{country}-api.ecovacs.co... | 2604e11e828eb6c3bf56ce0e8c0836a92456ebea | [
"Python",
"Go"
] | 4 | Go | jell0wed/suceanne | 54443b1c152ce177ce569b18072b0e4ccb3713a9 | c8cf4efa55fb5d242283d94beeaee9420cd842be |
refs/heads/master | <file_sep><?php
if (!defined('IN_TG')) {
exit('Access Denied!');
}
?>
<div id="footer" class="footer">
<p>程序运行时间:<?php echo round((_runtime() - START_TIME),4); ?>秒</p>
<p>版权所有 翻版必究</p>
<p>本程序由<span>瓢城Web俱乐部</span>提供 源代码可以任意修改或发布 (c) yc60.com</p>
</div>
<file_sep><?php
define('IN_TG',true);
d... | 83685ca677e117b5b50de741bdd22b9f07a1066d | [
"PHP"
] | 5 | PHP | kirtgoh/php-web | a0f003b0043f24d4680a0d31903262ba5348710e | c892434fd845c3244553375521cdf343d5d94c4a |
refs/heads/master | <repo_name>davidkavanaugh/buck-island-farm<file_sep>/src/components/Store/StoreNav/StoreNav.js
import React from 'react';
import PropTypes from 'prop-types';
import { withStyles } from '@material-ui/core/styles';
import AppBar from '@material-ui/core/AppBar';
import Toolbar from '@material-ui/core/Toolbar';
import Head... | 3f9a01e7dda7d508e53823c5046cccff7bbd78d0 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | davidkavanaugh/buck-island-farm | cbf54d9cf0d1f21bb485bbf207acf2874a30b15c | 1d22983bdc79c484d71009a9e3ed2454af663b0d |
refs/heads/master | <repo_name>maidmaid/numberplate<file_sep>/src/NumberPlate/Captcha.php
<?php
namespace NumberPlate;
use TesseractOCR;
class Captcha
{
static public function decode($filename = 'http://www.vs.ch/cari-online/drawCaptcha')
{
$time = microtime(true);
$filenameOriginal = __DIR__ . '/../../cache/' . $time . '_o.jpg... | c21e305830891672e0adfba0fd303a569058955d | [
"Markdown",
"PHP"
] | 5 | PHP | maidmaid/numberplate | 3319681dc8e794a4e8457f563a791d8ce43aed6f | 2c823238b7f5a78f637f5cfb4aa6abb84c18385b |
refs/heads/main | <file_sep>package cl.edutecno.dto;
import java.util.List;
import cl.edutecno.model.Pasajero;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class PasajeroD... | 2d4dea47767aa78d17a02e4f30e5535fe6838e43 | [
"Java",
"INI"
] | 9 | Java | PauloGarcesCarraco/SistemaAdministracionVuelos | a7cf7c660ee5e9fbbd44aec13b7bc37e824c9302 | c34f60b80bdcae5f45eaa4c129735b708f51a10e |
refs/heads/master | <file_sep>addEventListener('fetch', event => {
event.respondWith(handleRequest(event.request))
})
/**
* Fetch and log a request
* @param {Request} request
*/
async function handleRequest(request) {
const { url } = request;
const url_obj = new URL(url);
const src = url_obj.searchParams.get('src') || 'https:/... | caa94a1ad07195b154d7bc54b93e4e1eefc3f24f | [
"JavaScript",
"TOML"
] | 2 | JavaScript | ontouchstart/ontouchstart-rustwasm-markdown-parser | 5e7effb9f81da3c1ef7392574fa2aba729e2bf60 | 409c7463dbe77e4d0287a0454031ff515f0573b2 |
refs/heads/master | <repo_name>IQSS/dataverse-client-java<file_sep>/src/main/java/com/researchspace/dataverse/search/entities/SearchResults.java
/*
*
*/
package com.researchspace.dataverse.search.entities;
import java.util.List;
import java.util.stream.Collectors;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.D... | e28cf849d9cace94186e8fc4cf7b1f1e38a90880 | [
"Markdown",
"Java",
"INI",
"Gradle"
] | 22 | Java | IQSS/dataverse-client-java | 22da346d8263c5feb768b0bc7571de9b72e4dbca | 3ce34db5c71d2f45d547b9203b86dc1b7b13a3fa |
refs/heads/master | <file_sep>//
// BaseResponse.swift
// NotificiationList
//
// Created by <NAME> on 4.03.2019.
// Copyright © 2019 <NAME>. All rights reserved.
//
import Foundation
// YOUR JSON FILE VALUES
class BaseResponse : Codable {
let value : [Base]
let message : String
let code : Int
let error : Bool
}... | 7061e234554d640629e62a3bc7caea1581096f72 | [
"Swift",
"Ruby",
"Markdown"
] | 18 | Swift | frknbyhn/YOUR_SOCIAL_MEDIA_WITH_YOUR_API | b37ec596842e9ee0985754fafb3eaaae9f39d906 | d90dfc49ebd1a1e32c8707dc97e79de5a54adf36 |
refs/heads/master | <repo_name>symptommap/rshinytemperaturemap<file_sep>/app.R
#
# This is a Shiny web application. You can run the application by clicking
# the 'Run App' button above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(shiny)
library(httr)
library(jsonlit... | 00e85758d75b6dc549ae66a2d4163cd2a186647c | [
"R"
] | 1 | R | symptommap/rshinytemperaturemap | ae5d18c21f69d22566db23657c93f5c47bce1dd5 | e0478d285eb3b27512949534c50f6cefe3b2e905 |
refs/heads/master | <repo_name>venkateshwaralu-Testing/GitDemo1<file_sep>/testA8Flow/test_e2eA8.py
import time
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support.wait import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
driver = webdriver.Chrome(exe... | a2f265ebc4a7babbc4de8b91582374e2102e6438 | [
"Python"
] | 1 | Python | venkateshwaralu-Testing/GitDemo1 | 9ee8ebce9cd0ddd7946e9ab37c06dcdfca15278a | 03d79c347ad027fee7e80c8519c80041eb0ad88a |
refs/heads/master | <file_sep>namespace ExCSS
{
internal sealed class JustifyContentProperty : Property
{
private static readonly IValueConverter StyleConverter = Converters.JustifyContentConverter;
public JustifyContentProperty()
: base(PropertyNames.JustifyContent)
{
}
inter... | d730e2fb144d661de319fc2c1304a9fd744e4894 | [
"C#"
] | 4 | C# | ManuelHaas/ExCSS | 9916ad14860a6044009f5be33a13114c106cbdfc | 030f3007257dd6b74412de00e48b6d27ae6f8219 |
refs/heads/master | <repo_name>mrpiotr-dev/dotnetmvc-hot-simple-example<file_sep>/README.md
## Prerequisites
- install `dotnet` SDK - https://dotnet.microsoft.com/learn/aspnet/hello-world-tutorial/install
## Description
I based this simple implementation on the official tutorial: "
ASP.NET Tutorial - Hello World in 10 minutes" https://do... | 743a622831396194d69f5ffda4a8971cbbfce37e | [
"Markdown",
"C#"
] | 3 | Markdown | mrpiotr-dev/dotnetmvc-hot-simple-example | 642e93514b8ee185a50ad181e67ec8bd2280d5fc | 69459c443723195807fd3db105c7cdca0804d0fb |
refs/heads/master | <repo_name>kennycaiguo/studygo-4<file_sep>/project/config/main.go
package main
import (
"fmt"
goconf "github.com/Unknwon/goconfig"
)
var (
ConfigFile = "config.ini"
)
func main() {
Conf, err := goconf.LoadConfigFile(ConfigFile)
if err != nil {
fmt.Println("can't parse config file:" + ConfigFile)
}
v, err ... | f1380b9c866dd912aed5e7edc855ac6078fb3b38 | [
"Markdown",
"Go"
] | 17 | Go | kennycaiguo/studygo-4 | d39616915d73979e789f5a2ec7eafbaa846fd95a | 159f2a71257a71d063e173170e17ed10cf7d4659 |
refs/heads/master | <repo_name>fjriosp/tdsayuno<file_sep>/upgrade
#! /bin/bash
pushd $(dirname $0) > /dev/null
error()
{
echo "Error: ${1}."
exit 1
}
# Create if not exists
if [ ! -e tdsayuno.db ]
then
echo "Creating database..."
sqlite3 tdsayuno.db < sql/create.sql || error "creating database."
fi
# Check Backup
if [ -e tdsay... | 9adae97dd6e72e736674ffda8cafe5724d04be37 | [
"SQL",
"Python",
"Shell"
] | 7 | Shell | fjriosp/tdsayuno | 5b99ed0d49ce6ee34ab280457df10df8ae646971 | cb0b550574b2f49c568533a154501b21b45e7546 |
refs/heads/master | <repo_name>dlehrich/kitchensink<file_sep>/README.md
# Spotify Kitchen Sink
Spotify Kitchen Sink is demo application for the Spotify Apps API. It demonstrates some of the available functionality and is designed to help developers who are getting started. Less time reinventing the wheel, more time reinventing the record... | bb862d7b3236873c9dd438aaf6239e1ff5836bf8 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | dlehrich/kitchensink | 8eebb36369ac190933a636cbb0edebbd51bd014e | 54a43747653650ddb2931120d4faa9f4562bda73 |
refs/heads/master | <repo_name>AyiAyaYue/The-Safe---Arduino<file_sep>/ass2.ino
/*
Author: <NAME>
Date: 11.10.2020
Assignment 2: The safe
*/
#include "Display.h"
#define BTN_INPUT 9
#define BTN_CONFIRM 8
#define LED_YELLOW 7
#define LED_GREEN 5
#define LED_RED 4
#define BUZZER 3
#define LDR A2
int num = 0;
String result = "";
String... | 2e808b652ee63fadcbb28c0d0213416c9007cbcb | [
"Markdown",
"C++"
] | 2 | C++ | AyiAyaYue/The-Safe---Arduino | 52fcf363d9458f862f696c8367bce9a2a4e324b3 | 4019530e93f35cf6183a194fc79288849149e99f |
refs/heads/master | <repo_name>kenotr0n/lettuce<file_sep>/src/test/java/com/lambdaworks/redis/cluster/RedisClusterSetupTest.java
package com.lambdaworks.redis.cluster;
import static com.google.code.tempusfugit.temporal.Duration.*;
import static com.google.code.tempusfugit.temporal.Timeout.*;
import static com.lambdaworks.redis.cluster.Cl... | bef0be42e1df5cb3a43f7d1604856a92058301a6 | [
"Java"
] | 2 | Java | kenotr0n/lettuce | d08c6d320cfe995471e3ea916fceff47ee0bf170 | 633dee5793375f9f5db2df92d57553e5271e19b5 |
refs/heads/master | <file_sep>package com.linkedin.thirdeye.dashboard.resources.v2;
import com.linkedin.thirdeye.dashboard.resources.v2.pojo.RootCauseEntity;
import com.linkedin.thirdeye.dashboard.resources.v2.rootcause.DefaultEntityFormatter;
import com.linkedin.thirdeye.dashboard.resources.v2.rootcause.DimensionEntityFormatter;
import ... | 8a56fd9cd232c33001b60967f1582dd172c584de | [
"JavaScript",
"Java"
] | 21 | Java | lzm7455/pinot | 54d8cd8eb464b3438dec3ff134c6027514053b59 | e63af20c4c8815d7a202914ee3b57453d27ed5b6 |
refs/heads/master | <repo_name>otownsend92/cs271_proj1_java<file_sep>/mod_deploy_ot.cpp
//
// mod_deploy_ot.cpp
//
//
// Created by <NAME> on 12/8/14.
//
//
#include "mod_deploy_ot.h"
<file_sep>/clientServer/src/clientserver/ClientServer.java
package clientserver;
import java.io.IOException;
import java.net.ServerSocket;
import java... | 3264df3d33bebb6218960ce9ed259c0746d64e40 | [
"Markdown",
"Java",
"Makefile",
"C++"
] | 8 | C++ | otownsend92/cs271_proj1_java | 389293627eb92d7e68efee6bf0400dfb0b8fb581 | 3a2d64f768fa14e10c0cca4b2b216fefda51fb14 |
refs/heads/master | <repo_name>AntonyBlueboy/SpotterTest<file_sep>/app/src/main/java/com/rudolf/spottertest/ArtilleryGameInterface.java
package com.rudolf.spottertest;
import android.os.Parcelable;
/**
* Created by антон on 11.05.2016.
*/
public interface ArtilleryGameInterface extends Parcelable{
// тут был метод проверявший исчи... | dfda8882331bd413d7d234aa32e90ccf328488f0 | [
"Java"
] | 7 | Java | AntonyBlueboy/SpotterTest | 7d623f063eaaf2ecb56fab4609ef8d03919ca2a4 | 380713c0fa8bed4bc78112be8c514efc6afa0f6b |
refs/heads/master | <repo_name>marcelommarra/vox-alimentos<file_sep>/contato.php
<!doctype html>
<html>
<head>
<?php include'head.php';?>
<!--::::::::: MENU MOBILE :::::::::-->
<link rel="stylesheet" type="text/css" href="menu/1/default.css">
<link rel="stylesheet" type="text/css" href="menu/1/component.css">
<script type="text/ja... | a3fe5b8499a92d91b0c75da35f36b082d61f5f16 | [
"PHP"
] | 8 | PHP | marcelommarra/vox-alimentos | 2ee83fb72c1caac9c047cbad5074fbd75d6bf4ae | 3873a250520a9610b2f3d66f8c77b1bcb5cb2de1 |
refs/heads/master | <file_sep><?php
/**
* Created by PhpStorm.
* User: yanni
* Date: 11/7/2018
* Time: 11:47 PM
*/
ini_set("display_errors", "on");
error_reporting(E_ALL & ~E_NOTICE);
header("Content-Type: text/json");
require_once '../../classes/PDO_Mysql.php'; //DB Anbindung
require_on... | f703ad00865f71320ac244f0da375747872de8c9 | [
"PHP"
] | 11 | PHP | yannick9906/rperv-tool | b71e83880e3af19ac37292a13028fc23df50ddac | 446e455eab3e1a9ac73e4ddeed6546967ac3fda0 |
refs/heads/master | <repo_name>tlystad24/nodeuino<file_sep>/LED Control/arduino.js
// Import Johnny Five library
var five = require('johnny-five');
var board = new five.Board;
// Import express
var express = require('express');
var app = express();
// Run codeblock when board is ready
board.on('ready', function() {
console.log('Ready')... | 252e86d0053258bfbf67a7d8b683a73d4fdaddcb | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | tlystad24/nodeuino | 98c7b88fb6159eb0deccc8032070a5952a1fc9f9 | 17eebdc48205ba3d88d0cffafec2100032caef32 |
refs/heads/master | <repo_name>MasyafXV/Labyrinth<file_sep>/assets/scripts/tiles.py
import itertools
import bpy
walls = ['WallRight', 'WallUp', 'WallLeft', 'WallDown']
for bools in itertools.product([True, False], repeat=4):
walls_to_hide = [wall for (i,wall) in enumerate(walls) if not bools[i]]
for wall in walls:
bpy.da... | f634bd4fed8d3aac01343729251a25349d613845 | [
"Markdown",
"C",
"Python"
] | 11 | Python | MasyafXV/Labyrinth | 3e70cfa4b1d38402232a9d4ce86f2784b02d33c5 | 38bff298fdff4d9c81e729e3490ac3dde587f4c4 |
refs/heads/master | <repo_name>msyamsula/chat<file_sep>/deploy-chat-aws.sh
source .env-chat
sudo docker stop $IMAGE
sudo docker rm $IMAGE
sudo docker rmi $DOCKER_USERNAME/$IMAGE
sudo docker pull $DOCKER_USERNAME/$IMAGE
sudo docker run -itd --name $IMAGE -p 5000:5000 $DOCKER_USERNAME/$IMAGE
<file_sep>/io.js
// server side io
const socketio... | 2d0fe01c1db4d37ec02ed1b0d546d5abd6329e56 | [
"JavaScript",
"Dockerfile",
"Shell"
] | 6 | Shell | msyamsula/chat | f80fa99d4474673823c568a9ec7a2344a5d9a30c | fc30e27ef00aa1e4a437659d97d7699793389282 |
refs/heads/master | <repo_name>LiuChuang0059/RobustGCN<file_sep>/README.md
# RobustGCN
This is a sample implementation of "[Robust Graph Convolutional Networks Against Adversarial Attacks](https://zw-zhang.github.io/files/2019_KDD_RGCN.pdf)", KDD 2019.
### Requirements
```
tensorflow >= 1.12
numpy >= 1.14.2
scipy >= 1.1.0
networkx >= 2.... | 54562357088317383d95100610bb8374305fb307 | [
"Markdown",
"Python"
] | 4 | Markdown | LiuChuang0059/RobustGCN | d4cb3346b438cbe207c1b9e7c4499bd29e65febe | f1a7f6abeab3c82661e6497e601c02e9d55b0184 |
refs/heads/master | <repo_name>JakubRaban/project-manager<file_sep>/src/main/java/pl/edu/agh/gastronomiastosowana/model/aggregations/ParticipantList.java
package pl.edu.agh.gastronomiastosowana.model.aggregations;
import pl.edu.agh.gastronomiastosowana.model.Participant;
public class ParticipantList extends AbstractAggregatedList<Partic... | abc9ad3a3eea6fc5bfc99f777d378d7a22d9315e | [
"Markdown",
"Java",
"Gradle"
] | 23 | Java | JakubRaban/project-manager | 4a8c6b9fe7d13143223d9ed3336d96ec8cdbccea | 5d2580b59f56f9c7525ff130ba4012d41a331458 |
refs/heads/master | <file_sep>package com.io.ikaonigiri.service;
import com.io.ikaonigiri.repository.BoardRepository;
import com.io.ikaonigiri.repository.LoginRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.Map;
@Service
pu... | 3ced7660ad524f5d94ccde42f3ed64ef6fd458e9 | [
"Java",
"INI",
"Gradle"
] | 10 | Java | diqksk/ikaonigiri | 2189bfd6429bcf57d5b41a7fdb5e736c1e21b469 | 43246539d24609665127f7f8e24a161f07361fcb |
refs/heads/master | <repo_name>parthgandhi7/express-sequelize<file_sep>/migrations/migrations.js
'use strict';
module.exports = {
up: function(queryInterface, Sequelize) {
return queryInterface.renameColumn('user', 'address', 'add');
},
down: function(queryInterface, Sequelize) {
return queryInterface.removeColumn('user', ... | 22d1a52f5da8e4c27514501661b1a5b1d8e77951 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | parthgandhi7/express-sequelize | b9f8cd0a5f4669e5848c5d89f320ba0de13b4b41 | 3debf915f27e9f6360c75235c754c7fe9b403266 |
refs/heads/master | <repo_name>davebattles/liri-node-app<file_sep>/app.js
// Node module imports needed to run the functions
var fs = require("fs");
var request = require("request");
var dotenv = require("dotenv").config();
var Spotify = require('node-spotify-api');
var keys = require("./keys.js");
require('console-wrap')();
var liriInput... | 57b717dfba555b43dc81ca62c42d4c7ce952af87 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | davebattles/liri-node-app | 0481b3627ba4188ac93a2afbfc09e14bbdbdd8dd | 2bdee61c61c69bc24ac0ee1d1883643156a79baa |
refs/heads/master | <repo_name>carlocorradini/happypuppy-server<file_sep>/src/util/EntityUtil.ts
// eslint-disable-next-line no-unused-vars
import { getMetadataArgsStorage, ObjectType } from 'typeorm';
// eslint-disable-next-line no-unused-vars
import { ColumnMetadataArgs } from 'typeorm/metadata-args/ColumnMetadataArgs';
// eslint-disabl... | f3662e66211c3ca5dced8cd452b7a9949fe822dc | [
"Markdown",
"TypeScript",
"Shell"
] | 80 | TypeScript | carlocorradini/happypuppy-server | a1d6313cd8e409b89971a7bc94fef34e696f0901 | 4e1ae59ba9f8cb6b1e7a79c9830250b7ab225420 |
refs/heads/master | <file_sep>package com.awse.domain;
import java.util.List;
import lombok.Data;
@Data
public class CompanyVO {
private int id;
private String name;
private String address;
private List<EmployeeVO> employeeList;
}
<file_sep>package com.awse.domain;
import lombok.Data;
@Data
public class EmployeeVO {
private ... | e7a214139cf2671a2a9363915499c93716ac8d63 | [
"Markdown",
"Java"
] | 5 | Java | keede7/Spring-MyBatis-XML | 646381159b2df29220d790f7ac8ebac00fb281b6 | 01fcde396e901678c7f840b99c3c20b72bf66316 |
refs/heads/master | <repo_name>Dallas62/SchemaOrgRepository<file_sep>/GenerationSamples/LymphaticVesselBundle/Model/AbstractLymphaticVessel.php
<?php
/**
* The MIT License (MIT)
*
* Copyright (c) 2013 <NAME> <<EMAIL>>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associate... | d22b684d87bdf06e68e5658057ce5b32bc85c4f7 | [
"Markdown",
"PHP"
] | 86 | PHP | Dallas62/SchemaOrgRepository | 32c047ec46e5613cf5494402659bbb18331c7ca8 | 78021ea7bc9051bf5cc663b0e6d74e7074acb951 |
refs/heads/master | <repo_name>qu10wenhao/MyList<file_sep>/mylist.cpp
#include<iostream>
class pop_error{
public:
const char* msg();
};
const char* pop_error::msg(){
return "Error: you are trying to pop an empty list!";
}
class cross_error{
public:
const char* msg();
};
const char* cross_error::msg(){
return "Error: you've cr... | 0bdf72b10a64cb5c4bbc77daee4b0ef4bdd01620 | [
"C++"
] | 1 | C++ | qu10wenhao/MyList | d8e1436109301f9d3b02e956809287d5011cc76b | eef06cd3e3ad29819b48b187f0eb8cb27a931f40 |
refs/heads/master | <repo_name>davodaslanifakor/validator<file_sep>/regex-rule.js
/* eslint-disable */
export const email = new RegExp(/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/)
export const password = new RegExp('^(?=.*[0-9])(?=.... | 3782089eb3d041092cb3f549d42b8d6b66b08158 | [
"JavaScript"
] | 2 | JavaScript | davodaslanifakor/validator | 298cffa444053cd32b6744c08c1236d4a54db3d3 | cdb5d6fbd2078f9a0b9db9a31acb7a3ad76ec013 |
refs/heads/master | <repo_name>DAHarder/CodingPractice<file_sep>/Python/Advent_of_code_2022/Day_2/day_2_rockpaperscissors.py
data_file = open("data.txt", "r")
score = 0
full_array = []
count = 0
values = {
"AY": 4,
"AX": 3,
"AZ": 8,
"BY": 5,
"BX": 1,
"BZ": 9,
"CY": 6,
"CX": 2,
"CZ": 7
}
# ROCK 1
# PA... | fca23ea02367cf99755299209a9c419b8be77d31 | [
"Java",
"Python"
] | 6 | Python | DAHarder/CodingPractice | 0110588f2a05afc7991c80994dc05003a22107e5 | d233ca1305fc36e22481d3448680b8628fae1209 |
refs/heads/master | <file_sep>#include <curl/curl.h>
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include <sys/select.h>
#include <sys/time.h>
#include <errno.h>
#include <assert.h>
#if 0
#define VLOG printf
#else
#define VLOG if (0) printf
#endif
#define LOG printf
#define CURL_CALL(op) ... | 9617d448498571b913606c51c7cf09351fb0f91e | [
"C",
"CMake"
] | 2 | C | Andersbakken/curltest | 75bb4dc9a9d32d222efa4ecde8fcfc831b1e85ab | 9e2e50557147e84a1de4a69af2088c76e77bf09e |
refs/heads/master | <repo_name>Adian13/PlayForLearnPFL<file_sep>/app/src/main/java/com/example/adi/playforlearnpfl/Alunno/HomeAlunno.java
package com.example.adi.playforlearnpfl.Alunno;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AlertDialog;
import androi... | 066fe31932d9fa4d71f5cf970867fcd288de0221 | [
"Java"
] | 5 | Java | Adian13/PlayForLearnPFL | 517f18becd69a301b91bf71f566fb19cdddc2bff | 608eeb5a1908475223805e62f854c7660e90de7b |
refs/heads/master | <file_sep>dbms.name = postgresql
db.fill = 0
db.runtime_config = 1
system.db.url = JDBC_DATABASE_URL
system.db.user = JDBC_DATABASE_USERNAME
system.db.password = <PASSWORD>_DATABASE_PASSWORD
<file_sep>package yevtukh.anton.database;
import yevtukh.anton.model.dao.implementations.JpaDishesDao;
import yevtukh.anton.mode... | 11d916909f570adcf70c24ffea9d0d637e88ff71 | [
"Java",
"INI"
] | 3 | INI | AntonYevtukh/MenyDB | 2a779c3bc3f1d1ee22f6c9203c2110344afeba98 | 1fe94d4b7802c7a6513768752a5076c598668871 |
refs/heads/master | <repo_name>WasserEsser/PEExplorer<file_sep>/PEExplorer/ViewModels/Tabs/DebugTabViewModel.cs
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PEExplorer.ViewModels.Tabs {
[Export, PartCreationPolicy(C... | 89c84dff86ec7614db1c3afd531a0d3adfab5195 | [
"Markdown",
"C#"
] | 36 | C# | WasserEsser/PEExplorer | b0db3d9356023241626afc587f60ad7570aafad4 | 2b47df9ee3437c2c6cb98b128e10e5be26a6623a |
refs/heads/main | <file_sep>const firstName = 'Justin';
const lastName = 'TimberLake';
const fullName = firstName+' '+ lastName + ' '+ "is a good boy";
const fullName2 = `${firstName} ${'OOOO'} is a good boy.`;
const multiLine = `I love you
I miss you
no, I donot need you
Baily road e dorkar nai.`
console.log(multiLine);
<file_sep>/... | 2c46c0b9bdded8758a08ca37508982b4041cd410 | [
"JavaScript"
] | 3 | JavaScript | dipraj-howlader/es6-practice | 91dfb27d2e55ceb124cd054cc575a6c7ef49bffb | 5c3f6893460599e19023b9c512085184864bd0da |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.