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>guptarah/swbd_disfluency<file_sep>/scripts/crop_disf_chunks
#! /bin/bash
# script to crop disfluent part from wav file
disf_trans="/media/CARE/switchboard/swb_ms98_transcriptions/disfluent_uttr"
audio_location="/media/CARE/switchboard/wav_files/"
trimmed_audio_storage="/media/CARE/switchboard/trimmed_files... | cb5b1c306e988c27e3f2eb24070d3dba91798915 | [
"Markdown",
"Python",
"Shell"
] | 5 | Shell | guptarah/swbd_disfluency | de771e14e902e59b6d23e574230fef09fb618c0d | 10c66769e91a09dc06e08a825f5710f207032ace |
refs/heads/master | <repo_name>alx/smsModeration<file_sep>/README.md
*smsModeration* is a complete installation to receive and moderate SMS before sending them to a custom display.
It could be used during interactive exhibition when you need to check received SMS (for abuse, explicit language, ...) before to send them to public display.
... | a35c987e666f1dce2da9b789dc740dd25f78bec8 | [
"Markdown",
"JavaScript",
"Ruby",
"Shell"
] | 6 | Markdown | alx/smsModeration | 2187dc21ff1cf031c6f94f9af0cca07180052172 | 0493d61399a78f43dc0285add9d37bd56116ec9d |
refs/heads/master | <repo_name>arunvelsriram/BrightnessControl<file_sep>/backlight.sh
#!/usr/bin/env bash
PATH_TO_FILE="/sys/class/backlight/intel_backlight/brightness"
if [[ $# == 1 && ($1 == "-u" || $1 == "-d") ]]; then
if [[ $1 == "-u" ]]; then
newb=$(($(<$PATH_TO_FILE) + 250))
else
newb=$(($(<$PATH_TO_FILE) - 250))
fi
#ec... | 5c75bb569463229f47c2cb7661483d27c6757336 | [
"Markdown",
"Shell"
] | 2 | Shell | arunvelsriram/BrightnessControl | 14d4d3fbf2a7e1c8158ca018d884a1a0bbacbd04 | 6c3749b9ad96b0fe22d38258a87a9bfee6b0c073 |
refs/heads/main | <repo_name>jinie/rclone_mounter<file_sep>/Mounter.py
#!/usr/local/bin/python3
import os
import subprocess
import sys
import logging
import configparser
import psutil
import signal
# User Configuration
user_home = os.environ["HOME"]
mount_root = user_home
rclone_config = os.path.join(user_home, ".config", "rclone", "rc... | 9f233a57fd5d6afd9d88cec028d923bd264da9ec | [
"Markdown",
"Python",
"Makefile"
] | 3 | Python | jinie/rclone_mounter | 55261c986cb46e9712ee81255f161db09a06d03e | 5849f9338fdb42c08625d45afd71af3e3146add4 |
refs/heads/master | <file_sep>import * as ts from 'typescript'
import * as path from 'path'
import { Config } from './types'
import { createConfig, defaultConfig } from './config'
import { removeUndefined } from './arrayFilters'
import { createProgram } from './createProgram'
import { visitSource } from './visitSource'
import { emitFile }... | 43e39f9790c8a578cf207855998398a826554aa0 | [
"Markdown",
"TypeScript"
] | 15 | TypeScript | takefumi-yoshii/type-only-imports-converter | 21a81621a86a5675b293a429a732150b307ed1c2 | f35c214837bb762ccf1b8ed965c08dd836e3f8f0 |
refs/heads/master | <file_sep>import os
import sys
import subprocess
import zipfile
if (os.getcwd().endswith('scripts')):
os.chdir('..')
from classes.database import *
db = Database('pokemaster_v1.5-alpha3.db')
# games = db.getAllGames()
games = db.getAllGames("game.zxdb_id=2176")
print(len(games))
conversion_list = {}
for game in g... | d92c08bd7c41207ea257afa1d96f6702d699a130 | [
"Python"
] | 1 | Python | gustavomonente/ZX-Pokemaster | 0fa3ba177bd268a6dbbc8b95f4f801a56397d878 | 4e4023e7bbb5e6dffc423b0367f20593d408579d |
refs/heads/main | <file_sep>#include<iostream>
#include<fstream>
#include<cstring>
#include<stdlib.h>
using namespace std;
class shop
{
int No;
char Shopname[20];
char OwnerName[20];
int EBbill;
int WaterBill;
int Rent;
public:
void sgetData()
{
cout<<"\nShop No : ";
cin>>No;
cout<<"\nShop name : ";... | cd7a379a9ef41979904aadc22e80831cd36093a4 | [
"Markdown",
"C++"
] | 2 | C++ | HariPrasad5724/Mall-Management-System | e0d6dd35e65b1f06960804535b283ad3b80da69e | 729f41ba28419da87676cdf169776c19eb9665cd |
refs/heads/master | <repo_name>iker3085/react-test<file_sep>/src/components/header.jsx
import React, { Component } from "react";
class Header extends Component {
render() {
return (
<header className="navbar navbar-dark bd-navbar flex-row">
<a href="#" className="navbar-brand">
Test
</a>
<ul ... | 873cc651a9c3d2c29f8850b49610561c1d951384 | [
"JavaScript"
] | 1 | JavaScript | iker3085/react-test | de598022151742ec4904fdd5c0d6b91bc81a7539 | 6432029f3ec9032edb11b3672c41d948d84bf9d2 |
refs/heads/master | <file_sep>using System;
using ToneLab1;
using Xunit;
namespace XUnitTestProject1
{
public class UnitTest1
{
[Fact]
public void Test1()
{
var dbConn = new DBConn();
var connection = dbConn.openConn();
Assert.True(connection != null);
}
}
}
... | e79af0577c81dbea0328a977528eb5bc1985b09e | [
"C#"
] | 7 | C# | tazamba/TONE | e1768dfc5d0e8337aaed2c9ab5ebcd4faf12e46b | c59cb25ff5e2aa89a620d815cc0c0574b4d47c7a |
refs/heads/main | <repo_name>steveonlinux/Qtile<file_sep>/qtile/autostart.sh
#! /bin/bash
lxsession &
xrandr --output DP-0 --primary --mode 1920x1080 --rate 144.00 --left-of HDMI-0 --output HDMI-0 --mode 1360x768 --rate 59.93 &
picom --experimental-backends --no-fading-openclose &
nitrogen --restore &
urxvtd -q -o -f &
/usr/bin/emacs -... | 654bca44e8835ade641593c1c34cd467e7d90081 | [
"Shell"
] | 1 | Shell | steveonlinux/Qtile | 4f5c458c3326a942f7a61faed1dd8800159befa5 | 043d91e504a89fd927a2cf36383e11b4c7dc7320 |
refs/heads/master | <file_sep># -*- coding: utf-8 -*-
"""
Created on Thu Nov 10 20:36:29 2016
@author: user
"""
import numpy as np
import matplotlib.pyplot as plt
import os
os.chdir('C:\\Dropbox\\trading')
import interpolate as intp
import scipy as sp
x = np.linspace(0, 1, 21)
noise = 1e-1*np.random.randn(x.size)
noise = np.array([-0... | 0d234f248b3b71ce9898405ac749be7ff19fa13c | [
"Markdown",
"Python"
] | 3 | Python | shaunster0/spline-work | a282a799c018357f72f8e90299c712c2ba7e64c9 | 195d23a53fdad5d1436fa3fea2657e027d75be0d |
refs/heads/master | <file_sep>require 'rubygems'
require 'bundler'
Bundler.setup :default, (ENV['RACK_ENV'] || 'development')
require 'api'
<file_sep>source :rubygems
gem 'grape'
gem 'xen', :git => 'git://github.com/foexle/ruby-xen.git'
gem 'log4r'
<file_sep>require 'grape'
require 'xen/server'
require 'xen/instance'
Xen::Instance.cl... | 5abafafbd46e965c40e226fea376be9e54aab6c7 | [
"Ruby"
] | 4 | Ruby | clemens/restful-xen | cdc1b7cc3494b221873e0e1f8b80f953d6cca305 | eca861ac495f843dbaf47a33b4e947dcc2e37285 |
refs/heads/master | <repo_name>iby1812/4_In_A_Line<file_sep>/README.md
Game: Connect 4
<file_sep>/Main.c
#include "Main.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#include <limits.h>
#define ROWS 6
#define COLUMS 7
#define YEL "\x1B[33m"
#define RED "\x1B[31m"
#define BLU "\x1B[34m"
... | 01585501cdc6369e3f0dfd992087d7a06c6e8c57 | [
"Markdown",
"C"
] | 4 | Markdown | iby1812/4_In_A_Line | 35a3881b1a41b2b4003a7488ee3bb7cf23eaa1b9 | 1e4e19192222c47f71f88eb1bcf341452362589b |
refs/heads/master | <repo_name>tdiak/starterApp<file_sep>/start.sh
#!/bin/bash
package_exists() {
return $(dpkg -s $1 | grep installed)
}
PROJECT=$1
CLIENT=$2
GITIGNORE_FILES=(venv html/node_modules html/compiled $PROJECT/db.sqlite3 *.pyc $PROJECT/$PROJECT/localsettings.py)
REQUIREMENTS=(django==1.11 psycopg2)
if [ -z "$PROJECT" ]... | 0919351038c4e0e82dd7d479f23707bbf508fd52 | [
"Shell"
] | 1 | Shell | tdiak/starterApp | dc5e9021e2fc9ba566ed10f2a5185d8bc8406ecf | b0d018880fd3533f1203688ecf9a3b4a1e9bd585 |
refs/heads/master | <file_sep>// +build OMIT
package main
import (
"fmt"
"math"
)
func main() {
fmt.Printf("Сада имате %g проблема.", math.Nextafter(2, 3))
}
<file_sep>// +build OMIT
package main
import (
"fmt"
"math/rand"
)
func main() {
fmt.Println("Мој омиљени број је", rand.Intn(10))
}
<file_sep>// +build OMIT
package mai... | 156dec150e4c4dcef3c5a3b28dde81feebcabc89 | [
"JavaScript",
"Go"
] | 6 | Go | kostich/go-tour-SR | 2957a6951274f379dbca1e5a03623691494d56de | 203e2e74b90ba9bc2cff8556d4f3ce8a01aaa224 |
refs/heads/main | <file_sep>package com.example.nvigationdraweryswipeviewtabs
import android.os.Bundle
import android.view.MenuItem
import androidx.appcompat.app.ActionBarDrawerToggle
import androidx.appcompat.app.AppCompatActivity
import androidx.core.view.GravityCompat
import kotlinx.android.synthetic.main.activity_main.*
class Mai... | 85a1af61f020fbed4dc33de9fe5dfd2834ca269a | [
"Kotlin"
] | 3 | Kotlin | jolgo1989/NavigationDrawerySwipeViewTabs-ViewPager2- | 505a0951a44c5e816c0a4d8ba2b68ab44222891f | 23d552a83a9c5b7f245203453393f8c7659d9931 |
refs/heads/master | <repo_name>securesystemslab/zippy-megaguards<file_sep>/zippy/edu.uci.python.test/src/tests/megaguards/dd/test7.py
a = [1.,2.,3.,4.]
def atomic():
b = 0.
for i in range(3):
for j in range(4):
x = a[j]
b += a[i]
return b
b = atomic()
print(b)
<file_sep>/README.md
![zippy-logo-200-... | a8b5d72bbae4c4af509567f773f636646e39cfd6 | [
"Markdown",
"Java",
"Python"
] | 68 | Python | securesystemslab/zippy-megaguards | 9e3324d6aea0327fe499b9e07b1a67194ddd1db3 | 3d97a0507b784c6bd992da8de49334d31df709eb |
refs/heads/master | <repo_name>nakanaa/docker-aceproxy<file_sep>/runit/vlc
#!/bin/bash
# From: https://github.com/ikatson/docker-acestream-proxy/blob/master/supervisord.conf
exec setuser vlc vlc -I telnet --clock-jitter 0 --network-caching 500 --telnet-password admin<file_sep>/Dockerfile
# References used:
# https://github.com/phusion/ba... | fd489244ac6a0fc45e431ef13baa791b261f6820 | [
"Dockerfile",
"Shell"
] | 3 | Shell | nakanaa/docker-aceproxy | d2bca848a3f01bd9acd5503897b0e701da1d5a63 | bc89aa47d3ec257b2d9a1b676d5bd28c52488f75 |
refs/heads/master | <file_sep>//
// Utility.h
// EyeTracker
//
// Created by <NAME> on 17/04/2017.
// Copyright © 2017 <NAME>. All rights reserved.
//
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#ifndef GradientHelper_h
#define GradientHelper_h
cv::Mat computeGradient(const cv::Mat& mat);
cv::Mat ma... | f67a2f0cbce431d54ce36dbf706cebefeaff835c | [
"Markdown",
"C"
] | 2 | C | WeiwenXu21/Pupil_Tracker_iPad | d86169f3ed0ea1bfbd0ca330cec1ac9437c54c24 | fa4ac0418ec12984c67f7e8c557842c0f7d35832 |
refs/heads/master | <file_sep>from collections import Counter
from datetime import datetime, timedelta
import getpass, os, email, sys, gmail, dispatch_gmail, re, time, imaplib, string, pywapi
import operator
import pdb
import urllib
from chartit import DataPool, Chart
from dispatch.models import UlsterIncident
from dispatch_gmail.models ... | a786b9ef0083940a579be6318973306ff8df8a15 | [
"Python",
"Text"
] | 9 | Python | jMyles/Dispatch.py | b70830f11e8d238bf121d9eb4e320c7ed3d551d4 | 4c4947d9e426d8e549c1a2a8fc8838443396fe76 |
refs/heads/master | <repo_name>vsliouniaev/scratchpad<file_sep>/package
#! /bin/bash
yarn
zip -r scratchpad.zip icons/* src/* buttons/* manifest.json scratchpad.js<file_sep>/scratchpad.js
function handleClick() {
browser.tabs.create({
"url": "/src/index.html"
});
}
browser.browserAction.onClicked.addListener(handleClick); | 3987b999cb9a436117511df3000ddf85c94ca424 | [
"JavaScript",
"Shell"
] | 2 | Shell | vsliouniaev/scratchpad | a21955fcb86b604bb576a60f61f190e3563c3b6b | 52d4b1c59256c4db95fbd2d0313c4ff3af481585 |
refs/heads/master | <file_sep>package fubyaka5;
public class AngryProfessor {
static String angryProfessor(int k, int[] a) {
int countN = 0;
for (int i = 0; i < a.length; i++) {
if(a[i] <= 0) {
countN++;
}
}
if(countN >= k) {
return "NO";
}
... | c247283c8aea215e6dcc9d1163fdd965f6056800 | [
"Java"
] | 17 | Java | DambldorDied/SampleProject | 4bb2400b5519c2c2fecde1d8badf47cb43c69b92 | ab8be2b34b3a91ec166548fb71c3ab491bd7c4a3 |
refs/heads/master | <repo_name>KirtanKapadia/Two-User-Chat-App<file_sep>/app/src/main/java/com/example/android/meandyou/MainActivity.java
package com.example.android.meandyou;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.EditText;
import android.widget.T... | 93cd5967a304e4315b706329ca625e60fbedfb31 | [
"Java"
] | 1 | Java | KirtanKapadia/Two-User-Chat-App | 8fd7a92bcaa10f20055e5112f5a496b710102847 | 0b2be43b20931f4a9e4f69585ceeb2308d196caf |
refs/heads/master | <file_sep>package com.xander.user.controller;
import com.xander.entities.CommonResult;
import com.xander.entities.WechatInfo;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.client.ServiceInstance;
import org.sprin... | e1a4ad9ba3cf46039a6ba4c0bb969a9a9ec46709 | [
"Java",
"Maven POM"
] | 13 | Java | wengxingxia/006SpringCloud | 667bd10454ac14c29452a5fa3019796052cf870d | 7f37f6638ebd8b047f241925b238e49e5a6dbf12 |
refs/heads/master | <repo_name>claraj/lorenz<file_sep>/equations.c
#include <stdio.h>
//this is not how you do string?? freeing memory? arguments helpful here :)!
//todo chart plot library
double P = 10;
double R = 28;
double B = 8.0/3.0;
double dt = 0.01;
int its = 5000;
void writeFile(double x, double y , double z) {
FILE *fp;
... | 33849129ddd6cd7b41e3a5065471f0ba80e1a7b8 | [
"Markdown",
"C"
] | 2 | C | claraj/lorenz | a5ae94af89c8868179f32e49ac2e797d09b9056e | df5bd9cbf76d371a23c89983133408de39088668 |
refs/heads/master | <repo_name>William3Johnson/pfam-dom-draw<file_sep>/pfam-dom-draw.js
jQuery.browser = {};
(function () {
jQuery.browser.msie = false;
jQuery.browser.version = 0;
if (navigator.userAgent.match(/MSIE ([0-9]+)\./)) {
jQuery.browser.msie = true;
jQuery.browser.version = RegExp.$1;
}
})();
function getRGBCom... | 6098f7db7b06dbb47cfb43335b1b5748b22ef8f7 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | William3Johnson/pfam-dom-draw | 7b826d803eec1d1aac6877ab8b07ef63380cb324 | ee5243621d96290b3195dd78650c33f30372d06c |
refs/heads/master | <repo_name>kimsterl337/Music<file_sep>/music.js
const axios = require('axios');
const cheerio = require('cheerio');
const express = require('express');
const bodyParser = require('body-parser');
const app = express();
app.use(bodyParser.urlencoded({ extended: true }));
let date = '';
const url = 'https://www.billboar... | eb9d7032e62d8766f11515252f8cfab79fc48e6c | [
"JavaScript"
] | 1 | JavaScript | kimsterl337/Music | 81ab3801c3c44dc31454154b76091f2e17214263 | 21a7a43af3562b2c4ad86174842ba27e774806b4 |
refs/heads/master | <file_sep>from Crypto.Cipher import AES
from Crypto import Random
class AESCipher(object):
def __init__(self, key):
self.key = key
def encrypt(self, raw):
cipher = AES.new(self.key, AES.MODE_ECB)
if len(raw) % 16 != 0:
raw += ' ' * (16 - (len(raw) % 16))
return c... | 54514c2b8053cf9650985b24a9ad4680ee8ce67f | [
"Python",
"Text"
] | 5 | Python | kirarpit/rsa-padding-oracle-attack | 1358758aa0826284810d0be5e57f20cc1f4c80e8 | 55e500a9ad1768e42500a5f88c6d14c3f895de14 |
refs/heads/main | <file_sep>import React, { useContext, useState, useEffect } from 'react'
import { useHistory } from 'react-router-dom'
import axios from 'axios'
import {
Paper,
Typography,
Button,
Grid,
makeStyles,
TextField,
Slider,
FormGroup,
} from '@material-ui/core'
import Autocomplete from '@material-ui/lab/Autoc... | e0aa0fe2dfd3e8614aa3d101059d61a84134d84d | [
"JavaScript"
] | 4 | JavaScript | adamjanes/book-pitches | 5248e27e2c4eb23f35bf517ab67f03ab6906ce10 | 92b1f5ce543a813302a54acfd5775a6ebe918081 |
refs/heads/master | <file_sep>var interval;
var points = [];
var field = document.getElementById("field");
var isLife = false;
var cursor = [];
var fieldColor = "#1f3438"
var defaultCur = [{ x: 0, y: 0 }];
cursor = defaultCur;
var width = 100, height = 40;
function toScale() {
width = parseInt(document.getElementById('... | e0fd01b2f5b85d72bad8b03eae42f955a238d5f7 | [
"JavaScript"
] | 1 | JavaScript | maxticorn/it_is_not_a_game_it_is_life | 4c25d5d30ce61178250e87d01c441468bebd0801 | a1c5a86902ceed96db4811caf71d812867d6b75e |
refs/heads/master | <file_sep>// ##############################
// // // Cards
// #############################
import HeaderCard from "./Cards/HeaderCard.jsx";
import RepoCard from "./Cards/RepoCard.jsx";
// ##############################
// // // Lists
// #############################
import RepoList from "./List/RepoList.jsx";
import ... | 0d0b6104a716bfa8b204e7eb223d31d8bebc71ca | [
"JavaScript",
"Markdown"
] | 6 | JavaScript | marcelomenegat/github-info | 982b68dbc78bc5f2846d37dc44bf494f069282e4 | 1462edfbbb93886fe3bb1c09fb671864392ccfd5 |
refs/heads/master | <file_sep>{% extends "layout.html" %}
{% block body %}
<ul class=info>
{% for key in info %}
<li><h2>{{ key }}:</h2>{{ info[key]|safe }}
{% else %}
<li><em>info not available</em>
{% endfor %}
</ul>
<ul class=version>
{% for key in version %}
<li><h2>{{ key }}:</h2>{{ version[key]|safe }}
... | 150ea584950e33506d3c8a079f8d18e35bfe0a3d | [
"Markdown",
"Python",
"Makefile",
"HTML"
] | 9 | HTML | shipperizer/cargo | f56529b37a70ac5cdbc7bc7398b340796c49d404 | 5d61eb3451bf178d67df6e0b339cf88dccd1312e |
refs/heads/master | <repo_name>hojene007/myRepos<file_sep>/python_stuff/smo.py
# -*- coding: utf-8 -*-
"""
Created on Tue Feb 24 23:57:51 2015
@author: Epoch
"""
import csv
import os
import numpy as np
import pandas as pd
import scipy as sc
from numpy import genfromtxt
def uniqueFun(seq):
# order preserving function extracting uniq... | 15d22edd3df5aa44ec9f8d124b0f9d3fd29e57eb | [
"Python"
] | 1 | Python | hojene007/myRepos | 49ab7d9d93ed145277792ce59f8a9c598d697642 | e77fc8cd49beda0dec439c8d4d973bd5dabdb333 |
refs/heads/master | <repo_name>LohithCS/PiCar<file_sep>/stop_sign_pi.py
import cv2
import subprocess
import time
threshold_score=0.0001
flag=1
while(1):
if flag != 0:
start_time = time.time()
camera = cv2.VideoCapture(0)
for i in range(10):
return_value, image = camera.read()
if i ... | 384dcc51c376d5557fd6326a114b454ab3c59126 | [
"Markdown",
"Python",
"Shell"
] | 5 | Python | LohithCS/PiCar | 5a998bfba7b18ab2a186343f597a65f78f02a860 | 37d53dc06183947f2f047f73766093ce956dec41 |
refs/heads/main | <repo_name>Ravibhushan222/SpringBoot-app-using-my-Sql<file_sep>/src/main/java/book/bookstore/dao/BookRepositoryImpl.java
package book.bookstore.dao;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springf... | 5a137c3f963f77ca45433485f63c52a2e99a2553 | [
"Java"
] | 1 | Java | Ravibhushan222/SpringBoot-app-using-my-Sql | 765d137b914e3d46e5e063d6865964e323cccf0d | 135865ac9272009e2a1ceb95bf858254e61ce62c |
refs/heads/develop | <file_sep>package org.fundacionjala.pivotal.ui.pages.LoggedIn;
import org.fundacionjala.core.selenium.GuiInteractioner;
import org.fundacionjala.pivotal.ui.component.EditProfileForm;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import java.util.HashMap;
import java.util.Map;
impor... | 787b5e46d4865fcde2287164970224052462d44e | [
"Markdown",
"Java",
"INI"
] | 12 | Java | GUI-Automation-AT12/mirko_pivotal_gui-test | 3e58d04dcd1738048453c625022a32bad13d27ae | 2cb4daa639a8e2c7aa2559f46397c0ed57ae7f53 |
refs/heads/master | <file_sep><?php
//print_r($this->estadoMatricula);
//die;
?>
<center>
<table class="table table-condensed">
<tr>
<th colspan="6" class="nombreTabla text-center">Lista de Habitaciones</th>
</tr>
<tr>
<th>Numero</th>
<th>Piso</th>
<th>Tipo</th>
... | f768154da73ebce2679090b4d6e434147f046153 | [
"SQL",
"PHP"
] | 38 | PHP | jonathan109dani/hoteleriaTurismo | 522174e0d9fa4644153e041211ba2a26d18adf6b | a565c05a875da7708db189b8a10d54ab535ba953 |
refs/heads/master | <repo_name>bshkspr/Lee2008<file_sep>/README.md
# Lee2008
R codes for my publication in BMC Bioinformatics 2008
http://www.biomedcentral.com/1471-2105/9/32
<file_sep>/ftn.gene2orf.R
ftn.gene2orf <- function(genes) {
######################################################################
#
# > Purpose
# To convert... | 73c14771ab1ff402a0d1756e4156341f7645ce3b | [
"Markdown",
"R"
] | 5 | Markdown | bshkspr/Lee2008 | 2cef870fadec3a8938cfd0b59398fb72b035ed4d | 8f9a0a890e7886d7245a7f11755ead60521795cb |
refs/heads/main | <repo_name>RazvanRauta/MealsToGo<file_sep>/src/features/restaurants/screens/MapScreen/index.jsx
/**
* @author: <NAME>
* Date: Apr 07 2021
* Time: 22:03
*/
import { SafeArea } from '@/components/SafeArea';
import React from 'react';
import { View, Text, StatusBar } from 'react-native';
const MapScreen = () => {... | e287dd855a928a0604814ca91a642e355de7046e | [
"JavaScript"
] | 5 | JavaScript | RazvanRauta/MealsToGo | a2627f11b1235e406b40833ce476c68ba2745fb9 | 8509363e315bb247b86d43ad0a1f38beeaf9d984 |
refs/heads/master | <repo_name>LushaTeam/arena<file_sep>/public/dashboard.js
let refreshTimer = null;
let refreshInterval = null;
$(document).ready(() => {
const basePath = $('#basePath').val();
function capitalize(string) {
return string.charAt(0).toUpperCase() + string.slice(1);
}
function setRefreshInterval(value) {
... | a86236a3a3d6884ae9bd0e57bccdbcfb321a12d4 | [
"JavaScript"
] | 5 | JavaScript | LushaTeam/arena | 5befd0819fe5e46c0303bc374eb35883746259ae | 70981fda8fb1427b7372cb881c2b005f20091171 |
refs/heads/master | <file_sep>
<?php
include 'head.php';
if (isset($_GET['e'])){
switch ($_GET['e']) {
case '0':
include 'reg.php';
break;
case '1':
include 'aut.php';
break;
default:
echo 'lo siento necesitas autorizacion para acceder';
break;
}
}else
include 'subindex.php';
include 'foot.php';
?><file_sep># st... | b20a34baba46d5a5d99d8d70df17250b60cd7749 | [
"Markdown",
"PHP"
] | 2 | PHP | neokeyboard/st | fa32cb8a45370c7231d956e72adaa926cd813358 | 187aaca13a8b7029f5ff1aac4d1a5d543392ac30 |
refs/heads/main | <repo_name>SuhyunMin/Knittin_Ball<file_sep>/Assets/Scripts/VolumeChangeScript.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class VolumeChangeScript : MonoBehaviour
{
private AudioSource audioSrc2;
private flo... | 33f1e0e9199a6bbda82b410bfbb61368900fcc3f | [
"Markdown",
"C#"
] | 9 | C# | SuhyunMin/Knittin_Ball | 26fe32c5a46cc1819b082821b4f8a6030cca4291 | dfb79fa4538e1692a99bd454c46198e6c652c490 |
refs/heads/master | <file_sep>/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* pipex.c :+: :+... | f7531fa291959562ab5bcd199844f051ec2ee02d | [
"C"
] | 1 | C | mouhcinecherqui/pipex | 567a03bdf12421f44e49248d7bf3a6d37b6370e2 | 4d29ba49f19f1bd725a4b549f3478533afdd5c5a |
refs/heads/master | <repo_name>tuxmania87/chessbot-tuxbot<file_sep>/bot_pychess.py
import requests
import json
import chess
from chessutil import ChessUtils
import threading
import random
from movegen import MovementGenerator
import time
token = "T<PASSWORD>"
header = {"Authorization":"Bearer {}".format(token)}
#doMove = m.get_next_mo... | 90936cb0a2b92c63d3a23986c5ca7fca64217e26 | [
"Python"
] | 9 | Python | tuxmania87/chessbot-tuxbot | 4cc44685902c42a6c7a29c70e2b361123f5577ea | 1883f9269f3a2c905b65c57ed8e0bf3d9335a655 |
refs/heads/master | <file_sep>"use strict";
/**
* writeText is responsible for inserting the messages into the html of the page
* the local user, as well as 3 additional users each have unique colors
* all subsequent users will have their text be displayed in a green font
* @param {string} user this represents the user who sent the messag... | acf38a61a0bf8290f9632ad04d687e61b96aff36 | [
"JavaScript"
] | 1 | JavaScript | sbepstein/musicality | 296d3c7fa3c0ec9821e7f9c7251bebde1ab5b01e | ad9c52f9db5d4f34805591cab851e01f692e08ca |
refs/heads/master | <file_sep>#include "masterwidget.h"
#include "mainwidget.h"
#include <QBasicTimer>
#include <iostream>
#include <string>
MasterWidget::MasterWidget()
{
timer.start(1000, this);
month = 0;
std::cout << "Wouah on est au mois de " << getMonthStr() << std::endl;
}
void MasterWidget::timerEvent(QTimerEvent ... | a96469e4e81c722ac55dd0e6763be455cd2a9168 | [
"Markdown",
"C++"
] | 4 | C++ | clayettet/Moteur_jeux | 3f9b0f3b7d3d7c248820e8bcdb0b5e85e0730c10 | 44ad093377369a76fc562bf6a0eb26a50e06d48f |
refs/heads/master | <repo_name>doaa12/zipn<file_sep>/src/main/java/cn/bmwm/modules/shop/dao/impl/PreOrderDaoImpl.java
package cn.bmwm.modules.shop.dao.impl;
import org.springframework.stereotype.Repository;
import cn.bmwm.modules.shop.dao.PreOrderDao;
import cn.bmwm.modules.shop.entity.PreOrder;
/**
* Dao -- 预约订单
* @author z... | 516266a895659a8f3e35b11a37c9ade88e2d5fcc | [
"Java"
] | 13 | Java | doaa12/zipn | 606325641882d5135f6e2758d40572122186bb08 | 9c8338ba535725ec689f4db314685145ca7f4b32 |
refs/heads/master | <file_sep>#include<iostream>
#include<fstream>
#include<conio.h>
#include<string.h>
using namespace std;
class login{
public:
string name;
string password;
public:
login(string n,string pass):name(n),password(pass){
}
bool log(string n,string pass){
if(name==n && password==pass){
re... | d6b8fc496c2a0b964d2cda87ab9131c74da22889 | [
"C++"
] | 1 | C++ | waqarbashir6/code | 3bb4a7dd68969c3c92b6d9ba30230155286e2d35 | 5a8c299e9de5b7680994865193d70dba53a19817 |
refs/heads/master | <repo_name>mgood13/Pandemic<file_sep>/blackjack.py
import random
# dealer cards
dealer_cards = []
# player cards
player_cards = []
# Deal the cards
#Dealer Cards
while len(dealer_cards) != 2:
dealer_cards.append(random.randint(1, 11))
if len(dealer_cards) == 2:
print("Dealer has X & ", dealer_car... | 18cf4b5065e80d98ff1b7799d907fa1a1530c1b2 | [
"Markdown",
"Python"
] | 3 | Python | mgood13/Pandemic | c0b8b05e8ad2afea905bdf8a475e79180957c0b0 | 694d5b95f4b0c67c8081ccee7458eda3fc4e3c25 |
refs/heads/main | <file_sep># 25-Online-Grocery-App
<file_sep>package com.example.mysearchactivity;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.RequiresApi;
import androidx.appcompat.app.AppCompatActivity;
import androidx.lifecycle.Observer;
import androidx.lifecycle.ViewModelProv... | cbd6f443a015ea104a549ea0cebeec69d35efb08 | [
"Markdown",
"Java"
] | 2 | Markdown | Myagnik/25-Online-Grocery-App | bde1592cb54b26125350e7e6e0d71c505864f0e7 | ab753b5f8b2ddffe37d8af560f4c5f1899a9c5e8 |
refs/heads/master | <file_sep><?xml version="1.0" encoding="UTF-8"?>
<!--
The MIT License (MIT)
Copyright (c) 2020 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limita... | 682b66e076e0310d537397655e1120bf28a45f48 | [
"Markdown",
"Java",
"Maven POM"
] | 3 | Maven POM | yegor256/jpeek-maven-plugin | 4d00791fa1472727d53cd39863a42d7674b73f4d | 398a6d4ee118320a125b9d4757a9f8aaed07524f |
refs/heads/master | <repo_name>csknns/RgWsPublicClientPHP<file_sep>/generated/RgWsPublic.php
<?php
/**
* GenWsErrorRtUser.php
*
* Copyright (c) 2015 <NAME> <<EMAIL>>.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
*... | 81a203135a92a8aab5dd59b8dc849c01810f26de | [
"Markdown",
"PHP"
] | 2 | PHP | csknns/RgWsPublicClientPHP | 662c40eba8bc361de8e1f6fd26d40bad176fed33 | 6711310dd0ff611edf8b2c66d693b214b0ea23d2 |
refs/heads/master | <file_sep>// 手机号正则表达式
function checkPhone(phone) {
if (!(/^1[34578]\d{9}$/.test(phone))) {
alert('wrong phone number');
return false;
}
}
// 去掉字符串前后多余的空格
var string = ' a b c ';
string.replace(/^\s+|\s+$/g, '');
// 使用对象查找字符串中出现次数最多的字符
// 主要是使用对象
var str = 'abceddddzhaofffwi';
var o = {};
for (var i = 0, le... | bff452d4000cfff3dd386f487f406d8ff7c1843c | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | leoswing/treadstone | 1f390ab5fafa3dcb81d1b3775ee912d5d529092e | 652458ed404c2b76d8de865c35f5f638a59778c6 |
refs/heads/master | <repo_name>bloesch/LSEnode<file_sep>/CMakeLists.txt
cmake_minimum_required (VERSION 2.6)
include($ENV{ROS_ROOT}/core/rosbuild/rosbuild.cmake)
SET(CMAKE_BUILD_TYPE "Release")
rosbuild_init()
find_package(Eigen REQUIRED)
find_package(LSE REQUIRED)
include_directories(${Eigen_INCLUDE_DIRS})
include_directories(${LSE_I... | 870d2f8ade636c762e7159405721c5d80934c53a | [
"Markdown",
"CMake",
"C++"
] | 4 | CMake | bloesch/LSEnode | 4e50b44ebd9e35014c7af82b91a35677bcfd9bc9 | 12504fdbf977fc080b79b5f27c3af220cddc393c |
refs/heads/master | <repo_name>fortega/CDEC-Reader<file_sep>/src/ssltest/SSLtest.java
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ssltest;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
*
* @author felipe
*/
public class SSLtest {
/**
* @p... | 327b25394238d7d6fce99a57430a0560df3f9966 | [
"Markdown",
"Java"
] | 2 | Java | fortega/CDEC-Reader | 84d0b8ab7bd412fca89a94f5486acf64c0edbbbb | c6907342b954bb20d4153a3e3c31212bca4cce31 |
refs/heads/master | <repo_name>Sam0523/serial<file_sep>/docs/search/pages_0.js
var searchData=
[
['serial_20library',['Serial Library',['../index.html',1,'']]]
];
<file_sep>/docs/search/enumvalues_1.js
var searchData=
[
['fivebits',['fivebits',['../namespaceserial.html#a00b3281fa11cea770c0b0c8a106080f8af09eeaf7333d2feda0bd3d748d5e3123... | c7163a032ca6425ac456733aef87da65ff1f4330 | [
"JavaScript",
"HTML"
] | 22 | JavaScript | Sam0523/serial | 8181d1ebc84bdaee57c502e253eb36278d447324 | f91eb018c0f93c8e19ae0307a463a3e65c43eabf |
refs/heads/master | <file_sep>rootProject.name = 'meteorddp'
include ':app'
<file_sep># Simple Todo List React Native client
1. Install dependencies:
```
npm install
```
2. Start:
```
react-native run-ios
or
react-native run-android
```
<file_sep># Simple Todo List React Native
* **simple-todos-react** directory is Meteor server.
* *... | 93043d9644f9074f24527d689379b1733d173248 | [
"Markdown",
"JavaScript",
"Gradle"
] | 4 | Gradle | Akim95/meteor-react-native-sample | 2aaa633c6df82f5858b7ce4458db226ba1b6df83 | eb49c9cb9d3b1555c7cdcd461e8d60ac39c537b1 |
refs/heads/master | <repo_name>Coder-B/terraform-will-sag-acl<file_sep>/README.md
# terraform-will-sag-acl
This terraform module supports to create access control list for SAG (smart api gateway).
These type of resource is supported:
- [alicloud_sag_acl](https://www.terraform.io/docs/providers/alicloud/r/sag_acl.html)
- [alicloud_sag_acl... | 63d553821def44d45e320c2bf979f085ef34cc49 | [
"Markdown",
"Go"
] | 3 | Markdown | Coder-B/terraform-will-sag-acl | 100b0bc518edd2fc7911e117e6a5f0e6080f1222 | afe26e9b0a3b2b2bc3b5022654ccf6141587248c |
refs/heads/master | <file_sep>package talgo
//Collection a type the satisfies Collection interface can be used by the routines of this package
type Collection interface {
//Len is the numbre of elements of the collection
Len() int
}
//Function defines a function that applies to the ith elements of a collection
type Function func(i int... | bfcb39d56fad55fb7de459ba83273cd13922fa13 | [
"Go"
] | 2 | Go | SebastienDorgan/tfunc | 023a635cd5b266698de1718a499df52d2ee54814 | 0714746b9c10afd4140e983ec67ad15ac5f91e40 |
refs/heads/master | <file_sep># Bayesian Gaussian Processes
## This Github Repository
This particular Github repo, *bayesianGPs* is a rough draft of putting together some software that will do the stuff in my dissertation, *A Bayesian Approach to Prediction adn Variable Selection Using Non-Stationary Gaussian Processes*. This one will ... | 3aa51551df8b4552359924967983b1272ea8bf5e | [
"Markdown",
"R"
] | 8 | Markdown | cbdavis33/bayesianGPs | f6a51c20a462ae9435659ba4ed0bd244a2d4f0b6 | 4ab34c59b1f895ffdf01108ecbe47623e48c9391 |
refs/heads/master | <file_sep>'use strict';
const _ = require('lodash');
/**
* 过滤掉对象集合中所有为undefined和空字符串的字段
* @param {Object} obj
* @returns {Object}
*/
exports.filterUndefindAndEmptyByObject = (obj) => {
if (_.isPlainObject(obj)) {
for (let k in obj) {
if (obj[k] === undefined || obj[k] === '') {
delete obj[k];
... | 6735b245e449108801ce0f812601b50216bf1299 | [
"JavaScript"
] | 2 | JavaScript | yejiyang/tomato-work-server | 51666cb9188150b842387c317128378a3e73898a | d66f797dbf8381f4b9d70efad1d4c0432e426249 |
refs/heads/master | <file_sep>""" KamLAND-Zen Majoron limit setting script
This script sets 90% confidence limit on the Majoron-emitting
neutrinoless double beta decay modes (with spectral indices n = 1, 2, 3
and 7), with KamLAND-Zen.
Examples:
To use simply run the script::
$ python Xe136_majoron_limit.py -s /path/to/majoron_mod... | 6e237341b86fd488c587545520ceabe5ced774c6 | [
"Markdown",
"Python"
] | 7 | Python | Mark--S/echidna | 724af684b5cc554874d1fe4096901025176fd71c | efc10639635035c4b4c0baac9893fa56e836b454 |
refs/heads/master | <file_sep>package com.xyz.shrreya.youtubesdk_sample
class YouTubeConfig{
companion object {
val apiKey = "Your API KEY"
}
}<file_sep>package com.xyz.shrreya.youtubesdk_sample
import android.nfc.Tag
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android... | 8e46bdb144b85be9bed7906b4d9ecb7a7877a6e5 | [
"Kotlin"
] | 2 | Kotlin | VictoriousAura/YouTubeApiSample | f72e77500cf4fcba2991d5c2f200ebdd552ab56d | bd34bc645801dfb60f4c1295e1f90e57698c2ac6 |
refs/heads/developmen | <repo_name>ArturSayfullayev/Closures<file_sep>/Hometask_Closures.playground/Contents.swift
import Foundation
// ---------------------------------------
// MARK: - Домашнее задание
// ---------------------------------------
// =======================================
// MARK: - Task 1
// ============================... | b919e1b84e53cf735569458238c09d2cb9025d65 | [
"Swift"
] | 1 | Swift | ArturSayfullayev/Closures | db9220e9481ad5b37a51450721c7b7d3964cdec3 | 51bbdc8322d2ca9cb2a3af4e1ff67a02ceac881f |
refs/heads/master | <repo_name>chriseagle1/yii2-basic<file_sep>/commands/BootstrapWsController.php
<?php
namespace app\commands;
use yii\console\Controller;
use app\common\Websocket;
/**
* 启动websocket服务器端监听
*/
class BootstrapWsController extends Controller
{
public function actionRun($host = '127.0.0.1', $port =... | 6eea73594c19aa1341d04dc05e502196135886be | [
"JavaScript",
"PHP"
] | 10 | PHP | chriseagle1/yii2-basic | 914a03e193f9c90643fe6d13824d9f9dedfaf349 | 8897a173c1cd59399ad18f62d90ad6fc1ee480e7 |
refs/heads/master | <repo_name>pritpalxyz/scrapy-as-coa-articles<file_sep>/README.md
#Scrapy Crawler for http://www.as-coa.org/region/united-states
<file_sep>/as_coa_crawler/as_coa_crawler/items.py
# -*- coding: utf-8 -*-
# Define here the models for your scraped items
#
# See documentation in:
# http://doc.scrapy.org/en/latest/topics/it... | ca5739efb3204aed6798e3c7c8e62bf1d638ce37 | [
"Markdown",
"Python"
] | 3 | Markdown | pritpalxyz/scrapy-as-coa-articles | 943279a8ab0783457194c6d57109fd2136c2be4f | 6b6bf13f66f7e7d7f03f95c3307e13046e1e72ff |
refs/heads/master | <repo_name>DeLaSalleUniversity-Manila-LBYEC72-t216/HelloFromAngelaNebres<file_sep>/README.md
```
#include <stdio.h>
#include <stdlib.h>
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main(int argc, char *argv[]) {
printf("\t \t @@@@@@@@@@@@@@@@@@@@@@@@@@@@ \... | af0da356be92e8a93e302ed08ac9df5874f01457 | [
"Markdown",
"C"
] | 2 | Markdown | DeLaSalleUniversity-Manila-LBYEC72-t216/HelloFromAngelaNebres | 8cf05086fa2f432a1ab2b072160844bca378eb87 | b3e0ac3c0d419c99702487df80561931a9f7d304 |
refs/heads/main | <repo_name>boksfisika/project_wordpress<file_sep>/functions.php
<?php
/*
* Add my new menu to the Admin Control Panel
*/
// Hook the 'admin menu' action hook, run the function named 'mfp_Add_My_Admin_Link()'
include 'index_url.php';
add_action( 'admin_menu', 'pp_Tambah_Link_Admin' );
// Add a new top level menu l... | 63518b7e967249bd776edd601956f6387c7dfa66 | [
"PHP"
] | 3 | PHP | boksfisika/project_wordpress | 0408c0e554ed7e627ad58d4b3721f3721ace0c58 | a4a5286078dc414a22ca44d1ab3714e0e21ca059 |
refs/heads/master | <repo_name>cHuberCoffee/bt_differential_cryptanalysis_of_simpirav1<file_sep>/code/SimpiraA.h
#ifndef SIMPIRAA_H
#define SIMPIRAA_H
#include <iostream>
#include <fstream>
#include <functional>
#include <string.h>
#include <stdint.h>
#include <unordered_map>
#include <vector>
#include <wmmintrin.h> // for intrinsics f... | 68e990ef3fe597bad5549c0916a6edf189def299 | [
"C",
"Makefile",
"C++"
] | 12 | C++ | cHuberCoffee/bt_differential_cryptanalysis_of_simpirav1 | 1d9387b6764071ae840a5a13996bf3b912cb2077 | 3860edc1022f73419bc88004c5db1774e6f7da4a |
refs/heads/master | <repo_name>tsukky528/mean_study<file_sep>/public/assets/js/app.js
angular.module('post-app', ['post-app.postService', 'post-app.postController']);<file_sep>/Gulpfile.js
var gulp = require('gulp');
var sass = require('gulp-sass');
var autoprefixer = require('gulp-autoprefixer');
gulp.task('sass', function(){
retur... | f588a75ca5036c33cb1e612e1bf24fabc4888318 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | tsukky528/mean_study | 8e3719bc2b8d0d700421bc608ddd657155313f81 | 52d2fe9869a9b30659bbb644d0b9e42de307bbbc |
refs/heads/master | <file_sep>class Car
def start
puts"car is started"
end
def stopped
puts"car is stopped"
end
def move
puts "car is moved"
end
end
c=Car.new
c.start
c.stopped
c.move<file_sep>class Calculator
def add(*a)
sum=0
a.each do|x|
sum +=x
... | fd51efafb8ebbb2d684d8d79ec54a70ea78008ae | [
"Ruby",
"HTML"
] | 20 | Ruby | sannidhigowda/sannidhi | 081c5732946f7bdc089be77b158234958e9fd8b4 | c1b958e9e942a5f5df5e30f17a23a5c27749d319 |
refs/heads/main | <repo_name>Dongpaca/ZSSR<file_sep>/net.py
import torch
import torch.nn as nn
import math
class SRNet(nn.Module):
def __init__(self):
super(SRNet, self).__init__()
self.relu = nn.ReLU(inplace=True)
self.Conv1 = nn.Conv2d(3,64,3,1,1,bias=True)
self.Conv2 = nn.Conv2d(64,64,3,1,1,bias=True)
self.Conv3 = nn.C... | cd83a3ef13a342ff0a22543bbb49eab159f835d5 | [
"Markdown",
"Python"
] | 6 | Python | Dongpaca/ZSSR | b965a1e752436b250b2108d5df4651516b15698a | 85a50c0887f477b85c53f1ba589a2e4aa4759455 |
refs/heads/master | <repo_name>jerysun/large-files-search-replace<file_sep>/src/main/java/com/jsun/type/FileType.java
package com.jsun.type;
/**
* List the supported file types
* @author jerysun
* @version 1.00 2018-04-08
*/
public enum FileType {
TEXT,
XML,
HTML,
UNKNOWN;
}<file_sep>/src/main/java/com/jsun/xml/XMLSearchRepla... | 46602f74c4c588329eac6ad42e915d90eb8023e7 | [
"Java"
] | 5 | Java | jerysun/large-files-search-replace | 8507575fb5ba0519c6aed8c3aedc996bdda06e8b | ee82fcb5a0ed061e905dbf3c34fbe8a5ae625ef9 |
refs/heads/master | <repo_name>TravisSpangle/EmailList<file_sep>/spec/EmailList_spec.rb
require 'spec_helper'
describe EmailList do
let(:sample_emails) { %w(<EMAIL> <EMAIL> <EMAIL> <EMAIL>) }
def timed(cleaning_emails)
time_start = Time.now
cleaning_emails.call
time_end = Time.now
time_end - time_start
end
it '... | 6aa72af97d3ab8004324cd8b3d82f356257e3cfb | [
"Ruby"
] | 2 | Ruby | TravisSpangle/EmailList | f953e3fcd7eddacbb1ab32fb4eded0e81a8ac43c | c8145e694506a0e52e5fb4593067b5f4f4869fff |
refs/heads/master | <file_sep>// chiedo all'utente di inserire un numero
var numeroUno = prompt("inserisci un numero");
var numeroDue = prompt("inserisci un numero");
var numeroTre = prompt("inserisci un numero");
var numeroQuattro = prompt("inserisci un numero");
var numeroCinque = prompt("inserisci un numero");
var numeroSei = prompt(... | b3ea97db78a1f90d16c9a2a7e5870202756141e3 | [
"JavaScript"
] | 2 | JavaScript | giuliop93/js-jssnack-blocco | 8db12c0c757ed9b56b204552d3510a535c5001e6 | c8441aef1f3939eeb3bed46863a9c9fb944073fd |
refs/heads/main | <file_sep>import React from "react";
import "./styles/Header.css";
import Logo from "./images/airbnb-logo-img.jpg";
import SearchIcon from "@material-ui/icons/Search";
import { Avatar, Button, IconButton } from "@material-ui/core";
import ExpandMoreIcon from "@material-ui/icons/ExpandMore";
import LanguageIcon from "@m... | 48f66c34a9b2f354fe807ec6c8cb89327dc19bea | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | ledney07/Airbnb-Clone-App | 9a9b4397e37635704b02977fcae4681a8d05249d | 3678fd463c934dc642f0b696d607414d3ef6b40f |
refs/heads/master | <file_sep>package jsProject;
public class JsFastFoodDTO {
private int itemnum;
private String menuname;
private double price;
private int amount;
public int getItemnum() {
return itemnum;
}
public void setItemnum(int itemnum) {
this.itemnum = itemnum;
}
public String getMenuname()... | 058bba54d62a710bf522572008cc7a8959ebab76 | [
"Java"
] | 8 | Java | jangseongyeol/JSProject | bba42d77c57e4a05648e5f6626958e42e55f1226 | 08f14ba5989d682b1b64fcab8935272709003d1b |
refs/heads/master | <file_sep>package com.codenotfound.db;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import com.codenotfound.entity.Student;
import com.codenotfound.repository.Repository;
@Component
public class Database {
@Autowired
privat... | ec4d25aadfaadfa4248b1ca00ad4ed43328fdefc | [
"Java"
] | 1 | Java | Tsvetoslav88/cxf-jaxws-spring-boot | 3250452470fd1368c18627614673e52e000bd924 | 4f4adb9c40115f8a306804fa2c935d46ff6a8cb8 |
refs/heads/master | <file_sep># ruby-onedamentals
Ruby Fundamentals Part One assignment for Bitmaker.
<file_sep>#FIZZBUZZ EXERCISE - BITMAKER EDITION.
(1..100).each do |n|
if (n % 3 == 0) && (n % 5 == 0) #boolean to determine if BOTH conditions are met.
puts "BitMaker"
elsif n % 3 == 0 #otherwise, if first condition is met.
p... | c7f0e77e4d06061e80b337dc0f71f3f33b68a127 | [
"Markdown",
"Ruby"
] | 7 | Markdown | ixeres/ruby-onedamentals | a827d9a404c5961c227071d7cf9544f5c58eb832 | 370519d080866f841d67dca4c357f7d740a613f8 |
refs/heads/master | <file_sep>const express = require("express")
const path = require("path")
const app = express()
const publicFolderPath = path.join(__dirname, "public")
app.use(express.json())
app.use(express.static(publicFolderPath))
const users = []
function checkIfUserAlreadyExists(req) {
for (i = 0; i < users.length; i++) {
... | 6472ff1e7caab50432c3403830bcbf2da4e3f695 | [
"JavaScript"
] | 2 | JavaScript | Bschues/MoreElaborateForm | 2ad96ed19f3579c14b4c3465331b433a433dc601 | 0fb30b917db984e8843ed6ed5ea1625cdd331668 |
refs/heads/master | <file_sep>
/*
* Required JS libs
* prototype.js
* htmlUtil.js
* jquery.js
* jqgrid.js // for jgrid custom AJAX used for update
* sessionControl.js= session expiry link
*/
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////... | c309d70cb2eb05bf0e16ce14019ebc22be02ae78 | [
"JavaScript",
"Markdown"
] | 17 | JavaScript | gokulvanan/JSUtils | 88cb26314bf4e0a0e3f040404f2eb911d48e7bea | 9b5dada3c8754326624c74e2de251c314b0bc5ad |
refs/heads/master | <repo_name>charlesmurphy1/thresholdmodel<file_sep>/sandbox/example.py
import numpy as np
import networkx as nx
import matplotlib.pyplot as plt
from thresholdmodel import ThreshModel
N = 1000
k = 10
thresholds = 0.1
initially_infected = np.arange(100)
G = nx.fast_gnp_random_graph(N, k/(N-1.0))
Thresh = ThreshModel(... | 95e5544f53ee31f351895c28ce0cca49f9a3586c | [
"Python"
] | 1 | Python | charlesmurphy1/thresholdmodel | c2f0c9082df0252845ab8fb5b1e28a58cce4dd4a | 4e428b75ce40a087cafbc296abdf36ab5d1ad9f6 |
refs/heads/master | <repo_name>kleopatra999/facebook-cli<file_sep>/README.md
Facebook CLI
============
Yahoo! hackathon project by <NAME>, <NAME>, and <NAME>.
Control your Facebook page using commands in any input box. Command history is supported. We hope to have autocomplete in a future version.
Not all of the following commands are ... | 11073db38cb090146da19045d8cbd655bcb5a6b6 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | kleopatra999/facebook-cli | 9afd484ae75d3251f56adeabdb14ede385e7fdd3 | 845c1276e7c4d3812f2ba01547b20607d7158a9a |
refs/heads/master | <repo_name>maxlath/blue-cot<file_sep>/lib/get_session_cookie.js
const request = require('./request')
let sessionCookieRequests = 0
module.exports = async config => {
const { host, username, password, debug, agent } = config
if (debug) {
console.log('session cookie requests', ++sessionCookieRequests)
}
co... | ecb1a7df0b843f812d9ed4982aea38c535053526 | [
"JavaScript",
"Markdown"
] | 14 | JavaScript | maxlath/blue-cot | adcbd483577a2873fdb7511fd5813934339f84b6 | 67ca1b6715d28f3415078058dbad5e573fc55e59 |
refs/heads/master | <repo_name>mlj5j/EventCheck<file_sep>/plugins/SpikeAnalyserMC.cc
#include <iostream>
#include <sstream>
#include <istream>
#include <fstream>
#include <iomanip>
#include <string>
#include <cmath>
#include <functional>
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/EDFilter.h... | 62d1735b1166fa197054cee94425edbcf4b9d116 | [
"C",
"Python",
"Text",
"C++"
] | 12 | C++ | mlj5j/EventCheck | 275d0ab27a899f231d4c0f04e90e887f73689a58 | f4b6b9322a56b838a3cfcada0887c5b10143c212 |
refs/heads/main | <repo_name>alessandrodd/auto_conda_unpack<file_sep>/README.md
# auto_conda_unpack
Script to automatically call conda-unpack in conda packed environments; Spark compatible
<file_sep>/sitecustomize.py
# This script is meant to automatically call conda-unpack whenever the python executable is run
# copy this file to YourC... | 217e60bd3590b6bf7893935ef71d0882a34e29e8 | [
"Markdown",
"Python"
] | 2 | Markdown | alessandrodd/auto_conda_unpack | 582f7908c4b619134088f80ea964b8b9cd1a5144 | cb443f4b102a780b3df9f4ffca16f17808aedb3e |
refs/heads/main | <repo_name>christopherdavidjohnson/seic43-homework<file_sep>/Mauritz Erick/week_01/calculator/js/calculator.js
//Part1
console.log("Part 1 Calculator")
function squareNumber(number){
let squared = Math.pow(number, 2);
console.log("\nThe result of squaring the number " + number + " is " + squared);
return squared;... | dade85de1c9427054705d3b3400fb8824c591127 | [
"JavaScript",
"Ruby"
] | 3 | JavaScript | christopherdavidjohnson/seic43-homework | 72a77452258aa96f451a286416114bbceac2705c | 0da0a255c5cbbfb3cf818a6f9e76fd1d069bd76a |
refs/heads/master | <repo_name>peetbart/machine_learning<file_sep>/sklearn/sklearn_cheatsheet.py
# Scikit-Learn Cheatsheet
# Linear Regression
from sklearn.linear_model import LinearRegression
model = LinearRegression()
# Fit
model.fit(x_training_data, y_training_data)
.coef_ # contains the coefficients
.intercept_ # contains the i... | fb48209982371cf07465b6d2ae722a22994720fd | [
"Markdown",
"Python"
] | 2 | Python | peetbart/machine_learning | 48635458a57ec19f780479f0f31910af02906818 | ca9d1064acf0884444b67f03bb1178b5ef5ae9f7 |
refs/heads/master | <repo_name>tvaughn94/EightBall<file_sep>/EightBall.c
#include <stdio.h>
#include <time.h>
#include <stdlib.h>
#define NUMFORTUNES 20
void EightBall();
int main(){
EightBall();
}
void EightBall(){
int x;
char *fortunes[NUMFORTUNES] = {"It is certain.", "It is decidedly so.",
"Without a doubt.", ... | 2c1ee0e54b4b8bddc57cc2e164cd78b840dbd7ff | [
"C"
] | 1 | C | tvaughn94/EightBall | f43d1e3c4cff17e71406fcfae08dfd3ecc5f59b9 | a391f2f6efbc5e44c535cc2d3d67fa54369540bc |
refs/heads/master | <file_sep>#! /bin/bash
# Copyright 2015 Google Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
#you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required b... | 97f79252f802a554f064ef13df145a9ad5abe739 | [
"Markdown",
"Shell"
] | 2 | Shell | alekssaul/jenkins-gcp-leader | a69503032064912ce0f78ee87bd624bd381897e1 | 8ba668c41c91ebdf1777f92ae040ca8ac9a0fa5d |
refs/heads/master | <repo_name>angelfan/inspinia<file_sep>/app/models/angel_pass.rb
class AngelPass < ApplicationRecord
end
<file_sep>/app/helpers/component_helper.rb
module ComponentHelper
def render_ibox(box_title: nil, box_desc: nil, &block)
render partial: 'components/ibox',
locals: {
box_title: box_title... | 241b3c680850d6164667817a5dffa67474064250 | [
"JavaScript",
"Ruby"
] | 12 | Ruby | angelfan/inspinia | ed900003523078c91c1fe62fe1d64cb403b5e10a | 71ad8a0f993c7609fa85dbfd266cd5127925aa24 |
refs/heads/master | <repo_name>corinnekrych/helloworld-geo-ios<file_sep>/Helloworld-geo/ViewController.swift
//
// ViewController.swift
// Helloworld-geo
//
// Created by sebi-mbp on 18/01/15.
// Copyright (c) 2015 sebi-mbp. All rights reserved.
//
import UIKit
import CoreLocation
class ViewController: UIViewController, CLLocationMa... | 8d58ee79620dd886ddfb06e81878d397f396a054 | [
"Swift",
"Markdown"
] | 3 | Swift | corinnekrych/helloworld-geo-ios | 2c6156c9c271928ddbcd031d0a02148ef0b028c3 | 95b84520b1cd385b7ec22255aa6fe3c0574088d4 |
refs/heads/master | <repo_name>ilya-otus/allocator<file_sep>/reserve_allocator.h
#pragma once
#include <iostream>
#include <vector>
#include <map>
template<typename T, size_t N>
struct ReserveAllocator {
using value_type = T;
using pointer = T*;
using const_pointer = const T*;
using reference = T&;
using const_referen... | 5f5a3f2629552ec57fe8417a95200239605441f1 | [
"Markdown",
"CMake",
"C++"
] | 7 | C++ | ilya-otus/allocator | 5d8453aecfd11acb384cf8d0efae43bd4b1254ad | 493f42503a749f00f48c4e564f1ddb84fe856415 |
refs/heads/master | <file_sep>using System.Collections.Generic;
using System.Linq;
namespace ConsoleApplication
{
public class Applicants : IApplicants
{
public Stack<Applicant> ApplicantStack { get; set; }
private List<Applicant> AcceptedApplicants{ get;set; }
private List<Applicant> DeclinedApplicants{ ... | 44ea180f1dc8d39f7cb82c03e0b9a291e1650a7b | [
"Markdown",
"C#"
] | 20 | C# | rcmontgo/CollegeAcceptance | 51b54743aeed9b9e30920f1c9fdd348dbca7f503 | 63f6c10c8215f6617bf167f2c66fac9ed6cb34f4 |
refs/heads/master | <repo_name>yodji09/Individual_Project<file_sep>/server/routes/anime.js
"use strict";
const router = require('express').Router();
const AnimeController = require("../controller/AnimeController");
const Authentication = require("../middlewares/authentication");
const Authorization = require("../middlewares/authorization"... | 13a8e1bd5a925e66fda8386ebf6bf9d4398c636b | [
"JavaScript",
"Markdown"
] | 7 | JavaScript | yodji09/Individual_Project | c65a82ee1b71a6966ac5161d1675fbb75d21b95a | df6d2dcc54148d03f2158ae74fe3cca4fbbd8b8c |
refs/heads/master | <file_sep>from django.db import models
from django.contrib.auth.models import AbstractUser
from django.utils import timezone
# Base User
class User(AbstractUser):
email = models.CharField(max_length=100, unique=True, null=True)
avatar = models.ImageField(max_length=256, null=True)
utype = models.CharField(... | c898cec5c8b7b42d4b265cc1bc2daaf4be832ecd | [
"JavaScript",
"Python",
"Text",
"Markdown"
] | 11 | Python | YuanHaoReginald/Babel | abbf36e948d1b869f954f7d2bc4afc54293ed8c2 | 0a379ebd1c652408ad67e0b80a27f156fb490bb3 |
refs/heads/master | <file_sep>/*
* jQuery Dialogs
*
*
* support ie9+, TODO ff, TODO chrome
*
*/
// dialogs object
/*
* dialogs.options current default options
* dialogs.updateOptions function(options) -> accepts an object as argument
* dialogs.all array containing each... | d3e3ae8c8a6660933d0b1031871402efa8cdd97c | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | justDax/dialogs-js | 75f028ddfe689976dc3dc831c5ad67e7638c4afa | 2a1dd1142f160d7cc977724e80a406f85a130fed |
refs/heads/master | <repo_name>RBotelloMa/OpenGL-Shaders-Practice<file_sep>/src/mesh.cpp
#include "../include/mesh.h"
std::shared_ptr<Mesh> Mesh::Create() {
return std::shared_ptr<Mesh>(new Mesh(), Delete);
};
std::shared_ptr<Mesh> Mesh::Create(const std::string& filename) {
return std::shared_ptr<Mesh>(new Mesh(filename), Delete);
... | 505dededa3d8466dc3920887ef819a3c665a0a00 | [
"Markdown",
"C",
"C++"
] | 20 | C++ | RBotelloMa/OpenGL-Shaders-Practice | 8f2eae3e1b7aef808255c3fc0751146dd34b5be5 | 28efe557a9a85222a67b158ac373a866f8e2f78f |
refs/heads/master | <file_sep>var gulp = require('gulp'),
concat = require('gulp-concat'),
sass = require('gulp-ruby-sass'),
autoprefixer = require('gulp-autoprefixer'),
rimraf = require('gulp-rimraf'),
watch = require('gulp-watch');
gulp.task('styles-clean', function() {
return gulp.src('build/styles/**/*.css')
... | d7baf623fe17e701341ba99db33c6b6fffddc165 | [
"JavaScript"
] | 4 | JavaScript | lsjroberts/clades | aee15b2cee0291e3eb4435b2bd1373e2d9b7d18a | ad61c4204a77c461d444777ab70d1fd621224f62 |
refs/heads/master | <file_sep>package com.example.sunshine.bloodDonation.FetchingData.Login_Register
/**
* hierarchy of json data of Login and Register
*/
data class LoginRegisterResponse(val status: Int, val data: Data1)
data class Data1(val client: Client,val api_token:String)
data class Client(val name: String,
val... | 55b3cf7ce98aef7dfac9890c799582d6441a56a9 | [
"Java",
"Kotlin"
] | 6 | Kotlin | AbdelrhmanSror/BloodDonation | 7e10bac7d78705d819b6b43845f15ecf42d2ab87 | 1b227311d6233b8d50878c44265e273a45231d6c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.