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>corey89757/immune<file_sep>/src/main/java/com/immue/config/ImmueConfig.java
package com.immue.config;
import com.immue.controller.IndexController;
import com.jfinal.config.*;
import com.jfinal.template.Engine;
public class ImmueConfig extends JFinalConfig {
public void configConstant(Constants me) {
... | 40cd0a5f11bc8b662a01acbb2a6df308ea91811a | [
"Java",
"Maven POM"
] | 6 | Java | corey89757/immune | 0329915f7cc98bf4a26ecdf658219eb8244c6e0c | cd40d598862fae79ff1849b8e24611e909bb1d8e |
refs/heads/master | <file_sep>
class CashRegister
attr_accessor :discount, :total
def initialize(discount = 0)
@total = 0
@discount = discount
@last_transaction = 0
@items = []
# discount is in percent
end
# not necessary because we have attr_accessor for this
# def total
# @total
# end
def add_item(title, price, quant... | 689958fbe74dda78d33b2bba6f6ed9aaca878b81 | [
"Ruby"
] | 1 | Ruby | yberdysh/oo-cash-register-dumbo-web-062518 | e899aff7250ae662069e42f64753078dfbb16051 | 904209969d6283d62b3b2127f44b342206c2b07f |
refs/heads/master | <file_sep>// Copyright 2019 DeepMind Technologies Ltd. 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
//
// Unle... | f0f136aa16f00935bbdfd0e64c0dbe1ea1f044c6 | [
"C++"
] | 2 | C++ | sbodenstein/open_spiel | 24f336a0701f7460d402676e643af15d78e04932 | b20545a4ca19f0b64c52c1bdf330554bf47facc9 |
refs/heads/master | <repo_name>qiuxiangsap/self_learning<file_sep>/TaxiDriverSimulation/src/com/sap/nic/mytaxi/servlet/DriverActionServlet.java
package com.sap.nic.mytaxi.servlet;
import java.io.IOException;
import java.math.BigInteger;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import java... | e50992e3631d268b299a1f14401e15201b397d23 | [
"Java"
] | 13 | Java | qiuxiangsap/self_learning | df7c1c14986efda21065066f45d62fec900e0249 | d6ccfb52d3683935f21e1154b3c4c64b98833f3c |
refs/heads/master | <file_sep>export type PublishProvider = "github" | "bintray"
export interface PublishConfiguration {
provider: PublishProvider
}
export interface GithubPublishConfiguration extends PublishConfiguration {
repo: string
version: string
owner: string
vPrefixedTagName?: boolean
}<file_sep>import { PlatformSpeci... | 59b5ae12abe217a15f83b0e70967e6f294db407e | [
"TypeScript"
] | 2 | TypeScript | Lyrillind/vrrv-builder | 4aa3527dbe5c005ac2505e7b02cc12677791450f | bafb20426ac0006ada962b3b624392967554fb60 |
refs/heads/master | <file_sep>//Selecting the classes or tags from HTML.
let searchInput = document.querySelector('.search');
let suggestions = document.querySelector('.suggestions');
let endpoint = 'https://gist.githubusercontent.com/Miserlou/c5cd8364bf9b2420bb29/raw/2bf258763cdddd704f8ffd3ea9a3e81d25e2c6f6/cities.json';
let citySearch =... | 1d2e8550e41101e1faee42e2f23f6ebc4272978d | [
"JavaScript"
] | 1 | JavaScript | mayankagnihotri7/vanilla-js-type-ahead-ajax | 22edee906465c87453e27804d8ddff96a3a1b566 | 0068a9ef6bfe4d27bd3fa1c76641dae5ef0afefc |
refs/heads/master | <repo_name>collin/persistent_openstruct<file_sep>/spec/persistent_openstruct_spec.rb
require 'lib/persistent_openstruct'
PersistentOpenStruct.config_file = 'spec/storage_config.yml'
class FileBackedOstruct < PersistentOpenStruct; end
shared_examples_for "PersistentOpenStruct" do
after(:each) { @class.storage.clear ... | 9818006ddacd468c54fdfb9bcb8ef4fdcad9f21a | [
"Ruby"
] | 4 | Ruby | collin/persistent_openstruct | 2d19358316a5af962bee8813e2fef5085744ec55 | 14caa6e0158e3dcd0e53566b06bf39d3d835d757 |
refs/heads/master | <file_sep>/**
* Sample React Native App
* https://github.com/facebook/react-native
* @flow
*/
import React from 'react';
import {
AppRegistry,
StyleSheet,
View
} from 'react-native';
import SimpleButton from './App/Components/SimpleButton';
export default class ReactNotes extends React.Component {
render... | 50fcafbf84d01a7472cb3101f6399af962d12161 | [
"JavaScript"
] | 1 | JavaScript | huzichunjohn/ReactNotes | f390abed9649d019cec841b1691d66a1eca0540e | 5e6ca2fef50fba8b0c3686da3f608760331190ea |
refs/heads/main | <repo_name>binxio/xk6-privatebin<file_sep>/paste.go
package privatebin
import (
"crypto/aes"
"crypto/cipher"
"crypto/rand"
"crypto/sha256"
"encoding/base64"
"encoding/json"
"golang.org/x/crypto/pbkdf2"
)
const (
specIterations = 100000
specKeySize = 256
specTagSize = 128
specAlgorithm = "aes"
s... | 9a67ae9d5ceb3cab9532cad29ee31c5b344fdffc | [
"JavaScript",
"Go Module",
"Go",
"Markdown"
] | 5 | Go | binxio/xk6-privatebin | ef7b3cd4d6db705cd81529d8343760da80ed1f54 | bf2a8aa50bc08a570de449b8748612cb83414c8b |
refs/heads/master | <repo_name>HongfanLiu/Drolivery<file_sep>/drolivery.py
import runWorld as rw
import drawWorld as dw
import pygame as pg
from random import randint
################################################################
'''
Don't you hate when you have to go all the way to the mail to get your package?
Or even when you have ... | 60e6d39e9b638cc4c9e79a7008ffe91a0021dbf8 | [
"Python"
] | 1 | Python | HongfanLiu/Drolivery | 974da82a7cb927fd44dfaacbc9e5dfb15e344b2c | 220ccb166f83e48a1aa1cbcea18c5aef29ea0552 |
refs/heads/master | <file_sep>const getState = ({ getStore, getActions, setStore }) => {
return {
store: {
url: 'https://4000-purple-porcupine-x6r918eq.ws-us15.gitpod.io/faq',
faq: []
},
actions: {
getFAQ: () => {
const { url } = getStore();
fe... | ae5af29be9528072f94fe638b027bf5527d394fa | [
"JavaScript"
] | 3 | JavaScript | ljavierrodriguez/practices-react-ft12 | ca4badabe5471d3220af61d0168af8c55884f4c9 | 498326e617a4e3dfd55e2b57d3e99ed3ef6f7b38 |
refs/heads/main | <repo_name>nimeshnsat/kafka-examples<file_sep>/src/main/java/poc/QuotesProducer.java
package poc;
import com.dataart.poc.Messages.SIQuote;
import com.google.protobuf.Timestamp;
import org.apache.kafka.clients.producer.KafkaProducer;
import org.apache.kafka.clients.producer.Producer;
import org.apache.kafka.clients.p... | 49ef6c85158f8d8b73139c897fe424dc3c3186a3 | [
"Java"
] | 2 | Java | nimeshnsat/kafka-examples | 74d281613fc204c4f0a032f86874d476ad0450b6 | 6a4924e07aa8dde6239f8d64664723481dbee1ba |
refs/heads/master | <file_sep>package com.debm.myapplication;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.widget.Button;
import android.widget.EditText;
import android.widget.SearchView;
import android.widget.Toast;
import java.util.Has... | 1b75cb00c244e444a21d50588d795f36b2b3612f | [
"Java",
"PHP",
"SQL"
] | 11 | Java | destantifw/simplecrud_android | 8aa053932a3a054f50bad2741ddfa5424778bb61 | 07cf86158f40b9db80e1b04301d58fbcfecf96aa |
refs/heads/main | <file_sep>//
// Question.swift
// Quiz
//
// Created by user172836 on 6/19/20.
// Copyright © 2020 user172836. All rights reserved.
//
import Foundation
struct Question {
var title : String = ""
var isCorrect : Bool = false
}
<file_sep>//
// QuestionView.swift
// Quiz
//
// Created by user172836 on 6/26... | b8c5ff098c081f2b17b5c4cb45295230305a6c01 | [
"Swift"
] | 2 | Swift | NourStudent/OpenQuizz | 031b4b03f0ad98985eefa5bd6750a7f1778c7d55 | 4f781827c3f1442239dfa1af3536e32bfd5aad37 |
refs/heads/master | <repo_name>AyoobAli/bashScripts<file_sep>/xenc
#!/bin/bash
#
# Script Name : xenc
#
# Author : <NAME> (https://www.AyoobAli.com)
# Date : 27-02-2018
#
# Description : xenc uses OpenSSL to Encrypt/Decrypt files
#
# Requirement : openssl
#
# Run Information: xenc -h
#
optString=":hdxf:p:"
optM... | 680453a30c93bc8797fd9531723f4507e4d014d3 | [
"Markdown",
"Shell"
] | 2 | Shell | AyoobAli/bashScripts | 8ec473924b7e64dc5c6e9588d55c499bb8dd86b8 | f63d07d4ecebe6135f6f2b49647cacb4075e5669 |
refs/heads/master | <repo_name>itdaniher/probstat-notebook<file_sep>/hw5/dice.py
#!/usr/bin/python
import random
winners1 = []
winners2 = []
for i in range(1000):
dice1 = random.randint(1,6)
dice2 = random.randint(1,6)
if dice1 + dice2 == 8:
winners1.append(dice1)
winners2.append(dice2)
dice1 = list(set(winners1))
dice2 = list(set(... | 813a43decf2caf1e61e3ef0e0b8e358a3b657a10 | [
"Python"
] | 23 | Python | itdaniher/probstat-notebook | 8fe176fa45f5ee8ac02259b2cb36ac4eb4660a7a | bc109e5b8ada442fc4c37b8a59f1d9d696eb38b5 |
refs/heads/master | <file_sep>package com.exp.demo.vo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.NotEmpty;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.util.List;
/**
* @author JianChow
* @d... | 642d7725ec0edd15a4f7c23afb941cb207c7f35c | [
"Markdown",
"Java"
] | 10 | Java | JJS857012499/scalping | 3ea3b69f1be2673a6ef5d8b3922c9c725f136c7c | 9cea579b192a3253b42c4961b6508d5242ef4850 |
refs/heads/master | <repo_name>jelera/reverse-each-word-prework<file_sep>/reverse_each_word.rb
def reverse_each_word(sentence)
# arr = sentence.split(" ")
#
# output = []
#
# arr.each do |str|
# output << str.reverse
# end
#
# output.join(" ")
arr = sentence.split(" ")
output = arr.collect do | word |
word.r... | 8dd02645b4e19689f6739258e5aa15fc08667400 | [
"Ruby"
] | 1 | Ruby | jelera/reverse-each-word-prework | 77fa5fe7a000b7c564674e2fe89a2697ab3ae024 | 540a8121a2300b07539f7820ee2865d0b05ab6df |
refs/heads/master | <file_sep>/** @jsx jsx */
import { loadStripe } from '@stripe/stripe-js'
import { jsx } from 'theme-ui'
import { Flex } from 'theme-ui'
import Products from './components/products'
import CartDisplay from './components/cart-display'
import { CartProvider } from 'use-shopping-cart'
const stripePromise = loadStr... | 04653d54ebd1a888828b7d00ec5614e14bd362df | [
"JavaScript"
] | 1 | JavaScript | kostasxyz/shopfront | 5f4d67313f204f1aa2ed95bafaa9b1cc160ffdf7 | 51d8977a4d34e007339168126e1a226e69382d50 |
refs/heads/master | <file_sep>
def get_rim_size():
#a = open("/data/raw_content/watchlist_alerts/cookie.txt").readlines()
a = open("cookie.txt").readlines()
b = []
for v in a:
z = v.split("\n")[0].strip()
if z != "": b.append(z)
return b[len(b) - 1]
print get_rim_size()
<file_sep><?php
/*... | 31ffc9beff70e33351fc8ff8f849bb26c8c50527 | [
"SQL",
"Python",
"PHP",
"Shell"
] | 6 | Python | juanurquijo/tools | a373bd29707455785b9e91742348a7eccdbdb1d1 | b658cbb2c465e6c574297e86a91dd1517445bb55 |
refs/heads/master | <file_sep>#pragma once
#include <thread>
#include <mutex>
// Ex1 ---
std::mutex mtx;
std::condition_variable cond;
int idToCont = 0;
// Ex2 ---
std::condition_variable conds[2];
std::mutex mtxs[2];
void Ex1ThreadCode01() {
{
std::unique_lock<std::mutex> lock(mtx);
while (idToCont != 1) {
cond.wait(lock)... | 4175d4900779c9b5ae20b7fd633ba75456f8a672 | [
"C++"
] | 1 | C++ | rcpauor32/ThreadsPractice | e19170aa90d0c01ac90d6e978a8d8272a3a87834 | dbd62bc7d235225ed20cbf672f743f8a1010fbf5 |
refs/heads/master | <repo_name>oleg-bershak/taxi<file_sep>/src/App/containers/Login/LoginForm.jsx
import React, { useState } from 'react';
import { connect } from 'react-redux';
import { Link as RouterLink, Redirect } from 'react-router-dom';
import { useFormStyles } from './styles';
import { Container, Paper, Typography, Link, TextField,... | 215ea2234ec661cbf80a60973349f920470b0836 | [
"JavaScript",
"Markdown"
] | 9 | JavaScript | oleg-bershak/taxi | 9a62432113ee8a70fbcec9c9f39164b8927e2084 | aabc6b2492d604de9096246a6b6f03e18fc4b2dc |
refs/heads/master | <repo_name>Joovvhan/anystyle<file_sep>/lib/anystyle/version.rb
module AnyStyle
VERSION = '1.3.12'.freeze
end
| 87154091fc59966ae49c3ec4a6a6024dd0695028 | [
"Ruby"
] | 1 | Ruby | Joovvhan/anystyle | e73520f862dad8ddacdd437032c8f7dd00772717 | 7773e86399426ea95f119d5835c31724b570d30b |
refs/heads/master | <repo_name>yourcelf/orgs-facet<file_sep>/parse_data.py
import os
import csv
import json
from collections import defaultdict
from pprint import pprint
FILE = os.path.join(os.path.dirname(__file__), "03192012_OR_data_download_clean7_2.csv")
column_maps = {
'q0007': {
'question': "How did you find this surve... | b4223888a0a70624790d3a157e335b2f360e621d | [
"Python"
] | 1 | Python | yourcelf/orgs-facet | 0183c22a725ed2e8bd2ccda79ec62a7de648b81a | 2d2a26dbfb1e863b9b89a06503d9e09c75208841 |
refs/heads/master | <repo_name>yoshitaka-git/MbChatApp<file_sep>/www/js/app.js
//****************************************************************
// MbTapGameApp
// js/app.js
// Created by <NAME> on 2020/09/10.
// Copyright 2020 FUJITSU CLOUD TECHNOLOGIES LIMITED All Rights Reserved.
//*************************************************... | c26c2ba4b988970f90e8d4578c22f83e40a1fc4f | [
"JavaScript"
] | 2 | JavaScript | yoshitaka-git/MbChatApp | 79f0bf2bb62b92a98f0c6e3f4aad2a6a08e94d3b | 2ac50ba87db6caf742adceb3c2f61069d891fb6d |
refs/heads/master | <repo_name>WBPiccolo/AOC2019<file_sep>/02part2.py
#https://adventofcode.com/2019/day/2
# opcode 1 a b c: x[c]=x[a]+x[b]
# opcode 2 a b c: x[c]=x[a]*x[b]
# opcode 99: break;
# dopo aver letto un opcode, skippa avanti di 4
def main():
input_filename="02input.txt"
target = 19690720
# Find the input noun a... | 966e481cd7bb26cc90c43401bdea3d54d678c3be | [
"Markdown",
"Python"
] | 4 | Python | WBPiccolo/AOC2019 | 3b8b4a08fd72103a82e0c738391a9c8df2b6a27e | 7bd23e524e3260f8145e461f4a5a35b7d07f0f9e |
refs/heads/master | <repo_name>DrenchedDong/WeekOneA<file_sep>/app/src/main/java/dongting/bwei/com/weekonea/adapter/RecycleViewAdapter.java
package dongting.bwei.com.weekonea.adapter;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android... | 846968297efc43ae1a452800d4d420d6d5388674 | [
"Java"
] | 3 | Java | DrenchedDong/WeekOneA | 0e51105c0f2123df3aa97261e3ea6abd8fa76b6d | 033819dcbdee5c7297ca3bfc45916efb95e51865 |
refs/heads/master | <repo_name>bhupankarg/KingShanFamilyTree<file_sep>/file_parser.h
#pragma once
#include "family_operations.cpp"
class FileParser
{
public:
int parseDataFromFile(Family*, ifstream*, bool);
private:
int parseInputCommand(Family*, string);
int parseInitCommand(Family*, string);
vector<string> splitCommand(... | d8ca278b61a79dc92490f8fddfda67d36aec3264 | [
"C",
"Text",
"C++"
] | 10 | C++ | bhupankarg/KingShanFamilyTree | 2e7fd9f41af74e8cf5ddbd21fae4ad26e939b78a | afa6f7ba26ef8f9d8ff48dd60839ae3ade188e89 |
refs/heads/master | <file_sep>import {Component, Input, OnDestroy, OnInit} from '@angular/core';
import {ReadonlyBoard} from '../board';
import {BoardService} from '../board.service';
import {ReadonlyCell} from '../cell';
import {HelperService} from '../helper.service';
import {Subscription} from 'rxjs';
@Component({
selector: 'app-boa... | f94503c47e4e28424df58ac63f5fd94ca9defe24 | [
"TypeScript"
] | 14 | TypeScript | chikwesi/sudoku | 53f8d064a8b1285a93cec1b5b4b190984d0bcd4b | a5b203cdc9a517b09e9eda1a4dd54e762bb0d2d9 |
refs/heads/master | <file_sep>import { GameFormat, standardFormat } from './gameFormat';
import { cardList, CardFactory } from './cards/cardList';
import { Card } from './card';
import { ResourceTypeNames } from './resource';
import { sample, sampleSize, remove, sum } from 'lodash';
import { Collection } from './collection';
export inte... | 84096fd73f7486d2cc42ca25534e145e3b055318 | [
"TypeScript"
] | 31 | TypeScript | Fifth-Aeon/CCG-Model | 2c97bf5ba1184207531c08196a8e491b6c8fa28f | e1117c8d7f9674f1de25a64a955979ab38a23edd |
refs/heads/master | <repo_name>Cgobern/BookFinder<file_sep>/server.js
//Initializes the express app
var express = require('express');
var app = express();
//includes bodyParser
var bodyParser = require('body-parser');
//brings in the models folder
var models = require('./models');
//this extracts our sequelize connection from the models... | a699fa5731e7102170ba9947ed159e61ab34c42b | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | Cgobern/BookFinder | 9feb555371491ad897c4a46ef57b7c1112d9fae6 | a796b09fe4a06b6ac365894d5011a583630b4278 |
refs/heads/master | <repo_name>silvanei/ees-api<file_sep>/src/main/java/org/ees/api/agenda/entity/HorarioDeFuncionamento.java
package org.ees.api.agenda.entity;
import java.sql.Time;
/**
* Created by silvanei on 28/07/16.
*/
public class HorarioDeFuncionamento {
private Integer id;
private Time horarioInicio;
private Time... | e7ef55f62b7273d48020c90de7fe8a74a50ea880 | [
"JavaScript",
"Java",
"Maven POM"
] | 65 | Java | silvanei/ees-api | 46be0e3e1567c8afce70cf063ca59d91e13c47ff | b8a6bb843db250ca192e9bcc436f2d6cce04c461 |
refs/heads/master | <file_sep>class RubyIntro
def self.today
Time.new
end
def self.range
(1..1000).each {|x| puts x }
end
def self.addition(x, y)
x + y;
end
def self.does_word_exist?(myword)
phrase = "The only reason people get lost in thought is because it's unfamiliar territory."
phrase.includ... | 0d883fc86f13b94e2fad5393ab7b303d700dbc5d | [
"Ruby"
] | 1 | Ruby | leeriley/ruby-intro | 2ec55f7eb8314fa13eaca8c94b9978dbd598134f | 8ec0050bea2a349325012a565d468ebb8a9444c1 |
refs/heads/master | <repo_name>frncmx/my-arch-linux<file_sep>/provisioning/roles/user-frncmx/files/bash/bash_logout
# ~/.bash_logout: executed by bash(1) when login shell exits
# When leaving the console clear the screen to increase privacy.
if [[ "$(tty)" = /dev/tty[1-9] && $(ps -o comm= -p ${PPID}) = login ]]; then
[[ -x /usr/bin/cle... | 76467a758c86bdba9e6aff93665e7290d563c96b | [
"Markdown",
"Ruby",
"Shell"
] | 10 | Shell | frncmx/my-arch-linux | b7b5237dbe002cf14b8af5581d7905634699abca | 40b71c712d2b29fc2ed7bc36d0e3354139085cb4 |
refs/heads/master | <file_sep>LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := TestJniLibName
LOCAL_SRC_FILES := com_winter_testblur_StackNative.c jnitest.c stackblur.c
LOCAL_LDLIBS := -lm -llog -ljnigraphics
include $(BUILD_SHARED_LIBRARY)<file_sep>package com.winter.testblur;
/**
* Created by songhongji on ... | ecee366f92c044a3d753b11220deca639414c274 | [
"Java",
"Makefile"
] | 3 | Makefile | songhongji/TestBlur | 4d08303082108c241c9e0dc0c99a4c9b51f39247 | fbc03c1f684280e5dbc8b053d4d0fd0f5a14e5f7 |
refs/heads/master | <repo_name>apetrushihin/Crossroad<file_sep>/src/Main.java
import javafx.application.Application;
import javafx.geometry.Insets;
import javafx.scene.Scene;
import javafx.scene.control.Label;
import javafx.scene.input.KeyCode;
import javafx.scene.layout.GridPane;
import javafx.stage.Stage;
public class Main exte... | c4b6e02d38f7713043682825a647559f72c56dda | [
"Java"
] | 1 | Java | apetrushihin/Crossroad | 2df80ff492b84485d4e3d5f8d22370097a35e9d5 | b6c0995d04fff1d42af0c2c9b9edd31ddcc37ff2 |
refs/heads/main | <file_sep>import React, { useState } from "react";
import Post from "./Post";
import PostBox from "./PostBox";
import { nanoid } from "nanoid";
import { POSTS } from "../shared/posts";
function Body(props) {
const [posts, setPosts] = useState(props.posts);
function addPost(value) {
const newPost = { id: "post-... | 555606887b5ede8c0994574a6ea62e96c72f5830 | [
"JavaScript"
] | 9 | JavaScript | bastanley1211/jinseicafe | 1cf8834483e53f9b1969ba166dbdc9b3620b0af6 | 7928ac09040e5b24cce2034ca239a7e78530425f |
refs/heads/master | <repo_name>leonidasnascimento/gateopeningdevice<file_sep>/server/models/deviceModel.js
class deviceModel{
toJson(){
return JSON.stringify(this.deviceModel);
}
constructor(name, guid, imei, createdDate, model){
this.name = name;
this.guid = guid;
this.imei = imei;
thi... | a6e2bc05f9fb03a7d255a4b9ba5086f1cddfaa5e | [
"JavaScript",
"TypeScript",
"Markdown"
] | 9 | JavaScript | leonidasnascimento/gateopeningdevice | fbf59acdaaacde9a0112e3947a2c50f639b88a39 | e53c494c411e377ceb7c14869f4e5a6dafd00106 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Singleton
{
public class Kitap
{
static Kitap kitapid;
static Kitap kitapismi;
static Kitap kitapyazari;
public static Kitap Ki... | f1ac118abef2a5625d9b3c69aa3141f975afda0f | [
"C#"
] | 2 | C# | ardacicin/YazilimTasarimKalip | fd8d895f08aadc688e50794b2f112f2707f4bb5c | d010e2f372799309490a16c1fa8b43bdc2f77e4f |
refs/heads/master | <repo_name>RiosJuanIsrael/RiosJuanIsrael.github.io<file_sep>/js/tabla.js
document.addEventListener('DOMContentLoaded', tablaDinamica);
function tablaDinamica() {
"use strict";
// DECLARO VARIABLES PARA LOS BOTONES Y SUS EVENTOS CLICK
let btnRandom = document.getElementById("btn-random");
btnRando... | 31b484614489dd0b5b341a25cda8f5c6d73991e7 | [
"JavaScript"
] | 1 | JavaScript | RiosJuanIsrael/RiosJuanIsrael.github.io | 38a72c754bd36faa334192cbebd36cf545823600 | 7624d4d13b82eed81de92ab97d32c894577764f6 |
refs/heads/master | <file_sep># super-duper-terry<file_sep>#include <SFML/Graphics.hpp>
#include <iostream>
#include <fstream>
#include <sstream>
using namespace std;
using namespace sf;
class Player
{
public:
Player(int);
Texture texture;
Sprite sprite;
int frame, row, fC, mAt, rotation, changeAt, changeF,... | 7067db0fadc5a1f23868933d7df2e1ec37650eb0 | [
"Markdown",
"C++"
] | 2 | Markdown | walterbb/super-duper-terry | b8da14237c23f863eee68248d70756222c490723 | 5a8a34a331376c749ccac202291a3511a06bb559 |
refs/heads/master | <repo_name>seledtsov669/project_functions<file_sep>/main.py
import math
import turtle
def square(x, y, side, angle, color):
'''
Function, drawing square
:param x: upper left corner coordinate X
:param y: upper left corner coordinate Y
:param side: side length of a square
:param angle: the mounti... | 338a660be00c56e7fbf84c0e40e27cc46334114a | [
"Python"
] | 1 | Python | seledtsov669/project_functions | f1ac6fcbcf2851f5fc3882268e16fb6719e1d3c0 | 5d3ccb3b35664d1a2e5cf07fd99955359001b8b9 |
refs/heads/master | <repo_name>Nana-322/The-mini-bot-Eliza<file_sep>/Eliza.py
'''This is a mini-version of Eliza, a chatbot therapist, who chats with users depending on specific keywords they may mention'''
def main():
for i in range(25):
chat_str = input('Chat: ')
chat_str = chat_str.lower()
if chat_str == 'b... | 94406561e540560c671a6f07c1fe14ced0aa15e2 | [
"Markdown",
"Python"
] | 2 | Python | Nana-322/The-mini-bot-Eliza | dd35f0b27d0ec695aaf9624cccfc376d8e527dc6 | 11d42498f7d327543aa7c614b3124312749177e8 |
refs/heads/master | <repo_name>marcelblijleven/adventofcode2019<file_sep>/day_02/day_02.py
import util
from itertools import product
def process(memory, noun=None, verb=None):
# Put noun at position 1, verb at position 2
if noun is not None and verb is not None:
memory[1] = noun
memory[2] = verb
def execute... | 580abe6159ddd140247cde06fcba48ab4a8a06c3 | [
"Python"
] | 25 | Python | marcelblijleven/adventofcode2019 | 59468022695d9ce1007a3ec5b29acb539cf0d12c | 32ea4ed4c3b421dc1687cead2de8a9cc97e568c3 |
refs/heads/master | <file_sep>
print('reading file')
with open('oneGb.csv') as f:
data = f.read()
print('writing data to file...')
with open('bigfile.csv', 'w') as g:
g.write(data)
for i in range(10): #range(n) = [0, 1, 2, n-1]
print('writing more data to file...' + str(i))
with open('bigfile.csv', 'a') as g:
... | 77dfa2fad9723e38e7b8b4a920bbeab0935e0d11 | [
"Python"
] | 1 | Python | sefnyn/mk_big_file | 099f8191066d18fb6d7083d00e205c896fa8383a | a9ea2a56fd788f3991c989d3ecee07a6b67e74f0 |
refs/heads/master | <file_sep>package pl.edu.agh.tai.model;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.authority.SimpleGrantedAuthority;
import org.springframework.security... | dd034f3385263da6cd7cc22aa5aa9ee12f04c770 | [
"Markdown",
"Java",
"JavaScript",
"JSON"
] | 14 | Java | patrykks/tai-traffic-accidents-indicator | 2858e9f67b42cc3ddb2633ac63ff0b4b9a277e3c | f0380de7221543353f7b2c6e04ddb12f918e69bd |
refs/heads/master | <repo_name>ScoThomas/OMP-project<file_sep>/OMP_project/OMP_project/ompOld.cpp
/*
Preformance with 200*10 matrix with 1 thread = t1 278,t2 255,t3 264
2 thread = t1 303,t2 266,t3 258
4 thread = t1 281,t2 280,t3 287
6 thread = t1 278,t2 286,t3 278
8 thread = t1 287,t2 280,t3 278
16 thread = t1 296,t2 316,t3 316
3... | 82c8ac06dcca02d622724ef2f489dd6f93597745 | [
"Markdown",
"C++"
] | 3 | C++ | ScoThomas/OMP-project | de33f2339cbb66e7107766d1f309e2dd4532a210 | 76e42af51d74da2792094022687a75571ac44fef |
refs/heads/master | <repo_name>campsi/campsi-service-users<file_sep>/lib/index.js
const CampsiService = require('campsi/lib/service');
const handlers = require('./handlers');
module.exports = class UsersService extends CampsiService {
initialize() {
this.router.get('/invitations/:invitation', handlers.getInvitation);
t... | 026e64342ab3f7a3e0fde1e6638bc766a4dd0859 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | campsi/campsi-service-users | d3fd7aeeee92620c2d24405920d47466a486ce2d | f0918a8f0681d7903dfbf44f75d73c723e8dce46 |
refs/heads/master | <repo_name>radokostadinov/shuurs-trade<file_sep>/settings.gradle
rootProject.name = 'shuurs-trade'
<file_sep>/src/main/java/org/trade/fluts/parser/ConsoleInputParser.java
package org.trade.fluts.parser;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import java.util.Arrays;
impor... | e948cbf8f93e3bbeaeb875741b83076e89d45024 | [
"Java",
"Gradle"
] | 5 | Gradle | radokostadinov/shuurs-trade | 40424cf9abd235dbd3ddc734046a103486e668fa | 82510ea9ef365b1827f17db4e4db1b3b01fd70bc |
refs/heads/master | <repo_name>mirauta/single_cells_models<file_sep>/SmoothSic/src/makefile
TARG = ../SC
VPATH= ../
CPP = g++
CPPFLAGS = -O3 -W -Wall -I/opt/local/include/
#CPPFLAGS = -O3 -W -Wall --static
#CPPFLAGS = -g3 -W -Wall -pg -I/opt/local/include/
OFILES = datas.o additional_functions.o
OMAIN= main_kg.cpp
LDFLAGS = -L/opt/... | ce6e2dd1f442bbaa80508d321ba5c717911c1324 | [
"Makefile",
"C++"
] | 6 | Makefile | mirauta/single_cells_models | f00e67f556fb55fc7b914451ae6ea8557d7d1e0f | 7913b81d69f8370a86ed7809d1ab38f0e8eefba9 |
refs/heads/master | <repo_name>emendes28/nano-hour-control<file_sep>/test/app.e2e-spec.ts
import { INestApplication } from '@nestjs/common';
import { Test } from '@nestjs/testing';
import * as request from 'supertest';
import { AppModule } from './../src/app.module';
import { DayOfJob } from './dayofjob';
describe('AppController (e2e)', ... | ebf4615343b395c4530dc8c81e6d6b629c3b93f7 | [
"TypeScript"
] | 12 | TypeScript | emendes28/nano-hour-control | 0077477ff19c97d97a531f59c09ab466d77e4693 | c89c63663bb9100552deac761f0d4414cc884b6f |
refs/heads/master | <file_sep>#!/usr/bin/env python
# coding: utf-8
# Recogida de datos del Ibex35
# In[1]:
# Cargando librerias
import os
import requests
import argparse
import numpy
import csv
from bs4 import BeautifulSoup
from datetime import datetime
from datetime import timedelta
import pandas as pd
# In[2]:
#indicamos la web... | 7ed333b39a8d03e5c6840bea631d55311d351272 | [
"Python"
] | 1 | Python | xavierricci/PRA1_Tipo_Datos | d8df3839cd996f70c4369ec969f8ecdcefd9eadb | 172a10b53b3f08ee43d7336a52b992c2ebbfed2a |
refs/heads/master | <file_sep># Ejercicio5
# imprima el mensaje: "hola mundo!"
import numpy as np
import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt
print("hola yo, cinco en esta clase")
hol=10 | f8172bffd43e7352e9deede9fbbc76ffe26ea2d2 | [
"Python"
] | 1 | Python | saquijano/prueba2 | 0d9accf116bc37d60f6306cfbf1408d5688868e7 | 9ac0fcd5e88706c3b3fc17ebd44b18ec37016f8b |
refs/heads/master | <file_sep>package Vehicles;
public interface IShoot {
}
<file_sep>//public class Salmon implements Edible {
//}
public class Salmon extends Fish {
}
<file_sep>import Guests.Guest;
import Rooms.*;
import java.util.ArrayList;
public class Hotel {
private String name;
private ArrayList<Bedroom> bedrooms;
p... | e811369af671620d624c5736b46bea27f8f0b1fb | [
"Java",
"Gradle"
] | 11 | Java | fionaw237/Week_12_Day_2 | 35286435adbdb79e07546faff3fb18a6bb715dac | 4fda6148e41dab0f150fd41bb9d769245c02f96d |
refs/heads/master | <file_sep>import random, string, sqlite3
def connect():
conn=sqlite3.connect("babies.db")
cur=conn.cursor()
cur.execute("CREATE TABLE IF NOT EXISTS babies(id INTEGER PRIMARY KEY, name text, gender text, submitted_by text)")
conn.commit()
conn.close()
def insert(name,gender,submitted_by... | bf0f734b31f6f22596f5dfb273dff4ad48c3b1f5 | [
"Markdown",
"Python"
] | 3 | Python | Mxrhodes/Tkinter-project-babynames | 630861d5e4e294ebdda3cc2bbebbc56be0621b7a | 3f40d254388ca5ab46e398edb27123a339b13e32 |
refs/heads/master | <repo_name>Qrilee/music<file_sep>/music.php
<?php
/**
*
* 音乐搜索器 - 函数声明
*
* @author MaiCong <<EMAIL>>
* @link https://github.com/maicong/music
* @since 1.1.7
*
*/
if (!defined('MC_CORE') || !defined('MC_SC_CLIENT_ID')) {
header("Location: /");
exit();
}
// 关闭错误信息,如果要调试请注释掉
error_reporting(0);
//... | 4a7081b8a4b296183c5141d23294fa27380fb115 | [
"JavaScript",
"Markdown",
"PHP"
] | 4 | PHP | Qrilee/music | 86b949876d426bc70faf16ff1ec107cfb8035ef8 | d802781cb958f9f456f194d245664a4e3d836e0e |
refs/heads/master | <repo_name>xuejian-git/Windows_Qt<file_sep>/FaceExtraction/main.cpp
/*************************************************
Copyright (C), 2020-2020, XK_605
File name: main.cpp
Author: tuto; Version: 1.0; Date: 2020-01-31;
Description: 本项目的主要功能为识别出人脸并提取出来;
目前仅能识别一个人脸信息;
需改进的地方1、可重复提取人脸到指定文件夹
... | 70b27c9c3df72c466bce9d2da5f46e85100a03d0 | [
"Markdown",
"C++"
] | 4 | C++ | xuejian-git/Windows_Qt | 982186b064fc6edc0c1e9db8530a3c1ef7d2052d | 4bfd8b4a94966e582492ec69778cede7154d1c3d |
refs/heads/main | <repo_name>rfayat/two_state_gui<file_sep>/two_state_gui/app.py
"""Graphical User Interface for data and two-state model visualization.
Author: <NAME>, May 2021
"""
import plotly.graph_objects as go
import dash
import dash_core_components as dcc
import dash_html_components as html
from dash.dependencies import Input, O... | 1772b88634751619779464ad80187a5a29098102 | [
"Markdown",
"Python",
"Text"
] | 8 | Python | rfayat/two_state_gui | 7639e5e643edd9f8702ffc75a19e1db7c5dc688e | 495a5e8dfd9eb157e1a2bd9f8cf25763077fd369 |
refs/heads/master | <file_sep>import L from 'leaflet';
require('./webpack-proj4leaflet');
export function EPSG3067() { // eslint-disable-line
const crsName = 'EPSG:3067';
const projDef = '+proj=utm +zone=35 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs';
const bounds = L.bounds(L.point(-548576, 6291456), L.point(1548576, 83... | d33651a6366411869a303b8569e883825e4c19e0 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | akx/proj4leaflet-test | dbf4333796c5fb31043e538e0e2e38eca7ce95c6 | f1d6113e5e748b750181701200a2c513551821a7 |
refs/heads/master | <file_sep>import RPi.GPIO as gpio
import time
import math
class SoundController:
def __init__(self):
# Set up Audio pins
gpio.setup(12, gpio.OUT)
self.audioPin = gpio.PWM(12, 1000) # (pin number, frequency)
def __del__(self):
# Clean up
self.audioPin.stop()
gpi... | a9ea1c93c8fef74f57ebd3fa99097273c4aa7f2f | [
"Markdown",
"Python"
] | 8 | Python | Brad-McCausland/alarmclock | 3577ba197888ca7871cb01619427e320f65625b9 | 7dcdcf0b01f1210c72a0a695611cd4ec9c08fb16 |
refs/heads/master | <file_sep>// Node modules
import React from 'react';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import { Link } from 'react-router-dom';
// Assets
import './HomePage.css';
import { faCog } from '@fortawesome/free-solid-svg-icons';
import avatar from './img/avatar.png';
import Fade from 'react-re... | d6f4ea89c588c605f71c9b123b852041310c738a | [
"JavaScript"
] | 6 | JavaScript | djflorio/dan-florio-site | 79a1e0234574099d1a2b3af73e70536513db5a01 | b07108356f7c8383c89204ee0b26010e3651b128 |
refs/heads/master | <repo_name>j3ffsilva/teste<file_sep>/meu-teste.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
def saudar():
return "olá mundo"
def main():
msg = saudar()
print(msg)
main()
| a1bdfcb084c905146ac6abfc09e70106fafa37eb | [
"Python"
] | 1 | Python | j3ffsilva/teste | b486e36800f93e3d09e884ea628ae4a83b8f9ed0 | ff5b8fe54fc05f2fb499bfe294b6efbc7de29e38 |
refs/heads/master | <repo_name>lecolevati/DocSect<file_sep>/src/controller/HistoricoServlet.java
package controller;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.io.PrintStream;
import java.sql.SQLException;
import java.util.ArrayLi... | 2cc1cc4005bc48024db957cb5fc34c8fb28ca78d | [
"Java"
] | 5 | Java | lecolevati/DocSect | 80e521bc764919d63ccab37cd58992add63b3d15 | 00b895b7a31fddb90a8180cf1ee5f90eea3c2806 |
refs/heads/master | <file_sep>const mongoose = require('mongoose');
let articleSchema = mongoose.Schema({
title:{type:String, required:true},
content:{type :String, required:true},
author:{type:mongoose.Schema.Types.ObjectId, required:true, ref:'User'},
date:{type:Date, default:Date.now()}
});
const Article = mongoose.mo... | 89ab3efdabab568991f35aa4f1a64ccff786ca13 | [
"JavaScript",
"Markdown",
"Java",
"C#",
"PHP"
] | 228 | JavaScript | DJColdBrain/Try1 | 6a98b26c3b3604536b455782ea4dd6b40e656955 | 23cf3c78f364082e60c832295e8ee6c6f62c0279 |
refs/heads/master | <file_sep>namespace TouhouHeartstone.Builtin
{
class CardTag
{
public const string FAIRY = "Fairy";
}
}<file_sep>using UnityEngine.EventSystems;
using UnityEngine;
using UnityEngine.UI;
namespace UI
{
public static class UGUIExtension
{
public static RectTransform getChild(this Rec... | 2d198a8d7f845fe51fa1b78eee31b5c364dfaac7 | [
"C#"
] | 7 | C# | Miraiteko/TouhouHeartstone | af8435ea8185d73e04aa6ef19f725f76dc8ffaaf | 1767b7bee5d96cb04e3a8c8ff137ca4a7d0d5f4d |
refs/heads/main | <file_sep>#!/bin/bash
/usr/sbin/nuttcp -t -T1m -R1m 10.80.0.79
<file_sep># nuttcp-traffic
Downloads and builds nuttcp from https://www.nuttcp.net/. Adds client/server systemd services for it and creates an installable deb package. Used when needing a little bit of traffic flowing over a network. Run a client/serve... | 22c02757ca60310552595a4bd86fde7378df906f | [
"Markdown",
"Shell"
] | 6 | Shell | monsrud/nuttcp-traffic | 65e7acca66e5c8f8dd6cf58fe83e52dcc46ed0a9 | 90087617313a6cf1e8f1575a221f743a70ecb250 |
refs/heads/master | <file_sep>package com.kmc.MiniServer.service;
import com.kmc.MiniServer.dao.PlantvilleDao;
import com.kmc.MiniServer.model.Trade;
import com.kmc.MiniServer.model.TradeData;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springfra... | 3051b3fa467ca50353966a99be484d230a150267 | [
"Java"
] | 4 | Java | kengmingcheng/Home_Server | 15965457c4b472b8fba470cd97fa8ea5f847ccfc | f4861bb60e54392bdfe217837d43f5ebec2eeba9 |
refs/heads/master | <file_sep>print-wordnet
=============
<file_sep>from pattern.en import referenced
import random
import subprocess
with open('persons.txt') as f:
persons = f.read().split('\n')
with open('actions.txt') as f:
actions = f.read().split('\n')
random.shuffle(persons)
random.shuffle(actions)
text = '''% CONSIDER A... | 1237094192ce7efa9fa0beb65ffa88816e141d20 | [
"Markdown",
"Python"
] | 8 | Markdown | christiaanw/NaNoGenMo-2014 | c2eb8c44c21212e560f400e8c49517f8173dc555 | ded02737116a222acbd392308020448771a2cf74 |
refs/heads/master | <repo_name>jcarrharris/fuzzycms<file_sep>/spec/controllers/article_controller_spec.rb
require 'spec_helper'
describe ArticlesController do
it "should call all on Article" do
Article.should_receive(:all)
get :index
end
it "should assign articles to @articles" do
Article.should_receive(:all).and_return([])
g... | 9c98ebb296ac649eaf67d4963cdbfa5a704e5038 | [
"Ruby"
] | 2 | Ruby | jcarrharris/fuzzycms | 716912ad79b7824d6b5a8e2df39356bb50cb3c3f | 11e8f449a442183a2d322128d243f348a7d1d78a |
refs/heads/master | <repo_name>samuel005005/practicaJS<file_sep>/js/main-login.js
window.addEventListener('load',function(){
let frmlogin = document.querySelector('#form-login');
frmlogin.addEventListener('submit',function(event){
event.preventDefault();
login(
()=>{
// alert('Datos guar... | 85b8c69929c3407d7da7a7e80ccfebce3ec16615 | [
"JavaScript"
] | 4 | JavaScript | samuel005005/practicaJS | e90708679fb8532d1ac8ed9957ce53699a03fa69 | e5bef8c9897a2ecbdc6388df1f5692633f0f82da |
refs/heads/master | <repo_name>concierge/stride<file_sep>/README.md
# Stride API tutorial
This repo is the companion code to the Stride tutorial:
1. https://developer.atlassian.com/cloud/stride/getting-started/
2. https://developer.atlassian.com/cloud/stride/learning/explore-refapp/
**node 8 ** This code uses the cool features of recent... | 8c540758ca8e4bef71583cbd7d852cb9d5da5ca0 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | concierge/stride | 04816cbbcc36c1780a13ea794592e3993f10f4c2 | 1911946c32b5276d4ca1d9ccfc875dabaa80b85d |
refs/heads/master | <file_sep>#!/usr/bin/env python
"""
Simple example that parametrizes a 2d joint-space path.
"""
from matplotlib import pyplot as plt
import numpy as np
import traj
# Test path
path = np.array([(0.0, 0.0), (1.0, 1.0), (1.5, 0.8), (-0.2, 0.4)])
path_function = traj.parameterize_path(path)
# Plot sampled points along the... | a712545b87bd7d4c9a27fa3b0a3d282f120ab871 | [
"Python"
] | 3 | Python | gavanderhoorn/trajectory_smoothing | c7bcb2eeb7398451c7ec169b082965cf74ff3b15 | 1386a0393a7995864e59591017cdafa99c179345 |
refs/heads/master | <repo_name>gorkuelo/backbonePOC<file_sep>/public/js/backbone/collections/libros.js
var LibrosCollection = Backbone.Collection.extend({
model: Libro,
url:'/libros'
});
var libros = new LibrosCollection();
<file_sep>/public/js/backbone/views/libreria.js
var Libreria = Backbone.View.extend({
el: '#app',
initializ... | e6a17cd3fc5a834ed57a68baed7626fd79ccb3f2 | [
"JavaScript"
] | 2 | JavaScript | gorkuelo/backbonePOC | 4ba9a121d746f5ea4a51bc123710ad9e2c2f5b32 | 493b4146c021634624e0b77c4d7678a7f1411d37 |
refs/heads/master | <file_sep># cpp_concentration
## 概要
大学1年生の課題で作成したC++のプログラムです。 ターミナル上で神経衰弱を遊べます。
<file_sep>#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <time.h>
const char suit_mark[] = {"HDSC"};
const char rank_mark[14][8] = {"", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "J", "Q", "K"};
int pl... | 9c2f8aa149d4f72c3ffe806426de17d0bce5a29b | [
"Markdown",
"C++"
] | 2 | Markdown | rescia/cpp_concentration | 4aaae3f38f66fedff63c891054c5af00987a998f | 224f7cfcb4d0a05952d58fbe4653e2473f391aca |
refs/heads/main | <repo_name>NguyenKietttt/Jumping-Square<file_sep>/Assets/Scripts/Utils/Common/EventsID.cs
public enum EventsID
{
// State
TITLE_STATE,
TITLE_TO_GAMEPLAY_STATE,
GAMEPLAY_STATE,
GAMEPLAY_TO_GAMEOVER_STATE,
GAMEOVER_STATE,
// Square
SHOW_SQUARE,
HIDE_SQUARE,
ALLOW_JUMP_SQUARE,
FIRST_JUMP_SQUARE,
FIRST_COLLID... | e68b30a208fec20148c172135e5a8b6dd86c571e | [
"Markdown",
"C#"
] | 32 | C# | NguyenKietttt/Jumping-Square | 5c4806891082b990ea30e441757963162f80863b | 255378e47b127573b0448d58c7912856956c474b |
refs/heads/main | <file_sep><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_242-release) on Fri Apr 09 17:01:51 CST 2021 -->
<title>S-Index</title>
<meta name="date" content="2021-04-09">
<link rel="stylesheet... | 54e08f440b65f8cce5a00e98ac6c0b34d8a5f0ff | [
"Markdown",
"Java",
"HTML"
] | 15 | HTML | CMPUT301W21T10/Project007 | 39ee1f6c93f73ca1162160bf53a6e8fd70b4dba9 | c9c04b6d9eead26e492a7c61ea781a28bbcf483d |
refs/heads/master | <repo_name>michael-lefebvre/draft-js-markdown-shortcuts-plugin<file_sep>/lib/components/Image/index.js
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _draftJs = require('draft-js');
function _interopReq... | d153a64f196fb29ae20772fb9d02a1aa80ba44c6 | [
"JavaScript"
] | 1 | JavaScript | michael-lefebvre/draft-js-markdown-shortcuts-plugin | da58f086fc281a05d091ef31b0c0ede0b06eabbc | 951413642da9ad858482c0439fac6a3183b4de89 |
refs/heads/main | <repo_name>akbasmustafa/SQL-Coursework-Week3<file_sep>/2-api/cyf-ecommerce-app/db/index.js
const { Pool } = require("pg");
const db = new Pool(); //get configs automatically from .env using require("dotenv").config();
module.exports = db;
| e17482c3154a393ab161d8817bbbb1eea16158b1 | [
"JavaScript"
] | 1 | JavaScript | akbasmustafa/SQL-Coursework-Week3 | 36ca530dc901f3d0286a855b6695657afd6e6e7b | 3efbdca73420ad05d082ac521cf8f58b3a558def |
refs/heads/main | <file_sep>export interface CurrencyList {
Date: string,
PreviousDate?: string,
Timestamp?: string,
Valute?: any
}
export interface CurrencyItem {
ID: string,
NumCode: string,
CharCode: string,
Nominal: number,
Name: string,
Value: number,
Previous: number
}
<file_sep>import {Injectable} from '@an... | 90dbb6f76446b9686a07c77b8568562c605a750d | [
"Markdown",
"TypeScript"
] | 5 | TypeScript | vadimnevinskiy/maxi-booking | b4fe3794271f381678de00d7714fe7c130ebffc0 | e9975940ab5e22e85d51fe4f8da95cf12c3acd76 |
refs/heads/master | <repo_name>arturoarevalo/eventia<file_sep>/source/lib/index.ts
//
// https://buildplease.com/pages/fpc-9/
// https://hackernoon.com/migrating-to-microservices-and-event-sourcing-the-dos-and-donts-195153c7487d
// http://www.ben-morris.com/designing-an-event-store-for-scalable-event-sourcing/
// https://es.slideshare.net... | ac786c523a9d83897c07cf5cef77e2fd9d667033 | [
"Markdown",
"TypeScript"
] | 2 | TypeScript | arturoarevalo/eventia | 031db9298e1a0222cbf8ae45eba8f6a98b63e02c | 38df31ac7ae98f669e295ac6db76e0ac3cfa8653 |
refs/heads/master | <file_sep>How to Run
==========
In the first time you run these scripts you must provide the id of the initial item as a command-line argument. Example:
$ ruby malvados.rb 1198
This will generate the XML file. In the next time you don't need it anymore:
$ ruby malvados.rb
Now rssifier.rb will try to get the next i... | 7a6d2fc4c94464329438d522b2b4f7adcfb738ac | [
"Text",
"Ruby"
] | 4 | Text | kacystengel1992/rssifier | 007335e9ee83334e8d536a8b983993e3cf008ca4 | 3b17d042399665e6b080b4575e0752a6257f05b6 |
refs/heads/master | <file_sep> </div>
<!-- footer -->
<div class="footer">
<div class="container">
<div class="row">
<div class="col-md-3">
<h3>Menu</h3>
<ul class="list-unstyled">
<?php
$qre1 = mysql_query("SELECT * FROM tbl_menu WHERE isdisplay=1 O... | 411e9dd3359dd62e5288cdc38b1eb34341fb67ca | [
"JavaScript",
"SQL",
"PHP"
] | 26 | PHP | lovechaudhary/pizza | edbe0e58761b014d2bc68793c923d0088dff7831 | 5739159343840267c806fcc405331c8b16220b24 |
refs/heads/master | <file_sep>typedef struct busstop {
char name[30];
int distance_from_prev;
struct busstop * next;
} BusStop;
typedef struct busstoplist {
int size;
BusStop * head;
} BusStopList;
void initializeBusStopList(BusStopList * list);
void appendBusStop(BusStopList * list, char name[], int distance_from_prev);
voi... | 19ea32aac8a571c1b191ef3ef71c687a42e771be | [
"C"
] | 5 | C | thesunghwan/cs101 | 4d9d94f9a2c168799837836f28222281b93ed2c5 | 989f2019d40677bdb4e0c98e1c845a3885274ce7 |
refs/heads/master | <file_sep>"use strict";
/* const qest = confirm('are u here?');
console.log(qest); */
//const answer = prompt("Вам есть 18","18");
//console.log(answer+5);
/* const answers = [];
answers[0] = prompt('Как ваше имя','');
answers[1] = prompt('Как ваша фамилия','');
answers[2] = prompt('Как сколько вам лет','');
//... | 318e1f85410c38b65c2ec6ab30a67e90b495c7c9 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | akimtom/jsTest | b774d1c98e4ee7d95177459b6db3a500bdf919e5 | 34d26667e26c09f152790a9cfd9004296d06bb32 |
refs/heads/main | <repo_name>owas1/simple-service-app<file_sep>/src/app/dynamic-account/dynamic-account.component.ts
import { Component, Input } from '@angular/core';
import { IAccount } from '../shared/account.interface';
import { AccountSerivce } from '../shared/accounts.service';
import { LoggingService } from '../shared/logging.serv... | 96338e526b1f687a3b322012c7d99c31380aec49 | [
"TypeScript"
] | 3 | TypeScript | owas1/simple-service-app | b1beeca661628014059de8dd5569430dee273668 | e22dfb2593e7a7db291391a082cbeffce6f52c72 |
refs/heads/master | <repo_name>F1LT3R/node-bdd-cookie-cutter<file_sep>/lib/my-lib.spec.js
const path = require('path')
// Import Chai so we can write nice syntax
const chai = require('chai')
// Import the lib to test
const myLib = require('./my-lib')
// Alias expect from Chai (we will use it a lot!)
const expect = chai.expect
// Setu... | 0fe2079f25bd952218810d0671b9f8dd00afe077 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | F1LT3R/node-bdd-cookie-cutter | 8b034d5410a4148413566b72cf50bc6c8794592d | 0b578aa36213a6aea42083e4d05f702ba9cbb26f |
refs/heads/main | <file_sep># mainSDK
Sample project
<file_sep>Pod::Spec.new do |s|
# 1
s.platform = :ios
s.ios.deployment_target = '12.0'
s.name = "MainSDK"
s.summary = "MainSDK is only for testing"
s.requires_arc = true
# 2
s.version = "0.1.0"
# 3
s.license = { :type => "MIT"}
# 4 - Replace with your name and e-mail address
s.aut... | 587be20cde3606d4ed6207d481935337609e64a0 | [
"Markdown",
"Ruby"
] | 2 | Markdown | pikxel/mainSDK | 8fbb0e1f9b6c0fa217d1b05b51863062cfb90970 | 04006eaf3fc10708d5bc6b4a593cfbbe452d4df8 |
refs/heads/master | <file_sep><?php
/*
* MediaWiki extension to force TOC on every page
* Installation instructions can be found on
* https://www.mediawiki.org/wiki/Extension:ForceTocOnEveryPage
*
* @author <EMAIL>
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @package MediaWikiExtensions
*/
if( ... | 6ebf7296e982bc16491c558f02dc92f02659ef2f | [
"PHP"
] | 1 | PHP | indrajithbandara/ForceTocOnEveryPage | 65b34a751e9dce91ffdfda0408eb1e29642fbd9e | 0fe1f7ede570aaaebeee0122015b0a575b72391a |
refs/heads/master | <file_sep><?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Form;
use Mail;
use User;
use Mailgun\Mailgun;
class ContactController extends Controller
{
public function index()
{
return view('/contact');
}
public function send(Request $request){
$title = $request->na... | 5fe2557866ab108975b30f0364a3cc00734bf47c | [
"PHP"
] | 2 | PHP | DinhoRyoh/portfolio | e80da6909691a5c8ebcc5bebd52823a8ec975369 | 8ed6aefbcbf0c7781af82ca1ec0a875e681f8f2b |
refs/heads/master | <file_sep>#!/bin/bash
flex moake.l
bison moake.y
g++ moake.tab.c -o moake_parser
./moake_parser < $1 > myout.txt
| 7abda067f948b4923f323b982b6cb2140abc7def | [
"Shell"
] | 1 | Shell | TheMoakMan/MFPL | f71ebdbac2900a452186c0a3eb9d6443616d5c66 | 3d845a30b410df23b6b595e3ae25ab5dc844e1ee |
refs/heads/main | <file_sep>using System;
using System.Collections.Generic;
namespace business
{
public class Company
{
public DateTime DateFounded { get; }
public string CompanyName { get; }
public List<Employee> Employees { get; set; }
public Company(string name, DateTime founded, List<Employe... | b3d36830d94875494684cc1ec76e8b557b805971 | [
"C#"
] | 2 | C# | BarryShovlin/Classes-Exercise | efb847e4ae49d2aff8aeafb9ebeee37e8d79b8a1 | 5dcab5a23758af806ebd5805b73ee15dd79d0b59 |
refs/heads/master | <file_sep>package application;
import Modelo.Datos;
import Modelo.Persona;
import Vista.VentanaController;
import javafx.application.Application;
import javafx.collections.ObservableList;
import javafx.fxml.FXMLLoader;
import javafx.stage.Stage;
import javafx.scene.Scene;
import javafx.scene.layout.AnchorPan... | ebfbbfb04af86339e0c88310e689a90a5df1d2f5 | [
"Java"
] | 1 | Java | dmg2112/AgendaFXv2 | b568d308edcb4187ce1064ff08cc1b506c18ddcb | c5e74ee01d7b58454cbc6d35a2d32b4b62af98c5 |
refs/heads/master | <file_sep>using System;
using System.Security.Cryptography.X509Certificates;
using SammysAuto.Models;
using System.Collections.Generic;
namespace SammysAuto.ViewModel
{
public class CarAndCustomerViewModel
{
public ApplicationUser UserObj { get; set; }
public IEnumerable<Car> Cars { get; set; }... | fb032688d8623d5d1343d80749ba6ddd575d832f | [
"C#"
] | 1 | C# | milojevicbdjordje/SammysAuto | 488c6f539ae722243ab1de19d7f36b3fc0697e9c | b0d0468ad7f37646e3e48dfaba2b6365b5269304 |
refs/heads/master | <file_sep># circuitbot anonymous player data
require(lattice)
require(utils)
require(Hmisc)
df = read.csv("cba.csv",header=TRUE)
visits <- nrow(df)
loaded <- sum(is.na(df$empty))
started <- sum(!is.na(df$empty))
# build a summary of the details
dfs = df[1,]
dfs <- dfs[,-which(colnames(df) %in%
c("days",... | 8a8646f7f2da59d40aa9958a77b342fd873fda82 | [
"R"
] | 2 | R | mrbcuda/circuitbot-anonymous | 3b664a78e73d15804e1f0fc1fd61bc4ab9acb4af | 3d3b8e2ed9cd35f0e4eb3b056f7eb29d4330246e |
refs/heads/master | <repo_name>divyanshk7/RestaurantBillingSystem<file_sep>/README.md
# RestaurantBillingSystem
It's a billing system which can be used in restaurants for ordering particular items.

;
var lblNuevoTicket = $('#lblNuevoTicket')
socket.on('connect', function() {
console.log('Conectado al servidor');
});
socket.on('disconnect', function() {
console.log('El servidor se ha de... | b1c890e559118a81fedc482ad3a2fb8249848ff4 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | ddciN/node-colas | 987522376e39d9008dcad6f74ac4c9772b96446e | 95e17d5fc0d6a70f91e9c155c0a498ce1faea29e |
refs/heads/master | <repo_name>EnriqueVid/PracticaFV<file_sep>/nbproject/Makefile-Release.mk
#
# Generated Makefile - do not edit!
#
# Edit the Makefile in the project folder instead (../Makefile). Each target
# has a -pre and a -post target defined where you can add customized code.
#
# This makefile implements configuration specific mac... | 131645a7fd417253aaf4b3d52c2c3532ccceac20 | [
"Makefile",
"C++"
] | 80 | Makefile | EnriqueVid/PracticaFV | ad55e510d2063266071f5fbe8e223411ca34d96f | 90764aa9e3d19dfc36fd23dcdb7320a688a58ff7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.