branch_name stringclasses 149
values | text stringlengths 23 89.3M | directory_id stringlengths 40 40 | languages listlengths 1 19 | num_files int64 1 11.8k | repo_language stringclasses 38
values | repo_name stringlengths 6 114 | revision_id stringlengths 40 40 | snapshot_id stringlengths 40 40 |
|---|---|---|---|---|---|---|---|---|
refs/heads/master | <file_sep>package blue.red.server.cache;
import blue.red.core.message.CacheMessage;
import blue.red.core.message.ResponseCode;
import blue.red.server.config.RedConfig;
import blue.red.server.config.RedConfigItem;
import blue.red.server.queue.MessageChannel;
import blue.red.server.queue.QueueHandler;
import blue.red.se... | 8fa52444b0bd2f9adb34a94acfa41ba1a216fc51 | [
"Markdown",
"Maven POM",
"Java",
"Dockerfile",
"Shell"
] | 57 | Java | blue0121/red | 25bec9839eceeb850df943143d442acd1c7596d4 | 0384b6037187fe3c080fad1200d56875a0b83717 |
refs/heads/master | <repo_name>roadchimp/thinkful-pytbay<file_sep>/tbay.py
from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker
from sqlalchemy.ext.declarative import declarative_base
from datetime import datetime
from sqlalchemy import Column, Integer, String, DateTime, Float
engine = create_engine('postgresql://... | 8bd86a0c64a3447b216136d9b01fdbfb0fe017ca | [
"Python"
] | 1 | Python | roadchimp/thinkful-pytbay | af56bcd6e6db0a4a48aff87cc9a10e4235ecb0e1 | 0c851ca5c6dbf557540821f3bb0d8dd4ea7f4651 |
refs/heads/development | <file_sep>source 'https://rubygems.org'
# Ruby version
ruby '2.3.3'
gem 'octokit', '~> 4.0'
gem 'bitbucket_rest_api', '~> 0.1.7'
<file_sep>require_relative '../provider.rb'
class RedguideGithubApi < RedguideGitProvider
def initialize(username, password)
@client = Octokit::Client.new :login => username, :passwo... | a08ca5970e7e0e18b775dc95cbe04cec5617fb54 | [
"Ruby"
] | 5 | Ruby | pwlae/redguide-git-api | 6fc70a15819d7ee210a89e4a3f420153ca0b572a | 445da80d509ec6ee790fd4f0fe9ccbfab58c4cf3 |
refs/heads/master | <repo_name>carefreeMa/MySQL-practice<file_sep>/practice2.sql
# 取得每个company中最高薪水的人员名字
# 输出结果包含公司名称和人员名称:companyName name
SELECT com.companyName as companyName, emp.name as employeeName FROM Company com, Employee emp WHERE emp.companyId = com.id AND emp.salary =
(SELECT MAX(salary) FROM Employee e2 WHERE e2.companyId = ... | e6ba26a9be8b9fdb75390904a833d4ba20374b27 | [
"Markdown",
"SQL"
] | 5 | SQL | carefreeMa/MySQL-practice | ddcf3728c21e11127e25261d3a1451bb2b109c79 | 84788ff763db95cf4f1bfb20532622a0268db72d |
refs/heads/master | <repo_name>mklopotek/Exercise_repeating<file_sep>/src/App.js
import React from 'react';
import { BrowserRouter as Router, Route, Link, Switch } from 'react-router-dom'
import SmartComponent from './SmartComponent';
import Users from './Users'
class App extends React.Component {
render() {
return (
<div>
... | 5951fc5240802563a84770901d5c1a3a071be2fa | [
"JavaScript"
] | 1 | JavaScript | mklopotek/Exercise_repeating | 658debb328d5e1e98b26bad163fffc0b1af60129 | ce4bf933267cf8699e92fb109a22089d535f4a7d |
refs/heads/master | <repo_name>psy667/aws-learning<file_sep>/src/app/app.component.ts
import {Component, OnInit} from '@angular/core';
import { APIService } from './API.service';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent implements OnInit ... | e132703aa2a78cbeae0ddf0806809163e3627ed7 | [
"TypeScript"
] | 1 | TypeScript | psy667/aws-learning | ec1c263f4e695ea76d01a1a94b090d702d6b9799 | 2bdff445b5c4f6a39f73f8f0e6f2c4075161bbb7 |
refs/heads/main | <file_sep>package com.example.instadon
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import androidx.core.content.ContentProviderCompat
import androidx.core.content.ContextCompat
import androidx.recyclerview.widg... | 08c66cc27baa6a6e39c94617243f9ced03220c9d | [
"Markdown",
"Kotlin"
] | 9 | Kotlin | srivathsanvenkateswaran/InstaDon | d7c6c6770e18b2d04daf016d4becca95270b8a92 | a6c8861d1bfc6f837ffae57caa9bad4ce1907d65 |
refs/heads/master | <repo_name>ruilov/LIB-Table<file_sep>/Main.lua
--[[
function setup()
local tab = {{a=1,b=2,c="a"},{a=1,b=3,c="b"},{a=0,b=0,c="b"},
{a=2,b=2,c="0"},{a=1,b=2.5,c="ba"}}
--Table.sort(tab,"-a","b")
Table.sort(tab,"-c")
--tab = Table.sub(tab,3,20)
for _,elem in ipairs(tab) do
print(elem.a... | 5be4bd657088415c3ae7dd118ddeaba6d6552d92 | [
"Lua"
] | 2 | Lua | ruilov/LIB-Table | deb176f3e1c7ec37c5f890329412eadc0f21c032 | 41cfb5b643e0729021f6ca6b4732943fa4007ea8 |
refs/heads/master | <repo_name>santosh-belote/DesignPatterns<file_sep>/Adapter/SparrowImpl.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 design.patterns.AdapterDesignPattern;
/**
*
* @a... | 182aa4f18473c23ea747161e48c0492eebe150b6 | [
"Java"
] | 3 | Java | santosh-belote/DesignPatterns | a6eea8b8cfcd5932fc3892839f728445dbe1a916 | 162719cab2352111a2d6f6489d81c144aa001cb0 |
refs/heads/master | <repo_name>michalfain/ChartIt<file_sep>/app/src/main/java/com/example/chartit/ViewCharts.java
package com.example.chartit;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AlertDialog;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Context... | 90946ac988fd26254b59bde283ae41e28300b316 | [
"Markdown",
"Java"
] | 3 | Java | michalfain/ChartIt | 86cb0aa2399db0b6236af864972cd650bf107304 | 71d9d51359aa373077007c56e9b0e9e29ff8e7c2 |
refs/heads/master | <file_sep>import pandas
import csv
messages = pandas.read_csv('SMSSpamCollection', sep='\t', quoting=csv.QUOTE_NONE,
names=["label", "message"])
# print messages.groupby('label').describe()
for m in messages.message:
m.upper()
print messages.message
<file_sep>from sklearn.feature... | 82d3f76eda282617b217f8467be55aeec5996aae | [
"Python"
] | 2 | Python | susiecoleman/TextClassifier | 06a31c067d04e6227fe0ae6bf2d6c4c7a93004d3 | 94dc9b2ed618378a979b0e2bb426132d4b350431 |
refs/heads/master | <file_sep>import datetime, time, math, pytz, os, sys
import pandas as pd
import yaml
from NormalSchedule import NormalSchedule
from DataManager import DataManager
from Advise import Advise
from xbos import get_client
from xbos.services.hod import HodClientHTTP
from xbos.devices.thermostat import Thermostat
from xbos.s... | 3beb605cebf8b2cbe1f2fe524404cc21ad1ab2be | [
"Markdown",
"Python"
] | 18 | Python | chetanmehra/XBOS-DR | e8b8c1990175f0ddfe4398d219a4623cc2b31bd7 | f7d2d27731916ba549fdc550a17e263f7f31e29e |
refs/heads/master | <repo_name>JL321/ArduinoControl<file_sep>/manualControl.ino
#define in1 4
#define in2 5
#define in3 6
#define in4 7
#define enA 9
#define enB 10
#include <Servo.h>
Servo myservo;
int pos = 0;
char val = 0;
signed char i = 0;
signed char j = 0;
void set_speedA(signed char speed){
if((speed > -128)... | 2f990ce96fe18110cb3d28bd94761047ef6cb5b6 | [
"C++"
] | 2 | C++ | JL321/ArduinoControl | e3365089f30641084ec4cdd3dcf32eca0200c256 | 3a1caf7bb1630ee0ab43a8e1d9cd39bc74942375 |
refs/heads/master | <repo_name>ddemuro/permissions_numeric<file_sep>/permissions_numeric.sh
#!/bin/bash
rm hello.csv
echo "Permissions string, Octal" >> hello.csv
for ((i=0; i<=7777; i+=1)); do
echo "Testing $i"
if echo $i | grep -P '[0-7]{4}'; then
rm hello
touch hello
chmod $i hello
stat=`stat -c '%A %a %n' ... | cc7de2d1c340fab9b581d6fe1c30d463e7e2fccc | [
"Markdown",
"Shell"
] | 2 | Shell | ddemuro/permissions_numeric | c307c2e3c556921a481a9bbe9cd9568275e938c1 | 3d5cd96fdd222b4c6ae6261ec6c896d648b791e6 |
refs/heads/master | <repo_name>7kms/boilerplate-electron-react<file_sep>/template/build/pathConfig.js
const path = require('path')
const resolve = (url)=>{
return path.resolve(__dirname,url)
}
module.exports = {
appSrc: resolve('../app'),
publicPath: './',
clientOutput: resolve('../__build__client__output__'),
clientE... | 4c52075058ad98ad308aa9801e2b617de49cc1df | [
"JavaScript",
"Markdown"
] | 6 | JavaScript | 7kms/boilerplate-electron-react | a24afbc6d8d0b0f3d0ae0e234e4bce75e7dc5192 | a8bdb33f7f68a8787db2900b8adbefe1aac31424 |
refs/heads/master | <file_sep># Fight_The_Ogre
text based game for python practice
Made by <NAME>
<file_sep>import random
import sys
def get_Name():
print('What is your name?')
name = sys.stdin.readline()
return name
def get_Weapon():
print("What will be your weapon of choice?")
weapon = sys.stdin.readline()
prin... | 4cb70c315f328adee09b487a76343d286045c155 | [
"Markdown",
"Python"
] | 2 | Markdown | KKarabinas/Fight_The_Ogre | 2bb2514b71de7c1c52d481c6929d32f1617e07c4 | 85389825f851665f3f692f3c5d67984d8ad336eb |
refs/heads/main | <repo_name>anaxronik/firebase-test<file_sep>/src/urls/api.ts
export const baseApiUrl: string =
'https://anx-test-a4a50-default-rtdb.europe-west1.firebasedatabase.app'
<file_sep>/src/routes/index.ts
import { IRoute } from './types'
import TodosPage from '../pages/Todos'
import { MainPage } from '../pages/Main'
export... | 28cb4c63597279b05a30a9c079679bbd713c7e71 | [
"Markdown",
"TypeScript"
] | 8 | TypeScript | anaxronik/firebase-test | 28561baf213d90e6b01f32d3ee2fa2d56e386360 | bbb934da4ec8ca535a62c27e82e87228a7e42f35 |
refs/heads/master | <repo_name>giocarvalho07/escola_SpringMVC<file_sep>/src/main/java/com/escola/service/CursoService.java
package com.escola.service;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.escola.model.Curso;
import com.escola.repo... | 21e9b12368a90b552357d4f65c2fcb26e3c57f95 | [
"Java"
] | 3 | Java | giocarvalho07/escola_SpringMVC | ed4674983ff19cbcf7ab5720d9d682fb4826d558 | cdfbf2fa52163268be9f6914810e74e2f4d615e2 |
refs/heads/master | <repo_name>tnuxubp/crud-php<file_sep>/proses_update.php
<?php
include "konek.php";
if(!empty($_POST)){
$id=$_POST['id'];
$nama=$_POST['nama'];
$alamat=$_POST['alamat'];
$nim=$_POST['nim'];
$collection->update(array( '_id' => new MongoId($id)),array( '$set' => array( 'nama' =... | 57fa96def3dcc6cd9accbce6da8af6b12c36b18d | [
"PHP"
] | 6 | PHP | tnuxubp/crud-php | 79b8b257e16d0f090a6e83a8df6b5df4713d5e33 | 2c53b86fa383721d06e42330842ea9d3aa5b96a8 |
refs/heads/master | <repo_name>devgr/game-dev-teaching<file_sep>/public/easyphaser.js
// TODO: enemy walk back and forth
// TODO: enemy fly and follow player
// TODO: add more comments
// TODO: write documentation
(function(){
'use strict';
var game = null;
var spritePath = './sprites/';
var spriteExt = '.png';
var screenWidth = 480;... | 99c7b1c0878fe3687cb3c375754a3e2e899898d1 | [
"JavaScript",
"Markdown",
"Shell"
] | 10 | JavaScript | devgr/game-dev-teaching | 4b3c3cdfcdf8c99aa91b0acf162e2eb8300ce8ac | a143944e049333ac70b5222cd18eaa99a65ce9cd |
refs/heads/master | <file_sep><?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Requests;
use Illuminate\Support\Facades\Cache;
class SecretController extends Controller
{
public function register(){
// Gennerate a random string
$random = str_random(10);
// Check if the name ex... | e01823f0472cdee6492ab1a4a9217a0536ee700e | [
"JavaScript",
"PHP"
] | 11 | PHP | oduonye1992/bored-traffic | 7945be2f978fc00731b992055acae6efcef941e8 | f1ba467edd6fa4822eaea7e7b407dbfd47cddef5 |
refs/heads/master | <file_sep>import pylab as lab
import math
hbar = 6.626 * 10**(-34)
m = 10**(-30)
w = 1
pi = 3.14159
def psi(x):
return ((m * w)/(pi * hbar))**(1/4) * math.exp(- (m * w) / (2 * hbar) * x**2)
def psi_2(x):
return ((m * w)/(pi * hbar))**(1/4) * math.sqrt((2 * m * w)/(hbar)) * x * math.exp(- (m * w) / (2 * hba... | 973c634ad95fd727b8fbcb2d827dcde785fc83b5 | [
"Python"
] | 4 | Python | sukovanej/QM---numerical-solutions | 50ba5a6d2b49d0dab649f6831c31ad7e0239fb8a | 1030944d2c9f2078875ab56d298afa2f8300174b |
refs/heads/master | <file_sep>package com.example.chainofresponsibility
data class Pedido(
val valor: Double,
val produtos: MutableList<Produto>
)<file_sep>package com.example.chainofresponsibility
data class Produto(
val nome: String,
val valor: Double
)<file_sep>package com.example.chainofresponsibility
import org.junit.Test
impo... | 4fa1c43f7b89552dd7140a4ae6eabc6c447b2089 | [
"Kotlin"
] | 4 | Kotlin | Pedrobam/ChainOfResponsability | 77b163fd49f6ebb2195669d930edaa4601b7f5de | c6460d045793eefd1f8fef21950f1c63afbfadf1 |
refs/heads/master | <repo_name>GordanSajevic/lab20<file_sep>/Dimensions.java
package lab20;
public class Dimensions {
double height;
double width;
double length;
double weight;
}
| 985ca27769aa5cdf37f07f8c5f4f9a9e3cb87c7c | [
"Java"
] | 1 | Java | GordanSajevic/lab20 | 6f406faf88d00e2b93ec84cbfafafe2c71632cda | f1dc7c9ff10602d2ec2a3e4693cda10b1c8f2ade |
refs/heads/master | <repo_name>scheung97/NattyTracker<file_sep>/lib/tasks/export_pictures.rake
namespace :export do
desc "Export pictures"
task :export_images_to_seeds => :environment do
Image.all.each do |image|
excluded_keys = %w[created_at updated_at id]
serialized = image
.serializable_hash
... | e25db0be1bfc84a9780dbb6534ec83bfcf3d5223 | [
"JavaScript",
"Ruby",
"Markdown"
] | 16 | Ruby | scheung97/NattyTracker | 6328beee2192e8b8c145f53c3a979d21f8e2f107 | 4127d03e5bb998af195de0a04327cfa8dc3e7215 |
refs/heads/main | <repo_name>mattheusmendonca/IMC<file_sep>/IMC/1.swift
//
// ViewController.swift
// IMC
//
// Created by <NAME> on 17/08/21.
//
import UIKit
class ViewController: UIViewController {
@IBOutlet weak var tfPeso: UITextField!
@IBOutlet weak var tfAltura: UITextField!
@IBOutlet weak var lbResultado: UI... | 7d0c9733ba0cddfe62934f85aaf07842ffee7da9 | [
"Swift"
] | 1 | Swift | mattheusmendonca/IMC | 4c85231c84ce1f93a6c4b32936744ef0787bbae1 | 4d9fd1288ea69a7ddc1ae875c339367af3313f52 |
refs/heads/master | <repo_name>DilipPandit/TTracko<file_sep>/app/src/main/java/com/ttracko/home/interfaces/MobileDialogListner.java
package com.ttracko.home.interfaces;
/**
* Created by root on 28/6/18.
*/
public interface MobileDialogListner {
public void onMobileGet(String mobileNumber,String userName);
public void onMobileC... | b70c7f73094fd37a3bf90760860e7489fdd806aa | [
"Java"
] | 3 | Java | DilipPandit/TTracko | 8843ffed1d9671200e3e69353cbaba802dbc3a7d | 30dbfd0376c21a7bf4c335e51b1ff2955a2b1c22 |
refs/heads/master | <repo_name>preciousmind/ticket-react<file_sep>/src/app.js
import React, { Component } from "react";
import store from "./store";
import { Provider } from "react-redux";
import { Redirect, Route, BrowserRouter as Router } from "react-router-dom";
import AddDetails from "./container/AddDetails";
import Login from ".... | 1ffe404020ec16146c1ea375b62bcfc9cc39171a | [
"JavaScript"
] | 11 | JavaScript | preciousmind/ticket-react | 5cc799ee2e6fbaf1ca93c4373ebdbb441072cca2 | b3890dadb07dd671e5389d9f9e9f752877c5f3a8 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
namespace family_dictionary
{
class Program
{
static void Main(string[] args)
{
Dictionary<string, Dictionary<string, string>> myFamily = new Dictionary<string, Dictionary<string, string>>();
myFamily... | 23a8140bdc6e841988d25c369591c1de016d0876 | [
"C#"
] | 1 | C# | FortunatoMugnano/Family_Dictionary_Exercise | 3dae775290940ad1e3aa4f8501e841064ff0a9ab | 90b3d02510949be2fac8e59e46310d88842b885d |
refs/heads/main | <file_sep>Dado('que estou logado como {string} e {string}') do |email, password|
@email = email
visit "/"
find("input[placeholder='Seu e-email']").set email
find("input[type=password]").set password
click_button "Entrar"
end
Dado('que acesso o formulário de cadastro de Anúncios') do
cl... | 2f6de30cc4b58bc1c6f367e3c5d937949c93e364 | [
"Ruby"
] | 1 | Ruby | kennedysilvao/rocklov | 8f963bfaa8d523c9740679611abe701040a8340f | ecd6ed040966b9af3ec875c2df203ea4eea8f3ff |
refs/heads/master | <file_sep>using System;
using System.Text.RegularExpressions;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
string[] text ={"Макс",
"C++",
" +79263772622",
" 89263772622",
" (926)3772622",
" +7-945-677-44-55",
"8(098)456-56-56"}... | d36cf84beb65a8a56bed87636805617e2aeb6e2c | [
"C#"
] | 4 | C# | CampOwl/rep | 75aa9fdbc2d4e3d38a2f58d07cbb0b1db7ae051a | 7062647be416529ccf82da67c86e5b7ff843d656 |
refs/heads/master | <repo_name>nguyenlephong/Redux<file_sep>/app/store-redux.js
var redux = require('redux');
var reducer = require('reducer');
var store = redux.createStore(reducer, redux.compose(
window.devToolsExtension ? window.devToolsExtension() : f=>f
));
//store.subscribe(()=>console.log(store.getState()));
store.subscribe((... | 96c88a05dd2ba2c18a02c6cf1289929f1496a769 | [
"JavaScript"
] | 5 | JavaScript | nguyenlephong/Redux | 27040c66e24d91d80e81c27dcc0fb60857e5cf83 | 5c1b60743c3052e0a30a08b385b86c0c279083cd |
refs/heads/master | <file_sep># @clef/hex-to-rgb




 {
char frase [N];
int i;
printf ("Entre com uma frase:\n");
fgets(frase, N, stdin);
for(i = 0; frase[i]; i++)
frase[i] = i;
printf("%d", i);
return E... | 0e6ae163eddeecac6bd599b0840b12e05dbbea93 | [
"C"
] | 19 | C | willianmtp/MTP | 5ed9383def04447de8d4ed9ecc896716c34d4022 | 0a9f954f9e965f942f29fe49a30c1977709e5879 |
refs/heads/master | <repo_name>kleurid/in<file_sep>/newslettermember.php
<?php
$url = $_SERVER['REQUEST_SCHEME'] . '://' . $_SERVER['HTTP_HOST'] . '/';
if ($_GET['token']) {
require_once 'nletter/weblite.php';
$token = $_GET['token'];
$newsleter = new WebliteTime();
$news = $newsleter->sendUpdateMember($token);
i... | f7a6828ab4590fd9daf48b2049b154f190e9094f | [
"PHP"
] | 4 | PHP | kleurid/in | 137162c943b81c07efded667e4f00e966023c7d5 | 3b84250fac4e2fc5d72608319ca4530fa1c4971a |
refs/heads/master | <file_sep># Basic data Structures
Important: Most of this code is written by <NAME>, he is one of the best coders in c and I thought it would be wise to upload some of our codes with proper commenting(he did like 80%), if you find them useful or have any questions email me freely!
It's still under construction, I'll k... | 81f37ef685ab0d1f3e1f10c8b8d6c3edef05bae5 | [
"Markdown",
"C++"
] | 2 | Markdown | npyl/Basic-data-Structures | d49c29a4bb9dc647c5751887cc70c4341e2c4cba | b584cf4e9aff1c4899e9660c5acf8c63dfa04c2e |
refs/heads/master | <repo_name>ali312/CrocoApp<file_sep>/app/views/categories/rand.json.jbuilder
json.extract! @word, :id, :category_id, :word<file_sep>/app/controllers/game_controller.rb
class GameController < ApplicationController
def index
@categories = Category.all
respond_to do |format|
format.html
format.js
... | 849d4e20f3cfad4f101d2de343afc663f3ee8c83 | [
"Ruby"
] | 3 | Ruby | ali312/CrocoApp | e8aa95bc000cdbda9abfc6f04d1ae366a592f5c4 | 99ed1d5f864180d5ae7566b6c873cb2864b4319a |
refs/heads/master | <repo_name>oscarrecio/TiendaDulces<file_sep>/src/app/article/article.component.ts
import { CatalogService } from './../catalog.service';
import { Component, OnInit } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
@Component({
selector: 'app-article',
templateUrl: './article.component.html'... | 9cc4ebfdac6e528c0bc4b2605d844554c9569e5b | [
"TypeScript"
] | 6 | TypeScript | oscarrecio/TiendaDulces | d5241eeb3e68c6d7ad7ff25aeef086c57e17b370 | b395f5a6271cde415216cb1a9df8e1fc625437b3 |
refs/heads/master | <repo_name>phunky-phresh/meta-weather<file_sep>/src/components/pages/Forecast.js
import React, {useState, useEffect} from 'react';
import axios from 'axios';
import ReactLoading from "react-loading";
import WeatherCard from '../WeatherCard';
import {Body, Title} from '../styling/style';
function Forecast(props) {
... | 42eee6ab1999250e4460ef46c7c8d656777cb333 | [
"JavaScript",
"Markdown"
] | 6 | JavaScript | phunky-phresh/meta-weather | bc972ac0cd14ec0ddb1bbc80d1e1a2997e8ad5b6 | bd48bfa62f2469f737976bd998852c277e15d8c7 |
refs/heads/master | <repo_name>axil/tracer<file_sep>/tracer.js
define([
'base/js/namespace'
], function(Jupyter) {
var exports = {};
var tracer = function() {
var selected_cell = Jupyter.notebook.get_selected_cell();
Jupyter.notebook.edit_mode();
var cur = selected_cell.code_mirror.getCursor();
... | 95f1bfe9648a37759c15565bf4dea07cd4f80fd5 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | axil/tracer | c2159d817a5792099d13e9cbd16329e57b936472 | f171dc1fcb842d126517c109b79ca591f7472c57 |
refs/heads/master | <repo_name>dannftk/openssl-demo<file_sep>/test/color.hpp
#pragma once
#include <string>
#include <string_view>
namespace test
{
enum class color_e
{
red = 31,
green = 32,
yellow = 33,
blue = 34,
mangenta = 35,
cyan = 36,
lgreen = 92,
};
inline std::string_view color_e... | 3c5be910bfc0646d430ed5425f154e95066fcc9f | [
"C",
"CMake",
"C++"
] | 10 | C++ | dannftk/openssl-demo | 2d257b9234a03fbe00720d9f4be302c5e009b42f | 7715ef2f9ff70da78ded9c5ba9e4b5dbbe12cc12 |
refs/heads/master | <repo_name>DopeCoder1/Algorithms-and-data-struct<file_sep>/lab/lab9/9.cpp
#include <iostream>
#include <string>
#include <algorithm>
#include <list>
using namespace std;
class Pasport{
public:
string surname,name,fname;
int day,month,year,id;
string gender,country;
Pasport()
{
surname="";
name="";
... | e1a66b706cc6873ccc5af6535e6e3609789ba720 | [
"Markdown",
"C++"
] | 56 | C++ | DopeCoder1/Algorithms-and-data-struct | c2fd05ddce9d56db9b4371c098e47a3f4c14bbd2 | c357c184e2da6b45322803ebbd164eedf196110e |
refs/heads/master | <repo_name>viktorstrate/party-sound-go<file_sep>/client/client.go
package main
import (
"fmt"
"io"
"net/http"
"os"
"strconv"
"time"
"github.com/hajimehoshi/oto"
)
func main() {
host := "127.0.0.1"
if len(os.Args) == 2 {
host = os.Args[1]
}
url := fmt.Sprintf("http://%s:8080/audio", host)
fmt.Printf(... | af5aba166b1c127a812ea445097e2615183ab5a7 | [
"Go Module",
"Go"
] | 3 | Go | viktorstrate/party-sound-go | df71ee009691933c4cc7fbc677a3d90d9d78f9fc | 21e65a72ad7992a20b7a0482b08f6a2dcae079ca |
refs/heads/master | <file_sep>const log = require('./log.js')(__filename);
/**
* Errors codes:
* 1 -> no moves left for the player
* 2 -> the invalid move's coordinates
* Exception format:
* [code, player]
*/
const defaultSize = 10;
const defaultInitialState = '...w..w...' + '..........' + '..........' + 'w........w'
+ '..........'... | 2f06eec97af5f831b06611113a91239afa0f6dd5 | [
"JavaScript",
"Markdown"
] | 6 | JavaScript | lazarow/umpggk2019-server | e1ec007d109f37c87da1d1a7bddb22cafdcdcde5 | e302eab883ee2abe718454ef31b7571dcbcc045d |
refs/heads/main | <file_sep>
# -*- coding: utf-8 -*-
"""
Created on Tue Mar 23 11:31:46 2021
@author: fabrizp
"""
import cv2 as cv
import h5py as h5
import numpy as np
import os as os
from os import listdir
from os.path import isfile, join
from numpy import swapaxes
#from SavePositionFiles import *'
#open(cv.version)
... | d3a5d82457f4f701dbffd219d87791f27330e014 | [
"Python"
] | 1 | Python | fabrizio-palumbo/OffLineTracking | cf1b189ebd9211333d787ab4f60e5811468fce49 | 7d9e84de43e34ebb2c233b4196982e49298998a4 |
refs/heads/master | <file_sep>using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SpiderEgg : TriggerByDistance
{
[SerializeField]
GameObject spiderPrefab;
bool isTouchedByTongue;
void OnTriggerEnter(Collider other)
{
if (other.tag == "Tongue")
... | c9350c33cd8c1ccc80d3dfaca51b3a40dd768a31 | [
"Markdown",
"C#"
] | 34 | C# | fafimba/FirstFrogShooter | 395396762399d557e60667549fc0ab256eab862b | 25a0f00a495e3daf543ff860f954bd18881a5324 |
refs/heads/master | <file_sep><?php
namespace React\SocketClient;
use React\EventLoop\LoopInterface;
use React\Dns\Resolver\Resolver;
/**
* @deprecated Exists for BC only, consider using the newer DnsConnector instead
*/
class Connector implements ConnectorInterface
{
private $connector;
public function __construct(LoopInter... | f42f5a391677bc7794f16489bc6bc18be7c55215 | [
"Markdown",
"PHP"
] | 8 | PHP | Acidburn0zzz/socket-client | 4ed32f2ce1e732586783c7ebd10b7d75386f2588 | 4a1fcd0651f0d79d6117de7a27d1f50de3e10cfb |
refs/heads/master | <file_sep>import React from 'react'
// 0. Todo.js Template:
const Todo = props => {
return (
<li>{ props.text }</li>
);
};
export default Todo;
<file_sep>import React, { Component } from 'react';
import { connect } from 'react-redux'
import Todo from './Todo' /* 2. code change */
// 0. ToDosConta... | 920e78b7816c1c041862747cc7464fe284e4f4e7 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | ch2isk4kos/redux-index-codealong-online-web-sp-000 | 88d36699d7f71698e33a712f6c1035b2f8f442ef | 265016b743a35af19b388e32b4d9f40fc5cc0514 |
refs/heads/master | <repo_name>tjpetz/GetWiFiTime<file_sep>/GetWiFiTime.ino
/*
* A very simple sketch for the Nano 33 IoT to retrieve the time from the WiFi module.
*/
#include <WiFiNINA.h>
#include <time.h>
#include "secrets.h"
const char ssid[] = SECRET_SSID;
const char pwd[] = SECRET_PASS;
time_t currentTime;
#define MAX_LINEBUFF ... | 1e3249e0544489bf1953e04e2a45e60593a49a05 | [
"C++"
] | 1 | C++ | tjpetz/GetWiFiTime | 2ddd7cf466a0b14dab7624141dcc86dd423b6517 | 8eda94e2b0c1317daecf2b32c72aa0f606aa7be9 |
refs/heads/master | <repo_name>dusit-thani-core-team/Dusit-Blog<file_sep>/pages/index.jsx
/* import { h, Fragment } from 'preact' */
import React, { Fragment, useEffect } from 'react'
import Head from 'next/head'
import { Title, Description, SEOImage } from 'components/head'
import Slider from 'components/slider'
import Navbar from 'co... | 486c8f87b112d63d70d361d4e94850f764712197 | [
"JavaScript"
] | 16 | JavaScript | dusit-thani-core-team/Dusit-Blog | 520dbb90f28c244c4dc6df842e12f19f842a829b | 75bb584269167c0fc2548bb8b07bb6d343a40f21 |
refs/heads/master | <file_sep>import React, { Component } from 'react'
import axios from 'axios'
import { Table } from 'react-bootstrap'
import cookie from 'react-cookies'
import './../styles/hospitalHistory.css'
import Navbar from './Navbar'
import { Link } from 'react-router-dom'
export class HospitalPaymentHistory extends Component {
... | 00cb3202c928de20ce4a24774c5e0f7148d43fbc | [
"JavaScript"
] | 7 | JavaScript | piyaspark/Syringe | 795a6e00780570e47dee3ca116ee2e8c879b8140 | 088aa31745cc43e6c82c04c5168289cc4d067547 |
refs/heads/master | <file_sep><?php
include('config.php');
function getAllPosts() {
try {
$dbh = new PDO(DB_HOST, DB_USER, DB_PASS);
} catch(PDOException $e) {
echo $e->getMessage();
}
$stmt = $dbh->prepare('SELECT id, title, content FROM posts ORDER BY
created_at DESC');
$stmt->execute();
$results = $stmt->fetchAll(PDO:... | 49a31e93345a23de15a771888affb5e14d47139b | [
"PHP"
] | 3 | PHP | Thorveil/blog | c98383c908fb6e04d4da101331acbbf3ed60e0c1 | 0c0d048b651c54ba8a6ee3db2850bd8d4bbd8f2d |
refs/heads/master | <repo_name>ikedaosushi/alfred-asana<file_sep>/main.go
package main
import (
"log"
"github.com/deanishe/awgo"
)
// Workflow is the main API
var wf *aw.Workflow
func init() {
// Create a new Workflow using default settings.
// Critical settings are provided by Alfred via environment variables,
// so this *will* ... | 6f05ce895af7bf1403891042cc9727f811f1ad2a | [
"Makefile",
"Go",
"Markdown"
] | 4 | Go | ikedaosushi/alfred-asana | 765d5dcbf0799146b64fe48b286fe04eb07aefca | c1c8d81996fad41d28932ac508b7281869740d80 |
refs/heads/main | <repo_name>roto93/react-native-AA-app<file_sep>/src/lib/dbLib.ts
import { IDBUserDataProps, IDBRelationProps, IRelationRequest, IUserLookup } from './dbLibType';
import { db } from "../../firebase";
import firebase from 'firebase'
/**
* ### Update an user's data.
*
* @param userID The user id which is going to be ... | ddcae0d1ba8b5ba97b5b794bbbbda7b99d181677 | [
"JavaScript",
"TypeScript",
"Markdown"
] | 12 | TypeScript | roto93/react-native-AA-app | ac4a0ca30e0cb6b6081e3a95036dd65253e0b483 | a83edf245051bb04ac68d18c5537dd8fa27da947 |
refs/heads/master | <file_sep># Projects
This repo contains:
- Expert Search, 2019. Search of expertise in different science fields based on the network of authors of publications (including coauthorship and references)
- Two other works based on SNA. Network of friends and network of European roads. Classical methods are used.
- Severa... | 4646ccf388745c66c3f1442a7e4e246adaa59e54 | [
"Markdown",
"Python",
"Text"
] | 8 | Markdown | julgur/Projects | d3e41ae6933d12d2361840ec5e58c8aa4dbfc525 | acf4b1a59b94f1d97ad2ed234a119e2f776e7030 |
refs/heads/master | <file_sep>import React, {Component} from 'react';
import browserHistory, {BrowserRouter as Router, Route, Link} from "react-router-dom";
import Authenticate from "../components/authenticate"
import * as Helper from "../helpers"
export default class TopNav extends React.Component {
constructor(props) {
s... | 7fb919045e3b8d90572d7adb1d985099ebe6836f | [
"JavaScript",
"PHP",
"Markdown"
] | 11 | JavaScript | bigbid/ecom | c1a1cf98ea0ef19c88f2c53426fcb66ed538236e | faa03fa9dd5ad970bdd2f3fd3062d8516f377f89 |
refs/heads/main | <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 Praktikum2;
/**
*
* @author kevin
*/
class Movie {
String title;
String genre;
int rati... | 8995c147d06a4e96f551812c035fc11c3659fd7f | [
"Java"
] | 8 | Java | kevinnaufalf/Praktikum-PemrogramanBerorientasiObjek | 0cf5a6c8f99b0ea0ea4550bba6704f549d6c4fd6 | c92c7c6850fd0f1962be123d33325df3b9cec935 |
refs/heads/master | <file_sep>import os
import ast
import codecs
import json as jayson
import collections, abc
import os.path
from os.path import expanduser
from .test import nothing
def funky_method_that_import():
from os.path import abspath
from json import dumps
return
<file_sep>#!/usr/bin/python
# -*- coding: utf-8 -*-... | bc149f16ab0e0ea77dd893e2e72b0d9242352f8d | [
"Python",
"Makefile",
"reStructuredText"
] | 6 | Python | bagerard/flake8-illegal-import | 2e4e41cdb31e446d181599703aa33bdf4df76449 | 8f6257553514eebf104fa1c678b03d812b6abf30 |
refs/heads/main | <file_sep>package com.olliesafety2.simpleapplocker.MiniAdminSide.Already_User;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ProgressBar;
import android.widget.TextView;
import androidx.annotation.NonNull;
import ... | e4e63baaf95de0f3d292425f7547249f8c3b0a72 | [
"Java",
"Gradle"
] | 10 | Java | mowaisch/Ollie-Safety | 64e06814a588a60aace2dff2617a438087fa5079 | e0e3250ef92be842da264c2c955908bc5caf31c6 |
refs/heads/master | <file_sep>package com.example.android.forecast.app;
import android.content.ContentValues;
import android.content.Context;
import android.os.AsyncTask;
import android.util.Log;
import android.widget.TextView;
import android.widget.Toast;
import com.example.android.forecast.app.model.Forecast;
import com.example.androi... | 7e9fd7f66f87f91fdce254e3bb5e505f99e26fed | [
"Java"
] | 5 | Java | paul-ovchinnikov/Forecast | 349b4c89303eae4a0f0e28033e78a5f7d52b999b | b8d234364d51fa5f4d9995dcb65e60a7be660c84 |
refs/heads/master | <file_sep><?php
include_once '../../config/Properties.php';
include_once '../../config/Validator.php';
class PersonalInfo{
private $conn;
private $props;
/**
* constructor for User
* @param db - database connection
*/
public function __construct($... | 498ea458a0a0219fa186bd0ce95adff002b746a9 | [
"Markdown",
"SQL",
"PHP",
"INI"
] | 38 | PHP | asifraaja/siragugal | d5fdbb9b117aec6b40091b05ed6640de19a72b7b | 960f0fe33c56278733a667b862b7b8f6f0a9117e |
refs/heads/main | <file_sep>from uuid import uuid4
import bcrypt
import jwt
import pymysql
import requests
from apscheduler.schedulers.background import BackgroundScheduler
from email_validator import EmailNotValidError, validate_email
from flask import Blueprint, request
from jwt import InvalidSignatureError
from pytz import timezone
... | 1a344f1eb31177b60901fbe95d8341720acfa17b | [
"JavaScript",
"SQL",
"Python",
"Text"
] | 17 | Python | geek-lords/fine-dine-backend | 0c7ff8f1e8e6942f3547876988e87ca8706c33c1 | d480b5656af28528293d6f7341b677f30fe923d5 |
refs/heads/master | <repo_name>RumireGale/AppD-Assignment<file_sep>/Assignment/Assignment/Guide.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Assignment
{
class Guide
{
public Dictionary<string, int> CC = new Dictionary<string, i... | af220241ddbeba4a6c5a213fd4f90e2114811391 | [
"C#"
] | 5 | C# | RumireGale/AppD-Assignment | dc9927eba43a636ccae18a62a2796f14006dfa38 | dfff5179735bc147f231c058b28834e1cf676daf |
refs/heads/master | <file_sep>package CeasarCracker;
import java.util.ArrayList;
/**
* This class is a brute force cracker for keyed Ceasar encoding.
* @author
* @version 0.1 12/4/2014
*/
public class CeasarCracker {
private String encryptedMessage;
private String word;
private int passwordLength;
private int[] foundKey;
... | cc0828e3f07838055fe72e220219a56edb3ce8a7 | [
"Markdown",
"Java"
] | 2 | Java | pmarconi/CeasarCracker | 072ab1139abafc25c271a2ef29dc8473668c87cb | 9b87cfb58dcb1e99f5af9dfbc836bb298e7817d4 |
refs/heads/master | <file_sep>package com.example.zbyr.testproject;
import android.app.Activity;
import android.app.FragmentManager;
import android.app.FragmentTransaction;
import android.bluetooth.BluetoothAdapter;
import android.content.Intent;
import android.os.Bundle;
import android.app.Fragment;
import android.view.LayoutInflater;
... | 4ab83c00f33bb729c713a07718f97ed07c0c11fa | [
"Markdown",
"Java"
] | 7 | Java | MehmetCagriK/Hold-the-Ball-Game. | 3f7cc63d98cf808f79625835a924e0f10d875381 | 1b39a90777afc93d6940590111d2d3c10c95d3c2 |
refs/heads/master | <file_sep>package com.fanxuankai.boot.mqbroker.xxl.example;
import com.xxl.mq.client.EnableXxlMqClient;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
* @author fanxuankai
*/
@SpringBootApplication
@EnableXxlMqClient
public class MqBrokerL... | ffb7f1bf52ab9f72bd5df144e52ce80c3475b5c9 | [
"Java",
"Maven POM"
] | 5 | Java | moutainhigh/mqbroker-spring-boot | 0b640c82b2c220a2817c3bd5dd3c4583d622e7d8 | afd1bd359b8a7dbe0ebc138fa36bf52b31df5e75 |
refs/heads/main | <repo_name>AbhinavGoudBingi/Text-and-Emotion-from-Speech<file_sep>/emotion_detection/model.py
import os
import sys
import torch
import torchaudio
import torch.nn as nn
import torch.optim as optim
import torch.nn.functional as F
class EmotionRecognizer(nn.Module):
def __init__(self,
input_dims=128,
hidden... | 34f571997b1a60ee6af0b6ad3ef0efb5afb3a26f | [
"Markdown",
"INI",
"Python",
"Text",
"Shell"
] | 23 | Python | AbhinavGoudBingi/Text-and-Emotion-from-Speech | 41a7e7531201c323c5bbb97f81f74f3245e77297 | 2ac21f199cbea1202d5a79d583d9dbb400b55c45 |
refs/heads/master | <file_sep>import React, { Component } from 'react';
import Home from './components/Home'
import NavLink from './components/NavLink'
class App extends Component {
render() {
return (
<div className="ui container">
<h1>My UI Experiment</h1>
<div className="ui menu">
<NavLink classN... | 97c59c3f8d80543339b3fcfa38bb116a0f2f6b77 | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | gustialfian/react-ui-experiment | 477894d49fb8d28970b7b0359ca288b38615401a | 94e0e3556c0a82ad81e1595f4eb1b81fdfc28f7a |
refs/heads/master | <file_sep>package com.google.apiguide.ipc;
import com.google.apiguide.BaseActivity;
/**
* Created by kangren on 2018/1/10.
*/
public class FirstActivity extends BaseActivity {
}
<file_sep>package com.google.apiguide.ipc;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.Vie... | fa58ed3599e2be98c2dea99f762607c74e70f8dc | [
"Markdown",
"Java"
] | 9 | Java | kangisme/APIGuide | 96944c08b8a017f2aa2b978a214d09697df0699e | 7f7d53ca19462af0a2e3ed256c6b7a180585d738 |
refs/heads/master | <repo_name>ericlmartinezo/iOS8-Sampler<file_sep>/features/step_definitions/my_first_steps.rb
#class NativeComponent
# # Ensures that the page is present by checking if its title is displayed
# def trait
# get_toolbar_title('Native Components')
# end
Given /^I am on the Welcome Screen$/ do
element_exists("view"... | c974896452878cec179baf910ea73072bef02e02 | [
"Ruby"
] | 3 | Ruby | ericlmartinezo/iOS8-Sampler | b285572f0e464e91d4fa78789c89b0b406e96b98 | 51d01e505281c942e8d4e632a57ffe7a3c2b5388 |
refs/heads/master | <repo_name>monroe-dev/pose-estimation<file_sep>/pcl_processing.py
import pyrealsense2 as rs
import open3d as o3d
def makePly(file_name):
# Declare pointcloud object, for calculating pointclouds and texture mappings
pc = rs.pointcloud()
# We want the points object to be persistent so we can display the las... | 3245c63983823b64e7022a104437290e180ef6e3 | [
"Python"
] | 3 | Python | monroe-dev/pose-estimation | 49c85fe6b1ca1a89544cad3940eabadb9407954e | 8fdd86b374d3cd83ddd46e0a628ea6338c82049a |
refs/heads/master | <repo_name>RafDiMartino/task-manager<file_sep>/src/TaskComponents/TaskInput.js
import { useState } from "react";
import { Grid } from "@material-ui/core"
import { TextField } from "@material-ui/core"
import Button from '@material-ui/core/Button';
import { makeStyles } from "@material-ui/core";
import { useTasks } from ... | 532740f9c076df758c3be64361052f5e25ef4cc3 | [
"JavaScript"
] | 3 | JavaScript | RafDiMartino/task-manager | b6859ddc8eb860dfa38461f15e3e2ae1ed2f10aa | 423fc9dd6de69944f9953137f726341b68866187 |
refs/heads/main | <file_sep>from .connect import *
import datetime
def select_number_info(number):
cur = conn.cursor()
cur.execute('SELECT n.id, n.number, na.last_view_date, na.views FROM "number" as n '
'INNER JOIN "number_activity" as na ON n.id = na.id_number WHERE n.number = %s', (number,))
number_info... | 6ea370587a5dc52f665205604c6679630ce6e482 | [
"SQL",
"Python",
"Text",
"Shell"
] | 24 | Python | YevhenShvets/search_number_info | bb9c6a0fa7266239dee4faee4e1a482a8d944279 | 695ddddc9c2ed1f5d72c1461e33bc00f065167e4 |
refs/heads/master | <file_sep>let arr = [];
let correctNumber;
start: while (true) {
var number = prompt("Your pirme number");
if(number < 0 | null | isNaN(number)){
continue
} else {
correctNumber = number;
break start;
}
}
if(number >= 2){
arr.push(2);
}
for(let i = 2; i <= correctNumber; i++){
for(let j = 2;... | 7b9e7e62f20181c504971163716dc6ed2c9807b2 | [
"JavaScript"
] | 1 | JavaScript | Supawitsip/lab6 | 45b1c915af3c9c77f1ba964a0c5615ce1570a69e | e8cc8bf0ed4c0fc2dee3db420353eaa62a8950d4 |
refs/heads/master | <file_sep>package mnist
import (
"compress/gzip"
"image"
"os"
)
func ReadImagesFile(filename string) ([]*image.Gray, error) {
file, err := os.Open(filename)
if err != nil {
return nil, err
}
defer file.Close()
zr, err := gzip.NewReader(file)
if err != nil {
return nil, err
}
defer zr.Close()
return ... | 9022b5e55f09990979e91769a332e63595488d0f | [
"Markdown",
"Go Module",
"Go"
] | 40 | Go | gitchander/neural | 13b491f9bad9884d70332eab26022ff14093dca7 | e29d98f9f804507f21dc0c2d2a6b21c764e51eab |
refs/heads/master | <file_sep>/**
* @license MIT
* @copyright OmniSharp Team
* @summary Adds support for https://github.com/Microsoft/language-server-protocol (and more!) to https://atom.io
*/
import { Observable } from 'rxjs';
/* tslint:disable:variable-name */
export const IAtomTextEditorSource = Symbol.for('IAtomTextEditorSo... | c53e5bf0f5f4c9e629761ed6d7fafa9af89cb469 | [
"Markdown",
"TypeScript",
"JSON with Comments",
"JavaScript"
] | 160 | TypeScript | prabhugopal/atom-languageclient | 8bca7fc1a2927a587d24696bd3c221a8cc3c8cc0 | 0fb3600e2fa969429bb28a3e0c7ea4d9640aec2d |
refs/heads/master | <repo_name>ozzeruk/OTNGears<file_sep>/OTNGears.ino
// Gear Stick / H-shifter firmware for Arduino Leonardo compatible devices
// Written by <NAME> (www.olinorwell.com) - 11 July 2020
#include <Joystick.h> // Download library from https://github.com/MHeironimus/ArduinoJoystickLibrary
//#define DEBUG ... | 981f7982c5a3dce719066c8fe8d9a804ed0af054 | [
"C++"
] | 1 | C++ | ozzeruk/OTNGears | 38761be48ea5529080987cbe57dc6c8d153d6aff | d14a7c970c9697ce0e3f4e049664772ac5c709d7 |
refs/heads/master | <file_sep><?php
namespace AppBundle\Controller;
use AppBundle\Entity\User;
use AppBundle\Form\UserType;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpF... | 5965a792c58a83cf99de0679939be29a8a4d13b6 | [
"Markdown",
"PHP"
] | 2 | PHP | never-potm/Symfony-tutorial | e15b4f39caf6457dd349726e9905f64a035e79c9 | 124be8d82f98cb1b38b7f006a6cb8975741e78ba |
refs/heads/main | <repo_name>VictoriaGrillo-132/PiProject-132<file_sep>/README.md
# PiProject-132
Pi Project-Winter CSC 132
## Things to do
- Make Title Screen
- Choose font
- add backgrounds for everything
- Add correct and incorent noises<file_sep>/main.py
#############################################################################... | f16e834d47fa48ce23714aed606822f8b3103a40 | [
"Markdown",
"Python"
] | 2 | Markdown | VictoriaGrillo-132/PiProject-132 | 5929baf312640196096f383b4c7e17a0a9ce5d95 | 41249e6f88f263dbe2611e5e43fc67f546eb12db |
refs/heads/main | <repo_name>augustas3000/blog-app<file_sep>/src/main/resources/application.properties
spring.data.elasticsearch.repositories.enabled=true
spring.data.elasticsearch.cluster-nodes=localhost:9200
spring.data.elasticsearch.cluster-name=elasticsearch<file_sep>/src/main/java/com/blog/blogapp/service/UserService.java
package c... | d41038915b6fb21b18ae105307674fc7b55be89e | [
"Java",
"INI"
] | 2 | INI | augustas3000/blog-app | 1f3f5aad4fc8bc7e3efbeedd6a505128335e68eb | 4780ee8e99523a6bd40b404ce1911cfa6743ad5e |
refs/heads/master | <file_sep>package com.workspace.bin.wheelviewdemo;
import android.app.Dialog;
import android.content.Context;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import com.workspace.bin.wheelviewdemo.datepicker.OnWheelChangedListener;
import com.workspace.bin.wh... | 3f13155287942dddff8849e86889d1533471cd3f | [
"Java"
] | 1 | Java | s1356891/WheelView | fbf6c05453ecdfa1fc930d28e05955b185e6b727 | d977f0b08ba1e09060d641549b3c1379ef95cc16 |
refs/heads/master | <file_sep>import { Component } from 'react';
import Link from 'next/link'
import Hamburger from './Hamburger'
import '../static/sass/components/Header.sass'
class Header extends Component {
constructor(props) {
super(props)
this.state = {
showMobileMenu: false,
}
}
render = () => {
return... | c6224677afe667328a24fca81837718a75e4ee66 | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | the-sociophobic/next-boilerplate | dc04b11c1c1ddc64ac8ed81ac02b24056d1da7d8 | 43e073e761b03d21580d9925e8e12c00485d1661 |
refs/heads/master | <file_sep>aniso8601
cryptography
eventlet
flask
flask_socketio
itsdangerous
redis
<file_sep>"""
Endpoints for management of calendars and events.
<NAME>
(c) 2016 Coderouge
"""
import aniso8601
from flask import abort, Blueprint, g, jsonify, request, Response
from flask.views import MethodView
from skylark import ca... | e9175c107a1338059f64831049a3a962baac9a7f | [
"Markdown",
"Python",
"Text"
] | 10 | Text | GetSkylark/kraken | d90512c785d2c0e45cb0e2fc4c24fcc68909758e | 7bfcd141c77262602ebce1fcc2f9c5dacbee2687 |
refs/heads/master | <file_sep>package springbook.user.service;
import springbook.user.domain.User;
public class TestUserService extends UserServiceImpl {
private String id;
static class TestUserServiceException extends RuntimeException {
}
TestUserService(String id) {
this.id = id;
}
protected void upgradeLeve... | 102f7dbc6557e9a2e4923c6ac24eefea9207b578 | [
"Java"
] | 1 | Java | eyang0o04/TobySpring | 78f1505a7e29cff641637a0b9ef8b9ed6c959442 | de14104be83c4da620886dfbf3098a199b828899 |
refs/heads/master | <file_sep># This is just a simplest possible streamlit app, hosted on Heroku.
# How to use ?
clone the project, go to heroku and start a new app. select your git repo and deploy. It should start in few seconds with a welcome message.
# Note :
My requirements.txt is way bigger than it should be, because I am using... | 2ec3d357f548b32dca9f07ff5ce1ced20bc5e5b0 | [
"Markdown",
"Python",
"Text"
] | 3 | Markdown | simpleai-dev/app1 | d6021d68ca35e156ae78a833613e3d23a24e53de | 47d8f777d6729c0e61cde8076401540a2f4442b4 |
refs/heads/master | <repo_name>segarrison/READMEGen<file_sep>/index.js
// TODO: Include packages needed for this application
const inquirer = require("inquirer");
const fs = require("fs");
const generateMarkdown = require("./utils/generateMarkdown");
// TODO: Create an array of questions for user input
const questions = [
{
type: "... | 17e129196c9aeb3cc865e5eadcece23a65d58ccc | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | segarrison/READMEGen | baed5c400711cbcad9d994eb2cb8c280c58300cd | 209c85ab3da7406091060ca2a94dfe7851368c68 |
refs/heads/master | <file_sep>(function () {
'use strict';
angular
.module('products')
.controller('ProductController', function ($scope, ProductService, $routeParams) {
ProductService.getItems().then(function (items) {
$scope.items = items;
});
if($routeParams.itemId) {
PhotoService.getSingleI... | 274749adf97d03e7e7fd7c890f6bd6e1da9e6763 | [
"JavaScript"
] | 2 | JavaScript | datLucius/CraftShaq | 0e539c9064516f9522c02598347e542714659095 | 2090b628b8877d55a73aa1cdcd79a340347e727d |
refs/heads/master | <file_sep>#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <algorithm>
#include <assert.h>
#define IOS ios::sync_with_stdio(false)
using namespace std;
#define inf (0x3f3f3f3f)
typedef long long int LL;
#include <iostream>
#include <sstream>
#include <vector>
#include <set>
#include <... | a4cfe9f1b6fa6a1af494d7f392d0d6e2b44cfd63 | [
"Java",
"Text",
"C++"
] | 4 | C++ | liuweiming1997/simulationOnlineJudge | c5b7a9303f7a66df2510fabc9c94665f7a8329a7 | 8ca369ad8665e60a595caa53316545962a5db289 |
refs/heads/master | <file_sep>[](https://gitpod.io/#https://github.com/arthtyagi/conicsections)
# conicsections
Conic Sections visualizations using JS, I was doing Computing from Khan Academy when I was in 8th grade.
So, this is my project fro... | e014db3e96a59fe0230d990227a4fc0b80b7ab98 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | arthtyagi/conicsections | 08fe1c5751ea3fa5c44886a996c4fba531c119b9 | f114c2305a260336a1ae040265d75f70fb22f085 |
refs/heads/master | <file_sep>Steps:
1° Clique no link, faça o download da última versão estável e instale o Ruby na máquina: https://rubyinstaller.org/downloads/
2° Instale o bundler: gem install bundler
3° Clone o projeto em uma pasta do PC/Notebook de sua preferência: git clone https://github.com/victorcesarp/PiInvestimentos.git
4º Ex... | 7f914898a3cfaa8b001ec271da50c40bdd2fc9dd | [
"Markdown",
"Ruby"
] | 3 | Markdown | victorcesarp/PiInvestimentos | 0bb22f9c823d230b052ea73f031841ca521a8773 | b235d9182b5b6004608df38010fa12111efcd934 |
refs/heads/master | <repo_name>gradiph/sarangihouse<file_sep>/app/Highlight.php
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class Highlight extends Model
{
use SoftDeletes;
protected $fillable = [
'product_id',//unsignedBigInteger
'description',//string
'categor... | eccc086c581827f2864aebb52cf782f29e65af79 | [
"JavaScript",
"PHP"
] | 20 | PHP | gradiph/sarangihouse | 2d07503f2dd3bdfa0d2e757cc39b32ac1974efb7 | 5669274e4b609dbc8974da6b9e165387a26eebd6 |
refs/heads/master | <file_sep>from django.db import models
from django.contrib.auth.models import User
class Customer(models.Model):
user = models.OneToOneField(User, null = True,blank = True, on_delete=models.CASCADE)
name = models.CharField(max_length = 200, null = True)
phone = models.CharField(max_length = 200, null = Tru... | 318d51251556c74b82ca3b5ce1662e15e5af6b34 | [
"Python"
] | 1 | Python | iSabbuGiri/Customer-Management-System | 3b6a00646f6291b02c08c86997e6d8f860e9c703 | 99689daba2a1135d86857bde3a6f47ec83b7d6d8 |
refs/heads/master | <file_sep>using System;
using System.Collections;
using System.Collections.Generic;
namespace BinaryTreeLib
{
/// <summary>
/// Represents binary tree class
/// </summary>
/// <typeparam name="T">type of the parameter which must put in the tree</typeparam>
public class BinaryTree<T> : IEnumerable<... | 0077c709c8e12ea45422abaa8f2d1c0d0de64d6f | [
"Markdown",
"C#"
] | 4 | C# | RomanGutovec/NET1.A.2018.Gutovec.16 | 55db1e9fe40cdb9d018728d8c7b418b269a768ff | 313bf9ae6356114c932d97be7a7a1084695d2407 |
refs/heads/master | <file_sep>package com.market.dao;
import com.market.bean.Supplier;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* @description:
* @author: linqiwei
* @createDate: 2020/7/29
* @version: 1.0
*/
@Repository
public interface SupplierMapper ... | 1e8fd21d851663b1227fb4db76ce6f229a16cbad | [
"Java"
] | 6 | Java | linqiwei8/market | 8e9618f5fabe13172320df9f3bded676942d2428 | 93f96937dbbef97837f744984811054158f7e944 |
refs/heads/master | <repo_name>QuantumFluctuator/Bean-Machine<file_sep>/main.cpp
#include <iostream>
#include <ctime>
using namespace std;
struct BALLINFO {
int bucketindex;
char* directions;
};
int main(int argc, const char * argv[]) {
BALLINFO* DetermineBallBuckets(const int numberOfBalls, const int numberOfLevels);
i... | 73198c2e553283bf59bc0e0874b76cdafbd441e2 | [
"Markdown",
"C++"
] | 2 | C++ | QuantumFluctuator/Bean-Machine | 632b442e407ef7068e35b91bd068a8dbc0392bfd | 6cf95c520a4c86583cc0596db12d4ca66259b8d5 |
refs/heads/main | <repo_name>sm67nono/scrum_planning_poker<file_sep>/server.js
const express = require('express');
const session = require('express-session');
const app = express();
const http = require('http');
const server = http.createServer(app);
const { Server } = require("socket.io");
const io = new Server(server);
let totalUsers... | bc68b4c5091831da057c5585527e6e97bd7116e8 | [
"JavaScript"
] | 1 | JavaScript | sm67nono/scrum_planning_poker | 23e7b1b3df0fc1a59f1b05796e4b5c8f2fb48dd8 | 795cb3d0ffdc85973cbbbf2b10d529cfb2b078ac |
refs/heads/master | <repo_name>erenutk/ReCapProject<file_sep>/DataAccess/Concrete/InMemory/InMemoryCarDal.cs
using DataAccess.Abstract;
using System;
using System.Collections.Generic;
using System.Text;
using Entities.Concrete;
using System.Linq;
namespace DataAccess.Concrete.InMemory
{
public class InMemoryCarDal : ICarDal
{
... | 7e0afd556f64acac1b6d6087e27a44f19a6ddbec | [
"C#"
] | 2 | C# | erenutk/ReCapProject | ca9c1dac30e729071c09e71c28f91a39fa117577 | 491d00d3de186d7bd3760874832db21c6c9ac942 |
refs/heads/master | <repo_name>MattGough/rps-challenge<file_sep>/spec/web_helpers.rb
def sign_in_and_play
visit('/')
fill_in :player_name, with: 'Matt'
click_button 'ENTER'
end
<file_sep>/spec/result_spec.rb
require 'result'
describe Result do
subject(:result) { described_class.new }
it 'responds to combine_results' do
exp... | 90c7fe57999820a6557aeecbc8e4cc4180903956 | [
"Markdown",
"Ruby"
] | 8 | Ruby | MattGough/rps-challenge | 6d16615debd491fd89ba87017377687c8611b8a5 | d02d3ee019886fd9fbc46e47ad0949cf6f14f4cc |
refs/heads/master | <repo_name>Mcleodl33t/mcleodl33t<file_sep>/README.md
This is merely a collection of some example coding problems and how I resolved them.
Some had restrictions and others did not but I hope if provides an example of my work
<file_sep>/examples.py
#Given a string, we'll say that the front is the first 3 chars of the str... | df48806d74d98f82e5f09d9540a9ef90c263096b | [
"Markdown",
"Python"
] | 2 | Markdown | Mcleodl33t/mcleodl33t | a58c438ff5623a83c941287253211431b42de313 | f45d944031053961494ed387dc2aa2dc09cee2ab |
refs/heads/master | <file_sep>#include <iostream>
#include <vector>
using namespace std;
vector <int> t[3];//create 3 towers as vectors
int n, candidate, to,from, move=0;//from is current tower, to is next tower,move counts number of moving
void odd(){//function for odd number of rings
if(t[(to+1)%3].back()<t[(to+2)%3].back()){
from=(... | 6cb97202870c7eecf2d7ec6842d04a5fd58e199c | [
"C++"
] | 1 | C++ | dragpure00/Hanoi-Towers | 3af4f7f819eb0a96f46f5ac17f91fad8ffaae334 | c04c98bdf5f6bbce3a3a16cbaef4ec8e4a9638d0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.