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>kamal09rumba/ReactJS<file_sep>/forms/src/components/FormPractice.js
import React from "react"
const FormPracticeComponent = (props) => {
return(
<div>
<form onSubmit={props.handleSubmit} className="form-group">
<label>First Name:</label>
... | 8500b75d9857ca2c81450f40adacf926f8beba42 | [
"JavaScript",
"Markdown"
] | 17 | JavaScript | kamal09rumba/ReactJS | b05e947d0507c5671b7ff002d6302616f5dfc950 | 251fa8115dbf018124dca7d09a637f8e692f2742 |
refs/heads/master | <file_sep># 一个vue-table的组件
### 说明:
#####1.基于element-ui开发的vue表格组件。
####功能:
1.表格支持树形数据的展示
2.行拖拽排序
3.单元格拖拽排序
### 使用方法:
#####1.下载npm包:
#####你的VUE项目的根目录底下运行:
``` sh
npm install ele-table
```
#####2.引入本npm包并注册为vue的组件:
> 例如:在需要使用的vue页面中:
``` html
<template>
<!-- 里面写ele-table组件-->
<ele-tab... | cd0c65eeba39f5a21b6688f045698ab974763764 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | xuyanming/ele-table | d44ee19d47ab497e9b06a1637500be34353f29f0 | 521088b81635d0749f1bc1697fc61e973f2913f3 |
refs/heads/master | <file_sep>url=jdbc:oracle:thin:@kontas2101etl.cbzkbupjh0xq.us-east-1.rds.amazonaws.com:1521:ORCL
username=alikontas
password=<PASSWORD>
<file_sep>package dev.kontas.exceptions;
public class InappropriateCharacterException extends Exception{
}
<file_sep>package dev.kontas.daotests;
import static org.junit.jupiter.api... | 288f622cdf9743f28f6426aa842563b8375533a1 | [
"Java",
"INI"
] | 13 | INI | baturhankontas/RevatureBankApp | 2c5cd5918f4747cc8b7168291c3898ca3ff2c478 | 61b775d2d57cda5b955ed2d0672df74a79a9119f |
refs/heads/master | <repo_name>JaeKeoung/kcc<file_sep>/PhpProject1/kccSignInView.php
<?php
include 'sub3.php';
show_all_record($pdo);
?>
| fab92257239f9c662c152c3247c53e66c8999ad4 | [
"PHP"
] | 1 | PHP | JaeKeoung/kcc | f6533dc4e83a698cc0c080b312cd0cd5c22ed087 | 0007f0ca8a19480e96f61a9feb4b4eccd2a14d5c |
refs/heads/master | <file_sep>Procedural Cave Generator
-------------------------
Tool to generate Cellular Automata based caves procedurally using primitives
Description:
------------
The tool enables a custom "Cave Generator" menu to launch an editor window that lets the user generate procedural caves based on the cellular automata mod... | 4549bc4fb792beb23ae498b26dcb126feee1cea7 | [
"Markdown",
"C#"
] | 8 | Markdown | parag-padubidri/CaveGenerator | d183028b31809b743339fb1ea4272346077a98f6 | 40ee95453b9f07b596eae037c5f7611fbc7a3b91 |
refs/heads/master | <file_sep>import React, { Component } from 'react';
import { Link } from 'react-router'
class Header extends Component {
render() {
return (
<div className="header clearfix">
<nav>
<ul className="nav nav-pills pull-right">
<li role="presentation"><Link to="/" activeClassName=... | dbd69d91c205779eb00f49411878a374333d8cad | [
"JavaScript"
] | 3 | JavaScript | mathloureiro/first-app-react | 74f2b688807190191a6ff5567dba4d37e3b3eefc | 6592ac767dfc78366d18fc8bc41f04ce1676eb95 |
refs/heads/main | <file_sep># cdk8s+ (cdk8s-plus)
### High level constructs for Kubernetes
<br>

**cdk8s+** is a software development framework that provides high level abstractions for authoring Kubernetes applications.
Built on top of the auto generate... | df42c08b37121f092c73005a1cee21a2e69aed1b | [
"Markdown",
"Go Module",
"Go"
] | 5 | Markdown | cdk8s-team/cdk8s-go | 0a599153938e9d49ef7c42f8d619ec712cede510 | 3a560523bc8299ca260cc06b4588fb0ed56c5e31 |
refs/heads/master | <file_sep># Jenkins_the_DnD_Bot
Jenkins is a discord bot that helps me dm. He still under construction, but can roll dice and show the players' stats and skills.
Jenkins is written in JavaScript using NodeJS.
## Features
Jenkins' features range from keeping track of the party and players' gold, calculating all derive... | f99390522ca2144ef5969de58f700ee116b6c6a4 | [
"Markdown",
"JavaScript"
] | 4 | Markdown | jac21934/Jenkins_the_DnD_Bot | c081a64d314093704755db3c031a48ec3c6ac562 | a2734bc94ef14f121109bca98587688e053991c5 |
refs/heads/master | <file_sep>#![no_std]
#![no_main]
#![deny(unsafe_code)]
use cortex_m::asm::delay;
use stm32f4_playground as _; // Global logger + panicking-behavior
use stm32f4xx_hal::{prelude::*, pwm, stm32 as device};
#[cortex_m_rt::entry]
fn main() -> ! {
defmt::info!("Plug your RGB LED into PA8-10! Don't forget current limiti... | c8e5a74cebb6e1e796de9028da231428e9799d28 | [
"TOML",
"Rust",
"Markdown"
] | 19 | Rust | yusefkarim/stm32f4-playground | 4cd4cc0d55b8f443d8ed321266cc9dab8eadfad1 | 44d1cb807f20b77febb4be645c315a62e6480fc6 |
refs/heads/master | <repo_name>MartinThoma/pyspell<file_sep>/pyspell/get_special_chars.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Get all 'special' characters in a text file."""
from builtins import open
import os
def main(filename):
with open(filename, encoding='utf-8') as f:
content = f.read()
chars = {}
... | a1f8d77d92cd797e39e24a263a51db6d81749562 | [
"Markdown",
"Python",
"Makefile"
] | 10 | Python | MartinThoma/pyspell | 642d9ed4159b4a99479b0fc5415432e26c9d7778 | 21ff0a6e0977e62e784fbe6857169b3c6ce9614e |
refs/heads/master | <repo_name>smacneil1/bild_signatures<file_sep>/Rmarkdowns_scripts/ICBP/25Feb15_ICBP__correlation_bootstrap_wej.Rmd
---
title: "Pathway Predictions/Drug Response Correlations"
author: "Shelley"
date: "February 9, 2015"
output: html_document
---
Read in the single and multi-pathway ASSIGN predictions
```{r}
set... | 39e0b816e3e9191db1d67298ecc2ae24b0f96bfb | [
"R",
"RMarkdown"
] | 14 | RMarkdown | smacneil1/bild_signatures | aa016a74d34bc7e894640a40de6838926435be31 | ce7ce861bc5af85825099885817145d7794f9fee |
refs/heads/master | <file_sep>package test.spring;
import org.apache.tomcat.InstanceManager;
import org.apache.tomcat.SimpleInstanceManager;
import org.eclipse.jetty.apache.jsp.JettyJasperInitializer;
import org.eclipse.jetty.plus.annotation.ContainerInitializer;
import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.server.han... | dd71377611e8dad57f32d5c22fbecfc9017d7440 | [
"Markdown",
"Java"
] | 7 | Java | Aulust/example-servlets | de10d9263e3c5c9998389da101d81405b66f1c5d | f141135f598bb80e4f626fa86fa1467251a0f965 |
refs/heads/master | <repo_name>Jesse2131/Proxy-Cache-Server<file_sep>/echo/CacheHandler.java
package echo;
import java.net.Socket;
import java.util.*;
public class CacheHandler extends ProxyHandler {
protected Correspondent peer;
private static Cache cache = new Cache();
public CacheHandler(Socket s) { super(s); }
public CacheHan... | da3b0355cf93034a747e8758364a3e3bae00540b | [
"Java"
] | 2 | Java | Jesse2131/Proxy-Cache-Server | 83ceb95791ef3192c7da0cd8f8625220c99b77c7 | f565d5c19732e83641be7c9f806a3cb05f313d03 |
refs/heads/master | <repo_name>Mitsos83/GrabThatDesktop<file_sep>/GrabThatDesktop/Form1.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Drawing.Imaging;
using System.Runtime.InteropServices;
using System.Text.RegularExpressions;
using System.Threading;
using System.Thread... | 6ca6430e160c1177b2f8c94541eb5788b628ca12 | [
"C#"
] | 1 | C# | Mitsos83/GrabThatDesktop | 3c04ca91358d6433a0569c212d1daf1313fd554f | 37698b84ab40580a8ef4b0f610e7136b743bbf20 |
refs/heads/master | <file_sep>import React, {useState, useEffect} from "react";
export const MoviesTable = () => {
const [movies, setMovies] = useState([])
const fetchMovies = () => {
setMovies([
{id: 1, category: "Documentary", price: "$49.99", stocked: true, name: "Pulp Fiction"},
{id: 2, catego... | bbca33111c88d38bf1e50937f91521237cefa07b | [
"JavaScript"
] | 4 | JavaScript | manhengest/react-start | c9ee89b17e09d18cd933d77bc56b564de0cb3bbb | dd58951056154358eddaa9005b856bf530895923 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Text;
using SDL2;
using static SDL2.SDL;
using static SDL2.SDL_image;
namespace ProcSharpCore
{
class ContentManager
{
Dictionary<string, IntPtr> images = new Dictionary<string, IntPtr>();
IntPtr renderer;
string c... | f2f212eb95a6537e1c6e0893b2908d5df948d778 | [
"Markdown",
"C#"
] | 16 | C# | simoneddeland/proc-sharp | 2c471d64a9d2ed49c3a4722b4117d424177d161b | f563c3d5a066d67b793f0c28424f9e19a8ddd7ac |
refs/heads/master | <repo_name>gruns/aiohttp<file_sep>/docs/websocket_utilities.rst
.. currentmodule:: aiohttp
WebSocket utilities
===================
.. class:: WSCloseCode
An :class:`~enum.IntEnum` for keeping close message code.
.. attribute:: OK
A normal closure, meaning that the purpose for
which the conne... | 4a253cd3e3997377054d8cadeae8b534697a58f2 | [
"TOML",
"Python",
"Markdown",
"reStructuredText"
] | 50 | reStructuredText | gruns/aiohttp | 055c5342d5249ee508be693a76260553f9faa21d | 1087f044f456d28aa2c3be7918a0bce4de3e518e |
refs/heads/master | <file_sep>module github.com/taylorza/go-ratelimiter
<file_sep>package ratelimiter
import (
"sync"
"time"
)
const defaultRefreshPeriod = 10
// Limiter used to limit the rate at which work is done
type Limiter struct {
tpp float64
tokens float64
m sync.Mutex
c *sync.Cond
t *time.Ticker
d... | 96a426bbe903c1054400bd8e040702965b22734a | [
"Go",
"Go Module",
"Markdown"
] | 4 | Go Module | taylorza/go-ratelimiter | 68135e78bcb9c966f977cdb38a0857b267f1a63d | 3cb012a8ad65ea7f62438253bf3303b8283a586c |
refs/heads/master | <repo_name>cokesnort/readme<file_sep>/spec/factories/authors.rb
FactoryGirl.define do
factory(:author) do
first_name { Faker::Name.first_name }
last_name { Faker::Name.last_name }
trait(:book_author) { author_type 'book_author' }
trait(:translator) { author_type 'translator' }
trait(:do... | c98de3221c3d1e06b0a7c5ca64183e7b058d473f | [
"Ruby"
] | 17 | Ruby | cokesnort/readme | 91df7439bb5cd83feb39468fb4d83618690254a5 | 76636dc0ff071a05fcc27ae509a901a08addb457 |
refs/heads/master | <repo_name>farhadrgh/torchani<file_sep>/test_requirements.txt
tb-nightly
tqdm
ase
h5py
pillow
pkbar
<file_sep>/ci/install_dependencies.sh
#!/bin/bash
python -m pip install --upgrade pip
pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
pip install tqdm pyyaml future... | fa6cd69bd663d901b4fe84221433f0361b5a6e66 | [
"Python",
"Text",
"Shell"
] | 4 | Text | farhadrgh/torchani | fb2072c926b2e2facbe8de108c345ce2c15da50a | 7ec812d39af2cef00e412e5a29079524ffce5f28 |
refs/heads/main | <file_sep>import "./App.css";
import TVSeries from "./components/tvSeries";
import { FormattedMessage } from "react-intl";
function App() {
return (
<>
<header>
<h1>
<FormattedMessage id='TVSeries' />
</h1>
</header>
<hr></hr>
<main>
<TVSeries></TVSeries>... | b56e36542c58d6f936e64656bf3c34142c0a8795 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | jjpenad/WEB_Parcial2 | dca692cb8d4c786662bcdfa9db3374fbafcaf984 | 5e21e8827cda444af37df2b207788cf1425e3a16 |
refs/heads/master | <file_sep>require 'spec_helper'
RSpec.describe "when running hosts" do
include_context "demo context"
it "collects uptime" do
on(hosts, 'ping -c 1 server')
end
it "has free memory" do
on(hosts, 'free -m')
end
end
<file_sep>require 'logger'
require 'fileutils'
require 'bolt'
require 'bolt/cli'
req... | a25b0b00b65ef03374e99dd8ec2161a766515fef | [
"Ruby"
] | 7 | Ruby | joshcooper/flask | 8cfa340b8987d146c18a29fb425413c7ce498461 | a64670199a6fe00599e7f8432e830654d4a98e52 |
refs/heads/master | <repo_name>chrisands/rust_learning<file_sep>/3.5.1.fahrenheit_and_celsius/src/main.rs
use std::io;
fn main() {
let mut f;
loop {
println!("Convert fahrenheit or celsius? (f/c)");
f = String::new();
io::stdin().read_line(&mut f)
.expect("Failed to read line");
if ... | 00c0e740355cd84571f5123015681349c23cd1ef | [
"Markdown",
"Rust"
] | 3 | Rust | chrisands/rust_learning | 1d5461eb5871c2c6e170f70bf36626498a6b4ee5 | 1ea7807b361718e580d2d8a94af45a77ecf6422f |
refs/heads/master | <file_sep>package com.example.wladek.wira.activity;
import android.content.Context;
import android.os.Bundle;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AppCompatActivity;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
i... | aa2661392670ccd98dc10357ee740f750c0744f9 | [
"Java"
] | 6 | Java | wladekAiro/WiraMobi | bceaecf64c925210ca830078b1bf6d3b39c680a4 | db4fc8e3b5bed9c3cf94308731cab30ced75b6cf |
refs/heads/master | <file_sep># -*- coding: utf-8 -*-
##########################################################################
# NSAp - Copyright (C) CEA, 2019
# Distributed under the terms of the CeCILL-B license, as published by
# the CEA-CNRS-INRIA. Refer to the LICENSE file or to
# http://www.cecill.info/licences/Licence_CeCILL-B_V1... | 33bc09ad9a350cb421a8f7f6bc6368c3a38838ca | [
"Python"
] | 1 | Python | HChegraoui/pynet | 3e26f7992e5b6954f637e3a68e4766f3886e2ce9 | 095113e1b71ddabe871e6c75e19e33caf362abd9 |
refs/heads/master | <file_sep>package com.yunjishi.lixiang.yunjishi.service
import com.yunjishi.lixiang.yunjishi.presenter.data.bean.DemandDetailBean
import com.yunjishi.lixiang.yunjishi.presenter.data.bean.SubmitOrderBean
import io.reactivex.Observable
interface OrderDetailService {
fun getDemandDetail(string1: String,string2: Stri... | 4750dbb1cc1bc663d3c2e5a4803d6ce5fe74ddc5 | [
"Java",
"Kotlin",
"Gradle"
] | 46 | Kotlin | lixxxiang/yunjishi | 3a8f78b777ef2ff4b53c336d16ae479def461e1f | a2550fa7a7f766819f35f4dce77d31fd8f8dc85e |
refs/heads/master | <repo_name>Dazzingdusk/external-hub<file_sep>/Hello/hello.cpp
#include<iostream>
int main(void)
{
char Author[] = "Smile";
char saying[] = "Hello";
std::cout << saying << " good,night " << Author << std::endl;
return 0;
}
<file_sep>/Hello/hello.c
#include<stdio.h>
//First repleace
int main(vo... | 3e445dc54c32786c44ac1c65f75ea339f6288dcc | [
"Markdown",
"C",
"C++",
"Shell"
] | 4 | C++ | Dazzingdusk/external-hub | 9ea25cb5933e250d160fbca647219781146a2385 | 2dff75ddc8092bdd3d3186c899469dfee2191550 |
refs/heads/master | <repo_name>jrbeverly/Server-Quickstart<file_sep>/README.md
# docker-quickstart
A collection of docker environment setup
<file_sep>/gogs/setup
#!/bin/bash
GOGS=/prj/gogs/
USERNAME=docker-gogs-user
USERGROUP=docker-users
echo "Creating directories"
sudo mkdir -p $GOGS
sudo chmod -R u+rwx,g+rwx,o+rwx $GOGS
echo "Crea... | f38e0378c9162d5e1318f47e7c81a539d730b5d2 | [
"Markdown",
"Shell"
] | 4 | Markdown | jrbeverly/Server-Quickstart | c1428088a5cf22e08ef1ce7f771a35426609f18f | cd6a5e3f527b197eb01818a7a22b97b56186904f |
refs/heads/master | <file_sep>
function menuClicker(j){
let res = (e)=>{
dash.destroy();
dash = new Control(app.node, 'div', 'basic_block dash_wrapper', '');
app.category = j;
category.textContent = cards[0][j-1];
catDescription.textContent = "Use listen button to learn word and rotate button to... | 3cf441fdce202f563f319c7dccb9af1dc6c85eac | [
"JavaScript"
] | 2 | JavaScript | InikonZS/govnocode | 46f0e642d0612be6ed01c22760cdb13c1ecc8193 | 676f45e945f72a6cb169627c064dba29d63a8ef0 |
refs/heads/master | <file_sep>#!/usr/bin/env python
"""
Hodor.
"""
__version__ = 'Hodor.'
__author__ = 'Hodor.'
__copyright__ = 'Hodor.'
# Hodor.
HODOR = 'Hodor.'
class Hodor(object):
"""
Hodor.
:param hodor:
Hodor.
"""
def __init__(self, hodor=HODOR):
self._hodor = hodor
def hodor(self):
... | 4edbd9dd72050135e80e4ee844a2edc0b1a3afe0 | [
"Python"
] | 1 | Python | laco/hodorpy | 5aaa17e0cb8bb6a6c4fd28ca0b9a3029e55dc833 | c8b6b072d788206ec592b203440bbc7476eace77 |
refs/heads/master | <repo_name>alfiemitchell123/drum-sequencer<file_sep>/initialise.js
var counter;
var filters = [];
for (counter = 0; counter < 8; counter+=1) {
filters[counter] = new Tone.Filter(0, "highpass");
}
var distortion = [];
for (counter = 0; counter < 8; counter+=1) {
distortion[counter] = new Tone.Distort... | 7deed401c613f53117052dc49b749518c7392766 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | alfiemitchell123/drum-sequencer | db27bad345738a5abfcdf3a6126d53f6824faa2c | dba99cf9565bcb319231b7dce672f96fec40a33a |
refs/heads/master | <repo_name>MeghanaAnvekar/pset7<file_sep>/public/buy.php
<?php
// configuration
require("../includes/config.php");
if ($_SERVER["REQUEST_METHOD"] == "GET")
{
// else render form
render("buy_form.php", ["title" => "Buy"]);
}
// else if user reached page via POST (as by sub... | 45d97d861520932a4f2146e097ef5401063a1331 | [
"Markdown",
"PHP"
] | 9 | PHP | MeghanaAnvekar/pset7 | 733319ba910bd47e9eb3521177c315efe1d5add0 | 6e60fe9b6f99c2d4bb48b1ff11a911b091ce8008 |
refs/heads/master | <file_sep># these magic numbers come from the IANA considerations of RFCXXXX (ietf-cose-msg-24)
module Cose
class Msg
# from table 2: Common Header Paramters, page 15.
# https://www.iana.org/assignments/cose/cose.xhtml#header-parameters
ALG = 1
CRIT = 2
CONTENT_TYPE = 3
KID = 4
IV = 5
... | fe89b797ca363952be8c3eb9b544b2e48b0ff861 | [
"Ruby",
"Shell"
] | 5 | Ruby | AnimaGUS-minerva/ChariWTs | 02de3f8884fb55451ffed79dcb710c731f6caec1 | 02c6f5a81c4d32f572dc4bcf22f78bd12b037655 |
refs/heads/master | <file_sep># Timesuperin
Timesuperin 은 '**Time Superin**tendent (시간 관리자)'의 줄임말로써 시계열 데이터 분석 및 이상 탐지를 위한 라이브러리입니다.
시계열 지표를 이벤트 정보와 트렌드를 고려하여 회귀 모델을 생성하여 향후 지표의 변화를 추정하고, 이렇게 추정된 결과와 크게 차이가 발생하는 이상 현상을 탐지하는 기능을 제공합니다.
## 설치 방법
timesuperin을 사용하기 위해선 먼저 아래 라이브러리를 설치해야 합니다.
* Rcpp
* rstan
* BH
위 라이브러리가 설치된 상태에서 아래 코드를 실행... | 0f5383343028e98837c84c6455be2fcc15627b26 | [
"Markdown",
"R"
] | 2 | Markdown | danbi-ncsoft/timesuperin | 2fef6fa48299e597981e4ce082283180e972b2ef | 5d002e1040b2f282664bcd74ace3b1fcfbbf6008 |
refs/heads/master | <repo_name>Sulemandar/API<file_sep>/WebAPICURD_Demo/Controllers/EmployeeController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using WebAPICURD_Demo.Models;
namespace WebAPICURD_Demo.Controllers
{
public class EmployeeContro... | c1e6de31bb90cf9253af41366a1e1e0ffbc283d3 | [
"C#"
] | 1 | C# | Sulemandar/API | 716357cd74aff53ce7734e8854acac2d07636c68 | 474a4c4336c2c4847564ea8d98d34b141df5b42b |
refs/heads/master | <repo_name>TheVarunGupta/MapReduce<file_sep>/README.md
<!DOCTYPE html>
<div>
<h2>Intro to Hadoop and MapReduce - Udacity</h2>
<p>Link to the course-- </p><p><a href="https://classroom.udacity.com/courses/ud617">https://classroom.udacity.com/courses/ud617</a></p>
<p>The codes in this repo are only related to the p... | a45f638b77950fa200d47e440566bd52837ad2bb | [
"Markdown",
"Python"
] | 2 | Markdown | TheVarunGupta/MapReduce | 927b84a8ed1ad86dfcad3a60853d296970772749 | 84d1510d921d45f742f74056b2accfa5f50217af |
refs/heads/master | <repo_name>angelhackhackers/food-mesh-app<file_sep>/src/config/styles.js
'use strict';
import {StyleSheet} from 'react-native';
import color from '../constants/Colors';
// this is some random color name
var food='#ffffff' //green#73c700
var lightFood='#fefefe'
var lighterFood='#ff9f99'
export default StyleSheet.cre... | e311aab2b1971f80b56e6266ac2dfd9eebfbcb56 | [
"JavaScript"
] | 7 | JavaScript | angelhackhackers/food-mesh-app | c430b5cb57d4f89f9072eedd326dd6cfc190f4d0 | 4f83a5d35ffbfea534569793ac3b1bb508cac426 |
refs/heads/master | <repo_name>laozhoubuluo/discuz_ranklistlimit<file_sep>/laozhoubuluo_ranklistlimit.class.php
<?php
if(!defined('IN_DISCUZ')) {
exit('Access Denied');
}
class plugin_laozhoubuluo_ranklistlimit {
public function common() {
global $_G;
// 开关关闭或不是 SPACECP 模块时直接返回 array() 结束 Hook
if(CURMODULE != 'spac... | 3a62d16ff744392f601d454d5f2972b441c9c769 | [
"Markdown",
"PHP"
] | 2 | PHP | laozhoubuluo/discuz_ranklistlimit | d8c3192be9169d558afe688380dc3c717de09ce2 | f16d9146eb63cfaa9ef2d5cc2f4c6e111fcbb983 |
refs/heads/master | <repo_name>nickest14/colossus<file_sep>/migrations/schema.sql
--
-- PostgreSQL database dump
--
-- Dumped from database version 11.5
-- Dumped by pg_dump version 12.3
SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_str... | 45a122f1711501296b73065f891e3424da9f620b | [
"SQL",
"Go Module",
"Go"
] | 11 | SQL | nickest14/colossus | 2c87d8fed08617ba954c931acbaf893659e90d25 | f57f9fd3990b13fe5712b4f541c425ef7dd79496 |
refs/heads/master | <repo_name>Admsol/AngularAdminDash<file_sep>/js/test.js
describe("AngularAdminTests", function () {
var scope, controller;
beforeEach(function () {
module('myApp');
inject(function ($controller) {
controllerInjector = $controller;
});
scope = {};
var smt = c... | ac3667dccda692efd6db673428f1d7a9157d2dbd | [
"JavaScript"
] | 2 | JavaScript | Admsol/AngularAdminDash | 213bad9316409501e33e0d18982fa6bab7df75e8 | 09594ca2b559b8371af8a746df6921f46d9dafd5 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Bottleships.Logic;
namespace Bottleships.Communication
{
public class LocalCommander : ICommander
{
public LocalCommander(ICaptain captain)
{
Captain ... | 9e7a21c98e10ed28360587cad3acc8cc3feefa2e | [
"Markdown",
"C#"
] | 36 | C# | ardliath/Bottleships | e7e8257474299f608c0b23524b2c6f1c17600cc8 | 86af18869031922284eb178e73a5ad19a463be58 |
refs/heads/master | <file_sep>import java.util.Scanner;
public class _1_SymmetricNumbersInRange {
public static String getFirstHalf(String str, int endLoop){
String firstHalfString = "";
for (int i = 0; i < endLoop; i++) {
firstHalfString = firstHalfString + str.charAt(i);
}
return firstHalfString;
}
public... | ce6167785f7b5c09b37d2961eed2e08b1da3bb25 | [
"Markdown",
"Java",
"Text"
] | 18 | Java | GBurlakova/SoftUni---JavaBasics | f0b83ace60a96b64c7e2bd20a68e9300f824a9fa | d15f490a5405596ab2f368e0b7ab95cee85d9a0a |
refs/heads/master | <file_sep>#!/bin/bash
#
# Copyright (C) 2020 RB INTERNATIONAL NETWORK
#
# An Open Source Project
#
# 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/lic... | 654cc4520e40f9cab3dd3ae26bf29a4f8feabc7b | [
"Shell"
] | 2 | Shell | Rohit-zero/android_rom_building_scripts | 546e7fdae61b53e07fa06da9a761f956c3527e75 | 5fdbe8b6e983ca7dac64c93a07852f6352feca11 |
refs/heads/master | <file_sep>package com.wzq.bean;
public class HelloNewIdea {
public static void main(String[] args) {
System.out.println("Hello IDEA 2019,this is WangZhiqiang !");
}
}
| a96b3266835c7c285cfe79ad5adb618375982b7a | [
"Java"
] | 1 | Java | wangzhiqiangcom/codnewIdeaGitTest | 19c8fe3a88d96511d368ef9f273d387e32ebad73 | 04aace656189746cfeae59bd5e2e240ae8e5a9fb |
refs/heads/master | <file_sep>import axios from "axios";
// 유니 코드
const base_url = 'https://api.themoviedb.org/3';
const api_key = '<KEY>';
export const moviesApi = {
nowPlaying: () => axios.get(`${base_url}/movie/now_playing?api_key=${api_key}`),
upcoming: () => axios.get(`${base_url}/movie/upcoming?api_key=${api_key}`),
popular:... | d11bbf256ef4b502f6d21f70d03935eaeb90a5dc | [
"JavaScript"
] | 4 | JavaScript | Rachel4858/nomflix-react-projext | b1fc992e4d71ddb969c88bb58da049cee57f0fbf | ea538589179cc4dcdf7e216298b68a2a0b73e9d9 |
refs/heads/master | <file_sep>const util = require('util');
const Promise = require('bluebird');
const { Pipe } = require('../lib');
// Gets a random integer between 0 (zero) and max
function randomWait(max) {
return Math.floor(Math.random() * (max + 1));
}
// Waits a random period of time before returning a dumb message to the
// cal... | c676cc1230fea787d3e5961ea06f0c082ff5b7ed | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | flitbit/fpipe | 39509c0f4e2c46e62c48a94e15b8ba8ed05c7d77 | 77ab63ed30cdfe4d4677885cf7a27b39b222771b |
refs/heads/master | <file_sep># OgreMapper
A really uggly object mapper, but pretty fast!
**Why is it uglly?**
Because, it will map properties one by one! It's really, really uggly!
**So, how it could be fast?**
It will mapped at compile time instead of runtime like auto mapper does.
Comming soon
-------------
<file_sep>using System;... | d674231639eaf60150735b7bdcd513800cb58270 | [
"Markdown",
"C#"
] | 2 | Markdown | wgasparin/OgreMapper | da2ea560a0f1afcd98e0a86b68051a82fb4b0d3f | 62b3431e9b7f623adb385371f4a57ed226dd5847 |
refs/heads/master | <file_sep>// 读取wx-config/public/static/images/footbar文件夹下的文件夹
// 遍历读取文件夹下的文件,重命名
const path = require('path');
const fs = require('fs')
const basePath = '../wx-config/public/static/images/footbar'
const dirs = fs.readdirSync(path.resolve(__dirname, basePath));
dirs.map(el => {
// fs.rename(oldPath, newPth)
if (e... | 9cfd7cbbc77c9148556f6a97dbe8497f1ed8f7b6 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | yanzhi2016/update-file-content | 7d558b414e9310f2dad6dfe4aa64932b6aab015a | 53d9ac1dd9a246d84ae3111d25ae4f6c8d5663d0 |
refs/heads/master | <file_sep>require("tools-for-instagram");
(async () => {
console.log("\n -- Get last messages from Inbox --\n".bold.underline);
let ig = await login({ inputLogin: "ksihkays" });
let inbox = await getInbox(ig);
inbox.forEach((chat) => {
if (chat.lastMessage.messageContent != undefined) {
console.log(... | f025214ad746bd87ae20b29d60bc25a118855346 | [
"JavaScript"
] | 18 | JavaScript | Syakhisk/males-pp | 8158e1bb76eb799f75a6155d313a0e5eaff0a86b | 2640f1acc12fc521a83574f1b5efb016dc2768fc |
refs/heads/main | <file_sep># used libraries
import requests
import time
import datetime
import csv
from bs4 import BeautifulSoup
# for sending emails
import smtplib
def check_price():
URL = 'https://www.amazon.com/Currently-Unsupervised-Novelty-Graphic-Sarcasm/dp/B01HFFYP8A/ref=sr_1_15?dchild=1&keywords=data%2Btshirt&qid=163343072... | b16cc2bc95fb8516b5cfa034a0a3f657333ee2b7 | [
"Python"
] | 1 | Python | mariaadissa/AmazonWebScraper | a24aecff4b8280db2b0980f9d843e650d23ebc20 | b3fbcf4e2eafa91a9fcf77e5e2578c700021b7fe |
refs/heads/master | <repo_name>DT021/Finhub-App<file_sep>/tracker/view_users.php
<?php
session_start();
if(isset($_SESSION['tracker']))
{
include "inc/header.php";
include "../includes/connect.php";
echo'
<div class="wrapper wrapper-content">
<div class="row wrapper border-bottom white-bg page-heading">
... | dee5af8e00cb217cff696bdf44b17f510c25a8f7 | [
"SQL",
"PHP"
] | 18 | PHP | DT021/Finhub-App | d00ec5cc214e99cdf2942d23917964a8a0e5096b | 1c99be6d33f43c1484f93011c9609aafb266117e |
refs/heads/master | <file_sep>#!/bin/bash
skill fuwu
source ~/.profile
/home/wuxuewu/fuwuqi/base/./fuwu &
<file_sep>#!/bin/bash
skill fuwu
<file_sep>
#include"logicconfigmanager.hpp"
#include "lognamespace.hpp"
#include "enterfunction.hpp"
#include "socketku.hpp"
#include "pthreadstart.hpp"
#include "epoll_ku.hpp"
#inc... | 676a16be9fd9731442ce53559de1f70e96f55f4e | [
"Makefile",
"C++",
"Shell"
] | 11 | Shell | wuxuewulinux/fuwuqi | a4575eae097d6278c47cd13eea24eeb491f64c29 | 594bc423f27feb3742037cf22ce9b537f0bdac25 |
refs/heads/master | <repo_name>tied/js-event-example<file_sep>/src/main/resources/js/toggle.js
(function($) {
// In this extension we add a collapse control to each box
// So, when a box has loaded we add a collapse/expand toggle button to the title bar of the box
$(".example-box").live("example-box-loaded", function() {
... | c8d317f3e744eba6052f184bf687388a3c1a5400 | [
"JavaScript"
] | 1 | JavaScript | tied/js-event-example | 254af95f1908b51f8969895d1c1874a2b02ec946 | d1641b7c5592d49d1799352f3fe548f4e28b5526 |
refs/heads/master | <repo_name>ericgchu/INST126<file_sep>/project2/README.md
# Project 2: Hangman
## Summary
This is a fun hangman game with a twist... You have to guess the encrypted word to discover the decrypted word!
## How It Works
You have 10 chances to guess the word by inputting a letter for every chance.<br/>
Before you gue... | 213ec325bde7a9f2208e06f47e04999c0a686d88 | [
"Markdown",
"Python"
] | 6 | Markdown | ericgchu/INST126 | e743ea19482704a376e29a6bba718c32eedfd9df | 7f2d67b7d08716a3bdd0b0eb627c95e3b5394e39 |
refs/heads/master | <repo_name>Ashwin-Raj18/doc-room<file_sep>/client/src/reducers/profile.js
import {
GET_PROFILE,
PROFILE_ERROR,
CLEAR_PROFILE,
UPDATE_PROFILE,
GET_PROFILES,
GET_ARTICLES,
GET_DPS
} from '../actions/types';
const initialState = {
profile : null,
profiles : [],
researchPublications : []... | db2277ea843a92c41aaf8170de1af6a22fa8fcda | [
"JavaScript",
"Markdown"
] | 7 | JavaScript | Ashwin-Raj18/doc-room | 415683525da93194b1f48c8c261e2ae6666a71cf | 21d17eb7613e3b17484a8279f1cd463ae84e678e |
refs/heads/master | <repo_name>Gerrri/test<file_sep>/test/src/test/test23.java
package test;
public class test23 {
}
| 32b16e7385ef8afb96db74a11066b761075e31c9 | [
"Java"
] | 1 | Java | Gerrri/test | 03c599b3e8f32441edf2f16f90678b243bd62e96 | bd1929e522e182637efcf9ccb4f98cd398f3138a |
refs/heads/master | <file_sep>import { Component, OnInit, Input, ViewEncapsulation} from '@angular/core';
@Component({
selector: 'app-form',
templateUrl: './form.component.html',
styleUrls: ['./form.component.scss'],
encapsulation: ViewEncapsulation.None
})
export class FormComponent implements OnInit {
@Input() title = '';
n... | 2e8af3cd636ddeed158934c6de78722dd9127794 | [
"Markdown",
"TypeScript"
] | 6 | TypeScript | Xenon-Labs/website | 7d751e89dc5052be8067b026547e10ab8418ede1 | 05949b2b5994a59793c0585b2721ec8ecbaaa3de |
refs/heads/master | <file_sep>import argparse
import mechanicalsoup
from discover import discover, print_discover_output
from test import test, print_test_output
from util import find_cookies
def parser_init():
main_parser = argparse.ArgumentParser(add_help=False)
main_parser.add_argument('--custom-auth', nargs='?', type=str)
... | 14e96ff7853a469fe96960aff140f31c2305855b | [
"Markdown",
"Python",
"Text",
"Shell"
] | 7 | Python | mchaelkha/fuzzer | ae0111879776cdc311a57824ddf508704092937d | 9a5fa5e81876fc443177a23aed5434d8a5ec6b6f |
refs/heads/main | <repo_name>calvogeorge/Pewlett-Hackard-Analysis<file_sep>/Queries/queries.sql
SELECT first_name, last_name
FROM employees
WHERE birth_date BETWEEN '1952-01-01' AND '1955-12-31';
SELECT first_name, last_name
FROM employees
WHERE birth_date BETWEEN '1952-01-01' AND '1952-12-31';
SELECT first_name, last_name
FROM employ... | f748c22eb8d1b073f9377517418ed2ede2ffbf4e | [
"Markdown",
"SQL"
] | 3 | SQL | calvogeorge/Pewlett-Hackard-Analysis | 13e185fc19bd7cf4c5d764ce71000ce0ebe55864 | ca18cca30fe067f5b0f30ceeca4e1a56dda9cdcf |
refs/heads/main | <file_sep>#by <NAME> & <NAME>
#using python version 3.6.2
import speech_recognition as sr
#pip install SpeechRecognition
#pip install PyAudio
import webbrowser
import smtplib
import datetime
import getpass
def sendEmail(to, content, userEmail, password):
server = smtplib.SMTP('smtp.gmail.com', 587)
server.ehlo... | 7dfd2619565d60bebf885ec414b9c365c2039336 | [
"Python"
] | 1 | Python | rishabhp0125/HolmesAI | 897440fe728911674f34f31fe68d8926579cd374 | 313651e9694b5bcda8882d2e16d870070651121c |
refs/heads/Custem1.0 | <repo_name>seahorseBra/CustemView<file_sep>/app/src/main/java/Utils/ImageUtil.java
package utils;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Parcel;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.util.ArrayList;
import java.util.Lis... | c2f29d2cf15b820ca5414ed4b2e038b0e4d36110 | [
"Java",
"Gradle"
] | 73 | Java | seahorseBra/CustemView | 9799d3fa332f045e6c1a4ea2fdad2928d3cb7d72 | d4500aa0723972d70f2269d233614b1e375b0c9f |
refs/heads/master | <file_sep># SBReporter
Create excel reports from oracle database
Здесь буду вести проект по созданию отчетов из базы данных Oracle в формате Excel.
Идея такая: для периодической отправки разнообразных отчетов аналитиков
сейчас использую формирование текстовых файлов в sqlplus в формате html
таким способом:
SE... | 7e36954fae6baccf0de1c8c2e1f1303682231cef | [
"SQL",
"Markdown",
"INI",
"Python",
"Shell"
] | 7 | Markdown | sbrazgin/SBReporter | 437730423a92bb240837bc55142ea5606ac7e7c3 | 7192f4ab837aa42a942ef968d7e17ad3fa20af02 |
refs/heads/master | <file_sep><html>
<head>
<!--Credit to caligari87 on reddit for the base code-->
<meta charset="UTF-8">
<title>egblip</title>
<link href="https://fonts.googleapis.com/css?family=Merriweather" rel="stylesheet">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="icon" href="favicon.i... | 4f44e46d1b7d1566df86f1e7cb3a79f562c2dc74 | [
"PHP"
] | 1 | PHP | GregPikitis/egblip.com | 77b1f46f4be3ca1749937260e522481a2d1dbd7c | 164ecee8d101f4ecbcd4e8033258c44050274b4f |
refs/heads/main | <repo_name>alexduboisky/vue-components<file_sep>/src/helpers/mapComputed.js
export default (props) => ({
beforeCreate() {
const ctx = this;
const propsToMerge = props.reduce(
(acc, [names, getter, setter]) => ({
...acc,
...mapComputed(
names,
(field) => getter(field,... | bed96ea43dcf96b0058bf34b799b2c231cd1a9e1 | [
"JavaScript"
] | 2 | JavaScript | alexduboisky/vue-components | 3c05bd10ba7b4b69f3eea50a4694f4969f246aa0 | e32e4cb7d8a7a90476c1d280b94649e0b244c2ca |
refs/heads/main | <file_sep># descripicaduras
Describe tu Picadura & nosotros te decimos que te pico
<file_sep>import web
import requests
import json
urls = (
'/picaduras?', 'Picaduras'
)
app = web.application(urls, globals())
class Picaduras():
def GET(self):
try:
picaduras = web.input()
texto=(... | 3e044e629a7045d1a882025856c7d0582c37bb62 | [
"Markdown",
"Python"
] | 2 | Markdown | katiaOlem/descripicaduras | 33408620afa6dfe2f8866d1c3b20124335a632f7 | 3832503a48ff13080b7e32b1cc888ea36c8cb643 |
refs/heads/master | <file_sep># Other Image Tasks
Code includes starting point and complete code for **NSTDemo** application. This project is a quick and easy way to get started experimenting with TuriCreate and CoreML, with visual output that is fun to test.

## Using NSTDemo
The ... | 30fc5b342daf3530d7d6b4c8d5c6956fb7de30a2 | [
"Markdown",
"Swift"
] | 2 | Markdown | AIwithSwift/OtherImageTasks | 9fe30643194d99f8d618b205f9cf9dca084e9fa3 | 07cc889206225675b7bd52481b999ddce40f6951 |
refs/heads/master | <file_sep>#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Mon Mar 26 19:07:01 2018
@author: noviayou
"""
import numpy as np
#01
C = 0.06 #coupon rate
N = 14 #number of years
I = 0.1
Par = -1000
pv=np.pv(rate=I,nper=N,pmt=C*Par,fv=Par) #present value of given pmt
print ("1.The current bond price is","... | b1a98fed63f337bc2a22a86cf2f1adc0d3c0c29d | [
"Python"
] | 6 | Python | noviayou/Financial-Management | fc013ac1f58191750a10133946f4d05be7fb2e07 | a4f638753670e810a51319aa507e82f7649cdcfe |
refs/heads/master | <file_sep>package com;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name="product")
public class Product {
@Id
private String productId;
@Column(name = "productName")
private String productName;
@Column(name = ... | 7d57fd608dd2ff731ca0728454c98ac38caf0f8b | [
"Java"
] | 2 | Java | lokeshnehete/expertadvice | 56edac09010be68558d468131ae677522af72604 | ef610610f8fd2edc51d6024976159ef633e44b76 |
refs/heads/master | <file_sep>try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'Crop Yield Loss Data Processing Toolbox',
'url': 'https://github.com/nicococo/CropYieldLoss',
'author': '<NAME>',
'author_email': '<EMAIL>',
'version': '0.1',
'ins... | 1fa387efda5a4bb89e3c42611a5ef1b8d29ca563 | [
"Markdown",
"Python"
] | 6 | Python | nicococo/CropYieldLoss | 22e70c95e780df3ac7ba3ce9244d36e97e3f49ca | d773cd7e4653282dc0ab0509a63cfafa02fcee5a |
refs/heads/master | <repo_name>partkyle/gambit<file_sep>/readme.markdown
Party Planning Poker
====================
A simple app written in the express web framework using socket.io for the frontend real-time interraction.
<file_sep>/app.js
/**
* Module dependencies.
*/
require('./lib/object');
var express = require('express');
var r... | c45a6c72d9cf020771c55a702eda197ae4f1b1d8 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | partkyle/gambit | c6471507e11bd682165b150c9e7cb2cb458a4c08 | 19c9f992504cf8d88e6f488f73f31dc759bf32a3 |
refs/heads/master | <repo_name>LanFeusT23/dynamic-import-vue-router-issue<file_sep>/src/main.js
import _ from "lodash";
import VueRouter from "vue-router";
import Vue from 'vue'
import App from './App.vue'
const Landing = () => import(/* webpackChunkName: "Landing" */ "./pages/Landing.vue");
// import ViewPage from "./pages/ViewPage.vu... | b2ad99525e5345952e1f1495ac27928647d048fe | [
"JavaScript"
] | 1 | JavaScript | LanFeusT23/dynamic-import-vue-router-issue | 8d2f52fd79a33c453148c76fad7aac4c7eb0757d | fc0c5b089f5a93d49da2ac43bcac8501aadb9d68 |
refs/heads/master | <file_sep>@(pageName: String)(pageContent: Html)
<section>
<div class="row">
<h3 id="board-n" class="text-center">@pageName</h3>
<p class="text-center">Our creative team is making everything possible</p>
</div>
<div class="row">
@pageContent
</div>
... | c539343d06b984185fe945a3c41432d60088801b | [
"Ruby",
"HTML",
"Markdown",
"JavaScript",
"Dockerfile",
"Shell"
] | 12 | HTML | isacandrei/PlayPin_Distributed_Image_Aggregator | de447bb2b8bf4845d399ab4a0669f2e336c5a4c6 | c58cb551a44f1a2f3f48a1238696d09602522b0a |
refs/heads/master | <file_sep>rootProject.name = 'auto_orientation'
<file_sep>import Flutter
import UIKit
public class AutoOrientationPlugin: NSObject, FlutterPlugin {
public static func register(with registrar: FlutterPluginRegistrar) {
let channel = FlutterMethodChannel(name: "auto_orientation", binaryMessenger: registrar.m... | ca6c859f1edb8cbd9371f65876063c6e148471ef | [
"Swift",
"Markdown",
"Gradle"
] | 5 | Gradle | bytepark/auto_orientation | e5d0553867a1aa5611f81625e324c24c4252e72f | 916ac6daf0a55619dbdb0baf1c5a6df12fbc2d3e |
refs/heads/master | <file_sep>
--
-- Table structure for table `ano_crm`
--
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ano_crm` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`ano_crm` varchar(245) DEFAULT NULL,
`r_auth` int(11) DEFAULT NULL,
PRIMARY KEY (`id... | 3b1cb373a507962c5a3f8b64e0fc763fdddb53b0 | [
"SQL"
] | 1 | SQL | LibrianoLima/SismedFeio | 03fb2744ffc2f6e903b0640a5c09e2df137d8c18 | 2e0bb03927eb6d139362d9e747a679823533d5a0 |
refs/heads/master | <repo_name>PicoisCharlotte/ArgosRaspberry<file_sep>/main.py
from src.models import robot
from src.controllers import video
import configparser
config = configparser.ConfigParser()
config.read('config/config.ini')
def main() :
#robot.getRobot(config)
#video.getUrlVideo(config)
print("it work !!")
main()
<f... | b1a37d05d64fc629867d682c40aa4e32817ab627 | [
"Markdown",
"Python",
"Makefile",
"INI"
] | 16 | Python | PicoisCharlotte/ArgosRaspberry | 5859d4fbb9ed98d8e8362692549cf57c31e75fd2 | cc2dcbc9255f8495594769e6423d2ebba33015cd |
refs/heads/master | <file_sep>package controllers;
import play.*;
import play.mvc.*;
import models.User;
import views.html.*;
import play.data.Form;
import views.html.result.*;
import views.html.signed.*;
import java.util.*;
import models.*;
public class Show extends Controller {
public Result showhome() {
//Get Anime List... | 808e0a23bc0f81e67148f4ea84ac5a483261b715 | [
"Markdown",
"Java",
"HTML",
"SQL"
] | 9 | Java | keima-matsui/AnimeReview | 43959b96c640fb57bbabaec78cd7fa0899d3a904 | b2c19568c66e959747a709b6c1bc28ae8e0507ee |
refs/heads/master | <file_sep>BASE_URL=http://localhost:8080
MONGODB_URI=mongodb://farwhyn:<EMAIL>:13179/mindfirst
SESSION_SECRET=secret
MAILGUN_USER=<EMAIL>
MAILGUN_PASSWORD=<PASSWORD>
SENDGRID_USER=hslogin
SENDGRID_PASSWORD=<PASSWORD>
NYT_KEY=9548be6f3a64163d23e1539f067fcabd:5:68537648
LASTFM_KEY=<KEY>
LASTFM_SECRET=is cb7857b8fba8... | ec4239dcd5b23fa1dc2bf1325518d5ea5e02d4d0 | [
"JavaScript",
"Shell"
] | 2 | Shell | CyrusSA/mindfirst | e852838a48219f6a2a1970214a05124cc1ce8f90 | a4c6559360a47e24cba35fd576ce3095c5f37c1b |
refs/heads/master | <repo_name>kholidfu/flask_auto_builder<file_sep>/README.md
flask_auto_builder
==================
<file_sep>/farmers_copy.py
#!/usr/bin/env python
# author: @sopier
from dop.client import Client
import urllib2
import sys
class Farmers(object):
CLIENT_ID = 'client_id'
API_KEY = 'api_key'
def __init__(self... | fd52f61132bec2dd614ef57f50f2ff942396ea7b | [
"Markdown",
"Python"
] | 3 | Markdown | kholidfu/flask_auto_builder | 6cb570595b7573174b1ca358a4ef19abffb4560e | 0af08d0aa63953451995b9beafdf8ddbb3aa909b |
refs/heads/master | <file_sep>document.querySelector('.navbar').addEventListener('click', () => {
document.getElementById("burger-check").checked = true
});
document.querySelector('.times').addEventListener('click', () =>
document.querySelector('.popup').style.display = "none"
);
document.querySelector('.order__btn').addEventListe... | 94fad43d0629a001b02eaacba5bd35ddc4428571 | [
"JavaScript"
] | 1 | JavaScript | CheffChelos/WebLabs | f9800fd60f0ff60fdb4b199cd9c3acee573756c2 | b2ab9dff2664a6a59c57d780c85d3013f0f46f05 |
refs/heads/master | <repo_name>antonSuprun/wiki2SC<file_sep>/src/wikitools/user.py
# -*- coding: utf-8 -*-
# Copyright 2008, 2009 Mr.Z-man, bjweeks
# This file is part of wikitools.
# wikitools is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Softw... | 1dc20d985e788dbe09fd0cdc05822c42dadea2f5 | [
"Python"
] | 10 | Python | antonSuprun/wiki2SC | c636c55926202465628fb1c7a0de61006c43b93a | bfeaac945704f5ad549baed15016b3ae3c8a5412 |
refs/heads/main | <file_sep># This script will generate a binary for the RFUZZ harness that produces the same VCD at a TLUL input
import sys
from ast import literal_eval as make_tuple
# TODO: 21 is generated for the pop function defined in the RFUZZ harness. Please generalize 21 as such.
bytesPerCycle = 21
def main(input_file):
wi... | 9ee4f480a2967a21149b01231093fec72b17ccc3 | [
"Markdown",
"Python",
"Makefile",
"Shell"
] | 11 | Python | ekiwi/rtl-fuzz-lab | bc5851993134017004f30118fbd35542a6571fac | 04ac5d54fee2a6ca8799965fef5375233b5f6a57 |
refs/heads/main | <repo_name>Ohskie3/Hot-Restaurant-<file_sep>/db/tableData.js
const tableArr = [
{
customerName: 'Kyle',
customerEmail: '<EMAIL>',
customerID: '1234',
phoneNumber: '123-456-7890'
}
];
module.exports = tableArr | b3b403eb1ed821850f33c563760ec495f778f50d | [
"JavaScript"
] | 1 | JavaScript | Ohskie3/Hot-Restaurant- | 83050997ee3ef8792269aff5b4d6d969adeb654a | 7637f2a6d536ee21ac2f152aa5b14b3a764d4997 |
refs/heads/master | <file_sep>export const style_roads = [
{
'minResolution': 0,
'maxResolution': 1.2,
'style': {
'rail': {
'colors': ['#919191'],
'dasharray': '2.0 2.0',
'widths': [2],
'caps': ['butt'],
'opacity': 1,
'useLabels': false
},
'motorway': {
... | a6e6924fb696f83eafc84a798037960c1a6b6cf5 | [
"JavaScript",
"Markdown"
] | 8 | JavaScript | terrestris/vectortiles | 66eaa1827f88f2a932323393504397dde20d3f33 | 7e6cf6e9a7d49f1a0d43b44eccbc00efb701e8ea |
refs/heads/master | <file_sep>// generated from rosidl_generator_cpp/resource/idl__traits.hpp.em
// with input from vive_interfaces:msg\Hmd.idl
// generated code does not contain a copyright notice
#ifndef VIVE_INTERFACES__MSG__DETAIL__HMD__TRAITS_HPP_
#define VIVE_INTERFACES__MSG__DETAIL__HMD__TRAITS_HPP_
#include "vive_interfaces/msg/... | c832d866c7e91b578419d34d3b6b71e5e6310ffd | [
"CMake",
"Markdown",
"Python",
"Text",
"C",
"C++"
] | 45 | C++ | bjuspi/Omron_Robotics | c8534bbd557f97cd6aee58d95798f9580b1a382a | 253f7289446b2aafafd766087ed7828e1b8cf566 |
refs/heads/main | <repo_name>doppelbeaver/DopplerFace<file_sep>/README.md
# DopplerFace
Final Project for CS 386W. Inspired by the paper Soundwave: using the doppler effect to sense gestures (Gupta et. al.) and the code by @DanielRapp, we implemented an algorithm to detect face-touching movement.
## Abstract
Amid the ongoing Covid-19 ... | 1452743e5ecc05c188312c1f6f51332a7d79cc39 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | doppelbeaver/DopplerFace | 963fac1c1ffcd4f8c8bde85ef0ac6acb71915ce1 | ec4502c1707963c55b48a9596c8eadb1004881be |
refs/heads/master | <file_sep>(function () {
//DEBUG FUNCTION
//API.sendChat = function(message){
// console.debug(message);
// return -1;
//};
API.getWaitListPosition = function(id){
if(typeof id === 'undefined' || id === null){
id = API.getUser().id;
}
var wl = API.getWa... | 0f10fa5f968a807fc0d260b043e48992d6dd6543 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | maartenpeels/PlugBotV3 | 0e79d811ecacdd9b3c52ae4e415227792a686e32 | 30350517d66a780631a801b12b7be838304a4e4a |
refs/heads/master | <file_sep>Alumni-Database-Application-Form
================================
The advancement of computers with accuracy and efficiency is the meaning of today’s
technology. That is why Alumni Management System is needed; as there is a good opportunity in
using it that prevents many problems such as inconsistency of rec... | 444081b5a5e54f2f6972e6e936611b3bce531847 | [
"Markdown",
"SQL",
"PHP"
] | 3 | Markdown | fidars/Alumni-Database-Application | cff06f46c1ea4aeb61d68ecdc44c0f8b8bdc1412 | af38b658aaec740270a2954e80e608b26e968811 |
refs/heads/master | <repo_name>bowen2/acg<file_sep>/README.md
# acg
utility for playing arbitrary card games
## using
### dependencies
`npm install expess socket.io`
### execution
`node server`
An instance is now hosted locally (default port 5000).
<file_sep>/static/game.js
var socket = io({transports: ['websocket'], upgrade: false});
... | 5f6a4d6742442c78863c6a04f791a55ec789b077 | [
"Markdown",
"Python",
"JavaScript"
] | 4 | Markdown | bowen2/acg | 3bfad070f26cb8bd0786b68b47cc632b73d3d5ec | ac5bac4351287c60d1590a0f93720788b9a82223 |
refs/heads/master | <repo_name>zhongyw/itranswarp.js<file_sep>/www/controllers/wikiApi.js
'use strict';
// wiki api
var
_ = require('lodash'),
api = require('../api'),
db = require('../db'),
helper = require('../helper'),
images = require('./_images'),
search = require('../search/search'),
constants = require... | 42df68cb2e122edacb0586b1d2d55661abc5f5a4 | [
"JavaScript",
"SQL",
"HTML",
"Markdown"
] | 49 | JavaScript | zhongyw/itranswarp.js | a0c851d5fa3f8df19d70718bbb2d58e26239a61d | 2893438f83b0f53648b91c57f054c5747cdab69c |
refs/heads/master | <file_sep>#!/env/bin/python
import random
def BubbleSortWords(Lista):
k=0
m=0
n=len(Lista)
q=0
for i in range(0,n):
for j in range(i, n-i-1):
if Lista[j+1]<Lista[j]:
Lista[j+1],Lista[j]=Lista[j],Lista[j+1]
m=1
... | 15d0624c7b1f07f171494ab86ce383de5f1831de | [
"Markdown",
"C",
"Python",
"C++"
] | 20 | Python | ArelyL/Sorts | 88ae758d10e6f5e1288c6b897d23bc2b314381e9 | 6864278a5608572a6d9657a7d2775fa6e1d27ba7 |
refs/heads/master | <repo_name>kindlyops/en-notify<file_sep>/app/components/en-notify.js
export { default } from 'en-notify/components/en-notify'
<file_sep>/app/services/notify.js
export { default } from 'en-notify/services/notify';<file_sep>/addon/utils/message.js
import Ember from 'ember'
const { A } = Ember
export default Ember.Objec... | be6167aa0b9325c4ee5d827d3c89896a7a6efdc6 | [
"JavaScript",
"Markdown"
] | 10 | JavaScript | kindlyops/en-notify | b0b7da74ddc65e0f6b771f559bdfbd1c3cf481f3 | 9072620b09e8770f581d06d01c351a81bcae0c6c |
refs/heads/master | <file_sep># Parser_url
The script parses the site. Displays links as absolute URL. Delatn doubles.
Run the script parser_url.php via the console.
options "./php.exe parser_url.php http://URL"
<file_sep><?php
require_once( "simple_html_dom.php" );
class PageDownload {
private $url;
private $handle;
protected sta... | 3e98ae6a0e85c56b86747bdd1c9649a9756fa374 | [
"Markdown",
"PHP"
] | 2 | Markdown | bigturtle88/Parser_url | 34f1f641aad54d1b4c310d62b9680d4903d89ddb | 51191b5132da6b3b7f80ff10cd4148dbce99d15d |
refs/heads/master | <file_sep>package com.aca.disqo.util.sortlist;
import java.util.List;
public final class SortingUtilCollection {
private SortingUtilCollection(){
}
public static <T extends Comparable<T>> void insertionSort(List<T> genericList) {
int n = genericList.size();
for (int i = 1; i < n; ++i) {... | 91eeb8e2efdcdc826ca295dee53572b98ac95c0c | [
"Java"
] | 7 | Java | AraChilingaryan/aca-disqo | 0c17b4fa2bfef6b241f0347561601b5f7ae60844 | a04de13e79510100aeb56d321095e6c8ec127447 |
refs/heads/master | <repo_name>lilianalmeida/FEUP-LCOM<file_sep>/lab5/keyboard.h
#ifndef _KEYBOARD_H_
#define _KEYBOARD_H_
#ifdef LAB3
int sys_inb_count(port_t port, uint32_t *byte);
#else
#define sys_inb_cnt(p,q) sys_inb(p,q)
#endif
//global variable
extern uint32_t counter; //sys_inb counter
extern bool kbc_ih_error;
exter... | 33851d913256f6dcd46a8ae0d45ba659c4ae8b00 | [
"C"
] | 16 | C | lilianalmeida/FEUP-LCOM | 888cfced4d667e8ed68226860bcf98c3df7878a8 | 6669b72f8e3741ecec31c473ef83330c2ad96b00 |
refs/heads/main | <file_sep># Leibniz Series. More info can be found at wikiHow.com
from math import trunc
import time
start_time = time.time()
def value_pi(digit):
current = 4
previous = 0
number = 0
add_up = 1
while abs(round(current, digit + 1) - round(previous, digit + 1)):
add_up += 2
previous ... | 0b65210b72ae786c8fd047c40abedad649e9a783 | [
"Markdown",
"Python"
] | 5 | Python | rkim79/python | 4ab57ff5f32c1a2ac37e4dfc02e7fcdbee1631c4 | 191779e56e0e9a6639bdc41f57cc59aedd531954 |
refs/heads/master | <repo_name>kosk0525kosk/object-oriented-game<file_sep>/scripts/stages/stage1.js
class Stage1 extends Stage {
constructor() {
super();
this.objs.push(new Ground(0, -gameManager.groundH));
this.objs.push(new Block(200, 50));
}
}<file_sep>/scripts/objects/game-object.js
class GameObject {
constructor(x =... | 399da6cbd9775bbd53644329a6dbbf2ee88def93 | [
"JavaScript"
] | 5 | JavaScript | kosk0525kosk/object-oriented-game | 41b232078e501168bbf3e20b6dca4d365880c79e | ad0cef36d4f6d39dc88c13f39272f830e6e168bd |
refs/heads/master | <repo_name>morinted/gerrit-fetch-all<file_sep>/gerrit-fetch-all
#! /bin/sh
REMOTE="${1-origin}"
BRANCHES=$(git branch -l)
git ls-remote "${REMOTE}" | grep /changes/ | awk '{print $2;}' | while read REF
do
local_name=$(echo "${REF}" | sed 's#refs/changes/../#change/#')
if [[ $BRANCHES != *"$local_name"* ]]; then... | 13c08a5003114e902c9c01165b00b34b3a40a9ae | [
"Shell"
] | 1 | Shell | morinted/gerrit-fetch-all | 35487bfaef13d5aa4f0c8e389a3b521775f1010e | b4df604dd49b0915233b6585ab252aa9df7d06dd |
refs/heads/master | <file_sep>import re
import sys
from game import Game
from config import *
from model import *
from utils import find_version_given_filename
"""
Run this file with argument specifying the models from terminal if you
want to play ai-vs-ai game
e.g. python3 ai-vs-ai.py saved-models/version0000.h5 saved-models/version0033... | 3825d4e3c8de2dcc3e0b228cf15a6f00c015575f | [
"Markdown",
"Python"
] | 24 | Python | kenziyuliu/PythonChineseCheckers | ffa8155dca3c78dae2530ce7ce769b3047a7d74d | d069bcdb6e45fbc5794c442779df4ecc5a2c5963 |
refs/heads/master | <repo_name>AlcaDesign/tmi.js-channelset<file_sep>/index.js
const tmijsClient = require('tmi.js').client,
normalizeChannel = require('tmi.js/lib/utils').channel;
class ChannelSet extends Set {
constructor(client) {
if(!(client instanceof tmijsClient)) {
throw new TypeError('parameter 1 is not of type \'tmijs.c... | 8e2708c2ad1e6c4a9b0934c418f9c634f3200a16 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | AlcaDesign/tmi.js-channelset | 3fee9e96cd3e287af7390b909d535167c556ac87 | 0510ee9015742e7f3a7f500207bfd85c2008caf2 |
refs/heads/master | <file_sep># Задание <NAME>.
<file_sep>jQuery(document).ready(function($){
console.log(flexslider);
$('.slider').flexslider({
selector: ".tabs > .tab",
animation: "slide"
});
});
function initMap() {
var map = new google.maps.Map(document.getElementById('map'), {
zoom: 18,
center: {
lat: ... | d0f89c43a0dbbc3c6ffa2163ddcd02a6ea57dba7 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | Oleg-Ovcharenko/Luka | d05804237b4076ca2e927e730ec76269ce63c22b | 8b74d0910a60934335daf39b7044df79fc4fa45d |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.