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>twigz826/Oystercard<file_sep>/lib/oystercard.rb
require_relative 'station'
require_relative 'journey'
class Oystercard
DEFAULT_BALANCE = 0
MAX_BALANCE = 90
MIN_FARE = 1
attr_reader :balance, :journeys, :journey
def initialize(balance = DEFAULT_BALANCE)
@balance = balance
@journeys = []
... | 8c16f61207ed39880b788f773aea51bf6c7a4d18 | [
"Markdown",
"Ruby"
] | 7 | Ruby | twigz826/Oystercard | 4ecb8c3b712b4a83b9cd6f6c7d0d5d33f9632aa5 | 576c6b6a0308c785567d2a62987021e4c3da272b |
refs/heads/master | <file_sep>#!/bin/bash
helm init --kube-context docker-for-desktop
helm upgrade nginx-ingress stable/nginx-ingress --install \
--kube-context docker-for-desktop \
--namespace kube-system \
--set rbac.create=true \
--set controller.service.externalTrafficPolicy=Local
helm upgrade postgresql stable/postgresql -... | 24c4ad8952a1778af2f6feb922fcc0db27d8e48b | [
"Markdown",
"Shell"
] | 4 | Shell | matchish/nextcloud-minikube | d433491782626d7ccfb6b3f33ff5238b7ae7582a | bf59008b9cea3922a430ac49e6941bfb40f17f9d |
refs/heads/master | <file_sep>import numpy as np
from solve_sys import solve_linear_system
from bisect import bisect_left
from tabulate import TabulatedFunction
class Interpolation:
def __init__(self, tabulated_function, interpolation_coefficients):
self.coefficients = interpolation_coefficients
self.function = tabula... | 1c332b4cd46379bcc2fb0d692f856e648e768cb6 | [
"Markdown",
"Python"
] | 10 | Python | infected-mushroom/Num_Methods | 3e674d2e95c1df3f08ef5a6cf4ab24cf29ae2632 | 7097e160ffa9808ffbb2922c35f0cf9a8498b0ab |
refs/heads/master | <repo_name>jonschipp/ewhois-query<file_sep>/ewhois-query.sh
#!/bin/bash
usage()
{
cat <<EOF
Query the ewhois.com engine.
* Whois Lookup
* Reverse IP Lookup
* Reverse Adsense ID Lookup
* Reverse Google Analytics ID Lookup
Query Options:
-w <dns> Whois
-r <ip> Reverse IP
... | 2ead333fef0e29e13b5ab9852f57097e9c11a1b8 | [
"Markdown",
"Shell"
] | 2 | Shell | jonschipp/ewhois-query | ea6483f9f68756bc4baaf1ff2cbb07431a6dd40e | fa70a28474ad9a78883a1d9555f74af80656f4dc |
refs/heads/main | <repo_name>glennjw/DNA-sequence-pairing<file_sep>/README.md
# DNA-sequence-pairing
Dynamic pair the DNA sequence.
This project is to compute the maximum number of permissible letter pairs
from the input sequence of 4 letters (A, C, G, U). For these letters, legal
pairs are A-U, U-A, G-C, C-G while others (such a G-A... | 7e425dfb61902648742e91751745e475a12b1c32 | [
"Markdown",
"Python"
] | 2 | Markdown | glennjw/DNA-sequence-pairing | 3a2ad0b7d309e781d80126276e3be471cdf124af | 28801610cead425425460888e8cc8a55567e5be8 |
refs/heads/main | <file_sep>package DesafioAssertiva;
import org.junit.Assert;
import org.junit.Test;
public class TesteCadastro {
Cliente cli = new Cliente();
@Test
public void atualizar () {
Assert.assertEquals("<NAME>",cli.getNome());
Assert.assertEquals("<EMAIL>",cli.getLogin());
Assert.assertEq... | 48fc20068c7a56717ffa130e8fc4bb65bf308b4a | [
"Markdown",
"Java"
] | 2 | Java | laryscampark/CampinasTechTalents_DesafioAsertiva | f5d692aa47f2a46edae54483b0995437133ad1a4 | 44d674c55ad8b28eb028df8a9370bb5900cb0f6f |
refs/heads/master | <repo_name>PPraskov/Genetic-Algorithm<file_sep>/src/main/java/geneticalgorithm/interfaces/functional/CalculateFitness.java
package geneticalgorithm.interfaces.functional;
public interface CalculateFitness<R,T> {
R calculate(T solution);
}
<file_sep>/src/main/java/geneticalgorithm/interfaces/functional/Mutation.jav... | cd831e0996795b5e742d1826fc97d8cee71c7108 | [
"Java"
] | 7 | Java | PPraskov/Genetic-Algorithm | 1cbc0d6fcea3fc32888f746174f4a0537045fb4e | 4afc38f2beb4f7443468cbcc9a2238c94f5fe19d |
refs/heads/master | <repo_name>nixpulvis/cs4740<file_sep>/README.md
# CS4740 Network Security
[](https://travis-ci.org/nixpulvis/cs4740)
This is the complete collection of work done for Network Security at
Northeastern University. These modules and executables are ... | 99177168a8d63a98152099a5792e10ad53000d2c | [
"Markdown",
"Rust",
"TOML"
] | 12 | Markdown | nixpulvis/cs4740 | bcf1daf4a4c19a064f38e9b4987ff15d0185ffaf | 79fc39df5ee0446337870cfc6cb97eead2c82e57 |
refs/heads/master | <file_sep><?php
$link = 'nope';
include('._-configurations._-/loader.php');
//see if the IP exists for username.
if($TibiaMarket->isLogged()){
$userData = $TibiaMarket->userData();
$id = $userData['id'];
$getIPs = $odb->prepare("SELECT * FROM `internetprotocols` WHERE `userid` = ? && `ip` = ?");
... | 9b36a9d53d9beddaeaabc3bb3c164a74a5803336 | [
"JavaScript",
"PHP"
] | 29 | PHP | sheepiiHD/TibiaMarket | b451c17f1efcab98f16a6e865a37434eb5e2df2b | 809aba92cfe7599654af0a13ec7066ed369e8eae |
refs/heads/main | <file_sep>require("../../../model/pet");
require("../../../model/pet_transaction");
require("../../../model/ring_record");
const sequelizer = require("../../../config/mysql2");
const result = require("../../../utils/Result");
module.exports = async (req, res) => {
let address = req.query.address;
let petI... | 3b9bc1821096cc43389e57e9dae08e14ff4ea1ed | [
"JavaScript"
] | 22 | JavaScript | slightly-null/nulls_world_api | 801873051e74e8778b4db954e3c3d8b593d07661 | 01ea7d0f816a67d853609865fdc1a5f20b162517 |
refs/heads/master | <repo_name>LogisticsCompany/LogisticsManagementSystem<file_sep>/src/com/biyeseng/action/AddMsgAction.java
package com.biyeseng.action;
import java.io.IOException;
import java.io.PrintWriter;
import java.sql.*;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpS... | 7727869eb2d523288503d8aca45bb11e1a9a3744 | [
"Markdown",
"Java"
] | 5 | Java | LogisticsCompany/LogisticsManagementSystem | 554fa6950b42048fe69fafa84fdea649bc7af026 | dd64c3c1ebd339d1770a33853897efa73089b04e |
refs/heads/master | <repo_name>zjy243352154/gdx-pandas<file_sep>/requirements.txt
enum34; python_version < '3.4'
future
gdxcc
pandas>=0.20.1
numpy>=1.7
<file_sep>/gdxpds/special.py
# [LICENSE]
# Copyright (c) 2020, Alliance for Sustainable Energy.
# All rights reserved.
#
# Redistribution and use in source and binary forms,
# with or with... | 36b31ba0d79ff5559df92e52b711bdfa6cdd42d1 | [
"Markdown",
"Python",
"Text"
] | 15 | Text | zjy243352154/gdx-pandas | 24dae4f17e53d29fbac76bbff4b9febff19dae04 | 958574dd8bebb4ebc515704ef433e09559e6186a |
refs/heads/master | <repo_name>nibalizer/inaugust.com<file_sep>/src/js/task-report.js
$.fn.graphite.defaults.url = "http://graphite.openstack.org/render/";
tasks = [
'CreateServer',
'DeleteServer',
'ListServers'
];
float_tasks = [
'AddFloatingIP',
'CreateFloatingIP',
'DeleteFloatingIP',
'GetFloatingIP',
'L... | 014f8e8e470a4373919f9a73aefeef1b70147552 | [
"JavaScript"
] | 1 | JavaScript | nibalizer/inaugust.com | 1b482f692a7a0c0a9d8fc5f17eafff501f11ab32 | 8c4fb251b5def1e673a87e331387f5bb37a012ab |
refs/heads/master | <repo_name>MGUltra/CS290<file_sep>/Assignment4/script.js
/***************************************************************
* Name: <NAME>
* Date: 10/30/2016
* Class: CS290 - Web Development
* HW Assignment: DOM and Events
* Description:
****************************************************************/
/*************... | 315258181d5503d5b7af004905019871230ed1e7 | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | MGUltra/CS290 | 8f6276641a216cac37802642bd4ebbe5651b0ad5 | 011a4855baad8a073c9214ef8deb326b08b1dd66 |
refs/heads/master | <repo_name>maxithub/reactive-app<file_sep>/src/main/resources/schema.sql
drop table if exists app_user;
create table app_user (
id varchar (20) not null,
first_name varchar (200) not null,
last_name varchar (200) not null,
middle_name varchar (200),
gender varchar (50) not null,
age smallint not null,
pr... | f4a20d23d6245c782a1d813f68df9e806980ec85 | [
"Java",
"SQL",
"INI"
] | 7 | SQL | maxithub/reactive-app | 803ee09006eee0772fa8b30d5990efd4ce1a4686 | 221c6c120e371974f5a228cf56423e52e3fa97fe |
refs/heads/master | <file_sep>package com.cmeb.cnm.firstassignment;
import android.graphics.drawable.Icon;
/**
* Created by User on 14/11/2017.
*/
public class Currency {
public String name;
private int flag;
public double rate;
Currency(String n, int f, double r) {
name = n;
flag = f;
rate ... | 476f4d2b790f8c9347d3e8780c1cf5086e8c0731 | [
"Java"
] | 2 | Java | carlamota/currency_assignment | 91f82262093c52b8848f27143b658284bda2673d | 242164e7d0cfa7bad975652a34e5db9208d8dd7a |
refs/heads/master | <repo_name>federikos/hooks-context-use-json-fetch<file_sep>/src/Component3.js
import React, {useState, useEffect} from 'react';
import useJsonFetch from './useJsonFetch';
import { store } from 'react-notifications-component';
import Loader from 'react-loader-spinner';
const Component1 = () => {
const [switcher, setS... | a5844b00737f73f14926154f46ce727353cc8af6 | [
"JavaScript"
] | 2 | JavaScript | federikos/hooks-context-use-json-fetch | 8dc4c2867fa24a1dfa923e901b248f43ad4c4fe0 | bc452b47a16543804992eeb313a4e534f42f2e74 |
refs/heads/main | <repo_name>hkid/goWebBubbleV2<file_sep>/main.go
package main
import (
"awesomeProject2/models"
"awesomeProject2/dao"
"awesomeProject2/routers"
)
func main() {
// 0 创建数据库
// 1 连接数据库 ->封装为函数
err:=dao.InitMysql()
if err!=nil{
panic(err)
}
//模型绑定
dao.DB.AutoMigrate(&models.Todo{})
r:=routers.SetupRouter()
... | 75a139c17607d2bef7cbb349f2d178c6b2bf43f2 | [
"Go"
] | 2 | Go | hkid/goWebBubbleV2 | 19d5809484d3d4e52431d860253fc2c3d22dc4af | bd2e76acd878b9debd79278e4dc8799a514f3f3d |
refs/heads/master | <repo_name>artemsen/xvi<file_sep>/src/ui/insert.rs
// SPDX-License-Identifier: MIT
// Copyright (C) 2021 <NAME> <<EMAIL>>
use super::dialog::{Dialog, DialogHandler, DialogType, ItemId};
use super::widget::{InputFormat, InputLine, StandardButton, WidgetType};
/// "Insert bytes" dialog.
pub struct InsertDialog {
le... | fcccc0acd8ceef5d757de7ef118a1b9528236781 | [
"Markdown",
"TOML",
"Makefile",
"INI",
"Rust"
] | 29 | Rust | artemsen/xvi | b04e2496e10e2f60a0d5ac06ade6454e18b386be | 2d136f7fe02c977668e3ab7bf4b97a6cbd7f171c |
refs/heads/master | <file_sep># DEPRECATED & BROKEN
A proof-of-concept ScraperWiki tool, built to work with an old version of the beta platform.
**This will not work on beta.scraperwiki.com** but you're welcome to port it :-)
<file_sep>#!/usr/bin/env python
from __future__ import division
import sys
import scraperwiki
import lxml.html
i... | 2192f147dc4f3bf4726c1a1d0a71bd962c3c26ab | [
"Markdown",
"Python",
"Shell"
] | 3 | Markdown | scraperwiki/highrise-tool | 4ff1018dfe9ed40af7bdacd8fd2afd90098fcc41 | 4cf07245b61a29772f767d5e1051489976576bc2 |
refs/heads/master | <repo_name>jokinL/frontend2<file_sep>/js/form.js
// On load
$(function(){
// Get list of post
list = $(".section");
// Get first post
post = $(".article").first();
/*
#####################################
EVENTES
#####################################
*/
// Open/Close form
$("#js-publish").click(viewform);
$... | 9ccf6e3c75d2d8cbe249e8d658d90f243e62c918 | [
"JavaScript"
] | 1 | JavaScript | jokinL/frontend2 | 0a157e46b64d014cbcafe04f19e6854cb4ad246a | 1303335db15f2386e082034737ee0c3382225973 |
refs/heads/master | <file_sep>
CHOICES = {'p'=>'paper','r'=>'rock','s'=>'scissors'}
puts 'welcome to rock paper scissors'
loop do
def display_winning_message(human, computer, win_or_lose)
if win_or_lose == "win"
puts "you chose #{human} and the computer chose #{computer} you won!"
elsif win_or_lose =="lose"
puts "you ch... | 933d9f99d4b267e3018b9c430d854530dde0fa62 | [
"Ruby"
] | 1 | Ruby | merrillcook0/tealeaf_exercises | f5487960b2cb994f7e85691083ce670a4272af67 | 76944dc3c9e67e999c1da8b77152b13bc5b00caa |
refs/heads/master | <file_sep>require 'hashie'
require 'active_support'
require 'active_support/core_ext'
module Google
module Calendar
class Event
# API Reference
# * https://developers.google.com/google-apps/calendar/v3/reference/#Events
#
# Supported Google Calendar API (Events)
# Method VERB ... | e8b744ee99c59c9145c4e6d4ebc58d7129992af8 | [
"Markdown",
"Ruby"
] | 10 | Ruby | ogawatti/gcevent | 2f094f5ad42be0af78056ec3ec6bfb41cb989169 | ca246977f2ee54d510286b279c05a9e6c0aff499 |
refs/heads/master | <file_sep># Scheduler
This is a scheduler including a task list and a deadline list. It was made in inspiration to those physical copies of daily task schedulers. Therefore, the elements represent paper to create that "real-life"-scheduler feel.

Gem::Specification.new do |s|
s.name = "log_graft"
s.version = "0.0.1"
s.platform = Gem::Platform::RUBY
s.authors = ["<NAME>"]
s.email = ["<EMAIL>"]
s.homepage = "http://kevy.com... | 437d8a40075cfaf498ac428aa5788f5a4d0924b0 | [
"Ruby"
] | 2 | Ruby | barberj/log_graft | 491a2b589be8f319b19f929fa4a4064b82f514e3 | 27ebb7c316d8b319194a255d18a74edf40248e99 |
refs/heads/master | <file_sep>package com.example.mibandtextsender
import android.app.NotificationChannel
import android.app.NotificationManager
import android.content.Context
import android.os.Build
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.EditText
import androidx.core.app.Notificati... | 54587f416c8fa262c42fe991198af684b0e0ded5 | [
"Markdown",
"Kotlin"
] | 2 | Kotlin | IvanBespalov64/MiBandTextWriter | 59f3e427e65a1c4bf778119b50d0e932c4410892 | 41e8b811edb528e54dbb4bdc222c489e8bcbbe07 |
refs/heads/main | <file_sep>"""Module for the Saved Recipe Model"""
from django.db import models
from django.contrib.auth.models import User
class Saved_Recipe(models.Model):
spoonacular_id = models.IntegerField(null=True)
user = models.ForeignKey(User, on_delete=models.CASCADE,)
title = models.CharField(max_length=100)
... | 68e6c989eb301e1ae2a5b0032b1120c9425cfe02 | [
"Markdown",
"INI",
"Python",
"Text",
"Shell"
] | 17 | Python | Heath-Lester/cookit_server | e0520c71b57230908e83f8139d0347299746cb8f | 817bf41a9bc0a4ae3b46c021dc07f1c00c4cf827 |
refs/heads/master | <repo_name>EandM/D228<file_sep>/sorting.cpp
#include<stdio.h>
#include<stdlib.h>
#include<time.h>
#define SIZE 100000
void setArray(int array[])
{
srand(time(NULL));
for(int i = 0; i< SIZE;i++)
{
array[i] = rand()%100;
}
}
void printArray(int array[])
{
for(int i = 0; i< SIZE;i++)
{
printf("%d ", array... | 00adf7fa02b4959f547396b4750955d6b8ddc466 | [
"C++"
] | 1 | C++ | EandM/D228 | b71aeb9d0250052f18387d0254467b92cdf0417d | 4ecea35a366ff4678aee6af15feeaf763295db4d |
refs/heads/master | <file_sep>import pandas as pd
import numpy as np
import logging
import os
from .utils import mask_cell,mask_cell_surface,mask_cube_cell,get_bounding_box
def cell_statistics_all(input_cubes,track,mask,aggregators,output_path='./',cell_selection=None,output_name='Profiles',width=10000,z_coord='model_level_number',dimen... | 7746bc6553e721b3cb1afcac1a1d21f5fe169b99 | [
"Python",
"Text",
"reStructuredText"
] | 15 | Python | zxdawn/tobac | 61be9af85e0f1e8dd287b337bebdb5af8d0a768f | 9a64f8b93a73947068044f36a149a95ae3a3ddba |
refs/heads/master | <repo_name>Czakero/sql-gs<file_sep>/src/main/java/com/sqlcsv/sqlcsv/controller/exception/ParseQueryException.java
package com.sqlcsv.sqlcsv.controller.exception;
public class ParseQueryException extends RuntimeException {
public ParseQueryException(String message) {
super(message);
}
}
<file_sep>/src/m... | 57a40f3dd32e597b229fa9e3c1c7e2c399e9ba1a | [
"Markdown",
"Java"
] | 10 | Java | Czakero/sql-gs | 0bbb890a3d942c76a4d743279b891d47b019eaff | 02b52ae922712c6e8132cf9dd5709c4729d312df |
refs/heads/master | <repo_name>frankdev95/RESTful-API-node-rest-shop<file_sep>/server.js
const http = require('http');
const app = require('./app');
let port = process.env.PORT !== undefined ? process.env.PORT : 3000;
// create a simple http server and pass in app which acts as a request handler, app is exported from app.js.
const serve... | d3f41ddeca5ede4830b0d97b589db7efecb07b62 | [
"JavaScript"
] | 5 | JavaScript | frankdev95/RESTful-API-node-rest-shop | 3cbd1c2f2b69169c38f3105aedc59b7c00551a5d | 6a9d3c08e9f823bc9b109ed97c78994645c5635a |
refs/heads/master | <repo_name>mpantoj/MobileAppGoogleMaps<file_sep>/src/pages/home/home.ts
import { Component } from '@angular/core';
import {
NavController,
AlertController, //Controlador de alertas
LoadingController, //Controlador de carga
Loading, //Mensajes de carga
Platform, //Conocer en que plata... | b2f0b0dba3e06985376356bf73a5ed4f02bc85a5 | [
"TypeScript"
] | 1 | TypeScript | mpantoj/MobileAppGoogleMaps | a3a3dfb240bef20cf38c41aaa268691f6d96fd9a | dae7c224156ba3bc4565ee3ec553ef2d015559b8 |
refs/heads/master | <repo_name>nikhils4/project-solution<file_sep>/first.py
s = input()
j = list(s)
p = list(map(int, j))
lenp = len(p)
cost=[0,3.5,2.5,4,3.5,1.75,1.5,2.25,3.75,1.25]
final = 0
for i in range(0,lenp):
final = final + cost[p[i]]
print('$',"%.2f"%final)
| d38c51fccec3c8ffa3644b910e733f557bdb7bb8 | [
"Python"
] | 1 | Python | nikhils4/project-solution | a39510f2aa5e8ff20fa3fb2c21b9ae696e75de96 | 91e692f883c6c02210c59df439ff39b3f0c0c7af |
refs/heads/master | <file_sep># pc-acs-upb
laboratoare upb acs
probleme rezolvate de andrei radu de la seria ac grupa 312.
<file_sep>#include <stdio.h>
#include <stdbool.h>
#include <limits.h>
void main () {
int vector[10], n;
float medie = 0.0f;
printf("Introdu numarul de elemente: ");
scanf("%d", &n);
for (i... | 3cca082fddde69970b7ad314a64634962b5b79ea | [
"Markdown",
"C"
] | 101 | Markdown | brospresident/pc-acs-upb | 79f6569d2055f8ded5cf745459cd1ec6c8747f0d | 3ef2da7d0954f8d12fe3507d6e1408280753d889 |
refs/heads/master | <file_sep># hello-world
Miscellaneous -
Just getting used to using GitHub.
<file_sep>name_age = input("Please enter your name and age:")
for i in range(len(name_age)):
if name_age[i] in '01023456789':
name = name_age[: i - 1]
age = name_age[i - 1 :]
print (name.rstrip() + ', you will be 100 years o... | 73c88987d8491a7dcf62004e64d3ee67a7b3abb6 | [
"Markdown",
"Python"
] | 2 | Markdown | penkelver/hello-world | 0230bbeaf1c636864d35f78dbc31b46168a7e4cb | 94a5067681d7ed5b2fff88ddea64b43f0e1eb8fb |
refs/heads/main | <file_sep># alcumus-ad-remover
Removes the ready for next ad from alcumus on AoPs.
# Installation
Install tampermonkey here <a href='https://www.tampermonkey.net/'>Tampermonkey</a>.
Then, click <a href='https://github.com/leocabbage2008/alcumus-ad-remover/raw/main/main.user.js'>here</a>.
<file_sep>// ==UserScript==
/... | a79d68ee7a1bd456b8b2d6f9ba32d485dfc7516f | [
"Markdown",
"JavaScript"
] | 2 | Markdown | leocabbage2008/alcumus-ad-remover | 70d8d11f27910f5593d267611752881268fde127 | c638a2c2ac6e5f4753db0e0d965dc5477b376b0d |
refs/heads/master | <file_sep>
import pytest
import wcf
@pytest.fixture
def conn():
conn = wcf.Scraper()
return conn
def test_name_reformat(conn):
assert conn._reformat_name('Sweden') == 'SWE'
assert conn._reformat_name('Czech Republic') == 'CZE'
assert conn._reformat_name('United States of America') == 'USA'
<fi... | 5b7579379b38bcca3eccf76cc8f9e9099e4164b7 | [
"Python",
"reStructuredText"
] | 7 | Python | mmoran0032/wcf | bb421c63d58f70b16e4297a0421e781c90b6fc51 | b643f7dc04eaef544a96881704b558112aaf85ea |
refs/heads/master | <file_sep><?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
... | 5ec717e0916a46ae43fe4d6611de8cf3f347889e | [
"SQL",
"JavaScript",
"Markdown",
"Maven POM",
"Java"
] | 43 | Maven POM | zhihao-liang/TR-WE-430-Ditto | 857a79bae466f541fcd0b12e069fec185deba86c | fef3a5466db3d390b444a2e7626244fcb19f3d41 |
refs/heads/master | <file_sep><?php
/**
* @Author: 王金龙
* @Date: 2017-11-30 16:25:36
* @Last Modified by: 王金龙
* @Last Modified time: 2017-11-30 18:36:21
*/
// header(string:'cont ent-type:text/html;charset=utf8');
$user=$_GET['user'];
$pass=$_GET['pass'];
if($user=='admin'){
if ($pass=='<PASSWORD>') {
echo "登录成功";
}else{
ec... | 5551b1c53b9328911cefa6f4117c79e0a562e201 | [
"PHP"
] | 1 | PHP | wang123jin/kuang | 8464fe94db88cfc3c41acd7c25449d09a35e5d15 | 8948d538eb0c4e4e531a9fc31f7384e49d3adb6b |
refs/heads/master | <repo_name>NominationP/go-DelegationMode<file_sep>/v2/UndoDelegationModeV2.go
package v2
import (
"errors"
"fmt"
)
/**
UndoDelegationMode.go 中的数据容器平淡无奇,我们想给它加一个Undo功能
*/
type UndoableIntSet struct {
IntSet // Embedding (delegation)
functions []func()
}
func NewUndoableIntSet() UndoableIntSet {
return UndoableI... | 161b69fc152996858dd96e21836cec92dadf6d93 | [
"Markdown",
"Go"
] | 4 | Go | NominationP/go-DelegationMode | ce02c3f112d95c20dc29bb1cf0be78a0c66de9c3 | e1b1a44ca4903ea177d852c079208a2d7d63725c |
refs/heads/master | <repo_name>damienmartindarcy/Recommender<file_sep>/DL Recommender.py
# Deep Learning recommender
# https://github.com/khanhnamle1994/movielens/blob/master/Deep_Learning_Model.ipynb
# Import libraries
%matplotlib inline
import math
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
# Re... | 4f800245bc7864a537b36f6e2875d12bc4b9a6b0 | [
"Markdown",
"Python"
] | 3 | Python | damienmartindarcy/Recommender | 676acb5d2a3beaec57282edddf1a8a0222ec9a01 | e803c12b2c65041850e325ed1ac0ff260fb9e975 |
refs/heads/master | <repo_name>emilytsherwood/liri-node-app<file_sep>/liri.js
var keyFile = require('./keys.js'); //grabbing data from keys.js file
var Twitter = require('twitter');
var spotify = require('spotify');
var request = require('request');
var fs = require('fs');
var tweets = ''; //empty string to hold the tweets
var liriS... | 672d0bd4306bf694fe80c1379e5c8c45a3466731 | [
"JavaScript"
] | 1 | JavaScript | emilytsherwood/liri-node-app | 31aacdd699a027c8a496ea74e89b716f6d8fc249 | b2df5577c7fea9b786058f522a7027c6a20bb027 |
refs/heads/master | <repo_name>ANKIT9263/freETarget<file_sep>/Software/Arduino/freETarget/freETarget.ino
/*----------------------------------------------------------------
*
* freETarget
*
* Software to run the Air-Rifle / Small Bore Electronic Target
*
*-------------------------------------------------------------*/
#in... | 58e093ff4f3f3ac182c74df39ca19601cf2acdc8 | [
"C",
"C++"
] | 13 | C++ | ANKIT9263/freETarget | a6561440abe9a5721fd7a1b3cb4facf813abfdd9 | 36ca74bc81119865edf1a917202d8b2542bc3dce |
refs/heads/master | <file_sep>helo
hello world
readme
<file_sep>//hello testing git
//adding something new to the codew
#include<iostream>
#include<vector>
#include<math.h>
#include <cstdlib>
#include <cmath>
#include <limits>
#define E 2.7182818284
#define LAMBDA 3
using namespace std;
// mean = mu variance = sigma^2
double genera... | f7f6f7edb2a7c4e44b2a743c8219736635159568 | [
"Text",
"C++"
] | 2 | Text | shantoeee/youtube.demo | 0ad97627a07a77f0ab46114cd34968da38c41f48 | 055a961918c9aa487ba7e6149308a4252846992c |
refs/heads/master | <file_sep># Simple Quiz Using JavaScript
- [GitHub Pages Link - Go ahead and try it out](https://anshikag0219.github.io/js-quiz/)
- [Repl Link - for terminal execution](https://replit.com/@AnshikaG0219/js-quiz)
## Challenges
#### I have multiple challenges for you this time, So go ahead and try implementing any of th... | 2d0a8abdbb0337b9d7d5eb9a1e1a487f0c00be6e | [
"Markdown",
"JavaScript"
] | 3 | Markdown | AnshikaG0219/js-quiz | ec00f5e15f7ac9ac51f070c657691411e97a8b9e | 2e35613c161d5fc480f490ede99b1428b275ad36 |
refs/heads/master | <repo_name>stasbanned/BookingHairdresser<file_sep>/Hairs/AuthorizationVC.swift
//
// AuthorizationVC.swift
// Hairs
//
// Created by <NAME> on 27.05.2018.
// Copyright © 2018 <NAME>. All rights reserved.
//
import UIKit
import QuartzCore
class AuthorizationVC: UIViewController, AuthorizationProtocol {
var use... | 8f95ed24eee30cccc0417f8e9badc1a1cb04cdfa | [
"Swift"
] | 7 | Swift | stasbanned/BookingHairdresser | 5bcdd163473fcffb6fbb43bb233d0c85a6b7519c | 359ed145888099495cccd1c23fdd06bd24b52409 |
refs/heads/master | <file_sep>class Post < ActiveRecord::Base
validates :title, presence: true
validates :content, length: { minimum: 250 }
validates :summary, length: { maximum: 250 }
validates :category, inclusion: { in: %w(Fiction Non-Fiction), message: "%{value} is not a valid category" }
validate :click_bait, if: :title
... | 61488a376ca993b45766a040ca7ab26e85f2f259 | [
"Ruby"
] | 1 | Ruby | esmeryjose/activerecord-validations-lab-wdf-000 | 24bba1f10b7ecbf79d19f55a2be9e1bddaefe3c3 | 01c7c09d1de9ace55e724aa51a4eedea61f65429 |
refs/heads/main | <repo_name>crvvasconcellos/Golang<file_sep>/src/calculadora/calculator/calculator.go
// Package calculator provides a library for simple calculations in Go.
package calculator
import (
"errors"
"math"
)
var ErrExpected = errors.New("É impossivel dividir por ZERO - Resultado Indefinido")
var ErrExpected1 = errors.Ne... | 7f3db692e1c0d4d81a6d49589cf44110b1317126 | [
"Markdown",
"Python",
"Go Module",
"Go"
] | 44 | Go | crvvasconcellos/Golang | 7fb84809f0367f430c4d2c3b4297dc50e59e910c | 382d85da8108bf2a1c4f2d20073d01ccf70dbdd9 |
refs/heads/master | <file_sep>import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;
/**
* This class give users to game mode selection view, which has two b... | 6d826af9e1638903e333bdb5c8c431587a94a4c4 | [
"Markdown",
"Java"
] | 5 | Java | DependingOnMood/ConnectFour | ecea4c957bc54730a8053c19ec901999f9c9409f | 989a6f0a701a119ea2d6a8d370fcc028bb36f76c |
refs/heads/master | <file_sep>original_password = "<PASSWORD>"
user_password = input("Введите пароль >>")
if original_password == user_password:
print("OK")
else:
print("FAIL")
<file_sep>hour_cost = int(input("Укажите стоимость часа >>"))
day_quantity = int(input("Укажите количество дней >>"))
total = (hour_cost * 8) * day... | cf5ed6d254a7422980631d971ec4d02082428156 | [
"Python"
] | 8 | Python | netraf/skillbox-phyton | f1c2893e4d22e84856f2dd7f38683f2a33eb97e1 | fa79d093066f57d9b09b821f7e7618cab93955c0 |
refs/heads/main | <repo_name>maylcf/learning-go<file_sep>/Pluralsight/Creating-Web-Services-Go/webservice/go.mod
module github.com/maylcf/learning-go
go 1.16
require (
github.com/go-sql-driver/mysql v1.5.0 // indirect
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110
)
<file_sep>/Pluralsight/Creating-Web-Services-Go/webservice/rec... | 0af6024d0281a0818b635a7608baaa4ca5720933 | [
"Go",
"Go Module",
"Markdown"
] | 4 | Go Module | maylcf/learning-go | 329153a7c3343bcb89ebca2252a2a1863491f458 | 9d87e98327da53dd0183624b6af7cce021e6511e |
refs/heads/master | <repo_name>geeklimit/Beacon<file_sep>/README.md

## What does Beacon do?
Beacon uses a hive of minimalistic linux virtual machines (nodes) to find patterns of success... | 4aeba83d09a17423503627c5e1dc3aa8d4b086fa | [
"Markdown",
"JavaScript",
"Shell"
] | 5 | Markdown | geeklimit/Beacon | 06746567d5feb5d2faecee56119a6bb6ac4738a0 | 4df8d2186827c121a70ff9efe793998e5f1950ed |
refs/heads/master | <file_sep>#! /bin/bash
chmod +x build/wificonfig.py
rm gcwconnect.opk
mksquashfs build/* gcwconnect.opk -noappend -comp gzip -all-root
scp gcwconnect.opk zero:/media/data/apps/<file_sep>#!/usr/bin/env python
# wificonfig.py
#
# Requires: pygame
#
# Copyright (c) 2013 <NAME>
#
# Licensed under the GNU General Publi... | 9a9bbc2d1b3c36cfc7cfca242c4afad3fd67cfe8 | [
"Python",
"Shell"
] | 2 | Shell | andmatand/gcwconnect | 817e36cf0f7b99b9990e0747c30d7edb040a36a1 | 7052071430843741874d69c7ff9e09b86df62378 |
refs/heads/main | <file_sep>import React from "react";
import { useMoralis } from "react-moralis";
import {
FlatList,
View,
Text,
Image,
StyleSheet,
Pressable,
} from "react-native";
// import { Flex } from "../../uikit/Flex/Flex";
import { getEllipsisTxt } from "../../utils/formatters";
import useERC20Balance from "./hooks... | 3ac3bc43e587319b022240db267b66633e5ca9da | [
"JavaScript"
] | 1 | JavaScript | allnim/ethereum-react-native-boilerplate | 17a6dd4c093b36f2a56da912b1d58051206fb2a3 | 588d2d7f3723d577b4d422324d37998b9cbfd5ae |
refs/heads/master | <repo_name>MaciejSwiderski/Find-The-Closest-Points<file_sep>/FindTheClosest.java
package org.java2.maciej.swiderski.zadania011algorytmy.zadanie5;
public class FindTheClosest {
public String[][] findTwoPoints(int x, int y) {
String[][] myGridsField = new String[x][y];
for (int i = 0; i < ... | e99dcdc60ef7dab8bad9119694fbe1c24a76287d | [
"Markdown",
"Java"
] | 4 | Java | MaciejSwiderski/Find-The-Closest-Points | d84fdc23c30c32853caddfc6bf65805f3e42bd0f | 23bc1d31290c3cabd343c7f67e2271cee7c1ba48 |
refs/heads/master | <file_sep>import styled from 'styled-components';
export const Button = styled.button`
color: #5f76f3;
`;
<file_sep>import styled from 'styled-components';
interface InputPropsType {
error?: String;
}
export const CreateTeamWrap = styled.div`
padding: 60px 1.375rem 0;
flex-direction: column;
align-items: c... | 354cdac459e7faf125142aa5675ce5555628e7a4 | [
"Markdown",
"TypeScript"
] | 59 | TypeScript | prography/gaegata-frontend | 6d049efc6f2b3f6a915b717eb827c873bf5b9e5e | c2bf8d2dcb3ff46e79dab269ac2a2fade7f403dd |
refs/heads/master | <file_sep>const Discord = require("discord.js");
const Client = new Discord.Client();
const fs = require("fs");
const config = require("./config.json")
const token = config.token;
Client.commands = new Discord.Collection();
Client.aliases = new Discord.Collection();
Client.commands = new Discord.Collection();
Clie... | 1feb506870becbd7d90c91dcf7d0ab0d764403b1 | [
"JavaScript"
] | 1 | JavaScript | Spi0nGaviria/Docks | 9164678d0c7da32b19c235d67214558a726e1e36 | cf60c422445f092751ecda43012184f631369e70 |
refs/heads/master | <repo_name>nabil2305/Python-Search-Engine<file_sep>/Database/main.py
import mysql.connector
class Database:
mydb = mysql.connector.connect(
host="localhost",
user="nabil",
password="<PASSWORD>",
database="mydatabase"
)
mycursor = mydb.cursor()
#mycursor.execute("CREATE ... | bfaa6b25a620451bfaa873638db1823b49181c60 | [
"Python"
] | 4 | Python | nabil2305/Python-Search-Engine | 7f76089ca626a5a20c27163f66c5211b28d599d0 | 5e79e1008da4f1128ea3bdf18268e07b5ade0f47 |
refs/heads/master | <repo_name>DrZhouKarl/MASS<file_sep>/pcdet/models/detectors/pointpillar.py
from .detector3d_template import Detector3DTemplate
from .unet.unet import UNet, SimplifiedUNet
from .segmentation_head import FCNMaskHead
import sys
from .erfnet import Net
import os
import torch.nn.functional as F
import torch.nn as nn
import ... | afd81b8b2b6c054c2d280278cb580a3a22dcf393 | [
"Markdown",
"Python",
"CMake",
"C++"
] | 20 | Python | DrZhouKarl/MASS | 739beb376b3fb16d8d2eba0f119448a1fddf9544 | ba1950289f3a2af79ee242207d73dea97e066af1 |
refs/heads/master | <repo_name>giladmadmon/image_ex3<file_sep>/ImageService.Communication/Model/Event/DataReceivedEventArgs.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ImageService.Communication.Model.Event {
public class DataReceivedEventArgs : Eve... | e112bb512dc10617caac202d788cbfb8abf303ba | [
"C#"
] | 3 | C# | giladmadmon/image_ex3 | 3774b0122da78a425b24da8505c102562e9fc8a4 | db4d4d8b579c3ab74cd34f79f0697382d08b2419 |
refs/heads/master | <repo_name>ArtObr/indy-scp<file_sep>/scp/main.py
from scp.indy_constants import CONTRACT_LEDGER_ID
from scp.request_handlers.contract_batch_hanlder import ContractBatchHandler
from scp.request_handlers.contract_request_handler import ContractRequestHandler
from scp.vm.base import VM
from state.pruning_state import Prun... | c0e1419573a906e512f66ef74168b6c3d1e66398 | [
"Markdown",
"Python",
"INI"
] | 18 | Python | ArtObr/indy-scp | 831eb68e36ea8bd4a2d60d62a1a46f1e71df54c5 | 1545967cd6a67c379d82193ad2a7dd7e0e41905a |
refs/heads/master | <repo_name>walid-chekkouri/QuickSort-and-MergeSort-in-Cpp<file_sep>/QuickSort.cpp
#include <string>
#include <iostream>
using namespace std;
void swap(int* a, int* b)
{
int temp = *a;
*a = *b;
*b = temp;
}
int partition(int arr[], int l, int h)
{
int pivot = arr[l];
int i = l, j =h;
d... | 94000a8c5f03ea3f5a998d9ddeba2aad4bddbdca | [
"C++"
] | 2 | C++ | walid-chekkouri/QuickSort-and-MergeSort-in-Cpp | a4556e3ad6f3b6ca4dff7b8e44ac70c9bcd38ddb | 48dde0aca0f1ecdfd1ab2667b15b1e6cb28215c2 |
refs/heads/master | <file_sep>import React, {useState} from 'react';
import GridProductos from './components/GridProductos';
const ListaProductos = () => {
const [searchValue, setSearchValue] = useState('');
return (
<GridProductos searchValue={searchValue} setSearchValue={setSearchValue}></GridProductos>
)
}
export... | e6f372128a562e4af348393ecbe29731fafbc64c | [
"JavaScript"
] | 5 | JavaScript | juancsr/facturacion-front-end | 8bff2b692d0a5c6cdb57255381041230017b5097 | 61729afe63d1da0b867c27ab3079a844468af851 |
refs/heads/master | <repo_name>BayBenj/rhyme-scorer<file_sep>/tables/VowelTables.java
package tables;
import java.io.Serializable;
import java.util.List;
public class VowelTables implements Serializable {
public HeightTable heightTable;
public FrontnessTable frontnessTable;
public RoundnessTable roundnessTable;
public TensionTable ... | 0e876ace9e8070714d8ae915ab63560f36576d03 | [
"Java"
] | 18 | Java | BayBenj/rhyme-scorer | e22f5d27e9bd3307d0e1704b6f6e9fb5c70071a7 | c9ff3c84e5e5a68d8c95b1c1d161804e9c426f03 |
refs/heads/master | <repo_name>special946/shoppinglist<file_sep>/ShoppingListWear/src/main/java/org/openintents/shopping/wear/ShoppingItemView.java
package org.openintents.shopping.wear;
import android.content.Context;
import android.support.wearable.view.WearableListView;
import android.view.View;
import android.widget.FrameLayout;
impo... | eda16db5aed01459cdbb9fe88a5515e94e5be107 | [
"Java"
] | 1 | Java | special946/shoppinglist | 5ecdc142376fd92276a85c984fc18bd6c4bb9fa1 | cc99835d11da986a9bba2aa39c75e266274cecf4 |
refs/heads/main | <file_sep># MyProgram
TeleskuJavaLearning
| 4db0252143c9537c941e257a1aedc073bfcaf8fb | [
"Markdown"
] | 1 | Markdown | PrateekUpadhya/MyProgram | 11de9694c208475659aad13952c0e401b112824b | 2a19ca704a9614f3251f6064238800bfffc5fc0a |
refs/heads/main | <file_sep>import React from "react";
import PropTypes from "prop-types";
import Popup from "reactjs-popup";
import "reactjs-popup/dist/index.css";
import Contact from "../Contact";
const PopUp = (props) => {
const { popupTitle, popupContent } = props;
// console.log(popupTitle, popupContent);
/* eslint-disabl... | acf2ee46a88e483048801fddb3940d7b650e48f3 | [
"JavaScript"
] | 15 | JavaScript | WL0416/TicTacToe | 6ea77eecfea32c49952ca075bb02ea2afbf8ce33 | 0d7bd88719e97d9dd5dbedd0fcd9dcda5d1a0011 |
refs/heads/master | <repo_name>larrylam10/MVCFinalProject<file_sep>/index.php
<?php
error_reporting(E_ALL ^ E_NOTICE);
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="a... | 6fca2db2ef39d0478c02c20c6b1aa6fe8491c716 | [
"Markdown",
"SQL",
"PHP"
] | 7 | PHP | larrylam10/MVCFinalProject | 8980260bd5e319b1f399b2fe33232d52d165e5f0 | 37b04053a7e0ba6e9a2950fa24a84e26672387a1 |
refs/heads/master | <repo_name>HaoRanZhuuu/wxtest<file_sep>/MysqlTset/src/com/zhuhaoran/mapper/StudentMapper.java
package com.zhuhaoran.mapper;
import com.zhuhaoran.po.Student;
public interface StudentMapper {
public void insertStudent(Student student) throws Exception;
}
<file_sep>/README.md
# wxtest
本项目是参加学校为期一周的暑期夏令营的相关项目
主要了解到的微信开... | 1def98d2f0ff107b15aaab411690fe54903bd1f2 | [
"Markdown",
"Java",
"SQL"
] | 6 | Java | HaoRanZhuuu/wxtest | 1f2983c5513303c75ef44fef9c1c6746fd9bf8c1 | e6dcefa67da0c1db0c124a5548d58209665124b3 |
refs/heads/master | <file_sep>package main;
import cisco.java.challenge.GNode;
import cisco.java.challenge.Impl.GNodeImpl;
import test.cisco.java.challenge.DoWorkGNode;
import java.util.*;
public class Main {
public static void main(String[] args) {
GNode gNodeA = new GNodeImpl("A");
GNode gNodeB = new GNodeImpl("B");
G... | 968b7eb7acfd8af5457cb97d76e9d46fc096618c | [
"Java"
] | 4 | Java | andrZav/GNodeTask | 9129995d4aaa802325ced508c772604ca1f128e8 | b9b8cae835d03481c78dd30a19d7f9c5fdfba118 |
refs/heads/master | <repo_name>CarlosEReis/Curso-Spring-MVC-Alura<file_sep>/m2aula06casadocodigo/src/main/java/br/com/alura/casadocodigo/configurations/SpringSecurityFilterConfiguration.java
package br.com.alura.casadocodigo.configurations;
import org.springframework.security.web.context.AbstractSecurityWebApplicationInitializer;
public... | 92487fb7cdb744e00928b0b56c23f03e8b7128ba | [
"Java",
"INI"
] | 4 | Java | CarlosEReis/Curso-Spring-MVC-Alura | b91658a6a8db18cfe0692dcd534eb1364009993c | 98fb4c17757e2ae57ef357ffe984022999ce2986 |
refs/heads/master | <repo_name>lauraGasca/Simple-Box_Wordpress<file_sep>/header.php
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<title><?php wp_title('|', true, 'right');?> <?php bloginfo('name'); ?></title>
<meta charset="<?php bloginfo('charset');?>">
<meta name="viewport" content="width=device-width, ini... | f043cb31ce108e8961bd145ff3a5dbd5cecaf9fd | [
"PHP"
] | 4 | PHP | lauraGasca/Simple-Box_Wordpress | 2c74f859eec04040de39bb003704577bfb09e632 | 58299eb75229e1f4bcbf86ea07be3a94a60b1e22 |
refs/heads/master | <file_sep># Roadmap for regression problems
A roadmap for regressions problems including [feature selection, linear regressions, decission trees, Support Vector Regressor, XGBoost, NN, PCA y NN, Kernel PCA (iteration over sigma) y NN, CNN (1D, 2D), synthetic data generation with VAE's and Synthetic minority oversamplin... | f09d7a8a3736d9dc18523007b1d1dc84609e4a02 | [
"Markdown",
"Python"
] | 13 | Markdown | MatheusGitMhub/Roadmap-for-regression-problems | 18f029cbd70e0b5144c20554baa21677b45e97c4 | f04a37293f1fb2a45ba9a69cb8a4723bcfdf2100 |
refs/heads/main | <file_sep>import HeaderComponent from "../components/header";
import React, { useState } from "react";
import { toast } from 'react-toastify';
import 'react-toastify/dist/ReactToastify.css';
import Head from 'next/head';
toast.configure()
export default function Browse({ blogsList, setBlogsList }) {
React.useEffe... | e2778767d169e3c21687eee4c280f731227848f7 | [
"JavaScript"
] | 8 | JavaScript | himanshuraj18/NextJSTask | c2af85a6c8d7f438c008478cf9d0fce221c74c72 | 3fc64924884f3bb6bf6ff061d12f418a65162b73 |
refs/heads/master | <repo_name>dhanikurnia/pajak<file_sep>/Pajakk/Pajak/result.php
<!DOCTYPE html>
<html>
<head>
<title>aaaaaaaaaaaa</title>
</head>
<body>
<center>
<?php
include 'koneksi.php';
?>
<table border="1">
<tr>
<th>No</th>
<th>Tanggal</th>
<th>Nama Barang</th>
<th>Jumlah</th>
</tr>... | 45dfee6adfe422680b0c7cd86c4ba6cbc08ca79b | [
"PHP"
] | 3 | PHP | dhanikurnia/pajak | a16580f10ec21232590d68fd7f6e660121513f26 | c5c74707880d97ec0948de3021059a135eabd9af |
refs/heads/master | <file_sep>/**
* Events
*
* @module :: Model
* @description :: A short summary of how this model works and what it represents.
* @docs :: http://sailsjs.org/#!documentation/models
*/
module.exports = {
attributes: {
/* e.g.
nickname: 'string'
*/
},
// Lifecycle Callbacks
beforeCreate... | 3001e8f01c858be22461babcd6040301111ab277 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | faridzy/rfid-based-asset-tracking-with-nodejs-and-mongodb | a4fa5dcbf10dccaa74026d1d3a5ceb9eb7ca4970 | b669df661e75fb3e17b612f29225f5a2c3d836df |
refs/heads/develop | <repo_name>wptechprodigy/decagance<file_sep>/README.md
# decagance
An online freelance market place.
<file_sep>/public/index.js
$(function() {
// Database url
let $dbUrl = 'http://localhost:9000/freelancers';
// Hook point to insert a new freelancer
let $cardDeck = $('.card-deck');
// Grab all form inputs
let $... | ce572c6146e3ecb970e32f52a4605dd0917cbd0f | [
"Markdown",
"JavaScript"
] | 2 | Markdown | wptechprodigy/decagance | 9867c4bf209560816c0a4a73655f511fcfaaae61 | fb315ea55485886f14db27f5859b0453e8e3a2ae |
refs/heads/master | <repo_name>murtonen/IRC<file_sep>/src/irc/IRCModel.java
/*
* Modelissa huolehditaan jarjestelmaan liittyvan datan hallinnasta ja sailytyksesta
* Lisaksi modeli vastaa kaikesta tiedonvalityksesta pircbot apia extendaavan MyServer luokan toteutuksesta
*/
package irc;
import java.io.IOException;
import java.uti... | e07876d056ee0d85fd1cc406397c6fe492c4f204 | [
"Java"
] | 5 | Java | murtonen/IRC | 77025fdcca117f73147dc05e728a15be2a75ae86 | b226b4de2def45cbacd2878f43481a42b6e2f569 |
refs/heads/master | <file_sep>'''
@author: <EMAIL>
This script tries to crop images from Alvin's dataset such that only objects of interest are visible.
Since as input to keras we use 32x32x3 (similar to cifar-10), reducing our images to small size
means the features are too small to be detected.
'''
from __future__ import print_functio... | b2d3cb80489a5aaf027fb23fb5fa6373959621cc | [
"Markdown",
"Python"
] | 5 | Python | ajinkyakhoche/Object-Detection-on-CPU | e06f07b56b6536f18a6a1878adb389ea54dfb6db | aadc8832812cd35dee92cb6c89573d92968a21f9 |
refs/heads/master | <repo_name>ZSY000/myNotes<file_sep>/html_css/youxuan/index.js
var slices = $('.sliceBox li')
var page = $('.pagination li')
var width = $('.sliceBox li:first img').eq(0).width()
var index = 0
var timer = null
var flag = true
// 自动轮播控制
function autoMove(flag) {
if(flag){
timer = setInterval(function() {
... | 7bd55ad2391f6b9e6ed73131b4a64cf9d1cdae7c | [
"JavaScript"
] | 13 | JavaScript | ZSY000/myNotes | 2c7d2665cb5ad9521c93f115e3d30a29d230662c | 0e274e3720e4a715be8516ffba2984e6ac6389ec |
refs/heads/master | <file_sep>from .people import *
from .salary import *<file_sep>def get_employees():
return "<NAME>", "<NAME>", "<NAME>"
<file_sep>from application import salary
from application import people
import datetime
from datetime import date
if __name__ == '__main__':
today = date.today()
print(f"Today is the {to... | e0133765ff171c7f97d67f47a972e6db52536973 | [
"Python"
] | 5 | Python | UP-Polina-97/Python-HM-2.1 | d2842a659c116afa12bf4021609ff2fa78e35f3e | bf14c6c665853679d8d9607a4f11568bca907ed8 |
refs/heads/master | <repo_name>pugovka/task-tracker<file_sep>/TaskTracker.WebAPI/Controllers/TasksController.cs
using System.Linq;
using System.Net;
using TaskTracker.WebAPI.Models;
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Cors;
namespace TaskTracker.WebAPI.Controllers
{
[EnableCors(origins: "http://localh... | 9b2681970ee6fdd578d75694421955845e7ad9cf | [
"JavaScript",
"C#",
"Markdown"
] | 10 | C# | pugovka/task-tracker | 317dfddb10e30c5e4bf734c00a32fdbbb09064d6 | 3d6bad865bd7fba5b04e0e69734df46822fdeb52 |
refs/heads/master | <repo_name>filipw-trafikbyran/Pivo<file_sep>/saver.php
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
.manuel-edit-beer {
display: block;
padding-top: 10px;
}
</style>
<script src="https://www.gstatic.com/firebasejs/5.7.0/firebase.js"... | 8064f325a58f61b8f4674c9c5184044b460a6256 | [
"PHP"
] | 1 | PHP | filipw-trafikbyran/Pivo | 7d937942a8ffe326d07838cf0b067d5118a57af6 | 32d49d411584de0412b6ff0c95d65ea6f477b17d |
refs/heads/main | <file_sep>class DashboardController < ApplicationController
before_action :authenticate_user!
def index
end
def all_articles
end
end
<file_sep>console.log("hello custom js")
<file_sep>Rails.application.routes.draw do
devise_for :users
devise_scope :user do
get 'sign_up', to: 'devise/registrat... | 3f88a4074e2df89410bcba102c5b353bba3a6779 | [
"JavaScript",
"Ruby"
] | 3 | Ruby | alexohre/blog | 82ae1f81e1147a452397365ee4f537b13210b630 | 1071a6d056d8f3e9a47cc500501ab3e6c5ae98c2 |
refs/heads/master | <repo_name>rushabhj-hub/PrimaThink-Library-Management-System<file_sep>/library.sql
-- phpMyAdmin SQL Dump
-- version 4.8.0
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jul 20, 2018 at 01:54 PM
-- Server version: 10.1.31-MariaDB
-- PHP Version: 7.2.4
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
S... | 1a7d230ded56cb94121c8d7027ad6170cefab557 | [
"SQL",
"PHP"
] | 8 | SQL | rushabhj-hub/PrimaThink-Library-Management-System | 7c443f1f3cbbdffab198dea7c7f7514b4c0c77e8 | e3295ad1f326775044425c904d1f0002ac5c15f1 |
refs/heads/master | <file_sep>using Google.Apis.Drive.v2.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GoogleDrive.Model
{
public class GoogleDriveFile
{
public GoogleDriveFile()
{
}
public GoogleDriveFile(File ... | 2c08489b57b561c9af8c1c801a37dbfcc18fff56 | [
"C#"
] | 8 | C# | keshari1arya/GoogleDrive | c27aa22110cd2b6f83f8c12b8ff4db7cebc884a2 | 20d83f0293e6b341ebc06b9bc6a16f8e6f19b9a9 |
refs/heads/master | <file_sep>package database;
import java.sql.Timestamp;
import java.util.List;
import org.hibernate.LockMode;
import org.hibernate.Query;
import org.hibernate.criterion.Example;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* A data access object (DAO) providing persistence and search support for
* Ca... | 287d6e8d54776941d15def7bb2aad8091bffadb6 | [
"Java"
] | 12 | Java | YaaMe/WMS | b151442a318f29f73cd703207a6d357945afd129 | ff82159614e83a40e03e711831e3cdc5252bb7f3 |
refs/heads/master | <file_sep>#include <iostream>
#include <vector>
#include <algorithm>
#include <queue>
#include <stack>
using namespace std;
int V, E;
int input[1000][2];
double dinput[1000];
/*Begin Edge class */
class Edge {
int v, w;
public:
double weight;
Edge(int iv, int iw, double iweight) {
v = iv;
... | 7eecbc24f04acb3c976f9ebd2e958c6e4d70ff28 | [
"Markdown",
"C++"
] | 6 | C++ | Cypherman1/SWTPro | 3c28ef4a541ab96fed9c01b27304fb4e92a530c8 | 1a829f64adbaa2fd0bfc012c9be5d5b5986b80c8 |
refs/heads/master | <repo_name>bluedoctor/Asura<file_sep>/Asura/Controllers/HomeController.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Threading;
using System.Threading.Tasks;
using Asura.Database;
using Microsoft.AspNetC... | 14c4335141790a0ae83b637aa857172d8e060687 | [
"Markdown",
"C#"
] | 5 | C# | bluedoctor/Asura | 53d1b5de50e550818fd52720e0468aad44ff873f | 2aa6baa9988ec94ae94670b9996c501e3b567901 |
refs/heads/master | <file_sep>package powtorka.dziedziczenie;
public interface Sprinter {
void sprint();
}
<file_sep>package funkcyjne;
@FunctionalInterface
public interface Checker {
boolean check(Czlowiek czlowiek);
}
<file_sep>package enumy;
public enum Rozmiar {
S(50,100), M(55,110), L(60,120), XL(100,200);
privat... | bccf58c7ac22798f397944809d46fcf919c30382 | [
"Java"
] | 23 | Java | Javagda40z/gda40 | b5cb13dc40c6c786819dc23e16b49690aea41689 | 368e4b0b40fe2265daf7e97838f815e3b14d24e4 |
refs/heads/master | <file_sep>#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time : 18-12-29 下午6:07
# @Author : Gavin
# @Site :
# @File : douyin.py
# @Software: PyCharm
import requests
from bs4 import BeautifulSoup
from tqdm import tqdm
import time
"""
下载文件参数url和文件的全路径
"""
def download_file(src, file_path):
# 响应体工作流
... | 1e667ec5b0d89d60121be57b648e01f8b849b360 | [
"Python"
] | 2 | Python | gavin199006/wangyisongnew | 330233899c08f70216c57a3a2f27cbd3da3aa154 | 720fc657a6403cb811c123338ca2de1d376df1f8 |
refs/heads/master | <file_sep>#pragma once
// Gives main cpp access to the other cpp files
void story1();
void story2();
void story3();<file_sep>#include <string>
#include <iostream>
#include "Header.h"
#include <cstdlib>
using namespace std;
// Global Variables
int sanity = 3;
int amount_of_sanity_potion = 0;
int win = 0;
int main() /... | 0d15abd0f8b28132bed37896823391f6f0197d03 | [
"C",
"C++"
] | 2 | C | sudo-Jake/Header-and-Source-Code-files-for-Projects | be57380e54d7032f70052d10f0b42e40857b002d | 23429ff90ccb0b5219ccaebe3c96eb4cbf1cce2f |
refs/heads/master | <file_sep>package com.eckstein.paige.knittingcompanion.Projects;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.text.InputType;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.B... | 1f042328b5fcc7ed1da92a508e98490dee28d5a1 | [
"Java"
] | 10 | Java | NotQuiteHeroes/Knitting-Companion | f94d1599a6c2a9161b51a6dd1dadc06bf65afdb2 | d0f0e3b39e7e327bfa204ce68964391f2c04166f |
refs/heads/master | <repo_name>ducngovan/dayfibonaci<file_sep>/javascript.js
arr=[0,1];
for ( let i=2;i<20;i++){
arr[i]=arr[i-1]+arr[i-2]
} alert(arr) | c67c096a5c1c2c9947bf89e3022b7b6f68d7c532 | [
"JavaScript"
] | 1 | JavaScript | ducngovan/dayfibonaci | 3cabbf5ab833eb3da51fb10f1327589bc8bb119f | aa2bf8ad9b43519a7c337e005ba9579e0e34e17c |
refs/heads/master | <file_sep># Sitecore.IdentityServer.ADFS
ADFS OpenId connect for Sitecore 9.1 identityserver
<file_sep>namespace Sitecore.IdentityServer.ADFS
{
public class ADFSIdentityProvider
{
public bool Enabled { get; set; }
public string Authority { get; set; }
public string ClientId { get... | 1cfd5a3b59463ec1dd3c2b4d36e13fa744c46994 | [
"Markdown",
"C#"
] | 4 | Markdown | istern/Sitecore.IdentityServer.ADFS | 886fa61d5095b58c9490e26bd468d83eb10c4389 | 430b2349c05e759741cdc0ac7a1eafc61497eaa5 |
refs/heads/master | <repo_name>srikanthtumati/Chatty-Server<file_sep>/src/ChattyServer.java
import java.io.*;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class ChattyServer {
private ServerSocket serv... | ceb69fffc90a32ff849e6380ef19f8ce8d52ea90 | [
"Java"
] | 1 | Java | srikanthtumati/Chatty-Server | f871ccfd791812e162dbb0b8df297d0d8dcc3064 | 1570038e7fea05fdc69950573e49e75a1f4cd6c7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.