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/main | <repo_name>sfkaplan/Order-Matching-Engine<file_sep>/README.md
# Order-Matching-Engine
This code is meant to build an order matching engine for trading of foreign currency futures in Argentina's main electronic trading platform: MAE.
<file_sep>/OMS_Main.py
import pandas as pd
import numpy as np
import copy
import xml.e... | 0827e91ace73d26ad5de197f62d24262daa54d43 | [
"Markdown",
"Python"
] | 2 | Markdown | sfkaplan/Order-Matching-Engine | f4031c526b820d715a6e8e64cb6bb350da366a95 | bcc0cbce76f7cc455cc5a6fad2ea8eaddbef7482 |
refs/heads/master | <repo_name>anthony-grear/parent_emailer<file_sep>/README.md
# parent_emailer
This program simplifies the task of emailing parents.
<file_sep>/parent_emailer.py
"""Pandas is a package for working with labeled data. The smtplib module
defines an SMTP client session object that can be used to send mail
to any I... | ad13fb2fafc158beb9b4dac09f3616e42774fccf | [
"Markdown",
"Python"
] | 2 | Markdown | anthony-grear/parent_emailer | 6ffe624232f8c1639f7e428eb7abb38107aeeb7b | 385f2f5f1cb32084fba8007c88605230cf301001 |
refs/heads/master | <repo_name>etaque/faraday-redirect-bug<file_sep>/client.rb
require 'minitest/spec'
require 'minitest/autorun'
require 'faraday_middleware'
require './app'
describe 'FaradayMiddleware FollowRedirects' do
before do
@connection = Faraday.new('http://localhost:4567') do |builder|
builder.response :follow_redi... | 12fd55a13127674b2f34f4e2050b33553e51f41f | [
"Markdown",
"Ruby"
] | 4 | Ruby | etaque/faraday-redirect-bug | 671fe2d75b3700ff3a444788e43c60a3444c54d8 | 8b675782e727b968cf6f0b86e39164806529ae32 |
refs/heads/master | <file_sep>import os
import pandas as pd
import sys
sys.path.append('../')
from load_paths import load_box_paths
from datetime import date, timedelta, datetime
from processing_helpers import *
from scenario_sets import *
from data_comparison import load_sim_data
datapath, projectpath, wdir,exe_dir, git_dir = load_box_p... | ce3398c85a1d83103778f7b36611624b95cd0142 | [
"Markdown",
"Python",
"R"
] | 19 | Python | reeserich/covid-chicago | 88bdc556aebdd7e443e4756e7421160d230f5a01 | 547cfd94494b92cb581300f36afa376552216e86 |
refs/heads/master | <file_sep>class CreateAddresses < ActiveRecord::Migration[6.0]
def change
create_table :addresses do |t|
t.references :addressable, polymorphic: true, null: false
t.string :street
t.integer :street_number
t.string :block
t.string :zone
t.string :city
t.string :province
... | 11282fd016da2e751cc7b9b08e88793e41f25dc0 | [
"Ruby"
] | 2 | Ruby | lux9/lausol_controller | 6a39747af19e47e67c2aa2634b8071f51f0db486 | b981f396bbe154333f686b9f088bb4b1033ebf05 |
refs/heads/main | <file_sep>//
// Extension.swift
// DayFinder
//
// Created by guna.vendina on 29/07/2021.
//
import UIKit
<file_sep>//
// ViewController.swift
// DayFinder
//
// Created by guna.vendina on 28/07/2021.
//
import UIKit
class ViewController: UIViewController {
@IBOutlet weak var dayInput: UITextField!
@... | ee45c70e5a9f8f5e6d3eb1e96fb78d6171124559 | [
"Swift"
] | 2 | Swift | anugguna/DayFinder | 7ee39c427228d682e0201d5f8fd47543d8d17b14 | b716589b54720f8851d32631c8d9a1353e19867e |
refs/heads/main | <file_sep><?php
session_start();
$dbservername='localhost';
$dbname='Mask_system';
$dbusername='examdb';
$dbpassword='<PASSWORD>';
if(!isset($_POST['submit'])){
$name = $_POST['user_name'];
$password = $_POST['pwd'];
$second_password = $_POST['pwd_2nd'];
$phone_number = $_POST['phone... | 22e2db68d0136afba89eff1e515193beba513afc | [
"Markdown",
"SQL",
"PHP"
] | 20 | PHP | shadowpa0327/Mask_System | 7b469f45a317455a36c25e343385f18542dbccab | fcc6750405a3d6329781d1830508265fc6d1cb5c |
refs/heads/master | <file_sep>kinetic-observer
================
Getting Started
------------------
An example file `app-kinetics.js` is available in the repository. **Include it in your project but
not before revising three Javascript functions to adapt to your application.**
Sample implementations of the functions are provided.
1. ... | 1574348a7030f5d25511595aa16022de854c9df0 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | pombredanne/kinetic-observer | 3979b5d102faf15e99edc94cf14aef0e28f145d0 | 174aa55bb202ee15774edaa248b56c643b0b0fb3 |
refs/heads/master | <file_sep>//
// Compiling:
// javac -classpath .:lib/json-simple-1.1.1.jar src/Battleships.java
//
// Starting the server:
// java -classpath .:lib/json-simple-1.1.1.jar:src/ Battleships
//
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.InetSocketAddress;
import ja... | b85e9e6375301b073ac372326045641088a55d95 | [
"Java"
] | 1 | Java | massive/threebeersandacider | 4fc6829a4e1ac3307f52a2316b361f36c4b678cd | f7579c441ab5b7d92b97f5b69691270759d8bbfe |
refs/heads/master | <repo_name>goda42/ExData_Plotting1<file_sep>/plot4.R
## Generate first plot
## <NAME>.
## 2/20/2018
#Note that datefile should be in the root directory of this project
#Read in data with correct seperator and NA character
data<-read.csv("./household_power_consumption.txt",sep=";",na="?")
#Convert dates to correct da... | da9db4864391820ce4c90f33c798578a579926c6 | [
"R"
] | 3 | R | goda42/ExData_Plotting1 | 035fb0145c47a220fa70eb52b0f28cf2dcecf8a0 | 7e4c0d8267aa2fe991bf25457c82349920483859 |
refs/heads/master | <repo_name>michalkouril/altanalyze<file_sep>/visualization_scripts/cairosvg/surface/colors.py
# -*- coding: utf-8 -*-
# This file is part of CairoSVG
# Copyright © 2010-2012 Kozea
#
# This library is free software: you can redistribute it and/or modify it under
# the terms of the GNU Lesser General Public License as pu... | df01ee3e987738f9b477a4f49de41326328b2f18 | [
"Python"
] | 17 | Python | michalkouril/altanalyze | e721c79c56f7b0022516ff5456ebaa14104c933b | d7436eb37b5c6e912991bc16f9eb6d07120ae922 |
refs/heads/master | <file_sep>#---------------------------------LDA : TopicModels-------------------------------------------#
#install.packages('knitr')
library(RTextTools)
library(e1071)
library(topicmodels)
library(tm)
library(slam)
library(tidytext)
library(stringr)
library(tidyr)
library(topicmodels)
library(dplyr)
#install.packages('... | 12c6722dbb12a86587ee2d71d03e538640266ee7 | [
"R"
] | 1 | R | truptisjadhav/predictive_analysis | f0d7745bb3f316041e268475972e5f1e2add3899 | eb3192abdf1d6aba3db921999895189b3d66050b |
refs/heads/master | <repo_name>gavinhughes/bootstrap-rails<file_sep>/lib/bootstrap-rails/version.rb
module Bootstrap
module Rails
VERSION = "1.4.0.2"
end
end | 8e29dc23eb1fa73e0a6115fc07fc2352169955b5 | [
"Ruby"
] | 1 | Ruby | gavinhughes/bootstrap-rails | a0e819a6f4c388b2e80a8cdf4dceb8022393ca6b | ac20a12c0b01d159de00f799819e76b7c7b487ac |
refs/heads/master | <repo_name>Esya/docktorrent<file_sep>/rootfs/usr/local/bin/rtorrent-postprocess
#!/bin/bash
TORRENT_PATH=$1
TORRENT_NAME=$2
TORRENT_LABEL=$3
mkdir -p /rtorrent/sorted && cd /rtorrent/sorted || exit 1
filebot -script fn:amc --output . --log-file amc.log --action symlink --conflict override -non-strict --def music=y art... | 464cae9686aed6e222628c6e924f2cb631a968e8 | [
"Shell"
] | 1 | Shell | Esya/docktorrent | 0f4dccd64f145e330d0d8c81ef18699289f85dbe | b8369ef702fdd05911f18d4e6a9db68e7eb2ff01 |
refs/heads/master | <file_sep>/** @file log.h */
#ifndef __LOG_H_
#define __LOG_H_
/** The log data structure. */
typedef struct _log_t
{
} log_t;
void log_init(log_t* l);
void log_destroy(log_t* l);
void log_append(log_t* l, char *item);
char *log_pop(log_t* l);
char *log_at(log_t* l, unsigned int idx);
unsigned int log_size(log_t* ... | 30e31a9230cd992c95e0b611c4f2d7ba39aafbd5 | [
"C"
] | 3 | C | Kal-El-Git/OS-random-stuff | 6b121228969f857220eecb0096a031db390e6f14 | 66f90e7795a35f9422ddd0d819f796c836b8ced3 |
refs/heads/master | <file_sep>import os
import logging
from flask import Flask, url_for, request, render_template, redirect, flash, session
from logging.handlers import RotatingFileHandler
app = Flask(__name__)
@app.route('/index')
def index_page(): # displays the index page
return '<button>Index Page</button>'
@app.route('/us... | c3c504e2939e65d6f623f91b77102cd8c7cd2a0f | [
"Python"
] | 1 | Python | Developing-Story-s/Flask-basics | be3f675f133e03750be7b7ce053f598960baa673 | c2abcdc5f0ef6a5aafe6b95ef961617ba58f282f |
refs/heads/master | <repo_name>wemersons1/Ecommerce-Wshop<file_sep>/App/Model/Produtos.php
<?php
namespace App\Model;
class Produtos extends \App\Model\Bd {
public function listarProdutos(){
$query = "SELECT * from produtos inner join fornecedores
on produtos.id_fornecedor = fornecedores.id_fornecedor";
... | af56c135a2503622e3b4d5328c7816121fd9e0fe | [
"SQL",
"PHP"
] | 10 | PHP | wemersons1/Ecommerce-Wshop | ba557e95ed7a8668498e9abb63b5772bb3aa0b62 | d148360832a442c8ccf475b39437d766f6fcbd73 |
refs/heads/master | <repo_name>vickenliu/conways<file_sep>/displayBoard.js
function displayBoard(board) {
var app=document.querySelector('#app');
app.innerHTML='';
var rowNum=board.length,table=document.createElement('table')
for(var i=0;i<rowNum;i++){
var row=document.createElement('tr')
for(var j=0;j<rowNum;j++){
var td=... | c9d0824db570ac9a5a3f9459329128314fead636 | [
"JavaScript"
] | 6 | JavaScript | vickenliu/conways | 6b77b54eadeeb9f26860f0710da07f4b79febdcf | 6c5b5c505405455fe3c0c737413fba7c90907c3f |
refs/heads/master | <file_sep>import Vue from 'vue'
import App from './App'
import {
myRequest
} from 'untils/api.js'
Vue.prototype.$myRequest = myRequest
Vue.filter("forDate", (date) => {
const nDate = new Date(date)
const y = nDate.getFullYear()
const m = nDate.getMonth().toString().padStart(2, 0)
const d = nDate.getDay().toStri... | 9f2d31878c8e90084046373e190f1401a47ed1b1 | [
"JavaScript"
] | 1 | JavaScript | zhengxiang258/hm_shop | da989cf94506373c2d994ce485f5d5c5b0a60eb3 | 44e6cbe432ca02463dd6e1037f0ea33b46cb65b9 |
refs/heads/master | <file_sep>package com.example.prem.mailapp;
import android.content.ActivityNotFoundException;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Build;
import android.os.Handler;
import android.speech.RecognizerIntent;
import android.speech.tts.TextToSpeech;
import android.suppo... | d5ac7899543b63364d6956ea14da3cc472b5b77a | [
"Java"
] | 1 | Java | prem11k/Voice-Mail | d060f1a02d04466a55bd2b24d6d03d35fd0741cb | 4449306f95b35741b97348d38e1a78236f29e825 |
refs/heads/master | <file_sep>import React, { useState } from "react";
import { HashRouter, Route, useParams, Link, Switch } from "react-router-dom";
function Soma({ a, b }) {
return (
<div>
<h2>Soma</h2>
<p>{Number(a) + Number(b)}</p>
</div>
);
}
function Multiplicacao({ a, b }) {
return (
<div>
<h2>... | 9df7a2af00c16c905bdab96b7810745d763aa6c2 | [
"JavaScript"
] | 1 | JavaScript | netomachado/hello-react-routes | f77cbb322e75394af67b66a721f58d255ee127fe | 265f3616e94ee3df6d448eb5184d116b2d2aa973 |
refs/heads/master | <repo_name>nayadmk/Information_extraction<file_sep>/ner_ie.py
# -*- coding: utf-8 -*-
"""
Created on Wed May 17 19:12:12 2017
@author: Nayadmk
"""
import regex as re
import nltk
def remove_non_ascii(text):
return ''.join(i for i in text if ord(i) < 128)
def ie_preprocess(document):
sentenc... | f5392ef9ca8f236d798a87cd90e6e8d178f4e9b0 | [
"Markdown",
"Python"
] | 2 | Python | nayadmk/Information_extraction | f9f3c22da0a246bc737f2357b86635af1f64315d | aaf47cae168e6fe5584ac9a24c4f2f77d7d87a85 |
refs/heads/master | <file_sep>package com.alssimpleapps.sqlitebasic.SQLite;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import static com.alssimpleapps.sqlitebasic.SQLite.DatabaseStrings.*;
public class DatabaseHelper extends SQLiteOpenHelper {
pub... | 8e0340a9850468cadec34346ece9ff46e591807d | [
"Java"
] | 1 | Java | qwertyuiop9/SQLiteBasic | 091d4652bd40d46ddf54759523e412f1ab30bcce | 0621be15ebc578d2640f00a112d5489ff898089e |
refs/heads/master | <file_sep># Reading material for sorting:
# https://github.com/carlos-gutier/Sorting/tree/master/src/iterative_sorting
# TO-DO: Complete the selection_sort() function below
def selection_sort(arr):
# loop through n-1 elements
for i in range(0, len(arr) - 1):
cur_index = i
smallest_index = cur... | 674d9dbd8382b928388b5262240fd59dd884b2d2 | [
"Python"
] | 2 | Python | carlos-gutier/Sorting | f1a040453291e88e575b6ff055cf4f08e7433b9c | 3f2fd9c0191c9e58c65352cfcb790f6c92910567 |
refs/heads/master | <repo_name>vkirodian/spring-boot-example<file_sep>/src/main/java/com/demo/springboot/controller/ThymeLeafController.java
package com.demo.springboot.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import o... | 7b1d8074a1dadb914289dc0a24e3bb598404e3ec | [
"Markdown",
"Java",
"INI"
] | 9 | Java | vkirodian/spring-boot-example | 74ed84371fc4e8f4bf23ee46cc26e1c79c5f86e8 | 1d89194d8e5b97d14db0bd8a6c3eca4561180f53 |
refs/heads/master | <file_sep># userdata that lets install httpd and enable webserver during installation of ec2
#!/bin/bash
sudo yum -y update
sudo yum -y install httpd
sudo systemctl start httpd
sudo systemctl enable httpd
sudo echo "Welcome to DevOps" > /var/www/html/index.html | 923ee9a35cf7daa3eb76eaedb48e88bed090a030 | [
"Shell"
] | 1 | Shell | CeekharG/ec2_terraform | dba4ab321ae200f33375a15212f39e0d483f33f5 | 855cd2600b34915f83f31abd8aef1d5be1dee469 |
refs/heads/master | <file_sep>/** Objects of this class represents
* a player of blackjack
* a player have a hand of cards and a set of points
*/
public class Player {
private int points;
private Hand playerHand;
private int totalValue = 0;
private int aces = 0;
private boolean bust = false;
/** the constructor creates a ne... | 11981cf62197ee0c5ba19e3ba9735732ed747633 | [
"Java"
] | 5 | Java | Urbansson/Labbar | 10eb44035dcb331db359cd4be34397221e313214 | 77bd40cabe783170dbdb1d52dba4f77f1cb8ba3c |
refs/heads/master | <file_sep>using System;
using System.Collections;
using System.Threading;
using Microsoft.SPOT;
using Microsoft.SPOT.Presentation;
using Microsoft.SPOT.Presentation.Controls;
using Microsoft.SPOT.Presentation.Media;
using Microsoft.SPOT.Touch;
using Gadgeteer.Networking;
using GT = Gadgeteer;
using GTM = G... | 459c8e2541754b3a8c3ecbe31c94d6f76ab8ae9f | [
"C#"
] | 1 | C# | murej/Via-device-prototype | f1883069c14dd44de775e69ab3fee05d321444cb | 3a1df7413ebbbff6d0ce220dfb3f7c4ecfa46612 |
refs/heads/master | <repo_name>naniSumanth/Time<file_sep>/Time.Test/DateShould.cs
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Diagnostics.CodeAnalysis;
namespace Time.Test
{
[TestClass]
[ExcludeFromCodeCoverage]
public class DateShould
{
[TestMethod]
public void HaveACon... | b4c0f8ea3111e8b78d8176f75afb23fccf33fd16 | [
"C#"
] | 4 | C# | naniSumanth/Time | 1d6c335eab9ad516b93fe636bc6795d6bfe6331d | b6b9d65402cb58b5e2b99a8f2a7390d5fc43601d |
refs/heads/master | <file_sep># -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.contrib import admin
# Register your models here.
from .models import Post
#admin.site.register(Post)
class PostAdmin(admin.ModelAdmin):
list_display = ('title', 'slug', 'pub_date')
admin.site.register(Post, PostAdmin)
<file_sep>#... | 1c4231343cad01157fca554e9246341b76cac576 | [
"Markdown",
"Python"
] | 4 | Python | guitLearn/website | 504ba0ed67e1cfc5ad0f2a5d70130d4991ce349b | 123b82f762f67fc6140c0f157af3e60574e5b9b4 |
refs/heads/master | <repo_name>sudh-17/kselect<file_sep>/README.md
#下拉列表插件
#在线示例
https://sudh-17.github.io/kselect/kselect.html
#使用方法
1. 导入 kselect.js以及kselect.css
#实例构造器
kselect.init(dom, data, multi), 参数分别为挂载点(dom节点),数据源(键值对数组, 数组元素必须包含key和value,例如[{key:'123', value:'json'}, ...]) 以及多选设置(boolean)
#API
1. getValue(),当multi为false时,返回字... | 32b587058df74c9d3ad70d3d9a165f51efd53029 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | sudh-17/kselect | bc47c47c92c1218a8a4d8ba8790913ac7f5d7fd1 | 2cbf9859d0323a325781fc2af87b0156f2dc7d2b |
refs/heads/master | <file_sep>//
// bark.c
// Bubble Beat
//
// Created by <NAME> on 12/15/12.
//
//
#include "bark.h"
int barkCenterFreq[26] = {0, 50, 150, 250, 350, 450, 570, 700, 840, 1000, 1170, 1370, 1600, 1850, 2150, 2500, 2900, 3400, 4000, 4800, 5800, 7000, 8500, 10500, 13500, 15500};
float bandWeightings[24] = { 0.7762, 0.68... | dbb424a9485ff63384ef20d92638f6250c6077a1 | [
"Swift",
"C"
] | 7 | C | manish-1612/BlinkPractice | 08608e1fda969263535ea7b8a25dc689ece54bad | 6a9ab2e5a3dccea868a988ae78d345a9d58e59f8 |
refs/heads/master | <repo_name>mostofa-ahsan/Gl_Salary_proj<file_sep>/model_building.py
# -*- coding: utf-8 -*-
"""
Created on Sun Sep 27 10:47:22 2020
@author: mosto
"""
import pandas as pd
import matplotlib.pyplot as plt
import numpy as np
df= pd.read_csv('EDA_data.csv')
df.columns
#Get relevant data
model_data = df[['Avg_salar... | 4c7ca13e7626a2314fa579d9160d1926b7648944 | [
"Python"
] | 4 | Python | mostofa-ahsan/Gl_Salary_proj | 0b5780562aab2496ef867594ee77097eedadf712 | 587c1265c62fdeb66c0cf4f9693b6dcf5e8ddd80 |
refs/heads/master | <file_sep>#!/bin/bash
export DB_DRIVER=pdo_mysql
export DB_HOST=localhost
export DB_PORT=3306
export DB_USERNAME=root
#export DB_ADMIN_USERNAME=root
export DB_PASSWORD=
export DB_NAME=tdbm_benchmark
vendor/bin/phpbench "$@"
<file_sep>---
title: Installing TDBM in Symfony
subTitle:
currentMenu: install_symfony
---
#... | c01022f118f0e4d5863cd13da5a385337f0dcc3e | [
"Markdown",
"SQL",
"PHP",
"Shell"
] | 6 | Shell | shaneburns/tdbm | ad15830108668e81ac07d800aad442843e8cb851 | e53f886c2a3de40745f08493146d8ddd1406395c |
refs/heads/master | <repo_name>5l1v3r1/super_image_dumper<file_sep>/Android.mk
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := superunpack.arm64_pie
LOCAL_SRC_FILES := superunpack.c
LOCAL_CFLAGS += -Iinclude
include $(BUILD_EXECUTABLE)
<file_sep>/makefile
ARMCC=/home/savan/Desktop/gcc-linaro-5.3.1-2016.05-x86_64_arm-li... | 51a1594d64799720b57ef4dbe860a6180fb99212 | [
"Markdown",
"C",
"Makefile",
"C++"
] | 8 | Makefile | 5l1v3r1/super_image_dumper | 439d9c9cec4f6bc8725d00aea3c962c028aa4793 | 08813fc23bcb4c94a506fa4cc5d23d2efdf754b6 |
refs/heads/master | <file_sep>using System;
namespace Phone
{
class Program
{
static void Main(string[] args)
{
Galaxy five = new Galaxy("old", 3, "no bueno", "kkkkkkkkkkhhhh");
Nokia sup = new Nokia("amazing", 101, "ship", "ave maria");
five.DisplayInfo();
Console.... | 1c17cd939a303f3b0c253229e4542f2f950d3425 | [
"C#"
] | 37 | C# | natrng/C-Sharp-Funds | 289940349cc0d8862824c4355e1d1b8468a47b4c | efd17d180c830f2c92299bb687eb84329377b735 |
refs/heads/master | <file_sep>[package]
name = "advent_of_code_rust"
version = "1.0.0"
authors = ["<NAME> <<EMAIL>>"]
edition = "2018"
[profile.release]
debug = true
[dependencies]
regex = "1"
lazy_static = "1.4.0"
<file_sep>use std::{collections::HashSet, fs};
fn main() {
let input = fs::read_to_string("data/day_1.txt").unwrap();
... | 9e6cbe983eea03d8074bbffe9ca99df7374cbafa | [
"TOML",
"Rust"
] | 3 | TOML | oliverdunk/AdventOfCode-2020 | 93d4c5e55f5da671d6235cf0ae46714a26468a7c | ffacf238e0b413ea227c336d8af93f29bf0bbf90 |
refs/heads/master | <repo_name>henriquechang/python-concepts-demo<file_sep>/README.md
# python-concepts-demo
Several code examples to demonstrate Python 3 concepts presented in the Fluent Python Book
<file_sep>/functions_as_objects/strategy_example_function.py
from collections import namedtuple
Customer = namedtuple('Customer', 'name')
... | a3bf50ff313c053f722fb3de2b9aec389e0de055 | [
"Markdown",
"Python"
] | 18 | Markdown | henriquechang/python-concepts-demo | ad34c7b5dbaf8af46385a1ffebedcaede6cbcd5f | ea94ca077f70187c46f1f993a30f53d7229f3916 |
refs/heads/master | <repo_name>sploving/cling<file_sep>/lib/UserInterface/UserInterface.cpp
//------------------------------------------------------------------------------
// CLING - the C++ LLVM-based InterpreterG :)
// version: $Id$
// author: <NAME> <<EMAIL>>
//-------------------------------------------------------------------------... | af4ae6dd15612ae5fcab2018d7d9b9b0e36929d3 | [
"SQL",
"CMake",
"Makefile",
"C",
"C++"
] | 133 | C++ | sploving/cling | fc98551c4362b49ae106c097b51ee8e0f6b09d25 | 6c182bcab8c4b2a23fc973d0efa735fe6a0e5754 |
refs/heads/master | <file_sep>// package: io.xtech.example
// file: Example.proto
/* tslint:disable */
/* eslint-disable */
import * as grpc from "grpc";
import * as Example_pb from "./Example_pb";
interface IExampleService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
getMovies: IExampleService_IGetMovies;
... | c2e5f23e55646680b8920417798bf5d75e4be915 | [
"Markdown",
"TypeScript",
"JavaScript"
] | 14 | TypeScript | ardatan/grpc-graphql-schema | 5c74abdcb073da67296a3d50f939d7f46ac9516d | 0700d8219b9d474d9332f026fecb4dbcc3231fda |
refs/heads/master | <file_sep># A PySDL port of some C++ code I found linked to in a couple of
# places. The original website is down, but it's available on the
# Wayback Machine here:
# https://web.archive.org/web/20120313055436/http://www.dgames.org/beep-sound-with-sdl/
# Unfortunately, I couldn't find the name of the author. He didn't... | 4c53bcf7556bd0d3c92e2f21bd4be477a25d37d3 | [
"Markdown",
"Python"
] | 13 | Python | MageJohn/CHIP8 | 58fdff9e9860a3ff2b591e58a5e907faa5a90f4c | ff28ab32e822a5308f5296d30a6d4c2b3ef07ad3 |
refs/heads/master | <file_sep>var router = require("koa-router");
var auth = require("./auth");
var controller = require("./controllers/controller");
var userApi = require("./api/userApi");
var tweetApi = require("./api/tweetApi");
var r = new router();
var logged = auth.ensureAuthenticated;
r.get("/", controller.render("index/index"))... | d9a706d0b2cce188b04cb137e20e2bf096c23b84 | [
"JavaScript",
"Markdown"
] | 14 | JavaScript | axelhzf/koa-base-app | e08c6be84d4819f49ea8102f6f403a4daa3a0123 | bddb91761a7b5d8ef3f98690305341b43e9bb485 |
refs/heads/master | <file_sep>-- выкл отображение замены переменных
set verify off
-- считываем версию патча
@services/patch_ver.sql
-- спулим в файл
spool uninstall_patch_num_&patch_num..log replace
-- описание приложения
set appinfo 'UnInstall Script Oracle patch &patch_num'
-- при возникновении ошибки идем дальше
whenever sqlerror c... | 9691121150e2db55bfc6472a0b320ceba4535a9c | [
"SQL"
] | 10 | SQL | gzvsky/10-sqlplus-testing | 915dd72ca64ba0b239ca87d30460fcdf402db817 | 0a1ee8ebcfa073dce4b6ffcfac5a4139db81e47c |
refs/heads/Dev | <file_sep>using Microsoft.Graphics.Canvas;
using Microsoft.Graphics.Canvas.Effects;
using System;
using System.Numerics;
namespace LudoGame.Classes
{
public class Scaler
{
public static void SetScale()
{
//Gather display information
MainPage.scaleWidth = (fl... | fe5c6893df5936b7275bd8b398b2a8e656ec28c2 | [
"C#"
] | 18 | C# | OliviaPersson/LudoGame | 831da6c965c3842ec57a86a85061df8b9b75484f | 23f1b4f3d839cfb28c3d99fc536deda35230fa0b |
refs/heads/master | <repo_name>kkeker/ParaShop-Core<file_sep>/src/META-INF/classes/kkeker/ParaShop/AuthService.php
<?php
/**
* Created by PhpStorm.
* User: kkeker
* Date: 28.12.2016
* Time: 22:57
*/
namespace kkeker\ParaShop;
use CouchbaseCluster;
use Respect\Validation\Validator as v;
/**
* @Stateless
* @Processing("exception")... | d53cebbb3f239e07687454e4e08aa4d358708635 | [
"Markdown",
"Ruby",
"PHP"
] | 9 | PHP | kkeker/ParaShop-Core | 7b6fbb83151877d5818fc402f1742a1dbd6d94c1 | be5d81cbb946fd40504fdf096c9b68582d53c26b |
refs/heads/master | <repo_name>parrello/dii_football<file_sep>/DII2014/YouTubeParser/src/main/java/dii2014/parser/VideoNamesWriter.java
package dii2014.parser;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.xml.sax.SAXException;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.par... | 6d9874cce44cbc30c2e069bb4872eab4287b0c9b | [
"Markdown",
"Java",
"Maven POM"
] | 16 | Java | parrello/dii_football | 53d3c6f98571115323eacb57475d60b672370a17 | 249babb80af4f3927e75f0427e7f1e2e4d2d01d7 |
refs/heads/master | <file_sep># FSD2
Верстка UI-Kit по FIGMA
## Развёртывание
***
Клонировать
```
git clone https://github.com/ZoricmaTs/FSD2.git
```
Установка
```
npm i
```
Запустить parcel
```
npm run dev
```
Запустить production build
```
npm run build
```
## UI kit
***
### [Form elements](https://zoricmats.github.io/FSD2/form_elemen... | 0f48a56a8b2959526cb4a215b5d2992d82ce072b | [
"Markdown",
"JavaScript"
] | 2 | Markdown | ZoricmaTs/FSD2 | a033ebd327e2e9b7fd6b3443d772ad64cd941912 | 693dd82829327321a5a30c483535236a6095807c |
refs/heads/master | <file_sep>#Fri Sep 27 10:55:54 CEST 2019
org.eclipse.core.runtime=2
org.eclipse.platform=4.7.1.v20170906-1700
<file_sep>package views;
import controller.RangeSlider;
import controller.HomeController;
import model.Home;
import java.awt.BorderLayout;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.... | bcb21301479647f0d61de1574e1a85eac757694a | [
"Markdown",
"Java",
"INI"
] | 8 | INI | jadevdl/TP-IHM-INFO5 | 080dfcb71014c99419daf9c239eacf8c6005d4ac | 0874f705871337952b75728868ef74631ef26f8f |
refs/heads/master | <repo_name>mksimmons89/Hangman<file_sep>/word.js
let Letter = require ("./letters.js");
var Word = function(word){
this.word = word;
this.letters = [];
this.correctGuesses = 0;
this.totalLetters = this.word.length;
};
Word.prototype.printWord = function () {
// console.log(this);
let that = this;
let word = thi... | eb76092f0c1cd9ec1a82d02b4ee8bf229ff764b0 | [
"JavaScript"
] | 1 | JavaScript | mksimmons89/Hangman | 2a9861020d35ef64585ac21e659add69415bb1e9 | 3a3dbf30214cdc40659f38e5ef3c50d4afd586f5 |
refs/heads/master | <file_sep>/* Test 1
people - 84
tip - 15%
larges - 12
mediums - 0
smalls - 0
area - 3769.908
area/person - 44.87985
cost - $203
Test 2
people - 22
tip - 17%
larges - 3
mediums - 0
smalls - 1
area - 1055.574
area/person - 47.9806
cost - $60
Test 3
people - 407
tip - 10%
larges - 58
mediums - 0
smalls - 1
area - 1833... | 7ac9bef67b2a2210455c98621f9c93a404f0255b | [
"Markdown",
"C++"
] | 2 | C++ | BryceTrueman/Pizza | 75ea8c3296670c1a11b10143934155a0c090c820 | b0a6453b75656bd18f1205f428abca247cff6414 |
refs/heads/master | <repo_name>WilliamNHarvey/rBuxShopifyReferrals<file_sep>/app/controllers/home_controller.rb
class HomeController < ShopifyApp::AuthenticatedController
def index
@shop_domain = params[:shop]
@shopObject = Shop.find_by(shopify_domain: @shop_domain)
if @shopObject.nil? == false && @shopObject.vendor_id? == t... | fd82f841002229c073b80994d7061bdfb056f7ca | [
"RDoc",
"Ruby"
] | 4 | Ruby | WilliamNHarvey/rBuxShopifyReferrals | c9cc2690e8aa96fc043676dca5ca3e1ec18356cc | cb0848c1ae1b65b95735e1a884545e498df60c05 |
refs/heads/master | <repo_name>wuyx/mms<file_sep>/src/sim/ConfigDialogField.h
#pragma once
#include <QString>
#include <QVariant>
#include <QVector>
namespace mms {
enum class ConfigDialogFieldType {
DIRECTORY,
FILE,
FLOAT,
INTEGER,
STRING,
};
struct ConfigDialogField {
QString label;
ConfigDialogFieldType... | 85ea92000835978a15d56110c0339c25b3086a01 | [
"C++"
] | 11 | C++ | wuyx/mms | 2959ef76405b069aaeb4c1574f52ab776dfaff77 | 9eddee48a8ac513758f9e1c23fa14246bc6ed937 |
refs/heads/master | <repo_name>Vronski13/rails-longest-word-game<file_sep>/app/controllers/games_controller.rb
require 'json'
require 'open-uri'
class GamesController < ApplicationController
ALPHABET = %w(A B C D E F G H I J K L M N O P Q R S T U V W X Y Z)
def new
@letters = ALPHABET.sample(10)
end
def score
@input = p... | f49a1209011a743fd37f7c1c1f3f35aa94c31827 | [
"Ruby"
] | 1 | Ruby | Vronski13/rails-longest-word-game | ebd132c6174b591652fc3182a5cc5329877fd0f6 | f008da799e5236f86ba5c0ec6f09c7b3c0021007 |
refs/heads/master | <file_sep><h1 align="center">Desafio TECH PraValer</h1>
Desafio para avaliação técnica da empresa Pra Valer.
<h2>Desenvolvimento Sistema Web</h2>
<h3>Instalação</h3>
<p>
Primeiramente baixe o projeto digitando no terminal o seguinte comando:
<strong>git clone https://github.com/julianaFerreira91/Teste-PraVal... | a70e25c5e4deb20dcacc9089d883d415b644c231 | [
"Markdown",
"PHP"
] | 7 | Markdown | julianaFerreira91/Teste-PraValer | 94a485a54c276946659664a9422ec6c75ee4d2ec | 78989c5fc01478844ff6c858408fdfcff4a5daeb |
refs/heads/main | <file_sep>
function addLine(){
let abc = document.getElementById("appendInputs");
var element = document.createElement("div");
element.innerHTML = `<div class="text-center color-primary colr">
<button type="button" class="close close-portal ml-auto" aria-label="Close" onclick="closeBtn(this)">
<span aria-... | 10df69f48ebc5fbd452ec678cd2651b07d9619b5 | [
"JavaScript"
] | 6 | JavaScript | zain-dev4/Sgi_web | 300dfce460abcff2afcd0d9f651bc141fdbd270a | 74c3dd78e7e2cacd8721eeb063888cf27080169b |
refs/heads/main | <file_sep>from django.shortcuts import render
# Create your views here.
from django.shortcuts import render
from rest_framework.views import APIView
from rest_framework import status
from .models import *
from rest_framework import generics
from .serial... | c05b2dae880b35a97a8e516f0616c703a8c28ffd | [
"Python"
] | 2 | Python | mr4jay/hometv2 | 5cbdcae3518353cccde67066dca7b66239c62a73 | 147bee0f742c3f811af6ee88e2639d0b6694a4c6 |
refs/heads/master | <file_sep># About Aqua IPExtensions:
Aqua IP Extensions is an Open Source and Free Software package consists of a set of utilities that facilitate the job of the developer and save his time while dealing with a both IP v4 and IP v6 addresses. Every developer could be a beneficiary of this library; however, those who d... | 16732fc15202f063635b1d8f64574f4bd1805aa4 | [
"Markdown",
"C#"
] | 3 | Markdown | ualehosaini/Aqua.IPExtensions | 7419665386e8b583bd2488e979618d58e64cd4f6 | f59fb84fbc976ec6b501bbec072ececf6dfa1fea |
refs/heads/master | <file_sep>from flask_login import UserMixin
from flask import Flask
from flask_sqlalchemy import SQLAlchemy
# from . import db
app = Flask(__name__)
app.config['SQLALchemy_TRACK_MODIFICATIONS'] = False
app.config['SQLALCHEMY_ECHO'] = True
app.config['SQLALCHEMY_DATABASE_URI'] = 'postgresql://localhost/studyapp'
db =... | e7040a2a991cbd44bb18ded3103824367ec82b59 | [
"Markdown",
"Python"
] | 6 | Python | le-tech80z3/Project-Taskreel | 6872b34c583d09000ebe58918909da5e3aed528f | 3d41b1eda6eff95e8110830357e2c286db18b72c |
refs/heads/master | <repo_name>wangqun865/aixiya-auth<file_sep>/src/main/java/aixiya/framework/backend/platform/auth/configure/StorageConfiguration.java
package aixiya.framework.backend.platform.auth.configure;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
/**
... | e8a39f0cadbc312b6989ad9704fa0f6a66166e5a | [
"Markdown",
"Java",
"Maven POM",
"INI"
] | 25 | Java | wangqun865/aixiya-auth | 1c88431636ab8fa76d6b06efb6a77e89c5868806 | 54a0b336151b999d756ff8a162436639c6937625 |
refs/heads/master | <repo_name>NagaJyothi-Devarapalli/programming-c<file_sep>/swapping.c
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b:
clrscr();
printf("enter a,b");
scanf("\n%d,\n%d",&a,&b);
a=a+b;
b=a-b;
a=a-b;
printf("\n%d,\n%d",a,b);
getch();
}
| 25aa404628429cabfb542a42064056bc0b2eb52a | [
"C"
] | 1 | C | NagaJyothi-Devarapalli/programming-c | 9f375f09c9e6b84cae35097ae40aef2a47e13909 | 695767be617d6b9679f7941e00a8fb9efe55db1f |
refs/heads/master | <file_sep>Rails.application.routes.draw do
get 'welcome/index'
resources :posts do
resources :comments
end
root 'welcome#index'
end
| 55bd678ab0c7c8569c8a4c797aada9a187265cc9 | [
"Ruby"
] | 1 | Ruby | coloradopioneer/blog | e3c02f807f6a4c96e4aeba442a2f80f55cd8b7d9 | d6810506ea382940f2024ced1e695fb41e4e7061 |
refs/heads/master | <file_sep>import math
import random
import statistics
import keyword
import c2mod
pow = math.pow(5,5)
rand_int = random.randint(0,50)
nums = [1,2,2,4,5,6]
mean = statistics.mean(nums)
median = statistics.median(nums)
mode = statistics.mode(nums)
key = keyword.iskeyword("for")
c2mod.p(key)<file_sep>if __name__ == "__... | eddaa033683eee2e2e93457aa217eb8028eae6eb | [
"Python"
] | 3 | Python | moonclash/tstp | cb933c34cc2adbc24889222123b2305ab6389de4 | 1bc56abe52b6632e89087797cd0118702bb3a744 |
refs/heads/master | <file_sep># Simple-JS-Range-Slider
<file_sep>console.log("range-slider js loaded...");
class RangeSlider {
// Constructor
constructor(options) {
this.id = options.id;
this.element = document.getElementById(this.id);
// Get the slider handle
this.handle = this.element.getElement... | 0178336932b4803170b338e1b8db990c9e17b39d | [
"Markdown",
"JavaScript"
] | 3 | Markdown | bajayk/Simple-JS-Range-Slider | c1254c7709cc807c46cabd9208f2feb28bd22fa6 | 9e1cb8b08b4a41deba1cd99014aa8aba74e0f8c5 |
refs/heads/master | <file_sep>
class Bubblesort{
public static void main(String[] args) {
int num[]= {5,9,6,75,11};
int temp=0;
for(int i=0;i<=num.length-1;i++) {
for(int j=0;j<num.length-1;j++) {
if(num[j]>num[j+1]) {
temp=num[j];
num[j]=num[j+1];
num[j+1]=temp;
}
}
}
for(int i=0;i<=num.length-1;i+... | 4aac4ec92c34a5229b8aef76280784f2b597dc84 | [
"Java"
] | 10 | Java | Muteeqkhan/freshlite_basic | acac3e10e900cc7cbc2f5119c822234fcce1f1fc | 4b7a3686c98ab749dc91e5b3c6638315549dd571 |
refs/heads/master | <repo_name>jamiepg1/skia-buildbot<file_sep>/perf/go/db/db.go
package db
import (
"database/sql"
"fmt"
"time"
_ "github.com/go-sql-driver/mysql"
"github.com/golang/glog"
_ "github.com/mattn/go-sqlite3"
"skia.googlesource.com/buildbot.git/perf/go/metadata"
)
var (
// DB is the sql database where we have commit... | 6faebd67557a16f9c7e53d1ef8dce555bb79c43b | [
"JavaScript",
"Python",
"Go",
"Makefile"
] | 9 | Go | jamiepg1/skia-buildbot | c8e7ed6a3d41eeccc4ca13dd41f8781a8fd52504 | 5fe2817733cf7cb4ff1b4552ec41ee766789a755 |
refs/heads/master | <file_sep># jenkins-stack-kubernetes

[](https://github.com/ssbostan/jenkins-stack-kubernetes/blob/master/LICENSE)
[:
mypi = pi # assign pi to mypi
return (round(mypi, numb))
#a = raw_input('enter a number: ')
a = 4
thepi = findpi(a)
print(thepi)
<file_... | c7c4c16a490e71f92cdace66e7bba81490850997 | [
"Python"
] | 2 | Python | reagyd/Projects | 8780f80de097db7a9cfe7ec915e95233b28a1327 | b6368e329f255938d2f33d68f169d1a895f66072 |
refs/heads/master | <repo_name>KoyoIshikawa/ruby_prac<file_sep>/hello.rb
class SearchController < ApplicationController
def helloworld
end
end<file_sep>/new.rb
scores = [50,60,50,30,50,30]
sum = 0
scores.each do |score|
sum = sum + score
puts "現在のスコア"
puts score
puts "現在の合計点"
puts sum
end
puts sum<file_sep>/for_... | f40ab30030e4e2bea80de5787a1ff238275a6a7b | [
"Ruby"
] | 6 | Ruby | KoyoIshikawa/ruby_prac | 22391f34d649ae4ee5c021057dc6683c6ca60993 | 6f3ed2de41073b44c43510d5d2bf199440d02aa1 |
refs/heads/master | <repo_name>spacejake/cg-project<file_sep>/visualization/code/cgassn1/player.cpp
#include "player.h"
#include "util.h"
void Player::init(const glm::vec3& pos, const glm::vec2& dir)
{
this->setPos(pos);
this->setDir(dir);
rotDelay = CLOCKS_PER_SEC / 2;
lastRot = 0;
this->viewDir = UP;
canGo = true;
status = A... | 75289095cbbaad18da38effeaedf677779d41324 | [
"Markdown",
"Python",
"C++"
] | 25 | C++ | spacejake/cg-project | a69ead800b6b1b65249a1e7974e1130fbc939cf6 | 67b7d4ca79ba0365bb3d14b87ff55fdfbf5c1677 |
refs/heads/master | <file_sep># pixelmapper
Captures a video stream, pushes it through custom pixelmappers, and displays the result.
Type python run.py to start the video show. You will need to have a few dependencies installed in order to run the code including numpy, opencv, and PIL (or Pillow).
<file_sep>import cv2
import numpy as np... | 006cdea3bb8144ae3fa39145a8dc4507118be36f | [
"Markdown",
"Python"
] | 3 | Markdown | yarlett/pixelmapper | 80781eb72fca8416c15bf0d65cee070719b016e6 | a932551cefdbab319cfc7718c35b0532f0194d4e |
refs/heads/master | <file_sep>//rely on jQuery
'use strict';
(function ($) {
$.fn.Grid = function (option) {
var self = this;
//Merge the contents of two or more objects together into the first object.
self.opts = $.extend({}, $.fn.Grid.defaults, option);
self.setParam = function(param){
... | aa0a3aae6de55b63ae06b7e9fe953f89aaa640ba | [
"JavaScript"
] | 1 | JavaScript | TinySongp/grid | c5e3f0974e6ea067e1350009a2461f4cb77da2a5 | d19e303475cbbd93164c00563d4ba23694879431 |
refs/heads/master | <file_sep>from appliances import DishWasher
from appliances import Dryer
from appliances import Washer
from appliances import CoffeeMaker
from appliances import CanOpener
from appliances import Stove
from appliances import Refrigerator
whirlpool_dishwasher = DishWasher("black")
whirlpool_dishwasher.wash_dishes()
sams... | 4bfca538039a77745dbfa316971c7be0e550998c | [
"Python"
] | 2 | Python | ronaldo1618/python_imports | eff30395a771f5d6a4f800657e270e09132b2e25 | 890470a826d2413f55bd0afd858180b5555b1b86 |
refs/heads/master | <repo_name>aleksnied/RxSwiftRiddles<file_sep>/Podfile
platform :ios, '9.0'
use_frameworks!
pod 'RxSwift'
pod 'RxTest'
target 'RxSwiftRiddles'
target 'RxSwiftFramework'<file_sep>/RxSwiftSolutionsPlayground.playground/Contents.swift
//Spoiler alert! Solutions below....
import UIKit
import RxSwift
import RxTest
import ... | 19c783dfa0ae44f13370f6c0efc3e06f94ecd663 | [
"Swift",
"Ruby",
"Markdown"
] | 5 | Ruby | aleksnied/RxSwiftRiddles | 1de62e4848cba86b4558a262442cbd532bfdf4fc | 47de9cb42aeaad49c59d3fadb4939779b0ba1731 |
refs/heads/master | <repo_name>Sprint-Team-4/sprint<file_sep>/app/src/main/java/com/example/practice_basicactivity/Homepage.kt
package com.example.practice_basicactivity
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Button
import android.widget.Tex... | 6f569409b2ecdde3e8d260d907f5ca74da713020 | [
"Kotlin"
] | 5 | Kotlin | Sprint-Team-4/sprint | 25469c86060b0f5730c2c38085220b221c5954c3 | 0671fdd21dc611afae4798a89f52e0d602f7802b |
refs/heads/master | <repo_name>j03hanafi/tb_pbd<file_sep>/app/views/sekolah/detail.php
<div class="container">
<div class="row mt-lg-3">
<div class="col-lg-12">
<h1 class="display-4"><?= $data['sekolah_umum']['nama_sekolah']; ?></h1>
</div>
</div>
<div class="row-cols-lg-1 my-lg-3">
<a href="<?= BASEURL; ?>/sekol... | 1f1c0338da781c30bad88d25e5f43faf262e2522 | [
"JavaScript",
"PHP"
] | 15 | PHP | j03hanafi/tb_pbd | 294a869b014bc8363e10a00e8f14e4b862039216 | 1949a417375d8167f47a92164f0225f84c4a3262 |
refs/heads/master | <repo_name>agebeyaw/laradock<file_sep>/remove-site-dev.sh
#!/bin/bash
# This shell script restarts the docker
# sudo sysctl -w vm.max_map_count=262144
if [ -z $1 ]
then
echo "please provide sitename"
else
read -p "WARNING!!! All site data for ($1) including db will be removed! Are you sure to proceed now?... | 6f4fd47da8b01e0917dbf2e415a91aaf7a20928e | [
"Shell"
] | 3 | Shell | agebeyaw/laradock | 26a8fcefa3faaf4f420cbb6c9c39f992c6338580 | 9b185b4e53a3a136b7347e4f6a34ac9ea6bba6c0 |
refs/heads/master | <file_sep># Auto WSM
Install: [Chrome Extension](https://chrome.google.com/webstore/detail/wsm-gofast/ghimpjinmigccofnepjgppfogokgdhpk)
<file_sep>const injectJsFile = file_name => {
let script = document.createElement('script')
script.src = chrome.extension.getURL(`js/${file_name}`)
document.documentElement.appe... | d30c266531cf29f0fdd9547a3e6732bfa0744e6c | [
"Markdown",
"JavaScript"
] | 2 | Markdown | oLaVanBac/auto_wsm | a26f3cb5621de602467b61ad067b873d0fe74ba9 | e62944f7aba982a3831477e19cca45157d2dc1e5 |
refs/heads/development | <file_sep>import { Provider } from 'react-redux';
import { shallow } from 'enzyme';
import CompanyContainer from '../components/CompanyContainer';
import store from '../redux/store';
describe('CompanyContainer />', () => {
let wrapper;
beforeEach(() => {
wrapper = shallow(<Provider store={store}><CompanyConta... | e7900671ba1ad94b520978177373668ae67f79ae | [
"JavaScript",
"Markdown"
] | 10 | JavaScript | brugobi/stock-react-capstone | ae639da0df7ca61d904834ed02167a18f6464f55 | 9742e85e5df40932610345abbec228adca169ce2 |
refs/heads/master | <repo_name>3bru/ThreadingTest<file_sep>/src/com/company/Main.java
package com.company;
public class Main {
public static void main(String[] args) {
KronometreThread t1 = new KronometreThread("thread1");
KronometreThread t2 = new KronometreThread("thread2");
KronometreThread t3 = new Kronomet... | 2d27e09d90e5fa31925c3ba22284518cc990e16d | [
"Java"
] | 1 | Java | 3bru/ThreadingTest | 4685d5dfcfc0a6ca18b3073b224a964ce36b6b34 | 88a99a891ae35b194c3810b7eb6644662fb34f31 |
refs/heads/master | <repo_name>niufuren/skin_decompsition<file_sep>/README.md
skin_decompsition
=================
Decompose skin into its independent components, heamoglobin and melanin components, by using independent component analysis.
## Original image:
;
define('USUARIO','root');
define('CONTRA','');
define('BD','exafinal');
?><file_sep>/DAOProducto.php
<?php
include 'credenciales.php';
include 'Producto.php';
class DAOProducto {
private $con;
public f... | c7e84b5bf9d4c9eddd5cbc834429afa8cb9233f9 | [
"PHP"
] | 4 | PHP | yerkoz/julio | b75d28d3f2edcb8076c0ca0b344d6cda5251d834 | dd0e313fc83c6be95dd59c2ca2f002813df4c218 |
refs/heads/main | <file_sep>[package]
name = "terminal-link"
description = "Create clickable links inside terminals"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/SirWindfield/terminal-link-rs"
version = "0.1.0"
authors = ["SirWindfield <<EMAIL>>"]
edition = "2018"
<file_sep># terminal-link
> Create clickable links ins... | ebfad4d668e63c036c37bff27c429620b2d41c42 | [
"TOML",
"Rust",
"Markdown"
] | 4 | TOML | SirWindfield/terminal-link-rs | 2d959ed602e7f53232ad9c960c0c94fa8a6ba362 | f59f46ff2f95edf880948eeb41cc388fd79a78e5 |
refs/heads/master | <file_sep>import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule , Routes } from '@angular/router';
import { GrafickeListComponent } from './graficke-list/graficke-list.component';
import { CommentsComponent } from './graficke-list/comments/comments.component';
... | d29a2d1e519c425943c6dd7fcdc0e37ab0832760 | [
"TypeScript"
] | 11 | TypeScript | milana986/GraphXCards | 1a11962f79abb459ea17ca6638ab813db09640cf | 6df62783c2c6cb2a0af27ef2877c6d71425491ba |
refs/heads/main | <repo_name>diegoPasini/DOE_Email_Scraping<file_sep>/DataScraping.py
# @author <NAME> 24 May 2021
# importing necessary libraries
import xlrd
import xlsxwriter
# Give the location of the file -- Mine is meme.xlsx
loc = ("meme.xlsx")
# To open Workbook
wb = xlrd.open_workbook(loc)
sheet = wb.sheet_by_index(0)
# ini... | cf2fb996c887344da32e048cb4d9425de850662e | [
"Markdown",
"Python"
] | 2 | Python | diegoPasini/DOE_Email_Scraping | b8bc57d1d41504c0f34756a51aab5d1fa26984c0 | b73084819f0ef1b1b13d974327f7461b7953c547 |
refs/heads/master | <file_sep>import dicom
import cv2
import os
import tifffile
import numpy as np
from config import *
def canny(img):
edges = cv2.Canny(img, 0, 50)
for idx, e in enumerate(edges):
pos = np.where(e>0)[0]
e[pos[:2]]=0
e[pos[-2:]]=0
edges[idx] = e
kernel = np.ones((5,5),np.uint8)... | da3285d77d9085ac8add8cc678396c20af2e1e2a | [
"Markdown",
"Python"
] | 4 | Python | TomeHirata/brain_image_matching | b10e97cff593341253d48584b2c7f1c4310666d6 | 8e086d192254b0684a907fd84dff5d6c22fabb2e |
refs/heads/master | <file_sep>package com.background;
import com.Settings;
import com.bases.GameObject;
import com.bases.Vector2D;
import com.player.Player;
/**
* Created by LT on 14/07/2017.
*/
public class Background extends GameObject {
public static Background current;
public Vector2D screenPosition;
public Background... | 23628b0d2e73117ff64ea5fab63543c8f3f61fcd | [
"Java"
] | 4 | Java | linhnt2803/Mario | ad5c4154d6c8c942dc2b26874c1e5d25e9cc5dd6 | acd79366ff9b3247fdd1a92ecd44e8bc5faf1f36 |
refs/heads/master | <repo_name>josephinehall/Hollaback<file_sep>/iphone/www/models/story.js
var story ={
storyType: function(name, value){
var self = this;
self.name = name;
self.value = value;
},
storyInformation: function(configuration, userInformation){
var self = this;
var urlConfig = configu... | e14e81b8ec42e62dc17d0260e7c7a72b9de55dc7 | [
"JavaScript"
] | 7 | JavaScript | josephinehall/Hollaback | 14d3d7dfa1893754bfd32ac2650e09d169cd0019 | 02f361ff69e343c48f1a20a7941b27e7c871d304 |
refs/heads/main | <repo_name>KangJH/toml11tojson<file_sep>/README.md
# toml11tojson
A json converter util class for toml11.
## Interface
- Converter::TomlToJson : Convert toml::value to rapidjson::Document
- Converter::JsonToToml : Convert rapidjson::Document to toml::value
## How to use
1. Copy converter.cpp and converter.h into you... | 1776b6d5252719010f00ce8a79d8185b974ff536 | [
"Markdown",
"CMake",
"C++"
] | 7 | Markdown | KangJH/toml11tojson | 62f2cbc2385b87984d93928d15288ebc2f167e1c | db48ee61b97e8cdb31359624dc4dbc0ec3096e64 |
refs/heads/master | <repo_name>paulballas/dan-gray-drywall<file_sep>/README.md
# <NAME>
[<NAME>](https://dangraydrywall.com)
<file_sep>/app.js
var Prismic = require('prismic-nodejs');
var app = require('./config');
var PORT = app.get('port');
var PConfig = require('./prismic-configuration');
var request = require('request');
function han... | 128bae4629a0e3a7383bd4b9edde2e467cde5e55 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | paulballas/dan-gray-drywall | c78d665fa1b6386a44bc39c9995cd0c531efb0fd | 6897dc6c521c87ec1256c8868da14e58889da577 |
refs/heads/master | <file_sep>
exports.seed = function(knex, Promise) {
// Deletes ALL existing entries
return knex('students').del()
.then(function () {
// Inserts seed entries
return knex('students').insert([
{cohort_id:1, name: 'Lisa'},
{cohort_id:2, name:'Anna'},
{cohort_id:3, name:'Taira'},... | e5b0a6357345a3c2bb2018f00ba075a2ccae447c | [
"JavaScript"
] | 1 | JavaScript | sampler36/webdb-iii-challenge | f540efa1f5df58d4f17abe8bc5c2d5d124c70b33 | 241da1316e200239c50d9ae453e0a2bfc6566e19 |
refs/heads/main | <file_sep><?php
$id = filter_input(INPUT_GET, "id", FILTER_SANITIZE_NUMBER_INT);
if($id){
$markers = $db->query("SELECT * FROM markers WHERE id=$id;")->fetchAll(PDO::FETCH_OBJ);
}else{
$markers = $db->query("SELECT * FROM markers;")->fetchAll(PDO::FETCH_OBJ);
}
?>
<div style="margin: 1rem;">
<h1>Markerite list</h1>... | 01d891a7fc46cd3b1b99504248458843811dff16 | [
"JavaScript",
"PHP"
] | 8 | PHP | ErichArgentum/ilmaAPI | 7193cdd4303d264fbc027b0a9f4c6ed70e6c4fea | c5a25a77b82f21b2b6106066df39589d655e9776 |
refs/heads/master | <file_sep>/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package Umsl.SwitchCase;
import java.util.Scanner;
/**
*
* @author Sophie
*/
public class SwitchCaseExample
{
pu... | 6f63ce2d36eb1993d1cd227cd3b11aaec2e60e1a | [
"Java"
] | 8 | Java | smrcmd/schoolspring2015 | 645f04a025e4d131fd105dbff7ff7ee71696c618 | 4d10baa2c6996b039a2eda65c409e4b60a7c1281 |
refs/heads/master | <file_sep># frozen_string_literal: true
module ComfyBlog
VERSION = "2.0.72"
end
| 233ad408058da7e8fe1eb91df327bb159a4019c9 | [
"Ruby"
] | 1 | Ruby | albandum/comfy-blog | ff52e1afbc007be3789d448b109d33a9f1e6b38c | cc0d734a51ff950bc914c9cd6230bb78027271d7 |
refs/heads/master | <file_sep>package com.robimolte.subitotest;
import com.robimolte.subitotest.model.Stargazer;
import java.util.List;
import rx.Observable;
/**
* Created by robimolte on 02/05/2017.
*/
public class StargazerRepository implements Repository {
private StargazerAPI stargazerAPI;
public StargazerRepository(S... | 4195f272507cb7e1f262d083250250822f614765 | [
"Java"
] | 5 | Java | robimolteni/stargazersList | fcf2b5cac6387811a0d262148209bbc47419f640 | 523c4fab058654c0afaeb3591e1da9343cf284ec |
refs/heads/master | <repo_name>Timi-chen/TestDemo<file_sep>/README.md
# TestDemo
软件工程导论相关材料
<file_sep>/homework5.py
import random
x=eval(input(""))
y=random.randint[0,30]
i=0
while(x!=y):
if(x<y):
print("遗憾!太小了")
i+=1
x=eval(input(""))
else:
print("遗憾!太大了")
i+=1
x=eval(input(""))
els... | f8bd662b560cff52611170fb2b17135018ef3d0f | [
"Markdown",
"Python"
] | 2 | Markdown | Timi-chen/TestDemo | c22355d9bc279bdfd50d60d434e750e37354c0f6 | 5a7668b3a78c56c058090284e2aadbdd5a761153 |
refs/heads/master | <file_sep><?php
session_start();
//add_comment.php
$connect = new PDO('mysql:host=localhost;dbname=fairuz', 'root', '');
$as = $_GET['as'];
$item = $_GET['item'];
$group_name = $_GET['group_name'];
$error = '';
$tbl_comment_name = '';
$comment_name = '';
$comment_content = '';
$username = $_SESSION['username'];
$co... | 1c3d84c0b826b8488dd79cebead423fed53ee3af | [
"PHP"
] | 19 | PHP | Munia03/Web | 07985756a0eefa692fbc5d0e559d6c8a0c63b8e7 | 0b94892accfb7d8f8625edc0eae8321ae459a6a6 |
refs/heads/master | <file_sep><?php
class RouteTest extends PHPUnit_Framework_TestCase
{
/**
* A basic test example.
*
* @return void
*/
public function testloadEnv()
{
$test = new \Badtomcat\Routing\Route();
$test->setPath("/foo/{bar}");
$test->setHost("{sub}.baidu.com");
... | 0008b2b7593be59224a6f54807fb3ccb03549c0f | [
"PHP"
] | 7 | PHP | badtomcat/routing | fb4c5235d59731d9a4dbcdabf8156b8da4c9093e | 85e4669cce2d2cfa9586b8af2e42cb38cc240149 |
refs/heads/master | <repo_name>FelipeP92/gallery-images-app-react<file_sep>/src/components/Loading.js
import React from 'react'
const Loading = () => {
return (
<div className = 'text-center'>
<div className="spinner-border text-info" role="status">
<span className="visually-hidden ">Loading...</sp... | 1b6e370a56e07272d503a0542c5f92b902fe4032 | [
"JavaScript"
] | 1 | JavaScript | FelipeP92/gallery-images-app-react | 1d9024f793a5be9d75a477aa19b3ae7bb1ab7e38 | fb5b3f2948b003b63b0ca0beafc6f3819fc07102 |
refs/heads/master | <file_sep>---
layout: post
title: "Teaching"
---
**PSE 320 Soil Organic Matter Management**
University of Maine
2018
**BIO 100 Basic Biology**
University of Maine
2018
**AGR 110 Soil Science**
Kennebec Valley Community College, Maine
2018
**PSE/EES 141 Soil Science Laboratory**
University of Maine
2... | f655c875e2be58b93fdb178d01a8323d93936194 | [
"R",
"RMarkdown"
] | 9 | RMarkdown | kaizadp/kaizadp.github.io | 115d0f842d4ccd304f358ae4ff174404c25a63b8 | b4db8ee120e8e90c2ab294e92b620dbd906fdc72 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.