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 | <file_sep>import {
Avatar,
Box,
Divider,
Grid,
List,
ListItem,
ListItemAvatar,
ListItemText,
makeStyles,
Typography,
} from "@material-ui/core";
import AppDrawer from "../../components/drawer";
import StatsCard from "../../components/statsCard";
import Calendar from "../../assets/icons/card-calendar... | d05edf8e1d6ab8034131c1db5ccd81b4321e109a | [
"JavaScript"
] | 5 | JavaScript | sshahzaiib/student-dashboard | 4d8ae0498496b365453fb6a74867fdb75bc03253 | c0e69bef74f4b4c5c3c91ec0d4683b3268bd4970 |
refs/heads/master | <file_sep><?php
namespace App\Http\Controllers\Admin;
use App\Http\Model\Config;
use Illuminate\Http\Request;
use App\Http\Requests;
use Illuminate\Support\Facades\Crypt;
use Illuminate\Support\Facades\Input;
use Illuminate\Support\Facades\Validator;
class ConfigController extends CommonController
{
//資源控制器給的get方法 全... | 584365163a8fa9749afcda793ab59355b941e75b | [
"PHP"
] | 13 | PHP | as55518010/blog | 951c3984479ce6165bad2cb5115b9e7801e84b0f | 7792056279279446dd57568703e908143276accb |
refs/heads/master | <file_sep>public class MalitiaActus { //malicious actions
public void admodumEnim() { // Findbugs doesnt approve of these usages, very malicious indeed
new Byte("19");
System.exit(0);
}
}
<file_sep>FindbugsJUnitWrapper
====================
JUnit testcase for Findbugs violations
Description
====================
... | f3b843dd450a5a11e3b05d5378c5b682a23decf9 | [
"Markdown",
"Java"
] | 3 | Java | sandyrao/FindbugsJUnitWrapper | e30b7bf24243b653040f8fed6757bc243196db34 | 3f1745e09396bfde6cf6f48b45dbb07932688d04 |
refs/heads/master | <repo_name>ArturBraczkowski/sda-byd1-chat<file_sep>/src/main/java/com/sda/chat/DAO/ImplementDAO.java
package com.sda.chat.DAO;
public class ImplementDAO {
}
<file_sep>/src/main/java/com/sda/chat/service/MyChatService.java
package com.sda.chat.service;
import java.util.LinkedList;
import java.util.List;
import static ... | 7b40742fc16ace907d6b474945885c4f3563125d | [
"Java"
] | 2 | Java | ArturBraczkowski/sda-byd1-chat | 823dd23c0ee5767ecd10411a58a28e0447bb297d | a162f289672008e51fbecaf19935bacc617a83d8 |
refs/heads/master | <file_sep>Loan Prediction
-----------------------
Predict whether or not loans acquired by Fannie Mae will go into foreclosure. Fannie Mae acquires loans from other lenders as a way of inducing them to lend more. Fannie Mae releases data on the loans it has acquired and their performance afterwards [here](http://www... | 694ca95030d3c5e28e2e442d84f11164fc84d43f | [
"Markdown",
"Python"
] | 2 | Markdown | sanjaytallolli/loan-prediction | ba72d42ca85dea318aee485c6745cf92e784c86b | 3a6201a49ebb6c34f95455f3b8356a67217948ed |
refs/heads/master | <repo_name>blindern/statuttgenerator<file_sep>/docs/nettsidene.md
# Dokumentasjon for nettsidene (hjemmesideoppmann)
[Tilbake til readme](../README.md)
Scriptet på serveren tar i mot filopplastingen, pakker den ut og legger i en mappe som heter statutter.
Den gamle ```statutter```-mappen arkiveres i en mappe som hete... | 98befe31511fce9b830074b422996b969a540227 | [
"Markdown",
"PHP"
] | 7 | Markdown | blindern/statuttgenerator | 4c2c0d539f75d1188d33138ff50e1337c8affdf3 | b359f40dba10f54ed8d5f1546151a029ce73a198 |
refs/heads/master | <file_sep>//
// ViewController.swift
// Whats-The-Weather
//
// Created by <NAME> on 6/4/17.
// Copyright © 2017 <NAME>. All rights reserved.
//
import UIKit
class ViewController: UIViewController,UITextFieldDelegate {
@IBOutlet weak var txtFld: UITextField!
@IBOutlet weak var resultsLabel: UILa... | 149fd3bd93deeb817ee6d10b6be9c7ab7fa01060 | [
"Swift",
"Markdown"
] | 2 | Swift | akilkumar28/Whats-The-Weather | a6386db3ea40de646d9a338352a5c0d89c1f5b4c | ca35264a1412cb60b23ab8b1f790ba6160302b21 |
refs/heads/master | <file_sep>import fontawesome from '@fortawesome/fontawesome';
import faCareUp from '@fortawesome/fontawesome-free-solid';
import faCareDown from '@fortawesome/fontawesome-free-solid';
import faStar from '@fortawesome/fontawesome-free-solid';
import faCheck from '@fortawesome/fontawesome-free-solid';
fontawesome.librar... | 4f64026291df33dd00ddc75debb77fe19d2d7f9e | [
"JavaScript"
] | 2 | JavaScript | adrian-zawada/laravel-qa | f9e3939a89220d8bc0dbb7b2b3c507b2cbfd0940 | a093c44bfafb755adcbe925dcfe0a1ac74a45ece |
refs/heads/master | <repo_name>pygauthier/TTGO-Micropython<file_sep>/bavard.py
import time, random
from machine import Pin, SPI
import vga2_bold_16x32 as font
import st7789
class Bavard:
def __init__(self):
self.tft = st7789.ST7789(
SPI(2, baudrate=30000000, polarity=1, phase=1, sck=Pin(18), mosi=Pin(19)),
... | d69aecec79da26fb08cbd2cf7f59dcdb4955bc19 | [
"Python"
] | 1 | Python | pygauthier/TTGO-Micropython | 00ca7fb52dace577bec334f30b51ccbe9719b22c | f1ba5377ec8999201c64c747ed486b1c6e6fcdcb |
refs/heads/master | <repo_name>absin1/FillingAnimation<file_sep>/FillingAnimation/ViewController.swift
//
// ViewController.swift
// FillingAnimation
//
// Created by absin on 12/27/17.
// Copyright © 2017 absin.io. All rights reserved.
//
import UIKit
class ViewController: UIViewController {
let myLayer: CALayer = .init()
o... | 882818ddf2bca6b179dd401c1bec649b1a6700f3 | [
"Swift"
] | 2 | Swift | absin1/FillingAnimation | 5585d89d2d4b433ffe27aee074f11a72bf44de93 | 72419acaa87cd9267134ef1c311991f2961d7488 |
refs/heads/master | <file_sep># dynrpg_sfml_test
A performance test about RPG::Image and sf::Sprite with sf::Texture
rpg_draw() and sf_draw() calls many functions to display a picture to test the performance. These functions alloc memory at first, and free the memories at end.
The test is running with [system_opengl](https://github.co... | 7cc02d6df7a636129fa6580b7fd90a7e2940b3c0 | [
"Markdown",
"C++"
] | 2 | Markdown | SuzuMikhail/dynrpg_sfml_test | 1e287168bc67e0a90532aa785b58581c9be23ef4 | 1af68c6410c07ef3df130c52667815fddfb44bb4 |
refs/heads/master | <repo_name>ori-itay/Lab_in_c_2<file_sep>/utilities_for_my_grep_test.c
#include <assert.h>
#include "my_grep.h"
int main(){
test_get_parameters_from_argv();
test_tolower_string();
test_allocate_dynamic_memory();
}
void test_get_parameters_from_argv(){
program_arguments tested_paramters={0};
char ar... | 6012aaf656794f197bd5b9d016d88317653bad1a | [
"C",
"Makefile"
] | 14 | C | ori-itay/Lab_in_c_2 | a4a3dfedf8f8d7cec009d5cbe342e6f30489a427 | 6acc1a1319f26c11e6f55e6f892e59567d6fc757 |
refs/heads/master | <file_sep># rb_utils
pl/sql utils set
Some pl/sql utility packages. In current version only upload query result to csv and blobs into files
<file_sep>-- run as user SYS:
grant execute on sys.utl_file to &&your_schema;
grant execute on sys.dbms_sql to &&your_schema;
grant execute on sys.dbms_lob to &&your_schema;
grant... | e5146824280519525d3fe03b0257cbaaa3b56a1d | [
"Markdown",
"SQL"
] | 3 | Markdown | qvant/rb_utils | 36fb7ca34988aa94919519dae07d2209dcf4d13a | 260da269ee58b58caf9a90db536b8b4c8b56ff4e |
refs/heads/main | <repo_name>imps1001/sparksbank<file_sep>/index.php
<!doctype html>
<html lang="en">
<head>
<?php include 'links.php'; ?>
<link href="./css/style.css" rel="stylesheet">
<title>Sparks Bank</title>
</head>
<body>
<?php include 'navbar.php'; ?>
<div class="container-fluid">
<div class="r... | 235b7509c8c29529144b8feba6354b987d3efea3 | [
"PHP"
] | 1 | PHP | imps1001/sparksbank | e0e3a5e434827470ec83d375e27dbdfda2ab0fbb | 4b49bba7129b179c821997db94c04f48bde4dedd |
refs/heads/master | <file_sep>import unittest
import warnings
from copy import deepcopy
import numpy as np
import pandas as pd
from expan.core.experimentdata import ExperimentData
def generate_random_data():
np.random.seed(42)
size = 10000
test_data_frame = pd.DataFrame()
test_data_frame['entity'] = list(range(size))
test_data_f... | 22f2a07e360f08419640b23d5a7a2b65cf55090d | [
"Python",
"Text",
"reStructuredText"
] | 6 | Python | fulQuan/expan | 25532a856b2d037241a7005d778112ee8959e991 | 6f5c517e6c85ebf558c56190a5b96d0deebc78ed |
refs/heads/master | <file_sep>#include <stdio.h>
#include <stdlib.h>
struct Servitor
{
int number;
char name[10];
int money;
int time;
};
int main(void)
{
int i,j,sum;
struct Servitor output[5];
for(i=0;i<5;i++)
{ printf("請輸入第%d位員工編號\n",i+1);
scanf("%d",&output[i].number);
printf("請輸入第%d位員工姓名\n",i+1);
... | 69a7d6f14467df9c87afecbbd7b5ea8b4a9958bf | [
"C"
] | 1 | C | kjs1005/Basic_homework22 | 39dffc5acd9200558f108a3f58dfabfcb32bcf3e | 2894da5f83e8bce02d9b197fc9cdba764ba0283d |
refs/heads/master | <repo_name>thu/JavaEE-Demo-A<file_sep>/src/main/java/com/example/demo/action/BookAction.java
package com.example.demo.action;
import com.example.demo.model.Book;
import com.mysql.jdbc.Driver;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
impo... | 5a13d2d7855db9aa99b26277e763eaf6d3e10096 | [
"Java",
"SQL",
"Gradle"
] | 6 | Java | thu/JavaEE-Demo-A | 4e7f49f8158b599bd513f725d01dafc6e0c940a7 | 1dafe42b172a6589823d131652f598e26a54dc5d |
refs/heads/master | <file_sep>/*
* ST7565.cpp
*
* Created on: 21-06-2013
* Author: Wulfnor
*/
#include "ST7565.h"
#include "ST7565/glcdfont.h"
#include "Kernel.h"
#include "platform_memory.h"
#include "Config.h"
#include "checksumm.h"
#include "StreamOutputPool.h"
#include "ConfigValue.h"
//definitions for lcd
#define LCDWIDT... | 5ad43db392b5fea99346dd43ff8c0287b06ac976 | [
"C++"
] | 4 | C++ | ssloy/Smoothieware | fa123d1a8f41975c38f9a14dd6ef3ab70ac00cf4 | 67d484be1153f2b41f937e2786c6a6e68f4e2bf9 |
refs/heads/master | <repo_name>andrdmynti/lending-tools-using-phpNative<file_sep>/action/login.php
<?php
include "koneksi.php";
$username = $_POST["username"];
$password = md5($_POST["password"]);
$query ="SELECT * FROM user WHERE username='$username' AND password='$password'";
$login ... | 744d4ed1d01f2e47763b077888da229293d06bc5 | [
"PHP"
] | 4 | PHP | andrdmynti/lending-tools-using-phpNative | 184f386a957d219c63fa5cd8e3daf3e4d0fd9563 | 84235dda30f86974524519bfeaeab7227c1d44a3 |
refs/heads/master | <repo_name>ppius/csc202<file_sep>/basic_data_structures/orderedlist.py
from Node import Node
class OrderedList:
def __init__(self):
self.head = None
def __str__(self):
ol = []
curr = self.head
while curr is not None:
ol.append(curr.data)
curr = curr.nex... | 497b4a4e481206c06d4628e3af042967f79d3d3b | [
"Python"
] | 8 | Python | ppius/csc202 | 4c292cb1bd6169871dc496ac98a1a58d78dd17ee | 7fe132870ce137e500eb405b2e1eed744f6e7709 |
refs/heads/master | <file_sep># CropperFit
### Create an image of the desired size with the original ratio and the size to fill the fields with the main color in the image
Installation
<pre>
composer require asmx/cropper
</pre>
Usage
<pre>
use Asmx\Cropper\Cropper;
$cropper = new Cropper();
$cropper->
from('input_path_file')-... | cc3943a90c8d2ffddea3a19d456f47d71171d779 | [
"Markdown",
"PHP"
] | 2 | Markdown | asmxaker/CropperFit | 639cadd6c20a2de22de7fd83a8119a281339c99a | d3f2dedac3f348eef21b88d7d13ab18847272c14 |
refs/heads/master | <file_sep> let translate = function (lag) {
let language = {}
if (lag == 'zh_EN') {
language = {
loginWechat: 'Login via Wechat',
inputPhone: 'input phone No.',
getCode:'Get code',
logIn:'Log in',
purchaser:'Purchaser',
supplier:'Supplier',
all:'all',
print:'Pri... | 0adab140cf9c5812ab76c09b5c1510f344a7f8f8 | [
"JavaScript"
] | 9 | JavaScript | lihaojun123/project | 70e029f34398f3948108c69f3cb8374646396cac | 9607a5790b79834bd79f6fed0e1a98acd5e824f6 |
refs/heads/master | <file_sep>from django.urls import path
from . import views
urlpatterns = [
path('register/',views.register, name="user-register"),
path('profile/',views.profile,name='user-profile'),
]<file_sep>
a = [x*x for x in range(10)]
print(a)
for num in a:
print(num)<file_sep>from django.shortcuts import render
... | 493366b230cbdb7590b674a2b2c64b667fe565b4 | [
"Python"
] | 5 | Python | TharLin123/SocialMedia | 01ec515708464bcce308d41fb77f87ddf6a9dcf6 | 00dd8992bca4fa153cdc0c7b00ddc23b1654cfd1 |
refs/heads/master | <file_sep>$(function(){
$(".carousel").carousel(
interval:5000;
)
})
var scroll = new SmoothScroll('.menu a[href*="#"]', {
speed: 500
});
| 95234e87c47b83354851ad1dc4b7649fc71fd4d5 | [
"JavaScript"
] | 1 | JavaScript | ajkacca457/landingpagevidbg | 41f27bc724d77ac1ab522b180c98ccbb4ca073ec | d821105883948dbfb2a377d2386ec8c64adf410d |
refs/heads/master | <file_sep>#!/bin/bash
START="$1"
END="$2"
cat > config.yml << EOF
in:
type: mongodb
uri: mongodb://localhost:27017/tweet
collection: sample
query: '{"_timestamp": { \$gte: "${START}", \$lt: "${END}" }}'
projection: '{ "timestamp_ms": 1, "lang": 1, "text": 1 }'
out:
type: file
path_prefix: /tmp/twitter_sample_${S... | 2a3de8c64272edaf3e90f44223449cbc50c2a3ff | [
"Markdown",
"Python",
"Shell"
] | 3 | Shell | takanobu-watanabe/bigdata-test | b78ef79afa3d9a6472be1ed014ccf6c6b9fce73e | cb5c5f5ba52c91b6a2f47c03d472eaffb0746b15 |
refs/heads/main | <file_sep>#!/bin/bash
## create s3 bucket
function create_bucket(){
aws s3api create-bucket --object-lock-enabled-for-bucket \
--acl private --bucket $1 \
--region $2 \
--create-bucket-configuration LocationConstraint=$2
}
function put_bucket_version(){
aws s3api put-bucket-versioning --bucket... | 6e3c861673b17471ca9ed6e1c2aac2daacf11f7a | [
"Markdown",
"Shell"
] | 2 | Shell | lemanlai/terraform | 038821bad42111a88ce54f74d971f99dbca10215 | af704d4759561e7e4f4526e94d0ae97274f5af48 |
refs/heads/master | <file_sep>
public class RoundRobinScheduler implements ProcessScheduler {
os object;
public RoundRobinScheduler(os obj){
object=obj;
}
public void schedule(){
System.out.println("Round robin scheduling algorithm here");
object.osname();
}
}
<file_sep>
public class Windows imp... | 1f5dfab8a7a4a2ad2c99ae7ab04476a5363d4586 | [
"Java"
] | 4 | Java | adwayskirwe/Structural-Bridge | 86b9a42930a606fa494cb2ebd2291ffc4d849456 | ccffbb343d07a45d23bdd080e970f6c860357215 |
refs/heads/master | <repo_name>allanawooley/PUI<file_sep>/week5_puilab/main.js
<!-- javascript -->
<script src="main.js" type="text/javascript"></script>
function addNewList() {
alert('hello world alert!');
console.log('hello world console');
}
| 7c6ec2ef736a3582fb11e86901b504d2f4a746f3 | [
"JavaScript"
] | 1 | JavaScript | allanawooley/PUI | 7b70121adddd3b78b31714e6ea343fd4630a8825 | a8e0760782e1d06b3fe48116bd32e49bd85bb703 |
refs/heads/master | <repo_name>Belzebbuz/ClickerCircles<file_sep>/Assets/Scripts/Game/BackgroundColor.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using DG.Tweening;
public class BackgroundColor : MonoBehaviour
{
public static BackgroundColor Instance { get; private set; }
private Camera came... | d0fb812338cadfcfc02ee53106a556dff1a45262 | [
"C#"
] | 15 | C# | Belzebbuz/ClickerCircles | 5400d2a30308413d1b01e8039acaf29054547470 | 757e45ed232c8661f99339a0eead593023ca5c5d |
refs/heads/master | <repo_name>dmcruz/IntrospectTest<file_sep>/IntrospectTest/Controllers/ValuesController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace IntrospectTest.Controllers
{
[Route("api/[controller]")]
... | 93979e9ade281752d167ca39e0cc242d1fad3e7d | [
"C#"
] | 1 | C# | dmcruz/IntrospectTest | 118085bfe4ab673bedba323df36cb4db4f4543cf | 214afe111a87369f14fc63030c0b3ba7d0c57671 |
refs/heads/main | <file_sep>from jvm_embedding import *
import sys
import json
inpath = sys.argv[1]
outpath = sys.argv[2]
tf_dataset, df, n_methods = build_tf_df(inpath)
idf = compute_idf(df, n_methods)
print(json.dumps(idf, indent=4))
with open(outpath, 'w') as fd:
json.dump(idf, fd, indent=4)
print("Total", n_methods, "methods")
... | b09d15afb60123fce2a17961be25afc0df8356fa | [
"Markdown",
"Java",
"Python"
] | 13 | Python | Vishwaak/code_embedding | 7cf6463da4deb2e2a41bd43ceeee65334d3d61bc | 37a7faef7a84da9585f9125509776cadb9d56d33 |
refs/heads/master | <repo_name>lillheaton/eols.UmbracoContentApi<file_sep>/src/Interfaces/IDocumentTypeExtender.cs
using System.Collections.Generic;
using Umbraco.Core.Models;
using Umbraco.Web;
namespace EOls.UmbracoContentApi.Interfaces
{
public interface IDocumentTypeExtender
{
Dictionary<string, object> Extend(IPubli... | 320ade2dc2f99d0a386fe99d5a68d1cce82d6175 | [
"Markdown",
"C#"
] | 15 | C# | lillheaton/eols.UmbracoContentApi | 63345b1b7cbaeb23f836e5435066397e552b0fed | 4895ad2ff91d932bb13b8fa60007eab6e880596f |
refs/heads/master | <file_sep>package user;
import com.fasterxml.jackson.databind.ObjectMapper;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;... | 7c4fe31909ef9baaa57812af831b2f3f2c362531 | [
"Markdown",
"Java"
] | 18 | Java | zhongguodiyi/hmp | 4c1020a821fac416dcecc2e14e6841580d96fa13 | 5977d225a812d4047bdc61d76527d03f0db959dd |
refs/heads/master | <file_sep>'use-strict';
const package = require('./package.json');
// purposeful destructuring to remove first two elements
const [, , ...flags] = process.argv;
module.exports = (() => {
const flagObject = flags.reduce((prev, current, index) => {
if (/^-h/.test(current) || /^--help/.test(current)) {
retur... | 59af13be0d0761718e0e0fc0d14832461ee136e3 | [
"JavaScript",
"Python",
"Text",
"Markdown"
] | 8 | JavaScript | randy5235/build2learn | 276a469782724475acb07f5c5673683d983c2b48 | 774f10f37f9453a5ba362d200623832f65eb834f |
refs/heads/master | <file_sep>// constant
const STAR_LIST = 'STAR_LIST'
const INIT_STARRED_LIST = 'INIT_STRRED_LIST'
// action creator
const initStarredListAct = allList => ({
type: INIT_STARRED_LIST,
payload: allList,
})
const starListAct = list => ({
type: STAR_LIST,
payload: list,
})
// initial State
const initState = {
item... | 40a3d3f3814bbc8c41067c77c0abae2295681581 | [
"JavaScript"
] | 1 | JavaScript | zcgong/music-react | 7238e00c3812357d1f86de527f47dffcd7ab361b | b9d17ade25cfa11e11f2764146ffe21a759416f8 |
refs/heads/master | <file_sep>const OBSTACLE_HEIGHT = 60;
const OBSTACLE_WIDTH = 52;
const OBSTACLE_SPEED = 8;
class Obstacle {
constructor(gameArea, image, speed) {
this.gameArea = gameArea;
this.image = image;
this.frameWidth = OBSTACLE_WIDTH;
this.frameHeight = OBSTACLE_HEIGHT;
this.endFrame = 4;
this.frameSpeed... | 1f4d33c6ee4d573ebd721fae3e4d4973e106cce2 | [
"JavaScript",
"Markdown"
] | 7 | JavaScript | SportScheck/mini-game | 1a9c39be965ed3794601ccd0f15003b75767bc85 | 30e30b2d615037586ff8adbda981cd66219d47ab |
refs/heads/master | <file_sep>import os
def loadim(image_path = '', ext = 'png', key_word = 'car_door'):
image_list = []
for filename in os.listdir(image_path):
if filename.endswith(ext) and filename.find(key_word) != -1:
current_path = os.path.abspath(image_path)
image_abs_path = os.path.join(curr... | 79eec9f4b1dac6c085dd3783854b98d0c6c9769c | [
"Markdown",
"Python"
] | 23 | Python | hangwudy/Mask_RCNN | 8b5d896076b994e2f9136054114c551a8cb3119f | c9b5efa0307a73dd5178988981f67762eab5ae36 |
refs/heads/master | <file_sep>export default [
{
id: "1",
title: "<NAME>: Preparados con los mejores ingredientes, calidad y frescura.",
price: 8.50,
offerPrice: 10.00,
stock: 12,
img: "ceviche.jpg",
category: "frescos",
},
{
id: "2",
title: "<NAME>:
<div>"Deliciosos ingredientes"</div>,
... | 875111c7d0d5583c08ef151fdd3f0bab9361adf4 | [
"JavaScript"
] | 2 | JavaScript | S4ck/store | 4a84ceae536df5aba8ba92fc4a63a2c5abf0ef41 | 365bcda4438c5aa4d917f300fecd3b45e1a42ae3 |
refs/heads/master | <repo_name>MichalVysin/HW_1_7<file_sep>/src/com/company/Group.java
package com.company;
public enum Group {
FAMILY ("Rodina"), WORK ("Práce"), OTHER ("Ostatní");
private final String description;
Group(String description) {
this.description = description;
}
public String getDescription()... | 95d92109337ed784a65da6ce3f7ab4394722f633 | [
"Markdown",
"Java"
] | 2 | Java | MichalVysin/HW_1_7 | 6a28b89e2909989c4a8aebeda83ad33a13ebd80c | 4e212211f7f79ed61993d415834e03f84a4ac370 |
refs/heads/master | <file_sep>// () The League of Amazing Programmers 2013-2017
// Level 0
package _02_crazy_cat_lady;
import java.net.URI;
import javax.swing.JOptionPane;
public class CrazyCatLady {
public static void main(String[] args) {
// 1. Ask the user how many cats they have
String cats=JOptionPane.showInputDialog("... | 3c67fa87bc768f87cd34a49093d565de936c0811 | [
"Java"
] | 3 | Java | League-Level0-Student/level-0-module-3-rudyzhangsems | 7c898fb150fbff631a97cad3aa52e57ff219a555 | 383e28826e390bbdecfa1da0724659aad49b1304 |
refs/heads/master | <file_sep>Django==2.1.1
mysqlclient==1.3.12
Pillow==5.2.0
python-dotenv==0.9.1
pytz==2018.5
<file_sep>/**************************************
* Leaflet JS setup *
**************************************/
Building = function(title, lat, lon){
this.title = title;
this.latitude = lat;
this.l... | fd143907353592ee7efdf34e07e111a1c2c867d8 | [
"JavaScript",
"Text"
] | 2 | Text | savatia/Project | 6877fa1667ee2ac5d377eef45090d2cb2253158e | d8c22b399f8bc6e291d2cd083b3b96a05f0326e5 |
refs/heads/main | <repo_name>RyanWickham/Erin-McCrea-Art<file_sep>/src/components/Portfolio/PortfolioPhoto.js
import "../../index.css";
export default function PortfolioPhoto(props) {
const name = props.name;
//load the image from local file
const imgPath = props.imgPath;
const img = require(`../../Images/art/${imgPath}... | fa2a524995d74a82b030494bb1ef8d5fba7700a6 | [
"JavaScript"
] | 12 | JavaScript | RyanWickham/Erin-McCrea-Art | 26021a7eb45b634340860e53c818f3a925737eae | 923f8665d329da99bb8dfefba8f0a2f1c340860a |
refs/heads/master | <file_sep># Release Notes
## v1.1.0 - 2020-10-28
- Add CHANGELOG.md
- New set `delimiters()` method for `param` Feild
## v1.0.2 - 2020-10-28
- Improved examples/docs
- Improved README.md
- Code typos
## v1.0.1 - 2020-10-26
- Fix examples (performance page)
- Code typos
## v1.0.0 - 2020-10-26
- First release<file_s... | 75f3c5b9ccae31d5aba9961842b100a3b647f7fa | [
"Markdown",
"PHP"
] | 19 | Markdown | decss/item-parser | 5a10d4df83b69abf690d1410ba5733dda25dce44 | 455010771d94a8d1353ac860e7fe9ac0221dff8e |
refs/heads/master | <file_sep>package com.bhanu.turnstile.state;
import com.bhanu.turnstile.TurnstileFsm;
/**
* this state is used by complicated fsm , after the single coin it moves to
* this state
*
* @author Dev-il
*
*/
public class TurnstileIntermidiateLockedState implements TurnstileState {
private TurnstileLockedState loc... | 0930225262e2b7f97ed1b9ac48cf59ce55a94b0b | [
"Markdown",
"Java"
] | 5 | Java | bhanuunrivalled/turnstile | 84798a31f8eb28e201c10adc233dcfeba1af5564 | b1d19208ff5682ee174ad8691fb13b15aac1b97b |
refs/heads/master | <repo_name>sincezhg/Demo<file_sep>/CoreAPI/CoreWeb/Models/UserInfo.cs
using System;
namespace CoreWeb.Models
{
public class UserInfo
{
public UserInfo()
{
}
public UserInfo(int UserID, string UserName, string Phone, string Address)
{
_UserID = UserID;
... | ce0bfe981a6174c20dd805a42b597d1eb238caf9 | [
"C#"
] | 3 | C# | sincezhg/Demo | 91343d4a0881c81980a55b6e3a22f35156063174 | 38d4cd28e186683afb030fd32dc3ac7e0b582928 |
refs/heads/master | <repo_name>developerbch/Test1<file_sep>/Day5/src/ArraylistEx.java
import java.util.*;
public class ArraylistEx {
List<Dataclass> li;
ArraylistEx() {
new ArrayList<Dataclass>();
}
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
ArraylistEx ar = new ArraylistEx();
... | 99b8abe1399c6d2f9ae64f495cba3a3139a9311f | [
"Java"
] | 1 | Java | developerbch/Test1 | 71bad754fdc523c3ed229678991a92a169cc72cd | 332bca6ca0a905375eb2302f905e9415b7630520 |
refs/heads/master | <file_sep>using System;
namespace DataMapper
{
public class Copy : ICopy
{
public int CopyId { get; set; }
public bool Available { get; set; }
public int MovieId { get; set; }
public Copy(int copyId,bool available,int movieId)
{
CopyId = copyId;
... | efb141e6d66149999465c094af8ff10ece49acf8 | [
"C#"
] | 15 | C# | kolbasator/ADO.NET | c04f14a9ebd659bb1ac60467183c4e144e8b4822 | 6f55a2adbd850c1f0b36ef3fadd0c360e5460563 |
refs/heads/master | <file_sep>package com.zc741.navigationdrawer;
import android.content.Context;
import android.content.Intent;
import android.graphics.drawable.BitmapDrawable;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.NavigationView;
import android.support.... | 70a4a5cc2df800617fe7a965dd2280cc845f64d4 | [
"Markdown",
"Java"
] | 5 | Java | zhouchong741/NavigationDrawer | 7415cd0c4ec877edab0538fda3b197ead1cc0be3 | 9a04d1a5366e6534e9de16f238e206831c251a3f |
refs/heads/master | <file_sep>
public class Encryption {
// method takes in text and a password and shifts each letter in text according to the letters in password
public static String encrypt(String text, String password){
char[] letters = password.toCharArray(); // translate the password param to char array for easier manipulation ... | 82bcaeb37836f68eb0f00475d8b217756acd25a8 | [
"Markdown",
"Java"
] | 2 | Java | TheBoJohnson/MessageEncryptor | 660b0d294fba5a37b1479c222ce3fef955cd7c28 | 2aabc88b4402d43792b62c01e14ff25c1e82d028 |
refs/heads/master | <repo_name>faizandroid01/AngularProjects<file_sep>/cross-component-ex/src/app/cockpit/cockpit.component.html
<div class="row">
<div class="col-xs-12">
<p> Add New Server or blueprints !</p>
<label> Server Name </label>
<!-- <input type="text" class="form-control" [(ngModel)]="newServerName"... | 9e09816a6f715475b8579e760a32ef70681d9093 | [
"TypeScript",
"HTML"
] | 7 | HTML | faizandroid01/AngularProjects | 5914113eb324c5f9699c8c84a4ca76bf70ca5317 | 1b793bb8a648f321bd3a579a88b8ca25b3de8006 |
refs/heads/master | <file_sep><?php
/**
* Used to set up custom parameters during WordPress install process
* Must be in the same DIR as the Phing build script
*
* Only run when using "phing wp-install" or "phing wp-install-only".
*
* @internal This file uses build.properties settings
*
* @package WordPhing
*/
// Add custom in... | 0cba3e3d1e44eb97bed685bc4230ec87b02b347d | [
"Markdown",
"PHP"
] | 3 | PHP | psad73/WordPhing | 5a1574444ab6fdf4272942e4790efcdbfb39f498 | b4540eb93b6c400988a36863abe123fcb09cd0a9 |
refs/heads/master | <file_sep>class RenameColumnCityNameinCitiesToName < ActiveRecord::Migration[5.0]
def change
rename_column :cities, :city_name, :name
end
end
<file_sep>namespace :app_scraper do
task fetch: :environment do
require "nokogiri"
require "open-uri"
require "pry"
url = "https://hermes.goibibo.com/hotels/v2/s... | 8153f83bbcc27aa2c76272ee0b4bf6eddf325cda | [
"Ruby"
] | 13 | Ruby | koshtubh1095/Associations_prac | 6dd18fb46b911e468e93268e330776b84a4b1aa6 | 59a8f06a16d7059a1dc9c240812390e435249cdd |
refs/heads/master | <file_sep># define a class
class Image
# this method build on a array contain 4 array with 4 items in each array.
# name blur
def initialize(image)
@image = image
end
# this method is to locate where is the ones in row.
def get_ones
ones = []
@image.each_with_index do |row, i|
row.each_w... | f1317998e1294487aa71cefa68bece030470b10f | [
"Ruby"
] | 1 | Ruby | powaileung/blur1 | a2700a3246f0e61d7109efdb7f6165a73b9fcecf | c9d323a6e61c4926c070e6c48932eded95d5a536 |
refs/heads/master | <repo_name>cantorsdustbunnies/Synes-thizer<file_sep>/src/options_page/components/OptionBar/Card/index.js
import React from 'react';
import styled from 'styled-components';
const CardWrapper = styled.div`
color: white;
width: 85%;
margin: 0 auto;
border-bottom: 1px dashed #f1f1f1a2;
padding-bottom: 20px;
`;
const... | bf6191772b8720057e19a6b8d67de7ac7d13be5d | [
"JavaScript"
] | 6 | JavaScript | cantorsdustbunnies/Synes-thizer | 52d64f6af77a7386cb8d138d1db04ebc1e3027c1 | 07537694dc92d514e0e4558a6ac1008351bdca23 |
refs/heads/master | <file_sep>package mx.sindelantal.service;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.stereotype.Service;
import mx.sindelantal.utils.SongTypeEnum;
/**
* @author <NAME>
*
*/
@Service
public class SongService implements SongInterface{
protected ... | fdd9b641fb100d78f420ca01c885d4d04a439d75 | [
"Java",
"Dockerfile"
] | 5 | Java | laliento/SinDelantal | 9f4d7c0110a3321c0f1d7fb696b0ffde9b2c1bac | f56e1033df93bd0a2e3a65ea265ddf07a15329e5 |
refs/heads/master | <repo_name>micloudon/carApi<file_sep>/restfulApi/models.py
from django.db import models
class Car(models.Model):
id = models.IntegerField(primary_key=True)
make = models.CharField(max_length=100)
model = models.CharField(max_length=100)
year = models.IntegerField()
fuelType = models.CharField(max_l... | e42e134f0e996d4cee9e65b0152b843190573482 | [
"Markdown",
"Python",
"Text"
] | 8 | Python | micloudon/carApi | 5104bf0ce6d4c9b88d9e99d6ab1e413c270bf2fc | 7b27c4c46696109304de750a78159cad67b58ea9 |
refs/heads/main | <file_sep>""" form classes for the enquiry creator """
from django.core.validators import RegexValidator
from django import forms
from django.utils import timezone
from django.conf import settings
class CustomerDetailsForm(forms.Form):
""" Page 1 of the Initial Enquiry journey """
# Custom Regex validation ... | 57c5b1af3f5354c53e3ee3c298ff31e0e24a179b | [
"HTML",
"Markdown",
"Python",
"Text",
"Shell"
] | 11 | Python | eddylongshanks/CETM67-Assignment2-oDipUI | fdb025bac853177e8fd9831173a150a25af8e840 | 6a9090ed5b84a7a405588886bfd3a8df57be3adb |
refs/heads/master | <file_sep>#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue May 22 16:52:25 2018
@author: cecidip
The EnKF.
Ref: Evensen, Geir. (2009):
"The ensemble Kalman filter for combined state and parameter estimation."
"""
import numpy as np
import seaborn as sns
sns.set_style("whitegrid")
import hypo #... | 0bd29358fe1fee91110ad6cfd993f4349bcb5db1 | [
"Markdown",
"Python"
] | 3 | Python | groupeLIAMG/EnKF | bfdeb719f11f3aef35565f9828af8090ab6fb58e | 4670b780d66d2765e6ca18c44dad0d23798be399 |
refs/heads/master | <repo_name>nikolay1962/MessengerTest<file_sep>/src/main/java/my/messages/IOUtils.java
package my.messages;
import java.io.*;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.time.Instant;
import java.time.LocalDateTime;
import java.time.ZoneId;
import java.util.List;
impor... | c829afb2202f533c796b6d62094fd2fe655391c3 | [
"Java"
] | 1 | Java | nikolay1962/MessengerTest | ed3bf6fcda6fb90ade616aa7434fe078cc76fce8 | a4075ac88be948c9f65e9a06127b91bc2ff932e1 |
refs/heads/master | <repo_name>alexgincho/Practica_Nro2<file_sep>/Practica_Nro2/Models/Usuario.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Practica_Nro2.Models
{
public class Usuario
{
public string Nombre { get; set; }
public string ApellidoPatern... | 51f1e879a7657badef947c0ee0f3b709c13af296 | [
"C#"
] | 2 | C# | alexgincho/Practica_Nro2 | f7de4593dd47ff9ba831f6699e1e6c4e61f61ead | 69eccad03f5df88c1b7174d80b8cc3b5f91a3c84 |
refs/heads/master | <file_sep>
all: funcs.o main.o
gcc -o program funcs.o main.o
main.o: main.c headers.h
gcc -c main.c headers.h
funcs.o: funcs.c headers.h
gcc -c funcs.c
run:
./program
<file_sep>#include<stdio.h>
#include <stdlib.h>
#include "headers.h"
#include <time.h>
#include <string.h>
void main(){
struct ppg kd;
strcpy... | 7ee1d47a752ff669b44e4aa1e33ccc3455b3699e | [
"C",
"Makefile"
] | 4 | Makefile | KennethChin0/struct | 722f90058e3f450e90dc3904d8caf59c7f9e3709 | 9ef2635eb633e756fa2cb7b208a891fc271f9213 |
refs/heads/main | <repo_name>mherzog01/util<file_sep>/sh/gcp/install_gcsfuse.sh
# https://gist.github.com/korakot/f3600576720206363c734eca5f302e38
# https://github.com/GoogleCloudPlatform/gcsfuse/blob/master/docs/installing.md
echo "deb http://packages.cloud.google.com/apt gcsfuse-bionic main" > /etc/apt/sources.list.d/gcsfuse.list
curl... | b71dd9f25c6bde3cdbfb5cde4ca3ff773c200d02 | [
"Shell"
] | 2 | Shell | mherzog01/util | e0095b643c57f6248e16f94d5d553f6f4a81a4cb | d458a31a1ec1dbc8a6634d5defb0316285a7e6c6 |
refs/heads/main | <file_sep>[](https://travis-ci.com/dskyiocom/renew-letsencrypt)
# Summary
Renews mounted Let's Encrypt certificates.
Complements https://hub.docker.com/r/dskyiocom/nginx-alpine-letsencrypt
# Source code
https://github.com/dskyiocom/r... | c7f62d2d6565c745c1893cc14fea3d230a4ef53d | [
"Markdown",
"Dockerfile",
"Shell"
] | 3 | Markdown | dskyiocom/renew-letsencrypt | 78d7dc06bc9243171b84ab08189bafc9218a102d | c757e510e4da60c911b5e275a126b6ec2f8deea8 |
refs/heads/master | <repo_name>vitamincc/Hadoop-Pairs-vs.-Stripes-Conditional-Probability-Lift<file_sep>/pair_mapper.py
#!/usr/bin/env python
from operator import itemgetter
import string
import sys
import csv
from itertools import combinations
from collections import defaultdict
userMovies = defaultdict(list)
with open('rating03.csv',... | 93e05ca3b7abea13bd5b2e3f1cf065e78cbb1e9a | [
"Markdown",
"Python",
"R"
] | 5 | Python | vitamincc/Hadoop-Pairs-vs.-Stripes-Conditional-Probability-Lift | 69c0de4a22e61dab0816c3810a8d5e91eca9b0bc | 28aa480da21ecc02ad210e5c0d96d814c3531943 |
refs/heads/master | <file_sep># Circle Art
A tiny Python script to draw beautiful circles, with standard library `turtle`. [Demo here.](./demo.mp4)
### Usage
```
./cadraw.py [base radius] [circle list] [args...]
```
`base radius` is radius of base circle, which is the only full circle in the picture.
`circle list` is a list of triple... | 5231924bc01ec09343f4573a852e3b31633fa4df | [
"Markdown",
"Python"
] | 2 | Markdown | whoiscc/circle-art | 7f8d9a4ab7ff225c3c5c2a80d688d430f835c921 | 38325c8524ad8ef6bb6a68480896379d565e4241 |
refs/heads/master | <file_sep>"use strict";
var slideIndex = 1;
var timer = void 0;
var clickNext = function clickNext() {
plusSlides(1);
};
var stopInterval = function stopInterval() {
clearInterval(timer);
};
var slideTimer = function slideTimer() {
timer = setInterval(function () {
clickNext();
}, 10000);
}... | 337e170e3e2d60c1dbbf16fe0873aa83b8d16ff2 | [
"JavaScript"
] | 7 | JavaScript | actimel33/actimel33.github.io | 2f18078f7cd75503752bfea7659e80d0805e5b66 | a0f239f40490f382560083ccca986b748f8986d0 |
refs/heads/master | <repo_name>paulsamchuk/odesk<file_sep>/spec/odesk_spec.rb
# encoding: utf-8
require_relative 'spec_helper'
describe Odesk do
it 'should have a client' do
Odesk.client.must_be_instance_of Odesk::Client
end
it 'should proxy method calls to client' do
client = Odesk::Client.new
client.public_methods.ea... | 7dd40e3bde3791d1f86b97eae7ec52b2f31dd4dd | [
"Markdown",
"Ruby"
] | 13 | Ruby | paulsamchuk/odesk | 113a96f75d92e8231ba1d8f952ea3f3ec12cb353 | 7910b8275f9ab0c9b7b1172fda7dd15760357621 |
refs/heads/master | <repo_name>ntokozo-studio/AngularApp-ASP.NET-MVC<file_sep>/README.md
# AngularJS-WebAPI-ASP.NET-MVC-Applications
All my practice projects using AngularJS and Web API as front end on a .Net Framework
The repository currently contains three projects: <br />
1. MyAngularAppMVC <br />
2. AngularMVCAppCRUD <br />
3. Mes... | d320a6c47fcfdb0ebc765a009cbf7333387f7905 | [
"Markdown",
"C#",
"JavaScript"
] | 4 | Markdown | ntokozo-studio/AngularApp-ASP.NET-MVC | 546c5b3065be9d3da87b5b82d39268ec17ed4a3f | 87b39b91fa0f6c3fddf0c23fc61e7d2e8b443d5a |
refs/heads/master | <repo_name>third-meow/simple-cellular-automaton<file_sep>/README.md
## simple cellular automaton
just a simple test cellular automaton. doesnt do much
<file_sep>/src/main.rs
use std::{thread, time};
const ENV_HEIGHT: usize = 30;
const ENV_WIDTH: usize = 30;
fn print_2d_vec(v: &Vec<Vec<u32>>) {
for i in v.iter()... | 1f34bc3de270deb93075f436cd82f5b44dc86597 | [
"Markdown",
"Rust"
] | 2 | Markdown | third-meow/simple-cellular-automaton | 7bfef77c8ccc0bd56b62087291bf8eb5081588d9 | 8c1fac7f2f9308dddbea3c8927fb4f269433d435 |
refs/heads/master | <repo_name>vijithvenganoor/queryhelper<file_sep>/Querry Helper/querry helper/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.Windows.Forms;
using MySql.Data.MySqlClient;
namespace Querry_H... | 843b06b92249fdc35dd971c9c9862a6496d5dc1b | [
"Markdown",
"C#"
] | 2 | C# | vijithvenganoor/queryhelper | 92c816502126b83898fa850a08d4472b9b19a989 | 139066fc11ba446891ebfba685cc124163cf6f7f |
refs/heads/master | <file_sep>#---
#title: "Wine Quality"
#author: "<NAME>"
#date: "March 21, 2018"
#---
# Red wine exploration
#================================
# Loading the required packages
library(ggplot2)
library(dplyr)
library(scales)
library(gridExtra)
library(GGally)
library(memisc)
library(corrplot)
# Loading the data
setwd(... | b35bbf41f36718a8a2098f210f45939a90b6f590 | [
"Markdown",
"R"
] | 3 | R | abhishekporwal1991/Wine_Quality_Dataset_UCI | f4308fa9dff784160dd735617bcdba192b9e63d4 | e321379484d37496132be20b2e1a7568294fe0f9 |
refs/heads/master | <repo_name>karthik25/ajaxified-paging<file_sep>/AjaxifiedPaging/Controllers/HomeController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using AjaxifiedPaging.Infrastructure.AjaxPaging;
using AjaxifiedPaging.Infrastructure.AjaxPaging.Entities;
using AjaxifiedPaging.Models;... | aefffd5fa88bc284f08e41bac10a46731a6235f3 | [
"JavaScript",
"C#"
] | 6 | C# | karthik25/ajaxified-paging | 3ddcd2bf054980f1364388005de5f11094fcc6df | 2a29e56c1e6bbc229ace8c6f75146345a24b427f |
refs/heads/master | <repo_name>jokoyoski/OnlineExam<file_sep>/OnlineExamApp.API/Dto/QuestionsForDisplayDto.cs
using System.Collections.Generic;
using OnlineExamApp.API.Interfaces;
namespace OnlineExamApp.API.Dto
{
public class QuestionsForDisplayDto : IQuestionsForDisplayDto
{
public int Trials { get; set; }
publ... | bd7b9d7dd04f932a78b32e840fcf418d998199c1 | [
"C#",
"TypeScript",
"HTML"
] | 127 | C# | jokoyoski/OnlineExam | a6c4fa01ee236a59967870d24d2b833e6127ab44 | c43cc9dadc4853943d8aa9357f131b79b5ac1a17 |
refs/heads/master | <repo_name>sam2/hockey<file_sep>/ConsoleApplication1/ConsoleApplication1/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Windows;
using System.Runtime.Serializatio... | 4c41179fae174405885f67acb50fa159820a6cba | [
"C#"
] | 4 | C# | sam2/hockey | 1d647c38601584fcf566f66e4e8346b6d64329b3 | 691c8afafa4fff1b90223eccb219f24baf99d269 |
refs/heads/master | <file_sep>package db;
import org.hibernate.SessionFactory;
import org.hibernate.boot.registry.StandardServiceRegistryBuilder;
import org.hibernate.cfg.Configuration;
import org.hibernate.service.Service;
import org.hibernate.service.ServiceRegistry;
public class MyHibernateSessionFactory {
private static SessionFact... | b08d739f922cb24188fa4829f34e79d564590564 | [
"Java"
] | 10 | Java | guiguzi21/lab7 | a184cb5fcdd3d88a8f7ca0dcdff2cc3430249778 | 887811917551ec68ac9d415aecd9cae504485563 |
refs/heads/master | <repo_name>CodeAcademyP403/03-06-2018restoranappbasketadmin-Soltanaa<file_sep>/RestoranOrderSystem/AdminForm.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.... | b5f5f28d671b2f36bd3cb6c208ec2d71bd095d9b | [
"C#"
] | 4 | C# | CodeAcademyP403/03-06-2018restoranappbasketadmin-Soltanaa | a51416f0b24f758a730d2bccc97b633cec7362ea | 0d1f02f75f4bb1a53e4b292dc67635101a047c48 |
refs/heads/master | <repo_name>GaryAshby/getdata-Course-Project<file_sep>/README.md
#Course Project for GetData Coursera Project
Data was extract from this location https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip
The primary tasks are to compelte the following
1) You should create one R script ca... | 76c760ee36f50c02b2ed8f68264c5fd6e2a42db2 | [
"Markdown",
"R"
] | 3 | Markdown | GaryAshby/getdata-Course-Project | d18534490a01aa6c723089af2b3d2912a0b3cfcb | 7cecd969ebbe328af380c1ab8018c8a544b71781 |
refs/heads/master | <file_sep>export const REMOVE_TASK = "REMOVE_TASK";
export const CHANGE_TASK = "CHANGE_TASK";
export const SET_LOADING = "SET_LOADING";
export const LOAD_USER = "LOAD_USER";
export const LOAD_TODOS = "LOAD_TODOS";
export const UPDATE_TODO = "UPDATE_TODO";
export const TOGGLE_EDIT = "TOGGLE_EDIT";
export const ADD_TODO ... | 59466e4c50771139be937e783c91bad60579302c | [
"JavaScript",
"TypeScript"
] | 12 | TypeScript | VasilyKonnov/funny-organizer-ts | be9219756a126e793e25f97df6c6da5d196148e3 | e7a439652f75cc46c1f91ffa48fff51b520f08c6 |
refs/heads/master | <repo_name>cryptol0g1c/ico-tokensale<file_sep>/test/GenericToken.js
const GenericToken = artifacts.require('GenericToken');
const { BigNumber } = web3;
const should = require('chai')
.use(require('chai-as-promised'))
.use(require('chai-bignumber')(BigNumber))
.should();
const utils = require('./utils/index');
i... | 90d393e8c290525eddd037c3d62fdecb631e8ecb | [
"JavaScript"
] | 1 | JavaScript | cryptol0g1c/ico-tokensale | 8848b6d421b25a1669182f16e03efadc564fdaab | 063e527be9ca6cb3b266fbe851b6717ce1950ec4 |
refs/heads/master | <repo_name>Venkata121/Opes<file_sep>/README.md
# Resource Bank
[](https://app.circleci.com/pipelines/github/sarthaktexas/resourcebank)
.'/rest/TokenHolder.php');
use Illuminate\Http\Request;
class PageController extends Controller
{
private static $token = null;
private static $expirationDate = 0;
public function getIndex... | 1146676df50f815b32fbfd04aaa667cb7afb0d36 | [
"PHP"
] | 1 | PHP | zet0402/travelsource | d759c74dba54b39f09f64df8d641a405fe431763 | 1f9c85a926abe666035654f626ca3fcbc5456cf8 |
refs/heads/master | <repo_name>i-708/BlockChain-study<file_sep>/BitCoin-Transaction-study/btc.js
// 参考
// ブラウザでBTC送金トランザクション
// https://memo.appri.me/programming/btc-tx-on-browser
// ブロックチェーン実戦入門 ビットコインからイーサリアム、DApp開発まで
// https://www.amazon.co.jp/gp/product/B08LCWD7FY/ref=ppx_yo_dt_b_d_asin_title_o01?ie=UTF8&psc=1
// BitcoinJSライブラリの初期化
... | fa7b14f4b1940f3e2ab51fde9a56a169ff4e02d3 | [
"JavaScript",
"Python",
"Markdown"
] | 4 | JavaScript | i-708/BlockChain-study | ad103b2205982dd751338a9db06036aa8cff497e | fa950f764837fe76a0e4f3eaf31d5472fe7ec2a1 |
refs/heads/master | <repo_name>fjnoyp/IntroCSLabs<file_sep>/FirstRecursionLab/SpiralRecursion/ShadowGuide.java
import objectdraw.*;
import java.awt.*;
/**
This is the first oval in the shadow "chain" of ovals. This oval moves, thereby causing all the other circles down the chain
to move with it.
*/
public class ShadowGuide extends ... | dbac67d92378ad4d5bcc9f6a980f93d76177482e | [
"Markdown",
"Java"
] | 13 | Java | fjnoyp/IntroCSLabs | 988e2b0ce8a003366b0a188773bf933c500c918d | 505bbdf607d9b1a4a00e9c90c26ae31319e0f82f |
refs/heads/master | <file_sep>/**
* This file houses a listing of files to bake into the final build.js bundle.
*
* They must be defined here due to the fact that the bundler cannot follow any
* dependency graphs that lead to these particular files from the entry-point in
* app.js (that information is derived at runtime).
*
* ... | 53388df8fa5b1e870496bd0ae318551a3d2cbfb2 | [
"JavaScript",
"Markdown"
] | 16 | JavaScript | Tri4ce/jgarfield-com | 419222ccc434fd559d66c44be45be24affcdb4d5 | 286ac3d8e90ad4d5b469cc2a4bc9dbbc55f71f6f |
refs/heads/main | <file_sep>interface IStyleRules {
[ruleName: string]: string
}
declare const ruleNames: IStyleRules
declare module '*.css' {
export = ruleNames
}
declare module '*.scss' {
export = ruleNames;
}
<file_sep>This project is an [AppRun](https://apprun.js.org/) library test.
It consists of a litle form to type... | c6d4576178e818191cd573f0b4127dafe0dbfb90 | [
"Markdown",
"TypeScript",
"JSON with Comments"
] | 3 | TypeScript | rogersanctus/test-apprun-full | 376bc717456416bd7a3b48759e24a25747c67519 | 5a77bcf6412daa5a77054fb2f99659f5be5980a4 |
refs/heads/master | <file_sep># Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'VKAuth' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for VKAuth
target 'VKAuthTests' do
inherit! :search_paths
# Pods... | aec63d70814739bc6da6256d9e6cb7724d296230 | [
"Ruby"
] | 1 | Ruby | root0x251/VKAuth | 31b67447e9a3ce9908770ef426425793a238b326 | 647118c9148e2481bb9841df4685e89b5d78db8e |
refs/heads/master | <file_sep>package by.buzzit.belprint.constants;
/**
* Created by dzmitrykankalovich on 6/14/15.
*/
public class PagesConstants {
public static final String ORDERS = "/pages/orders";
public static final String AUTH_ERROR_PAGE = "/pages/auth_error.jsp";
public static final String COMMON_ERROR = "/pages/co... | ae9321fb36d5db384faad16fc7db19c57fa4bc91 | [
"Java"
] | 3 | Java | Dminevsky/bp | 426985a21b45f2c918dea6fbf6c0c2234c5a13a8 | aa594b76375822ed5670527e040d5a7323d2c32e |
refs/heads/main | <file_sep><!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/boot... | b09079a309109c70488f312833ff5839574566dc | [
"PHP"
] | 1 | PHP | evellyntauany/Projeto---PHP---Bootstrap | 9b02d206129ac336b1d99ed46c2bedeaf8a84022 | fbe5ab772ed23a5e55cd3d6ef5c5bed26be81ac0 |
refs/heads/master | <file_sep>#include <IRremote.h> // 引用 IRRemote 函式库
// 头文件已经定义PIN 3为信号输出。。
// 所以只能连接PIN 3 ,若更改请在头文件更改
//Mega2560对应的是引脚9
IRsend irsend; // 定义 IRsend 物件来发射红外线讯号
void setup()
{
//
}
void loop()
{
irsend.sendNEC(0xC728D, 32); //关——编码
delay(2000);
}
<file_sep># Code-for-Arduino
Code to store A... | 9fbf69746047e005b3f88a9a2ad1afafb766b94c | [
"Markdown",
"C++"
] | 2 | C++ | Arvin-666/Code-for-Arduino | b4e54ee61f3c9b757d1748cc8a7b8106779e1cad | b462cdb38e08421270f6967c55493c9a0d749f8c |
refs/heads/master | <file_sep>#!/usr/bin/env python2
#
# Demonstrates how to parse URLs with Python
# This version creates a Weblog object. For details review
# http://stackoverflow.com/questions/472000/python-slots
import re # bring in regular expression package
from dateutil import parser
class Weblog(object):
__slot... | 313c5c734871c8a8511048247dddf56d90d76a82 | [
"Python"
] | 2 | Python | arifyali/ANLY502 | 3997929a2a12d2fce7014e941b5bf35939799200 | 5a52a7db3ddcc58868d6d514f21108d6b85a1749 |
refs/heads/master | <repo_name>macagua/django-user-language-middleware<file_sep>/tests/test_middleware.py
try:
from unittest.mock import Mock
from unittest.mock import patch
except ImportError:
from mock import Mock
from mock import patch
from django.test import SimpleTestCase
from user_language_middleware import UserLan... | 0863cf099ae446f5387183ef8a65926891a4b1eb | [
"Python",
"reStructuredText"
] | 2 | Python | macagua/django-user-language-middleware | 7b746c7356f0f5cfd16d3023a8f0ad14c016f399 | a1d969b746bbeb8b1dac9171d0aeaaa24d74b304 |
refs/heads/master | <file_sep>from django.contrib import admin
from .models import User, AuctionListings, Bids, Comments, Watchlists
# Register your models here.
admin.site.register(User)
admin.site.register(AuctionListings)
admin.site.register(Bids)
admin.site.register(Comments)
admin.site.register(Watchlists)
<file_sep>from django i... | e16835a4f1cd3e5fefb959f23b774f9345c7ea64 | [
"Python"
] | 8 | Python | landxcape/commerce | bc65952997967b5a7d68e8a18e085f5ab18c8b56 | 2dd86b14e622105eee07e2341ad40a97d8e5db2c |
refs/heads/master | <file_sep>#!C:\ProgramData\Anaconda3\python.exe
import cgi
import cgitb
cgitb.enable()
print('Content-type: text/html \n')
print('Hello There')<file_sep>class Node:
def __init__(self,data):
self.value = data
self.link = None
class LinkedList:
def __init__(self):
self.start... | 8671c4a137d33d4376b9c48970405f96cc805711 | [
"Java",
"Python"
] | 4 | Python | HK002/JavaBasics | 8a6fae5114b9ad8ee1e8d5c6f869cddd5601efb1 | bc1505f193226546f3775d584dd9067ff8761335 |
refs/heads/master | <repo_name>JohnathanMB/ApiPruebaAcc<file_sep>/src/routes/clienteRoute.js
const express = require('express');
const router = express.Router();
const cliente = require('../models/cliente');
router.get('/clientes', (req, res) => {
cliente.getUsers((err, data) =>{
res.status(200).json(data);
} );
});
rout... | 9f2dbffdc5494ea8cb8811fb03caaaa9873ae668 | [
"JavaScript",
"SQL",
"Markdown"
] | 5 | JavaScript | JohnathanMB/ApiPruebaAcc | 1d549f0148c8dae42714277d10d5fe55c5c09a33 | 0d59b1223556732cbe3f1c9506eeb59158453f81 |
refs/heads/master | <file_sep># MillenniumGroundGuide-3.0
Version 3.0 of Millennium Ground Guide iPhone App
<file_sep>//
// FoodDrinkViewController.swift
// Millennium
//
// Created by Macbook Pro on 15/01/2019.
// Copyright © 2019 <NAME>. All rights reserved.
//
import UIKit
class FoodDrinkViewController: UIViewController {
ov... | 01c16675f30b0b21d18f073576d441bf73a8d81f | [
"Markdown",
"Swift"
] | 3 | Markdown | danielearl77/Millennium | 562c41b476781b638b923b7b3d476018a11ddfe5 | 14429dd2150c97bff5f58bbd905d0a53bce8a1cc |
refs/heads/master | <file_sep>using System;
namespace SignalR_Common_Features.Services
{
// ReSharper disable once InconsistentNaming
public static class LoggerIO
{
public static void PrintEvent(string methodName, string content) => Console.WriteLine(
$@"Method '{methodName}': {content}");
}
}
<file_s... | 5e43504627df609a8004f0a0ff492fc477683b59 | [
"C#"
] | 9 | C# | KuchmyndaMarkiian/SignalR_example | 6f059b669a8959c067630954a62029cf9a737250 | cf60a334c569eaee8a86aa966b4796033534bf03 |
refs/heads/main | <repo_name>dgrothman/homebridge-crestron<file_sep>/src/crestron-crosscolours.ts
import {
API,
APIEvent,
Characteristic,
CharacteristicEventTypes,
CharacteristicSetCallback,
CharacteristicValue,
DynamicPlatformPlugin,
HAP, Logger,
PlatformAccessory,
PlatformAccessoryEvent, PlatformConfig,
Service
}... | 5651ee00b6bcf89d6f23fd00ba175796fd7c5519 | [
"Markdown",
"TypeScript"
] | 12 | TypeScript | dgrothman/homebridge-crestron | fc4fc3a9a3d0cba7c24d3211f792743628958331 | 7d09cfb969e22e1a01aed78628a12bb42103a18d |
refs/heads/master | <repo_name>bejoyzm/lyricService<file_sep>/src/test/java/com/bison/service/lyric/LyricServiceApplicationTests.java
package com.bison.service.lyric;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.SpringApplicationConfiguration;
import org.springframework.test.context.junit4.... | 11a3c383f816175408f938c457bec44c54150391 | [
"Java"
] | 2 | Java | bejoyzm/lyricService | aec9641e37a5cca18a6bda9cdf63f66e412c7968 | 4dd1bbe3e23c5e1a0d54bb78bdd96903f8b22831 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace OpenSourceTees.Models
{
public class PurchaseOrder
{
/// <summary>
/// Primary Key of the pu... | 2d003f3a6d3fc2d866168f66564adcb8a0cbaae3 | [
"JavaScript",
"C#"
] | 17 | C# | KodaRayTominus/OpenSourceTees | 345ff97eb459b17daecc18898b54b211f92852b9 | e2d7fd6e0d67926f7b1c96f0a83330f6c1b88049 |
refs/heads/master | <file_sep>package junit5Tutorials;
import org.junit.jupiter.api.Test;
import java.time.Duration;
import java.util.stream.IntStream;
import static org.junit.jupiter.api.Assertions.assertTimeout;
public class J06_PerformanceTesting {
@Test
void performance(){
assertTimeout(Duration.ofSeconds(1),()-> ... | 3d6ed87608e39b5bab3d947c60df6dd8fe55aa98 | [
"Java"
] | 5 | Java | erdemgocen44/UnitTest | f3fb214198937b785935c5d8707143308c1d27ff | d252f72a7bf99e7f95da3addf7640bff426defb4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.