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>
Vagrant.configure("2") do |config|
config.vm.network "forwarded_port", guest: 10008, host: 10008
config.vm.network "forwarded_port", guest: 8080, host: 8080
config.vm.network "forwarded_port", guest: 18080, host: 18080
config.vm.network "forwarded_port", guest: 8988, host: 8988
config.vm.network... | c405daf71907fe41cdf0d20b06d8bddc5485dfd1 | [
"Markdown",
"Ruby"
] | 2 | Ruby | mateuszpierzchala/lambda_arch | b9f69dd6588bfda38160d9da6cc222a9fbe8ce5e | e5464a90591a3485b71c353eb09a31623306c11b |
refs/heads/master | <repo_name>undefinedroot/x0-TCNDC3rdEd-playground<file_sep>/8-promises.js
const add = (a, b) => {
return new Promise((resolve, reject) => {
setTimeout(() => {
resolve(a + b);
}, 1000);
});
};
// add(1, 2)
// .then(sum => {
// console.log(sum);
// add(sum, 1).then(sum2 => {
// console.... | 24b6180818b2a78315d7f07b8a1254ee4807638d | [
"JavaScript"
] | 4 | JavaScript | undefinedroot/x0-TCNDC3rdEd-playground | e9a6ae3cd487dce3b2a9c0199eec7605db48c6fc | b97209e4f7973317034a03b06f8901aca3bb536e |
HEAD | <repo_name>kosenconf/advent<file_sep>/Rakefile
task :default => :compile
desc "Compile Assets"
task :compile do
require "yaml"
require "json"
puts "Compile:"
puts " coffee > js"
system("coffee -c assets/advent.coffee")
puts " scss > css"
system("scss assets/advent.{scss,css}")
puts " yaml > ... | 921ab3d9609568eb38f9c8ad28a617ac53bcb944 | [
"JavaScript",
"Ruby",
"Markdown"
] | 3 | Ruby | kosenconf/advent | 1f1c370ddd4990d7ed08547bd34a883e08b3c406 | 1581dd8a0c88dd4dfd4c7efe49d123a5f052864a |
refs/heads/main | <repo_name>KristoffBlackman/SE-Homework<file_sep>/Scripts/main.js
alert("YUUUUUUR!!! Im so glad your taking a look at my website!");<file_sep>/README.md
# SE-Homework
HW assignments for <NAME>
| 50ec31a82c4cc27a496eee58433eb328689d36a1 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | KristoffBlackman/SE-Homework | 4c75484620329d5cab32d2b730d624d7aa599b31 | fa54f2633c547fa1a3a264574623f9aa083059e3 |
refs/heads/master | <file_sep># cod-of-Hafman<file_sep>#include "header.h"
sym *Haf[256];
int abc[256] = { 0 };
int arr_bit[8]; int num_bit;
int haf_cod[8] = { 0 };
int file_processing(FILE *in)
{
int count = 0;
unsigned char syms[1];
int read_el = 0, i = 0;
do
{
read_el = fread(syms, sizeof(char), 1, in);
if (abc[syms[0]] ==... | 558786b88e72aad6f1638e79114c7e599b2327a3 | [
"Markdown",
"C"
] | 5 | Markdown | jenya-zhuchok/cod-of-Hafman | a50f25ec4fee731a79c8b132a40ef56af035a63f | 0203ae3d1c2babf94e9e521bd96b77c3db9954c6 |
refs/heads/main | <repo_name>AndrewRook/polling_simulator<file_sep>/tests/test_sampling.py
import numpy as np
import pandas as pd
import pytest
from functools import partial
from polling_simulator import sampling
from polling_simulator import Variable, Demographic
from polling_simulator.distributions import truncated_gaussian_distribu... | f1a50d5fdd24051f1084b4d33611498993cc8c92 | [
"Markdown",
"Python"
] | 12 | Python | AndrewRook/polling_simulator | df390b26bb7f2f6fd019813de1ab188489a68d61 | 6c06b4ddd004950269de129782c0b680a9da947a |
refs/heads/main | <file_sep><div align="center">
<h1>Computational statistics with python</h1>
</div>
<div align="center">
<img src="images/python.png" width="220">
</div>
The content of this document is based on the course of the same name taught by [<NAME>](https://github.com/jdaroesti) on [Platzi](https://platzi.com/r/mic... | 40cd759b7eae86b37da2e3ee703bffd68f22f627 | [
"Markdown",
"Python"
] | 3 | Markdown | mich7095/computational-statistics-with-python | 6e6f3c647785ef91a74ee49db40a332bf29063a3 | 17f83d4993afbaec94d437a69b892f9368b071a4 |
refs/heads/master | <repo_name>Briaoeuidhtns/messenger-demo<file_sep>/server/routes/register.js
const asyncHandler = require('./asyncHandler')
const express = require('express')
const mongoose = require('mongoose')
const { User } = require('../schema/User')
const { hash } = require('bcrypt')
const sendUserInfo = require('../middleware/sen... | 65e901d2d38fa36aeeeae81c15aa92c3f1bf35b4 | [
"JavaScript"
] | 34 | JavaScript | Briaoeuidhtns/messenger-demo | 706b90b2a566b7f18d27ae72187f3495aa22760f | b6cf1b00985c5de8d2aaf9f83d55a2e32f367153 |
refs/heads/master | <repo_name>asktami/noteful-app<file_sep>/src/FolderList/FolderList.js
import React, { useContext } from 'react';
import PropTypes from 'prop-types';
import { NavLink } from 'react-router-dom';
import FolderError from './FolderError';
import NotefulContext from '../NotefulContext';
import { config } from '../config';
... | 0aac7d3c2753dff55b8b345cea3c27527cffc247 | [
"JavaScript",
"Markdown"
] | 12 | JavaScript | asktami/noteful-app | 76ea8c5a60289b7c68f3f9d4e21dfdd18ac017f6 | 7498afa68a2c2ece8349870312e622fa4d847abe |
refs/heads/master | <file_sep>package com.azoft.json2dart.view;
import com.intellij.uiDesigner.core.GridConstraints;
import com.intellij.uiDesigner.core.GridLayoutManager;
import com.intellij.uiDesigner.core.Spacer;
import org.fife.ui.rsyntaxtextarea.RSyntaxTextArea;
import org.fife.ui.rsyntaxtextarea.SyntaxConstants;
import org.fife.ui.... | e0ff0c508fef81e1d98992d4dcbca3df0c530df1 | [
"Markdown",
"Java",
"Kotlin"
] | 10 | Java | cuong292/json2dart-converter | ad412873499758b176fa1a1c2ccb062b1eea0755 | 577f24b7b395e1f3aa7fe20d52cf8023fd3c8e2b |
refs/heads/main | <repo_name>ahsai001/custom-speaker-murottal<file_sep>/src/main.cpp
// #include <sdkconfig.h>
// #define CONFIG_FREERTOS_IDLE_TIME_BEFORE_SLEEP 2 // must be > 1 to compile!!
// #define CONFIG_FREERTOS_USE_TICKLESS_IDLE 1
// #define CONFIG_PM_ENABLE 1
// #define CONFIG_PM_USE_RTC_TIMER_REF 1
#include <Arduino.h>
//#inc... | 5b3f2af90034c8df658a5e76c440f560b0493880 | [
"Markdown",
"C++"
] | 2 | C++ | ahsai001/custom-speaker-murottal | da0328012cb5dcb16dd21f5210d215bb20296341 | 86c30aa58433a229055b97037c329beacf6521c1 |
refs/heads/main | <repo_name>mtejaswi97/gitCommit<file_sep>/ChessProject/src/main/java/com/ncr/chess/ChessBoard.java
package com.ncr.chess;
public class ChessBoard {
public static int MAX_BOARD_WIDTH = 7;
public static int MAX_BOARD_HEIGHT = 7;
public static int MIN_INDEX = 0;
public static int MAX_INDEX = 6;
... | 090f97eae61db2c44c757ffb353cf2a1fe146508 | [
"Java"
] | 1 | Java | mtejaswi97/gitCommit | b813c559c02aeddd94c4e18d16e5daa6ab5f9673 | 23b54a0b35612fcb20cfdce4850195939454fc8f |
refs/heads/master | <repo_name>Iamdheeraj22/ConnectionTesting<file_sep>/app/src/main/java/com/example/connectiontesting/Connection.java
package com.example.connectiontesting;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.Network;
import android.net.NetworkInfo;
public class Connection {
p... | ddebfe50d5e7f5f78b47713294afa80a9f876385 | [
"Java"
] | 2 | Java | Iamdheeraj22/ConnectionTesting | d727e1953566c616333213e18e05f07420565bec | f2d91f58648a5d0098c4bd081be2881dbdf5a7f1 |
refs/heads/master | <file_sep>Peppered Password Hashing
=========================
Secure password hashing using HMAC before (BCrypt) Hash.
---
MIT Licence
Unless required by applicable law or agreed to in writing, software
distributed under the Licence is distributed on an "AS IS" basis,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, e... | c77e9024018d05e1ec141ff0640d00731ad92ca7 | [
"Markdown",
"PHP"
] | 2 | Markdown | Netsilik/PepperedPasswords | b7d0075bc1cbcae0e6298ffa6e6a5a38930fe810 | 558810332c1125f90059204ef82a053c421129bb |
refs/heads/master | <repo_name>GustavoHCruz/PipelineSimulator<file_sep>/Pipeline.py
dictionary = {"inst":0,"mem":20,"reg":11,"PC":0,"IR":"","clock":1,"hazard":0,"pause":0}
memory,registers,instructions = [],[],[]
pipeline,IBR = ["NIL","NIL","NIL","NIL"],["NIL","NIL","NIL"]
labels = {}
def initialize():
global memory, registers, instr... | 859e7b2bd2f9b6fe6b3f86b8a471f9179bc98a92 | [
"Markdown",
"Python"
] | 2 | Python | GustavoHCruz/PipelineSimulator | 927097990e436f3bc7171d22b40c51c2ae6bb593 | d11aa02ce7cb545a1ca795261b79a58f62a92c44 |
refs/heads/master | <repo_name>uralnoyanozcan/ElectronicShopProject<file_sep>/WebApplication1/Pages/ShoppingCart.aspx.cs
using Microsoft.AspNet.Identity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using WebApplication1.App_Code;
using WebAppli... | 02b18d432f3f1b581b109d9e61c1021c4f837244 | [
"C#",
"Text"
] | 10 | C# | uralnoyanozcan/ElectronicShopProject | 68363027192dc8e499291d3aa99138ecdf9a58d3 | 58a6157e77a85d1a773559b64489c18d943fb4f2 |
refs/heads/main | <repo_name>w-hosinski/Programming-Challenges<file_sep>/leetcode/Two Sum.js
const twoSum = (nums,target) => {
let deleteCounter = 0
while (nums.length>1){
for(i=1;i<nums.length;i++){
if(nums[0]+nums[i] == target) return [deleteCounter,i+deleteCounter]
}
deleteCounter++
... | 9db73192d96962454f8fa8684143cec7116b3b36 | [
"JavaScript"
] | 15 | JavaScript | w-hosinski/Programming-Challenges | 26994d802db2f7727e770b0daeb56aece3fad58c | e0bc3f0cf3973221d0c951aa2ec814e954b4fce3 |
refs/heads/master | <repo_name>jhonybasha/Prism_Xamarin_Sample<file_sep>/ISuitePro.ERP.Digital.CxUI/ISuitePro.ERP.Digital.CxUI/NavigationItem.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace ISuitePro.ERP.Digital.CxUI
{
public... | 53ffe4f9434be9fe99020628417768f5248cfe5a | [
"C#"
] | 7 | C# | jhonybasha/Prism_Xamarin_Sample | 2b0ac1aa820154f2609e12f79eb60d9c1a4cb9b0 | e0043f00ce0dfb4392af33af9947c188027db3df |
refs/heads/master | <file_sep>function temperatureConverter(){
var tempinput = document.getElementById("inputFahrenheit").value;
//alert(tempinput);
var inverse=document.getElementById("inverseSelect").checked;
calc(tempinput,inverse)
}
function calc(tempinput,inverse) {
if((inverse!=true&&inverse!=false)||tempinput==n... | 2a6907ee11b17777d1bf223e49ce851dfd9a9e85 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | RajeshMidde-source/A02Nadakudhiti | ec2f3eb204b8ca7852477eb712cae742ef02a091 | c3cbac3cfdee530fcb7d268be2d950a15f314410 |
refs/heads/master | <repo_name>Elaine-AL/German-population<file_sep>/germpop.R
library(ggplot2)
gerpop = read.csv("C:/Users/Elaine/Documents/german population/Results.csv", header = TRUE, nrow = 19)
View(gerpop)
names(gerpop)
gerpop = subset(gerpop, select = c(period, data))
gerpop$period = gsub("YEAR", "", as.character(gerpop$period))
ge... | 9db4523d6c047c47dda93f923a86e0c4ccfac129 | [
"Markdown",
"R",
"RMarkdown"
] | 3 | R | Elaine-AL/German-population | 32373dcec6ad8d3659e900417309830283c95e74 | 779c5b6ec89a864b7cb31438e5ef3dcecc1a9a61 |
refs/heads/master | <repo_name>prathamesh07/Bank_sms_analysis_1.1<file_sep>/function_definitions/keyphrases.py
import os
# this script basically reads from various text files and
# adds the data to variables in the form of list or dict
# so that checkers can use it later to compare
#
Declined_keyphrases_list = []
fp = open("data_fil... | 38fcb741dae1d0f5805dd5493106ee11c282af7a | [
"Python"
] | 22 | Python | prathamesh07/Bank_sms_analysis_1.1 | 1f1328bc8e54d27a0ce08acf3bd4b57699442fae | 8ace8136f7502689615515b7c3fccbc298802a1b |
refs/heads/master | <repo_name>barskykd/netronix_test_task<file_sep>/src/sensor-data.ts
/**
* Sensor measurements for single moment in time
*/
type Datum<T> = {
/**
* timestamp
*/
t: number,
/**
* measurement values
*/
v: T[],
// aggregates for number data
/**
* sum of... | f89e3c4763dde19505f7dec412b4708b3b0bd760 | [
"Markdown",
"TypeScript"
] | 5 | TypeScript | barskykd/netronix_test_task | 666a9d7a8daa72a1baf3ed3e29902f21e6030f5b | efed277e2141c4fb14d570ffe4e46b0d51392be2 |
refs/heads/master | <file_sep>namespace BizzareBazaar
{
abstract class ItemDecorator : IItem
{
private readonly IItem _originalItem;
protected ItemDecorator(IItem item)
{
_originalItem = item;
}
public virtual double GetPrice()
{
return _originalItem.GetPrice();
}
public virtual string GetDescription()
{
r... | 224209cccbc27f33a12a7b5bbb3c6985bddc6f54 | [
"C#"
] | 27 | C# | kottelett/BizzareBazaar | c8402cae298c963022f59c8eafc1fa502b2952c8 | ce93184214076e4900746a9141e9279752996136 |
refs/heads/master | <repo_name>off-by-0point5/paper-snowball<file_sep>/src/main/java/com/github/offby0point5/mc/plugin/paper/snowball/SnowballEvents.java
package com.github.offby0point5.mc.plugin.paper.snowball;
import com.destroystokyo.paper.event.server.ServerTickStartEvent;
import net.kyori.adventure.text.Component;
import net.kyori.a... | dbb9594fa85ded61539f2bd8caed804692a6effe | [
"Java"
] | 1 | Java | off-by-0point5/paper-snowball | 2aa25a9c72418506b91c0e0aa33906ef2bd5c817 | 803cc762863a76988b9f56946fab7737aaadf1e9 |
refs/heads/master | <repo_name>Scrum-Snaccs/Scrum-Snaccs-A1<file_sep>/first.js
module.exports = function() {
return "Hello Scrum Snaccs"
}<file_sep>/test/firstTest.js
const expect = require('chai').expect;
const nock = require('nock');
const BlogPost = require('../models/blogPost');
const request = require("request");
// import * as a... | fb3f80f58bd3286d7bb29575c4b2d3567cbe1647 | [
"JavaScript",
"Markdown"
] | 9 | JavaScript | Scrum-Snaccs/Scrum-Snaccs-A1 | ac795210547460f81b92180ef71e7f8efcc355d3 | f684b02ab7644f0c115d7cd125b506398e87448c |
refs/heads/master | <file_sep># JSLab1-Part2
<file_sep>var player1 = 40; //declaring a variable for player start points
var grantChirpus = 10; // declaring a variable for Grant Chirpus start points
startGame(); //calls starGame function
function startGame() {
var greeting = prompt("Hello, Would You Like To Play a Game? Please Ent... | 87a621b25313780c249059c1855271159a38f7e8 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | ChristopherNamyst/JSLab1-Part2 | 9c90b335cdab250c078c0ddadc5f1d2914e8076f | 0e2fb659681b76d2e5d963443b54e1dac15be279 |
refs/heads/master | <repo_name>jbrandao99/LTW<file_sep>/Projeto/templates/tpl_search.php
<?php function draw_search()
{
/**
* Draws the search section.
*/ ?>
<title>Search Properties</title>
<section class="search">
<header><h2>Search a Place</h2></header>
<form method="post" action="../pages/rental.php">
... | 9a406c2d73ab9b2a4fa513ec8d4daf6ebd054c97 | [
"JavaScript",
"SQL",
"Text",
"PHP"
] | 27 | PHP | jbrandao99/LTW | 9c177d4e0cc2b8f674d2db5d022e721150019990 | 3fb2e35dc98912af29550856aa9be1033cb48bfe |
refs/heads/master | <file_sep># Zadania_okresowe
Do Raspberry Pi został podłączony cyfrowy czujnik temperatury oraz wilgotności (DHT11). Temperatura jest odczytywana za pomocą gotowego programu udostępnionego przez producenta czujnika. W uzyskanym programie należało tylko odpowiednio zainicjalizować zmienne. Użyty czujnik jest dosyć woln... | 02afd61758ad2b8b71e4970c8fab3106e1592dfc | [
"Markdown",
"Python"
] | 2 | Markdown | przemek207/Zadania_okresowe | 9fa1c16cba1c8188faf9d4057666494d4f567554 | 7f2d72a9a1dc6e4228b158de6df34c74c481aa04 |
refs/heads/master | <file_sep>import os
from itertools import combinations_with_replacement, product
import threading
import numpy as np
from scipy.spatial import distance
from scipy.stats import entropy
from scipy.stats import pearsonr
from sklearn.model_selection import KFold
from FeatureExtractionMode.utils.utils_write import FormatW... | 15a682f12ae186ded5d1331706c7894386535c86 | [
"Python"
] | 80 | Python | mmdzb/BioSeq-BLM | f634016f8b7569ba24dbd46943a91f53da991abd | a4a73f0b4036a03ddc02d6a47e31d4b72d8c8954 |
refs/heads/master | <file_sep>const state = {
cart: [],
};
const getters = {
getCart(state) {
return state.cart;
},
};
const actions = {};
const mutations = {
setCart(state, cart) {
state.cart = cart;
},
};
export default { state, getters, actions, mutations };
<file_sep>import Vue from "vue";
import App from "./App.... | 80a0231c09807a6fca8679b101aa0e60abb84b7f | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | KengoWada/uid_prototype | 78c98c9ec2c4616b732d74ca3bd16df7d459c05f | 0b6db60de0012bc8786aaf700dd46f66cecb2c73 |
refs/heads/master | <repo_name>choijiseok2/c2cgeoportal<file_sep>/doc/developer/build_release.rst
.. _developer_build_release:
Create a new release
====================
Vocabulary
----------
On this page I use the word ``version`` for a major version of MapFish
Geoportal (2.0), and the word ``release`` for each step in this version
(2.... | d8d00a2c396e6f198fb25421b9c622499628e59e | [
"JavaScript",
"Text",
"reStructuredText"
] | 3 | reStructuredText | choijiseok2/c2cgeoportal | ad7c7dfb64a1d1d614dd3d5a21670aa38d28c531 | ef9bdf930c780287696a8bee76e09856399bb707 |
refs/heads/master | <file_sep># atrico.kotlib.core
Core utilities for the suite of kotlin libraries
<file_sep>package atrico.kotlib
/**
* Builder type for immutable object
*/
interface Builder<T> {
/**
* Build the object
*/
fun build(): T
} | 64b4eaca4cb86f6ad5cf27de518dfad70252531d | [
"Markdown",
"Kotlin"
] | 2 | Markdown | AtricoSoftware/atrico.kotlib.core | 21a3c4dff6905d46b93116d909a59a46586ec60b | 0ae9979efd809595619fd1c8d04184dd97fe72ed |
refs/heads/master | <file_sep>import uuid
from django.contrib.auth.models import AbstractBaseUser
from django.contrib.auth.models import PermissionsMixin, BaseUserManager
from django.core import validators
from django.core.mail import send_mail
from django.db import models, OperationalError
from django.utils import timezone
from django.u... | c28c46390894385c43738947cba4405c25a01470 | [
"JavaScript",
"Python",
"Text"
] | 5 | Python | melon-ruet/yt2gpm | 9fea4739c66f686c7f6a5a0fad2b75e92cfb4a9f | 6c20f4423502c470aea9580fbaf9f741f81c6bfe |
refs/heads/master | <repo_name>aaronclimbs/commandmazon<file_sep>/customer.js
const inquirer = require("inquirer");
const mysql = require("mysql");
const cTable = require("console.table");
const db = mysql.createConnection({
host: "localhost",
port: 3306,
user: "root",
password: "<PASSWORD>",
database: "commandmazonDB"
});
... | 51008170bc2cdc2b66956ed9d1ee09f1b965058c | [
"JavaScript",
"Markdown"
] | 6 | JavaScript | aaronclimbs/commandmazon | a4be0a7578ec6ba5a4923a437ded4a3010c39035 | 0855d867d1f92d1f2253ab0c29ad0d2c2c596256 |
refs/heads/master | <repo_name>ameykpatil/football-engine<file_sep>/README.md
# Football-Engine
Application to serve the details of footballers and teams.
## Problem Statement
Given API endpoint:
`https://vintagemonster.onefootball.com/api/teams/en/%team_id%.json`
(`%team_id%` must be replaced with an unsigned integer).
Using th... | ebc729f75cb88311eda7cfd797546b092cd863b8 | [
"Markdown",
"Go"
] | 8 | Markdown | ameykpatil/football-engine | 6d3b18fded70ef0189e2fe4f743e6cb52f9ebb01 | 36250998a9a21bd6e9f036172438656ffd441c82 |
refs/heads/master | <repo_name>sejoon00/instagram_profile_page<file_sep>/code.js
const plusFreiend = document.querySelector('.plus_friend');
const recommend = document.querySelector('.recommend');
const blueBtn = document.querySelector('.blue_btn');
const followBtn = document.querySelector('.follow');
const plusTriangle = document.querySe... | 9e04b9a593204aafb51b2d1a8333e5a3fff8d56c | [
"JavaScript"
] | 1 | JavaScript | sejoon00/instagram_profile_page | 6dd3d46b8eaac096700258d947629aa155fca3b8 | b124407dffbf309a9dba47101714465cfdfaa512 |
refs/heads/master | <file_sep>//DATA BASE
var placeholders_categories = [
"Nahkampf",
"Fernkampf",
"Sinnlos",
"Sinnvoll",
"Gut",
"Schlecht"
];
var init_texts = [
"Selbst ein Aufruf des Königs konnte meinen Vater nicht davon abhalten meiner Mutter am Tag meiner Geburt die Hand zu halten. Zumindest dachte er das. Als jed... | 6e62393330432097b71618a2f535f878d2107f14 | [
"JavaScript"
] | 1 | JavaScript | Nephilie/StoryCharacterGenerator | 2553534af1b67bf60228145f46a7298ba63548b8 | 17780915460112953eab1709ddc9d47875abdfeb |
refs/heads/master | <file_sep>#/bin/bash
set -e
export BIDS_dir=/mnt/Storage/bene/EXTERN/UHHWORK/data/SFB_BIDS ###### CHECK BIDS_dir
export BASE_dir=$BIDS_dir/derivatives/FS_base
export LOG_dir=$BIDS_dir/log
export QA_dir=$LOG_dir/qa
i=0
#for sub in $(cat $BIDS_dir/participants.tsv); do
for sub in $(cat $BIDS_dir/all_participants_singl... | e08b352293798af21d8a0ec7cc553c1de8f21bf6 | [
"Shell"
] | 8 | Shell | bmfrey/sfb_motor_analysis | afd8209ee41e757c6965c463f6d3715127dc7592 | 30cacb80aec88e29eb3f8f9c641cefc5afd8d192 |
refs/heads/master | <repo_name>MMRBD/Blog<file_sep>/README.md
# Personal Blog
This the learning and practice project of Django.
<file_sep>/phone_book/models.py
from django.db import models
class PhoneBook(models.Model):
name = models.CharField(max_length=200)
email = models.CharField(max_length=200)
mobile = models.CharField... | 284999de3e9833f82db1f77ab71e1271b912509a | [
"Markdown",
"Python",
"HTML"
] | 7 | Markdown | MMRBD/Blog | 50342e0c017079471d00a17fe3df940476a0e8a0 | fea0737c8061edf8212bc90c6a421db01126bb0e |
refs/heads/master | <repo_name>ajourquin/module-custom-product-sorting<file_sep>/Plugin/Elasticsearch/Model/ResourceModel/Fulltext/Collection/SearchCriteriaResolver.php
<?php
/**
* @author <NAME> <<EMAIL>>
* @link http://www.ajourquin.com
*/
declare(strict_types=1);
namespace Ajourquin\CustomProductSorting\Plugin\Elasticsearch\Model... | 28824d8a346ce44525dd4c40f1a558b028464bbb | [
"Markdown",
"PHP"
] | 7 | PHP | ajourquin/module-custom-product-sorting | 28f63a0fa80ffcd2c01b2fc6eab8dbb4dda29f23 | ba2e94d6d393ebfb6e786a8fd645b6dac2a9c18f |
refs/heads/master | <repo_name>timmy78/yii-email<file_sep>/email/views/email/email.php
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title><?php echo CHtml::encode($model->subject) ?></title>
<style media="all" type="text/css">
</style>
</head>
<body>
<table cellspacing="0" ... | b2e0c7e5d2b1ccaa506d4cdc07d6d5b332e8957e | [
"Markdown",
"PHP"
] | 7 | PHP | timmy78/yii-email | 0c31011a1cea05a6a4964ac0025dffc263f2e533 | c82489136072bfd9e197ebd5c8117c7c3a4fb7bc |
refs/heads/master | <repo_name>AdrianE92/NASA_APOD<file_sep>/src/components/NasaApod.js
import '../App.css';
import React, {useState, useEffect } from 'react';
import Media from "./Media.js";
import Thumbnail from "./Thumbnail.js";
import key from "../nasa_key.js";
export default function NasaApod(){
const KEY = key;
const [media... | fada004b64e54e7d3b2b3d0d3b44d791635c87dd | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | AdrianE92/NASA_APOD | 6aa379f4d8df26e85711371d460608c817e0d574 | 0c0fc54eec974c129cd0e8e8e16b3ad37e2347de |
refs/heads/main | <file_sep>#!/bin/bash
rm covers/*
sudo -u pi pianobar &
sudo python piandora.py
<file_sep>#!/bin/bash
#
#Piandora installation
clear
echo "To continue, make sure you have a Pandora account"
echo "You will need your name and password "
echo "====================="
echo ""
echo "Press Ctrl-C to exit"
read -p "Press [Ent... | e8ef60c1afdd243f18f9b8149ae2200bfa82d34e | [
"Markdown",
"Python",
"Shell"
] | 5 | Shell | granpino/Piandora | 0ff334ab75d7080375a660d05733bcabc67342d7 | 6bce583a177076e481a844d42a2c100fdbd3aefe |
refs/heads/master | <file_sep>[](https://travis-ci.org/rnitame/daily)
# daily
Get daily events from GitHub
## Usage
```
# Show all events
$ daily
# Show organization events only
$ daily -org <org_name>
```
## Set GitHub personal token
```
$ git config --global "gi... | d0a52474c651b95a726b304ab5a7b99792557c55 | [
"Markdown",
"Makefile",
"Go"
] | 5 | Markdown | rnitame/daily | 63784c14ccff443394652732979bb2685c58311c | 25576f4a08442b699fdb0946b301313e977e1766 |
refs/heads/master | <file_sep>// import UserModel from "../models/user";
export default {
/**
* 登录
* @param {*} ctx
*/
async login(ctx) {
ctx.body = {
code: 200,
msg: "登录成功",
data: ctx.request.body
};
}
};
<file_sep>import Koa from "koa";
import path from "path";
// import jwt fro... | a688aa052b6027ae6500ce790b5cbf05ddfba344 | [
"JavaScript",
"Markdown",
"Shell"
] | 8 | JavaScript | qiaoyao/picturePreview | 34062445dd8522916ef5a439106d7dd0bc29dd18 | a2d347ea4c2463d1deeb5b13f36cc4d1907eebde |
refs/heads/master | <repo_name>Roomka/codewars<file_sep>/src/main/test/com/com/roman/procopenco/codewars/GreedIsGoodTest.java
package com.roman.procopenco.codewars;
import static org.junit.Assert.assertEquals;
import junit.framework.TestCase;
import org.junit.Test;
public class GreedIsGoodTest {
@Test
public void testExample() {
... | 0e41531fbe0a067588357f82eeba3180ae4f40eb | [
"Markdown",
"Java",
"Maven POM"
] | 17 | Java | Roomka/codewars | 3bcfca2171673b6d885df2f3aaaac328d9316744 | 28cd0b1470cc49073518c5402987db356c9e95cf |
refs/heads/master | <repo_name>thirtythirty/ThirtyPlayList_iOS<file_sep>/ThirtyPlayList/GenreData.swift
//
// GenreData.swift
// ThirtyPlayList
//
// Created by 坂田 和也 on 2016/09/20.
// Copyright © 2016年 SKT. All rights reserved.
//
import RealmSwift
import MediaPlayer
// 端末内の曲の情報をアーティスト単位で格納するテーブル
class GenreData: Object {
stat... | 56415c08bb7c702605926c6851480ec424cf3317 | [
"Swift",
"Ruby"
] | 19 | Swift | thirtythirty/ThirtyPlayList_iOS | bd83ea9971af7615662d3ddb2f558a43c82b943b | a4bfc5f5b81807f52cb0003216b087ce2f734e03 |
refs/heads/master | <repo_name>superzyx/shellscripts<file_sep>/beforeit.sh
systemctl stop firewalld && systemctl disable firewalld
setenforce 0
yum -y install vim
<file_sep>/README.md
# shellscripts
shell
<file_sep>/initialSever.sh
#!/usr/bin/env bash
#
#author: superzyx
#date: 2019/07/30
#usage: initial server
systemctl stop firewalld ... | f8b516eea8cabc216044084ec0f416ac9d5cd07c | [
"Markdown",
"Shell"
] | 3 | Shell | superzyx/shellscripts | d027759dc3e2df99ca1abc71bdce88563d76d9fe | 113c248a97d7867ed88a3f14b5c2d126503761b9 |
refs/heads/master | <repo_name>OliverKohlDSc/JavaCourse<file_sep>/Uebung7_Clock/src/gmbh/conteco/ClockPane.java
package gmbh.conteco;
import java.util.Calendar;
import java.util.GregorianCalendar;
import javafx.scene.layout.Pane;
import javafx.scene.paint.Color;
import javafx.scene.shape.Circle;
import javafx.scene.shape.Line;
import jav... | 12b32a7185fead4ade89ab162894c3c78cb5c2c7 | [
"JavaScript",
"Java"
] | 63 | Java | OliverKohlDSc/JavaCourse | a3b8fef206212f331989c42e87ac8aad9028a220 | 24cfaab6dcc86b0c738fc6b25c44bbfdd4594a8c |
refs/heads/master | <file_sep># Nuntius
An online platform aims at solving current issue in education system, enhancing collaboration among teacher-parent-student.
## Getting Started
The product of this project is a webapp. Go to [NUNTIUS](https://nuntius-6e5fd.firebaseapp.com). You can register using your email or your google account.... | 1576b3451177d9df9c90c0f8d6c1172a44f257ea | [
"Markdown",
"JavaScript",
"HTML"
] | 4 | Markdown | humble92/Nuntius | 4281aab67694573c3d847d8bd05b0dc0c305b179 | e0a353ea08d01eebf84e60ae5f1f49f18abda2f1 |
refs/heads/master | <file_sep>export const tableSchema ={
columns:[//-------------定义每一列如何显示
{
title: '用户名', dataItemKey: 'username', width: 100,
render:'showUserNameColumnFnName',//用户可能需要显示高亮一点
},
{ title: '专业', dataItemKey: 'dept', width: 100 },
{ title: '主页', dataItemKey: 'homepa... | 326d16e60c843b1d1329501a11560d1b8cf9b851 | [
"TypeScript"
] | 1 | TypeScript | yichengjie/page-cfg | dcfa340b1fdf1435e8f0cf5b8576fcb68ba5cff4 | d97884fcffa5cb7037709efc671834b682012365 |
refs/heads/master | <file_sep>// drivable interface is created
interface drivable
{
start():void
drive():void
getPosition(position:string):void
}
// car class implement the interface drivable and include all the property
class car implements drivable
{
constructor(public name:string){}
start():void
{
... | 825f67e2dd5b5f2973f610c5f43ee16e26b72911 | [
"Markdown",
"TypeScript"
] | 2 | TypeScript | abiramibharanidharan/angularassignment3.2 | f89a64a17ad02387154c40e6a81f57a2aa81f79f | 6e8a366c0cc71e8d5ea5a93898b80c79444db12d |
refs/heads/master | <repo_name>Godfrey18/Message-me<file_sep>/app/models/user.rb
class User < ApplicationRecord
has_many :messages
validates :username,presence:true, length: {minimum:7,maximum:15}
has_secure_password
end<file_sep>/app/controllers/chatrooms_controller.rb
class ChatroomsController < ApplicationController
def i... | 729c1557fdcfda77ee7a49fa504667e6eb95de06 | [
"Ruby"
] | 2 | Ruby | Godfrey18/Message-me | 22541f02d9172776dc7cfd16fbfbf2e1333de143 | 4146dedf2b43a30e6e995cc99192f2d04dc53272 |
refs/heads/master | <repo_name>jrgalia/ExData_Plotting1<file_sep>/plot3.R
#reads a file in table format
data <- read.table("./household_power_consumption.txt", header=TRUE, sep=";", na.strings = "?", dec=".")
#subsetting Feb 1-2, 2007
subset <- data[data$Date %in% c("1/2/2007","2/2/2007") ,]
#plotting to png: 480x480
datetime <- strptim... | 0f855a08d5492261ca29bfc76941105e9090e1dc | [
"R"
] | 2 | R | jrgalia/ExData_Plotting1 | e7509069fa7601b414ce1a2891822118ba568b75 | d1e86a954bcf4df92fbc8cc7fe2c4578d1ca63ac |
refs/heads/main | <repo_name>es2013/photo-port<file_sep>/src/components/Gallery/index.js
import React from 'react';
import { capitalizeFirstLetter } from '../../utils/helpers';
import PhotoList from '../PhotoList';
// import photo from "../../assets/small/commercial/0.jpg";
function Gallery(props) {
const { currentCategory } = props... | fd340456b3ced0b6474a307c1e5223e02c9b055f | [
"JavaScript"
] | 1 | JavaScript | es2013/photo-port | dc183d09fe0eebe62c745f06ba62b69d09be6505 | b2bff778b4180e39bb96e3595e229fb6654537f8 |
refs/heads/dev | <file_sep><?php
namespace Modules\Payment\Contracts;
use App\Contracts\ValidateTransactionExists;
use Modules\Payment\Exceptions\ObjectVerificationFailedException;
use Psr\Http\Message\ResponseInterface;
interface Refund
{
/**
* Check if the transaction in question is a valid transaction or not before vo... | c452728255cced2fd9f39bb4ec7e4324c01e685c | [
"PHP"
] | 24 | PHP | intelij/sdfsdfsdflskjdflksjdflksjdflksjdfl | 860c2bf3d90e60288c3a020a591ca9e902cfe3aa | 42e7eec59119802d5af3fa48c3a3eb0075920f9c |
refs/heads/master | <repo_name>SURAJ2600/DreamTrip<file_sep>/app/src/main/java/learncode/example/com/dreamtrip/NetworkDirectory/APISERVICE.kt
package learncode.example.com.dreamtrip
import com.google.gson.JsonElement
import com.google.gson.JsonObject
import okhttp3.MultipartBody
import okhttp3.RequestBody
import retrofit2.Call
import ret... | 5657dd31819498d213a460e8b63e9c60f4bb1b69 | [
"Kotlin"
] | 13 | Kotlin | SURAJ2600/DreamTrip | d118f94d27f299f5f1b4615757d36ab4749ea703 | 939d38d5c6ad4fc4b14ab42e55f0f9ae76eb5c60 |
refs/heads/master | <file_sep>package siafile
import (
"encoding/binary"
"os"
"github.com/HyperspaceApp/Hyperspace/crypto"
"github.com/HyperspaceApp/Hyperspace/modules"
)
type (
// FileData is a helper struct that contains all the relevant information
// of a file. It simplifies passing the necessary data between modules and
// ... | 8d6f10b605797efe5f8d07376dd150b18058cb10 | [
"Markdown",
"Go"
] | 5 | Go | e-corp-sam-sepiol/Hyperspace | 0ca31bff8dcbc1c0c3f45600e7aa7dbe7927b50c | 7738fcdd4aa879d8eb833a1ac87c53a0c30ce610 |
refs/heads/master | <file_sep>#include <stdio.h>
void pyramid(void);
int size(void);
void build_pyramid(int Order_of_Pyramid);
int main(void)
{
int order = size();
build_pyramid(order);
return 0;
}
/////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////... | 11799e41d24be40ab41164ac6f24485130e6224d | [
"C"
] | 1 | C | cristianoraussemoraes/Double_Pyramids | bf9f4c90cdcbb97bda1e0f570ceb9c718485cc5a | 844f987d183d3aca3ae0946e9b404d351302a91c |
refs/heads/master | <file_sep># Video Manager
This is a client app I built for my home video server in 2005. It was built so a three year old could easily navigate and watch videos. All home media server software at the time were build for 30 year old geeks and had horrible UIs.

<file_sep>using System;
u... | 6356c1ae798add92154faa1749829a53a7373e91 | [
"Markdown",
"C#"
] | 12 | Markdown | jeffcore/video-manager | 107b58ce40abb6cf46bf83233d6fa1fd7555c368 | 995b06026368145368f9ff67da37c1b647f5b451 |
refs/heads/master | <file_sep>package com.maihaoche.lint.core;
import com.android.tools.lint.client.api.IssueRegistry;
import com.android.tools.lint.detector.api.Issue;
import com.maihaoche.lint.core.detectors.CaseLiteralIllegalDetector;
import com.maihaoche.lint.core.detectors.LogUtilDetector;
import com.maihaoche.lint.core.detectors.Na... | 73cb8d5b4ef2bd67f832fcc5a78ca53d3d11d191 | [
"Markdown",
"Java",
"Gradle"
] | 7 | Java | zyxcoder/LintDemo | 9bf6fba74328f6eed9cf2c4b218ded36a4dd69d7 | 40847fcae2bed68151d5e478bc3b95f538be1b77 |
refs/heads/master | <repo_name>ibexmonj/shop<file_sep>/unicorn.rb
01 # See http://unicorn.bogomips.org/Unicorn/Configurator.html for complete
02 # documentation.
03 worker_processes 4
04 # Help ensure your application will always spawn in the symlinked
05 # "current" directory that Capistrano sets up.
06 working_directory "/home/ibex/shop... | b55fcae1aeaf3cab1ab4f88a04f893c532f87dd9 | [
"Ruby"
] | 1 | Ruby | ibexmonj/shop | 4ee2d3638598b372789b5a6abfb02db52745d4cc | 19165094e59710a54e93d3fdee6dcb018dbd98a0 |
refs/heads/master | <repo_name>ryulullalaa/my_projects<file_sep>/moodplace/app.py
from urllib.request import urlopen
from urllib.parse import quote_plus
from bs4 import BeautifulSoup
from selenium import webdriver
import time
baseUrl = 'https://www.instagram.com/explore/tags/'
plusUrl = input('검색할 태그를 입력하세요: ')
url = baseUrl + quote_plus... | 2deb67a8b9930c817591d6ed04d4c27314f30f8e | [
"Python"
] | 1 | Python | ryulullalaa/my_projects | af9cfc640fe81944dc10b76790810ed05c55ec7b | c9e70d21d81403ed99ca0a084488a690a59903b8 |
refs/heads/master | <repo_name>eliranmal/proxify<file_sep>/README.md
# proxify
> callbacks to `async`s, all over the place
[![NPM][1]][2]
## overview
`async`ify all functions on an object with node-style functions.
## usage
```js
const obj = {
foo: (bar, done) => done(null, 'wat'),
};
const asyncObj = proxify(obj);
const resul... | f39b33dcae0ec5c947adea11599c191def781cbc | [
"Markdown",
"JavaScript"
] | 3 | Markdown | eliranmal/proxify | c1ee29f01d2f1666b9815cebdd40dd2ad0c158bc | 84465342c587ed33891c36dde8fca5d48574e5c0 |
refs/heads/main | <file_sep>package com.neo.behavor.iterator;
/**
* @Author : neo
* @Date 2021/3/28 16:16
* @Description : 抽象迭代器角色,定义访问和遍历聚合元素的接口,通常包含hasNext()、next()方法。
*/
public interface StudentIterator {
boolean hasNext();
Student next();
}
<file_sep>package com.neo.behavor.mediator;
/**
* @Author : neo
* @Date 2021... | 9002c0f18bb01b7a895651b6011ce67c5856ac20 | [
"Markdown",
"Java",
"INI"
] | 88 | Java | liangbingtao/JavaLife | 3f507c31b3c198e9498e777a7d6c76a2b86b5f78 | dbfc1efba1173761c28389fd36d1a6d543206bbc |
refs/heads/master | <file_sep>using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.SceneManagement;
public class ClickButtonSouth : MonoBehaviour {
public GameObject definedButton;
public UnityEvent OnClick = new UnityEvent();
// Use this for initiali... | 0d5a9efcaeefdb9ecd06c7a5145f7a6b1493741f | [
"C#"
] | 8 | C# | chicca1210/ProgettoTesiMagistrale | 1f08dc05e2a91728f7000077c170e85522dfc152 | 707e92b7b7a79b05a23da5a8e8b7d08f81612cb9 |
refs/heads/master | <repo_name>vsmorais/midterm<file_sep>/js/main.js
(() => {
// this is a self-invoking
console.log ('fired'); // python
})(); | cab71d4d379236bfae3eae7fa97bf514ff2e2b96 | [
"JavaScript"
] | 1 | JavaScript | vsmorais/midterm | ade7882b370f32f6782d03a89ed7fab068532b8b | abe22a44aa50526f59460e3d8203414ddf2539de |
refs/heads/master | <file_sep>/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package data;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList... | d504aac064c4ad31f6b368c8d701079de8a7d05b | [
"Java"
] | 1 | Java | JonatanHjelm95/cupcakeRecipes | 3703a64858d44cf95ac39675f4e36827117e9018 | 6fa0afe281dd4153ab554e6ae1aa6c6b13613437 |
refs/heads/main | <file_sep>export = gTTsClass;
declare class gTTsClass {
constructor(text: string, lang?: string, debug?: boolean);
GOOGLE_TTS_URL: string;
MAX_CHARS: number;
LANGUAGES: {
af: string;
sq: string;
ar: string;
hy: string;
ca: string;
zh: string;
"zh-cn": string;
"zh-tw": string;
... | aae3cec27fa391ff88413930a92c91c911f56e30 | [
"TypeScript"
] | 5 | TypeScript | code-ga/gTTs.ts | 3b31c71e0471abd4ef58bf29b609cf44c228e814 | f01976c4e0299200143b256af35e2b5dd357a490 |
refs/heads/master | <repo_name>marcoagpegoraro/estrutura-de-dados-em-c-univesp<file_sep>/aula2/aula23.c
#include <stdio.h>
#include <stdlib.h>
#define alturaMaxima 255
typedef int CHAVE;
typedef struct {
int peso;
int altura;
} PesoAltura;
int main(){
PesoAltura* pessoa1 = (PesoAltura*) malloc(sizeof(PesoAltura));
pess... | b2adeb46e09887d411bacf7400fda6f63783c0e9 | [
"C"
] | 3 | C | marcoagpegoraro/estrutura-de-dados-em-c-univesp | 8c1ff5d0c3a16e5653e965d19d6143d4cfcbb61c | a37c6b98ecfef66acfc90d368bda284fbcda9ca1 |
refs/heads/master | <file_sep>INSERT INTO burgers (Burger_Name) VALUES ('Bacon Cheeseburger');
INSERT INTO burgers (Burger_Name) VALUES ('Mushroom Swiss');
INSERT INTO burgers (Burger_Name) VALUES ('Double Cheeseburger');
INSERT INTO burgers (Burger_Name) VALUES ('BBQ Mac-N-Cheese');
INSERT INTO burgers (Burger_Name) VALUES ('Bacon Avocad... | e75d8ff47fa58c8576dca5a1dee3a8d38c8b8e2e | [
"JavaScript",
"SQL"
] | 4 | SQL | jkeopangna/BurgerLogger | 762d70675af8425f8a7e3a2fea048941badc04fc | 6060b380d1cc08d0f8022e7cc15c91bd1113ea75 |
refs/heads/master | <file_sep>def writeLine(outString):
print(outString)
def readLine():
return input()
<file_sep>from IO import *
from Verif import *
stop = False
while not stop:
date = ""
# read line
currLine = readLine()
if currLine == "stop":
stop = True
else:
date = dDate(currLine)
... | c520767f6b2b9fb17a1dfae55808cd03424dd163 | [
"Python"
] | 3 | Python | sacredcoding/HomeworkBot | a93cc944ff7be5bc2d30235385f2331d7d551a15 | 2f7069f217ffebb51eccd428ce5e26a6c2917726 |
refs/heads/master | <repo_name>ozPop/SQL-bear-organizer-lab-wdf-000<file_sep>/lib/insert.sql
INSERT INTO bears (name, age, gender, color, temperament, alive) VALUES ('Mr. Chocolate', 2, 'M', 'Brown', 'Angry', 1);
INSERT INTO bears (name, age, gender, color, temperament, alive) VALUES ('Rowdy', 5, 'M', 'Black', 'Cool', 0);
INSERT INTO be... | a12e62ea419f7bd1d1d46e45c7d2c167bf27de39 | [
"SQL"
] | 1 | SQL | ozPop/SQL-bear-organizer-lab-wdf-000 | adf51a1ca53b15485766f3adf0e490ee76122f8d | 4407ded7ea4668a60fb94a0fc6da6657f7cdf21c |
refs/heads/master | <repo_name>BusraKeskin/cathexis<file_sep>/main.cpp
#include<iostream>
#include<fstream>
#include<math.h>
#define N 10
using namespace std;
struct Kisi{
string ad;
string soyad;
string kullanici_adi;
string e_posta;
int dogum_yili;
};
struct Tarih{
int yil;
int kacinci_gun;
int kacinci_ay;
int saat;
int d... | 30143b9d5dc7e03085318c27714b001f991ebb15 | [
"Markdown",
"C++"
] | 2 | C++ | BusraKeskin/cathexis | 5251d4103dd74236bf0ad9931ca190e439e948ad | 8f1c2bc2af79db416c1c3e92a81c06f8c1288565 |
refs/heads/main | <file_sep>import math
import statistics
from collections import defaultdict
from sklearn.metrics import mean_absolute_error
from tabulate import tabulate
from sklearn.model_selection import KFold
def read_dataset(path):
ds = []
with open(path, "r") as file:
for line in file:
parts = line.... | 7eeb855f809360bcb0b2b388b30ad5577cfadeb4 | [
"Markdown",
"Python"
] | 2 | Python | rumeysaturkan/CollaborativeFiltering | 796fc5d770ee671bb63ab2ca80c48503e46d2b3a | 9bdd0082a3cc9313e7f8868f8aff1dd86906d3d6 |
refs/heads/master | <repo_name>sinzen/Prototype<file_sep>/src/Document.java
/**
* Created by yassirhessane on 5/08/16.
*/
public abstract class Document {
protected String contenu;
public Document duplique()
{
Document resultat = null;
try {
resultat.clone();
}catch (CloneNotSupportedEx... | decd3dd5560d2f223bd67bad4c4bf01c30378cee | [
"Java"
] | 1 | Java | sinzen/Prototype | 489733b171b53a9ee1a76acfda42eb7aa015fb2f | 9f1cfb464d3a50ab5cbfb79ba47bc708e2a80836 |
refs/heads/main | <repo_name>tiagoporto/reference-repository<file_sep>/README.md
# Reference Repository 
<p align="right">
LIKED ? <a href="https://github.com/tiagoporto/reference-repository/stargazers">⭐</a> : <a href="https://github.com/tiagoporto/reference-repos... | 7a2c1303bb67a5c08291c344b2535c141f66a6cf | [
"Markdown",
"Shell"
] | 3 | Markdown | tiagoporto/reference-repository | efe159e4dc592e2c2b96c24559cd277b14d06972 | f8414aa2988d51d7602dafa4891406121630161a |
refs/heads/master | <file_sep>window.addEventListener('load', () => {
var img = document.querySelector('img');
img.addEventListener('click', () => {
alert('hola');
});
});<file_sep>
//-----------Importar modulos e instancias-----//
// Importar modulo
const express=require('express');
//Intanciar bodyparser despues de... | e86b03c9d989de158683ec9dc76d7a7aca1fe767 | [
"JavaScript"
] | 2 | JavaScript | mariar13/Semana11_web | 08210806b982dd9339a5c51741c86113e33f7fad | d7f6964906545a239bb1b4470e040b7e9b679967 |
refs/heads/master | <file_sep>import java.util.Scanner;
public class CalorieCalc {
// Method converts steps to feet walked
public static int stepsToFeet(int baseSteps) {
final int FEET_PER_STEP = 3; // Unit conversion
int feetTot = 0; // Corresponding feet to steps
feetTot = baseSteps * FEET... | 18f6cb9eb3b72ba4e35c04eca679a04fe9bae580 | [
"Java"
] | 8 | Java | aalimov/Simple_Java_Apps | 2bd0f394de4f71080499ca8cd737b0ab5a95ef66 | ff838fae756423e79c22eae8dd21f87b9b011430 |
refs/heads/main | <file_sep>require('dotenv').config();
const Serve = require('./models/server');
const serve = new Server();<file_sep>
const validarCampos = () => {
}
module.exports = {
validarCampos
}<file_sep>const jwt = require('jsonwebtoken');
const validarJWT = () => {
}
module.exports = {
validarJWT
}<file_sep>... | 9869a5d3b41b360db4d3a0975b260fef90bdaf29 | [
"JavaScript"
] | 12 | JavaScript | ElideZavala/Backend-restserver-basico | 539d9eaf7d9128e139b074bb6154e52f48439e7e | 03cb9d4197e2d6140b39cd36b30929db9934ba67 |
refs/heads/master | <file_sep>//
// NEOVisitorViewController.swift
// XLweibo
//
// Created by apple on 15/12/6.
// Copyright © 2015年 dfdsaf. All rights reserved.
//
import UIKit
class NEOVisitorViewController: UITableViewController {
//记录是否登录
var userLogin = false
override func loadView() {
userLo... | c24827c16aa85fc0ee7c08a0ab1ff7362310157e | [
"Swift"
] | 11 | Swift | NEOLYH/xlwb | c807b8bd5aa6d40f4ca8d4b206a25c87ce4badf6 | be9bf0e764d079c8cfc760991379ea9acd205a75 |
refs/heads/master | <file_sep>"# batch2-movie-store"
<file_sep>package com.cubit.it.servlet;
import java.io.IOException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.util.ArrayList;
import java.util.List;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebS... | 80a7d389410709601471c0418f30d369b3bef89f | [
"Markdown",
"Java",
"SQL"
] | 4 | Markdown | JavaHunk2020/batch2-movie-store | b6cc9f4f1ceeeedf286a4d59164b8db001f02ee6 | 4d6ec9f4cddebdc3a42a7a6c8a3dc45b758b88e8 |
refs/heads/master | <repo_name>jakeatwork/axs-user_research<file_sep>/spec/routing/feedback_routing_spec.rb
require "spec_helper"
describe FeedbackController do
describe "routing" do
it "routes to #index" do
get("/feedback").should route_to("feedback#index")
end
it "routes to #new" do
get("/feedback/new").shou... | 8ce1430e5d66bd31f8c5f3094ee109e0b02d126c | [
"Ruby"
] | 8 | Ruby | jakeatwork/axs-user_research | a1322f157ef931d2f87d8516f13542c8af6fd43e | 289312ea383ca9d2b37c1f4e57d36d679dc273fd |
refs/heads/master | <repo_name>Shadas/leetcode_notes<file_sep>/algorithms/_989_Add_to_Array_Form_of_Integer/answer_test.go
package _989_Add_to_Array_Form_of_Integer
import "testing"
func isSame(s1, s2 []int) bool {
if len(s1) != len(s2) {
return false
}
for i := 0; i < len(s1); i++ {
if s1[i] != s2[i] {
return false
}
}
re... | 5a587780b4449ceb4d2f7a1a6e25f48997a925d1 | [
"Markdown",
"Go Module",
"Go"
] | 359 | Go | Shadas/leetcode_notes | 99ce6d4cadd5c03e54bedcde0116065b67f6147a | 0870c0dc8641f2aea5ec64709639b80d1fc781a3 |
refs/heads/master | <file_sep>/*
General syntax of a URL.
protocol://hostname[:port]/path/filename#ref
*protocol used to access the server (such as http),
*name of the server,
*port on the server (optional)
*path and name of a specific file on the server (sometimes optional)
*anchor or reference within the file (optional)
... | ad9e1a95e2eccb59c58aa12a164a6896bcb22e3b | [
"Markdown",
"Java",
"C#",
"C++",
"Shell"
] | 17 | Java | Ten-Taken/Primitive-Showcase | b60c436360c9fffdff740b5899381a8495fdad16 | 1f441c89547f354e10acbdfea2e6ff6409a2171f |
refs/heads/main | <file_sep>const Discord = require('discord.js');
module.exports.run = async (bot, message, args, guild, user) => {
const komut = new Discord.RichEmbed()
.setTitle(`__HATA__`)
.setDescription(`
Bu Komut Sadece [Ana Sunucumuzun](https://discord.gg/2N5NzSt) <#761153749895872553> Kanalında Kullanabilirsin.`)
if(message.... | b3cad51dfe902cec46deb0817b54f0c41e0793ea | [
"JavaScript",
"Markdown"
] | 7 | JavaScript | wVoity/ergadgasdgasdgsad | 0be9b9e7efdb2e6ea07a9d04f4f5e99b8a784f4d | 8b9e6ccad0988f394094fdffae4a3984b8d23eea |
refs/heads/master | <file_sep>using FluentValidation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using TiboxWebApi.Models;
namespace TiboxWebApi.WebApi.Validators
{
public class ProductValidator : AbstractValidator<Product>
{
public ProductValidator()
{
//Vald... | a72bd26126e195b0de1ddd1be553b4899a889fa4 | [
"Markdown",
"C#"
] | 72 | C# | SoyLucasAPP/SoyLucasWEBAPI | 91c294aea165d8e19b0eb100f3889b308a9be280 | c99ba452fe2b3de44c12346d030ada5485f36f22 |
refs/heads/master | <file_sep>package org.uci.luci.interchange.UI;
import org.uci.luci.interchange.Intersections.*;
import org.uci.luci.interchange.OSM.*;
import org.uci.luci.interchange.Driver.*;
import org.uci.luci.interchange.Vehicles.*;
import org.uci.luci.interchange.Graph.*;
import org.uci.luci.interchange.Util.*;
import org.uci.lu... | 2af25e650789fa854d9d0348fa9fdb6a26d3370a | [
"Java",
"RDoc"
] | 27 | Java | ns/interchange | 9b6272ee8942914ab231c802503a524c7eb7b3d4 | a6c2e6422731f79195229f208be187772a6a78c7 |
refs/heads/master | <repo_name>KKStudio/menu<file_sep>/src/migrations/2014_10_27_200824_kkstudio_create_menu_table.php
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class KkstudioCreateMenuTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up... | 91ee3fab0732228339a68736a0432e330a6a998f | [
"Markdown",
"PHP"
] | 7 | PHP | KKStudio/menu | b70d15a219b4dada4b7a41549119c94c20cbc8be | f3d2a826d3c95a8c9d22eea820736a1e7f069db9 |
refs/heads/master | <repo_name>sciencecoder/D3js-scatterplot<file_sep>/README.md
# D3js-scatterplot
<file_sep>/chart.js
var svg = d3.select('svg');
var margin = 50;
var svgWidth = parseInt(svg.attr('width')) - margin;
var svgHeight = parseInt(svg.attr('height')) - margin;
var url = 'https://raw.githubusercontent.com/FreeCodeCamp/ProjectRe... | 2baea4987e8ae52982bcce470542b3faf5f8f611 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | sciencecoder/D3js-scatterplot | 7bb55fccc018b2483ba97561b2df61a69929c196 | 7143c7031ba96b6e7684428a74a29855aca76ce0 |
refs/heads/master | <repo_name>swfz/autoreview-sample<file_sep>/app.rb
#!/usr/bin/env ruby
def main
p 'hello'
end
main
| cc002e4b8fc8d2952e28f2e3859880f66bc3f188 | [
"Ruby"
] | 1 | Ruby | swfz/autoreview-sample | e5058bc812308fdf24532160147c886e304d8100 | d3ba7058f5017ca848be811aae28ec627999d27d |
refs/heads/master | <file_sep>#include <stdio.h>
#include <string.h>
#include <assert.h>
/* 本程序实现字符串匹配算法 */
#define SEARCH_STR_MAX_LEN 128
/*******************************************
* function: 在串s中查找串t出现的位置
* date: 2019-12-18
* common: 自己实现的简单版本
******************************************/
int my_get_substring_pos (const ch... | a7b32dfbbb0b58a75352893f61f282b8da8b0e22 | [
"Markdown",
"C",
"Text"
] | 23 | C | HenryLion/C-projects | 37bb50bb8c052aeb95ac6fb361705bf404ffa0a6 | 90b92f9cfdea575a5dc93322b211ebadfae6b0a4 |
refs/heads/master | <repo_name>odira/TM<file_sep>/tmp/person/person.js
var datef = require('datef');
datef.lang('ru');
var pg = require('pg');
var params = {
host: 'ec2-46-137-73-65.eu-west-1.compute.amazonaws.com',
database: 'dtd9hnmschbrv',
user: 'jxiumgmvybfmvb',
password: '<PASSWORD>',
ssl: true
};
var sendSurnam... | 25a013716a85414755e8027938e5e19645f3e100 | [
"JavaScript"
] | 4 | JavaScript | odira/TM | 763a2660ecc49e0226aef0871362fad582790820 | 93ae80a9e6d58542b1cdb532bd7d7c6363bca0f2 |
refs/heads/master | <file_sep>/**
* Copyright 2017 Hortonworks.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or... | e8c2c66f430fd0d8b64125b493cc584985dc1b6e | [
"JavaScript",
"Java"
] | 3 | JavaScript | roshannaik/streamline | fb59d2a614a398adfa8e6219b0514cc4e1d815b2 | d59948ea184853f7aba845716604f9e297d46944 |
refs/heads/master | <file_sep># GCDDemo
swift3.0
<file_sep>//
// ViewController.swift
// GCDDemo
//
// Created by 婉卿容若 on 2016/12/6.
// Copyright © 2016年 婉卿容若. All rights reserved.
//
import UIKit
// 喵大推荐的单例写法
class MyManager {
private static let sharedInstance = MyManager()
class var sharedManager: MyManager {
... | 2abce8989ea8bd4481ddf5f3e809604077e1eeb4 | [
"Markdown",
"Swift"
] | 2 | Markdown | wanqingrongruo/GCDDemo | 1e61946b31c3070deecb5ef7679da40e636a0c8a | d9bab903833d992f40f3a97824d70730fb2ea723 |
refs/heads/master | <repo_name>chocofactoryswap/chocofactory-contracts<file_sep>/scripts/poolInfoByPid.js
const MASTER = artifacts.require("KtKtMaster");
const user = '<KEY>';
function toN(bn){
if( ! bn ) return '-';
let n = bn.toNumber();
return n / 1E18;
}
module.exports = async function() {
const cli = await MASTER.depl... | 21fe017caf048c317519fdad0d903e159979bba8 | [
"JavaScript",
"Markdown"
] | 6 | JavaScript | chocofactoryswap/chocofactory-contracts | a0c398945964af022c9744e8641a345f9b78e6a9 | 8a31263a5e199349259aadf2a188c2dc97003c64 |
refs/heads/master | <repo_name>liamwhite/boorutextile<file_sep>/lib/textile/nodes.rb
# frozen_string_literal: true
require 'cgi'
class MultiNode
def initialize(nodes)
@nodes = nodes || []
end
def build
@nodes.map(&:build).join('')
end
end
class TextNode
def initialize(text)
@text = text
end
# Hook for booru m... | 9c041356808726d4d807b2d2e6799312f5c6cb9f | [
"Ruby"
] | 4 | Ruby | liamwhite/boorutextile | 8eec432155edef807a893373c60ba611f5772085 | 206a580b3943b7f6482bce3691a20cf57c30f1cf |
refs/heads/master | <file_sep>#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QLabel>
#include <QStack>
class QPushButton;
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
private:
Ui::MainWi... | 2609ae8565b0831ec9056f01b0b654f56bf87bbe | [
"Markdown",
"C++"
] | 3 | C++ | heronyang/chicken-bibi | 0b4a2ec40be6420f32108a8e3e63b7b84dd26a13 | da183f5c5ba6f1e2af638319070a6cf276e88129 |
refs/heads/master | <file_sep>/* jshint esversion: 6 */
// Solve the following prompts using recursion.
// 1. Calculate the factorial of a number. The factorial of a non-negative integer n,
// denoted by n!, is the product of all positive integers less than or equal to n.
// Example: 5! = 5 x 4 x 3 x 2 x 1 = 120
// factorial(5); // 120
... | 54d105e63a4476aab2b1101e2ebe05e90da4e1d5 | [
"JavaScript"
] | 1 | JavaScript | mandytrinh/recursion-prompts | e638d1cab294fd6ba9b9915552703790710e3259 | 25fc43768bec5e1a62266a576592c3f2a8b5a3cc |
refs/heads/main | <file_sep># Bookshop-managament-system-project<file_sep>//*******Bookshop******
#include<stdio.h>
#include<stdlib.h>
#include<conio.h>
#include<string.h>
struct bookshop
{
char date[40];
char cname[40];
double Number;
char bname[40];
char barcode[40];
float cost;
};
struct bookshop s; // object ... | 139461463951bb0547e3a91b24fbef9353c68477 | [
"Markdown",
"C"
] | 2 | Markdown | Raviranjankumar12/Bookshop-managament-system-project | 5f2aaf785270d46a3d6963cc071bc70bbaa3d22d | a7693bad2e681dc3ea98e0e65a324f63235c93b0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.