branch_name stringclasses 149
values | text stringlengths 23 89.3M | directory_id stringlengths 40 40 | languages listlengths 1 19 | num_files int64 1 11.8k | repo_language stringclasses 38
values | repo_name stringlengths 6 114 | revision_id stringlengths 40 40 | snapshot_id stringlengths 40 40 |
|---|---|---|---|---|---|---|---|---|
refs/heads/master | <repo_name>swvasquez/insight_coding_challenge_mod<file_sep>/README.md
<NAME>
<EMAIL>
### Strategy
My strategy here is straightforward.
1) I parse products.csv to generate a di... | f08ee3d00199f1858f328be01ef37839c5a5cd7a | [
"Markdown",
"Python",
"Shell"
] | 10 | Markdown | swvasquez/insight_coding_challenge_mod | 450f7b3b1c25b9b8d2dba9fb57ffc4a157610cfb | c4bab127ef4c721cb46ffe5b5211653bbfa359d0 |
refs/heads/master | <file_sep># Python Qt4 bindings for GUI objects
from PyQt4 import QtGui
# import the Qt4Agg FigureCanvas object, that binds Figure to
# Qt4Agg backend. It also inherits from QWidget
from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas
#import pylab as plt
from mpl_toolkits.mplot3d impo... | b2ffa3a039c023dca3c0996375edebfb022fe970 | [
"Python"
] | 6 | Python | ndkv/bepyq | 08fe6335d9ea345b302a75b87c016b419d7432ba | 48e34bccca245d0459208571986001fb74ad6f37 |
refs/heads/main | <repo_name>Caronell/blingbling<file_sep>/js/HomePageJS.js
var i = 0;
var pause = false;
function Update()
{
window.setInterval("CommandUpdate();", 4000);
}
function CommandUpdate()
{
if(!pause)
{
if(i == 4)
{
$('#pic').animate(
{
marginLeft: '+=400%'
}, 300);
i = 0;
}
el... | a7a90a9d3969cdc5121d89ffba70e5fc6a09c539 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | Caronell/blingbling | 143b200c2b808b02ff9af4a9c1dbf71289878cc3 | ecae54c740ad084284a2cb25ff61ffef04d287a9 |
refs/heads/main | <repo_name>fermaxvga/socket-server<file_sep>/README.md
# Socket-Server
Reconstruír Módulos de Node
```
npm install
```
Generar el DIST
```
tsc -w
```
Levantar el servidor
```
nodmeon/node dist/
```
<file_sep>/global/enviroment.ts
export const SERVER_PORT:number=Number(process.env.PORT) || 5000; | 19c09a5fc0d15b88ae9ccfa3280094c6e821f6eb | [
"Markdown",
"TypeScript"
] | 2 | Markdown | fermaxvga/socket-server | a0f044b9985591a731c38235fd9b8a21580fb7c5 | c75159b1f23a76300823b20edf6a343700ffdcd7 |
refs/heads/master | <repo_name>maribel1995/resistencia-do-condado-front<file_sep>/src/Admin.js
import React, { useState, useEffect } from "react";
import GameService from './api/game';
const Admin = () => {
const gameService = GameService();
const [config, setConfig] = useState({});
const [status, setStatus] = useState("");
const... | c45286e8a078d917a1bfa8919f37371f047760ba | [
"JavaScript"
] | 3 | JavaScript | maribel1995/resistencia-do-condado-front | 42cd816cdbb27f5c6d2978e0d3427ff934465ab6 | 166ca795a4701429b072d3237b06db2bff5c4fce |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
using ShoppingNotes_App.Models;
namespace ShoppingNotes_App
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class Pro... | 85bfc3fdc9fd57fe0a0412c3a545466a7ba066a1 | [
"C#"
] | 2 | C# | dianaonit/ShoppingNotes_App | 8f5d7172403137b51813cb43dc8ed45bcf34b71e | 315ecee93ab95c68d327f28738f811cd0a0309c3 |
refs/heads/master | <repo_name>leisurelicht/360FixTheWorld<file_sep>/README.md
# 360FixTheWorld
nohup python 360fix.py mailpassword &
可以监看360补天平台上被提交的最新漏洞中是否有自己感兴趣的,可以通过关键字筛选并给指定邮箱发邮件.
<file_sep>/360fix.py
#! usr/bin/env python
# -*- coding=utf-8 -*-
import requests
import re
import os
import sys
import time
import hashlib
from bs4 imp... | 8713eb38c1ac233bddd4b5fd35cef5b705309e88 | [
"Markdown",
"Python"
] | 2 | Markdown | leisurelicht/360FixTheWorld | 830b5b1e5d2ac58bf9cfc0a3d1fbbcc1c48494e0 | 07b5b233fc78ed905faf7488aa442b5dfb8214db |
refs/heads/master | <repo_name>yehweiyang/Angularjs-Module1<file_sep>/main.js
var mainApp = angular.module("LunchCheck", []);
mainApp.controller('LunchCheckController', function($scope) {
$scope.checkIf =function(abc){
$scope.result='';
if(angular.isUndefined(abc)||abc===''){
$scope.result = 'Please enter data first';
... | 48afb6f1a7ddb4b6e21080dd1b0da6e703a241a1 | [
"JavaScript"
] | 1 | JavaScript | yehweiyang/Angularjs-Module1 | 45553d5d45510165df8b01542a96a9edb5f73e64 | ce54247fee3d39ce107374cca28f6e47a07099e2 |
refs/heads/master | <repo_name>beta-uy/drone-git-crypt<file_sep>/README.md
# Usage
```yaml
kind: pipeline
name: deploy
steps:
- name: unlock-secrets
image: betalabs/drone-git-crypt
pull: always
environment:
GIT_CRYPT_KEY:
from_secret: git-crypt-key
```
<file_sep>/Dockerfile
FROM debian:stable-slim
RUN apt-g... | fa2a8ca8b4b5a16fa41f2776e8b9015c95074768 | [
"Markdown",
"Dockerfile",
"Shell"
] | 3 | Markdown | beta-uy/drone-git-crypt | 54665fcee3e202f7540977ea022d68e18e54a072 | 4521391ecc371ecc6f62e0a5813a771fd2dc5953 |
refs/heads/master | <repo_name>mowbraym/joplin-webview<file_sep>/joplin-webview.py
import web
import mistune
from datetime import datetime
import base64
import re
import hashlib
import sqlite3
render = web.template.render('templates/',globals={'datetime':datetime, 'len':len},base='base')
urls = (
'/', 'index',
'/login','login',
... | 00e4a12e562eb0be1be31f3711a7074182e134d7 | [
"SQL",
"HTML",
"Markdown",
"Python",
"Text"
] | 7 | Python | mowbraym/joplin-webview | dcdc7d95a21f65250b4d714668e35c13e689c8bb | 55ee8dc705c1b8b009054280a1ed0b4facbeab20 |
refs/heads/master | <repo_name>matze/configs<file_sep>/.config/nvim/lua/plugins/zk.lua
return {
{
"mickael-menu/zk-nvim",
keys = {
{ "<C-n>", "<cmd>:ZkNotes<CR>", remap = false },
{ "<C-t>", "<cmd>:ZkTags<CR>", remap = false },
{ "<Leader>zc", "<cmd>:ZkNew<CR>", remap = false },
{ "<Leader>zn", ":'<,'>ZkN... | cc147f190949d5fa6696152102d5e6bb35e054cf | [
"Lua",
"TOML",
"Makefile",
"Python",
"Shell"
] | 31 | Lua | matze/configs | 3ea9c58842de59bce31dc2125942e3b3458e74c3 | bdbf9f0805ecf6916c2341b395ca7a1f0d1aae16 |
refs/heads/master | <file_sep>class Person{
private String name="张三";
private int age=18;
public Person(){
this.name="haha";
this.age=23;
}
public void setName(String name){
this.name=name;
}
public String getName(){
return name;
}
public void setAge(int age){
... | c8c7d2d26c5d7487df319513a47927d3ecbc861c | [
"Java"
] | 21 | Java | maymaymay722/JavaExercise | 2cc6974a6dbdbb0a968f26d228900c4accf765fb | cb586adc0316c0bd893c9d1aaa72f5cd759f1027 |
refs/heads/master | <file_sep>{% extends "layout-without-sign-out.html" %}
{% block pageTitle %}
MFA
{% endblock %}
{% block content %}
<!--MFA QR-Code-->
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<h1 class="govuk-heading-l">
Sign in to your account
</h1>
<div class="govuk-warning-text... | 377ec6ccf7505653ff43e0c8e4c44a052af7318c | [
"Markdown",
"JavaScript",
"HTML"
] | 5 | HTML | nationalarchives/tdr-design-documentation | 1c1170ac7e5622a2e02fe2fbf979eff753088c02 | 50e54d0e4be59a39fd6a0045006b152f8353af15 |
refs/heads/master | <file_sep>package seedu.saveit.logic.commands;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotEquals;
import static org.junit.Assert.assertTrue;
import static seedu.saveit.logic.commands.CommandTestUtil.assertCommandFailure;
import static seedu.saveit.logic.commands.CommandTestUtil... | 524ddc772c0796e3bc59dc9dbfc11167822f1520 | [
"Java",
"AsciiDoc"
] | 60 | Java | jasonvank/main | 34632f1eb02357c97dcc22c4f74eecd6f6b32941 | 20685e7319503736cac8f1da0bc44c16efce03ca |
refs/heads/master | <file_sep># JS Terminal
Easily build an interactive terminal into your website with this jQuery plugin. By leveraging existing DOM elements, this plugin will transform them into a fun and fully customizable command line. Utilizing Javascript and jQuery this script provides an input/output system for users to interact ... | d2cc3fec01d6324c4732d47684c20636397f0336 | [
"Markdown",
"JavaScript"
] | 3 | Markdown | peterlopez/js-terminal | 40175125edc733378bb0e269ed1d39bb38cfc81a | 29c1e9385c11ca72ec2a1f924ff0b49954839caa |
refs/heads/main | <repo_name>nishantsanu/backend_ninjas_problem_solver<file_sep>/config/passport-local-strategy.js
const passport = require('passport');
//imported passport-local module and especially Strategy property..
const LocalStrategy = require('passport-local').Strategy;
//imported user
const Teacher = require('../models/teacher'... | db251f6cb3b857a19ce5a3020b810fbe4195487c | [
"JavaScript"
] | 9 | JavaScript | nishantsanu/backend_ninjas_problem_solver | 8b7eae9728ae4ccbb12454251cf0680fc4f1fb62 | 547b6900dffc1689c7813cc0f742984a0e421a4c |
refs/heads/main | <repo_name>rventurino/narcissisticNumbers<file_sep>/narcissisticNumbers.js
/*
A Narcissistic Number is a positive number which is the sum of its own digits,
each raised to the power of the number of digits in a given base. In this Kata,
we will restrict ourselves to decimal (base 10).
For example, take 153 (3 digits... | 2eb8f4ec586932a48cb254b8a054b8764ff1c867 | [
"JavaScript"
] | 1 | JavaScript | rventurino/narcissisticNumbers | 5ddd88e3c477eda8039c2da88e751682db0fe6b0 | aae6918ada3ec5c40d83251d2d99dc53ca199104 |
refs/heads/master | <repo_name>lucklyleaf/webserver<file_sep>/完成网页的增删改差/static/js/main.js
function add(toAdd,a) {
const c = "add/" + a + ".html";
$.get(c, function (data, status) {
alert("数据: " + data + "\n状态: " + status);
});
// toAdd.values= "已关注";
// alert(toAdd.innerHTML);
// $(toAdd).attr({"value":"已... | 4caae6829b3dd3f4d86859d06aebfa42f9a814f3 | [
"JavaScript",
"Python",
"Text"
] | 3 | JavaScript | lucklyleaf/webserver | fdb5aa73e68772674ced6794be5ec0705514a420 | 6753cceb8d92c0b4c2ce884e62d0f8559b5ad4db |
refs/heads/master | <file_sep><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>gidravlico.ru</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="../../style.css" rel="stylesheet" type="... | f9b417f6121261eaf6e5563028170cc4711f62e9 | [
"Markdown",
"PHP"
] | 5 | PHP | feola/gidravlico.ru | 4f8eed472dd8126206e8dc22d4e92cc72387f665 | b9799937c1300d7229624f2a652a45811fa1dedb |
refs/heads/master | <file_sep># python
just for my learning purposes, feel free to see
<file_sep>def foo(p):
return p
print (foo(0.3))<file_sep>lowercase = 'abcdefghijklmnopqrstuvwxyz'
digits = '0123456789'
answer = [ii+i+j+jj for j in digits for jj in digits for ii in lowercase for i in lowercase]
print(answer)<file_sep>def f(p):
re... | 06e022c34cb821e5c1ece355bc4c9d6812dd6ad3 | [
"Markdown",
"Python"
] | 6 | Markdown | santosomichael/python | 2e937bca9d50fbd36238f9e9c4b086b38981064b | b4af08cef28095945d156f0f99f533d97ea54c95 |
refs/heads/master | <repo_name>SindhuraParuchuri/FlightManagementSystem<file_sep>/FlightManagementSystem(Akshitha)/src/com/cg/fms/dao/CustomerQueryConstants.java
package com.cg.fms.dao;
public interface CustomerQueryConstants {
String USER_EXISTS = "select * from user where username = ?";
String REGISTER_USER = "insert into user(usern... | 4b3efaa26a8d85f58f2cfcf66145418f5315634c | [
"Java"
] | 7 | Java | SindhuraParuchuri/FlightManagementSystem | 28014d7ee7bc5b0a1d3fb23cf4d0882ea47e9678 | 4e7289e68cd02d4135f5c18055c1c2dcf3ff7343 |
refs/heads/master | <repo_name>pkleinlein/Online-Petition<file_sep>/db.js
const spicedPg = require("spiced-pg");
const db = spicedPg("postgres:paul-:postgres@localhost:5432/signatures");
const bcrypt = require("bcryptjs");
exports.signSignature = function (user_id, first, sur, sig){
return db.query('INSERT INTO signatures (user_id,... | 25d9c1ba3b7cb054da245c96c54d2aa1b3559c22 | [
"JavaScript",
"SQL",
"Markdown"
] | 5 | JavaScript | pkleinlein/Online-Petition | 3bbe501850391def79072f373aa99bdc8fda7491 | 13a871ac64a403b558b720246dd0f29e3854eb6c |
refs/heads/master | <file_sep>class Owner
def initialize(name, dog)
@name = name
@dog = dog
end
def name
@name
end
def dog
@dog
end
def prepare_items
dog.leash = true
dog.plastic_bag = true
end
def walk
prepare_items
dog.walking = true
end
def walking?
dog.walking
end
def... | ae2019a0a92cc8a19aa80470471a8a001c64dfe4 | [
"Ruby"
] | 1 | Ruby | becckitt/ruby-refactoring-web-0615-public | 23dc026d2a5bdf831f520913c244c77dd731c3bb | 36ae8845cd5bd530385b05bc59b6fda74ada4e95 |
refs/heads/master | <repo_name>shelbylee/vcode<file_sep>/README.md
# !Developing!
# VCode
A mixed online coding platform.
<file_sep>/schema/schema.sql
CREATE TABLE IF NOT EXISTS user (
id BIGINT PRIMARY KEY AUTO_INCREMENT,
email VARCHAR(255) NOT NULL UNIQUE,
username VARCHAR(255) NOT NULL UNIQUE,
password VARCHAR(255) NOT... | 0de40510eb783589a943a2477383a836bdda9451 | [
"SQL",
"Markdown",
"Maven POM",
"Makefile",
"INI",
"Java",
"Dockerfile"
] | 14 | Markdown | shelbylee/vcode | d6da6b6ec201f77917f93dd403b0553938bebd3f | d876fb7c55e9b2758e9fca4713ed320fbc95740b |
refs/heads/master | <file_sep>//
// MemeTableViewController.swift
// MemeMe 2.0
//
// Created by <NAME> on 4/6/16.
// Copyright © 2016 <NAME>. All rights reserved.
//
import UIKit
class MemeTableViewController : UITableViewController {
var memes: [Meme]!
override func viewDidLoad() {
super.viewDidLoad()
... | a3941c7b66487270a190e3d226dd65d8c2b4ecc1 | [
"Swift"
] | 5 | Swift | leonperez1870/MemeMe-2.0 | dc69a3cad842deac6e26c550236e89be88d0a374 | 9b0f6d16efbf35bd3628b75aba3e4a1371184472 |
refs/heads/main | <repo_name>Veronica060403/struct<file_sep>/struct.c
#include <stdio.h>
#include <stdlib.h>
typedef struct{
char name[30];
char dname[30];
int no;
int salary;
} Employee;
int main()
{
int i, n=20;
Employee employees[n];
printf("Enter %d Employee Details \n \n",n);
for(i=0; i<n; i++)
... | 49d1eec78dacb061d4a672fe36f8b065f2727275 | [
"C"
] | 1 | C | Veronica060403/struct | 09c604d2512740eaf955b6efc3384b90908beb71 | 1c17c6534aaa88a4bba9b63c95fc1e884d03e558 |
refs/heads/master | <file_sep>def fib(n):
if n == 0:
return 0
elif n == 1:
return 1
else:
return fib(n-1) + fib(n-2)
def fib_fast(n):
if n == 0:
return 0
elif n == 1:
return 1
else:
a,b = 0,1
for i in range(n):
a,b = b, a+b
return a
... | c3e88a5dc733a1ee50263327aee1a00814512557 | [
"Markdown",
"Python",
"INI"
] | 26 | Python | jeason15/CSC221-FA18 | 82cd6090bbaf8b7b63a66f9f8c984fb273c2e352 | 1961ba2da04f1e38ee1f10da7aecea02cd1aaf67 |
refs/heads/master | <repo_name>gurprt/GurpreetS<file_sep>/discountCalculator.js
var $ =function(id){
return document.getElementById(id);
};
function discountCalculator(price, discount){
var netprice = price;
{
netprice = price - (price * discount/100);
}
netprice = netprice.toFixed(2);
return netprice;
}
function ... | 63717f8a4001a608b039897957e5013461f5e4ba | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | gurprt/GurpreetS | 3cef11c1af7ddadd1de6d13542ee4ffd6a611497 | 9a74bb8e3e0b1f0658887b5de02a3cb01ee7260d |
refs/heads/master | <file_sep>mkfifo fifo.cu8
rtl_sdr -p 76 -g 20 -f 434248000 -s 1300000 fifo.cu8 &
./rtlomni -i fifo.cu8 -d -c
<file_sep>/* Created by <NAME> F5OEO (2017). Code is GPL
rtlomni is a software to sniff RF packets using a RTLSDR dongle in order to analysis Omnipod protocol.
Credits :
This work is mainly based on https://g... | 8f900908700993fa01bef207ab0b2146304e7473 | [
"C",
"Shell"
] | 3 | Shell | ps2/rtlomni | d282fe978c0d0bfcd649b3629949d1e33d713018 | 90bb2003db58f4cf7f9321d317792e90e1bc16e3 |
refs/heads/master | <repo_name>sg20187/busapp<file_sep>/app/models/bookings.js
var mongoose = require('mongoose');
module.exports = mongoose.model('Bookings',
new mongoose.Schema({busId : String, name : String, mobile : String, seats : String}),
'bookings');
<file_sep>/public/index.html
<!doctype html>
<html ng-app="busa... | 9bd48abf294d6e2133bc7e57bce266332d9b03ac | [
"JavaScript",
"HTML"
] | 4 | JavaScript | sg20187/busapp | 5c483432a4664b9bfbb096c9bbb3d9ccbb17c7ba | a804a145bfbe19c4946a0fb3310dd82b1d32500b |
refs/heads/master | <file_sep>//
// main.cpp
// projectCplus
//
// Created by Exo-terminal on 7/18/14.
// Copyright (c) 2014 Evgenia. All rights reserved.
//
#include <iostream>
#include <math.h>
#include <algorithm>
#define MAXSTACK 100000
#define ARR_SIZE 700000
//#define ARR_SIZE 2097152
//#define ARR_SIZE 4194304
//#define ARR... | 8a3ec00af4b6c903ebd382af2eb25df7f6bd2d9d | [
"C++"
] | 1 | C++ | Antalinka/sort | 602aa1f22f2f33ffa18f677160832c42684dd76c | ac2229c7206cf18a7f96db3b434aaf1a29c8ed0b |
refs/heads/master | <repo_name>onepiecefreak3/GFDRenderer<file_sep>/GFDFontRenderer/IO/BinaryWriterX.cs
using System;
using System.IO;
using System.Linq;
using System.Text;
namespace GFDFontRenderer.IO
{
public class BinaryWriterX : BinaryWriter
{
private int _nibble = -1;
public ByteOrder ByteOrder { get; set; ... | 29b10e299248cafbedbdd3adcb31d2902c5d84ed | [
"C#"
] | 7 | C# | onepiecefreak3/GFDRenderer | c88429584ca351699eac256ca2d9bced800113a7 | ab83129427bf168adb0bae6790339db6f4b8b567 |
refs/heads/master | <file_sep>PhpTiCons
===============
Generate Titanium icons and splash screens
Based on [<NAME> TiCons project](https://github.com/FokkeZB/TiCons)
Installation:
-------------
The library is PSR-0 compliant and the simplest way to install it is via composer, simply add:
{
"require": {
"ba/p... | abd3c3bcdc464db8b6216d3dfda4dfa1d8234ff9 | [
"Markdown",
"PHP"
] | 2 | Markdown | b-alidra/php-ticons | 8e653cad838ba7b531579ea9d3af355e47ae06f7 | 1d25969ce75ee1ac7052bca14068ba0cbdb98c52 |
refs/heads/master | <repo_name>cirosantilli/Urho3D-cheat<file_sep>/collision3d.cpp
/*
Expected outcome: two falling balls. When either hits the ground, print a message to stdout.
*/
#include <cassert>
#include <iostream>
#include <Urho3D/Core/CoreEvents.h>
#include <Urho3D/Engine/Application.h>
#include <Urho3D/Engine/Engine.h>
#include... | e5aebc0c7071d6d8a288d90a3278e8339866729e | [
"Markdown",
"CMake",
"C++",
"Shell"
] | 27 | C++ | cirosantilli/Urho3D-cheat | 9a539eab033815b552544e2e5d1feb2ce40a4a95 | 29490061e1af3422f3734d4d6907dce5a75c9d15 |
refs/heads/master | <repo_name>egnica/QB_Match<file_sep>/Lab5/Lab5/Form1.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Lab5
{
public partial ... | 65d39ed84f95105d82d67debc0ecdf0f748b0922 | [
"C#"
] | 1 | C# | egnica/QB_Match | fffa253c4db24df0c2b32e8cac19680e9d267786 | b81faab94cefef99aa5f8c141537eb5ef159b3ef |
refs/heads/master | <file_sep>package com.example.administrator.contentprovidershare;
import android.database.Cursor;
import android.net.Uri;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;
public class MainActivity extends AppCom... | 4b371d8418499fd63757a7eeb3a778b4083729d8 | [
"Java"
] | 1 | Java | pgydsj/ContentProvider2 | 98fc0ea3225945b35789dfe42e69cb24c4f0d75f | a1fbfd613005023fb8746064e26d75e021519001 |
refs/heads/master | <file_sep>#!/bin/bash
sudo apt-get -q -y update
sudo apt-get -q -y upgrade
sudo apt-get -y autoremove
<file_sep>#!/bin/bash
git clone https://github.com/mesosphere/deimos.git
./deimos/integration-test/test-suite localhost:5050
<file_sep>#!/bin/bash
sudo apt-get -y install git-core
sudo apt-get -y install gitk
NAME=`... | 0e80483b5f9a091e03b920575edffdbcc6987d5a | [
"Markdown",
"Shell"
] | 28 | Shell | asterkin/phoenix | 4aa4779c683f5636980ccba63d84eb87ae4f1d0c | 2b813454a504a3b38c53fd77b9f4fbd1829a38a5 |
refs/heads/main | <file_sep>let phoneNumber = document.getElementById("number")
let msgs = document.querySelector(".msgs")
let cont = document.querySelector(".cont")
let newMsg = document.getElementById("input")
let button = document.getElementById("send")
let urlInput = document.getElementById("url")
let routeInput = document.get... | e6a9eb27115ed73d35fec002aefb8cdada38fa0d | [
"JavaScript"
] | 1 | JavaScript | zalment/twilio-testing-tool | 5fec7476a1fc32192b8f6a9525ab1530041222e5 | 8594921d3d93ed8f974e7abb0371fc97ffb4e399 |
refs/heads/main | <file_sep>import React, { useState, useEffect } from 'react';
import PropTypes from 'prop-types';
import { makeStyles, withStyles } from '@material-ui/core/styles';
import clsx from 'clsx';
import Stepper from '@material-ui/core/Stepper';
import Step from '@material-ui/core/Step';
import StepLabel from '@material-ui/co... | 617b46e034824aea8d70155aaf0b3da969358c3b | [
"JavaScript"
] | 22 | JavaScript | Ankur800/Health-and-Fitness | fbce77b5bb4f5a2920087c1f8874f8e2ccf38fd9 | 159cdbfa812258a0f7c712b6fc23e2079e6381a5 |
refs/heads/master | <file_sep>import discord
from discord.ext import commands
from .utils import checks
import asyncio
import logging
# Data stuffies
from __main__ import send_cmd_help
from cogs.utils.dataIO import dataIO
import os
import time
import copy
# Tabulate, cause its tabulate
try:
from tabulate import tabulate
... | e6f495ded144c93dc39c50efca90b1da271626a0 | [
"Markdown",
"Python"
] | 6 | Python | FirahGames/Firah-Cogs | 931027f7f71c510d5cd2665207028ac2a0b9e239 | 82da722b75befee2f4bce6e0bf3d577451b559d0 |
refs/heads/master | <file_sep>'use strict'
var express = require('express');
var EncuestaController = require('../controllers/encuestaController');
var md_auth = require('../middleware/authenticated');
var api = express.Router();
api.get('/encuestas', md_auth.ensureAuth, EncuestaController.getEncuestas);
api.get('/encuesta/:id', md_auth... | 481c9e1c6f9a23a712835e3c96e7bb3bee5d90e1 | [
"JavaScript"
] | 4 | JavaScript | mauriciohurtado99/BackPromesometro | cbe1de0b22bda5646dc87e458cb8985e56aba592 | f5fe1bb1512de4c88e80e61ff8aefde92b4d7de2 |
refs/heads/master | <file_sep>
/**
*
* To use these across web components,
* import this file in js and use the 'include'
* keyword in the html <script> tag
*
* .js
*
* import '@longlost/app-shared-styles/app-shared-styles.js';
*
*
* .html
*
* <style include="app-shared-styles">
*
* ... element specific css... | ac552d4e63d2147611c1f53eefd97e7f738eb300 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | longlost/app-shared-styles | 5d853bad2f995e502a7aa5a12449c7693d8d466f | be60e17bd057c72c5a95ca0d19c265ed7e610221 |
refs/heads/master | <file_sep>import "./classes/vector.js";
import "./classes/point.js";
import "./classes/polygon.js";
export default cartesian2d; | 4dc5b3f841faa6e62566570495b397d8672fed52 | [
"JavaScript"
] | 1 | JavaScript | remigiuszgalikowski/cartesian2d-js | a2105c21a609a2b106d632ec70b439fb9e1d483a | 0349fc0ac0486a8a7e0ac8d0c9191e8f4e0be6e0 |
refs/heads/master | <repo_name>OlesyaIv/parall<file_sep>/pthread.c
#include <stdio.h>
#include <pthread.h>
#include <time.h>
#include <stdlib.h>
int opt_a;
int opt_t;
int opt_r;
// number of elements in array
#define MAX 10000
// number of threads
#define THREAD_MAX 4
// array of size MAX
int *a;
// thread control parameters
struct t... | f6d006aedaf919b9b35a1208235d72fc7bf6e2c1 | [
"C"
] | 1 | C | OlesyaIv/parall | 19d56c3797a1dd8edcc0ac999fca2b8f320c8171 | e5961fddb762cc0394222511b670d3522766b786 |
refs/heads/master | <file_sep>function prompt1 () {
var fullName = prompt ("What is your name?","");
if (fullName !== null || "" || undefined) {
alert("Thank you " + fullName + ". Have a good day.");
} else {
fullName = prompt("Who are you? Give me your name:" , "");
}
document.getElementById('prompt1')... | 559b4c9bf243a88dff2ae102be0aaa1f6e98be35 | [
"JavaScript"
] | 7 | JavaScript | coderanwar/puzzle-game | f5273d6a31dee099394758323bbe30322d1fb843 | ab92322952de2ca2dfe4fe733d92cb7957a036a5 |
refs/heads/main | <file_sep>import configparser
# CONFIG
config = configparser.ConfigParser()
config.read('dwh.cfg')
DWH_ROLE_ARN = 'arn:aws:iam::299535494464:role/dwhRole'
IAM = config['IAM_ROLE']['ARN']
LOG_DATA = config['S3']['LOG_DATA']
SONG_DATA = config['S3']['SONG_DATA']
LOG_JSONPATH = config['S3']['LOG_JSONPATH']
# DROP TABL... | 31b5aa6857c89f9e83e16e14eca8571ad957bbe6 | [
"Markdown",
"Python"
] | 3 | Python | mbuggus50/Udacity_data_Engineering | 315651778284e01249ca726493612ff79abf614a | e37d5c0ceb5ea522a51591b02a3a15d919b4c687 |
refs/heads/master | <repo_name>anthealu/c_to_f<file_sep>/c_to_f.py
cel = input('請輸入攝氏溫度:')
fah = float(cel) / 5 * 9 + 32
print('華氏溫度為:', fah, '度F') | aec05706dd1445ab3d1dabe360fd8fc4b1126f39 | [
"Python"
] | 1 | Python | anthealu/c_to_f | 07824dff244dbcc97e4eb230e91d634fe9b526f9 | f449201fbe5aef8dbc352cfecc42eeadccadaae8 |
refs/heads/main | <repo_name>AnhVu99/CNM<file_sep>/settings.gradle
include ':app'
rootProject.name = "CNM"<file_sep>/app/src/main/java/com/example/cnm/DangKy.java
package com.example.cnm;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import andr... | cfc43df9918f23fc41e424f5d4fc70a4eb58a2ee | [
"Java",
"Gradle"
] | 5 | Gradle | AnhVu99/CNM | 147472c54fcadc93adc3d6637e2a76239fba0a1d | bdf6cf4a3f58c0c9b4b33b1a1586a4f45a31251d |
refs/heads/master | <file_sep>def generate(from_ext, to_ext, &block)
Dir["*#{from_ext}"].each do |from|
to = File.basename(from, from_ext) + to_ext
file to => [from] do
case block.arity
when 1
block.call from
when 2
block.call from, to
else
raise 'Block should take 1 or 2 arguments... | 38e67536ebc87bb34d0b82e73b934a07bdc3a4a2 | [
"Ruby"
] | 2 | Ruby | ttencate/aranami | 98edfaa45394e6f1ab0333e7c5e6dacedce83660 | 89194e146f17a05571cafc49b5f6f9be58a0625f |
refs/heads/master | <file_sep>dist_man1_MANS = effz.1
<file_sep>/*
Copyright 2018 <NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law o... | f453fa747a5887dbd7b9a0100aa3bfa961e3c535 | [
"Markdown",
"Makefile",
"C++",
"M4Sugar"
] | 12 | Makefile | tupos/effz | 20816e58f85c334e786df9cb184066ef25651f83 | 1226644b6bcbab6e5c2e99d56fbf0a1f8fe2db37 |
refs/heads/master | <file_sep>import React from 'react';
import Home from './Home';
import ChildPage from './ChildPage';
export default class BusyBeeApp extends React.Component {
state = {
page: 'home',
childName: '',
children: [],
};
saveNewChild = childName => {
this.setState({
children: [...this.state.... | fff4e0dbf27e6ac0759e92d721456ff03410e787 | [
"JavaScript"
] | 3 | JavaScript | alvaroc1/busy-bee | 9dcbb796d9625c18022690f6d3faf119c9ccea7b | e0321a031c8cfd1238894f491d8ee361ba41bc45 |
refs/heads/master | <file_sep>import time
import re
import pymongo
from selenium import webdriver
from selenium.common.exceptions import TimeoutException
from selenium.webdriver.common.by import By
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.support.wait import WebDriverWait
from urllib.parse i... | 5891e1261e5ae250a5cff4b3ad045e123919348c | [
"Markdown",
"Python"
] | 3 | Python | S9jasonlv/taobao_spider | 46d067fa6d5b1ed5d20f42a55499ca58d868c678 | e8f615848bd240c2d7bf42011542eedd1e26bee5 |
refs/heads/master | <file_sep><?php
// SOLENT STREAMING VIDEO FILTER SETTINGS PAGE
defined('MOODLE_INTERNAL') || die;
if ($ADMIN->fulltree) {
// SOLENT AMENDMENTS
$settings->add(new admin_setting_heading('solentmediaformats', get_string('settingsheading','filter_solentvideo'), get_string('settingsinfo','filter_solentv... | 60239b49f3c0f2c7869b0737dd3eb6f406a36822 | [
"PHP"
] | 4 | PHP | ltu-solent/moodle-filter_solentvideo | 25d92f4c0464c1d4d5d34d0db7d54dee294cfe6b | bf26dddde027fe2bfe68f06c0bb3a1c962a1cc7b |
refs/heads/master | <file_sep>const mongoose = require('mongoose');
// Get a reference to the mongoose schema constructor
const Schema = mongoose.Schema;
// Make a new constructor function with validators
const ArticleSchema = new Schema({
title: {
type: String,
unique: true,
required: true,
validate:... | 5ede69a0364d4b2e80c13a4f5f922b5c8adc506c | [
"JavaScript",
"Text",
"Markdown"
] | 13 | JavaScript | graysonlee123/Articulate | 11fa06d5c23d0123f19392d85305b0252030ba78 | a3fdfc39e6f7672cc705e0beb7df7b6083f0564e |
refs/heads/master | <file_sep>
## Twitter Power Tracker
Twitter Power Tracker is the package for connecting and streaming data with twitter's enterprise streaming plans.
## Installation
```sh
$ composer require unniks/twitter-powertracker
```
#### Don't forget to add service provider
```sh
unniks\TwitterPowertracker\PowerTrackerServic... | e6fbd6459ec702fce103589ca90b4fe836f50e5a | [
"Markdown",
"PHP"
] | 7 | Markdown | Unniks-here/twitter-enterprise-for-laravel | 6a91e3e7bd1a16c34c0ef92897ea42b5a79c3efd | a2aa3d6cb66f2ca09d9f8bfd4a21c003a187cfb2 |
refs/heads/master | <repo_name>nguyenquochuy2311/PHP-MySQL<file_sep>/admin_area/insert_p_cat.php
<?php
if (!isset($_SESSION['admin_email'])) {
echo "<script>window.open('login.php','_self')</script>";
} else {
?>
<div class="row">
<div class="col-lg-12">
<ol class="breadcrumb">
<li>
<i class=... | 555452cdfc9fa18acdf55af5e831f305e31abdb2 | [
"Markdown",
"PHP"
] | 36 | PHP | nguyenquochuy2311/PHP-MySQL | 8a2504347fb74382a6b91c430b08339ade106908 | 007b7f183df634cc71d30f2e6bbf066c3d6c28f0 |
refs/heads/master | <file_sep>/*SOLVED by <NAME> (ztaylor54)*/
import java.io.File;
import java.io.IOException;
import java.util.Scanner;
public class A_Nine {
public static void main(String[] args) throws IOException {
Scanner scan = new Scanner(new File("a_nine.dat"));
int timesRun = scan.nextInt();
int a... | 81867e4fc07e7c8604038ac082d0abee0fb93c2a | [
"Markdown",
"Java"
] | 14 | Java | ztaylor54/UIL-CS-Problems | 646edd7cf9c4748c6afa7d46556548c6b42a896f | 4d3e3918dc2ec9c76d63fc6b98eadf40dbdad05d |
refs/heads/main | <file_sep>import React from 'react';
import Chat from './Chat'
import './Chats.css'
function Chats() {
return (
<div className="chats">
<Chat
name="Ellen"
message="Yo whats up!"
timestamp="40 seconds ago"
profilePic="https://i0.wp.com/oquartonerd... | 03129eedc6f3b5e3ea6d4c2db13e0487c91c0f39 | [
"JavaScript"
] | 2 | JavaScript | gapasquantonio/tinderClone | 967b001e1260bf3b51d8b95ae7807d0cfd401b93 | 633e33dfba7bb6c9feacee489504b64a6dd74ad4 |
refs/heads/master | <repo_name>pahonski/flatbook-new<file_sep>/README.MD
Auth Service:
------------
### Requirements:
- yarn 1.7.0
- node 8.9.4
### Quick start:
Run `yarn`
Run `gulp`<file_sep>/gulpfile.js
'use strict';
var SRC_DIR = './source/';
var BUILD_DIR = './build/';
var gulp = require('gulp');
var spritesmith = require('gu... | e6f8c5b4921b9bbff1dcbf3be4ddef2002827a5a | [
"Markdown",
"JavaScript"
] | 3 | Markdown | pahonski/flatbook-new | 9db4aaf749fff5a1154621879a1e29eda79b6764 | 0932df545aa4eea8da45d274187ee5c9c3f856b5 |
refs/heads/master | <file_sep>cmake_minimum_required(VERSION 3.0.2)
project(defense_viz)
find_package(catkin REQUIRED)
catkin_package(
# INCLUDE_DIRS include
# LIBRARIES defense_viz
# CATKIN_DEPENDS other_catkin_pkg
# DEPENDS system_lib
)
include_directories(
# include
# ${catkin_INCLUDE_DIRS}
)
install(DIRECTORY launch rviz
DES... | 73b6c3988e9c9c80e72f92977698a2ecc6855669 | [
"Python",
"CMake"
] | 7 | CMake | Rookieokky/ShopDefense | 8614e413732b32d88f46cbcd1ae8e828245fbce2 | fb1ae1bb2883fa0e75d4bdb9b630f23cef4ff894 |
refs/heads/main | <file_sep>import pandas as pd
import numpy as np
import statsmodels.formula.api as sm
from statsmodels.iolib.summary2 import summary_col
import pandas_datareader.data as web # module for reading datasets directly from the web
import pandas_datareader.data as web
def getEquity(ticker, start, end, subset = None):
... | 129931cafd9d082189a283b02b4a4645cabd78ff | [
"Markdown",
"Python"
] | 3 | Python | blakeheimann2/FactorAnalysis | 649a90681b70e97cebd90d364fd904175035ece4 | 377eda813a9f19d6b4d99bc5d327b39293c42882 |
refs/heads/master | <repo_name>markdoten/mout<file_sep>/classes/enable.js
var add = require('./add');
var remove = require('./remove');
/**
* Adds or reomves a class based on the enabled argument.
* @param {Element} element The element to add or remove the class from.
* @param {string} className the class to add or rem... | a6b3ab63088f78bedb74e84b32a3f9d725628828 | [
"JavaScript"
] | 10 | JavaScript | markdoten/mout | cb82b15bceb9397c457eb61f86c4aa68924b9854 | 076fc5199e94e9c3304b9309f3c0bd6e4c72935f |
refs/heads/master | <file_sep>/* ***** firebase ***** */
import firebase from 'firebase/app';
import 'firebase/auth';
import 'firebase/database';
import 'firebase/storage';
import '../config/config';
function figureTemplate(key, {uid, title, img, category, url}) {
return `
<img src="${img}" alt="${title}">
<figcaption>
<div... | 63d9fad47e6fba573a83487b9b5f55cfb82e76fb | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | pablorincones95/portafolio | 51be610b305e5cfe11573847db5158aec79aff9e | bc9b8cdae8ae8c628a306429c636c808f1c6dd3c |
refs/heads/master | <file_sep>package com.xietaojie.lab.rest;
import com.xietaojie.lab.aop.annotation.ParamCheck;
import com.xietaojie.lab.config.ProjectProperties;
import com.xietaojie.lab.dao.UserDAO;
import com.xietaojie.lab.dao.dataobject.UserDO;
import com.xietaojie.lab.service.TestService;
import lombok.extern.slf4j.Slf4j;
import o... | 24fcd7ff4bd27132583209aa2a635f78091634a0 | [
"Java",
"Maven POM",
"INI"
] | 25 | Java | xietaojie1992/spring-demo | 6cfe1832ebfd629ea1f76e626c614b34a49312ef | d0b881ecfc53fa805eb17a7d547367d9414dedee |
refs/heads/main | <repo_name>ccEricRoy/RPG<file_sep>/src/app/npc-detail/npc-detail.component.spec.ts
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { NpcDetailComponent } from './npc-detail.component';
describe('NpcDetailComponent', () => {
let component: NpcDetailComponent;
let fixture: ComponentFixture... | 0d5eace54513636de2d1ba2337e6192c3b7041cb | [
"TypeScript",
"HTML"
] | 8 | TypeScript | ccEricRoy/RPG | 683ba389bfcab6b01b2c6d0a0f3ff98c5c25a9c9 | adc28598b9f64caf8df458200478d5029db23529 |
refs/heads/master | <file_sep>import { observable } from 'mobx'
import { SERVER_HTTP } from '../utils/config'
import { request } from '../utils/request'
const blogStore = observable({
articleList: [],
isFetchingList: false,
articleDetail: {},
isFetchingDetail: false,
fetchArticleList() {
if (this.articleList.length > 0) {
... | eb9e703131fd406a10556ddbc97243091a808a69 | [
"JavaScript",
"TypeScript"
] | 9 | TypeScript | OMGVecchio/mp-utils | f97a38b836f9e689eea4d358da5e8acef131747c | 829cf27009f5e68d09a40fd946eb9a9be9714494 |
refs/heads/master | <repo_name>shubhamjindal0810/shiny-server<file_sep>/warehouse_management_1.R
############## Printing bar codes for Flipkart, Amazon, Snapdeal Fulfillment
#Dependencies:
# rPython
# data.table
# png
library( rPython )
library( data.table )
plotImage <- function( metadata, logo, img1, barcodeSKU, SKU, blan... | 04c1419bf7f98989ba4139e76fb38ee8d6723c17 | [
"Python",
"R"
] | 4 | R | shubhamjindal0810/shiny-server | 668af25a3af6c3c3867a24b83cd06a38ca4107f6 | fb345c6470b71d25a58c569a77ed5d4a303572d3 |
refs/heads/master | <file_sep>self.__precacheManifest = (self.__precacheManifest || []).concat([
{
"revision": "1521d20f51c1aa11042f6be16ae4fa50",
"url": "/index.html"
},
{
"revision": "15ef1b53384638ea1e0e",
"url": "/static/css/main.550685a2.chunk.css"
},
{
"revision": "f07bf668dca704e8bb8b",
"url": "/st... | 39044d272b2202746a82364fc0a004369bb5dcfd | [
"JavaScript"
] | 1 | JavaScript | masterchefplus/masterchef | 592db0d64122e03d455007668d1ff55b58c8415a | 578e6fb9a6acd6d1227b9559ebb33c27f8cb2132 |
refs/heads/master | <repo_name>pewresearch/WP-Highlight-Share-Tools<file_sep>/wp-highlight-share-tools.php
<?php
/**
* Plugin Name: WP Highlight Share Tools
* Description: Adds front-end functionality to share specific content thats been highlighted to Twitter or Facebook.
* Version: 1.0
* Author: <NAME> for Pew Research
* Author URI: htt... | 06d6bbdb846a9f1f89fc9809f8b16d176e6a510f | [
"Markdown",
"PHP"
] | 2 | PHP | pewresearch/WP-Highlight-Share-Tools | 39eb59f7b8a082fc29766300735eab4e5c64c590 | 33b1b8fabd7ca33134a2268c26b52635110ce6f5 |
refs/heads/master | <repo_name>TomSaccasynPrive/CVSite<file_sep>/CV Site v2/CVSite2/CVSite2/CVSite2/views.py
"""
Routes and views for the flask application.
"""
from datetime import datetime
from flask import render_template, request
from CVSite2 import app
from flask_restful import Resource, Api
api = Api(app)
@app.route('/')
@app.rout... | b8de1a25343294b6732d3fe760fc95e984e1cc16 | [
"Markdown",
"Python"
] | 3 | Python | TomSaccasynPrive/CVSite | 08fc86e65616ceff936ba093537b34428ca7addc | d22aea4d97a494208255f4d5c101992abf30a666 |
refs/heads/master | <repo_name>esappear/sails-todo<file_sep>/api/controllers/tag/find.js
/**
* Module dependencies
*/
// ...
/**
* tag/find.js
*
* Find tag.
*/
module.exports = async function find(req, res) {
const tags = await Tag.find(req.params).omit(['tasks']);
return res.json(tags);
};
<file_sep>/api/helpers/create-tag... | 3c77b10ae1d2bcd471fa1312909f3005799483e4 | [
"JavaScript"
] | 5 | JavaScript | esappear/sails-todo | 898bdf94520c6c9af1e909a69e640419aee782e8 | 9139ec436d6e992a0ec24dbcb326da98621eb0dd |
refs/heads/master | <repo_name>ENDUSTRIYELOTOMASYON/Toprak-ve-nem-sensoru<file_sep>/sketch_feb21a.ino
int toprak_nem_degeri=0;//nem değeri için değişken
int nem_esik_degeri=30;
#define sensor_pin 0
#define motor_pin 13
void setup() {
pinMode(motor_pin,OUTPUT);
}
void loop() {
toprak_nem_degeri=map(analogRead(sensor_pin),0,1023,0,100);... | 95a2f0b505e4dabaf8220c16a03c782d08063b74 | [
"Markdown",
"C++"
] | 2 | C++ | ENDUSTRIYELOTOMASYON/Toprak-ve-nem-sensoru | 0e80c7fca9bea83de9458aaaa64f3cc0159308fe | 4932f019bafec0daa2cbdc491e7acdc138d00b4f |
refs/heads/master | <file_sep>from . models import User as Poll
class Command(BaseCommand):
help = 'Closes the specified poll for voting'
def add_arguments(self, parser):
<file_sep>from django.db import models
from django_countries.fields import CountryField
from mysite import models as mysite_models
class RoomType(mysite_mod... | c5cc041e2ae4201176483012db2f9925a2ff37bf | [
"Python"
] | 5 | Python | kyk0185/test-airbnb- | c53d8fa04ca08a7f58d69944976adbce897e1b0d | e0824b5912bd74fdc82a56d4c9a1850b6e8343a7 |
refs/heads/master | <repo_name>m-pabon/CodePlayer<file_sep>/scripts.js
$(document).ready(function(){
//Get the height of the browser window and menuBar
var windowHeight = $(window).height();
var menuBarHeight = $("#menuBar").height();
//Set the height of a code container to be 100%-menubar
var codeContainerHeight = win... | 650a02f39727ce85a2bfe286397af954f7d34b91 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | m-pabon/CodePlayer | 55ab98685387d6d10e88a3f1f43fae140fdb3503 | 61d45fc3cd364c9d99df8b480f74249242d95425 |
refs/heads/master | <repo_name>JacobDexter/Further-Games-Graphics<file_sep>/DX11 Framework 2018/Application.h
#pragma once
#include <windows.h>
#include <d3d11_1.h>
#include <d3dcompiler.h>
#include <directxmath.h>
#include <directxcolors.h>
#include "resource.h"
#include <vector>
#include "DDSTextureLoader.h"
#include "OBJLoader.h"
#inc... | 4b0defc1b37f33e2ae2d40ea8a262477bbb1e4b6 | [
"Markdown",
"C",
"C++"
] | 8 | C++ | JacobDexter/Further-Games-Graphics | 06d876404b301dc042a844f98d72cdcc8bedc492 | 77818b4904b331d4865bdb7fc3839f85866a675f |
refs/heads/master | <file_sep># ghost-gae
<file_sep>#!/bin/bash
path="$(pwd)"
yarn global add ghost-cli@latest
yarn global add knex-migrator
mkdir ghost
cd ghost
# ghost install --url=https://hellojcc-178809.appspot.com --no-prompt --no-stack --no-setup-linux-user --no-setup-mysql --no-setup-nginx --no-setup-systemd
ghost install --url=ht... | 6829636498000cd5809642c11a76a9021f476a7a | [
"Markdown",
"Shell"
] | 2 | Markdown | ddhp/ghost-gae | 5b44240eebaff10f01820b75b85668bb0aee0cb2 | db9582b90ea15878a2ad4917ef3a000d3dffbfba |
refs/heads/master | <file_sep>namespace CloudDoorCs.Local {
public class PingPongHandler : MethodCallHandler<PingPongResponse, PingPongRequest> {
const string PONG = "PONG";
public PingPongResponse handle(PingPongRequest input) {
return new PingPongResponse {
Message = PONG
... | 196aacb390bd993e6c851bc810f9458ede397232 | [
"Markdown",
"C#"
] | 17 | C# | kamiljano/CloudDoorClient | 5aef1c767fd6d47a42d2075f80791aa3f608fb65 | f7377e583000a00207813051e7657e76b903f82b |
refs/heads/main | <repo_name>Kph-Lab/PetBottleRocketAccelerationSensor<file_sep>/src/main.cpp
#include "Arduino.h"
#include "Wire.h"
#include "SparkFun_MMA8452Q.h"
#include "SparkFun_LPS25HB_Arduino_Library.h"
#include "BluetoothSerial.h"
MMA8452Q accel;
BluetoothSerial SerialBT;
LPS25HB pressureSensor;
void setup() {
/* pinMode(32,... | 79c8c9b4a715724368aa65497d7fbbb1d564e071 | [
"C++"
] | 1 | C++ | Kph-Lab/PetBottleRocketAccelerationSensor | f022ba0427f2a85289ee0c90ece824643babb0bb | 58d1dcc1fc775b82eb5194e93a21dd2de2feb681 |
refs/heads/master | <file_sep>import sys
import time
def TimeIt(func,*args):
start=time.process_time()
func(*args)
return time.process_time()-start
def getSizeOfVariables(func,*args):
sum=0
for i in tuple(func(*args).values())[1:]:
sum+=sys.getsizeof(i)
return sum
def ComplexTest(func,*args):
tic=time.p... | f7f7726efa2e610701b88fc014e6a157383e9e20 | [
"Python"
] | 3 | Python | ghostIB/PythonLibraries | ff73df107464a2c8220c3d34b78ed41f5b0fa776 | d2a1f72c8d885c29e704d8028e6150122646c2f0 |
refs/heads/master | <file_sep># Javascript30
## Check this free course [here](https://www.javascript30.com/)
<file_sep>const addItems = document.querySelector('.add-items');
const itemsList = document.querySelector('.plates');
const items = JSON.parse(localStorage.getItem('items')) || [];
const clearAll = document.querySelector('.clear-a... | 70086d1abb76208829afc0f3f471795a00a66e69 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | idhow/Javascript30 | 2cb3b21503772e459e713553d33dcd0bfec76a34 | 13479117d0a88a1a8d892dd62df6f61dad4a29b9 |
refs/heads/main | <repo_name>JanosKrizsan/Js_Card_Game<file_sep>/static/js/cards.js
let cards = [
// {
// "name": "Nemo1",
// "power": 2,
// "image": "https://pbs.twimg.com/profile_images/988980087147053058/uUQiBEyG_400x400.jpg",
// "health": 6,
// "mana": 9,
// },
{
"name": "D... | c48dc8baed0c59c403b3d79905aa30273adde315 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | JanosKrizsan/Js_Card_Game | 3892564a835a7bf625692ff09eef21dc983ca64d | bd76013076584fd9209ae0d3a2f5952366a471ca |
refs/heads/master | <repo_name>boudeffa/OpenFoodShopper<file_sep>/src/biz/aldaffah/openfoodshopper/SearchActivity.java
/****************************************************************************
* *
* Open Food Shopper - Open Source Android Application ... | 0f422e85ace71b14d260910a9eed5420e32e3262 | [
"Java",
"Text"
] | 3 | Java | boudeffa/OpenFoodShopper | cb7fc03d8be190d189190fa220aa9ad20307ec9e | 98a695bff7bb95be1fddaee48361f52fce0a4cc2 |
refs/heads/main | <file_sep>'''
Created on 24 Feb 2021
@author: kieran
'''
'''Input is an array of length N, representing the number of filled cells in each column of an NxN grid (all columns fill up from the bottom.
Determines the side of the largest possible filled square'''
import math
from numpy.random import randint
def visuali... | 9655be5cfc3bf02598fdc99b2f590d9a3cb1324e | [
"Python"
] | 8 | Python | kfinn6561/coding_challenges | 916b2bb4b4c2c3a6840a674981352b396b92ad64 | 1f199b81d6d20af091ee34e68b9d4a355dc4748a |
refs/heads/master | <repo_name>oppassum/MemeCompete<file_sep>/requirements.txt
boto3==1.4.4
botocore==1.5.12
defusedxml==0.5.0
Django==1.10.5
django-allauth==0.30.0
django-postgresql==0.0.3
dj-database-url==0.3.0
dj-static==0.0.6
docutils==0.13.1
gunicorn==19.6.0
jmespath==0.9.1
oauthlib==2.0.1
psycopg2==2.6.2
python-dateutil==2.6.0
pytho... | 027b9bff8745278675c8380edd4eea84fa307d50 | [
"Python",
"Text"
] | 2 | Text | oppassum/MemeCompete | ccb91690ccf48e17a8dc531e0576a9ba282c690f | 582e30c9479d71a7828e685f11a94e2b58d7b2b3 |
refs/heads/master | <file_sep>import './Contact.css';
const Contact = ({ firstName, lastName, phone }) => {
return (
<div className="contact">
<h4>Name: {firstName} {lastName}</h4>
<h4>Phone: {phone}</h4>
<div>
<button className="contact__viewBtn">View</button>
... | 7e55d687460e387ad0e5e75dd9f30f7f982baa0c | [
"JavaScript",
"Markdown"
] | 9 | JavaScript | uncleilia/Fullstack-contactList | bb4b0997ef43f85114a691b9154ea743385ea1d5 | ca10c5fbda2ced84801d9aba0fa70327adcc7a7b |
refs/heads/master | <repo_name>danielpeek/swift-PDF-Viewer<file_sep>/Assignment2/AppDelegate.swift
//
// AppDelegate.swift
// Assignment2
//
// Created by <NAME> on 9/29/16.
// Copyright © 2016 <NAME>. All rights reserved.
//
import Cocoa
import Quartz
@NSApplicationMain
class AppDelegate: NSObject, NSApplicationDelegate {
@IBO... | e54e54072474aeff39f4653b93369a3cdea5bb24 | [
"Swift"
] | 1 | Swift | danielpeek/swift-PDF-Viewer | cf27f43ff8230e645450939c5a6c13aae84344ee | efc0c4e914a581ee9ecc0688a05f1dd8024f3f15 |
refs/heads/master | <repo_name>namjunemy/spring-boot-concept-and-utilization<file_sep>/src/main/resources/schema.sql
-- drop table account if exists
-- drop sequence if exists hibernate_sequence
-- create sequence hibernate_sequence start with 1 increment by 1
-- create table account (id bigint not null, password varchar(255), username va... | 4170ee756c3f62a7a2d662993986d6b0653c6c85 | [
"Java",
"SQL"
] | 2 | SQL | namjunemy/spring-boot-concept-and-utilization | 08fcec6bfcaaa0cb812d3d45e6a36297e6a6a136 | 4ab116bfdd557eabe21b6bd7fd8a4174079c71e4 |
refs/heads/master | <file_sep>package lab5_felixvelasquez;
public class Psicologo extends Persona{
private String tituloUniversitario, especialidad;
private int ID, informesGenerados=0, jugadoresAtendidos=0;
public Psicologo(String tituloUniversitario, String especialidad, int ID, String nombre, String apellido, String nacio... | d793f5d9b3451da8222ad53778bb15d1364c2deb | [
"Java"
] | 1 | Java | AndyValle/Lab5_AndyVelasquez | 3ee89d8bbc214d5f86028832739e185aa7124a9f | d3090c57af1210de598712359adfe59cba708ee7 |
refs/heads/master | <file_sep>==================================================================================
CircuitPython driver for the Adafruit FXOS8700 Accelerometer/Magnetometer Breakout
==================================================================================
.. image:: https://readthedocs.org/projects/circuitpython-FX... | 228f3e2d3608b15d0e76a50aa4802952506a6b37 | [
"Python",
"Text",
"reStructuredText"
] | 3 | reStructuredText | lxv/CircuitPython_FXOS8700 | bd0c569467ef8a518ca11cd9d5a9165de42e8914 | b9da5d0f2d614043a49b272a0768231616adeaf4 |
refs/heads/master | <file_sep>/**
* Stub of /_models/...
*/
var express = require('express');
var router = express.Router();
var trainClassifierEvaluation = {
report: {
id: 'train_classifier_evaluation',
created_at: '2015-01-08T09:14:57.499Z',
updated_at: '2015-01-08T09:14:58.612Z',
title: null,
type: 'classifier... | f52fcad93f1631ad23101dd5fac7f34fba4a20ec | [
"JavaScript"
] | 6 | JavaScript | yllieth/predicsis_ml_stub-nodejs.git | 07e075ef40bf08d0de50c8f08b708b4f35c1c152 | c58386f87b4e58dd3dbd50b6842232c32033e3f3 |
refs/heads/master | <file_sep>// tslint:disable:no-console
// const replace = require('replace')
import * as webpack from 'webpack'
import * as path from 'path'
import CircularDependencyPlugin = require('circular-dependency-plugin')
// import AfterBuildPlugin = require('./zotero-webpack/plugin/after-build')
import 'zotero-plugin/make-... | 21503f521f8417f0f6601ce7cc05b3a4c3f806a0 | [
"TypeScript"
] | 1 | TypeScript | ZotPlus/zotero-auto-index | 326f918f84d00aae2c1b71aec9919fbb21c0a2a1 | bb879597aab30a6aff946cfab387aab6cb214236 |
refs/heads/main | <repo_name>yangtao8571/Mini_Android_Sqlite3_SQLTemplate<file_sep>/src/dao/Survey.java
package com.cnpc.bgp.seismiccrew.task;
import java.io.Serializable;
public class Survey implements Serializable {
private int id = 0;
private int state = 0;
private String lineNo;
private String pointNo;
private Str... | 13e9ea1bb1e20d2c57f45f84ca81766baf847216 | [
"Markdown",
"Java"
] | 5 | Java | yangtao8571/Mini_Android_Sqlite3_SQLTemplate | 0e93a65d5e64abb19cba9faa1597788dfdd9f32a | 7a2a8b179d288a266020361b64389b9d0577a01d |
refs/heads/master | <file_sep>## ChillBox
Relax while working
<file_sep>$(document).on('click', '.sidenav a', function (event) {
var change = $(this).attr("data-videoId");
$(".yt-vid > iframe").attr("src", "https://www.youtube.com/embed/" + change +"?vq=hd1080&rel=0&modestbranding=1&color=white&autoplay=1&controls=0");
});
// $(d... | 15311bb4eae2909b7cfae73c98c40495cac48cb1 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | PankajRPandey/ChillBox | 32051f321508c9092678a19ba0e7d1bf5315b1f3 | 89734e9e8d833ec079559df19b81bffb3b0e0793 |
refs/heads/master | <repo_name>freedevc/DotnetSpider<file_sep>/src/DotnetSpider/DotnetSpiderBuilder.cs
using DotnetSpider.Data;
using Microsoft.Extensions.DependencyInjection;
namespace DotnetSpider
{
public class DotnetSpiderBuilder
{
public DotnetSpiderBuilder(IServiceCollection services)
{
Check.NotNull(services, nameof(servi... | bc3103457377f87f98b744f87c0f17fac4479d77 | [
"C#"
] | 16 | C# | freedevc/DotnetSpider | d35a888656122cbcd07ff0b000e8a8fd4b0254bf | 20652a13f63020da9451bd1186439ff691d9c658 |
refs/heads/main | <repo_name>rjwrobel86/saleslog-2-fbconversions<file_sep>/crm2fbW.py
#CRM Sold Log -> FB Sold Log
import pandas as pd
import numpy as np
data = pd.read_csv('sldlog.csv')
fbframe = data[['SoldDate', 'FirstName', 'LastName', 'Email', 'EvePhone', 'PostalCode', 'State', 'FrontGross', 'BackGross', 'SoldNote', 'VehicleVIN'... | a7cd401d2ba8a3d3bd87590e110c54b2c9153762 | [
"Python"
] | 1 | Python | rjwrobel86/saleslog-2-fbconversions | 9e46de2c7778ee0a740a04396b62851b0f67ead2 | 0c684b9f1f1f03e1f43708d88026133f4b054614 |
refs/heads/master | <repo_name>giangstrider/TravelWorld<file_sep>/app/models/question.rb
class Question < ActiveRecord::Base
belongs_to :certificate
has_many :answers
validates :name, presence: true, length: {minimum: 10, maximum: 300}
end<file_sep>/app/models/answer.rb
class Answer < ActiveRecord::Base
belongs_to :question
vali... | 076a6276c2bf05c113079810c06fa2764822895b | [
"Markdown",
"Ruby"
] | 36 | Ruby | giangstrider/TravelWorld | c8fc26174ff88930a7441275855dd447fc53f1ff | 7b05d03655aaf477f5b2081ecf8b9690c3fc7253 |
refs/heads/master | <repo_name>hartl1r/Certification<file_sep>/app/models.py
# models.py
from datetime import datetime
from time import time
from app import db
from werkzeug.security import generate_password_hash, check_password_hash
from sqlalchemy import select, func, Column, extract
from sqlalchemy.orm import column_property
from s... | 31700d825794cc7f6b30631596c092934072d9a4 | [
"JavaScript",
"Python",
"Text"
] | 9 | Python | hartl1r/Certification | b73c3cf2d018abbfa377a6f17cf30861de68ea91 | a854621ceee23db43d77fad2e0cee769214de064 |
refs/heads/master | <repo_name>teocci/gsteamer-sdk-android<file_sep>/lib/xml2Conf.sh
#
# Configuration file for using the XML library in GNOME applications
#
XML2_LIBDIR="-L/home/slomo/cerbero/dist/android_arm/lib"
XML2_LIBS="-lxml2 -lz -liconv -lm "
XML2_INCLUDEDIR="-I/home/slomo/cerbero/dist/android_arm/include/libxml2"
MODULE_VERSION... | e618f66dc5aa34c0c0297c050af8d25226e923c1 | [
"Shell"
] | 1 | Shell | teocci/gsteamer-sdk-android | 96c9b7c6f919ea6cfe7d1e1c0dc4569e071adca0 | e8bdc8957f3597c23fa34707bf1b6c48f5d746ba |
refs/heads/master | <file_sep>/*
* @Author: conjurer
* @Github: https://github.com/dot123
* @Date: 2019-11-04 10:10:02
* @LastEditors: conjurer
* @LastEditTime: 2019-11-04 16:28:28
* @Description:
*/
const RuleData = {
1: {
staticTime: 300,
moveTime: 300,
damage: 0.4,
scale: 0.4
},
2: {
... | dffce9fb60343001d6f9369e4d4ee8533e297841 | [
"Markdown",
"TypeScript"
] | 3 | TypeScript | dot123/shrink | cdd843fd3abea18899aa152fa27fb31d8e6b1311 | 840cd191a5848e649ddd5711b7e309747b81ef3d |
refs/heads/master | <file_sep>var knox = require('knox');
var client = knox.createClient({
key: process.env.AWS_KEY,
secret: process.env.AWS_SECRET,
bucket: process.env.BUCKET_NAME
});
var stream = require('stream');
var util = require('util');
function WriteStream( path, file ){
var source = this;
stream.Stream.call(this);
... | 980d65330c871783a55964618fec40973115455e | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | wookiehangover/streamr | 2ccf4cb01472a88f5444bfb07475151bdd85a208 | a78cccaba0403713fe7b360b0b42e05c39e19547 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.