branch_name stringclasses 149
values | text stringlengths 23 89.3M | directory_id stringlengths 40 40 | languages listlengths 1 19 | num_files int64 1 11.8k | repo_language stringclasses 38
values | repo_name stringlengths 6 114 | revision_id stringlengths 40 40 | snapshot_id stringlengths 40 40 |
|---|---|---|---|---|---|---|---|---|
refs/heads/master | <repo_name>wysohn/HideOres<file_sep>/HideOres/src/com/hideores/utils/BlockHider.java
package com.hideores.utils;
import com.hideores.main.HideOres;
import com.hideores.main.HideOresConfigs;
public class BlockHider {
public static HideOresConfigs config = HideOres.config;
public static void checkAndCopy(by... | d0db600142dad67e2e694a1008c11d3dfc842e8e | [
"Markdown",
"Java"
] | 8 | Java | wysohn/HideOres | 21e84e2d06f2b655c95c21b5558fae3e2dddb726 | 263e37f84ae41e1ac4ec93766af2500479392abe |
refs/heads/master | <file_sep>using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
public class EnemySight : MonoBehaviour
{
public bool playerInSight = false;
public float fieldOfView = 110;
public Vector3 alertPosition = Vector3.zero;
private Animator playerAnim;
pri... | 650fd9297de2ad91282ddbf3762dfc9d44a9a229 | [
"Markdown",
"C#"
] | 65 | C# | sakurazxq/Game-Scripts | e1a4eb9157d6959e9b72ea616f0e93eb6445ec45 | 8e8691e1911ab620a9c537a7037ba47456ca3ee0 |
refs/heads/master | <file_sep>document.getElementById('button1').addEventListener('click', loadText);
document.getElementById('button2').addEventListener('click', loadJSON);
document.getElementById('button3').addEventListener('click', loadREST);
function loadText() {
fetch('data.txt')
.then(function (response) {
... | c6667db41f779e5f87d477ca950546b45f457538 | [
"JavaScript"
] | 1 | JavaScript | farrdy/FetchAPI | 4cd7af7385ddecb78546bd9f73762fa2550136c0 | c9462d8c5747ad98c72fb30064b3011f00c892da |
refs/heads/master | <repo_name>shudery/magot<file_sep>/scripts/less/find.js
// find all less files
import glob from 'glob';
const pattern = '**/*.less';
export default function find(src) {
return glob.sync(pattern, { cwd: src, absolute: true });
}
| e538d42ab06d6151f14621b15df54817eacfb23e | [
"JavaScript"
] | 1 | JavaScript | shudery/magot | d48d51afb9a81c4aab2d86a27000cf5f636f4a5e | 047fc4de3b7bb983ed16db065f9e3f5ce7442bc7 |
refs/heads/master | <file_sep>package com.amit.petsearch.Interface;
import com.amit.petsearch.Model.MovieDetails;
import com.amit.petsearch.Model.PopularMovies;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.Query;
public interface API {
String BASE_URL = "https://api.themovied... | dfba7ffb734a8c3990b43b5a74cb9a7ff5a6faf3 | [
"Java"
] | 4 | Java | izydevs/petsearch | cc0294cf691b075fb547aeee6fb01f4079441c1f | 2438856a0214efa75142a9fe9b7b5c0dcd349c06 |
refs/heads/master | <file_sep>import React, { Component } from 'react';
import Header from './common/header.component';
import Footer from './common/footer.component';
import Hero from './hero.component';
import How from './how.component';
import Peek from './peek.component';
const staticData = {
"heroData": {
"title": "Be data driven... | b43a759f4bac92a2e3d6a3a9148cdc512f96f0ec | [
"JavaScript"
] | 5 | JavaScript | hollowmatt/howdy | 293259fb9e43c850f12592c0c91f89c99840154f | 79919a78b2b325806941dcd7c957369cfd983aa5 |
refs/heads/master | <repo_name>mkovacs/openvr-texture-problem<file_sep>/src/vr_app.rs
use crate::renderer;
use glium;
use glium::backend::glutin::glutin::GlRequest;
use glium::GlObject;
use openvr;
use std::rc::Rc;
pub struct VrApp {
display: Rc<glium::Display>,
left_eye: VrEye,
right_eye: VrEye,
renderer: renderer::Rende... | 1d9073a2a95d8bc2a6f54edb4ee49e2e489c96e8 | [
"Markdown",
"Rust",
"TOML"
] | 5 | Rust | mkovacs/openvr-texture-problem | ab2d167245d32ceb4b6c268a198eec099b446bdd | 0281757e3c1d8c91d3c8c47bfe2d781948633100 |
refs/heads/main | <file_sep>import copy as cp
import numpy as np
from math import sqrt, pow, degrees
class Point3D():
def __init__(self, coordinate):
if isinstance(coordinate, list):
self.x = coordinate[0]
self.y = coordinate[1]
self.z = coordinate[2]
else:
self = cp... | abae353e38e47a2be35aa0b9b04fa43426d9e069 | [
"Markdown",
"Python"
] | 16 | Python | totordudu/shelf_object_grasping | f8c4fd1c52760416a4fc42330868aecc59a10a9c | 25c3acf97090dbc1ba6dd3871b10ae156febdf4a |
refs/heads/master | <file_sep># 分かりやすい
class Solution:
def romanToInt(self, s: str) -> int:
# rn = roman_numerals
rn = {"I":1, "V":5, "X": 10, "L":50, "C": 100, "D": 500, "M": 1000}
r = 0
for i in range(0, len(s) - 1):
if rn[s[i]] < rn[s[i+1]]:
r -= rn[s[i]]
else:... | 085216b63698f9f8aaea03430c7812ab17796b52 | [
"JavaScript",
"Python"
] | 3 | Python | Tomoya113/leetcode | f5958fdc6e46f677f0907bbef192899b61171765 | 5ae362d86f5dc4864ebadc905b48044bd4c8c804 |
refs/heads/master | <file_sep># naval-warfare
A replication of a well-known board game involving ships that do battle.
<file_sep>#! /usr/bin/env python
class Player:
def __init__(self, name):
self.name = name
self.board = {}
self.ships = {
'LCS': {'length': 2, 'coords': []},
'DD': {'len... | 169bd98aa84481062345e24f507398b12923e7be | [
"Markdown",
"Python"
] | 2 | Markdown | starsparrow/naval-warfare | ad975280573bfffa27d8ab9c7ee7c0591eb17856 | c82bbd9fc094fbc8b09c76e6291dfe62b3c0f9b6 |
refs/heads/master | <repo_name>rohit2b/rtmAnalyze<file_sep>/atomEntry.py
class atomEntry:
"""Represents an entry in the atom feed from RTM.com"""
def __init__(self):
self.author
self.updatedTime
self.completedTime
self.dueTime
self.priority
self.timeEstimate
self.tags
self.location
self.hasBeenpost... | e6bc2229564a50fb8656783764f6271d24bbc066 | [
"Markdown",
"Python"
] | 4 | Python | rohit2b/rtmAnalyze | aa6fd2faab5379b4ba661cc2c8dcc87b0b2d1fa0 | 0afc3dac409593d2e1364336e06bb15fd26dc71f |
refs/heads/master | <file_sep>import java.io.EOFException;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;
import java.text.DecimalFormat;
import ja... | b527b7dae30c2851fa1e8173e716e000f1a5a619 | [
"Markdown",
"Java"
] | 4 | Java | rorynee/bankOfRoryRMIAssignment | 27a96e5d475b41aaf2c8bb9d5aa08ea11dc03b4b | a91992d3a925647d0924e6af28ef9179d02e4f57 |
refs/heads/master | <file_sep><?php
/**
* Basic concept: Interface to the Processes MySQL table
*
* Uses:
*
*/
require_once( 'MySqlObject.php' );
require_once( 'servers.php' );
class Processes extends MySQLObject
{
private $modifiedServers = array();
private $lastUpdateTime = 0;
function getLastUpdateTime()
{
... | 05fe6c31a8e1c154db54b4958c0ece414d5c1d59 | [
"JavaScript",
"PHP"
] | 29 | PHP | JefferyCReightler/LAD | 22e67cdae1986a8fb06259caff6d67d36d2654e4 | 26b8890d7304dfa2e7240124259de4b9544be896 |
refs/heads/main | <file_sep># ensRepo
[Embedded and Software Lab.](http://eslab.ajou.ac.kr/)
Department of. <i>AI Convergence Network & Electronics and Computer Engineering, Ajou University</i>
San 5 Wonchon-Dong Youngtong-Gu, Suwon, Kyeonggi-Do, 443-749, Korea
## Development
### Objective
- <b>Predictive Maintenance</b> of <b>col... | c130470f7d3bdd5d37bca1753a041422473df84b | [
"Markdown",
"SQL"
] | 3 | Markdown | dongs0125/ensRepo | 9980b4711a135e9e431b7852606d622aafb19d65 | ee242f90bd187c223a9aa9040ba917e3c9154735 |
refs/heads/master | <repo_name>wovenpay/wovenpay-android<file_sep>/wovenpay/src/main/java/com/wovenpay/wovenpayments/interfaces/OnTokenRefreshListener.java
package com.wovenpay.wovenpayments.interfaces;
/**
* Created by thatmarc_ on 07-Mar-18.
*/
public interface OnTokenRefreshListener {
void onRefresh(boolean success, String toke... | c3c33f47abfec797df6218c524eca775851c5be5 | [
"Markdown",
"Java",
"Gradle"
] | 15 | Java | wovenpay/wovenpay-android | 31e101d516e748fee8552d7a87137ab7dd2699ab | b398c8ff164eda5fa6f84d588a14f63c75ccc3eb |
refs/heads/master | <repo_name>Jack-888/codaline_homeworks<file_sep>/weather/weather.rb
require "net/http"
require "uri"
require "rexml/document"
# https://pogoda.yandex.ru/static/cities.xml
# http://export.yandex.ru/weather-ng/forecasts/33487.xml
uri = URI.parse("http://export.yandex.ru/weather-ng/forecasts/33487.xml")
response = Net... | ef48263c924673aed372cdd1acb5d419cad91a5c | [
"Ruby"
] | 1 | Ruby | Jack-888/codaline_homeworks | 6d48377093c98d45332593b48363d837f7224a5d | 78579192311219dd238aa8b77b1bd0bda6e6b8ab |
refs/heads/master | <repo_name>Havynlam/HavynlamX<file_sep>/wathchMemorandum/src/main/java/watch/app/wear/glassx/cn/watchmemorandum/MainActivity.java
package watch.app.wear.glassx.cn.watchmemorandum;
import android.content.Intent;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.os.Bundle;
imp... | 342edcf60e5e96145dd0e0e2913c545d128d8f57 | [
"Java",
"Gradle"
] | 5 | Java | Havynlam/HavynlamX | 5cfdcd1ebd020680aadbcb885f9ce9199ca29438 | dbcddb2c3f7569ed7a72452f498e475bfdc3718e |
refs/heads/main | <file_sep>import { Scene } from "phaser";
import { TitleScene } from "../scenes/titleScene";
export class SceneManager {
static scene:Phaser.Scene;
public static init(s:Scene):void{
this.scene=s;
}
public static start(sceneName:string,nowScene :Scene){
this.scene=nowScene;
this.... | 8530ce8f8a7da9453520e42dbd4085d320e68ea9 | [
"Markdown",
"TypeScript"
] | 6 | TypeScript | UenoMizuki/UM2021Summer | 964535732c13313a1749850d053dd0758555a534 | 34ac286d3f19f2ec44a1c16e9d15e084b2de5415 |
refs/heads/main | <repo_name>AndreLeEEEEEE/calculator<file_sep>/README.md
# calculator
It's a calculator.
<file_sep>/script.js
const add = (x, y) => x + y;
const subtract = (x, y) => x - y;
const multiply = (x, y) => x * y;
const divide = function(x, y) {
if (y === 0) {
alert("Error: Don't divide by 0");
clearDisplay... | d707a28ce90c1eb4683e5d2caa424c95641ae880 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | AndreLeEEEEEE/calculator | a126e3018271a6b513433e85a004b3b21e9c50b9 | 33bd2b3786d5479c8bc6b1a7aa6c167728a76deb |
refs/heads/master | <file_sep>exports.up = function(knex) {
try {
const updateQuery = `UPDATE person SET name = alias`
return knex.raw(updateQuery)
} catch(err) {
console.log('err in migration', err)
}
};
exports.down = function() {};<file_sep>exports.up = function(knex) {
return knex.schema.table('person', table => {
table.dr... | 0b0f5680e76de09940829ffd24dfe0d6b46fb8b3 | [
"JavaScript"
] | 2 | JavaScript | LuigiLegion/meirim | 032e53a776164ad1c234feac65891b565214ce39 | b735778228dedf39567fb9b6722fac8986bd38f1 |
refs/heads/master | <file_sep># Copyright 2015 Quantopian, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... | a940ce3d4a41df1964055851943def7d5ab1dc1d | [
"Python"
] | 13 | Python | joequant/zipline | dd1f9221f937909b4d99be3e44ba0e4f8c19662e | 865ed2241a9c5650866a03532a576e70c71a980e |
refs/heads/master | <repo_name>SudolSzymon/SzyomnPongApp<file_sep>/MyPong/app/src/main/java/com/example/szymon/mypong/Bat.java
package com.example.szymon.mypong;
import android.graphics.RectF;
/**
* Created by Szymon on 26/03/2018.
*/
public class Bat {
private RectF rect;
private float length;
private ... | b06dd802f40dfec8b5c686ef8f8885471bb9e961 | [
"Java"
] | 1 | Java | SudolSzymon/SzyomnPongApp | faeec9f867240407011560f8ed62e5ae3d2edcb5 | d6df7806f3670e9511a10d0d96e6e10bcdc6b68a |
refs/heads/master | <file_sep>package com.mapache.scorebasketdatabinding
import android.arch.lifecycle.ViewModelProviders
import android.databinding.DataBindingUtil
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import com.mapache.scorebasketdatabinding.databinding.ActivityMainBinding
im... | 27d0bc963287ba908cfe00afe1ddb47f34c18098 | [
"Kotlin"
] | 2 | Kotlin | MaPache07/Score_Basket_Databinding | f0148e3d000341cbdd0880b20e4e9fea9caf48c0 | 82d7a6cf01d0c67daffa3817bedb746202585d33 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Drawing;
namespace DAT_Unpacker
{
static class Extension
{
public static int extractInt32(this byte[] bytes, int index = 0)
{
return (bytes[index + 3] << ... | fbdc4be8c0ab59980898390c9ab304f71de737f6 | [
"Markdown",
"C#"
] | 8 | C# | NetoRpg/TIMViwer | 8cc9cb781a475522506b769722c63337392ddcd7 | 990edc419977ab9dee73fa431763e5778c10be7e |
refs/heads/master | <file_sep>spring.profiles.active=@spring.profiles.active@
server.port=8081
server.servlet.context-path=/api
spring.application.name=order-service
spring.banner.location=classpath:banner.txt<file_sep>package dev.lucasdeabreu.orderservice.service;
import dev.lucasdeabreu.orderservice.domain.Order;
public interface Orde... | f1ffe3f009105b165095a35961c4cf7bb0077c96 | [
"Markdown",
"Java",
"Dockerfile",
"INI"
] | 14 | INI | lucasdeabreu/eventual-consistency-example | 300537432c230f274e8da8ca6e0ddb3b5fc3e3e5 | a8b7c3569144e6c768b807a95d54e3105ad4b1ff |
refs/heads/master | <file_sep>This is PeiMing's industrial design portfolio
<file_sep>var BrowserDetect = {
init: function () {
this.browser = this.searchString(this.dataBrowser) || "An unknown browser";
this.version = this.searchVersion(navigator.userAgent)
|| this.searchVersion(navigator.appVersion)
|| "an unknown ... | a596c42535ecc7825b1e2e717733eed75ba541af | [
"Markdown",
"JavaScript"
] | 2 | Markdown | peiming/peiming.github.io | 16ca0f8fb69fb4973f494bed4666871f46d7ce5f | 689516d3a2bebe790c0342e5a8f0b9dc44ef4edc |
refs/heads/master | <file_sep>
document.write('<script src="//trkr.scdn1.secure.raxcdn.com/t/5657f9703bb2f89d12000215.js"></script>');
var _selldo = [{_async:true}];
var _selldo = [];
_selldo.push({project_id : "56659cb03bb2f8f46900001b"});
window.sell_do_form_successfully_submitted = function(data, event){
try{
dat... | 1bb65f3553997f881c9bfa4bf1d79f670ea485a0 | [
"JavaScript"
] | 1 | JavaScript | Baskarbss/hira-clean-up | bc8c9f11cb82cf67cc20c3d67129f0beea12e40c | 2b0fb774806db148616e99a2453f883c2441b759 |
refs/heads/master | <repo_name>xwang985/wave_guitar_shop<file_sep>/client/src/actions/product_actions.js
import axios from "axios";
import {
GET_PRODUCT_BY_ARRIVAL,
GET_PRODUCT_BY_SELL,
GET_WOODS,
GET_BRANDS,
GET_PRODUCTS_TO_SHOP,
ADD_PRODUCT,
ADD_BRAND,
ADD_WOOD,
GET_GUITAR_BY_ID,
CLEAR_PRODUCT_DETAIL,
UPDATE_PRODUC... | 6f7fecfe131ed2932ca8f743fabeb0b02007d014 | [
"JavaScript"
] | 19 | JavaScript | xwang985/wave_guitar_shop | 48a85364560ae6fe873bb15dd627d21976748b3a | 5aa73e092be9bc7066576017875f03293149b118 |
refs/heads/master | <repo_name>IgoSaldanha/ProjectGameJam<file_sep>/Assets/MineGames/FoodMan/Scripts/PlayerController.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PlayerController : MonoBehaviour {
public float speed;//the speed pacman can travel
public int... | 820ee0849e101845ed8d7daabc403154a9fad761 | [
"Markdown",
"C#"
] | 17 | C# | IgoSaldanha/ProjectGameJam | 9b65499b30ac8d5a9f03c92736b4c17e7a1a8d56 | f965ac5790e1a95034a3a946595555e6c7faee18 |
refs/heads/master | <repo_name>Akapoor99/awesomeTravels<file_sep>/src/FlightBooking.php
<?php
require 'Flight.php';
class FlightBooking
{
private $flight;
private $flightTicketID;
//settype($flightTicketID, "string");
private $price;
//settype($price, "float");
private $porterService;
//settype($porterService, "boolean"... | 447cff6372dbc06de66693d3cadcf92003497959 | [
"Markdown",
"PHP"
] | 16 | PHP | Akapoor99/awesomeTravels | b3eda4a781326ed95f8eb8c1aedb69eccfc2bd7c | 2f55899405f630fcae3822408e239c34ae4e6d3b |
refs/heads/master | <repo_name>sg-object/sg-dynamic-ehcache<file_sep>/src/main/resources/messages/error.properties
0001=Not Found Cache!!!!
0002=Not Found Cache Data!!!!
0003=This Cache Name is Using. Please Input Another Cache Name!!!!
9999=Internal Server Error!!!!<file_sep>/src/main/resources/application.properties
ehcache.cacheNames.c... | 73e91b911134c4c2ee7a9ab7d194f2ea4fb6d37a | [
"Markdown",
"Java",
"INI"
] | 7 | INI | sg-object/sg-dynamic-ehcache | 3f73cb437804d25261aa4d3ff84c2c0233fb714a | fbf3b9dd80ecef393914ba57364aa6c31a36d393 |
refs/heads/master | <repo_name>kyle45/medium<file_sep>/toutiao/src/main/java/com/nowcoder/controller/IndexController.java
package com.nowcoder.controller;
import com.nowcoder.model.User;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PathVariable;
impo... | 3568ce17a10c0325e1c99d3919ea5f6d5e438b46 | [
"Java"
] | 1 | Java | kyle45/medium | 07230b66db3909c8ce64f75c8b8f96d4caadea8d | edd80f8e343853aeca4c1799f8bb165aff991cb2 |
refs/heads/master | <repo_name>MasriMCP/Aisha<file_sep>/src/tableInfo/LifeEventsInfo.java
package tableInfo;
public class LifeEventsInfo {
String event,result;
int age;
public LifeEventsInfo(String event, int age, String result) {
this.event = event;
this.result = result;
this.age = age;
}
pu... | 89481a9a1d43af2f0d083ab011e0a24bdc8c3d20 | [
"Java",
"SQL"
] | 7 | Java | MasriMCP/Aisha | 57d1291c486e000bdd3b830ad3f3486e74c996c3 | a72b30b69bb26b8f0c81e535da7d2cfedcb36019 |
refs/heads/master | <file_sep># bookstore_utils-go
Go shared utils library for bookstore project
<file_sep>package rest_errors
import (
"fmt"
"net/http"
)
type RestError interface {
Message() string
Status() int
Error() string
Causes() []interface{}
}
type restError struct {
message string `json:"message"`
status int ... | 9d73131919ea8dade47010c50086c8d7b1642411 | [
"Markdown",
"Go"
] | 2 | Markdown | sampado/bookstore_utils-go | 25f5b390d8cc65823203f50458475106047cda95 | 92d75b7ea55d247f8db1f91f273c1b34c51e6831 |
refs/heads/master | <repo_name>antoniovazquezblanco/dsPIC33FJ128MC802_SPI<file_sep>/spi.c
#include "spi.h"
#include <p33fj128mc802.h>
void SPI_Remap(void)
{
// Remap peripherals
__builtin_write_OSCCONL(OSCCON & 0xDF); // Unlock PPS
// Input pins (dsPIC)
RPINR20bits.SDI1R = 10; // SDI
RPINR0bits.INT1R = 13; // IN... | 94d767a1ce64c776331e4810bae83d16ef0f251b | [
"Markdown",
"C"
] | 3 | C | antoniovazquezblanco/dsPIC33FJ128MC802_SPI | af4c8bfd64e50290a37e5777bcb930fce4be27bd | d02aa28eedddfbca8d5b16baeafb77f0a06f7a73 |
refs/heads/main | <repo_name>Jason-Hargrove/w14d01-random-taco<file_sep>/src/App.js
import { useState, useEffect } from "react";
import './App.css';
import TacoInfo from './TacoInfo';
function App(props) {
const [name] = useState("Want a Random Taco?");
const[query, updateQuery] = useState({
searchURL: 'http://taco-randomizer... | a736c7959baf8cf05128c60239e7f4ba634705ec | [
"JavaScript"
] | 2 | JavaScript | Jason-Hargrove/w14d01-random-taco | 33b6b230af6bc197396c3a7484dc4ae5a405a83a | 44f3750836c1a31ff840bcd6bf00ef2348d884e1 |
refs/heads/main | <repo_name>ManILoveCoding/delete-this-site<file_sep>/src/components/time.js
const Time = () => {
useEffect(() => {
const timer = setTimeout(() => {
setCurrentTime(currentTime + 1);
}, 1000);
}, [currentTime]);
};
<file_sep>/src/api/api.py
from flask import Flask
import os
app = Flask(__name__)
@app... | 64a8a05f7f0b2c9968be2d39a3de87e7f7212a97 | [
"JavaScript",
"Python"
] | 3 | JavaScript | ManILoveCoding/delete-this-site | 57614809cabedf06d9603988000002b805bf56e8 | c016f5f42a19ca8638ffc169eebcc914bd158168 |
refs/heads/master | <file_sep>(function LoadHitBox() {
const { Entity } = BDOTJS;
class HitBox extends Entity {
constructor(parent, ...args) {
super(...args);
this.parent = parent;
this.tag = parent.team;
this.direction = parent.direction;
this.life = 1;
this.color = 'red';
}
update() {... | fa6f1d61e02d0b40cdc69d625d61bdd835247e5d | [
"JavaScript"
] | 8 | JavaScript | BMarcelus/Metroidvania1 | d8380cb16cab90d6c8c03f03658b2953e1664320 | 00afbeb0cf0b69199c1bb4932cd562df9edad56f |
refs/heads/master | <repo_name>dwishnuff/CS587-HW1<file_sep>/page.py
class page:
# a page basically contains a pageNo and content.
# the content typically contains a few records. However, we use a string for simplicity
def __init__(self, pageNo=None, content=None):
if pageNo is None:
self.pageNo = -1
else:
self.pageNo = pageN... | 4a4b3e27887273785c45bdf294a7c0a1da292745 | [
"Python"
] | 2 | Python | dwishnuff/CS587-HW1 | 2b83695753e1c137657ddb6d5e59f53f8025695b | 6d393d3912aa65487e514c596692b6b6883189d8 |
refs/heads/master | <file_sep>package com.example.clock;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import android.widget.Button;
import android.widget.TextView;
import java.text.SimpleDateFormat;
import java.ut... | b2937f9f126f40ff1f44ff125355549975d64e81 | [
"Markdown",
"Java"
] | 2 | Java | SreekVed/android-clock | ceef1016fd19bd6b2b2cda306fdc0f30ed9a0278 | 343cdd57f1fa658ae5fe9ed571bc82d702e87bd2 |
refs/heads/master | <repo_name>StudentLifeMarketingAndDesign/exchanges<file_sep>/mysite/code/Page.php
<?php
use SilverStripe\CMS\Model\SiteTree;
use SilverStripe\Forms\CheckboxField;
use SilverStripe\Control\Session;
use SilverStripe\Blog\Model\BlogCategory;
class Page extends SiteTree {
private static $db = array(
'DropdownMenu'... | 349906493fe80aa1a86731c244b61643ed0a963f | [
"PHP"
] | 5 | PHP | StudentLifeMarketingAndDesign/exchanges | dac809a34e329baf44286aeb5d78406f0c5c6b5b | 59eb985aaf05e1dc1a5bbcddf6e4a04284bcc735 |
refs/heads/master | <file_sep>export type ZellerAdmin = "ADMIN";
export type ZellerManager = "MANAGER";
export type ZellerRoles = ZellerAdmin | ZellerManager;
export interface ZellerCustomer {
email: string;
id: string;
name: string;
role: string;
}
export interface ListZellerCustomersData {
listZellerCustomers: {
items: Z... | 41de8779315f0b96d9f39108733e0225ff529f7f | [
"Markdown",
"TypeScript",
"JavaScript"
] | 9 | TypeScript | nivinhalila/zellerQA | 6ea4245630458b2eedf50f4738bf4b3a52baaee7 | 2d7f18aa4e8a1be80a5a0c75ba1e77808c1192e8 |
refs/heads/master | <repo_name>s55517kt/clicker<file_sep>/クリッカーゲーム/main.js
let plyname = prompt("名前を教えてください");
let flag = true;
//プレイヤーデータ
let plyLv = 1;
let plyHp = 15;
let plyHpMax = 15;
let plyAtt = 1;
let plyHeal = 1;
let plyExp = 0;
let plyExpNext = 15;
let plyExpNeed = [15, 30, 80, 150, 300, 500, 1000];
let plyImg = docum... | 4916763324a5c7650b0dea6bc75c4de5752a05e4 | [
"JavaScript"
] | 1 | JavaScript | s55517kt/clicker | 988673d143d69ac24ea38edfdecbb1ddc18429e7 | 1271e7b0b996788a67cfbe657270894e64a16a4b |
refs/heads/master | <file_sep>namespace Model.EF
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
public class TinViecLamModel
{
public int ID_ViecLam { get; ... | 1faeeac8f17678d5f212bd0dcbc36ab462683c68 | [
"JavaScript",
"C#"
] | 57 | C# | hieunm08/FindWork | f2b14cbb75c03e6cdac4533fb9359a961bc2198c | a38f9dfae170a5fd814a24672b3a4973b538c425 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CodeCreateTool
{
public class cff_account_log
{
public void Test()
{
}
}
}
<file_sep>using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.D... | 0b4fbbae8fb32f534c6d01458a6cba174fb77306 | [
"C#"
] | 2 | C# | thisistestorganization/CodeCreateTool | 00ef1e5486befc73c286aed5958206d68707333b | f030b3ce7b6869a142d3e4d3d498c9e37a054590 |
refs/heads/master | <file_sep>--The name of the mod displayed in the 'mods' screen.
name = "[Hamlet] Royal Crown"
--A description of the mod.
description = "Royal Crown from Hamlet DLC of Don't Starve."
--Who wrote this awesome mod?
author = "KaiserKatze"
--A version number so you can ask people if they are running an old version of yo... | 484fc752101e73e545c1086fbf853ebfe633a01f | [
"Shell",
"Lua"
] | 6 | Lua | WayOfModding/DST-Mod-Hamlet-RoyalCrown | 3c3ba71bcdc2557e2c1c0640cbced09f11c09a86 | 1d09dbd97862af9266d244bbbff03d8d51d1be35 |
refs/heads/master | <repo_name>josecanovarela/Proyecto4<file_sep>/installapache.sh
sudo su
apt-get update
apt-get install apache2 | 61e369799be1a7c13546ffec94c12ac132c68bbe | [
"Shell"
] | 1 | Shell | josecanovarela/Proyecto4 | 995f88a7d2f06c6d9634248edd85a90ca33040ee | 244d9a1d56cbabb3b382616aab499ab57ed2edda |
refs/heads/master | <file_sep>---
layout: teacher
---
<h3>Personal Teaching Philosophy</h3>
<p>There are a lot of considerations that go into one’s teaching philosophy beyond just how you teach. The strategies you use, the approaches to reach children, but also the environment you create, the relationships you form, and concepts behind ... | 0a0e0fa48124779d0c7a4c23774fcf6d301414a7 | [
"JavaScript",
"HTML"
] | 3 | HTML | kstabin/kstabin.com | 467444c124d81fe38ec3a06f11e9dbea14479508 | e5019e183806a1cf69d9a50af9e9b6b03c598da5 |
refs/heads/master | <repo_name>aleksandartraja/disconnected<file_sep>/DiSConnected.Angular.Web/App/templates/page.js
(function() {
'use strict';
function PageCtrl($scope, $state, $rootScope, Site, $timeout) {
// TODO:
Site.get({}, function (site) {
$scope.site = site;
$timeout(function () ... | d65cf51f4d204235b43d5d1f591092e0db60c0e6 | [
"JavaScript",
"C#",
"Text",
"Markdown"
] | 30 | JavaScript | aleksandartraja/disconnected | 20688bc4e5534b0a120383f7ce96f44b6adb6f8b | 66f510fc2deed0bb466e4518c9ece7b126baf5e4 |
refs/heads/master | <repo_name>1156958090/garbageSortApi<file_sep>/controller/UserController.js
const model = require('../models') // 引入数据库操作模块
const jwt = require('jsonwebtoken') // 用于签发、解析`token`
const crypto = require('crypto') // 加密密码
const nodemailer = require('../nodemail')
const JudgeParams = require('./checkParams')
const USER = m... | 84375563ea4d79ae661d234a230b2016ca1eb2f3 | [
"JavaScript"
] | 9 | JavaScript | 1156958090/garbageSortApi | 1234c71752307782581e45db13946e951015112c | 5767fec761e91c976c9f028d8e295795cc41d967 |
refs/heads/master | <repo_name>MoseyM/CLI_Todo_List<file_sep>/todo.php
<?php
//this is the function that actually adds the items to the list. As a string then pushed to the array $items
function listItems($list)
{
$string = '';
foreach($list as $key => $item){
$key++;
$string .= "[{$key}] {$item}".PHP_EOL;
... | f4c4d0f5f596b3a502cbcda94740a77b88985b70 | [
"Markdown",
"PHP"
] | 2 | PHP | MoseyM/CLI_Todo_List | fce6f5abf0879a9e5a07a676ef8fe447c1fddc38 | 547342a09ab994862e28862fbff5cc56b16dda77 |
refs/heads/master | <file_sep>import React, { Component } from 'react';
class Taxidermy extends Component {
render(){
return(
<div>
<h1>Todd etc...</h1>
</div>
)
}
}
export default Taxidermy;
<file_sep>import React from 'react';
import { Switch, Route } from 'react-router-dom';
import Home from './Routes/Home';
import T... | a8cd348a662e6c776b033657f7577e5f37d9f455 | [
"JavaScript"
] | 2 | JavaScript | ekg-91/wickedwolf | f76340af70486dafcdfed8eb02148cd0700a420c | a2767352f0ddfab8e42d494848e39749e133496f |
refs/heads/master | <repo_name>Han9527/Phylogenomics<file_sep>/filter_metal_gene.py
metal_id=[]
with open("new_metal_gene.txt","r") as f1:
for line in f1.readlines():
metal_id.append(line.strip("\n"))
metal_id
with open("barley.ortho.txt", "r") as f2:
for i in f2.readlines():
ortho_group=i.split("\t")[0]
or... | 89b35a227d2b2b502d54a05e28a87f423c470106 | [
"Python",
"Shell"
] | 2 | Python | Han9527/Phylogenomics | 07dc4493f52b9d32753488a73d4ba416e819aa34 | 8ecd098666a038f2dbe130b5cbff9ac44fdf645b |
refs/heads/main | <repo_name>umilton-git/NFT-To-Testnet<file_sep>/README.md
# NFT-To-Testnet
A simple setup to deploy an NFT to a testnet, made for MPA workshop.
Credit for the simple contract: https://www.youtube.com/watch?v=ZH_7nEIJDUY
# Node.js Repositories Needed:
- truffle
- @truffle/hdwallet-provider or truffle-hdwallet-provider
... | f15c0166d7d67b5aa4866e89ee0e3131372089af | [
"Markdown",
"JavaScript"
] | 2 | Markdown | umilton-git/NFT-To-Testnet | cbbd147a8a10a8f17fb31df771cd9cea00a42bd7 | f3a88b8e34a86ab6f8cd5143aa27663cbbd7fcc9 |
refs/heads/master | <file_sep>using System.Linq;
namespace Methods
{
public static class SpecialString
{
//Regular Method
//public static bool IsState(string source)
//Extention Method
public static bool IsState(this string source)
{
string[] stateCodes =
{... | 5f4edc201f37221c41e2530ecc5e3ee23b2c7f46 | [
"C#"
] | 7 | C# | memiles47/EssentialLINQ | 57267b35f1ff5e6756a1e6fe536f5548aa6c174a | dd1b1417d9ccc386cb80230146e5c722af4c91e1 |
refs/heads/master | <file_sep>import Elm from './Main.elm'
import './index.html'
import './Main.css'
const mount = document.getElementById('main')
const app = Elm.embed(Elm.Main, mount)
<file_sep>#!/bin/sh
node_modules/.bin/webpack --config webpack.build.js
<file_sep>#!/bin/sh
rm -rf elm-stuff
elm package install -y
<file_sep># elm-exa... | dbd173656e8202a16487c49fc06985ae4254f7fd | [
"JavaScript",
"Markdown",
"Shell"
] | 5 | JavaScript | spektroskop/elm-example | efa2764cd3a18b4594c00b765d7596678b1eca59 | 19b0b14a889749d908eec2ffe48aa1eaafd9f108 |
refs/heads/master | <repo_name>gde-pass/init<file_sep>/scripts/01
#!/bin/bash
cat /etc/passwd | grep -v -E '^#' | cut -d: -f1,3,6
<file_sep>/scripts/02
#!/bin/bash
apt-get update >> /var/log/update_script.log && apt-get upgrade >> /var/log/update_script.log
#Pour planifier le script je fais un crontab -e puis j'ecris dans le fichier "0 4 ... | 15fd1bbb55573c7e4148aa203927a8f44a176f01 | [
"Markdown",
"Shell"
] | 5 | Shell | gde-pass/init | da8742751bea8c60589c1b5e8bb180c676ba67ed | cef77b2a8dd93e04eab8d24f14ce7c2aa2266b8b |
refs/heads/master | <repo_name>alexfdezsauco/PropertyBagResearch<file_sep>/PropertyBagResearch/Implementations/PropertyBags/SuperTypedPropertyBag.cs
namespace PropertyBagResearch
{
using System;
using System.Collections.Generic;
public class SuperTypedPropertyBag : IPropertyBag
{
private readonly IDictionary<stri... | 553f0d1f6dbb33e7b5063880d816250a707aebff | [
"C#"
] | 4 | C# | alexfdezsauco/PropertyBagResearch | 42d6c98de3ff187272424291b36e96f6a989fcaa | ceccde5e6906946bdf232a953afa1801fd880622 |
refs/heads/master | <file_sep>package gulik.urad.where;
public class ColumnRef extends Clause {
private String columnPath;
public ColumnRef(String columnPath) {
this.columnPath=columnPath;
}
}
<file_sep>package gulik.urad.exceptions;
/** Delete me when the full OData 4.01 spec is implemented. */
public class NotImpl... | d0db3a2651d276825d98c288389f72a16c0accf6 | [
"Markdown",
"Java"
] | 31 | Java | mikevdg/urad | 10cfd87bca7f23011a2b72f229bac075393ca7d4 | 300c0a18bb48ea4e07f5a0516133014be18b956a |
refs/heads/master | <repo_name>EesTiK/Daniil<file_sep>/Pygame_Helilaid.py
# здесь подключаются модули
import pygame
# здесь определяются константы, классы и функции
FPS = 60
d = 0
# здесь происходит инициация, создание объектов и др.
pygame.init()
pygame.display.set_mode((600, 400))
clock = pygame.time.Clock()
# если надо д... | 391cbe10ffcb87f8b5cd1c281ceff429b0de5eaf | [
"Markdown",
"Python"
] | 9 | Python | EesTiK/Daniil | fff8fdbde19d039fe71a270ee7088f3f881f97d5 | be10b025c61b52620570103b8cf5d6f845fea8af |
refs/heads/master | <repo_name>fugazi/ember.js<file_sep>/packages/ember-routing/tests/render_test.js
module("Rendering in the router");
test("By default, `render` renders into the application's outlet", function() {
expect(1);
var router = Ember.Router.extend({
applicationController: Ember.Controller.extend({
viewDidChange... | 7f154c4515723b89cd9f75a9ede23db930722a3a | [
"JavaScript"
] | 1 | JavaScript | fugazi/ember.js | abc7f61b2b064bbabd622e7bbf63668883286b58 | db030575b177869d0175cffd00d4ca5cfb4e6023 |
refs/heads/master | <file_sep>#!/usr/bin/env python
# -*- coding: utf-8 -*-
from PIL import Image, ImageDraw, ImageFont
from flask import Flask, send_file, request, jsonify
from flask_restful import reqparse, abort, Api, Resource, url_for
import socket
import random
app = Flask(__name__)
api = Api(app)
class Movimiento(Resource):
... | 84d453a491c3c0278443d28596ee69728244bfb1 | [
"Python",
"Shell"
] | 2 | Python | irving19o/moviles | 135a058610415f6647113934cd2ab7489fee704f | 5febecf97771134b8d0204a4d3bdac440365e9b7 |
refs/heads/master | <repo_name>Suryopambudi/Favorite-Quotes-Apps<file_sep>/src/pages/signin/signin.ts
import { Component } from '@angular/core';
import { IonicPage, NavController, NavParams, ToastController, LoadingController } from 'ionic-angular';
import { authService } from '../../services/auth';
/**
* Generated class for the Signi... | 83e83aff4f5eb5432d21f6e0ad20c2c2008535ec | [
"TypeScript"
] | 9 | TypeScript | Suryopambudi/Favorite-Quotes-Apps | 1efac8117a7a7e84f9e9006c46fa6f4a24cb06c5 | 5a0c57e02f8708917ed577cf56f75fe6543198f7 |
refs/heads/main | <file_sep>import React, { useState, useEffect } from "react";
import './HeaderHome.css';
import { TwitchEmbed, TwitchEmbedLayout } from "twitch-player";
function HeaderHome(props) {
return (
<div className="header-home">
{props.live ? <Live data={props} /> : <Counter data={props} />}
</div>
)
}
function Cou... | 5d580ded62202aa9fa2f49d78e099434eeaaf85d | [
"JavaScript"
] | 3 | JavaScript | timothejoubert/macao | 83f3774a45a23653986b3ce8e7a6bedd6ae20192 | f47583345f0efabbd1f624e06b44ad5452fbc7b8 |
refs/heads/master | <repo_name>BlockLatticeOrg/explorer-api<file_sep>/tests/routers/conftest.py
import pytest
from fastapi.testclient import TestClient
from explorer_api.main import app
@pytest.fixture
def test_client():
return TestClient(app)
<file_sep>/explorer_api/main.py
from fastapi import FastAPI
from . import __version__
fr... | d5767df7ffc811a2072e26f89a54fef48d057b30 | [
"YAML",
"Markdown",
"TOML",
"Makefile",
"Python",
"Dockerfile",
"Shell"
] | 20 | Python | BlockLatticeOrg/explorer-api | cb356bdaaff51b71bfde9e8f90a6f534c44f0625 | b302ac9844c797a738ff99a7ef2223d779d896d9 |
refs/heads/master | <repo_name>xingchenhua/ssh2<file_sep>/MyBatis03/src/com/neusoft/util/MyBatisutil.java
package com.neusoft.util;
import java.io.IOException;
import java.io.InputStream;
import org.apache.ibatis.io.Resources;
import org.apache.ibatis.session.SqlSession;
import org.apache.ibatis.session.SqlSessionFactory;
impor... | cbbaf7b3123d62a63f8334136d1d9ada9465881e | [
"Java"
] | 2 | Java | xingchenhua/ssh2 | fe175a7b7467b196e7c0eb595de7a413d308b090 | 4617d5f9cce2c016076a6a8466a4db2a88ba2b16 |
refs/heads/master | <file_sep>#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "multi-lookup.h"
#include "util.c"
#include <pthread.h>
#include <sys/time.h>
#include "Queue.h"
#include <unistd.h>
#define MAXARGS 15
#define BUFFSIZE 1025
#define INPUTFS "%1024s"
#define NUM_RQTHREADS 5
#define NUM_RTHREADS 10
#define M... | 2a10c3d71752479f30ab82d5de88c7acb4437f24 | [
"C",
"Text"
] | 3 | C | AtomiCode007/Operating_Systems | da632eb1ea4a2ecc5e3b5bfc6a026fe0ce737149 | ed74af5969953bfcc5f7051f5cae90cf449fd287 |
refs/heads/master | <file_sep># jakema1.github.io<file_sep>let myimage = document.querySelector('img')
myimage.onclick = function(){
let mysrc = myimage.getAttribute('src')
if (mysrc === 'images/248922-106.jpg'){
myimage.setAttribute('src','images/331961-106.jpg')
}else{
myimage.setAttribute('src','images... | 1026650b1b7f541198d4d5e5f29054e39cdb7a6b | [
"Markdown",
"JavaScript"
] | 2 | Markdown | jakema1/jakema1.github.io | 326e755985cda3ccfc9ab2bdb008bfc20e7ef4b2 | 0870bb3ebca4e3ff24a82054c705ac2cb7f7f125 |
refs/heads/master | <repo_name>mathmakgakpak/cursors.io-webpack-client<file_sep>/src/ts/Settings.ts
import { noCursorLock, disableDrawings, disablePlayers } from './elements';
export class Settings {
constructor() {
this.load();
window.addEventListener("beforeunload", this.save);
}
save() {
window.loc... | 60bbc459590bd7104a90df11a8d30841e80a4941 | [
"Markdown",
"TypeScript",
"JSON with Comments",
"JavaScript"
] | 23 | TypeScript | mathmakgakpak/cursors.io-webpack-client | 3ed7b3818517902083b01c62e4023f7f59d53c5e | 7abaeae90b9fc23475fd77ead5bc6d8e8b204743 |
refs/heads/master | <file_sep>package mx.ipn.cic.appsitiostur;
import android.support.v4.app.FragmentActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import com.google.android.gms.maps.CameraUpdateFactory;
import com.google.android.gms.maps.GoogleMap;
import com.google.android.gms.maps.OnMapRea... | 29d24de2045268d239ce06a6bf45ca67f999d029 | [
"Markdown",
"Java"
] | 3 | Java | SaidNM/Android | c678edfe0c1c155409f56b3e49ac546852f4f491 | 3b7174da02f5ed79b6c936660bdbfdf3250872fc |
refs/heads/master | <file_sep>package com.chakrireddy.ott31;
import android.content.ActivityNotFoundException;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.LinearLayout;
public class Contact extends AppCom... | 86b167f5a0b13216791a08baf4b6e9b1e9f04e8b | [
"Java"
] | 1 | Java | chkry/OTT3-1 | e22b0b3c326f897dd0ea0b2d00ca30a0a3af211d | c33f188024dbcef71b39ddfac463657289fc5866 |
refs/heads/master | <repo_name>radishrp/TicTacToe<file_sep>/main.c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
//Function Definitions
int checkwin(char *, char);
void winmessage(int, char);
int findwinningmove(char *,char);
int numberofmovesleft(char *);
char player;
int makemove(char*,int,char);
int computermove(char *);
i... | a6f9cd0e83af79afc5c75b0ebed9fec2a733dfd6 | [
"C"
] | 1 | C | radishrp/TicTacToe | 4f4d7a647425c8d028d9a1f4666844fa82f1897a | 6ff1795415865769f465862fe28b42354be40f16 |
refs/heads/master | <file_sep>This is an android note app, it now supports for taking a note, deleting and sharing the note you take.
<file_sep>package com.yihsi.android.easynotes;
import android.content.Intent;
import android.os.Build;
import android.support.v4.app.ListFragment;
import android.os.Bundle;
import android.support.design.wi... | ca6530b099cc5d40760c5986ca47623acda458c7 | [
"Markdown",
"Java"
] | 5 | Markdown | yihsi/EasyNotes | 9ce689c77e7928904d6c7d4212746f76d37ce37d | 27f136a9e94a6eb62fa60a5b3d505b934a445e09 |
refs/heads/master | <repo_name>alexbur7/MVVM_bar_test_application<file_sep>/app/src/main/java/com/example/mvvm_test_application/model/components/MainActivityComponent.java
package com.example.mvvm_test_application.model.components;
import com.example.mvvm_test_application.model.dagger_models.MainActivityModule;
import com.example.mvvm_t... | 6eb3eb5cfd330de3ad1f00ebc2d33d48ef14bdff | [
"Java",
"Gradle"
] | 16 | Java | alexbur7/MVVM_bar_test_application | ee72dfc384eadfcf8228fefbf0cd137c6225b884 | 88b80476129cd4cd49171a98a60c375d24eb4ae9 |
refs/heads/master | <file_sep>import { Message } from 'discord.js';
import CommandStore from './command.store';
import Logger from '../util/logger';
export type DiscordMessageType = Message;
export type MessagePayloadType = {
readonly command: string;
readonly args: string[];
readonly source: DiscordMessageType;
};
export const a... | ad21995b53e8ff3bad2e7498591b50571451d672 | [
"Markdown",
"TypeScript",
"Dockerfile"
] | 20 | TypeScript | cscareers-dev/discord-chanserv | a242020b4ac5b31c473344755808a777fbbc2d4e | 1c11bddeeba97f934fff757840e0b68605f09c9e |
refs/heads/master | <repo_name>mindis/Simple-Meetup-Client<file_sep>/README.md
Simple-Meetup-Client
======================
A simple Meetup client to be run on local IDE (Eclipse/IntelliJ). It connects to the Meetup API at https://api.meetup.com/, gets the groups for a topic of interest, and then gets past and upcoming events for all thos... | 9545e0fe12eb6e8012bfe017586d6d5ee49a7d0f | [
"Markdown",
"Java"
] | 3 | Markdown | mindis/Simple-Meetup-Client | d1a0e5513cd546e0eafd33841c18d41f4e0479e5 | 3a1db2977290346efa6f4135e5b171c2da58def7 |
refs/heads/master | <file_sep>// Copyright © 2017 Microsoft <<EMAIL>>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, m... | 2d807ff33097afe3d61f316ec86a3cba6389ce19 | [
"YAML",
"Markdown",
"TOML",
"Makefile",
"Python",
"Go Module",
"Go",
"Dockerfile"
] | 91 | Go | zezha-msft/azure-storage-azcopy-1 | e94999941f9e980d7a44f3b61e7028ba776016f4 | 5e093f4bad8729aa8ed215feea8b3636bd813ca1 |
refs/heads/master | <file_sep>#include <iostream>
using namespace std;
int h;
int w;
int age;
void getHeight(){
cout << "Please enter your Height in inches: " ;
cin >> h;
}
void getWeight() {
cout << "Please enter your Weight in pounds: " ;
cin >> w;
}
void getAge(){
cout << "Please enter your Age in years: " ;
cin >> age;
}
vo... | 541961ae400acd3f3b5a7d9c97ddf7d4bed900ea | [
"C++"
] | 1 | C++ | hamza-zoumhani/Training1 | 5d596ce8c164e7df796e5dc30c7878e7e4217fa5 | e16a357279de93efff79acfb022f5863321bf83f |
refs/heads/master | <file_sep>import cv2
import numpy as np
import time
import copy
import os
import glob
import bgs
import sys
import multiprocessing as mpr
from datetime import datetime
from kalman_filter import KalmanFilter
from tracker import Tracker
if __name__ == '__main__':
#FPS = 30
#视频中下部到检测线的距离
... | cc2435972fdda1b7b6e76d5c7404873c67a75a46 | [
"Python"
] | 1 | Python | limeflavour/speed-detector2 | a56043794e393b4ab7e952b55e8bdc187d3cd399 | 1162764fa4a4288fcd2f7bf92c6f61b1f8549aed |
refs/heads/master | <repo_name>Z4P0/csv-land<file_sep>/readme.txt
update config.py to point to the proper locations
then run:
$ python cmi-csv-import
<file_sep>/config.py
CSV_FILE = "cmi-sample.csv"
OUTPUT_FILE = "cmi-sample.json"
| c5e2d252ac5fb61474a69fd17239ef7dd419e5df | [
"Python",
"Text"
] | 2 | Text | Z4P0/csv-land | 461f3afba1568641304c9c5e198db18e1448a481 | c54cded561373b4969bef5b6a57d4eef9619efd6 |
refs/heads/master | <repo_name>franaln/pyslides<file_sep>/aur/PKGBUILD
_pkgname=pyslides
pkgname=pyslides-git
pkgver=20180913
pkgrel=1
pkgdesc=""
arch=('any')
url="https://github.com/franaln/pyslides"
license=('GPL')
depends=('python')
makedepends=('git')
provides=(pyslides)
conflicts=(pyslides)
source=("git://github.com/franaln/pyslides.... | efc136d8a8b9c256b4d354083fd6fd5dff3c100c | [
"Python",
"Shell"
] | 4 | Shell | franaln/pyslides | 4f5554b080d0eaed6557616c7ef4d2659da4d1e2 | f9d74b55d399c2bdc03ecf0df53a043c9a6c2525 |
refs/heads/master | <repo_name>youssefmaged95/Kinect2-Motion-Anaylser<file_sep>/src/components/pages/KinectPreviewPage/KinectNotFound.js
import React, { Component } from 'react';
import { Icon } from 'antd';
import './KinectPreviewPage.css';
class KinectNotFound extends Component {
render() {
return (
<div>
... | 691a1110d81c8e8fc47d10b2b94847b3414be41f | [
"JavaScript"
] | 13 | JavaScript | youssefmaged95/Kinect2-Motion-Anaylser | 07cbc7811315ab5568400ce02a30f6476418d50e | 7d3f1b9e4a0486e2c486dc783d309cc2075848fb |
refs/heads/master | <file_sep>import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { AddressesAddComponent } from './addresses-add/addresses-add.component';
import { AddressesDetailsComponent } from './addresses-details/addresses-details.component';
import { AddressesDetailsResolver } fr... | 921076dd55352c68d48cbb2d651a603b9c77ae85 | [
"Markdown",
"TypeScript"
] | 42 | TypeScript | AleksandraX/CustomerManagementPanel | 31ffe4be0eada422bfae6b73a4afd2488671c7e8 | ef76cac9e9c10cd21c3d5399b2d32d512118f0b3 |
refs/heads/main | <file_sep>package commands;
import utils.Logger;
import utils.TicketAsker;
import java.io.*;
import java.nio.file.Paths;
import java.util.Scanner;
import java.util.Stack;
import utils.Console;
/**
* Execute the script from file
* **/
public class ExecuteScriptCommand extends AbstractCommand{
p... | 5752c3155a757048bba33e3e983ff1f4c5b4b257 | [
"Java"
] | 9 | Java | revolalexander/reslab5 | 0eace9a02dae63012dcd46482f67812f91bccdd8 | ed6c0ef5d2d943785909ad094a4f633e729ddb96 |
refs/heads/master | <file_sep>package org.bihe.service.producerservices;
import org.bihe.service.HandleCommand;
import org.bihe.service.Service;
public class SendAlaramToCoordinator implements Service {
public SendAlaramToCoordinator() {
// TODO Auto-generated constructor stub
}
@Override
public void execute() {
Ha... | b17ea75c41ff7fb175ae36a2bdb91c7a9584661c | [
"Java"
] | 1 | Java | kianhashemi/Client | e5f54593dc69832584f3745dadfb61c04ed996d6 | 6214df1c75a110bd5c9cf774ca0d03d13f0e4e6a |
refs/heads/master | <repo_name>neupok/EfirDataHubClient<file_sep>/src/ru/binbank/efirdatahub/client/DataHubClient.java
package ru.binbank.efirdatahub.client;
import org.apache.http.HttpEntity;
import org.apache.http.auth.AuthScope;
import org.apache.http.auth.NTCredentials;
import org.apache.http.client.CredentialsProvider;
import org.ap... | 1e3adc462e034761417a4ceeb22dd833a3640767 | [
"Java"
] | 3 | Java | neupok/EfirDataHubClient | fa2e69bd4c20f0098c95cb2717142888b1d4971e | a5aa8275767423f2ba385e16c8e31c6f29bb783f |
refs/heads/master | <repo_name>JiaxianGu/waseda-AI-lecture<file_sep>/programming3/fnn.py
import numpy as np
# sigmoid: sigmoid function for matrices
# Parameters
# X: np.ndarray with shape [M, N]
# Output
# Y: np.ndarray with shape [M, N] s.t. Y[i,j] = sigmoid(X[i,j])
def sigmoid(X):
Y = X
# TODO: IMPLEMENT ME
pass
... | 61743c863cc894f10d8919ccf7b97c98f13be335 | [
"Python"
] | 1 | Python | JiaxianGu/waseda-AI-lecture | 568eae15bbd0fba40562910a943c6aa84fab831e | d5ff8efd33fa3631762b137c49b7ae53a64bff3f |
refs/heads/master | <repo_name>CaitSith2/KTANE-Mods-Samfun<file_sep>/Skewed Slots/Assets/SkewedSlotsModule/Scripts/SkewedModule.cs
using UnityEngine;
using System;
using System.Collections;
using BombInfoExtensions;
using System.Collections.Generic;
public class SkewedModule : MonoBehaviour
{
public GameObject[] Slots;
public KMS... | 84b303e4b0e0ae5604e856ce8f32a7cc52fb2088 | [
"C#"
] | 6 | C# | CaitSith2/KTANE-Mods-Samfun | 2a8f928b9af94297aad356b4f47eb1caa45301f0 | 968f52426ebe00b0abab08d1b58618d21d742f28 |
refs/heads/main | <repo_name>justin95214/c-add-add-study<file_sep>/c++study3/main.cpp
#include<iostream>
#include "Circle.h"
using namespace std;
int main() {
Circle circleArray[5];
circleArray[0].setRadius(10);
circleArray[1].setRadius(20);
circleArray[2].setRadius(30);
circleArray[3];
circleArray[4];
for (int ... | 9cd66137843e57b169d6d9b7a76daf0079d58d1c | [
"Markdown",
"C++"
] | 17 | C++ | justin95214/c-add-add-study | 1e28c8a28a753f888fc62457df8b32cd6d251bd6 | be28edf350a1c2c9aa1a5e94072c6cdac49052d5 |
refs/heads/master | <repo_name>zeroasterisk/react-dump-simple<file_sep>/src/stories/index.js
/* eslint react/jsx-filename-extension: 0 */
/* eslint import/no-extraneous-dependencies: 0 */
import React from 'react';
import { storiesOf } from '@kadira/storybook';
import Dump from '../index';
import geojson from './geojson.json';
storiesOf... | f1fa9eedb2de1388380560e2ed61eb55c699091a | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | zeroasterisk/react-dump-simple | dba3ef7d0722da8a187f545aba5794283159efce | 489a24457c388d4c7d124937b3f58eac8c5ee824 |
refs/heads/master | <file_sep>package com.sales.g10.response
data class ImageBody(
val account_id: Int?,
val account_url: String?,
val ad_config: AdConfig?,
val ad_type: Int?,
val ad_url: String?,
val animated: Boolean?,
val bandwidth: Int?,
val comment_count: Int?,
val datetime: Int?,
val descript... | 8892c541dcb2f26a9127127e7e1db1489fcff36a | [
"Kotlin",
"Gradle"
] | 21 | Kotlin | jnpallav/G10-work | d1bf9c73680d2f49a60f75d9325e2eecd10da47f | a4b3da6e390fdbdee75f61405dc467c10ae0b47d |
refs/heads/main | <file_sep>import http, { request } from 'http'
import { Server } from 'socket.io'
export default class SocketServer {
// #io membro privado
#io
constructor({ port }) {
this.port = port
}
async start() {
// for default my route is private
const server = http.createSer... | 59231a01150d44e4a5d7761f04522e401177acf3 | [
"JavaScript"
] | 2 | JavaScript | anabneri/clubhouse-clone-js-expert-week | ed2f04af6393c920089f235552f187feeb1c2b2e | f83303c9e6d09d222a75c8d815db95a105f7100d |
refs/heads/main | <file_sep>#!/usr/bin/env bash
XOW_REPO=https://github.com/medusalix/xow.git
if grep -qs "ubuntu" /etc/os-release; then
os="ubuntu"
elif [[ -e /etc/os_release ]]; then
os="pop"
elif [[ -e /etc/os-release ]]; then
os="solus"
elif [[ -e /etc/debian_version ]]; then
os="debian"
else [[ -e /etc/fedora-release ]];
... | 361d69107fd80e7c9276ba4cc78c9d806ae87ab1 | [
"Markdown",
"Shell"
] | 2 | Shell | cWashington91/xow-install-script | cd938dd951c368e7b95a33ab50e714f3ca80e989 | 5599477b6ec8629968fb6a555e64fa3cabee996d |
refs/heads/master | <repo_name>saieedgeorge0/finalschedule<file_sep>/README.txt
This is a little thing I whipped up that uses the Twilio API to allow University of Chicago students to text their classes to a number and have it text them back the location, date, and time of that final.
<file_sep>/requirements.txt
gunicorn==19.4.5
virtualen... | 46f41f457533d099048e8af0bcfca96200d93d34 | [
"Python",
"Text"
] | 3 | Text | saieedgeorge0/finalschedule | e855ead3427ca3a597c44dd795a2185292565356 | 3d2893d0d2864165d3e381facf1053acba2d2237 |
refs/heads/master | <repo_name>pscheil/PTXQC<file_sep>/inst/reportTemplate/PTXQC_report_template.Rmd
---
title: "ProTeomiX (PTX) Quality Control (QC) Report"
output:
html_document:
mathjax: null
number_sections: yes
toc: yes
pdf_document:
toc: yes
---
<!-- the TOC (table of content) will go here - use 'toc: no' above... | 4a553bddec172c97639c946d47dad012847d05a1 | [
"R",
"RMarkdown"
] | 4 | RMarkdown | pscheil/PTXQC | e4d37b8a83546262f3694965ad1985b1478b541c | 2e9791361aaa1f11589282e5579b2fec31cafe5d |
refs/heads/master | <repo_name>mat013/eclipseprefs<file_sep>/bash/.bash_aliases
alias gg='git gui &'
alias ggg='gitk &'
alias gosources='cd ~/sources'
alias govagrant='cd ~/vagrant'
<file_sep>/bash/bash_aliases
alias gg='git gui &'
alias ggg='gitk &'
alias gitchanges='git log -p --'
alias gitundo='git reset HEAD~'
alias gosources='cd ~/... | bbe0b43d38801fa605170f6bf6c554b45f598ece | [
"Shell"
] | 2 | Shell | mat013/eclipseprefs | 469f4215f1cb783b9b1b8b9dc6dcf719632f851f | a4e203f51c58340addef895b5f2dd2337b963240 |
refs/heads/main | <repo_name>hzh595395786/wsc_django<file_sep>/wsc_django/wsc_django/apps/config/migrations/0001_initial.py
# Generated by Django 3.1.6 on 2021-06-06 12:54
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrati... | 65f856bb3c782fe2fec794192260d5b7aa997ef3 | [
"Python",
"INI"
] | 151 | Python | hzh595395786/wsc_django | c0a4de1a4479fe83f36108c1fdd4d68d18348b8d | 0c8faf0cac1d8db8d9e3fa22f6914b6b64bf788b |
refs/heads/master | <file_sep># Ride: Tasks web application
This module adds a UI to run different time-consuming tasks.
## Task
The _Task_ interface is what you need to implement for each task you want to offer.
You can inherit from _AbstractTask_ to omit the obvious functions.
### Define Your Task
To make the application know you... | c960657242037f11e99781c0f5fc6fc819da6cc7 | [
"Markdown",
"PHP"
] | 4 | Markdown | all-ride/ride-wba-task | a3f02a3ae59dd7fe518b4521a099da14cf290ca0 | 74469b5ecac6e1c342d50e95660104be540fbdec |
refs/heads/master | <file_sep>import {Component, OnInit } from '@angular/core';
import {ActivatedRoute, Params} from "@angular/router"
import { OfertasServico } from '../../ofertas.service';
import {Oferta} from "../../shared/oferta.model"
@Component({
selector: 'app-onde-fica',
templateUrl: './onde-fica.component.html',
styleUrls... | e9f80089fadfee0052f834364498e07efbc0a2b8 | [
"TypeScript"
] | 8 | TypeScript | detarso7/angular-front-compra-coletiva | aa84f7f8755a5d724fcaf844347598610a309864 | aece5d8d56eb3846558f20271205565f20311f4f |
refs/heads/master | <file_sep>module.exports = (sequelize, Sequelize) => {
const users_device_token = sequelize.define('users_device_token', {
device_id: {
type: Sequelize.STRING
},
user_id: {
type: Sequelize.BIGINT,
},
}, {
classMethods: {
associate: (mo... | 54bac8887bed26d53c1ef1deef4d5fa0f58c9f0c | [
"JavaScript",
"Shell"
] | 35 | JavaScript | khushal123/Hyperlocal | 2a93ebf152b860b610e40bdbe8f34100aa26af13 | 5fc263154d8862018515a1713eb4de60f107f40b |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.