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>jamesanderson9182/StudyBuddy<file_sep>/README.md
# StudyBuddy
>This is an Android App which provides useful tools to students studying.
>>If you are here to look at code its under app/src/main/java/com/example/janderson/studybuddy/
>>>At the time this was last updated the Timer was the only thing that was s... | 8525b6cad437e6631b55df9dec7edd06f0d597ce | [
"Markdown",
"Java"
] | 2 | Markdown | jamesanderson9182/StudyBuddy | 713145ebfd2dab6af2a324fb98061958c4179a37 | b14948b065d98c3df9d57818b3081a34f6456619 |
refs/heads/master | <repo_name>frontweb/vouchers<file_sep>/db/migrate/20100228181210_add_email_to_ad.rb
class AddEmailToAd < ActiveRecord::Migration
def self.up
add_column :ads, :email, :string, :limit => 100
end
def self.down
remove_column :ads, :email
end
end
<file_sep>/app/controllers/admin/comments_controller.rb
class... | ade6af545dea07a679d6b1c81b23355aad522213 | [
"Ruby"
] | 20 | Ruby | frontweb/vouchers | c35428748da2f27f9b9183f685e85d3baa761e69 | 09b959b81cbfa5aa5f7c34494356f7077fa0d6f6 |
refs/heads/master | <file_sep># Show differences between two playlists.
# Playlists are created using gtkpod with two different ishuffle devices (green and silver)
# In order to sync files use gtkpod instead of the rhythmbox, because dragging files between two devices
# does not works.
# Create a list in gtkpod using Tools->Export Tracks ... | deace84682dd0ba9c19d50b03d790364e88a13f0 | [
"Markdown",
"SQL",
"Ruby"
] | 15 | Ruby | aaaasmile/ruby_scratch | 5751d9edb663034074f95f4309613282284bd3f4 | 20feb1e0e69a1c71798f7bb94a2ad138582f271d |
refs/heads/master | <file_sep>import Route from '@ember/routing/route';
import { inject as service } from '@ember/service';
export default Route.extend({
init() {
this._super(...arguments);
this.on('routeDidChange', () => {
const page = this.get('router.url');
const title = this.getWithDefault('currentRouteName', '... | 9cdb6927c97688def83da91eb5e1d2f8cff9f0cc | [
"JavaScript",
"JSON"
] | 2 | JavaScript | jtappa/ivy-tabs | 191ebb6bc1c28fad5276a01dc5f5c25177efc156 | 24eb4bb47d449ee3ed1afe98a51e0d8fb27502e5 |
refs/heads/master | <repo_name>KairiGG/ENSIIE_S3-CI<file_sep>/src/book.repository.test.js
const BookRepository = require('./book.repository');
describe('Book repository Save', function () {
test('Save a book', () => {
const dbMock = {
get : jest.fn().mockReturnThis(),
push : jest.fn().mockReturnThis(... | 406aca7832eb0295f5d193740b624933c3854256 | [
"JavaScript"
] | 6 | JavaScript | KairiGG/ENSIIE_S3-CI | 38f8a2ddfa4dd7b963c50bf58e19e4eccee39d23 | c7e5f9966729dbadee494bb9665950e39c7d813c |
refs/heads/master | <repo_name>RyanZhu1024/java_concurrency<file_sep>/src/main/java/producerconsumers/Main.java
package producerconsumers;
/**
* Created by shuxuan on 1/22/15.
*/
public class Main {
public static void main(String[] args) {
FileMock fileMock=new FileMock(100,10);
Buffer buffer=new Buffer(20);
... | 8958fcdbf80526360ee9c0501269dc1cde43c629 | [
"Markdown",
"Java"
] | 17 | Java | RyanZhu1024/java_concurrency | 75b79f4564c81f283fd2acedb3e13e78be599f78 | 7766f75ac970d89d9275347449e378ff3357e160 |
refs/heads/master | <repo_name>Ivan-Veselov/coding-hw<file_sep>/numbers.cpp
#include "numbers.h"
bool isPrime(Natural number) {
if (number < 2) {
return false;
}
for (Natural divisor = 2; Natural64(divisor) * Natural64(divisor) <= number; ++divisor) {
if (number % divisor == 0) {
return false;
... | b0ef6b404836584f74d10445a879a49df5e992fd | [
"CMake",
"C++"
] | 6 | C++ | Ivan-Veselov/coding-hw | a0cdb5b7d78bb37271c8526898e42e552fcadc39 | 579214265a314be71d3e0419bcc2beb1f0a018b8 |
refs/heads/master | <file_sep>export default function ({context, store}) {
console.log('inside userparam')
store.commit('SET_USER', {'name' : 'APADMIN'})
}<file_sep>const app = require('express')()
const { Nuxt, Builder } = require('nuxt')
const server = require('http').createServer(app)
const io = require('socket.io')(server)
con... | 497ffa70dae5f8fc7800ff0fa9e599e23eb91dd6 | [
"JavaScript"
] | 2 | JavaScript | kathirvGitHub/nuxt-chart1 | f387c5b8a1cbda4d69e10ed8399e8242f74e4183 | 60a256b553f6effdf564955df4832c152b748ccf |
refs/heads/main | <repo_name>jmc18/ReacJS-Course<file_sep>/react-complete-guide/src/components/Expenses/ExpenseList.js
import React, { useState } from 'react';
import ExpenseItem from './ExpenseItem';
import Card from '../UI/Card';
import ExpensesFilter from '../Expenses/ExpensesFilter';
import './ExpenseList.css';
const ExpenseList = ... | 5112df3ec3ef80ccac5579645818a51da97b56f2 | [
"JavaScript"
] | 1 | JavaScript | jmc18/ReacJS-Course | f5050408f5cbbf7615efe9a06f76989a573f0503 | 5c58c2fdec1f128214d5a81a7942798ad93ae4fc |
refs/heads/master | <repo_name>mayank2424/Vue-jS<file_sep>/README.md
# Vue-jS
Todo list project built in vuejs
<file_sep>/app/src/store/modules/todos.js
import axios from 'axios';
//Vuex State
const state = {
todos:[],
reset_todos:[],
showModal:false,
modalMsg:''
};
//actions
const actions = {
//getting todos
as... | 7b797d879ec4950b3a40adabbb84338ce244be7a | [
"Markdown",
"JavaScript"
] | 2 | Markdown | mayank2424/Vue-jS | af7dc811094298f413fcb3aad56bab40969030fe | 014de96cb40411ea1552965d725e96787a987d59 |
refs/heads/main | <file_sep>import React from 'react';
import BottomNavigation from '@material-ui/core/BottomNavigation';
import BottomNavigationAction from '@material-ui/core/BottomNavigationAction';
import fb from '../logo-FB.ico';
import insta from '../logo-IG.ico';
import yt from '../logo-YT.ico';
import { Box } from '@materia... | 799999465d25a6bda56038c7546f15494099e84a | [
"SQL",
"JavaScript",
"INI",
"Gradle",
"Java"
] | 22 | JavaScript | ignite-plus-2021/helpinghands | b4b2c09c833d40c779e1bcb9943895e26faabca6 | a91d662d4d82b55b914b5c354330856b63b37f43 |
refs/heads/main | <repo_name>HighVoltages/MQTT-in-MATLAB<file_sep>/README.md
# MQTT in MATLAB
In this tutorial of MQTT, we will learn how to use MQTT in MATLAB. We will start with basics like making connections with MQTT broker, Publish and subscribe and then we will plot real-time data coming from ESP8266 over MQTT.
Read more at: h... | 24a37fa4aac65dea4bee2b3ffb170d2feb669e1e | [
"Markdown",
"C++"
] | 2 | Markdown | HighVoltages/MQTT-in-MATLAB | 080424c4727be7ecb85704fcab1008d27d3780bf | a6715371753f6c9a0f48cb5867790f8398741921 |
refs/heads/master | <repo_name>zeromile/php-training<file_sep>/arrays.php
<?php
$myIndexArray = array("Katie", "Em", "Molly");
$myAssocArray = array(
"name" => "Katie",
"latinx" => True,
"cohort" => "design"
);
$myOtherAssocArray = array();
$myOtherAssocArray["name"] = "Nikki";
<file_sep>/README.md
# Basic PHP #
## Day 01 ##
[Bas... | f0395e1ad2c8469ee456eb88382071e2ebf47413 | [
"Markdown",
"SQL",
"PHP"
] | 12 | PHP | zeromile/php-training | 1a6103d5ef1da713b9e757c634635cbf8c528a47 | c80a2d970c367a57ec604c15ac7710c0ead6242f |
refs/heads/master | <file_sep>package main
func p1easy(n int) int {
sum := 0
for i:=0; i<=n; i++ {
if i%3==0 || i%5==0 {
sum += i
}
}
return sum
}
<file_sep>package main
import (
"testing"
)
func TestP1easy(t *testing.T) {
pairs := [...][2]int{{9, 23}, {999, 233168}}
for _, ... | 69662b84ff6508a3372228b5fb90d1be06846513 | [
"Go"
] | 2 | Go | ian910297/ProjectEuler | c6bb7a5fb16199815f9a3803945462acfa29c208 | af4ca9d95b122b7d4ea3d07414b07814787da08f |
refs/heads/master | <file_sep>//
// AppManager.swift
// Mood
//
// Created by Hascats on 2021/6/19.
//
import Foundation
import Combine
struct AppManager {
static let Authenticated = PassthroughSubject<Bool, Never>()
static func IsAuthenticated() -> Bool {
return UserDefaults.standard.string(forKey: "token")... | 476622546de458ca70495547d272d029805f27a3 | [
"Swift",
"Python",
"Markdown",
"Shell"
] | 10 | Swift | OMnitrixGit/Mood | cc27348cbfa632ec8fcaccfcbd3ca93d830617f7 | 1c2981918bebd268c26ce5c902d0724c65a1b04f |
refs/heads/master | <file_sep># double-tracker-canny-filter
double tracker canny filter
<file_sep>#include <math.h>
#include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/highgui/highgui.hpp"
using namespace cv;
using namespace std;
int main()
{
int A[3][3] = { { -1, 0, 1 }, { -2, 0, 2 }, { -1, 0, 1 } };
int B[3][3] = { { 1, 2... | 93a86f5107771cb8b8fbb5f3a134f2cbf1e1b627 | [
"Markdown",
"C++"
] | 2 | Markdown | sweta1947/double-tracker-canny-filter | 2c3284b86add0335082eb217f0a625753541636b | 747349fa427ed9f13378e167c2df0ea26afdd3d9 |
refs/heads/master | <repo_name>tranbaquang/Login<file_sep>/src/FileWriterExample.java
import java.io.FileWriter;
import java.util.Scanner;
public class FileWriterExample {
public static void main(String args[]) {
try {
FileWriter userData = new FileWriter("user.txt");
FileWriter passData = new FileWriter("password.txt");
Scan... | 5ca8e1713b332fc2244fd925ef9825a2ad947783 | [
"Java"
] | 1 | Java | tranbaquang/Login | 9ab3abb01d546a0ba5c96d79141cc7e69503bf0e | dc60e75e5c1a2c349667c42f149feb6831d52ecb |
refs/heads/master | <repo_name>krissukoco/prac-mongodb<file_sep>/playground/mongodb-delete.js
const MongoClient = require('mongodb').MongoClient;
MongoClient.connect('mongodb://localhost:27017/TodoApp', (err, client) => {
if (err) {
return console.log('Unable to connect to MongoDB server');
} // 'return' will prevent codes below ... | 95c177dbd9775df469429117023c9296af4242bf | [
"JavaScript"
] | 4 | JavaScript | krissukoco/prac-mongodb | 74b3e7b6eeb667af949d2460711bf1ab8d61fb0b | f1f60adac613a2507818dd04e8edac5527548baf |
refs/heads/master | <repo_name>valeriaedw/Examen2-Comp<file_sep>/src/main/java/com/cenfotec/examen/service/workshop/WorkShopServiceImpl.java
package com.cenfotec.examen.service.workshop;
import com.cenfotec.examen.domain.WorkShop;
import com.cenfotec.examen.repo.WorkShopRepository;
import org.springframework.beans.factory.annotation.Auto... | 82e8569e8a24948c191a28a7a64a1d15b80ce471 | [
"Java"
] | 6 | Java | valeriaedw/Examen2-Comp | bbd4dea9c483e485d645ad13913ce72f05315e07 | 0c47c213e23b1d9b36662230d9a5cb5c0daa3a1b |
refs/heads/master | <repo_name>JuandaGarcia/aplicacion-multas<file_sep>/paginas/EditarPersona.js
import React, { useState, useEffect } from 'react'
import {
Text,
SafeAreaView,
ScrollView,
View,
ActivityIndicator,
TextInput,
TouchableHighlight,
Alert
} from 'react-native'
import {
handleAndroidBackButton,
removeAndroidBackButton... | d452bd59b7c87352ab0f96591b3ba4dd9a7f2a71 | [
"JavaScript"
] | 9 | JavaScript | JuandaGarcia/aplicacion-multas | 02bf01b0a34afaf3e8b11eb4dec226b80161024e | 9b5f57a07cb531f3e0f1f0e5ce88650ab43f5bc0 |
refs/heads/master | <repo_name>dhagerty9009/watch-the-corners<file_sep>/Watch The Corners/ViewController.swift
//
// ViewController.swift
// Watch The Corners
//
// Created by <NAME> on 2/13/15.
// Copyright (c) 2015 TwistSix, LLC. All rights reserved.
//
import UIKit
class ViewController: UIViewController {
@IBOutlet weak var pl... | bdb2f8728433740e8a9d56f25311768e9c32fd54 | [
"Swift",
"Ruby",
"Markdown"
] | 16 | Swift | dhagerty9009/watch-the-corners | 6576cf7dca2a3ba4ef34d71ae23201f5e48c5f2f | 21aa37bc3fba5716a7f1b58298365aa5c0c16976 |
refs/heads/main | <repo_name>StudentLifeMarketingAndDesign/annual-report-2013<file_sep>/Gruntfile.js
module.exports = function(grunt) {
var globalConfig = {
themeDir: 'themes/annual-report'
};
// Project configuration.
grunt.initConfig({
globalConfig: globalConfig,
pkg: grunt.file.readJSON('package.json'),
sas... | 61c27ac1eabc815e2753816dc616668cde26cfd6 | [
"JavaScript",
"PHP"
] | 2 | JavaScript | StudentLifeMarketingAndDesign/annual-report-2013 | 9946b15f088646e2fb4d9d5a4c66de0da3a02b97 | 37886ab2605d1815d1f8b910e95feb2ffdbb3d87 |
refs/heads/master | <repo_name>StaffanJ/PizzaChallenge<file_sep>/Pizza.Domain/CustomerCheckValidationException.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pizza.Domain
{
public class CustomerCheckValidationException : Exception
{
public ... | 5864081e2ab6831dd27253f887bcf27f028973a3 | [
"C#"
] | 9 | C# | StaffanJ/PizzaChallenge | 570d355c5ac51064c0c5ce703bfb4997a9327861 | 3f1957d2ce0b458b0a6981f76c539e8df8eead6a |
refs/heads/master | <repo_name>bstansberry/wildflysite<file_sep>/_docs/docs.md
---
layout: docs
title: Wildfly Documentation
permalink: /docs/
---
<file_sep>/_docs/13/_testsuite/Pre-requisites_-_test_quality_standards.adoc
[[Pre-requisites_-_test_quality_standards]]
== Before you add a test
Every added test, whether ported or new should ... | 3c7b7cb4b5f1c274c74c0ab50d426f101b848b6d | [
"Markdown",
"JavaScript",
"AsciiDoc"
] | 38 | Markdown | bstansberry/wildflysite | cf32390538befe8db6c832e07681a18dda332f69 | c31749390b9b344a077c0b3c1edbfeb4114d55b6 |
refs/heads/main | <repo_name>rignellj/Full-Stack-Open-2021<file_sep>/Part_4/blogilista/utils/middleware.js
const { SECRET } = require('./config');
const jwt = require('jsonwebtoken');
const User = require('../models/user');
const errorHandler = (error, request, response, next) => {
const { message, name } = error;
if (name === 'Vali... | e1bd8d7e20a8d5e703764c5a59167698df622b85 | [
"JavaScript",
"Markdown"
] | 22 | JavaScript | rignellj/Full-Stack-Open-2021 | 0ed8fc150bf2e2c6bf9ac4c72e3f4dc94c711b0a | facf3595bccaa9d3a4f649fc246ab3974becd1cd |
refs/heads/main | <file_sep>const audioContext = new AudioContext();
const $one = document.querySelector("#one");
const $two = document.querySelector("#two");
const audioOne = new Audio();
const audioTwo = new Audio();
$one.addEventListener("click", () => {
// Play voice
audioOne.src = "./voice.mp3";
audioOne.play();
audioTwo... | 7c1719c3f07085c8864b607d4a8b51662be2b86b | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | HavenOfExcellence/audio-ducker | d953b81827a088ccc3475103ecba9b49921f9161 | 469610267e61d3b5e5e2cb69b0246648dbb29e7c |
refs/heads/master | <file_sep>
document.addEventListener('DOMContentLoaded', function() {
var notify = document.getElementById("notify");
notify.addEventListener('click', function() {
chrome.runtime.sendMessage({update: true}, function(response) {
});
window.close();
});
});
<file_sep># PongOS-Chrome-Extension
**PongO... | d286fc2ddc112a0bfa78388e218c82daf64785ab | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | Spacewolf21/PongOS-Chrome-Extension | 32cc06b3f5954181ed1b275bc8af79a135170c05 | 582f765c27a38cce038ec9555315900821dfca48 |
refs/heads/master | <repo_name>fkaaa568/Rust-Mysql<file_sep>/src/main.rs
#[macro_use]
extern crate mysql;
use std::io;
use mysql as my;
#[derive(Debug, PartialEq, Eq)]
struct Student {
student_id: i32,
student_name: Option<String>,
student_email: Option<String>,
student_age: i32,
student_status: Option<String>,
}
f... | 40783cb7183d2315c3f01aab1e3f89a4615ccfee | [
"Rust"
] | 1 | Rust | fkaaa568/Rust-Mysql | 08bcdd384c890fa12801e3917ec057d955014196 | 9608c61f073d861c8cea606ffd94d8ecccf89cab |
refs/heads/master | <file_sep>#include <interrupt/idt.h>
#include <lib/stdtypes.h>
#include <lib/x86.h>
#include <lib/string.h>
#include <drivers/screen/textmode.h>
extern void idt_flush(uint32_t);
static void idt_set_gate(uint8_t, uint32_t, uint16_t, uint8_t);
idt_entry_t idt_entries[256];
idt_ptr_t idt_ptr;
interrupt_hand... | cb2971409b0a8cabf9f1fc8d73068581416c7067 | [
"Markdown",
"C",
"Makefile",
"Shell"
] | 40 | C | BackupGGCode/simpleos | 7f4f73f019e8b8e894b5480489833e10a7bcccb6 | e73f5222f888ceca04a40ccdb5628931be888213 |
refs/heads/master | <file_sep>// JavaScript Document
function UpdateGrupo() {
var form = document.frmGrupoPopUp;
for (var i=0; i < parseInt(form.hiddenIntGrupoCliente.value); i++) {
if (form.radioThisGroup[i].checked) {
window.location.href="frmGrupoPopUp.asp?cnpj="+form.cnpj.value+"&idgrupo="+form.radioThisGroup[i].value+"&actio... | 0a6c5854a768ba35512bec27d52a7a9ef52a373a | [
"JavaScript",
"C#"
] | 27 | JavaScript | brunobritoapps/.NET-oki | b4c22195a98e77bec3db762e89b4698b7289d3f8 | 063895989cf8f3c4b64857e733ef02ccda45f1ff |
refs/heads/master | <file_sep># Object Recognition Drone
This project is an ongoing work under <NAME>, Data Scientist Sr. at Microsoft. Anusua is a mentor to <NAME> & <NAME>, who are the main contributors to this project.
The Object Recognition Drone is a platform that allows one to perform object recognition using a drone. This softwar... | 93bff9096443d8c8c727e428888d2e592c0aadb5 | [
"Markdown",
"Shell"
] | 2 | Markdown | merico34/Object_Recognition_Drone | efe9cdc71da3e173d96b4d8ce755febd6d863bfc | 09e717e4aa1b4acf6a5d07599c847131fe6f1158 |
refs/heads/main | <repo_name>bytesun/non-fungible-token<file_sep>/example.sh
#!/usr/bin/env sh
RED='\033[0;31m'
GREEN='\033[0;32m'
NC='\033[0m'
bold() {
tput bold
echo $1
tput sgr0
}
check() {
if [ "$1" = "$2" ]; then
echo "${GREEN}OK${NC}"
else
echo "${RED}NOK${NC}: expected ${2}, got ${1}"
... | c3cf7ddad796e23b535eca6dc31766a382929bb0 | [
"Shell"
] | 1 | Shell | bytesun/non-fungible-token | 44ccbc28372d2059d20b963cc9572fa9bb004cbb | 3b6b2c20e43429ae559313a942ae2cb1c7026954 |
refs/heads/master | <repo_name>LamGiang1912/Lamgiang1<file_sep>/Dropbox/nnlt2/ConsoleApplication2/ConsoleApplication2/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication1
{
class Program
{
static int[] arr = new int[10... | c33595eeb64b742983e1b4c47234468676b5492e | [
"C#"
] | 1 | C# | LamGiang1912/Lamgiang1 | 280a3f488efeec49b2ef6eeb69a314ea019b62c3 | 9c3c7a12b89871fb78e897a2ce189c7c1e390ab4 |
refs/heads/master | <repo_name>aldefouw/redcap-bulk-assign-users-hook<file_sep>/README.md
# redcap-bulk-assign-users-hook
PHP, HTML, and JavaScript code that allows you to bulk assign a User Role to several different usernames.
<file_sep>/user_rights/bulkUserModuleClass.php
<?php
class bulkUserModuleClass {
private $add_bulk_user_pat... | c07d2de8ae8a27bf551ec45b62a5f3c97d78e444 | [
"Markdown",
"PHP"
] | 4 | Markdown | aldefouw/redcap-bulk-assign-users-hook | d03485b3991027afb8112c8f90c4ea05f7028e81 | 6810fbd568f7e60c71714a672e92c4112eb11422 |
refs/heads/master | <file_sep><h1>Редактировать задачу</h1>
<form method='post' action='#'>
<div class="form-group">
<label for="description">Описание</label>
<textarea rows = "5" cols = "50" class="form-control" id="description" placeholder="Введите описание" name="description" >
<?php if (isset($task["des... | 3019237e8b6073d90cd853460093e57eea218d6c | [
"JavaScript",
"PHP"
] | 11 | PHP | borlano/tracker | a3e462f5e93cf39257fd27386a13ea799451e3b5 | 5e21c76d0deb7b60e89e7cff60c442f872de3046 |
refs/heads/main | <file_sep>#!/bin/bash
# ### const value Start ###
WARNING="WARNING:"
ERROR="ERROR:"
# ### const value End ###
# venv 作成パス
VENVPATH="`cd $(dirname ${0}) && pwd`/venv"
# venv スクリプトパス
SCRIPTSPATH="$VENVPATH/bin"
echo "### Start Setup. ###"
# venv が作成されていれば venv は作成しない
echo -n "create venv ... "
if [ ! -e $VENVPAT... | 0eb611b070f6e981dda1948306940e3c3e350e8d | [
"Markdown",
"Shell"
] | 2 | Shell | shindy-dev/venv_setup | 259aef787f0bb58a5839490304b4d13b886393dd | 5c753b21f09f0638064d14c0dbbb39da9daabe70 |
refs/heads/master | <file_sep>-- sd-up
ALTER TABLE table2 ADD col5 text;
-- ALTER TABLE table2 ADD col6 int;
<file_sep>-- sd-up
CREATE TABLE IF NOT EXISTS table2 (
col1 uuid,
col2 boolean,
col3 int,
col4 timestamp,
PRIMARY KEY (col1)
);
<file_sep>-- sd-up
CREATE TABLE IF NOT EXISTS schemadeploy.table1 (
col1 da... | 5b624b9d851275ff97e0fb002091c86ea9e4afbd | [
"SQL"
] | 3 | SQL | cloudboys/cassandraSchemaDeploy | 7343b01f41c3afa97d3466f7537fd570cdff6da8 | 1bf5ba650512b78568bfe3fdb83aacdb19d46ac7 |
refs/heads/master | <file_sep>#-*- coding:utf-8 -*-
import os
import hou
hip_dir = os.path.expandvars("$HIP")
log_dir = "/script/sim_log/"
density_log = hip_dir + log_dir + "density.txt"
temperature_log = hip_dir + log_dir + "temperature.txt"
heat_log = hip_dir + log_dir + "heat.txt"
padding = 4
density_max = str(hou.hscriptExpressio... | d206312343623f8584b6e718e546d99440ebcdab | [
"Python"
] | 15 | Python | zmfovlr/Houdini | b47cfd72f5183c9e6ab5243a52fb5c6b897bed65 | 0a8f188836a46650d519ea2e0704eb7f89f3b829 |
refs/heads/master | <repo_name>UQuark0/ADS-Labs<file_sep>/src/me/uquark/univ/ads/labs/lab7/Tree.java
package me.uquark.univ.ads.labs.lab7;
import java.util.ArrayList;
import java.util.List;
import java.util.function.Consumer;
public class Tree<T> {
public static class Optional<K> {
public final boolean isEmpty;
publi... | b24d5ae9e115566014b32e8baf53d7670ee9701c | [
"Markdown",
"Java"
] | 5 | Java | UQuark0/ADS-Labs | 997b0d064b831f9927da9fd7f4b824e44a2fd130 | bed5761a28ebea2b420db1beec8d9a398b89f28b |
refs/heads/main | <repo_name>sargull-1998/Mybrary<file_sep>/routes/books.js
const express= require('express')
const router= express.Router()
// const path = require('path')
// const fs = require('fs')
const Book= require('../models/book')
const Author= require('../models/author')
// const uploadPath = path.join('public',Book.coverImageB... | ce3c9ee76c12ff625c46d03fdf6ea30e52f59c14 | [
"JavaScript"
] | 1 | JavaScript | sargull-1998/Mybrary | b693062c32dae615de95c448e33ab064e57ebd77 | 157c085c8ba2ab07ce9039f75dbc58e9a831caae |
refs/heads/master | <repo_name>ocadotechnology/newrelic-alerts-configurator<file_sep>/newrelic-alerts-configurator/src/main/java/com/ocadotechnology/newrelic/alertsconfigurator/exception/NewRelicSyncException.java
package com.ocadotechnology.newrelic.alertsconfigurator.exception;
public class NewRelicSyncException extends RuntimeExceptio... | 2430711117ce9bb01a5e32756fdcb5e0c8409c82 | [
"Markdown",
"INI",
"Gradle",
"Java",
"Kotlin"
] | 115 | Java | ocadotechnology/newrelic-alerts-configurator | a1066a0ffcc59f3458f39d139c010df6968e9fe8 | e27b1ae0aece8b68441cf91b9199ddbe0bf5721f |
refs/heads/master | <file_sep>#Write a function named 'pollutantmean' that calculates the mean of a pollutant (sulfate or nitrate) across a
#specified list of monitors. The function 'pollutantmean' takes three arguments: 'directory', 'pollutant', and 'id'.
#Given a vector monitor ID numbers, 'pollutantmean' reads that monitors' particul... | 58bffff88053ead44a06756d7878920962a9ffd7 | [
"R"
] | 3 | R | Dcroix/Programming-Assign-One | 0563313610bbf5f1f7626445b9c2ef3d6537ea10 | ec07d6ab0545a8c8b1ac5f4ec76c7d7a77a76660 |
refs/heads/master | <file_sep>module Alignment
# An Entry represents a single row or column of an alignment. It is generally
# recommended that instead of generating these objects directly they are
# instead accessed through the corresponding methods in Alignment::Instance.
module Entry
module ClassMethods
# This is the ... | 12a2f7e35a06035023b406258370a74b56fb15e3 | [
"Markdown",
"Ruby"
] | 21 | Ruby | blakesweeney/Alignment | d2f18157f841aa83446637fbea8c4a8242853d99 | 6c2643b6570b2aa59a9775594efe5193710f0d7d |
refs/heads/master | <repo_name>munifgebara/contatosnanuvemAndroid<file_sep>/src/com/example/contatosnanuvem/MainActivity.java
package com.example.contatosnanuvem;
import java.net.URLEncoder;
import java.util.Stack;
import org.apache.http.HttpResponse;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.Defa... | 55f120c93c0884e2a343ca295abc40d4f8ed499d | [
"Java"
] | 1 | Java | munifgebara/contatosnanuvemAndroid | a1982db27c75050ad6841919fb2fae052629d5a8 | deebb893b2199106a40475043abdbf65e97ed194 |
refs/heads/master | <repo_name>ctg1819/practicaGIT<file_sep>/Ejercicio2_Persona/Ejercicio2_Persona/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ejercicio2_Persona
{
class Program
{
static void Main(string[] args)
... | 17a872ab7af94c95fd5229c3c88678fa4e48bf27 | [
"C#"
] | 4 | C# | ctg1819/practicaGIT | f5c2143b98644a0cfe32cd95fde50bbb28aca986 | 84b5c0ae2ef5aa9b73d2bf8926cd81f17a932427 |
refs/heads/master | <repo_name>kirubiel/learn_ruby<file_sep>/03_simon_says/simon_says.rb
#write your code here
def echo(simon_said)
simon_said
end
def shout(simon_said)
simon_said.upcase
end
def repeat(simon_said, times = 2)
((simon_said + ' ') * times).strip
end
def start_of_word(simon_said, no_of_chars = 1)
simon_said... | 9b982962f67935bfef12286bd43dab95e20d2cf9 | [
"Ruby"
] | 5 | Ruby | kirubiel/learn_ruby | 462697d89e72f863ea5ad5b71056c6f0c07ca78a | c5d39e1019552654068744b0453767652a423675 |
refs/heads/master | <file_sep>require 'httparty'
class RecipeSearchWrapper
@app_id = ENV["APPLICATION_ID"]
@app_key = ENV["APPLICATION_KEY"]
@base_url = "https://api.edamam.com/search?"
class RecipeError < StandardError; end
def self.search_recipes(query)
url = @base_url + "app_id=#{@app_id}&app_key=#{@app_key}" + "&q=#... | 3ac2f09b1613ea451bc6dcb878f5c5ed22662da0 | [
"Ruby"
] | 6 | Ruby | annehwatson/api-muncher | 42864aebf62f21a8a5c36c20376f762e6e5a14db | 95cd93de8f9edd3041d092e64bfc9b5d2d696740 |
refs/heads/master | <repo_name>boikedamhuis/Arduino-soil-moisture-relay-controller<file_sep>/README.md
# Arduino Soil Moisture relay controller
Arduino example to control a relay based on moisture values. The basis for a smart garden irrigation system.
# Wiring relay
- Connect VCC to 3.3v
- Connect ground to ground
- Connect data pin to... | ff2f081153dce4186236708b37910ee149e0feab | [
"Markdown",
"C++"
] | 2 | Markdown | boikedamhuis/Arduino-soil-moisture-relay-controller | 76b506edd83f2aa63364b0a782203a18236f6017 | a9c61598bf5c425d63d9e18a0a8b4ea8a15885ac |
refs/heads/master | <file_sep>import asyncio
import click
from utils.db import db as dbs
@click.group()
def db():
pass
@db.command()
def seed():
asyncio.run(dbs.seed())
cli = click.CommandCollection(sources=[db])
if __name__ == '__main__':
cli()
<file_sep>import asyncio
import itertools
import logging
from lib import ... | 4a70a4fed1d16930ffd7e8bed9841245d86d353f | [
"Python",
"Text"
] | 10 | Python | infnetdanpro/tg-helper-bot | 904ffc3220777484b1ec730066897d5593ec4fd8 | 40cb1e682ff084bea22d7518f230d94b5f773bf7 |
refs/heads/master | <file_sep>import com.intellij.notification.Notification;
import com.intellij.notification.NotificationType;
import com.intellij.notification.Notifications;
import com.intellij.openapi.ide.CopyPasteManager;
import java.awt.datatransfer.StringSelection;
public class Copy extends FileAction {
@Override
void han... | d995d71730a98ce848b729ac19eb414c03ff2b2f | [
"Markdown",
"Java",
"Gradle"
] | 4 | Java | abeatrix/sourcegraph-jetbrains | 939e2d12f69a439afee9748fef5b3e790a3bc467 | 6f72b22add836beeede2aa6ebb8f9ffeb6817d48 |
refs/heads/develop | <file_sep>import './script/navbar';
import './script/orderClick';
import './style/main.scss';<file_sep>const button = document.querySelector("button[data-behavior='contact-button']")
const modal = document.querySelector("div[data-behavior='contact-modal']")
const close = document.querySelector("span[data-behavior='cont... | ffbedd70eccd41f949a5d330329272bb9b3ee798 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | davidliamwalsh/bluesky_interactive | 3d24e963322d7ce3515fc4c00f61b46b866283b3 | 4c6819626917c33f22fa631214554135e116b835 |
refs/heads/master | <file_sep>
from flask import Flask
from flask_peewee.db import Database
import config
import grooveshark
app = Flask(__name__)
app.config.from_envvar("PIDJ_SETTINGS")
db = Database(app)
gs = grooveshark.Client(app)
<file_sep>
# PiDJ
A crowd-sourced DJ platform that allows anyone in the room to search for
and queue u... | 19972bfec26d98649a226e2a048b6265039bde11 | [
"Markdown",
"JavaScript",
"Python",
"Text",
"Shell"
] | 13 | Python | jamorton/pidj | 69be8d1d982df0db02cd0286e4d5df5a57ea5900 | 481143323ffea86a31d9ff537924befeb50ebbee |
refs/heads/master | <file_sep>"""A script to detect and track faces in a video feed.
Author: <NAME>
"""
import cv2
faceCascade = cv2.CascadeClassifier('./haarcascade_frontalface_default.xml')
video = cv2.VideoCapture('./demo.mp4')
while True:
ret, frame = video.read()
gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)
faces =... | e90b6c7973c0d6eaeabcf40bf803f8426b01eb70 | [
"Markdown",
"Python"
] | 2 | Python | NahomAgidew/Face-Tracker | 09699833b5463d6fa0c8e6c89822bab17ae94748 | b9d7b0850b792994a9c3609b7665fe5183c78f4a |
refs/heads/master | <file_sep>#include <iostream>
uint8_t s[9],k,i,f,a[]=" \xff\xf9\xf1\xfe'r\xe9#\x9b%\x14\x1fI\xfd'\xff\xf1\x86\x17";
int main()
{
for(std::cin>>s;i<4;i++,puts(""))
for(int j:s)
for(k=0;j&&k<5;k++)
f=a[i*5+(j-48)/2]>>(j&1)*4,std::cout<<a[f<<k&8];
}
<file_sep># discord-challenge-6
One Lone Coder Discord Programm... | d4482fae871ce4ef75a4b7ccccf29c3fb6218387 | [
"Markdown",
"C++"
] | 2 | C++ | drwonky/discord-challenge-6 | 024461ec64c0795a9ab7a7342f41f6fa5b7184f0 | d4cf88f55859e963e317dc62e90b58fe953455cb |
refs/heads/master | <file_sep>import os
from allure_commons._allure import attach
from allure_commons.types import AttachmentType
from selenium import webdriver
from pages.drag_drop import drag_drop
def before_scenario(context,scenario):
dir = os.getcwd()
option=webdriver.ChromeOptions()
#option.add_argument("--s... | 797655a38b7941e64e83a74461d962ba71dbb3c6 | [
"Python",
"Text"
] | 5 | Python | mkrifa2021/Behave_jenkins | c3b4dee7075ed17439113f1bc786821f9ffe5d72 | 2a845e8dd310e8d3061b03f685016d8c783d2b09 |
refs/heads/master | <repo_name>vict2586/Shoe_configurator<file_sep>/README.md
https://vict2586.github.io/Shoe_configurator/shoe1.html
<file_sep>/script.js
"use strict";
document.addEventListener("DOMContentLoaded", start);
let paint;
let link1 = "shoe_1.svg";
let link2 = "shoe_2.svg";
function start() {
getSvgInfo1();
getS... | af9d94ec549e00666d18c1f82345a47e906cd6c8 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | vict2586/Shoe_configurator | 2af702376abf4d0c4e6864acb265ff72becb6970 | cade4569d7f329e296a2b09935288b11aeea730f |
refs/heads/main | <repo_name>acc4mei/acc4j<file_sep>/README.md
# acc4j
## java-gist
- Java
- JDK8
- **函数式接口**,Lambda表达式,方法引用
- Stream API
- LocalDateTime API
- Optional
- 注解,可重复注解,类型注解
- Jasypt
无侵入式数据加密,通常用于Spring配置文件的关键信息加密使用。
- Fel
轻量级表达式计算引擎,兼容Java语法。
- EasyExcel
基于Java的简单、节约内存的Excel读写工具。<file_se... | d6eda768830ed20260d3f74ca4dc46cb181643d7 | [
"Markdown",
"Java"
] | 11 | Markdown | acc4mei/acc4j | 802023eb2656d65f2efee97a5198d04d2662c135 | d5e908abbd31d5f9bd6a1a2544edd5c1e9664cdc |
refs/heads/master | <repo_name>alexandredagher/Metronome-<file_sep>/struct.h
/*
* stuct.h
*
* Created on: Apr 17, 2020
* Author: <NAME>
*/
#include <stdio.h>
#include <time.h>
#include <sys/netmgr.h>
#include <sys/neutrino.h>
#include <stdlib.h>
#include <sys/iofunc.h>
#include <sys/dispatch.h>
#include <string.h>
#include <uni... | 563b94a082446ea20abb7defb41d86e30e2f692a | [
"C"
] | 2 | C | alexandredagher/Metronome- | 03753a807ca3194b868e9585210d354da05c9dd5 | b1da55b04121d32ebc6133514b41341a90f8ba38 |
refs/heads/master | <repo_name>jayKayEss/Tootr<file_sep>/sql/tootr.sql
-- MySQL dump 10.13 Distrib 5.5.11, for osx10.6 (i386)
--
-- Host: localhost Database: tootr
-- ------------------------------------------------------
-- Server version 5.5.11
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHAR... | d8ec08cf3f142de8bc6006e82d64a2430e8cacfb | [
"JavaScript",
"SQL",
"PHP"
] | 6 | SQL | jayKayEss/Tootr | 98a72561ec9c658fd247d1e37b81139c02dc7f78 | 097ca157bf094b0f655a93d476b4285728492a15 |
refs/heads/master | <file_sep>#include "BoundingSphere.h"
#include <assert.h>
#include "Bounding.h"
#include "BoundingBox.h"
#include "BoundingFrustum.h"
#include "Ray.h"
#include "../Core/Plane.h"
#include "../Core/MathHelper.h"
//////////////////////////////////////////////////////////////////////////
///@brief 생성자
//////////////////... | cf29549a29824a4c6cbdebc34f684f88f3c66ef2 | [
"C",
"C++",
"INI"
] | 49 | C++ | choi92727/animationTool | 6236a20156a90dc0d195e9e16bb97cc8553ad24e | 8fdb91d6b82d0bc140a997b2d571706417d28908 |
refs/heads/master | <repo_name>WiltonMontel/criptografia-cifra-de-cesar<file_sep>/cifra_cesar.py
# --------------- Códificação do trabalho Cifra de Cesar -------------------
# Variável utilizada para receber a entrada do usuário
mensagem = input('Digite a mensagem que deseja que seja criptografada ou descriptografada: ').upper()
# Define... | 4eb6d8153f8f7cdd170ffcc06277d6fa2a0da492 | [
"Python"
] | 1 | Python | WiltonMontel/criptografia-cifra-de-cesar | 31653af0cbc06f41ba10c8ea9e25e05fffe8c780 | 1d2057379bb65087be4bac40753c0fcc552414e1 |
refs/heads/main | <repo_name>yester31/useful_code<file_sep>/18. visualize coco format dataset/visual_sample.py
import json
import cv2
import numpy as np
from PIL import ImageFont, ImageDraw, Image
# red , blue, green
color_map = [(0, 0, 255), (255, 0, 0), (0, 255, 0), (0, 255, 255), (255, 0, 255), (255, 255, 255),
(0, 0, 1... | c2f36d1806356e26bf0f7c743d6c4bcc7c269e69 | [
"JavaScript",
"Python",
"C++",
"Markdown"
] | 29 | Python | yester31/useful_code | 70ccd3f4efa2601181facc33d4b1375f0f41911f | 870cb56bcb04835feb3533a5593b0731e59f1d6b |
refs/heads/main | <file_sep># Generated by Django 3.2.3 on 2021-05-19 19:08
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('base', '0003_product_image'),
]
operations = [
migrations.RenameField(
model_name='product',
old_name='numReview',... | b803ce5a22ac506669ce063e507d789a0089f4c8 | [
"Python"
] | 1 | Python | alecaceres/proshop | 98c980b34421bc8d85556133ecd45538b59437ea | cf89c9ee8d5da5647176376c444e64dce8527f87 |
refs/heads/main | <file_sep>import React, { useState } from 'react'
export const Sesion = ({ handleSubmited,handleStars}) => {
const [usuario, setUsuario] = useState('')
let jugador ={};
const [estrella, setEstrella] = useState("")
/* const handleStar = (e) =>{
e.preventDefault()
cantidad = estr... | d87d7610cb5cd16d45acd955b011a61ee834f506 | [
"JavaScript"
] | 1 | JavaScript | JoelPapiREX/ESTRELLASJUEGO1 | 4b4200fabdc7f5417ddf4e7203609a74d70a2b5b | 07fc8f50f4f1ff16524491fe7b6ba58ace9557e4 |
refs/heads/master | <repo_name>mrhdman/firstBootCampProject<file_sep>/pWORKINGd.py
# -------pWORKINGd-------
# This game was created by "mrhdman"
import os
import time
from sys import exit
from definitions import *
os.system("clear")
intro()
<file_sep>/definitions.py
import os
import time
def startGame():
os.system("cl... | 563ac105fe5ccc195c3c28408ab8c67f76e54dda | [
"Python"
] | 2 | Python | mrhdman/firstBootCampProject | 52dca049abcab62c4fb6df58eff2c33da72a439f | a7d3b55d2276af01bcddbeb2faaa6e51590466da |
refs/heads/master | <file_sep>#!/usr/bin/env python
# -*- coding:utf-8 -*-
# Created by changjie.fan on 2016/6/28
"""
将RabbitMQ队列中需要发的邮件发出去
"""
import time
import simplejson as json
import os
import smtplib
# 多个MIME对象的集合
from email.mime.multipart import MIMEMultipart
# MIME文本对象
from email.mime.text import MIMEText
from e... | 43faf650ce4ba39013715d0bcb941253b60e4bc8 | [
"HTML",
"JavaScript",
"INI",
"Python",
"Text",
"Shell"
] | 83 | Python | AKMFCJ/tms | 084fa38e675fa81554a2780d30c97da22a707ef1 | bd17a503c6fa33633d36e44aa335e27ab27faba9 |
refs/heads/master | <repo_name>dhurtadorosales/HybridAppTemplate<file_sep>/src/pages/common/tabs/tabs.ts
import { Component } from '@angular/core';
import { HomePage } from '../../home/home';
import { UserListPage } from '../../user/user-list/user-list';
import { AliasListPage } from '../../alias/alias-list/alias-list';
import { AliasNewP... | f6127cc073e455342520cab0b156d46432b49cbc | [
"Markdown",
"TypeScript"
] | 17 | TypeScript | dhurtadorosales/HybridAppTemplate | b4329d8ca94692bf2cbefe2c06381e07e71d5fa5 | 3bc5d95daec9fc91cbcd17de9546b21fefbd85b0 |
refs/heads/master | <file_sep>package coursera;
public class NewCeaserCipher {
/*public static String encrypt(String input, int key)
{
String alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
String shiftAlphabets = alphabet.substring(key) + alphabet.substring(0, key);
StringBuilder newStringB = new StringBuilder(input);
for(int i =0;... | 3a84bf8230ef59326899c1827c472b326bb6db73 | [
"Java"
] | 3 | Java | Supriya090/Ceaser-Cipher | d8d9ad9a95c603be0367c218bcda294005fa758f | 0410966e6bcbcb55b4f2fda8d99751aab4f26e76 |
refs/heads/main | <repo_name>yuma140902/line-echo<file_sep>/src/word-verifier.ts
import kuromoji from 'kuromoji'
import * as kana_util from './kana-util'
// ===== 形態素解析に関するモジュール =====
type ErrorReason = 'NOT_A_WORD' | 'COMPOUND_NOUN' | 'UNKNOWN_WORD';
type VerifyWordResult = Success | Fail;
type Success = {
succeeded: tr... | 99d272f768d4afef8d71114824ffa49271ccbd46 | [
"TypeScript"
] | 5 | TypeScript | yuma140902/line-echo | 71f0cc30caf4c2ed4bdd2451bda27850160127fb | 678ccbb52f5d072d5b89678d1b1c55415d2dfa1c |
refs/heads/master | <repo_name>gatici/mano_monitoring<file_sep>/testSnmp/scale.sh
osm vnf-scale nss1 5 --scaling-group udr-vdu-manualscale --scale-out
<file_sep>/testSnmp/upload.sh
#for i in amf smf upf udm udr pcf ausf nrf
#do
#osm vnfd-create mslice1_$i'_vnfd.tar.gz'
#done
osm vnfd-create snmp_ee_vnf.tar.gz
osm nsd-creat... | 198dce95c19c21de8cd319904c3ba5c886602c50 | [
"Python",
"reStructuredText",
"Shell"
] | 16 | Shell | gatici/mano_monitoring | b3dc7cc842d50d2c8a5d0bb4adc98590c0c48820 | 13abded4b2b0f3a1a2dafde4e2ff11fb23246496 |
refs/heads/master | <file_sep>click==6.6
dominate==2.2.1
Flask==0.11.1
Flask-Bootstrap==3.3.7.0
flask-script==2.0.5
gunicorn==19.6.0
itsdangerous==0.24
Jinja2==2.8
MarkupSafe==0.23
visitor==0.1.3
Werkzeug==0.11.11
<file_sep>from flask import Flask, render_template
from flask_bootstrap import Bootstrap
from flask_script import Manager
app... | 4eb8e7961c6af3252807598a692615a7d10bca41 | [
"Markdown",
"Python",
"Text"
] | 3 | Text | Qumeric/che.rocks | fab9e00fed8b45e85b6faaae65cbf9fa97336817 | e1076f985dbd32344ef3f53c0f706ff34bc04d42 |
refs/heads/master | <file_sep>package PACKAGE_NAME;
/**
* Created by haozhang on 3/5/17.
*/
public class Test {
}
<file_sep>package PACKAGE_NAME;
/**
* Created by haozhang on 3/5/17.
*/
public class FlyWithMouth {
}
| a982e60f067b2c95289c046f7dba113fc2426a7b | [
"Java"
] | 2 | Java | Howiezhang226/headfirstdesignpattern | b6313d64463e47eb07942475c5c58a0401a32555 | fdb857e46abdb6413834d61db3178c685a9f4dfb |
refs/heads/master | <repo_name>JenyaIII/testRedux<file_sep>/src/Redux/reducers/cardReducers/cardsReducer.js
import {
ADD_USER,
GET_USERS,
GET_USERS_LOADING,
GET_USERS_ERROR,
DELETE_USER,
CHANGE_MODAL,
EDIT_FORM,
UPDATE_USER,
} from '../../actions/actionTypes';
const initialState = {
loading: false,
modalOpen: false,
... | 66f9da8785136b359e68b0460d5dbc1b7a18dbf7 | [
"JavaScript"
] | 7 | JavaScript | JenyaIII/testRedux | 279db138427d959af7a261fb27b8597ff491ba47 | 8e4f888f92cb8ce313e307b5f2f2835480668caf |
refs/heads/master | <repo_name>yaoxinmeng/PSA-Game-It<file_sep>/Assets/Scripts/CutScene6.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Video;
public class CutScene6 : MonoBehaviour
{
private GameObject game;
private VideoPlayer vp;
// Use this for initialization
void... | 89043af1f3093f3095b381c39082a8009a0deeb8 | [
"C#"
] | 29 | C# | yaoxinmeng/PSA-Game-It | 83b6ed844a53e52af53bd078a9c267765e9accb8 | 1d83f6bdf68db8bdff319f45eef64bd37f7d8d53 |
refs/heads/master | <repo_name>AndreyAntipov/meteor-accounts-guest<file_sep>/accounts-guest-client.js
/*****************
* special anonymous behavior so that visitors can
* manipulate their work
*
*/
// If our app has a Blaze, override the {{currentUser}} helper to deal guest logins
if (Package.blaze) {
/**
* @global
* ... | b44bf31e6483b324930fbcde843e373e5bf0e208 | [
"JavaScript"
] | 2 | JavaScript | AndreyAntipov/meteor-accounts-guest | e41e80e4d92eeeb6cded13870420a64b5377a1f6 | 8927c8d061337064ed6a9cf8eb943ffbbbd225d8 |
refs/heads/master | <repo_name>YuraPelehatiy/internet-store-app<file_sep>/src/layouts/App.js
import React from 'react';
import { Route, Switch } from 'react-router-dom';
import { routes } from '../routes';
import Desktop from './Desktop';
import AuthPage from '../pages/Auth/AuthPage';
const App = () => (
<Switch>
<Route path... | 3c1c1157229bead29dc3b3a992a48c962918de69 | [
"JavaScript"
] | 55 | JavaScript | YuraPelehatiy/internet-store-app | ccc1d1686f138e78cb76ce7fef847612baf02f32 | ce466031ad3f9909d9fe389372e366be877d9c2d |
refs/heads/master | <file_sep>import React from 'react'
import Title from '../../../components/Title'
import { Flex, Box } from '@rebass/grid'
import ilustraAtena from '../../../assets/ilustra-atena.svg'
const About = () => {
return (
<section className="container about">
<Flex alignItems="center" flexWrap="wrap">
<... | 30cb86e772ef8fb77c70f982e6f2dd8759f72024 | [
"JavaScript",
"Markdown",
"Shell"
] | 57 | JavaScript | universoimpulso/atena-frontend | 22981c043957824627dce1035db44e6c5603aa2c | 088e0aed37e059149f4f5d23fd6d7323b2781446 |
refs/heads/master | <file_sep>class CreateJobApps < ActiveRecord::Migration[5.2]
def change
create_table :job_apps do |t|
t.string :First
t.string :Name
t.string :Last
t.string :Name
t.numeric :Phone
t.string :Job
t.text :Role
t.text :Place
t.timestamps
end
end
end
<file_s... | f86c2091e7ab0bd5f91cd62b32d7f8fa735fae58 | [
"Ruby"
] | 16 | Ruby | NakulBharadwaj123/CrudOnRails | 419ab5d0f03f84bba72671e428cb46f72c6c6668 | bf9bc80406eabe9e9581660a8362bebf74647534 |
refs/heads/master | <file_sep>package com.example.transmissoriotparacegos.providers
import com.example.transmissoriotparacegos.models.IoTDevice
import com.google.gson.GsonBuilder
import okhttp3.OkHttpClient
import okhttp3.logging.HttpLoggingInterceptor
import retrofit2.Retrofit
import retrofit2.adapter.rxjava.RxJavaCallAdapterFactory
imp... | aa1c4ce907eda5c404e63e28a94d1731a8717eb3 | [
"Kotlin"
] | 3 | Kotlin | crislmfroes/TransmissorAutomacaoIoT | c6308dabac34e1bd72aeffee6d87e86cf61f7076 | 571ae727a81cb7788b48e73eecc8a0d64ea1a91b |
refs/heads/master | <repo_name>anon05/FiveM-FSN-Framework<file_sep>/fsn_store/client.lua
local stores = {
{id = 'liquorace', xyz = vector3(1392.3483886719, 3604.0036621094, 34.980926513672), blip=true, busy = false},
{id = 'ltdgas', xyz = vector3(1698.4125976563, 4924.998046875, 42.063678741455), blip=true, busy = false},
{id = 'ltd... | aae876aa2c9b2637a7537f6f6612cdaa1c49f870 | [
"Lua"
] | 2 | Lua | anon05/FiveM-FSN-Framework | 72a580a368e8f51f07bbe14f2c3b0827e1632c7e | a03e9e504bb3185f1dd8b5a62370bc3c32821f42 |
refs/heads/master | <file_sep>package weblab.http.header;
import weblab.http.statuscode.StatusCode;
/**
* Header to define the Http Version in use
*
* @author <NAME> <<EMAIL>>
*/
public class HttpHeader implements Header {
private String mHttpVersion;
private StatusCode mStatusCode;
public HttpHeader(String httpVersion, StatusC... | a2318efda28cd79afb8b9146b12d8be8f306957e | [
"Markdown",
"Java",
"JavaScript"
] | 14 | Java | daves-weblab/NDS-Http-Server | 962102ee134c85e2a33cbab2c9427d183699e66f | 72a57fa10de9e840fb2896f779f1771ae6487fd6 |
refs/heads/master | <file_sep># QuickSnippet for Visual Studio Code
> Quickly create custom snippets for any language from selected text.
## Install the extension
1. Open Visual Studio Code
2. Press `Ctrl+P` to open the Quick Open dialog
3. Type `ext install quicksnippet` to find the extension.
4. Press `Enter` or click the cloud icon t... | ecce58c915768e15f8c72d3d31c198469e8c2924 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | mousetraps/vscode-quicksnippet | 3fb6b4dab96b801a352dac880daba2feed9cbc7f | e30f2499ff8f6ed32206a066278de7cc20aee159 |
refs/heads/master | <repo_name>david-estevez-62/expandSearch-page<file_sep>/main.js
var status = 'retract';
function expandSearch(){
// $('#searchPg').toggle(200);
// $('#searchBar').toggleClass('fullscreen');
// var searchBar = $(this)[0];
if(status === 'retract'){
var searchBar = $(this).children()[0];
$(this).anima... | 64de3d7725a08dd46d45bce4862977fd255b1eb1 | [
"JavaScript"
] | 1 | JavaScript | david-estevez-62/expandSearch-page | f671628c23131a190c7ade792a0e2ecfc95ff222 | 3679786939f8251648149e30911a558d1f3fb3f8 |
refs/heads/master | <repo_name>Jonas228/WPFGehirnJogging<file_sep>/WPFGehirnJogging/Vokabeltrainer.xaml.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using S... | e3a21f411cc0619ebe810fdcb82e899467935c2c | [
"C#"
] | 11 | C# | Jonas228/WPFGehirnJogging | 40668c1c7f4bfa4f6fa60cd33ae5fefa229865b3 | 93b059603fe59685fc998774302668ffc10d7530 |
refs/heads/master | <file_sep>import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class Welcome extends JFrame{
public Welcome(){
super("Pokemon Game Beta");
Trainer t = new Trainer("sulton");
Container c = getContentPane();
//label for background
JLabel b... | 5d800dc28ae46b7c7796091dfe19931afe1b1344 | [
"Java"
] | 4 | Java | sultonza24/pokemon-game | 6879a0337f559a789446701fbcfdf25a838f038c | 0883bdd92ff29138612e7bc2f8c6915d59d7d946 |
refs/heads/master | <file_sep># GurtWest
A static file list
<file_sep>var feed = new Instafeed({
//clientId: '<KEY>',
accessToken: "<KEY>",
get: "user",
userId: "7464627426",
resolution: "standard_resolution",
template:
'<a target="_blank" href="{{link}}" title="{{caption}}"><img src="{{image}}" alt="{{caption}}" /></a>'
... | 9ed73ea791791f4d9ee4e77705f1fc83f7d33035 | [
"Markdown",
"JavaScript"
] | 3 | Markdown | discoliam/gurtwest | 9c56955a0fd0f6c0c599a157f23404d801b63e80 | 45689da8f1b0a74b0e88b866751240854a0e274a |
refs/heads/master | <repo_name>leonelvelez314/BGCarritoOld<file_sep>/www/js/controllers.js
angular.module('starter.controllers', [])
.controller('AppCtrl', function($scope, $ionicModal, $timeout,$http) {
// With the new view caching in Ionic, Controllers are only called
// when they are recreated or on app start, instead of every pa... | ae5617aefc9de52cc9410ac8a7fbdfc9ddfc70db | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | leonelvelez314/BGCarritoOld | 1c96a90ff2ec6cb2abebfc93eda810ab7c649a2d | 28c9a6380b1d4950d7706822dfc38fb185638e02 |
refs/heads/master | <repo_name>blythe104/looking<file_sep>/app/src/main/java/com/looking/classicalparty/moudles/main/fragment/MusicFragment.java
package com.looking.classicalparty.moudles.main.fragment;
import android.graphics.Color;
import android.os.AsyncTask;
import android.os.Bundle;
import android.util.Log;
import android.view.Layou... | a2ef8dafc752ddd6b3a5eb3b36c37e66b0f3b85d | [
"Markdown",
"Java",
"Gradle"
] | 29 | Java | blythe104/looking | 0a96bbc695397a50c6471d87de73446798631dff | ea2a897e7f19850c5a13cf21c0444ac93c72fc72 |
refs/heads/master | <file_sep>package ramsden.ryan.GUI;
import java.awt.Canvas;
import java.awt.Color;
import java.awt.Font;
import java.awt.FontMetrics;
import java.awt.Graphics2D;
import java.awt.Point;
import java.awt.Rectangle;
import java.awt.event.KeyEvent;
import ramsden.ryan.Control;
public class TextInput extends Interface {
... | b13ca5fa7d548f36942824e856baccf682b49e93 | [
"Java",
"Python"
] | 7 | Java | Draesia/ParticleCollisionSimulation | 96ed4f576bdd32f58acab76207d5dbf352b5559b | 0fb6a657378c1927f83642e8f50e936ef4f9c80a |
refs/heads/master | <file_sep>// SVELTE THEME FOR GLITTER
// Coyright 2009(c) <NAME>
// this removes the default twitter styles
$('style').remove();
var stylesheets = $('link[type="text/css"]')
$.each(stylesheets, function() {
// make sure not to remove the custom style we added
if($(this).attr('id') != 'customStyle') {
$(this).remov... | 9349c11c8ee1ebac8e9ac545e7ba513d8a481601 | [
"JavaScript"
] | 1 | JavaScript | mmilo/glitter | 48f542218f5a0022446eb237b9c3097ca59ce631 | 44031be0f7dc28313d4f7db3155d33e94c8e61bf |
refs/heads/master | <repo_name>deepanshu79/Pulsar-prediction<file_sep>/README.md
# Pulsar-prediction
This project predicts target class of pulsars(neutron star) using SVM , Kernel-SVM and Naive bayes models of machine learning.
<file_sep>/SVM.py
# SVM
# Importing the libraries
import numpy as np
import matplotlib.pyplot as plt
import pa... | 1bcce46d5de70a13613e8c61473b439872474a44 | [
"Markdown",
"Python"
] | 2 | Markdown | deepanshu79/Pulsar-prediction | 250911fad08fac8a3cc404a9cccfc412e376c944 | 09768000f50a4cf5bca994550bc4ac56c7cff7df |
refs/heads/master | <file_sep>import React from 'react';
import { Link } from 'react-router-dom';
import LoginForm from '../../components/LoginForm/LoginForm'
import './LoginPage.css'
import HeaderContext from '../../contexts/HeaderContext';
class LoginPage extends React.Component {
static defaultProps = {
history: {
push... | 9e097435a179563369f3feed6b205e14c178952f | [
"JavaScript",
"Markdown"
] | 17 | JavaScript | thinkful-ei-emu/nick-capstone1-client | cc79ca0b35c75c78d49c999f8d0603645bd5f11b | cf9ebb2d3d01b7d081aca3086406a44afa43607b |
refs/heads/master | <file_sep><?php
namespace Naoned\PhpConvention;
use Composer\Script\Event;
use Symfony\Component\Process\Process;
class GitHook
{
const GIT_HOOK_PATH = '.git/hooks';
const GIT_HOOK_SCRIPTS_PATH = '/githooks';
public static function install(Event $event)
{
if (!is_dir(self::GIT_HOOK_P... | 21dde328e4d0bd0597ad85de2cb675140385eed8 | [
"Dockerfile",
"PHP",
"Shell"
] | 3 | PHP | naoned/php-convention | 6f587f0b3532998c0f988ec441f944f296a4b62c | 938c0d37d8f32b05fc9950e20f21b3e789c9726c |
refs/heads/main | <repo_name>lopezbraian/api-task<file_sep>/app.js
const express = require('express')
const app = express()
const cors = require('cors')
const bodyParser = require('body-parser')
const route = require('./routes')
const { errorHandler, wrapwithBoom, routeNoFound } = require('./middlewares/errorHandlers')
//Middlwares
app.... | afc362821906ecdfb5ce4796674e81a9ca502331 | [
"JavaScript",
"Markdown",
"YAML",
"Dockerfile"
] | 8 | JavaScript | lopezbraian/api-task | 49c1e051cb29a40081596d28f7eff83e79c6b4b2 | 6742fd02ba770fba321b35cce1c3354966fb358a |
refs/heads/master | <file_sep>/* Hello World Example
This example code is in the Public Domain (or CC0 licensed, at your option.)
Unless required by applicable law or agreed to in writing, this
software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied.
*/
#include <s... | f6be713afbe9f14e830d805fa0e5abdd9ee5d2c9 | [
"Markdown",
"C",
"Text"
] | 16 | C | dkmyers/ece566 | 31a0ae2876304eea807fb54198e0334990dfc238 | 3211f1ae38aac88b906eb32c7c3b8b418c6ca031 |
refs/heads/main | <repo_name>belegz/HRCGroup<file_sep>/Robot.java
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.Map;
/**
Represents an intelligent agent moving through a particular room.
The robot only has one sensor - the ability to get the status of any
tile in the environm... | dc4df9ebb75d6546124e86a3e4810b41fa68bbcb | [
"Java"
] | 1 | Java | belegz/HRCGroup | 8213a6b2b3117129013e37cfa91e10d1bad5122c | b5945ccaf6d710d025acde05c8a50cc631b0573c |
refs/heads/master | <file_sep>#!/usr/bin/env sh
SCHEMA_FILE=/etc/pdns/schema.sql
if [ -f ${SCHEMA_FILE} ]; then
sqlite3 /srv/pdns.sqlite < ${SCHEMA_FILE}
rm ${SCHEMA_FILE}
fi
pdns_server \
--api=${PDNS_API:-yes} \
--api-key=${PDNS_API_KEY:-<KEY>} \
--webserver-address=${PDNS_WEBSERVER_ADDRESS:-0.0.0.0} \
--webserver-port=${PDN... | 06e1489426063271f53266a4b976e8d07edb84c0 | [
"Markdown",
"Makefile",
"Dockerfile",
"Shell"
] | 4 | Shell | olivermichel/pdns-dnsupdate | 195ba37566f5b4c34d8deadd7dd170f6cc5428c2 | f87e80345f580de9ded97e9de6c46d1122dc3451 |
refs/heads/master | <repo_name>Thomasan1999/memsource-assignment<file_sep>/.eslintrc.js
module.exports = {
root: true,
env: {
node: true
},
overrides: [
{
files: '*.vue',
rules: {
'max-len': 'off'
}
}
],
rules: {
'arrow-body-style':... | 4d43b5e973e84df9e8fe632426910612ddda6169 | [
"JavaScript",
"TypeScript"
] | 10 | JavaScript | Thomasan1999/memsource-assignment | 58275e9a4a2b7f7366db0d2ca2f1ab983d9e4aed | da1fd7ee28ae46c2d67e520d8ca1258dfb46db42 |
refs/heads/master | <file_sep>## Generate ICONS for Cordova/Electron
Output will be in root folder **/res**, res copy to your root cordova project.
How import icons to cordova config read file **config.xml** in root
## Setup - first install all npm packagist
You must have **NPM and NODE** in your computer.
```bash
npm install
```
#... | 18cd54cf115e67e15cd3dbc4cfa5a8fbd05cb81e | [
"Markdown",
"JavaScript"
] | 2 | Markdown | mafikes/generate-cordova-icons | 61789f29c5c9cf2d924a74270cdbfbe66b171244 | 3bac73bb6e3ca7ae9b5b28005f6796611ca57e4b |
refs/heads/master | <repo_name>AriBishop/GeometryTool<file_sep>/GeometryTool.java
/*
* Author: <NAME>, <EMAIL>
* Course: CSE 1001, Section 02, Spring 2016
* Project: geometrytool
*/
import java.util.Scanner;
public class GeometryTool{
public static void main(String[] args){
Scanner kb = new Scanner(System.in);
... | d0bd53b5d92300b07c6a30dea3dc0f54400881b3 | [
"Markdown",
"Java"
] | 2 | Java | AriBishop/GeometryTool | f000fb808ccd61b0ecb7de3760866872f386362b | 30ef63530d6056cdfd73d04e5d956b18a15b876d |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.