branch_name stringclasses 149
values | text stringlengths 23 89.3M | directory_id stringlengths 40 40 | languages listlengths 1 19 | num_files int64 1 11.8k | repo_language stringclasses 38
values | repo_name stringlengths 6 114 | revision_id stringlengths 40 40 | snapshot_id stringlengths 40 40 |
|---|---|---|---|---|---|---|---|---|
refs/heads/master | <file_sep>use std::convert::TryFrom;
use std::fs;
use std::net::{Ipv4Addr, SocketAddr};
use std::path::PathBuf;
use std::task::{Context, Poll};
use std::thread;
use std::time::Duration;
use crate::env;
use crate::error::StdResult;
use crate::shuffle::*;
use crossbeam::channel as cb_channel;
use futures::future;
use hy... | 71d0896391bfb55f4d68e7fc89dd9de82adbd0c2 | [
"YAML",
"Markdown",
"TOML",
"Rust",
"Dockerfile",
"Shell"
] | 62 | Rust | lumost/native_spark | 05a99029c7381b54f27dfe9fb4bd697a51f2a2ea | 4d253d58139dba12f8fee0ac9a7411b883574065 |
refs/heads/master | <file_sep>export const environment = {
production: false,
firebase: {
apiKey: '<KEY>',
authDomain: 'morsetrash.firebaseapp.com',
databaseURL: 'https://morsetrash.firebaseio.com',
projectId: 'morsetrash',
storageBucket: 'morsetrash.appspot.com',
messagingSenderId: '307678454355'
}
};
| f72a2c896453ca91148ddc6ceb6e7e59a791a4e5 | [
"TypeScript"
] | 1 | TypeScript | dankphetamine/awa-a1-2019 | 0c0292cad068e81352238bf26f68c941686be956 | f9d1c2260f99ea894ff8a2e9886468822a0ab5db |
refs/heads/master | <repo_name>pchico83/overlay<file_sep>/Dockerfile
FROM ubuntu
COPY start.sh /
ENTRYPOINT ["/start.sh"]<file_sep>/start.sh
34f34
case
efe
f34f34
ewfew
erver
ewfew
adsfds<file_sep>/hooks/build
#!/bin/bash
docker version
docker build -t $IMAGE_NAME .
if [ "$?" -eq "1" ]; then
echo "FAILED!";
sleep 1100;
exit ... | c99607eb4110a3c9568240076d5f5a11626bcb02 | [
"Dockerfile",
"Shell"
] | 3 | Dockerfile | pchico83/overlay | 24d0095b9adcf8ac8193f205b4aac693c20fe745 | 0d05c43d96adbe209ebafba00551624b67492d1c |
refs/heads/master | <repo_name>Be-libra/Team-Roster<file_sep>/src/reducers/teamSearchField.js
const initialstate={
searchValue:''
}
export const setTeamsSearchField = (state=initialstate, action={}) => {
switch (action.type) {
case 'TEAMS_SEARCH_CHANGE':
return Object.assign({}, state, {searchValue:action.payload})
... | c7a7b486cefecd70be47d666173e0f285d950bb0 | [
"JavaScript"
] | 8 | JavaScript | Be-libra/Team-Roster | 48e8c488e373937b39e1e4d99a8e1689b931f92a | e02118e4a1aae8a02e2c4ebc20a18bc31e46319f |
refs/heads/master | <repo_name>allengonger/distrack<file_sep>/main.js
// const contents = document.getElementById('contents');
// contents.parentNode.removeChild(contents);
// import swal from 'sweetalert';
// when you open browser (goes to website), start the timer
// const docIDArr = document.querySelectorAll('*[id]');
const divArr = [... | 8e49783bfd7d8d15e7ea400b21b13c469b5809b6 | [
"JavaScript"
] | 1 | JavaScript | allengonger/distrack | 57a8c55fc23ae2f10b1d998b19a078c202c71cdd | 673c4afa0c579eadc26f941eb6d282be560d08e3 |
refs/heads/master | <file_sep>import { expect } from 'chai'
import * as Actions from '../Actions/index'
// testing incomplete - need to mock async actions
const current = {
time: 1453402675,
summary: "Rain"
}
const alerts = [
{title:"flood",uri:"http://google.com"},
{title:"earthquake",uri:"http://yelp.com"}
]
const ... | 60df6160044c4e66fdb2a9fef17ddfc83e3551c9 | [
"JavaScript",
"Markdown"
] | 13 | JavaScript | slmoore/forecaster | 6bfc23f9a99e65f422bc21b3361751da4bda2fce | 8eeafea5c6f99574c889137fdb96c857c108ed15 |
refs/heads/master | <repo_name>jakelacey2012/Micro-Services<file_sep>/notifications/server/main.js
import { Meteor } from 'meteor/meteor';
import { Notifications } from 'meteor/notification-microservice';
Meteor.startup(() => {
console.log(Notifications.example());
});
| c86e8230f8f4b2162830fbe11d9ad1b9b29f3c3a | [
"JavaScript"
] | 1 | JavaScript | jakelacey2012/Micro-Services | 56a4e9067b8984f171c3e6655dc1e07ffd969ad9 | acfe25eaa15041fdb51c2b194bc25fa12e88dff4 |
refs/heads/master | <repo_name>juhyun10/sp4-chap12<file_sep>/README.md
# Spring4 #
MVC 2 : 메시지, 커맨트 객체, 검증, 세션, 인터셉터, 쿠키
contents
-
- 메시지 처리
- 커맨드 객체 검증과 에러 메시지
- HttpSession 사용
- HandlerInterceptor
- 쿠키 접근
<file_sep>/sp4-chap12/src/main/java/spring/AlreadyExistingMemberException.java
package spring;
/**
* 회원 가입 처리 관련 클래스
*
... | 8d11b3094399ac65a8e1a1920f3632b1b0babbae | [
"Markdown",
"Java"
] | 3 | Markdown | juhyun10/sp4-chap12 | 9c30f75134b0d34ee9fea6fa010cc9e85d2321fc | a36380a2d70d7335df349499e31eb7b8e1bc4e70 |
refs/heads/master | <repo_name>michellbrito/interviewQuestions<file_sep>/Coding Bootcamp/maxNum.js
// Write code to return the largest number in the given array
function maxNum(arr){
let maxNumber;
for (let i = 0; i < arr.length; i++){
if (arr[i] > arr[i+1]){
maxNumber = arr[i]
}
}
return maxNumbe... | 2616142b93a8fd03cbba7477670718f388ab07ab | [
"JavaScript",
"Python"
] | 25 | JavaScript | michellbrito/interviewQuestions | 24ae7e322cdad48a5d68933bf98e5cb0c8abb9d8 | 1628d0f5d0f116708600d6db529120a559673007 |
refs/heads/main | <repo_name>abyanphukan434/Class-115<file_sep>/logisticRegression.py
import plotly.express as px
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
from sklearn.linear_model import LogisticRegression
df = pd.read_csv('tempData.csv')
temperature_list = df['Temperature'].tolist()
melted_list... | 6c820e98b2ebb7d219afb8cb6a01283680efc58f | [
"Python"
] | 1 | Python | abyanphukan434/Class-115 | 74725552737b47784c1d31911210f5b0bbbaaecd | 021bb4abc4295f8502a0b0624926202e8e1f16f2 |
refs/heads/master | <file_sep>import os
url_path_start = "/prepended-start-"
my_str = input("Enter string: ")
print(url_path_start + my_str.replace(' ', '-').lower())
os.system("pause")
| ca5910e35a0a5e6cc69b6ca3c88ea3e97efcbe65 | [
"Python"
] | 1 | Python | mario4l/url-cleanup | cc35c806855efbc234418972dcbf605052f80acf | 93af1dec31d4d919d507aa63b03fdcf842236718 |
refs/heads/master | <repo_name>jjxxs/Pathfinder<file_sep>/problem/problem.go
package problem
import (
"encoding/json"
"errors"
"io/ioutil"
"math"
"math/rand"
"os"
"path/filepath"
"strings"
)
const (
Geographic = "geographic"
Euclidean = "euclidean"
)
// contains the distances between each point on a route
type Adjacency [][]... | cff92dd71d0e2f7ac4a0876aef5cfc3e07e979f3 | [
"Markdown",
"Go Module",
"TypeScript",
"Go",
"Dockerfile"
] | 20 | Go | jjxxs/Pathfinder | ac27b610cebdf38471336ebab305bf2d781f58f7 | 1bd2dabb0a97c32b80e4b4b0f044e07d2b618700 |
refs/heads/main | <file_sep>using System;
using System.Collections.Generic;
using System.Text;
using WebChatApp.Models.RelationShip;
namespace WebChatApp.Models.Entities
{
public class ChatEntity : BaseEntity
{
public int? UserCreatorId { get; set; }
public int Type { get; set; }
public Use... | 1c1913775b47cbba8cd76d71b37570dbf02fda16 | [
"C#"
] | 32 | C# | frendorDM/ChatProject | d69ee9c8354e054bd30a0f72be10c1ec587dc51d | 687c45cd3d3e34ce35489b3e1d29293c87672be8 |
refs/heads/master | <file_sep>class CreateBeneficiaries < ActiveRecord::Migration
def change
create_table :beneficiaries do |t|
t.string :name
t.string :address
t.integer :company_category_id
t.string :details
t.strign :contacts
t.timestamps
end
end
end
<file_sep>class Payment < ActiveRecor... | 8dea18c9779214ecf9c22c9c26ee10b548829802 | [
"Ruby"
] | 6 | Ruby | threem/payments | b15f8d7c37138fe330883b966d55a71576613ec7 | 81d0e2cc0698cc9a0d9807cf7972c84ff0624712 |
refs/heads/master | <repo_name>garydivine/oregon-trail<file_sep>/oregon-trail.ts
(function(){
/*
* Interfaces
*/
//interface describing what attributes and methods a traveler should have
interface ITraveler {
food: number;
name: string;
isHealthy: boolean;
hunt(): number;
eat... | 752cf5e9517aabb2995daf8abc69c818f93ecb5a | [
"JavaScript",
"TypeScript"
] | 2 | TypeScript | garydivine/oregon-trail | e108de794ce4bfe9fc133e08e8a0c88d4fe22ffd | 0d40b2f2f89ce9fa752383cdc769ee6cc0477f04 |
refs/heads/master | <repo_name>Garritosk8CR/101A<file_sep>/project/101A/src/store/modules/Models/Player.js
export default function newPlayer (params) {
return {
id: 'sdsdsd',
name: params.name,
email: params.email,
gamertag: params.gamertag,
//games: params.games,
platform: params.platfo... | ce685a3fa154dbf5051a397d6ca6aa270c878d4d | [
"JavaScript"
] | 3 | JavaScript | Garritosk8CR/101A | 3523f8f4af64ebd654708e4e146b347bba572063 | b643e6e08c1ed70521deb39bab26453df5fd003c |
refs/heads/master | <file_sep>---
home: true
heroImage: /home.svg
heroText: Full Stack Library
tagline: 绘 Web 全栈架构师图谱,打造个人核心竞争力, 🙏🙏🙏 项目正在努力建设中,请持续关注 🙏🙏🙏
actionText: 开始修炼 →
actionLink: /Js/
features:
- title: 愿景
details: 主要帮助前端开发人员进阶Web全栈架构师,做到先精后广,一专多长!内容涵盖深入Vue、React、Node、小程序、微信公众号开发、React-native、Flutter、Hybrid、区块链、工程化、自动化测试、数据结构... | 4c4d3baffee0b6aab7e9349be73f870f0638187c | [
"Markdown",
"JavaScript"
] | 12 | Markdown | ViktorWong/Full-Stack-Library | 57d7e0c78b5c131074a60268b68b62fb3f78ce3a | fb2586f45046a2dfdd492f9a3e6bed8133ad943f |
refs/heads/master | <repo_name>th0br0/rocks-to-graph<file_sep>/build.gradle
plugins {
id 'java'
}
group 'org.iota.utils'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
maven { url 'https://jitpack.io' }
mavenCentral()
}
def jgVersion = '0.3.1'
def tkVersion = '3.3.4'
dependencies {
compile 'c... | ce2f47a5e3b02973cfd330e6381c230a270546f4 | [
"Java",
"INI",
"Gradle"
] | 4 | Gradle | th0br0/rocks-to-graph | 87d3af5367d3286cfbb8ee02c18dfdb4d306e133 | ba624a46ffada81272b736ec4de29616b67d5ee5 |
refs/heads/master | <repo_name>MakerCollider/SmartNode_Build_Tool<file_sep>/edison_tools/extboardcheck.sh
#!/bin/sh
BOARDNAME="/etc/mc_extboard_name"
EDIBOT="mc_newbreakout"
check_edibot()
{
check6050
local mpu=$?
check5883
local cmp=$?
check5611
local baro=$?
if [ $mpu -eq '1' -a $cmp -eq '1' -a $baro -eq '1' ] ; then
echo... | 6889f5a81895eed5fb5d274142aefd93e3a3c409 | [
"Shell"
] | 7 | Shell | MakerCollider/SmartNode_Build_Tool | 06eec55e39eec0476d74104636f2922455396721 | 9603040f449b83e34364d7a50b8f969e6f5a573f |
refs/heads/master | <repo_name>bubbapizza/alsacap<file_sep>/man/Makefile.am
# Include the pod file in the distribution. If we don't do this, then
# the make files bark when building from a distribution tarball.
EXTRA_DIST = alsacap.pod
# Here is where we build the man file from pod.
dist_man_MANS = alsacap.1
alsacap.1: alsacap.pod
pod... | 0849df8d1d68af2a48f0cf2b99bfd4c872eae9b0 | [
"C",
"Makefile",
"M4Sugar"
] | 4 | Makefile | bubbapizza/alsacap | 05968d33bd42b9550ac0892c0214edc956d09d8d | a0618aa549d1e47fc9f60cde61702e0a737470d1 |
refs/heads/master | <file_sep>package com.example.nutesh.twitter_search_demo;
/**
* Created by nutesh on 14/2/18.
*/
public class Authenticated {
String token_type;
String access_token;
}
| 0e93a5d88ce8378f3772c9be4b2258df93e4bd95 | [
"Java"
] | 1 | Java | Nutesh/Twitter_Search_Demo | e415e9c42b492e5d02726e0936cef464d9d1e8b6 | 76a55fecd6265710e95c9f7e72489da876dbdfde |
refs/heads/master | <repo_name>Apezkin/ApeBook<file_sep>/README.md
# ApeBook
Web Applications course project
1 APEBOOK
ApeBook is a microblogging service done by me for the course Web Applications. It allows users to post 500-character long microblogs and read other users’ microblogs.
ApeBook doesn’t require logging in or any registrat... | 7aa8265a167f6f42836ebeeac7a4f6a308fe72e6 | [
"Markdown",
"JavaScript"
] | 5 | Markdown | Apezkin/ApeBook | 3693124b45eaa05ec18df9d16d256f5733deedcc | 4cc9c4152d6b6926e777847e8cc46c5577dd7ff6 |
refs/heads/master | <repo_name>zhaol2012/IFOVST<file_sep>/webapp/Component.js
sap.ui.define(["sap/ui/core/UIComponent", "sap/ui/core/ComponentSupport"],
function (UIComponent, Support, ODataModel) {
"use strict";
return UIComponent.extend("anders.aif.if.overview.Component", {
metadata: {
man... | e331769757492f6e3b8d5bc13e1dedbe43002d2e | [
"JavaScript",
"INI"
] | 4 | JavaScript | zhaol2012/IFOVST | 7f872445b6e09dd97c6ab0ce8fe6aea82db95cee | ee444c6fbd71efc3bac4563cee93c989ae0f30fd |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ScintillaNET;
using Newtonsoft.Json;
namespace MatlabEditor
{
/// <summary>
/// Editor UI clss for matlab.
/// </summary>
public class MEditor... | cad1f6c3c02b1cb9c1af8f9dd67fe700af72ca20 | [
"C#"
] | 3 | C# | merilesLab223/CMCryoSys | 25bd1cd5112a41cfdf03d8aa7b7133152e5c2820 | 54aeba5e43c9bd634d739a09eda4ca4c4f7c6751 |
refs/heads/master | <file_sep>source 'https://rubygems.org'
ruby '2.1.0'
# gems requiring credentials for 3rd party services
gem 'config_env'
gem 'aws-sdk' # SQS Message Queue
gem 'httparty'
<file_sep>require_relative 'bundle/bundler/setup'
require 'aws-sdk'
require 'config_env'
array = ["apple", "apple", "banana", "apple", "happy", "QQ... | 309c61cd58a8793a3e15ce64122da2d0ad07ab2d | [
"Ruby"
] | 3 | Ruby | Kiwi-Learn/kiwi-popularworker | f9c88972a49e9cebf9a5276370c1893bebc57209 | ff5fef697e10f7287f41cc9c7e92c00f7879cf8a |
refs/heads/master | <repo_name>taradownes/barbgoodman<file_sep>/app.js
const express = require("express"),
bodyParser = require("body-parser"),
exphbs = require("express-handlebars"),
nodemailer = require("nodemailer"),
app = express()
app.engine("handlebars", exphbs());
app.set("view engine", "handlebars");
app.u... | 53480264414896986a7d7378dbfdf3dde223c76f | [
"JavaScript"
] | 1 | JavaScript | taradownes/barbgoodman | 6800d5d6e7e0f297f72e35570dcba5fd9056a13b | 9889f1ff459b7286e1f80578ab24cd2d8bebe71f |
refs/heads/master | <file_sep>import time
import boto3
import funcs
aws_region = "eu-west-2"
availability_zone = "eu-west-2a"
volume_size = 10
ec2 = boto3.client("ec2", region_name=aws_region)
# Create new volume
funcs.create_volume(ec2, availability_zone)
<file_sep>import boto3
#create volume
def create_volume(ec2_client, availab... | 41b5ce5def01351f43c59aa456a7dd9eab5b9743 | [
"Python"
] | 2 | Python | pabloli84/scylla_attach_volume | 83ffd4ecbdea4af023f31039eebba9fef78a4345 | 195552948d26adf5f34359f8dc29c1f76e04ce40 |
refs/heads/main | <file_sep>videos that I used for code training
---
downloaded from Youtube via [**youtube-dl**](https://www.youtube-dl.org/)
[**animals.mp4**](https://www.youtube.com/watch?v=5adoTkOnBVw)
[**v_cars.mp4**](https://www.youtube.com/watch?v=q5PPNZiu52w&t=39s)
<file_sep>2021 Jun. 7
---
use [PyRetri](https://git... | 7eaf7e04fee9798bb36baa0072d368afeb542a67 | [
"Markdown",
"Python"
] | 3 | Markdown | fu-yanyuan/video_retrieval | 2bf8c02687d9271ff8ecd75cab9be90e0dda8096 | 200d4cab4187b37ae52d411d0873ae02f319e753 |
refs/heads/master | <file_sep>import com.modeliosoft.modelio.javadesigner.annotations.objid;
@objid ("85027495-16e8-4b24-807d-686372abd03a")
public class Grille {
@objid ("b942a6bc-4b32-4f4f-9161-530ec1dc9632")
private int tailleAbscisse;
@objid ("66fb2834-274c-4657-a063-e0fb8b9508ca")
private int tailleOrdonnee;
@o... | 9b9d36f70c8eb999e482ec991c564f4359df554c | [
"Java"
] | 6 | Java | alain1996/projet_tutore_S2 | 3c189d701bbe300878d0a9bf134bea3ea351f48f | 9342810fad073553f6de633290206f51c9d77e4d |
refs/heads/main | <file_sep># 시발 좀 되길
testing
1. 되나요?
1. 재접속<file_sep>package com.scmaster.ict;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
/**
* Handles requests for the application home page.
*/
@Controlle... | 3665fb8cefd4fe5da3886fd05f19f38821eb3812 | [
"Markdown",
"Java"
] | 2 | Markdown | Yangcamel/Covid19Chaser | a78021f6a9d4d6c066af94eacd4f47dd83894fda | 244bba325f4d233907be97f900acc063290a213b |
refs/heads/master | <file_sep>var request = require('request');
var key = '';
var endpoint = '';
var emailAddr = '';
var userPass = '';
request({
url: endpoint, //URL to hit
qs: {from: 'User Post Test', time: +new Date()}, //Query string data
method: 'POST',
headers: {
'Authorization': key
},
json: {
user: {
'e... | 543d130b8aa873d22940c4cf8935ee3949e850c5 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | JCron245/mbTester | 68f9e67091e7050e6c6e8c330a623be17cb1eaf9 | e8a5892eed6211e1d75e24907405aa089d6f5729 |
refs/heads/master | <repo_name>ninjaparade/invoice-ninja<file_sep>/app/Http/Controllers/QuoteApiController.php
<?php namespace App\Http\Controllers;
use Utils;
use Response;
use App\Models\Invoice;
use App\Ninja\Repositories\InvoiceRepository;
class QuoteApiController extends Controller
{
protected $invoiceRepo;
public function... | 8a41d148a458a898a29e4eb75cede1a8a0814db1 | [
"Markdown",
"JavaScript",
"PHP",
"Shell"
] | 91 | PHP | ninjaparade/invoice-ninja | ff0a37f1d8a8a80b940ebf2ee5e66ac3b5af3ba5 | 5cddeadec1a674d5e8cf2cf083aaa6bc1f8204e2 |
refs/heads/master | <file_sep>def augment(precios, aumentos)
precios_aumentados = []
precios.each do |actuales|
precios_aumentados.push actuales * aumentos
end
precios_aumentados
end
print "Los nuevos precios han sido aumentados en un 20% a: \t#{augment([35, 1249, 8100, 10502, 4, 79], 1.20)}\n.\t\t\t\s\s\s\L... | ef61e5f78e1de6b3ccec6abb09ce78757572fb18 | [
"Ruby"
] | 1 | Ruby | rgonzalezj/19_aumento | d8e588f7d405b415f4dee3a74da8293c520ee075 | 61c6489120d0292fbf9d78a972e2edfe664bc37a |
refs/heads/master | <repo_name>chuckbergeron/pooltogether-landing-site<file_sep>/lib/fetchers/getPools.js
import { fetchData } from 'lib/fetchers/fetchData'
import { deserializeBigNumbers, getNetworkNameAliasByChainId } from '@pooltogether/utilities'
const API_URI = 'https://pooltogether-api.com'
/**
* Fetches the data for a single poo... | 21c444c8a632875c3b9c5936d0dd05b818548b53 | [
"JavaScript"
] | 13 | JavaScript | chuckbergeron/pooltogether-landing-site | 03410d579b4fe07486eed70882e607a9901bfd66 | 6234419b7fbbdc56e0b4c37922964e5627b5fa24 |
refs/heads/master | <repo_name>johnayeni/owo-fe<file_sep>/src/pages/home/home.ts
import { Component, NgZone, ViewChild } from '@angular/core';
import {
IonicPage,
NavController,
NavParams,
ToastController,
LoadingController,
ModalController,
App,
} from 'ionic-angular';
import { HTTP } from '@ionic-native/http';
import { Sto... | 0a5eea339c8ff665439130a7aee4f9206950ca93 | [
"TypeScript"
] | 9 | TypeScript | johnayeni/owo-fe | 06f830cf3908dbdd3b89f1676af5a342d93e2db1 | bc59324e22f0d5dfe9a6f51ec062a29e41a1f464 |
refs/heads/master | <file_sep>/* @jsx jsx */
'use strict'
// Configuracion esencial para el proyecto encuento a css.
// Autor: Ghobbit.
// Desarrollador Frontend y Diseñador gráfico: <NAME>.
// Email: <EMAIL>;
// Twitter: @duwahiner.
import { jsx, css } from '@emotion/core';
import { colors, fonts, dimensions } from '../public/global.c... | 8b7f1179d6f0fa35503bfe0866a2b522c022ad4c | [
"JavaScript"
] | 3 | JavaScript | Duwahiner/deehk-firebase | 3cd46598d235b6fc61d18c3965224c8417ccf955 | 2d3825d5f103840dc0d5b115bedfa764960d38ed |
refs/heads/master | <file_sep>from model import *
from data_import import *
import sys, getopt
from scipy.io import wavfile
from scipy import signal
import os
class Denoising():
"""
Denoising Class holds all the necessary functions for denoising the noisy samples.
"""
def __init__(self, noisy_speech_folder='', sampled_no... | 540e5e344cbe3f6221aca96d1033d9543b04400f | [
"Python",
"Text"
] | 3 | Python | zk1001/speechdenoising-1 | fe4096d5c69f525bcdd6eb5e3976648728622fae | 961a754b2c8a4baae1e3762ff849995814fa059d |
refs/heads/master | <repo_name>RyanDool/google-map-csv-plotter<file_sep>/README.md
# Google Map CSV Plotter
A web application to aid in tracking current customers/users. The appliation accepts a .csv of 4 columns (Street, City, State and Zipcode) and connects to Google Maps API to obtain the coordinates and then plot the locations on a s... | d8cac42c06f96b7d212c608fd9152c1d0825daef | [
"Markdown",
"PHP"
] | 2 | Markdown | RyanDool/google-map-csv-plotter | 398e220fbc20bff1e4aa5b9d063647f3469eeac5 | da6c48dd3e6bc803b8cd5955b07af8f8956b600c |
refs/heads/master | <repo_name>CharnjeetIotasol/ProtectedBrowser<file_sep>/ProtectedBrowserCopy/ProtectedBrowser.Framework/ViewModels/DummyFileUpload/DummyTableForFileViewModel.cs
using ProtectedBrowser.Framework.ViewModels.Upload;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text... | 56b94d79e4279579f8d6a0f051229bf6e0abcc05 | [
"JavaScript",
"C#",
"SQL"
] | 146 | C# | CharnjeetIotasol/ProtectedBrowser | 275ff5c110fd1fccf0b6ff94020eeaf4fac3a8b0 | cbb9dcdb966e7c8fe3afa4176a14c995abdc5f73 |
refs/heads/master | <file_sep>#Ex 2
dicionario={1:'domingo',2:'segunda',3:'terça',4:'quarta',5:'quinta',6:'sexta',7:'sábado'}
numero_aleatorio=int(input("Digite um número de 1 a 7: "))
if numero_aleatorio <=7 and numero_aleatorio>0:
print(dicionario[numero_aleatorio])
else:
print('Número inválido')
... | c1e7d97eb03db474328fd3c2769651b5b820fe77 | [
"Python"
] | 4 | Python | brunafrjardim/aula3 | 7a3857a72a0c5097f8df282259eea00bd1909114 | d43b5e679fc459b16a28e9897ca0afe256fa879e |
refs/heads/master | <file_sep>package test;
public class DoubleEqualsToStringBuffer {
public static void main(String args[]) {
StringBuffer s1 = new StringBuffer("Navatha");
System.out.println(s1);
StringBuffer s2 = new StringBuffer("Navatha");
System.out.println(s2);
//== equal operator compares the... | 373062b594804e673b4c6370d6ab768473c101f2 | [
"Java"
] | 2 | Java | navathak/Git-Demo | 7a293827e404f2b96a7987d68f3aa8ae678e30de | e2413f26107acf4b5062900f8292a70ffad14845 |
refs/heads/master | <repo_name>mpalathingal/hand-and-brain<file_sep>/Hand_and_Brain.py
from stockfish import Stockfish
stockfish_path = "C:/Users/mpala/Downloads/stockfish-11-win/stockfish-11-win/Windows/stockfish_20011801_x64"
def getMove():
move = input("Enter next move: ")
return move
def main():
stockfish = Stockfish(s... | 04569ce5d837ddf420779de94d7fbc979c341aea | [
"Python"
] | 1 | Python | mpalathingal/hand-and-brain | 97704002c06599f19b31b31fe50f8fe3f13a4394 | 874575e0537d11be313ed356c86f1b0be6c5bf57 |
refs/heads/master | <file_sep>"use strict"
let fragenliste, i = 0;
// Funktionen DEFINIEREN
function printFrage(i) { // Parameter i = Index
let request = new XMLHttpRequest(); // 6 Schritte (Verbindung mit JSON-File): 1.Instanz erstellen
reque... | 0d12fb26695e248cd7ccd7495b6e4584564e8d4a | [
"JavaScript"
] | 1 | JavaScript | samanthavoegel/Abschlussprojekt_Javascriptkurs | 5870f51d02b8630ba416ba7a46b18885bc381fbb | 4a5f4a8126841f6cb232988d9b3fcb30b640024a |
refs/heads/master | <file_sep>---
title: 'Futility of Utility: Common Ratio Effect Example'
author: <NAME>
date: '`r format(Sys.time(), "%d %B %Y")`'
output:
html_document:
toc: true
toc_depth: 3
---
---
Draw Figure 3 from Stewart, Canic, and Mullett (2020)
```{r setup}
library(tidyverse)
library(ggExtra)
library(data.table... | 72f6e768b6a320c55ba05e4ec3eed81d90e0b1ba | [
"Markdown",
"Makefile",
"RMarkdown",
"R"
] | 7 | RMarkdown | neil-stewart/futility_of_utility_code_and_data | 3ced312cdd553afcd596051b3eb26dc632dfc214 | a0f4b89cfccb5eb45068ffcfe9d02f5ea2701fca |
refs/heads/master | <repo_name>bradleywhite2014/Dapp<file_sep>/index.ios.js
const Firebase = require('firebase');
const styles = require('./styles.js')
const StatusBar = require('./Components/StatusBar');
const ActionButton = require('./Components/ActionButton');
const ListItem = require('./Components/ListItem');
var Home = require('./Sc... | d7d4e20751e6d1527518535f24d3872ba3202aa0 | [
"JavaScript",
"Gradle"
] | 3 | JavaScript | bradleywhite2014/Dapp | eb7702937ef8dfb68654d7bccb1eb96f72cd8a1b | bef968739a18167fb26408c053395f51a2411372 |
refs/heads/master | <repo_name>jrotter/hackerrank_build_a_palindrome<file_sep>/build_a_palindrome_old.c
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#define MAXSTRING 10001
void print_array(int array[],int size)
{
int i;
for (i=0;i<size;i++)
{
printf("%d ",array[i]);
}
printf("\n\n");
}
int palindrome(char... | 0e14444c9260ef1000f6e675ab1544cde0e5921b | [
"Markdown",
"C",
"Makefile",
"Ruby"
] | 5 | C | jrotter/hackerrank_build_a_palindrome | 4ea216431ac9ba24891757f59e5b2aeacf98e235 | 05e373ddcfe9c2cf23255060ba9ea8edbac50512 |
refs/heads/master | <file_sep>#include <stdio.h>
#include <string.h>
#include <pthread.h>
#include <dirent.h>
#include <fcntl.h>
#include <unistd.h>
#define MAX 150
pthread_t id[10];
char path[100];
char filepathlist[MAX][MAX];
int len = 0;
int threadcount = 0;
int sortthread(void *arg){
int i = *(int *)arg;
int l = i;
printf("threa... | 6f8270b6b43e7357c811c3aedb4441d1409f533c | [
"C"
] | 1 | C | Wangh7/Multithread_sorting | 82b49721ba5b329d4716243f38b04a9fd36e602e | 6a90ae208c74faa074318eda4d9f6045c6907330 |
refs/heads/master | <file_sep>"use strict";
(function () {
var menu = document.querySelector(".navbar");
var banner = document.querySelector("#introducao");
var footer = document.querySelector("footer");
var btnSairMenu = document.querySelector("#btn-sair-menu");
var btnMenu = document.querySelector("#btn-menu");
btnMenu.addEvent... | 2a278f4fc78dbb1a6f59270a4b2f46419fc7500f | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | LumusCode/Front-End-Alura | 096c6b9f004e36157878a39d672b0dadb8a81709 | 02de2a55f366265a23bd1b0f2cadda2e25fddd44 |
refs/heads/main | <file_sep>import { INotebookState } from '../../states/INotebookState';
import ActionTypes from '../actions/ActionTypes';
import { IAction } from '../actions/IAction';
const initialState: INotebookState = {
notebooks: [],
selectedNotebook: undefined,
};
export default function device(state: INotebookState = initi... | 74ff8b93e8da0cbb9f90ce8218c83587a1d54c1b | [
"TypeScript"
] | 14 | TypeScript | Mirrored90/elastic-jupyter-dashboard | 06cbe018172aaf3753fbf8d13041179955223ba4 | 549b091c4824995cc82650954e5a58b994741afb |
refs/heads/master | <file_sep>/**
* Created by orenga on 7/1/17.
*/
public class Course {
String number;
String name;
String faculty;
String department;
public Course(CourseRaw rawCourse, String faculty, String department) {
this.number = rawCourse.courseNumber;
this.name = rawCourse.courseName;
... | 0655893e473bd01deed99bddf49808aa65ef900f | [
"Java"
] | 2 | Java | ogadiel/openu-courses-parser | 815317edde6990d753729dfa433e0da2a6daa956 | 76286cba4daa7eac9137319806988d93e58b05f0 |
refs/heads/master | <file_sep>var tmi = require('tmi.js');
var keys = require('./keys');
var currentChannel = ["TheKingOfPikmin", "walters954"]
var options = {
options:{
debug: true
},
connection:{
cluster: "aws",
reconnect: true
},
identity:{
username: "YungYungerbot",
password: keys.currentApiKey()
},
... | c3ab3051c34061674f6f2ddff6eedfdd9fff562e | [
"JavaScript"
] | 1 | JavaScript | walters954/YungBot | 019c151b01dbc85e3f4870de5fc9a91ac58ac141 | 051e952b969f8a3bff277e3fc65f9f4eb657889b |
refs/heads/master | <repo_name>xlliu/web_service<file_sep>/edy_web_services.1/edy_web_services.py
# -*- coding: utf-8 -*-
import md5
import sys
import uuid
reload(sys)
sys.setdefaultencoding('utf8')
import time
import re
import ConfigParser
import xlsxwriter as xlsxwriter
# import pandas as pd
from bson import ObjectId
from flask impor... | 7c14e0ce91e94677db4a59287c3fb20b7f9b9af8 | [
"Python",
"Text",
"Shell"
] | 8 | Python | xlliu/web_service | b023b16c892905c4f9b31cf0fe58819206c3880b | 9af406ab167f13cf2f1996951f8e4f543b0dcc88 |
refs/heads/master | <repo_name>ahierro/springdatamongoejemplo<file_sep>/src/main/java/ar/com/mongo/ejemplo/futbol/dao/repository/ClubRepository.java
package ar.com.mongo.ejemplo.futbol.dao.repository;
import org.bson.types.ObjectId;
import org.springframework.data.repository.PagingAndSortingRepository;
import ar.com.mongo.ejemplo.futbol... | d07a22ada4b33445c97184a8f246d9150fc65ec4 | [
"Java"
] | 1 | Java | ahierro/springdatamongoejemplo | d66e9e510215b9a75399326254e08730d7a65f15 | 574c52c1be348e1e3f85e44e0caf08fc1c60b362 |
refs/heads/master | <repo_name>TankMermaid/Drought-Root-Microbiome<file_sep>/temp/demo.py
#########################################################################
# File Name: demo.py
# Author: <NAME>
# mail: <EMAIL>
# Created Time: Tue 24 Nov 2020 08:08:30 PM CST
#########################################################################
... | 7b52e27ec0279df3500d518a31062eb40a7a2606 | [
"Python"
] | 1 | Python | TankMermaid/Drought-Root-Microbiome | 7518e5266bd789223751d4ae5226b6e4fe6bc672 | 9547f405adbd0384401f743511b76253eb115546 |
refs/heads/master | <file_sep>#!/usr/bin/env python
import boto3
def create_instances():
ec2 = boto3.resource('ec2')
# create the instance of the type ami-e689729e
temp = ec2.create_instances(ImageId='ami-e689729e', MinCount=1, MaxCount=1,InstanceType='t2.micro')
return temp[0].id
create_instances()
<file_sep>impor... | 2c8196b421e64e4b31e0ebf69e91d1b5bbf710f7 | [
"Python"
] | 3 | Python | saraducks/AWS_boto | 0894db075bda6aa4f3d9b52d953a47f26d054574 | 68955c7147b62a87af903da08d3b993cfcda7607 |
refs/heads/master | <repo_name>TobyRet/web_analyser<file_sep>/spec/reader_spec.rb
require_relative('../lib/reader')
describe Reader do
it 'does something'do
reader = Reader.new('./spec/fixtures/webserver_fixture.log')
read_lines = reader.run
expect(read_lines.first).to eq("/contact 158.577.775.616\n")
end
end
<file_sep>/... | d68835c5d941e16f639b116fadc685ac0c85218c | [
"Markdown",
"Ruby"
] | 11 | Ruby | TobyRet/web_analyser | 7d20771a323d8a4686975da64667b67900334c5e | fbf845857a12b319edeae79c23e0e7e3912cf1d3 |
refs/heads/main | <file_sep>include ':app'
rootProject.name = "PesanPancong"<file_sep>package com.example.pesanpancong;
import android.os.Parcel;
import android.os.Parcelable;
public class Pemesanan implements Parcelable {
private String viewName, viewBawa, viewPancong, viewCoklat, viewKeju, viewKacang, viewOreo;
public Pemes... | cc706906945ed38254b5f1c74e4deed836643f48 | [
"Markdown",
"Java",
"Gradle"
] | 3 | Gradle | mirzarayhan/ViewModel | b6e03e2903f5e9526ac393da8447596bade09efc | 6990dbf0d9644c7906a3f134f5081f312a935248 |
refs/heads/master | <file_sep><h1 id="toc_0">一个支持渐变色的圆环进度条控件</h1>
<pre><code>XML支持
1.circleWidth 圆环的宽度
2.circleAngle 圆环的进度
3.backgroundColor 圆环的默认背景颜色
代码支持
1.setCircleWidth 圆环宽度(DP)
2.setColorArray 圆环的渐变颜色数组
3.例如:
int[] colorArray = new int[]{Color.parseColor("#27B197"), Color.parseColor("#00A6D5")};
4.如果数组长度为1 那么默认颜色... | 918b8cdf1965511be16d88d0c6e68b05235f3039 | [
"Markdown",
"Java"
] | 2 | Markdown | 732275239/CircleProgress | 61001a3b823cc36a178303e441ee6c77651f1fc0 | b67e80409aadfd4ceac0353cb8661d088b8eaeb1 |
refs/heads/master | <file_sep><?php
/*
* This file is part of the Dektrium project.
*
* (c) Dektrium project <http://github.com/dektrium>
*
* For the full copyright and license information, please view the LICENSE.md
* file that was distributed with this source code.
*/
namespace wartron\yii2account\rbac\components;
use yii\db\Q... | b99ebefdaf182648cac9f20b52bc92db42a9eccf | [
"PHP"
] | 3 | PHP | wartron/yii2-account-rbac-uuid | 3268fa4e96d37092b4e8c73bb5c7fa1196813220 | 71a78f695100c9735264b7243146eacf7ef413ee |
refs/heads/master | <file_sep># money
> Display and convert currency amount
## usd
This is the default. The amount needs to be in cents (whole integer).
```js
import { usd, fromUsd } from "@tridnguyen/money";
usd(2020); // $20.20
usd(145230); // $1,452.30
usd(-43674); // ($436.74)
usd(); // $0.00
usd(10032, true); // 100.32
fromUsd... | 803bea4b59eb041c01487b48e8194e482bc72e4b | [
"Markdown",
"JavaScript"
] | 2 | Markdown | tnguyen14/money | 789700e0a958362d84a9af5d32790e6cd2c4ac47 | 1bab8c227b31bca256a263f098d105fa5132b582 |
refs/heads/master | <repo_name>jeffchiucp/valoria<file_sep>/models/thing.js
const mongoose = require('mongoose');
const { Schema } = mongoose;
const ThingSchema = new Schema({
kind : String,
content : {type : String, default : ''},
key : String,
creator : {type : String, default : 'James'},
dimension : String
});
const Thing =... | 52afa0842f126dba42dfcb1fa461019938b5a8b2 | [
"JavaScript"
] | 7 | JavaScript | jeffchiucp/valoria | 52a363dd04254ba0184da2ad72978e12dd729f48 | 3716340a605c26852ec8b6475354d93c306539f2 |
refs/heads/master | <file_sep># DragAndDrop_card
карты
<file_sep>
// Поворот карты по двойному клику
$('.card-block').dblclick( function() {
if($(this).find('.card').hasClass('flip')) {
$(this).find('.card').removeClass('flip')
} else {
$(this).find('.card').addClass('flip')
}
})
// Поворот карты по ховеру
// $('.car... | ac4d8fdc00822d216bcfcf07c124fbc4c8e5458a | [
"Markdown",
"JavaScript"
] | 2 | Markdown | ruslandesign33/DragAndDrop_card | 80490d56d572f7ffa0a17f8525c5eba3aa49b2c0 | 9c56cc8d127b1b68f9826fb42da4cea1f82edc0b |
refs/heads/master | <file_sep>import sys
import numpy as np
import pylab as plt
from astropy.table import Table
from astropy.io import fits
from matplotlib import gridspec
import camb
from camb import model, initialpower
# author M.Lembo (using pythoncamb)
# argv1=betaV_squared, argv2=betaE_squared
# Values used in the paper
# betaV_sq... | 5149ba86ddb0752bc709c450d04970c5d4f8dfb8 | [
"Python"
] | 1 | Python | mlembo00/circular-polarization | 4b2d607cb9606bd6a169b16b0db84c7a04b767a2 | 2dc343efaa84bfc819499f796492d372c53a3ad9 |
refs/heads/master | <repo_name>indigos33k3r/Jabba<file_sep>/src/formats/QuickReplies.ts
export interface IQuickRepliesButtonJson {
title: string;
value: string;
}
export interface IQuickRepliesJson {
type: string;
content: {
title: string;
buttons: IQuickRepliesButtonJson[];
};
}
export class QuickReplies {
private t... | eb4454ef2e0760d8150acbda74d82b7a2d43406a | [
"Markdown",
"TypeScript"
] | 13 | TypeScript | indigos33k3r/Jabba | 7bf13d2869edf0fff9f6e35365cf384baa170e9f | bd3602469e713ffe1b1041747d3c4b0aeed3bc2d |
refs/heads/main | <file_sep>import React, { Fragment, useEffect } from 'react'
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import { getProjectById } from '../../actions/projeto'
import Spinner from '../layouts/Spinner';
import { Link } from 'react-router-dom';
import Moment from 'react-moment';
const Proj... | 871cc4be8689a7cf01144bd24b990d33d0f0ed96 | [
"JavaScript"
] | 12 | JavaScript | luwynne/ficha_politica_fe | d54d1fb1da9fcb50430e4efde4744b8523c6cf16 | b73be16ad759677c510ad87cd11bfcdc93d33c4e |
refs/heads/master | <repo_name>Qerts/vox<file_sep>/Vox/WinRTLogger/Logger.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WinRTLogger
{
public class Logger
{
public Logger(Uri path, string filename)
{
//todo
}
public Logger(s... | ff241e71a33f332d8249d7d78a4de60c38afd7db | [
"C#"
] | 9 | C# | Qerts/vox | 41444b6494d0891928f534646291ad54f0e7bea0 | 8871182a5c8838e591195f7370f0653cd1970f87 |
refs/heads/master | <repo_name>darshanramu/LinuxLikeOS<file_sep>/kernel/drivers/memdevs.c
/******************************************************************************/
/* Important Spring 2015 CSCI 402 usage information: */
/* */
/* This... | a8fe56c633588aa7e0e0299d1af14f7727631ee5 | [
"C",
"Makefile"
] | 43 | C | darshanramu/LinuxLikeOS | 863c151588a9233d69fbc46794dbcc6e580c312e | 5e54605accfc61e04c0b12f8a577ecedf3a964bf |
refs/heads/master | <file_sep>import React from 'react';
import "./main.css";
import Divider from '@mui/material/Divider';
import Paper from '@mui/material/Paper';
import MenuList from '@mui/material/MenuList';
import MenuItem from '@mui/material/MenuItem';
import ListItemText from '@mui/material/ListItemText';
const list = ["Featured Auc... | a042646a21fabf5c9e103620109e31486e1c08b9 | [
"JavaScript"
] | 3 | JavaScript | bridgecrew-perf7/abd-alghani-task-deploy | 1a807324afded6d0a181c2e6d66211045b9bdeb8 | c15a14934b3485e477de6e75fe1c5d531286ccc0 |
refs/heads/master | <file_sep><?php
/**
* @package Fuel\Alias
* @version 2.0
* @author Fuel Development Team
* @license MIT License
* @copyright 2010 - 2014 Fuel Development Team
* @link http://fuelphp.com
*/
namespace Fuel\Alias\Providers;
use League\Container\ServiceProvider;
/**
* Fuel ServiceProvider cla... | 32f985e9d2690176fb7835cc64ec78a69f0e3b40 | [
"Markdown",
"PHP"
] | 9 | PHP | fuelphp-storage/alias | 911cf6caab6b35becd19f30c57768ba977bcec9d | 49c722610d4f2003664b5029fdd6f27bd5b5e481 |
refs/heads/master | <file_sep>from despatchbay.despatchbay_sdk import DespatchBaySDK
client = DespatchBaySDK(api_user='<APIUSER>', api_key='<APIKEY>')
my_parcel_1 = client.parcel(
weight=3,
length=14,
width=15,
height=92,
contents='Apples',
value=65
)
my_parcel_2 = client.parcel(
weight=30,
length=100,
... | 5b1c315c45b9415b1596f71b56cb276108059a40 | [
"Markdown",
"Python"
] | 9 | Python | despatchbay/despatchbay-python-sdk | c5fa87197260cb344e82d9ab0e6627419303484d | 6491f43fb3103253ade591557bf2c85740d1d3fc |
refs/heads/main | <repo_name>ReVelaO/evaluacion4<file_sep>/app/src/main/java/com/example/listaprecios/RegistroUsuarios.java
package com.example.listaprecios;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import androidx.appcompat.app.AppCompatActivity;
import java.util.ArrayList;
public class Re... | 7215eb16eb306c40b20f410496d07d0fa4242d47 | [
"Java"
] | 2 | Java | ReVelaO/evaluacion4 | 9478c8506a96688fd578148bb594f2e37e01644f | c05cee1e22827b7b0405abd0d3c41761af668ba9 |
refs/heads/master | <file_sep>import _ from 'underscore';
var UploadTemplate = _.template(`
<h1>Upload</h1>
<div class="row" id="formUpload">
<div class="col-md-4">
<div class="form-group" style="margin-bottom:10px">
<label for="txtExtraData1">Data Extra 1</label>
<input type="input" class="form-control" id=... | f5e6692471e6bf358e32f33f0c7f0d72feb09fcf | [
"JavaScript",
"Ruby",
"Markdown"
] | 8 | JavaScript | pepeul1191/webpack-aprendiendo2 | ad4c3384c4afeee27c6d1af2c723e88c0b67cadb | d46a2244ebf9fb2c3aa520c915f81bf1a3293ab7 |
refs/heads/master | <repo_name>siarmehriangel/currencyconverter<file_sep>/addons/default/madebysauce/convertcurrencies-module/src/Convertcurrency/ConvertcurrencySeeder.php
<?php namespace Madebysauce\ConvertcurrenciesModule\Convertcurrency;
use Anomaly\Streams\Platform\Database\Seeder\Seeder;
use Illuminate\Support\Facades\DB;
use Madeby... | fcafb72d7c51d166c330b5b90054da8388bddb65 | [
"Markdown",
"PHP"
] | 30 | PHP | siarmehriangel/currencyconverter | 77e5acc7f558cd5d89050c4bf89d12c1a70ef5fa | c690b9545f440e052c5a3f740bc0b87c54ec11c7 |
refs/heads/main | <file_sep><?php
function getScripts() {
wp_enqueue_style( 'main_css', get_template_directory_uri() . '/assets/css/main.css', '', 1.00000000003, 'all' );
wp_enqueue_script( 'main_js', get_template_directory_uri() . '/assets/js/main.js', '', 1, true);
}
add_action( 'wp_enqueue_scripts', 'getScripts');
functi... | 70940b80e976174531260b2bbfbcde51a7071ddc | [
"JavaScript",
"PHP"
] | 12 | PHP | IvanCanic/Sandrose-theme-WP | 6415c1e6a9af3dac569f56c91051b2b2fdb6af46 | 5b271d900ecbeab16215a5f2c1a5f1ae8a301a45 |
refs/heads/master | <repo_name>wys97/heshifu<file_sep>/.temp/pages/my/apply_detail/apply_detail.js
import Nerv from "nervjs";
import './apply_detail.css?v=20190904113';
import Taro, { showLoading as _showLoading, hideLoading as _hideLoading, showToast as _showToast } from "@tarojs/taro-h5";
import { View, Text } from '@tarojs/components';... | dd5ce6443c7a18309c87b79b52fad9b16fb94026 | [
"JavaScript",
"Markdown"
] | 39 | JavaScript | wys97/heshifu | d86f5ae9998fbb51fc1e25fcb2ab86cddd569824 | 4610a8dd82ea274875c2949518fe9c75c260bd5a |
refs/heads/master | <file_sep>/*
* Descripition: burn ID
*
* Copyright : SDMC Inc. Jul 13, 2013
*
* Created by Ronny <<EMAIL>>
*/
#ifndef __IDBURNER_H__
#define __IDBURNER_H__
#define MAC_ADDR_START 0x04
#define MAC_ADDR_LENGTH 0x06
#define MAC2_ADDR_START 0x40
#ifdef NEW_SN_LENGTH
#define USER_DEVICE_I... | 649efa5e10325065107720ede8f5323cf0535674 | [
"Java",
"C",
"Makefile",
"C++"
] | 16 | C | Huylehp912/lib_codeName_1 | bf5b9e9fec7830fbf97e7dbd27e413a1e95c6efd | 577df7e8a8c99cf5eb34ceaeb378addea3fa8e66 |
refs/heads/main | <file_sep><?php
class groupe{
use hydrate;
private $id;
private $userList;
public function getId(){
return $this->id;
}
public function setId($id){
$this->id = $id;
}
public function setUserList($datas){
for
}
public function getUserList(){
return $this->userList;
}
public function getGroup... | 0a4e734ac41fbb6b41f1d821862de911846136e8 | [
"JavaScript",
"PHP"
] | 27 | PHP | Vaalgtir/Workshop-2020 | 87bfd56381481c731c8a5b014a22f06bb37409f5 | 2f5b3cfdce5c89af491bd5c063abb73b67dd7f8d |
refs/heads/master | <repo_name>ioio-creative/School-VR<file_sep>/src/utils/aframeEditor/old/extractBase64StrFromHtmlFileReader.js
function extractBase64StrFromHtmlFileReader(resultStrFromFileReader) {
const strToFind = "base64,";
const idxOfStrToFind = resultStrFromFileReader.indexOf(strToFind);
return resultStrFromFileReader.substr... | e7835aa06c75a1e97296086ddccbc9a95a61ab92 | [
"JavaScript"
] | 73 | JavaScript | ioio-creative/School-VR | e930fb38307d25d9cef7ab49f19bb23614db36b7 | 0297434bc2d62971bfab68cb4baa6b5b72c051c2 |
refs/heads/master | <file_sep>#!/bin/bash
set -e
readonly PROGNAME=$(basename $0)
readonly PROGDIR=$(dirname $0) # don't care about readlink
: ${AWS:=aws}
MIME=$PROGDIR/mime
s3() {
$AWS s3 "$@"
}
s3_create_bucket() {
local bucket="$1"
echo "Creating bucket $bucket"
if s3 mb "s3://$bucket" > /dev/null; then
echo "Bucket $bucket... | 9c393fb2d9bf4115507877c8987390cf37974bfb | [
"Markdown",
"Shell"
] | 2 | Shell | apaleslimghost/Blofeld | c183673e6cd68431a07ebd68fc07db9fd091b8de | 7b33e480c283c626dda08a8e6507b98f5a93655d |
refs/heads/master | <file_sep># Optimization
Benchmarks for meta-heuristic optimization algorithms
## Meta-heuristic algorithms
* Intensification: <br/>
The ability of improving the existing solutions by exploiting locally the neighborhood of current solutions.
* Diversification: <br/>
Generate diverse solutions and exp... | bd1ab268a9a23835a44d821473ddf6ba989ea36f | [
"Markdown",
"Python"
] | 8 | Markdown | yjhong89/Optimization | ab10ffee04fbf40108d1a1bec1120378272f93bd | e8cf4943b7ac464d0dbb81b498aa0e94e1a4a01b |
refs/heads/master | <repo_name>productiveAnalytics/dynamodb-stream-based-backup<file_sep>/version_change_hander.js
const EventEmitter = require('events');
const VERSION_CHANGE_EVENT = 'recordChanged';
const AWS = require('aws-sdk');
AWS.config.update({
region: "us-east-1"
});
/*
Run following inside /hds/hds folder:
aws cloudformatio... | 336252b4ab3c2646b1b7bc40bddb3c69db9e3c1b | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | productiveAnalytics/dynamodb-stream-based-backup | 27cae86131f48924033c4f61e29b54576887a189 | 1402db26a7afc8976dc88fb5dee5841154950732 |
refs/heads/master | <file_sep># MC404 - "Organização de Computadores e Linguagem de Montagem"
Repositório para constar arquivos feitos durante a disciplina MC404 - "Organização de Computadores e Linguagem de Montagem"
<file_sep>#include "montador.h"
#include <stdio.h>
/*
---- Voce deve implementar essa função para a Parte 2! ----
... | 7a082a96c9f50d8a3be03da29fc7651734a20427 | [
"Markdown",
"Makefile",
"Python",
"Text",
"C"
] | 11 | Markdown | NicolasFrancaX/mc404-2s-2019 | 409747be42beffc266087ed42f6053e1ebc4fa3f | d12e39fce86242a0514df7725c5befa070189a2e |
refs/heads/master | <file_sep>const createBowl = ({ jumpDistance } = {}) => {
const decal = random(-X_POS + BOWL_SIZE, width-300);
const color = random(COLORS)
const x = X_POS + decal;
let y = 0;
let speed = 0;
let jumping = false;
let jumped = false;
let dead = false;
let error = Infinity;
const jump = () => {
if (!jumping) ... | a6053932800154ce956971ed2337a1980d88c29d | [
"JavaScript"
] | 1 | JavaScript | m0wh/genetic-algorithm | b2b4a777c493c201a6d3a07f65e8b007315e0a74 | d36729b989c5cd55f15cfb0d74d26e7cc2e06419 |
refs/heads/master | <file_sep>#!/usr/bin/env python
import os,sys
import fitsio
import astropy.io.fits as pyfits
from astropy.table import Table
import matplotlib.pyplot as plt
import numpy as np
from desimeter.transform.radec2tan import hadec2xy
from desimeter.simplecorr import SimpleCorr
import argparse
parser = argparse.ArgumentPars... | 8bf6077e6e9bf3dce619280fd27c40978f3b42c9 | [
"Python"
] | 3 | Python | noahfranz13/desicmx | 12296997f9dea2488c54f9c6f22681fff2f52eb3 | 96775233eba5ba5dadf09ec5991bf4f4a925a36d |
refs/heads/master | <repo_name>kujyp/robster_project_newscommentcrawler_191106<file_sep>/app.py
import atexit
import os
import queue
from urllib.parse import urlparse
from selenium import webdriver
from selenium.webdriver.remote.webdriver import WebDriver
from crawler import download_driver
from crawler.utils import console
from crawler... | d7cd799e8923c876cb2c280b3683806867a8f841 | [
"Python"
] | 2 | Python | kujyp/robster_project_newscommentcrawler_191106 | 41507ca585c7e724dde7efe7c7e19f56f8cbc1fe | d3a3fe0ace3f883b8022be181c288f8c45b16b4d |
refs/heads/master | <repo_name>sultansidhu/jobCrawler<file_sep>/WelcomeScreen.py
"""
=============================================================================
Name of Software: jobCrawler
Author: <NAME> and <NAME>
Date: July 25th, 2018
USE OF PYTHON 3.6 OR HIGHER IS RECOMMENDED
========================================================... | 52821b7a066c77f2cdd5e006699be09c69f9dae9 | [
"Python"
] | 2 | Python | sultansidhu/jobCrawler | 5fdf764b786a360f98756b968d3e36731326531a | 5e31dbd09c32d1ad7f583c38708cfadc36627f36 |
refs/heads/master | <repo_name>cjw296/ForJames<file_sep>/src/model_vfvt/base.py
'''
Created on Nov 10, 2012
@author: peterb
'''
from sqlalchemy.ext.declarative import declarative_base, declared_attr,\
has_inherited_table
import datetime
from sqlalchemy.schema import Column
from sqlalchemy.types import DateTime, Integer, String
from s... | c81704e8d8b18f76ddabada3328c22fb75ecf18e | [
"Python",
"Text"
] | 21 | Python | cjw296/ForJames | 394bdade3f5175571a965c3c1777b9b528951920 | 883094bb6a91fa13403f56604254a368e52ca907 |
refs/heads/master | <file_sep>import grapesjs from 'grapesjs';
const editor = grapesjs.init({
autorender: 0,
container: '#editor',
fromElement: true,
storageManager: { type: null},
layerManager: {
appendTo: '.layers-container'
},
panels: {
defaults: [{
id: 'panel-top',
... | 6e5ce632898536c5e0670feb8f94316ce0fe74db | [
"JavaScript"
] | 1 | JavaScript | vkkotha/he-editor | cc6149deb73cf36c1832b29381c425d009518255 | 2ab2efe23b0cc44354abe6386a40d3b977b205af |
refs/heads/master | <file_sep>const insertValue = (num) => {
const input = document.getElementById('input-value').value
document.getElementById('input-value').value = input + num
}
const calculate = () => {
const input = document.getElementById('input-value').value
document.getElementById('input-value').value = eval(input)
}
con... | 24e27504eb4d5764bddbe752116420fc61d768c9 | [
"JavaScript"
] | 1 | JavaScript | Limarychard/calculator | 011368ec33111880544101c87fbb98c255f03530 | 5c5f541b3e132783132e3a48f55bc4e4e2c9b644 |
refs/heads/master | <repo_name>Qwanead/973785-keksobooking-17<file_sep>/js/upload.js
'use strict';
(function () {
var FILE_TYPES = ['gif', 'jpg', 'jpeg', 'png'];
var avatarFileChooser = document.querySelector('#avatar');
var avatar = document.querySelector('.ad-form-header__preview img');
var isFileMatches = function (file) {
... | 1d0e25232102a2ccc2c3b2bb25df7fa9f666cfa9 | [
"JavaScript"
] | 2 | JavaScript | Qwanead/973785-keksobooking-17 | 5286a746030fc75707c88a6ff278996e40c328ca | 8add1844d9ebc05c61f614b0cef02db0e9e11a53 |
HEAD | <repo_name>lao-guan/Pythongit<file_sep>/readme.txt
这是我学习 Think Python 2e 过程中的代码
<file_sep>/ex3.2.py
# coding:utf-8
# 第三章函数 Exercise 3.2.
def do_twice(func,arg): # Runs a function twice
func(arg) # func:function object
func(arg) # arg : argument passed to the function
def print_twice(arg): ... | 8cd47173d50a3267b7a25db805c4c56f34221bf4 | [
"Python",
"Text"
] | 2 | Text | lao-guan/Pythongit | e206b17fe27dbad35384e70de364d570fca42df2 | 49592f27af688a932f58212fe9ad68ed4dd68312 |
refs/heads/master | <repo_name>seppo0010/notion-ios<file_sep>/README.md
# notion-ios
guess words through the association of icons
<file_sep>/Podfile
platform :ios, '8.0'
pod "ohmoc"
pod "iCarousel"
pod "MD5Digest"
| b5a8bdab378a937d19f959ea4b25cca208d5dbed | [
"Markdown",
"Ruby"
] | 2 | Markdown | seppo0010/notion-ios | 30f65bd00165fa751acf1856980eddd594eb8ead | 632db489c26e327422f17ecddbd43f0869499def |
refs/heads/master | <repo_name>PSmigielski/Faceprism<file_sep>/src/Controller/ResetPasswordController.php
<?php
namespace App\Controller;
use App\Entity\User;
use App\Controller\SchemaController;
use Opis\JsonSchema\Schema;
use Opis\JsonSchema\Validator;
use Symfony\Bridge\Twig\Mime\TemplatedEmail;
use Symfony\Bundle\FrameworkBundle\Con... | 8cff20092e74f6f5d6c8ba52ab2027c4a0127725 | [
"Markdown",
"JavaScript",
"PHP"
] | 26 | PHP | PSmigielski/Faceprism | bd07cb8fe763f6d402f5a2444725da2f7cdba3eb | fbb4aab247d324bf182bb35b2529f1bedb193442 |
refs/heads/master | <file_sep>package de.leafmc.debug.bungee;
import de.leafmc.debug.spigot.Debug;
import net.md_5.bungee.api.CommandSender;
import net.md_5.bungee.api.plugin.Command;
public final class CommandBungeeDebug extends Command {
public CommandBungeeDebug(final String name, final String permission, final String... a... | 494c9d9f05c03ece3937fb67284509aa25f4987c | [
"Java"
] | 3 | Java | LeafMC-Devs/DebugSystem | 14ba6572de3d03e78c9604fe705a304d2afff0c2 | e288b8207fa660cd01e89df09839af940a7b352b |
refs/heads/master | <repo_name>aarohan01/Blackjack<file_sep>/old/black_jack.py
#!/usr/bin/env python
# coding: utf-8
# In[1]:
import os
import random
import pyfiglet
import colorama
import time
# In[2]:
#ranks = ('1', '2', '3', '4', '5', '6', '7', '8', '9', '10', 'Jack', 'Queen', 'King')
ranks = ('1', '2', '3', '4', '5', '6', '7', ... | 1c41108791235b9f80a1ea6e458543735347a492 | [
"Markdown",
"Python"
] | 3 | Python | aarohan01/Blackjack | cc141adb3067c21a9dbb5b38d53b4ddf1cba999d | a0709adae1a7ba0667cdc74bee653c19c4309b2b |
refs/heads/main | <repo_name>alx/nlp_epub_entity_similarities<file_sep>/epub_entity_similarity.py
import glob
from tqdm import tqdm
import ebooklib
from bs4 import BeautifulSoup
from ebooklib import epub
import spacy
import networkx as nx
MAX_DISTANCE = 150
EPUB_PATH = './sink/'
EPUB_GLOB_PATTERN = '*.epub'
FILTERED_ENT_LABELS = ["PER... | bbd8157df530114a1afb1cf19253f507ba883332 | [
"Markdown",
"Python",
"Text"
] | 3 | Python | alx/nlp_epub_entity_similarities | ff66c957d76867918f60aeb55c2f259928a490ef | 73a70cd4b740fadb6f670877a1500279d3d67bdb |
refs/heads/master | <repo_name>rohaima/MyApp<file_sep>/src/components/App.jsx
import React,{Component} from 'react';
import { Route } from 'react-router-dom';
import Nav from './Nav';
import Home from './Home';
import Blogs from './Blogs';
import Testimonials from './Testimonials';
import ContactUs from './Contactus';
import Conta... | 14bae57f911d7b39e374def9061d70d1aa313740 | [
"JavaScript"
] | 11 | JavaScript | rohaima/MyApp | 1706447c0d2295e4c236f5015961c741d36b7413 | d0de6000cc2c15bed9bb004412dc034b3bfd3818 |
refs/heads/gh-pages | <file_sep>import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.RenderingHints;
import java.awt.Color;
import java.awt.Container;
import java.awt.Font;
import java.awt.event.KeyListener;
import java.awt.event.KeyEvent;
import java.awt.event.MouseListener;
import java.awt.event.MouseEvent;
impo... | ea1771c3739d3b2b8d61afd3a6c6ea67292f360f | [
"Java"
] | 1 | Java | TDugan23/Dice | 36d6280ff974097105cedf35e34acabca0dfc408 | 36c6a3dd14b20b6e2469429ee74fe1ccfbf8ea6d |
refs/heads/master | <file_sep>#include <gLCD.h>
const char RST = 8;
const char CS = 9;
const char Clk = 13;
const char Data = 11;
gLCD graphic(RST,CS,Clk,Data,HIGH_SPEED); //High speed
void setup()
{
graphic.begin(0,0,0,EPSON); //Normal Epson
graphic.setBackColour(GLCD_BLACK); //set the background to lime colour.
graphic... | aac90621b53a54efebc9d587e19f65696223e246 | [
"C++"
] | 2 | C++ | doremi/lcd-arduino | ad4b194600b6a8bbd9f6bd0213a2fc36015fa788 | c8cf5e3daf785012945f308da3dd88f1c287539b |
refs/heads/master | <file_sep>import { Component, OnInit } from '@angular/core';
@Component({
templateUrl: './home.component.html',
styleUrls: ['./home.component.scss']
})
export class HomeComponent implements OnInit {
constructor() { }
ngOnInit() {
// // TSLint test.
// // const constOne = 1, Const... | 830b54191f30a5dd535812a9e4c5f2230ecfb5b6 | [
"TypeScript"
] | 1 | TypeScript | alexanderbaran/angular-webpack | 8880df3045b15209688086baacbd11d5ffda6617 | f661aaaed4860bf61ef9e778a5f926c0856d828f |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.