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>KyloRen444/DragonSurge1.14.4<file_sep>/src/main/java/net/mcreator/dragonsurge/world/biome/TESTBiome.java package net.mcreator.dragonsurge.world.biome; import net.minecraftforge.registries.ObjectHolder; import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent; import net.minecraft.world.gen.surfac...
2d5542cd213183e65343b0fb0b3ef5a78b736b21
[ "Java" ]
1
Java
KyloRen444/DragonSurge1.14.4
3ea74b6c35965a0f06b521ae25d7bda1852349d7
584b77ef0a77bc2950a828a83af102562a81215b
refs/heads/master
<file_sep>package com.natlus.yarsi import android.content.Intent import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.widget.ArrayAdapter import androidx.databinding.DataBindingUtil import com.natlus.yarsi.databinding.ActivityParentFormBinding import com.natlus.yarsi.databinding.Acti...
b0d23913e32d5e3e71fff4600b884c3126493f24
[ "Kotlin" ]
3
Kotlin
SultanKs4/yarsi
e40335be2ca2368787eb07327ec6699afbf5ac89
e7930959150bf3cdc65f933a88bbee513bcb2c4f
refs/heads/main
<file_sep>const Engine = Matter.Engine; const Render = Matter.Render; const World = Matter.World; const Bodies = Matter.Bodies; const Constraint = Matter.Constraint; const Body = Matter.Body; const Composites = Matter.Composites; const Composite = Matter.Composites; let engine; let world; var ground; var con; functi...
32491dcf8db766bddc919277e3e531db51374809
[ "JavaScript" ]
1
JavaScript
samuraivai2007/bp
01ebaf498500943853addccb4161a8be7dee1f2d
c37fda883c8b4824934a2afc1570901a9619336b
refs/heads/master
<repo_name>noahcas25/MobileUtilities<file_sep>/Assets/Scripts/StoreController.cs using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization.Formatters.Binary; using System.IO; using UnityEngine; using Button = UnityEngine.UI.Button; public class StoreController : MonoBehaviour { ...
fa5802a1368bcb9eade765100c96cf5b90aded76
[ "C#" ]
10
C#
noahcas25/MobileUtilities
ae1b4c32a4849b832dc6e24946472c8e343a5ac0
c7ea2647fbac4b75c0ffc7fa7f7ab368e967a929
refs/heads/master
<repo_name>bearloga/wmf-pai-test<file_sep>/plumber.R library(plumber) library(glue) library(magrittr) library(knitr) library(kableExtra) library(htmltools) log_filename <- "/usr/local/plumber/test/requests.log" style <- '<style type="text/css"> body { padding: 15px; font-family: sans-serif; font-size: 14px; text-alig...
69cbf863756b251c8e6376e82304c61fda072c2a
[ "Markdown", "R" ]
3
R
bearloga/wmf-pai-test
7f1ab17a6a4fb41fd7334ed5e7cebfb7104dfd13
541748ca5d6fa7c968b5beed40c05008e163969a
refs/heads/master
<repo_name>YanjieHe/AutoGrader<file_sep>/src/main/resources/application.properties spring.datasource.url=jdbc:mysql://localhost:3306/grader?useSSL=false&serverTimezone=UTC spring.datasource.username=spring-user spring.datasource.password=<PASSWORD> spring.jpa.show-sql=true spring.jpa.hibernate.ddl-auto=update spring.jp...
a94fc800c36a9184d709da7236a1ff6272ac2e52
[ "Markdown", "Java", "SQL", "INI" ]
9
INI
YanjieHe/AutoGrader
92dee8ed6b0b7e4378711442c68ff95d40c96c53
cf713fc0f1e0dd561c1ccd0996a0f81fb890a469
refs/heads/master
<repo_name>abulanadi/Lab4<file_sep>/NaiveQuick.cs using System; using System.IO; using System.Diagnostics; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Lab4 { class NaiveQuick { static int MAXVALUE = 50000; static int MINVALUE = -50000; static...
52555195f3b58bc45c5ecf400e4816c86e2eb08a
[ "C#" ]
5
C#
abulanadi/Lab4
9f753ffc430178e33b6cea259c6b860b481e77a6
412a5239ee36e9300571533211c75865a50464ad
refs/heads/master
<file_sep>// Coding reference has been taken from the demo provided by the professor in class lectures. (function($){ //console.log('js loaded....'); //creating database var database; //database open request var openRequest = indexedDB.open("notelist",1); openRequest.onupgradeneeded = function(e) { console....
77ac5a50ebaa7f09ffe6db43320618f8ab2759a4
[ "JavaScript" ]
1
JavaScript
rudra28/JavaScript_NoteMaking_App
7ad411c2eabdd14c284b018184dbec41c16b09f6
66e7f94ea9e64568ac4306d723206707a3f2def3
refs/heads/master
<file_sep>let keys = require('./keys.js'); let request = require('request'); let fs = require('fs'); let spotify = require('spotify'); let ombd = require ('omdb'); let command = process.argv[2]; let mediaName = ""; for (let i = 3; i < process.argv.length; i++) { mediaName += "+" + process.argv[i]; } let Twitter =...
a72db8a254e0bbc414743e1fdcf28ece28ef9bb8
[ "JavaScript" ]
1
JavaScript
SamanthaCoke/liri-node-app
7d5cf32568f8bd8023d3f76b0ea21a8ed3bdc891
8cb55eb1a8f387bfab252a145b6b6687572db308
refs/heads/master
<repo_name>praveenpatil05/SharedCode<file_sep>/BlogPosts/2015/03/Sharing Memcache/api_go/service.go /* Copyright 2015, Google, Inc. 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...
8f8dd5df832ad13a7860368a6f8d78aa1f54c1f3
[ "Ruby", "Markdown", "JavaScript", "PHP", "Go", "Shell" ]
15
Go
praveenpatil05/SharedCode
ffaf65ffcd493be2d20b7b2ec8e45fe24c119cb9
90b65cf742198cd828a92c156aeaaa315d742bb7
refs/heads/main
<repo_name>jflow415/mycode<file_sep>/lab_input/iptaker03.py name= input ("What is your name?") day= input("what day is today?") print("Hello, " + name + "! Happy " + day + "!") print("Hello, {}! Happy {}!".format(name,day)) <file_sep>/gotRuler.01 #!/usr/bin/python3 #Four rounds to get <file_sep>/dict01/marvelchar0...
82def635efeded80741b6ba6fdb2172bbfa63d5a
[ "Python" ]
8
Python
jflow415/mycode
1274e1436825bd58c9d02e1ac05d548f550a6d0a
96163e97e17b61f055fcf333b0caf4f7660f003a
refs/heads/master
<repo_name>hughiednguyen/applied_hw7_multithread_matrix_calc<file_sep>/controller.cpp #include "controller.h" Controller::Controller(QObject *parent) : QObject(parent) {} Controller::~Controller() {} void Controller::compute() { computeThread(); // Compute QRunnable // Restart timer QElapsedTimer timer2; ...
487a72e73d23e32f18dcf2c752f6f934e770c8fe
[ "C++" ]
5
C++
hughiednguyen/applied_hw7_multithread_matrix_calc
0ff4294be046e21786d8b2a9ba5fcda62a37b808
1a9a1d2ba9ba2de6c9aaca26a918e9fb5292b97d
refs/heads/master
<file_sep>import pandas as pd from sklearn.linear_model import LogisticRegression from sklearn.metrics import roc_auc_score from numpy.random import RandomState def split_dataset(df, validation_percentage, seed): state = RandomState(seed) validation_indexes = state.choice(df.index, int(len(df.index) * validat...
7a335207484294cf3a28b28c6ba933d6feab5212
[ "Markdown", "Python", "Text", "Dockerfile" ]
8
Python
holypriest/creditor
830ccd51e6bdee993debc16fbb4019b3152f5e18
ebbd1212ed5ce17d016fab3941cc880ddabadcb2
refs/heads/master
<file_sep>import React from 'react'; import { Switch, Route, Redirect } from 'react-router-dom'; import { Container } from 'reactstrap'; import Header from './Header'; import Sidebar from './Sidebar'; import Breadcrumb from './Breadcrumb'; import Aside from './Aside'; import Footer from './Footer'; import EmployeesList...
c3324ce0338967e4f2be2850b02a545e2a878420
[ "JavaScript", "Markdown" ]
7
JavaScript
wangdedi1990/dedi-crud
f8e190f54745a0d428e880160cf3ed4058a15b8e
90c5701b704d65acf427cbb864557401c479da17
refs/heads/master
<repo_name>nemanjaMiljkovic/JS-Board-Game<file_sep>/js/app.js import * as PIXI from 'pixi.js'; PIXI.utils.sayHello(); let app = new PIXI.Application({ width: 512, // default: 800 height: 512, // default: 600 antialias: true, // default: false transparent: false, // default: false resolution: 1, // default: ...
8a059d08afeaa584133d87b8dde7a790bfac240c
[ "JavaScript", "Markdown" ]
2
JavaScript
nemanjaMiljkovic/JS-Board-Game
d5c66575c997a0333586e0d24479a65bea729b95
1461b7d6d52cc29c8c40255912451829d0db9676
refs/heads/master
<repo_name>coleged/modbusX310<file_sep>/x310.c /*********************************************** x310.c Control program for ControlByWeb WebRelay X-310 Quick hack to check out modbus A bit messy, but works OK. V 1.0 - messy hack V 1.0.1 - tidy up, no feature changes <NAME> <EMAIL> 22/5/2017 Usage overvi...
cb6b5e5e04cddb5ed29c7b5effde2f02e9192390
[ "Markdown", "C" ]
2
C
coleged/modbusX310
c4b1b5b525e4cc616b1492b360030024858b7bb5
81bc12cf54cb44f617ed4fc4870a9b6d3db7af04
refs/heads/master
<repo_name>yoheimuta/protolint<file_sep>/linter/visitor/hasExtendedVisitor.go package visitor import ( "github.com/yoheimuta/go-protoparser/v4/parser" "github.com/yoheimuta/protolint/linter/autodisable" "github.com/yoheimuta/protolint/linter/report" ) // HasExtendedVisitor is a required interface given to RunVisi...
9ad94e65a74ff5e16efe4c4d9745e1a4bd59388e
[ "Markdown", "Makefile", "Gradle", "Go", "Go Module", "Dockerfile", "Shell" ]
165
Go
yoheimuta/protolint
ad00a18de409c463d0ff00ad4f6709998f48c19f
f5abf8889d3624ce7286e1dc3d5c38228d41b2fa
refs/heads/master
<repo_name>rschenck/game_of_life<file_sep>/main.py import pygame, sys from pygame.locals import * # import numpy as np import math import random import time from functionality import random_color, user_select, start, stop, reset, reset_options, info_button, info, click_creator from presets import gun, create_glider, ...
941a124502c26cf0d7379d8f7974af2fd478093e
[ "Markdown", "Python" ]
19
Python
rschenck/game_of_life
09d616ad5c53826eee770742ef87f92131e4559d
d5d4aab46702a557fea2b5db9bf8731cdf9d2d4f
refs/heads/master
<file_sep>import pandas as pd import numpy as np import matplotlib.pyplot as plt from sklearn import preprocessing from keras.models import Sequential from keras.layers.core import Dense, Dropout, Activation from keras.layers.recurrent import LSTM from keras.models import load_model import math import datetime min_max...
7e237319901f415432a7cc4ba25cef41c9d71d1b
[ "Python" ]
1
Python
ravishbhupesh/aiml
9a652cff6e0d03e582cd2b6edaaee7f211b8b1df
fdf4118ea2eec0352297bf1aaca24a6c54291aff
refs/heads/main
<file_sep>#include <inttypes.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> #include <memory.h> #include "parsing.h" #include "memory.h" #include "memory.c" #include "parsing.c" #include "fs.c" struct PowerPlantsRow { uint32_t plantID; const char *plan...
b1d8c0c9650e2c018aeaff206e44b1129aea3411
[ "Markdown", "C", "Makefile" ]
18
C
Matrx007/IAG0584-HW2
4be7d028bf25f44e4b764c92c327760c5e5bd9f5
72786aabb5cc9ae4476c819840c348a747d3e0ea
refs/heads/main
<repo_name>elbert-git/tui-theme-journal<file_sep>/Notes/notes.md tui journals online on our main server it's a bash script journal (base command) - checks what date it is - if file for today already exists then just open that file in vim - else create a new file in designated directory and pipe in the template text t...
f8e82512340c517866b45aa283ca95519e8cb306
[ "Markdown", "Python", "Shell" ]
4
Markdown
elbert-git/tui-theme-journal
1aa5cd5255eba371d0b5b6fa21cc3df93edaddcd
0aafa2f9913d6aae25a42244a27487720ee2403e
refs/heads/main
<file_sep># MTG-Card-Guessing-Game 1/2/2021 This Game gives the player six cards(facing down) to choose from. Each card is part of a pair, and if they guess correctly, they get a point. The front facing sides of the cards are pulled randomly from the MTG API (https://magicthegathering.io/). The player can guess as ma...
5f014c9359eb9345ede158bb58ef5fc7b89737f6
[ "Markdown", "JavaScript" ]
2
Markdown
impypots/MTG-Card-Guessing-Game
01c4335a14dcaec4b3c89b2d2f74116c7f4f2db7
04bdc657a260b806fd81a24b2c642b1742c43896
refs/heads/master
<repo_name>Dghistani/HW_W04_D01<file_sep>/hw.js ​// ------ FOR ALL THE EXCERCISES ONLY USE ARROW FUNCTIONS ----- // ​ // PART 1: USE MAP IN THE FOLLOWING EXCERCISES // // A) write a function called swapCase that takes a string of words and uses .map and your newly written capitalize() // function to return a strin...
8f97f31351894268233b8757574367ec95ce76cc
[ "JavaScript" ]
1
JavaScript
Dghistani/HW_W04_D01
fd623cdfd497bc9e9c73be70dcf03bd3b1d42e34
60e57f8d36413d59d81e6f5b6f547336439613bd
refs/heads/main
<file_sep>const Transport = require("./transport") const config = require("./config.json") const http = require("http") const net = require("net") net.createServer(socket => { const transport = new Transport(socket) http.createServer(async (req, res) => { res.end(await transport.call(req)) }).listen(config.p...
4c2a6c9717cba3a27e430cbaa61f48d5e022ec0a
[ "JavaScript" ]
2
JavaScript
DrFascial/server_forward
820c9244ef3a5eb056a06d115a4dd6acf232288f
16afcf3313fb904c139aff1c6b62150c0a335436
refs/heads/master
<repo_name>roovenier/gulp-fonsta<file_sep>/index.js var Promise = require('es6-promise').Promise; var through = require('through2'); var gutil = require('gulp-util'); var fonsta = require('fonsta/lib/commands/install'); function gulpFonsta(fonts, options) { options = options || {}; var flags = { isSave: (typeof o...
e772ee3a43705b22aa7774c32f5752254b04a230
[ "JavaScript", "Markdown" ]
2
JavaScript
roovenier/gulp-fonsta
667ba4a464d16d5a9811761d2dfc75f48feecf26
51467ecbcebdeb3cfa81f290263e77b854b4ea32
refs/heads/master
<repo_name>ipapadop/pal<file_sep>/include/pal.h #pragma once #include "pal_base.h" #include "pal_math.h" #include "pal_dsp.h" #include "pal_image.h" #include "pal_fft.h" #ifdef PAL_SOURCE # include "common.h" #endif #ifdef __epiphany__ /* Static library. Force a dependency so __pal_init/fini always will be * includ...
82bd87247bbb33ebb38186fc8bfc2a5f6f572adb
[ "C" ]
13
C
ipapadop/pal
44daa6e3b87dbd5d31455d69e3ea1922f84ca409
b6549cb4ea984d328318bc08a23db48c0176074b
refs/heads/main
<repo_name>marcusslee95/stephen-grider-advanced-react-and-redux<file_sep>/testing/src/components/__tests__/CommentBox.test.js import React from 'react' import CommentBox from "../CommentBox"; import { mount } from 'enzyme' import Root from '../../Root' let commentBoxcomponent beforeEach(() => { commentBoxcomponent...
27bd2fa8ded9ad895b75259e2e62d4d21e289102
[ "JavaScript", "Markdown" ]
8
JavaScript
marcusslee95/stephen-grider-advanced-react-and-redux
7838790d2509470b13a8c3186495f0c6923bd555
368871cd1320ed3866ffd74fc8b05ea43435dbd4
refs/heads/main
<file_sep><?php #echo "working"; $host="localhost"; $user="root"; $password=""; $db="emandi"; $mysqli = mysqli_connect($host,$user,$password,$db); # mysqli_select_db($db); if(isset($_POST['username'])){ $uname=$_POST['username']; $password=$_POST['password']; $rpass = $_POST['rpassword']; ...
c94c910bc9fa49865d34f99ae45d9d924253318d
[ "Markdown", "PHP" ]
7
PHP
karan0046/e-mandi
0d0420cb19e32c175bcee68b3d351833e9b8196e
c6e34568a688524cd3801863582e59d51ecaaca6
refs/heads/master
<repo_name>yangzod/NumberPuzzle<file_sep>/V1.0/JS/pageControl.js document.onkeydown=function(e) { e=window.event||e; var keycode=e.keyCode||e.which; if(e.ctrlKey||e.altKey||e.shiftKey||keycode>=112&&keycode<=123) { if(window.event) { try { e.keyCod...
6554b8cf4407fde375de12bbbfceeb616e392d59
[ "JavaScript", "PHP" ]
18
JavaScript
yangzod/NumberPuzzle
9455bbe08ff4f72d0eab7d7fd549b7ee67444c66
3804ae950956cba41b38a8c64c5946cabadf5121
refs/heads/main
<repo_name>maxim19295/BanzayClient<file_sep>/src/components/pages/Basket/BasketTable/TotalCell/TotalCell.jsx export const TotalCell = ({total}) =>{ return <td>{total} грн</td> }<file_sep>/src/components/pages/Main/PostsBlock/PostsBlock.jsx import { faCalendarAlt } from '@fortawesome/free-solid-svg-icons'; import { ...
bdff27f4bf12c47b75d0d18d092c1502c28d917a
[ "JavaScript" ]
41
JavaScript
maxim19295/BanzayClient
8c889aeb304f3dc471dcd9e44dad34046af2685b
81b8dea4a0e9acfba6877fa9b8ef1faf736bfb57
refs/heads/master
<repo_name>elisbyberi/BigSecret<file_sep>/Cipher/src/edu/utdallas/bigsecret/hash/JavaxHasher.java /** * Copyright (c) 2013 The University of Texas at Dallas, Data Security and Privacy Lab. * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this * file except in ...
a505d5c2490c1a4e84ccf128a8e4d902205230b2
[ "Java" ]
11
Java
elisbyberi/BigSecret
dc070d08a4336b768cc6aac881bf4ad91fd62e12
c39a61a330fd2882e0dd64c6078465702a026afe
refs/heads/master
<repo_name>Webundle/PuzzleApiExpertise<file_sep>/Entity/Project.php <?php namespace Puzzle\Api\ExpertiseBundle\Entity; use Doctrine\ORM\Mapping as ORM; use JMS\Serializer\Annotation as JMS; use Hateoas\Configuration\Annotation as Hateoas; use Puzzle\OAuthServerBundle\Traits\PrimaryKeyable; use Knp\DoctrineBehaviors\M...
cf362c44ac905f63471a30265a98802649526d40
[ "PHP" ]
11
PHP
Webundle/PuzzleApiExpertise
35934f70b6d1aeeb816b85e89f9c4400acd46a13
1d2df38ec1c7e990a3f9bbd6f0a4b536e0b403f7
refs/heads/master
<repo_name>fredo-/MosbyBareBonesRecyclerView<file_sep>/README.md # MosbyBareBonesRecyclerView Simple implementation of a recycler view with Mosby #Step 1: Gradle dependency * add to build.gradle for the app: `compile 'com.hannesdorfmann.mosby:mvp:2.0.1'` #Step 2: Make 3 packages * model * has all the data/api cal...
45662625f2cdea7f202e25e48c9831267f1ff148
[ "Markdown", "Java" ]
4
Markdown
fredo-/MosbyBareBonesRecyclerView
b3fdf6a3a3b227510e65e19d6c3de0f58bb32e22
32c514bf9b9319ec6fd8f89e6900ecb97c130a9e
refs/heads/master
<file_sep>#include<stdio.h> int mnoz(int a, int b) { printf("Wynik mnozenia: %i\n", a * b); return a * b ;} int dodaj(int a, int b) { printf("Wynik dodawania: %i\n", a + b); return a + b;} int dziel(int a, int b) { printf("Wynik dzielenia: %i\n", a / b); return a / b;} int odejmij(int a, int b) { ...
1422dbda0a7f497c7aec0886ee2fa7d6f38155bc
[ "Markdown", "C" ]
4
C
kumy74/program
a98a2420f39c284a5545339dad91510ec4fd5051
87f0494c1b079a7c42a651f390233b6cf9b45c82
refs/heads/master
<file_sep>## demo > https://youyeke.github.io/javascript/loginFormCheck/ <file_sep><?php $fileID=$_POST["fileID"]; $md5=$_POST["md5"]; $temPath="../tem/"; if(is_uploaded_file($_FILES['file']['tmp_name'])){ move_uploaded_file($_FILES['file']['tmp_name'],$temPath.$md5."/".$fileID); echo "success"; ...
e137e8a4ab03e1e6c4c6abfc7c40b3f86cabd3d2
[ "Markdown", "JavaScript", "PHP" ]
10
Markdown
youyeke/javascript
24d39acb456492821501ddda75d4e5ae0ea9f960
7e5866583c7971f95486ad67670fb2f526ba4776
refs/heads/master
<file_sep>require 'rails_helper' RSpec.describe User, type: :model do describe 'Validation' do it 'is invalid without a Name' do user = User.new(name: nil) user.valid? expect(user.errors[:name]).to include("can't be blank") end it 'can be valid' do expect(create(:user)).to be_val...
df24210ac34fe1a0e5c30f9db6500a6902b6f2cc
[ "Ruby" ]
6
Ruby
Reinkaos/crblog
60cf3b10f67370bdb1a2fe827129e99b00650a75
531987788a5d310c562af64058b18f6e565e8235
refs/heads/master
<repo_name>mattc41190/MovingRome<file_sep>/README.md # MovingRome A PoC for a dynamic history website written in javascript using jquery, jquery mobile and the google maps API. The app is currently split into two major sections, the main application which is the meat of the project (index.html) and the coordinate to...
eb02ea0eee52310113dc7c4de3a8413b167a6e7b
[ "Markdown", "JavaScript", "HTML" ]
11
Markdown
mattc41190/MovingRome
2b37bf7fca5382a5664d5036d9cfe110667935cd
8dfb1f5fc73064b892aa2fb35c813777bcc604eb
refs/heads/master
<file_sep>package main import "log" func main() { log.Println("Scaffold!") } <file_sep># scaffold-gin gin + vue 的前后端分离项目脚手架
c0857d30b468751018abf73381e7d5125ce6a2d1
[ "Markdown", "Go" ]
2
Go
hanzkering/scaffold-gin
bc6dcd90ed09127224634c33a616ee8a09104af2
eab1125d9f76d8be9790abe75168ee6b7264dfec
refs/heads/main
<file_sep># ChessFrontEnd A front-end for the [ChessEngine server](https://github.com/adamore/ChessEngine) <file_sep>var size = 0.75 * Math.min($(window).height(), $(window).width()); $('#board').width(size); var board; var game = new Chess(); var $status = $('#status'); var $fen = $('#fen'); var $pgn = $('#pgn'); v...
32a9d5e8ae07e9e0d63b36ac98897179a1e652b6
[ "Markdown", "JavaScript" ]
2
Markdown
adamore/Chess
9a29e82dd804ed01817b9d27488548ca517485dd
8a6d50374e018afff5b91813394c3f6486a4291a
refs/heads/master
<repo_name>ldakir/School_stuff<file_sep>/Streams/Vote.java /* Author: <NAME> File: Vote.java */ import java.io.*; import java.util.stream.*; import java.util.Arrays; public class Vote{ public static void main(String[] args) throws IOException { Stream<String> lines= new BufferedReader(new FileReader("voter...
4cff4624cd13da51f61a7b83e8df52be0a81dd3b
[ "Java", "C" ]
3
Java
ldakir/School_stuff
9522b7ac8a5e57f4249c3755db31e9689ba2411b
546b6bb60dc6b19e8eadd76e49019648b6e7889d
refs/heads/master
<file_sep>#!/usr/bin/env ruby def lonelyinteger( a) c = Array.new(101) for i in 0...101 c[i] = 0 end for i in 0...a.length c[a[i]] += 1 end for i in 0...c.length if c[i] == 1 return i end end end a = gets.strip.to_i b = gets.strip.split(" ").map...
7df9267b74f38470b21b9f52c9b8a0521e030029
[ "Python", "Ruby" ]
5
Ruby
tafox/hackerrank
f13936e0e3f5735f4b099a63a5e0e598b286acfe
100c42fef9d8b8ca620f38418e99d568a43784e5
refs/heads/master
<file_sep>package pl.coderslab.tdd.creation; import org.junit.Test; import static org.junit.Assert.*; public class FirstTest { @Test public void testConcatString() { First first = new First(); String result = first.concatString("one","two"); assertEquals("onetwo", result); } ...
2b9ac28d847f7fc009f55e097b6034e84df92de7
[ "Markdown", "Java" ]
12
Java
wasniows/ONL_JEE_W_01_JEE_Hibernate-master
58af912f74faab7e136d6802456519695ebceb0b
ba42cc8772dc1c1fe5a1e42bd42e4af9b66dc657
refs/heads/master
<repo_name>ganeshh27/gitfetch<file_sep>/app.js url = 'https://api.github.com/users/' xname = '' x = '' followers = [] inputFieldId = "fname" following = [] tableId1 = document.getElementById("followerstab") tableId2 = document.getElementById("followingtab") name1 = document.getEl...
f72ea4c701438a1ab59f8fd6b2b1eb6abb7dad66
[ "JavaScript" ]
2
JavaScript
ganeshh27/gitfetch
fca3357655afb195b9f6ce8f6feadb53b8c3dff3
08bfd0eb803e08eed81fbcbb49acef0b97c978aa
refs/heads/master
<file_sep>import pygame from pacman_game import pacman_utils black = (0, 0, 0) white = (255, 255, 255) blue = (0, 0, 255) green = (0, 255, 0) red = (255, 0, 0) purple = (255, 0, 255) yellow = (255, 255, 0) # This class represents the bar at the bottom that the player controls class Wall(pygame.sprite.Sprite): # ...
eefed9b48e1aefaa4467631da411c1b8ff00c877
[ "Python" ]
3
Python
saselovejulie/machine_learning_game
3a8f66835dd7cdd2e57456786adb70b97f0b6aca
459d2cac2ec9760974c8c2fcd2974dcbaa10d227
refs/heads/master
<repo_name>linxiahaiyang/test<file_sep>/index.js conosle.log('添加了index.js文件')
441661faf4fcd44c935e672a960e7f6ea2dc723c
[ "JavaScript" ]
1
JavaScript
linxiahaiyang/test
e08868d54183a8fcd9899f097171f4e7c46285a7
69ff9d1224a8772e0674a5c7756a58c589125c3b
refs/heads/master
<file_sep><?php /** * @file * template.php */ function restaurant_subtheme_preprocess_image(&$vars) { // http://getbootstrap.com/css/#overview-responsive-images $vars['attributes']['class'][] = 'img-responsive'; return; } function restaurant_css_alter(&$css) { //cambiar el css padre por el hijo //unset(...
cc278e8604e940c891e857e2f21e8dfdaf825026
[ "JavaScript", "Markdown", "PHP" ]
8
PHP
rpayanm/restaurant
32841bde489026eae2eed29413a0a07e66a2a801
c3147d5acafebdff489555ca63d77587ccab4824
refs/heads/main
<repo_name>o2o25252/2021-TIL<file_sep>/Swift/Closure.playground/Contents.swift import UIKit // //var multiplyClosure: (Int, Int) -> Int = { (a: Int, b: Int) -> Int in // return a * b //} var multiplyClosure: (Int, Int) -> Int = { $0 * $1 } let result = multiplyClosure(4,2) func operateTwoNum(a: Int, b: Int, ...
6cf4288fe5b21bc93ec8588af7842834979707ef
[ "Swift", "Markdown" ]
28
Swift
o2o25252/2021-TIL
d5931437cbca4ec37f48a36dc5940129ae2601a3
4d9137bb9d7dc135529b8e7df81842e6534b424b
refs/heads/master
<file_sep># golang blog 开发中的golang博客系统<file_sep>package app import ( "strconv" "github.com/gin-gonic/gin" "controller/user" "controller/article" ) type App struct { port int } func(s *App) Run(port int){ s.port = port r := gin.Default(); r.POST("/login", user.Login) r.GET("/articles/:page",article.FindBy...
37c5fa3be669acf8d07db1ced68a7c5b58fb9863
[ "Markdown", "Go" ]
10
Markdown
laivv/go-learn
6a1b34ee5207781f3239a82a9b52f865dfe74ac9
3813d64ae2b1a6a3c52073a761007a08c019de0b
refs/heads/master
<repo_name>timomer/Pump_Driver_Example<file_sep>/app/src/main/java/com/hypodiabetic/pumpdriverexample/MainActivity.java package com.hypodiabetic.pumpdriverexample; import android.content.BroadcastReceiver; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import andro...
bc6cace8fa36bf47f8177214af0c6f4b498e3531
[ "Java" ]
1
Java
timomer/Pump_Driver_Example
0018e25b7ca6ac2c1c7a70ebcf53d44976f8810a
c659e0c1dbb00fd3978bd13db10a8ae6f8d3de98
refs/heads/master
<file_sep><p align="center"><a href="#" target="_blank"><img src="https://avatars0.githubusercontent.com/u/2921276?s=460&u=cc3289e50e48284ef4370c388e4f4aa29186f466&v=4" width="400"></a></p> ## About me Junior desarrollador, semisenior student and senior asking. [Mi web](http://mabregu.online). - [Node](https://gith...
b5f50b41e6b416ced1b46b2ddbb53a9ee67c73f1
[ "Markdown", "PHP" ]
4
Markdown
mabregu/portfolio
d87ca6c2209890e910ed1ec938e053c62b8f9439
8fd9c6a87ad822566b8451e4199a77816c502932
refs/heads/master
<repo_name>parimalkesan/EMICalculator<file_sep>/app/src/main/java/parimal/examples/emicalculator/MainActivity.java package parimal.examples.emicalculator; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.AdapterVie...
9ae13c481a802c06817953f30c1344e53b6c02b9
[ "Java" ]
1
Java
parimalkesan/EMICalculator
b045619557213d24503cd43c64966c39366e1687
1f023125b40dc1b58503471a7290357982a4b068
refs/heads/main
<file_sep>module.exports = function calcSalesTax(price){ console.log((price * 0.07).toFixed(2)) } <file_sep>// Calculate the sum of numbers in an array of numbers let array = [2, 4, 6, 8] let total = 0 for (let i = 0; i < array.length; i++){ total += array[i] } console.log(total)<file_sep>// Cre...
bdabadac5eea5a7fd0326c1ca0a16341d13cc571
[ "JavaScript" ]
3
JavaScript
LSilva30/Day04
614e0be550ac498f93b3715db16af44e1f010ac4
2861c149a68e0567edcd733283735b3a4a81af68
refs/heads/master
<file_sep><!DOCTYPE html> <html> <head w3-include-html="head.xml"> <!--<script src="js/w3data.js "></script>--> <script src="http://www.w3schools.com/lib/w3data.js "></script> <script> w3IncludeHTML(); </script> </head> <body> <title>Our History</title> <!-- NAVBAR ====================...
5816b8e0b7e44d947a3ffe3cd07c4a61be804bcc
[ "JavaScript", "HTML" ]
2
HTML
robertbravery/MVBCWeb
9b5ca88685689ea04d20d3ca26af9490ed2a5560
6b861675546bc04d914c5e4b81d72e3d0b2a6468
refs/heads/master
<file_sep>import React, { Component } from 'react'; import logo from './logo.svg'; import './App.css'; import './style.css'; import sedes from './sedes.png'; import contacto from './contacto.png'; import videoinformtaivo from './videoinformtaivo.png'; import { BrowserRouter as Router, Redirect, Link, Route, Switch } fr...
15de89528ef9fba86d9a386a21fd81c491b7dab3
[ "JavaScript" ]
2
JavaScript
DiegoMF123/SOPF
5386df4a8ef85c1a54fc7a08b8886afbe1aa5e63
042d0dbe932939aad85cbbabf77afc51d152fc1b
refs/heads/master
<file_sep><?php class CheckOrder { private $login_url; private $check_url; private $cookie_path; private $username; private $password; public function __construct($options) { $this->change($options); } public function change($options) { foreach ($options as $key...
a70c11ed06e3c4662725c693e2c5e4a8d6bbcd40
[ "PHP" ]
1
PHP
sepikas-antanas/sf2urlcheck
4528a5f2bb6d4d0b9f3d9313fada60a670020457
ffc48245ee1fcb789c3dd13e164f0455009d19b2
refs/heads/master
<file_sep>#include <iostream> #include <string> #include <iomanip> #include <cmath> #include <fstream> using namespace std; const int row = 20; const int col = 20; const int times_to_go = 20; const int Change = 1; const double Threshold = .10; void Initialize_Plate(double table[row][col]) { for (int row = 0; row < ...
6166669e6354a626e1524cd4ce2b079b25152337
[ "Markdown", "C++" ]
2
C++
BryceTrueman/Hot-Plate
10ba3486edfe7ae3fadab937c31d2c353c9c34c4
0d1c204ad3db95f450da417090c0036bbc41e07f
refs/heads/master
<repo_name>AaronMuriel/mygit<file_sep>/test.py #!/usr/bin/python # -*- coding:utf-8 -*- import sys import os os.mkdir(sys.argv[1]) os.mkdir(sys.argv[2]) 11111
7cfcb6dc9ef01ed77d8f0c63e9c05b0475be9765
[ "Python" ]
1
Python
AaronMuriel/mygit
e6ec5a277a6ae914b255ffc5874788517359d8b8
d1255237359b975186d64a663c08e76f836dc646
refs/heads/master
<file_sep>class Timer attr_reader :hours, :minutes, :seconds, :frames def initialize @hours = 0 @minutes = 0 @seconds = 0 @frames = 0 @last_time = Gosu::milliseconds() end def update if @frames > 59 @frames = 0 else @frames += 1 end if (Gosu::milliseconds - @last_time) / 1000 == 1 @seconds += 1 @last_time = Gosu::milli...
608533138175cbbeb7a91346913e9a7246592501
[ "Ruby" ]
4
Ruby
momentmaker/tank_bound
67abcd625956713070c187880963755b4c6e2169
1089aa30c2271fc77eda1c8623bb3911e5c91dfc
refs/heads/master
<repo_name>jumorean/latex_examples<file_sep>/CMakeLists.txt cmake_minimum_required(VERSION 3.17) project(latex_example) set(CMAKE_CXX_STANDARD 14) add_executable(untitled main.cpp)<file_sep>/script/build.sh xelatex paper.tex
d6f950cc382aa36c20410340e9ae536e04a1bcee
[ "CMake", "Shell" ]
2
CMake
jumorean/latex_examples
c013f7af4320548570cb51a90f0e0f18c80b6b6d
fb5b96e747a72886989eb1fc077d5fa40be36263
refs/heads/master
<file_sep><?php abstract class Figure { protected $_params; abstract public function draw(); public function setParams(array $params) { $this->_params = $params; } } class Square extends Figure{ public function draw() { echo 'Square'; } } class Triangle extends Figure ...
c746971cdff0f9fff0458d7ee6ee2bfebf49ea9f
[ "Dockerfile", "PHP" ]
2
PHP
Kshevchenko94/factory
73eddca2410c23817f8a76f12b6623efa331c836
2416402bd1a7232301fff2ff146c8d101b5940b3
refs/heads/master
<file_sep>// // ViewController.swift // Social Justice // // Created by Girls Who Code on 8/1/18. // Copyright © 2018 Girls Who Code. All rights reserved. // import UIKit class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() // Do any additiona...
2efbe6475dac939432f090b618667656f32fb9d9
[ "Swift", "Markdown" ]
4
Swift
christinasherpa/lai
8f1674fa38cdd79cbe7562995a6f4b9c7306d425
f6610c453fc8939e44d45d0fdbafd1f4d1c94f83
refs/heads/master
<file_sep>package gitHubDemo2; public class GitHubDemo2 { }
90047cb8874a1085bb4131c4c987d4307b9114d5
[ "Java" ]
1
Java
RichBj/GitHubDemo
c62ab305d6c2357eac102814f7ced93befc5162c
e044fda9bc60626ebb70f60675afeecc29cb9e31
refs/heads/master
<repo_name>joselee/UnityTowerDefense<file_sep>/Assets/Scripts/gui/UI.cs using UnityEngine; using System.Collections.Generic; using System.Collections; public class UI : MonoBehaviour { //private static List<GameObject> createdGameObjects // = new List<GameObject>(); private static Dictionary<string,UIObject> ...
d9d8920104dfc65f6db53c656f02795bb0808b05
[ "Markdown", "C#" ]
12
C#
joselee/UnityTowerDefense
ef77e0e2e92900f5e90ccda53da180301f9b3dc3
989403b40a23373b8ce778f4fb38330db8855ad9
refs/heads/main
<file_sep>import Resizer from 'react-image-file-resizer' export const resizeImage = ( image: Blob, width = 700, height = 600 ): Promise<string | Blob | File | ProgressEvent<FileReader>> => new Promise((resolve) => { Resizer.imageFileResizer( image, width, height, 'JPEG', 100, ...
7f4c438d21388f50a2d18a0b67cb1bca0e32522f
[ "TypeScript" ]
1
TypeScript
sayog4/ts-nextjs-ecommerce
dd4e3beed4fbaf14dfdc6b88644ff74c66be7bfc
d899cedab08dc61c98d0fded3645cd70cb69315b
refs/heads/master
<repo_name>BenjaminRojas/Laboratorio1<file_sep>/E6.c /* Definir las variables. Indicar que mientras a uno se le suma uno, al otro se le resta uno. Imprimir el resultado obtenido. Retornar a 0. */ #include <stdio.h> int main () { int kilometro_1 = 190; int kilometro_2 = 250; while (kilom...
be403b34c48e018a41cf33083b1b349e0942b360
[ "C" ]
4
C
BenjaminRojas/Laboratorio1
da9ddb4806872552fe15a89f1c299f6f178c0aac
56cdfa40575cbb28e44369d8950fd6c1cc4c16e8
refs/heads/master
<file_sep>import React, { Component} from "react"; import './Navbar.css' import NavItem from '../NavItem/NavItem'; import { render } from "@testing-library/react"; import Routes from './Components/Routes/Routes'; import {Link} from "react-router-dom"; <file_sep>using System; using System.Collections.Generic; using Mic...
6c260bacf3701f63ac349dc118ca08976183d2da
[ "JavaScript", "C#" ]
5
JavaScript
bkaes/PP1
1a05d2e854cd1ce9f264b4a750c56bd9b489ae2c
ac542a5b55d5e5399db05a9f613d6c69fbbedeaf
refs/heads/master
<repo_name>schmich/wordament-solver<file_sep>/solver.rb require 'set' require 'ffi/aspell' module Wordament class Solver def initialize @speller = FFI::Aspell::Speller.new('en_US') end def words(letters, min_length: nil, max_length: nil) raise if !min_length || !max_length @unmarked =...
e4fc67e26827a70995d61b24a386f53ce702af07
[ "Ruby" ]
1
Ruby
schmich/wordament-solver
350124262e6500a908796cbbee1d7fc4b05250c1
436430e2301f99c129fc6e5788862c8ca772ad71
refs/heads/master
<file_sep>import numpy as np loaded_arr = np.load('merged_pairs.npy') trainfile = open("merged_pairs_train.txt","w") evalfile = open("merged_pairs_eval.txt","w") len_total = len(loaded_arr) subsample_ratio = 0.4 total_idxs = np.arange(len_total) subsample_idxs = np.random.choice(total_idxs, size=int(len_total * subs...
0c3a95ef3cf5e3c5d168b545afc29d9e5e07c4ad
[ "Python" ]
2
Python
tzs930/transformers
206c1e0bb5bb0ee5cad394360a2accc8c2295344
af759adb96cf92a98d1692138c79fafd925930ad
refs/heads/master
<repo_name>imaditiagg/IOT<file_sep>/push_button/push_button.ino int LED = D4; // pin number for LED int button = D7; // pin number of button void setup() { pinMode(LED, OUTPUT); //set LED as OUTPUT pinMode(button, INPUT); //set LED as INPUT } void loop() { if(digitalRead(button)==1){ // Checking if button i...
28dc731cf5497ee0dbeab4a4fe4acdfc60d8e00f
[ "C++" ]
17
C++
imaditiagg/IOT
a05fba5563e979a7e70953b3933c6ebee317b5c8
8b4c9302ed17010b76db3078a4c02644e68203d8
refs/heads/master
<file_sep>import java.util.ArrayList; /** * This class represents a Hand. */ public class GameHand { public ArrayList<Card> hand = new ArrayList<>(); // holds the cards in the hand /** * Adds a card to the hand. * @param newCard */ public void addCard(Card newCard) { hand.add...
94154c7abb0fcbbc2e1b63779ebf01e67d30fb4c
[ "Markdown", "Java" ]
3
Java
mgdarroch/21-Game
0f49e0e158f47fd7301949e0d87cf9d2fb8a8c26
35d598b600fae2522b8aa00ce2c28ab1c661a098
refs/heads/master
<file_sep>import pygame import sys import time from math import fabs WIDTH = 1000 HEIGHT = 750 FPS = 30 # Задаем цвета YELLOW = (255, 215, 0) WHITE = (255, 255, 255) BLACK = (0, 0, 0) RED = (255, 0, 0) GREEN = (0, 255, 0) BLUE = (0, 0, 255) pygame.init() pygame.mixer.init() screen = pygame.display.set_mode((WIDTH, HE...
016d8cfe8b8bd76ab3956cfba3d5d6c9cc87a5ce
[ "Python" ]
2
Python
reet1304/diep_pygame
726491f1e54efe4790c8b8dc6218f80543195db1
f14daa78dafc76879e641172af6f6718334b547a
refs/heads/master
<file_sep>/** * * * * */ export default { auth: { loginBtn: 'Login By LeanCloud' } }; <file_sep>/** * Created by fengxiaoping on 4/15/16. */ const AV = require('leanengine'); AV.Cloud.define('', function (req, res) { })<file_sep>// 所有 API 的路由 'use strict'; const router = require('express').Router(); con...
248eb28be3aa692caa01bb6598638a6c020e5c6a
[ "JavaScript", "Markdown" ]
4
JavaScript
fxp/buytime.dashboard
7a760c564442f53fe62778a49fce36aa542e04ad
7d285dd12b8eeefda7c6cf6e3a8b69bd0fb7ccea
refs/heads/master
<repo_name>onedebos/Get-hired-Api<file_sep>/app/controllers/sessions_controller.rb # frozen_string_literal: true class SessionsController < ApplicationController include CurrentUserConcern def create error = if User.find_by(email: params['email']) 'Password incorrect' else '' ...
a44ba4077963bb3e3a6d12d925293414b46740c1
[ "Ruby" ]
2
Ruby
onedebos/Get-hired-Api
3d1616b012dacb47b16e692ac5b00c9f730637a5
1059230b556c111d5b29f2d8218887846e6d3a25
refs/heads/master
<file_sep><?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <gro...
8d57a66a15193dbf32e0f892c68614117f18936f
[ "SQL", "Markdown", "Maven POM", "INI", "Java" ]
14
Maven POM
JisooOh94/AopLocalCaching
2d8e889c9bae822d24c19a26411be9220d0dd147
b0240aa539dde2f67d9bb86608785c6a35b5892f
refs/heads/master
<file_sep><p align="center"><img src="https://www.evokewebs.com/wp-content/uploads/2016/01/logo.png"></p> ## About Evokewebhosting API (EWHAPI) EWHAPI is a headless web application developed using Laravel as PHP development framework. To connect server database to the frontend of the evokewebhosting.com using RESTful...
9b575681982527a517f21af21d0fb14a2e851065
[ "Markdown", "Dockerfile", "PHP" ]
7
Markdown
arunsahoo/ewhapi
ebd62fc36ed04287a532c068a6ed4b83dd79734a
3ea9c04fdcbb0d3dd1f14d9573593a80e8bdd786
refs/heads/master
<file_sep>Page({ data:{ cost:0, count:0, lists:[1,2] }, onLoad:function(options){ // 生命周期函数--监听页面加载 }, })<file_sep># 微信小程序 * babel编译 * gulp构建 ---- ## 首次使用 1. npm install 安装依赖 2. npm run dev 生成dist,用微信开发工具打开 --- *建议vscode安装插件vscode-wechat* <file_sep>va...
6dd5c0be9dd45905859e505b5ec6700f89bb11f1
[ "JavaScript", "Markdown" ]
9
JavaScript
Nameda/xcx_order
6cf4052297eb38d41e9e446772e22c71bae88992
1b233567766228fa550640eef1ad24366617154b
refs/heads/master
<file_sep>''' ''' import os, sys import time sys.path.insert(0, './python-package/') isMORT = len(sys.argv)>1 and sys.argv[1] == "mort" if isMORT: sys.path.insert(1, 'E:/LiteMORT/python-package/') import litemort from litemort import * print(f"litemort={litemort.__version__}") import numpy as np impor...
ee1656dc4f9a7e824dd5c655a1c6898f352060bc
[ "Markdown", "Python" ]
4
Python
atangfan/QuantumForest
f884147eadbbc610d943cac8c852c9267a6a1c93
7f44ebd6446978b96a44bf0bbbd1093b01647df7
refs/heads/master
<file_sep>// ArduinoSerialPlotter.cpp : Defines the entry point for the application. // #pragma comment(linker, "/SUBSYSTEM:windows /ENTRY:mainCRTStartup") #include "ArduinoSerialPlotter.h" #include "real_vector.h" #include "SerialClass.h" // Library described above #include <charconv> #include <fmt/core.h> #include...
afd3c4a7df8f75d1eb814d96e149231b571bc062
[ "Markdown", "CMake", "C++" ]
5
C++
Andersama/Arduino-Serial-Plotter
ac00dc46e675362e6bd1dc05ff1aa7dbdc50f7a0
8ffcd46bb2ba52bfb7ec2528107cecab302d1ede
refs/heads/master
<repo_name>estebancas/MyTunes<file_sep>/app/common/footer.component.ts import {Component} from 'angular2/core'; @Component ({ selector: 'footer-component', template: ` <footer class="footer"> <div class="container"> <a class="text-muted" href="/"><NAME>, {{year}}</a> ...
4e0b542b6e9a6909c619c0b50496b008528d2a73
[ "Markdown", "TypeScript", "Text" ]
19
TypeScript
estebancas/MyTunes
e5ddf5348dc59cdd8096edd8ff3da23513dc7302
3ab21e133e425f76766b146798a9d422086feb99
refs/heads/master
<repo_name>remfath/ssh-run<file_sep>/cmd/cmdServer/list.go package cmdServer import ( "github.com/olekukonko/tablewriter" "github.com/procroner/ssh-run/core/coreServer" "os" "fmt" "strconv" ) func List() { servers := coreServer.All() if len(servers) == 0 { fmt.Println("No servers") return } table := tab...
91d5dbc90f8b70fe58f6ffaa42897fe062186860
[ "Markdown", "Go", "Shell" ]
13
Go
remfath/ssh-run
40e8a6555570e8bdba62e7dfdda9ac60b10ecd6a
97c2b2dd644e6470152b30a018f3eb600184942d
refs/heads/master
<repo_name>XiaoHang1006/Table3D<file_sep>/Table3D/Assets/Scripts/MenuScript/RankLayer.cs using UnityEngine; using System.Collections; public class RankLayer : MonoBehaviour { //显示数字的rect的宽和高 public float groupX = 177, groupY = 0, groupW = 300, groupH = 240; //移动的最大距离 private int maxHeight; //数...
1c3fb31bbb381053fb0aa12454a81ad384a855e5
[ "C#" ]
32
C#
XiaoHang1006/Table3D
baf5ab7b0031b6e1e06942a1be29fe9cab83f2f9
b364e7e0a319ed0bd5c5d94da8ac2d779c524908
refs/heads/master
<file_sep>let isMouseDown = false let selector = document.querySelector('.selection') let container = document.querySelector('.container') let origin = { x: 0, y: 0, } var thisQQ=[] let boxes = Array.from(document.querySelectorAll('.box')) const positionSelector = (e) => { const x = e.clientX con...
dcfb5999b872d494141a4f42e5acaf0dafbd16ad
[ "JavaScript" ]
1
JavaScript
Nippers/bugs1
974512cb6e341027c599f21b2ce75fe1faacee0a
9d41713b880d3789dbbe93aa5a48bf6a131e11a1
refs/heads/master
<repo_name>demas/docker-setup<file_sep>/cowl/docker-compose.yml version: '2.1' services: cowl-services: container_name: cowl-services image: demas/cowl-services restart: always ports: - 3000:3000 <file_sep>/cowl/crawler.sh #!/bin/bash docker run -i --rm --name cowl-crawler demas/cowl-crawler &...
810ca395254f3aa42ce8fb7261c1e6b806279131
[ "YAML", "Shell" ]
7
YAML
demas/docker-setup
be34b7d81d0120112df4d7d10f8f69c6728d096b
1bdde11ad5b6ec72567089d71cbe820ce33a5bb2
refs/heads/master
<repo_name>ilcarbo/HOoop<file_sep>/blanco.py """ Un blanco que atraviesa un medio puede recibir una señal del radar y reflejarla, siendo detectado de esta manera """ import random class Blanco(object): """ Define un blanco a ser detectado por un radar """ def __init__(self, amplitud, tiempo_inicial, ...
fe74ca53d46833ac77ce4ff1548a32796faef457
[ "Markdown", "Python" ]
8
Python
ilcarbo/HOoop
e2163939ed8c716c29f752f5acb7ceeb3565b34e
8e72573547785a353f2388429183264d4cb86b1b
refs/heads/master
<file_sep>/* * OpenVPN LDAP Command * Copyright (C) 2017 <NAME> <<EMAIL>>. * * @SYZDEK_BSD_LICENSE_START@ * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must r...
042ff813241f4d2ce70eae778f05ff46c920efe6
[ "Markdown", "Makefile", "C", "M4Sugar", "Shell" ]
15
C
syzdek/openvpn-ldapcmd
ced4ca773e1d9ecae4fe6b5470f4087c86543788
115a00051317e0e1bc8301edabb9b4a9adde775a
refs/heads/master
<repo_name>sebastian5555/Proyecto_programacion<file_sep>/prueba.py import Estudiante std1 = Estudiante.Student("n","a","Id","s") std1.setname() std1.setlastname() std1.setid() std1.setsemester() print (std1) materias_std1 = Estudiante.Materias_x_semestre(std1.getsemester()) materias_std1.materias_vistas() hora...
13ceb58774f5b7d60f0fbd748fb43d1117c40138
[ "Python" ]
1
Python
sebastian5555/Proyecto_programacion
f61deffb1a228ba95c272e59241e7d6b0223ad87
bdf13a2c730aeb08a1d5070b72858fe027b0f6ea
refs/heads/main
<repo_name>MahjourMorad/xmlJava<file_sep>/src/filmapplication/FilmProjet.java package filmapplication; import static filmapplication.FilmProjet.xmlToTable; import java.awt.GridLayout; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.logging.Level; import java.util.logging.L...
604f22dd1f5c4bf5f341e56cd48c874148352322
[ "Java" ]
1
Java
MahjourMorad/xmlJava
f4796536a3248d1b9a20ae7eec594276d2c318ae
2557e1e172d988a6d2b5aa9bac0fab358a080b34
refs/heads/master
<file_sep>package provider; import entity.Person; import java.util.Scanner; public class ProviderPerson { public Person createPerson() { Person person = new Person(); Scanner scanner = new Scanner (System.in); System.out.println("Имя читателя:"); Strin...
d3e6b307137cdb1db8ec5d104c57a39d2ae4266c
[ "Java" ]
3
Java
OlegHarlamov/Java
81b81470a5afe90e6e448b469741891a8d8f3c49
c96eee3d27c8cc7c27374a9c99ef6272bb980269
refs/heads/master
<file_sep>from asteroids import Asteroids # Create an object for managing the game game = Asteroids( "Asteroids", 640, 480 ) # Start the main game loop game.runGame() <file_sep>from circle import Circle class Star(Circle): def __init__(self, x, y, r, rotation ): super().__init__(x, y, r, rotat...
5d835374028a6015f73543999ae3143ab33251cb
[ "Markdown", "Python" ]
10
Python
Shogun616/Asteroid-Python-
74c8333d9e17295bb61e33c17837304d04e2a036
63943b4038e59d602344fcbe3c47e9aea1d21dd6
refs/heads/master
<file_sep># Tapper- A super cool tapping game! <file_sep>// // ViewController.swift // Tapper! // // Created by Dishank on 12/21/15. // Copyright © 2015 Dishank. All rights reserved. // import UIKit import AVFoundation class ViewController: UIViewController { //Variables var maxTaps = 0 var curre...
c0ebecd7dee1ed826fc4efbf60f8b4e83ef6109d
[ "Markdown", "Swift" ]
2
Markdown
dishankng/Tapper
f2890f3f17ac43a459c1afb1009c83cbc337140e
35c30bbc832d87f138ed01c60732e8d18525824e
refs/heads/master
<file_sep>package br.com.testeandroid.feature; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.util.Log; import android.view.LayoutInflater;...
7754844df393a6ca5ca47a6f614ffcca568c21c6
[ "Markdown", "Java" ]
11
Java
GuilhermeMFresca/TesteAndroid
f9298a6ce57c49d5c8be1d894e01ce4ff39fc679
581d5c8ce704f9ebe838a317af8793a4f4e38057
refs/heads/master
<file_sep>$(document).ready(function() { var player = []; var opponent = []; var population = []; var graveyard = []; var active = 0; var atk = 0; var cAtk = 0; var playerHp = 0; var opponentHp = 0; var multiplier = 0; var alive = true; var luke = { name: "<NAME>", pid: 1, ap: 7, ...
1916eafffdecc5fc0e19c1ad00ae1c88bc513419
[ "JavaScript" ]
1
JavaScript
fongl/sw-game
0f3c9b5156c15f60c1e8dad8c23928bcd2ca65d7
22216b109942c36975f32cddbc393ef8e897f58a
refs/heads/master
<file_sep> <!-- start banner Area --> <section class="banner-area relative" id="home"> <div class="overlay overlay-bg"></div> <div class="container"> <div class="row d-flex align-items-center justify-content-center"> <div class="about-content col-lg-12"> <h1 class="text-white"> ...
ad6f07932379241346fe4e76cb6b3b1c54d2011e
[ "Markdown", "Text", "PHP" ]
6
PHP
WeYaTa/Pemodelan-Berbasis-Objek
cacb9ca1041b4a480a396121ab8968f81f164c44
d065143813b6a8d9bdaa757bd7057d05564b3de4
refs/heads/master
<repo_name>TopFuel/popcorn-site<file_sep>/README.md Popcorn Time Website ====================== ### The site is [get-popcorn.com](http://get-popcorn.com) <file_sep>/inc/lang/pt-br.php <?php $langsite = Array( // Site description in the title bar "TITLE_INDEX" => "Veja filmes por torrent instantaneamen...
df59d9646637400966ecd3eed024de2e2ec9e520
[ "Markdown", "PHP" ]
2
Markdown
TopFuel/popcorn-site
d9f2cbd13928a3b17153bef4baa2cefafe7219e2
9872c086f55477af5ebca57fc2185e7c78498fb7
refs/heads/master
<file_sep>-- cleanup drop table Agenda drop table Conference drop table Venue -- not necessary --drop database test1<file_sep>use test1 select * from Venue select * from Conference select * from Agenda<file_sep>------------------------------------------------ /* * Uzywanie danych z bazy ExampleData: * Tworzymy ...
c07a922d119497b947b5050d3404ca17c83a9d33
[ "SQL" ]
3
SQL
slonka/projekt1_db
84ee8f2650d6423bb361838f6b4ce2058112b560
75ef60d1d3bc74ace3925d15f1d84e03974a2750
refs/heads/master
<file_sep>class CowsController < ApplicationController #before_action :set_cow, only: [:show, :edit, :update, :destroy] # GET /cows # GET /cows.json def index @cows = HTTParty.get("http://172.16.58.3:8080/measurements/?id=1") #@cows = [{"cow_id"=>"2", "timestamp"=>"2015-02-21T17:46:59.000Z", "ph"=>0.1,...
d98d914d316516c08676d5be84e4f3df90d5b1be
[ "JavaScript", "Ruby" ]
11
Ruby
lyonsv/tenderscan
be3be6fdd4df874bd0571e5933502b886dc7ef33
4b66ee8c7a82181efae43956a47fc8f836c1e2e2
refs/heads/master
<file_sep>import { Injectable } from '@angular/core'; @Injectable() export class UnshiftService { person = []; constructor() { } sums = 0; persons() { return this.person = [{ name: 'Kevin', salary: 123 }, { name: 'AB', salary: 234 }, { name: 'Yuvaraj', s...
b43c311d2e0f15812618c1f80043f9dda956e0ba
[ "TypeScript" ]
2
TypeScript
rajmaravanthe/dropdown-service
4175452ec34eca3b26b392cfa63b6b650cba8e20
7e3b1dab46be1f0a8cc2bad6694497e1c2e89da8
refs/heads/master
<file_sep># tfe_passwd.py This tool is designed to change a users password for terraform enterprise ## Installation pip3 install -r requirments.txt ## example usage ### Change joe_user's password to a specific string $ tfe_passwd.py joe_user update joes_old_pass --newpass jo<PASSWORD>_pass Changing password ...
47312be7728b50fbee7e04cefde167a1e31cb6d8
[ "Markdown", "Python" ]
2
Markdown
DheerajJoshi/tfe_passwd_reset
b2758f0194f0683ab2a0847afb51f00c5a137fd0
1712b41fc96641ee913704bfff8956fe2791aee5
refs/heads/master
<repo_name>akameco/first-path<file_sep>/readme.md # first-path [![Build Status](https://travis-ci.org/akameco/first-path.svg?branch=master)](https://travis-ci.org/akameco/first-path) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://github.com/facebook/jest) [![styled with prettie...
6154752875e49cd0548fe8bc9e23104dfd728789
[ "Markdown", "JavaScript" ]
2
Markdown
akameco/first-path
d088d9ad6ddceb37a29a7336231850473871742a
2baa0ce51136a2d3002947bb1f06a9c62910bcbd
refs/heads/master
<file_sep>var ToolRect = function() { this.l = 10; this.t = 10; this.w = 10; this.h = 10; } ToolRect.prototype.setLeftTop = function(x, y) { this.l = x; this.t = y; } ToolRect.prototype.setRightButtom = function(x, y) { this.w = x - this.l; this.h = y - this.t; } ToolRect.prototype.dr...
d3f1fe6b02dc564159212b2105705c8a87275e91
[ "JavaScript" ]
4
JavaScript
HsuBokai/PaintJS
07d55851304c773ca4fd501e858998e0e28cb56f
230d42ccaaba2c0856cc599a5369a42af13f436f