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>erick2ramos/ClonoppyBird<file_sep>/ClonoppyBird/Source/Managers/InputManager.cpp
#include "InputManager.h"
#include "Game.h"
Vector2 InputManager::pointerPosition = Vector2();
bool InputManager::isTouchUp = false;
bool InputManager::isEscPressed = false;
bool InputManager::GetTouchUp()
{
return isTouchUp;... | 64fac9446d94ccdc7413ac42f721a594acf1cd15 | [
"C",
"C++"
] | 54 | C++ | erick2ramos/ClonoppyBird | a09aacafb6c9854ae4019c74a88c2bbccf105c65 | 27ee9a5ad39dcd21a8c7c793e433f91a2352681e |
refs/heads/main | <file_sep>import React, { useEffect } from "react";
import firebase from "firebase";
import { Redirect, useHistory } from "react-router-dom";
const Loading = () => {
let History = useHistory();
useEffect(() => {
firebase.auth().onAuthStateChanged((user) => {
if (user) {
return <Redirect to="/Home... | ee34ccceea15873d9757e4ebcf2d3bab20a7bbd8 | [
"JavaScript"
] | 3 | JavaScript | olxclone/Photogram-web | 7463cc9ac7a57c8e55ba09884176b9ee7eda3960 | 2cdda68230fb3d31f067f9f16f3c09f85861b163 |
refs/heads/master | <file_sep><?php
echo 'hello word';
echo 'bbb';
echo 'aaa';
| 0104699dae916f116d1b445870fce9c7d9c4325c | [
"PHP"
] | 1 | PHP | jiang9687/shop | c3e0538926492057514fa5bdc57701dab0f6923e | 4c26e9c48ebe4f8d1b15c483e5aebfcd4dde82f1 |
refs/heads/main | <repo_name>Akshay272000/NuchangeAssigment<file_sep>/src/com/Assignment/nuchange/NuchangeAssignment.java
package com.Assignment.nuchange;
import java.util.*;
import java.util.Scanner;
import org.json.JSONObject;
public class NuchangeAssignment {
static Scanner sc = new Scanner(System.in);
static int count1;
static Ha... | 2d193f295a69f105cb7f731265fe9f8cb2aa1871 | [
"Markdown",
"Java"
] | 2 | Java | Akshay272000/NuchangeAssigment | c699496b7d94ec5eef76a7dea01b7174e5a09f18 | d00c79055d474dac69c5d67d02a4ec833d7a10bd |
refs/heads/main | <file_sep>$(document).ready(function() {
$("form#formOne").submit(function(event) {
event.preventDefault();
if ($("#grocery-item1").val() === "" || $("#grocery-item2").val() === "" || $("#grocery-item3").val() === "" || $("#grocery-item4").val() === "" || $("#grocery-item5").val() === "") {
alert("Pleas... | 1fd1b7ec36a5f4d3f916641a7272a32b655dd505 | [
"JavaScript"
] | 1 | JavaScript | tprussell19/groceries | 94779db7c34cd2b374807e0377ca9a3323aa79ed | f1844c5832259eac5fb9f042ae0ddd57775f7fe3 |
refs/heads/master | <file_sep>#include "ipc.h"
#define CASVal(Dest, Comp, Exchange) __sync_val_compare_and_swap(Dest, Comp, Exchange)
#define min(a, b) (((a) < (b)) ? (a) : (b))
inline void getTimeOut(struct timespec *_tsRet, long _lTimeOut) {
clock_gettime(CLOCK_MONOTONIC, _tsRet);
_tsRet->tv_nsec += _lTimeOut*1000000;
if (_tsRet->t... | e3c9ebb826b2b1e81e6b09509eba3c677406bbe9 | [
"Makefile",
"Python",
"C",
"C++",
"Shell"
] | 58 | C++ | seyang/study | 4db988691514c09b2b33310c2039ff79767e318e | 3ece4a1ac388035a32cabb7509a77a5c2d6f0977 |
refs/heads/master | <repo_name>zipper97412/tokio-core<file_sep>/tests/spawn.rs
extern crate tokio_core;
extern crate env_logger;
extern crate futures;
use std::sync::mpsc;
use std::thread;
use std::time::Duration;
use futures::Future;
use futures::future;
use futures::sync::oneshot;
use tokio_core::reactor::{Core, Timeout};
#[test]
fn ... | 7fa661171ec4afae8736bd5f6d22ee01877635a2 | [
"Rust"
] | 1 | Rust | zipper97412/tokio-core | f3e114da5a2cc9c1379d2f4aefb14e2691fef099 | 8804f104b16f546dfc4d17708a4e4b7224bb4664 |
refs/heads/master | <repo_name>NishthaN/DataAnalyticsInternship<file_sep>/Nishtha Nayar Airlines Code.R
# Analysis of Airline Ticket Pricing
# NAME: <NAME>
# EMAIL: <EMAIL>
# COLLEGE: Shiv Nadar University
airlines.df <- read.csv(paste("SixAirlinesData.csv")) #Creating data frame
summary(airlines.df) #Getting summary of data
table(airline... | d72ef6d71b52f3191906ecfe9da44a4ac6deb3df | [
"Markdown",
"R"
] | 4 | R | NishthaN/DataAnalyticsInternship | 2e0c79f9ef05f2f5f9666e987517ce9d8f5dabe2 | 05485f20c85ca5e08eff3973afc15d7a1076b54d |
refs/heads/master | <repo_name>Caio042/api-entregas<file_sep>/src/main/java/com/caiolima/apientrega/api/exceptionhandler/APIExceptionHandler.java
package com.caiolima.apientrega.api.exceptionhandler;
import com.caiolima.apientrega.domain.exception.NegocioException;
import org.springframework.beans.factory.annotation.Autowired;
import org... | ace0ced457869aff7f0e22f4f94974caeb9261cf | [
"Java",
"SQL"
] | 10 | Java | Caio042/api-entregas | 585c84414283fce580247677350161048184e3de | c268a28d8f044ae0e2e40449344ec3808a0e9f81 |
refs/heads/master | <file_sep>package student.DAO;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.Properties;
public class Demo
{
public static void main(String []args)
{
Properties properties=new Properties();
properties.setProperty("dri","com.mysql... | 6c0c0047b32b0cb62d902d63053773abc87124bb | [
"Java"
] | 6 | Java | kalyan1808/JDBCConnections | 18ff79cc478edecf9c1f69a42e47e09833f16c4a | 5dcc24e043b97b06f6f3b07c6d8a465a0e55ce49 |
refs/heads/master | <repo_name>Vamed26/React.-way-of-samuray<file_sep>/src/components/Profile/ProfailInfo/ProfileInfo.jsx
import React from 'react';
import s from "./ProfileInfo.module.css";
const ProfileInfo =() => {
return <div>
<div>
<img src='https://storge.pic2.me/upload/624/584d22148c69d.jpg' />
</div>
... | ac2dd309925bc8e6899619d43d34e9bcde376647 | [
"JavaScript"
] | 5 | JavaScript | Vamed26/React.-way-of-samuray | 6eebdc425e748f1297d5b05e5c03f5a8b395a8e4 | b459389ea9932a6dc23ad09d871e8ae264ab4f95 |
refs/heads/master | <repo_name>thieusike/TwitterClient2<file_sep>/app/src/main/java/com/codepath/apps/restclienttemplate/fragment/NewTweetFragment.java
package com.codepath.apps.restclienttemplate.fragment;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.DialogFragment;
import android.t... | f9d1585d3856763251c5329142dce0215ebed933 | [
"Java"
] | 5 | Java | thieusike/TwitterClient2 | 82913638566dbf65de521622b01bf09a1e90bcde | 953f99ea900f894cb3f18617ae9accf17b9b5c66 |
refs/heads/master | <file_sep>var states = ["inaktif.png", "tik.png", "carpi.png"];
var GROUP_COUNT = 10;
var QUESTION_COUNT = 15;
var INACTIVE = 0;
var CORRECT = 1;
var WRONG = 2;
var answers = [];
var i;
for (i = 0; i < GROUP_COUNT; i += 1) {
var temp = new Array(GROUP_COUNT).fill(INACTIVE);
answers.push(temp);
}
function calcSco... | 973b7062db7158d6a6b985cf99e4e0bff2bad8a7 | [
"JavaScript"
] | 1 | JavaScript | toprakozt/Bilyar | 084de737090660effcf81759751dcb88da787ed1 | 7b140d56db1a4e5afc9e6328882c02f35022ee52 |
refs/heads/master | <repo_name>lgarczyn/codingground<file_sep>/New Project-20160902/ft.c
#include "filler.h"
#define READ_BUFFER 1024
char ft_getchar_int(t_bool move)
{
static char buffer[1024];
static int pos;
static int len;
char c;
if (pos >= len)
{
pos = 0;
len = read(0, buffer, 1024);
if (len < 0)
... | d7e78557eb28ebc3fa4217111c2c2ee96f97b4eb | [
"C"
] | 3 | C | lgarczyn/codingground | b215370b1caf4f4ca5b07283533238de47d7eb1a | 498cff15e961008c7c83718a46bef45bfcd6c0bf |
refs/heads/main | <file_sep>user.emailid.absent=Please provide email address
user.emailid.invalid=Please provide valid email address
user.name.absent=Please provide buyer name
user.name.invalid=Name should contain only alphabets and space
user.phoneno.invalid=Please provide valid Phone Number.. (Note: Phone Number should contains on... | b0b44d55e53347fc63f73eee87deccbe1022f85a | [
"Java",
"SQL",
"INI"
] | 16 | INI | arti408/Project | 86d668608d0e55aa7d475933307b3c41bf708385 | 9e932ff87c208102f88ffcf7603a4ac94a23045d |
refs/heads/master | <repo_name>durandneto/soma<file_sep>/src/container/Queries.js
import React from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';
import { withStyles } from '@material-ui/core/styles';
import Typography from '@material-ui/core/Typography';
import SomaTheme from './../theme/index.js'
cla... | 990ecc541933680154e5fdc3ea1e20e112f77c18 | [
"JavaScript"
] | 5 | JavaScript | durandneto/soma | 219bd29d245fa45042e3f3a82065c7d0cc3bbfe8 | dafbf2d6265472bebb06cd26c5fdc3a30fdd0f28 |
refs/heads/master | <repo_name>DersJ/crowdhost<file_sep>/housing/urls.py
from django.urls import path, register_converter
from housing import converters, views
register_converter(converters.SlugKeyConverter, 'slug-key')
app_name = 'housing'
urlpatterns = [
path(
'dummy-data/',
views.DummyDataView.as_view(),
... | 979d8e5dac8d7211308062c46bda2189b57185a4 | [
"Markdown",
"Python",
"Text",
"INI"
] | 21 | Python | DersJ/crowdhost | ca45f4278fd469a4a34cf00ef411fc582642e968 | d98da68fe61e7101f4a5237442fc481c77169e21 |
refs/heads/master | <repo_name>haost74/Wold<file_sep>/timer/Timer.h
#include <iostream>
#include <chrono>
#include <ctime>
#include <cmath>
#include <thread>
#include <functional>
#include <atomic>
template <typename T>
class Timer {
public:
T node;
Timer(T n);
void (*fun)(int);
void start();
void sto... | 6cc10e408332a3265e38166154302b593cfe3671 | [
"Markdown",
"CMake",
"C++"
] | 10 | C++ | haost74/Wold | 56408a4d0572b8a1257f5a4a5f08f9c091ecfbfe | dc96b8019fc1b0a40384d65f6ba0dc0227117cfa |
refs/heads/master | <repo_name>too-long-didn-t-read/web-extension<file_sep>/src/js/popup/Login.jsx
import React, { Component } from 'react';
class Login extends Component {
render() {
return (
<div>
<div className="title-container">
<h4>Login</h4>
</div>
... | 6c817d052e77eab9f36605666f112a4b73666824 | [
"JavaScript",
"Markdown"
] | 6 | JavaScript | too-long-didn-t-read/web-extension | 8b6f8ed67b896f026bd2010d11cbb39fbe958c9f | 2e9d5f00e871b449ded0fe924a2243c95c551854 |
refs/heads/master | <repo_name>gavt45/ju574fun-library<file_sep>/pathfinder.py
# -*- coding: utf-8 -*-
from PIL import Image, ImageDraw
class BestPathFinder:
def __init__(self):
# self.image1 = Image.open('assets/floors/1.png')
# self.image2 = Image.open('assets/floors/2.png')
self.akindofdb = {}
# =... | a51f6a8dca11f9a5ec650f070aa9f449f3086a27 | [
"JavaScript",
"Python",
"Markdown"
] | 5 | Python | gavt45/ju574fun-library | b6247f55d8efdaf75d5c38f5e13aa892aa3870cb | 2392173ff3d0a7f8adde470f6021e80f34c0d8b6 |
refs/heads/master | <file_sep>package com.kafkaConsumer.repository;
import com.kafkaConsumer.entity.EmployeeEvent;
import org.springframework.data.repository.CrudRepository;
public interface EmployeeRepo extends CrudRepository<EmployeeEvent, Integer> {
}
<file_sep>package com.kafkaConsumer.entity;
import lombok.*;
import javax.persist... | ec1c67c10391b90277f7c07c4d4b7faec006f154 | [
"Java"
] | 2 | Java | Keerthana-Thiagaraj/KafkaConsumer-Using-SpringBoot | 1907f39d485ca28154b79bfa610c1cadace187a9 | 72774543e15dcbda1afb6a4d6400505fbb514b58 |
refs/heads/master | <repo_name>ideadapt/oleaster<file_sep>/oleaster-runner/src/main/java/com/mscharhag/oleaster/runner/suite/SuiteBuilder.java
/*
* Copyright 2014 <NAME>
*
* 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 Lice... | aa83dea079b94ac685a5a192173b796d90c753e7 | [
"Markdown",
"Java"
] | 5 | Java | ideadapt/oleaster | 9472ab4c28faf2b7d177f01c2cebd2fb78cc6692 | 0d8cefd7b2de2caca0be1366f63c439a8744f9a8 |
refs/heads/master | <file_sep># rpwsdata
R package to access PWS data from Wunderground.
The rpwsdata package enables users to query the Wunderground project database from R and provide tools to visualize weather conditions for a place of choice.
* rpwsdata package provides functions to get available Personal Weather Stations(PWS) for an... | c5f97742583bd65d45ce00304f2eedfee4e6ed5a | [
"Markdown",
"R",
"RMarkdown"
] | 10 | Markdown | siddhujetty/rpwsdata | 842171f1a9426dad4df95ba26e290ba700155bd8 | 2903fd0d9fa9f15af9a85edc3e941fd9e2a2f4ef |
refs/heads/master | <repo_name>cutenana/sun<file_sep>/phpMyWind/footer.php
<!-- 尾部 start -->
<div class="footer">
<div class="container">
<div class="row">
<?php $dosql->Execute("SELECT * FROM `#@__infolist` WHERE classid=17 AND delstate='' AND checkinfo=true ORDER BY orderid ASC LIMIT 1,1");
while($row = $d... | fb8870436aeb584bb29669bc0f48c21fc94eed31 | [
"PHP"
] | 3 | PHP | cutenana/sun | 990c2b9f8d2d7c3be1fdd91b8f772607aa839af4 | 456e39db938d13968344f292282d1ae2544d54f5 |
refs/heads/main | <file_sep>//
// StoreManager.swift
// TodoApp
//
// Created by Desiree on 4/28/21.
//
import Foundation
class StoreManager {
static let instance = StoreManager()
var todoStore = TodoStore()
}
<file_sep>//
// TodoScreen.swift
// TodoApp
//
// Created by Desiree on 4/26/21.
//
import SwiftUI
struct Todo... | d273e57bce47e03cd0cffc4b36adf1514a443b05 | [
"Swift"
] | 6 | Swift | desiree-jallow/TodoApp | 864da19ce2af543b48ab3e5755de3812ac822698 | 4625f13e57d7ec83e248da8dad40bcd631fddb3c |
refs/heads/master | <file_sep>import os
import argparse
import numpy as np
from sklearn.datasets import fetch_rcv1
import keras
from keras.models import Sequential, Model
from keras.layers import Dense
import preprocess
import networks
import callbacks
import plotting
# fix random seed for reproducibility
seed = 7
np.random.seed(seed)
... | be263e2acde0960148c269d0d190c145056237c5 | [
"Python"
] | 9 | Python | drewstone/transfer | eba530c3c2dbe101ad74c8b7cf94acc2a8ed01ec | 35325f0949cc5c66efde318e10fe85a0ce6d61ee |
refs/heads/master | <repo_name>lucasft01/MiniCursoDataScience<file_sep>/PythonMongoExercicios/Exercicio_04.py
import csv
from pymongo import MongoClient
def csv_to_json(db_name, collection_name, csv_file):
#CSV to JSON Conversion
Client = MongoClient()
db = Client[db_name]
collection = db[collection_name]
with ... | 991a7e7b8d38872868083b4cc2df6c63c1405697 | [
"Python"
] | 1 | Python | lucasft01/MiniCursoDataScience | ace5eb3662c797aaa0ac7967c22e94ed09701401 | 53aafd027ed886ac2a99b38ce8ae45e4e3ec9c85 |
refs/heads/master | <file_sep>// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
====================================================... | 83bc6868df72c586d3b9e13e6923ac5eb363e568 | [
"Markdown",
"C++"
] | 18 | C++ | axeonttv/FortniteChapter3 | babb80430942779393f10b3d77531fa0f338b4a2 | 144aa4fdac97a51cd16e45d7e1cbea6fb43f5f73 |
refs/heads/master | <repo_name>kaehnd/DataStructures<file_sep>/Lab3/src/msoe/kaehnd/lab3/Dot2DotController.java
/*
* Course: CS2852
* Term: Spring 2019
* Lab 3: Dot2Dot
* Name: <NAME>
* Created: 3/16/2019
*/
package msoe.kaehnd.lab3;
import javafx.application.Platform;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
imp... | 7487b5a7b1c83330bbe6af8275234a39d1b48b45 | [
"Java"
] | 15 | Java | kaehnd/DataStructures | 21322fc1f1257ce2bd933b9acf7ec33b6a76e4db | 29761d49237ab4e404895eac923e4c53a7dd2a66 |
refs/heads/master | <file_sep>namespace Klasy_BazyDanych
{
class Prelegent : AbstrarcIdentityTable
{
public int PrelegentID { get; set; }
public string Name { get; set; }
public string Surname { get; set; }
}
}
<file_sep>using System;
using System.Collections;
using System.Collections.Generic;
using S... | 66d282598b56ecb98837cb38eb3dbec6ae79d0fb | [
"C#"
] | 20 | C# | Mexolius/SqlGenerator | e5c78f91eab153fe59139d82773b61db9f07bfcd | c88d0a3d295a65f6d7c52e379454ee862b9512c6 |
refs/heads/master | <repo_name>naveen-varshney/Simple_rails_app<file_sep>/db/migrate/20170127092904_add_status_to_student.rb
class AddStatusToStudent < ActiveRecord::Migration
def change
add_column :students,:status, :boolean, default: true
end
end
<file_sep>/app/models/student.rb
class Student < ActiveRecord::Base
has_many :sub... | 6b568d3f49330cbcbee50a20a5ed71dc26fd1d9e | [
"Ruby"
] | 15 | Ruby | naveen-varshney/Simple_rails_app | 96ac37d8fb803abf607a4b36ae41a50c1690cd16 | bc6574a65d93bbad40d4521a585102df518237dd |
refs/heads/master | <repo_name>preston-lai/Tic-Tac-Toe-Game<file_sep>/Project3-ticTacToe.py
theBoard = {'top-L': '', 'top-M': '', 'top-R': '',
'mid-L': '', 'mid-M': '', 'mid-R': '',
'low-L': '','low-M': '', 'low-R': ''}
def printBoard(board):
print(board['top-L'] + ' | ' + board['top-M'] + ' | ' + board['top-... | e6621a1f85bff2588a6c9963cdd1d924feff4ec1 | [
"Python"
] | 1 | Python | preston-lai/Tic-Tac-Toe-Game | 9ba8ff75c401f3652ae6b31607f8c1850c8a2417 | 1d4664b1d67e6328bc555f4e2e7a75c7e5c5cb31 |
refs/heads/master | <repo_name>Markusdreyer/iOS-Kristiania<file_sep>/Lesson02/exercises.playground/Contents.swift
/*:
# Øvingsoppgaver forelesning 2
## Oppgave 1a:
Lag en funksjon, minimum, som tar to verdier, og returnerer den minste
*/
func minimum(a: Int, b: Int) -> Int {
if(a < b) {
return a
} else {
... | 2a78f93ac767d5f7f97d33dd587e05585dd3217e | [
"Swift"
] | 1 | Swift | Markusdreyer/iOS-Kristiania | fff8432b216566ea9e6c11c0685a00da7b7d5904 | 0a617213c94b4099511b7957102f950295357dc0 |
refs/heads/master | <repo_name>NavtejKahlon/chem160homework6<file_sep>/secher.R
secher<-read.table("secher.txt",header=T)
model_bpd = lm(bwt~bpd, data = secher)
model_ad = lm(bwt~ad, data = secher)
sum.model_bpd<-summary(model_bpd)
sum.model_ad<-summary(model_ad)
R2_bpd = sum.model_bpd$r.squared
R2_ad = sum.model_ad$r.squared
f_bpd = ... | 4b722de28f70a8e1888fd44dcfd774471ee2e2dc | [
"R"
] | 2 | R | NavtejKahlon/chem160homework6 | 3a2c73982f6a4de69bc947461cd78a5c3535eb77 | bea3bf363246b8297db1e2933f6b0ff68181f84c |
refs/heads/master | <repo_name>waleed3276/AMS<file_sep>/AMS/Models/HardCode/OrderNumber.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace AMS.Models.HardCode
{
public class OrderNumber
{
private ApplicationDbContext db = new ApplicationDbContext();
public long Gener... | 1fd0d4071172535437a48e681e1a562c2c373416 | [
"JavaScript",
"C#"
] | 39 | C# | waleed3276/AMS | 6b3d68de9a83b036becc156808de2f5258ae2c68 | b52ff39ec8eb5923e43f8b1543af8ad5b8dda691 |
refs/heads/master | <repo_name>wadezyb/py_ws<file_sep>/position.py
#!/usr/bin/python
import time
import serial
num = 10
delay = 2.5
port = '/dev/ttyUSB0'
ser=serial.Serial()
ser.port = port
ser.baudrate = 115200
ser.writeTimeout = 0
ser.open()
if ser.isOpen():
print('Open Port: '+ser.port+' Successfully!\n')
ser.write('t\r\n')
time... | 5771df1c4e37ce5e2c9a620526e8d59ee0b2d0d0 | [
"Python"
] | 1 | Python | wadezyb/py_ws | 9a167d7251800da80e8057188b36756152631a82 | d7e8e59131841862af651b3df93fb4dbdbc3a20d |
refs/heads/master | <repo_name>jgebhardt/falcon-prototype<file_sep>/README.md
falcon-prototype
================<file_sep>/js/main.js
$(document).on('ready', function(){
var window_width;
var gap;
var state = 0;
var interval = null;
var vid_timeout = null;
var vid0 = $('.vid0')[0];
var vid1 = $('.vid1')[0]
initialize();
$('.a... | ea12a3c1bbfb661706a1ef56cbc4e4b28f453080 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | jgebhardt/falcon-prototype | 3470bd6606136025763113a15c98e66b86f69fd0 | 7dd890b1cd9d023b8de91505d0fca703f70667f2 |
refs/heads/master | <repo_name>kalyani44/BDDArea<file_sep>/src/test/java/rpnbdd/Steps.java
package rpnbdd;
import static org.junit.Assert.assertEquals;
import cucumber.api.java.en.Given;
import cucumber.api.java.en.Then;
import cucumber.api.java.en.When;
public class Steps {
Area area;
int input;
@Given("I have area class")
p... | 7c1dac71c7ce47e3cca5ef8da858c585d9ba12a8 | [
"Java"
] | 1 | Java | kalyani44/BDDArea | 2cecac3cc2c01cfcb327e37f94b863a89b224a0e | c0204e038cce5ef960431a6acaff0aa868f5d165 |
refs/heads/master | <repo_name>rohitnandi12/EmailClustering<file_sep>/README.md
# EmailClustering
The Idea is to get labels (which are words from the emails) that can be used to categorise emails to a group. It is like finding the right buckets and segragating similar emails together in a bucket different from others.
#### Software requ... | 0556c80608039462197432347d3e37b4115a484f | [
"Markdown",
"Python"
] | 3 | Markdown | rohitnandi12/EmailClustering | 856419872ef0ef52622cae287d285c98582a2255 | 68eb75a93dab416bee5e116ca30f432766317031 |
refs/heads/master | <file_sep>/**
* Copyright 2011 ArcBees Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | 99babbfaec2e8700a24ebb758b7ac41515ca1842 | [
"Java",
"INI"
] | 3 | Java | flintobrien/gwttemplate | ac28db995c7de0f611fbb110c5ff57096ecf4b90 | 80bf215d1593810f83f7e6c9421354ca0b1bd674 |
refs/heads/master | <repo_name>bluecipherz/kunjutravelsapi<file_sep>/app/bookings/bookingRoutes.js
module.exports = function(app, console){
var utils = require('../common/utils.js');
var login = require('../login/login.js');
var booking = require('./booking.js');
app.post('/api/newbooking', login.verifyToken, function(req... | 23bf34c91b0141ae266585fb0652b1a51bb3ee88 | [
"JavaScript"
] | 6 | JavaScript | bluecipherz/kunjutravelsapi | b866df61b302a63a39f30c68507c8eb2b4dbc6b4 | 0816042b13ea447a35feb5bc1981bb8faaa871eb |
refs/heads/master | <repo_name>LateCHI/fsd<file_sep>/miniprogram/config.js
// 此处主机域名修改成腾讯云解决方案分配的域名
var host = 'https://www.wengweng.stroe:8081';
const config = {
service: {
// 提交考勤信息
checkUrl: `${host}/cinsert`,
// 提交长期反馈信息
feedbackUrl: `${host}/finsert`,
// 查询考勤记录
searchUrl: `${host}/searchRecord... | dd50553694f6dc463478ec44a655732c33a6974d | [
"JavaScript"
] | 1 | JavaScript | LateCHI/fsd | 26d68a8daf41533b7d3a5d1b2d78ab9b64a745c1 | 9c29dea61351262dc441b677360fe6e639b117e6 |
refs/heads/main | <file_sep>#Programm finding maxsimal submassive
#by <NAME>
#Algoritm requires one loop across array, so it has complexity of O(n),
#That is better than plain brute force of each submassive,
#wich has complexity O(n^2)
def findMaxSubArray(A): #defining function findMaxSubArray, it requires a one-dimesional array as an ... | e0826aaa3d593557af2f129a7d1e0439ba71cc01 | [
"Markdown",
"Python"
] | 3 | Python | AlexJarov/miscellaneous | 0d57537d9515d76aeb1b7a31e9979965cf083901 | 9176938e287d4aa3b5e0f83f9784a6eba35eb0f7 |
refs/heads/master | <file_sep>var map;
var styles = [{
"featureType": "administrative",
"elementType": "labels.text.fill",
"stylers": [{
"color": "#444444"
}]
}, {
"featureType": "landscape",
"elementType": "all",
"stylers": [{
"color": "#f2f2f2"
}]
}, {
"featureType": "poi",
"elementType": "all",
"stylers": ... | e35e02756e7c8efccc2bc305c387130bd6aea8a6 | [
"JavaScript"
] | 1 | JavaScript | MaaAx/aleksandar | 8bf8e19d98011339264b4152d36708f6c62aa78a | f51e03c16093967942a5b672640e62bb52131f8b |
refs/heads/master | <file_sep>package com.handler.servlets;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletRe... | 0190d33c39bfbe2b26ba489c42f21a6703aff83a | [
"Markdown",
"Java"
] | 7 | Java | nilachalc/BankingApplication | 47c46a51c82136a8e9d7fb2088a0890efeada3bc | 2c53b5d2618b8985ec4c995f33fa3194601736b9 |
refs/heads/master | <repo_name>VToropov1337/coursera_go<file_sep>/hw3_bench/fast.go
package main
import (
"bufio"
"fmt"
"io"
"os"
"strings"
jsoniterator "github.com/json-iterator/go"
)
type User struct {
Browsers []string `json:"browsers"`
Email string `json:"email"`
Name string `json:"name"`
}
func InArray(a []str... | face0cbee6d62b711becce091cb1a02dea6732bd | [
"Go"
] | 2 | Go | VToropov1337/coursera_go | cebf1d4806df1e2d23fa97cff1044b6d346ea31f | a3e43a8058cfb472444e06764e64c914d6aea917 |
refs/heads/main | <repo_name>kalilover05/newcentos<file_sep>/main.sh
#!/bin/bash
#############################################
# #
# created by : <NAME> #
# #
######... | df165b010340b3b9f6de5644d51cb36f58e1e722 | [
"Shell"
] | 7 | Shell | kalilover05/newcentos | f1f9261c96f8da571da66acf3c77e57d444464c3 | b1b91014cf824f1168da13cade70bcdafeeb237f |
refs/heads/master | <file_sep>export default function appRoutes($routeProvider, $locationProvider) {
$routeProvider.when('/home-page', {
templateUrl: 'public/views/hello.html',
controller: 'homeController'
})
.otherwise({
redirectTo: '/home-page'
});
$locationProvider.html5Mode(true);
$loca... | 84939acda6f9961954ad8c2f55c36962c76709db | [
"JavaScript"
] | 2 | JavaScript | vishalgwalani/angularjs-express-webpack | 973356c11aa2b20663a4387b79bbe73b99482cf5 | cc37009ab02e87254faef4ebf75def8939ae4caa |
refs/heads/master | <file_sep>## [1.0.0] - 2019-06-23
* First version
## [1.2.1] - 2019-06-23
* Renamed main script to `dalocale.dart`
## [1.3.0] - 2019-06-24
* Improved generator script
## [1.3.1] - 2019-06-25
* Fixed bug escaping single quotes
## [1.4.0] - 2019-06-27
* Added lint rules
## [1.5.0] - 2019-06-30
* Changed parame... | a252456fd12fcdb927e2bf48faaf033f55fd4da7 | [
"Markdown",
"Shell"
] | 2 | Markdown | mauriciotogneri/dalocale | 14ce221a744eac8879e7a0c0dbab12c338b76f58 | c5730caba0fa4e4415fa06f8f9fd7598a5bacefd |
refs/heads/main | <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.
*/
/**
*
* @author godavarthy
*/
public class StringExample12 {
public static void main(String[] args){
String str =... | eaf679e6c6c67ca116e0846bcdf96b14d5d1a86f | [
"Java",
"INI"
] | 21 | Java | u-ramya/Algorithms | 139ae68387906281336c4b58c36ee4bc290381e9 | 8bc1181e62476001b33606a70b96144b8d7feee4 |
refs/heads/master | <file_sep>
// '3d 1u 2d 0u' [1, 5, 8, 14, 12]
const mask = '3d 1u 2d 0u';
const list = [12, 14, 8, 5];
function sort(mask, list) {
const priorities = mask.split(' ').map(function (bitWithDirection) {
return {
bitNumber: bitWithDirection[0],
direction: bitWithDirection[1]
... | 435ee3efec1cdb8797ba7696b72cd74b1277a60b | [
"JavaScript",
"HTML",
"Markdown"
] | 12 | JavaScript | Kulachokn/FE | bf01839d035f1f8d24b994874a9c970ba3f0c402 | 17f9865ec43d476ea7b33761760c38652442a105 |
refs/heads/master | <file_sep><?php
/*
|--------------------------------------------------------------------------
| Model Factories
|--------------------------------------------------------------------------
|
| Here you may define all of your model factories. Model factories give
| you a convenient way to create models for testing and ... | 3b93ef51caa7a8e3242438dd31e2fe85ac6b7e1d | [
"PHP"
] | 5 | PHP | paulcameron/arcturus-api | 73beac8ee9444334c15f1a87116f1140f2441727 | b3d445366010dc5499c90c386cf97f92dee42e3f |
refs/heads/master | <file_sep>#ifndef _MEMORYMANAGER_H
#define _MEMORYMANAGER_H
#ifdef __cplusplus
extern "C" {
#endif
void InitMemoryManager(size_t max_size);
void* MyMalloc(size_t size);
void MyFree(void* block);
void StopMemoryManager();
#ifdef __cplusplus
}
#endif
#endif // _MEMORYMANAGER_H
<file_sep># Memory Manager 🚀
This i... | d1667acb46ef50b60ef592420b6ba1756163fa64 | [
"Markdown",
"C"
] | 3 | C | jowie94/Memory-Manager | cb4ab0dfefc9b0ba9ed8a4af3cdde3f45ede7c7c | 8b972bd8bbb3f5e053f29c7f39e7e6fd2e9955ce |
refs/heads/master | <file_sep>
var vBotonesPulsados = new Array();
var turno = "x";
var bMarcadorX;
var bMarcadorO;
var marcadorX = 0;
var marcadorO = 0;
var msg;
window.onload = function()
{
// referencia a los botones-marcadores
bMarcadorX = document.getElementById("bX");
bMarcadorO = document.getElementById(... | 4c2c2ef580d91992ea7d1e5f7815e92ea50d4698 | [
"JavaScript"
] | 1 | JavaScript | IgnacioRubio/3-Raya | cffc5268fab54d08b5455ed5a8de15fcd8156f49 | 087e0e804cb79819841f2e7a25f71cbbbf892f0a |
refs/heads/master | <file_sep>package ebp.outcontacc.bs;
import java.math.BigDecimal;
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 org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowire... | cf3956445fb6bc5aa4b0aa6f9bee25f7dec68023 | [
"Java"
] | 11 | Java | fjfhlqjtg/ht_ri_bak | d1c9c6e544f0139a0f4c0c23aa5a7c8c6d90bc1a | 2f58d161d1978c3b408e993763169ca4664545c7 |
refs/heads/master | <repo_name>linhd-postdata/confinaversos<file_sep>/README.md
# \#Confinaversos
Súmate a nuestra iniciativa y ayúdanos a crear este recopilatorio sobre el confinamiento. Envíanos tu poema o canción original, en español o inglés.
Todo el contenido que recopilemos se podrá consultar en el espacio github de POSTDATA: http... | 3e68460008d8767896a4d4b3a2bac08f010d768e | [
"HTML",
"Markdown",
"Python",
"Text",
"R"
] | 7 | Markdown | linhd-postdata/confinaversos | 8620cf06e9f35b72e2a3f9e663c3a519a11031e8 | fb1cb7a875944b701378506cc7efcc84d9612c2e |
refs/heads/master | <file_sep><?php
namespace App\Http\Controllers;
use App\Http\Requests\CreateObjetivosRequest;
use App\Http\Requests\UpdateObjetivosRequest;
use App\Repositories\ObjetivosRepository;
use App\Http\Controllers\AppBaseController;
use Illuminate\Http\Request;
use Flash;
use Illuminate\Support\Facades\Auth;
use Prettus\Rep... | dfd4fe72b1baa6e5aa9b04b0c2f38c2c9365b385 | [
"PHP"
] | 26 | PHP | matutekio/Gestion-de-calidad-1 | e721b84bff14d0d4202580ab99ed898d4022dd5c | 5d2e717485d5cf6268eb29a55f7b961b65b7cabc |
refs/heads/master | <repo_name>lyon-17/ExMayo<file_sep>/Documents/Eclipse/ExEDMayoGutierrezLozanoAlejandro/src/examenDocumentacion/package-info.java
/**
* Examen de mayo que simula el comportamiento de una cuenta bancaria
* @author <NAME>
* @version 1.0
*/
package examenDocumentacion;
| aafac030e1a2128d41c3188f4d3e7450df283ac6 | [
"Java"
] | 1 | Java | lyon-17/ExMayo | f8abb5cab732658131551b55af31284e7f7411e7 | bf98fc47d07858ae435eb9494ebe506bc1224e99 |
refs/heads/master | <file_sep>package com.aeron7.baahubali.model;
import com.aeron7.baahubali.R;
/**
* Created by Dexter on 05-10-2015.
*/
public class Story {
private Page[] mPages;
public Story() {
mPages = new Page[7];
mPages[0] = new Page(
R.drawable.page0,
... | fcdc473362bfcb4c98d65cd347372c9c8358af70 | [
"Java"
] | 1 | Java | aeron7/Baahubali | 64ce99fb08ce5b7c63a6b6e658c92c2079319dec | d6d955931895bff6be6752dab23b8955729315fc |
refs/heads/master | <repo_name>canito0890/cupboard-web<file_sep>/app/models/category.rb
class Category < ApplicationRecord
# associations
has_many :products
# validations
validates :name, length: { in: 2..100 }, uniqueness: true, presence: true
end
<file_sep>/db/migrate/20161214003504_create_purchases.rb
class CreatePurchases <... | fffefc7fd94f495c9415174e04ef14ab57b809f1 | [
"Markdown",
"Ruby"
] | 28 | Ruby | canito0890/cupboard-web | 41b1871c6d56b28528d92145ed940dd96360f419 | 092a19bb2445672cc373348e353bb3254a0684d5 |
refs/heads/master | <file_sep>/*
* @Author: ThinkPad
* @Date: 2017-10-09 23:14:13
* @Last Modified by: ThinkPad
* @Last Modified time: 2017-11-03 21:41:22
*/
var path = require('path');
var webpack=require('webpack');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const config = {
context: __dirname + '/src',//上下文,在imp... | c85bb3802b24e2cac5ff8cd2a811349ac2ae4b39 | [
"JavaScript"
] | 14 | JavaScript | wrma/personalSite | 4def600ebf753d0efea08a8cd047582c3c55dbba | 57f23baabbed2960809dcced5672c90d5528cc6d |
refs/heads/master | <repo_name>sandyrok/Heap_Memory_Management<file_sep>/SP_Heap.c
#include "header.h"
block *create_block(int kval, int tag, int type, int offset, long sz, block *next,block* prev) {
block *tmp = (block *)malloc(sizeof(block));
tmp->kval = kval;
tmp->tag = tag;
tmp->type = type;
tmp->offset = offset;
tmp->sz... | 73050c5346842b827b9f0838208f339dc0aeb8df | [
"C",
"Makefile"
] | 5 | C | sandyrok/Heap_Memory_Management | b4d7a661c5a998ff495004549bc6da770a7e2700 | f57da2f205f1e8bc36344ab2f39c55ecccbe07b6 |
refs/heads/master | <file_sep># -*- coding: utf-8 -*-
import os
from codecs import open
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
about = {}
with open(os.path.join(here, "olm", "__version__.py"), "r", "utf-8") as f:
exec(f.read(), about)
setup(
name=about["__title__"],
version=about["_... | 43dd2880a16c3f81bb9da93e9876c33bbcfc880c | [
"HTML",
"reStructuredText",
"Python",
"Text",
"C",
"Shell"
] | 13 | Python | dkasak/python-olm | 812855cb30dc5383d3eac71341c205dd59cbb7e7 | d707b0ab30027ed24d973c9b8fceb91d2f304e38 |
refs/heads/master | <file_sep><?php
use yii\helpers\Html;
use yii\widgets\DetailView;
use yii\widgets\ActiveForm;
use yii\helpers\Url;
use app\models\Comments;
use app\models\Users;
use app\models\SavedVideos;
use app\models\Videos;
/* @var $this yii\web\View */
/* @var $model app\models\Videos */
$this->title = $model->title;
$this->p... | 9e4499c3e0a94df9eae0323f36aa582a53b89ad5 | [
"PHP"
] | 9 | PHP | CharuniKaushalya/Online-Learning-Video-Repository | 0c13f584d33a1d1edbf7044e0c8a9f798c17faaf | 7a1c56e508d5c3c741244e491d1c26fcf65062b8 |
refs/heads/master | <repo_name>sky8652/springdatajpa-study<file_sep>/src/main/java/com/thizgroup/jpa/study/dao/UserDao.java
package com.thizgroup.jpa.study.dao;
import com.thizgroup.jpa.study.dto.AddressDTO;
import com.thizgroup.jpa.study.dto.PageBean;
import com.thizgroup.jpa.study.dto.PageRecord;
import com.thizgroup.jpa.study.dto.User... | 1fad0b445908c7d2568575bba9cf303e4ef47b40 | [
"Markdown",
"Java",
"SQL"
] | 14 | Java | sky8652/springdatajpa-study | 26652bdfa075f1d78f15679e01e65dbedac6ac78 | 03e9e13a3812dc7f05212f5b2deee6444392e225 |
refs/heads/master | <repo_name>gamars/spring-io<file_sep>/src/main/java/org/gamars/domain/SonarIssue.java
package org.gamars.domain;
import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.sonar.check.Priority;
import java.io.File;
import java.util.Date;
public class SonarIssue {
private Date date;
private Fil... | 0207eead91d5b9b279df1faf840bec3db0b18fbb | [
"Markdown",
"Java",
"Maven POM",
"INI"
] | 6 | Java | gamars/spring-io | e32537b20564e20325b20ceb4561c55ae687b80e | 66836660ccaf94d52ce519c8624a2fe5893a3476 |
refs/heads/master | <file_sep>### BUG
1. 小数点识别为分号
eg. Linux 2.6
<file_sep># Chrome 浏览器 插件
## 插件名
翻译助手 TranslateHelper
## 用途
在常见的网页翻译网页的页面上,提供如下方便实用小功能:
1. 点击“除换行”按钮,可自动去除待翻译文本中的换行符(两个空格会替换成一个空格)。
2. 可设置“除换行”按钮的键盘快捷键。
3. 点击“复制”按钮,一键复制翻译结果。
4. 翻译网页上按下 backspace 键,焦点将回到原文输入框。
5. 按下 tab 键,输入框的发音按钮自动获取焦点,此时再按下 enter 键,即可发音。此处只针对... | 3b6a8bba9b513b61677e8a6efa3b323794d881fc | [
"Markdown",
"JavaScript"
] | 5 | Markdown | liyangorg/TranslateHelper | 1e1d3b56b3d48276bc31e43ca5762df4ec2a8887 | 03af23d25a3ed5d1748f96002efeb8e09c581c3d |
refs/heads/main | <repo_name>JesusFuentesGalindo/react-gifexpertapp<file_sep>/src/GifExpertApp.jsx
import React, {Fragment,useState} from 'react';
import AddCategory from './components/AddCategory';
import GifGrid from './components/GifGrid';
const GifExpertApp=()=>{
const [categorias,setCategorias]=useState(['One Punch Man']);
... | e53ff9ee7c7e11ddaf0fb62cb7704683c0bba7e3 | [
"JavaScript"
] | 4 | JavaScript | JesusFuentesGalindo/react-gifexpertapp | 7377a6748fa0c568dd9661e5634ef38ead04f060 | a0ba9fa071610e50fa66ddb4355db4a4ee323461 |
refs/heads/main | <file_sep>alert('Hello, World!');
//TIPOS DE VARIÁVEIS EM JAVASCRIPT
// number(numeros), string, boolean(booleano)
// function(funcao), object(objeto)
// undefined(indefinido), nullo
// arrays, datas e expressoes regulares
// Linguagem fracamente tipada.
// basta utilizar a palavra reservada **var** para declaracao d... | 2ae3b85181c4d85fa8f152f7ba8500ce7ef0fa00 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | lorenascimentoo/book-edeajs | ba7b6fe629dab4fe28d907823bd87ace2fab371a | b6acfeb8feb085152e69eed973e2500b1f326783 |
refs/heads/master | <repo_name>robinhoodjava/samples<file_sep>/Puzzle 1/puzzle1.js
stuff = [];
stuff[0] = "persistance";
stuff[1] = "meditation";
stuff[2] = "lists";
index = 0
while (index < stuff.length) {
document.write(index)
document.write(" ")
document.write(stuff[index])
document.write("<br>")
index =... | 63047959e511f5cb9003ab9237665d40ea11ffeb | [
"JavaScript",
"Markdown"
] | 6 | JavaScript | robinhoodjava/samples | fad25622ebc4f15849e9fec138dd4cae56b5f3d5 | 61cc329d154a91d9254a0d270809c6dc967248dd |
refs/heads/master | <repo_name>mitudegaoyang/react-create<file_sep>/README.md
## create-react-app
## 安装
```
npx create-react-app project-name
cd project-name
npm i react-app-rewired customize-cra -D
```
配置`package.json`
```
"scripts": {
- "start": "react-scripts start",
+ "start": "react-app-rewired start",
- "build": "react-scr... | 98655139a8e780408101863fc467d8644f9bab20 | [
"Markdown",
"JavaScript"
] | 3 | Markdown | mitudegaoyang/react-create | c4e4847bbb802d698154492676f8a8d0c49d29ec | 879983a8adea2fbff569257aac5de1187d5cdc04 |
refs/heads/main | <repo_name>Praburaj07/Guvi-D14-A-Task-1<file_sep>/Task (1).py
import mysql.connector
import re
import random
mydb = mysql.connector.connect(host = "localhost",user="root",password="",database="mysql")
mycursor = mydb.cursor()
def check(email):
regex = '^[a-z0-9]+[\._]?[a-z0-9]+[@]\w+[.]\w{2,3}$'
... | 1de79477b6e7cc419039ce198a36a067175e3b28 | [
"Markdown",
"Python"
] | 2 | Python | Praburaj07/Guvi-D14-A-Task-1 | e89f522956a27057a0aefdf4af3937f592c3e6a9 | 13c4c56af87492cac46cc1e5327239d27ac4ac64 |
refs/heads/master | <file_sep># This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
#
# Examples:
#
# movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' ... | 95b799aceb3a1b4436706186572bdb250c9bf500 | [
"Ruby"
] | 1 | Ruby | mklait/tweeter | a4c3924f5b48791cff4324ab57098059ef3dbcd7 | 51134410e7ed933387e3bb59c02dbb5fc8c58825 |
refs/heads/master | <file_sep>
// fullPage.js Start
$(document).ready(function() {
$('#fullpage').fullpage({
animateAnchor:false,
navigation: true,
anchors:['page1', 'page2', 'page3', 'page4','page5','page6','page7','page8','page9','page10','page11'],
afterLoad: function(anchorLink, index){
var loadedSection =... | 7fa5500ed41c33b394784e0bc3e1dbf65e273791 | [
"JavaScript"
] | 2 | JavaScript | Miyanaqy/my_project | 76dbe420cee78919ca1dcd15588e87f58764a892 | d81d6b9cfc358e8ef2d62162f96f451ed6c02d7d |
refs/heads/master | <file_sep>
package entity;
import entity.SeguroDeVida;
public class ContaCorrente extends Conta{
private double taxaMautencao;
public double getTaxaMautencao() {
return taxaMautencao;
}
public void setTaxaMautencao(double taxaMautencao) {
this.taxaMautencao = taxaMautencao;
... | 39772c054a90f589b975bd13db638d01ee661bf7 | [
"Java"
] | 3 | Java | TayDias/CodigosSENAI | c496dc9ece06708facb07bdcc40e505c5e9439ee | 901fd88d9fe3ccc0f8e73124d2f491765f10b744 |
refs/heads/master | <repo_name>xmcp123/art_supply_scraper<file_sep>/README.md
**Basic Usage**
python search.py --search 'search_query' --max 200 --threads 10 -o /tmp/output.csv
**Arguments:**
**-s / --search** - Your search query
**-nt / --threads** - The number of threads to use downloading project pages. Please keep this number a... | 1bc3b51b4b7ae456d5e1447a156709023ae6a8ec | [
"Markdown",
"Python"
] | 5 | Markdown | xmcp123/art_supply_scraper | 4138b4c7d6730e024583169e8554136d4ca773a4 | f6c21f499388f218e6a9fa4a15056ef32d9db5b8 |
refs/heads/master | <repo_name>KevinChen2005/workplan_weapp<file_sep>/dist/pages/incident/incident.js
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.en... | 154dd4c5f02013035c5deabae7ce8ceef23f8a83 | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | KevinChen2005/workplan_weapp | 58618d24b124fa591f5eff1030c33a1233fc5ebe | 9ebe8053d33d0bec5c6768a63fbd7fd286da834e |
refs/heads/master | <repo_name>devstest/helloworld<file_sep>/README.md
# helloworld flask app
<file_sep>/Vagrantfile_with_deployment
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.network "forwarded_port", guest: 5000, host: 8081
config.vm.provider "virtualbox... | 7318c831e84ea2f3ebb88b1d7bfe833bb0004a14 | [
"Markdown",
"Ruby",
"Shell"
] | 3 | Markdown | devstest/helloworld | 904af135d0dc03f59442f5273bd757f80017aabc | 1d248a4ef1a91a9924f91544f2e9b5249b838467 |
refs/heads/master | <file_sep>import pygame
###################################################################
#기본 초기화 (반드시 해야되는 것들)
#초기화 꼭 시켜줘야됨
#화면 크기 설정
#가로크기
#세로크기
#게임이름
#FPS (Frame Per Second)
#####################################################################
#1. 사용자 게임 초기화(배경화면, 게임이미지, 좌표,이동속도, 캐릭터, 폰트 등등)
# 배경 이미... | ccedc34d5fdaa1654237133c399310a087b1e9bc | [
"Python"
] | 6 | Python | June-yu09/Game | f49b9bb1b781e410109512721096e94621470dbd | 91e71ae42fd8772645cbea456a5a1e8134fbd5ca |
refs/heads/master | <repo_name>HastingsGreer/cpythondemo<file_sep>/mandel.h
int cu_mandel(double* ref_real_array,
double* ref_imag_array,
double* dc_real_array,
double* dc_imag_array,
int depth,
int* count_array,
... | b21a21bcc6a383cdea7cdc5e33518aa8696806a5 | [
"C",
"Python"
] | 4 | C | HastingsGreer/cpythondemo | 32b7d77e5e2a0126b44b24f0954bf40671e7b1c2 | 7e24fa5c5b9963b4fa1b74604ede55e27f058eda |
refs/heads/master | <file_sep>#include "stdio.h"
#include <string.h>
#include <ctype.h>
#include <conio.h>
#include <stdlib.h>
int ori_pin = 910320;
int choose();
int get_pin(){
int ch;
printf("Please enter 6-bit PIN!\n");
scanf("%d",&ch);
fflush(stdin);
// printf("the input pin you gave is %d\n",ch);
return ch;
}
int menu... | 1d8793ceb90b34962db6d4f8300ce6817e74a37f | [
"Markdown",
"C"
] | 2 | C | bobbi33/encryption_decryption_C | 6f600452f1acf1c365bbe79cee885c9b052108a5 | 5d6d745ae1aab99db1a793ecef0f4d4fa1468449 |
refs/heads/master | <repo_name>jayoshih/cookiecutter-chef<file_sep>/{{cookiecutter.project_slug}}/souschef.py
#!/usr/bin/env python
import os
import sys
sys.path.append(os.getcwd()) # Handle relative imports
from ricecooker.utils import data_writer, path_builder, downloader, html_writer
from le_utils.constants import licenses, exercises, ... | 635fc4ea6cdab8e9da65ea5154b2b6709988ee80 | [
"Python",
"Text"
] | 4 | Python | jayoshih/cookiecutter-chef | b656d802bb3df5f485f361e207c05fa953a54d7f | f798069689a739f431cc4777551a38caf2c9a400 |
refs/heads/master | <repo_name>ArtemisD/recursion-review<file_sep>/src/getElementsByClassName.js
// If life was easy, we could just do things the easy way:
// var getElementsByClassName = function (className) {
// return document.getElementsByClassName(className);
// };
// But instead we're going to implement it from scratch:
var getEl... | 876ccc3726336710f32ab1afa5ebb2ef4906e820 | [
"JavaScript"
] | 1 | JavaScript | ArtemisD/recursion-review | 88bde8bb1e1569660409051c1105df6f72937554 | 3a05155306c1d2bda99bef536c25ef59ddc5c745 |
refs/heads/main | <repo_name>devryyeong/Momendum<file_sep>/clock.js
const clockContainer= document.querySelector(".js-clock");
const clockTitle= clockContainer.querySelector("h1");
function getTime(){
/*
//문서 객체 선택
var clock= document.getElementById('clock');
//1초마다 함수 실행
setInterval(function(){
var now=new ... | acd00bf3c8f5f88cf5e52fc3316ca9bc5ba4cb10 | [
"JavaScript"
] | 3 | JavaScript | devryyeong/Momendum | 2353e09c76dbf8a786cf76b61e3159bd35efe1d1 | 75a8028f2eaeca371cecc42b07729761c084d4d2 |
refs/heads/master | <repo_name>csggene3/proofoflove<file_sep>/scripts/helpers.js
/* global hexo */
'use strict';
var pathFn = require('path');
var _ = require('lodash');
var cheerio = require('cheerio');
var lunr = require('lunr');
require('es6-promise').polyfill();
require('isomorphic-fetch');
var localizedPath = ['docs', 'api'];
fun... | 96cd5fe627d5341a0e670e55294810a0a77f5bb9 | [
"JavaScript",
"Markdown"
] | 10 | JavaScript | csggene3/proofoflove | 5387ab0d52f2b81f84cd3efea1e716f2b05b66b4 | 13ff0e03e6a85fcdef96b3cf7521b88f0203ca01 |
refs/heads/master | <file_sep>#include <iostream>
#include "my_property_tree.cpp"
int main() {
my_ptree pt;
boost::property_tree::read_json("../test_sources/source_a.json", pt.get_base());
std::cout << (std::string)pt << std::endl;
return EXIT_SUCCESS;
}<file_sep>#ifndef BOOSTPTREESUPPORTER_MY_PROPERTY_TREE_H
#define BOO... | f4fdf126060e6a7b0b579dcf69a569dbd83b780b | [
"Markdown",
"CMake",
"C++"
] | 5 | C++ | koralkashri/boost-ptree-supporter | 648fdde6835ee1f1793452db2425db1887653bbb | 16c789712cbe640cc1e4b19b72224d332e20923e |
refs/heads/master | <repo_name>Precisamento/Precisamento.github.io<file_sep>/extensions/regex-for-gm/json/match.md
---
title: MATCH
extension: regex-for-gm
category: json
permalink: /extensions/regex-for-gm/json/match/
layout: extension-constant
---
## Contents ##
| Key | Type | Value |
| --- | --- | --- |
| index | real | The index in ... | fd706baff60d8bd5cbcf5477b7632b47075d4df3 | [
"Markdown",
"JavaScript"
] | 218 | Markdown | Precisamento/Precisamento.github.io | dbb46d8974665856910fd66aa00821374fc75a5f | 0373109dbcdaf31e68f6a4aa02dcc975866c7b73 |
refs/heads/master | <repo_name>andrejPP/KNN2021<file_sep>/run_validation.sh
#!/bin/bash
model=$1
tunit=$2
module load python36-modules-gcc
source ./env/bin/activate
mkdir $tunit/logs
cp -r $model $tunit/logs/
cd $tunit
model_name=$(basename $model)
python main.py --gpu $CUDA_VISIBLE_DEVICES --validation --load_model $model_name --dat... | 6883dcd880f46c41ceefdb5e9a1d9072c347ad02 | [
"Markdown",
"Shell"
] | 6 | Shell | andrejPP/KNN2021 | 9f43a3c498299e174bff2f18b0019e715cf0f9a9 | 8d664f473b67e523af8c50dcd0bdfe88bed41454 |
refs/heads/master | <repo_name>stringham/blog<file_sep>/public/js/script.js
$(function(){
logo = new Logo($('#logo').get(0), 60);
logo.animate();
$('#logo,.nav li').click(function(){
logo.animate();
});
var updateSection = function(){
if(window.location.hash){
var section = window.location.hash.substr(1);
section = sectio... | ae435904a29ff543d9f57872e04df79f9dbac141 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | stringham/blog | ffb6a74f7eb9dd7286fccaf49957cc96504f3219 | 61de284136693736ed6060f79c69ebbdcf49a8a3 |
refs/heads/main | <repo_name>Rachel-kk/tensorrtCV<file_sep>/example/ddrnet/CMakeLists.txt
cmake_minimum_required(VERSION 3.2)
project(ddrnet)
message("=========", ${CMAKE_SOURCE_DIR})
message("=========", ${PROJECT_SOURCE_DIR})
file(GLOB TRT_FILES
"${CMAKE_SOURCE_DIR}/src/*.h"
"${CMAKE_SOURCE_DIR}/src/*.cpp"
"${CMAKE_S... | a38318821e214f0e2a6e42791c9b375df3417bc4 | [
"CMake",
"C++"
] | 5 | CMake | Rachel-kk/tensorrtCV | b9473397b651f7f9e8144f26c31cd562eaa0b7a2 | 6b575b1c9816cb7869c83019048b735063a5ad55 |
refs/heads/master | <file_sep>drop table if exists out_ProjectBudgets;
CREATE TABLE out_ProjectBudgets
(
_sys_transform_id int NOT NULL encoding rle,
TenantId varchar(255) encoding rle,
PeriodAmount varchar(255),
ProjectBudgetId varchar(255),
AccountBudgetAttrId varchar(255),
ProjectId varchar(255),
AccountId v... | ef6d012332bb8003fcfc57ea0880730db92f87d4 | [
"SQL"
] | 6 | SQL | MichalNikodem/fenxt-npi-dev | 3f76d95cf1231ec553a20c40e3e6be9363357552 | 3b30aa2cf3536da2de909dc18816a5176d0f70c0 |
refs/heads/master | <repo_name>shadowlerone/Uno-Java<file_sep>/src/com/shadowlerone/uno/Deck.java
package com.shadowlerone.uno;
import java.util.ArrayList;
import java.util.Collections;
public class Deck {
public ArrayList<Card> unplayed;
public ArrayList<Card> discard;
public ArrayList<String> suites;
public Deck(){
unplayed = ne... | bf3b64c6140c5972d9798887eaa437d1b98a7847 | [
"Java"
] | 6 | Java | shadowlerone/Uno-Java | d9650fdb151d5039ca0ec6f7b92a85db58657cf4 | 69bdd4914d1dbfc2735ffafdcb88ad10649637f1 |
refs/heads/master | <repo_name>el-tenkova/kosmos_task<file_sep>/Kosmos_MakePic.py
#!/usr/bin/python
# -*- coding: UTF-8 -*-
import sys
import getopt
import fileinput
import string
import matplotlib
import Tkinter
from pylab import figure
from matplotlib.collections import PolyCollection
import matplotlib.pyplot as plt
def get_points(... | 85526b44139c325ba7221cca191e87d67e33fbba | [
"Python"
] | 1 | Python | el-tenkova/kosmos_task | 580e56702b46130cfbd2ce65d34c26a9c7408810 | 5ab42bf32bc0fb3bd026e49e2d94ff09588827a3 |
refs/heads/master | <repo_name>Being-sk/CRUD-php<file_sep>/delete.php
<?php
if (isset($_GET['id'])) {
$id = $_GET['id'];
//database connection
include_once('database/config.php');
$stmt = $conn->query("DELETE FROM `users` WHERE id = $id");
if ($stmt) {
header('location:index.php');
} else
echo "DE... | 1a7f6408432daf094425309651c64c3b81c847f5 | [
"Markdown",
"PHP"
] | 6 | PHP | Being-sk/CRUD-php | 8ce3b33f7b6a12e9e95bd8d14078946f60de42c8 | f4a5fef9c3531cacbbc550e386073ee3ae29a8f4 |
refs/heads/master | <repo_name>Code-SameerKhan/Employee-resignation-prediction<file_sep>/requirements.txt
streamlit==0.79.0
pandas==0.25.3
numpy==1.18.1
scikit-learn==0.24.1<file_sep>/README.md
# Employee Resignation Prediction
This Webapp is deployed at this [Website](https://employee-resign-prediction.herokuapp.com/)
# Summary
* Crea... | 147f465700f2f41362c7de3247df7840841d0d03 | [
"Markdown",
"Python",
"Text"
] | 3 | Text | Code-SameerKhan/Employee-resignation-prediction | b40bb21f1ff75b3d3310e31ef54ef40682362283 | 89482135192d58d6718ec7ce676bf4138db2f661 |
refs/heads/main | <file_sep>arm = ["ա","Ա","բ","Բ","գ","Գ","դ","Դ","ե","Ե","զ","Զ","է","Է","ը7", "Ը","թ","Թ","ժ","Ժ","ի","Ի","լ","Լ","խ","Խ","ծ","Ծ","կ","Կ","հ","Հ","ձ","Ձ","ղ","Ղ","ճ","Ճ","մ","Մ","յ","Յ","ն","Ն","շ","Շ","ո","Ո","չ","Չ","պ","Պ","ջ","Ջ","ռ","Ռ","ս","Ս","վ","Վ","տ","Տ","ր","Ր","ց","Ց","ւ","Ւ","փ","Փ","ք","Ք","օ","Օ","ֆ","... | 1ba2856f8bdf89384f905ab28a859f5d06d896e6 | [
"Python"
] | 1 | Python | opinion-mining-south-caucasus/multi-lang-detection | 59d510bf6aa4422f848ef88510957fab50ab1cf2 | 389d08148c6d83a123b53c4f924f7cae849dc91c |
refs/heads/master | <repo_name>dbarbar/sb4dev<file_sep>/Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# All Vagrant configuration is done here. The most common con... | 875eb748a6fd4d5181ff3d73bec6f22aa4a85681 | [
"Markdown",
"Ruby"
] | 3 | Ruby | dbarbar/sb4dev | ac2e7ad0f18741e51c964062ffe03c097a885f72 | 6048bf7beea277f56e3d65a015103767c7ec4721 |
refs/heads/master | <repo_name>idobarash/shortlink<file_sep>/src/main/java/com/example/shortlink/service/LinkDatabaseCache.java
package com.example.shortlink.service;
import com.google.common.cache.Cache;
import com.google.common.cache.CacheBuilder;
import lombok.Getter;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereo... | 8f8c06ed2ceb16be62dddfcd04ba3954e1c51047 | [
"Java"
] | 5 | Java | idobarash/shortlink | a9911b529c59520cd552d008539e85ed60d2194c | cee02402940932b82b652cf607de1fe970f745ab |
refs/heads/master | <repo_name>welldoer/Book-DeepIntoSpringBoot<file_sep>/WebBasingNeo4j/settings.gradle
rootProject.name = 'WebBasingNeo4j'<file_sep>/WebBasingNeo4j/build.gradle
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-neo4j'
implementation 'org.springframework.boot:spring-boot-starter-web'
impl... | 22316dcdb08e85062c8df058b81bbdba066fae44 | [
"Markdown",
"Java",
"Shell",
"Gradle"
] | 28 | Gradle | welldoer/Book-DeepIntoSpringBoot | d53e730c7e7ce0a9441afd558bf2f73299f04725 | e3c3c974c6bf82803e36c4c3d38e99d1cd9bb8dd |
refs/heads/master | <repo_name>tom-kuca/acts_as_markup<file_sep>/Gemfile
source "http://rubygems.org"
gem 'activesupport', '>= 3'
gem 'activerecord', '>= 3'
gem 'rdiscount'
gem 'RedCloth'
gem 'wikitext'
group :development do
gem "shoulda"
gem "bundler"
gem "jeweler"
gem "simplecov"
gem 'sqlite3-ruby'
gem 'sdoc'
gem 'brianj... | 2151cada6033d271eb9c8943a356b1794f919b85 | [
"Ruby"
] | 1 | Ruby | tom-kuca/acts_as_markup | 424ec99d0ce0b2f308bf8e031d2c79ce46ea7236 | 17e1769fcda97db79a14dfb23699e296e4ef164e |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.