branch_name stringclasses 149
values | text stringlengths 23 89.3M | directory_id stringlengths 40 40 | languages listlengths 1 19 | num_files int64 1 11.8k | repo_language stringclasses 38
values | repo_name stringlengths 6 114 | revision_id stringlengths 40 40 | snapshot_id stringlengths 40 40 |
|---|---|---|---|---|---|---|---|---|
refs/heads/master | <file_sep>import sklearn
import pandas as pd
from sklearn.cluster import KMeans
import matplotlib.pyplot as plt
# Import iris toy data set
from sklearn.datasets import load_iris
iris = load_iris()
irisdata = pd.DataFrame(iris.data,columns=iris.feature_names)
print(irisdata.head())
# Calculate each SSE a... | 927ffab909856cf26977f6630ec42d54dc184b9e | [
"Python"
] | 1 | Python | yzhou77/FE595-KMeans-Elbow | 7031fa6ff150b99040beefcb2ab3af87cca5f114 | 2926321c09c2f8860541ea0f549b0a50c8172fdc |
refs/heads/master | <repo_name>ratheesh-ilink/react-native-circular-slider-example<file_sep>/index.ios.js
import CircularSliderApp from './CircularSliderApp'
import { AppRegistry } from 'react-native'
AppRegistry.registerComponent('CircularSliderApp', () => CircularSliderApp);
<file_sep>/README.md
# react-native-circular-slider-example
... | 9658ffcd5b3ebdfb9faaeb9b5086418c1f537eb3 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | ratheesh-ilink/react-native-circular-slider-example | 109583020dbad5be97ec528c4afd5e3ec314ae04 | 8778be0e08fec08370f1b14e0879f4c28d228383 |
refs/heads/master | <repo_name>hawtio/dockerui<file_sep>/pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2012 Red Hat,Inc. and/or its affiliates.
~
~ Licensed under the Apache License,Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the Lic... | e46ea4420e3c957552d01efbc5d0726af8cf9dcc | [
"JavaScript",
"Maven POM"
] | 2 | Maven POM | hawtio/dockerui | 0ae89d9d5e54076a0901a70f9ce44de69e53734a | 8e6a38e9ec94af2164545125c5fc3499eed2946f |
refs/heads/master | <repo_name>bobsayshilol/ProjectEuler<file_sep>/C/solution_4.cpp
/**
* Largest palindrome product
*
* A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 × 99.
* Find the largest palindrome made from the product of two 3-digit numbers.
*/
... | 106c25b09d9dae70e9440b94e69bc0bd33418202 | [
"Makefile",
"C++"
] | 28 | C++ | bobsayshilol/ProjectEuler | 52489c9b9b41e22e81c41cb0dd9fb13963357072 | e1da10e4126dcce7e2235e043cc8b67154064c4f |
refs/heads/master | <file_sep>#!/usr/bin/bash
set -ex
usage() {
echo "Usage: $0 <distro> <releasever>"
}
die() {
echo $@ >&2 ; exit 42
}
DISTRO=$1
RELEASEVER=$2
MIRRORS=
if [[ "$DISTRO" = "fedora" ]];
then
MIRRORS="https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$RELEASEVER&arch=x86_64"
[[ "$RELEASEVER" = "21" ]] && die... | 8883c07611400a14e3db16df235931320871b793 | [
"Markdown",
"Makefile",
"Shell"
] | 6 | Shell | sandrobonazzola/image-tools | 9daa6546acc9776405ccc8ba1327528ae625f460 | 2adcea51eaaecb6c7296143a2ea186db393f48f9 |
refs/heads/master | <repo_name>yangmiok/binance-public-data<file_sep>/python/download-trade.py
#!/usr/bin/env python
"""
script to download trades.
set the absoluate path destination folder for STORE_DIRECTORY, and run
e.g. STORE_DIRECTORY=/data/ ./download-trade.py
"""
import sys
from datetime import datetime
import pandas as p... | afb7f3d95a0fd24be93b428046ae383ef29b4841 | [
"Markdown",
"Python"
] | 3 | Python | yangmiok/binance-public-data | 5ca8aa6cde406ec616f002fca59b68b89850f492 | a46da545db241c41202a813788ba41cc56ef166d |
refs/heads/main | <file_sep>rootProject.name = "haxstats"
<file_sep>package ms.safi.haxstats.model
import javax.persistence.Entity
import javax.persistence.Id
@Entity
class Player(
@Id
val auth: String,
val name: String
) {
override fun equals(other: Any?): Boolean {
if (this === other) return true
if (... | 2deba5a030e437c478f6f6a670b8f98b61c7ad1a | [
"SQL",
"Kotlin",
"YAML"
] | 13 | Kotlin | osafi/haxstats | 22d1fb5e088c610063bf3af4f23565ef84db2ed8 | 5b5e9f2d67630793107a2c3b87bbda3ddc8d9c1c |
refs/heads/master | <file_sep>package com.json;
import com.domain.Province;
import net.sf.json.JSONArray;
import net.sf.json.JsonConfig;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.... | fc1281bfa840df58dd7753dbdc93f921fdb41cb3 | [
"Java"
] | 1 | Java | superMeMe/ajax_day03 | f9c2de2359f6bfeec5af3f8a75894636fde4df74 | 4c81a4ea6aa19b455b3e0dcdc2dd3ab06c20e23c |
refs/heads/master | <file_sep># ReDISCovery
A Sports Sensor Device Package and Locator.
For all the terrible disc golfers out there.
<file_sep>package rediscovery.udel.edu.rediscovery;
/**
* Created by Jeffrey on 10/8/2015.
*/
public class DiscMenu {
//Test comment
}
| e5c1f3ba5ddf3020ef05a258e68536fd52255277 | [
"Markdown",
"Java"
] | 2 | Markdown | jvolz/ReDISCovery | ab7f5d4a313f9430ec4512cde150a6f384cd35ec | 148ce117e8a85daf9ca23d2a73a93e4e557c51e6 |
refs/heads/master | <file_sep>//app.js
App({
loginPlayer: function() {
var that = this;
wx.request({
url: "https://www.wuziyi.cc/?wechat/wuzi/player&app=sg&openid=" + that.globalData.openid + "&nick=" + that.globalData.userInfo.nickName + "&faceurl=" + encodeURIComponent(that.globalData.userInfo.avatarUrl),
s... | 8c09e3fcf32fe7e5c2afe63a514dff405b6a2692 | [
"JavaScript"
] | 3 | JavaScript | SakuraSinojun/sango-wechatapp | 15bbe4ce6ff13b40f1eaa91f0e434d4fa150c4cf | f03022b80350dab0af3692177e5ab787a19a8d4e |
refs/heads/master | <repo_name>cdo03c/Titanic_Models<file_sep>/Titanic_Models.R
setwd("~/Documents/Github/Titanic_Models")
##Test if data is downloaded and download if it doesn't exist
if(!file.exists("./train.csv")){download.file(url = "https://www.kaggle.com/c/titanic/download/train.csv", destfile = "./train.csv")}
if(!file.exists("./t... | e8aa8c1b9884e95055f71a04069b1f9b9b420cf6 | [
"Markdown",
"R"
] | 3 | R | cdo03c/Titanic_Models | 905119cd7917440363e96163cee8bf4440d52602 | 63480a4f28274922fd5a2e89210d568e41854ce3 |
refs/heads/master | <repo_name>jreisinger/conv<file_sep>/conv.go
// Do various units conversions.
package main
import (
"flag"
"fmt"
"os"
"strconv"
"github.com/jreisinger/lenconv"
"gopl.io/ch2/tempconv"
)
var t = flag.Bool("t", false, "convert temperatures")
var l = flag.Bool("l", false, "convert lengths")
func main() {
flag.Pa... | 62ff8c1f11e7340c9b623adec8c70063ac6ce630 | [
"Go"
] | 1 | Go | jreisinger/conv | 5f1ffa37f7aa7d85d9a28ce02632e8a92980b2d1 | 835633a97d2a6529cfe59b340c0a5b23ae98dc2a |
refs/heads/master | <repo_name>lockflatboy/Random-String-Inputter<file_sep>/Program.cs
/**
* Random String Inputter by LockFlatBoy.
*
* Website : http://www.lockflatboy.com
* Contact : @LockFlatBoy
* Licensed GPL v3
*/
using System;
using System.Threading;
using System.Windows.Forms;
namespace RSI
{
public class Program
{
sta... | 375bbf15fc98fc8f91dd8c3bf1a045a591aace19 | [
"Markdown",
"C#"
] | 2 | C# | lockflatboy/Random-String-Inputter | f706f96073dd15ec7530c78be27edd8089f54922 | 3536eb899d8773af972ae0ebf4c0714f3cd3536b |
refs/heads/master | <file_sep>function Board(board) {
this.name = board.name;
this.tasks = board.tasks;
this._id = board._id;
}
Board.instances = {};
Board.convertRow2Obj = function (boardRow) {
let board = new Board(boardRow);
return board;
};
// Load the board table from Local Storage
Board.loadAll = function () {
... | c17726b03cd808e9b78c439c5a381608ccb6b796 | [
"JavaScript",
"Markdown"
] | 7 | JavaScript | rajendraprasad-j/Dimona | 1a98c64e7644a3c9ad1f8299aa990a48372b6260 | df18d41e48b1a4b76eb001dcced59d6556ab9223 |
refs/heads/master | <repo_name>Ssssssniper/JDairplaneprice<file_sep>/shanxuan_v1_1.py
import requests
from openpyxl import Workbook
# 实现了写入excel功能,但是没实现循环写入同一个excel。
def Get_Plan_Money(depCity, arrCity, depDate):
global money_dict
headers = {
'Host': "jipiao.jd.com",
'Accept-Language': "zh-CN,zh;q=0.9",
'A... | 68c4bdddc1b0448af459f6d97f17162696ce370a | [
"Python"
] | 1 | Python | Ssssssniper/JDairplaneprice | 227e65ea558ce9132cb0a96fee8bc731f0e4fc15 | 7aeebd9d058bce8406dcae4c5f5c01d8a5a61b33 |
refs/heads/master | <file_sep>/*!40101 SET NAMES binary*/;
/*!40014 SET FOREIGN_KEY_CHECKS=0*/;
/*!40103 SET TIME_ZONE='+00:00' */;
INSERT INTO `wp_term_relationships` VALUES
(1,1,0),
(5,5,0),
(8,5,0),
(39,2,0),
(40,2,0),
(44,4,0),
(45,4,0),
(46,3,0),
(47,3,0),
(48,3,0),
(53,5,0);
<file_sep>/*!40101 SET NAMES binary*/;
/*!40014 SET FOREIG... | 547f1bdbf576142505b30f30b3b3bc6067fae031 | [
"SQL"
] | 2 | SQL | bethanybeachbum/ambdotcom_wp | 0cd632eb6d179f86287735b90004db787cd0fb07 | ef5a309a5ef3e6130aa742f27f3bd32561049269 |
refs/heads/main | <repo_name>Vaibhav596/My-Calculator<file_sep>/JavaScript/script.js
var results = document.getElementById('results');
var content = document.getElementsByClassName('content');
operand1 ="";
operator = null;
operand2 ="";
for(var i=0;i<content.length;i++){
content[i].addEventListener('click',function(){
conso... | a54701e590fba3efaa6b45a5f0a2581daf3c0ed6 | [
"JavaScript"
] | 2 | JavaScript | Vaibhav596/My-Calculator | bfa802374b2b8c55dac90ec7c9a0201bf1e887b6 | 82f42c546cf9ff1ed6d16bae7c81095f8b5b4f88 |
refs/heads/master | <file_sep>DEG=10
PRE="pca"
PARAM=""
LOAD="model"
python main.py --task eval --load $LOAD
<file_sep>
DOT="treepic.dot"
PNG="treepic"
MODEL="model"
a="_1"
b="_2"
c="_3"
python main.py --task plot --load $MODEL --plot $DOT
dot -T png $DOT$a -o "${PNG}${a}.png"
dot -T png $DOT$b -o "${PNG}${b}.png"
dot -T png $DOT$c -o... | dedaab277d472e4dfe16b5c94ad9fa19d8157fee | [
"Markdown",
"Python",
"Shell"
] | 8 | Shell | williamd4112/simple-random-forest | b52ea7ec5840f9d9b5af0c4c3d97bc27494be565 | b42dd8b7486160e732263c738d668dda3f6ea609 |
refs/heads/master | <file_sep>#!/bin/sh
#
# Submit file data/sumissions/${1} with message ${2}
#
# To get & set `kaggle` command see: github.com/Kaggle/kaggle-api
#
# Run from main path: ./scripts/submit.sh sample_submission.csv "This is the sample submission"
#
kaggle competitions submit -f data/submissions/${1} -m "${2}" digit-recogni... | f26476d8e8c09bd90fe53bb8da0e069d24360375 | [
"Markdown",
"Python",
"Shell"
] | 5 | Shell | dataista0/deep-learning-computer-vision-project | 1973dc4be4c771d840cd59447427257e0bad53ad | e608078003bdea7b329dc2230c4c08ed06e50dc3 |
refs/heads/master | <file_sep>package study.java.patterns.mediator;
/**
* Colleague.java
* <p>
* Created on 2016年7月28日
* <p>
*
* @author <NAME>, <EMAIL>
* @version 1.0
* @since 1.0
*/
public abstract class Colleague {
public abstract void doAction();
}
<file_sep>package study.java.patterns.flyweight;
/**
... | 0044c43bca360038c6a406909d4522c858159934 | [
"Markdown",
"Java",
"Text"
] | 48 | Java | ZorroGuo/JavaDesignPatterns | d2c886905823e25b3df6cd10d9ead945c06e51cf | f7d5edd17305d8405080c9f874adf9b6414a9890 |
refs/heads/master | <file_sep>class User
attr_reader :username
def initialize(username)
@username = username
@tweets = []
end
def tweets
@tweets
end
def post_tweet(message)
new_tweet = Tweet.new(message, self)
@tweets << new_tweet
end
end
<file_sep>require 'pry'
require_relative './user.rb'
require_rel... | 22371ad118e8a2580ba222421c3f1bdac4286dda | [
"Ruby"
] | 3 | Ruby | NickyEXE/nyc-web-students-021819 | 654024f43883cc8d461f9b06131f34ff2f8d4db5 | 40fb6c7f6a3338653c9915c41ea48e31717c7775 |
refs/heads/main | <file_sep># PROJET DE 5A , SYSTEMES INTELLIGENTS AVANCES

## Auteurs:
- **<NAME> - IT5 ILC**
- **<NAME> - IT5 ILC**
## PRESENTATION DU PROJET :
NB : Pour tester l'agorithme, vous aurez besoi... | a8ee7e5720f69de4e5c9a4b268ee9bb82e343044 | [
"Markdown",
"Python"
] | 4 | Markdown | Mekongoabanda/ProjetIA_5A | b48b33a8283bd319c53dcca54c27371a1d3a99b1 | 89b799cd6cad58ec767adda22054072769e67297 |
refs/heads/master | <repo_name>mohamedabdo99/movie<file_sep>/app/src/main/java/com/example/movie/data/Constant/constant.kt
package com.example.movie.data.Constant
class constant {
}<file_sep>/app/src/main/java/com/example/movie/ui/main/MainViewModel.kt
package com.example.movie.ui.main
import android.util.Log
import androidx.lifecycle.M... | 34ee64ca2c00c2ea2ff02b2bd2a948514854a483 | [
"Kotlin"
] | 8 | Kotlin | mohamedabdo99/movie | 6af9ab345a93c02aaffde188c6145a9e98470bf6 | 85a4f449f8c66be2184c148c71ac9b5a8fc66307 |
refs/heads/master | <file_sep>
## Step #1. Merge the training and test datasets to create one combined dataset
trainXData <- read.table("train/X_train.txt")
trainYData <- read.table("train/y_train.txt")
trainSubjectData <- read.table("train/subject_train.txt")
testXData <- read.table("test/X_test.txt")
testYData <- read.table("test/y_te... | 0ebe30ef5a6d08979d1f33c1d1e0bcf4d39153c2 | [
"Markdown",
"R"
] | 4 | R | devukal/Getting-and-Cleaning-Data-Course-Project | 615e5cf6a3cddf726fb5e6c87da35af2da1c9bda | 336cb60484ff1583878344ea85d7ebf4399b5e5d |
refs/heads/master | <repo_name>jqr/jqr.github.io<file_sep>/_posts/2009-02-19-rubys-rescue-statement-can-has-value.md
---
title: Ruby's Rescue Statement Can Has Value?
summary: An interesting way to catch and return an exception with very little code.
layout: post
---
I just discovered something interesting about Ruby's exception rescuing... | 6c9ebb895a742b7adeb786b7f1c507d8e6bc7f2b | [
"Markdown",
"Shell"
] | 15 | Markdown | jqr/jqr.github.io | e2b44b4e2c2823eea76607e690faf5097ffd2fd3 | a89367f80a83be7f86c1205057977e99252b40fd |
refs/heads/master | <file_sep>package gotelegram
import (
"encoding/json"
"log"
"net/http"
"path"
"strconv"
)
type getResult struct {
OK bool `json:"ok"`
Result []Update `json:"result"`
}
//PollingListener is listener for long polling update
type PollingListener struct {
Client *http.Client
Token string
Timeout int... | a2dd00087a3bddd6ffa34ea13d827dee11ca7768 | [
"Markdown",
"Go Module",
"Go"
] | 8 | Go | dfkdream/GoTelegram | c4ea95ade8d4ecfa57ebbb9cfdbd5f87e7bf6ac3 | f10ec31a6b70041f34cc741d33023af3be2cdec8 |
refs/heads/master | <repo_name>ustcwangjing/git-demo<file_sep>/src/main/java/com/ustc/App.java
package com.ustc;
/**
* Hello world!
*
*/
public class App
{
public static void main( String[] args ) {
System.out.println( "Hello World!" );
System.out.println(add(5,3));
}
public static int add(int a,int b){
... | a5e7ae2ba890b16de3a14786241b83bcb501079e | [
"Java",
"Text"
] | 5 | Java | ustcwangjing/git-demo | 8bafcb1e1af552ce724d8da8a23322375a7e11bc | 3f24fdd7f010bf2165879f3fd4333d48917f4e30 |
refs/heads/master | <repo_name>shazy89/One-Touch<file_sep>/app/models/recipt.rb
class Recipt < ApplicationRecord
end
<file_sep>/config/initializers/omniauth.rb
Rails.application.config.middleware.use OmniAuth::Builder do
provider :github, ENV['GITHUB_CLIENT'], ENV['GITHUB_SECRET']
end<file_sep>/README.md
oneTouch
oneTo... | ccbb87c37c17081bac68b303619c494b1bf1b913 | [
"Markdown",
"Ruby"
] | 13 | Ruby | shazy89/One-Touch | 7972fd96f25eb2da4d2caaa66236d27736f1b66a | 3ebebbebbbfcdfca7bca4415dd587e86cfa78214 |
refs/heads/master | <repo_name>vyrus/php-svg<file_sep>/index.php
<?php
class SVG_Abstract {
const INDENT_SIZE = 4;
protected $_attributes = array();
protected $_elements = array();
protected function _renderElements($indent_level) {
$code = null;
... | 3f3fea7502fab8cecc17a3da4042630e6cc9b2cb | [
"PHP"
] | 1 | PHP | vyrus/php-svg | fafbb4c9902ff3d7108b8485ebe1e29495fbd564 | 17ab14e2d461e091d7b46c832b6b6edbbb95d115 |
refs/heads/master | <repo_name>6010110455/6010110455-_JAVAGAME<file_sep>/Archer.java
public class Archer extends Character implements Runnable{
private static final int maxGroupHealth = 200;
public Archer() {
super("Archer",
maxGroupHealth);
this.attackSkill = CharacterSkill.getCharacterSkill("Safety Wall");
thi... | 9f3226a99420fe16ad4e6f36e539f045be91ee5b | [
"Markdown",
"Java"
] | 2 | Java | 6010110455/6010110455-_JAVAGAME | 691cd3cf022124436f31f4299d7228bfc4c5fb2b | 9c9ced3ffe02331aad55be1fea608b4d5c9a964b |
refs/heads/master | <repo_name>sayxiasama/search-test<file_sep>/src/main/java/com/ago/searchtest/sync/config/AjaxResult.java
package com.ago.searchtest.sync.config;
import lombok.Data;
import org.springframework.http.HttpStatus;
import java.io.Serializable;
@Data
public class AjaxResult<T> implements Serializable {
private static... | 1466905428a8d5264b30da500347c0eb300d0cce | [
"Java"
] | 9 | Java | sayxiasama/search-test | 1c004936946e5659a09647abadc1c39c76e6f2ba | 9d1fa26ea787795ba04afdd67c198b8b46d357bf |
refs/heads/master | <repo_name>zemlyanoi/zipcode-ui<file_sep>/src/components/result-component/MergedZipcodesErrorPanel.js
import React, {Component} from 'react';
import './merged-zipcodes-error-component.css'
export default class MergedZipcodesErrorPanel extends Component{
render() {
return (
<div className="card tex... | 1f631f01c5710ca70bcfdcb41095af8a363d704b | [
"JavaScript"
] | 2 | JavaScript | zemlyanoi/zipcode-ui | 9f46196d82a785026dc9e579b6ad11e896cb8754 | eaf9e5da379dbaf849b2056fe9f06fdc53f9eef9 |
refs/heads/master | <repo_name>johanholmerin/meteor-gobble<file_sep>/package.js
Package.describe({
name: 'johanholmerin:gobble',
summary: 'The last build tool you\'ll ever need',
version: '0.0.1',
git: 'https://github.com/johanholmerin/gobble.git'
});
Package.registerBuildPlugin({
name: 'gobble',
use: [
'meteor',
'js-analyze',
... | 9fa18af9cb694048880598a7de668ec810386655 | [
"JavaScript"
] | 5 | JavaScript | johanholmerin/meteor-gobble | 0da4de695cdbfc62caf310bc7abe17a0eb78c179 | 3a4f674a38a31dede1ed6597b6965bdad51778b7 |
refs/heads/master | <repo_name>liulinboyi/miniprogram-Bookshelf<file_sep>/src/config.js
/// 配置项
// const host = 'https://ardqdcnz.qcloud.la'
// const host = 'http://localhost:5757'
const host = 'http://192.168.1.3:5757'
// const host = 'http://192.168.123.243:5757'
const config = {
host,
loginUrl:`${host}/weapp/login`
}
export def... | bd62b76948b8827ea79e8229d03a5f5659cb0a5a | [
"JavaScript",
"Markdown"
] | 8 | JavaScript | liulinboyi/miniprogram-Bookshelf | 44b0c866b841e427ecede40d0088579fd067b338 | a01be77f74206cc95c2414650ec4593d9201cfc2 |
refs/heads/master | <repo_name>arthur11678/Exercio-1-POO<file_sep>/6/src/App.java
import java.util.Random;
import java.util.Arrays;
public class App {
public static void main(String[] args){
Random random = new Random();
int[] vet1 = new int[50];
int[] vet2 = new int[50];
int[] vetresultado = new int[10... | 826c11b61484726f57f8b41444d7e771e86d7d67 | [
"Java"
] | 1 | Java | arthur11678/Exercio-1-POO | 5ab599fe73320ba57abb652eb195c4496aa3589e | da419cac8c1169bdfbf88f2e09792573843c5cd5 |
refs/heads/master | <repo_name>sielke/jsdevenv<file_sep>/buildScripts/startMessage.js
console.log("starting in dev mode");
| 87871ecfea801d671b64584ec52203a42c1e8d34 | [
"JavaScript"
] | 1 | JavaScript | sielke/jsdevenv | 4e62f957916946d707acd0017e74f03210f10c37 | c0cbd5e3bb5c0af59f81f943fc7de6582b76964d |
refs/heads/master | <repo_name>iamsimranjot/CS193p<file_sep>/Memorize/Memorize/Views/View Models/EmojiMemoryGame.swift
//
// EmojiMemoryGame.swift
// Memorize
//
// Created by <NAME> on 21/05/20.
// Copyright © 2020 Simranjot. All rights reserved.
//
import Foundation
import SwiftUI
/// View-model does not talks to the views, the vi... | ac7cd78ab44bc0af425518eecd41c626b99cbd87 | [
"Swift",
"Markdown"
] | 6 | Swift | iamsimranjot/CS193p | 98809e65f55fc7ae05c26b06bf0a1e48a2a01260 | 62c3424899f8b3479344bd385063f8e4846ed610 |
refs/heads/main | <file_sep>class Form{
constructor(){
}
display(){
var title = createElement('H2');
title.html("Forza Horizon NoteBook");
title.position(130, 12);
var inpu = createInput("Your name please");
inpu.position(130, 30);
var button = createButton("inpu");
... | eb36a14d838d30ebc075a3151c6153ae3baacd76 | [
"JavaScript"
] | 1 | JavaScript | Starlord7521/JUST-THE-START | 3b5a247a0c64aef44f5a4cc26b2492d73fa981ca | 80e23b8e147ac100ff9194e939311ec92a30b61d |
refs/heads/master | <file_sep>
export class Settings {
// url of kalliope api server
url: string = '';
username: string = '';
password: string = '';
constructor(values: Object = {}) {
Object.assign(this, values);
}
}<file_sep>import 'rxjs/Rx';
import { Settings } from './../../models/Settings';
import {Ht... | 4e8fef94d58eec724ae0ed1c60595d76ebd25ced | [
"TypeScript"
] | 4 | TypeScript | Sispheor/ionic-testing | 4c732e4b101963cba88b43cf328e08ef77b88860 | ed8049ebceff3121d99f43052cd5191adce4885a |
refs/heads/master | <repo_name>wangzengzhi/go-admin-srv<file_sep>/main.go
package main
import (
"github.com/micro/go-log"
"github.com/micro/go-micro"
"github.com/wangzengzhi/go-admin-srv/handler"
"github.com/wangzengzhi/go-admin-srv/proto/admin"
)
func main() {
// New Service
service := micro.NewService(
micro.Name("go.micro.srv... | 5580fbf5e6d5f28969e32190e151cd1bfa58507e | [
"Makefile",
"Go Module",
"Go",
"Dockerfile"
] | 6 | Go | wangzengzhi/go-admin-srv | 3924a7a1f409a4b7d84336f0ae7d7f8ab020587f | e141bb4e9bf9e7fc1b03800ba17434216569d187 |
refs/heads/master | <repo_name>alchemist95/BasicWebCrawler<file_sep>/main.py
import threading
import time
from Queue import Queue
from mySpider import Spider
from linkfinder import *
from general import *
projectName = 'thePragmaticEngineer'
baseUrl = raw_input("Enter the Base Url : ")
domainName = ''
queueFile = projectName + '/queue.t... | 4fe07c4e7763c0f256a0090af8e7791cc79e5632 | [
"Python"
] | 3 | Python | alchemist95/BasicWebCrawler | 3eda7e34c920ae9344a32cc0f7319c9a1fc99d32 | fe592163cbc7059708072825ac5a87550c05d707 |
refs/heads/main | <file_sep>#include <bits/stdc++.h>
using namespace std;
int n,br;
int main(){
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
cin>>n;
vector<int>rejtinzi(n);
for(int i=0;i<n;i++)cin>>rejtinzi[i];
sort(rejtinzi.begin(),rejtinzi.end());
int i=0;
while(i<n-2){
... | 8f207f3460dc88c45b42d8c403c4ffdc5025f94c | [
"Markdown",
"C++"
] | 158 | C++ | Sip147/zbirka-elementarni-algoritmi | 11cc2dd4952426a9551b7e323107d882f2c00216 | 730e62acea570466cd93ad3b54f38a647487bc39 |
refs/heads/master | <file_sep># frozen_string_literal: true
# High and low
def high_and_low(numbers)
num = numbers.split.map(&:to_i)
"#{num.max} #{num.min}"
end
<file_sep># frozen_string_literal: true
# Remove First and Last Character
def remove_char(str)
str[1..-2]
end
<file_sep># frozen_string_literal: true
# Get the Middle Ch... | e22cf24e7ab247d5538797cc43dcfa01ff8e046a | [
"Markdown",
"Ruby"
] | 28 | Ruby | Lomig/Katas | 4788332bc5d45cba4eee3d92c4c9348bc5fe7bd1 | 635678212b90c05927fa7126a3329dc6989ae2b5 |
refs/heads/main | <repo_name>Vivek-Pandey1/To-do-list<file_sep>/script.js
var listElement = document.querySelector('#list');
var inputElement = document.querySelector('.todo-input');
var errorEmpty = document.querySelector('#err');
/***On window load
1. Call a function to get values from local storage when
2. Call a function to a... | 8fe7f760ebfd48b33c421132ff1157e1eb56515c | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | Vivek-Pandey1/To-do-list | 8c8335b365eeecd68d5ccad2d1877166b6899c87 | e8445c4965b3e540727d9939bc239e09d30250a8 |
refs/heads/master | <repo_name>Righteous/PythonVault<file_sep>/EncryptionSampler/samplegen.py
#!/usr/bin/env python
import hashlib
encryptions = ["BLAKE2b512", "BLAKE2s256", "MD4", "MD5", "MD5-SHA1", "RIPEMD160", "SHA1", "SHA224", "SHA256", "SHA384", "SHA512", "blake2b", "blake2b512", "blake2s", "blake2s256",
"md4", "md5", "md5-sha1... | d685faf0b7da7315cb0aafbab8965d89909c77c2 | [
"Markdown",
"Python"
] | 4 | Python | Righteous/PythonVault | d3fd48abb4c22de916a9d7c67f4e44c2dc9e153a | a0caabf71638fc5807b2099360f25cd29487af42 |
refs/heads/master | <file_sep>CREATE TABLE `student` (
`student_id` int(11) NOT NULL AUTO_INCREMENT,
`first_name` varchar(25) DEFAULT NULL,
`last_name` varchar(25) DEFAULT NULL,
`father_name` varchar(25) DEFAULT NULL,
`mother_name` varchar(25) DEFAULT NULL,
`email` varchar(50) DEFAULT NULL,
`date_of_birth` varchar(20) DEFAUL... | 136bba4f2b5976aa6259d22ef927a552e2b7a23a | [
"Java",
"SQL",
"INI"
] | 6 | SQL | Gokul-Periasamy/SchoolManagement | 9ccc4d3abdd36106b766fff52c73bfdf0e7a2086 | d5c17ba83693a7c11b68da1c83c9e6e0439580c0 |
refs/heads/master | <repo_name>jhoblitt/sandbox-bastion<file_sep>/packer/Puppetfile
forge 'https://forgeapi.puppetlabs.com'
mod 'puppetlabs/stdlib'
mod 'camptocamp/augeas', '~> 1.4'
mod 'stahnma/epel', '~> 1.1'
mod 'jhoblitt/sysstat', '~> 1.1'
mod 'jfryman/selinux', '~> 0.4.0'
mod 'saz/timezone', '~> 3.3.0'
mod 'puppetlabs/ntp', '~> 6.0.... | 32b020eeb6c3dfa16e491c6fb61b5490f7bb01da | [
"Ruby",
"Shell"
] | 2 | Ruby | jhoblitt/sandbox-bastion | 8beb7c255b42109a08b419ee6c3f04b9034a429e | 21abd4e82fa8b3fc5f4acf114324526a07a3a767 |
refs/heads/main | <repo_name>mr-ravin/ravdecjs<file_sep>/ravdec.js
class Ravdec {
constructor(){}
compression(read_data){ //input type: string output type: string
let return_data="";
let binval="";
let wrt_data="";
let cnt=0;
let tmp,tmp2,tmp3,repl;
let act_len=read_data.length;
let multiple=act_len/8;
for (let i=0;i<multipl... | 5cda06071e3beae44e868e581fa4ec532be9f449 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | mr-ravin/ravdecjs | cd5faba835e5558d36f09dbe9732edf9ebb3554d | 565512490e3f461eb1d4da4767ffdf87cdedbbd8 |
refs/heads/master | <repo_name>Javacream/org.javacream.training.apache.activemq<file_sep>/org.javacream.training.activemq/src/main/java/org/javacream/training/activemq/messagegroup/Consumer.java
package org.javacream.training.activemq.messagegroup;
import javax.jms.Connection;
import javax.jms.ConnectionFactory;
import javax.jms.Destinat... | 9b312d720f25799da56946d32ec86638b3d91486 | [
"Markdown",
"Java",
"YAML"
] | 14 | Java | Javacream/org.javacream.training.apache.activemq | d06d81fe7a79a72eb2d8711d61dcf9785f806137 | 4c30c7999475ff7030d16feafebff7f6b62a4471 |
refs/heads/master | <file_sep><?php
namespace Controllers;
use Models\ModelAddTask;
use Core\Controller;
class ControllerAddTask{
function __construct(){
$this->model = new ModelAddTask();
}
function action_index(){
$this->model->get_data();
}
}<file_sep><?php
// autoload_static.php @generated by Compos... | a79d55f2698f12e5554de507ff521f74a8dbe2a1 | [
"Markdown",
"JavaScript",
"PHP"
] | 23 | PHP | tegowai/beetest21082020 | d65871b0dca95cdf0e9a84b4d7ecba58f71c89af | 46f107e272f0c5048ff16068f5bd9cac25e6c780 |
refs/heads/master | <repo_name>ethernet6/BashPractice<file_sep>/banned.sh
#!/bin/bash
#cat user2.list
allusers=`cat users2.list`
for user in $allusers ; do
allprograms=`cat programs.list`
for prog in $allprograms; do
echo $user
filename="bannedProgram.$user.list"
ps -aux | grep $prog| grep $user
echo filename
ps -aux | grep $... | 2af84c04e4b0b8859b226f0c3322d2ef8cb576cb | [
"Shell"
] | 11 | Shell | ethernet6/BashPractice | 1ef8acfb48cd5ea62d129dd13b4732f230ae20aa | 554ec7c8ae11ba184ab836f3bf248a865e6d0598 |
refs/heads/main | <repo_name>jeddtony/react-with-jenkins<file_sep>/src/theme.js
export const theme = {
light: {
// color: "#03dac5",
color: "#3e77cefa",
backgroundColor: "#ffffff",
highlight: "#fdb813",
inputBackground: "#ddd",
tableBorderBottom: "1px solid #ddd",
resultString: "#999999",
... | 838621a082d7419e2dbcb5665682b6ef52bc1c3a | [
"JavaScript"
] | 7 | JavaScript | jeddtony/react-with-jenkins | 317f27d43567023bb7abcc87547b922abbdd7102 | 19b4fb27044b053b43561fe04cef99c179d243f0 |
refs/heads/main | <file_sep># dsabootcamp7
This project is submitted to ShapeAI by <NAME>.
<file_sep>//Q1. Write a program to Swap to two numbers.
#include<iostream>
using namespace std;
int main()
{
int a=5,b=10,temp;
cout << "Before swapping." << endl;
cout << "a = " << a << ", b = " << b << endl;
temp = a;
a ... | a6fb4e3408c74b98f8c2685632f6edfc50b07c0c | [
"Markdown",
"C++"
] | 7 | Markdown | rishavseth02/dsabootcamp7 | 01090c2eb295d250595bb33b7b5d6b9c3d1dc4ec | 35373436cf64efa0f44140958677aff7f0738d9b |
refs/heads/master | <file_sep>comp1 = 'smart'
comp2 = 'beautiful'
comp3 = 'intelligent'
sentence = "Hey, %s I really like your %s eyes, they make you %s and %s"
print(final % (input("Your name : "), comp2, comp1, comp3))
| 7566d5837c94a63a60b24b3eeaac7b6bb1777f37 | [
"Python"
] | 1 | Python | Jambazishvili/skillUp | dfdad9854f4330489b32f72068f15536a59fa50a | 93d5d486aae15b5e8735b410a86ec3640726880c |
refs/heads/master | <repo_name>propertyshelf/ps.plone.theming<file_sep>/src/ps/plone/theming/tests/test_setup.py
# -*- coding: utf-8 -*-
"""Test Setup of ps.plone.theming."""
# python imports
try:
import unittest2 as unittest
except ImportError:
import unittest
# zope imports
from plone import api
from plone.browserlayer.utils i... | f1e6f45a3ddbc1c5c67cc2d29443e226e4930555 | [
"Python",
"reStructuredText"
] | 11 | Python | propertyshelf/ps.plone.theming | e1f6bdd953a3d819d9b9860910cd18b3429c9eeb | ac13f06cba035109042fb99f46b696fcff45c67e |
refs/heads/master | <file_sep>using System;
namespace SalesWebMvc.Services.Exceptions
{
public class DbConcurrencyException : ApplicationException
{
public DbConcurrencyException(string massage) : base(massage)
{
}
}
}
| 505fc6552fdeb8251d13cb3d6a59af6f2b993674 | [
"C#"
] | 1 | C# | GabrieLeme07/workshop-asp-net-core-mvc | 0fe676e7f817e1e0756bcfdcc0dcc1a5c3cbe94e | 75e0bd149099962adf9c0ce346488d1b84b922d0 |
refs/heads/master | <repo_name>vrindasinghal21/Python<file_sep>/maths/very_large_fibonacci.py
n = int(input())
a,b = map(int,input().split())
for i in range(n-2):
c = a+b
a,b = b,c
print(c)
print(float('inf'))
max_ = float('inf')
f = [0]*max_
n = int(input())
# a,b = map(int,input())
def fib(n):
if n==0:
return (0,1)
... | 2f6112304466770900a31c1fbab67401bb68e23e | [
"Python"
] | 1 | Python | vrindasinghal21/Python | 9279e8641937565ec60fcf9b399aa533d14346e2 | fbd92b529b56bf9562df114cee9bec0a4d02a55f |
refs/heads/master | <repo_name>raultheotonio/studyStringMVC2<file_sep>/src/main/java/br/com/raultheotonio/audreibediaki/entity/Usuario.java
package br.com.raultheotonio.audreibediaki.entity;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Generate... | ca082317b8989e0ac47c6ac3858ac9093bd9e637 | [
"Java",
"Maven POM",
"INI"
] | 11 | Java | raultheotonio/studyStringMVC2 | 815a30a16e5b39a2c5303c89ea0c4cc0d3e26be3 | d469337b7dc343c73f83c0d9b1117763119ebeb0 |
refs/heads/master | <repo_name>MrazTevin/Instagram-clone<file_sep>/instagram/forms.py
from .models import Image, User, Profile
from django import forms
class NewImageForm(forms.ModelForm):
class Meta:
model = Image
exclude = ['userprofile', 'comments', 'tags', 'post']
widget = {
'tags': forms.Chec... | aee6850d8af131a20ea37a80192532ef6ad415fa | [
"Python"
] | 7 | Python | MrazTevin/Instagram-clone | 4dd8a1a3abed6cf95ed79448317928d2477234e7 | 987e28f8da727d259518ec7e75ae3a8ae8d9d7fd |
refs/heads/master | <repo_name>PhuNguyen2506/AngularDemo<file_sep>/src/app/app.component.ts
import { Component } from '@angular/core';
import {AngularFirestore, AngularFirestoreDocument} from '@angular/fire/firestore';
import {Observable} from 'rxjs';
import { AngularFireDatabase, AngularFireList, AngularFireObject } from 'angularfire2/da... | 0be6123068e3377a095c6aeb7b5d6e4500ed5e39 | [
"TypeScript"
] | 1 | TypeScript | PhuNguyen2506/AngularDemo | 23dff9760837ff9e4e3cf866344c5bc84c9f1ffa | db8ebf055cd2928704aa4fe165847effdb2b3eaa |
refs/heads/master | <repo_name>miachenmtl/esbuild<file_sep>/lib/npm/node-platform.ts
import fs = require('fs');
import os = require('os');
import path = require('path');
// This feature was added to give external code a way to modify the binary
// path without modifying the code itself. Do not remove this because
// external code relies ... | 405b119c911aede15a4cea88e4ded33c5f017cca | [
"TypeScript",
"Go"
] | 2 | TypeScript | miachenmtl/esbuild | 7139d0b82a5f1ca1f473707c82013d180e17b9f5 | ade48d8c264dc1328d1e215533dfce20daaf32e7 |
refs/heads/main | <file_sep>import keras
from keras import regularizers
import numpy as np
import pandas as pd
from sklearn.preprocessing import StandardScaler
from sklearn.metrics import roc_auc_score
def gene_weights_naive(model):
#This function computes the influence of each gene on the model, following the formula (2)
first_lay... | 46f3187b471c18b305e1dc1482a18e30b7f7c5c6 | [
"Markdown",
"Python"
] | 3 | Python | cwilso6/WDL_CellType_Class | 52803d47ed037f87da3f7e7da2eceb1480523835 | 8549047839ce935849e391693d548f4e66544790 |
refs/heads/master | <file_sep>a = 1
if a:
print("pizza")
print ("burger")
<<<<<<< HEAD
print ("fries")
else:
print("juice")
| 1eba778f2446862b0a4720948dae0b66b10de767 | [
"Python"
] | 1 | Python | VicenteAguileraPerez/testing-branches | c5f0d3e00d3ed874c779819ab53f833b20ff542d | c7e0ecb55afad62faf56b2d21882b43e769f7da6 |
refs/heads/main | <repo_name>Enfyve/FFPR_FontTool<file_sep>/FFPR_FontTool/Program.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Security.Cryptography;
using System.Text;
namespace FFPR_FontTool
{
class Program
{
const string password = "<PASSWORD>";
const string saltString = "... | 86333f8d66a443d071891529223dc72f39b593f1 | [
"Markdown",
"C#"
] | 2 | C# | Enfyve/FFPR_FontTool | 2db5850959bd7beacec9046b79b7d5e5d899492f | f818ab7034a93b52eaa7ede7c8ed90ccdc63eab0 |
refs/heads/master | <repo_name>TugayIpek/Object-Oriented-Programming<file_sep>/1 - N_Puzzle Game ver. 1/161044034.cpp
#include <iostream>
#include <cstdlib>
#include <ctime>
using namespace std;
void game(int board[][9], int size);
int intelligent(int board[][9], int size, int zero_y, int zero_x, int pre_move);
int left(int board[][9], ... | cd408cfaee344214c4535eb105f6789a12f0d819 | [
"Markdown",
"Java",
"Makefile",
"C++"
] | 27 | C++ | TugayIpek/Object-Oriented-Programming | ffa0c6620f3266b9a16cec9cf6a071c104453828 | 7cd478e034bbecb94f93fbebf48a019ae2c25a5b |
refs/heads/main | <repo_name>YA-androidapp/Python-JMA<file_sep>/jma.py
#!/usr/bin/python3
# -*- coding: utf-8 -*-
from collections import OrderedDict
from datetime import datetime
import json
import os
import requests
import sys
from const import JMA_ICON_BASEURL, JMA_ICONS, JMA_JSON_BASEURL, JMA_TELOPS
JSON_URL = JMA_JSON_BASEURL + '... | c733e1239c84882bf316e2cef57197d06a8281ae | [
"Python"
] | 2 | Python | YA-androidapp/Python-JMA | c677e5388a374965754dbe97e260892dafa27cce | 9cabf8c204e867139627b945fb3af7af38a40f24 |
refs/heads/main | <repo_name>noahwilfred6/bruteMe<file_sep>/README.md
_ _ __ __
| |__ _ __ _ _| |_ ___| \/ | ___
| '_ \| '__| | | | __/ _ \ |\/| |/ _ \
| |_) | | | |_| | || __/ | | | __/
|_._... | a3be9d0386cc946ecd9efecce2f862b0d15bd628 | [
"Markdown",
"Python"
] | 2 | Markdown | noahwilfred6/bruteMe | 89fb2cee2611579abe52c804e6ebfbfe88b30e3a | ca68717135d16192077ed1da3193213db2777286 |
refs/heads/master | <repo_name>marcusoftnet/business-card<file_sep>/index.js
'use strict'
// Pull in our modules
const chalk = require('chalk')
const boxen = require('boxen')
const fs = require('fs')
const path = require('path')
const asciiFace = fs.readFileSync('./bin/ascii.txt').toString()
// Define options for Boxen
const options = {... | c1c9a3ad9be892716810432dc773ba7aeefa9f7d | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | marcusoftnet/business-card | eb16e7b610a0a19b6332e78adb4cd6f0ea1acc73 | 9ef95772a17f381f57b9585c857a8825436ba0c3 |
refs/heads/main | <file_sep>class Ball
{
constructor(x,y,w)
{
this.x=x;
this.y=y;
this.w=w;
this.options={
density:1.1,
isStatic:false,
friction:2.2,
restitution:1.09
}
this.body=Bodies.circle(this.x,this.y,this.w/2,this.... | 2615c14eda0980e66f970105dfca218629b9dd5d | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | KrishJCD/Newton-s-Cradle | 9d13dad745f0917ad46152b1f71e0b3634f4a76e | 7f2899c09384da4b0ae8236f62d2d0da2d5433b6 |
refs/heads/master | <repo_name>sloanbgwaltney/-sloang-bcrypt-module<file_sep>/src/index.ts
export * from './bcrypt.module';
export * from './bcrypt.service';
export * from './constraints'<file_sep>/CHANGELOG.md
# 1.0.0 - 4/5/2020
Initial Release
# 1.0.1 - 4/5/2020
* Readme changes so that links are not broken
* Added repository to package... | 0846930c6d358b1b1c6c2d939c878ec23beacc01 | [
"Markdown",
"TypeScript"
] | 9 | TypeScript | sloanbgwaltney/-sloang-bcrypt-module | 6dbfa330bacc349541a841df37f26db7006f88e8 | f13a4e2cdeb62737c8f51678b5f9fb3b8aa776f9 |
refs/heads/main | <repo_name>Amandeep-tech/StudentManagementApp<file_sep>/README.md
To see the code of this project SWITCH to MASTER BRANCH
# StudentManagementApp
JDBC CRUD operation (Console Based Application)
| 5218b230f67471cbb00a2e6018b9c3d78d289835 | [
"Markdown"
] | 1 | Markdown | Amandeep-tech/StudentManagementApp | bcecb3b58b72cc064623c20bc448a98daff4f25e | 25f719c72747fcdaeaeca98e121b8c8dd06d2bb6 |
refs/heads/master | <file_sep># abOS Operating System
abOS is a custom operating system which aims to integrate set of algorithms and data structures in C/C++.
Kernel is developed in C with freestanding headers support and support to some basic functions such as printf().Gradually more support is being added.
Compilation is through gcc... | a2c839ee0a3283ef220f8bf4ea757a251f511d84 | [
"Markdown",
"Shell"
] | 2 | Markdown | rand0wn/abOS | 27fc6590e869445b9ad7c3b3d208f692981b0415 | 04fef6927eda4d0b117daf28f9767a47e40b78d4 |
refs/heads/master | <file_sep>#!/bin/sh
# Start only with this script
cd `dirname ${0}`
./mafbot.pl
| 363ec23bbac7bf08063f43e967532dc2c9073c5a | [
"Shell"
] | 1 | Shell | croot/mafbot | 0e4197c70b6131e2aa772c5dda078986d4b237af | 85234b4de5cdef5004a23a8212b10f8c88b314f6 |
refs/heads/master | <file_sep>var http = require('http');
var https = require('https');
var superagent = require('superagent');
var cheerio = require('cheerio');
var POLL_INTERVAL = 30 * 1000;
var lastActivity;
function log(s) {
console.log((new Date()).toISOString() + ": " + s);
}
function postActivity(activity){
log('posting to s... | b68ba32e0fe3eb1af640383dd2a0d0b8f1b4e330 | [
"JavaScript"
] | 1 | JavaScript | bblack/schaub | 21faa60de426fda96ccb969ac936bb58c855243d | 338af40be0aa30ff9ec1f618310abc20e240ef08 |
refs/heads/master | <file_sep>package vultr
import (
"context"
"fmt"
"log"
"github.com/vultr/govultr"
)
type Artifact struct {
SnapshotID string
Description string
client *govultr.Client
}
func (a Artifact) BuilderId() string { return BuilderID }
func (a Artifact) Files() []string { return nil }
func (a Artifact) Id() strin... | 6379dafbbfa9f4b09b8d32e233a58b20e545b347 | [
"Markdown",
"Go Module",
"Go"
] | 6 | Go | afady/packer-builder-vultr | 30ed7c0c7e9814cb79689974a434fdd0c753698b | 1a2dba11a60c52caaa069fa0b40380924b600dfa |
refs/heads/master | <file_sep><?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| URI ROUTING
| -------------------------------------------------------------------------
| This file lets you re-map URI requests to specific controller functi... | 55da0baa294c26e2c0861bb8fc8678c0a577e762 | [
"SQL",
"HTML",
"JavaScript",
"Markdown",
"PHP",
"TypeScript"
] | 53 | PHP | jantinnerezo/lccrapp | 0e09219d267b7e4cbe845b3b3599ade44c868bee | 8faa01f79eb8206ba068f0004d7c5520d7f054a3 |
refs/heads/master | <file_sep>Proyecto de Empresas
Se exporto la colección de Postman
<file_sep>'use strict'
// Importaciones
var express = require('express');
var bodyParser = require('body-parser');
var userRoutes = require('./routes/user.route');
var empleadoRoutes = require('./routes/empleado.route');
// Instancia
var app = expre... | 21574645eed2b0971501e4aedd4a083f2e8359c0 | [
"Markdown",
"JavaScript"
] | 5 | Markdown | aflores2016579/Control_Empresas | 74de8d14364c82d47c7265e1788f74c673e914ff | d6acda289dc7560f63f3f0dbd99538af27b3e3af |
refs/heads/master | <file_sep>import { FlashMessagesService } from 'angular2-flash-messages';
import { CurrentUserService } from './../../services/current-user.service';
import { TokenService } from './../../services/token.service';
import { AuthService } from './../../services/auth.service';
import { Component, OnInit } from '@angular/co... | 81c412b3459fbc1c80414b758a520fc40e2c9898 | [
"TypeScript"
] | 16 | TypeScript | chabraoui/I-carnet-Partie-Front-End | 43b23514fa6f66e6ede22bc3f6f1418bf6904616 | ba69311c0b3659b66e185e51d4688b0e8ebf08b7 |
refs/heads/master | <repo_name>bitmeg/etch-a-sketch<file_sep>/script.js
//set variables
const container= document.getElementById('container');
const smallButton= document.getElementById('small');
const mediumButton= document.getElementById('medium');
const largeButton= document.getElementById('large');
var gridSize= 0;
//function to crea... | f296fd03486d5452252fc21053ea002881a857f7 | [
"JavaScript"
] | 1 | JavaScript | bitmeg/etch-a-sketch | d58f21663f5bb5b0b11e10891ec484174ecc0442 | 6f9104296e71538e0f4825e77d2bb02ac915b7bb |
refs/heads/master | <repo_name>yyr823/grand<file_sep>/src/main/java/org/fr/grand/controller/LoginController.java
/**
*
*/
package org.fr.grand.controller;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.validation.constraints.NotBlank;
import org.apache.shiro.authc.UsernamePas... | 3ade2395e2c7b0276cfdccdf38a608f9e3474546 | [
"JavaScript",
"Java",
"Maven POM"
] | 30 | Java | yyr823/grand | 37f0e94ea33d4dfd1d69cf0f6ef63d925acb9786 | b20bd38f5ee8762c1bfe8a9c581a625b8d93d20b |
refs/heads/master | <repo_name>learn-co-labs-houston-web-082718/boozer-practice-code-challenge-houston-web-082718<file_sep>/src/components/CocktailDisplay.js
import React from 'react'
const CocktailDisplay = ( { cocktail }) => {
return (
<div id="cocktail-display">
<h1>{cocktail.name}</h1>
<h3>{cocktail.description}</h3... | a20532f8be292dde86a8d01258d42dc88f0c3746 | [
"JavaScript"
] | 4 | JavaScript | learn-co-labs-houston-web-082718/boozer-practice-code-challenge-houston-web-082718 | 9a73856233f8dd630cb304925955ed7fedb82644 | 2b7608c3327e3b2f6f4ea496ef100e234af90fae |
refs/heads/master | <file_sep>import { NgModule } from '@angular/core';
import { ModuleWithProviders } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { CampgroundListComponent } from './campground-list/campground-list.component';
import { UserComponent } from './user/user.component';
import { Campgro... | ce86ed4c43dcf693ad8ce74640bf406ab83480aa | [
"Markdown",
"TypeScript"
] | 19 | TypeScript | callmedw/campgroundSearch | ce55f9aeddea78896cf5d9183401ddbca9c8b186 | 5c35f2a5b4b347abefe78d76bf0dbd3c824ec440 |
refs/heads/master | <file_sep><?php
/*****************************************************************************/
/*****************************************************************************/
/*****************************************************************************/
// CONFIGURABLE PATHS
// This plugin needs to know the filesys... | d274f9c4d0e5934d5b6eddbf07a804642332addd | [
"Markdown",
"PHP"
] | 2 | PHP | jbrubaker-bethel/Sendy-BEE-free-Uploader | e11ec071bc452cb471dff415968df368a64ea127 | ef79960adf1b04c6f28da6190d3f75c23c34856d |
refs/heads/master | <repo_name>Cypaubr/ProgRep_Dessin<file_sep>/src/TableauBlanc.java
/**
* Created by cyprien on 23/02/16.
*/
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.awt.event.MouseMotionL... | 1f9159265b3bd1788149b89c0f1fe88800aa886d | [
"Java"
] | 3 | Java | Cypaubr/ProgRep_Dessin | be1edbf221f18e3bc411337bc79d5b444028abb3 | c440588104a55d64e116f9aefb75066e247138dc |
refs/heads/master | <file_sep>//
// QueryParametersCodable.swift
// FlintCore
//
// Created by <NAME> on 29/01/2018.
// Copyright © 2018 Montana Floss Co. Ltd. All rights reserved.
//
import Foundation
/// !!! TODO: These need to change to URLRepresentable or similar, so that custom path and query param encodings can be
/// applied ... | ea5bb13eca229060d5dd24550ac68f643e4e207c | [
"Swift"
] | 2 | Swift | gabrielPeart/Flint | 841e2d24cf608f44906ec75d23cae04a34220b84 | 400ba9cd6b42e553b1345238a3ba2070ea21f6a2 |
refs/heads/master | <file_sep>package com.example
import org.springframework.boot.SpringApplication
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.cloud.config.server.EnableConfigServer
@SpringBootApplication
@EnableConfigServer
class SpringCloudConfigDemoApplication
fun main(args: Array<... | 43d356b8a42e6968c530447e4aa8f90c5391de8d | [
"Markdown",
"Kotlin",
"INI"
] | 3 | Kotlin | moleske/spring-cloud-config-demo | 92a49e482ef99663dd617433a32979a1d684d666 | b5e0f3857e6d454e7c6c0595c30136a0cf0337c1 |
refs/heads/master | <file_sep>package _03_More_Array_Fun;
import java.util.ArrayList;
import java.util.Random;
import javax.swing.JOptionPane;
public class MoreArrayFun {
// 1. Create a main method to test the other methods you write.
public static void main(String[] args) {
MoreArrayFun morearrayfun = new MoreArrayFun();
more... | 7e8f613ce906e7ba597f878f237997a5af575cb4 | [
"Java"
] | 1 | Java | League-level3-student/level3-module0-Sofisa | 0cf8dae99fff2c2dd8277a129f72ac6fbde39cf4 | 933f62af37e7de1482bad37a03027c16a12cbb62 |
refs/heads/master | <repo_name>476554858/dubboOne<file_sep>/boot-order-service-consumer/src/main/resources/application.properties
server.port=8081
dubbo.application.name=order-service-consumer
dubbo.registry.address=zookeeper://127.0.0.1:2181
dubbo.monitor.protocol=registry
dubbo.consumer.check=true
spring.datasource.url=jdbc:mysql://lo... | 2dbcc90c849c7bcad98500e6daf6c647badbb39e | [
"Java",
"INI"
] | 8 | INI | 476554858/dubboOne | d75212a19da4ee768a420fdf0a1e35e1c3ef1219 | 7ea2010d7bdee6ccc50fd2d977380a89711afb14 |
refs/heads/master | <file_sep># .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
JAVA_HOME=/usr/lib/jvm/java-1.8.0-enjdk-1.8.0.232.b09-0.e18_0.x86_64
PATH=$PATH:$JAVA_HOME:HOME/bin
<file_sep... | a745da8cd16aa5125cedeb9cd609b5fe8a5bcfa1 | [
"Shell"
] | 2 | Shell | ajaykumar7842/new-practice | 2cb52959e49e381abaa87629c1e7bafb6087036f | 73269e070af216d82a71feca04918e5e0946ca0f |
refs/heads/master | <file_sep>package main
import (
"bufio"
"encoding/csv"
"fmt"
"io"
"math/rand"
"os"
"strconv"
"time"
)
func mnistTrain(net *Network) {
rand.Seed(time.Now().UTC().UnixNano())
start := time.Now()
for epochs := 0; epochs < 1; epochs++ {
training_data, err := os.Open("mnist_dataset/mnist_train.csv")
if err... | 02614bde8fbe8880400b3f82c9290bf1f037c83a | [
"Go"
] | 1 | Go | rstorr/neural_net | 7cc5a3090a215c75dc2caee5f44768563224c7f5 | 95dabddd968affd3b226597952997791ad1696d9 |
refs/heads/master | <file_sep>#include "Node.h"
#include <iostream>
using namespace std;
void Node::move_node(Node& n)
{
parent=n.parent;
left=n.left;
right=n.right;
next=n.next;
key=n.key;
colour=n.colour;
n.next=nullptr;
n.parent=nullptr;
n.left=nullptr;
n.right=nullptr;
}
<file_sep>#define CRT_SECURE_NO_WARNINGS
#include <... | e4eb512ef5375ad443c4229d6755366377b85471 | [
"Markdown",
"C",
"C++"
] | 24 | C++ | milicaugarkovic/Algorithms-DataStructures | d02f3813f37072d733e6bef8ab678ec8e60f1e6d | 94a5b9b1fb0fdfa737eb72cab0d7755d5d294db1 |
refs/heads/master | <repo_name>wmadden/pariah-site<file_sep>/src/library/Pariah/Access/Resource.php
<?php
/**
* {filename}.php
*
* Copyright (C) 2008, Pariah Software,
* all rights reserved.
*
* @author <NAME>
*/
/**
* A Resource represents an access controlled object in the domain.
*
* Resources created at run time, existi... | 299e3cc108fe9cf67cca9c3b23818f1d9dcb819c | [
"PHP"
] | 45 | PHP | wmadden/pariah-site | 92daf76ccbf7f1eb099b69dce56762867fce91e2 | d200cba06d8da61e40ad6a8a54d5370b91d00167 |
refs/heads/master | <file_sep>using System;
using System.Collections;
using System.Collections.Generic;
using System.Threading;
using RF.Contracts.Models.Keys;
using RF.Domain.Contracts.Models.Keys;
using RF.Domain.MarketCache.Contracts.Enumerations;
using RF.Domain.MarketCache.Contracts.Interfaces.Data;
using RF.Domain.MarketCache.Contr... | d57e839d57f51882aed78e41cdee56f73ad9b56b | [
"C#"
] | 3 | C# | mnmr/ErrorListSample | 07528373d258f85879fc2c88a45f9722f58009cb | c89d7c4a9ea4f257d588e5e32c6ade667f586526 |
refs/heads/master | <file_sep>$(function() {
$('#enter_name').hide();
$('#enter_email').hide();
$('#enter_valid_email').hide();
$('#enter_message').hide();
var options4 = {
height: "150px",
width: "150px",
line_width: 8,
color: "gray",
starting_position: 00,
percent: 35,... | 5b3a8433eb8012eb6458e7f8147d1215bdf1089e | [
"JavaScript",
"PHP"
] | 3 | JavaScript | TejramChafle/tejram-chafle.info | 640409b0e5ed6ae9098be81edd032b6411b634c3 | cce98d9c6c4d00ec909d9baf2203c4312d050795 |
refs/heads/master | <file_sep>package digital.ssn.java.sdk;
import java.io.IOException;
import com.google.gson.*;
import com.google.api.client.http.*;
import com.google.api.client.http.javanet.NetHttpTransport;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class Signature {
private static final Logger LOGGER = Log... | 8265cdc5c649f7ef6d11ba6526d23835a1a44728 | [
"Markdown",
"Java"
] | 3 | Java | sabay-digital/sdk.java.ssn.digitial | 83a9ca5fa137a01f6c452059903d0eb93ed0089c | d73743435258f0c7ea6436615930614bd90945e1 |
refs/heads/master | <repo_name>alebal14/prob<file_sep>/vendor/Laravel 5 Image Upload and Resize._files/FavoriteThread.js
new Vue({
el: '#js-favorite-thread',
data: {
on: false,
title: 'Favorite this thread?'
},
ready: function() {
this.on = $(this.$el).hasClass('on');
this.setToolTip();
... | 9315c78b8ce69b251c64ad963a7cc0fc1cb468d2 | [
"JavaScript"
] | 2 | JavaScript | alebal14/prob | a1c822acb22ca156663658b6b11c7d7195353a09 | b8cdcccc3d92672507e60b6f60608fdb28d4269e |
refs/heads/master | <file_sep>package com.zhuandiaoqi;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
/* F调转C调
* created by <NAME>
**/
public class HalfHighFtoC {
public static void main(String[] args) throws Exception{
String f... | 36359b57b515523dd22f4ad254acf845d9c19532 | [
"Markdown",
"Java"
] | 2 | Java | Powerstring/zhuandiaoqi | a15d5695bb649b0936c30ba154fbcf2321311a0f | 656e0995486c160b1bc11200a8a258aa7d3ee230 |
refs/heads/master | <file_sep>package org.azienda.Confluent_Controller;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.control.Menu;
import javafx.scene.control.MenuBar;
import javafx.scene.control.MenuItem;
import javafx.scene.control.SeparatorMenuItem;
import javafx.stage.Stage... | 2bfad754c27f96f98d195ba3395172bbbcd8d12f | [
"Markdown",
"Java",
"Maven POM"
] | 11 | Java | Reizel90/Confluent_Controller | 5760255bdfbddf26b38b79a7edc0e0a029d68b64 | 9276c2e19d3331405ed551430186a9f3445b42e2 |
refs/heads/master | <repo_name>IsmailYC/City-Planet<file_sep>/README.md
# City-Planet
A new kind of game where you have rebuild famous city according to the given order. The game contain several levels that help you explore the world in a fun and immersive way.
;
const nodeMailer = require('nodemailer');
let key = process.env.GMAIL_NODE;
let user = process.env.GMAIL_USER;
module.exports = function(app) {
app.post("/api/connects", (req, res) => {
let... | ad12b583c86da21c3e0f9ab62828d56e81e5fae3 | [
"JavaScript",
"Markdown"
] | 10 | JavaScript | MattMurn/MMReactPortfolio | 1c26b2d3b317bc436e869e1c3ae6119ed2d4578d | 78a68bc679659406bfb7233476c8369bdc44c500 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.