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>szllzs/spacecraft_demos<file_sep>/kbengine_unity3d_SpaceShip_demo/Assets/Scripts/u3d_scripts/Ship/Follow.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class Follow : MonoBehaviour { private Transform _target; // The position that that camera will b...
56bb62ce41641d95e917427509c744013cc8020f
[ "C#" ]
5
C#
szllzs/spacecraft_demos
de34cd64da5e594839c36948a0d5d9b610027214
5f3f5e02208e76e8318e66c27e72e4d08e721a0a
refs/heads/master
<file_sep>interface NavAttributes { [propName: string]: any; } interface NavWrapper { attributes: NavAttributes; element: string; } interface NavBadge { text: string; variant: string; } interface NavLabel { class?: string; variant: string; } export interface NavData { name?: string; url?: string; i...
840ba19bd19757a2880c9f51aea4c09e12119f52
[ "JavaScript", "TypeScript" ]
9
TypeScript
hsn41/m-school
7a28bab8de6f6251320d4d54dd38b991a176bfa1
b02a663d23638e466c87ac0f85b8af4f3b26d54b
refs/heads/master
<repo_name>aoaojiang/ServiceDemo<file_sep>/app/src/main/java/com/example/servicedemo/MyService.kt package com.example.servicedemo import android.app.Service import android.content.Intent import android.content.ServiceConnection import android.graphics.Bitmap import android.graphics.BitmapFactory import android.os.Bind...
55074b1bd2185824eff76bfb0d6c3076740daadf
[ "Kotlin", "Gradle" ]
6
Kotlin
aoaojiang/ServiceDemo
89483af47e7a4f2f294f7ff58782e1cd800f5a98
9e40c5d3626fc5e7e395a9f905d7442b23367349
refs/heads/master
<file_sep>from gpiozero import LED, Button from time import sleep led = LED(17) button = Button(2) while True: button.wait_for_press() led.toggle() sleep(1)<file_sep># Coursera-Interfacing-with-the-Raspberry-Pi Coursera | Interfacing with the Raspberry Pi | University of California, Irvine | Assi...
0966413bc2fcef93d706a0c4a85ea64b1246f375
[ "Markdown", "Python" ]
15
Python
SayanSeth/Coursera-Interfacing-with-the-Raspberry-Pi
fc3a39d612ba1eeb115537e88862a1a6ce27a294
d69bb049444afd88bde21fb28672b1de99a08b5e
refs/heads/main
<repo_name>jaebungs/battleship<file_sep>/README.md # Battleship Game - OOP,TDD ### Introduction I think I made many Odin Project practices without fully understanding Javascript. I came back to TOP and decided to do this project with React, OOP and TDD. ## Process There are many different type of ships, but the ga...
65ed8863965739052909ef167afdf89b6d251b4f
[ "Markdown", "JavaScript" ]
5
Markdown
jaebungs/battleship
34fe74025f64bf39c9a2fa51dbc8ab748600e1b8
a0fd2f479807f09a2bfee0ce3ab7e1ee1d6050e5
refs/heads/master
<file_sep># -*- coding: utf-8 -*- from model.group import Group def test_group_add_test(app): app.group.create(Group("new group name", "new group header", "new group footer"))<file_sep>from model.contact import Contact def test_contact_add(app): app.open_home_page() if app.contact.count() == 0: ...
9e54982816d2eb6abfde2a5fa335dfe10fd6aab4
[ "Python" ]
8
Python
oleg--manzhos/python_training
0b46fcd40570649b88629867f0acdcbed7e835ad
bfbedca7bf9d558cd0179ae2587d824e04c124ff
refs/heads/master
<repo_name>v6/terraform-example<file_sep>/scripts/buildaem.sh #!/bin/env bash ######################################################################### ## Starting AEM Script ######################################################################### basefiles="acs-aem-commons-content-3.14.8.zip vanityurls-components-1.0...
008dc33b0bbfc739e9c4c3a1d46ec260fcf935bc
[ "Markdown", "Shell" ]
12
Shell
v6/terraform-example
5e7dc9b0da42eae2ae7e0a97ee763bd4fd888f54
89bd86d94e211ec3189d20ee04aa4da913ac8de7
refs/heads/master
<file_sep>ROS 2015 exam at École Centrale de Nantes. Writing a subscriber and publisher, using roslaunch with remap. Subject of the exam is in french, but the simulation is quite straightforward to understand.<file_sep>#!/usr/bin/env python # modules # ROS stuff and multithreading import rospy from geometry_msgs.msg...
54e666bedbbacf58fdad40cdaf13b9b6cfc7a803
[ "Markdown", "Python", "CMake" ]
3
Markdown
oKermorgant/ecn_ros2015
152835b330893093e2dfbc288200b3bb5fbd40f8
b1189a0e54723f85563b3184808407e43fdf574e
refs/heads/master
<file_sep># org_to_word_excel See your org in an excel or word document <file_sep># from openpyxl import load_workbook # from dashboard.my_secrets import REGRESSION_DEVEXT_DBQA_GIS # # # def get_items_from_folder( # gis_obj, folder, item_types=None # ) -> list: # folder=None returns the root folder # items = g...
ffc8e544cc961a5b8d9d7097e435aa273a31b5ba
[ "Markdown", "Python" ]
5
Markdown
jsolly/OrgToWordExcel
03da339e1585c75a731c2a2e57fb89238a2b6b6a
f6654bde13aaebfc4e1ca7d3b59cca265582b062
refs/heads/master
<repo_name>JohnDeeBDD/stopwatch-block<file_sep>/src/ContractorStopwatch/contractor-stopwatch.js var startTimerButton = document.querySelector('.startTimer'); var pauseTimerButton = document.querySelector('.pauseTimer'); var timerDisplay = document.querySelector('.timer'); var startTime = 0; var updatedTime = 0; var tIn...
4bee4a56644f4b83a926eeaf7db9bab07df7aea3
[ "JavaScript", "Markdown", "PHP" ]
11
JavaScript
JohnDeeBDD/stopwatch-block
eec36c430908c00796df4a73c65c5e3b5f0c97a4
134269b303a579b041b60030d4eb679a327a1be7
refs/heads/master
<repo_name>fazlayrabbi/NYC-Recycle<file_sep>/README.md # NYC-Recycle This project won 2nd prize in Lehman College NSBE 2015 Spring Hackathon. It is a web app that enables user to find ten nearest recycle bins in NYC based on their address. This project is implemented using JavaScript, AngularJS, Bootstrap and HTML. G...
254a8057acb7352313ad01925111b0ff5a9713cc
[ "Markdown", "JavaScript" ]
2
Markdown
fazlayrabbi/NYC-Recycle
080051d317659da8d30325d2b398e1c4a4fd91d0
98c7a300d3f0e731723dd925acafd57708187898
refs/heads/master
<file_sep>package com.buildertrend.factfinder import android.support.v7.widget.RecyclerView import android.widget.TextView import com.buildertrend.factfinder.database.Fact class FactViewHolder( private val view: TextView, private val onItemClick: (fact: Fact) -> Unit ) : RecyclerView.ViewHolder(view) { f...
9a255b9bd224df2f6b977db2a2b7721f39d3615a
[ "Markdown", "Kotlin" ]
9
Kotlin
mcasper3/FactFinder
233f5bb9bca59bab4ea252fdc19052e5a37e3601
bc72a1771408bd24634608d5268b60403568000b
refs/heads/master
<file_sep>// // RoundedCircle.swift // RoundedView // // Created by <NAME> on 3/29/19. // Copyright © 2019 <NAME>. All rights reserved. // import UIKit class RoundedCircle: UIView { func round() { self.layer.cornerRadius = self.frame.width/2 self.clipsToBounds = true self.layoutIf...
2db8763122d93510f9cd174a97e9418d53f3b3b9
[ "Swift" ]
1
Swift
w00ker/RoundedView
af6b2dc1161834a087966cb09830d23a3252a15f
17fd51001ca89db461a2f608ece8eff922beab8d
refs/heads/master
<repo_name>ankitksharma/BingHackathon<file_sep>/grid_search.R library(plyr) library(dplyr) # set up the cross-validated hyper-parameter search xgb_grid_1 = expand.grid( nrounds = 1000, eta = c(0.1, 0.01, 0.001), max_depth = c(4, 6, 8, 10), gamma = 1 ) # pack the training control parameters xgb_trcontrol_1 = tr...
4312da6c365d597c6a1b723a9bc2b7c8199a1e70
[ "Markdown", "R" ]
7
R
ankitksharma/BingHackathon
3074075ba0c9bf98cddc2def513e503b389f8a7a
cc1df6225857daf85fdce3a0d49f5922fcd716ef
refs/heads/main
<repo_name>JunheeHan18/RemoteEnclosureManagementSystem-REMS<file_sep>/final(REMS)/WindowProgramming/TeamProject/TeamProjectView.cpp // TeamProjectView.cpp : CTeamProjectView 클래스의 구현 // #include "stdafx.h" // SHARED_HANDLERS는 미리 보기, 축소판 그림 및 검색 필터 처리기를 구현하는 ATL 프로젝트에서 정의할 수 있으며 // 해당 프로젝트와 문서 코드를 공유하도록 해 줍니다. #ifndef ...
d78bc7936fb7c0a65e4220fa45ea4cde2b886ee1
[ "Markdown", "C", "C++" ]
76
C++
JunheeHan18/RemoteEnclosureManagementSystem-REMS
202634fb405b78b1b5d8cf22f7b8c6ad708bcbc8
fce37547797a3dcd4665c1042b741c808cc4c5f7
refs/heads/master
<file_sep>package com.salama.easysqlparser.update; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import com.salama.easysqlparser.base.SqlObj; import com.salama.easysqlparser.base.SqlPartKeyword; import com.salama.easysqlparser.util.SqlParseException; public class InsertSql exte...
25ca704d8edaa053ff58f7b0541047b43eae0757
[ "Java" ]
7
Java
SalamaSoft/EasySqlParser
3e696da60ea5cd01b470904b5e4f22c90e950035
5cb4a729f4529233e2060cfd5cd22229aa70b447
refs/heads/main
<repo_name>CamiloHuertas/JavaScriptNotDOMPart1<file_sep>/Capitulo32-FuncionesAnonimasAutoEjecutables/app.js //Funcion anonima autoejecutable (function (){ console.log('IIFE'); }) (); (function (d,w,c){ console.log('Mi segunda IIFE'); console.log(d); console.log(w); console.log(c); }) (documen...
b95e388a72af52075b22f06145e3b44f5783fdd0
[ "JavaScript", "HTML" ]
24
JavaScript
CamiloHuertas/JavaScriptNotDOMPart1
22a708edad985581cd8562a42944e9847bcbcb29
0e42611f29ee8a5020edb53a0f8bd9633fe23e03
refs/heads/master
<repo_name>mitsusawa/Aloha<file_sep>/src/main/java/com/product/aloha/FriendRequestForm.java package com.product.aloha; import javax.validation.constraints.NotEmpty; import javax.validation.constraints.Size; public class FriendRequestForm { @NotEmpty @Size(min = 1, max = 128) private String friendRequestName; pu...
92c20c6917709893db9ab7a11c7851c6cdbfe001
[ "Markdown", "JavaScript", "INI", "Gradle", "Java" ]
14
Java
mitsusawa/Aloha
811b1bc071fcbb5035acd94b0cb03c1489bfba78
7e1d8830f6b2c495bd8a948d2cc253f04273405d
refs/heads/master
<file_sep>import pandas as pd import plotly.graph_objs as go #Clean the dataset df_br = pd.read_csv('data/birth_rate.csv', skiprows=4) df_le = pd.read_csv('data/life_expectancy.csv', skiprows=4) df_le = df_le.drop(['Country Code','Indicator Name','Indicator Code','2018','2019','Unnamed: 64'],axis=1) df_meta = pd.rea...
ff72bbdf351483d34b92b2f1302b26e51a69f725
[ "Markdown", "Python" ]
2
Python
Jimeng927/Deploy_a_dada_dashboard
101fcc5a97dd75941070504a084722f01a2f82e4
ffe49ad6e9522c3e23ae1ab06732590417dccfc1
refs/heads/master
<file_sep>import express from 'express' import createUser from './services/CreateUser' const app = express() app.get( '/', (request, respose) => { const user = createUser({ email: '<EMAIL>', password: '<PASSWORD>', techs: [ 'NodeJs', 'ReactJs', 'Reac...
75f24c6fd1b41c91d565cbd6807876f7406a30a2
[ "Markdown", "TypeScript" ]
2
TypeScript
mnegabriel/learning-typescript
9faf7e3351e818c2825210c1305a3b77f144f7d3
cb5cd0fc3390084f2f9ef1e549b26cb6696cd07b
refs/heads/main
<file_sep>#include<stdio.h> #include<stdlib.h> /* for exit() */ #include<ctype.h> /* for isdigit(char ) */ #include<string.h> #define MAX 50 #define SIZE 100 /* declared here as global variable because stack[] * is used by more than one fucntions */ char stack[SIZE]; int top = -1; char opnds[50][80],oprs[50]...
437c1fde17c338bbe540eb8cf58ad48e9fcb326a
[ "C" ]
1
C
Ad-Shaikh/ALL_CONVERSIONS_INFIX_POSTFIX_PREFIX
048fa6781be19b77146a5ff944c7cbc3d993d94c
ff7621996b133b4e39c238ae093b8347e5f29b84
refs/heads/master
<repo_name>alexhortonmusic/elevate-build<file_sep>/README.md # elevate-build Build test for a fake Elevate United client <file_sep>/prep/main.js // darkens nav bar on scroll $(window).on('scroll', function() { let navHeight = $('nav').height() let change = $(window).scrollTop() let nav = $('#header nav') if (c...
a5a6707eb440975e64af9c58b452467d4a1865f8
[ "Markdown", "JavaScript" ]
2
Markdown
alexhortonmusic/elevate-build
f632c2439fedb7182692cb1d1cc63ee560b8f51a
7a2f2542320d8d0ff7ef101fe5161528d737e72a
refs/heads/master
<file_sep>package com.controller; import com.DBAccess.UserDB; import javafx.application.Platform; import javafx.event.ActionEvent; import javafx.fxml.FXML; import javafx.fxml.FXMLLoader; import javafx.fxml.Initializable; import javafx.scene.Node; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.sce...
21d2e7746ad91fdfe7327d40eeac77fd4afb4b9b
[ "Java" ]
1
Java
dangxunb/javafx-simple-hospital-management
b09f71054b81da8199ffe2e6da39d2b3cc5e8f34
7502f3cdc989fe4cb62c5c85fa04c85d866bb3cf
refs/heads/master
<repo_name>AlexHamlet/AlexHamlet.github.io<file_sep>/README.md # AlexHamlet.github.io https://AlexHamlet.github.io <file_sep>/processing/Template/Character.js class Character { constructor(x, y) { this.pos = createVector(x, y); this.vel = createVector(0, 0); this.acc = createVector(0, 0); ...
9f87169873370a41152ef6b5a3870d2c41904a8c
[ "Markdown", "JavaScript", "HTML" ]
10
Markdown
AlexHamlet/AlexHamlet.github.io
680c14fd326be1496388e167414a496c5adf8ee3
b477f6c257e2c61211a6972cba18bde2dfc6e494
refs/heads/master
<file_sep>package sadeghi.chat.client; import java.io.IOException; import sadeghi.chat.util.ConsoleUtil; public class ClientStarter { public static void main(String[] args) throws IOException { // System.out.println("Server Hostname?: "); // System.out.print(InetAddress.getLocalHost().getHostName()); String h...
060e1bc05fa1fa0beee41f097970c7731aa1bc0a
[ "Java" ]
5
Java
fs123/AkkaJavaChat
5db7ed80667d3da3e5438fafe6b5c35c426bcffd
e2a06c7fbb057ab74190f6fc05a0d7eeeb56104f
refs/heads/master
<file_sep>require 'faker' # USERS 10.times do User.create( username: Faker::Internet.user_name, password: <PASSWORD>, email: Faker::Internet.email, is_admin?: false ) end # ADMIN User.create( username: Faker::Internet.user_name, password: <PASSWORD>, email: Faker::Internet.email, is_admin?...
2e365d2f67903ef86dbcd29eab5d4eb2d3ccf0e2
[ "Ruby" ]
1
Ruby
eshem/feedDBC
1a236f1b81e03e387a6e4a3200896db6452583de
f7c5e29a000ac57b5bda4569cf346aef2b092a61
refs/heads/master
<file_sep>import com.jayway.restassured.RestAssured; import com.jayway.restassured.http.ContentType; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; import static com.jayway.restassured.RestAssured.basePath; import static com.jayway.restassured.RestAssured.given; import static org.hamcre...
38239ed2c7832a6f03db2936f40acf1daf6b7eb1
[ "Java" ]
2
Java
SergNedaikhleb/TestTasksControl
c856dddd226f7e98c2d0c2bafd9a307407ab8260
29b7b7c1f7a46d759c5fa0b9f61193b1924e40e9
refs/heads/master
<repo_name>lucascviveiros/Class-Moviment<file_sep>/README.md # Classes-Study <file_sep>/Assets/Script/CubeController.cs using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class CubeController : MonoBehaviour { //'Life Control' Class public class LifeClass {...
c0966ef1dbd1beb5cee422821cf66cebcc860f6f
[ "Markdown", "C#" ]
2
Markdown
lucascviveiros/Class-Moviment
62f95c820d02d916dbbaf213502d2710d7177540
9cefa57afa4c72db238e445206039d98b2f14e3d
refs/heads/master
<file_sep>import random def main(): sum=0 cnt=int(input('how many time would you like to roll?')) mx=int(input('how many side are the dice?')) for i in range(0,cnt): roll=random.randint(1,mx) if roll==1: print(f'You rolled a {roll}!fail') elif roll ==mx: print(f'You rolled a {roll}!succe...
4ac594b9bff60bd97999036c4f5fe1aac49d8f8a
[ "Python" ]
1
Python
SuuTTT/intermediate-python-course
c49c43ba57d1dafa80e4cbe65104cd391956c90f
460942c2ba7a4d17ffe35a563661e6290d0ace9d
refs/heads/master
<repo_name>come2dark/MasterCom<file_sep>/MasterComApi/Clearing.Msc.Business.MasterCom/Model/ChargebackAcknowledgeRequest.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Clearing.Msc.Business.MasterCom.ModelData { public class Chargeb...
026fb80bbe7998f6e06acb3b7860d230decd5b3d
[ "Markdown", "C#" ]
134
C#
come2dark/MasterCom
c679ae720c0e51e34cb37f68e9b3cfae25170f07
e6b398aeb501d924aa50e94cf7523fd1ec2985bb
refs/heads/master
<repo_name>Adjoa/js-looping-and-iteration-filter-and-map-lab-v-000<file_sep>/index.js // Code your solution here: function driversWithRevenueOver(drivers, revenue) { return drivers.filter(driver => driver.revenue > revenue); } function driverNamesWithRevenueOver(drivers, revenue) { return driversWithRevenueOver(d...
c8f61431684073f4b54daf3929a6883302136f09
[ "JavaScript" ]
1
JavaScript
Adjoa/js-looping-and-iteration-filter-and-map-lab-v-000
97d196cfb06b73edb36606d6504e056caf18f7c3
4d060bcc7c6dd7d86b3243c751f027d0826b7dd8
refs/heads/master
<repo_name>yurykabanov/go-service-scaffold<file_sep>/pkg/transport/http/controller/version.go package controller import ( "github.com/labstack/echo/v4" "github.com/yurykabanov/service-scaffold/pkg/version" ) type VersionController struct { } func NewVersionController() *VersionController { return &VersionControll...
ad10110f13143e6efe45d04eb2f82d9c309bcae8
[ "Markdown", "Go", "Go Module", "Dockerfile", "Shell" ]
19
Go
yurykabanov/go-service-scaffold
338bbe6e28dafdaa06ae74acd00d7d2f140b8ac3
aa07a0cdce6c71c549f2b5b69ef8f33b418babba
refs/heads/master
<repo_name>katyaas/treeview<file_sep>/src/components/AddBtn.js import React from 'react'; import { inject, observer } from 'mobx-react'; import ButtonWithModal from './ButtonWithModal' const AddBtn = (props) => { const { treeStore } = props; const onSave = (value) => { const selected = props.getSelected(); ...
71db185c7ebbbf093b2ea544c1b1b5b97fca68a5
[ "JavaScript", "Markdown" ]
8
JavaScript
katyaas/treeview
3480ec373a4ac544b343b706629bcd9e2e428f61
0200ea0cc65286f051d80f31e86cd32140ca4c8b
refs/heads/master
<repo_name>EverestYAO/crawler<file_sep>/flask_app/app.py from flask import Flask, render_template from pymongo import MongoClient import os class MGClient(object): # def __new__(cls, *args, **kw): # if not hasattr(cls, '_instance'): # orig = super(MGClient, cls) # cls._instance = or...
aef83128c8b32e53a26290c9a8a8d1dc851cda56
[ "HTML", "Markdown", "Python", "Text", "Dockerfile" ]
30
Python
EverestYAO/crawler
898e46a0f304b36d0ac7927a542c678c074ffe26
95b90d70a5142091f0b9d89079348157a5f6cdb3
refs/heads/main
<file_sep>import mongoose, { model, models, Schema } from "mongoose"; const { DATABASE_URL } = process.env; export const connect = async () => { const conn = await mongoose .connect(DATABASE_URL as string) .catch((error) => console.log(error)); console.log("Mongoose connection established"); const Tod...
fadf93443c222114099c352e96cf34288fff40cb
[ "Markdown", "TypeScript", "Shell" ]
5
TypeScript
otaviothor/todo-list-nextjs
5bfe3591898a5197cd0c49a820e4cc42f20272a1
9cb407d619703b9a9310f532cbc2984baff81d94
refs/heads/master
<file_sep> //barra de navegación desplegable document.querySelector(".boton-menu").addEventListener("click", ()=>{ document.querySelector(".navegador").classList.toggle("mostrar") }); //botón de la barra desplegable document.querySelector(".boton-menu").addEventListener("click", ()=>{ document.querySelector(".b...
4eaae37ce02e720a9ebf1231337e5f6b8d877dfb
[ "JavaScript" ]
1
JavaScript
RosaSanM/excercici4
d5141299c02f19d19c76ac2477805e69de987c87
3832475d0ea99847989502789d210258fbc08b20
refs/heads/master
<file_sep>const express = require('express'); const data = require('./data.json'); const { projects } = data; const app = express(); // Add static resources for portfolio app.use('/static', express.static('public')); // Initialize view engine using pug app.set('view engine', 'pug'); // Route for index page app.g...
76903dcc608cdedb9be6d41a748637526c777abc
[ "JavaScript", "Markdown" ]
2
JavaScript
ericwholt/tech-degree-project-6
1726094ffcdfe64b65a0262a77f3ab532e0c2584
fbc5bd51700ac776d050b14d60f4458978f100e0
refs/heads/master
<repo_name>SkylerBrivic/Lobster<file_sep>/Function.h #ifndef FUN #define FUN #include "symbolNode.h" #include "Parameter.h" #include "Type.h" class Function : public symbolNode { public: Function(SymbolType newType, int newNum, Type* newReturnType, char* newName, symbolNode* parentBlock) : symbolNode(newType, newNum...
ffa1a2e49093b0a7450b4a2e8fc5f1c8caf0c779
[ "Markdown", "C++" ]
40
C++
SkylerBrivic/Lobster
3ad2a3d44918e78b876a4f3783625fa4e96e5a9d
4bcf1b0270552cfb8b77238065a9c122514852e8
refs/heads/master
<repo_name>PiastaPontus/Projekt_PP<file_sep>/Piasta_Pontus.py # Modelowanie - projekt, <NAME>, <NAME> # Modelownie rzutu poziomego w polu grawitacyjnym. import numpy as np from tkinter import * import wzory from matplotlib import pyplot as plt print('Oto program do symulacji ruchu poziomego z pewnej wysokośći H o dan...
7ab469c3cb9ad8623e6f75767e727c47bb3e06ae
[ "Python" ]
2
Python
PiastaPontus/Projekt_PP
917458476869b7896bdc20dfc5f2d7a25890beaa
82f080c822b07184e0161383290f30f74ef1de1a
refs/heads/master
<file_sep>package com.wipro.holmes.uhg.enb.esp.services.gsf.v1_5; import static com.wipro.holmes.uhg.enb.esp.models.Constants.GSF_1_5; import static com.wipro.holmes.uhg.enb.esp.models.Constants.PARSER; import static com.wipro.holmes.uhg.enb.esp.models.Constants.SERVICE; import java.io.BufferedReader; import java.nio....
bd6fea626d262948ac4dd8553d360a987697ed42
[ "Java", "Maven POM", "INI" ]
21
Java
ankit-bhattacharjee/new-validation-solution
d6e6d80c11ab459b4f64b3786d931aecb1752291
661698785523e2d612fc286b6876894fd276c10c
refs/heads/master
<repo_name>imukunya/technology-department<file_sep>/src/main/java/App.java import java.util.HashMap; import java.util.List; import java.util.Map; import dao.*; import models.*; import org.sql2o.*; import spark.ModelAndView; import spark.template.handlebars.HandlebarsTemplateEngine; import static spark.Spark.*; public...
c80e9664a600dd6952b38799301367060b7bd3b0
[ "Java", "SQL" ]
9
Java
imukunya/technology-department
f50da31fc5bb6d855884680dc2a59dc1d362db21
39f43956df7b6a279bdf71e8d11f7e7440ae3f09
refs/heads/master
<file_sep>package com.noamwolf.android.androidfound; import android.app.AlertDialog; import android.content.Intent; import android.content.SharedPreferences; import android.content.SharedPreferences.OnSharedPreferenceChangeListener; import android.net.Uri; import android.os.Bundle; import android.preference.CheckBoxPr...
f609ca792bfea33e461c1b51b36eb80c15d24699
[ "Java" ]
4
Java
vriesderik/android-ice
1db1446aa8b46232c41e27396e55b25075b7e069
73a901f37b797a12ed6e31f51ce1e79421b9005e
refs/heads/main
<repo_name>jalexcole/Little-Turn-Game<file_sep>/Notebook.md ## Setup ### Day 0 Used this example for making the make file and project structure https://hiltmon.com/blog/2013/07/03/a-simple-c-plus-plus-project-structure/ Rules of the game have been established. Controller based game, 30 minutes of game time, and at lea...
cca311209c90db810d993140d74a868f0cbefa02
[ "Markdown", "C++" ]
14
Markdown
jalexcole/Little-Turn-Game
5d895be1560977b6408e2089f4aed040e7f665df
5b63a2b8bbdc22b8588dfeb61ca5571dba736e69
refs/heads/master
<file_sep>#[no_mangle] pub extern fn reverse_string(pointer: *mut u8, length: usize) -> *const u8 { let slice: &[u8] = unsafe { std::slice::from_raw_parts(pointer, length) }; let string = std::str::from_utf8(slice).unwrap(); let result = string.chars().rev().collect::<String>(); result.into_bytes().as_p...
107ac9c647cc7dd1e1b40d56231f738fe88ecf90
[ "Markdown", "Rust", "Python" ]
6
Rust
gakonst/rust-wasm-demo
eb6517e8a74ef3f41da467941fd3a8df358c7acd
d4e9ce935ff0ce988a19e01213d0ca1d06ae52b8
refs/heads/master
<file_sep>package ru.iammaxim.Coordinator; import java.net.DatagramSocket; import java.net.InetAddress; /** * Created by maxim on 7/16/17. */ public class UDPSocket { private InetAddress addr; private int port; private DatagramSocket socket; public UDPSocket(InetAddress addr, int port) { th...
ee9906ff83943c264b50769377d16a23122a7a5f
[ "Java", "Gradle" ]
5
Java
IamMaxim/Coordinator
330b71c3b1e6e78ffab1fc59f841d69473810a51
9ac6c285e6ef1d4be343ae46af412a910fd42fc0
refs/heads/main
<file_sep>import React, { Component } from 'react'; import { connect } from 'react-redux'; import { Redirect } from 'react-router-dom'; import { login, clearAuthState } from '../actions/auth'; import { Form, Button, Card, Col, Row, Alert } from 'react-bootstrap'; class Login extends Component { constructor(props) { ...
9aa6575224fe40f8fb97e79ed89c14dbcac80233
[ "JavaScript", "Markdown" ]
11
JavaScript
shashankch/OnlineClassroom
55854edae5dc591ac5bd1d0920a7ac9a5a524909
547d7cfa71541740edde1f95f860c693b541b712
refs/heads/master
<repo_name>victoryshao/LeetCode-algorithm<file_sep>/longset_sub_string.py # coding: utf-8 """ Given a string, find the length of the longest substring without repeating characters. """ def get_longest_sub_str(input): sub_str_dict = dict() sub_str = "" for char in input: if char in sub_str: ...
e1577876853fb29992573a60fff0fcc1009e60fa
[ "Markdown", "Python" ]
3
Python
victoryshao/LeetCode-algorithm
b413ba4a602e601a3942b10866f2ebef17f936fa
b44c294d4afaf2741d867b7c0e29166239a73541
refs/heads/master
<repo_name>Bothees/hsbc-technical-test<file_sep>/src/test/resources/project.properties base.url=https://api.ratesapi.io/api <file_sep>/src/test/java/com/hsbc/RunApiTests.java package com.hsbc; import com.hsbc.utils.TestContext; import cucumber.api.CucumberOptions; import cucumber.api.junit.Cucumber; import io.restass...
0ead594798864f278787fc45721fe7f42933d621
[ "Markdown", "Java", "INI" ]
5
INI
Bothees/hsbc-technical-test
f86c76f5459ce01d9c74392e43fce7fbc0de0a52
93b54793e572cc6d5f58cc700cac614295ec7e45
refs/heads/master
<file_sep>chrome-to-xbmc ============== Chrome plugin for detecting video streams on pages and sending them to XBMC Currently only lists the URLs of detected streamed media <file_sep>var mimeTypes = ['video/mp4', 'video/f4m', 'video/quicktime']; var tabUrls = {}; chrome.webRequest.onHeadersReceived.addListener(fun...
e0f668ed17a4fcbb9da8b7963e2bd56eaf1c71d1
[ "Markdown", "JavaScript" ]
2
Markdown
mifi/chrome-to-xbmc
0e5ce98c94d8c5f65258fc98521638a78f39119e
cd6fe11e982295da4607dd2f771954c8f2a2f7d7
refs/heads/master
<repo_name>JackTheRipper42/SimpleBattle2<file_sep>/Assets/Scripts/Ship.cs using UnityEngine; [RequireComponent(typeof(ShipFlightControl))] public class Ship : MonoBehaviour { } <file_sep>/Assets/Scripts/GunTurret.cs using System.Linq; using UnityEngine; using Debug = UnityEngine.Debug; public class GunTurret : Turr...
546e867cbea6320f38270664cfda33d2f1e7eaff
[ "C#" ]
16
C#
JackTheRipper42/SimpleBattle2
81d92615f25a6c4c7d318d64b662ed72905c6ad3
a33cbbc443cdffe55bb4f6e78fbdb6f639be3c41
refs/heads/master
<repo_name>iap/conduct<file_sep>/vendor/code-of-conduct.uk.md +++ version = "1.4" aliases = ["/version/1/4/uk"] +++ # Пакт про участь - Кодекс поведінки ## Наші зобовʼязання В інтересах зміцнення відкритого і дружнього середовища, ми, як учасники та супроводжувачі, зобовʼязуємось прймати участь в розбудові нашого пр...
ce926f363bbd78f4643cd553c4bceb45ae82692c
[ "Markdown", "JavaScript" ]
2
Markdown
iap/conduct
e656579d1fe9400f8216a00dfcd2d1d1b615ee29
2fb04d6dbfe984e5f8a9372adabf06790cd4b7cd
refs/heads/master
<file_sep>package de.hp.view.tavernview; import com.vaadin.server.Page; import com.vaadin.ui.Button; import com.vaadin.ui.Button.ClickEvent; import com.vaadin.ui.ComboBox; import com.vaadin.ui.Label; import com.vaadin.ui.Notification; import com.vaadin.ui.Notification.Type; import com.vaadin.ui.VerticalLayout; import...
58c3faf0ecea1aa89f86f4d344f39073bff818c9
[ "Java" ]
3
Java
haraldpusch/vaadin-mvp-example
71a8d29d3e03aecc14a14b5b05ae9e266e968838
c9f5e106f385549f9534668ba945197e34d5a74e
refs/heads/master
<repo_name>defgadget/urlshortener<file_sep>/main.go package main import ( "fmt" "log" "net/http" "html/template" "strings" "regexp" "os" "encoding/csv" ) // TODO: Improve UI of website // TODO: Automate shortening of long url. ?? How to do it? // TODO: Make code more modular - Move Modal into it's own package ...
bcc740f00340e8328f60899d866ad769643a624d
[ "Markdown", "Go" ]
2
Go
defgadget/urlshortener
4ed48f178762bb80efcea9b73b72504fd4aa2002
ffa3b4e26d0fbd08ea7a6390e335b2aa9b3a626a
refs/heads/master
<file_sep>import React from "react"; import Post from './post' export default class Posts extends React.Component{ render(){ const {loading, posts, error} = this.props; const postsTemplate = () => { return ( <React.Fragment> {posts.map((post, inde...
86a3b7cf07939e869d67f1790c8199e06b17edc9
[ "JavaScript" ]
3
JavaScript
Farintable/reddit
894951852ec09f9f1d744f8da774a4d622ec73c8
c48e0394bce7566971744cf33517b47dddefda86
refs/heads/main
<repo_name>ErPacheco/electron-spotify-course<file_sep>/src/utils/Api.js import firebase from './Firebase'; import firebaseGlobal from 'firebase/compat/app'; import 'firebase/compat/firestore'; import 'firebase/compat/auth'; const db = firebase.firestore(); export async function isUserAdmin(uid) { const docRef = awai...
f5cb5694702350ef254f3c20667bea8f172288fe
[ "JavaScript" ]
1
JavaScript
ErPacheco/electron-spotify-course
8ecb86dd7b27133f59b083a43e621dbf48a36afb
62e81ea028bb373cd8255ab13ba9e8c3e8df89c9
refs/heads/master
<file_sep>#!/bin/bash sudo apt-get install ffmpeg -y sudo add-apt-repository ppa:obsproject/obs-studio sudo apt-get update -y sudo apt-get install obs-studio -y <file_sep># install-obs-debian This script installs all the dependencies that OBS needs and OBS itself (for debian + derviatives (ubuntu, elementary, etc). # H...
0590811f9482d255c5a355c0895a7761f443d6ec
[ "Markdown", "Shell" ]
2
Shell
reesericci/install-obs-debian
9f9524e6b1d574c3eca16c14a0b56ab7e8da97c2
bf26061769d26d50f3bd3cecdfe6ebfeee56e144
refs/heads/master
<repo_name>Mu-L/orbit<file_sep>/src/OrbitService/LinuxTracingHandler.cpp // Copyright (c) 2020 The Orbit Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "LinuxTracingHandler.h" #include <absl/container/flat_hash_set.h> #inc...
0e5b75fbf1e5961861a7e378063c9bc062bc4f9e
[ "C", "Python", "CMake", "C++" ]
30
C++
Mu-L/orbit
9a3338d1fda66c4c3723333023dd039acc3c40a0
089253325dd7678beea6a315251d2222101d68c1
refs/heads/master
<file_sep>let sliderValue = document.getElementById("sliderThing"); sliderValue.oninput = function () { document.getElementsByClassName("container-displayA")[0].setAttribute("style", ""); let sliderTime = "animation-duration: " + Number(this.value)/10 + "s;"; let sliderTimeTick = "animation-duration: " + Nu...
f15074d085881fc13fe02ee00c257d6b3b77887d
[ "JavaScript", "Markdown" ]
2
JavaScript
Jnavarr56/Digital-Newtons-Cradle-Pure
ed0271f0bd7df6d9a25ac2b99f34fff59d2b5b2a
b41805210fbee84486d78da9f87654d98928e50c
refs/heads/master
<file_sep>// `DEPLOY_ENV` が `GH_PAGES` の場合のみ `router.base = '/<repository-name>/'` を追加する const routerBase = process.env.DEPLOY_ENV === 'GH_PAGES' ? { router: { base: '/hieroglypher/' } } : {} const BASE_GH_URL = process.env.DEPLOY_ENV === 'GH_PAGES' ? '/hieroglypher/' : '/' const BASE_TITLE = 'ヒエログリフ変換「ヒエログリフ...
b469f98f10267cb23c8a9db65e63252efb1e4492
[ "JavaScript", "Markdown" ]
2
JavaScript
whike-chan/hieroglypher
20c99fa404d591612b70194a12b448523bcaf6e7
67fce9ad79a1abc3612fa0284f952f8f564535f8
refs/heads/master
<file_sep>''' Created on Feb 8, 2015 @author: hugo ''' import sys,os, datetime import logging import csv import codecs from lxml import etree from os import listdir from os.path import isfile, join # for encoding pictures import base64 def createMap(d): # create xml element map from dict #type="multichoice"...
7424f010c8d4d418d8bbc9f4336c6d66dd7bde83
[ "Markdown", "Python", "INI" ]
3
Python
hugokoopmans/moodle-import-quiz
5cf6b95049b2428c0318daaca429292100faef51
1a0aefa96c38f67d798352a59ba234fb6874bbea
refs/heads/master
<file_sep>import { Component } from '@angular/core'; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.css'] }) export class AppComponent { title = 'app' public opened: boolean = true public mode: object public sidenavItems: object constructor() { ...
3fe26a51840f91e2c33af83fe9bcd5e7d5fb8cd1
[ "JavaScript", "TypeScript" ]
4
TypeScript
PavelGonzales/angular-translater
e63720ba0a90d238f923433d209b1302c9be21b7
ac74fbc4163bee038a8eeb6ee287b34497db01a7
refs/heads/master
<file_sep>import React, { Component } from 'react'; import {connect} from 'react-redux'; class Employeedetail extends Component{ render(){ return ( <div> <p>{this.props.formDeatil}</p> </div> ) } } function mapStateToProps(state){ return({ fo...
a7d655ab5bb1e4d294d4fee9f3a17e898135a536
[ "JavaScript" ]
2
JavaScript
Paras700/ReduxForm
7c574025da4577c30cc108e0793375dabfd533b1
5b9d47f2302415dfadc75a80741f76b22831844a
refs/heads/master
<repo_name>amarano/exercism-rust<file_sep>/beer-song/src/lib.rs pub fn verse(n: i32) -> String { } pub fn sing(start: i32, end: i32) -> String { let mut s = "".to_owned(); for n in 0..start - end { let i = end - n; } } <file_sep>/bob/src/lib.rs pub fn reply(message: &str) -> &str { let ...
5962dbe8aef19745e2fc2401ebb84d40c978e798
[ "Rust" ]
2
Rust
amarano/exercism-rust
9fb19ec409f1c49f2a12ff6bef1d7f7a13f39149
e26efe154d329ed4544bfc907603f4d0f35044ba
refs/heads/main
<repo_name>waleerat/Signin-with-orientation-and-reponsive-design<file_sep>/Signin-with-orientation-and-reponsive-design/View/SignIn/UpdateProfileView.swift // // UpdateProfileView.swift // Signin-with-orientation-and-reponsive-design // // Created by <NAME> on 2021-09-26. // import SwiftUI struct UpdateProfileView...
c062c4122ad36564fb39ea0f89dd313f8f1d7230
[ "Swift", "Markdown" ]
18
Swift
waleerat/Signin-with-orientation-and-reponsive-design
5f1575384d60da6e892beb9497bbc8069302ab5f
d48f7517303da92a0b25bda5abae672073e44663
refs/heads/master
<repo_name>rajc97/genisplazacodechallenge<file_sep>/app/src/main/java/com/rajchandan/codingchallenge/APIHandler.java package com.rajchandan.codingchallenge; import android.util.Log; import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; import ja...
43757417286abbc86c03d520c7be5df5c2246499
[ "Java" ]
2
Java
rajc97/genisplazacodechallenge
b79674531560a1fdf5cc169d2dbb59e4344bbb55
3ebb779532ec57177b47d08f7b9e82c0c80b7202
refs/heads/main
<repo_name>JesusFernandez86/Vagrant-Ansible-ELK_Stack<file_sep>/README.md # Practice SysAdmin Bootcamp DevOps Small project to provision 2 machines automatically using Ansible as provisioner tool, one with ELK stack and another one with Wordpress and Apache. The wordpress machine will also install filebeat so it coll...
473256851a7863e3651eb4560a61a3a922666e6d
[ "Markdown", "Ruby", "Shell" ]
3
Markdown
JesusFernandez86/Vagrant-Ansible-ELK_Stack
aa516741aa34dae1cbca2d43deba39a832e83530
7d23a882eef5d75f368d9e20cc8f0ae7d74aa74f
refs/heads/master
<repo_name>salgado/prog1.2018.2<file_sep>/converte.c #include <stdio.h> int main() { float celsius, fahr; printf("\nEntre com grau Celsius:"); scanf("%f", &celsius); fahr = 1.8*celsius + 32; printf("\nConvertido para Fahreinheit = %.2f", fahr); return 0; }<file_sep>/notas.c ...
e9390a78aa99849d0c984600a7edad72149463d1
[ "Markdown", "C" ]
29
C
salgado/prog1.2018.2
5a099d82c314e5377c99d3fd64053b074498c84f
10252b3a7341771be22af2593922f060098a805c
refs/heads/master
<repo_name>KatieHerda/json_the_cat<file_sep>/breedFetcher.js const request = require('request'); //https://api.thecatapi.com/v1/breeds/search?q= const URL = 'https://api.thecatapi.com/v1/breeds/search?q='; const fetchBreedDescription = (breedName, callBack) => { //response is just a placeholder, not needed. reque...
cf11be683858819379b04cdb893ead2f70c33e70
[ "JavaScript" ]
1
JavaScript
KatieHerda/json_the_cat
241b2863b1f5c3f53c4ac7060b077044866c630b
25f81084d256d19174c2383d419e13745ba0b456
refs/heads/master
<repo_name>DongjunLee/samhangsi-generator<file_sep>/main.py #-- coding: utf-8 -*- import os from six.moves import cPickle import tensorflow as tf from kor_char_rnn.model import Model flags = tf.app.flags flags.DEFINE_string('word', '삼행시', 'Input korean word (ex. 삼행시)') FLAGS = flags.FLAGS class SamhangSiGenerato...
c566fa455536f97f4325158515bc870628c6e94b
[ "Markdown", "Python" ]
2
Python
DongjunLee/samhangsi-generator
8ce8e93222f975015cd31467a6fb042d7a243d22
5448bc25d1aeec5564295b06c44af4858fd39057
refs/heads/master
<repo_name>brokenzoom/emojidictionary<file_sep>/Emoji Dictionary/DefinitionViewController.swift // // DefinitionViewController.swift // Emoji Dictionary // // Created by <NAME> on 6/26/17. // Copyright © 2017 getRekt. All rights reserved. // import UIKit class DefinitionViewController: UIViewController { ...
a1c075fdaae1e1c97f4318a3eca0c50590f0ea70
[ "Swift" ]
1
Swift
brokenzoom/emojidictionary
f9899c740558bbb84fb0115cd44d77965043d817
c26c34d1b5ec68589d4dafa2c363774941644aa7
refs/heads/master
<file_sep>package edu.ifes.lfa.calc.data; import static edu.ifes.lfa.calc.Utils.unescapeString; import static java.lang.String.format; import java.util.Objects; /** * * @author jefferson */ public class CharSeq extends Text implements Comparable<CharSeq> { public final String value; public CharSeq(St...
9450a5fc83a2f34b9af96a708ec951e248597ea9
[ "Markdown", "Java" ]
4
Java
MatheusRBarbosa/ifes-lfa2
1810bd6ddaae25f25205f0cc518377bec672b225
9dda8fb203fd2eff50b2fb63f4ebf66c40cb0bd2
refs/heads/master
<repo_name>JunchenZ/ChatApp<file_sep>/server/1026 Channel Selector Server/src/Client.java import java.io.InputStream; import java.io.OutputStream; import java.nio.channels.SelectionKey; import java.nio.channels.SocketChannel; import java.util.Iterator; import java.util.Set; public class Client { private SocketChannel...
cbcfd2fed814a59dea36d2e10b3a87900712fb7f
[ "JavaScript", "Java", "Markdown" ]
5
Java
JunchenZ/ChatApp
140fd8195e07f45ec02bfcdd929103c277616518
da3b60915646ef965c6fe305bc9dc24875368d7c
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...
a3ae5fc37d83eeeec77636f389f03a36b1dd552a
[ "Markdown", "Maven POM", "INI", "Java", "Shell" ]
15
Maven POM
TXYan/yan-dubbo-admin
510fc503968628c3f9bd8dac834048362f171e42
c6c9537c75b57a1e598b6cd9555fcb57f9a38ffb
refs/heads/master
<repo_name>Alif112/Bio-codes<file_sep>/practice/hello.py print("hello python"); print(22/4);
db59eb85cca7370c4dac4b59d413f8cc2e51c7cd
[ "Python" ]
1
Python
Alif112/Bio-codes
ff411715b158e504e24cca30ad7ffd95747f02b8
d604dda35b468134568e8f82fe3916fb398aa5af
refs/heads/master
<file_sep>package com.sergii.shutyi.model.entity.plant; public class Bush extends Plant { } <file_sep>package com.sergii.shutyi.model.enums; public enum Stems { ABSENT, SHORT, MIDDLE, LONG } <file_sep>package com.sergii.shutyi.model.entity.accessory; public class Tape extends Accessory { } <file_sep>package com....
494ece061e74b21562928ab402e096b0c91dea35
[ "Java" ]
10
Java
quar17esma/FlowerShop
840798c32c7d9a467c651f865aee24e2fa58f054
7e6926db5b23df866d602352109f8e14f6f1fe15
refs/heads/master
<repo_name>ivantorok/Eloquent-JavaScript<file_sep>/deepEqual.js /* http://eloquentjavascript.net/04_data.html Deep comparison The == operator compares objects by identity. But sometimes, you would prefer to compare the values of their actual properties. Write a function, deepEqual, that takes two values and returns t...
27de5ccb21738b0462076c8ac1a093c6e46b35b7
[ "JavaScript", "Markdown" ]
3
JavaScript
ivantorok/Eloquent-JavaScript
eb02c367631adb8bdf66e0506dd8e314017cf21a
5f1f2cc2f6dada81e3c28d7b6e454e0505c0e4e0
refs/heads/master
<repo_name>LiuYangX629/PetHome<file_sep>/README.md # PetHome Version 1.0 ## 制作者:刘新阳 完成时间:2019年6月12日 本店竭诚为各位顾客提供高效周到的服务,主要业务囊括了宠物美容、宠物用品、防疫上牌、宠物寄养、造型设计等业务。本店为每只爱宠量身订做全套专业服务,上牌、寄养和造型设计,所有产品走国际路线,无论你是哈韩哈日哈欧美还是哈华夏风,休闲、华丽还是可爱,我们宠物店的造型设计和创意服饰、专业的服务绝对让您的爱宠引爆眼球! 宠物店注重短期目标与长远战略的结合,中长期目标将逐步拓展产品的业务范围,为走在潮流尖端的狗民们提供宠物摄影、宠物婚...
90513719d32803ab757db89ef9f5f7917342a0aa
[ "Markdown", "JavaScript" ]
2
Markdown
LiuYangX629/PetHome
5ac1a04864e67c657c1dc9db614f8a77b5dcc295
d158e3124c65ba4d77e417aa54416032c5b176b8
refs/heads/master
<repo_name>zhaohansprt/ErlangRT<file_sep>/src/emulator/code_srv/module_id.rs //! Versioning for modules and unique id to find an older module even if it was //! overridden by a newer version. use term::lterm::*; /// Defines a module version, unique integer which is incremented on each /// module load or reload by th...
d6f85f9f873c256064fd8b52dd7a6db280d8f50a
[ "Rust" ]
3
Rust
zhaohansprt/ErlangRT
19a342626ef50d99056dda153b91e97c69615e45
3e7c5e000af73275b68de121e77fae9e896b62fa
refs/heads/master
<repo_name>WebEpic/blergers<file_sep>/lib/blergers.rb require 'pry' $LOAD_PATH.unshift(File.dirname(__FILE__)) require "blergers/version" require 'blergers/init_db' require 'blergers/importer' module Blergers class Post < ActiveRecord::Base has_many :post_tags has_many :tags, through: :post_tags # need...
eed78e89b249ea5817797d237fba737000354a09
[ "Ruby" ]
1
Ruby
WebEpic/blergers
c672fc091c808303d868ab4e722394dc23e601eb
2433cd51f68745fecf6c84c49a03c66cf7fcea62
refs/heads/master
<file_sep>#ifndef __PIPE_H__ #define __PIPE_H__ template<typename T> class Pipe { public: virtual ~Pipe() {}; virtual void push(const T &packet) = 0; }; #endif <file_sep>#include "Display.h" #include "Info.h" #include <Arduino.h> #include <Adafruit_GFX.h> #include <Adafruit_PCD8544.h> #include <Adafruit_NeoPixe...
a84860df5bb95ac264e0904a6ff3c9eba94322bd
[ "Markdown", "C", "C++" ]
27
C++
trishume/PolyType
77adab4faf44a19eb85279ee0037f1edb982da8f
c01e8e14f30bb329e58b53ad47439308a3fe6ab6
refs/heads/master
<repo_name>huhuhudia/time-mananger<file_sep>/tool/model/template.go package model var Today = "2021-02-17T" func init() { for _, task := range Template.Tasks { task.StartTimeStr = Today + task.StartTimeStr task.EndTimeStr = Today + task.EndTimeStr } } var Template = Journal{ Weather: "☀️", Tasks: []*Task{ ...
54ffdf1a386fa2f1db2119ce4fb02602c22c049d
[ "Markdown", "Go Module", "Go" ]
8
Go
huhuhudia/time-mananger
81adec7c723c88e030205efdfb2c4032f53a6efe
56a292824ccabd297b3a43949ca411b7cd8f9663
refs/heads/master
<repo_name>christrumbull/guardian<file_sep>/app/code/core/Mage/Adminhtml/Block/Report/Sales/Sales/Renderer/NetTotal.php <?php class Mage_Adminhtml_Block_Report_Sales_Sales_Renderer_NetTotal extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract { public function render(Varien_Object $row) { $...
763950fb6bda8e2fef33ddd3cae07bc5144311fa
[ "PHP" ]
1
PHP
christrumbull/guardian
4f054cf729c037e410f02bdf2af697e4bcda8632
c029325c74737f5c6a0ab1b32d0d06fd7a264b1a
refs/heads/master
<file_sep>//1.创建文件 cout<<"创建文件"; //修改文件 cout<<"修改文件"; <file_sep># -github 第一次使用github,练习创建仓库
bba1307ced2819162940ecb81435f5eaaf81283e
[ "Markdown", "C" ]
2
C
loganxsd666/-github
aedd4091e0bfe9a7eedbe46a4c070b6d98df0c53
60174eec9ac2883ad5bcb483e130a512e3e2b882
refs/heads/main
<repo_name>nmarrocchi/SwordArtOnline-Bot<file_sep>/events/ready.js module.exports = async (client) => { console.log(` Fully operational, ready to play! Logged in as ${client.user.tag} [+] Authorized with Discord `); try { await client.user.setActivity(`Sword Art Online`, { ...
ad2e7f6b0b5e694bc665d089423e049f08bd95e2
[ "JavaScript" ]
7
JavaScript
nmarrocchi/SwordArtOnline-Bot
f7f5829ed86dfa6f04e9a44c5f39c09b6cfb183c
3cfffb735d71be68ff0759ab53467a0cdd5b3adb
refs/heads/master
<file_sep>dropZone.addEventListener('dragover', function(e) { stopDefaultEvents(e); e.dataTransfer.dropEffect = 'copy'; }); dropZone.addEventListener('drop', function(e) { stopDefaultEvents(e); var files = e.dataTransfer.files; for (var i = 0, file; (file = files[i]); i++) { console.log(file) if ...
f88bdca22de4fc9c7cec6d9d41bbdcbe46cd3a0b
[ "JavaScript", "Markdown" ]
8
JavaScript
glotovdi/chat-nodejs
caa8432d9ddfceede77a156a42d7f7dbd445cb91
a854a53d2ce013444a1da09d260e2a5712c59a37
refs/heads/master
<file_sep>using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using EmployeeWebApp.Manager; using EmployeeWebApp.Models; namespace EmployeeWebApp.Controllers { public class EmployeeController : Controller { // // GET: /Employee/ pr...
1270728a984e2410c524995c6597f7bf8adc9c94
[ "C#" ]
4
C#
nasirhrana/Employee-Information
73524f6a0c71cb288b0afbc50f33df67b8334132
cf57267b0f2e27a2ab12897da21ae2211b189224
refs/heads/master
<file_sep>function to24HourTime(time) { var parts = time.split(' '); if (parts[1] === 'AM') { return parts[0]; } var hourMinute = parts[0].split(':'); return 12 + parseFloat(hourMinute[0]) + ':' + hourMinute[1]; } var result = to24HourTime('7:30 PM'); <file_sep>function calculateMagnitude(vector) { ...
f111b570be8eaddba59991708e5c76e420d86473
[ "Ruby", "JavaScript", "Markdown", "Python", "Text" ]
83
JavaScript
dvberzon/howreadable-webapp
62b7ace3ec31a16af57174cd9be155200e3ac0e7
038d32d528195c3204693a42b06f73ef5c37149a
refs/heads/master
<file_sep><?php //$inFile = $_SERVER['DOCUMENT_ROOT'].'/anil/pardeep.jpg'; /*//$image = new Imagick($inFile); //$image->thumbnailImage(200, 200); $outFile =$_SERVER['DOCUMENT_ROOT'].'/anil/pard.jpg'; echo "<pre>"; $mysock = getimagesize($inFile); print_r($mysock); $width=round($mysock[0]*0.5); $height=round($mysock[1]...
66062a179e1451321b8b32cb5a14fa48e9a02c50
[ "Markdown", "PHP" ]
3
PHP
anilkumarkalahasthi/ava
3558aea68a08e793fa571846e1845fcfc7fc7326
992d02cae01244cfc2e461735ff9b250278c0896
refs/heads/master
<repo_name>ntxtung/NodeFtpServer<file_sep>/src/model/users.js var Datastore = require('nedb') const users = new Datastore('./src/model/db/users.db'); users.loadDatabase(); users.ensureIndex({fieldName: 'username', unique: true}, (err) => { if (err){ console.log(err); } }) export default users;...
03adabce4f3828817c308a6c49943fe5bdcd5520
[ "JavaScript" ]
4
JavaScript
ntxtung/NodeFtpServer
6f004cdd4b3abb1402aa4a610fa89815df4eec35
59a1544408782c950a5a5eb14a3fb9a5ee44a87e
refs/heads/master
<repo_name>alieudev/initializing-instances<file_sep>/index.py class Breakfast: def __init__(self, food, drink): self.food = food self.drink = drink def getBF(self): return f'For breakfast, I had {self.food} and {self.drink}' class Lunch: def __init__(self, salad, soup, drink): ...
0e4519b6bba728269c42af894f47d3f94f86d92c
[ "Python" ]
1
Python
alieudev/initializing-instances
d9839cc7ef8d7fa2429eb58ac3c87dd94a016334
e29dd534dfb1354500d51d6ac406a0fafe40910a
refs/heads/main
<file_sep>package project1; import java.util.List; import java.util.ArrayList; /** * Ratings Summary supporting inner and outer statistics of the review * @author tesic */ public class RatingSummary extends AbstractRatingSummary{ /** * * @param inNodeID unique identifier * @param inDegree number of rating...
75adab1f4720b80767edbfe72e75442b01c25afa
[ "Markdown", "Java" ]
2
Java
cadenforrest/OOPProject1
0272baaecc29c6538aa6077838d5c6e24d9a3ac4
84f941c3009f99d90dcf70d537835f7981d2207d
refs/heads/master
<file_sep>using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.SignalR; using Microsoft.Extensions.Logging; using MongoDB.Bson; using MongoDB.Driver; using OP.RemoteAdvisor.DAO; using System.Threading.Tasks; namespace OP.RemoteAdvisor.Hubs { public class CallQueueHub : Hub<ICallQueueHubClient> { ...
be89ac2f4bbfeeaaf9d34480ca302753cba23d8b
[ "JavaScript", "C#" ]
15
C#
ciuliot/opra
71736d50e24d6f2f6ba0956e892912d481f4ba6a
1e3ebae757a80fa0de15aaf2d6c5acf00f552641
refs/heads/master
<file_sep>import React, { useState } from 'react'; import {SafeAreaView, ScrollView, Text, TextInput, Button} from "react-native"; import Typography from "../../shared/components/Typography"; import {useErrorContext} from "../../shared/notification/ErrorContext"; import {useTheme} from "../../shared/theme/ThemeContext...
4b840b78ceb9dbdecb3a0e1918998861f1922d8e
[ "JavaScript", "Markdown" ]
22
JavaScript
Guarrakesh/vegasharing-app
30998eb7fa45a1a89305c37a3e68439e083b06fd
5fce99b6d4527854183ede97c1975765c8364ecc
refs/heads/master
<file_sep> d = dict(a=1,b=2,c=3) d.clear() d # {} d = dict(a=1,b=2,c=3) c = d.copy() c # {'a':1,'b':2,'c':3} c==d # True c is d # False not referencing to exact same place in memory # creates key-value pairs from comma separated values {}.fromkeys("a","b") # 'a': 'b' new-us...
cc4d7a0dc58e70379fda3d1f6b75c7b70ad1e205
[ "Python" ]
57
Python
evamaina/Python_practice
ecd6c255dc66b2dc6f2cd81ec79bc42a241bfca1
2da766d61c111135285323aa2b8fb50ee5b31be1
refs/heads/master
<repo_name>haykam821/Shieldsmith<file_sep>/src/index.js const github = require("parse-github-url"); function mdImage(name = "Badge", image, link) { if (link) { return `[![${name}](${image})](${link})`; } else { return `![${name}](${image})`; } } function mdImages(badges = []) { return badges.map(mdImage).join...
c9401ed2d9e69343234e22fe006619209b8352a0
[ "JavaScript", "Markdown" ]
2
JavaScript
haykam821/Shieldsmith
07ccade8245e2f0d0b8f807d91999a3ef92832a1
bd166599d4790d9ebf79b5a2ee6b1f4c1d4a7783
refs/heads/master
<file_sep>#!/bin/bash echo 'Launching site...' cd /home/vagrant/site screen -d -m /usr/local/bin/jekyll serve --port 8000 --host 0.0.0.0 \ --force_polling > /dev/null 2>&1 echo 'Jekyll is running under a detached screen.' echo 'Site has been launched and is available at:' echo 'http://localhost:8095/' <file_sep>#...
d3c8ad160ce63e592eda27a4973167028058d018
[ "Markdown", "Shell" ]
3
Shell
chrisbalmer/vagrant-jekyll
c78904e254eb25d6b9d952bf55e8f93c5074c867
ebbfe28c2b97d1d69f206b7848b29301f42fd1d5
refs/heads/master
<file_sep>APP_DEBUG=true WUNDERGROUND_API_KEY= WUNDERGROUND_API_BASE_URL=http://api.wunderground.com/api/${WUNDERGROUND_API_KEY} WUNDERGROUND_API_CONDITION=${WUNDERGROUND_API_BASE_URL}/conditions/q/{state}/{city}.json WUNDERGROUND_API_FORECAST=${WUNDERGROUND_API_BASE_URL}/forecast/q/{state}/{city}.json WUNDERGROUND_API...
11605b9c66e3f265535d32824dda7f4dd9e2c8b1
[ "Markdown", "PHP", "Shell" ]
4
Shell
ciscoo/clima
da85ac28e2c7365a218d9a3c15489798141c9962
4b43e45c016f8b9e0661334aaac8eb8d266d8c9e
refs/heads/master
<file_sep># -*- coding: utf-8 -*- import cv2 import numpy as np import matplotlib.pyplot as plt # 使用2g-r-b分离土壤与背景 src = cv2.imread('f:\\lane.jpg') cv2.imshow('src', src) # 转换为浮点数进行计算 fsrc = np.array(src, dtype=np.float32) / 255.0 (b, g, r) = cv2.split(fsrc) gray = 2 * g - b - r # 求取最大值和最小值 (minVal, maxVal, minLoc, ...
429a54d514ad64b6972181cffb1a1f00ad5013c7
[ "Python", "C++" ]
22
Python
PengKiKi/smallcar
cdf07746cead37aee18f2745dc692881de665381
d4933698e2a07c397c655fa76b0abdcc1937ef91
refs/heads/master
<repo_name>Windsooon/Travel-Backend<file_sep>/travel/urls.py from django.conf.urls import url, include from django.contrib import admin from rest_framework import routers, viewsets from app.models import App from app.serializers import AppSerializer from category.models import Category from category.serializers import ...
2540da1d63ab9c12b3aa3cc2c7d2a86b30192f97
[ "Python" ]
10
Python
Windsooon/Travel-Backend
0d33abb9e6c4235e978b55db754cefcb99e5bf75
fbee4497093db8422c819f18fda4b7d13e15cbca
refs/heads/master
<file_sep>#define CTEST_MAIN #include <ctest.h> #include <stdbool.h> char a[9][9]; //1 CTEST(syntaxis, Correct_Syn0) { bool result = moveboard(a, "e228-e1488"); ASSERT_FALSE(result); } //2 CTEST(syntaxis, Correct_Syn1) { bool result = moveboard(a, "z2-z3"); ASSERT_FALSE(result); } //3 CTEST(syntaxis, Correct_Syn2)...
b064f71232e2d62a1234cba981707fe384952202
[ "C" ]
1
C
PlsDeleteMyLife/chessviz
f806cf69cdf2fab4478bc89c0d5f32212bef166f
f4a6c93a6f5e9a9f889c32d4f9fe510062807fc8