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>zackdove/detecting-dartboards<file_sep>/f1score_darts.cpp
/////////////////////////////////////////////////////////////////////////////
//
// Calculate the F1-Score for the faces.
//
/////////////////////////////////////////////////////////////////////////////
// header inclusion
#include <stdio.h>
#include... | 76a49b509f6497bc494ff3fa3dcfa89bc232ddd0 | [
"Markdown",
"C++"
] | 8 | C++ | zackdove/detecting-dartboards | 776c4f93900a56ffad659c2758d9a0cec5852423 | fc13adf49d935e5fc5aafca102012151200f1e03 |
refs/heads/master | <repo_name>kjetilfjellheim/rov<file_sep>/lm298.py
import logging
"""
Constants
"""
LOGGER = "lm298"
"""
Logger setup
"""
logger = logging.getLogger("lm298")
"""
Class definitions
"""
class MotorControl:
"""
Constants
"""
DIRECTION_LEFT = 1
DIRECTION_RIGHT = -1
DIRECTION_FORWARD = 1
DIRECTI... | ba9012351d777f0ca37b8f2cfa32bdf07e99ada2 | [
"Python"
] | 3 | Python | kjetilfjellheim/rov | 405a2fd3046d1b5e6ccf8a139a160adeab43ffce | 9d543d008e80ce4489232ffed5f5d5af4fcbeb26 |
refs/heads/main | <repo_name>qq2602917275/22222<file_sep>/login.js
function fn(){
conosle.log('1111')
}
| a915a37003b5d95974d0d78db954ac102b27dd76 | [
"JavaScript"
] | 1 | JavaScript | qq2602917275/22222 | fce2451e09f26d8b6730ce23858558a08d880c71 | 08134776ee3512b40f8bfe10762609402e1b868c |
refs/heads/master | <file_sep>require_relative 'find_by'
require_relative 'errors'
require 'csv'
PATH_TO_DATA = File.dirname(__FILE__) + "/../data/data.csv"
METHODS_TO_METAPROGRAM = ["find_by_brand", "find_by_name"]
class Udacidata
# Create a new object, update the CSV accordingly, and return the new object
def self.create(attribute... | ac5491a3d4b8a58a3dadb336ade0ca187c7fd718 | [
"Ruby"
] | 5 | Ruby | corey-f/rbnd-toycity-part4 | 5316a0e2452984f025120972e1101297abd25bed | 40a60e8ee70c89fee34a1a5cb7d02341614dd599 |
refs/heads/master | <file_sep>'use strict';
module.exports = {
up: (queryInterface, Sequelize) => {
return queryInterface.createTable('predicts', {
id: {
allowNull: false,
autoIncrement: true,
primaryKey: true,
type: Sequelize.INTEGER
},
nodeId: {
type: Sequelize.INTEGER,
... | 06da934f9198308b2c8101699d04f19058fb8eaf | [
"JavaScript"
] | 7 | JavaScript | aplusde/nodejs-server | 734de1769b57229c0a980468b9dcde77b76c1987 | 249f59c5838c0a21f7dc7b5fa7bcfbadc69c8caa |
refs/heads/master | <repo_name>sylus-code/multisport-endomondo-wrapper<file_sep>/src/Exception/InvalidPathException.php
<?php
class InvalidPathException extends Exception
{
}<file_sep>/readme.md
# Endomondo Api Wrapper
#### Description
As Endomondo is going retired, I've decided to create a tool to manage trainings based on Endomondo ... | 6b4adcd39dbae4c978f91f15d844d3019ed75086 | [
"Markdown",
"PHP"
] | 7 | PHP | sylus-code/multisport-endomondo-wrapper | f718037a1ce79d3ca4f4c17fbd045cb17973dd50 | a922f68eead95566e96deff7ed25f7d3eafd5385 |
refs/heads/master | <repo_name>fudgemcgroobs/Packet-Sniffer<file_sep>/dispatch.c
#include "dispatch.h"
#include <pcap.h>
#include <signal.h>
#include <stdlib.h>
#include <pthread.h>
#include "analysis.h"
#define MAX_THREAD_NUM 10
pthread_mutex_t muxlock_queue = PTHREAD_MUTEX_INITIALIZER; //used to change queue by threads and 'dispatc... | 59df5a6d32626e6cd451dbf9d47711705e38c93b | [
"Markdown",
"C"
] | 5 | C | fudgemcgroobs/Packet-Sniffer | 649ab9e5bfa29de37ab102cf437f8a1c821ec593 | 746db5761cf25c5bf860386bf753b282fe46b128 |
refs/heads/master | <file_sep>package com.quietpond.json;
import java.io.IOException;
import java.nio.charset.Charset;
import java.nio.charset.CharsetEncoder;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Paths;
/**
* Created by joels on 7/13/15.
*/
public class TestXmlToJson {
public... | 9405d78c9756898f7004ca1bb38fbfbe8779fb3c | [
"Java"
] | 1 | Java | joelschuster/quietpond.json | 17912d710cd06e5d6a0fa13356fef2e60cc74424 | 91514de74af6a6b06a08555a80ab8941b1ad6f87 |
refs/heads/master | <file_sep>#!/bin/sh
pm2 stop 'broadcast_node_connect'<file_sep>#!/bin/sh
pm2 start --name "broadcast_node_connect" ./index.js | 0850fdd05982db70ca0f947702f2d97ed2e78932 | [
"Shell"
] | 2 | Shell | HanbitGaram/chatBroadcast_service | 69ee180c8c882e70fb71ca46a6429c5a8440f23f | 3359eeb74230fc477ffda4c214151894a6d30a06 |
refs/heads/master | <repo_name>dalor/vk-feed-bot<file_sep>/core.py
import asyncio
import os
import re
import simplejson as json
import aiopg
from aiohttp import web, ClientSession
client_id = '6610748'
client_secret = '<KEY>'
bot_id = '344603315:AAHs9sHfDvoYpWFAqLqQiUAJ03xEyi8DdHM'
database = os.environ['DATABASE_URL']
#period_time = 180... | 8e8d667d138d0533686e9c19fd1e4871f51a71c7 | [
"Python",
"Text"
] | 2 | Python | dalor/vk-feed-bot | 056da24a33104e3413dec3d961cd0374ca75e60d | d50aef1193ff7024427f2509b8388d0688a914c0 |
refs/heads/master | <file_sep><?php
namespace Imi\Db\Aop;
use Imi\Aop\AroundJoinPoint;
use Imi\Aop\Annotation\Around;
use Imi\Aop\Annotation\Aspect;
use Imi\Aop\Annotation\PointCut;
use Imi\Db\Exception\DbException;
use Imi\Util\Traits\Aspect\TDefer;
/**
* @Aspect
*/
class MysqlAspect
{
use TDefer;
/**
* Db 延迟收包
* @PointCut(
... | 03a6443b54161c60dd5d0b0e86a2755b23631a0b | [
"PHP"
] | 14 | PHP | skymysky/IMI | e3d1a3f294ef7a4442fd54870221d47c52ec64d0 | 6c625b26309074bf231aeb1febc752f5ec91d167 |
refs/heads/master | <file_sep>#include <stdlib.h>
#include <stdio.h>
#include "ins_def.h"
#include "proc.h"
#include "rt.h"
#include "bc.h"
#include "stk.h"
#include "object.h"
#include "var.h"
#include "var_ops.h"
#include "pc.h"
#include "helper.h"
/* Initializes INS_DEF with pointers to each instructions function
* Populates INS_DE... | 82ae80fa37735f01a9fddb27092f143ae800d06b | [
"C"
] | 4 | C | bannatech/language | bd24614ca384a69be2a3ebaa8d4c18183a0f77ff | b0becfc6703669ee3521398bd328a5c5cc90f0fe |
refs/heads/master | <repo_name>PaulaSenisman/Practica<file_sep>/README.md
# Practica
## Pasos para crear un repositorio.
**Paso 1**: En *GitHub* dirigirse a repository y colocar new.
**Paso 2**: Escribir el nombre que desee tener el repositorio.
**Paso 3**: El repositorio debe ser publico y ser debe dar check a iniciar el repositorio ... | d138f17ca2b993da9ede1ef3072ccb6093f3cf3d | [
"Markdown",
"R"
] | 4 | Markdown | PaulaSenisman/Practica | e04b9e650c960cb6835bcbbcad27da1318de4c96 | 80ea6fd704e9fa78ccb07caaf15c6b78f293fc2d |
refs/heads/master | <repo_name>rullymartanto/Angularjs-Codeigniter-GenesisUI<file_sep>/application/models/Access_item_model.php
<?php
/**
* User: gamalan
* Date: 3/17/2015
* Time: 10:06 AM
*/
class access_item_model extends AR_Model {
public function __construct(){
parent::__construct();
$this->allow_insert = "us... | 030f77f5852cbb13e2ccc3272492fade11659a94 | [
"JavaScript",
"PHP"
] | 15 | PHP | rullymartanto/Angularjs-Codeigniter-GenesisUI | f2a31b58c1e61e6c8282958d211838881b450f9a | 1748bcb42f1d12859eca4008e4ad40dc00578ad3 |
refs/heads/master | <repo_name>SalomonFrux/EventsAndDelegates<file_sep>/VideoUploader.cs
using System;
using System.Threading;
namespace EventsAndDelegates
{
public class VideoUploadedEventArgs
{
public Video Video { get; set; }
}
public class VideoUploader
{
// public delegate void VideoUploaderEventH... | 0147f21a678c140eec2a657d14857e86a29f637e | [
"Markdown",
"C#"
] | 5 | C# | SalomonFrux/EventsAndDelegates | 362a3116fbda21bb15dac033b4d10da5f4c3eb28 | 87ebaef57156968d0e405ebe5b6bb6a163073eff |
refs/heads/master | <repo_name>juanlasarte4/DesarrolloDeInterfaces1-EVAL<file_sep>/src/unidad1/practica1/facturacion/UtilidadesCalculoIVA.java
package unidad1.practica1.facturacion;
import java.util.Calendar;
import java.util.List;
public class UtilidadesCalculoIVA {
// CALCULO 3 MESES ANTERIORES 1 DEL MES AL ACTUAL
public static dou... | c707e4a924eddcfd9f35dee88dccc85634f7ce62 | [
"Java"
] | 3 | Java | juanlasarte4/DesarrolloDeInterfaces1-EVAL | a1539dc97009f883bfa677b49d261761b03346a1 | 0ce532ed84a79cb5759d7333f68543da4f51db1d |
refs/heads/master | <repo_name>matteotolloso/file_storage_server<file_sep>/Makefile
flags = -g -O3 -Wall -I ./includes -std=c99 -pedantic #-Werror
obj = ./obj/server.o ./obj/parser.o ./obj/sharedqueue.o ./obj/connection.o \
./obj/handler.o ./obj/filesystem.o ./obj/linkedlist.o
src = ./src/server.c ./src/parser.c ./src/sharedqueue.c... | c092bfdbce9df4df7709cc0d03ba0c3b8d21927e | [
"C",
"Makefile",
"Shell"
] | 23 | Makefile | matteotolloso/file_storage_server | bd235e8ed7794138a02f3d9bd84eca82806c82e5 | 41fcea589f5fb640c5d1d71b877f93c02aa9fbe2 |
refs/heads/master | <repo_name>rvnovaes/django-knockout-modeler<file_sep>/knockout_modeler/templatetags/knockout.py
from django import template
import simplejson as json
import datetime
from knockout_modeler.ko import ko, koData, koModel, koBindings, get_fields
register = template.Library()
def knockout(values):
"""
Knockoutify ... | 1e5042097da8d19ebc08365fc32aec64a778dab1 | [
"Python"
] | 1 | Python | rvnovaes/django-knockout-modeler | e3b608b771992bc83b6a1ce57e7c8afd0c49b57f | 0249770a7edc39a43f09669249db4bd92b27e736 |
refs/heads/master | <repo_name>futureer/QSniffer<file_sep>/Ui_QSniffer.py
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file '/Users/qinchenchong/workspace/QSniffer/QSniffer.ui'
#
# Created: Tue Oct 23 01:24:35 2012
# by: PyQt4 UI code generator 4.9.5
#
# WARNING! All changes made in this file will be lost!... | aef2e448c5b7970556b910dfab4da5e53dd1d3fb | [
"Python",
"Text"
] | 7 | Python | futureer/QSniffer | c2fa33f1de6fbbe262b60f25b542a830072fc50f | 4a35c4aa4f79abf1b005189fd9365e7c692af128 |
refs/heads/master | <repo_name>BinaryKitten/BBMembershipSystem<file_sep>/app/Services/MemberSubscriptionCharges.php
<?php namespace BB\Services;
use BB\Entities\User;
use BB\Events\MemberBalanceChanged;
use BB\Events\SubscriptionPayment;
use BB\Helpers\GoCardlessHelper;
use BB\Repo\PaymentRepository;
use BB\Repo\SubscriptionChargeReposit... | 95cc10f00cf9f7f098efd0d0176a438c48388d48 | [
"Markdown",
"PHP"
] | 30 | PHP | BinaryKitten/BBMembershipSystem | 84e4c8170dff2dd0773eb69354aa68bba2cdf798 | fe95ef9b2acff0b9d61fb3f8918806097926566e |
refs/heads/master | <repo_name>skammm/node-express<file_sep>/03/03-用mongodb重构crud/02-crud-express/router.js
/**
* 路由映射表
* get /student
get /student/add
post /student/add
get /student/edit
post /student/edit
get /student/delete
*
*/
var express = require('express');
var router = express.Router();
var fs = require('... | a98e46ca654f5a37bbce3f3e4ad616a2c7da76e5 | [
"JavaScript",
"Markdown"
] | 9 | JavaScript | skammm/node-express | 1edba5324c06a4f3d5a5091423086d3c09b2af53 | 1e132d316ef06772d2e4b9d52fc2ae6871488f51 |
refs/heads/master | <repo_name>mendajayaram/GitDemoUst<file_sep>/module.ts
import {position} from './oops';
var posobj=new position(1002,"jayaram",12345,"Full Stack Developer","Hyderabad");
posobj.displayDetail();<file_sep>/basic.ts
//Basic Program
var no:number=10.0;
var greet:string="Welcome to every one";
var con:boolean=false;
consol... | 9267b6913e78ebdc08d0f45e82f780e4a597fe90 | [
"JavaScript",
"TypeScript"
] | 9 | TypeScript | mendajayaram/GitDemoUst | 20e7d8a5cceea0070f097415c56f7445f776df6a | f2660a8035d279bb4285d09bf3dd763f64b9cc69 |
refs/heads/master | <file_sep>const mongoose = require('mongoose');
const schema = mongoose.Schema;
// We don't have to include the "id:" field because MongoDB
// will create its own
const authorSchema = new schema({
name: String,
age: Number
});
// making a model (collection) of authors that contains objects
// that look like the "au... | 405b8c7b180b6239b27b0e6b752a31ff1518ac0d | [
"JavaScript"
] | 2 | JavaScript | pelaej/graphql_playlist | 73d64ada792d2ad1199fce5aa5255a7db51a2e70 | 88dbc5804752761774cbb50460740f1e14a1abe2 |
refs/heads/master | <repo_name>andreas-04/twitbot<file_sep>/twitter_bot.py
import random
def memify(text):
new = []
for c in text:
r = random.randint(0, 1)
if r:
new.append(c.upper())
else:
new.append(c.lower())
return ''.join(new)
print(memify("hello my name is whasso i am a... | 6d4d1703553a51b09ba6de36ffd7830e4bbb2a26 | [
"Python"
] | 1 | Python | andreas-04/twitbot | 2189598397116b79a1dab6f4db55fb447f562dcc | fb2e9c2562b3440b38b7d2c0696300993180e688 |
refs/heads/master | <file_sep>import axios from "axios"
export const getUserList=(data)=>axios.post("user/lists",data)//获取用户列表
export const received=(order_id,partment)=>axios.post("order/receive",{order_id,partment})//接收
export const getUserMsg=(user_id)=>axios.get("user/get",user_id)//根据user_id获取用户信息
export const saveRole=(data)=>ax... | ebeac2a808616033da7bd783e2d177eb8eab5b2d | [
"JavaScript"
] | 10 | JavaScript | luotingv1/ldgf | 07892373575096fdf0d696ff9f44ca42c32c94ed | 6ec9e3380b4fc694469955b4c19dfbdcf357b394 |
refs/heads/master | <file_sep><?php
$mysqli = new mysqli("gcoej.ac.in", "gcoejjif_sdcw", "sdc@2016", "gcoejjif_data_site") or die("Unable to Connect..");
?>
<header id="header"><!--BEGIN: Header-->
<section class="header-top-section"><!--BEGIN: Header Top Section-->
<div class="row p-tb10 ">
<!--BEGIN: Logo-->
<div class=... | 15f418021d5d9b317106653ecdb7c68ee05801b1 | [
"PHP"
] | 2 | PHP | SDC-GCOEJ/GC-Mechanical | 878ec9b7c1b916b640157acf795e423a216064f4 | efbfff953ea2ca6c3e05c1414f86ce7654fb2344 |
refs/heads/master | <repo_name>Diogo-Ferreira/school-work-qt<file_sep>/build-Serie5exercice1-Desktop_Qt_5_5_0_GCC_64bit-Debug/moc_widget.cpp
/****************************************************************************
** Meta object code from reading C++ file 'widget.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.0)
... | 4839a0aae78c9a92a6806e3daa82d1511aba052c | [
"C",
"C++"
] | 13 | C++ | Diogo-Ferreira/school-work-qt | 2aae8f6b1a7ab5b380e8c32e365dfc9a03c88c9a | 840b5949d5e1beb416e2be1bffa40e166455e681 |
refs/heads/master | <file_sep>"""Window module"""
import time
import tkinter
from typing import Tuple
from boid import Boid
from vector import Vector
HEIGHT = 1000
WIDTH = 1000
class Window:
"""The main window in which the process will be hosted"""
def __init__(self):
self.window = tkinter.Tk()
self.canvas = tki... | 60fcdb042ff1282d0b202a1d1ee2daa42551dc15 | [
"Python"
] | 10 | Python | XDA-7/boids | c0c35360a0096c6b0096ac6b08c9b311abeb8c70 | 1973c8f6d91054a29a68749534d4b208eb75835e |
refs/heads/master | <repo_name>EdwardBetts/vuze<file_sep>/trunk/azureus3/src/com/aelitis/azureus/ui/swt/search/SearchResultsTabAreaBrowser.java
/*
* Created on Dec 7, 2016
* Created by <NAME>
*
* Copyright 2016 Azureus Software, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modi... | 02522a8c454af2dc8fb2eaa943697777db548c73 | [
"Java"
] | 1 | Java | EdwardBetts/vuze | 435d8349f2ec00ea3b0f67af0a27f1c202bf23aa | b3e30dcfb2edb19e474e8bf757feb24dbcccb125 |
refs/heads/master | <file_sep>final class Lender {
int fund = 100;
public int availableFund(){
return fund;
}
public int getLoan(int loanAmount){
if(loanAmount >= fund){
throw new IllegalArgumentException("Loan request greater than available fund");
}
return loanAmount;
... | 1471975fee664e854143bed8150546f9d8a07494 | [
"Java"
] | 1 | Java | chernojallow/Mortgage-Lender | 31904b430baab7c827847f4feaad97a31917ec14 | c2c5a3c29e2df31806a8a296a17a1a97f5ce0bde |
refs/heads/master | <file_sep>#!/usr/bin/env python
# coding: utf-8
# In[11]:
get_ipython().run_line_magic('matplotlib', 'inline')
import d2lzh as d2l
import math
from mxnet import nd
def rmsprop_2d(x1, x2, s1, s2):
g1, g2, eps = 0.2 * x1, 4 * x2, 1e-6
s1 = gamma * s1 + (1 - gamma) * g1 ** 2
s2 = gamma * s2 + (1 - gamma) *... | 203dff07605f58b85049853864f96be51f5915a5 | [
"Python"
] | 2 | Python | vehicleengineer/training5 | 364485ab59bdff4da1fbed0f6de0e13aa3e916b4 | f3b4a2c26b65651e6932bce7faa402b1647bc25b |
refs/heads/master | <repo_name>sketchplugindirectory/api<file_sep>/webhook/stripe.js
const stripe = require('stripe')(process.env.STRIPE_SECRET)
const storage = require('../storage')()
module.exports.handler = (event, context, callback) => {
let sig = event.stripeSignature
let stripeEvent
try {
stripeEvent = stripe.webhooks.co... | 4b50fd8482c59fbd73aa8fc83c177d462025b014 | [
"JavaScript"
] | 4 | JavaScript | sketchplugindirectory/api | 39e576648cbc776742b77ae1d1f6734c8b87b786 | 8b3fce5d7ad15fba179cf49446bff2cc4947f4ee |
refs/heads/master | <repo_name>dashakhan/katas<file_sep>/print each from min to max.js
// given two numbers, one is bigger then other
// print all nums from min to max
// - check which is min/max
// - loop where i is min and i < max
// create empty arr, return push in that array
//
// function num(a, b){
// let arr=[]
// let min = a ... | a9db06bd1ba4e021808b989ad9b9ed97215b7f24 | [
"JavaScript"
] | 7 | JavaScript | dashakhan/katas | b06d7ab451444d8482fa2f5e377fc6c76ba28325 | 56831cc072cc0eb3d61fd4fd00311292900981e6 |
refs/heads/master | <repo_name>aleX3645/PythonServerOfGroupProject<file_sep>/BotMapper.py
class BotMapper:
__position_x = 0
__position_y = 0
__charge = 0.0
__weight = 0.0
__speed = 0.0
__tiredness = 0.0
__rang = 0.0
__damage = 0.0
__game_field = [[]]
def __init__(self, charge: float, weight: float,... | bdb69a2d939cabbe88eaeac17f7d56961c6d0999 | [
"Python"
] | 4 | Python | aleX3645/PythonServerOfGroupProject | 84a2a8d52afd843523ff94d1db0edc34b29c5b2e | b574a031a9244302d9e0243bf2aaf16a65744d74 |
refs/heads/master | <file_sep>from .models import Employee
from rest_framework import serializers
class EmployeeSerializer(serializers.ModelSerializer):
class Meta:
model=Employee
fields=('Employee_Id','Employee_Name','Department_Name')<file_sep># -*- coding: utf-8 -*-
# Generated by Django 1.11.7 on 2017-11-24 19:15
from __future... | 9acfeb47348c25dd3dd486e036eeb8b059576e4d | [
"Markdown",
"Python"
] | 6 | Python | ramukodandapuram/DJango-RESTframework | 645efc0e10854bffcb412e88c117cd11d9e819e7 | 74adf02320e8ca2068e3dc9624c955c17a303ada |
refs/heads/main | <repo_name>iamtanmay/CS_Backend<file_sep>/UT_Curves.cs
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Utilities
{
[TestClass]
public class UT_Curves
{
public CurveLibrary curves;
[TestMethod]
public void CreateCurveLibrary()
{
... | 9988a279fee651c815a6a35ca35c38247b8ac286 | [
"C#"
] | 3 | C# | iamtanmay/CS_Backend | 96ba162cf2bfa19d352bce7006f7566135eff2db | ed74d1c01dc95f5c06cc094fef3c590e21195b6d |
refs/heads/master | <repo_name>saiyedulbas/bashar-cms<file_sep>/app/Http/Controllers/bashar.php
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\againmessage;
use carbon\carbon;
use App\about;
use App\about_point;
use App\service;
class bashar extends Controller
{
function ami(){
return view('index');
}
... | 5ac82bb378983f714c67ae0def5af6c093ae9306 | [
"PHP"
] | 3 | PHP | saiyedulbas/bashar-cms | 1d8a8f96aa9f028b09abad27c6288289465066d6 | e8f0a73d0f99ed5a5ab91f5fdedaf75471fafdb4 |
refs/heads/master | <repo_name>jackbenny/autogitit<file_sep>/autogitit.sh
#!/bin/bash
################################################################################
# #
# Copyright (C) 2013 <NAME> <<EMAIL>> #
# #
# This program is f... | 2a6fe34a395ed6cbe52919941ac055c1ae7533b6 | [
"Markdown",
"Shell"
] | 2 | Shell | jackbenny/autogitit | 1127b7d4612bb5698d66b133f05667bcfe393f67 | b4640faf3e50a45c9fc0c91156355c707c068159 |
refs/heads/main | <file_sep>const mongoose = require('mongoose');
const dotenv = require('dotenv');
dotenv.config();
// Connect to MongoDB
module.exports = () => {
mongoose.connect(
process.env.DB_CONNECT,
{ useNewUrlParser: true, useUnifiedTopology: true },
() => {
console.log('Connected to MongoDB Atlas');
}
... | 42feb65b54a5ef781edcdbf7c907516cd271e92b | [
"JavaScript"
] | 2 | JavaScript | dephraiim/chelsea-university-server | bd6c59621741dc4a538649f2ef7cafb1243d97ce | 95887e52877f818cf050e7834909128dc5a4871d |
refs/heads/main | <repo_name>y-arimura1222/todo-app-vanilla-js<file_sep>/js/index.js
'use strict'
{
const onClickAdd = () => {
// 入力されたテキストを取得&初期化
const inputText = document.getElementById('add-text').value;
document.getElementById('add-text').value = "";
// リストに追加するため必要な要素を生成
const li = doc... | f8917b26c84b51e913d7c2201389c26626ca997c | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | y-arimura1222/todo-app-vanilla-js | 673b18c4b6b2b3b6a91b0c9382b1038b011df00e | fa7ed3483fd6d09fafed143cc27e410212903b95 |
refs/heads/master | <file_sep>Template.notePage.helpers({
url: function() { return this.url; }
});
<file_sep>Template.treeSubmit.helpers({
tree: getTreeOptions
});
Template.treeSubmit.events({
'submit form': function(e) {
e.preventDefault();
var tree = {
name: $(e.target).find('[name=name]').val()... | 55ecc496f6390c0fce6b8c7b4d483c81b8958057 | [
"JavaScript",
"Markdown"
] | 11 | JavaScript | lpoulain/QuickNote | 7fa387237231364175e968b555505e9041f52f9e | a2a550f42fddf2e33abe0df08da06525e75fb3c3 |
refs/heads/master | <repo_name>mik3lon/api<file_sep>/api/module/AdServer/src/AdServer/V1/Rest/Addclickbackground/AddclickbackgroundCollection.php
<?php
namespace AdServer\V1\Rest\Addclickbackground;
use Zend\Paginator\Paginator;
class AddclickbackgroundCollection extends Paginator
{
}
<file_sep>/api/module/AdServer/src/AdServer/V1/Rest/... | 4f95aab36568da7b8a0f55440a52c232d295d55a | [
"PHP"
] | 28 | PHP | mik3lon/api | a66f7963f4b1fdef2a7bc8ac135e64c632b54303 | 5a2e3717d6f81e1680be9d1c9e6946abfa88a763 |
refs/heads/master | <file_sep>import redis
from bestrecipe.models import Recipe
r = redis.StrictRedis(host='localhost', port=6379, db=0)
jsonList = []
for key in r.keys():
jsonList.append(key)
<file_sep>from django.db import models
from jsonfield import JSONField
class Recipe(models.Model):
title = models.CharField(max_length=30... | 90fdb3999e5599e4f5c3a35c503aff2566b18c56 | [
"Python"
] | 5 | Python | Oliver022/BestRecipe | 27d38329533cb855921e5c6554f20a5192f250a3 | 090b947ae4acc98e4bd5954b4775e44236dc7736 |
refs/heads/master | <repo_name>ManjyotThandi/LogProcessing<file_sep>/OpenHouse/src/main/java/com/BackEndTest/LogResource/LogResource.java
package com.BackEndTest.LogResource;
import java.io.IOException;
import java.net.URI;
import java.util.List;
import org.json.simple.parser.ParseException;
import org.springframework.beans.facto... | 585ec3b707d9d730894dd74b59ec6266c40613a6 | [
"Markdown",
"Java"
] | 3 | Java | ManjyotThandi/LogProcessing | 5e5996cda1154c496e98bc41c2df2cdafd5e2c8a | c4d996ed24f513de1871ee72cd96de89d751bd97 |
refs/heads/master | <repo_name>yanghb666/master<file_sep>/nihao.sh
#!/usr/bin/env bash
hello word
qweqwe
<file_sep>/README.md
# master
lianxi git
| bc1cad39d6ac63f0076f6a91b017dfd70d9ffebd | [
"Markdown",
"Shell"
] | 2 | Shell | yanghb666/master | f7026bd865e4dd78096256f5b72b1b9ad7447c84 | 7f44c11bee0d420d0fe2dacb9f12352ff67ae978 |
refs/heads/main | <repo_name>sgmtec1/python-lp2-aula1-exercicio1<file_sep>/exercicio1.py
"""
Escreva um programa que solicita ao usuário três valores
e exiba na tela a média dos valores digitados.
"""
a = float(input('Digite o primeiro numero: '))
b = float(input('Digite o segundo numero: '))
c = float(input('Digite o terceiro n... | 6e3a3daf38fe285591028bd63e9b5df522d8fd8b | [
"Markdown",
"Python"
] | 2 | Python | sgmtec1/python-lp2-aula1-exercicio1 | 325da23f180f45a20e1c29aefe0da4af55525c4f | 150b1168a229ff63dfd11147700618defb3ce74c |
refs/heads/main | <repo_name>thiagonmiziara/NLW-Heat-Web<file_sep>/src/services/profileService.ts
import { api } from "./api";
type ProfileProps = {
id: string;
name: string;
login: string;
avatar_url: string;
};
export const profileService = async () => {
const response = (await api.get<ProfileProps>("/profile")).data;
r... | edda12b6babda24289e1a2b80953fd2f6f4f35d7 | [
"TypeScript"
] | 4 | TypeScript | thiagonmiziara/NLW-Heat-Web | 385bc9244c5e0dac2cc5df2c3b0567265863afd9 | e0955ba0ef4341237d267bdb5ea4d204caecfc8e |
refs/heads/master | <repo_name>ramana058/bestroot<file_sep>/online.php
this file is created in online editor
| 017aa0e4e9f913633588059d16a9a70560b49443 | [
"PHP"
] | 1 | PHP | ramana058/bestroot | 2c8942c5e632d8ce3e908159a395409c9b37d76a | 7f80946179b2b7679fddac1d2538df9a28eaf281 |
refs/heads/master | <repo_name>ianelletson/MCS270-Final-Project<file_sep>/FinalProject/columnVisualizer.js
// The MIT License (MIT)
// Copyright (c) <2014> <<NAME>, <NAME>, <NAME>>
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to d... | 6dc6c78d4e02e9c8d43efd8850164b19b2f079c5 | [
"JavaScript"
] | 2 | JavaScript | ianelletson/MCS270-Final-Project | f05d57cabefb290b6def332445e09dcd924d2c4b | de9b9bf943a8583810af1ed377b672f9561efffa |
refs/heads/master | <file_sep>[package]
name = "plato"
version = "0.1.0"
authors = ["Joshuad2uiuc <<EMAIL>>"]
edition = "2018"
[dependencies]
structopt = "0.2.10"
pathdiff = "0.1.0"
chrono = "0.4"
libc = "0.2"
users = "0.9"
groups = "0.1.1"
pretty-bytes = "0.2"
<file_sep>use std::env;
use std::path::PathBuf;
use std::fs;
use super::opts:... | 60303f669a5632bda8fbed9b3125efd80649caae | [
"TOML",
"Rust",
"Markdown"
] | 8 | TOML | daviskeene/Plato | bc40b2051d8ce705739cde2c13695a91b4bbce84 | 859312e153b4781efbf889656189198b4e39a141 |
refs/heads/master | <file_sep>UPDATE wp_options SET option_value = 'http://staging.example.com/' where option_name = 'siteurl';
UPDATE wp_options SET option_value = 'http://staging.example.com/' where option_name = 'home';
UPDATE wp_posts SET post_content = REPLACE(post_content, 'localhost', 'staging.example.com');<file_sep>UPDATE wp_opti... | 254403fe7864c9c0a4e6949b6d5e8ce21b28522c | [
"SQL"
] | 2 | SQL | josephbolus/wordpress-fabfile | 8757b72e8647624296b632d1c5b2350a642b8766 | d80f77c5f3a09eff6c0d12097dfe2f7cd549703f |
refs/heads/master | <file_sep>// @flow
import { initializeFilterState } from './utils';
const initialState = {
filters: {}
};
initialState.filters.greenspaces = initializeFilterState({
farmerDesired: ['yes', 'no'],
plotSize: ['initial', 'largePlot', 'microPlot', 'backyard', 'frontyard', 'fullyard']
});
initialState.filters.farmer... | 640fa322ec319995af46c6f5f6ce10dab1f513e4 | [
"JavaScript"
] | 22 | JavaScript | egretsRegrets/greenspace-app-react | f3a3f8dfd67654918693ce8ddba161f9efb8970a | f8e24e4cb4ecc98bf98734ee4fba5f6a64527d79 |
refs/heads/master | <repo_name>diousk/CustomTimePicker<file_sep>/app/src/main/java/com/example/timepicker/NumberPickerFragment.kt
package com.example.timepicker
import android.app.Dialog
import android.content.DialogInterface
import android.graphics.Color
import android.graphics.drawable.ColorDrawable
import android.os.Build
import andro... | 4902634293e22b314bee90f6c54549b905ca8aab | [
"Kotlin"
] | 3 | Kotlin | diousk/CustomTimePicker | bfe87ab25991c4faf1b2b7aa3986560ef7b9e17a | 8486370289d7308ca38f5ec944c8a84f0072099e |
refs/heads/master | <repo_name>fangweb/bst-lib<file_sep>/README.md
## About
A binary search tree implementation.
<file_sep>/index.js
function Node(v, l, r) {
return {
value: v,
left: l,
right: r,
}
}
function initTree(v) {
return Node(v, Node(), Node());
}
function insert(Tree, NewNode) {
if (Tree.value === undefin... | a344e3df67e69b7af15c70562c05a3074862c923 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | fangweb/bst-lib | 68ae01180ce72ac829b24c7e79a2eaee0aa755bd | 2468417a268f97e90e78f924630927b7134c4980 |
refs/heads/master | <file_sep>package test28;
import java.util.ArrayList;
import java.util.HashMap;
//인터페이스는 퍼블릭밖에 못쓰고, 기본값은 디폴트아니고 퍼블릭
//사용할메소드만 구현
public interface UserDAO {
public int insertUserInfo(HashMap<String,String> userInfo);
public int deletetUserInfo(HashMap<String,String> userInfo);
public int updatetUserInfo... | d4aaddaa2a8dbcdef274f9466969c998345e289c | [
"Java"
] | 36 | Java | sangkyu90/ict1 | e9b1c62fd2e888ba8d726f302ae6ee5230a14fe8 | e4a4be6544c0353a613f0cfe78038faec7cfd954 |
refs/heads/main | <repo_name>patrickmcdonogh/dhlconsumer<file_sep>/java/src/dhl/demo/MessageHandler.java
package dhl.demo;
import java.time.Duration;
import java.util.Arrays;
import java.util.Properties;
import org.apache.kafka.clients.consumer.ConsumerConfig;
import org.apache.kafka.clients.consumer.ConsumerRebalanceListener;
import ... | a477c03b7a7bf4baba8c2d6a590547549aca9919 | [
"Java",
"Dockerfile"
] | 4 | Java | patrickmcdonogh/dhlconsumer | 65cd0d81a4836d183d01236c177fd81bf4c2ba71 | 3a97ac93e77caf97db02dcf7a1aef574a9afbd93 |
refs/heads/master | <repo_name>fatemehAkbarnejad/homework<file_sep>/js/slider.js
var name = "Fatemeh";
var family = "Akbarnejad";
var names = ["ali", "sara", "reza"];
document.write(names.length);
document.write("<br/>");
document. | 151c4c78ff369cf95c32e66f96fbe037e266e6ee | [
"JavaScript"
] | 1 | JavaScript | fatemehAkbarnejad/homework | 92378ff507a6b44dd4f4e2aaab5185558bca3783 | e65af0012a1b873788b7b4f53ecb32b9549efac2 |
refs/heads/master | <file_sep>"use strict";
var test = "Hello";<file_sep>'use strict';
var theString = "Hello, I love Javascript";
console.log(theString.includes('love'));
function greet() {
var greeting = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'Hello World';
console.log(greeting);
}
greet();<file_se... | cb68edf600ba77eeeafbfb88af97cc1d7582da5e | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | shivamrastogi/es6 | dc7095d50fee790560d13da33f8000d7628bcb91 | d95470d203995f5808e7cac93003814f5e09bb07 |
refs/heads/master | <file_sep>class MarketReviewsController < ApplicationController
before_action :set_market_review, only: [:show, :edit, :update, :destroy]
# GET /market_reviews
# GET /market_reviews.json
def index
@market_reviews = MarketReview.all
end
# GET /market_reviews/1
# GET /market_reviews/1.json
def show
... | a2c7f1bca7b9db43aca105ba20533d9bc7059c10 | [
"Markdown",
"Ruby"
] | 17 | Ruby | fuya1/fuya | 172893164a2dcbc8c86660bb45c9c53943b56f3e | 9a3ceb160f51eec2ac0882115fb1c08bdce96e71 |
refs/heads/master | <repo_name>rahulyadav20111995/kalage_task<file_sep>/sign_in.php
<?php
$servername = "localhost";
$username = "admin_joy";
$password = "<PASSWORD>";
$dbname ="kalage";
$conn=new mysqli($servername,$username,$password,$dbname);
//check connection
if($conn->connect_error)
{
die("Connection failed: ".$conn->connect_e... | dcda6c3b372c7d875c9e520104923d0e13a984eb | [
"PHP"
] | 2 | PHP | rahulyadav20111995/kalage_task | c974cb226153f7b0665d76fbc87bbaf15ce434f8 | 85d5c5f91c5640c6af9440e1f5cb5bc01c333ce6 |
refs/heads/master | <repo_name>FPizzetti/jqueue-rest-api<file_sep>/controllers/database.controller.js
'use strict';
var config = require('../config/env.config');
function list(req, res) {
var databases = [];
for (var i in config.databases) {
if (config.databases.hasOwnProperty(i)) {
var database = config.data... | 392fb393aedf84ccbe8b4cde1c09ed438378502c | [
"JavaScript"
] | 7 | JavaScript | FPizzetti/jqueue-rest-api | 50c0bfeec6a4826dd3fac2df89bf0f884d2f2962 | a8fe22e1e94a5108559712588b115c8a0df5feeb |
refs/heads/master | <file_sep>
def long_text_to_list():
string = open('longtext.txt').read()
return string.split()
def word_frequency_dict(wordList):
wordDict = {}
for word in wordList:
if word in wordDict:
wordDict[word] = wordDict[word] + 1
else:
wordDict[word] = 1
return wor... | ba1ac5f97480709406312b43410fa6c105ed9b76 | [
"Python"
] | 7 | Python | caraeppes/PythonLab1 | da3f20d0a7504c8368b6c04f2af59401174018bc | 962cc6a218775a878ce6860d1a44c29d6d1fff67 |
refs/heads/master | <file_sep># nomic
Nomic Voting App
## Installation
```
sudo apt-get install mongodb
pip install flask
pip install flask-script
pip install mongoengine
pip install flask_mongoengine
```
## Running
```
python manage.py runserver
```
<file_sep>import datetime
from flask import url_for
from nomic import db
class Propos... | 60532e6ca6b9324c9920b0d8948cf26cbd43ee57 | [
"Markdown",
"Python"
] | 3 | Markdown | seveneightn9ne/nomic | d3582f4821e642e142cb8a4bafec937844a4c0e5 | 84208522d8f25bb6ddd337d1eecc9d9dbaa0bfdd |
refs/heads/master | <repo_name>mcanalejas/AAD-Practica1<file_sep>/src/ejercicios5_8_JPA/Utilidades.java
package ejercicios5_8_JPA;
import org.hibernate.SessionFactory;
import org.hibernate.cfg.Configuration;
/**
* Responsable de crear un objeto sesi�n (gestiona la conexi�n a BD de forma
* transparente
*
* @author Laura
*
*/
publi... | dede7b7942802a26694ada9558b948d03ff4403d | [
"Java"
] | 1 | Java | mcanalejas/AAD-Practica1 | 69f6b8939b48bbc3f57a0f998095167381940000 | 7ce1029387693f4742c6dbc91e6b65162621592e |
refs/heads/main | <file_sep>from wsgiref.simple_server import make_server
from datetime import datetime
import json
from dateutil.parser import parse
from pytz import timezone, all_timezones
from tzlocal import get_localzone
local_tz = str(get_localzone())
response_parts = [
'''
<!DOCTYPE html>
<html lang="en">
<head>
<meta char... | 4651ffe78c19987d86b376c61b2cfb6690835f56 | [
"Python"
] | 2 | Python | EugeneZadirachenko/eugene.zadirachenko.931801.ja.p.Lab1.python | 2b40d0f427b318e060d895597ad6d47f543c01d0 | d53308645b1561536c9bbd63e3f7fdbb7ac3d324 |
refs/heads/master | <repo_name>joaoambrosio/WeatherStation<file_sep>/MapReduce/src/DynamoSearch.java
import java.util.HashMap;
import com.amazonaws.AmazonClientException;
import com.amazonaws.AmazonServiceException;
import com.amazonaws.auth.AWSCredentials;
import com.amazonaws.auth.PropertiesCredentials;
import com.amazonaws.services.dy... | f8ff17e6aced9d066fce63fa4c5f7b9bf780bc26 | [
"Markdown",
"Java"
] | 3 | Java | joaoambrosio/WeatherStation | eef689d91aba8b3d6b2c0c27d2839dea319b7856 | f10837d5ec9d16e973908a36ddff6053f15d5a57 |
refs/heads/master | <repo_name>Ernest96/Super_Divide<file_sep>/Super_Divide.c
#include <stdio.h>
#include <conio.h>
#include <stdlib.h>
#include <string.h>
unsigned short b=10000,i=0,o=0;
bool cr=0;
struct number
{
long long xn[6] ,xd[6];
long long W0[20];
float num;
}N[20];
long long Realw(unsigned short , long l... | 9289f5fb1cf83c174df1d79167e120cddffaffa4 | [
"Markdown",
"C"
] | 2 | C | Ernest96/Super_Divide | f5c1f752699857e4d60e1c40375c14e6803a72d7 | b6d4143e6f29ee625a28513141a696bb0edb3847 |
refs/heads/master | <file_sep>//
// ViewController.swift
// CurrencyConversionExample
//
// Created by <NAME> on 7/7/19.
// Copyright © 2019 <NAME>. All rights reserved.
//
import UIKit
class ViewController: UIViewController {
@IBOutlet weak var displayLabel: UILabel!
@IBOutlet weak var entryField: UITextField!
ove... | 4a062803fe421e52275cf7b9d0eb4337eda957bd | [
"Swift",
"Markdown"
] | 2 | Swift | GrfxGuru/swift-int-to-currency-example | 9cb508301cce6057af55c82d7794ba7168c9eee4 | bb9b141fd4f9c093394ed4dd86e119dde7b54d81 |
refs/heads/master | <repo_name>unlocker-sy/deep_learning_basic<file_sep>/study/tensorflow/dl_for_everyone_season2/README.md
# 모두를 위한 딥러닝 시즌 2
모두를 위한 딥러닝 시즌2 의 내용을 개인적으로 필요한 부분만 요약, 이해한대로 정리한 자료
https://deeplearningzerotoall.github.io/season2/lec_tensorflow.html
# Youtube
- 시즌1
https://hunkim.github.io/ml/
- 시즌2
https://www.youtube.com... | c74c5efab46ea3d5d021c83a156e84e2da99a1fa | [
"Markdown",
"Dockerfile",
"Shell"
] | 18 | Markdown | unlocker-sy/deep_learning_basic | d4e243a7606ed443bf274abad8975c6fe850e26c | 52d163dbdf36f2ab149446a7c50ba72f454baeec |
refs/heads/master | <repo_name>lucasmartinsribeiro/Site-da-oficina<file_sep>/index.js
const express = require("express") //eu vou fazer o pedido do express, ele vai voltar e ficar nessa variavel
const app = express()
app.get('/', (req, res) => res.send('Hello Word!'))
app.listen(3000)<file_sep>/README.md
# Site-oficina-mecanica
Durante... | ce8032787173cb88c4a7979d305d6aa4891ed945 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | lucasmartinsribeiro/Site-da-oficina | f491421b9c8f3c2eb3984d8703e05f1540bf381c | 11dcf3f9d20865e56067c90497aac6e35de4ad2a |
refs/heads/master | <file_sep><?php
namespace core\mybase;
use core\Application;
//视图基类,显示数据
class View
{
public $view_dir;//视图模板路径
//定义一个数组,用来存储数据
public $data = array();//视图数据
//打开视图方法
public function display($view_name=null){
//include_once "application/home/views/index.html";
//视图名称默认为方法名称
... | 1df4365d5f0b70137eb85d6c66b6ed384ac7af86 | [
"Markdown",
"PHP"
] | 32 | PHP | handsomelrm/Myproject | 6248f198155e5a770c5dcdbc074f3c7b52c56bc3 | 49d62c3499e28af5d12c4c1ce67d1226c1293f74 |
refs/heads/main | <repo_name>khaledkcara/ProdVM<file_sep>/prodvm.sh
#!/bin/bash
# Update APT
echo "Updating APT"
sleep 10
apt-get update
##### Unifi install
echo "Downloading and Installing Unifi Controller"
sleep 10
# Download latest Unifi controller script from
wget https://get.glennr.nl/unifi/install/unifi-6.0.43.sh... | 0c5f581beb25c89ea83cc9ea1b320c0e5fca6c5d | [
"Shell"
] | 1 | Shell | khaledkcara/ProdVM | 871dc3122b58281240ece0ea95f173641222ea37 | bcb46ae5d000d8e523b620c095dca7bfcb3b7b20 |
refs/heads/master | <file_sep>// Ionic Starter App
// angular.module is a global place for creating, registering and retrieving Angular modules
// 'starter' is the name of this angular module example (also set in a <body> attribute in index.html)
// the 2nd parameter is an array of 'requires'
var meanstack=angular.module('meanstack', ['i... | 0984a76015dcde733fb80f837357c6214c732bc9 | [
"JavaScript"
] | 1 | JavaScript | slazengerz/ncbtracker | 1d43836251ecce8f29c0511a60ab5f219cc93d57 | 1a3470224bbf4b3d1e2eef6c13462fed616c416b |
refs/heads/main | <repo_name>marvinhagemeister/vite-dirname-bug<file_sep>/vite/plugin.ts
import { Plugin } from "vite";
export function myPlugin(): Plugin {
console.log("PLUGIN_DIR", __dirname);
return {
name: "dirname",
};
}
<file_sep>/vite.config.ts
import { defineConfig } from "vite";
import { myPlugin } from "./vite/plugi... | 0b5b6f82600d5089b80df5c47be5de02435ece45 | [
"Markdown",
"TypeScript"
] | 3 | TypeScript | marvinhagemeister/vite-dirname-bug | 40e826d19579fb2b0444c349799d941ac9d28601 | f5bd58fcd99d2223ae4a0ec97ccdbe211006eb6e |
refs/heads/master | <repo_name>acc-java2/addit<file_sep>/src/edu/acc/java2/addit/Addit.java
/*
Java 2 - ITSE-1701-351
<EMAIL>
www.bytecaffeine.com/acc/java/2
proj.bat at www.bytecaffeine.com/acc/java/1/proj.bat
*/
package edu.acc.java2.addit;
public class Addit {
private static final String EXCEPTION = "%s is not an integer.\n";
pr... | 2341951aa545a6ef2de34866c0a71b87981d718a | [
"Java"
] | 1 | Java | acc-java2/addit | eb5576efb64b62249a7cbfa2cd2bf8e6c65c4760 | 054dd6df3f52fbe288843fc7f84a704cd4ac2afd |
refs/heads/master | <repo_name>taq-f/kancollectron<file_sep>/src_main/wiki.js
export const WIKI_URLS = new Map([
['expedition', 'https://wikiwiki.jp/kancolle/%E9%81%A0%E5%BE%81'],
[
'shipbuilding',
'https://wikiwiki.jp/kancolle/%E5%BB%BA%E9%80%A0%E3%83%AC%E3%82%B7%E3%83%94',
],
[
'develop',
'https://wikiwiki.jp/kan... | 93550e718ff06c40f449e4108038f9c2093fa175 | [
"JavaScript"
] | 4 | JavaScript | taq-f/kancollectron | d42844f61ffbe063f536ceda472cffc67ad1358c | f6081a4bba4ff0b31433b98a30a0e700f5c181bd |
refs/heads/master | <file_sep>def square_array(array)
new_squares = []
array.each do |var|
var**2
new_squares << var**2
end
new_squares
end | d87869e47642b2ce4153113c373c47bfdee04d17 | [
"Ruby"
] | 1 | Ruby | veloblank/square_array-v-000 | eb52c1d9a366f65f39e3aa1fdef37c9a3c0695eb | e97448146486ef09123875f2b1bbe347dfd11f78 |
refs/heads/master | <file_sep>import java.util.Scanner;
import java.util.Random;
public class rps {
public static String userInput;
public static String computerInput;
public static int computerNumber;
public static void main(String[] args) {
// <NAME>, CSC 120 Final, Rock Paper Scissors Game
Scanne... | 454edc33b88421ffad5d94e8de0a299378c3a60b | [
"Markdown",
"Java",
"Python"
] | 66 | Java | rleaf/Acadamia | e955a4b8973089a6992eb6b61dbdb98cc3fda18e | dd0f03cbd6aacb49ac8c2c418f2aab8f8a6a64ad |
refs/heads/master | <file_sep>package com.tlongdev.spicio.module;
import android.app.Application;
import android.content.ContentResolver;
import android.database.sqlite.SQLiteOpenHelper;
import com.tlongdev.spicio.storage.DatabaseHelper;
import javax.inject.Singleton;
import dagger.Module;
import dagger.Provides;
/**
* @author Long
... | f88d7f9497851f013073181493f335f3ee7619a7 | [
"Markdown",
"Java",
"Gradle"
] | 62 | Java | lastbulletbender/spicio | f7d596e64e4101d31bb47d273e4c4c7f6a55b674 | 9581ddd2b13e08cafccd90698cae373be01a3231 |
refs/heads/master | <file_sep>import React from 'react';
import {Link, Route} from 'react-router-dom';
import Main from './Main';
export default function NotFound() {
return (
<div>Oops! That page doesn't exist. Try <Link to='/'>starting here</Link> :) <Route path='/albums' component={Main} /> </div>
)
}
<file_sep>import React, {... | dae2ae51e8ac59c8eb73fe04e5a030065d60cea0 | [
"JavaScript"
] | 2 | JavaScript | ZacharyDudley/juke-react-router | d1e8692953f39f24c609c7ce3b49298b6660ada9 | db47bb3df5a23753d1367dcf9fd7657655a80035 |
refs/heads/main | <repo_name>AdamK2003/bad-keyboard<file_sep>/bad_keyboard/328/328.ino
#include <Arduino.h>
#include <RotaryEncoder.h>
#include "font.h"
// Shift register pins
int srDataPin = 4; // SER
int srLatchPin = 5; // SRCLK
int srClockPin = 6; // RCLK
// Rotary encoder pins
int rePin1 = 2;
int rePin2 = 3;
/... | 9f84ce82c7fac98d37c70ed1245311c54548c968 | [
"Markdown",
"C++"
] | 3 | C++ | AdamK2003/bad-keyboard | c8069035fd58cde1b84a425915829337af77b78b | 06798520d9f97af3eace2ddfeccc40d09726080b |
refs/heads/master | <repo_name>lexdu53/laFactory<file_sep>/src/main/resources/templates/admin/admin-dashboard.php
<?php
session_start();
include("../config.php");
include("../class/user.class.php");
include("../class/admin.class.php");
// structure de la page :
// On inclue le header :
// Titre De la page :
$titre_page_act = "Admin D... | 43dfddd5da9a100bca6360e2a074bfb5c194bc6f | [
"Java",
"PHP",
"INI"
] | 11 | PHP | lexdu53/laFactory | a8ed108c1aae93066a230ceeedf079aa421b648b | a6a9ab49dbc27f19029aef5e1c9006b8ff86770e |
refs/heads/master | <file_sep>const chai = require('chai');
const assert = chai.assert;
const Translator = require('../components/translator.js');
let translator;
suite('Unit Tests', () => {
translator = new Translator();
test("Mangoes are my favorite fruit.", function(done){
let output = translator.translate("Mangoes are my fav... | ecddba466d5cbceb6f838756543c7a4ed823dcef | [
"JavaScript"
] | 2 | JavaScript | Legendarytruth/boilerplate-project-american-british-english-translator | 8b56b4b0d43ed74e676b50e657b909ebc7ccbd7e | 1a59a93d94c462e18c6f38900b1e8f674e503a52 |
refs/heads/main | <file_sep>using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using WindowsFormsApp1.Entities;
namespace WindowsFormsApp1
{
public part... | 9f8949be8656c26a5ad8c77d9eb3fcf99cf909a4 | [
"C#",
"Text"
] | 3 | C# | W8788F/IRF_Project | afd5a41beaa90b6ff9ba7645ae67ea78614e50c3 | 109ef5ccb232e19e6eaafdd42a5d3d3736860270 |
refs/heads/master | <file_sep>FROM iojs:1.6.4
RUN npm install -g cb-cloud-benchmark
CMD [ "/bin/bash -c \"while true; do sleep 1; done\"" ]
<file_sep>import { Mock, Cluster } from "couchbase";
export default function (uri) {
let cluster;
if (uri) {
cluster = new Cluster(uri);
} else {
cluster = new Cluster("couchbase://127.0.0.... | f9888dcd9c9eee49ab13bc23b53f155276c02eff | [
"JavaScript",
"Dockerfile",
"Markdown"
] | 9 | Dockerfile | misterbisson/cb-cloud-benchmark | 0da28d2905c011b114ba9f273dbf9a23500fa122 | 995263abb35090195e941fcf58e61cc1ed8ab383 |
refs/heads/master | <repo_name>spirit-component/goja<file_sep>/fbp.go
package goja
import (
"github.com/go-spirit/spirit/mail"
"github.com/go-spirit/spirit/worker/fbp/protocol"
)
type fbp struct {
session mail.Session
}
func (p *fbp) NewError(namespace string, code int, message string) error {
return &protocol.Error{
Code: ... | 433d8ae291ddc1521d997a103e004759ebb7ccea | [
"Markdown",
"Go"
] | 18 | Go | spirit-component/goja | 9dbd4e7478019a543d5262bcc5448ec478fd84e4 | c97dd02bc2a3489360e976190996eb1d6518d1a0 |
refs/heads/master | <file_sep>require "formula"
class TexRequirement < Requirement
fatal false
env :userpaths
def satisfied?
quiet_system("latex", "-version") && quiet_system("dvipng", "-version")
end
def message; <<-EOS.undent
LaTeX not found. This is optional for Matplotlib.
If you want, https://www.tug.org/mac... | 8672d3f429a9fe3d4fd92b6eb54112d8841e5552 | [
"Ruby"
] | 1 | Ruby | jaympatel1893/homebrew-python | e0e7a8996eac0416ee51a1ed2bd5a64906a4e7bd | d45ae0d4ba557c58bc2c20a6703e7862d20763ac |
refs/heads/master | <repo_name>jwaataja/bcel-util<file_sep>/CHANGELOG.md
# BCEL-Util change log
## 1.1.9
- Fixed bug in stack map processing
- Prefer new method `binaryNameToType` to `classnameToType`
## 1.1.8
- Add new static field `BcelUtil.javaVersion`
## 1.1.7
- Prefer new method `fqBinaryNameToType` to `classnameToType`
## 1.1... | 70120c053b43f98c48a1b472ad8cc8fdce5ee96b | [
"Markdown",
"Java",
"Shell"
] | 3 | Markdown | jwaataja/bcel-util | 8c0479fb53bf459651badc38eb1c9cf158bb95fd | 1488c0e46ca97a3b4a4ef310aa468beac77b3c13 |
refs/heads/master | <file_sep>using Microsoft.EntityFrameworkCore;
namespace AdminBlog.Models
{
public class BlogContext:DbContext
{
public BlogContext(DbContextOptions<BlogContext> options) : base(options)
{
}
public DbSet<Author> Authors { set; get; }
public DbSet<Category>... | b3da6c2bafb3f7eec2cb353fde5bd57e38b172d0 | [
"C#"
] | 1 | C# | FYvgunes/AdminBlog | 1d3d6509d05f9f4f2f5e735d9c83cba74a939081 | 4260deaf2c7c8dabcafd7622d36971e78c89c5f9 |
refs/heads/master | <file_sep># mean-crud
MEAN, Node, Angular7, table, reactiveForms
<file_sep>module.exports = {
db: 'mongodb://link:qwe123@ds<EMAIL>.ml<EMAIL>:11425/fullstack-blog'
};
| 104c4eecf6f11b44df8ebc602a27191c00076c8b | [
"Markdown",
"JavaScript"
] | 2 | Markdown | MatviyO/mean-crud | 918064261665c440ac8541c97a4252b2a372f9bd | 32c6bc853a622ae7a081f1ab4245c3e2197a9210 |
refs/heads/master | <file_sep>package com.example.upload;
import java.io.File;
import com.example.upload.clip.PhotoClipperActivity;
import com.example.upload.imageloader.ImageLoaderHelper;
import com.example.upload.utils.FileUtils;
import com.nostra13.universalimageloader.core.ImageLoader;
import com.nostra13.universalimageloader.... | 13de101b3708bd391d760a3791aec6c3dbcc3b69 | [
"Java"
] | 3 | Java | kinglisir/UpLoadingIcon | 0213de65a2a41dda2563f9b58b0d33db930f218b | c9ab0c992f8090e4a207294cfb2378fe1ead0272 |
refs/heads/master | <file_sep>#include <bits/stdc++.h>
#define int long long
using namespace std;
map<pair<int, int>, string> mp;
int answer[50][40];
int decodeExpr(int x, int y, string expr) {
if(answer[x][y] != 0 )
return answer[x][y];
if (expr.empty()) {
answer[x][y] = 0;
return 0;
}
if (expr[0]... | 4a6f586ca22c3af62f8db9adc04edcc552d54322 | [
"C++"
] | 5 | C++ | alexradu04/Competitive-Programming | fc5e3017c18cf4f49e9a0b79e02980b1ee0edaa7 | afe8a794b5db0722b82b502915bd83ea2886890f |
refs/heads/master | <file_sep>package fecasado.citius.usc.tecalischallenge;
import android.Manifest;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.Context;
import android.content.pm.PackageManager;
import android.location.Location;
import android.location.LocationManager;
import android.os.Bu... | b81833e45365e0bd02c7e4bab9e5fdfb7d104cfc | [
"Java"
] | 3 | Java | fertevez/tecalis-challenge | 602d932ef20a7c9f7b0f7974eb64f2e41242dec9 | d525b6d8933d45f4ecaff2d8bdc7c2438d8c99b7 |
refs/heads/master | <file_sep>#Installer file settings
#DO NOT CHANGE unless the download id's have changed
default['radiobot']['install'] = {
'debian' => {
'packages' => 'openssl sqlite3 libsqlite3-0 libmysqlclient18 libwxgtk2.8-0 libcurl3 libphysfs1 tcl8.5 libloudmouth1-0 libtag1c2a libtagc0 espeak espeak-data festival libssl1.0.0 l... | 664a595a751e59d371c4d9e47685c0cf49c3063a | [
"Markdown",
"Ruby"
] | 5 | Ruby | LiamHaworth/radiobot-cookbook | 1f4f8dba1c5296aa309f2e7d5434f44b6f29f9d1 | 7bc5a03a02fb7064da9e0d7a05022afe47c9e04e |
refs/heads/main | <file_sep>import React from 'react';
import styled from 'styled-components';
import headerBG from '../../svg/headerBG.svg';
import logo from '../../svg/logo_dark.svg';
// import logospin from './logospin.svg';
import {Link} from 'react-router-dom';
import './hamburger.css';
const NavbarStructure = ({ className }) => {... | 3ed1ef572d42f4d4f4f69c66b67715ea86cceecc | [
"JavaScript",
"Dockerfile",
"Markdown"
] | 6 | JavaScript | wfanni/tech-magazine | 66a886d01e7f8602e85b3a7a4cde17f6ca89c217 | 4e9f959df89472b5d169bd05dd6c7e1387daaad7 |
refs/heads/master | <repo_name>LeoB-O/DJMall_FrontEnd<file_sep>/src/router/index.js
import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/view/index'
import SignIn from '@/view/SignIn'
import SignUp from '@/view/SignUp'
import Cart from '@/view/Cart'
import Main from '@/view/Main'
import Content from '@/view/Content'
... | bc98fcca4139d6621b91efca9934d3b398729ab4 | [
"JavaScript"
] | 2 | JavaScript | LeoB-O/DJMall_FrontEnd | 2e560e989efaf715e9c57b05d92fd6abf2c29abe | 55e21ca7f0015e3838582986c910838de92cf91d |
refs/heads/master | <repo_name>iamgovindthakur/interestCalculator<file_sep>/src/main/java/baseClasses/BaseTestClass.java
package baseClasses;
import java.io.File;
import java.io.FileInputStream;
import java.util.Properties;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.Chro... | 7511221aa4d72a11c59f2d927023564e238f6b9e | [
"Java",
"HTML",
"INI"
] | 7 | Java | iamgovindthakur/interestCalculator | c10f83ab3025322d52775cc0affd1d3b75630fe8 | 4a74f21a44c5b8d8677461be79444a6398fffd9d |
refs/heads/master | <file_sep># sketch-app
Paint style application for Android.
<file_sep>package com.just.sketchapp
import android.app.Application
import com.just.sketchapp.dialog.BitmapExportManager
import com.just.sketchapp.dialog.ColorPickerManager
import com.just.sketchapp.ui.ViewModelFactory
import com.todo.shakeit.core.ShakeIt
im... | 72f8ef2834d7dc0b9b6547aa22fd3f23a33cae0b | [
"Markdown",
"Kotlin"
] | 10 | Markdown | justynias/sketch-app | 4c2a9b3b7d2e9621cd3c50f3271b4ebb9970e119 | b1fd67a81fff52b60f8f993a990b0de5f0711517 |
refs/heads/master | <file_sep>#!/usr/bin/env bash
# download the latest version
# I need verify if exists in directory currently exist version specific whatelse I need to download
# create variavle for resuse go version and go complete name
# wget -c https://storage.googleapis.com/golang/go1.11.1.linux-amd64.tar.gz && \
# check the int... | 2824946472b0e0ac2b73ffcec5a2faf5a5c4f87d | [
"Shell"
] | 1 | Shell | astesio/go-path-install | eb75172b3acb94276b3dd62a2aae5226e060bade | cb54c0b1e5a4dbed22fa7404cd9d8765458b6796 |
refs/heads/master | <repo_name>AndreyVMarkelov/delete-all-attachments<file_sep>/src/main/java/ru/andreymarkelov/atlas/plugins/attrrem/action/DeleteAttachAction.java
package ru.andreymarkelov.atlas.plugins.attrrem.action;
import java.util.Collection;
import com.atlassian.jira.bc.JiraServiceContext;
import com.atlassian.jira.bc.JiraServic... | d632df3391952c4d01ecbbe4cacf30def665d847 | [
"Markdown",
"Java",
"JavaScript",
"INI"
] | 8 | Java | AndreyVMarkelov/delete-all-attachments | 08f5402d2fb43c4a5c9a28a40ef3769fa6b777c5 | ca73bdd949c3ab5bda2dba6b41e05167fbad8ced |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.