branch_name stringclasses 149
values | text stringlengths 23 89.3M | directory_id stringlengths 40 40 | languages listlengths 1 19 | num_files int64 1 11.8k | repo_language stringclasses 38
values | repo_name stringlengths 6 114 | revision_id stringlengths 40 40 | snapshot_id stringlengths 40 40 |
|---|---|---|---|---|---|---|---|---|
refs/heads/main | <file_sep>export const lightTheme = {
palette: {
type: "light",
background: {
default: "#EBE3CD",
secondary: "#FFFFFF",
},
text: {
primary: "#1E1E1E",
},
icon: {
default: "#1E1E1E",
},
},
};
export const darkTheme = {
palette: {
type: "dark",
background... | 31283f28b696b396da5cdacb9bf9b2408949812d | [
"JavaScript"
] | 2 | JavaScript | huri3l/restaurace | 00239e97746787504448f944d22ab6f1d0f7ea86 | d53a085b025a7fcab42e067ec30f16df9044bbf6 |
HEAD | <file_sep><?php
/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it shoul... | b5653c0cbda2fd754356bc2247802569f0b10cd5 | [
"PHP"
] | 1 | PHP | vladflip/mo4 | 3b472b3ae435dffa26b0881183e9acf5c65f63ee | b102337f02deab4251573d2ab7c593b11e9fe8e2 |
refs/heads/master | <file_sep>using System;
using System.Collections;
using System.Collections.Generic;
using System.Security.Cryptography;
using UnityEngine;
using Random = UnityEngine.Random;
public class ResourceSpawnController : MonoBehaviour
{
private GameObject treePrefab;
private GameObject stonePrefab;
public GameObj... | 68d80393f24bead6e47e212fa852fa4694787c80 | [
"C#"
] | 43 | C# | xTheDawg/ProjectX | f04b85915476582c88ab54e653088c02b0863c65 | 18f8c059fcdc988f8ce5bd2fa2aaea502bb75fa6 |
refs/heads/master | <file_sep># Host: localhost (Version 5.5.5-10.1.16-MariaDB)
# Date: 2019-06-16 00:46:06
# Generator: MySQL-Front 5.4 (Build 3.46)
# Internet: http://www.mysqlfront.de/
/*!40101 SET NAMES utf8 */;
#
# Structure for table "categories"
#
DROP TABLE IF EXISTS `categories`;
CREATE TABLE `categories` (
`id` int(11) N... | 5189af659d0e60b612ab03d4bc49f762a043cfcc | [
"SQL"
] | 1 | SQL | fariefdswr/UAS_FaisalAriefDeswar_1611510304_JavaEnterprise | 2a2046064eb640f962d09036e5250d912f8100e3 | 419c90b1677b257582ad2906c594e7f74ef77616 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using UniversityExaminationMVC.Models;
namespace UniversityExaminationMVC.Controllers
{
public class PapersController : Controller
... | 7c38c642a9f9b4c2e2959e93a0dae7919f0c8304 | [
"C#"
] | 13 | C# | Jaimin020/Exam-Portal | 1c32e5dc4571496e2ae4d79220aed5ccb0b056de | 0cd2e17fdc3f598c633b5e26604e688515730087 |
refs/heads/master | <repo_name>danielhusar/exec-chainable<file_sep>/test.js
'use strict';
var assert = require('assert');
var exec = require('./index.js');
it('It should chain promisses', function (cb) {
exec('echo 1').then(function (stdout) {
assert.equal(stdout, 1);
return exec('echo 2');
}).done(function (stdout) {
a... | 4245535e2c8c7c99b5bc9763f7f89336bd73bc03 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | danielhusar/exec-chainable | 781d3160d0f9e9a64235c249292a9e6d739d9104 | af19a4c96019795c17b45d56f4447626ed45015a |
refs/heads/master | <file_sep># sequelizedBurger
Week 15 second part of Week 14 burger_db where now I will use sequelize
<file_sep>INSERT INTO burgers (burger_name, devour) VALUES ('portibello' FALSE);
INSERT INTO burgers (burger_name, devour) VALUES ('mushroom', FALSE);
INSERT INTO burgers (burger_name, devour) VALUES ('bacon', FALSE);
| 990dc88817ee1e1141a5a3ea954372c7fbdbfcc6 | [
"Markdown",
"SQL"
] | 2 | Markdown | jackie2017/sequelizedBurger | 0aa00728a8d5a8c74286be7854b753f6455e6c1d | 6fbd61cb353ecc147e9aa562ab17b5fb7a79ef6f |
refs/heads/master | <file_sep>
import React, { Component, PropTypes } from 'react';
var PLAYER_ID ='player';
export default class Mpl extends Component {
constructor(props) {
super(props);
this.state = {isplay:"pause"};
this.onPause = this.onPause.bind(this);
this.onPlay = this.onPlay.bind(this);
this.onEnded = this.onEnded.... | 5b146154d26027cdc824cd6527f76d68e6f84371 | [
"JavaScript"
] | 4 | JavaScript | airnsk/testreact | e49b4b30227722a2fe73479b2d339e5f43932403 | d6c0af571eb15773c61fcc9b00a140185c216d80 |
refs/heads/master | <repo_name>wanzinyazar/Malaria_Andriod<file_sep>/README.md
# Malaria_Andriod
Advancers.ai is a solution for malaria infected cell detection. This is the mobile version written in Java for Android. In the application we use SQLite for local data storage. We use TensorFlow Lite for Android for the machine learning compo... | ca88e34818f6560889dc3e6d256551fede575962 | [
"Markdown",
"Java"
] | 2 | Markdown | wanzinyazar/Malaria_Andriod | 9bcb39858d769de7d3f6e6d7dc905eb3e3325c47 | 1da5bce4e9c31b4f4223d4eecfafc7c633b3b08f |
refs/heads/master | <repo_name>DarkSideMatters/MongoDB<file_sep>/README.md
# MongoDB
Used a docker container locally according to the notebook instructions.
The project is made in Java, some of the regex is not finished.
## Assignment
1. How many Twitter users are in the database?
Result:
659774
2. Which Twitter users link the most to... | f89d17fd6052717aa4fd37e3d02a8206ae1ba8f6 | [
"Markdown",
"Java"
] | 2 | Markdown | DarkSideMatters/MongoDB | 9684f1dbeb1e4311035598653bb01c8d552e16d0 | 1bfd0dc614374373a893a5787773db95d54def54 |
refs/heads/master | <repo_name>trisle/guuse<file_sep>/public/gulpfile.js
// Get modules
var gulp = require('gulp'),
minifyCss = require('gulp-minify-css'),
uglifyJs = require('gulp-uglify'),
concat = require('gulp-concat');
gulp.task('minify-css', function () {
// Landing
gulp.src(['css/landing/style.css', 'css/landing/style-... | 05a88782b97f7dd7a2237b11985291d85bdb48af | [
"JavaScript",
"SQL",
"Markdown",
"PHP"
] | 11 | JavaScript | trisle/guuse | 3638b14cb8739f98c45ea3bfe4d956acf5a26161 | e7f8f5f302d2e1043b5cec9f75bedb557ee6b7d2 |
refs/heads/main | <file_sep>class TeamMember {
name;
address = "BD";
constructor(name, address) {
this.name = name;
this.address = address;
}
}
class Support extends TeamMember {
groupSupportTime;
constructor(name, address, time) {
super(name, address);
this.groupSupportTime = time;
}
startSession() {
... | 30cc35cf3ab7bf7be1c674dfb0959ad50082cba4 | [
"JavaScript"
] | 2 | JavaScript | hafiz229/es6-class-inheritance | b5e5b1d4c31fe29c95744ecdec5e64aa56c4abed | 0cd9136bc5d2bd58fa0ae0eec662cef2c649042e |
refs/heads/master | <repo_name>Servo97/Dial_100_App<file_sep>/app/src/main/java/com/example/s/dial100app/LogoutActivity.java
package com.example.s.dial100app;
import android.content.Intent;
import android.support.annotation.NonNull;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
impor... | c60288ab93a0b649e37ce6da1e7795f1458460b2 | [
"Java"
] | 1 | Java | Servo97/Dial_100_App | 1bf0c4e71ab039b930f30b553b16a9c7e847b01c | 7a983a768a5cebe60545e7ed2838ccf4b4d0b60c |
refs/heads/master | <file_sep>//
// OnTheMapTabBarController.swift
// On The Map
//
// Created by <NAME> on 09/10/2017.
// Copyright © 2017 <NAME>. All rights reserved.
//
import UIKit
import FBSDKLoginKit
class OnTheMapTabBarController: UITabBarController {
//MARK: Properties
let udacity_otm = Udacity_OTM.sharedIn... | 1a8b12364311e877b6364abd4b8e62ee9232b340 | [
"Swift"
] | 6 | Swift | caueb/On-The-Map | d7f90db0d808938a5c4853e61f953090ebb7fca6 | 568c4b897262d826d2adbef13abce719d2f926f5 |
refs/heads/master | <file_sep>export PATH=${PATH}:/home/alexander/builds/HTCFlasher-20080806/src/:/home/alexander/handhelds/armv6/codesourcery/bin/
export CROSS_COMPILE=arm-none-eabi-
export AS=${CROSS_COMPILE}as
export OBJCOPY=${CROSS_COMPILE}objcopy
pushd .
cd /home/alexander/handhelds/htc/lk-msm7200a-htc-wince
bash build.sh
popd
cp /h... | 512bc057972a4d8b4c835f01dd5750bea4c6aed4 | [
"Shell"
] | 1 | Shell | thinhx2/tinboot-for-lk-xda | 480f6c68b42e9cece0a5601b2d5ef167881c2770 | c7dcc72eb33045c401e1928fa337d6256f553bcd |
refs/heads/master | <repo_name>vamsiampolu/cfn-flip<file_sep>/Ideas.md
Use a specific version:
* Use a yanked version from the pip using `==`.
* Add an email and maintainer and publish it on github and dockerhub.
* Use this image inside another image to create a read-dynamo-attributes table.
<file_sep>/Dockerfile
FROM python:3-alpine
... | 4cfeffb444fb75b9c560fbe117278c4eead4e020 | [
"Markdown",
"Dockerfile",
"Shell"
] | 5 | Markdown | vamsiampolu/cfn-flip | 0dfdbb8c1ee9d2b041eefd43a155593ca1b73211 | 0c0cf2808332a6ce833e4aa72644cf60df2ecc84 |
refs/heads/master | <repo_name>sswietoniowski/learning-aspnetcore-react-backend-web-api<file_sep>/Authorization/MustBeQuestionAuthorHandler.cs
using System;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using learning_aspnetcore_react_backend_web_api... | 00db85a16529a730668419923adcba3caf7ca0da | [
"Markdown",
"C#"
] | 2 | C# | sswietoniowski/learning-aspnetcore-react-backend-web-api | f3cf201a142e286ca88db75e72c62410765f196a | 073e22177537598e69af4adec880264fa33b5bc8 |
refs/heads/master | <file_sep>window.addEventListener('keydown', e => {
if (e.key == ' ') ClickCountSpan.innerText++
}) | dd8800f4301a73fb65b22fa085a8d9492285bfb3 | [
"JavaScript"
] | 1 | JavaScript | GoodDeiDie/gooddeidie.github.io | 684cbec7823266518f4eff8d924631d4e9fd1518 | c6208aae8a7980c1b8dcf2d9dbcdd84a57f883b0 |
refs/heads/master | <repo_name>CKertz/EasyMeals<file_sep>/EasyMeals/FirstViewController.swift
//
// FirstViewController.swift
// EasyMeals
//
// Created by TBD on 7/13/17.
// Copyright © 2017 TBD. All rights reserved.
//
import UIKit
class FirstViewController: UITableViewController {
/* let loginButton: UIButton = {
... | fa7ec6cc883d53dca3b181642f5548df7c71d4cf | [
"Swift"
] | 7 | Swift | CKertz/EasyMeals | aac746bc9f1821f59cf0ce5c855a8294fe563296 | 8effc7d9af73f83955728f62643ee065a1e4c1db |
refs/heads/master | <file_sep>import firebase from 'firebase/app';
import 'firebase/firestore';
var firebaseConfig = {
apiKey: '<KEY>',
authDomain: 'rbhchat.firebaseapp.com',
databaseURL: 'https://rbhchat.firebaseio.com',
projectId: 'rbhchat',
storageBucket: 'rbhchat.appspot.com',
messagingSenderId: '1049291089027',
appId: ... | 8019c0a0836f408132fa179ebeb738a08ad59c53 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | rbh-inc/shop-demo | 23c0f3d54f0981439d34de9e21bf20b826e30add | d1e237d6ab57d926b7d680f33be367ca20139931 |
refs/heads/master | <file_sep>/*
* Copyright 2020 See AUTHORS file
*
* 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 la... | 66fb025626a145dd6d2b59a1656f484156cd690f | [
"Markdown",
"Kotlin"
] | 2 | Kotlin | cmiles74/packr | 73bba347da18baa43649c39ba9d53da71eb2da7e | 780bfc6bed55bd4fa944ac9ba3dfe9957061675b |
refs/heads/master | <file_sep> function verander1() {
//hide foto 1
document.getElementById("foto1").style.display= "none";
//show foto 2
document.getElementById("foto2").style.display="block";
}
//en dat dan voor elke foto
| 69998a8b422a395285338276ef93aa86b2e1034d | [
"JavaScript"
] | 1 | JavaScript | mariekebrinkman/mariekebrinkman.github.io | 084d1815e9582efe7652cf3935ec2edd2d39ec7f | 438032507c08d217d48b044cdc50cb2a24c105c5 |
refs/heads/master | <file_sep>setwd("<PASSWORD>")
resi <- read.csv("fakeRESI.csv")
d114 <- read.csv("fake_114_20150601.csv")
library(dplyr)
resi <- tbl_df(resi)
d114 <- tbl_df(d114)
fulldata <- inner_join(resi,d114,by="StudentID")
fulldata <- tbl_df(fulldata)
subset <- filter(fulldata, CO.YR=="R") %>%
mutate(subject = substr(Course,... | 7b65a222333e4eb44fa54674ed7db65d6e1adfab | [
"R"
] | 16 | R | anbnyc/datasciencecoursera | 7c87c4fc31e51381dfcbe9a0cc0a74042fae4078 | 69bcfe2bf73f25fade318e742be0b080189dca86 |
refs/heads/master | <file_sep>#!/usr/bin/env python
# -*- coding: utf-8 -*-
import miniforte
import psi4
print(f"Welcome to miniforte!")
print(miniforte.add(3,4))
psi_options = psi4.core.get_options()
psi_options.set_current_module('FORTE')
myclass = miniforte.MyClass()
myclass.use_psi4_options(psi_options) # <= breaks here
print(f"Exec... | 635f1239871b0b21a1159f09e35436efe3e95463 | [
"Python",
"CMake",
"C++"
] | 3 | Python | evangelistalab/miniforte | 2ee129c8dcc16911c406edf0696cb4a496b84fc4 | 63e0b242ed66990298eb9820a43a8e2359ac2c60 |
refs/heads/master | <file_sep>//
// Constants.swift
// BaseConverter
//
// Created by <NAME> on 4/25/18.
// Copyright © 2018 <NAME>. All rights reserved.
//
import UIKit
let alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
#if DEBUG
let bannerAdsUnitID = "ca-app-pub-3940256099942544/2934735716"
#elseif RELEASE
let bannerAdsUnitID = "ca-app-... | 663c218d2d803b3d4a08c488c6dd4a460cdaec0f | [
"Swift"
] | 12 | Swift | kavanichen/BaseConverter | b12152398800329c82872c17364c2735eca18acb | 96e2e01db500acec1254b02bc4af4713ce5c16c9 |
refs/heads/master | <repo_name>abhilash1408/WebApplication2<file_sep>/WebApplication2/Services/IClanService.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WebApplication2.Models;
namespace WebApplication2.Services
{
public interface IClanService<T>
{
Task<IEnumer... | a0491b4a7deb74f75ef4d57a7311be67425b669a | [
"C#"
] | 3 | C# | abhilash1408/WebApplication2 | b09724c29ff7f2e99f3c83e3fafe937ab84ed0d1 | 4986d552f4f2ef34ecc021fbbf7b4248048276ce |
refs/heads/master | <repo_name>tutorApp/winBid<file_sep>/winBidJavaEE/src/com/bridgeOnlineBidding/com/generateBridgeTok.java
package com.bridgeOnlineBidding.com;
import java.io.IOException;
import java.sql.SQLException;
import java.text.ParseException;
import grammer.bridgeOnlineBidding.com.bridgeParseException;
import grammer.bridgeOnl... | 743db7d58a294158b86dde0d1a39f09f66815d71 | [
"Java",
"SQL"
] | 22 | Java | tutorApp/winBid | aaf15b1f39b35f97f31c9e8433ed795ca5aa2191 | 5759dc1b9a3ac7f11608b7f4e1bf6945c709987e |
refs/heads/master | <repo_name>stevenchen3/config-my-mac<file_sep>/vim/README.md
# VIM configuration for Mac
This is my preferred `vim` configuration for development environment. It works good enough for me.
But some of them may not make sense to you, thus, you can remove those. And in this configuration,
I don not use `MacVim` as sugges... | 5c9f867eaaec52d50d2a98e4eeff082424d3cd86 | [
"Markdown",
"C++",
"Shell"
] | 16 | Markdown | stevenchen3/config-my-mac | 82404e3b5d93d962b23d87769c0563fbfd3ff50c | cc2dd8856854acfc59274c30f362a0bb988de4ce |
refs/heads/main | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hamnen
{
class Pier
{
public int TotalWeight { get; set; }
public int AverageSpeed { get; set; }
public double[] Space { get; set; }
public in... | 125ca5cbc4210fe81b7979c11ae60670d5e71f17 | [
"C#"
] | 4 | C# | vonKludburgh/Hamnen | 5694b2bd38fa1c0290ffb7ccb21c61f39953abe6 | 6819e64bdc47ab1f8a6b4874b70270ae13f1e1a5 |
refs/heads/main | <repo_name>Sunday72/kalkulatorPython<file_sep>/kalkulatorBangunDatar.py
print("Nama: <NAME>")
print("Kelas: X RPL 1")
print("No. Absen: 19")
print("==========================")
############################################################
##### OPERASI PERHITUNGAN LUAS DAN VOLUME BANGUN DATAR #####
###################... | 7dcbe188e66c40282b18eb2943d5847a54a657bb | [
"Python"
] | 3 | Python | Sunday72/kalkulatorPython | 8e53a12c772761bf3d1c4723f9cf0bdd991ea763 | 1d759c84dcd0ff7b99963a7497439f877aaa3453 |
refs/heads/master | <repo_name>knyazevmaksim/Bracket-Analyazer<file_sep>/include/square.h
#ifndef SQUARE_H
#define SQUARE_H
#include "analyzer.h"
class SquareAnalyzer:public Analyzer
{
public:
SquareAnalyzer();
~SquareAnalyzer();
void copyText(char* , int ) override;
void analyze() override;
// bool isAllbra... | 334084c70ad3ec4f82f5187643eca93d5d0ed09c | [
"Markdown",
"CMake",
"C++"
] | 12 | C++ | knyazevmaksim/Bracket-Analyazer | 41da3b8153082b953ae4607b9dd01d3e47d589a4 | 546d147370c9ecbe921e333951df803e00201052 |
refs/heads/master | <file_sep>jQuery.extend(jQuery.fn.dataTableExt.oSort, {
"num-html-pre": function (a) {
var x = String(a).replace(/<[\s\S]*?>/g, "");
return parseFloat(x);
},
"num-html-asc": function (a, b) {
return ((a < b) ? -1 : ((a > b) ? 1 : 0));
},
"num-html-desc": function (a, b) {
... | ddf0024967127f4279e783915031243652632565 | [
"JavaScript"
] | 5 | JavaScript | kvala369/KVmain | 00e6fd9da9309efc14e856653b238e9afd051cd2 | c9dae9fb12aed890808e83345d7092161bb5217a |
refs/heads/main | <file_sep>module lockbox.dev/cmd/lockbox-spoof
require (
github.com/golang-jwt/jwt/v4 v4.4.3
lockbox.dev/sessions v0.3.0
)
require (
golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad // indirect
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f // indirect
yall.in v0.0.7 // indirect
)
go 1.17
<file_sep>p... | 8baab4de0f9bd0d118191f8e3246a9ead594f2c6 | [
"Go",
"Go Module"
] | 2 | Go Module | lockboxauth/lockbox-spoof | 3f15a90fbfcf017e7e1024d34b5c1764e780572e | ae7b96490e7237c7c3fa5875ee2d842608dbe37f |
refs/heads/master | <file_sep>using System;
namespace PlaintainLib
{
public class Plaintain
{
/// <summary>
/// Create an empty Plaintain
/// </summary>
public Plaintain()
{
Balance = 0;
GroundRides = 0;
SubwayRides = 0;
}
/// <summary>
... | ef272857790fdf498652457de6a9dd18cf462e88 | [
"C#"
] | 2 | C# | FlyingChopstick/PlaintainLib | 942f11ba27823f3e99ce74355e07625b98bad689 | 0c8bde4caa856c0743e4572780d401d42b9ba818 |
refs/heads/master | <repo_name>phfsantos/cordova-plugin-smaato<file_sep>/www/SmaatoPositions.js
/*
Copyright 2015 <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... | b1ca324617944a10ea2619c2ef3e7e20f3c9aa20 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | phfsantos/cordova-plugin-smaato | 258b4dec113ccd42bcff522061190ea822755336 | 2f3f5d95e7296432d5e1abfd5cb30c5142b0cf44 |
refs/heads/main | <repo_name>alam-sa/Diamond<file_sep>/diamond.js
function diamond(num){
let tampung = ''
for (let i = 0; i < num*2-1; i++) {
tampung = ''
for (let j = 0; j < num; j++) {
if (j == Math.abs((num-1)-i) || j == num-1) {
tampung +='$ '
} else {
if (i>=0 && j< Math.abs(num-1-i)) {
... | 1aa9db690b51a1feef5b010d364dc5cc43d690d6 | [
"JavaScript"
] | 1 | JavaScript | alam-sa/Diamond | 5c567e5c4b92a49b2d40a7c151dda43e80e74244 | b772cf5227637a4cf4727203feb1a88773bdb070 |
refs/heads/master | <file_sep># preppin-data-challenge
Code for the Preppin' Data Challenge
[Preppin' Data Challenge](https://preppindata.blogspot.com/) is a weekly challenge for learning to prepare data and use Tableau Prep. Since I don't use Tableau Prep, I'm performing the challenge steps as Python practice.
<file_sep># -*- coding: ut... | 224e1af9f5c380fedb8197c0c666d636d4daf25f | [
"Markdown",
"Python"
] | 5 | Markdown | gianghdo/preppin-data-challenge | 3fcb01466686ce85ef93421dd3b5767e0dd87e93 | b572eb0a69beffdc455070b87bc2e0f09f37332a |
refs/heads/master | <file_sep># w4l
write for lazy
##安装
npm install -g https://github.com/IveChen/w4l.git
##使用
w4l create [projectName]
安装完后
cd [projectName]
然后执行 npm install 安装依赖
最后执行npm start即可<file_sep>#!/usr/bin/env node
var program = require("commander");
var fs = require("fs");
var config = require("./package.json");
prog... | 8fdb40b1ae19f4c536d8f07dd8a4075a5c239b22 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | IveChen/w4l | b8b70ea8139225e41c4d81a35320f1c66120c2cc | 521014a6bbc0e2dc0ffb6ff22ead2f14d19238e1 |
refs/heads/master | <file_sep>const express = require('express');
const helmet = require('helmet');
const cors = require('cors');
const postRouter = require('./posts/postRouter');
const userRouter = require('./users/userRouter');
const server = express();
server.use(helmet());
server.use(express.json());
server.use('/posts', logger, p... | 3f1d49f9d156365d4c568d1b6cd600424349fc67 | [
"JavaScript"
] | 2 | JavaScript | ifiokudoidiok/webapi-iii-challenge | 073b4a99b1380cad8d7263398ff741246fc4ade6 | cec094d2a721a73ff8d881b30f73ffd91072db02 |
refs/heads/master | <repo_name>tantaroth/ngfire<file_sep>/src/app/login/login.controller.js
(function() {
'use strict';
angular
.module('workspace')
.controller('LoginController', LoginController);
/** @ngInject */
function LoginController($scope, $log, $firebaseArray) {
var vm = this,
ref = firebase.database()... | 31cf92b71f2e95a55bda1ecef708d0b0bc54f2c7 | [
"JavaScript"
] | 1 | JavaScript | tantaroth/ngfire | dbb7ba13e23c6aca8d48d5858463353d46571afe | 8dc1c52e54032b2c25d83817fbcf2d132eb580f6 |
refs/heads/master | <file_sep># MsfMulti
`msfmulti.py` helps running a given metasploit exploit against multiple targets.
It can be particularly useful during large scope engagements.
## Dependencies
* msgpack-python
* requests
## Usage
The script relies on Metasploit's RPC interface, before using it make sure you
have loaded the ... | 9eb0d75780e2f8067fcf2ea4a3e2c0d261e1a792 | [
"Markdown",
"Python"
] | 4 | Markdown | fr34k8/msfmulti | cd0bd634bcf366ab41e8cfdc264ea881fc5381c7 | 6e4fcc59d8ddf7b2d43216e2f7a0f7c3d1288d2c |
refs/heads/master | <file_sep># Post-Commit-hook<file_sep>#!/bin/bash
GIT_MESSAGE=`git log --format=%B -n 1`
#echo "$GIT_MESSAGE"
JIRA_ID_COMMIT=`echo $GIT_MESSAGE | cut -c-4`
echo "$JIRA_ID_COMMIT"
JIRA_URL="https://karanchauhan.atlassian.net/browse/RD-1"
if [ $(curl -LI "$JIRA_URL" -u '<EMAIL>::M6BJh3JbZE6fCQ3N2D2AA402' -o /dev/null ... | bd333f0b60962f97dc5f128663e5abe3e946a454 | [
"Markdown",
"Shell"
] | 2 | Markdown | karanveersingh/Post-Commit-hook | 493029a854df355300cd76318cfa19e4da0f7837 | ee68b45280e67edafb7f2d1e4774782d25ec2982 |
refs/heads/master | <repo_name>hjblok/rails_iron<file_sep>/spec/lib/worker_spec.rb
require "spec_helper"
describe RailsIron::Worker do
let(:instance) { TestWork.new }
let(:params) { [1, "twee", "drie"] }
let(:iron_task_id) { "123abc456def789ghi012jkl" }
subject { instance }
before do
instance.params = params
instance.i... | 38fbe71c7b73c8e06fc05af8a510b1ae0aebd265 | [
"Markdown",
"Ruby"
] | 8 | Ruby | hjblok/rails_iron | 36739eb25cac52567fbcfd668cfdd053e96a8bea | 606fbed2290a592d4502d491419d2d7c46994bcd |
refs/heads/master | <file_sep>/* *****************************************************************************
* Name: <NAME>
* NetID: aturing
* Precept: P00
*
* Partner Name: <NAME>
* Partner NetID: alovelace
* Partner Precept: P00
*
* Description: Prints 'Hello, World' to the terminal window.
* ... | df3913bb4e848315cf19a66a57577f02de7119bd | [
"Java"
] | 4 | Java | tzhang2019/study | 9d46d3945f26e70e8583fc12127f955830a5bc4f | 4399d7fea064be06124114cf38bac46afb149043 |
refs/heads/main | <file_sep>//Arrays e seus métodos
//A partir da variável abaixo e utilizando um método de array, retorne a raiz quadrada de todos os valores do array original em um novo array
//map trabalha com "transformações de arrays" ou seja passa de uma coisa para outra retornando um novo arrayd
var numbers = [4, 9, 16, 25];
var... | 8c1ce676e8ff4c2a9ed6543841e9c7ee112fdcbf | [
"JavaScript"
] | 2 | JavaScript | NicolasCardia/exercicios_js_resilia_modulo4 | efd683c455c8b3db310e122f03e8e89b789155d6 | 5e9b1377e2bbd46067d3c59b7678ee521ed3b039 |
refs/heads/master | <repo_name>lukeautry/repros<file_sep>/0x/signer-address-assert-failure/index.ts
import { PrivateKeyWalletSubprovider } from '@0xproject/subproviders';
import { Web3Wrapper } from '@0xproject/web3-wrapper';
import ProviderEngine = require('web3-provider-engine');
import RpcSubprovider = require('web3-provider-engine/sub... | a7b4c23ceebf7450f5f12fcfa796c9dcbf63c100 | [
"Markdown",
"TypeScript"
] | 2 | TypeScript | lukeautry/repros | c760d13215e7df19272080608633d9b3711e3caa | fc247dc71f9f79eec59d5561460d7d11ad3aca0e |
refs/heads/master | <file_sep>#!/usr/bin/env python
# Author <NAME>
# Hybriteq Inc
# To run this script selenium pip module has to be installed
# API Docs http://selenium-python.readthedocs.io/api.html#module-selenium.webdriver.firefox.webdriver
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from seleniu... | ebc7067c916d61d93954a384671668e8e6ecf593 | [
"Python"
] | 1 | Python | hybriteq/selenium_python | 266cad8f1cc8a2289c931af40b761092071eab6a | e3a60fc4495e4a84206de2813028ffa95bbc9f84 |
refs/heads/master | <repo_name>whatiskeptiname/can_bot<file_sep>/can.ino
#define mA1 12 // A motor
#define mA2 11
#define mB1 10 // B motor
#define mB2 9
#define trigPin 8
#define echoPin 7
#define buzzer 4
#include <Servo.h>
Servo servohand;
Servo servohead;
long int dist, duration;
char input;
void sensor_check()
{
... | 8184375797dc3b9e47b0ce2581620a79e98bd91b | [
"C++"
] | 1 | C++ | whatiskeptiname/can_bot | dabaff999c105c5bf270f050d8a9f7c0e1fbeccd | dc52b35388dcd36d22e626980ec43c52aaf3f750 |
refs/heads/master | <file_sep># Load the rails application
require File.expand_path('../application', __FILE__)
# Initialize the rails application
Wws::Application.initialize!
<file_sep>class HomeController < ApplicationController
def dashboard
end
def login
end
def all_events
end
def my_events
end
def new_event
e... | eb485b2c2183cc3de105cda27bd0272262c44ae6 | [
"Ruby"
] | 2 | Ruby | benpfohl/PraiseHub | 9dad514d31e7c5713200f66301391e25f614999d | fb6bf2e6fa8297989b4b0277bb32eda6a4de6bc5 |
refs/heads/master | <repo_name>MihailVasilev/simple-gallery<file_sep>/main.js
// Создать сайт, позволяющий просматривать несколько страниц последовательно друг за другом.
// Содержимое страниц значения не имеет.
// Каждая страница показывается в течение определённого времени, по истечение которого происходит
// переход на следующую страни... | 56153bcc3ee607443d872d11ab8fd1227f10c9a3 | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | MihailVasilev/simple-gallery | a7b01e31a765b4baf7eee079f35f25cb01618dd6 | 0d7a61eb274124cce6658fb2939fd3db900d6a0f |
refs/heads/master | <repo_name>radekbor/java-course-g2<file_sep>/src/dev/group2/revision/Test1.java
package dev.group2.revision;
public class Test1 {
public static void main(String[] args) {
byte odp1 = 2 * 2;
int two = 2;
// byte odp2 = two * two; nie wolno!!!
final int finalTwo = 2;
byte odp... | 9d57ac0e698a658fce4b77cecd2adf0961ad8097 | [
"Java"
] | 36 | Java | radekbor/java-course-g2 | a7ff4093b296c8e24cea83d71507b651bcca1b47 | b0a893dee0f7922aafedb91876f0fe8f3a8ee327 |
refs/heads/master | <file_sep>import React, { Component } from 'react'
import PropTypes from 'prop-types'
import SmallPopup from './SmallPopup'
const imageOffset = {
left: 15,
top: 31
}
export default class Marker extends Component {
static propTypes = {
// input, passed to events
anchor: PropTypes.array.isRequired,
ad... | 24349981ad32d5a02ecee8068f18e8e2114511d7 | [
"JavaScript",
"Python"
] | 7 | JavaScript | NiklasValuri/junction2019 | abe63ba50777c726d6fb8454fdb5152c8ba155a1 | cb71eb7ecda356c086f4b96e28f545c97e346a10 |
refs/heads/master | <file_sep># XAMPP TODO LIST
Warmup exercise for Wayne State Computer Science Senior Project Winter
2019
The MySQL credentials I used were as follows:
Username is root
Password is <PASSWORD>
<file_sep><!DOCTYPE html>
<html>
<head>
<title>XAMPP ToDo Project::Login</title>
<h3>Login:</h3>
</head>
<body>
<form m... | 5ac0be4ef74d84a0023c55d590fd6576238fb475 | [
"Markdown",
"PHP"
] | 4 | Markdown | eplaberge/xamp_todo | 752644e84a7e02a2a5deb0fec7fabc3609294950 | d6a4cee5a31f5a00d365f7d0f37ea4bca5ee4848 |
refs/heads/master | <repo_name>agervelis/XamarinCalc<file_sep>/XamarinCalc/XamarinCalc/MainPage.xaml.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Essentials;
namespace XamarinCalc
{
public partial ... | 87dc949048fd6daccecdebfaee56e33e3c490c7b | [
"C#"
] | 2 | C# | agervelis/XamarinCalc | b6d4c548b8bf7e33fa416739d128216d247b6835 | 1881d134a41f3bc6387f81db9b88a36f30234cb1 |
refs/heads/master | <repo_name>DorianKIUT/odooEmploiDuTemps<file_sep>/models/__init__.py
# -*- coding: utf-8 -*-
from . import iut_classe, iut_cours, iut_agenda, iut_eleve, iut_professeur
<file_sep>/models/iut_eleve.py
# -*- coding: utf-8 -*-
from odoo import models, fields, api
from datetime import datetime
class iut_eleve(models.M... | fac66df5d0376012581d827d345153b28b08f509 | [
"Python"
] | 2 | Python | DorianKIUT/odooEmploiDuTemps | 04d62b1e5aeac0c6140b95ca26f042a3a0bdd8b3 | 5b83d4ed295482e2d6e8f3542130325aad83bef9 |
refs/heads/master | <repo_name>verebes1/Dicee<file_sep>/Dicee/ViewController.swift
//
// ViewController.swift
// Dicee
//
// Created by verebes on 05/03/2018.
// Copyright © 2018 A&D Progress. All rights reserved.
//
import UIKit
class ViewController: UIViewController {
@IBOutlet weak var diceImageView1: UIImageView!
@I... | 21d3f136a4c806fb24276a0f97413dc824deea67 | [
"Swift"
] | 1 | Swift | verebes1/Dicee | 73da0a050f686de26840c75af441a3b5397fa373 | 0066c868343471e3aa10c07e85c3dddbd9754fa8 |
refs/heads/master | <file_sep>one = input("Введите первое число ")
too = input("Введите второе число ")
srednee = ((int(one) + int(too)) // 2)
print(srednee)
<file_sep># pythone_bites
my first's excercises
<file_sep>cinema_year = input("Enter your movie year ")
cinema_year = int(cinema_year)
if 1915 <= cinema_year <= 1963:
print("... | 49aa9e2b03eae8bff64bca1424646b62db846bd7 | [
"Markdown",
"Python"
] | 4 | Python | erenkrbl/python_bites | 18c32922daa51118489cb743c5cf24a53e5ab0be | 0442d01f0cb59fed2f24eeb09585db82ceff5db8 |
refs/heads/master | <repo_name>tanghui315/game_admin<file_sep>/src/main/java/game/core/common/Constants.java
package game.core.common;
/**
* Created by pengyi on 2016/4/10 0010.
*/
public class Constants {
public static final String SESSION_USER = "sessionUser";
public static final String COOKIE_USER = "cookieUser";
public... | 6adf6ee65dccd36e211f1071ba90ab295347700c | [
"Java"
] | 1 | Java | tanghui315/game_admin | c8ab111c5621e9b8ebffe3c7b380b6fc20430dca | 1e90db744ffed865f7311485649c3637fc579f98 |
refs/heads/master | <file_sep>#include "ros/ros.h"
#include "mysrv/Random.h"
// Function for generating a random number between 2 numbers [M,N]
double randMToN(double M, double N)
{
return M + (rand() / ( RAND_MAX / (N-M) ) ) ;
}
// Function to generate random number between a max and min value and assign to x and y. i.e, in this... | c61096ad899de17d444fc8d739d584ea8d6724e8 | [
"Markdown",
"C++"
] | 3 | C++ | jerin-joy/holonomic_robot_2D_simulator_with_ROS | f7a576194b24b1f8b7fe155d1d9e292de96827d6 | d6d8ccb30b8ab30eaae8ed157c913f502280af92 |
refs/heads/master | <file_sep># djangotest
为了新测试django的代码而做的操作
<file_sep>from django.shortcuts import render
from .models import UserMessage
# Create your views here.
"""
渲染并加载message页面
"""
def get_message_form(request):
"""
查询操作举例
:param request:
:return:
"""
# 查询所有数据
all_message = UserMessage.objects.all(... | 778ad457c8d6731aa25b7c6bf92ac0e3a42036da | [
"Markdown",
"Python"
] | 2 | Markdown | savadika/djangotest | dfdc9cceec922bd12394086231421370c3bfbe59 | c40a24e31149bca4ee94df123da1a155a6ec33fc |
refs/heads/main | <file_sep>/*********************************************************************
*********************************************************************/
#include <ESP32CAN.h>
#include <SPI.h>
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adapted_SSD1306.h>
#include <driver/rtc_io.h>
#define OLED_RESET 4
Adafru... | 9708dc6ec75edafdeb9c77bedeba62feeba2fc28 | [
"Markdown",
"C++"
] | 21 | C++ | noud-github/PSA_CAN | 46ff7c06a98b1364ef895183fd4e177322c0d53f | 9b3be60a1448dd49dc84a5242a67a61adf37c641 |
refs/heads/master | <repo_name>E-LLP/pointedninjas<file_sep>/src/main/java/conf/Routes.java
package conf;
import ninja.AssetsController;
import ninja.Router;
import ninja.application.ApplicationRoutes;
import controllers.ApplicationController;
import controllers.UserController;
public class Routes implements ApplicationRoutes {
@Ov... | acea2464dab1a7f39eb3980614771fceaf234a13 | [
"Markdown",
"Java"
] | 6 | Java | E-LLP/pointedninjas | e4203a15cd41b69a9da0b7d21841cfba77a9af4a | daf22eb68ce9e7658a09ba027c47be44a6eeb0b8 |
refs/heads/master | <repo_name>eduardoscopel/ProgrammingAssignment2<file_sep>/cachematrix.R
## This functions can be used to reduce the memory used to calculate the inverse of a matrix
## makeCacheMatrix creates a special matrix object used to cache its inverse
makeCacheMatrix <- function(x = matrix(), n = nrow(x)) {
x <- matrix(x, nco... | b0ceed9bf36f6bd0a1f6d203d6e291463dc192f4 | [
"R"
] | 1 | R | eduardoscopel/ProgrammingAssignment2 | 0d8fa6cf9b714df2823244ce4964c5cedca22b67 | 6bad0b575835a093691432e72da7001a59786f71 |
refs/heads/master | <file_sep># coding: utf-8
import re
from gettext import gettext as _, ngettext as n_
import datetime
class FieldError(Exception):
def __init__(self, field, val, msg):
self.field = field
self.val = val
self.msg = msg
def __str__(self):
cls = self.field.__class__.__name__
return '%s\n%s: %s' % ... | d8ccfe6dd06fdb8688a483b5a534517cb83df9f3 | [
"Markdown",
"Python"
] | 7 | Python | ademilsonfp/jsonio.py | 7b8615628738c785f73fad4b2e7d4e33f98dfd16 | 807fcf605c7b458bb6473dc35fcf2b55c745d455 |
refs/heads/master | <file_sep>function spam() {
if (confirm('Hey le site xxxvidxxx est trop bien. Viens dessus stp please'))
{window.open("https://www.youtube.com/watch?v=dQw4w9WgXcQ", "nom_fenetre","options_fenetre")}
else{}
}
document.getElementById("clickMe").onclick = doFunction;
function doFunction() {
document.que... | 15064649f3a74e3b6ebf2e94e9d5dc8fa5685f7c | [
"JavaScript"
] | 1 | JavaScript | Teoma777/BetterMotherFuckingWebsite | 20a356e565f59877602f21e5c4f558a51b2863e4 | f1f24bd429bd174b4c329d2588fbcd1036bd7fc3 |
refs/heads/master | <file_sep>angular.module("umbraco")
.controller("Umbraco.PropertyEditors.TextboxImprovedController",
function ($rootScope, $scope, $log, assetsService, umbRequestHelper, angularHelper, $timeout, $element) {
// Loads Default Max Count
$scope.model.maxCount = $scope.model.config.maxCount;
// ... | a920fb3598f13238f532d52f490230fbc2ff9429 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | markusdrake/Textbox-with-Character-Count | 04b50b185b8c1a466854ee48218b3ea25cc7ad07 | f75bb425b70aaf8eac2cf928f8abe8bf11413580 |
refs/heads/main | <repo_name>thanhmai120/htttns<file_sep>/src/java/dao/CotKPIDAO.java
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package dao;
import static dao.DAO.con;
import java.sql.... | 3e6eb2a9cc4700ff55f59a2d43a934054896c770 | [
"Java"
] | 11 | Java | thanhmai120/htttns | 4febe453d1b8c4484ae169f9c297feaaf08b527b | 9eb5f9a6d6ea1666568d8c7a128ab86878897f6a |
refs/heads/master | <file_sep>//
// ResultsViewController.swift
// Pixcan
//
// Created by <NAME> on 5/7/18.
// Copyright © 2018 <NAME>. All rights reserved.
//
import UIKit
extension UIImage {
func getPixelColor(pos: CGPoint) -> UIColor {
let pixelData = self.cgImage!.dataProvider!.data
let data: Uns... | 2600486776fe93d953dfdb34327159e9e81c2d84 | [
"Swift",
"Markdown"
] | 9 | Swift | Tascate/Pixcan | 2973feed824cb3b54d259e5465fd5243f64c0104 | c90d511c64d47cb7e8efb64228341b83b30b2251 |
refs/heads/master | <file_sep>#!/bin/sh -e
DISK=/dev/sda
MOUNTPOINT=/mnt/nixos
mkdir -p $MOUNTPOINT
# Setup partition layout
# Swap should be >RAM size if you're going to use hibernate
wipefs --all --force ${DISK}
parted ${DISK} -- mklabel gpt
parted ${DISK} -- mkpart ESP fat32 1MiB 512MiB # boot
parted ${DISK} -- set 1 boot on
parted... | 3e2c7e5a883dad465abaa2257a9a9b613ca50d46 | [
"Shell"
] | 1 | Shell | shizonic/wipnix | d77cf5d31650704d7363b0cc6cd52ed76a0be51f | 0b30b2d5290c54319364ddf6b8426c2dd1020e53 |
refs/heads/master | <repo_name>tiphedor/common-password-checker<file_sep>/README.md
Original work by [__meehow__ ](https://github.com/meehow)at [meehow/common-password](https://github.com/meehow/common-password) ; foked to update the password list.
[](https://badge.fury.... | 694fe54d76141cf3927430e087dc0ed5fcbacc72 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | tiphedor/common-password-checker | 24d6fdc83a8cded44cb00c8e5080e207706baac2 | 4fb0c9888ba85d7048dff96754df1a32db5f516c |
refs/heads/master | <file_sep># One Month Rails
This is the Pinterest sample application for [*One Month Rails*](http://onemonthrails.com), by [<NAME>](http://twitter.com/@rishidhanaraj)<file_sep>class Pin < ActiveRecord::Base
belongs_to :user
has_attached_file :image, :styles => { :medium => "300x300>", :thumb => "100x100>" }, :def... | 8e130401be985e93a1607b7520a1f67a9d2c6dd8 | [
"Markdown",
"Ruby"
] | 2 | Markdown | rdhanaraj/pinterest | c3c0988b9daee8e088880340805fb424a90d1e1c | 966f6059aa3c7a7c58f52e610d417941da6c0aab |
refs/heads/master | <file_sep><?php
namespace Tecbot\AMFBundle\Zend\Text\Table\Exception;
class OverflowException
extends \OverflowException
implements ExceptionInterface
{
}
<file_sep><?php
namespace Tecbot\AMFBundle\Zend\Stdlib\Exception;
class DomainException
extends \DomainException
implements ExceptionInterface
{
}... | 15acb7496733bbfb0a2ff2085bd0b4f5bce8cb3c | [
"Markdown",
"PHP"
] | 165 | PHP | jocl/AMFBundle | a7227aee1a4cfa387a2a486e6dfbee734603a710 | 63fec1beac43961c4b635cd0944a730f216c7689 |
refs/heads/master | <file_sep>#include "rbtree.h"
#include <time.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
struct rbtree *rbtree;
long start_from = 0;
long **proc_array;
char buffer[256];
const char *magic = "\xe8\x8a\xb8\xe5\x98\x89\x00\x00";
// Check First 9 bytes as Magic Value \xe8\x8a\xb8\xe5\x98\x89\x00\x00
voi... | 2d871255631f6452927dc527f102a860e7dfe4d7 | [
"C",
"Makefile"
] | 5 | C | TNPLR/integer-partition | e6c1db6b557277b7ebbc58595a6d653ac8ea7228 | d979343ba844151dce4348a64128a05e3d93e658 |
refs/heads/master | <repo_name>uchenily/lisp2-gc<file_sep>/lisp2-reallocate.c
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#define STACK_MAX 256
#define HEAP_MIN 16
#define HEAP_HEADROOM 1.5
typedef enum {
OBJ_INT,
OBJ_PAIR
} ObjectType;
typedef struct sObject {
ObjectType type;
// During the ... | 9d3df6f25bf54476a145fe75f2c6399a1c92b664 | [
"Markdown",
"C",
"Makefile"
] | 4 | C | uchenily/lisp2-gc | c85ac0488305b139c09a68cdc34f225fa4dac760 | 5679493b8a3e68f3b4a6c933babcb1f4c2c8ff01 |
refs/heads/master | <file_sep>const {Router} = require('express');
const authController = require('./controllers/authController');
const projectsController = require('./controllers/projectsController');
const authMiddleware = require('./middlewares/auth');
const routes = Router();
routes.post('/register',authController.register);
routes.... | 52a433a57b975ee962bc48545bdbd4d6626ae6f4 | [
"JavaScript"
] | 4 | JavaScript | pedro-drosa/apinode | 62cd546064dbd7c82ed5c1740d42b20769d2ab50 | 2527e24cae1e9f27af208ecc91b938622cb22a57 |
refs/heads/master | <repo_name>sonir/yaritori<file_sep>/src/mv_agent.sh
echo "Hello."
ls
cp $1 ../../../data
<file_sep>/src/visual/MotionManager.hpp
//
// MotionManager.hpp
// yaritori
//
// Created by Hana on 2018/01/05.
//
//
#ifndef MotionManager_hpp
#define MotionManager_hpp
#include "ofMain.h"
#include "ofxGismo.h"
#include "ag_... | 8b1f565f5664af3caca70de675d5658a617b556d | [
"Markdown",
"C++",
"Shell"
] | 5 | Shell | sonir/yaritori | 01916323f6c28087fa617aaae8404c49547f8d4e | a1e1efcfa6965ba825838828e08f9b6d83887afd |
refs/heads/main | <repo_name>supernovaPmx/mi.com<file_sep>/src/js/test.js
console.log(123);
console.log(1111); | 180eae87bfe5980843463fa6face82901372aaa6 | [
"JavaScript"
] | 1 | JavaScript | supernovaPmx/mi.com | 517503110ae89799d7223ac78e1dce7e22e7fe8c | ee827705dba8ee846ac32be584e80412e2c14cc6 |
refs/heads/main | <repo_name>evezor/b3_board<file_sep>/examples/example1.py
from machine import Pin, ADC
import time
import pyb
adc = pyb.ADC("A0")
led1 = Pin("D5", Pin.OUT)
led2 = Pin("D13", Pin.OUT)
button1 = Pin("D12", Pin.IN, Pin.PULL_UP)
button2 = Pin("D11", Pin.IN, Pin.PULL_UP)
def buttons():
while True:
if not b... | e05181551d5bdeec490c0cdef196faddfd5993a6 | [
"Markdown",
"Python"
] | 2 | Python | evezor/b3_board | 59e73981390b567c222a5b1e20d321f4cb61346c | 272cf1b112ff0d7564d42605e2f155404a0b44a3 |
refs/heads/master | <file_sep>import Error from '@/views/other/Error'
const otherRoute = [
{
path: '/error',
component: Error,
// redirect: '/administrator/users',
name: 'error',
}
];
export default otherRoute;
<file_sep><?php
namespace App\Http\Requests;
use App\Rules\Captchas;
use Illuminate\Val... | 3d2191c894922535d8cd8f9164623bf5fafbe898 | [
"JavaScript",
"PHP"
] | 9 | JavaScript | gamin954/auth | ccd4efc071f4da824e398085ca10b940c79747be | 9d1c423f433d7b132bb294d59d27731dde967bfc |
refs/heads/main | <file_sep>import numpy as np
import torch
device=torch.device('cuda')
A=torch.tensor([0,1,2,3,4,5,6,7,8,9],device=device)
B=torch.tensor([9,8,7,6,5,4,3,2,1,0],device=device)
C=A+B;
for i in range(10):
print(C[i])
<file_sep>import numpy as np
import torch
#device=torch.device('cuda')
A=torch.tensor([0,1,2,3,4,5,... | 0fa9d76eadf0a2627db25190986ab0dd80c9ed9f | [
"Python"
] | 2 | Python | jchen706/gpgpuskip | 1eb9579bd1043af657cf4c40d407b3d2b35adf99 | bda36e008dd69e71551a553738ee075998058f12 |
refs/heads/master | <repo_name>pmalves/magicScript<file_sep>/README.md
# magicScript
The Magic Script
<file_sep>/magicScript.sh
#!/bin/bash
###############################################################################
#
# Welcome to the Magic Script. The script that does Magic!
#
# The goal of the project is to make install and config... | 45aba59f264ca91937d85f7300b97eead469a4c0 | [
"Markdown",
"Shell"
] | 2 | Markdown | pmalves/magicScript | 412884f5be19840e16ed723d3af4a154b3a15819 | 78d5f83deaef6dc136f8a53815cd30656dcc5d59 |
refs/heads/master | <file_sep><ul class="small-block-grid-2 medium-block-grid-3 large-block-grid-4"><?php
foreach ($products as $item):
?>
<li><a href="index.php?view=product&id=<? echo $item['id'];?>"><?echo $item['title'];?></a>
<img src="static/img/<? echo $item['image'] ?>">
<p><? echo $item['price']; ?></p>
<p><? echo... | 0cb4bb5398511c9a6c31328a89ca8f1a200df0ee | [
"PHP"
] | 10 | PHP | AlexeyZatsepin/Shop | da203b150b17d820a1d3c63090db98a1ba81d03c | 32346b5b6931c0c03bd1b504e98795a87165fdda |
refs/heads/master | <repo_name>timbalam/ProgrammingAssignment2<file_sep>/cachematrix.R
## makeCacheMatrix(x) returns a list of functions which set
## and retrieve a matrix or a cached value, for a matrix argument
## x.
## cacheSolve(x, ...) returns a cached value from x if it exists,
## otherwise computes the inverse matrix of the set mat... | 18732a89204e306fc5acd3347135b6ff54b0eddd | [
"R"
] | 1 | R | timbalam/ProgrammingAssignment2 | efe85a16241d8c7921f5867d039248fec99f82f5 | 4c6e7868bb9cd1299ab6453b7e85299567cb092b |
refs/heads/main | <file_sep>// PROGRAM-NAME : Hello, World!
// By KrishnaPriya
// PROGRAM-CODE :
#include <stdio.h>
int main()
{
printf("Hello, World!");
return 0;
}
<file_sep> // PROGRAM-NAME : MouseXY
// By <NAME>
// PROGRAM-CODE :
import java.awt.*;
import java.awt.event.*;
public class MouseXY extends Frame implements... | 739742fa80bd53bfa6aa28b9f83d01d9478d671f | [
"Ruby",
"JavaScript",
"Markdown",
"Java",
"Python",
"PHP",
"Go",
"C",
"R",
"C++"
] | 69 | C | ceadoor/HacktoberFest-2020 | 06d098fda9de27e136833c71a303c7a3b720e5e0 | 2170b82ec1e85321c219558b0c593c3ae6ed5148 |
refs/heads/master | <file_sep>package Home.Controller;
import com.jfoenix.controls.JFXButton;
import com.jfoenix.controls.JFXDialog;
import com.jfoenix.controls.JFXDialogLayout;
import com.jfoenix.controls.events.JFXDialogEvent;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.In... | 4c72515105ac8b39bd75b39ba13cd5cc35f9efd7 | [
"Markdown",
"Java"
] | 3 | Java | Bhuvanesh01/Split-X | c5a171822cbc9d65cfefe309f0bdbc25e5ffc6a7 | 531faf3b62b8028896bfa30efbbb526ba62897dc |
refs/heads/master | <file_sep>package com.yitouwushui.calculate;
import java.math.BigDecimal;
/**
* 运算符
* Created by yitouwushui on 2015/11/12.
*/
public enum Operator {
/**
* 加
*/
PLUS {
@Override
public int priority() {
return 1;
}
@Override
public BigDecimal c... | 960845eab4da541b43890bfe1c2c85682e5c3630 | [
"Java"
] | 2 | Java | yitouwushui/Calculate | 3f6dc793285e54fa74926ef04e7446d123eb33a5 | 7be5eed2a364de1d8f63f82cb7d1069ebffffdc6 |
refs/heads/master | <repo_name>athal7/salesforce_integration<file_sep>/config/environments/development.rb
# require 'pry'
<file_sep>/spec/lib/Spree_services/product_spec.rb
require 'spec_helper'
describe SpreeService::Product do
include_examples 'config hash'
let(:payload) { Hash.new }
subject { described_class.new(payload, config)... | 8e0d3ddc565be8722f9ebab5a48087facc1dc677 | [
"Ruby"
] | 5 | Ruby | athal7/salesforce_integration | 23d5ab2d6ec5c3f9da1e13bcf40c4356d0484e60 | ad94400876565c5a146db72eb90330bf89bafc1d |
refs/heads/master | <file_sep># GM's Little Helper
A simple web-based virtual table-top battlemap. Comes with client and host views, allowing the GM to control the map while players and the GM can also choose a color and draw on it.<file_sep>const fs = require('fs');
const path = require('path');
const modules = [
'socket.io-client/... | 0210694c60810fa1f17532860ebbaa138a284f39 | [
"Markdown",
"JavaScript"
] | 4 | Markdown | Mwr247/gmlh | ee5d06a8d7d1df9af3ad1584a56cb6fb9ce11880 | 1e3c3828df0e6c53d1f46a83a26fec3101a43b85 |
refs/heads/master | <file_sep>/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package BlockEfficiency;
import Indexes.EntityIndex;
import Utilities.Serialization;
import java.util.ArrayList;
/**
*
* ... | bf325f7e76b334695193d488ce9d8fbfa3e12002 | [
"Java"
] | 21 | Java | janitha000/CanopyBasedER | fd1d8ea561efdf49902dd9b129ba3f7e6a5ed2ba | e985b207b2ada33fb109ce13c33092f2b94a7d3e |
refs/heads/master | <file_sep>package main
import (
"encoding/json"
"flag"
"fmt"
// "github.com/davecgh/go-spew/spew"
"strconv"
)
type Statistics struct {
ViewCount string `json:"viewCount"`
}
type Item struct {
Statistics Statistics `json:"statistics"`
}
type VideoListResponse struct {
Items []Item `json:"items"`
}
func main... | a01c1abac7a3219285626ff858f417700f57bb35 | [
"Markdown",
"Go"
] | 4 | Go | gerrard00/ytviewcount | ab9ee2cd013a2d8f5ccd4882439b9cd46aa9810c | c9ddaa1aedffdaed88b5ee568d92db6da198f165 |
refs/heads/master | <file_sep>package de.troebs.smol;
import java.lang.reflect.Method;
import java.util.Arrays;
import java.util.Comparator;
class MethodFilter implements Comparator<Method> {
private static final PriorityGetter GET = new GetGetter();
private static final PriorityGetter POST = new PostGetter();
private static final... | 0acc8f255f88ddbf9fd542e32a104f7007abd0ff | [
"Markdown",
"Java"
] | 29 | Java | erictroebs/smolhttpd | 7066be4662aa10104e00e160d7fb3266686a801f | 25895d0d5ed9272b38ef60c941c2f511e125d851 |
refs/heads/master | <file_sep>package com.example.laboratorio2
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Toast
import kotlinx.android.synthetic.main.activity_main.*
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: ... | 7663d8b1436a09a75e8d28740865994426a26820 | [
"Kotlin"
] | 2 | Kotlin | zombiewafle/Laboratorio2 | 91d8f74ed064f5c760a192671bedace7ed40012f | 2ee19e8d0d2ad82c9d053ba74a3e883d05e185de |
refs/heads/master | <file_sep>const Elevator = require('../js/elevator').default
export default class Person {
constructor(name, currentFloor) {
this.name = name
this.currentFloor = currentFloor
this.destination = null
}
}
<file_sep>export default class Elevator {
constructor() {
this.currentFloor = 0
this.floor... | 0db385049fb28ac8e29500d7f17ec36cc6cec5dd | [
"JavaScript"
] | 2 | JavaScript | rcwestlake/elevator_challenge | 79c01e7d70fd3e7a24b2e6d0308a9b0cdae391a1 | c80eefa246a4edd0d2ba3da859d1632424eb7117 |
refs/heads/master | <repo_name>jfr1995/chat<file_sep>/chatApp/Controller/loginController.swift
import UIKit
import Firebase
class loginController: UIViewController {
// grab referecne to constraint anchor
var inputsContainerViewHeightAnchor : NSLayoutConstraint?
// grab references to text fields
var ... | 854ee266ffdc427b913d2412d3a0d1c7fdb52c12 | [
"Swift"
] | 2 | Swift | jfr1995/chat | f6aae1e9a09aea024daeb4aff1e38763688926de | cccccd5bb5fb248cb67a0bc8125274214cdfd169 |
refs/heads/master | <file_sep>import React from 'react';
function RetrieveData() {
const url = "https://thinktwice-32273.firebaseio.com/users/pFpNDLVRVjDmOgIs4iml.json"
fetch("https://thinktwice-32273.firebaseio.com/users/pFpNDLVRVjDmOgIs4iml.json", {
method: "GET",
headers: {
'Content-type' : 'applic... | 9514e588be595010786e699ac349f8721fbe874c | [
"JavaScript",
"HTML",
"Markdown"
] | 5 | JavaScript | alexhan01/ThinkTwice | 84009824d747f94e85224da70d295f27a1bd4eae | f615d94d833d9bb2a621a18b074bec235546eac7 |
refs/heads/master | <file_sep>
zsh ./z.sh &
#STARTED=$!
#echo "$STARTED" >> $HOME/run.pid
#sleep 1
#zsh ./z_coop.sh &
#STARTED=$!
#echo "$STARTED" >> $HOME/run.pid
wait
<file_sep>
cd ./simple-zsh-app;
vmc push # startup commad: bash start.sh
<file_sep>
function html {
cat <<-E
$VCAP_APPLICATION
E
}
while :;do
html
echo
# ps... | a7c079c1d53af1e8fce9e944c534ecc853d49d73 | [
"Markdown",
"Ruby",
"Shell"
] | 16 | Shell | wwy/cf-apps-demo | 93068a0c791e5b21cbe5aa47fa9614149b60e21c | 0f801719d61b70a554ffbd0e3de52ce5a4e6f54c |
refs/heads/master | <repo_name>Shreyash840/Login_Portal<file_sep>/README.md
# Login_Portal
SET UP THE VIRTUAL ENVIRONMENT BY PyCharm
RUN THE COMMAND AFTER SETTING THE VIRTUAL ENV.
pip install -r requirements.txt
Go through Readme present in the directory
<file_sep>/Login Portal/Login_app/tests/test_api_unit.py
import json
import os
impo... | c9a78a69b6889463be4a326a106ba29ddad982a3 | [
"Markdown",
"Python",
"Text"
] | 9 | Markdown | Shreyash840/Login_Portal | 624a35849bf4abdd8027fd61d69265e73cb8c7eb | a6630090cd36d5caa827f78509cee9955a87cb73 |
refs/heads/master | <file_sep>from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support import ui, expected_conditions
import time
def python_selenium_test(browser='chrome'):
print('Hello, world!')
if(browser.lower() == 'chrome'):
browser = webdriver.Chrome()
elif(bro... | 4b3a9f356761a23cb72403683dbf29d809d111af | [
"Python"
] | 1 | Python | alice-werefox/rf-selenium-testing | 24784127ac3f64e7498a017254be6cd36262d33b | c70db4847916f30d1f87fad2c5c4456a1db499d4 |
refs/heads/main | <repo_name>shreemayb127/GEOLOGIST<file_sep>/sketch.js
// Self-Avoiding Walk!
let path = [];
let step = 50;
let cell;
let cols, rows;
let grid;
function setup() {
createCanvas(400, 400);
background(0);
cols = floor(width / step);
rows = floor(height / step);
grid = make2DArray(cols, rows);
for (let i = 0; ... | 73f17b43e67627afdc12d3666df46fc1afd1a5d5 | [
"JavaScript"
] | 2 | JavaScript | shreemayb127/GEOLOGIST | 8cc06d2bc0d5bd09d7c8ef0757c66ba24aa464a0 | d179fd34f9d2f848b2e7fb72a64111d0335facfc |
refs/heads/master | <repo_name>yongyuwang/TinkerTime<file_sep>/logicals/src/logic/SubarrayProduct.java
package logic;
import java.util.Arrays;
import java.util.List;
/*Max Product Subarray
Find the contiguous subarray within an array (containing at least one number) which has the largest product.
Return an integer corresponding to the m... | b51e1c883afaca3d8a2fd7d62c3ac5077e60511c | [
"Java"
] | 1 | Java | yongyuwang/TinkerTime | 668a357b345b547b4cdf5cd2db9a91e7a619e0e7 | 923b373f88d8af36da51f05d5e28107474f851d7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.