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>import React from 'react'; import PropTypes from 'prop-types'; import { withStyles } from '@material-ui/core/styles'; import Button from '@material-ui/core/Button'; import Tooltip from '@material-ui/core/Tooltip'; // button to trigger search in browser class SearchButton extends React.Component { state = {...
e2270f34ecd48e9b6c59bf8348d6ceb689b5e1f6
[ "JavaScript" ]
19
JavaScript
btepe/literature-browser
a1b4c63591bee45e26e5e848db49bb6d35a7baa8
7c2b82f29ad62a39726d087c19808d09b55f110e
refs/heads/master
<file_sep>var sdoc = sdoc + 1; console.log("TC.JS +") /*--------------------------------------*/ var TC1; var TC2; var TC3; var TC4; var TC5;<file_sep>var sdoc = sdoc + 1; console.log("Logout.JS +") /*--------------------------------------*/ function onLogout(){ $(".LoginPanel").show(2000); $(".MainPanel").hide(2000...
ae3a80eba3b409e412df0e3b6c44e513ae4f6c35
[ "JavaScript", "Markdown" ]
12
JavaScript
VOcchiogrosso/ATMOS
967a4896d127b66c42314b7c58f3c19ec6f630a8
e06aeb0ab5013a95500dd625b1bd9b77f41023d1
refs/heads/master
<repo_name>qwerhacks/QWERHacks2022<file_sep>/src/components/Resources.js import React from "react"; function Resources(props) { return ( <div> <img src={require("../img/mlh-trust-badge-2021-white.png")} alt="mlh badge" class="mlh" width="120px" /> <h1>RESOURCES</h1> <div class="qanda">...
c5a0f769a3da8da1c4cf62bdf42c925a0aaf246c
[ "JavaScript", "Markdown" ]
8
JavaScript
qwerhacks/QWERHacks2022
126c185b0a947abdddf35868e3753562f23ffed8
b4e290b9734edc07a01868f9a3ce7c1377e1018e
refs/heads/master
<file_sep>package com.project.nra; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.AsyncTask; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter...
3346d1f2b47502775259448c895f24859fc6ff67
[ "Java", "Python", "Gradle" ]
20
Java
mle8109/repo1
5fc4b68bd6442aaccb81c40505e4e77de387ca50
9088c7453979c7d17b9e596ae689f844475a7aa8
refs/heads/master
<repo_name>paweljankowski92/task-synapsi<file_sep>/src/components/Cypher.js import React from 'react'; const Cypher = (props) => { const cipherCode = 3; function encode (char) { const letterCode = char.charCodeAt(0); const codedChar = String.fromCharCode(letterCode + cipherCode) return codedChar } function de...
83f6b8ea460222fb1450eae89a368fbac043fd61
[ "JavaScript", "Markdown" ]
6
JavaScript
paweljankowski92/task-synapsi
4e2920cc82ae9c5794c27d5f6716a930ed4fbbb8
f3a34a1ef87e7c9159447d4719ac74d2fd94611f
refs/heads/master
<file_sep>import React, { Component } from 'react' import {Navbar,Nav} from 'react-bootstrap'; import {NavLink} from 'react-router-dom'; import './Header.scss' export default class Header extends Component { render() { return ( <Navbar bg="primary" variant="dark" className=""> <Navbar.Brand c...
ac80541b1e91ae4afb2bb31f91ae49eb860dbcb9
[ "JavaScript" ]
1
JavaScript
gsrrinathreddy/kanbanboard-react-springboot
ceff07d2a0232a0dfc0c1e8dcf16745f6f054c1e
df936586c08020a356b8ccae41d8f068507f0d0d
refs/heads/master
<file_sep>// // Consst.h // MAX+ // // Created by tarena on 16/8/10. // Copyright © 2016年 tarena. All rights reserved. // #ifndef Consst_h #define Consst_h //屏幕 宽 高 #define kMainWindowWidth [UIScreen mainScreen].bounds.size.width #define kMainWindowHeight [UIScreen mainScreen].bounds.size.height //RGBA Color...
1b91570ca8f6d27fc129f6211f96376d9f789417
[ "C", "Ruby" ]
3
C
sChao001/Zahuopu
f5ace20df3236f5a5515322150bc005b296dd29c
b645b1daed1855e5bd10975aa75cd606711dc777
refs/heads/master
<file_sep>from io import StringIO __author__ = 'zz' from email.parser import Parser def parsestr(self, text, headersonly=False): text = text.encode('latin1').decode() return self.parse(StringIO(text), headersonly=headersonly) def make_fix_encoding(): Parser.parsestr = parsestr <file_sep>__author__ = '...
6fbfe759088bfdfedbf596aceae5c7450eb0c6e8
[ "Markdown", "Python" ]
6
Python
FrederickPullen/fix-headers-parse
03f9b97f0888ab4692edaaac4be1bc3feb380102
fdb022d38cb60d8a651202aa7983e97643ca77b9
refs/heads/master
<file_sep>/*! * Copyright 2016, nju33 * Released under the MIT License * https://github.com/totora0155/maru.js */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.Maru=e()}(this,function(){"use strict"; // var box; function t(t)...
cb2b1929c31b57ccafa40820b26f5380900540e2
[ "JavaScript", "Markdown" ]
4
JavaScript
totora0155/maru.js
a72e8f8a78733692119c82dfb2e228d8ca2b19dd
3e6f2953d72d4e716650c95d8760d21d38528c11
refs/heads/master
<file_sep>from django.db import models class cinema(models.Model): nama = models.CharField('Nama', max_length=27) alamat = models.CharField('Alamat', max_length=100) kontak = models.IntegerField() def __str__(self): return self.nama def __iter__(self): return iter([self.nama, self.alamat, self.kontak ...
4eec6e1c44e37da4c6e0704094ee3345920b30e5
[ "Python" ]
7
Python
purwoajifa/movieweb
91f759570c2b4684b44510d20804c7f7ff8493b1
eb8c0fcd179aec47cbf8171f1375885291d09a43
refs/heads/master
<repo_name>markusbkoch/balancer-apy<file_sep>/bal_apy.py import pandas as pd import requests import json from web3 import Web3 import os import sys THEGRAPH_URL = 'https://api.thegraph.com/subgraphs/name/balancer-labs/balancer' try: web3_provider = os.environ['ENDPOINT_URL'] w3 = Web3(Web3.WebsocketProvider(web...
231b7d409c85e80c73eec75f5afd6c75f99d8545
[ "Markdown", "Python" ]
3
Python
markusbkoch/balancer-apy
0c51d25c3e74585d69c12d510a33cdd858a5811d
122c99fa4c2644961b265606454414d95f287bc4
refs/heads/master
<repo_name>2422002753/8.16<file_sep>/src/user1/mutations-types.js // user1/mutations-types.js // 把mutations事件名定义为常量 防止项目过大的时候大家的命名冲突 // eslint-disable-next-line import/prefer-default-export export const MADD = 'MADD'; // 点击加的事件 <file_sep>/src/api/index.js // api/index.js // eslint-disable-next-line import/no-cycle imp...
8125bc126b3cb9fd4acff20af5510dd2e616fc7f
[ "JavaScript", "Markdown", "Shell" ]
19
JavaScript
2422002753/8.16
ba44fbacc62691c8cc2cb1be3cc359dd40f79a9d
f774a0ea8b07255d497122d461d50980929f23b1
refs/heads/main
<repo_name>jungle8884/community<file_sep>/src/main/java/tech/turl/community/controller/LikeController.java package tech.turl.community.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.redis.core.RedisTemplate; import org.springframework.stereotype.Controller; i...
2d1b0441a9fafb534c6dc8b573e50894bf57edee
[ "Markdown", "Java" ]
15
Java
jungle8884/community
b697457b81c1cf3bde15e82e98fea997444c5ccb
10b75e208e63b9c9ae1691bb18f1e3d03784a5ce
refs/heads/master
<file_sep>## Kedge Plugin for Helm #### Using the plugin - 1. Install the plugin `helm plugin install https://github.com/kedgeproject/kedge-helm-plugin.git` 2. Package the chart using `helm kedge package <path to chart>` An example Kedge application is located at examples/wordpress/kedge/ Run, `...
f29a6b22607ebc43242e965e03b75938134d818d
[ "Markdown", "Text", "Shell" ]
4
Markdown
kedgeproject/kedge-helm-plugin
766fdb20f0e5a05b3d01f0427f3e8b99ccc88cf5
c8bae2f4472d6c3664233534e71c47ca7647f271
refs/heads/master
<file_sep>package ir.saafta.repo; import ir.saafta.model.Feedback; import ir.saafta.model.User; import org.springframework.data.repository.PagingAndSortingRepository; /** * Created by reza on 11/14/16. */ public interface FeedbackRepository extends PagingAndSortingRepository<Feedback, Long> { void deleteAllByUs...
986b71b1da7ed14a7666f384439c664f19a34127
[ "SQL", "JavaScript", "Markdown", "INI", "Gradle", "Java" ]
109
Java
rkeshmir/sbazaar
56d11650481349e4e1ce65e949a21c86f4d5f01a
fd1117f57436615fc432ab7c73a64a3d96e00601
HEAD
<file_sep>package ficha4; import java.util.Map; import java.util.TreeMap; public class Gambiarra { // atributos private int numLampadas; private boolean temEnergia; // acessores public int getNumLampadas() { return numLampadas; } public void setNumLampadas(int numLampadas) { this.numLam...
04b75c1b99937d3988dbbf6b50c52ff88fb80f59
[ "Java" ]
2
Java
JakkoPhD/aulasPOO-ficha4
7cea7cd81ad9c5fa2b2fe47ec341c000a719d967
9139ecf8b6e6e4d27654925b3a0c1f1a1c77dc8e
refs/heads/master
<file_sep>const mongoose = require('mongoose'); const smoothieSchema = mongoose.Schema({ title: { type: String, required: false }, ingredients: [ {nom: String, quantity: String}, ], features: { cost: String , prepareTime: String }, advice: String , description: Strin...
2f1a2117d9caa629859023dbf69c1d0bfe7531eb
[ "JavaScript" ]
2
JavaScript
nguyenmk/smoothie
afed06bc79a4a5fa24df91096868e50173144d5b
760327f8eefdc9cd3ea6b53fc74702f9d9e16bd5
refs/heads/main
<file_sep>FROM golang:1.19-alpine as builder COPY main.go . ENV CGO_ENABLED=0 RUN go build -o /app main.go FROM alpine RUN apk add traceroute bind-tools curl LABEL maintainer="github.com/bukowa" # Define GOTRACEBACK to mark this container as using the Go language runtime # for `skaffold debug` (https://skaffold.dev/d...
76bd2c77d96e64e7f7ee2241d2461871710c0353
[ "Markdown", "Makefile", "Go", "Go Module", "Dockerfile", "Shell" ]
9
Dockerfile
bukowa/golang-http-headers
37a857038f58783c7b6d11e395f88f2fc72269dd
d946abf5afa5454412b9af5d9c294ed173695a8a
refs/heads/master
<repo_name>tom3197111/RWD_pages<file_sep>/index.php <!DOCTYPE html> <html lang="zh-Hant-TW"> <?php include('views/layouts/common.php'); ?> <body class="terms" id="page-top " > <!-- Navigation--> <?php include('views/navbar/nav_common.php'); ?> <!-- Masthead--> <?php include('views/home/movie.php')...
978ff873742ebcd2b33361b11236db0d0a354f2a
[ "JavaScript", "PHP" ]
3
PHP
tom3197111/RWD_pages
fb8c9a0c07f2eb8c89a943ae1dc92704a5654c6a
bb1318f3ac6a0513f55707f66c69416153f9cbbe
refs/heads/main
<file_sep>package Fox_game; import java.awt.Color; import java.awt.Font; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Image; import java.util.ArrayList; import javax.swing.ImageIcon; import javax.swing.JPanel; import Fox_audio.Audio; import Fox_sprite.Alien; import Fox_sprite.Calcul; import...
4961a7a2587d135f3000cd89e50edbefe5fca0bd
[ "Markdown", "Java" ]
7
Java
NightFox26/math_invasions
8e7504fc545eea79e6fdebb52ff899ec18c9ffe9
2107b84d6c0e3330bb217685b8165df38f42fab5
HEAD
<file_sep>package ua.nure.tvshowmusic.db.dao.vote; import org.springframework.stereotype.Repository; import ua.nure.tvshowmusic.db.dao.AbstractCrudDao; import ua.nure.tvshowmusic.model.Vote; @Repository public class DefaultVoteDao extends AbstractCrudDao<Vote> { public DefaultVoteDao() { super("vote"); ...
d8b453f9c3442c11d226f5e690fa1091f988041e
[ "Java", "INI" ]
18
Java
MaximRad/TvShowMusic
253863d31c6ecceda0b32f848e02fdac35521d15
9a584ecb493140254700f9291da9b650a9364b08
refs/heads/main
<repo_name>Thomas-roulland/CRUD-php<file_sep>/php/update.php <?php require_once "../BDD/db.php"; require_once "function.php"; include "../StructurePage/header.php"; $page=$_GET['page']; if($page==1) { if(isset($_POST['id'])) { $id = $_POST['id']; $sql=Update("Organization",$_POST); $db=connect('gr...
052ea9eae1bb9954a1619de1ca14672d19e15d3f
[ "Markdown", "PHP" ]
6
PHP
Thomas-roulland/CRUD-php
9f5b117af34dd74fb029ee3b165076e5dbdf0525
416a6ac32252ee31a5b351f4a9fe7c2585f7914d
refs/heads/master
<repo_name>princenishchal/tllr<file_sep>/src/pages/transdetail/transdetail.ts import { Component, Input, ViewChild, ElementRef, Renderer2, NgZone, ChangeDetectorRef} from '@angular/core'; import { NavController, NavParams, AlertController, Platform, Events } from 'ionic-angular'; /** * import pages here */ import {...
b62c5cfa05ab31b367bacbcaee47e1a0436314fe
[ "Markdown", "TypeScript" ]
13
TypeScript
princenishchal/tllr
df5c42a5058f3001675fe45bc180d4724a940994
0af82966da331b7d9950e5e5c0965f60cfeb54fd
refs/heads/master
<repo_name>BI/react-step-wizard<file_sep>/src/components/slideReel.js var React = require('react'); var PropTypes = require('prop-types'); var createReactClass = require('create-react-class'); require('../slideReelStyles.scss'); var SlideReel = createReactClass({ getInitialState: function() { return { }; ...
ca5d0d503b7ce7bea17d8b5398b99998562d1dde
[ "JavaScript", "Markdown" ]
4
JavaScript
BI/react-step-wizard
ee5fc6ac6d813990ac751d0065c245d3b2a95c1e
f1340729fd43010fc026f3741d5b39bec407946e
refs/heads/master
<repo_name>PSGXerus/volumio-plugins<file_sep>/plugins/miscellanea/ambx/index.js 'use strict'; var libQ = require('kew'); var fs=require('fs-extra'); var config = new (require('v-conf'))(); var exec = require('child_process').exec; var execSync = require('child_process').execSync; module.exports = ambx; function ambx...
ce4b99c30645f253d34982cf1d1b4929842b5de9
[ "JavaScript", "Python", "Shell" ]
4
JavaScript
PSGXerus/volumio-plugins
7fb38b07878768f3dab4fae7e509ffeb0e2b661a
fe52929957158187458127a1685989caf578a398
refs/heads/master
<file_sep>function swap(arr, index) { var oldLeft = arr[index]; arr[index] = arr[index + 1]; arr[index + 1] = oldLeft; return arr; } function bubbleSort(array) { var count = 1; while (count) { count = 0; for (var i = 0; i < array.length - 1; i++) { if (array[i] > array [i+1]) { arra...
953c5923500f0a8072af79dc59a7190703d7f0f6
[ "JavaScript", "Markdown" ]
5
JavaScript
avillr/sorting
3d9e8e7b416a078fa89312765b2df2c01d3672de
2ab880e552681c4c04fe737cc94a0438fa059bd2
refs/heads/master
<repo_name>davenporta/live_graphs<file_sep>/README.md # live_graphs Live graph dashboard for MASA testing ----------------------- ### Plot Configuration Easily configurable with graph_settings.csv file Each row is a separate plots Add as many as you'd like Column | Function ------ | -------- type | not yet implement...
4b1e54887b072ad965e1cb980f385e8634df955d
[ "Markdown", "Python" ]
2
Markdown
davenporta/live_graphs
b192f5273976b18a0c2fdefa0faf0b0c1ef67b07
7c64d3c3e6508f972426eda0816dca3833c068f3
refs/heads/master
<repo_name>vyasnikul/GoPrac<file_sep>/examples/Hello/main.go package main import ( "fmt" ) func linearSearch(arr []int, key int) bool { for i, val := range arr { if val == key { fmt.Println(i, ":", val) return true } } return false } func binarySearch(arr []int, key int) bool { min := 0 max := len(ar...
56cf91e712d6299e8802af4cc963819ed38c3283
[ "Go" ]
2
Go
vyasnikul/GoPrac
4dabaa8fc5cf361550021b42859b8ba3ac647664
e1680d9ee79d94821fab9b1b63ed3c95246e9601
refs/heads/master
<file_sep>$:.unshift File.expand_path('../lib', __FILE__) require 'eventmachine' require 'json' require 'ayaneru' run Ayaneru::Server EM::defer do yesterday = Time.now.day - 1 loop do today = Time.now.day if today != yesterday registered_tags = Ayaneru.redis.lrange 'tags', 0, -1 registered_ta...
640508eb4b4c5f972634e1a79655c2ede538f556
[ "Ruby", "Dockerfile" ]
5
Ruby
Miutaku/autots
c3dcf0527255087ea0e5b050eef51ad8cb3ffc04
f47c887d5cc51d755463caddef9eb3d5c78b50cd
refs/heads/master
<repo_name>bugra/karavela<file_sep>/upgrade.sh pip install caravel --upgrade caravel db upgrade <file_sep>/ubuntu.sh sudo apt-get install build-essential libssl-dev libffi-dev python-dev python-pip sudo pip install numpy sudo pip install caravel <file_sep>/docker.sh docker rm -f caravel docker run --detach --name carav...
312a503794e5cf789a7783c91bd19e3ae011eb3c
[ "Shell" ]
3
Shell
bugra/karavela
ee8682fe0311424843dbd5c7cb59fab5c47a033f
e5fee57d3ddc88e2c727d590134b423b08682988
refs/heads/master
<file_sep>function basicTeenager(age) {if (age>=13&&age<=19) {return 'You are a teenager!';} } function teenager(age) {if (age>=13&&age<=19) {return 'You are a teenager!';} else {return 'You are not a teenager';} } function ageChecker(age) {if (age>=13&&age<=19) {return 'You are a teenager!';} else if(age<=12) {ret...
32e2e819cc4a577d4009116a0f948d4a3af9d103
[ "JavaScript" ]
1
JavaScript
NicolaasJ/skills-based-javascript-intro-to-flow-control-js-intro-000
ec56af0908d5ea5cc0b68062c3b01508df1c9068
8fc5cbd46900c12bf4a05371f57df1723e4920c7
refs/heads/master
<file_sep>plotRoute <- function(graph, nodes, ...) { lines(V(graph)[nodes]$x, V(graph)[nodes]$y, ...) } <file_sep>makeNest <- function(n) { ### generate a bunch of SpatialLines on (0,1) square xy = cbind(runif(n), runif(n), runif(n), runif(n)) lines = Lines(apply(xy, 1, function(z) { Line(rbind(...
db7ffaa6035336ac55548a7ea05d6ad5386973a8
[ "Markdown", "R", "RMarkdown" ]
10
R
barryrowlingson/geoutils
700865e9d103f63f39bebfe52ed6523754e176e7
2aeae86d3383ac8dcdc04ca5c79ee1bff9b4dcf4
refs/heads/master
<file_sep>package com.opensource.androidrepository.ui.custom; import android.app.Activity; import android.graphics.drawable.ColorDrawable; import android.view.LayoutInflater; import android.view.View; import android.widget.PopupWindow; import android.widget.RelativeLayout; import com.opensource.androidrepository.R; ...
c1b50cf60976f6d4066dab91c7ccb3dde0a12f6d
[ "Markdown", "Java" ]
5
Java
xiaoxiaoqingyi/mine-android-repository
91263be16da00369205f08e802db02b74d466d47
f797b168ce461e5647d58919cfd096ca1f5e0fdf
refs/heads/master
<file_sep>$( window ).scroll(function() { var wScroll = $(this).scrollTop(); $('.logo').css({ 'transform' : 'translate(0px, '+ wScroll /2.5+'%)' }) if(wScroll > $('.beer').offset().top - 600){ $('.beer-bottle').each(function(){ $('.beer-bottle').addClass('is-showing'); }) } });
1930a349accba819539470d2625da8142665ac0a
[ "JavaScript" ]
1
JavaScript
jk21635/GroveCityBrewing
519b32e4af8c1c131203525abf3208e09b7dd0a3
066011b3f61d8d2c22b17d1e91e59e7585ea4c9a
refs/heads/master
<repo_name>aml007/ciblue<file_sep>/application/views/news/success.php <h2>The record was created successfully!</h2>
a6cf64da918d3b9a14b6bb1568b0e1ea2de18518
[ "PHP" ]
1
PHP
aml007/ciblue
ce73719c8ac7c4d08ce86dabeb30c61ab085e2e3
81fa302bcf4a4f8660c3ec6685adb497bed7b023
refs/heads/master
<repo_name>bellaheidii/Grace-Hoper<file_sep>/client/build/precache-manifest.c0d6e1b47873705f6a5683506b6a9c32.js self.__precacheManifest = [ { "revision": "42ac5946195a7306e2a5", "url": "/static/js/runtime~main.a8a9905a.js" }, { "revision": "9597a14fe210b2f57a0a", "url": "/static/js/main.0e61a698.c...
5920ae1073b122d1bc177ebb3560d526bca9ad45
[ "JavaScript" ]
6
JavaScript
bellaheidii/Grace-Hoper
de6fd020796ec6eb8c45b1b0ffee111a82f57baa
a55750ce4b9c7941841378e2fcf12c438e22062b
refs/heads/master
<repo_name>SibeleNepomuceno/Projeto-2<file_sep>/src/pi/PI.java /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package pi; import com.sun.org.apache.bcel.internal.generic.SWIT...
42e809cb0d67325a87ebb17ce24da06cb547962c
[ "Java" ]
1
Java
SibeleNepomuceno/Projeto-2
404f985df45cdbed4677567eeae5149023046858
3ccfe29d24471d4d18a0b8fac569e10c81d7e331
refs/heads/master
<file_sep>#!/bin/bash if [[ $UID != 0 ]]; then echo "Please run this script with sudo:" echo "sudo $0 $*" exit 1 fi echo -e "Please specify the hostname for this machine: " read hname echo -e "And the domain? " read domain echo -e "Adding hostname to /etc/hostname... \n" hostnamectl set-hostname "$hnam...
0b9e2ad10ece100342c4ab4f0780a6fc579fece5
[ "Markdown", "Shell" ]
4
Shell
alexfornuto/bash-setup
148650d9bde6aabd7f5ebfe36a6da5c75fb8a05b
9e3b08c51939ded09641d14bf269f1cb84622e8a
refs/heads/master
<repo_name>UniqueFlyingCat/jd_pc<file_sep>/js/index.js // api start var log = function() { console.log.apply(console, arguments) } var e = function(selector) { return document.querySelector(selector) } var es = function(selector) { return document.querySelectorAll(selector) } var bindEle = function(element,...
04197b43d488d4d24475ee7e0e8524c6b50fc018
[ "JavaScript", "Markdown" ]
2
JavaScript
UniqueFlyingCat/jd_pc
0903c619d47e68fc365e2d6f2679e6fb6bc6347e
aac19ab389fbe9f089f1615d9640145766e73733
refs/heads/master
<repo_name>cperera/sokoban<file_sep>/sokoban.py #! /usr/local/bin/python3 import copy import os from unittest.mock import MagicMock # We decided to use letters for input class Sokoboard: moves = { "n": [-1,0], "s": [1,0], "e": [0,1], "w": [0,-1] } def __init...
478cb9990d21456af6eab16a63486f84229b37a5
[ "Python" ]
1
Python
cperera/sokoban
4bc20e23b38aa135b3c9aeb15b44707dbf36c53c
0370c0c13b2b09f3ec2b0166671cc9af155210ff
refs/heads/master
<file_sep>import React from 'react'; import MyEditor from '../components/Editor'; import axios from 'axios'; import Alert from 'react-s-alert'; import { Link } from 'react-router-dom'; import { Editor, EditorState, convertToRaw, convertFromRaw } from 'draft-js'; import 'react-s-alert/dist/s-alert-default.css'; import '...
a801c4be6f8dd30959a5797154b43f89212c8a3b
[ "JavaScript", "Markdown" ]
2
JavaScript
carokun/collaborative-text-editor
be2e12c1a7f2fa018b353ca2fe071511a533cf8a
185f11496c780ca5b3f120de336b69797daa62db
refs/heads/master
<file_sep>import os from global_settings import PROJECT_PATH, LOGGING # Uncomment to put the application in non-debug mode. This is useful # for testing error handling and messages. # DEBUG = False # TEMPLATE_DEBUG = DEBUG # Override this to match the application endpoint # FORCE_SCRIPT_NAME = '' DATABASES = { '...
5a84a343a8b2f37be50af2543991e1f29de5965f
[ "Python", "Text", "INI" ]
11
Python
glabilloy/fabrydb
c4880eee70378c3d4fb9d334a41d7e2b6c7a4f3a
bc1da1046b7849052c78133835dfa79ca98eeabf
refs/heads/master
<repo_name>jxunix/utility<file_sep>/Makefile # Makefile .PHONY: pull push config install ROOT = $(shell dirname $(abspath $(lastword $(MAKEFILE_LIST)))) all: push pull: git pull origin master push: git add -A git commit -m "update" git push origin master config: pull ln -sf ${ROOT}/.bash_aliases ~/.bash_al...
74b3bff7298979ca60a9305cfef83421b6096604
[ "Markdown", "Makefile", "Shell" ]
4
Makefile
jxunix/utility
2e87d3d996290985372154c107e46478e1816ff5
4d3ddefe2a9df83c8d5dc3d889c2dc299e847895
refs/heads/master
<file_sep>package com.cr_wd.jenkins.plugins.wordpressrepo; import hudson.Extension; import hudson.FilePath; import hudson.Launcher; import hudson.model.AbstractBuild; import hudson.model.AbstractProject; import hudson.model.BuildListener; import hudson.tasks.BuildStepDescriptor; import hudson.tasks.Builder; import hud...
f2a18f6388e1b2ecbfa55d0eb4a6a5864567d2da
[ "Java" ]
2
Java
croemmich/Jenkins-Wordpress-Builder
ec586c9e287c6ac94ad86a89c4b632600679e8c8
fc62d7f6ef7d1183fae31f0f18c3b1a99959bc7f
refs/heads/master
<repo_name>manishyadav436/MyFirstRepo<file_sep>/vendor/ernysans/laraworld/tests/TimeZonesTest.php <?php use ErnySans\Laraworld\Models\TimeZones; use Illuminate\Support\Facades\Artisan; use Illuminate\Support\Facades\File; use Illuminate\Support\Facades\Schema; class TimeZonesTest extends AppTestCase { /** * Check...
775ac7a4d7d35bafdb0d651fbf076043e1b19cf7
[ "Markdown", "PHP" ]
13
PHP
manishyadav436/MyFirstRepo
41feb33f474ebcf0a03c53bb59a5930d8eb11d7d
a73ea63e839f3208623b0d1262856b32472d823d
refs/heads/master
<file_sep>import {Component, OnInit} from '@angular/core'; import * as cytoscape from 'cytoscape'; import {FormControl, FormGroup} from '@angular/forms'; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.scss'] }) export class AppComponent implements OnInit { ...
6513da4ee0ce988187fc1668fbbcb43bc6a9c3b9
[ "TypeScript" ]
1
TypeScript
matsta25/depthFirstSearch
284b630ba6690716beac727dfd7af6238d4d800d
fe7eedf5a0595e8031a8aed506bc67cf607eb09d
refs/heads/master
<file_sep>first_number=1 second_number=2 sum = first_number+second_number difference = first_number-second_number product = first_number*second_number quotient = first_number/second_number
d144edf7f766e10550e596d77447cded701b9467
[ "Ruby" ]
1
Ruby
maddeno/programming-univbasics-3-labs-with-tdd-chi01-seng-ft-010620
0cfd8f349735fdc1f45fc2e7a1ec58606ee62348
303326becd7a5f294e65ffdc4cad15de5dce954b
refs/heads/master
<file_sep>using System.Collections; using System.Collections.Generic; using UnityEngine; /*By <NAME>*/ public class HealthPotion : BaseAbilityScript { [SerializeField] int amount; //Restore health to the player based on the amount the potion will give public override void UseAbility() { ...
19d0490474b0ff1f002f2b969cea53895234d512
[ "C#" ]
16
C#
regrets123/Winner-of-SGA
3da5cb60ec63a7c91949d97a02e0a4580c26f898
260d255009d963c01d6927cd3a5eed65fba129de
refs/heads/main
<repo_name>LeQuangVinh0201/VaccineProject<file_sep>/QLVaccine/src/main/java/com/softech/FrameApp/ui/User/Home.java /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.softech....
87661b383ac3f0eb1386d863bdbb5abf903a676b
[ "Markdown", "Java", "Maven POM" ]
9
Java
LeQuangVinh0201/VaccineProject
f08c0a8bc834a73a91c2939dd7f1e263105d8b86
275bd6f49aa148504b6a30678f60dc9067523625
refs/heads/master
<repo_name>Smokbomb/videolist<file_sep>/README.md ## Installation Step 1 docker build -t videolist . Step 2 docker run -d -p 3000:3000 videolist <file_sep>/src/socket/events/events.gateway.ts import { SubscribeMessage, WebSocketGateway, WebSocketServer, WsResponse, } from '@nestjs/websockets'; imp...
813b9cbf34e91228c82410d15c80d7c9c038877f
[ "Markdown", "TypeScript" ]
3
Markdown
Smokbomb/videolist
1b2a2a2946fe8274705a8a9109a64f29ef41f691
8aa31fff417431befc53f4eb303e6185d2ad611d
refs/heads/main
<repo_name>Kyle-Xu001/ROS-Practice<file_sep>/assignment1/src/turtle_circle.cpp #include <ros/ros.h> #include <turtlesim/Pose.h> #include <geometry_msgs/Twist.h> //callback function void chatterCallback(const turtlesim::Pose& msg){ ROS_INFO("Turtle is at [%f, %f, %f]", (float)(msg.x), (float)(msg.y), (float)(msg.th...
c5feefe425059aa7df24f095a8b04c3143f67c17
[ "Markdown", "C++" ]
7
C++
Kyle-Xu001/ROS-Practice
6c2cc550dcdf408828896427daa65d91c80f25d6
ced976c08bd2a6aa3343b35b68eda7994248fb23
refs/heads/main
<file_sep>package com.leanmentors.goals import com.leanmentors.goals.controllers.TaskController import com.leanmentors.goals.data.Tasks import org.junit.jupiter.api.Test import reactor.test.StepVerifier import java.time.LocalDate class TaskServiceTest { @Test fun testController() { StepVerifier.create...
4be82ee630b21ffc61103fd53fb9e5ef3b56b40e
[ "Kotlin", "Gradle" ]
5
Kotlin
khurramsyed/task-service
13c03f5cf7c34c14294e6bfba63a61083a301582
2e184c05e45ff3a339324667c7b3e0f3e1feae2f
refs/heads/master
<file_sep>using System; using System.Collections.Generic; using System.Diagnostics.SymbolStore; using System.Linq; using System.Net.NetworkInformation; using System.Threading.Tasks; namespace C_Sharp_Challenge_Skeleton.Answers { public class Question1 { public static int Answer(int[] portfolios) ...
185827125a17e5de0d5745d7651fd0f0e9631ea2
[ "C#" ]
6
C#
ashmcmn/csharp-skeleton
aec0b15bf67f1d9995bebb992dc008db14d8806f
840004c3ab3bdd1fdeb8db8913c6a81b9cbac273
refs/heads/master
<file_sep> document.getElementById('search-btn').addEventListener('click',function(){ const searchBar = document.getElementById('search-bar').value; fetch (`https://api.lyrics.ovh/suggest/${searchBar}`) .then(res=>res.json()) .then ( data =>{ // console.log(data.data.id) ...
a0979b9b35c7b9ff240d12d6be47ae256719f670
[ "JavaScript" ]
1
JavaScript
MdGolamJakaria/hard-rock-master
028e0a29ccefd7d02485dd8e97800758109eed56
f0abd2cab2761c2da1adffeada11d4c76ae056d1
refs/heads/master
<repo_name>kaikuenne/rails-task-manager<file_sep>/config/routes.rb Rails.application.routes.draw do # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html #index all tasks get 'tasks', to: 'tasks#index', as: :index #show one task get 'tasks/:id', to: 'tasks#show'...
e46d61243bba754d5e99c21c84953a5127909d7d
[ "Ruby" ]
1
Ruby
kaikuenne/rails-task-manager
ddb67987184a69a1cac3b2695792fce49a8aca9a
c59aad88019d902f8a5621d70d139f4dad122115
refs/heads/master
<repo_name>jesscjess/TDD-final-project<file_sep>/test/routes/create-video-test.js // Step 1 create the default files for this level for testing // Step 2 have examples show what you can do with app to make simple tests // // Can explain this in docs // // Create easy way to add tests that provide specific information...
fc0d2268683499fa5cdc9db93bb169d9fedee3fb
[ "JavaScript", "Markdown" ]
7
JavaScript
jesscjess/TDD-final-project
9d471749f28407a1160b1a3b22c9a96405297605
0ab131183208f8193503555ad671989fe16fede2
refs/heads/master
<repo_name>cj814/YiKaTong<file_sep>/src/mock/caipu.js // 引入mockjs const Mock = require('mockjs'); // 获取 mock.Random 对象 const Random = Mock.Random; // 菜谱列表 const caiPuList = () => { let caiPuList = []; for(let i = 0; i < 10; i++) { caiPuList.push({ caiPuName: Random.csentence(4, 6), ...
4f77de5b02223c7a92195389ea62e8cbc852a516
[ "JavaScript", "Markdown" ]
8
JavaScript
cj814/YiKaTong
7b4b8962b4f0e93d5b05724bacd9a40a7956f60c
c06f835cac8b46264aef9601adcb732b0b75406c
refs/heads/master
<repo_name>ielgstrom/C2-ejercio-5<file_sep>/js/script.js const palindromo = "Àl!imüUmîlä"; const noPalindromo = "tengoUnGato"; function esPalindromo(string) { let cambio = string; const esPalindoromo = false; cambio = cambio.toLowerCase(); cambio = cambio.replace(/[.,:;()_?¿!¡-\s]/g, ""); cambio = cambio.no...
384100635fe7d43ca8db9240a8529d490c80b06f
[ "JavaScript" ]
1
JavaScript
ielgstrom/C2-ejercio-5
2e172ae128ab4995eb198317688423e6f52b1dca
bd2991f26070aa09c76e8aa240827bc999c44204
refs/heads/master
<file_sep>class CarOwner attr_reader :name @@all = [] def initialize(name) @name = name @@all << self end def self.all @@all end def cars Car.all.select{|car| car.owner == self} end def mechanics # car_class = cars.map{|car| car.classification} cars.map{|car| car.mechanic}...
182c7b5acb99bfe7a68d1274f23599440b3eecbe
[ "Ruby" ]
3
Ruby
EJWebber/OO-Auto-Shop-london-web-060319
54472097fa15df835807229333ea85ff933e5d8b
998ad738098e4da3658da8f399488283bdff9c28
refs/heads/master
<file_sep>// // Projectile.swift // D&Doom // // Created by <NAME> on 2016-02-18. // Copyright © 2016 <NAME>. All rights reserved. // import Foundation import UIKit import GLKit import OpenGLES class Projectile : Actor { var homeInOnPlayer = false; var damage = 20; //to be set manually //x a...
c70e3ad5b8347f58ffcc1e630bc6431f223f97c1
[ "Swift", "C" ]
12
Swift
theLOLflashlight/D-Doom
3da1d01574434b538ad8a0a35afd672a39712ba4
5518b387937c112a5f4ed6d6faf7f7cdea3b74a9
refs/heads/master
<repo_name>theerincollins/dictionary<file_sep>/lib/definition.rb class Definition @@definitions = [] attr_reader(:description) define_method(:initialize) do |description| @description = description end define_method(:save) do @@definitions.push(self) end define_singleton_method(:clear) do ...
c00ab157c36ebb2eb8e54c53608686b2d734a699
[ "Markdown", "Ruby" ]
6
Ruby
theerincollins/dictionary
f98170f2356a239881ca420122a4a5933854d63b
a25f36f61cd81986cf4af498330b628f221fa3f0
refs/heads/master
<file_sep>public class throwbackanexception { public int someMethod2(int money) throws Exception { if (money < 1) throw new ArithmeticException("Error: amount too small"); return money; } public int someMethod() throws Exception { throwbackanexception a = new throwbackanexception(); int b = a.someMethod...
ed5744a1e36eef4e68de430735db058021513aaa
[ "Java" ]
1
Java
trungdh/asg08
c9e8a9852d03332b3a3434f2cb1aae110ee225c0
ab6bd7959929bf09cea17a3167ed503c8904587b
refs/heads/master
<repo_name>PhoenixFate/darkhorse297-jpa<file_sep>/spring-data-jpa/src/test/java/com/phoenix/test/CustomerObjectNavigationTest.java package com.phoenix.test; import com.phoenix.dao.CustomerDao; import com.phoenix.dao.LinkManDao; import com.phoenix.domain.Customer; import com.phoenix.domain.LinkMan; import org.junit.Tes...
aea2ad1e163d6d862cfe927b42c2a7de1da68210
[ "Markdown", "Java" ]
6
Java
PhoenixFate/darkhorse297-jpa
bdf86ec51846ead2556927c955eef37fd1046bdf
a62956aedc1ca154e30a9e91dc7c4a07bb03b175
refs/heads/main
<repo_name>mattatti/MineCraft-ripoff<file_sep>/Assets/Scripts/Chunk.cs using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using UnityEngine; public class Chunk { public ChunkCoord coord; private GameObject chunkObject; private MeshRenderer meshRenderer; private M...
a2826476a93aab092ab80ba1c05d8074f49b3901
[ "C#" ]
2
C#
mattatti/MineCraft-ripoff
e0d7b718e096331630f3b572c913e593c49594f2
c8c8268425b7e211b8d60421fece4747f980bf1c
refs/heads/master
<repo_name>ckopecky/Prerequisite-Coursework<file_sep>/README.md # Prerequisite-Coursework Prerequisite Coursework for Lambda School <file_sep>/Udacity Javascript Course Materials.js // Define two variables called thingOne and thingTwo and assign them values. Print the values of both variables in one console.log stateme...
cdff72478979877cdb7c968daa0633fb440f0bd6
[ "Markdown", "JavaScript" ]
2
Markdown
ckopecky/Prerequisite-Coursework
8b988b5acb76d0fff1acc7708eb2c96020badb75
1e50e03c831369ebe04f64906dfffb0b104b29d0
refs/heads/main
<repo_name>awakoto384/Photography-portfolio<file_sep>/src/pages/AboutPage.js import React from "react"; import Hero from "../components/Hero"; import Content from "../components/Content"; function AboutPage(props) { return ( <div> <Hero title={props.title} /> <Content> <p> Hello, my...
5cf3bb8d9a70df13f45718ad9bbe9ce58bc1b28a
[ "JavaScript" ]
1
JavaScript
awakoto384/Photography-portfolio
52ef5714f06146641c9c3450ced191d45003366e
5276202796178477e9f0dc6ca6f36816f0d009be
refs/heads/master
<file_sep>#ifndef SUPERFICIE_H #define SUPERFICIE_H #include "vertice.h" class Superficie { private: Vertice *inicio; Vertice *final; Superficie *sig; float rojo, verde, azul; float nx, ny, nz; public: Superficie(); ~Superficie(); Superficie *getSig(); void setSig(Superficie *); ...
06321a0771c19ab24a717a24bc7495833dc08f57
[ "C++" ]
23
C++
raky291/QtOpenGL
c05d390627f09335dfe48cae1da3ca518753d9a3
de7f19b1cac6c0456b567f446a0f22421bbb1634
refs/heads/master
<file_sep>library(dplyr) library(DT) library(shiny) library(googleVis) library(ggplot2) library(leaflet) library(maps) library(scales) library(gtable) library(ggpubr) ########## REORDER LEVELS ########### df$sponsor_type <-factor(df$sponsor_type, levels = c("US Fed", "NIH", "Industry", "Oth...
3ae27ae7ed692308fed378ca26f8dec9166be8d6
[ "Markdown", "R" ]
4
R
DrJohan/diabetes-app
8dd1b6507c042b9ef20993671939c0bc936b6d1c
f1ba83c7f340bead94d3ef4edb8fbfb1049f5860
refs/heads/master
<repo_name>rubycoder/glimmer-cs-timer<file_sep>/CHANGELOG.md # Change Log ## 1.2.0 - Upgrade to support glimmer-dsl-swt 4.18.6.1 up to 5.0.0.0 - Upgrade Mac package to Big Sur - Action Menu - Help Menu ## 1.1.0 - Upgrade to support glimmer-dsl-swt 4.17.2.0 up to 5.0.0.0 ## 1.0.0 - Initial implementation <file_sep...
cdaadd178f18f8389e6e234b3d251e2c496684da
[ "Markdown", "Ruby" ]
4
Markdown
rubycoder/glimmer-cs-timer
6aeae4e210d01624c0c770415e7736df9c254739
f7d30d5138f57dfbfb40c48795946042650f0b10
refs/heads/master
<file_sep>require 'logger' class NullLogger def method_missing(*); end end options = {logger: false} logger = options.fetch(:logger){Logger.new($stdout)} unless logger logger = NullLogger.new end logger # => #<NullLogger:0x00000003b73858> {}[:foo] || :default # => :default {foo: nil}[:foo] || :defaul...
fa44f4dce73386a00b6e9b872650182f478871a8
[ "Ruby" ]
51
Ruby
m-gb/rubytapas
519860d7696eedea4a4a7524ae147198f666d3a0
2e89742a7527144b3c6f258e4725ce756b0bcc43
refs/heads/master
<repo_name>HelloNYC2016/Computer-Vision<file_sep>/Project 1/ImageProcess/src/Demo.java import java.awt.*; import java.awt.image.*; import java.io.*; import java.awt.event.*; import javax.swing.*; import javax.imageio.*; import javax.swing.event.*; public class Demo extends JApplet { Image edgeDetectedImage, lineDete...
13252cd7b060a192d7230ce6a8bd3577cd320ec7
[ "Markdown", "Java" ]
4
Java
HelloNYC2016/Computer-Vision
c5a656c54a46f841476149c4e35249dc7aaf2ad5
dfdf0d040795e56ec5b5f62135bd91df1154928a
refs/heads/master
<repo_name>Dia-Bhavsar/travel-blog-server<file_sep>/routes/articles.js const express = require('express'); const router = express.Router(); const Articles = require('../models/articles'); const mongoose = require('mongoose'); var ObjectId = mongoose.Types.ObjectId; // Get all Articles router.get('/articles', (req, res...
5409cae893c33847fe7374cfa5fdbbbf04fe9e38
[ "JavaScript" ]
1
JavaScript
Dia-Bhavsar/travel-blog-server
204b2d4fb4e6612983f9ea6a9132b035b443e107
8df21a9192222833557cd31c9e01d4a2dd9a57d9
refs/heads/master
<repo_name>morgyken/tutorsboardbizv1<file_sep>/app/Http/Controllers/AdminController.php <?php namespace App\Http\Controllers; use Illuminate\Http\Request; class AdminController extends Controller { /** * Create a new controller instance. * * @return void */ public function __construct() ...
ca0a3d247884affeb8b0ca4da2b38365c29134d5
[ "PHP" ]
1
PHP
morgyken/tutorsboardbizv1
162c10358be8d75aaae51ff02a0fdfafec5e0a07
ae1795f7d975995358e9b0e1c0bf7408b3e3e201
refs/heads/master
<repo_name>Timurgorez/iCraft<file_sep>/src/store/index.js import Vue from 'vue' import Vuex from 'vuex' Vue.use(Vuex) import product from './product/index' import payment from './payment/index' import shoppingBag from './shoppingBag/index' export default new Vuex.Store({ modules: { product: product, paymen...
b20e3d7cdcd27ec832be55089e53ce9167dabd34
[ "JavaScript" ]
6
JavaScript
Timurgorez/iCraft
6fdaf6c1ab0f17abc6f9cc13112f27ebd111eb13
6440e3eeffb1043f8a4d283f317e0b4dfb272023
refs/heads/master
<repo_name>dgc-nuna/bin<file_sep>/list_public_ips.py import boto.ec2 import WH if __name__ == '__main__': wh = WH.WH() wh.connect() conn = boto.ec2.connect_to_region("us-west-2") for a in conn.get_all_addresses(): print "%s" % (a.public_ip) <file_sep>/test_WH.py import WH conn = WH.WH() con...
6d2b6a4e4f97e84f96516f7ec775571174ff8979
[ "Python" ]
6
Python
dgc-nuna/bin
de0931db9eb18d50362dbda1d2019d8c2e889c30
d620b806e99ddebaad1ea76ca57b5d17d8cfa0b5
refs/heads/main
<repo_name>bege-swann/cyber-ROOM<file_sep>/dashboard.php <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>CyberRoom_Admin</title> <link rel="stylesheet" href="dashboard.css"> <script src="javascript.js"></sc...
019c0de77afeeb9eaa13af353acb65aa4c8f36a2
[ "PHP" ]
1
PHP
bege-swann/cyber-ROOM
9ab3fac55dfc0f840a0833ad7a852bab1d4806d7
08b6ac261d2344a1f876a4caef666b32263838df
refs/heads/master
<repo_name>jasonwiener/PostCycla<file_sep>/gpx/simplifyPosData.js /* Simplify.js, a high-performance JS polyline simplification library mourner.github.io/simplify-js Copyright (c) 2017, <NAME> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided ...
494bb009cec9de575068700f56fcd7736e0db048
[ "JavaScript", "Python", "C++", "Markdown" ]
21
JavaScript
jasonwiener/PostCycla
3e13894de7f07f0d21aff249d686ceccc9ebbcd2
0bb878776b3ff68a86f100a668725c2372d5112a
refs/heads/master
<repo_name>melo1024/flaskWeb<file_sep>/app.py # -*- coding:utf-8 -*- """ 本地测试url 初始化: http://127.0.0.1:5000/es/init?min_score=94&max_score=94&split_score=76 统计信息: http://127.0.0.1:5000/all/count 球员数量统计: http://127.0.0.1:5000/player/count 国家列表: http://127.0.0.1:5000/nation/list 联赛列表: http://127.0.0.1:5000/league/list 俱乐...
dbb01c42668dc76d4513c4e5356fdf5e0f9dc653
[ "JavaScript", "Python" ]
7
Python
melo1024/flaskWeb
95813db2e4ff5dff66a9cfe793ec8ef06ae3ea67
4cc9340fd442fa4ff5f0336685e2a55b17893021
refs/heads/master
<repo_name>nghiavtn12/LearnSomethingEveryday<file_sep>/README.md # LearnSomethingEveryday Learn More Do More Play More <file_sep>/login-getlistbyjs/common.js // calendar $(function () { var $date = $('.calendar'); var options = { show: function (e) {}, hide: function (e) {}, pick: function (e) {}, f...
66d24d07ccf585529ded36f6b2e9635ce5984046
[ "Markdown", "JavaScript" ]
9
Markdown
nghiavtn12/LearnSomethingEveryday
cf6a2ca591c35ec7c1ce51638f7dba004010c0e3
7df27bb46d373fb5e8ac4d8cff0c9eefdde09179
refs/heads/master
<repo_name>brandedux/atm-sim<file_sep>/The-ATM-Machine/Migrations/20180127122839_CreateDB.cs using Microsoft.EntityFrameworkCore.Migrations; using System; using System.Collections.Generic; namespace TheATMMachine.Migrations { public partial class CreateDB : Migration { protected override void Up(Migra...
e4ed3c9aa895ffea20ebcf7abfad2f0411b06f2a
[ "Markdown", "C#" ]
11
C#
brandedux/atm-sim
dca0c14ce8fb721ecae4b85e3ced3919a1cc4dc4
79c938408d986b70bd611bad7f406dfd91c3b567
refs/heads/master
<repo_name>isabella232/canoe<file_sep>/tests/unit/test_handler.py # coding: utf-8 import io import os import sys import pytest from unittest.mock import Mock import xml.etree.ElementTree as ElementTree CWD = os.path.dirname(os.path.realpath(__file__)) + "/../../" sys.path.insert(0, os.path.join(CWD, '')) from canoe ...
9a3d954c59db497c320de779404c2cdbc9ff4f05
[ "Python", "Shell" ]
4
Python
isabella232/canoe
de16e084335c72501dadaf79e425e1b9b75099bb
84e2634727e1138bf1efb10b2f3c1b5e685eb7c7
refs/heads/master
<repo_name>MehdiNezamipour/TapsellTaskWithKotlin<file_sep>/AdMediator/src/main/java/com/nezamipour/mehdi/admediator/mainclasses/AdMediator.kt package com.nezamipour.mehdi.admediator.mainclasses import android.app.Activity import android.app.Application import android.content.Context import android.util.Log import com....
e13430ceb16a1f9e8f11b274878ac066a3029629
[ "Markdown", "Kotlin", "Gradle" ]
23
Kotlin
MehdiNezamipour/TapsellTaskWithKotlin
6128b5434f19f07b940b235aabfb5f2f833e0e1e
571d3cd621a0e081233a0ac9d75dfa1974fa2e9b
refs/heads/master
<file_sep># Doctrine Extensions Rateable This repository contains the rateable extension for Doctrine 2. This allows to rate your doctrine entities easily. ## Use Each rate is a tuple consisting of a resource id, a user id and a score. ### Implement the DoctrineExtensions\Rateable\Rateable interface. First, your...
34607150811dc34636ecf44c1d3ca34c04a2a9ed
[ "Markdown", "PHP" ]
13
Markdown
squareglasses/DoctrineExtensions-Rateable
1e3a7c032462160f0c1ee991c0191af422bc34d3
c77cf90b7e1ae3e28653701edbf479e4426012fd
refs/heads/master
<file_sep>using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using Entidades; using BLL; namespace Registros_Tarea_11.Registros { public partial class RegistroUsuarios : Form { ...
c4fc73b4fd6e6fea7990cdb7fe538ed40fc7d875
[ "C#", "SQL" ]
7
C#
edimarcordero0220/Tarea_11_EdimarCM
7bb6982e8dd0ea3c1381405280fb827ab57ed66e
83da2b6860fd6f928c01ca992992f05778175fa5
refs/heads/master
<file_sep>using IdentitySample_2.Models; using System.Web; using System.Web.Mvc; using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.AspNet.Identity; using System.Threading.Tasks; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin.Security; namespace IdentitySample_2.Controllers { public cla...
f8e6b8f682d2267c64799216a6f49d74e7297393
[ "C#" ]
1
C#
SOORAJ-SINGH/customAuthenticationUsingOWIN
01862316c9e8cd86a9924f6d1ed28f69701cf40a
e4c4605ffb790cd8d0988b11819de2a81113557a
refs/heads/master
<file_sep><?php $log = json_decode($_POST["log"]); $title = $log ->{'title'}; $description = $log ->{'description'}; $level = $log ->{'level'}; $date = date('Y-m-d H:i:s'); $st = $log ->{'stack_trace'}; $il = $log ->{'inner_log'}; $host_name = "db567447493.db.1and1.com"; $database = "db567447493"; $user_name = "db...
1ad0d899e70bf5f419a21b6554becb1531cf0ed0
[ "PHP" ]
1
PHP
marc68128/PhpLogger
59ce1435ab48143ff9b20e3501114fbd5470b7dc
9dbd3ac4e806fded15cd92115bd31d019b38c31b
refs/heads/master
<repo_name>alone-zd/flask-blog<file_sep>/README.md # flask-blog **演示地址: http://alonezd.top** 博客整体采用flask框架,mysql数据库,进行上线开发。教程会在后面陆续更新 目前已经支持的功能: 1. 个人账户的注册、激活与登录 2. markdown的博文编辑功能及图片上传功能 3. 博文详情页页面的html解析及代码高亮等 4. 文章分页以及分类与分类展示 5. 全局搜索功能 使用: #### 1、建立mysql数据库,我的库名为(alone_blog),或者改为你们自己的库,并在项目目录下的App/co...
f5ca5de05ccaf7483a199e6ac2dc1e636b07e038
[ "Markdown", "Python", "Text", "INI" ]
24
Markdown
alone-zd/flask-blog
2a173b3383286aa44aff2dce614ad291d4f80c7c
b739ea6afa108686a37c47dce04beb21089a930f
refs/heads/main
<repo_name>heydrigh/TGL-react<file_sep>/src/store/modules/lotterys/actions/actionTypes.js export const FETCH_LOTTERY = 'FETCH_LOTTERY'; export const FETCH_LOTTERY_START = 'FETCH_LOTTERY_START'; export const FETCH_LOTTERY_SUCCESS = 'FETCH_LOTTERY_SUCCESS'; export const FETCH_LOTTERY_FAIL = 'FETCH_LOTTERY_FAIL'; <file_se...
7c384f0181497ab1e16ddc96bd1f6a48eeab351b
[ "JavaScript" ]
27
JavaScript
heydrigh/TGL-react
27cf6d74e0253a2b2c2df1cc7bfcf3e63655f2e4
69e30eed8b5dd17ae05dc8c7766ce5d8f9af73da
refs/heads/master
<repo_name>bianchengxiaosheng/Unreal4-Dynami-Umg-Test<file_sep>/AutoUI/Plugins/AutoGenerateUMGByXML/Source/AutoGenerateUMGByXML/Private/GenerateUMGFactory.cpp // Fill out your copyright notice in the Description page of Project Settings. #include "GenerateUMGFactory.h" #include "Classes/WidgetBlueprintFactory.h" #incl...
7232a93885fb9966b32451478ff746bae85b17cb
[ "Markdown", "C++" ]
11
C++
bianchengxiaosheng/Unreal4-Dynami-Umg-Test
4088b914f3be43cfbe7b5c185733c91bd06b4679
2ce5efce7dbbb68bffc96e4f5f15186b1e166743
refs/heads/master
<file_sep>define(function(){ var isType = function( type ){ return function( obj ){ return Object.prototype.toString.call( obj ) === "[object " + type + "]"; }; } var type = {}; type.isNum = isType( "Number" ); type.isString = isType( "String" ); type.isObject = isType( "Object" ); type.isFunc = isT...
cc57a19fbb8f44efbe83b97fa94a7165b77063ea
[ "JavaScript" ]
3
JavaScript
wanglei20116527/front-end
80f11cd728d0d0c546dbf0d14df2de11bfa8c0c0
c0042b535b0d924136c98050a5cc059db624cf79
refs/heads/master
<file_sep># Bootstrap - Pasja Informatyki ["Kurs Bootstrap #0 - Responsywność, frameworki front-endowe"](https://www.youtube.com/watch?v=KsUiRguudTs)<file_sep>package com.infoshare.academy.domain; public class Castle { private String name = "Asgard"; public Castle() { } } <file_sep># HTML - Pasja Informat...
953c7645757f896e5c99d2e9ddad131e7723f706
[ "Markdown", "Java", "JavaScript", "HTML" ]
19
Markdown
AreXe/JavaCourse
86346799834a28f13bb7518d20af809e9850b49f
da510899291e06dfab11508da463fff130c14d2a
refs/heads/master
<repo_name>rach2812/python-third-assignment<file_sep>/README.md # python-third-assignment Final assignment for Introduction to Software Engineering <file_sep>/a3/a3.py """ CSSE1001 Assignment 3 Semester 1, 2017 """ import tkinter as tk from tkinter import messagebox import random import model import view from game_r...
d47b2ea15d890638430da930c4b55fe53d29cf40
[ "Markdown", "Python" ]
2
Markdown
rach2812/python-third-assignment
7a52103372a9d566fac0ef072e2521a04327961f
7b2d4ff2fcaa4a14bb6243f583deea8caa8cd452
refs/heads/master
<repo_name>FaizanAkhtar0/Product-Recommender-API-FLASK<file_sep>/ProductRecommenderFlaskAPI/app.py import pandas as pd from flask import Flask, request, jsonify from flask_restful import Api from ProductRecommenderFlaskAPI.models.reviews import ReviewAndRatingPreferenceModel from flask_cors import CORS, cross_origin ...
115fbe4b11b34d7588b809aaa66cade7afc9cec9
[ "Python" ]
2
Python
FaizanAkhtar0/Product-Recommender-API-FLASK
975e9ad8e324ea61ebba0aa6a5265caa734a72d6
00bc727052ed69c567ce32601c1d2fdbbf233f5f
refs/heads/master
<repo_name>eltoncezar/Album-Art-Folder-Icon<file_sep>/ecr.AlbumFolderIcon/Utils/ImageUtils.cs //http://jasonjano.wordpress.com/2010/02/13/image-resizing-and-cropping-in-c/ //http://tech.pro/tutorial/620/csharp-tutorial-image-editing-saving-cropping-and-resizing using System; using System.Drawing; using System.Drawing...
a688f79e6abbb4eec252d44050db9f439bbda351
[ "Markdown", "C#" ]
3
C#
eltoncezar/Album-Art-Folder-Icon
94554d321b057d168b47859ac65333ef83d331e8
fd21c55700384e64958fc66fac3a2af7b92df8eb
refs/heads/master
<file_sep>from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer from os import curdir, sep import cgi PORT_NUMBER = 8080 #class for request handling class myHandler(BaseHTTPRequestHandler): #handler for GET request def do_GET(self): if self.path=="/": self.path="/response.html" try: f = open(cur...
8be3e72c6799514f639821a516db4fa7930abed4
[ "Python", "HTML" ]
3
Python
RobertSzz/simple-python-server
f7eaed7b9c6b4d8a09f8f5da56d834de5eed1f74
7a6897d8afff520c7398550b5465cdc9c9953413
refs/heads/master
<repo_name>yanagao/react-demo<file_sep>/build/testUtilities.js var ReactTestUtils = require('react-addons-test-utils');<file_sep>/README.md # react-demo ================================================= ### 链接 1、https://yanagao.github.io/react-demo/index.html <br/> 2、https://yanagao.github.io/react-demo/index2.html <br...
fe22c8f996bd6fc618af1901c95bc78f16172943
[ "JavaScript", "Markdown" ]
2
JavaScript
yanagao/react-demo
8eb44d3d95123e6b816c742a665091f39339e4eb
e37fe5e3e749ebdf87bbeb3628c22e73cd2b74f8
refs/heads/master
<file_sep>--- layout: post title: "Site is Launched!" date: 2016-08-21 --- After multiple attempts of creating a personal website, I have finally followed through. My previous attempts were way too complicated and made it hard to be productive and proactive. I tried making a single-page application (SPA) with React an...
050b7374dc93c89252b99081a1a2d15b384e33d5
[ "Markdown", "HTML", "Shell" ]
5
Markdown
ncbrown1/ncbrown1.github.io
02eff114c65c9ddf7b3a14580627313f496b1283
89df92b3db67f986d6f253c63f3872aa034c36bb
refs/heads/master
<repo_name>Tsui89/qcloud<file_sep>/health_mysql.sh netstat -anp |grep 8306 <file_sep>/readme.md ```code elasticsearch: cluster-nodes: {{range $dir := lsdir "/hosts/postgres"}}{{$ip := printf "/hosts/postgres/%s/ip" $dir}}{{getv $ip}}{{end}}:8200 work-order: index: k2fuxi_wo type: wo es-import-ticket: c1c3fad1-...
8991ad7bba3eba8918a8754d6f779aa7d2a73150
[ "Markdown", "TOML", "Python", "Shell" ]
9
Shell
Tsui89/qcloud
b6c974267b4a94aa0f8bae1a2af7ee9f8f11bcf2
0c575170211fbf8a99408864d1e455fdeab5b174
refs/heads/master
<repo_name>Natt7/JINSHANG<file_sep>/complete/JINSHANG-110/schema.sql create database db; use db; create schema T_GG_SJ_GOODS_schema source type CSV fields( "goodsid" type string, "deptid" type string, "packnum" type string, "barcode" type string, "goods...
0647393cd7dfdd1aab5e79f2a013ad8a6dfef248
[ "SQL" ]
96
SQL
Natt7/JINSHANG
f1108a27c68ca5d9590628213b058a5d8bc18b40
7800a524dfbcf42b74c6ce78f533909ae88d7003
refs/heads/master
<repo_name>AlexJ-94/loan_calculator<file_sep>/loan_calculator.py import json def main(): names = json.loads(open('loan_information.json').read()) for name in names: print(name) main()
3a822793ac2aee38064da253d9b8e05ab5f767bf
[ "Python" ]
1
Python
AlexJ-94/loan_calculator
b38825fd08bf7db6efe0efcf3aed177f86c5fb78
b377360f8f5501f248baef7d8209218d89da30e2