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/main | <repo_name>chaleay/fastapi-postgres-CRUD-template<file_sep>/db/session.py
import os
from dotenv import load_dotenv
import urllib
import urllib.parse
from sqlalchemy.orm import sessionmaker
import sqlalchemy
# Load file from the path.
load_dotenv()
def get_db_session():
#point engine towards our database inst... | 9b42e9817dad9bc77ad449d7eacb6efb32d5b00e | [
"Markdown",
"Python"
] | 6 | Python | chaleay/fastapi-postgres-CRUD-template | 356d82626d384da1d433e2075ebab9115f9bc12d | f5149dc6af7ce86a3e94943e1d1d712143d5c5c4 |
refs/heads/main | <file_sep><?php
@define("home", "http://localhost/Secure-Log/index.php");
@define("signup", "http://localhost/Secure-Log/signup.php");
@define("homepage", "http://localhost/Secure-Log/homepage.php");
@define("userinfo", "http://localhost/Secure-Log/userinformation.php");
<file_sep><?php
$server = "l... | e92526c7b6438836b2791494950ff9853643e55c | [
"Markdown",
"PHP"
] | 13 | PHP | Gytis-dev/Secure-Log | 034087b4747e5c2db49ec5840eca21406098dd2b | 5964597a790a91a64ab715ec595cc1e8c5822073 |
refs/heads/master | <repo_name>AviGlik/AfRoDiTa<file_sep>/README.md
AfRoDiTa
========
Final Project in magshimim a torjan horse
<file_sep>/AfRoDita.c
#include <Windows.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
int getCommand();//÷áìú ô÷åãåú
void getUserName(char* name, DWORD len);//÷áìú ùí äîùúîù
void getComputerDeta... | 8a1bab01d92126ff4e6cf88985e0184603ee8e19 | [
"Markdown",
"C"
] | 2 | Markdown | AviGlik/AfRoDiTa | 675fd4c4f1f1d040b04c5b84781d7e54e16ff3e1 | 1581e7817f5bb01dfb40cd5740d33a8d3cf784fb |
refs/heads/master | <file_sep>use crate::{
arena::{Arena, Handle},
proc::Layouter,
};
bitflags::bitflags! {
#[repr(transparent)]
pub struct TypeFlags: u8 {
/// Can be used for data variables.
const DATA = 0x1;
/// The data type has known size.
const SIZED = 0x2;
/// Can be be used f... | d11e2d427606827a02b41f56d8d671603b0b4211 | [
"Rust"
] | 2 | Rust | iCodeIN/naga | 374f12b6ab90c4fb3b30161508b186611b8f5525 | e36864980d8982d372a53680a24e95a402d175f5 |
refs/heads/master | <file_sep>import {CdkTextareaAutosize} from '@angular/cdk/text-field';
import { Component, OnInit, NgZone, ViewChild } from '@angular/core';
import {take} from 'rxjs/operators';
@Component({
selector: 'app-new-place',
templateUrl: './new-place.component.html',
styleUrls: ['./new-place.component.css']
})
export c... | ea797eaecb04d3f626857373a4c4aa6d7253f89a | [
"TypeScript"
] | 2 | TypeScript | julianatibaes/eventos-app | 0ad3c45ca9c6daec9c707972fe0f9be9a9ef1fc5 | a8d68e47fd8c33f346fbeb893337edfb39dbede0 |
refs/heads/master | <repo_name>minhhieu0701/EloBuddy<file_sep>/MoonRiven/MoonRiven/Mode/KillSteal.cs
namespace MoonRiven_2.Mode
{
using myCommon;
using EloBuddy.SDK;
using System.Linq;
internal class KillSteal : Logic
{
internal static void InitTick()
{
if (MenuInit.KillStealR && isRActi... | e3133c50570098ec9c7eea7df2b7e10443563cac | [
"C#"
] | 24 | C# | minhhieu0701/EloBuddy | afb6dcb9ce1f01d674c1b11bb1d6d3dac89ec737 | 70825267fcc5ce8f09738b347f7d742639d78111 |
refs/heads/master | <file_sep>print("VRSEC")
print("HELLO WORLD")
<file_sep>print("DDD")
| 1cadd309ab05e6e9c940257050d75ff3b5350d1e | [
"Python"
] | 2 | Python | Pamidighantam-Anvitha/newproject | 96bdce046b4ccc406efff9230a32170f8e91e3fe | cb1f99d9693cea5da7316f4773b1765d8dfea3ef |
refs/heads/release | <file_sep>/***
*
* WARN: THIS FILE IS CURRENTLY NOT BEING USED. IT IS PREPARED IN LIGHT OF PROBABLE FUTURE NEED.
*
*/
import { pool } from "../db";
// QUERIES
// 1. DEDITCATED TO ADMIN
const getAllBuyersAdminQuery = `SELECT * FROM buyers ORDER BY id`;
const getBuyerByIdAdminQuery = `SELECT * FROM buyers WHERE id ... | 2be3d31ed9715edb1bab9c30697befc7a5062215 | [
"JavaScript",
"SQL"
] | 59 | JavaScript | Pat-On/repairs_for_you | 34c5070bb4a6c47c17282156c1b077d6aa308519 | 181ba6341567b9ee3191f4eb056475bcf771cdac |
refs/heads/master | <repo_name>VOEURNRADY/Demo<file_sep>/src/main/java/com/example/demo/Student.java
package com.example.demo;
public class Student implements People{
@Override
public void showTitle() {
System.out.println("I'm a student");
}
}
<file_sep>/src/main/java/com/example/demo/People.java
package com.example.demo;
publi... | dca4bf789431fa897cb4b5d8f292a7a9c0542eb2 | [
"Java"
] | 3 | Java | VOEURNRADY/Demo | b57aa924a6abcc2c14b5a10a69c5d81f7bb1def2 | 09deba8d8020b51cfe1271a3e5871f221bc3290e |
refs/heads/main | <repo_name>wodin/react-pdf-node<file_sep>/scripts/bundle.js
const Bundler = require("parcel-bundler");
const Path = require("path");
const entryFiles = "./index.js";
const options = {
target: "node",
};
(async function () {
const bundler = new Bundler(entryFiles, options);
bundler.on("bundled", (bundle) => {
... | 84ba7ba114a2a9f44f230a470713831a40cd9d01 | [
"JavaScript"
] | 1 | JavaScript | wodin/react-pdf-node | e34736e5398acb7b9b90e44e0fb28af8af6e5e10 | 5ac4b8899201065f8192ea014f24dfd311c9eccc |
refs/heads/master | <file_sep>$( document ).ready(function() {
// https://shaack.com/projekte/bootstrap-input-spinner/
$("input[type='number']").inputSpinner();
$("input[type='number']").on("change", function (event) {
if($(this).val()==''){
$(this).val( $(this).attr('min') );
}
});
var curentStep = 1;
$('.btn... | 67848d16f2b9ecb4bd7309e17da231ee0a0926b9 | [
"JavaScript",
"PHP"
] | 3 | JavaScript | admkot/bmw-survey | 5dc0743cd6fd2625d82c8df7f18a91777a2aa922 | 11ca24ea3f2a3d20e5676a50a3042011a69c9fb3 |
refs/heads/master | <file_sep>package XMLTree;
import java.util.Vector;
import javax.swing.event.TreeModelEvent;
import javax.swing.event.TreeModelListener;
import javax.swing.tree.TreeModel;
import javax.swing.tree.TreePath;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.do... | 858ae1f0a18caf8a71689d9c78d3da244c608215 | [
"Markdown",
"Java"
] | 7 | Java | sivabharathik/mycodepad | 94018e273b9e6d1d9f19c526cb644f07f2eb5585 | 25557de34cf75267bbc0667a21d1f57502e02d67 |
refs/heads/master | <file_sep>#include <stdio.h>
void x()
{
x();
}
int main()
{
x();
}
<file_sep>#include "common.h"
int getline2(char *s, int lim, FILE *fp) {
int c, i = -1;
for (i = 0; i < lim-1 && (c=fgetc(fp))!=EOF && c!='\n'; ++i)
s[i] = c;
if (c == '\n')
s[i++] = c;
s[i] = '\0';
return i;
}
... | 2f73b728b45293c774d5343751c5d01a6764eba9 | [
"Markdown",
"C",
"Makefile",
"Shell"
] | 35 | C | Maxul/Lab-Online-Judge | ca535e56740755312ed681095c83c144fabaccbe | 85830ed139a8575c59210b9aea7955bf5b078e60 |
refs/heads/main | <file_sep>filename = input("Input the Filename: ")
f_extns = filename.split(".")
my_dict = {"c":"C","cpp":"C++","py":"Python","java":"Java"}
print ("The extension of the file is : " + my_dict[f_extns[-1]])
| d8d08dae558499464f945ed4f4128b71e447be10 | [
"Python"
] | 1 | Python | SoumiliSahu/Extension-of-the-file | 9bad1d02f1c9d890ac8d60fcbbfefc09fe1e9323 | e856ba0912d1cf9376b7f2ba5d99c5ccf1577e1e |
refs/heads/master | <file_sep># Spring boot with Rest & Soap at the same time
Generate Sources from wsdl file with `mvn generate-sources`
### Endpoints
* Rest: http://localhost:8080/home
* Soap: http://localhost:8080/soap-api/helloworld.wsdl<file_sep>package com.guilherme.miguel.controller;
import org.springframework.web.bind.annotatio... | 472bd1b162e8b0133a4714d56fb8150809cf0142 | [
"Markdown",
"Java"
] | 2 | Markdown | mguilherme/rest-soap | a306e306149e5172d5ce0b3b7c8f5e2c2660450f | 7eaa36ff5cb4695132fb55c2ef25f6500c7ffff4 |
refs/heads/master | <file_sep>package main
import (
"bufio"
"bytes"
"crypto/tls"
"encoding/csv"
"fmt"
"html/template"
"io"
"io/ioutil"
"math/rand"
"net/mail"
"net/url"
"os"
"reflect"
"strconv"
"strings"
"time"
"github.com/dajohi/goemail"
)
type Participant struct {
ID int64
Name string
Gender ... | d4db60be395af7d409ed51bf9bf63d6c07a1148f | [
"Go"
] | 1 | Go | sndurkin/secret-santa | 7545237e45781f312cd42ab5f790b53eaf69f6e2 | ca54505094f078acd18ebe80d16f447c5ecdfa81 |
refs/heads/master | <file_sep>#include "parse_functions.h"
char * lastIndexOf(char * phrase, char key) {
char * location = NULL;
//We don't know the length, so we walk through the string from beginning to end
do {
if(*phrase == key){
location = phrase;
}
}while(*... | bff26743c6366bca016ec79d9e2b317e97597ea5 | [
"Markdown",
"C",
"Text",
"Makefile"
] | 7 | C | gargirou/minishell | a930e807dcdb17e00830f01381a6ee475b411284 | 7c26e5e4674d26aac35c3c0920f090f6ea9b321e |
refs/heads/master | <file_sep>#include "node.h"
using namespace std;
node::node()
{
id = 0;
arrival_time = 0;
age = 0;
tickets = 0;
priority= 0;
quota = ((10 - priority) * 10) / 5;
processed_tickets = 0;
runs = 0;
ready = 0;
end = 0;
running_time = 0;
last_running_time = 0;
waiting_t... | b2cbca1e21596a31fbe9996b64d64a39a20ecd73 | [
"C++"
] | 6 | C++ | carlos2354/OS-assignment1 | e754585a9175d06175ad9347fd21ce1957f5e948 | d61d64fef65022dc82eeecf23854c02568116493 |
refs/heads/master | <file_sep><?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Modul extends Model
{
protected $table = 'm_modul';
public $timestamps = false;
}
<file_sep><?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Session;
use App\User;
use App\HakAkses;
use... | d41bc98c30c56bb1d0ada1596d17d563c735595a | [
"PHP"
] | 13 | PHP | muhsinatulabas/ekoma | b8554c72dd214d438e3ab364c7b4c136195bd7fa | a48a68f148ccdf2a944784a5e9d34fc7c131c17c |
refs/heads/master | <file_sep># Game-Design-Pizza-Crusader
UWO Game Design project.
#Game Summary
In a simpler time long ago, your family controlled the most successful pizza empire in all of Salem, the Pizza Crusader. Yet, as the years went by, a struggle for power emerged within the city as countless other pizza empires rushed to mak... | d0bd3eed2d76a86c83e92fe11dcfa7d2fb9dfef7 | [
"Markdown",
"JavaScript"
] | 5 | Markdown | Demelode/Game-Design-Pizza-Crusader | 4c96ff4dabe19523446401f8c1e5bb2aa3527ba9 | 08ac1cb5eccc16fd1220c01c7e7679ae629546b0 |
refs/heads/master | <file_sep>import cipher from './cipher.js';
/*console.log(cipher);*/
const btnCodificar = document.getElementById("codificar");
btnCodificar.addEventListener("click", codificar);
function codificar(eventoDeClique){
eventoDeClique.preventDefault();
let msgParaCod = String(document.getElementById("msgCod").valu... | 06f4b3cf96c1740a2d625cfe2d1e333449de0e4c | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | LauraDeperon/EnolaHolmes-Laboratoria | 4a2341de9ef9bef7a8f19e9f8ca9ec4e9bab9a66 | d2f657694ad6a9baf37191a80e5ac93d1155bc06 |
refs/heads/master | <repo_name>goniti/pixelArtInvader<file_sep>/js/script.js
const app = {
size: 8,
pixel: 20,
color: 'cell--white',
slate: document.getElementById('board'),
container: document.getElementById('app'),
form: document.getElementsByClassName('settings')[0],
makeGrid: () => {
// create a grid of 64 cells 8 ro... | a202668a0a57702eedda733d9af80d3845ea437b | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | goniti/pixelArtInvader | a7cbbb28e16a34ce12fdc58541483e170093fe49 | e373bab3f551c2c71e89b2342a979fb5307e832e |
refs/heads/master | <file_sep>import React from 'react';
import './About.css';
function About(props) {
return (
<div className='about__container'>
<span>“ To do a great right do a little wrong. "</span>
<span>− <NAME>, 2020</span>
</div>
);
}
export default About;
<file_sep># Movie Info
Info About Movies
| 681a9dea07d38b06f8accc19df21385d752dc3ca | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | tun-eer/movie_info | bf56811af4d6d1be6cbd1e55e222bdec47246e34 | 313da9c62a080bf3f7d074b1f2b41559a99cd6f8 |
refs/heads/master | <repo_name>mattpetters/battlestuff<file_sep>/README.md
# battlestuff
Unity game
<file_sep>/Assets/Scripts/Network.cs
using UnityEngine;
using System.Collections;
using SocketIO;
public class Network : MonoBehaviour {
static SocketIOComponent socket;
// Use this for initialization
void Start () {
socket = GetCo... | 1339d6e6bd92bb76dea492efe795aadd1cfcc9b7 | [
"Markdown",
"C#"
] | 2 | Markdown | mattpetters/battlestuff | 41f71c818f1715883df938ab10d9a321ba0b67b2 | 52a757bd725e05b8808c7d6e82a65cd84d49ad16 |
refs/heads/master | <file_sep>rm *.class;
javac _Demo.java;
java _Demo $1 $2;
<file_sep>class _Demo {
public static void main(String[] args){
if (args.length < 2){
System.out.println("Please specify two strings to test");
System.exit(0);
}
IsPermutation is_perm = new IsPermutation(args);
boolean result = is_perm.res;
Sys... | 8f5bfd140194938c158736e659b51854b1167012 | [
"Markdown",
"Java",
"Shell"
] | 4 | Shell | wallyfaye/is-permutation | 37875e64059933c245e83ede8dca343b521fc6e6 | 30c22076c81c4732344aaefb85596bb1477d5716 |
refs/heads/master | <repo_name>feawesome/spa-bus<file_sep>/src/index.js
class SPAEventBus {
constructor() {
this.events = {};
this.addEventListener = this.addEventListener.bind(this);
this.emit = this.emit.bind(this);
this.removeEventListener = this.removeEventListener.bind(this);
}
addEventListener(type, callBack) ... | 4a72d30ac5aecb7285757380a9fa952e973acd87 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | feawesome/spa-bus | 948563660e0d1cbe258751fbbc9589f44744d6b3 | df02a31356d7efee2649570efc2f004e4d6fac74 |
refs/heads/master | <file_sep>import csv
# CSV format settings
csvlt = '\n'
csvdel = ','
csvquo = '"'
# open the input and output files
with open('out/tables/destination.csv', mode='wt', encoding='utf-8') as out_file:
# write output file header
writer = csv.DictWriter(out_file, fieldnames=['number', 'someText'], lineterminator=c... | fb31ba5aaff042bb0416ceb5ef516734d6a2a5a2 | [
"Markdown",
"Python"
] | 2 | Python | odinuv/cs-python-test | 89974508f7047b3791f736e384244e56bfe9c874 | d6ad329f9d3f3c4a84886f06842353d74743e174 |
refs/heads/master | <file_sep>package global
import "github.com/opentracing/opentracing-go"
var(
Tracer opentracing.Tracer
)
<file_sep>package api
import (
"github.com/gin-gonic/gin"
"github.com/wolf88804/blog-service/global"
"github.com/wolf88804/blog-service/internal/service"
"github.com/wolf88804/blog-service/pkg/app"
"github.... | a62532ada85f04ecf4f67bb2180060fea405f410 | [
"Go"
] | 3 | Go | wolf88844/blog-service | dc0a2b133f1c7a6877b9b6d25c5041b8f3c822d3 | 1d8f52424c589ef5823fd57253a724cb73f48260 |
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 {
// colors = ['red', 'orange', 'yellow', 'green', 'blue', 'indigo', 'violet'];
red: string = '#FF0000';
orange: stri... | 41277d2b8d269b69ee0f2c076f6f8236a023beb4 | [
"TypeScript"
] | 2 | TypeScript | garlife/hw-lesson2 | a5632cf6e113a31b65e457565786e5c017cc29ed | 48814a9bbd3906fe5cc51d17951232d7831b7dc1 |
refs/heads/master | <file_sep>
# monkey
跑Monkey后把日志中的error项转换为Excel表格指导说明:
1、解压xlwt-1.0.0,然后把解压后的文件夹放到python安装文件夹的根目录下面
2、在xlwt-1.0.0文件夹中的setup.py文件路径下,在命令行中输入 python setup.py install
3、把analynsis.py、write_excel.py和导出的monkeyResult文件夹放在同一路径下
4、运行analynsis.py脚本,本地就会生成logresult.xls文件<file_sep>#-*-coding:utf8-*-
import threading,shutil,re
im... | d8e08e0351c80050c3b43fa50aa12c25997369c5 | [
"Markdown",
"Python",
"Text",
"Shell"
] | 7 | Markdown | virtueqwl/monkey | ac74f7b46742bc207d104c14b30b2834e68b411f | 453bb1c219e488a9c8889bb087cd5d8a1883892e |
refs/heads/main | <repo_name>GajananSOS/sapsol-test<file_sep>/app/Traits/VerifiesEmail.php
<?php
namespace App\Traits;
use Illuminate\Auth\Access\AuthorizationException;
use Illuminate\Auth\Events\Verified;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Session;
trait VerifiesEmail
{
... | 589a4dbc5c438c170e4606fe5e20be4a16053ce7 | [
"PHP"
] | 5 | PHP | GajananSOS/sapsol-test | ad1854e01b6f360c38712065439f986b7f4d66d0 | 4931cb2a4d7707a79d5f5d8d2697d8c116578dfd |
refs/heads/main | <repo_name>shivam464/World-population-with-next.js<file_sep>/component/Layout.js
import Head from "next/head"
const Layout = ({ children, title = "World Population Rank" }) => {
return (
<div>
<Head>
<title>{title}</title>
<meta name="description" content="World... | 5a188ace0e80c5215909f73e08ddc9fc73464cf9 | [
"JavaScript"
] | 4 | JavaScript | shivam464/World-population-with-next.js | 1c565a2ad4a52f4a3b1f7bfc6582e768680c45ce | 5d8b12f6dac8dea2fb18d2e711b6c16b29f322f1 |
refs/heads/develop | <repo_name>Tubitv/rpclib<file_sep>/benchmarks/src/main/protobuf/README.md
These proto files are taken directly from [grpc-java](https://github.com/grpc/grpc-java/tree/master/benchmarks/src/main/proto/grpc/testing)
<file_sep>/README.md
# RPCLib
This is a library that enables gRPC services and clients written in
Scala ... | 806fa6654b64abe58f8361ce5c60564c20912d25 | [
"Markdown",
"Java"
] | 3 | Markdown | Tubitv/rpclib | 9b4a53c33595ddb9c3e13730d3b90bc5cf42f15c | 9c5210f8faf39b46bcbf9a50f95fb6497426975d |
refs/heads/master | <repo_name>mattboldt/react-rails-primer<file_sep>/README.md
# React-Rails Primer
The fun stuff is in `app/assets/javascripts/components`. To get started, fork this repo, and...
```
bundle
rake db:migrate
rails s
```
Then visit `localhost:3000` in your browser
<file_sep>/app/assets/javascripts/components/_post_form.j... | f3de00cbf2d2d1202747ea6379270d7bd3f202c1 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | mattboldt/react-rails-primer | ec52205b3f9b9d947ac7b793deb0881833cab285 | e44127de15ca8de247b55d800a87371d069259d1 |
refs/heads/master | <repo_name>chekalin/Udacity-CS253<file_sep>/registration.py
import hashlib
import hmac
import os
import random
import re
import string
from google.appengine.ext import webapp, db
import jinja2
template_dir = os.path.join(os.path.dirname(__file__), 'templates')
jinja_env = jinja2.Environment(loader = jinja2.FileSystemL... | 6a2b8ea415a44dfaafb0a97bdce86e1919b50687 | [
"Python",
"HTML"
] | 6 | Python | chekalin/Udacity-CS253 | be73b4db45f4fad77961f1f312f40902c4015821 | 0f7b9e00b163e13276c4d8162810fbf70c4c5dd2 |
refs/heads/master | <file_sep>package cn.huas.xueshe.activity;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import cn.huas.xueshe.R;
public class comment extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
s... | 8b49e5eb557d4f13419371a3d2c50e9316612c76 | [
"Java",
"Gradle"
] | 17 | Java | AngusWG/xueshe | b29fb7c75b906b72ababfa5486618126e4f3705e | d88ce5624595f38f80b066c690ba414e05bab493 |
refs/heads/main | <repo_name>jstallings2/farmlink-pipeline<file_sep>/function-source/requirements.txt
# Function dependencies, for example:
# package>=version
pymongo==3.11.3
dnspython==2.1.0
google-cloud-datastore==2.1.0
firebase-admin==4.5.1
pandas==1.2.3
numpy==1.20.1
lxml
google-cloud-storage
gcsfs
<file_sep>/raw_data/CARROTS_SOUTHW... | 1dacb7bca4bc43ecf06921f6e30f6abe47f5049c | [
"Markdown",
"Python",
"Text",
"HTML"
] | 7 | Text | jstallings2/farmlink-pipeline | 63695966302534ba49dc4fe4f7956faa7d432868 | bc8ac38f93f43106826d6ac794871de48c32c148 |
refs/heads/master | <file_sep>using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BlockScript : MonoBehaviour {
public bool shouldSpin;
public bool isSpinning;
public float spinSpeed = 70.0f;
void Awake () {
isSpinning = true;
}
// Use this for initialization
void Start () {
}
... | c39f3da6b4b3e47b2f519beb3a58e92334a8b67e | [
"Markdown",
"C#"
] | 5 | C# | bleecher/pyramid-game | 8377fa6eaf17c1e6705cc8ecafe14ed6dc5b8b29 | 040d10991e4e2f3fdb068fa7d1346a355a339414 |
refs/heads/main | <file_sep>document.getElementById("next").addEventListener("click", function () {
document.getElementById("cplus").innerHTML = "-";
document.getElementById("expandmain").style.display = "block";
});
document.getElementById("prev").addEventListener("click", function () {
document.getElementById("cplus").innerHTML ... | 335d8e8b834f7c37feb0d3b96ba08b19e52337a3 | [
"JavaScript"
] | 1 | JavaScript | adil9516/task-vara | b71fa8176304fbc44fc46d77198b9b09a0e80480 | f98d03ec66dc152032d4498dbda3d3b8b008d0bc |
refs/heads/main | <file_sep># IA
_Este es el repositorio donde se subirán algunos trabajos para el curso de Inteligencia Artificial (CS261)._
## Autor ✒️
* **<NAME>** - *Documentación* - [YahairaGomez](https://github.com/YahairaGomez)
* **<NAME>** - *Documentación* - [alexa1999](https://github.com/alexa1999)
* **<NAME>** - *Documentaci... | 932acd82bb2948220b4084ba04bcb1bb4f90c9c7 | [
"Markdown",
"Python"
] | 2 | Markdown | alexa1999/IA | d2ad998c309b1a96b5f309e2197025a1a79998bd | c9f5fa1cebda44665d72928341bc481825ea6c11 |
refs/heads/master | <file_sep>package utils;
import com.esotericsoftware.yamlbeans.YamlException;
import com.esotericsoftware.yamlbeans.YamlReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
public class YamlUtils {
static TestLog log ... | 1dbb53dc9d45f75daafc9b54faeb5b0331b14ef4 | [
"Java",
"Maven POM",
"INI"
] | 17 | Java | mike041/demo | 8bdc9895a07b47d501d45cdabd0203a5d511272c | c93ded4a755ad6afcab77ae770383246d5036edf |
refs/heads/master | <repo_name>koptilnya/gmod-mouse-steering<file_sep>/lua/entities/koptilnya_mouse_steering.lua
AddCSLuaFile()
DEFINE_BASECLASS("base_gmodentity")
ENT.Type = "anim"
ENT.Author = "Opti1337"
ENT.Contact = "<EMAIL>"
ENT.PrintName = "Mouse Steering"
if SERVER then
function ENT:Initialize()
self:DrawShadow(false)... | 31f2b786ee6be95bcb14bd66ab4ac710926b8d2e | [
"Lua"
] | 2 | Lua | koptilnya/gmod-mouse-steering | 6c3fe5876849ec04d27680489ecafb5633aa493c | ddbb9640cf5d9c7554669f90c0c2ef328ae54dae |
refs/heads/master | <file_sep>#include <stdio.h>
#include "board.h"
#include "peripherals.h"
#include "pin_mux.h"
#include "clock_config.h"
#include "MKL25Z4.h"
#include "fsl_debug_console.h"
#include "fsl_tpm.h"
#define Renglon_1 5u
#define Renglon_2 4u
#define Renglon_3 3u
#define Renglon_4 2u
#define Columna_1 11u
#define Columna_2 10... | dd8797dcbd40cac896e16c0d26743b59ffcbed7e | [
"C"
] | 2 | C | LalodeAvila369/FRDMKL25Z_Keypad_Keypad | 156a6045dbae1d5ff4b45fe73aed155584eb0542 | f219b9b5a334a263d10001db6a6f76c5887057c0 |
refs/heads/master | <file_sep>#!/usr/bin/env node
console.log("leery is here, never fear");
| 4b9f50888b9886349e6c4b9a56bc594261ee94a7 | [
"JavaScript"
] | 1 | JavaScript | lloyd/leery | fec93b35afd00756c34b8e207e402ac77dee5e77 | 64678e46988d216b82208eff676db0dc178435e8 |
refs/heads/master | <repo_name>2752599920/todo<file_sep>/src/router/index.js
import Vue from "vue";
import VueRouter from "vue-router";
import Home from "../views/Home.vue";
import AddTODO from "../components/AddTODO.vue";
import TodoList from "../views/TodoList.vue"
Vue.use(VueRouter);
const routes = [
{
path: "/",
name: "Hom... | a63c813cad3ce1ce4452fc41b9e611880a8eba8d | [
"JavaScript"
] | 1 | JavaScript | 2752599920/todo | 515fd36d1546840fc3da9bfe5bd892b9ea135a73 | aba16951e51bbeceb92a6cb207dc235d8e1e7142 |
refs/heads/master | <repo_name>abrenicamarkjoshua/UIserviceLayerWinForms<file_sep>/UIserviceLayerWinForms/winforms/draggableForm.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace UIserviceLayerWinForms.winforms
{
public class dr... | 991e15bf7f590583222a6516e2c27184c726b75f | [
"C#"
] | 2 | C# | abrenicamarkjoshua/UIserviceLayerWinForms | 35b12d646a6242c6c89136a75cb81049c06b0ce6 | 01e3fcf96854d15566ae0b41927be4f5c8708570 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class uploadtest : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void btnAdd_Click(object sende... | 28ac35894fdcbd2b2a399c41bf259fd739797ece | [
"Markdown",
"C#"
] | 19 | C# | Qian-Elizabeth/netWeb | d09a2b808337e09641c4db13697d12962921600f | 66f225bcbf924c543d53949a8822b6100ae65658 |
refs/heads/master | <repo_name>Maxmiz123/fs-bnb-api<file_sep>/models/user.js
var mysqlConn = require("../database/database");
//Task object constructor
var User = function(user) {
this.name = user.name;
this.surname = user.surname;
this.cellPhone = user.cellPhone;
this.email = user.email;
this.password = <PASSWORD>;
this.role... | 53e52ff9fd0541b3270df3ae8a089617275be6a0 | [
"JavaScript"
] | 4 | JavaScript | Maxmiz123/fs-bnb-api | b2fde84e7d3af3a4ebfc88b16c6e08b61046d30b | bda83be9a54889bb67a619219a18ac1de758b3cd |
refs/heads/master | <repo_name>nielsmaerten/nightscout-assistant<file_sep>/packages/cloud-functions/nightscout.js
// @ts-check
const fetch = require("node-fetch");
const admin = require("firebase-admin");
const URL = require("url").URL;
const intl = require("intl");
const { performance } = require("perf_hooks");
const functions = require(... | 2903b082c60b14e2f646667d879ae13432035ce1 | [
"JavaScript",
"Markdown"
] | 8 | JavaScript | nielsmaerten/nightscout-assistant | 55f7bbc1c86f2de6d6f41ff7b5f0edddbaf912ea | e6e3a90e5cc8d4bcd77f0a79cd03996356d020cd |
refs/heads/master | <repo_name>bbrowning/knative-openshift-ingress<file_sep>/pkg/apis/route/v1/addtoscheme_route_v1.go
package v1
import (
"github.com/openshift-knative/knative-openshift-ingress/pkg/apis"
routev1 "github.com/openshift/api/route/v1"
)
func init() {
apis.AddToSchemes = append(apis.AddToSchemes, routev1.SchemeBuilder.Ad... | 81978ed2aef3e672bd502861f482a7fb33b65b1d | [
"Go"
] | 5 | Go | bbrowning/knative-openshift-ingress | 8eda6301461d0de05471745281e07350873b78ea | 4cf6d8719895705828ef138c6a8653f7a65a8852 |
refs/heads/master | <file_sep>// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
//#pragma once
//#include "targetver.h"
//#include <stdio.h>
//#include <tchar.h>
#ifndef _MAIN_H
#define _MAIN_H
#include <windows.h>
#include... | 0a42db724fddfabf01e2ff39d21781c76c4ef922 | [
"C",
"Text",
"C++"
] | 18 | C | jsjtxietian/CG_homework | cb96f9a283f1861048de8590dc76e4ff8a3e69f2 | faee88ba4b6114a8007086294772cefce1d79ccb |
refs/heads/master | <repo_name>EManual/EManual-CLI<file_sep>/emanual/cli.py
# -*- coding: utf-8 -*-
from emanual import make, __version__
import click
def print_version(ctx, param, value):
if not value or ctx.resilient_parsing:
return
click.echo(__version__)
ctx.exit()
@click.group()
@click.option('--version', is... | 17bb7b60e9a186785036015e55c20209b8b7d684 | [
"Markdown",
"Python",
"Text"
] | 8 | Python | EManual/EManual-CLI | 2ee9c9e167a8f13f2aa973653b390d724d5e3e6a | bd24ca3f612df1ff83ecc33582b9162532f84f71 |
refs/heads/master | <file_sep>#bar containing info about the machine in the local pane
pass
<file_sep>import json
import os
import sys
import time
import libtmux
from tmc_modules import tmc_session_manager
from tmc_tasks import tmc_ssh
from tmc_tasks import tmc_ansible_v1
import tmc_ui as tcui
import tmc_settings as tcs
example_file ... | d668bad5d357a3d0eb618c7fb373e795dafeb007 | [
"Markdown",
"Python"
] | 12 | Python | rostchri/tmux-control | c36d0efdbb38be3b2f710985fd25761f5095d0d5 | b759f382240883a448689cb0c510e8a1457998e3 |
refs/heads/master | <file_sep>#ifndef ZOOKEEPER_C_H
#define ZOOKEEPER_C_H
#include <zookeeper.h>
#include <proto.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <sys/select.h>
#include <sys/time.h>
#include <time.h>
#include <errno.h>
#include <assert.h>
const char * errcode2str(int errcode);
in... | 1b72303562250b62ab78c0e4f22569707a86a4a5 | [
"C"
] | 5 | C | ttyunix/interest | 60d8fa7f23b26d04d7ff6691a7d040107a7f1585 | 3e8f9a6f376f53511650bf34364c640368c4fa26 |
refs/heads/master | <file_sep>from setuptools import setup
from setuptools.command.test import test as TestCommand
import sys
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
import pytest
... | d29f69d5da29a87600daf9e4253148f456cea6a0 | [
"Markdown",
"Python",
"Text",
"reStructuredText"
] | 10 | Python | diorge/hexagons | 7516ff0faede0b470e6d415e17f5d22408f6b6d6 | 3eeb6db9019ed779311971e5d715b296d6e2c07d |
refs/heads/master | <file_sep>var core_vm=require('./vm.0webcore.js');
var _reqlib=require('./vm.requirelib.js');
module.exports=function(vm,cb){
if(vm[core_vm.aprand].has_defined || vm[core_vm.aprand].has_started ||!vm.src){
return;
}
if(!core_vm.isfn(cb))cb=function(){}
if(vm.getcache().vmlib[vm.src]){
vm.getcache().add_ref('vm'... | 008533f2b03a1a9863f8fcdcc1eb0cae346fdc3d | [
"JavaScript",
"HTML",
"Markdown"
] | 54 | JavaScript | peterli888/vmix | 58693c6afe51a7d53765473c54ed944df657a95c | b353961da0cf6732545c602daf4d9999b63a691b |
refs/heads/master | <file_sep># console-bank
This is a console-bank.
It performs withdrawals and deposits based on
certain parameters:
* Customer's starting balance is $1,000
* Deposits over $500, bank gives $25.
* $50 fee for every overdraft
* If customer's account exceeds a negative
balance of $750, customer's account will be closed.
... | b9fabd38bb198e61d2e849929031b4df3288bbc5 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | nathanhood/console-bank | 1904be588c49270afea858d778197b4ff92474a4 | 5ab2f7d2e780c9b6646f98e0bf99a67ecdf18c00 |
refs/heads/master | <file_sep>require_relative "../_plugins/joiner"
require_relative "site"
require "minitest/autorun"
module Hub
class JoinDataTest < ::Minitest::Test
def setup
@site = DummyTestSite.new
end
def test_join_team_data_from_private_source
@site.data['team'] = [
{'name' => 'mbland', 'full_n... | fd0b66fa2d64cb61961a5805b69d4f5b0460a4b6 | [
"Markdown",
"Ruby",
"Shell"
] | 13 | Ruby | jasonlally/hub | 22adcc84ba887ed3d46743271f30e382782add43 | baad42d37267d587490d5672a189e1c5e6ffcbb0 |
refs/heads/master | <repo_name>yudoufu/CoreMLInseptionSample<file_sep>/CoreMLInseptionSample/CameraCapture.swift
//
// CameraCapture.swift
// CoreMLInseptionSample
//
// Created by yudoufu on 2017/07/22.
// Copyright © 2017年 Personal. All rights reserved.
//
import Foundation
import AVFoundation
class CameraCapture: NSObject, AVCapt... | ff6c88c341502b1c7588013492bffcd1da982d0b | [
"Swift"
] | 2 | Swift | yudoufu/CoreMLInseptionSample | 9780b13a9d1b7b54426e1c61ef505e1887d64947 | 319dbb123b888aefcc63c085b3561f95b062dcc4 |
refs/heads/master | <repo_name>BossDing/Litemall-Android<file_sep>/common/src/main/java/com/hubertyoung/common/base/BaseActivity.java
package com.hubertyoung.common.base;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.Intent;
import android.content.pm.ActivityInfo;
import android.content.res.... | 67188ac2e90ce7f5651d3f0d4bbf57228a9a9858 | [
"Markdown",
"Java"
] | 3 | Java | BossDing/Litemall-Android | e9229ef83d6c4b45a88e866aa2fe525ac8dc473d | c14bc6adeb53ddc100243925254053e234043734 |
refs/heads/master | <file_sep>var express = require('express');
var app = express();
var hbs = require('express-handlebars');
app.engine('hbs', hbs({extname: 'hbs'}));
app.set('views', './views');
app.set('view engine', 'hbs');
app.route('/').get(function (req, res) {
console.log('Запрос на страницу');
res.render('index', {tit... | 1c8cbe78c0c1df09e1eb70242ca2fbd1ea357dbd | [
"JavaScript"
] | 1 | JavaScript | Vian142/dental-clinic | 85ff5e84f95dd8301e1340e1c79fd1ffa5130bb0 | cd9f6857fede3e8ae9f20e6a36c98880d1ff0af6 |
refs/heads/master | <file_sep>//Supertest is a library to help test endpoints
const supertest = require('supertest');
//remember our server won't actually start
//due to the if statement in index.js
const server = require('./api/server');
const Auth = require('./auth/auth-model');
// test("Welcome Route", async () => {
// //Passi... | ca386afb6e25e44f332d22cb96dc70f32c617cc4 | [
"JavaScript"
] | 1 | JavaScript | cleph01/Sprint-Challenge-Authentication | 3779ae41a35f631bdfff4f1886dcc52f4cdc684d | 3bd477cf69ad6fe2d2256c67c0830e318af01cc3 |
refs/heads/master | <file_sep># RoomSample
[](https://travis-ci.org/isaacizey/RoomSample)
[](https://coveralls.io/github/isaacizey/RoomSample?branch=master)
This ... | 2171ef143500b0ef9cb96c0349d23011ea76bd9b | [
"Markdown",
"Java"
] | 2 | Markdown | isaacizey/RoomSample | 245c811b032f0776ef9287f51d25b455519ced04 | 9980de9fb4a9c90c847c2fd3d90508df099aca0a |
refs/heads/master | <repo_name>JustinHMKim/Databases_MasterOwl_Comics<file_sep>/README.md
# Databases_MasterOwl_Comics
Final Project for COEN 178, Introduction to Database Systems
Allows for item orders, computing totals, displaying order information. Takes into account item stock and customer membership status.
Includes a GUI for placi... | 4305c88f0da13bbdcf029e0091b7ab14f1a9bc95 | [
"Markdown",
"SQL",
"PHP"
] | 10 | Markdown | JustinHMKim/Databases_MasterOwl_Comics | 601a9d71b924a187e8d5ee08fc2db773d25dc962 | 20160325defb802457cdbd109b26dedd1a05f61c |
refs/heads/master | <repo_name>bettse/Janus<file_sep>/objc_dep/Makefile
PROJECT=Janus
EXCLUDE=(\-Prefix|main|FM|Tests|PK|ParseKit)
DOT=dot
circo: DOT=circo
twopi: DOT=twopi
default:
objc_dep.py -x "$(EXCLUDE)" ../ > $(PROJECT).dot
$(DOT) -Tpng $(PROJECT).dot -O
open $(PROJECT).dot.png
circo:
objc_dep.py -x "$(EXCLUDE)" ../ > $(PROJ... | 0049149bd41fd5f2e17b910f8ae99825e386eb9b | [
"Markdown",
"Makefile",
"Python",
"C",
"Shell"
] | 5 | Makefile | bettse/Janus | 9f3cd794fc80a438879688621c7b2d5124ee511e | 4c89398122043c140edc2ec12c317c3bb99c8d89 |
refs/heads/master | <file_sep>1.// function ChristmasTree(n){
// for ( i = 0; i <=n; i++) {
// let tree = ' ';
// for ( j = 1; j <= n-i; j++) {
// tree+= " ";
// };
// for ( k = 0; k <= i; k++) {
// tree += " *"
// };
// console.log(tree);
//... | 288118cf942a17e3bb884813c057f6c124469288 | [
"JavaScript"
] | 1 | JavaScript | iftikharbg/tree-consecutive-methods-sum-iftixar | ccf68f813751061423f81606fb7ff0dacab29473 | be4ae79b55f2bbe9254339f18cf0a19ba3ad9fc6 |
refs/heads/master | <repo_name>PnS2018/wgw<file_sep>/train_model.py
import numpy as np
from data.DataProcessor import DataProcessor
from model.ModelManager import ModelManager
from utils.config import config
np.random.seed(config.VERSION)
dp = DataProcessor()
print("Starting model training.")
# load data
train_x, train_y, test_x, test... | 404b2fb62a59265b6aa116bf936a3e842a22f3ba | [
"Markdown",
"Python",
"Text"
] | 10 | Python | PnS2018/wgw | 3cfddf6a9890e9c632c46fe967eaeae119bac6e8 | 00d5762b36c0291cdffc1c585d4d8e62a537e962 |
refs/heads/master | <repo_name>jakazzy/js_30<file_sep>/README.md
# js_30
This repository consist of series of mini projects under the JavaScript challenge for 30 days dubbed js 30 by <NAME>.
Consist of projects with neither libraries nor frameworks only Vanilla JavaScript with HTML and CSS. Attached to each of these projects(with the e... | 2485a4ef4a02f66ea666ea892ae50033d8e45b9c | [
"Markdown",
"JavaScript"
] | 2 | Markdown | jakazzy/js_30 | b2e36b4be48e42f46136104ae9af00f390afb5db | 911e7fd6bf0414f7c20ef06ef1c2e0359491b334 |
refs/heads/main | <file_sep># Sistema de Gerenciamento de Pacientes Hospitalares
## Projeto
O programa consiste em um sistema simples para gerenciamento de Pacientes que podem ser divididos em 3 categorias: Internação, Consulta e Exame. Os pacientes foram definidos como uma classe genérica que é usada como padrão para classes de pacie... | 29cbc2b2f1ed775eccec049897abbb9ea8bc4387 | [
"Markdown",
"Makefile",
"C++"
] | 35 | Markdown | gabriel-delima/LigProg_2020_2 | bceccdbed00a3b806c8371535403d1d5db51cfb5 | da853e0473bbb65c0623254995bc1af7b0d1dbea |
refs/heads/master | <file_sep>from setuptools import setup, find_packages
import os
version = '0.1'
long_description = open('./README').read()
setup(name='gae_taggable_mixin',
version=version,
description="A mixin class that adds taggability to Google AppEngine Model classes.",
long_description=long_description,
... | eef5048c01f93f5972cb970391798fef0332565a | [
"Python"
] | 1 | Python | abelenki/gae-taggable-mixin | 7c1a6f605d14ede9629ccaac6434526ec5016bec | 73ae790c37dbd72ec2fa26ed435139e4d2572b45 |
refs/heads/master | <file_sep>using AccountabilityLib.Models;
using BowlingLib.Interfaces;
using BowlingLib.Models;
using BowlingLib.Services;
using BowlingUnitTestsLib.Repositories;
using BowlingUnitTestsLib.Utilities;
using System;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace BowlingUnitTestsLib
{
pub... | bd22bb23f7cfecfa75407f0db785e639fd3bc61f | [
"C#"
] | 26 | C# | aeklundh/bengansbowling | 0915f790eb21041939899034e1a8517cd893f03f | 5633d50098d5f22b26edbec39183181842fba34c |
refs/heads/master | <file_sep><?php
namespace Resi\GestionResiBundle\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class AccesoControllerTest extends WebTestCase
{
public function testAcceder()
{
$client = static::createClient();
$crawler = $client->request('GET', '/Acceder');
}
... | 3c7f526d78906ff0676d632432a4dd02e87058ed | [
"SQL",
"PHP"
] | 24 | PHP | linksamaru/Residencia | 44ebe9b033f2e7eec5cf9a743966d5522223b167 | b285aa815dd4eba05f47d8b94e741d3b0f51484b |
refs/heads/master | <repo_name>tungula/StrategyOrbit<file_sep>/Assets/Scripts/DB/DB.cs
using UnityEngine;
using System.Collections;
using System.Data;
using Mono.Data.Sqlite;
using System;
using System.Reflection;
using System.IO;
using System.Linq;
using System.Linq.Expressions;
using System.Collections.Generic;
public class DB : MonoB... | d63c86561e1c9a633c848685b60ffe62cd19a2ff | [
"Markdown",
"C#"
] | 3 | C# | tungula/StrategyOrbit | b7ac55d99aedd35b18347d6939e39c4cdc5fdfdd | bfbf7a505c096fb8d02dd8325b0c4de76ef41fda |
refs/heads/master | <repo_name>LoyRohan/woohoo<file_sep>/footTitle.js
function title() {
var xhttp2 = new XMLHttpRequest();
xhttp2.onreadystatechange = function() {
if (xhttp2.readyState == 4 && xhttp2.status == 200) {
console.log(JSON.parse(xhttp2.responseText));
var footer = JSON.parse(xhttp2.resp... | 5f3c442e0f7d32d4a9390ddf509f915137e9c9e8 | [
"JavaScript"
] | 2 | JavaScript | LoyRohan/woohoo | 99261b5091a9833ab1f510bf9e76e570335b7a7c | fc6011680adab9e14b6832c26138c987a1ecc69e |
refs/heads/master | <file_sep>using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace _4TheRecord
{
public record ItemRecord : INotifyPropertyChanged
{
public ItemRecord(string name)
{
Name = name;
}
public string Name { get; }
... | 3573ce6b6088a33c30caae8873402e67765f9d5b | [
"C#"
] | 4 | C# | Keboo/4TheRecord | 163f429cbfb14630c5be0c4db6cf590a538b83c6 | 15b1590a05757f83b13993bbcf60aa57f8a498cc |
refs/heads/master | <repo_name>wehman/Winning-Numbers<file_sep>/RaffleTicket.rb
def winning_number_include?(my_ticket,winning_tickets)
winning_tickets.include?(my_ticket)
end
def winning_number_iterate(my_ticket,winning_tickets)
winner = false
winning_tickets.each do |ticket|
if my_ticket == ticket
winner = true
end
... | dfb7449c7e32a43139895d34f4e47dfa98fd47dd | [
"Ruby"
] | 4 | Ruby | wehman/Winning-Numbers | bf5b52ea9f8d15b7e18c9593c32fa50c889337fa | 712be4dc1c6448c21a0c7f106c58ae868b9184ec |
refs/heads/master | <repo_name>nivethaaarthi98/raju<file_sep>/values.c
#include<stdio.h>
void main(){
int i=0;
char ch;
for(i=0;i<256;i++){
printf("%c",ch);
ch=ch+1;
}
}
| f0a1f9177419088b165a4d91832ea78bccc7ebe0 | [
"C"
] | 1 | C | nivethaaarthi98/raju | 50a8c4d77d314a3d64bfeef29ff9490ca85607a8 | 949f45b69b6bfdff895751dc23d1090980e7ed51 |
refs/heads/master | <file_sep>//
// DetailMapViewController.swift
// exam
//
// Created by D7702_09 on 2019. 11. 12..
// Copyright © 2019년 csd5766. All rights reserved.
//
import UIKit
import MapKit
import CoreLocation
class DetailMapViewController: UIViewController, CLLocationManagerDelegate, MKMapViewDelegate {
var dTitle: St... | 6be3dbd4c9a7420bc0cf95a3d60db663f14f2034 | [
"Swift"
] | 3 | Swift | jhkim3217/Busan-Seagull-Walkway | f96ce0b3eb9c3f87065314353b5e501895985132 | 0223f63cfe8e5eb0149e4787961499711e53303b |
refs/heads/master | <repo_name>chungchen/line_clustering<file_sep>/basic_k_means.py
from sklearn.cluster import KMeans
# loads data from file
# input: tab delimited file where each line is a sample. Each tab is a feature
# output: array of arrays
def load_data(filename):
data = []
with open(filename) as fin:
for l in fin:
data_li... | 3fe2f83b711a7244e6a62caa463962cb884873da | [
"Python"
] | 3 | Python | chungchen/line_clustering | b42aa233c1df758c1f2dda4bce5c8385ffc30876 | 36f3624562148e7b50463bde59757e6cabd38f74 |
refs/heads/master | <file_sep>import "./styles.css";
document.getElementById("app").innerHTML = `
<h1>Hello Vanilla!</h1>
<div>
We use Parcel to bundle this sandbox, you can find more info about Parcel
<a href="https://parceljs.org" target="_blank" rel="noopener noreferrer">here</a>.
</div>
<div>
Time :
</div>
`;
function timer() ... | 2e9bee958cc7a2e23559b492349615cb30065173 | [
"JavaScript"
] | 1 | JavaScript | JoshandNancy/JOSH_MOMENTUM | be0f1ccb9bb142277381f7d09126e2b16c314661 | aa68879bc791d50e15e5ca1696ab1c780bc98c3b |
refs/heads/master | <repo_name>Deeathex/AndroidAppMobileProject<file_sep>/app/src/main/java/deeathex/androidapp/persistance/AppDatabase.java
package deeathex.androidapp.persistance;
import android.arch.persistence.room.Database;
import android.arch.persistence.room.Room;
import android.arch.persistence.room.RoomDatabase;
import android.c... | bd92701a7f0817d2192e8fb3c69eae1ec77d64a9 | [
"Java"
] | 3 | Java | Deeathex/AndroidAppMobileProject | 5c6f22c982ee267f64b1d57284bb8a20c9cbc87d | 7d5fcb578e09f34c662f1df3a530274307770ae3 |
refs/heads/master | <file_sep># LMAOBot
## About
Developed in Node.js
## Running The Bot
You'll need to setup Node.js, and Python 2.7+!
* [Node.js](https://nodejs.org/en/)
* [Python 2.7*](https://www.python.org/)
Install dependencies:
```sh
# Ubuntu
apt-get install build-essential autoconf libtool sqlite3 ffmpeg git
# CentOS 7
rpm... | a65baeaf45fc976a491fb12cfa1dea2796d3eb66 | [
"Markdown",
"JavaScript",
"Shell"
] | 16 | Markdown | calvinkatz/LMAOBot | 82f0ddc66413f82438b4fb255d694db97495dbca | 4bbe3a695cca3d20c6e2865718084545bf154b98 |
refs/heads/master | <file_sep>RailsAdmin.config do |config|
### Popular gems integration
## == Authenticate using Devise ==
config.authenticate_with do
warden.authenticate! scope: :user
end
config.current_user_method(&:current_user)
## == Authorize manually ==
config.authorize_with do
redirect_to main_app.root_pat... | 76d6e91a0500cb705849b24cd4e47e848144ffe6 | [
"Ruby"
] | 57 | Ruby | woongy/fireside | ee907ce5881b00909ce2e2240fff271563e5f1aa | b423b54c217125da2f608eddf5a82b86d90f4953 |
refs/heads/master | <repo_name>joshis1/WindowsForm_EventHandler<file_sep>/EventHandler_Delegates_Tutorial/Form1.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
... | a1b0f4d0849170aa0cced349665afd11c3f1cc72 | [
"C#"
] | 1 | C# | joshis1/WindowsForm_EventHandler | 329b77e8b6859a9495d16f30701897d44bd864e4 | b8340e0c7373c54c3f315fbf1df1c43b22823c2e |
refs/heads/master | <file_sep>#pragma once
namespace the5{
namespace util{
const char* const toString(bool b){
return (b ? "true" : "false");
}
}
}<file_sep># The5 Utility Headers
Assorted utility functions.
## CMake
Simply use `include_directories(path/to/The5Util)`.<file_sep>#pragma once
#include <string>
#include <chrono>
#inc... | a191c9dddfc5d191b758e31214e83d0771148524 | [
"Markdown",
"C++"
] | 7 | C++ | The5-1/The5Util | 63cfa3b085157706f21613c36f9c758a3fbe415f | 2d47bb49da28751daafb6c3689fccadc4959bd07 |
refs/heads/master | <repo_name>hsia/jsmm<file_sep>/app/handlers/__init__.py
__all__ = [
'jsmm',
'member_handler',
'member_upload',
'member_image',
'member_doc',
'document_collection_handler',
'document_handler',
'attachment_handler',
'tab',
'reminder_handler',
'member_export',
'organ_handler... | c2f59bda8934b19dfc1abdda69ee2b4c0aefd8c9 | [
"JavaScript",
"Python"
] | 33 | Python | hsia/jsmm | 731a75b4060578013579247d16c281d00667f8e3 | a31b55dba4291b8d402efe8a1f950c6384221913 |
refs/heads/master | <file_sep>#include "pch.h"
#include "Event.h"
using namespace std;
int Event::getStartYear() {
return startYear;
}
int Event::getEndYear() {
return endYear;
}
int Event::getLength() {
return length;
}
string Event::getName() {
return name;
}
string Event::getDescription() {
return descr... | 7948247b8dd4a3297431eef1680a5e096d27743b | [
"C++"
] | 6 | C++ | jakobadel/timeline | 33e84d4fac949abcb3117155a98dedcb5a1fd5c0 | d1120318a740f84e4fc00551a767b9691a53ef3c |
refs/heads/master | <repo_name>bcalloway/spree-calculators<file_sep>/models/calculator/per_quantity.rb
class Calculator::PerQuantity < Calculator
preference :amount, :decimal, :default => 0
def self.description
"Flat Rate Per Quantity"
end
def self.register
super
ShippingMethod.register_calculator(self)
ShippingR... | 979bf35eba07250be24557382de6dba2e5766ece | [
"Ruby"
] | 3 | Ruby | bcalloway/spree-calculators | f795ae0f37a48ccc33f56490b38b3d348737f98c | ccfb46fa8f31c6b180777ba77dd2c720206964e6 |
refs/heads/main | <repo_name>space-isa/page-views<file_sep>/src/tests/test_retrieve_csv.py
import unittest
# Enable unittest to find source code
import sys
sys.path.insert(0, '../../src/')
# Import module to test
from retrieve_csv import retrive_csv_file
class TestRetrieveFunction(unittest.TestCase):
"""
Assumes there exis... | ffd6ceab001746f127a95ddf167ad81d9e71af96 | [
"Markdown",
"Python",
"Shell"
] | 7 | Python | space-isa/page-views | 0084329e0400db547c9d5e9158e2d185cd33a51f | 47d7760eacbb144710c560cf7ec78a5d4f389a42 |
refs/heads/master | <repo_name>suhas5979/Portfolio-GraphQL-Web-App<file_sep>/client/src/components/Dataset.js
export const Dataset = {
projects: [
{
title:"Web Classifier",
image:'Machine-Learning.jpg',
description:"A web appication thats classifies color using Tensorflow Model that Traines on User d... | 2fd27a081d0a67436503cbde6b7771806d1b520f | [
"JavaScript"
] | 13 | JavaScript | suhas5979/Portfolio-GraphQL-Web-App | 490e189d027a72c166c976ebed4bee3ae5f88130 | 01f2aec87d867b1e8adc40eff1ce8947bc1933c4 |
refs/heads/main | <file_sep>package be.intecbrussel.TestApps;
import be.intecbrussel.Daos.OrderDao;
import be.intecbrussel.Daos.OrderDaoImpl;
import be.intecbrussel.Entities.Order;
public class OrderApp {
public static void main(String[] args) {
Order order = new Order();
OrderDao orderDao = new OrderDaoImpl();
... | 8c2f35c6f1d8c432c64a9536d628364e8649c82c | [
"Java"
] | 7 | Java | JorisDDaems/JpaAssignment | ad37de25de11dbcd45c0227c5328e6926b66d837 | b2210ad3acb32ee7ca2dd87ac49780502a3a3918 |
refs/heads/master | <file_sep>import numpy as np
import pandas as pd
import datetime
from matplotlib import pyplot as plt
import gc
from tqdm import tqdm
from sklearn.linear_model import HuberRegressor
from sklearn.model_selection import cross_val_predict, KFold
from sklearn.decomposition import PCA
from keras.layers.normalization import ... | b64abda2a4c65b17a5a59574fdc7d1161d80e57d | [
"Markdown",
"Python"
] | 2 | Python | boourbon/WebTrafficTimePrediction | b96989485de7822aeed20ba48e91696a43168cee | b0e6f95a64411840bcdf78d2053f2892521960ed |
refs/heads/main | <file_sep># mark12
This web app is divided into four sections.
- Triangle Quiz
- Area calculator
- Hypotenuse calculator
- Valid Triangle checker
It is made using
- Javascript
- HTML
- CSS
<file_sep>const page = document.body.id;
switch (page) {
case "quiz":
quiz();
break;
case "triangle":
tria... | 3caea43432aa0fa38841080563e7bcb7953f490a | [
"Markdown",
"JavaScript"
] | 2 | Markdown | AnuragSahu11/mark12 | 85906bb51358142a3985498b5d4a7629ee67de6a | a73934a54a0ca710ac3b93f492426494a7f350fa |
refs/heads/master | <file_sep>package com.paterns.colors;
import com.paterns.AbstractFactory;
import com.paterns.vehicles.Vehicle;
public class ColorFactory implements AbstractFactory{
@Override
public Color getColor(String color) {
if(color==null) return null;
if(color.equalsIgnoreCase("YELLOW")){
... | afe2345f78755964ab43c5dd31749679a7df9c01 | [
"Markdown",
"Java"
] | 10 | Java | kubekbreha/JavaPaterns | 02426cf2236f82df8e10cb65570ac0c86621b75c | 1baebba238b03266098ca37ae51deb0c3c222f0a |
refs/heads/master | <file_sep># raul-ortiz
hola buenos dias
hago cambio a rama
este es otro cambio
<file_sep>
function suma(a, b) {
console.log(a + b);
}
function mostrarvalores() {
alert(campo_text.value);
}
var memo = "r";
function moverboton() {
if (memo == "r") {
boton.className = "ui button left floated";
... | 2d04ab7387d81c702414dd6f2a53059c1747ea35 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | reog3/raul-ortiz | 91a226b9d2b83e90bc57d1036b512bcf45ae728b | bf88d70544a1fa2a671daac316c0f77fc8f153d8 |
refs/heads/master | <file_sep>package eu.einfracentral.domain;
import io.swagger.annotations.ApiModelProperty;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import java.net.URL;
import java.util.L... | 63f4c7febe2672405b81ebb053128ea331cd8c8e | [
"Markdown",
"Java"
] | 6 | Java | eInfraCentral/eic-registry-model | a0c74766172bf7af162b3537eac5660d8d4bd40a | 647e6b630546b0ada8e5ac12899445884a76a474 |
refs/heads/master | <repo_name>LongLiveChitakasha/injinius<file_sep>/sidebars.js
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
module.exports = {
"docs": [
{ type: 'category', label: 'Introduction... | c6d73d10d1d393e4f5729039da55faba8ee31c79 | [
"JavaScript"
] | 1 | JavaScript | LongLiveChitakasha/injinius | feeb62311dc32554b71d055f8af6563229d8b71a | fee86951492083ef5b2b53781660805a4c1c323b |
refs/heads/master | <repo_name>steelx/tilepix<file_sep>/go.mod
module github.com/steelx/tilepix
go 1.12
require (
github.com/faiface/glhf v0.0.0-20181018222622-82a6317ac380 // indirect
github.com/faiface/mainthread v0.0.0-20171120011319-8b78f0a41ae3
github.com/faiface/pixel v0.8.1-0.20190416082708-9aca3bfe7af3
github.com/go-gl/gl v0... | c8caaff22feced90c43c82fd31e1ae336e9e40bf | [
"Go",
"Go Module"
] | 11 | Go Module | steelx/tilepix | 435012148c0987724745ad058e413bff5f6845cf | 792426f74b9f43eef35106c3c8e41b14f2c185e0 |
refs/heads/master | <file_sep>from flask import Flask, request, jsonify, g
from flask_httpauth import HTTPBasicAuth
from itsdangerous import (
TimedJSONWebSignatureSerializer as Serializer,
BadSignature,
SignatureExpired,
)
# filesystem
from os import listdir, getcwd, path, makedirs
from os.path import isfile, join
import co... | 76d46228d8434ab2d096947089b643def4b1ea87 | [
"Markdown",
"Python"
] | 4 | Python | renatofilho/uploaders | d6b223e2e9e922c8d5199da69ec5a82e7c2a109e | acb1880b5c2e757f90d8eddaa2f33941d41d44cb |
refs/heads/master | <repo_name>kevincchang13/Practice-Problems<file_sep>/hammingDistance-oneCharDifference.js
// Please implement the following functions:
// 1. Hamming Distance (https://en.wikipedia.org/wiki/Hamming_distance).
// This function takes in two strings of equal length, and calculates the distance between them. Here, "distan... | c3b264daf56e376140bf1222b4b0d6309c9c2ffb | [
"JavaScript"
] | 10 | JavaScript | kevincchang13/Practice-Problems | d8141f7fc9add21748d1c1f607f2fa18590ff9ae | c1f59eb85898c4ef4fc383e1c01a7f527e6a9d9e |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.