branch_name
stringclasses
149 values
text
stringlengths
23
89.3M
directory_id
stringlengths
40
40
languages
listlengths
1
19
num_files
int64
1
11.8k
repo_language
stringclasses
38 values
repo_name
stringlengths
6
114
revision_id
stringlengths
40
40
snapshot_id
stringlengths
40
40
refs/heads/master
<file_sep>process.stdin.resume(); process.stdin.setEncoding("utf8"); let num = ""; process.stdin.on("data", (data) => { num += data; }); process.stdin.on("end", () => { main(num); }); const main = (number) => { console.log(num.split("\n")[0]); }; <file_sep>let readable = process.stdin; let inputArr = ""; let ...
489250f3a5804cc5945a47bf2fd54deddc699f70
[ "JavaScript" ]
2
JavaScript
shobit1337/cpJS
5bda7c9b64bae3b836d862d7a3ae14d3416e513c
a309223404f56bd762c5b7edf7a40725501b8391
refs/heads/master
<file_sep>class MoviesController < ApplicationController def movie_params params.require(:movie).permit(:title, :rating, :description, :release_date) end def show id = params[:id] # retrieve movie ID from URI route @movie = Movie.find(id) # look up movie by unique ID # will render app/views/mo...
9f38318df6eb500899787a505bd0e8a9b06f7006
[ "Ruby" ]
2
Ruby
G3Krishna/rottenpotatoes-rails-intro
9283edd400d30dc4cdddb11540a1143f02234ec6
490e6549e7a741f01051adb6bbe3ba0d8b7006e5
refs/heads/master
<file_sep>#!/bin/bash pulseaudio -k sleep 5 pulseaudio --start
e7e8271f1c1cedd6f6e2851b1c5beb87ed8a186e
[ "Shell" ]
1
Shell
pavelrtk/bin
c95a363e4eb626ffec1138a6fb68f99426b83280
d83289eb992d1e74b0c1f213f009814ec746b6e4
refs/heads/main
<file_sep>import { SiCplusplus, SiCss3, SiReact, SiPython, SiJavascript, SiJava } from "react-icons/si"; const Data = { 'intro':"Intro", 'experience': [{ 'id' : 1, 'company' : "Seclore Technology", 'location' : 'Mumbai, India', 'work' : [{ ...
c7fd861dc24d687ec284fa120947b693ec8459fd
[ "JavaScript" ]
9
JavaScript
nerdjot/portfolio
5c3ac0e94a44799f526ee963533348e62b2bff9d
d611bda3571d3c81b1a43814085b76ce1d3d35eb
refs/heads/master
<file_sep>import random snake=[23,17,45,5,52,33,67,23,90,50,99,24] ladder=[8,29,22,61,54,68,65,97,72,93] winners=[] players={"a":0,"b":0,"c":0,"d":0} global dice_value global curr_player def throw_dice(): global dice_value global curr_player print("throw dice") dice_value=random.randint(1,6) print("You got ",di...
0b016193a65b7e9db7b606178066c19d709672f5
[ "Python" ]
1
Python
aishwaryalonarkar/snake_and_ladders
6aae2462748bf43b92278e4d1b3f3ec7d8e3eea8
c8b199a41e30864d8030ef6c6ef69b244e32cd95
refs/heads/master
<repo_name>paulcbetts/typescript-simple<file_sep>/index.ts import fs = require('fs'); import os = require('os'); import path = require('path'); import ts = require('typescript'); const FILENAME_TS = 'file.ts'; const FILENAME_TSX = 'file.tsx'; function tss(code: string, options?: ts.CompilerOptions): string { if ...
f05553b907f2fe0e7789f5056db511264fb4e0e2
[ "TypeScript" ]
1
TypeScript
paulcbetts/typescript-simple
bb81c855e09f1d2778bc7a26fc03024526f25bd2
44ca1a3ec1665b4e2e7a645af81a9957f4e01e0a
refs/heads/master
<repo_name>vanard/simple-weather-app<file_sep>/app/src/main/java/com/vanard/simpleweatherapp/ui/weather/WeatherActivity.kt package com.vanard.simpleweatherapp.ui.weather import android.Manifest import android.content.pm.PackageManager import android.os.Bundle import android.util.Log.d import androidx.appcompat.app.App...
421f41e7830cf5bf144ea197e2050a0003b87470
[ "Markdown", "Kotlin" ]
19
Kotlin
vanard/simple-weather-app
9f87cd28cb26598504cf60fad2c15d78b54da35f
09de87eb21ed38c6ca330472dd22b1554894e7ce
refs/heads/master
<repo_name>claudusd/rulerz<file_sep>/src/Visitor/ElasticsearchVisitor.php <?php namespace RulerZ\Visitor; use Hoa\Ruler\Model as AST; use Hoa\Visitor\Element as VisitorElement; use Hoa\Visitor\Visit as Visitor; class ElasticsearchVisitor implements Visitor { use Polyfill\CustomOperators; /** * List of ...
c66ee856b49754ad19af652f7ef47d4a681c2613
[ "PHP" ]
10
PHP
claudusd/rulerz
a16d3a6d1030bbb17b8d60eaf2886dd1c2443620
d9d58d455054b5969fb4052f68b34bda4677d4d1
refs/heads/master
<repo_name>rcuyugan/coursera-todolist4-action-pack-assignment<file_sep>/app/models/profile.rb class Profile < ActiveRecord::Base belongs_to :user validate :at_least_one_name_present validates :gender, inclusion: %w(male female) validate :boy_cannot_be_sue def at_least_one_name_present unless firs...
34574692ed47020a12e87bf29ed2e57e070cbc6f
[ "Ruby" ]
1
Ruby
rcuyugan/coursera-todolist4-action-pack-assignment
6583e388299e9e815b19e923860f9d416b6e8f01
b0758c83d8b11407001704d6c01d75a82f77fe3e
refs/heads/master
<repo_name>JIARC777/CS450_Le_Chapeau_Production<file_sep>/Le Chapeau/Assets/Scripts/PlayerController.cs using System.Collections; using System.Collections.Generic; using UnityEngine; using Photon.Pun; using Photon.Realtime; public class PlayerController : MonoBehaviourPunCallbacks, IPunObservable { [HideInInspect...
e9821a75d2efcd4a32d53bae98ffd88f34d9c1c7
[ "C#", "C", "C++" ]
18
C#
JIARC777/CS450_Le_Chapeau_Production
b2679ac99c9c5549ed3b89ec196d95658459b133
1ed0567f20c0b13654c5a4c059bcb660dcb5dc59
refs/heads/master
<file_sep># analysis.py # ----------- # Licensing Information: You are free to use or extend these projects for # educational purposes provided that (1) you do not distribute or publish # solutions, (2) you retain this notice, and (3) you provide clear # attribution to UC Berkeley, including a link to http://ai.berkel...
40744d3c7d236ccbc020694872e3d3828279618e
[ "Python" ]
2
Python
MadMehx/CSS-382-Project-3
90594ae9c57d22f9906df0f7e7e365b921b850a8
e9333c8a06986e1900a5d4a5ff2c9fbd4afa1a67
refs/heads/master
<file_sep>#!/usr/bin/env python2 import os import subprocess # Always 'uninstall' before 'install' # Before delete, check if there's some alteration in files # Create needed directory (image, wallpapers) class Backenv(object): def __init__(self): home = os.path.expanduser('~') self.files = [ ...
c9bcca5d1e76af17bd0e6ad008a18fb03afb531d
[ "Python" ]
1
Python
dropped/apetrechos
a70989de103f9ef6932472176bb23595a7450dbc
51053cdf6b5a9d9fcf80c8449d718fb738fab5da
refs/heads/master
<file_sep>const execute = require("./src/getPixels"); const buildHtml = els => { return require("fs").writeFileSync( "./build/index.html", `<!doctype html> <html lang="en"> <head> <link href="https://fonts.googleapis.com/css?family=Roboto+Mono:400,700" rel="stylesheet"> <script src="https://code.jquery...
4cf53cef658ded7e625de8df92972689d3f83d09
[ "JavaScript" ]
1
JavaScript
paulsevere/paulsevere.com
56e36da5f464c89d8edd2fb7295770a46c8fda51
d7501ed85cb32ea0cd4c333030613d81bfbfe71a
refs/heads/master
<file_sep>$(function() { $('.need-confirm-btn').click(function() { if (confirm('정말 삭제하시겠습니까?')) { return true; } return false; }); });<file_sep>var mongoose = require('mongoose'), mongoosePaginate = require('mongoose-paginate'), Schema = mongoose.Schema; var schema = new Schema({ co...
20551035aa73bd3c1970030d9a258fa7ce4bda4d
[ "JavaScript", "Markdown" ]
14
JavaScript
seonghunYang/uxm_BlockChain_platform
7dc7b232301514e4ced8ac4542e07baf4b9c1253
fdbc8e464e0df715db93c046c632eb7bcefa98e8
refs/heads/master
<repo_name>gymadarasz/emu<file_sep>/src/libs/Session.php <?php namespace emu\libs; class Session { private static $started = false; public function __construct() { $this->start(); } private function start() { if(!self::$started && !isset($_SESSION)) { session_start(); } self::$started = true; } ...
39bba8b43210693e551d46cc4cf2d2c6364a5e8b
[ "JavaScript", "Text", "PHP" ]
11
PHP
gymadarasz/emu
1fb8939e1bcd468e90f4623e7ac24cd202a4379d
cc092cf12ad38fec3e3417848f8eb3cd24fb9dc3
refs/heads/master
<repo_name>meixikaka/test<file_sep>/src/com/aokunsang/web/controller/LoginController.java /** * */ package com.aokunsang.web.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMappi...
221c9bce80a4e33bfc77d8be222f897b767c6fe7
[ "Java" ]
1
Java
meixikaka/test
59c2691eec517a48e7d81c1fb3ede67c6ae512c1
50737a43d899d529444fde0efb9fa7f9eddb3470
refs/heads/master
<repo_name>Th4nat0s/Siyl<file_sep>/Siyl.py #!/usr/bin/python # SqlI In You Logs # Basic sqli DeCruncher import sys,urllib,re,getopt VER = '0.0c' # Help def help(): print 'Siyl - v'+VER+' - Decode Sqli in your logs - (c) Thanat0s 2012' print '' print 'Usage :' print 'Piped : zcat mylogs.gz | Siyl -p' print 'Dir...
ea6a1ee1ee5806d8ad8258554c2c5d364b47d4bf
[ "Markdown", "Python" ]
2
Python
Th4nat0s/Siyl
6d2b95762dad3329eb178c582896f9acd6b572a0
30f338ecb1533a8c8bceb1f552591a6ff0d42963
refs/heads/master
<repo_name>yassinezer/Cinema<file_sep>/TestN_01/src/main/webapp/resources/timer.js function timer () { var d= new Date().getHours(); var dm= new Date().getMinutes(); if(d<22 && d>9) { if(d==21) { $("#label1").html('available time for Booking: '+ (60-dm) + ' Minutes <br><br>'); if(...
d57e0f0fbe9ff4aab2dd73e0cbd1cda673c4a512
[ "JavaScript", "Java", "Markdown" ]
4
JavaScript
yassinezer/Cinema
c2fb33cabb248a1688ebc3f88e976c72ee6d0144
8b84998b1480cd43f9ee0df6a67a048f94377d27
refs/heads/master
<repo_name>0wlCoder/SizExpress<file_sep>/profiles/utils.py import uuid def generate_ref_code(): code = str(uuid.uuid4()).replace("_", "")[:6] return code
708ce81259d9c084a52c1586553f308170e0e877
[ "Python" ]
1
Python
0wlCoder/SizExpress
efc604040972ad060a2a852bfa44636b6e31d5e2
bf48e83280b89071b7a2478fbed7f9db91c3a4be
refs/heads/master
<file_sep>/* @flow */ /* eslint-disable max-len */ import * as React from 'react'; function AddToLightboxIcon(props: { size?: number, className: string, id: string }) { return ( <svg id={props.id} className={props.className} height={props.size} width={props.size} viewBox="0 0 ...
5e14dfb3db311ab0c2025a6815d3891218c1b4a2
[ "JavaScript", "Markdown" ]
9
JavaScript
tobitos/frontend-components
32871df39f7d92bd5835535a7df47bdac3a7cb8c
3c87c419558fc3fa384819a082b3fac0501a4f20
refs/heads/master
<repo_name>uabhanu/ChimpingGit<file_sep>/Assets/Scripts/Random_Direction_Test.cs using UnityEngine; using System.Collections; //This script was designed to be tested with everything collider object. (not only Rebekka) //Default: rando ((-4.5f,1f),(-3f,3f)), randomDirection (-30f,30f) and gravity = 1 public class Rando...
ca0bb476d2c6f4002b2762442a766af596720019
[ "C#" ]
27
C#
uabhanu/ChimpingGit
1254c5eba39570c06c758d0f2961f7487b13af30
711e50614609055cf97761900ed24cde8f640536
refs/heads/master
<file_sep>module WebSteps step "I should see :text" do |text| page.should have_content(text) end step "I should not see :text" do |text| page.should_not have_content(text) end step ":text should not be visible" do |text| page.should have_css('div', text: text, visible: false) end step "I cl...
657a3398e480f1d6ba841a3d4e1a236810adb3bd
[ "Ruby" ]
2
Ruby
drewdev/inventorage
a7b7e2a442d9eccc557ee3fdc2f59b9d2a8a8f57
5e48a8977d254f6285fb1d8f2a4343ec4f668522
refs/heads/master
<file_sep>import {Jumbotron, Button} from "react-bootstrap" import { useEffect, useState } from 'react'; function Home() { const [time, setTime] = useState(0) useEffect(() => { fetch('/api/time').then(res => res.json()).then(data => setTime(data.time)) },[]) return( <Jumbotron> ...
8651c5b870541dffd85244a1ce48b2ba8d7383e6
[ "JavaScript" ]
4
JavaScript
parkerws/FishTips
50ef8e8ccabe02df6aa935398688a63202d0fe75
a35aab409cce4759203d5899c576a6d020ad3bc6
refs/heads/master
<file_sep>--- title: Padrino 0.14.0.1 release description: I've written about Padrino 0.14.0.1 release contains small bug fixes twitter_src: https://gallery.mailchimp.com/4010f8ce18503766e176536f1/images/32684573-8372-4e96-bc1b-5864ce88a1a4.jpg active: news --- Hi, the release of [Padrino 0.14.0.1](http://padrinorb.c...
a30b3fd4832603f3e0b6fd5de9acfc7ed3c2f204
[ "Markdown", "Ruby", "HTML", "PHP" ]
22
Markdown
padrinobook/padrinobook.com
af1fa42fd44f84966d6c96f635c2dd9b14f810aa
b15d53a1e24e5013c4a5fb720ffd63d2a8fd6a01
refs/heads/master
<repo_name>Rofaze21/Autonomous2016<file_sep>/Gyro7006.java package org.firstinspires.ftc.teamcode; import android.graphics.Color; import com.qualcomm.hardware.modernrobotics.ModernRoboticsI2cGyro; import com.qualcomm.robotcore.eventloop.opmode.Autonomous; import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; imp...
e3555457d308a7411bc4f1cb844785432e085803
[ "Java" ]
1
Java
Rofaze21/Autonomous2016
8cc8828540458a351b472432b3037d39b642b4dd
cb458e84727d62a0d9db3b3db687fbb0325db3c0
refs/heads/master
<repo_name>renanpablocruz/Lab6_RenanCruz<file_sep>/Fragment_RecyclerViewAdapter.java package com.renancruz.lab6_renancruz; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Im...
77bc91659dd6be3ae4c35debfa2c8f205f7a14d6
[ "Java" ]
3
Java
renanpablocruz/Lab6_RenanCruz
dfad4e524e95aafeaf02c15382af85767bba574d
c130dc2d36773a0f543e44670a1eb8ec5f5c87d4
refs/heads/master
<file_sep>package observer.proxy; import observer.event.EventListener; import observer.event.EventType; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; import java.lang.reflect.Proxy; public class MouseCallBackProxy extends EventListener implements InvocationHandler { private Actio...
f740879cfe41fb50b12d71500bb0fb30a320c6af
[ "Java" ]
27
Java
1290414968/jim-pattern
3d11f3851399da7fafdedc605a66adb87ab3c299
856192893c7f322e680095c08a7b61c2dbc4ba84
refs/heads/master
<repo_name>emuddled/155_Homework6<file_sep>/Part1/Program.cs /// Homework No. 6 Exercise Part 1 /// File Name: Count /// @author: <NAME> /// Date: Oct 6, 2020 /// /// Problem Statement: Define a class called Counter whose objects count things. An object of this class records /// a count that is a nonnegative integ...
5f517b5035c78c26739d4ff4de309752410dcd45
[ "C#" ]
1
C#
emuddled/155_Homework6
2f497c4fc2cfb381c1bde292fb98557c597d983a
fa682409c778c69bd943525f6beeba56b1e103cf
refs/heads/master
<file_sep>#include <iostream> #include <iomanip> #include <cmath> //Golenkov lab 1 int main() { std::cout << "Hello" << std::endl; //zada4a 1 double x; std::cout << "vvedi x" << std::endl; std::cin >> x; double x_rez=3*x*x*x+2*x*x-1; std::cout << std::fixed; std::cout.precision(3); ...
fc6aecd7593e037ffa38fe629829ce3d22c787dc
[ "C++" ]
2
C++
Alex1505Gold/lab1
4a4011e94922a7dc675ae53ea2d787e35ee428ba
f0255a15fd546d83b44c88c4ce50a8006bb8670d
refs/heads/master
<repo_name>AntonioMC12/Practicas_Uni<file_sep>/segundo²/SO/Entrega_P1yP2/entrega-so.c #include <stdio.h> #include <stdlib.h> #include <pthread.h> #include <time.h> #define N 10 struct sum_array { int * array; int initial_position; int final_position; }; void * addArray(void* arguments){ struct sum_array *args = ...
1be90cfdf99a90a2bf4819abb0d3571a685cb39e
[ "Markdown", "JavaScript", "Makefile", "C", "C++" ]
87
C
AntonioMC12/Practicas_Uni
218188cf8d68863e8e76a74f18a70f14c86a2996
0743c75b7db627ffead52351128793b3a93716a3
refs/heads/master
<repo_name>gewoonderrik/TrendPress-Child<file_sep>/search.php <?php get_header(); ?> <div class="inner"> <article class="eightcol"> <div id="breadcrumbs"><?php if (function_exists('tp_breadcrumbs')) tp_breadcrumbs(); ?></div> <?php if (have_posts()) : ?> <h1><?php printf(__( 'Search Results for: %1$s','t...
54e01a012b370389f34fb69b6673d902109ae9c9
[ "JavaScript", "Markdown", "PHP" ]
14
PHP
gewoonderrik/TrendPress-Child
c88d3e10578728d90066a0bf6f30e3bd7d7619ba
5699e3fac24ed5697556e37a609e352beed607d7
refs/heads/main
<file_sep>using Calc; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Calculator.Unittests { [TestClass] public class SubTests { [TestMethod] public void Calc_Sub_PP() { Calc.Calculator calc = new Calc.Calculator(2, 1); Assert.AreEqual(calc.Subs...
ddb41b201b626b901097dbd9d31ed4deb8a7b15e
[ "C#" ]
2
C#
Kama020/calculator
f6a5fb628cdc9ab222523a0f2c81e86ca2b3d14b
949fdb352865313f5e9f02cecbb08748d582dea1
refs/heads/main
<repo_name>sebmaster36/GoogleEHRPreternship<file_sep>/emr.py #!/usr/bin/env python3 #imports from tkinter import ttk import tkinter as tk from tkinter.scrolledtext import ScrolledText from tkinter import * from patient import Patient import os #constants rec_dir = "./records/" root = tk.Tk() root.title("Preternship...
dc1d27b732e13f04e92d3b9c38d18c328ab7ab95
[ "Markdown", "Python" ]
4
Python
sebmaster36/GoogleEHRPreternship
c4a1610a7fce34f6b17b19f25a1f08f903d255ce
59865272bde62f67d91df07cec5cc32234bfc774
refs/heads/main
<repo_name>ackermannQ/wizard<file_sep>/IElement.cs  namespace Wizard { interface IElement { public void CastSpell(); } } <file_sep>/Fire.cs using System; namespace Wizard { class Fire : IElement { public void CastSpell() { Console.WriteLine("Casting Fire tornad...
dde8abf46e000262765a8d500734201436ba6273
[ "Markdown", "C#" ]
6
C#
ackermannQ/wizard
692bb62dfc7f008963716b0c99aa13a40a5d260e
fae34fb2394126a4dd71581d2bb6f81673422a6f
refs/heads/master
<repo_name>m8e/gcp-pcf-quickstart<file_sep>/src/omg-cli/omg/commands/deploy.go /* * Copyright 2017 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://www.apache....
ae4ee4eba2cd11fc87a48f577e76149c4a447a35
[ "Go Module", "Go", "Shell" ]
9
Go
m8e/gcp-pcf-quickstart
7c665ab705ec4cb3a061a5dee573879de6b19b21
f0b17a9ee70d2ecd642dffbb3715802710733f5c
refs/heads/main
<repo_name>Shivendra323/InventoryControl<file_sep>/Inventory.py from tkinter import* from tkinter import ttk import sqlite3 import tkinter.messagebox import datetime import math import os import random root=Tk() conn = sqlite3.connect('DataBase.db') c = conn.cursor() c.execute("CREATE TABLE IF NOT EXISTS Product (Id I...
f8d1b900ddba9932d7897139d577d2e5c668a060
[ "Python" ]
1
Python
Shivendra323/InventoryControl
f934c3e24eec86ffbfebaa5704302b88c15727fd
1a76eba1284032190b6049dc12a8ed265d5d3954
refs/heads/main
<file_sep>using Microsoft.AspNetCore.SignalR.Client; using System; namespace CoreSignalR_ConsoleClient { class Program { static void Main(string[] args) { var connection = new HubConnectionBuilder() .WithUrl("http://localhost:5000/SignalR_Sample") .B...
cebc5f090a01620eaabdca9ce248d8714157fa10
[ "C#" ]
1
C#
SinHao/CoreSignalR_ConsoleClient
ce983e97b98bb2be024ae4a0f2e8a85716c2e375
f12a632d1b67650194b168f78b9613bc605c0215
refs/heads/master
<repo_name>dwale/account-lookup-directive-in-angular<file_sep>/src/app/account-lookup.directive.ts import { Directive, ElementRef, Input, Renderer2 } from '@angular/core'; import { BankInfo } from './models/bankInfo'; import { UtilityService } from './utility.service'; @Directive({ selector: '[appAccountLookup]' }) ...
abbda545f3f0b7707f610c55f8853775b813c1ce
[ "TypeScript" ]
5
TypeScript
dwale/account-lookup-directive-in-angular
2928f891aba4c6162cc6acc6d82e354f941fc4c4
08dee829115155cde2009cbf49b00babcf0113f5
refs/heads/master
<file_sep># coding: utf-8 import numpy as np import pandas as pd from gensim.corpora.dictionary import Dictionary from sklearn.model_selection import train_test_split class DataGenerator(object): def __init__(self, positive_dataset: pd.DataFrame, negative_dataset: pd.DataFrame, test_size: float, random_state: in...
0b0e04ae8faa904e74a1259eb256c95abe15f6ab
[ "Markdown", "Python", "Text", "Shell" ]
9
Python
nishiba/cnn_sc
0373dc6a27a71638f1b0a28e0dff316548fe4851
7708e2c775a8b7a5ea06fcef045d3bf9c8322bca
refs/heads/master
<file_sep>class Admin extends User{ constructor(login, password, role){ super(login, password, role); } DeleteRoom(room_number){ console.log(typeof(room_number)); let room_to_delete = Hotel.Rooms.find(room=>{ return parseInt(room.number) === parseInt(room_number); ...
d0850361cd0a67cd1d962a52597c7430c57f8bc7
[ "JavaScript" ]
5
JavaScript
progershuegers/group_laba
6c1c43483fd414c3657ff8548ccf1dd5c023a370
1f403fcdf9d23a64e90205da1adb4d3361b8e354
refs/heads/master
<file_sep>// // PlaySoundsViewController.swift // Pitch Perfect // // Created by <NAME> on 5/12/15. // Copyright (c) 2015 akbalini. All rights reserved. // import UIKit import AVFoundation class PlaySoundsViewController: UIViewController { var player:AVAudioPlayer! var receivedAudio:RecordedAudio! ...
7de04ab1e6b5dc1aea7c6c56dc0e14aaa53ecd55
[ "Swift" ]
1
Swift
akbalini/nanodegreeiOS
649c60440f666f19fcada7de5b221d0199d4591b
60ff5a1595e8ad29b1903f9ab7f05568faa83fc8
refs/heads/master
<file_sep>package editor.gui.generic; import java.awt.BorderLayout; import java.awt.CardLayout; import java.awt.Component; import java.awt.Dialog; import java.awt.Frame; import java.awt.GridLayout; import java.awt.Window; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.util.List; i...
75b1de8c500a6a1138fad3eb28c7ee2b64746907
[ "Markdown", "Java", "Maven POM" ]
59
Java
aroelke/deck-editor
7cb2cb44dd193dbbddccef4dedb47d372fdf45e1
2cb2c640dfbdc47b9c5bba2d3f5d998f445a6b3e
refs/heads/master
<repo_name>YushkinaS/meetup-to-woocommerce<file_sep>/meetup-import.php <?php function mtw_load_events() { $meetup = new Meetup(array( 'key' => get_option('mtw_settings')['mtw_meetup_api_key'] )); $response = $meetup->getEvents(array( 'status' => 'upcoming,past', 'fields' =>...
2e7fd5c47c4dc25caa2e372ae8110a9f815aca2b
[ "Markdown", "PHP" ]
5
PHP
YushkinaS/meetup-to-woocommerce
ba57afeb5c5e72d7da99d2678985461a6d5b6806
a5149124979443831eabecf55fdb524272c167d6
refs/heads/master
<file_sep>class ProductsController < ApplicationController before_action :set_product, only: [:show, :edit, :update, :destroy] # GET /products # GET /products.json def index requestd = Vacuum.new unless params[:page].present? params[:page] = 1 end requestd.configure(aws_access_key_id: 'A...
8d3d9e8b3a58e46aeb35f79ed91995700bc60601
[ "Ruby" ]
1
Ruby
nadir-jahan/bs-testing
32c9f5e8b62d61732fbb690f981f53be0e451151
fa654dfd98025e9acef2159101d2f460469d813b
refs/heads/master
<file_sep><?php $descricao= filter_input(INPUT_GET, "descricao"); $valor = filter_input(INPUT_GET, "valor"); $tipo = filter_input(INPUT_GET, "tipo"); $mysqllink = mysqli_connect("localhost", "root", ""); $db = mysqli_select_db($mysqllink,"mydb"); if($mysqllink){ if($tipo == "Consulta"){ $sql = mysqli_quer...
2609b36d11d641008271da70d0ae997cb6799ec0
[ "PHP" ]
23
PHP
beattrizmi01/centromedico
89e5159801983f8c05b50f43345e6f17c9600721
f655cfc92692e475d8360a777d973f19e06b4489
refs/heads/master
<file_sep>const services = { security: { url: "http://127.0.0.1:9000" }, users: { url: "http://127.0.0.1:9001" }, posts: { url: "http://127.0.0.1:9002" }, }; export { services }<file_sep>import { StyleSheet } from '@react-pdf/renderer'; const styles = StyleSheet.create({ // Col Widths ...
2cce45f55aa7f47b2cbf56fe493b9f94f3fc788f
[ "JavaScript", "Markdown" ]
24
JavaScript
sfederella/social-media-aggregator
5b8e0ccdd60115cbaba8e0d6b1f43324af335c91
4d03ef93375745e0c6821afbfcba35e1a38f0a01
refs/heads/master
<file_sep>import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { environment } from '../../environments/environment'; @Injectable({ providedIn: 'root' }) export class EmployeeService { url: any; constructor(private http: HttpClient) { this.url = environment.li...
a14f904ad8a42ec4df1acfcc02502d5e2216437c
[ "TypeScript" ]
6
TypeScript
joyamadea/employee-application
e90354750c7b9aa1f819e312840b7de38426111b
ddc5122b94cc842edecf5a11b5f3a57f050984de
refs/heads/main
<repo_name>Zhaozzy-hub/LeetCode_Problems<file_sep>/Solutions/ArithmeticSubarrays1630.cpp #include <iostream> #include <vector> #include <algorithm> using namespace std; vector<bool> checkArithmeticSubarrays(vector<int>& nums, vector<int>& l, vector<int>& r) { int len = nums.size(); int sublen = l.size(); ...
7705a88831df902f47adc5f92758c83f149d2322
[ "C++" ]
38
C++
Zhaozzy-hub/LeetCode_Problems
ce3a2140ee7ea32c04236bc353b62822eef1ccc4
36f3f11ce1d706bedf8ed7bdd1825a48371f1343
refs/heads/master
<file_sep>import resolve from 'did-resolver' import register from '../register' describe('ethResolver', () => { register() describe('resolve', () => { describe('valid DID docs', () => { const address = '0xf3beac30c498d9e26865f34fcaa57dbb935b0d74' const did = `did:eth:${address}` const didDoc ...
b93a731b9ce1388fd18bab79171ed23d4f945777
[ "JavaScript", "Markdown" ]
2
JavaScript
invisiblebot98/eth-did-resolver
b4b62de0fc5f2cbec4283a67eaad4fe66ad37cfd
6304f1b2635ba6d0930f1cd3d103e7e201b487b5
refs/heads/master
<repo_name>fuqu-io/laravel-slack<file_sep>/src/ServiceProvider.php <?php namespace Maknz\Slack\Laravel; use Illuminate\Support\ServiceProvider as BaseServiceProvider; use Maknz\Slack\Client; class ServiceProvider extends BaseServiceProvider{ /** * Bootstrap the application events. * * @return void */ publi...
c466bd2beda5e3ad80ca3143a91cc0c63037e350
[ "PHP" ]
1
PHP
fuqu-io/laravel-slack
3e2027983483e7e465f0562c77fdf5276dfe2bab
22f5bb3c0482f13db438241a33fba1051c621790
refs/heads/master
<file_sep>from pico2d import * import game_framework import game_world class Brick: image = None def __init__(self): if Brick.image == None: Brick.image = load_image('brick180x40.png') self.x, self.y, self.move_speed = 1000, 180, 200 self.dir = 1 def get_bb(self): ...
dda667cf8ff48129e6da6c0b5bd13db542f7d0ad
[ "Markdown", "Python" ]
6
Python
gyuhyun-jang/2014182038-2DGP-Drills
80d87f9969e10a1073c7f3c96bfffbf720eb1ee0
87cfb5f729fde067e29c652b70dd4aea778eec0e
refs/heads/master
<file_sep>package com.methnani.miniprojet.activites; import android.app.AlertDialog; import android.app.Dialog; import android.os.Handler; import android.os.Message; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Array...
2214121aa2b2aea1f347f1139a8d246c1ef15679
[ "Java" ]
6
Java
BoolHak/miniprojet
204124973488955ef3a2f9c8542f46e12d43f319
afdc02e103810d955cb535fee0c5e372f81f5e2b
refs/heads/master
<file_sep>package com.infomaximum.database.domainobject.index; import com.infomaximum.database.domainobject.iterator.IteratorEntity; import com.infomaximum.database.domainobject.filter.HashFilter; import com.infomaximum.domain.ExchangeFolderEditable; import com.infomaximum.domain.ExchangeFolderReadable; import com.inf...
bf9fc1ad6ee53e2ca182a8cf1f25e7124a864c6d
[ "Java", "Gradle" ]
112
Java
Infomaximum/rdao
f806362e779b80ab42dc76448322c65a5c77b6a5
3383955e818470a0f26add617f8202427f599dd4
refs/heads/master
<repo_name>nornagon/pushpin<file_sep>/src/renderer/ShareLink.ts import Base58 from 'bs58' /** share link helper functions * lifted and adapted from pixelpusher */ import { DocUrl } from 'hypermerge' export type HypermergeUrl = DocUrl export type PushpinUrl = string & { pushpin: true } export function isHypermergeU...
c3bc3e1e547790661b34b07df042f6063bcc43d0
[ "TypeScript" ]
1
TypeScript
nornagon/pushpin
84eedd9be45c5aedd4f1faeaa78dc6eb3fb9c81e
40cc53d4d3443a069137830cfda0f2d661147a95
refs/heads/master
<file_sep>#!/bin/bash set -e # exit with nonzero exit code if anything fails cd site cp -r ../examples . # update scripts to reference unpkg sed -i "s#../../node_modules/#https://unpkg.com/#" examples/*/index.html sed -i "s#../../packages/#https://unpkg.com/#" examples/*/index.html # disable jekyll touch .nojekyll ...
1637dc5d673941b791e64b49c02a1721b9287333
[ "Shell" ]
1
Shell
mortezae/d3fc
db87e846786766234d3c367d2bfe1fe0f8b2345b
66fce5071ece61ce9db189f181923fb7296a6dcf
refs/heads/master
<repo_name>liuhangyang/RecruitPlatform<file_sep>/controllers/RecruitController.go package controllers import ( "github.com/astaxie/beego" "RecruitPlatform/models" "time" "fmt" ) // Operations about RecruitMsg type RecruitController struct { beego.Controller } // @Title GetRecruitList // @Description get all rec...
a7d1c803bda5e5b6b6737317fb0a0b80f06499b2
[ "JavaScript", "Go" ]
18
Go
liuhangyang/RecruitPlatform
2660ce48fb9e57c6503bada1c6ff288b45160217
c8001e280b98f30f32789af2cdf0ef96a9ec8914
refs/heads/master
<file_sep>#include <stdint.h> #include <TouchScreen.h> #include <TFT.h> #include <PSTRStrings.h> // #define DEMO #define TS_MINX 140 #define TS_MAXX 900 #define TS_MINY 120 #define TS_MAXY 940 #define MAXX 220 #define MAXY 320 #ifdef SEEEDUINO #define YP A2 // must be an analog pin, use "An" notation! #defi...
042b8064561a8fca30905579c44993ddae028822
[ "Markdown", "C++" ]
2
C++
Paulware/TouchScreen
e9f667118886727fd9395eecef9dcf88150a7312
e9f2de3dd03cb875e47f6078257883e42aaff488
refs/heads/main
<file_sep>const nums = [3,5,7,8,9,12,14,56,24,57]; for (let i=0; i < nums.length; i++){ if (nums[i] < 10){ // break; continue; } console.log(nums[i]); }<file_sep>const nums = [3,5,7,8,9,12,14,56,24,57]; const part= nums.slice(2,5); //start index theke end index porjonto katbe console.l...
eef33ecba5f497a44603eee8aa53d5ac8073b13d
[ "JavaScript" ]
3
JavaScript
piashossain009/advanced-JS
d315dd2f7d2cecef7866726b6b1de85ccda68213
afc10a0c83ad8b282e932a594a93362342e918f3
refs/heads/master
<repo_name>jmorales2012/sketchpad<file_sep>/js/script.js /* Creating Grid 1. Ask for user input for size of grid 2. Check to see if grid will be too big 3. If too big, ask for input again 4. If not too big, create grid 5. Style grid squares outside of creation loop (too slow otherwise) Mouse Enter Effect 1. When mous...
d0002e7d0a03f4f4a64702d8333ac4ea88648a31
[ "JavaScript", "Markdown" ]
2
JavaScript
jmorales2012/sketchpad
68044abd6859f054e6313ea8630cef088f9a5ea0
77befc5270ce5a0c1e9785b9bd9d361b88026dd7
refs/heads/master
<file_sep>class RailsAdmin::Config::Actions::Index < RailsAdmin::Config::Actions::Base RailsAdmin::Config::Actions.register(self) register_instance_option :controller do proc do if @model_name == "Demand" if current_user.admin? @objects ||= list_entries else ...
c448c7b18f65031a58f2c557fbd454a1455806b9
[ "Markdown", "Ruby" ]
15
Ruby
fabioaraujo121/urb2rails
a4765552c903c0e2c54428cfd720184799237d13
7afd545adc5f551f86c6204c4a8de9a88f3db9f6
refs/heads/master
<file_sep>import { Identifier } from 'i40-aas-objects'; import { IStorageAdapter } from './IRegistryResultSet'; interface ICreateAdapter { adapterid: string; name?: string; url?: string; submodelid: string; submodelsemanticid?: string; } interface ICreateSubmodelEntry { submodelid: Identifier; submod...
31cc2b86fea1e2a876d18951a03b1a9052b0c35a
[ "TypeScript" ]
3
TypeScript
christianwarmuth/i40-aas
a624992336818dc55a8b0f78efe6e25c615ebaff
c1b24eddeabf07b9c80952e715ad45eb3789fb1d
refs/heads/master
<file_sep>/* Copyright 2017 Brighter API. */ 'use strict'; var http =require('http') exports.handler = function (event, context) { try { console.log("event.session.application.applicationId=" + event.session.application.applicationId); //Start New Session if (event.session.new) { ...
53bafa3d74559068084e026d1334d318fd57e087
[ "JavaScript" ]
1
JavaScript
brighterapi/APIs
ec5b7922bb5a8460fdcbcebfd08a0443b6a4fb68
d211c5487aca50a5f61710312aa37fa401d12ec0
refs/heads/8.x-3.x
<file_sep><?php /** * @file * Contains \Drupal\Tests\rules\Integration\Condition\UserHasRoleTest. */ namespace Drupal\Tests\rules\Integration\Condition; use Drupal\Tests\rules\Integration\RulesEntityIntegrationTestBase; /** * @coversDefaultClass \Drupal\rules\Plugin\Condition\UserHasRole * @group rules_conditi...
6af1dbe1b8f70b085dab57671c5df0cd305f7c84
[ "Markdown", "PHP" ]
30
PHP
bojanz/rules
4bfc9b36056efe651832889963a374eea313aefa
cf0006e1bac2c66fe6c1a71a1685c2896046eee0
refs/heads/master
<file_sep>from setuptools import setup, find_packages from orc import PACKAGE_NAME, VERSION if __name__ == '__main__': setup( name=PACKAGE_NAME, version=VERSION, license='MIT', packages=find_packages(), install_requires=['tornado==3.1.1'] ) <file_sep>PACKAGE_NAME = __...
d02654c2d27498aa3b1ccea011b0c15b18d35449
[ "Markdown", "Python" ]
4
Python
eugeniy/orc
9004016c61ffbd18398710859e89cb1a2661b64e
3fe743d5959ed7672818d179fa31dfe1b26bcfbc
refs/heads/master
<repo_name>AdriGeorge/Investiment.py<file_sep>/investment.py """ This program calculates the 'possible' return of an investment that has a fixed annual return """ # Method for calculating the return # on an investiment with a recurring deposit def investment_fund(investment, time, recurrence): if r...
bb7b2428f998aadcbc6c2c61a79f140a90f79338
[ "Markdown", "Python" ]
2
Python
AdriGeorge/Investiment.py
e72cdee38723502ad094b3a4235c0011e90315e5
9ed48d189d553b44e20488cf4231a857927d589b
refs/heads/master
<file_sep>package ro.ubb.dp1819.lab4.exercises.chain_of_responsibility; import ro.ubb.dp1819.lab4.exercises.BaseEmployee; import ro.ubb.dp1819.lab4.exercises.Employee; import ro.ubb.dp1819.lab4.exercises.strategy.NotificationStrategy; public class BaseHolidayApprover extends BaseEmployee implements HolidayApprover { ...
b22c826627c3d0f6ce09269b59fbe36f6f4ffb02
[ "Java" ]
10
Java
danielmanciu/ubb.dp.1819
f0883aaff5d9d539b1a9cfb8a37a09a6bb6c77a6
b3b3622e6805435a5884f15a36b6a4b5095b60a8
refs/heads/main
<repo_name>dengzhiteng/uhotel-admin<file_sep>/js_sdk/validator/uni-product-add.js // 表单校验规则由 schema2code 生成,不建议直接修改校验规则,而建议通过 schema2code 生成, 详情: https://uniapp.dcloud.net.cn/uniCloud/schema const validator = { "goods_name": { "label": "商品名", "rules": [ { "required": true, }, { "format": "string"...
cc54d32d0fd0f9f46a1f746433c45d73f7b2816d
[ "JavaScript" ]
1
JavaScript
dengzhiteng/uhotel-admin
357327d880406f83572771fcce6215acb1864de7
b14ca73483cf910c2e0b2e46bab1fbf04e235ea9
refs/heads/master
<file_sep><form id="{{id}}" role="form" name="respondForm" class="{{cssClass}}" action="{{action}}"> <div ng-show="showSuccess" class="alert alert-success">{{'Form submitted successfully' | i18next}}</div> <div ng-show="showError" class="alert alert-danger">{{'There was an error submitting your form' | i18next}}</div...
683cf4848e7813dc6a1bab416a3a68e905764d9b
[ "JavaScript", "Markdown", "HTML", "PHP" ]
86
HTML
sanderdrummer/Homepages
7b769299747a1a88f2ad4fb1314e2e635661d3e3
814bc84badf857ac7f913c5ce75ba8494ec1f7c4
refs/heads/master
<repo_name>DominikPhua/bloggies-psql<file_sep>/app/controllers/posts_controller.rb class PostsController < ApplicationController before_action :authenticate_user! # only: [:new, :edit] # except: [:new, :edit] def index news_url = 'https://newsapi.org/v1/articles?source=techcrunch&apiKey=2b2592e5b8c148bab1...
2d5310f1e37a9ab49956d2804587455a614ed656
[ "Ruby" ]
1
Ruby
DominikPhua/bloggies-psql
8242c628ad66cff8e783747d907c752b48fd48c8
25c84c261b75297a46073bc68360f2df31eb5887
refs/heads/master
<repo_name>pannous/netbase-ruby<file_sep>/node.rb class Node alias old_initialize initialize alias old_inspect inspect alias old_save save alias old_destroy destroy #attr_accessor :name,:class,:value,:statements,:block # attr_accessor :value, :statements, :owner # , :kind def initialize args=nil pu...
6141e966430e13496aa9ea3819c5c5a8a2db9c03
[ "Markdown", "Ruby" ]
4
Ruby
pannous/netbase-ruby
848f6f3040decf638ab137ae60f9ca7d4652d8d4
06fbe9720a2a017e74d7ee78cfb55acbc4db0670
refs/heads/master
<repo_name>SnapLogic/docker-postgres-sakila<file_sep>/Dockerfile FROM postgres:latest RUN install --directory /docker-entrypoint-initdb.d ADD postgres-sakila-db /postgres-sakila-db ADD scripts/init-sakila-db.sh /docker-entrypoint-initdb.d #ADD scripts/init-sakila-db.sh /postgres-sakila-db <file_sep>/README.md # do...
bfb8cdd80d1875c5e193239abd14609f93a4743f
[ "Markdown", "Dockerfile", "Shell" ]
3
Dockerfile
SnapLogic/docker-postgres-sakila
7c2837d13fc1f3464dd0b476a619232616d5d990
262968d9fbcb90f73b7a6fa62760929ab4978f0b
refs/heads/master
<file_sep>package ru.spbau.mit.bachelors2015 import org.junit.Assert.* class DullDataBaseManager : DataBaseManager { private val volunteers: List<Volunteer> = listOf( Volunteer( "<NAME>", "+7 999 2286942" )...
89828063dc7e7e105f8c6ba9dbdf9f7c7cdcd6b2
[ "SQL", "JavaScript", "Markdown", "Dockerfile", "Gradle", "Kotlin", "Shell" ]
27
Kotlin
Ivan-Veselov/sql-homework
6d62c93e922a59010d8331ae3f6559166d509a0d
af0cb36dd0675113f3ac9ef253714b76d51419b3
refs/heads/master
<file_sep>class StudentsController < ApplicationController #setup the routes here def index @students = Student.all end #resources :students, :except => [:index] end
4c2a046d5c9334c4a38988a986aac7668b531c92
[ "Ruby" ]
1
Ruby
byojelly/rails-restful-index-action-lab-v-000
323217514e3989523003f0ef079cebb422e3d0b7
51d51b5cedd935ef53226e22b4a58d838d51253e
refs/heads/master
<repo_name>JMazzy/MailNurse<file_sep>/app/models/gmail_api.rb require 'gmail' include ActionView::Helpers::SanitizeHelper class GmailAPI def initialize @gmail = Gmail.connect(ENV["email"], ENV["password"]) end # Mail.defaults do # retriever_method :pop3, :address => "pop.gmail.com", # :port ...
efec27abef4046fa90f1a181b720785731f3f0bc
[ "Ruby" ]
2
Ruby
JMazzy/MailNurse
2756654b68807183deef4602172e36b5602b5a40
e513001e851d61bb796150b39bf48e70a0b8266a
refs/heads/master
<file_sep>import React from "react"; const Header = ({ user }) => { return ( <nav className="navbar navbar-expand-lg navbar-light bg-light"> AMC Project </nav> ); }; export default Header; <file_sep>import React, { Component } from "react"; class QuizOver extends Component { state = {}; render...
e9d45acf317fe993d023d53d491d93ec7987a8f6
[ "JavaScript" ]
5
JavaScript
ConnorDetlefsen/AMC
92d36b4caf4b2ac1a7e8d35ad6ccef12bd864a45
22a57cbf27013b5b7aa37b7f7d9477cb810b8def
refs/heads/master
<repo_name>LvZhenDong/DiyView<file_sep>/app/src/main/java/com/kklv/diyview/widgets/AnimProgressBar.java package com.kklv.diyview.widgets; import android.animation.ValueAnimator; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android....
85a8ca5e2c5ff54fa93c20e7707a9120b6420ba1
[ "Java" ]
3
Java
LvZhenDong/DiyView
06aa1b1c82b4b8decd02d09f647833b5dddb12be
15ccc23b5d11496377612508ef65faf57c325014
refs/heads/master
<file_sep><?php namespace App\Service\ImportExport; use App\Service\ImportExport\Csv\CsvContactImporter; use GuzzleHttp\Client; class UrlImporter { public function importCsvContacts($url, $id_account) { // download $temp_file = tempnam(sys_get_temp_dir(), uniqid()); $this->downloadFil...
1db10880d32a18603fd0da4d5f53627926e86539
[ "Markdown", "PHP" ]
8
PHP
rafacouto/sumacrm-test
0a9a88e1ff5c855d39cc1a567384f786649107f0
ace0d1c051d7ee4063a2f9fbe36ac0350c0f6a55
refs/heads/master
<repo_name>RossyPhuyal/DHRM<file_sep>/app/Model/Admin/Personal_Infos.php <?php namespace App\Model\Admin; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class Personal_infos extends Model { use SoftDeletes; protected $table = 'personal_infos'; protected $fillable = ...
b08979734c22d38749c35139a7ba0d1617ee664e
[ "PHP" ]
8
PHP
RossyPhuyal/DHRM
0d55397d392fec22bcfc3238793fe99a5bab85f8
f512384e36539d68470469385b3ace1c3d87937f
refs/heads/master
<repo_name>wsjung0516/material-tables-example<file_sep>/src/app/material-tables-examples/two-tables-drag-and-drop/two-tables-drag-and-drop.component.ts import { Component, OnInit, AfterViewInit, ViewChild } from '@angular/core'; import { TableDragAndDropComponent } from './table-drag-and-drop/table-drag-and-drop.compon...
f2766daec5bc25eb861115f4035b80579eb905b8
[ "TypeScript" ]
6
TypeScript
wsjung0516/material-tables-example
3793d5b13ade99f416979e8f331f7df63ae47105
d0cf0b8b0e082facda07b830b73b57a2829d628e
refs/heads/master
<repo_name>fy1402/AppStoreComment<file_sep>/README.md # AppStoreComment *** iOS 10.3+ *** ## 新增app用户评论 ## 新增appIcon更换 plist文件修改配置:Icon files (iOS 5) <file_sep>/AppStoreComment/ViewController.swift // // ViewController.swift // AppStoreComment // // Created by Feng on 2017/4/19. // Copyright © 2017年 Fen...
753579a24b061b3e0f5dc7b80b529130a4f99348
[ "Markdown", "Swift" ]
2
Markdown
fy1402/AppStoreComment
0fac98f72ddb34994380db3bf7d233271e1f581d
f35bcadd2f3cd5668e0cb726cee435990b75368d
refs/heads/master
<repo_name>MazeFX/mazefx_website_project<file_sep>/website/pages/tools.py from django.template import Context from django.template.loader import get_template from django.shortcuts import render def get_page_filler(): s = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse auctor fringilla arcu, ...
9748af4e9f47f4b34dde34a78b65fea6d321ec2b
[ "Python" ]
2
Python
MazeFX/mazefx_website_project
a5b43c9627ded652bb9d3f393a9711b914b61f38
8b8e74a8206a060fa6ddda3bd38a17452012ca2a
refs/heads/master
<file_sep>package com.junar.searchpharma.dao; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteStatement; import com.junar.searchpharma.Commune; import de.greenrobot.dao.AbstractDao; import de.greenrobot.dao.Property; import de.greenrobot.d...
e73f883156316bb2a78624d5b6c5d5349c248615
[ "Java" ]
10
Java
Junar/Farmacia
da66a6abaf8364f00027e84e204c087829387bdf
98b468a123ff7b7463bab85185a08915012ff647
refs/heads/master
<file_sep># ControlStructures1 Intro to Control Structures This is just the basics in Python <file_sep># ================= Compulsory Task ================== # Create a Python file called “baby.py” in this folder. # This program will be used to test if the user is over 18 and allowed entry into a party. # Ask the u...
3ea183419225b5ccf868319058aef9ac5f1b47e6
[ "Markdown", "Python" ]
2
Markdown
Francoismc82/ControlStructures1
3f93a519fde992724314e3d76815965578e42561
dd48b94446244baefca1f1bb45f6e1799a571ebd
refs/heads/master
<repo_name>jeyu22/mosaic<file_sep>/R/chisq.R #' Extract Chi-squared statistic #' #' Extract Chi-squared statistic #' #' @param x An object of class `"htest"` a coming from a Chi-squared test, #' an object of class `"table"`, or #' the inputs to [tally()]. #' @param correct a logical indicating whether a continuity c...
44867f4812f4af854ef13f980ee82876318ac38d
[ "Markdown", "R" ]
5
R
jeyu22/mosaic
892f76dbd23828a2898fa1d382cff1fc82869a09
8ae2bcda70125c10c882d4efc708236c98b162b7
refs/heads/master
<file_sep>package com.company; import java.io.PrintStream; import java.util.Scanner; public class Main { public static Scanner in = new Scanner(System.in); public static PrintStream out = System.out; public static void main(String[] args) { boolean q; int a = in.nextInt(); int b = ...
2ddb2b8b4ccc3c3277de52dae0c07a0c2a50fc5c
[ "Java" ]
1
Java
Ivan239/TopProject
24b34aafa399d0c88d24f9bc9bdc4ac2b966acd0
153699a358c45d5b4033dbfe3e27dcb1e79e5e60
refs/heads/master
<file_sep>import { useQuery } from "react-query"; import { useLocation } from "react-router-dom"; import citiesData from "../data.json"; type CityData = { "#": number; City: string; Country: string; "All Buildings": string; "100m+": number; "150m+": number; "200m+": number; "300m+": number; "Telecom...
38686d43c8ed725d1934098b5afb9c27dfac5641
[ "Markdown", "TypeScript" ]
2
TypeScript
lukaasc/city-buildings
b1cf2c5112afcb7072ee4abf9667ebfa1e71ba61
46a6891d7539ae07f50fe1b3e7f418db1d47593e
refs/heads/master
<repo_name>cisspbru/wifi-ESP-IoT-controller<file_sep>/IRwifi.ino #include <ESP8266WiFi.h> #include <ESP8266WiFiAP.h> #include <ESP8266WiFiGeneric.h> #include <ESP8266WiFiSTA.h> #include <ESP8266WiFiType.h> #include <WiFiClient.h> #include <WiFiClientSecure.h> #include <ArduinoJson.h> #include <IRremoteESP8266.h> #inclu...
5e26cc2ba909f7310b4d234f42da8c1e070418ff
[ "Markdown", "C++" ]
2
C++
cisspbru/wifi-ESP-IoT-controller
c119913e0f90ccb0b5e712ae80d1733275062506
3d0756c89dcd31af4f2ee7e550ef449216774064
refs/heads/master
<file_sep>import socket import threading import json class WLinServer: def __init__(self): print('서버 준비완료') self.sk = socket.socket(socket.AF_INET, socket.SOCK_STREAM) self.sk.bind(('0.0.0.0', 45770)) self.sk.listen(10) self._t = threading.Thread(target=self.server_listene...
db14a10d7c46190b376d1ed32176244884c10780
[ "Python" ]
2
Python
vl0114/wlin_server
d1c1beec801c13987bc99ee6b90dd9ea3389786f
a38a3000462f35b7344224010ac88de24aea42e0
refs/heads/master
<repo_name>langlk/palindromes<file_sep>/lib/palindromes.rb class String def is_palindrome? temp_string = self.gsub(/[^a-z0-9]/i, "") if temp_string.downcase == temp_string.downcase.reverse return true else return false end end def get_palindromes palindromes = [] words = self....
953c224e08d4673e802b5905219de4c3ce3f4f14
[ "Markdown", "Ruby" ]
3
Ruby
langlk/palindromes
4a652677dff297b574f3ade52c341c48709d35b7
73fc3472626e6bc53e5378359a9f8e2dbb080498
refs/heads/master
<repo_name>giorgiosst92/Rabbit_2<file_sep>/rabbit.py import time import math from configparser import ConfigParser config = ConfigParser() config.read('config.ini') # read the base params from the config file a = int(config.get('processing', 'a')) b = int(config.get('processing', 'b')) d = int(config.get('processing'...
9b0906bc65e808997186b5fda680a6402cf0ed4b
[ "Python", "INI" ]
2
Python
giorgiosst92/Rabbit_2
23985ae267f116d1ca19716e5b6f0adb63fb767a
5a0fce9ceedbe726a4efbfa179279277f0802092
refs/heads/master
<repo_name>Iwan204/RPG<file_sep>/RPG V0.3/Character.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; namespace RPG_V0._3 { public clas...
2d02f52c7c0a7e3f491f3d8b49ef12b4c1f9fbec
[ "C#" ]
7
C#
Iwan204/RPG
89102d4466cea43717a893dc2418319d3975b31b
04d1a007f8e11e4591a8e6fde7d1708aa0ea7d00
refs/heads/master
<repo_name>pkdevboxy/eve-java<file_sep>/transports/eve_transport_http/src/main/java/com/almende/util/ApacheHttpClient.java /* * Copyright: <NAME>. (2014), Rotterdam, The Netherlands * License: The Apache Software License, Version 2.0 */ package com.almende.util; import java.util.concurrent.TimeUnit; import java.uti...
5d55a2724fedc2cc04e3bcfbb36c4e3b55501de7
[ "Java" ]
1
Java
pkdevboxy/eve-java
04f12c753566fe0803174a719240a5d7c51bc4ea
e7176928c4496578ef1f534f12dee00c1e837729
refs/heads/master
<file_sep>#ifndef CONTAR_CARACTERES_H #define CONTAR_CARACTERES_H #include "queue.h" typedef struct characterASCII TCharASCII; struct characterASCII { int idTipo; /* Se idTipo = 0, está sendo representado um nó de árvore (soma de frequências), já com idTipo = 1, um nó de fila. */ char charAS...
41f312488ec76b4938bee4e08e4902abec0c1925
[ "Markdown", "C", "Makefile" ]
15
C
jv-amorim/Huffman_Compactador_Descompactador
9487257c6312430d8053ac142185d35cd67adeeb
28af517e510b22761d066b2021800845965e7203
refs/heads/master
<repo_name>makartsevaelena/btrxdump<file_sep>/src/main/java/com/slonigiraf/btrxdump/downloader/CallsDownloader.java package com.slonigiraf.btrxdump.downloader; import java.io.*; import java.nio.file.Files; import java.nio.file.Paths; import java.util.Properties; import java.util.concurrent.ExecutorService; import java...
050770255ba21486430f9adce487f8fed7fd7aa7
[ "Java" ]
1
Java
makartsevaelena/btrxdump
fb291a49e22eea67ce131defb81d4200d8813e19
abc85bde73a40e9b01185985055219ffb4f3ba92
refs/heads/master
<repo_name>nealhardesty/ubuntu-sshd<file_sep>/Makefile .DEFAULT_GOAL := build build: docker build -t nealhardesty/ubuntu-ssh:latest -t ubuntu-ssh:latest . run: build kill docker run \ --name ubuntu-ssh \ -p 2222:22 \ --init \ -e USERNAME=test \ -e PASSWORD=<PASSWORD> \ ubuntu-ssh:latest push: build do...
b93eef3f37f46991deaee194d2c5200ca1dcc039
[ "Markdown", "Makefile", "Dockerfile", "Shell" ]
4
Makefile
nealhardesty/ubuntu-sshd
2ca363da96f2432a1ae890a11a90626a1bc2f77e
28d7b000cf133a29eb97dfbfa6015acad5e1450a
refs/heads/master
<file_sep>=== Genesis 1.0 Sample Theme with Sass === For Genesis 2.0, see: https://github.com/gregrickaby/genesis-sample === Changelog === 0.2 - 2013.02.25 - Fixed missing Google Font import - Fixed code indentation - Fixed inconsistant $contentWidth capitalization - Changed body background-color to $bodyBackground...
5cd4607313b8d0a63c1f68f9b2eaabefc27c24fe
[ "Text", "PHP" ]
2
Text
gregrickaby/Genesis-1.0-Sass
0f2438d89685dd2adb0a546245adf0df0ed97305
5d42701a41d8b8f20ee50dc37d80e5b86fd889cc
refs/heads/master
<repo_name>kyiv-sdk/Client-Server-Test<file_sep>/Server/src/main/java/Thread.java package com.lab5; import java.util.Random; import java.util.concurrent.BrokenBarrierException; import java.util.concurrent.CyclicBarrier; import java.util.concurrent.Semaphore; import java.util.concurrent.locks.Lock; import java.util.con...
56608a467346044ed3d053897fec3d31d1bde4cd
[ "Java" ]
1
Java
kyiv-sdk/Client-Server-Test
c8586935a43fa54ca04d746051a5b91a86e5f5e8
8990ed979318a5a458fbe47525c9a87ad3b04e71
refs/heads/master
<file_sep># umnaya_izba Arduino project for smart village home: — sauna control — weather control — home control <file_sep>#include <Arduino.h> #include <Wire.h> #include <LiquidCrystal_I2C.h> #include <iarduino_RF433_Receiver.h> // Подключаем библиотеку для работы с приёмником MX-RM-5V #include "M...
30937604642e9a5720bceb3b9c9dd26041b2e217
[ "Markdown", "C++" ]
4
Markdown
robinsout/umnaya_izba
79298d48e55fef0b1972f9c1c7867e24254e9c45
80676ac068c6ff08915f7347e69f17ee5abed35c
refs/heads/master
<repo_name>alaeddinez/PhantomStk<file_sep>/README.md # LMFR-BigData--supply--Suspicious-Stock<file_sep>/src/data/load_sales.py import pandas as pd from .utils import read_sql from skbox.connectors.bigquery import BigQuery from skbox.connectors.teradata import Teradata import os import sys import time import logging as...
280894ea5d1f5bf9b404f64ac662b1d31fefed58
[ "Markdown", "Python" ]
5
Markdown
alaeddinez/PhantomStk
3f79c7124328c00a084e0522b0027969c77a910b
ba5a5ab7fe7b3e3913e4fb84f712190b77d6dd27
refs/heads/master
<file_sep>module.exports = { APPLICATION_ID: process.env.APPLCATION_ID || "Your unsplash key", SECRET: process.env.SECRET || "Your unsplash secret", CALLBACK_URL: process.env.CALLBACK_URL || "http://localhost:3000" };
6130efdcfa93b9f14bdd294cdbf800e4c2f21c90
[ "JavaScript" ]
1
JavaScript
comunit/react-infinite-image-scroll
8d1ec3c979dc803c6a7ce7a06fbdca7311633058
76289508f9728c3b4f22cda6b5c7e9e103a6cc42