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>const gulp = require('gulp'); const sass = require('gulp-sass'); const autoprefixer = require('gulp-autoprefixer'); const concat = require('gulp-concat'); const pump = require('pump'); gulp.task('mix:js',()=>{ return gulp.src([ 'node_modules/jquery/dist/jquery.js', 'node_modules/animejs/anime.js' ]) ....
bdb4c434a8a45c1eac5d25e3c3e97a20581b1010
[ "JavaScript", "Markdown" ]
2
JavaScript
triyuniarti/go-tix
8ac4d8088b4065e716b38bc85b20921043591322
b139be4040a0ad501ab27c61d3b6923e57efbc5e
refs/heads/main
<repo_name>CoolJames1610/Flighter<file_sep>/Flighter.py import json from haversine import haversine, Unit with open("Flighter/airports.json", "r") as f: data = json.load(f) class Flighter: def __init__(self, plane=None, speed=0, icao1=None, icao2=None): self.plane = plane self.speed = speed self.icao1...
6f8c30d12850cb75a15f2e4ec9652a6d2cbddd77
[ "Markdown", "Python" ]
4
Python
CoolJames1610/Flighter
53f01581ead05e1bb4d5755c3d420e63494691f0
1795cbe7cbabde05f24a6815ac7b6ecae661ec6d
refs/heads/main
<repo_name>nokkkkkk/BiskWar<file_sep>/src/std_bloc.cpp #include "std_bloc.h" #include <math.h> Std_bloc::Std_bloc() : Blocs() { } void Std_bloc::setup(bool p_block_depart) { m_close_true = false; //Est-ce que on doit detruire l'objet ? m_block_lock = p_block_depart; m_block_is_virus = p_block_de...
4ee8baf29f4333f397ee9c9ed3b772ef675bb3a8
[ "C++" ]
14
C++
nokkkkkk/BiskWar
61657a5200da7f8a47c2d2d57ae3476db7ef8503
53bae0c801af7c20c1c3ea20866ce1d187738e74
refs/heads/main
<file_sep># Crash envoy plane This is a test envoy management server to expose crash behaviour of udp clusters as in https://github.com/envoyproxy/envoy/issues/14866. ## Building ``` docker build -t c-m-s:latest . ``` ## Running * start control plane ``` docker run --rm -p8080:8080 -p12345:12345 c-m-s:latest ``` * ...
f05272435a17db8b41619a53e4396574ec46ece8
[ "Markdown", "Java", "Dockerfile" ]
3
Markdown
bartebor/crash-management-server
24f3f071a5c8dd07eac62f4a930633f4832b9dc1
2ddb7a4a804384d5afc3864321fbc23c4303b360
refs/heads/master
<repo_name>utksara/Airport_sim<file_sep>/team8/Source Code/Airport Simulator/src/com/as/airport/Runway.java package com.as.airport; import java.io.*; import java.util.*; public class Runway { public static int total_vacant_runways = 1; public boolean status = false; public int RunwayNumber; public static ...
acf9cab2e40f35831ed1bdf079624e49040dc9db
[ "Java", "Text" ]
9
Java
utksara/Airport_sim
3ba2265e9b8268f220455bebfab9fe1f59afd1c4
b6e763a0aa0871c19da22efe095ace9c89bc7d15
refs/heads/master
<file_sep>server.port=443 server.ssl.key-store=classpath:client-keystore.jks server.ssl.key-store-password=<PASSWORD> server.ssl.key-password=client-key-pass server.ssl.trust-store=classpath:client-truststore.jks server.ssl.trust-store-password=<PASSWORD><file_sep>server.port=8443 server.ssl.key-store=classpath:server-...
bd1d80c408442401e29b4060d5bf83e5794e3d91
[ "Java", "INI" ]
4
INI
oxaoo/ssl-comm
da9919050ffd6090d2b8bc27a89ef6eca3dbf6bb
93c0d5733de475bd89fe8dd566c93f96a5e20e87
refs/heads/master
<repo_name>broomy169/cp2406_farrell8_ch11<file_sep>/Programming Exercises/UseDivision.java /** * Created by Graeme on 14/09/2016. */ public class UseDivision { public static void main(String[] args) { DomesticDivision domesticDivision = new DomesticDivision("Accounting", 1, "QLD"); DomesticDivisio...
14e594c73dade37a039d919b8855dc696a9c6998
[ "Java" ]
5
Java
broomy169/cp2406_farrell8_ch11
3547e8e064f82e6e0f972a9865526b70f5314fc3
30e6bb9b89722fd9c3b55cbc2c328e5ae3753eb3
refs/heads/master
<repo_name>Joz84/js-exo3-191<file_sep>/src/browser.js const input = document.getElementById("search"); const list = document.getElementById("results"); input.addEventListener("keyup", (event) => { const letters = event.currentTarget.value; fetch(`https://wagon-dictionary.herokuapp.com/autocomplete/${letters}`) ...
ce6f8d682031fab921853f728a2ea43969715709
[ "JavaScript" ]
1
JavaScript
Joz84/js-exo3-191
ba6e7a9641a29b0cacedb0b41cda45d4b5dba697
e88aa66e90494744786b71c5cc9c41514cdd70bf
refs/heads/main
<file_sep># Palindrome-number-checker-using-php A PHP program to check whether given number is palindrome or not <file_sep><?php function palindrome($n){ $num = $n; $sum = 0; while(floor($num)) { $rem = $num % 10; $sum = $sum * 10 + $rem; $num = $num/10; } return $sum; } $input = 1235321; $num ...
f6f27386c3415d2ca7a4b29ce995a0a4173e85ba
[ "Markdown", "PHP" ]
2
Markdown
cyril1010/Palindrome-number-checker-using-php
601c4ae8ff8e04c65f631e91c0d173ba82622191
6ed57cb4ceb0dae674719aa26fb5fba3d95ee159
refs/heads/master
<repo_name>trungchjp/1945<file_sep>/1947/src/GameWindow/Plane.java package GameWindow; import javax.imageio.ImageIO; import java.awt.*; import java.awt.event.MouseEvent; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; /** * Created by <NAME> on 3/3/2016. */ public c...
48ac61ffffec6cc8f22a963e57603122ead129cf
[ "Java" ]
4
Java
trungchjp/1945
e78370dd9cecaeab610d6fcbf23d58a3251fab1a
895576a039ab233704569f0a63a89a79853860fc
refs/heads/master
<file_sep>package main import ( "fmt" "github.com/julienschmidt/httprouter" "log" "net/http" ) func Index(w http.ResponseWriter, r *http.Request, _ httprouter.Params) { fmt.Fprint(w, "pipe.services!\nThis will later serve the UI") } func FlowHandler(w http.ResponseWriter, r *http.Request, ps httprouter.Params) ...
4ed390c76527786efe20129b3b6fa79fe1394d86
[ "Markdown", "Go" ]
2
Go
michaelkirschbaum/pipe
3bda58f1effa7bd3d05808135099128ac49ac732
1edad1f908ee4cd578c0a10d1a57ff1f5b5981de
refs/heads/master
<file_sep>// Functional Component import React from 'react' // @Normal Convention // function Greet(){ // return <h1> Hello love</h1> // } // @ES6 Convention const Greet = (props) => { console.log(props); return ( <div> <h1>Hello {props.name} aka {props.heroName}</h1> {...
613aaa80be0ec933349448bb8542336efda734ca
[ "JavaScript" ]
3
JavaScript
apoorv-asc/Intro-to-React
22984d0883c48d667abb599e8891c42abd76e15c
ddbd32b46ffa1df5bbe71a8a95caeb645132396a
refs/heads/master
<repo_name>im-p/Python<file_sep>/PandasExercises.py # -*- coding: utf-8 -*- """ Created on Fri Jan 11 13:55:21 2019 @author: admin """ import pandas as pd import numpy as np #Pandas program to convert a Panda module Series to Python list and it’s type. """ s = pd.Series([1,2,3,4,5]) print("Pandas Series and type") p...
4b88f5f5cd216ea5dfab01bbe0640cd66e12cff5
[ "Python" ]
2
Python
im-p/Python
43d6ed7a3441ee11366a24c7e8d22675f1bd9b90
0bfa4b5c16d6f6a1ba994ebcc9bbb1b1e715c08e
refs/heads/master
<file_sep>package pl.net.kopczynski.blockchain.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestParam; import org.spring...
7c3158dd56ab91e6aaf85239608be29b20ede923
[ "Java", "Shell" ]
2
Java
tkopczynski/blockchain-hello-world
2e1f4230c8a7e313203de98ff702159c757c0808
57ca58935a5e958b91bf8173beb899184c0da3fc
refs/heads/master
<repo_name>sca4cs/JavaScript-III<file_sep>/assignments/this.js /* The for principles of "this"; * in your own words. explain the four principles for the "this" keyword below. * * 1. window - 'this' refers to the window when there is no object to point to * 2. implicit - 'this' refers to the object from within the objec...
b07e8a269b9b7804e9841b2ef0c03c79e5f21daf
[ "JavaScript" ]
1
JavaScript
sca4cs/JavaScript-III
d2973b911e54f4b4f1d81bfbdea2dc423e40e375
97d347d4fb54c0b0bf0f91424d4c2141c39605d8
refs/heads/master
<repo_name>nik1811e/shop_project<file_sep>/public/script/menu.js function getMenu(type) { $.ajax({ url: "/api/menu/getmenu", type: "POST", dataType: "json", data: {"type_food": type}, success: (data) => { drawTable(data); } }) } function drawTable(dat...
70bb6fce53889f2d033c5fbe2cd061f849f4faf5
[ "JavaScript", "Markdown" ]
12
JavaScript
nik1811e/shop_project
6b12ae399cbfa77e98d80a98da6925e1647bdca6
533f8279f71d15b0ddb5e7b25ed0728bf0f4d326
refs/heads/master
<repo_name>zacharymorn/Algorithm-MergeSort<file_sep>/src/MergeSortCountInversions.java import java.io.File; import java.io.FileNotFoundException; import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class MergeSortCountInversions { public static void main(String[] args) { List<Integ...
ea45fd107fcf4dd67950c5178510cb03bba0a4ca
[ "Java" ]
1
Java
zacharymorn/Algorithm-MergeSort
d6aca147cad1112670d76bf829c1989c0a11475f
f638b174bb7cde4d59669f31c0a5e11072d0074d
refs/heads/master
<file_sep># Currently Viewing App Shows a list of IP addresses viewing the page ## Requirements To run this application in your local development environment ensure that your system meets the following requirements: 1. Ensure you have internet with a good speed. The whole process and application will not work witho...
e49894c2d0bc97a3c0dba864f283ac2027c57f8e
[ "Markdown", "JavaScript" ]
3
Markdown
bytenaija/currently-viewing-app
09e46ffb2786f880317ea218da892933f0f8f223
ad5027d5d383fa7851f16d256f57f9dd45c5d727
refs/heads/master
<file_sep>module.exports = function (api) { const options = global || {}; api.cache(() => options.dev); const presets = [[ '@babel/env', { debug: true, useBuiltIns: 'usage', corejs: 3, targets: [ 'IE 11', ] }, ]]; const plugins = [ ['@babel/transform-runt...
f2671b8007142a1920f55fdbc6ea8bc694c54dca
[ "JavaScript", "Markdown" ]
3
JavaScript
maximtop/userscript-building
833cf1e08199e15561f4069faa6ea3c51bad4df2
600f6f2eebcca312e10a359f40c51767008ff852
refs/heads/master
<repo_name>santiagen25/libros-por-libros<file_sep>/public/Ajax/editarNacimiento.php <?php use Illuminate\Support\Facades\DB; if(session_status() == PHP_SESSION_NONE) session_start(); if(isset($_POST["q"]) && isset($_SESSION["email"])){ if(isset($_POST["id"])){ //se está cambiando un nombre de un usuario q...
0a31e75502d63bf9687dd14e6042c62b2236f1b0
[ "JavaScript", "PHP" ]
24
PHP
santiagen25/libros-por-libros
320dc074a70ca230d75448c5a2b60cdd48ccf4ef
5cfcd7ce9f6ed2ede904cfd81fa34fc529fec5ed
refs/heads/master
<file_sep>using System.Collections; using System.Collections.Generic; using UnityEngine; public class KeyScript : MonoBehaviour { //When the user gets the key, the key's name should be pushed into the PlayerScript's List receivedKeys. //Once the keys are added into a specific button, the key's name in the re...
4b6eded23607a6eb06c390acf90a3b26efc04f01
[ "C#" ]
16
C#
unheardCARNAGE/space-walker
36fd619f0f5f0407574c8c4b77f22f350fb1a0d4
62964dca320fff24d84694d1f242b6cb67e04562
refs/heads/master
<repo_name>athulregis/CCE_Calendar<file_sep>/sample/src/main/java/sema4/com/CCE_HOLISTIC_CALENDAR/CompactCalendarTab.java package sema4.com.CCE_HOLISTIC_CALENDAR; import android.app.ProgressDialog; import android.content.res.Resources; import android.graphics.Color; import android.os.Build; import android.os.Bundle; i...
c971bbf40d80b3fcfea47bdb5fb1c21267946bca
[ "Java" ]
1
Java
athulregis/CCE_Calendar
f004598fd50e98df93ec0fd25f31fcecdd6a150b
516431b0749a936f3e997c852bf604210c1664f2
refs/heads/master
<file_sep>from PIL import Image img = Image.open('oxygen.png') rgb_im = img.convert('RGB') for x in range(3, 608, 7): r, g, b = rgb_im.getpixel((x, 48)) print(chr(r), end='') print() a = [105, 110, 116, 101, 103, 114, 105, 116, 121] for x in a: print(chr(x), end='')<file_sep>import datetime for i in rang...
4fea63dfccbc777bcc52ffda7aa8c344d6c5bee8
[ "Python" ]
12
Python
CapitanKK/python-challenge
513308f4541287e72dc0a2244faed407d867ec14
bc2346d8071ade03f14dd6e2bfe2b7355e65b128
refs/heads/master
<file_sep># Introduction The file in this project contains code to download and read the data files from the "Human Activity Recognition Using Smartphones Dataset, Version 1.0," based on data obtained by <NAME>, <NAME>, <NAME>, and <NAME>.[1] Information on the definition of variables in this data set can be found i...
56917404aa73c04e8485097dd22e5cdb2d68c042
[ "Markdown", "R" ]
3
Markdown
thatchermo/GettingDataProject
c27a4463117d53bcdb134f5c12c7c97f37c9d7bf
d36a0ba1600b5e2f00cc1c2c8270d91612309047
refs/heads/main
<file_sep>use branca::Branca; use rocket::{State, serde::{Deserialize, Serialize, json::Json}}; #[derive(Debug, Serialize, Deserialize)] #[serde(crate = "rocket::serde")] pub struct CheckRequest { token: String } #[post("/check", data = "<token>")] pub async fn check_auth(token: Json<CheckRequest>, key: &State<&[...
767f79afc94b0952cb8b7889d4c0d70093a23a51
[ "TOML", "Rust", "Dockerfile", "Markdown" ]
22
Rust
HellFireCMS/hellfire-backend
a216f72286f7f5277a55b80f84e491affa1401dd
5ce84053e82d3d0959eefa3d65159cadbf32c512
refs/heads/master
<file_sep>using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ZohoApp.App { public interface ITransformHistory { string Transform(TransformHistoryDto transformHistoryDto); } public enum Actions { None = -1, ...
621f1a0e062cbd4b260127b290e70e8ce4018312
[ "C#" ]
4
C#
ccassob/ZohoApp
b4eee5620e52ac2be89dc6b19d9839433fec2fc0
05f18d27d2c77685e11c1b0a005f30276e0d4fb7
refs/heads/main
<file_sep><!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Quem somos</title> <link href='https://fonts.googleapis.com/css?family=Didact Gothic' rel='styl...
1f1b26aa5904dd7cfae639b43a94dbf738a8a9eb
[ "Markdown", "JavaScript", "HTML" ]
10
HTML
tbmota/SoulCode_bootcamp
eaeb5d89467069c4d1a2fe80a0a74e0e6534db72
e9ba27a00ef6047174f9cb663a27b7a60cd8bc16
refs/heads/master
<repo_name>YoussefKhaledd/NNJSS<file_sep>/src/component/AC/AC.component.js import React from 'react' import NavigationBar from './ACNavigationBar' export default function HOD() { if(localStorage.getItem('auth-token') == null){ window.location.href = "/LogIn"; } else{ return ( <div> ...
d6c21eeee90d24fe9ffa0a0bd0ef987f414154ce
[ "JavaScript" ]
27
JavaScript
YoussefKhaledd/NNJSS
3f7f3b06769278708119617298b9fccdcd05027f
d40da9f718e06406263be9efd24e89df236b5e12
refs/heads/master
<file_sep>require 'spec_helper' RSpec.describe InputParser do it "successfully reads the customers file" do customers = InputParser.customers_file(InputParser.data_dir + 'customers') expect(customers).not_to be_nil end it "successfully reads the items file" do items = InputParser.items_fil...
61b1899d08996f613b03820496cf36d68ae8550d
[ "Ruby" ]
15
Ruby
luisc/cartchallenge
608a7216b7e28ef7427630350ae3aa45fc9bc956
a677d2cfb29419f471c6e605f581dfd481eaf707
refs/heads/master
<repo_name>armved/node-workshop<file_sep>/index.js const express = require('express'); const low = require('lowdb'); const FileSync = require('lowdb/adapters/FileSync'); const bodyParser = require('body-parser'); const uuid = require('uuid'); const passport = require('passport'); const LocalStrategy = require('passport...
7878b1f55d9bed78d4dc3c3f4475703eb785d6e7
[ "JavaScript" ]
1
JavaScript
armved/node-workshop
3c3b25c2c2550d7b41b30145f2b50a4a44126110
c4211ca9028e39f38c58a57e7cd4f63ed6c41327
refs/heads/master
<file_sep>import os import json import logging from functools import wraps from flask import Flask, redirect, render_template, request, send_from_directory, Response, make_response log_file = 'dumpass.log' logger = logging.getLogger('honeypot') logger.setLevel(logging.DEBUG) fh = logging.FileHandler(log_file) fh.setLe...
6a4c30b2facdc6f8a85ee88fe711fe5fdab28bfe
[ "Markdown", "Python" ]
2
Python
andreweng/owa-honeypot
17d7166c3dc319e6acd9eb7343e9fa9eef225562
d6c62f3642724cb1c0bac9a0dbaead8b0e981018
refs/heads/master
<file_sep>from flask import Flask from flask_restful import Resource, reqparse, Api app = Flask(__name__) api = Api(app) app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///data.db' app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False app.config['PROPAGATE_EXCEPTIONS'] = True from data import NganhHoc, db db.init_app(...
2ea0704ee399c697b90252fd3218909a88803982
[ "Markdown", "Python" ]
6
Python
ngoquangphuc/ChatBot_Python
c36f8a1b8e3ad4934710adcb7b874398c7d3c47d
b685b8d4763ba7800336f783c2b50d7d59d04be1
refs/heads/master
<file_sep>import scrapy import pandas as pd from scrapy.selector import Selector class DoubanSpider(scrapy.Spider): name = 'maoyan' allowed_domains = ['maoyan.com'] # 起始URL列表 start_urls = ['https://maoyan.com/films?showType=3'] def start_requests(self): user_agent = 'Mozilla/5.0 (Macinto...
e7fcec587e2b6759e13994311fd558b7efc081d8
[ "Markdown", "Python" ]
11
Python
heyu-tairou/Python001-class01
51160805fc54cac8edbed1fe00f28316a0c2c489
d746ccbde65aeaf0b99aae75d163f2a8d65b6ede
refs/heads/master
<file_sep>import numpy as np import pandas as pd import pickle import matplotlib.pyplot as plt my_data = pd.read_csv('data.txt',names=["x","x1","x2","x3","x4","y"]) #read the data z X = my_data.iloc[:,0:4] ones = np.ones([X.shape[0],1]) X = np.concatenate((ones,X),axis=1) y = my_data.iloc[:,4:5].values theta = np.zer...
2e20d62ed1d787341d51464eda1c92056c959c94
[ "Markdown", "Python" ]
2
Python
muratbas6/redwinequality
24c89c3cb7d2fdb6a6effa3db2147be40cdb7d54
bcf9dcf25fa7de5ec528563808e1bd5ca57c4af1
refs/heads/master
<file_sep>using Zappr.Core.Entities; namespace Zappr.Core.Interfaces { public interface IUserRepository : IRepository<User> { public User Add(User user); public User FindByEmail(string email); } } <file_sep>using GraphQL; using GraphQL.Types; using Zappr.Api.GraphQL.Mutations; using Zappr...
0018c69636e32c517ff5d30b36c73d95f434c564
[ "Markdown", "C#" ]
57
C#
DanteDeRuwe/zappr-backend
0a303a9f10eb8ac2e382c2c75cbf9483e2131146
17474081968e2c80d6c38a010c88f87a829d7106
refs/heads/master
<repo_name>wcools/shinyPPV<file_sep>/ui.r shinyUI(fluidPage( titlePanel("Classification and proportion of inferences"), withMathJax(), tags$div(HTML(" ")), fluidRow( column(4, wellPanel( uiOutput("nPH1"), uiOutput("cT1a"), uiOutput("sT2b") ) ), column(4, p...
9538c393a9044e10cf2d598cbfa06ed91e0608e9
[ "R" ]
2
R
wcools/shinyPPV
95239d72ea903f35764b3c2a371c1a82627f13af
c84dbd623e5acb15e98797e51c03844b8c0409da
refs/heads/master
<file_sep>import { AddTodo } from "./AddTodo"; import { v4 as generateUuid } from "uuid"; import { InMemoryTodoRepository } from "../../../adapters/secondary/InMemoryTodoRepository"; import { expectPromiseToFailWith } from "../../../utils/test.helpers"; import { CustomClock } from "../ports/Clock"; describe("Add Todo"...
d68d9858f9458d73b770fb4a2e781c9caf44c24a
[ "Markdown", "TypeScript" ]
20
TypeScript
JeromeBu/tdd-example
0949f6801d542da2d862728d12b17d27fdf67c6e
52f301a85c56d854c7c1c849c36b57f1bf7e862e
refs/heads/master
<file_sep>package de.htwg.memory; import org.apache.http.client.methods.HttpPost; import org.apache.http.impl.client.DefaultHttpClient; /** * this class represent a singleton base connection. * * @author <NAME> <<EMAIL>> * @version V1.0 18-01-2014 */ public class BaseConnection { //url were the webserver is l...
313aab75f3ef2fcc59445ae554620eb90d0f0504
[ "Java", "PHP" ]
14
Java
ymc-sise/sport-memory
bb32cb81f8d870fb0382e09a4ade415f59bb5721
ff15e54b4623d706f13942827aa603c5c016c4dc
refs/heads/master
<repo_name>arci5891/vuetify-admin<file_sep>/examples/laravel/routes/api.php <?php use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can regi...
69cef768a0c109b19f6ced7484ee30dde599b733
[ "PHP" ]
2
PHP
arci5891/vuetify-admin
2ce69b2ea04e356362ac770083d3440736d9d5d3
60ed264d874eca860dc8c683ee8fcd44a474d715
refs/heads/main
<repo_name>sharifkb/Valuing-nearby-Asteroids-by-Quantifying-their-Metal-Ore-Content<file_sep>/generalising for all asteroids in horizons database.py # -*- coding: utf-8 -*- """ Created on Mon Jan 6 03:23:19 2020 @author: shari """ import numpy as np import pylab as py import matplotlib.pyplot as plt from a...
88f6e4bbc4928153203df0f9a1b6f46f73429161
[ "Markdown", "Python" ]
3
Python
sharifkb/Valuing-nearby-Asteroids-by-Quantifying-their-Metal-Ore-Content
51ac7e80d07b6162bd2a2ca05f09d7d0995b8e53
a9e0531e6a79eda328dad30e67b0423e1b419855
refs/heads/master
<file_sep>package com.codility.excercises; public class CheckPerm { public int solution(int[] a) { int counter[] = new int[a.length]; for (int i = 0; i<a.length; i++){ if (a[i] < 1 || a[i] > a.length){ return 0; } else if (counter[a[i]-1] == 1){ ...
015e381d5ea8588de60a61190cfe27d4c657ebb6
[ "Java" ]
4
Java
yamsergey/Codility
7a430591c57ef783337b63b1a7a346ff4eb5bda4
9ba89e7fa0016dce893df90ba1cab79e97bf0a6b
refs/heads/master
<file_sep>"# react_appintro_navigation_test" <file_sep>import * as React from 'react'; import { View, Text, Button, AsyncStorage } from 'react-native'; import { NavigationContainer } from '@react-navigation/native'; import { createStackNavigator } from '@react-navigation/stack'; const Stack = createStackNavigator(); ...
631b4cd196e5a8f3a287235c800e61ddc4166e5e
[ "Markdown", "JavaScript" ]
2
Markdown
myhomeworkstation/react_appintro_navigation_test
97738c97e54ca40b9898b09280704d31448bc700
6f3357b79c65dacbf54402b0cf7d0b0eb1f0795d
refs/heads/master
<file_sep>#include "customsift.h" CustomSIFT* CustomSIFT::singleton=NULL; //TODO this should blur the image before sampling. Maybe. Vec2f CustomSIFT::getSubpix(const Mat& img, Point2f off,KeyPoint p) { Mat patch; Point2f pt (off.x+p.pt.x, off.y+p.pt.y); getRectSubPix(img, cv::Size(1,1), pt, patch); r...
e882281e853e943d90fb80de071b30c363c5f9fb
[ "Markdown", "Makefile", "C++" ]
10
C++
herobd/ComputerVision
076dd87a3dc63038c83da5ed13b363b8da5eb714
4b7223b30bda440fc9ead505952e44d7e54b6027
refs/heads/master
<file_sep>#include <stdio.h> #include <map> #include <vector> #include <set> #define MP(a, b) make_pair(a, b) using namespace std; const int N = 120000, M = 200000; int h[N][3]; char key[N][30]; int n, m, node_degree[M]; map<int, int> mp; set<int> edge[M], degree[N + 1]; vector<int> delete_order; bool visited[M]; ch...
c6f6a3d0c7d2ca651ac165e262aedf6b7dd695fa
[ "Markdown", "C++" ]
2
C++
LTzycLT/MPHF
8ead8444f5bcdc7de1f8530ac16fe398a269cfa9
a998dc3c8d124601a38d602ef05f21099aa9919e
refs/heads/master
<file_sep>print("hello insider!")
2fed49468f84ff56334aeddae1bad6f975952765
[ "Python" ]
1
Python
Tsukimisato/insider
75fa351b9b059cc0cc16785ce22f5d9c9992d8e5
19cfadbd1daabd567a1d384560670b6288a9b726
refs/heads/master
<repo_name>atozitkr/docker<file_sep>/jupyter_notebook_config.py # get the config object c = get_config() # Location for users notebooks c.JupyterHub.bind_url = 'http://127.0.0.1:8888' c.JupyterHub.hub_connect_ip = 'notebook' c.NotebookApp.base_project_url = '/notebook/' c.NotebookApp.base_url = '/notebook/' c.NotebookA...
957d93bb1ce2c017e6c6b725b3c694a152d97367
[ "Python" ]
1
Python
atozitkr/docker
2aaf2ee73785751842ccfb8918b70ac66e5f61f1
72c7485ca33b07087104f016eb12995443ae2db8
refs/heads/master
<file_sep>json.extract! comment, :id, :remark, :created_at, :updated_at json.url comment_url(comment, format: :json)
4acac7259118c438f913dd0c5b62753b9d76e8fa
[ "Ruby" ]
1
Ruby
JasonKroll/dtester
c2a052bdf18dddf419b073cd872a104faf99cfed
65c34df8cae9859f7e61dd0f9f5d92c8eaaae0d9
refs/heads/main
<repo_name>er7santana/ios-core-data<file_sep>/README.md # PW CoreData App for iOS built with Xcode and Swift 5 with CRUD operation using CoreData. ### Features - CoreData - Alert with text field item<file_sep>/pw-coredata/Model/Item+Extensions.swift // // Item+Extensions.swift // pw-coredata // // Created by <NAM...
5d24b619f02f731d6c2d6c9e7a0e5bb18fc7f184
[ "Markdown", "Swift" ]
4
Markdown
er7santana/ios-core-data
9d1469a3733b058ebba134e12764f7e61c38ee35
f9566d2013055d79dee0e934577615e4741522e9
refs/heads/main
<repo_name>Peyman2012/file-io<file_sep>/Talaee2.py last_week_of_month = input("Is it the last week of the mounth?(Answer like y/n) :") today = input("Enter day name: ") if last_week_of_month == 'y': if today == 'friday': print("Wear green clothes") else: print("Don't wear green clothes") ...
719107e9133e77d94b4c5d9332928b4d8b1886df
[ "Python" ]
4
Python
Peyman2012/file-io
f45f117872c095552394bdac9ec98ff654454d62
776ca530fefc0a1a8d169cf6e58f7d76c73df41f
refs/heads/master
<repo_name>claire1028/React-common-components<file_sep>/src/scratch-lottery/index.js import React from 'react'; import './index.css'; const prizeData = ['未中奖', '一等奖', '二等奖', '三等奖', '四等奖', '五等奖', '六等奖']; export default class Scratch extends React.Component { canRef = null; state = {level: null}; ctx = nu...
a6c2645d5236d6fceab895d9a13f078864bc27e4
[ "JavaScript", "Markdown" ]
9
JavaScript
claire1028/React-common-components
59389a2d10c5dd9a6863594e395e7263ed990fe7
39d739cf1f26c8ce34e4f873d88c95055f647f0b
refs/heads/master
<repo_name>steveminnikin/SimplifiedDipsticksCalc<file_sep>/SimplifiedDipsticksCalc/Scripts/custom.js $(document).ready(function () { var count = 0; var Data = []; var retrievedData = []; $('a[data-toggle="tab"]').on('show.bs.tab', function (e) { sessionStorage.setItem('activeTab', $(e.target)....
42491832051920904dd81ef0d36c530be6c41f92
[ "JavaScript" ]
1
JavaScript
steveminnikin/SimplifiedDipsticksCalc
5cc039a6f9b55e5626fb73037b8d9bdcdaf3a840
64ca5c49e9fb28f318c766a4016bf17bc2be56dc
refs/heads/main
<repo_name>Accessory/FlowGet<file_sep>/CMakeLists.txt cmake_minimum_required(VERSION 3.4) project(FlowGet) set(CMAKE_POSITION_INDEPENDENT_CODE ON) set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake_modules" ${CMAKE_MODULE_PATH}) set(CMAKE_CXX_STANDARD 20) include_directories(${CMAKE_CURRENT_BINARY_DIR}) inclu...
9bdb297f5460dde6a3208a4a7c2129a42d5efa34
[ "Markdown", "CMake", "C++" ]
3
CMake
Accessory/FlowGet
09f2185fbf4c90d0d2aea920b586050ddee96e4a
63deb1264de7d95d8469dae767521ebbe27c9cfc
refs/heads/master
<repo_name>TheOmalyst/cpp_algorithms<file_sep>/largest_count_element/max_element_count.cpp int get_max_count_element(vector<int> numbers) { int vector_len = numbers.size(); if (vector_len <= 0) return -1; sort(numbers); int max_count_element = numbers[0]; int max_count = 1; for (int i = 1, curr_element = number...
afa074583ce5445f3dec0dc59da91d8e8413b559
[ "C++" ]
1
C++
TheOmalyst/cpp_algorithms
57affc2c3a9097b5b3f896f8ea933ab78b5e5ce6
483dcb4842d3757111baf224138c005e7d9597cf
refs/heads/gh-pages
<file_sep>var p; function setup() { createCanvas(600, 400); p=createElement('p','your score will be here'); } var c1; var c2; function draw() { background(255,255,0); fill(255,0,0); ellipse(400,200,300,300); fill(0,255,0); c1 = mouseX+30*0.8509035; c2 = mouseY-30*0.8509035; ellipse(c1,c2,60,60); } var best_...
5d063abd0d32410987931674dcfa6c589e22e4e5
[ "JavaScript", "Markdown" ]
2
JavaScript
whackashoe/utopian-overlap
16d08ba487348d7ca713c5fb90f0c19963ca5e3b
d44795c79e67db2c3499cc1374d83ef7369f0892
refs/heads/master
<file_sep> data=input('Ingrese la cantidad de dolares: ') dolar=int(data)*3500 print('El costo en pesos es: ' + str(dolar)) <file_sep># TrainingPython # TrainingPython # TrainingPython
31f5b3fd394b3437fb48857ca4333e21dedd9ee6
[ "Markdown", "Python" ]
2
Python
pinillaalfonso/TrainingPython
91ec5b9f48f8fbbb741e56ccd642f7fab6650eda
749f99878350d2dac3dac41dc0c519b18debddd8
refs/heads/master
<repo_name>KongfuMan/ECommerce<file_sep>/client/src/components/Auth/Signin.js import React,{Component} from 'react'; import { Link, Redirect} from 'react-router-dom'; import { connect } from 'react-redux'; import * as actions from '../../actions/index'; class Signin extends Component { constructor(props) { ...
72aa39946b30c7a9c6e112f51f4b816a56a5323a
[ "JavaScript", "Java", "Markdown" ]
31
JavaScript
KongfuMan/ECommerce
f865360d43b4739391149af3c6421bf450bbc453
2edaf29f1037bfcb58b7bcc7fb2293ae2bf479f0
refs/heads/master
<repo_name>simrin051/Simrin_Portfolio<file_sep>/src/app/details/details.component.ts import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-details', templateUrl: './details.component.html', styleUrls: ['./details.component.scss'] }) export class DetailsComponent implements OnInit { co...
5f25ba33f448be328193dabf3085ce32c619392c
[ "TypeScript" ]
4
TypeScript
simrin051/Simrin_Portfolio
58eab6bb2399ff06abe45a451f74b63411d908ff
5f6117875576976ccbb5518838dcaddbdfc21d18
refs/heads/master
<repo_name>liubo777/template<file_sep>/spring-boot-shiro-app/src/main/java/com/wiscess/shiroapp/webapp/TestAction.java package com.wiscess.shiroapp.webapp; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.Res...
3ceb69e05cc9594b4ecae0aa8cbd6cbfeeca59fd
[ "Java" ]
1
Java
liubo777/template
37227c43c10781d36123bbda14c445113c4ff9bf
e96f17ce797489d57a040b7d56307772a3b20ce9
refs/heads/master
<file_sep>E2Lib.RegisterExtension("hob",true) -- makes the extension, true to load by defualt --Putting this here should make a global table to store all beams on the server? local HBeamTable = {} --push to ServerSideTable local void function PushToSST(Changes) --loop for every change table for I = 0 , #Changes d...
805cadc6d6297eb4c7b95b554ba8138afdcee3bb
[ "Lua" ]
2
Lua
NinjrKillr/HobBeam
e4d91b4febe22d854b7b8365421bc1e699cf7bd2
c281a2eecdb6ebaedc07576702803c1a9184d4d6
refs/heads/main
<file_sep>using System; using System.Windows.Forms; namespace Client_REST_SOAP { public partial class Menu : Form { // Criar instancia de serviços WCF_Soap_Services.AluguerClient aluguerClient = new WCF_Soap_Services.AluguerClient(); //Objeto Pessoa que mantem os dados do utilizador q...
25cdb82c5efb4fba387910fbc81e006fe4f4ddb5
[ "Markdown", "C#" ]
20
C#
BasilNight/ISI-16980-16986
e26afeea7adf86bf67bd30c5722d308f0bdb34e9
595abca7355bb80edc08648bd0c0fdba2bb3b116
refs/heads/master
<file_sep>package gogenserve import ( "code.google.com/p/go.net/websocket" "fmt" "net" "sync" "testing" ) type DefaultListener struct { wg *sync.WaitGroup addr *GenAddr } func (d *DefaultListener) OnConnect(conn *GenConn) { fmt.Printf("Yup got connection %v\n", conn) d.wg.Done() } func (d *DefaultListene...
8aa8b24f123f18375a53cf34cf3174fb6c49ba35
[ "Go" ]
2
Go
wirepair/gogenserve
f5f434df34c825ab98e0d6ac210974bbd98c66d8
0a15bf0ad4d0974160136c2e832668d24dd264d5
refs/heads/master
<file_sep>package technical.matillion; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import java.util.logging.Logger; import javax.annotation.PostConstruct; import...
14e28eab1f879faaa5536c60db90bff33ee48547
[ "Markdown", "Java", "INI" ]
3
Java
StefanPristoleanu/Matillion_Technical_Test
2a6ea9ce115f02480a628ae5b7e662c094de6e9b
2d53254c337583fca3da6c05c45b01df58ad83c4
refs/heads/master
<repo_name>trinadh1112/C<file_sep>/Bitwise/Swapping Bits/README.md # Bitwise ## Swapping Bits ### Problem Statement: Take a Number ( which is in the range of 2 power 32 ) that is of integer type. In that take two position source and destination from 1 to 32 which will swap the source bit and destination bit from t...
d6101055eeca6214949636f8e404159dee3af278
[ "Markdown", "C" ]
2
Markdown
trinadh1112/C
44ecfb3c6eca4a53faa884392143bba968f3a5c2
e47ed21fe4166ce5cab217ac27bb1f37d0d6e8dd
refs/heads/master
<file_sep><?php class bishop extends piece { public $color; public $shortcode; public function displaypiece($color) { if($color=='white') { return "<img src=\"images/wb.gif\" />"; } else if($color=='black') { return "<img src=\"images/bb.gif\" />"; } } public function set_shortcode($co...
e9f476a7b891a4de9c13945da48f6c6c0444127d
[ "Markdown", "PHP" ]
15
PHP
cavegenius/chessoop
3ec42d58d205af957e7a1ac03c099b36cc95d62e
55b8cce1c90484ccbacb3f19d787bbd9c81be583
refs/heads/master
<file_sep>package main; import java.util.Arrays; import java.util.Random; public class Gene { private String gene; private Random generate = new Random(); public Gene() { this.gene=generateGene(); } public Gene(String gene) { this.gene=gene; } String generateGene() { int left...
8514aa78a3cf89fe8e15ad7181877f2979832ec5
[ "Markdown", "Java" ]
6
Java
sswrk/WorldMap
71ecba5594cbd56af402d06efa1818ede25a98e5
aa699a59c8c69355b6a4f02a10c970631825d832
refs/heads/main
<repo_name>SarthakMakhija/kotlin-webinar<file_sep>/src/test/kotlin/in/meetkt/catalogue/fixture/ProductFixture.kt package `in`.meetkt.catalogue.fixture import `in`.meetkt.basket.domain.model.Price import `in`.meetkt.catalogue.domain.model.Product import `in`.meetkt.catalogue.domain.model.ProductId class ProductFixture...
55823ad5f85ab55631a4faa1629a0d842c8e7cf4
[ "Markdown", "Java", "Kotlin", "Gradle" ]
35
Kotlin
SarthakMakhija/kotlin-webinar
50bd48a07d28f33d1bdda51287067deab81809b9
eb7002510061ffacfdf3f0a2300d4dd205b9e4d9
refs/heads/main
<file_sep>import numpy as np import itertools as it import matplotlib.pyplot as plt from sklearn.preprocessing import MinMaxScaler def read(dataSet): #reads the xyz file, returns lines xyz = open(dataSet, "r") #open file for glycine data lines = xyz.readlines() xyz.close() return lines #lines is an...
b02ee5bb70d728143f8a1b97238f2e47fba0fcdc
[ "Markdown", "Python" ]
15
Python
thejeffreyli/BowmanGroup
62938b0f2ce3ba557a65b289c4b46a75656d07e7
7a1dd9c0e31e033892ac0f632d8a2a96260c02c3
refs/heads/master
<repo_name>skybeyond/xqb<file_sep>/phpcms/libs/class/param.class.php <?php /** * Created by PhpStorm. * User: beyond * Date: 2018/5/24 * Time: 10:25 */ class param{ private $route = ''; public function __construct() { if(isset($_SERVER['PATH_INFO'])){ $pathinfo = array_values(array...
2f533f2c29bdea21d63711328cb4efb1f3ad1fa8
[ "Markdown", "PHP" ]
11
PHP
skybeyond/xqb
46c94a6e29b15ba39cf241f7db3cc973a84a018a
549d669379f90963516e791f6ef950125631b85c
refs/heads/master
<file_sep>module Mongoff class Criteria include Enumerable attr_reader :model attr_reader :query def initialize(model, query) @model = model @query = query end def count query.count end def each(*args, &blk) query.each { |document| yield Record.new(model, do...
fbad455daca44fc8ed7b7ef784a70536488f7a04
[ "Ruby" ]
16
Ruby
kaerdsar/cenit
95c41bf436126604e304257614d09fadc55733a6
d750dbfd7db0fcc18826b2a2de0cf1881b329a18
refs/heads/master
<file_sep>include ':techAdhocUtils' include ':app' rootProject.name = "TechAdhocUtils"<file_sep>package com.techadhoc.techadhocutils.features.utils import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import android.graphics.Color import android.view.Gravity import andr...
c5c4be314fb73d8b756f70f3ecab030f366a8969
[ "Markdown", "Java", "Kotlin", "Gradle" ]
14
Gradle
TechAdhoc/TechAdhocUtils
4c07f8af3d2154d20d891cd3e9ecd76088d80c9c
c3cc121529ff19fce966c8382cdf8177f43f00ae
refs/heads/master
<repo_name>drittspill/prg1000-oblig-2<file_sep>/klasseliste.php <?php include ("start.html"); ?> <head> <title> Klasseliste </title> </head> <body> <h3>List elever i en gitt klasse</h3> <form method="POST" action="" id="klasseliste" name="klasseliste...
0f739e4a97f41f478a9ee936ec11558107b913c9
[ "Markdown", "JavaScript", "PHP" ]
9
PHP
drittspill/prg1000-oblig-2
2052ad3f6130fc3f79e5ea7636d33a083591d0e7
93f49d493c41d8f49bcdf6d585b8d75ef42a1653
refs/heads/master
<file_sep>const interpreter = require('.'); function spawn (context={}) { const setContext = (newContext) => Object.assign(context, newContext); return function (command) { return interpreter(command, context, setContext); }; } describe("assignment", () => { test("left assignment", () => { ...
a4bea577b9bf06730cce3c992f6c46d33c181451
[ "JavaScript", "TypeScript", "Markdown" ]
6
JavaScript
IJMacD/R-interpreter
5421c58316abb96b98ff1d8e800cc2675e1e0cd8
2cce382780081ba2b39885a2597b704e4ce9bb4f
refs/heads/main
<file_sep>#include "Monitor.h" extern HANDLE mutex; Monitor::Monitor(const std::u16string& path, const std::shared_ptr<Base>& base, const std::shared_ptr<ThreatList>& threats) : scanner(base, threats) { this->path = path; } Monitor::Monitor() { } Monitor& Monitor::operator=(const Monitor& other) { path = ot...
c25809e3b9a50a7e2864782c37917a3866078dfa
[ "C++" ]
1
C++
NikitaKiryaev-web/antivirus-mtusi
807428dd308e7404f92875b86921b5918a9115ac
1664dda793d1ecf3dee3b2bc3ba8e9df5eb8baa7
refs/heads/master
<repo_name>Graceje/Miguel<file_sep>/src/app/service/seleccion.service.spec.ts import { TestBed, inject } from '@angular/core/testing'; import { SeleccionService } from './seleccion.service'; describe('SeleccionService', () => { beforeEach(() => { TestBed.configureTestingModule({ providers: [SeleccionServi...
d06d439a3eefa94f499e3cbacd61c2d67371d411
[ "TypeScript" ]
12
TypeScript
Graceje/Miguel
61c7dcbbe640fc1ff3d930e416dc84fae81bcfca
c2eeae50e6b0f2f49df11f1d3d86d1edaaab743d
refs/heads/master
<file_sep>/** * */ package projectOne; /** * @author <NAME> * */ class Cat01 { } <file_sep>package projectOne; public class Projectone { public static void main(String[] args) { System.out.println(" Problem solved"); int x, y; boolean z; x = 10; y = 12; z = x<y; System.out.println(...
38bdf0d0dc918cb7b2415be649486c0f3289d847
[ "Java" ]
2
Java
phmosarrof/Project1
64935494458dabf30e587f67c00b70d44ad239b5
012bfb781044b7baa92e14b4bddb3ea336db6c55
refs/heads/master
<file_sep>import sql from './db.js'; class apiModel { /** * Get common students * * @param {*} teacher * @param {*} callback */ getCommonStudents(teacher, callback) { let query = '', response = {}, condition_teacher_email = '', students = [], message = ''; teache...
b70344ba14d9d27942d2e17a8aab2c076c336beb
[ "JavaScript", "Markdown" ]
5
JavaScript
phanichander/node-assessment
0a253b21b6bb12fbcfe5ba852849bdb53a397731
6dabed60c3e14a8d3f6c672cf5389608dc38b178
refs/heads/master
<file_sep># SpringMVCTest Test project for Spring Web App Start : 18.04.2017 #Yep I know, css in jsp is http://i0.kym-cdn.com/photos/images/newsfeed/001/209/105/7b2.jpeg :D #Trust me, it's just for test <file_sep>package pl.bakkchos.helloworld; import java.util.Locale; import javax.servlet.http.HttpServletRequest; ...
fffd02b57c3fa9666c8c68c4a3ba24f7f7b19d5a
[ "Markdown", "Java" ]
3
Markdown
gibula-m/SpringMVCTest
0c9ee58aae4cf0034bf4c16f0fd19a424def4506
88eef35f4bc640d3332f838ae69402e76a4dda76
refs/heads/master
<file_sep># PHP-Resume-Database-Web-App Web Application to track resumes with a connection to MySQL using PHP, JSON, &amp; JavaScript. The web application uses the jQuery Autocomplete feature when typing in a school name with a pre-uploaded list of schools, and any new school that the user adds to the database as well...
08da4f777a51a9889bf61896f9f4bb9d7a64cd32
[ "Markdown", "SQL", "PHP" ]
4
Markdown
scott-daily/PHP-Resume-Database-Web-App
a47ef43f0c4378d9bec3d145abbe4dd768ab9152
4e90f474a53e72fc23ea0de3defac539b1d585c2
refs/heads/master
<repo_name>Nekrolm/hse_cpp_examples<file_sep>/custom_testing/Makefile test: testing.cpp testing.h g++ -o test -std=c++14 testing.cpp clean: rm test <file_sep>/map_task/solutions/03_get_or_create.cpp #include <map> #include <assert.h> /* Задача №1: Ассоциативный контейнер с семантикой get_or_create_by: Если в контейн...
37790163017ec5eb8bafb5c748686e6fb243411f
[ "CMake", "Makefile", "C++", "Shell" ]
28
Makefile
Nekrolm/hse_cpp_examples
9a131386ff70110142b34158b3eb474771d04164
ca8e63d4823c5945d6170d93a6675981b3bf921a
refs/heads/master
<file_sep>#!/usr/bin/env python3 import asyncio from tcp import Servidor import re def validar_nome(nome): return re.match(br'^[a-zA-Z][a-zA-Z0-9_-]*$', nome) is not None def sair(conexao): print(conexao, 'conexão fechada') conexao.fechar() def dados_recebidos(conexao, dados): # Dados recebe a conca...
4d115a3e5f50e618020be71a56d647361a31ef90
[ "Markdown", "Python" ]
3
Python
fernandaassi/Redes_de_Computadores_2020.1
86a9b14d1a110041c835ed4bb3ea2550eefe7aa3
52cead207f06f20987d501844b3c44c53d2434d8
refs/heads/master
<repo_name>vcsalvador/nodeWordPress<file_sep>/README.md # nodeWordPress wordpress-like criado em node para fins de estudo <file_sep>/server/app.js var express = require('express'), cors = require('cors'), http = require('http'), fs = require('fs'), _ = require('underscore'), //documentação para usarmos o ...
fe35f70317fa45609eb2c4188e23e8a8a33e6eee
[ "Markdown", "JavaScript" ]
2
Markdown
vcsalvador/nodeWordPress
aeac9f3c7a819b7d894f8a866dc551674d3bc9b2
8830f844d5a60cfc06b60881865034a6847448d1
refs/heads/main
<repo_name>rahulnits31/Funky_chatbot<file_sep>/README.md # Funky_chatbot It's a python script that leverages multiple python libraries to simulate the behaviour of a chatbot. However, the responses are hardcoded. <file_sep>/main.py import pyautogui as p import webbrowser as w import requests from bs4 import BeautifulSo...
a4970cd1166c3d501813718b74f34a1f2656ce88
[ "Markdown", "Python" ]
2
Markdown
rahulnits31/Funky_chatbot
a61bf137a37450e4e040b1077099fe1fc8613b80
a5e611f42e4638fee0c31fd229bc40ce2a12e06d
refs/heads/master
<repo_name>DarthDanius/skillbox_homework<file_sep>/lib/lib.js 'use strict' function getDate(){// форматирует время в строку YYYY-MM-DD hh:mm:ss function zeroFill(num, base=2){// если длинна строки меньше указанной - заполняет строку нолями слева до указанной длинны let tmp = num.toString(); for ( let i = base...
01605255be1c84a77b6aa25b6cf7240d2b3b1ae2
[ "JavaScript", "Markdown" ]
12
JavaScript
DarthDanius/skillbox_homework
f771d53639ed8d240820b3e9681de830e67075fc
6bfc52e1bf84d41d1c6795eebff85bbc1dde7b1f
refs/heads/master
<file_sep><html> <head> <title>Create Account</title> </head> <body> <?php echo "<p>Hello World!</p>"; ?> <a href="login.php"> Click here to login <br/><br/> <a href="Soliva.php"> Click here to register </body> </html> <file_sep><html> <head> <t...
a4c0ccb847a77d95d47626af5785e0f6076d0976
[ "PHP" ]
2
PHP
KayeSoliva/Soliva-crud-activity
73d65fac56b5c3ab20e1158f1e59786fcf2f5ffa
04d29bc8b71f95c80ede4e9d99fa344ecd5be4a9
refs/heads/master
<repo_name>tomc1998/Sockets-Chat<file_sep>/server.js var express = require('express'); var expressServer = express(); expressServer.use(express.static(__dirname + '/public')); var port = 80; expressServer.listen(port, function() { console.log('server listening on port ' + port); }); var app = require('express')(...
c966dab2c79a2cc56235efb22904296f9a552c2c
[ "JavaScript" ]
1
JavaScript
tomc1998/Sockets-Chat
bce1a38748be798fc5ee0887c749ab3a83669eda
8bc07501a76885a247817fc441fcd8a82685e512
refs/heads/master
<file_sep>#include <iostream> #include <fstream> #include <iomanip> #include <string> using namespace std; const int maxp = 100; struct ptype { string first, last; string dept; double salary; }; const ptype initrec = {"firstname", "lastname", "dept", 0.0}; void initem(ptype p[], int &nump) { ...
cb15294836ca0e7aabac6b0c4b6e9216017ce4c8
[ "Markdown", "C++" ]
2
C++
rOmAn2193/Average-Salary
3ce52e46112e65f2d9b7f4bec32aeca836a86560
3da5f6e7747e860edd904626c321aae7c5272408
refs/heads/master
<repo_name>lagosnomad/nigerians.js<file_sep>/src/nigerians.js var uniqueRandomArray = require('unique-random-array'); var nigerianUsers = require('./nigerians.json'); var getRandomUser = uniqueRandomArray(nigerianUsers); module.exports = { all: nigerianUsers, random: random }; function random(number) { i...
007f0fb798dc1fdd6659354c47ff6c2272034c0c
[ "JavaScript", "Markdown" ]
2
JavaScript
lagosnomad/nigerians.js
2fb4f7e6ab284b8e696c3e56961e2eb3a9259e93
c2e751c039db2d92c87bb18a0dc85012acb59a70
refs/heads/master
<file_sep><?php namespace App\Traits; use ReflectionClass; trait Enum { /** * Get this enum's values as an array where keys are the const names. * @return array */ public static function getValues() { $reflection = new ReflectionClass(__CLASS__); return $reflection->getConstan...
357837ec18e4ebb0381bbb7c6e92ba652cca5fe1
[ "JavaScript", "Markdown", "PHP", "Shell" ]
96
PHP
snax4a/vlounge
fc45fa10098d421b049ebd6b92adb147a49b4a0f
1daa400f248b9c491949ff7f200acbac07e28888
refs/heads/master
<file_sep>/** * @file include/dbschema/dbSchemaValues.h * @brief This generated file contains the default value definitions * for all datapoints. * * This file is automatically generated and should not be edited manually. * Generated using the following input files: * xslt/dbSchemaValues_h.xsl : 12423...
7222a822f5470da490b12eb8250cf00a57dcb647
[ "CMake", "reStructuredText", "Markdown", "Makefile", "INI", "Python", "Text", "C", "Shell" ]
181
C
TrellixVulnTeam/rc20User_TFHJ
f0f211b69751776a1932a85f9d41adf0433a8d39
d6b0c5706b0fbbd432444aaa0d732956bc6f4fb1
refs/heads/main
<repo_name>201811050975/group-703<file_sep>/201811050976/第一题/第一题返回值.c #include <stdio.h> int main() { int a, b, c; scanf_s("%d,%d", &a, &b); int a1, a2, b1, b2; a1 = a / 10; a2 = a % 10; b1 = b / 10; b2 = b % 10; c = a2 * 1000 + b2 * 100 + a1 * 10 + b1; printf("%d", c); return 0; }<file_sep>/2018...
2d136da107e40673e3c0941ab0cba41e84fac942
[ "Markdown", "C", "C++" ]
22
C
201811050975/group-703
a93f247f64545c658cf83478159ec8ec9af0d162
b260301f04287b5bbbe35177e2752901bfaf13e4
refs/heads/master
<repo_name>dave4506/pigeon<file_sep>/README.md #This is the repository for the pigeon project. <file_sep>/components/PageStack/parent.js import React, { PropTypes } from 'react'; import s from './page.css'; import MenuButton from '../MenuButton/menu' const translate = (x,y,z) => { return `translate3d(${x},${y},${z...
795b984b0e0d9575424de8a26bece8a475d89c38
[ "Markdown", "JavaScript" ]
5
Markdown
dave4506/pigeon
a2e2247c35b9e8fe6b56ca74386d8dba6eb234f2
eb0a15a00b57ce1af802e8dbe8424f932bf992a1
refs/heads/master
<repo_name>skinkie/visdata<file_sep>/generate_mvt/create_MVT.sh # -- CREATE MVT # -- Select data that intersects with tile area in PostGIS # -- Scale coordinates to vector tile's coordinates # -- Clip data to tile area # -- Encode Vector Tile File # -- Serve Vector Tile rm -rf /data/tiles_gen/* mkdir -p /data/tiles_...
eb41b8b8acf3b4e768d3196d9621a526d7e5dfab
[ "JavaScript", "Shell" ]
4
Shell
skinkie/visdata
1bf7898f9149b058521f635e9b846e530897555b
3fa3fe75dda00a0fd5d5d85930bfa7fa8f91b124
refs/heads/master
<file_sep>package com.example.demo.controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; @RestController public class HelloController { @RequestMapping("/hello") public String hello(){ return "hello"; //comment remote ...
e10a039ae6c7f807102f008c5d7935b0482037f2
[ "Java" ]
1
Java
sungjae77/demo
2b737b6593cce359418905224665cae885411f7d
d9e76c2ca1be59bfc69e30d09bdd8ba8ddd54f6c
refs/heads/master
<repo_name>zi-vi/AID1910<file_sep>/http_server.py """ httpserver 2.0 """ from socket import * from select import select class HTTPServer: def __init__(self,host='0.0.0.0',port=80,dir=None): self.host = host self.port = port self.address = (host,port) self.dir = dir self.rlis...
5962e477bb87a7654130fa7ccc3153a861c07791
[ "Python" ]
1
Python
zi-vi/AID1910
7c81c8bd105391202b70906f354b54ad46a62cb9
50d6cd2378dd608b06de834ab84324658a120ebe
refs/heads/master
<file_sep># prevayler-migration PoC on how to migrate prevayler-persisted objects. 1. Add version field 2. Override writeObject, readObject 3. Do migration in readObject <file_sep>package com.dgiger.model; import java.io.Serializable; public class Product implements Serializable { private static final long ser...
0a1cbb678485e397a855783d1a942f836b150211
[ "Markdown", "Java" ]
4
Markdown
gigerdo/prevayler-migration
3411164f9f9baf4c231946506c178bb509eeebcf
13c6a909bcee4f23c26d92dc461cb7e2c4627a60
refs/heads/master
<file_sep>{{extend 'layout.html'}} <h2>Bem-vindo ao sistema de avaliação funcional e institucional !</h2> Prezado, Sr.(a) {{=session.dadosServidor["NOME_SERVIDOR"]}},<br /> Por favor selecione abaixo um períodos de exercício para avaliação instucional e o tipo de avaliação funcional que será realizada. <span class='c...
91e7dc1e40c7ca148438dff435fc22f38f3035b0
[ "JavaScript", "Python", "HTML" ]
17
HTML
tazjel/web2py_avaliacao_
51e5c6f0f2212989ad9c784ded47b9c66fffb22c
0dde7ced8882d31e8bebaa1d888ac21e2ce1339e
refs/heads/main
<file_sep>using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; namespace K8s.Workshop.Web.Pages { public class IndexModel : PageModel { private readonly ILogger<IndexModel> _logger; private readonly RestRepository _restRepository; ...
efbd386e35705bb8fae91748f844ec6b40eaadc3
[ "Markdown", "C#", "Dockerfile" ]
5
C#
gatepoet/k8s-workshop
721bca793ce22e583b8cb6ae553afee4b9b44d20
387e53ac1c5ca120f8f8fde296ac10e6d18c6a67
refs/heads/master
<file_sep>logging.level.com.eb=ERROR logging.file=app.log logging.pattern.file=%d %p %c{1.} [%t] %m%n<file_sep># aws-eb-fluentd-kinesis-app Sample spring boot application for AWS elasticbeanstalk with fluentd and kinesis configurations. This application exposes two endpoints: |Path|Description| |---|---| |/helloworld...
5a82d2feef8a285093533d4b7861087a60327f74
[ "Markdown", "Java", "INI" ]
3
INI
HarshadRanganathan/aws-eb-fluentd-kinesis-app
5c17bb11b54642c4feafd9375be297bb4c64c8ee
a15b72b84ff744023b4638f833c39bc1366acdb2
refs/heads/master
<file_sep>package Java01.排序算法; import java.util.Arrays; /* 选择排序: 算法思路: 首先在未排序序列中找到最小(大)元素,存放到排序序列的起始位置, 然后,再从剩余未排序元素中继续寻找最小(大)元素, 然后放到已排序序列的末尾。以此类推,直到所有元素均排序完毕。 */ public class SelectSort { public static void main(String[] args) { int[] arr = {4,3,7,9,6,1,5,8,2}; System.out.println("选择排序前:" + Arra...
e6ef6a7e39933896eb22e63df215dc00fb624dd4
[ "Java" ]
28
Java
Neptune326/Java71
400feb36d11c8e78520bd539f7bf24ea1c8e65d8
936428d096aa6fe9a828ab48b0e38d25db4b0c5c
refs/heads/master
<repo_name>HACC2020/GamingTheArchives<file_sep>/archive-site-backend/src/ArchiveSiteBackend.Api/Controllers/DocumentImageController.cs using ArchiveSite.Data; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using System; using System.Net.Http; using System.Net.Mime; using System.Threading.Tasks; us...
fb06e41c7e8d6188a5107dc88a5f2bd1f597478f
[ "YAML", "Markdown", "C#", "TypeScript", "Dockerfile", "Shell" ]
124
C#
HACC2020/GamingTheArchives
798bac3c1ae78e32ccccb70f23b020b37af12f6a
307c3fb910e274cb9bb4209e66c741b69d60711e