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># Simple NTLM ProxyCommand for SSH
This tool allows you to easily use SSH behind a corporate NTLM firewall, *without providing any credentials*.
## Requirements
* Windows (sorry, the lib that magically gets your credentials is Windows-only)
* corporate proxy address
* another (https) proxy that allows `CON... | 901e408c754bdbc8a40755b006587ccf5cde6bfd | [
"Markdown",
"Go Module",
"Go"
] | 3 | Markdown | Hades32/simple-ntlm-proxy | 46f2410bb59ed0d04e740cf01cd764e4541fc61f | 5d815ea5c957f01ff1f25473bbb2a2eb83243d7a |
refs/heads/master | <repo_name>miy4/huecli<file_sep>/main.go
package main
import (
"os"
"github.com/jawher/mow.cli"
)
func newApp() *cli.Cli {
app := cli.App("huecli", "A simple CLI for Philips Hue. Just to flip it on and off.")
for _, cmd := range Commands {
app.Command(cmd.Name, cmd.Desc, cmd.Init)
}
return app
}
func main()... | 2e0e29e5fad8533560d10e5711b09385562ff2b5 | [
"Markdown",
"Go"
] | 5 | Go | miy4/huecli | d469491dcfd5e59d13e7fe47d75ceb63b537e5f0 | dc489893f76180e18d595f012076b99a7153708c |
refs/heads/master | <repo_name>biellsantiago/GasolinaXAlcoolBinding<file_sep>/app/src/main/java/com/gabriel/gasolinaxalcool/Combustivel.java
package com.gabriel.gasolinaxalcool;
import java.io.Serializable;
import java.util.Observable;
/**
* Created by GABRIEL on 02/08/2016.
*/
public class Combustivel extends Observable implements Se... | 7f9049cbcb951965b627382343908227242fcf87 | [
"Java"
] | 1 | Java | biellsantiago/GasolinaXAlcoolBinding | 0fdbd18e3d639c1f4b6eead40d2321ab2bbfc733 | 40fba3cda5602f2d6021644e014862421b6c30e7 |
refs/heads/master | <repo_name>sid17/CompilersProject<file_sep>/asgn2/include/regexDefination.py
from tokensDefination import *
# regular expression for simple tokens
t_PLUS = r'\+'
t_MINUS = r'-'
t_TIMES = r'\*'
t_DIVIDE = r'/'
t_LPAREN = r'\('
t_RPAREN = r'\)'
t_BLOCK_BEGIN = r'{'
t_BLOCK_END = r'}'
t_STATE_END = r';'
t_COLON = r':'
t_A... | 80f2e5db2bad8710432e40b7634808a1185f8e7f | [
"Markdown",
"Python",
"Makefile"
] | 16 | Python | sid17/CompilersProject | 2c8ad090a008c72042ff536804e2b48c9d51f50b | dd324a111bc0d916fb8b99dab87eea390b5da508 |
refs/heads/master | <file_sep>
import moe.reinwd.taxi.model.Region;
import moe.reinwd.taxi.model.Taxi;
import java.io.*;
import java.text.ParseException;
import java.util.*;
public class LocalTest {
public static void main(String[] args) throws IOException, ParseException {
File file = new File("./data/taxi_gps.txt");
... | 5dbe986386694152e13bf61317d0c3f09b0940a5 | [
"Markdown",
"Java"
] | 7 | Java | ReinWD/taxiAnalysis | 7911b1608595d3c5780a858b330485dc9afa9477 | 6edd56b531e72855c3c69a31cec5b007f28eab63 |
refs/heads/main | <file_sep>import CloseLegend from "../../pages/elements/closeLegend";
describe("Close legend on map", () => {
const closeLegend = new CloseLegend();
beforeEach(() => {
closeLegend.visit();
cy.wait(5000);
});
it("The legend icon is visible after the user closes legend on map", () => {
closeLegend
... | 37455ea74ab263509ddf2a4c6184338644dab085 | [
"JavaScript",
"Markdown"
] | 9 | JavaScript | jessica-lau/outage-map | cbc2f2ae30759a8295681851f993f107c8770e8e | 8347771f4be4db55fb514e69ea891e72e481d910 |
refs/heads/master | <repo_name>DamianLew23/AkademiaSpring-KSB2-PracaDomowa3<file_sep>/src/test/java/pl/akademiaspring/ksb2pracadomowa3/KursSpringBoot2PracaDomowa3ApplicationTests.java
package pl.akademiaspring.ksb2pracadomowa3;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTes... | b32fa9910c82287da31ef2b446062aa32ad3cee5 | [
"Java"
] | 3 | Java | DamianLew23/AkademiaSpring-KSB2-PracaDomowa3 | 127082c2f587bd31661f3ebfb93449305900da12 | 2f2dd2c878c681c6b49b01e70ac11201170f4f82 |
refs/heads/master | <repo_name>matthewkling/vortex<file_sep>/code/hurricane.r
# This script downloads raw hurricane data and converts it into tidy county format,
# first performing some spatial interpolation and deriving an exposure index.
# Input: raw NOAA hurricane data, hurdat2-1851-2015-021716.txt, automatically downloaded when script... | 1068c9ddc98edb191ce8ac71b933084e4bf6d24d | [
"Makefile",
"Text",
"R",
"Markdown"
] | 28 | R | matthewkling/vortex | 8c1ccd0ff4cd2b3f57f9c988d1b44d6787676a68 | a1d882e0bb76b78a3e7c199e25040afb7a39151d |
refs/heads/master | <repo_name>lgrandperrin/AlgorithmicLibrary<file_sep>/README.md
# AlgorithmicLibrary
[GitHub Link](https://github.com/lgrandperrin/AlgorithmicLibrary/)
These files are a library of algorithms in C language. You can find search algorithms, sorts of algorithms as well as binary trees.
<file_sep>/lib/array.c
#include "ar... | f9e5ee5689ad2c00f1d108ed57dd8a4b852690ff | [
"Markdown",
"C"
] | 5 | Markdown | lgrandperrin/AlgorithmicLibrary | 10246d9fe9f517c58034e3edfa882be08708382b | 6549343d755860c97d19dd20bc3df6bcacd026e4 |
refs/heads/main | <file_sep><?php
include_once("RO.html");
?> | 9e24f3e4b5e89e8e393ca595dd8be3e0ce4ad952 | [
"PHP"
] | 1 | PHP | hsm-Gowthambalu/Mega-Advertisers-RO | 4d02f66cbb29e80385d6acd42ec34cd57aa62db2 | 5cc2f93d035f0c5176b258f9af56f5f9c3c0566a |
refs/heads/master | <file_sep>class Song
attr_accessor :name, :artist
def initialize(name)
@name = name
end
def self.new_by_filename(file_name)
artist_name = file_name.split(" - ")[0] #split on the artist
song_name = file_name.split(" - ")[1] #split on the song name
song = Song.new(song_name) #create a new song... | 9ce7921ccfc84fab805b18de10d45d7494118df4 | [
"Ruby"
] | 3 | Ruby | volpja46/ruby-collaborating-objects-lab-web-080717 | 9df82bcd57fd4657c4c90b3588564f356e8c8b74 | 79c1add965d10d86ffcbe10579a21d25e0b0d32d |
refs/heads/main | <repo_name>chrisdetmering/StarWars<file_sep>/src/StarWarsPage.js
import React, {Component} from 'react';
import Input from './Input.js';
import SearchButton from './SearchButton.js';
import Table from './Table.js';
import axios from 'axios';
import PageButtons from './PageButtons';
class StarWarsPage extends Component... | ca768da4e816917d55bf3a1c7bf3ecccaf2319f9 | [
"JavaScript",
"Markdown"
] | 6 | JavaScript | chrisdetmering/StarWars | 72cbda7f1f1865ea5d1397f4e8660fc43e697093 | 0a0fdc8a36f9d4af7ed3fd1200fd0ccac9d90f55 |
refs/heads/master | <repo_name>poojithavangala/Important-Tasks<file_sep>/ApachePOI/src/getDataFromExcel/ExcelDriven.java
package getDataFromExcel;
import java.io.FileInputStream;
import java.io.IOException;
import org.apache.poi.xssf.usermodel.XSSFCell;
import org.apache.poi.xssf.usermodel.XSSFRow;
import org.apache.poi.xssf.usermodel.X... | 5c76898a549408c2220befa41b474e5ecd2748b6 | [
"JavaScript",
"Java",
"INI"
] | 19 | Java | poojithavangala/Important-Tasks | 521f4f80476bc648127132e563869fd24af00472 | 8adcc9c09f85638bca2cd0c2d3717cdfb2911b60 |
refs/heads/master | <repo_name>AhmedAboulezz/Blog<file_sep>/blog/forms.py
from django import forms
from .models import Blog
class BlogForm(forms.ModelForm):
blog=forms.CharField(label='',
widget=forms.Textarea(
attrs={'placeholder': "Your blog",
"class": "form-contr... | 8a08a105faa1e6826cf4c9abd2642825a09201a3 | [
"Python"
] | 4 | Python | AhmedAboulezz/Blog | 2fdbe9dc651b0ee2822f4dcef06d5a250b8627af | 9fa3885786b33a0bdbcbff2e48f01894937cbdfd |
refs/heads/master | <file_sep>/**
* Created by luoyuyu on 2017/2/14.
*/
function myfun() {
x=document.getElementById("testForJS");
x.style.color="#ff0000";
}<file_sep>/**
* Created by luoyuyu on 2017/2/15.
*/
var x=document.getElementById("myCanvas");
var x=x.getContext("2d");
x.beginPath();
x.arc(0,0,100,0,2*Math.PI);
x.stro... | 812a3f457b6bc726e1e7fb51d491994cb1d66c36 | [
"JavaScript",
"Python"
] | 26 | JavaScript | Thanksyy/2017dv-2.0 | 14aa8ea7b8820deb1c33fd2fea1d384f3b37cb95 | 7f4d6397d6a531f939e0cde13fe1b80d184eb4f5 |
refs/heads/main | <repo_name>millertim83/Calculator<file_sep>/README.md
# Calculator Application
<img width="342" alt="Screen Shot 2021-08-12 at 8 59 21 AM" src="https://user-images.githubusercontent.com/80060826/129201867-0d0d836a-8b00-4040-9ce0-540050a4807e.png">
I built this fully functional calculator using HTML, CSS, and JavaScr... | f044148456889efe0f9f50cc34c8cbd48ed32cf1 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | millertim83/Calculator | 4130129574bfbf9c987c77d7d29b5d1da3204a48 | 65b2bdf786d12e62cb28c7c0856f38c0be5f68a1 |
refs/heads/main | <repo_name>Arahis/spaceX<file_sep>/src/redux/reducers/index.js
import { combineReducers } from 'redux'
import launchReducer from './launch-reducer'
const rootReducers = combineReducers({
launches: launchReducer,
})
export default rootReducers
<file_sep>/src/common/components/main-content/MainContent.js
import Reac... | b643bae7cac75f8da1130d2a259ab30f241462b5 | [
"JavaScript"
] | 19 | JavaScript | Arahis/spaceX | b8890cc603c48742404a70df02816a851a6a26d5 | e8bb0a38e8a90a424e0eea7ba5e538343d372c20 |
refs/heads/master | <repo_name>dmpots/codejam<file_sep>/2012/Q/D.py
#!/usr/bin/env python3
import sys
M= "#"
E= "."
I= "X"
class Board:
def __init__(self, w,h):
self.width = w
self.height = h
self.board = [["!"] * h for x in range(0,w)]
def __getitem__(self, x):
return self.board[x]
def ... | bfbaf36ec3b3534edffddfb3e183c02568f1c089 | [
"Makefile",
"Python",
"Ruby",
"C++"
] | 23 | Python | dmpots/codejam | 27a7054adf4239b31d16e4e18053126a27f09741 | 4da427bfcdee36e0abe8203a19559d59ac92a40f |
refs/heads/master | <repo_name>ricardofagodoy/coding-problems-cpp<file_sep>/main.cpp
#include <iostream>
#include <vector>
#include <map>
#include <chrono>
using namespace std;
int find_even_index (const vector<int> numbers) {
int numbersSize = numbers.size();
map<int, vector<int>> sums;
int sumAux = 0;
for(int i = 0; i... | 3eb71bb81fa4877b527ee9cc73338d810abbcb38 | [
"Makefile",
"C++"
] | 2 | C++ | ricardofagodoy/coding-problems-cpp | 17c104daf1990311334e9781aa41ae94c36cbb36 | 83fae71de5bdf54677d25ec406bf07e0984d735c |
refs/heads/main | <file_sep>lipsX=0;
lipsY=0;
function preload() {
}
function setup() {
canvas=createCanvas(650,650);
canvas.position(150,150);
video=createCapture(VIDEO);
video.hide();
canvas.center();
poseNet=ml5.poseNet(video,modelLoaded);
poseNet.on("poseNet",gotResults);
}
functi... | d1847abef61ef5624209a8138e6f20c1d3525008 | [
"JavaScript"
] | 1 | JavaScript | Bubby123456/filterapp.com | 9e38c3d79de0885afbae1e2e6fb75a0d7d35e6aa | 3d957f232e2574c336be07a4dcc7b6e5ab07df7c |
refs/heads/main | <repo_name>JacobCT/FundiPythonTutorial<file_sep>/README.md
# FundiPythonTutorial
Python hands-on session for the 2021 Fundi tutorials
In this tutorial, we will discuss some of the common and useful packages for analysis of time-domain radio data. All the required software for the tutorial is bundled up into a docker/s... | 62f6bbab4f2f9e8040f09eda646b5fe3c77082b6 | [
"Markdown",
"Python",
"Shell"
] | 3 | Markdown | JacobCT/FundiPythonTutorial | 58b426f7f09cbd2b4d8fa438f97e3edeae0fdc0b | c0ab8c57da01b94f0b10dd39e58d3629ce3589ba |
refs/heads/master | <file_sep>setwd("~/Desktop/R_Work")
#source("/Users/David/Desktop/R_Work/compress_news.r")
install.packages("arules")
library(arules)
#install.packages("arulesViz")
#library(arulesViz)
# query used to pull the .psv file:
# select pii_id, gender_full, marriage_groups, age_groups, income_groups, education_groups, race_... | ed21b05478aa3f04b5ac86e15da6b92ed62c91d0 | [
"Markdown",
"R"
] | 2 | R | dwang818/amg_github | 7aa1993326a05456efa1ae411e122961c6c9fa28 | e3d87d14e4ddd730e79c76a17aafc1cf49c0463a |
refs/heads/master | <repo_name>xjtuwangke/tencent-xg<file_sep>/src/TencentXinge/TagTokenPair.php
<?php
/**
* Created by PhpStorm.
* User: kevin
* Date: 14/10/23
* Time: 00:57
*/
namespace TencentXinge;
class TagTokenPair {
public function __construct($tag, $token)
{
$this->tag = strval($tag);
$this->token ... | 83403c6bd708566d9d18da96cdc6d997f591b014 | [
"Markdown",
"PHP"
] | 2 | PHP | xjtuwangke/tencent-xg | 0de783a8be30a3c5bff43a692206847a51c3cf9f | 6b4ba092a8f8ba1d099f422a6e8422dfa7bbdd65 |
refs/heads/master | <repo_name>pzhyy/lite-fetch<file_sep>/src/lite-fetch.ts
import 'isomorphic-fetch';
import * as querystring from 'querystring';
import * as pkg from '../package.json';
import {
isEmpty,
mixin,
} from './helper';
export interface Options {
url?: string;
method?: string;
headers?: object;
mode?: ... | 00f42240dbf8f9210607d6ec891db61726a4dcef | [
"Markdown",
"TypeScript"
] | 3 | TypeScript | pzhyy/lite-fetch | 4ed2f9f11122d018156ab2accf706aaa414b6ea9 | caa4afd1b15d231241e6073c978207aec6dda78b |
refs/heads/master | <file_sep>
/*Funtion para que el documento esté listo primero*/
/*tooltip de etiquetas*/
$(function () {
$('[data-toggle="popover"]').popover()
})
$(function(){
$("a").click(function(e){
if (this.hash !== ""){
e.preventDefault();
var url = this.hash;
$('html,body').animate({
... | 8ca14214331c557086599de9a493898ecec16fd9 | [
"JavaScript"
] | 1 | JavaScript | catalistt/Portafolio | 1849d01b18493b31341b3ec4e947bf332ab8f503 | 7b41bce4e1a9428e5fd72071f6894038f930101b |
refs/heads/master | <repo_name>Arohak/AHWeather_MVP<file_sep>/app/src/main/java/com/andranikas/weather/data/source/local/WeatherLocalDataSource.java
package com.andranikas.weather.data.source.local;
import android.support.annotation.NonNull;
import com.andranikas.weather.data.entities.Forecast;
import com.andranikas.weather.data.en... | ad47ff50fb900ee0020b2ae36ac1dda973c94f65 | [
"Java",
"Gradle"
] | 12 | Java | Arohak/AHWeather_MVP | b9bee1754ab06f1d3d475aada5398a803bbcd05e | b2bcfdc3fb60b4e59e494851b5b7969e3eae0f0b |
refs/heads/main | <repo_name>kuba-budzynski/Mancala<file_sep>/src/main/kotlin/engine/game/Move.kt
package engine.game
import engine.player.Player
data class Move(
val player: Player,
val bucket: Int,
val stones: Int,
val time: Long,
val wasBonus: Boolean = false,
val steals: Boolean = false
)
<file_sep>/src/main... | 989109ad7d7fd14b3784a4f6150fe7c910e28418 | [
"Markdown",
"Kotlin",
"INI"
] | 32 | Kotlin | kuba-budzynski/Mancala | 479eb39ab2da370ad8cb1487fd4a2be563a44f80 | a114af415e656078e32f11929738bcb014aba2dd |
refs/heads/master | <file_sep>var main = function() {
document.getElementsByClassName("skillsbox")[0].onmouseover = function() {
var teller = 0;
while (teller < document.getElementsByClassName("bar").length){
document.getElementsByClassName("bar")[teller].style.width = document.getElementsByClassName("skill")[teller]... | 30d012512237c060d431713b4eeae17d1563c673 | [
"JavaScript"
] | 1 | JavaScript | BenVaes/it-mijnsiteonline | 6563d31af860857711d10f590fab735d679af73d | 762b1289feb871b26109d3c75e423c1e48c3bda7 |
refs/heads/master | <repo_name>ch3ll0v3k/mate-python-applets<file_sep>/example-2-button/testapplet.py
#!/usr/bin/env python
import signal
signal.signal(signal.SIGINT, signal.SIG_DFL)
import gi
gi.require_version("Gtk", "3.0")
gi.require_version('MatePanelApplet', '4.0')
from gi.repository import Gtk
from gi.repository import MatePanelAp... | b77416639a466cd4bcfa0c750a18c0213eb7b04c | [
"Markdown",
"Python",
"Shell"
] | 14 | Python | ch3ll0v3k/mate-python-applets | 8b2c0d5dc2db5a364f35acd604fbde46e4ec749e | 2ceb1f9abd5bc2f63c76b45f040be9f46a4eb140 |
refs/heads/master | <file_sep>---
---
# Header
# Another {MD025}
<file_sep>---
front: matter
---
# Header 1
## Header 2
<file_sep>Text text text
---
layout: post
hard: tab {MD010}
title: embedded
---
Text text text
<file_sep>---
layout: post
title: Title with ---
tags: front matter
---
## Header {MD002}
---
Hard tab {MD010}
<file_... | 4ddda923a5cacc927e2322bfbb5bf507ad948d3b | [
"Markdown",
"JavaScript"
] | 8 | Markdown | igorshubovych/markdownlint | c02af9683681c0fd545c39f47eedbcb10eb0af26 | 0980b7ca8a88283c6cf4f255575107b4b857f763 |
refs/heads/master | <file_sep>require 'net/http'
require 'open-uri'
namespace :load_maps do
desc "Load MARC geo codes by screen-scraping LC"
task :marc_geographic do
begin
require 'nokogiri'
rescue LoadError => e
$stderr.puts "\n load_maps:marc_geographic task requires nokogiri"
$stderr.puts " Try `gem... | f0fff198f0b0d0502af34e22f1082aee9d6250b9 | [
"Ruby"
] | 2 | Ruby | jkeck/traject | ac0c5372cb76705f9b70c9b321ca100d7f852506 | ea646b70f2538cd567bbd9bc25efdc21747c3be1 |
refs/heads/master | <file_sep># otalk-media-controller
A module for tracking all media streams in an app, both local and remote.
## Properties
- `useAudioWhenAvailable` - `{Boolean}`
- `useVideoWhenAvailable` - `{Boolean}`
- `detectSpeaking` - `{Boolean}`
- `capturingAudio` - `{Boolean}`
- `capturingVideo` - `{Boolean}`
- `capturingScr... | 5c842533c49520e2fb9355d1707ff78fbf5a9d8e | [
"Markdown",
"JavaScript"
] | 2 | Markdown | otalk/otalk-media-controller | b0dab1c9f9ae96cc3a616202fef2feb03309928e | bcb50b2484a4798d4ff3608d3bbe0aa5ce0c8528 |
refs/heads/main | <repo_name>dayalushanker/flaskapi<file_sep>/app/main.py
from flask import Flask
from flask_restplus import Resource, Api
from app import app,api
ns = api.namespace('helloworld', description='Operations related to Hello World')
@ns.route('/get')
class HelloWorld(Resource):
def get(self):
return {'hello': '... | 5bb58b32d16d68442a29eda641dffa99be62c940 | [
"Markdown",
"Python"
] | 5 | Python | dayalushanker/flaskapi | e878af30fa5870a86dd26d35a664504d80e2ef02 | 7cb15d4166dee93d50379ec0842e10b1c7abc729 |
refs/heads/master | <repo_name>e1668058/Epreuve_question3<file_sep>/category-cours.php
<?php
/**
* The template for displaying evenements pages
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package underscores
*/
get_header();
?>
<div id="primary" class="content-area">
<?php
... | 11611ae663cd6a403463dd1f5804b1373af7f36c | [
"PHP"
] | 1 | PHP | e1668058/Epreuve_question3 | b1f33d5cccaa889074f5b7d256e0f832af28f9fa | fbeb8b7717cb7d237f56f1b8fc0031bef176d39d |
refs/heads/master | <file_sep>import Defaults from './defaults.js';
import Get from './get.js';
import Post from './post.js';
import Put from './put.js';
import Patch from './patch.js';
import Delete from './delete.js';
import FetchEngine from './engines/fetch-engine.js';
Defaults.set({
url:'',
Engine: FetchEngine,
method: 'GET',
... | 2719dd87fed57481be46868c2f827a4a71b4fde8 | [
"JavaScript"
] | 3 | JavaScript | hyrumwhite/api | 416560ca436b012d91c3cca0c487ba1bbaf30fc8 | 2aebdd3ca94c50c5499cb62a5c847c77232ff31a |
refs/heads/master | <file_sep>import {Injectable} from '@angular/core';
import {HttpClient, HttpHeaders} from '@angular/common/http';
import {Observable} from 'rxjs';
import {environment} from '../../environments/environment';
@Injectable({
providedIn: 'root'
})
export class RouteService {
constructor(private http: HttpClient) {
}... | 4767662277ce0696b7991451dfbd01191c7ccde8 | [
"TypeScript"
] | 8 | TypeScript | upup297/angular | 4c91704c2f24a8162543bb30171ed7903e83f5f6 | 860f710265fd758ed164187e3fff060c3f4a5a76 |
refs/heads/master | <file_sep>from menu import Menu
from coffee_maker import CoffeeMaker
from money_machine import MoneyMachine
menu = Menu()
coffee_maker = CoffeeMaker()
money_machine = MoneyMachine()
is_on =True
while is_on:
options = coffee_maker.get_items()
choice = input(f"What would you like to have {options}: ")
if ch... | 7830c31ff0b54152aef2b4c6f4c3902066e77768 | [
"Python"
] | 1 | Python | Rohan-Deka/coffee | 57f22037d95210d29e82154950935df2053fbf47 | c7eba7a9cf897321ba19725133fca9c2cdedbe24 |
refs/heads/master | <repo_name>delgiudices/aneke_ios<file_sep>/Aneke/Product.swift
//
// Product.swift
// Aneke
//
// Created by <NAME> on 9/4/15.
// Copyright (c) 2015 <NAME>. All rights reserved.
//
import UIKit
class Product: NSObject {
var name: String
var product_description: String
var category: String
var... | 92e5a849ecf873b40abb803f689b55939fdb25c9 | [
"Swift"
] | 5 | Swift | delgiudices/aneke_ios | a72ae9dea021660a927e4dc81a2021e0c0e92f4d | 2735c674ed75cb3ee608c7ab09539ac60b6392e3 |
refs/heads/main | <file_sep># HelloARCloudAnchor
based on AR_depth_interpetertation
測試Cloud Anchor resolve功能 07/10
<file_sep>package com.google.ar.core.examples.java.helloar;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import android.app.Activity;
import android.content.Context;
import android.... | 604b7d07fcfd1355279332c8c2213a52ac6d3945 | [
"Markdown",
"Java"
] | 2 | Markdown | OhBlockByJames/HelloARCloudAnchor | be07d6c88449788ddbf256435c959031d1879c2f | f8f3358a9448a40707886fb9aafa006870143c53 |
refs/heads/master | <repo_name>rasendubi/passwords<file_sep>/src/main.rs
extern crate clap;
extern crate passwords;
use std::io;
use std::io::Write;
use clap::{Arg, App};
use passwords::{PasswordGenerator, ChainedGenerator, phrase_passwords, xkcd_passwords};
struct Config<'a> {
generator: ChainedGenerator<'a>,
}
impl<'a> Config<... | ac8e44410cfba4864c046a36b4553da86ffa1139 | [
"TOML",
"Rust"
] | 3 | Rust | rasendubi/passwords | c85100139d8301f72c6948b672e98247571c8a51 | 3019a76c7a36a17709c85eb357121cbc23f0aec3 |
refs/heads/master | <file_sep># lab_sorts
Sorting algorithms in python
<file_sep>def main():
input_list = [5, 2, 7, 4, 0, 9, 8, 6]
print("Input: ", input_list)
bubble_sort(input_list)
print("Bubble sort: ", input_list)
input_list = [5, 2, 7, 4, 0, 9, 8, 6]
mergeSort(input_list)
print("Merge sort: ", input_list... | 03764d885aeb4aff7f31344f46b66c539ca0f90c | [
"Markdown",
"Python"
] | 2 | Markdown | Danil2032/lab_sorts | 9b69623e4650976c114ad5035f85d6d8746203c7 | 2beffdfa0e3f3141699c5198cd5bad04402e936a |
refs/heads/master | <repo_name>mxnxsh/Interview-question<file_sep>/src/App.js
import React, { useState } from "react";
import PlayerScreen from "./screens/PlayerScreen";
function App() {
const [text, setText] = useState('')
return (
<div>
<div className="wrap">
<div className="search">
<input
t... | ddd81c9245148353f90636a175e299f63cbf04e0 | [
"JavaScript"
] | 3 | JavaScript | mxnxsh/Interview-question | 4271547ecda5f0dbbfbdc4f814650fc543531f3a | aa00348b68e5f9f0b3c761ce0ec46e7aafc1b9a3 |
refs/heads/master | <repo_name>chiflix/whatlanggo<file_sep>/detect.go
package whatlanggo
import (
"sort"
"unicode"
)
const maxDist = 300
//Detect language and script of the given text.
func Detect(text string) Info {
return DetectWithOptions(text, Options{})
}
//DetectLang detects only the language by a given text.
func DetectLang(... | 7c08a956348f4ebd3c5fb12c1e51dcfec1e1b8a8 | [
"Go"
] | 2 | Go | chiflix/whatlanggo | a1149b724e3599788b968903fa2465ee235a9793 | de73242b38087766625fa50e51249cfa98d6ee97 |
refs/heads/master | <file_sep>module.exports = function(app, models) {
// Passport
var passport = require("passport");
var auth = authorized;
var LocalStrategy = require('passport-local').Strategy;
var GoogleStrategy = require('passport-google-oauth').OAuth2Strategy;
var googleConfig = {
clientID : pr... | cecbad5d4a15368f6b48b6bea12b5b85a85820b2 | [
"JavaScript"
] | 21 | JavaScript | dackJavies/DAVIS-JACK-web-dev | ef163a8f2e1572e834cb40cde7f80d548fde8344 | d6f8c93abadaad0da0e303e93c6aeb51057e7cdc |
refs/heads/master | <file_sep>var missingDataGraphParams = {
title: "Instant Article Views",
animate_on_load: true,
missing_is_zero: true,
description: "Instant Articles for the requested page views",
chart_type: 'missing-data',
missing_text: 'Query for insights',
target: '#chart',
full_width: true,
height: 300,
x_labe... | adb2b347456a10662ff56b91b27ccb88a35bd76e | [
"JavaScript"
] | 1 | JavaScript | demoive/akeem.github.io | 6151c06988f035000b09241256091b1b48b7cd10 | 68b916b5d5c52f37c8ae3e08db23a53b2c11f32e |
refs/heads/main | <file_sep>package com.revature.util;
import com.revature.models.ReimbursementType;
import javax.persistence.AttributeConverter;
/**
* helper method so that the Type can be converted from an integer into an ENUM and vise versa
*/
public class TypeHelper implements AttributeConverter<ReimbursementType,Integer> {
... | 45f750d05447d3f459c0432d3c4823f5cf83dcd9 | [
"JavaScript",
"Java"
] | 5 | Java | ZGCalvin/ers_p1-5 | 828fdb8da11ff0250bb285a14a6b7ad784369913 | c336b5fd4456f5f5daceaa98f9288cdf673f10f3 |
refs/heads/master | <repo_name>mertala/Textfield-SwiftUI<file_sep>/Textfield-SwiftUI/ContentView.swift
//
// ContentView.swift
// Textfield-SwiftUI
//
// Created by <NAME> on 9.10.2019.
// Copyright © 2019 <NAME>. All rights reserved.
//
import SwiftUI
struct ContentView: View {
@State var email: String = ""
@State var s... | 8ce087c6db577e127ef39691547fdf5f012d938a | [
"Swift"
] | 1 | Swift | mertala/Textfield-SwiftUI | 49840cb75cac3e816cd2a678c5651f4d9f832e89 | e82572be185e25a4b3a8e309c0aa77221f0a4426 |
refs/heads/master | <file_sep>import scrapy
import re
class HockeysFuturePositionsSpider(scrapy.Spider):
name = 'hockeysfuturepositions'
allowed_domains = ['hfboards.hockeysfuture.com']
start_urls = ['http://hfboards.hockeysfuture.com/showpost.php?p=118067873&postcount=1']
def parse(self, response):
for cell in ... | f28e787fc9cd452ad4becd3e2b589cfb9484f803 | [
"Markdown",
"Python"
] | 3 | Python | thesquelched/fantasyhockey | 8635265ee99a7aa4728c2cfcba755931eb1f8966 | 46318f5b033102488863d3c42c7af94876b7cf4a |
refs/heads/master | <repo_name>g-prathyusha99/1643B35_OS-17<file_sep>/README.md
# 1643B35_OS-17
This approach improves the CPU Performance in real time OS. The given problem is priority based Round robin CPU Scheduling algorithm. It has the same property of round robin and fixed priority with an advantage of reducing starvation and integr... | 2d67e53ef8ca9a4c1ef2a56b6e8938bc7de5d5c9 | [
"Markdown",
"C++"
] | 2 | Markdown | g-prathyusha99/1643B35_OS-17 | 69b18ea8087018481437ccb770ec2f42ab1be4c1 | 84d7286f48a7f7a825aba97c657eb5c684e0f6b0 |
refs/heads/master | <file_sep>#pragma once
#include "Components/ActorComponent.h"
#include "VehicleSimData.generated.h"
USTRUCT()
struct FChassisSimData
{
GENERATED_USTRUCT_BODY()
FChassisSimData()
: LinearVelocity(FVector::ZeroVector)
, AngularVelocity(FVector::ZeroVector)
, Speed(0.f)
{
}
UPROPERTY(Transient)
FVector An... | d4af85eb292ce6b9d7215388bbc69c604c7d784c | [
"Text",
"C++"
] | 2 | C++ | Boriky/TimeAttackHLP | 7105a63321ccc0fc73ada5635bab70504df20149 | 6b25ae159f50962d759adfd677c6472b174ae306 |
refs/heads/master | <repo_name>NelsonJyostna/repo<file_sep>/linux-content/dieroll.sh
declare -A Dict
for (( i=1; i<=100; i++ ))
do
randomcheck=$(( $RANDOM%6+1 ))
case $randomcheck in
1 ) echo "$i:$randomcheck";;
2 ) echo "$i:$randomcheck";;
3 ) echo "$i:$randomcheck";;
4 ) echo "$i:$randomcheck";;
5 ) ec... | a3633b16335b0febf2009ba11cfba97d94b65ca7 | [
"Shell"
] | 1 | Shell | NelsonJyostna/repo | f32a89b375da137498b208f9f123ea41ca029959 | 50cb8c62f0b629341862e53e7c830074bf7566d6 |
refs/heads/master | <repo_name>demo-Ashif/Agro-Web-Portal<file_sep>/getCropBankInfo.php
<?php
header('Content-type: text/html; charset=utf-8');
include("connect.php");
$category_id = $_POST['categoryID'];
$crop_id = $_POST['cropID'];
$criteria = $_POST['criteria'];
if ($criteria == 1)
{
$criteriaDB = 'cultivation_pr... | 900317c7b77e22bb14f57d6120404deb162a4794 | [
"JavaScript",
"SQL",
"Markdown",
"PHP"
] | 26 | PHP | demo-Ashif/Agro-Web-Portal | 91ddd0e6da20315102ce11c7fdf569267240450e | dc19a974fa909e7881a3120fee988032f486110d |
refs/heads/main | <repo_name>armanDark/huzerangner-backend<file_sep>/AdminBroRouter.js
const AdminBro = require('admin-bro');
const AdminBroExpressjs = require('admin-bro-expressjs');
const AdminBroMongoose = require('@admin-bro/mongoose');
const AdminBroOptions = require('./AdminBroOptions');
const bcrypt = require('bcrypt');
const Us... | 26e203cc0e85a56022272d24af0ba8d45430e4c8 | [
"JavaScript"
] | 6 | JavaScript | armanDark/huzerangner-backend | 9d1dbab1c29710cc51b8a17e23269b5e865c0e4c | 2aecb45f5f44b3c2c21614ceb943ea21326873d3 |
refs/heads/master | <file_sep><?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class ApiController extends Controller
{
//
public function index(Request $request){
$url=$request->url;
$end=explode(".",$url);
return $end[1];
}
}
<file_sep>Question 2
Function used is in movi... | decd4bb0543d28a0c5e6964e578bfc3a67ebde19 | [
"Markdown",
"PHP"
] | 3 | PHP | rakoi/Challange | f02b44a0a3b95a8b1d5d8b88255c5e70ffdb4acf | cd68ea3c9b3c94d3956d737e7ee3a4f0619273af |
refs/heads/master | <repo_name>katerindlc/proyectofinal<file_sep>/controller/controllerc.php
<?php
/*
* 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.
*/
require_once '../model/ClienteModel.php';
sessi... | 272fecc515507b1520eac9d5e417672d3ae60c3b | [
"PHP"
] | 14 | PHP | katerindlc/proyectofinal | 865182ab8a23e385f0923e1c4458d51a47e07883 | dce63a2d5689df00999dba57d52f8942911ec582 |
refs/heads/master | <repo_name>JGuissart/Js-Games<file_sep>/Nouveau dossier/Pendu.js
/**
* Created by Julien on 27/05/2015.
*/
var mot = new Array();
mot[0] = "coucou";
mot[1] = "Yoloo";
mot[2] = "Bonjour";
var random = Math.floor(Math.random() * mot.length);
var motATrouver = mot[random];
var motTrouve = "";
for(i=0;i<motATrouver.... | 02ceff0e9bdd29782c0c35b9804881196b06f1be | [
"JavaScript",
"Markdown"
] | 8 | JavaScript | JGuissart/Js-Games | 44883f6892bb0642a1c65784c6dcbefef70c0d01 | 4bfc9be7d2132f84f42327664f9997d00a5241f5 |
refs/heads/master | <file_sep>jdbc.driver = com.mysql.jdbc.Driver
jdbc.url = jdbc\:mysql\://localhost\:3306/SchoolSource
jdbc.user = root
jdbc.password =<PASSWORD><file_sep># 院校资源库
本项目为学校S2SH实训项目,预计能将功能做得尽可能的做得完善
## 预期功能
- ~~院校管理~~
- ~~用户管理~~
- ~~院校类型管理~~
- ~~专业管理~~
## 预计技术难点
- ~~文件上传~~
- ~~分页查询~~
- ~~Spring框架~~
- ~~Struts2自带标签~~
<... | 84e59c23fd362ddeeb40b38db65e72e957514d6c | [
"Markdown",
"Java",
"INI"
] | 6 | INI | DefaultStudent/SchoolSource | 6d141d3aa7d4eef46ac150708525e99c769f6948 | ef80f0282d877f783e608010d1ffaa90a3182c6a |
refs/heads/master | <repo_name>christopherjereza/wizards<file_sep>/project_script.py
import random
def wizard(w):
constraints = []
wizdict = {}
for c in range(0, w):
wizdict[c] = random.randint(0, 1000000)
for key in range(0, w):
for key2 in range(key + 1, w, 2):
for key3 in range(key2 + 1, w,... | 0469b85f07943c0d4afa44cf31b23b1efb03d71b | [
"Python"
] | 2 | Python | christopherjereza/wizards | 59354f3d4d829d7e4c56a839be11dac677f50c99 | fe0ec5ada04e84f386db1d56a201b95c94e4a1db |
refs/heads/master | <file_sep>use crate::hinge::Hinge;
use crate::hinge::HingeState;
use crate::lock::Lock;
use crate::lock::LockState;
use crate::util::Result;
use rocket::config::Config;
use rocket::config::Environment;
use rocket::http::Status;
use rocket::State;
use rocket_contrib::json::Json;
use std::sync::Arc;
use std::sync::Mutex;... | a88d584a6907470122a2e803a5d196b2f5089ce4 | [
"Markdown",
"Rust",
"TOML"
] | 7 | Rust | stuvusIT/castle | 2de0ee11faecdc4e348857b6a2edd064081e1b8c | 195641e1d9235036eab05561883cb7186043a3f5 |
refs/heads/master | <file_sep>library(shiny)
library(dplyr)
data("iris")
options(shiny.maxRequestSize=30*1024^2)
shinyServer(function(input, output, session) {
df <- reactive({
req(input$uploaded_file)
read.csv(input$uploaded_file$datapath,
header = input$header,
sep = input$se... | d523f4c661c5088b5b44875e5fb9556fb131c45d | [
"Markdown",
"R"
] | 3 | R | nemo0702/shiny-app-data-viewer | 229d9a3d9fd535262fe5940c4cd9745667c2a010 | 2dad001948291e1c5b91f0dc7838289e98d6338a |
refs/heads/master | <repo_name>Arios9/Minesweeper<file_sep>/src/MinesweeperFramePackage/HeaderLabel.java
package MinesweeperFramePackage;
import javax.swing.*;
import java.awt.*;
import static MinesweeperFramePackage.MinesweeperFrame.*;
import static MinesweeperFramePackage.RestartButton.buttonWidth;
public class HeaderLabel extends JL... | 7caa852a2769c272afc33a85fcf0c750637bb830 | [
"Java"
] | 5 | Java | Arios9/Minesweeper | a73e369fd023d68863565098059d12a7d5515e20 | e113f4c14b167f784f65162d7189c4624df0d047 |
refs/heads/master | <repo_name>Allasstar/sitehub-location-images-app<file_sep>/src/App.js
import './App.css';
import { Container, Button, Label, TextInput, Divider, ArrayInput } from '@playcanvas/pcui/pcui-react.js';
import { BindingTwoWay, Observer } from '@playcanvas/pcui/pcui-binding.js';
import React, { useState } from 'react';
cons... | 3d8db7688558076e8ee2b59fd961808194d6701a | [
"JavaScript"
] | 1 | JavaScript | Allasstar/sitehub-location-images-app | 97c9dd84c270044abd2f2110c0d8ca2ea50eb851 | e23fe78affa85e3ee1916eefa6c3e3c0f76b9cee |
refs/heads/master | <repo_name>reddyalex/struktur-data<file_sep>/BFS/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BFS
{
class Program
{
static int[,] map = new int[9, 9];
static Queue<Node> open;
static Stack<Node> close;
static List<in... | 32a0c334f07f3e62490fdc5c71250ca666ce411a | [
"C#"
] | 3 | C# | reddyalex/struktur-data | b1dd6499d840829281cdcaf399a687ce4b40a52a | 8730b41a3168702824feef7cfa84b09f8b39d375 |
refs/heads/main | <repo_name>vdmklchv/guessNumberJonasAssignment<file_sep>/script.js
'use strict';
// state vars
let secretNumber;
let score;
let hiScore = 0;
// DOM elements
const body = document.querySelector('body');
const guessInput = document.querySelector('.guess');
const checkButton = document.querySelector('.check');
const ... | 1f36ae01199b3526ebb94bac35b627432b890fb5 | [
"JavaScript"
] | 1 | JavaScript | vdmklchv/guessNumberJonasAssignment | d08437541f5b8eeb30ab6fd45eefa60a798f4875 | 6703d28908b23c07054bee78d066c89240f8c1a4 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Runtime.InteropServices;
namespace OpenGlTemplateApp
{
public partial class O... | 5aa47550ce1bd813c9edc43f42054e1ad31326e8 | [
"C#",
"C++"
] | 2 | C# | Exsidia/DirectX-IIIIIIII | 0547f602c417d1cfb4a99e430af0bebe1e013b6e | a4c9e9dc78b00f3381e9c3154c882f61927c6751 |
refs/heads/master | <repo_name>sarunyou/SetupGulp<file_sep>/gulpfile.js
var browserSync = require('browser-sync').create();
const gulp = require('gulp');
const sass = require('gulp-sass');
const jade = require('gulp-jade');
const data = require('gulp-data');
var plumber = require('gulp-plumber');
var gutil = require('gulp-util');
const op... | 7f6babe72fcb0cddc247a85f91ff79d1945e6452 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | sarunyou/SetupGulp | fe8484c398cfdac6ed1b4cdf0bb7bcd372075a4a | 3bca32d8ee456821358947323e7b54a2ac79b409 |
refs/heads/master | <file_sep># SIMproject
implementation of the SIM project
<file_sep>#include "viewer.h"
#include <math.h>
#include <iostream>
#include <QTime>
using namespace std;
Viewer::Viewer(char *,const QGLFormat &format)
: QGLWidget(format),
_timer(new QTimer(this)),
_currentshader(0),
_light(glm::vec3(0,... | d265bdd975f36f2dfcb4d9ac7c9c261142e076e8 | [
"Markdown",
"C++"
] | 2 | Markdown | PierreBanwarth/SIMproject | 916c175bed9645d7cbda93d3b15aa80acdc16e72 | 7b0b568f846880b8414982468434710ff9befced |
refs/heads/master | <repo_name>MartinL123/07-07-2020<file_sep>/Ruby_07-07-2020/exo_14.rb
puts "Donne moi un nombre Narvalo"
print ">"
number = gets.chomp.to_i
number.times do |i|
puts "#{number - i }"
end
puts "0"<file_sep>/Ruby_07-07-2020/exo_20.rb
user_number = 0
puts "Salut, bienvenue dans ma super pyramide ! Combien d'étages ve... | 16600d6785e9622181871e35f9ed2d80848a6ec3 | [
"Ruby"
] | 9 | Ruby | MartinL123/07-07-2020 | 3f5ad643028be32f1598e24e279ff4a6411599f0 | 0fb7f6a4997679161424f8bdb9c03078018749cc |
refs/heads/master | <repo_name>cary1234/Game_Subscription<file_sep>/Game_Subscription/nbproject/project.properties
file.reference.Projects-Game_Subscription=.
files.encoding=UTF-8
site.root.folder=${file.reference.Projects-Game_Subscription}
<file_sep>/Game_Subscription/about-us.php
<?php require("navbar.php"); ?>
<!DOCTYPE html>
<html la... | 326f595a98703cc3698aa94de1d85edf7c314794 | [
"JavaScript",
"SQL",
"PHP",
"INI"
] | 22 | INI | cary1234/Game_Subscription | 2ff400d40dbca3b9c6b77bc70c6e62eae635cebd | c8a1e8a257a7fe89ecf0b117fb4affdd8dd91299 |
refs/heads/main | <repo_name>zsherman2510/test2<file_sep>/js/app.js
// var hamburger = document.getElementById("hamburger");
// var menuMobile = document.getElementById("menu_mobile");
// hamburger.addEventListener("click", function () {
// menuMobile.classList.contains("menu_show")
// ? menuMobile.classList.remove("menu_show")
... | 8d54be2a02403f38bea44bc7b80989e75ce473de | [
"JavaScript"
] | 1 | JavaScript | zsherman2510/test2 | c6be3daa6ae5ffa2b153de6dbdbd3a6547b3793f | 437123e3fed8b22f46410dbdfc280ef243f899a2 |
refs/heads/master | <repo_name>BlueBaseJS/plugin-apollo<file_sep>/README.md
<div align="center">
<img width=125 height=125 src="assets/common/logo.png">
<h1>
Apollo Graphql
</h1>
<p>🌍 A BlueBase Plugin that integrates Apollo GraphQL Client</p>
</div>
<hr />
## 🎊 Status
[ + '/spec_helper')
describe "StringSet" do
describe "#new" do
it "should accept a string and tokenize it" do
s = StringSet.new "tokenize me"
s.strings.should == %w[tokenize me]
end
i... | 243ed2479dad0ede414103d6256197080811dabb | [
"Ruby"
] | 2 | Ruby | fizx/stringset | 605e1a273d2907f4bd7ea931924dd65abfb8142b | efb8305684c6cf9cc62c70e87afc5961f68fb594 |
refs/heads/master | <file_sep># 豆辨电影
参考《小程序从0到1》做的demo<file_sep>// pages/douban/index.js
Page({
data: {
boards: [{ key: 'in_theaters' }, { key: 'coming_soon' }, { key: 'top250' }],
},
retrieveData() {
let app = getApp()
var promises = this.data.boards.map(function(board) {
return app.reque... | f8d575fb29924e08dab1aa471724e941b4f78293 | [
"Markdown",
"JavaScript"
] | 3 | Markdown | alcodespower/doubian | 0774d770efb642fb4f18d1581b40ee8616a473cb | 8120857e24c5ce3db875c9e016bfa74cbab37997 |
refs/heads/master | <repo_name>sidravi1/sidravi1.github.io<file_sep>/README.md
# Repository for sidravi1.github.io
- Go to [site](https://sidravi1.github.io/)
<file_sep>/_posts/2019-01-25-heirarchical-hidden-markov-model.md
---
layout: "post"
title: "Hierarchical Hidden Markov Model"
date: "2019-01-25 16:09"
comments: true
use_math: true... | eb50112ca642fe3c9f7b3b88682fee6131c0e080 | [
"Markdown",
"Ruby",
"HTML"
] | 39 | Markdown | sidravi1/sidravi1.github.io | bcafcd8fcede5d2362bd850bb8e0ff48a2a83447 | 4d3ea011eee18c1f8c0a9e6f307b6288d3701ace |
refs/heads/master | <repo_name>tenzorOne/CPP_HARD_GEEKBRAINS<file_sep>/DZ_CPPHARD_01/DZ_CPPHARD_01/DZ_CPPHARD_01.cpp
#include <iostream>
#include <algorithm>
#include <optional>
#include <string>
#include <fstream>
#include <vector>
#include <iomanip>
using namespace std;
// Задание 1: Структура Person
struct Person {
string surnam... | 6064c2cc3a770c4dc124075dbccfce8f22d12951 | [
"C++"
] | 2 | C++ | tenzorOne/CPP_HARD_GEEKBRAINS | 8310015c8c7c11e7af97d0e4ef06d0aac8599725 | 2afaf01f529b62d959f6ecee61d0f56a880b98eb |
refs/heads/master | <repo_name>pbinkley/ZotScan<file_sep>/README.md
ZotScan
==========
Google Apps Script to take emailed attachments and generate RIS file suitable for import into [Zotero](http://www.zotero.org/)
This is script is to be deployed as a webapp with [Google Apps Script](https://developers.google.com/apps-script/).
Use ca... | 3ecdbe1258fc7e43fd66c228bb42b00ae07bc0d6 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | pbinkley/ZotScan | 2a4b80c846199b608c4b3a3b0aa9983466dd56bf | bc00984db4abd42e2ed899c2550d0861681aae5b |
refs/heads/master | <file_sep>$(document).ready(function(){
$("#guitarScheduler").submit(function(event){
var userName = $("input#userName").val();
var apptDescrip = $("input#apptDescrip").val();
var date = $("input#date").val();
var time = $("input#time").val();
$(".userName").text(userName);
$(".apptDescrip").... | d22735c8f0f4e6b8dd1035040d8277eff42c0c23 | [
"JavaScript"
] | 1 | JavaScript | darkknightsds/appt-sched | 3d6dfc468d0a74f25bf1af2e3af1c60359b821dd | bc0d6c6cd92c1115ef0e52810d051d0e219289d9 |
refs/heads/master | <file_sep>import ReactDOM from 'react-dom';
// React package for constructing components (and all non-DOM related actions)
import React from 'react';
import MainView from './views/mainView.js';
import { Router, Route, Link } from 'react-router';
ReactDOM.render(<MainView />, document.getElementById('app'));<fi... | 89bd4fa9a5ec3583fbf4cb2d9b1f6b3e3e29f343 | [
"JavaScript"
] | 2 | JavaScript | npmcdn-to-unpkg-bot/speech | ad4f90987561bd6de380f97432aecac51e7a2525 | 6c4da68bac88bdf2c9f66f78148bbbd5f8227de2 |
refs/heads/master | <file_sep>import { createRouter, createWebHistory } from 'vue-router';
import Home from '@/views/Home.vue';
import NotFound from '@/views/NotFound.vue';
const routes = [
{
path: '/',
name: 'Home',
component: Home,
},
{
path: '/docs',
name: 'Docs',
component: ... | 123945c9b06e8c5d38335d30fbfa867928d32dd2 | [
"JavaScript",
"TOML"
] | 3 | JavaScript | Daniel-Knights/vuelity-docs | c3c9c0466da3df26186b040084014a5aade4c8cf | 6094ce28193520eee4278608f187bc04d0cbeb06 |
refs/heads/master | <repo_name>aobeuang/line-bot-exam-php<file_sep>/fc/bot.php
<?php // callback.php
function func1($param1, $param2)
{
echo $param1 . ', ' . $param2;
}
?><file_sep>/webhooks.php
<?php // callback.php
require "vendor/autoload.php";
require_once('vendor/linecorp/line-bot-sdk/line-bot-sdk-tiny/LINEBotTiny.ph... | ca17b3fc5fbcdcd7fa34cf39be27f2c66f17021e | [
"PHP"
] | 3 | PHP | aobeuang/line-bot-exam-php | eac966f33ca4523bb722a74c261e142533e53004 | 734f1accbde1f422904b21c618b1073373d36450 |
refs/heads/master | <file_sep>package com.example.stackoverflowclient.login;
import android.content.Context;
import android.net.Uri;
import android.webkit.WebResourceRequest;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import com.example.stackoverflowclient.utils.PreferenceHelper;
import com.example.stackoverflow... | 3d784043d5637f61e659cffc6c9a1c2dd266d01d | [
"Java",
"Kotlin"
] | 8 | Java | AkshayaSivakumar/StackOverflowClient | d031c7ea06772a4a807092ca9306c4608be4d0aa | 6aa7a039c8566c2f42a76166bd937f83dddc1d21 |
refs/heads/master | <repo_name>zhj0811/gm-crypto<file_sep>/go.mod
module github.com/zhj0811/gm-crypto
go 1.14
require (
github.com/golang/protobuf v1.4.2
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3
google.golang.org/grpc v1.15.0
)
<file_sep>/tls/credentials/credentials_t... | 846989dbe2276069f754c0179d9f1b9d2751b2b2 | [
"Go",
"Go Module"
] | 3 | Go Module | zhj0811/gm-crypto | 4415ab9704b001c8cbed5ca5315440da1d5d2fb7 | 4ce953449bd628faddfa20ffd8aaa29583ad5871 |
refs/heads/main | <repo_name>Asmodeus96/MyDiscographyList<file_sep>/MyDiscographyList/Model/ArtistStatusModel.cs
using System.ComponentModel;
using System.Windows.Media;
namespace MyDiscographyList.Model
{
public class ArtistStatusModel : INotifyPropertyChanged
{
private int _statusId;
private string _statusLab... | 5a14d3357d6c8013600fa14d98d95cfe3244dcd2 | [
"Markdown",
"C#"
] | 16 | C# | Asmodeus96/MyDiscographyList | 467ea0cc1c21bfe0f79f3a6c9b25fe349054f5e6 | d498c5e596b284e6bec8d42e2825e20a430959b9 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MovieShop.Web.Controllers
{
public class CastController
{
}
}
<file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using MovieShop.Web... | 74c10e5c0a3eff9e131835ead2d0eb02bd142f77 | [
"C#"
] | 14 | C# | ZALIJIE/MovieShop | 6744da9512fa55be5b6b5b3eaea96f50735e2012 | ef8bfc3a6015f04cf4a9662bc42b180eb05bd0a7 |
refs/heads/master | <file_sep>function findJava(){
$.ajax({
url : "boke_java.do",
type : "post",
data: JSON.stringify(1),
contentType:"application/json;charset=utf-8",
datatype : "json",
success : function(result) {
var html = "<table class='table'><tr><td>标题</td><td>内容</td><td>备注</td></tr>";
for(va... | 3be9c93c15a88842f92db505bc9cb7bdb9e40de5 | [
"JavaScript",
"Java"
] | 5 | JavaScript | xxs-Jay/bk | 4ead47e7362911c943701574a01160a8f4a2150a | fb19d204f00c24c8e906b0e0599715d7718eee18 |
refs/heads/master | <repo_name>rayvaldez/the-bachelor-todo-online-web-prework<file_sep>/lib/bachelor.rb
require 'pry'
def get_first_name_of_season_winner(data, season)
first_name = nil
data.each do |season_no, detail_hash|
if season_no == season
detail_hash.each do |att|
if att["status"] == "Winner"
first_... | 27ca8589f3c00a5d1024d237195f0037bd454e6e | [
"Ruby"
] | 1 | Ruby | rayvaldez/the-bachelor-todo-online-web-prework | e8308474487ced020ca180c6267dbe37a7506011 | 162238368e87e849d785c363d5e833f20105a772 |
refs/heads/master | <repo_name>ioanaemm/wemakewebsites-task<file_sep>/index.js
var crtSlide = 0;
var slideCount = $('.slide').length;
var MOBILE_BREAKPOINT = 768;
var isMobile = false;
var isMobileNavVisible = false;
var isMobileCartVisible = false;
$(document).ready(function() {
initSlider();
initMobileCart();
enableMobileNav();
... | d04156b10003135403379fc76d81d5ba9bf82bd0 | [
"JavaScript"
] | 1 | JavaScript | ioanaemm/wemakewebsites-task | a467d71086d9a5a23d9f5fd381d828a4770166e3 | 7a2b4b05b687bee92fb45949d195b9f300549fd8 |
refs/heads/master | <repo_name>JosefButzke/react-native-instagram-zoomable<file_sep>/src/helpers/getDistance.js
// @flow
import type {Touch} from '../types/Touch-type';
export function pow2abs(a: number, b: number) {
return Math.pow(Math.abs(a - b), 2);
}
function getDistance(touches: Array<Touch>) {
const [a, b] = touches;
... | fa0ce95c4acfdbacaf51d418186527f467cbf442 | [
"JavaScript",
"Markdown"
] | 6 | JavaScript | JosefButzke/react-native-instagram-zoomable | 40cea90935aef8ec5875eaf75e362ee6f162fd7e | b875432e759733a17f756d86d463ddbefac6cf2f |
refs/heads/master | <file_sep>## Happah-Applets
This set of Web-applications provides an interactive way to test geometric algorithms
by visualizing them via [three.js](https://threejs.org/).
## Building Dependencies
* jre as dependency of Google Closure Compiler
* python2
* python-yaml
* node 7.x
* webpack 2.1.0
* node mod... | d6c77f17a71384f3009ba2528f94f7af9de1c57b | [
"Markdown",
"Python",
"JavaScript",
"Shell"
] | 27 | Markdown | happah-graphics/happah-applets | da6c98635e997c03ea1b6a2413a93ca726c29bd7 | 04b68ebca8452a5dfa66f9811bbe021509aca688 |
refs/heads/master | <file_sep># creating list of files with PR data for 2003, 2008, 2010, 2013, 2015, 2017/2018
# computes use of ITN by anyone in the HH
var_label(NGAfiles[[6]]$hv103)
PR.list <- list(NGAfiles[[6]], NGAfiles[[9]], NGAfiles[[12]], NGAfiles[[15]], NGAfiles[[18]], NGAfiles[[21]])
PR.list <- lapply(PR.list, subset, hv103 ... | 8417fbe562f530abf21a7d96bfef53eaba08784d | [
"R"
] | 7 | R | MAmbrose-IDM/hbhi-dhs | b75cf10f89f5a204fd5b83e1d4617544fcd1fa3d | 977e54bccf6d55821d0cb67dd89893e577fefd42 |
refs/heads/master | <repo_name>tcrurav/AccederAWebServiceDesdeReact<file_sep>/ProyectoReact/Alumnado/src/Componentes/ListaDeCiclos/ListaDeCiclos.js
import React, { Component } from 'react';
import MostrarCiclos from '../MostrarCiclos/MostrarCiclos';
class ListaDeCiclos extends Component {
constructor(props){
super(props);
this.... | 0e9165ea677b7539e101282f1e0d6bfbe2f7b955 | [
"JavaScript",
"Java",
"INI"
] | 5 | JavaScript | tcrurav/AccederAWebServiceDesdeReact | 7512420c754a839d92e9036ef6d4537aef067eb2 | a3023a29c0c249888c902bdf3394ae15ce7f71c1 |
refs/heads/main | <file_sep>name = input('請輸入名字: ')
print('hi,', name)
height = input('請問你多高: ')
weight = input('請問你多重: ')
print('你的身高', height,' 體重', weight) | 801fa25319f32edc5da9177ff5465e66c308cf97 | [
"Python"
] | 1 | Python | WayneWNS/hi | 27b0d67fb9850faec19a87a0b31ee82f73778cec | 29c278b63a3ba666b3a5f2de0f4e26f9c627e94c |
refs/heads/master | <file_sep>
package com.example.login.firebase_chat_app.UI;
import android.animation.ValueAnimator;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.media.Image;
import android.support.annotation.DrawableRes;
import android.support.v4.graphics.d... | 52c138bdded1a73344e5e3efe2de99b36c1e07c3 | [
"Java"
] | 3 | Java | sarvinder/Firebase_chat_app | d6d9c3993500545dc82bec45ebd36dd147318400 | 25abf6e77993d90750c80eff66e9085134a4e5f2 |
refs/heads/master | <repo_name>Livenga/p2paint<file_sep>/src/graphic/g_c2csv.c
#include <stdio.h>
#include "../../include/graphic.h"
int save_csv(const char *path,
img _img) {
int i, j;
FILE *csv_fp;
if((csv_fp = fopen(path, "w")) == NULL) {
perror(path);
return EOF;
}
for(i = 0; i < _img.height; i++) {
for(j ... | e80fa04f53e4a7b320f42d4258b71a0f2324657e | [
"C"
] | 28 | C | Livenga/p2paint | cf2aa0b4e0f847e093be26a66eb709a0c4af9c53 | 42398cafcdb45094932d1cff1f6fa54070172286 |
refs/heads/master | <repo_name>alexander-schranz/dotfiles<file_sep>/README.md
# Alex's dotfiles
These are my personal dotfiles for my development machine, which I keep here maily as a backup.
<file_sep>/php/php.ini
error_reporting = E_ALL
memory_limit = -1
upload_max_filesize = 510M
post_max_size = 512M
realpath_cache_size=4096K
realpa... | 1a381a22ab140b5b49a406c7ed75a25ac9a2f0b7 | [
"Markdown",
"Shell",
"INI"
] | 4 | Markdown | alexander-schranz/dotfiles | 41493950ea581a3a3e1c4110f9d022805c3e3404 | 735e6a405a5bc6c5a07037cc94dd4a14e41fffd3 |
refs/heads/master | <file_sep>#include<stdio.h>
#include<string.h>
char* encryption(char message[],int n)
{
//printf("FUNCTION IS WORKING\n");
char result[1000];
int i,length;
length = strlen(message);
for(i=0; i<length; i++)
{
if(message[i]>=32 && message[i]<=96 && message[i]>=123 && message[i]<=127){
result[i] = (message[... | abeea358e21c1bc07aa6f1e2e612dc61baab8209 | [
"C"
] | 1 | C | University-Of-Rajshahi/Cryptographi-Lab-2014-15 | 45f62f5b6af748799ddebafc9c016ae97617e04d | c15f60d96a084340d2a036714e3cfd6d22005794 |
refs/heads/master | <repo_name>kylecrawshaw/ImagrAdmin<file_sep>/ImagrAdmin/WorkflowSupport/WorkflowComponents/BaseComponent.swift
//
// BaseComponent.swift
// ImagrManager
//
// Created by <NAME> on 7/12/16.
// Copyright © 2016 <NAME>. All rights reserved.
//
import Foundation
import Cocoa
public class BaseComponent {
var ... | 755a3d3d4cfba338834db257038246b2f34651d2 | [
"Swift",
"Markdown"
] | 25 | Swift | kylecrawshaw/ImagrAdmin | 540f64bd7d17d000e274871366abd06c9c06e0b4 | 3d5f2fc140edb81dd28b2425efa54c8d7b5a0664 |
refs/heads/master | <repo_name>cvanlith/flamingo<file_sep>/viewer/src/main/webapp/viewer-html/common/layout.js
/*
* Copyright (C) 2012 B3Partners B.V.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either ... | 185eedffc0a4fd75b3492747ed741a96175c8028 | [
"JavaScript",
"Ant Build System"
] | 2 | JavaScript | cvanlith/flamingo | af48d19803a7ca9a647749a8a88ef21eda3e2719 | 78439763460c000d57488f9b4aaadc5a2fef6354 |
refs/heads/master | <file_sep>import convertDate from '@/DynamicProperty/dateFormat.js'
const convertDateDetailSection = (schema,model, isDBConvert) =>{
if(schema.length > 0){
schema.forEach(element => {
if(element.type == "date"){
model.forEach(e => {
e[element.model] = convertDa... | 718ddf37367c58968f85d81d6e94407bfb7d2f24 | [
"JavaScript"
] | 8 | JavaScript | anilkarwa/Vfactic-pwa | 8a03e1024bfa47402704d44022cd46d0b40e0529 | 251aee037aa7727d020336818a42429274df579e |
refs/heads/master | <repo_name>mkmanges/my-gatsby-website<file_sep>/src/components/Overpriced/index.jsx
import React from 'react'
import style from './index.module.scss'
import ToggleDisplay from 'react-toggle-display'
class Overpriced extends React.Component {
constructor() {
super()
this.state = { show: false }
}
handle... | 08506e608ed5fe8e3ee0c1d1af4728ef4962e326 | [
"JavaScript",
"Markdown"
] | 28 | JavaScript | mkmanges/my-gatsby-website | 82a4e0d47d91af2a8aa73931726a21177414a973 | ebff734dc8e8d0f38806361507ee7dcd843fd7e2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.