branch_name stringclasses 149
values | text stringlengths 23 89.3M | directory_id stringlengths 40 40 | languages listlengths 1 19 | num_files int64 1 11.8k | repo_language stringclasses 38
values | repo_name stringlengths 6 114 | revision_id stringlengths 40 40 | snapshot_id stringlengths 40 40 |
|---|---|---|---|---|---|---|---|---|
refs/heads/main | <repo_name>bizarrelabs/nodejs_hello_world<file_sep>/README.md
# 01_nodejs_hello_world
<file_sep>/app.js
const express = require('express')
const app = express()
const port = 3000
app.get('/', (req, res) => {
res.send('\nHello World!!\n\n')
})
app.get('/status', (req, res) => {
res.send('\nStatus: UP\n\n')
})... | 28e8b858e84e70ab43bf18c5b3407fe13d8825d6 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | bizarrelabs/nodejs_hello_world | 575150dfc9979a5bdd9487115a22677fc596b1f1 | f7b3dfcae721e11e819f94193b226d4d06e0b680 |
refs/heads/main | <repo_name>huy2504/RPD-VPS<file_sep>/RDP.sh
#! /bin/bash
printf "Espera Creando" >&2
{
sudo useradd -m JEFF
sudo adduser JEFF sudo
echo 'JEFF:2112' | sudo chpasswd
sed -i 's/\/bin\/sh/\/bin\/bash/g' /etc/passwd
sudo apt-get update
wget https://dl.google.com/linux/direct/chrome-remote-desktop_current_amd64.deb
... | e2256db6ebf45da9dfd948316e9713990ef514aa | [
"Shell"
] | 1 | Shell | huy2504/RPD-VPS | 3196c5335148e6c3c9c310e8acc8e38578deb405 | d21e01d72879285af78f7b6c23e5b76928470fc6 |
refs/heads/master | <file_sep>#include<stdio.h>
main()
{
int a,a1,b,count=0;
scanf("%d%d",&a,&b);
count=a;
while(a>0)
{
count=count+(a*(100-b)/100);
a=((100-b)*a)/100;
}
printf("%d",count);
}
| 93cffa2947c3764b2f001a72557eaaaef496dbe5 | [
"C"
] | 1 | C | raghuveer1234/raghuveer | e2802dd96d68188464517e9802bf4823290ec032 | d18b68c858219f63ebd4a028f5f84012573a41ca |
refs/heads/master | <file_sep>// Fill out your copyright notice in the Description page of Project Settings.
using UnrealBuildTool;
using System.Collections.Generic;
public class AIPathFollowing_RNDTarget : TargetRules
{
public AIPathFollowing_RNDTarget(TargetInfo Target) : base(Target)
{
Type = TargetType.Game;
ExtraModuleNames.... | d23eb2e1af8fc9892602c2537b4feed0ece93a29 | [
"C#",
"C++"
] | 2 | C# | renkin4/AIPathFollowing_RND | b59685cd841bafa04a89830703368b0d6a563342 | 48a1eac2578a6da025bad285bb4ed6c210f3d47c |
refs/heads/master | <repo_name>anhnhat1506/learnreact2021<file_sep>/react-app/src/components/Todos.js
import React, { Fragment, useState } from 'react'
const Todos = () => {
const [todosState, setTodosState] = useState(['Việc 1', 'Việc 2', 'Việc 3'])
return (
<Fragment>
{todosState.map(todo =>{
... | eb11fc575480e661cbab135cac1d6274a603201c | [
"JavaScript"
] | 1 | JavaScript | anhnhat1506/learnreact2021 | 0f25cfcad5e62e6ed571f420aa2d94f6230d9869 | 7378c8b1886bb4d2222cb4840844f741f8cfa768 |
refs/heads/main | <file_sep>if (files.length > 0) {
// <p>の親要素<div>
const div = document.getElementById("img_list");
for (let i=0; i<files.length; i++) {
// <img>の親要素<p>
let p = document.createElement("p");
div.appendChild(p);
// <img>
let img = document.createElement("img"... | ffb39d27d1d2802e651c466e1eceeccdbf3a82e1 | [
"JavaScript",
"Python",
"Markdown"
] | 4 | JavaScript | 2020-AIT-OOP2-Group10/WebImageProcessor | 4b107a89d49c819c897f6fd00bb31338e6cddec6 | c46811672d81ffb06e480b15392bc96ba7c6b23e |
refs/heads/master | <file_sep>MathJax.Hub.Config({
extensions: ["tex2jax.js"],
jax: ["input/TeX","output/HTML-CSS"],
TeX: { equationNumbers: { autoNumber: "AMS" } },
});<file_sep>DOC=документация.tex main.tex
THEORY=теория.tex
all: docs theory
docs: $(DOC)
latexmk -pdf документация.tex
theory: $(THEORY)
latexmk -pdf теори... | 512eb971592a2aa8ee0340e0fbd7b2f6d6bc7ae0 | [
"JavaScript",
"Markdown",
"Makefile",
"INI",
"C",
"C++"
] | 20 | JavaScript | VSTU-physics/electron-escape-spectrum-x-ray | 02ef8041923c70b3c881091e7f4ece575dfce93d | a1d5bb77c325d38e1cc4a9e3b20fa27cbfd8a6fb |
refs/heads/master | <file_sep># aws_ansible
Ansible AWS demo: create and remove configured instances using dynamic inventory
<file_sep>#!/bin/bash
#export AWS_ACCESS_KEY_ID = "SORRY_BOTS"
#export AWS_SECRET_ACCESS_KEY = "DUMMY_KEY_ONLY"
export AWS_DEFAULT_REGION=us-east-1
export PLUGIN_ROOT=/data/git/octo/ansible-ec2-test/aws_ansible/p... | b5be394afbee08db678b970e2ed0339d6e2a7622 | [
"Markdown",
"Shell"
] | 3 | Markdown | octo-technology-downunder/aws_ansible | caf3de60601c6f587980f97882ff8893283d0d42 | 323f3f18efb5d0491699efc41b1c3540f8bb7e02 |
refs/heads/master | <repo_name>Bramichou/AppAndroid<file_sep>/.gradle/2.14.1/taskArtifacts/cache.properties
#Tue Feb 14 10:54:48 CET 2017
<file_sep>/app/src/main/java/menzel/ibrahim/myappandroid_first_test/MainActivity.java
package menzel.ibrahim.myappandroid_first_test;
import android.content.Intent;
import android.support.v7.app.AppCom... | 07bdc4b8c300542cb28016bc34cf5f160175f81a | [
"Java",
"INI"
] | 2 | INI | Bramichou/AppAndroid | 3c70e5706a26f14eca4094568c3981c38cdf9d38 | 272cbb6684e84e7a22fc9fcff93a4a47bac277c4 |
refs/heads/master | <file_sep>#__init__.py
#Importing our script class
from Session_Box import Session_Box
def create_instance(c_instance):
#Creates and Returns the Session_Box
return Session_Box(c_instance)<file_sep># Session_Box
This is a simple script that creates an 8x8 redbox. It does nothing by itself but can be used with my Sess... | 39ca291752d884501e6400f8a91c1bad3a99bd3a | [
"Markdown",
"Python"
] | 3 | Python | dataf1ow/Session_Box | 225cd3229c686f3d84284916c37aaec4f039b41b | 9f51c4ef0121892ac61889ceefc2ed4600e5b1a1 |
refs/heads/master | <file_sep>class Timer {
constructor(deadline) {
this.deadline = deadline;
}
render(domElement) {
let clock = document.querySelector(domElement);
clock.style.visibility = 'hidden';
clock.innerHTML = this.markup();
let days = clock.querySelector('.js-days');
l... | ac235f0929f6c9905d7f70f194d4f18ee7d9513b | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | justbenya/countdown-lp | 0b5f92b483ae2ac738b15874288295f53193b147 | 7d7f28e063caecb513ccddb4e4fb73344c760771 |
refs/heads/master | <file_sep>package net.travisdazell.javaone;
public class Golfer {
private String firstName;
private String lastName;
private int numberOfGuests;
public Golfer() {
// this is intentionally left blank for JAXB
}
public String getFirstName() {
return firstName;
}
public void setFirstName(String firstName)... | 6749f3cd699ea31f00460209a344a48b0c508369 | [
"Java"
] | 2 | Java | travisdazell/javaone-2013-dsl-java-builder-pattern | 7d28e18ccea7189fec8d9c2f148d23bc8eff05ee | 87c48d538f6188922629ebb6097907aea36e058b |
refs/heads/master | <file_sep>import datetime
from django.utils import timezone
from astropy.coordinates import EarthLocation
from astropy.coordinates import get_moon, SkyCoord, FK5
from astroplan import Observer
from astropy.time import Time
import astropy.units as u
from django import template
from ..models import *
register = template... | ccb8ae9a759ba1ceb0b8311efcb7a755b96d6a31 | [
"Python",
"Text",
"HTML"
] | 39 | Python | gnarayan/YSE_PZ | 74d3be1dcddddd4e8042af8bc646af0fe8b72159 | 3d871ffca96abb98d628fc0b6daa121a09460c34 |
refs/heads/master | <repo_name>madebycambiamentico/bisection-js<file_sep>/README.md
# bisection-js
simple 1D bisection function (to find roots of equations)
call to *getRootOf()* return *NaN* if no point founded, or root value otherwise.
```
number|NaN getRootOf(
function f[,
number guessPoint[,
number increment[,
number tollerance[,... | 7e11f03aee51b94441111e8a8044c459e9e64f02 | [
"Markdown",
"JavaScript"
] | 3 | Markdown | madebycambiamentico/bisection-js | 8eac0e7c431fcb7c74f2681e670b0e2b48b13d21 | 49599b252721b54b68e76e9cd9d05127b6d079cc |
refs/heads/master | <file_sep>#include <stdio.h>
#include <math.h>
typedef struct pion {
int type; // 0:carré, 1:triangle, 2:losange, 3:rond
int posX; // 0 to 9
int posY; // 0 to 9
int joueur; // O or 1
int nb_pion; // numéro du pion
};
struct pion deplacement_triangle(struct pion joueur[8],struct pion jou... | 593cbd7241b2d2a9decdb6a44e3d0bf8bc1e5259 | [
"C"
] | 1 | C | yeeoo1/traverse | bada0f41bca182dd030cdd468c472d38450b5b8a | f2b06ab9ae467ae29993698a1d7db9212d2548c2 |
refs/heads/master | <file_sep>Slug for Yii2
=============
Slug behavior for Yii2
Installation
------------
The preferred way to install this extension is through [composer](http://getcomposer.org/download/).
Either run
```
php composer.phar require --prefer-dist belozorov63/yii2-slug-behavior "*"
```
or add
```
"belozorov63/yii2-slu... | bde3f897b2fb2ee8e658774a716727ac533a56f6 | [
"Markdown",
"PHP"
] | 2 | Markdown | belozorov63/yii2-slug-behavior | e1c6b583b8f6483587962ae2604f1655d7e8fd4c | 39136eaafd388e045c56001f226780c506d0ffa1 |
refs/heads/master | <file_sep>package travelers.tripplanner;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.Window;
public class AddTrip extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
s... | a76668ecfa1fec9c1294c5e48b8f75093c33c8d5 | [
"Java"
] | 1 | Java | Bojan-sensei/TripPlanner_V1 | 7eceac5b78d31c4ef3c673c527e2fb40d4ece33f | dd76641ee026b52b6996374f437cfd1ce2d97c14 |
refs/heads/master | <repo_name>nlblunt/book-club<file_sep>/js/controllers.js
//Initialize the angularJS controllers
var appControllers = angular.module('appControllers', ['appServices']);
/* Create the controllers for projectApp */
//Controller for home
appControllers.controller('homeController', ['$scope', 'googleBooks', 'bcs', '$cooki... | cf7a7a0a4db0b072902e315a2256b07a9d9a015e | [
"JavaScript",
"PHP"
] | 4 | JavaScript | nlblunt/book-club | 587547a3423310652239ceac2d0e63e85a5ea6b2 | cf1e585a293474aa169c68e6dae546a349b3a335 |
refs/heads/master | <repo_name>fjlinhua/zookeeper-client<file_sep>/zkweb/src/main/java/com/egeniuss/zkweb/service/impl/ZkCacheServiceImpl.java
package com.egeniuss.zkweb.service.impl;
import java.io.IOException;
import java.sql.SQLException;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
im... | 84fe69ba123c5509be11c3126ae6b6da5f33b158 | [
"Java"
] | 2 | Java | fjlinhua/zookeeper-client | 94395d715abaa48eefd132c1ae1465f1643c59bc | f59b73f91a6f661cd0335b5d7757d2e2f7304ecd |
refs/heads/master | <repo_name>fussraider/userlist_demo<file_sep>/database/seeds/UsersSeeder.php
<?php
use Illuminate\Database\Seeder;
use App\{
User,
City
};
class UsersSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$admin = new User([
... | 4f413157ecb7be5922f4ae3ead44ca424e6bdf94 | [
"Markdown",
"PHP"
] | 6 | PHP | fussraider/userlist_demo | ddd9360521bc1898bc220e4a30d882f89688aaa3 | 56803daca65573a6145d3ffc66a8c2e38df5b620 |
refs/heads/master | <file_sep><?php
include 'header.php';
if($_POST){
if(isset($_POST['deleteAll'])){
delDatabase('cost', $con);
}
}
?>
<div class="container">
<form method="post">
<h2>Cost tábla adatainak törlése</h2>
<input type="submit" name="deleteAll" class="deleteBtn" valu... | c45d1599ff16c0260459be8a8f172c15e1bbe653 | [
"JavaScript",
"SQL",
"PHP"
] | 10 | PHP | growupk/spendingCalculator | c096e52d6eba8b4ba1c045cf41df92be7dc467f1 | 9e35677a7ccf3b68546d781e3ef0c5a238d2f332 |
refs/heads/main | <file_sep>const secretDoors = ['goat', 'goat', 'goat']
const fs = require('fs')
const { randomInt } = require('crypto')
const readlineSync = require('readline-sync')
const n = randomInt(0, 3)
//placé une voiture dans le tableau (au hazar)
const carIndex = secretDoors[n] = 'car'
//console.log(gates)
//
//choix du jo... | 1e0654c5fb9e139aa0594fae260d9eb8767e41b0 | [
"JavaScript"
] | 1 | JavaScript | bilaz666/Mounty-hall | 386e471e1b3638b43f7920bc9fd4aa5bd2ebc9ca | d6ed4d77cf374859e7c3f0da6b194c619a3c35ff |
refs/heads/master | <repo_name>kirey/WSforWSCM<file_sep>/src/main/java/vladimir/controllers/TestController.java
package vladimir.controllers;
import java.util.ArrayList;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaT... | 7f25140f961ced5636c6fb16e145e0d90f65cd71 | [
"Java",
"TypeScript"
] | 2 | Java | kirey/WSforWSCM | afeffb033cd37ff90772bddf9b73cea2c13ef889 | bf4b8c81f1abe7513f5fbed0521948cd6c752d5b |
refs/heads/main | <file_sep>import { Injectable } from "@angular/core";
import { User } from "./access/user.model";
import firebase from "firebase/app";
import "firebase/auth";
import "firebase/firestore";
import 'firebase/database'
import { Router } from "@angular/router";
@Injectable()
export class Auth {
public token_id: strin... | e74d0a9b67432fac3ffde52bebbd577eb269e120 | [
"TypeScript"
] | 9 | TypeScript | YeshayahuBennun/bennunInstagramClone | 0c378b6348d5c37b51231bcad37819d4a00a7d66 | 1a2d0bfda32b3f89a9f297fcb10436134b966376 |
refs/heads/master | <repo_name>SamirSouzaSys/Php_Silex_GoogleAppEngine<file_sep>/estudo/index.php
<?php
use Silex\Application;
require 'vendor/autoload.php';
$app = new Application();
$app->get('/users/{id}', function($id){
if(is_null($id))
return "id_Inexistente"."<br/>";
return "Meu id é:" . $id."<br/>";
})
->value('id',nul... | 50d68cbe54e3444d5a52c95fff7dbdcdced9b128 | [
"PHP"
] | 2 | PHP | SamirSouzaSys/Php_Silex_GoogleAppEngine | d9b5f89a517e029c2a2fbaa34350c601dbe23ee7 | 2521e346786ae690cdeb8baf70c4c8ec78485dfa |
refs/heads/master | <file_sep># _Wild West Space Grime_
This is a website for space cowboys. Built in rails, this site features Devise authentication for users and admins, simpleCov, factory girl, and validations. The database is seeded with an admin account. This site is great.
## Prerequisites
Web browser with ES6 compatibility
Exam... | 99eef429084a0ae8b26e0e9a13f05963758b389f | [
"Markdown",
"Ruby"
] | 15 | Markdown | moinstla/rpg | 54e775e1a2b53ab3c9026cfb3e7fcb34d0bf46e8 | 30e0096b3ef57a780df025d2f41f0c7d216cedcf |
refs/heads/master | <file_sep>from setuptools import setup, find_packages, Extension
author = "<NAME>"
author_email = "<EMAIL>"
license = 'MIT'
url = 'https://www.github.com/maartenbreddels/per4m'
# add debug, and use O1 to avoid inlining
extra_compile_args = ["-g", "-O1"]
setup(
author=author,
author_email=author_email,
nam... | d5f3ab8b89e2fd9dbb696898115ebb09f432d920 | [
"Markdown",
"Python",
"C++"
] | 16 | Python | simrit1/per4m | bdd30fde23fa46744ff438aebe4a096db4e0457c | b7f8a38f6cd454d1cef25369d82b03e382e5e694 |
refs/heads/master | <repo_name>narutojone1218/Measurement_ReactNative<file_sep>/src/js/home/settings.js
/**
* Sample React Native App
* https://github.com/facebook/react-native
* @flow
*/
import React, { Component } from 'react';
import {
AppRegistry,
StyleSheet,
Text,
View,
TouchableOpacity,
Image,
Dimensions,
} from '... | 749464ae1eb6a63f339e39d4b633e122a00e0ca5 | [
"JavaScript"
] | 3 | JavaScript | narutojone1218/Measurement_ReactNative | 0898640858d83d97a600243f79e1a7c26435f13a | c4d1ceb7bd32682e187230fd091d926817d76fb7 |
refs/heads/master | <file_sep># DeepEmoDet
An emotion detection system using pre-trained word embeddings.
## Data
DeepEmoDet uses [GoEmotions dataset](https://github.com/google-research/google-research/tree/master/goemotions).
* Summary of GoEmotions dataset
* 58k reddit comments
* 28 emotion categories(27 emotions + neutral)
## ... | f6781b5360e6bd1233064d1aa06bc666ef7016a9 | [
"Markdown",
"Python"
] | 2 | Markdown | satojkovic/DeepEmoDet | 1eab655ea0cb0718138b1a17e0c6dea86aa61e08 | 2dccb1ac0322ff0cba420e064f8deaba7d7d448a |
refs/heads/master | <repo_name>marissap/notesbymaris<file_sep>/content/agile/index.md
---
title: "notes on becoming agile"
description: 'I reflect on the 8 months I spent sworking in an organization that had recently transitioned to Agile.'
date: '2019-10-02'
image:
tags: ['business', 'agile', 'workplace', 'internship', 'experience']
---
... | 9f23128258a44c2d9cc9137138c59f900a3ef769 | [
"Markdown",
"JavaScript"
] | 15 | Markdown | marissap/notesbymaris | 1021ff92587c7d416bd6ef23b7265de8b1898d6b | f2f26349e12a12ae57ab534d312c5cb39b3eaaaa |
refs/heads/master | <repo_name>dpogni/hue-dashboard<file_sep>/src/components/Header.js
import React from "react";
const Header = props => {
return (
<header className="App-header">
<h1 className="App-header__headline">My Home</h1>
<p>{props.lights.length} devices connected</p>
</header>
);
};
export default Heade... | 0fb706ac7b72e0d501a870a1cda3e448f96652c2 | [
"JavaScript"
] | 2 | JavaScript | dpogni/hue-dashboard | 61e1b05530fd0619179d51cd6c13611df24310ad | cbaf24ca16273993782b4e460a9706d24360ca68 |
refs/heads/master | <file_sep>package defaults
import (
"testing"
"time"
"github.com/stretchr/testify/require"
)
func TestTIfZero(t *testing.T) {
require.Equal(t, 1, IntIfZero(0, 1))
require.Equal(t, int8(1), Int8IfZero(0, 1))
require.Equal(t, int16(1), Int16IfZero(0, 1))
require.Equal(t, int32(1), Int32IfZero(0, 1))
require.Eq... | 5a25e448c244076ef1b1057b4323c5b80d5c0a05 | [
"Go Module",
"Go"
] | 14 | Go | awsassets/goctl | fe2240a052533a64c3f34798c48cf277e1cdb159 | e73d2be63541d5b0116106f6b27615b1d14cae83 |
refs/heads/master | <repo_name>PetarMaksimovic3217/IT255-DZ10-PetarMaksimovic-3217<file_sep>/src/app/dodaj-tip-sobe/dodaj-tip-sobe.component.ts
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-dodaj-tip-sobe',
templateUrl: './dodaj-tip-sobe.component.html',
styleUrls: ['./dodaj-tip-sobe.component.css']... | 41dae37c990e81e3c6cff314ea0421874112d836 | [
"SQL",
"TypeScript"
] | 5 | TypeScript | PetarMaksimovic3217/IT255-DZ10-PetarMaksimovic-3217 | aaec9330a46f02e8774b66263bc38c795652c8f0 | 858242a08491a398895e9a4098717c934d38a9ae |
refs/heads/master | <repo_name>dzhenidi/W1D4-classwork<file_sep>/board.rb
require_relative "tile"
require_relative "game"
class Board
attr_accessor :grid
def initialize
grid = Array.new(9) { Array.new(9) }
populate_grid
end
def tileize_grid
grid.each do |row|
row.each do |cell|
cell = Tile.new
... | 7ce2d212c54c7829e0dcc10d563e64896000aa95 | [
"Ruby"
] | 3 | Ruby | dzhenidi/W1D4-classwork | afcfbe03c1b21f5ea90a0a2b7d8e942d0317a946 | e16d48c59a76b7cc9a2fc286de18b8a673240992 |
refs/heads/main | <repo_name>camperdue42/CSCI320-Project<file_sep>/database_application/views.py
from django.shortcuts import render, redirect
from django.http import HttpResponse, HttpResponseNotFound, Http404, HttpResponseRedirect
from django.template import Context, loader
from database_application.models import User, Utensil, Reci... | d95c02130daf68f3bc324135994298c4a30bb42d | [
"Markdown",
"Python"
] | 7 | Python | camperdue42/CSCI320-Project | 2d55f2d350ae47d09d7e518dce7f7ecf16b41bb0 | 61fa7ed0d8664d3c4540ee95a1f19645f828cb33 |
refs/heads/master | <file_sep># Uncomment this line to define a global platform for your project
# platform :ios, '8.0'
# Uncomment this line if you're using Swift
use_frameworks!
target 'RAC+MVVM实现网络请求' do
pod 'AFNetworking', '~> 3.1.0'
pod 'ReactiveCocoa', '~> 4.2.1'
end
| c758b4ec659fd81a99d06497fc913e541571f2da | [
"Ruby"
] | 1 | Ruby | walkertop/RAC-MVVM- | 314d983fd5d3dd9d74398240696a2e214422db10 | 67ade778b4f25157dc1c209f5912265946521ca2 |
refs/heads/master | <file_sep>vim-jsx-typescript
=======
Syntax highlighting for JSX in Typescript.
vim-jsx-typescript is _not_ a JavaScript syntax package, so in order to use it, you will
also need to choose a base JS highlighter. [leafgarland/typescript-vim][1] is the
recommended package.

;
export default class DaysList extends Component {
render() {
const {cards, selectedCard, ...restProps} = this.props;
return <div className={block()}>
... | 39b739c655bd1c5535f573e12d476d4788df66b3 | [
"JavaScript"
] | 11 | JavaScript | ekazakov/AnyWeather | b4e7664d9171b04f60bb8dc51969a6e4c53521a5 | cc44ba7d5c1a072503cc8d6243316bda8ecbc799 |
refs/heads/master | <file_sep>#pragma once
#include <initializer_list>
#include <string>
#include <sstream>
#include <cmath>
#include <iostream>
#include <iomanip>
struct Elements {
double x_,y_,z_;
};
namespace ekumen {
namespace math {
class Vector3 {
public:
static const Vector3 kUnitX;
static const Vector3 kUnitY;
stat... | 8f59706e02dd8887afceb6d68bef1c9401468c7b | [
"C++"
] | 3 | C++ | Lobotuerk/cppl1_q12020 | b93cf3adbd153fe6747a7bcf44dd8fea081ec26a | df0e9be2ed784492ba76a3d39d7b724ed61abbb7 |
refs/heads/main | <repo_name>goingforbrooke/directory_summarizer<file_sep>/Cargo.toml
[package]
name = "directory_summarizer"
default-run = "directory_summarizer"
version = "1.3.0"
authors = ["Brooke <<EMAIL>>"]
edition = "2021"
rust-version = "1.60"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/man... | 8f83c48a6f328f9f317773cea2b82b7e494bbf99 | [
"TOML",
"Rust",
"Markdown",
"Shell"
] | 5 | TOML | goingforbrooke/directory_summarizer | eecbd75d891b4ae7b32ec113dd5af07e28ee3eae | 95038f2b4b7adb18b870346c065186db4f904137 |
refs/heads/master | <repo_name>nicoto/survey-says<file_sep>/app/controllers/survey.rb
require 'json'
# list of surveys
get '/survey' do
p params
@surveys = Survey.all
erb :"/survey/list"
end
# get '/survey/new' do
# erb :'/survey/new'
# end
post '/survey/new' do
p "*" * 100
p params
survey = Survey.new(name: params... | c9a00d64acd08058aaa7b91da8fdd5d47632bb59 | [
"JavaScript",
"Ruby"
] | 8 | Ruby | nicoto/survey-says | 83c6edf300512ba3cabd89439ccf70f057f0c909 | 18cdf4fed21674db98ea28c74bcf8d5f5ce9ca63 |
refs/heads/master | <repo_name>gitprojup/firse-karke-dekho<file_sep>/client/src/services/PostsService.js
import Api from '@/services/Api'
export default {
fetchPosts() {
return Api().get('/api/getposts')
},
addPost(params) {
return Api().post('/api/posts', params)
},
updatePost(params) {
retu... | 5b6c0df4a7eb7c8b7fda153db2d4d34940b8c279 | [
"JavaScript"
] | 1 | JavaScript | gitprojup/firse-karke-dekho | 51858cd8b7a1c3eb0aa63de430b3cf8536b4eeeb | 69019b5348ea3254847125f848f4f8f80b759575 |
refs/heads/master | <repo_name>alenzar/chanzhieps<file_sep>/system/module/slide/lang/zh-cn.php
<?php
/**
* The slide category zh-cn file of chanzhiEPS.
*
* @copyright Copyright 2013-2013 青岛息壤网络信息有限公司 (QingDao XiRang Network Infomation Co,LTD www.xirangit.com)
* @license LGPL
* @author <NAME> <<EMAIL>>
* @package slide... | 425a928a0293e72cb575d1bc7ff0207d05d87a5d | [
"PHP"
] | 11 | PHP | alenzar/chanzhieps | cdf629873f27f8f542ee97d9044d649f5586e31e | fb56abc14dee47e382b370da7b1722106e347209 |
refs/heads/master | <file_sep>/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package dnaproject;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.sql.Connection;
imp... | 22d51145eba7b899458f30c09b4e68b24a6790bf | [
"Java"
] | 3 | Java | niral2395/Java | 99dbbc312c9f13f9a5162dbe2551bb3fde7ab1f2 | 9d48c60dbfff78320cc1274c1135a59cf6974c42 |
refs/heads/the-future | <file_sep>import { moduleFor, test } from 'ember-qunit';
import get from 'ember-metal/get';
moduleFor('service:ajax', 'Unit | Service | ajax');
test('authentication headers are added to ajax requests', function(assert) {
assert.expect(1);
const service = this.subject({
session: {
isAuthenticated: true,
... | 2fbf94b970d857d154f198d1cc51ef56e1115685 | [
"JavaScript"
] | 17 | JavaScript | vevix/hummingbird-client | e58fd2beec597a7f60fd1628fb9af53da9a0b6af | 43a54b48c93961ad58876aa55d587ec6622254b3 |
refs/heads/master | <file_sep>package com.cnsi.filemanager.interfaces;
import java.util.Map;
public interface IPropertyReader {
public Map loadProperty();
}
<file_sep>package com.cnsi.filemanager.interfaces;
public interface IFileManagerConstants {
public static final String FILE_SOURCE = "FILE_SOURCE";
public static final Stri... | 5ae38574569b620fbd16fe473d35cce9cf31d71e | [
"Java"
] | 6 | Java | prabhushan/FileManager | 16f90673526ee2716d2a63ffb0761515c13dbe5f | 923f93b7462acb45ed2d437709072e43c9994375 |
refs/heads/master | <repo_name>sun6585503/PropertyValueTransformer<file_sep>/PropertyValueTransformer/src/com/jerrysun/transformer/demo/object/MsgBean.java
package com.jerrysun.transformer.demo.object;
public class MsgBean {
/**
* 消息类型
*
* 1:同步消息
* 2:异步消息
*/
private int msgType;
/**
* 命令类型
*
* 1:关机
* 2:重新启动
* ... | feeb7e77409957ced8899c1f2a6241af93be84be | [
"Markdown",
"Java"
] | 3 | Java | sun6585503/PropertyValueTransformer | e34e5603d989b704eca5e4e481add99f5b20136e | 4e91d7b617e234f13487746fe60b1810b60b6d23 |
refs/heads/master | <repo_name>shivamGo/contests<file_sep>/README.md
# contests
Solutions of contests have been done on different sites.
<file_sep>/hackerrank/src/weekofcode/Solution.java
package weekofcode;
public class Solution {
public static void main(String[] args) {
String[] names = {"shivam", "varun", "tejas","om"};
for(Stri... | 914dc2b97753ec46b7375c076e0bef5ac2f7670d | [
"Markdown",
"Java"
] | 2 | Markdown | shivamGo/contests | 7ecec6761ebef2bf0045f78b05ee233fb3467aef | 63b96ae8bf2362f80759564d1add62602b902c30 |
refs/heads/main | <file_sep>/*
189 - Awaited
-------
by <NAME> (@maciejsikora) #easy #promise #built-in
### Question
If we have a type which is wrapped type like Promise. How we can get a type which is inside the wrapped type?
For example: if we have `Promise<ExampleType>` how to get ExampleType?
```ts
type ExampleTy... | 96c6cfe33fbabf385101cea18f2139903da0ff2d | [
"TOML",
"Markdown",
"Java",
"Python",
"TypeScript",
"C++"
] | 13 | TypeScript | deepanchal/deep-leetcodes | 361d3c55049b176a13f50f914d329f8e23867988 | 00992d08ba74fe1dff785d5dc734823a91c53cb6 |
refs/heads/master | <repo_name>sumukh-pinge/HD-Classification<file_sep>/FPGA/src/host.h
#include "host.hpp"
#include <cmath>
#include <fstream>
#include <sstream>
#include <string>
#include <algorithm>
#include <iterator>
#include <vector>
#include <time.h>
#include <chrono>
using namespace std;
int train = 3;
#define N_CLASS 26 //nu... | 82727c5a847918d11df7b3bfc3273f18ce682535 | [
"Python",
"C++",
"Shell"
] | 6 | C++ | sumukh-pinge/HD-Classification | 19d69f67d538b00c0eb7b387613798756ad4b6d5 | 0e963f916d45b3706a21eda2a2dcf6e55393711d |
refs/heads/master | <file_sep>window.addEventListener('load', () => {
let long;
let lat;
let timezoon = document.querySelector(".timezoon");
let temper = document.querySelector(".temper");
let tem_dec = document.querySelector(".tem_dec");
if (navigator.geolocation) {
navigator.geolocation.getCurrentPo... | aa0c1c2b9290b72f316fad5a3207cc77cdde4c83 | [
"JavaScript"
] | 1 | JavaScript | hemanta4291/weather | e60fe1e2f2d277b263648208fb66c21c9f023689 | a993aaf5df47b2bec07ddfb782b13885ca847edd |
refs/heads/master | <file_sep>import { Component, OnInit } from '@angular/core';
import { FormGroup, FormBuilder, Validators } from '@angular/forms';
import { Router } from '@angular/router';
import { ApiServiceService } from '../api-service.service';
@Component({
selector: 'app-create-post',
templateUrl: './create-post.component.htm... | 2fcceaed93684cc9b46fc7a85df5192a7842ef97 | [
"Markdown",
"TypeScript"
] | 5 | TypeScript | nithamaliakkal/postApp | a04339981300f79fa95c222d5f8c10ad58285925 | fc42feab82e54628ad4c11b6d238cd1ccb8f52db |
refs/heads/master | <file_sep>#![warn(rust_2018_idioms)]
use tokio::sync::mpsc;
use tokio::time::throttle::Throttle;
use tokio::time::Instant;
use tokio_test::{assert_pending, assert_ready_eq};
use futures::future::poll_fn;
use futures::StreamExt;
use std::task::Poll;
use std::time::Duration;
#[tokio::test]
async fn throttle() {
le... | 3b7c0416d0b205b16df614be10d14b51ab9ed585 | [
"Rust"
] | 8 | Rust | papertigers/tokio | 0dcd03b4a157e7af4ce947b0556912a5011d25c7 | 0a664de6e068cbcc2b85b231e95ea79679445a2e |
refs/heads/master | <file_sep>import React, { useContext } from 'react';
import styled from 'styled-components';
import Context from '../contexts/context';
import DetailedListItem from './DetailedListItem';
import { getUserIds } from '../utils/utils';
const List = styled.ul`
list-style-type: none;
overflow-y: auto;
padding-le... | 4b40669809c785689b4e7fdc75700a3e4dd6386c | [
"JavaScript",
"Markdown"
] | 11 | JavaScript | abdulkalamr/reactions | 0de57008496bc515b1371a48537738a246d55d83 | 2e478ffa19b33e8bd4cac612e628dcf505cb7974 |
refs/heads/main | <repo_name>nicolaslorenzo12/Library1<file_sep>/Book.java
public class Book {
private String name;
private String author;
private boolean availability;
private int number;
public Book(String name, String author, boolean availability, int number) {
this.name = name;
this.aut... | c813738915577c4202353284eedb2315ecc35055 | [
"Java"
] | 2 | Java | nicolaslorenzo12/Library1 | a08b042c56dcb328d60a728f947f4b26a089cfc4 | b6511ea498005f0d807dfcc06a836a16c364e991 |
refs/heads/main | <file_sep>
/* This line was the major problem:
"let startingCardsCopy = startingCards"
startingCardsCopy is a new variable pointing to the SAME array.
Equality works differently for arrays and objects than for primitive values, such as
integers and strings. Objects and arrays are containers ... | f0bb0405ee2e36690d5fc8f1a8734b6ee9a63ee3 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | CDidier80/debugged-game-for-Faryal- | 8d7ac087f1ed16d30fab245c43c5a6a8da37c74b | 999f68167309bd51a3a88f76d51d86cc3108c85c |
refs/heads/master | <file_sep>require "spec_helper"
RSpec.describe Adjudication::Providers::Provider do
describe 'valid? method' do
it "must have an npi length of 10 characters" do
provider =
Adjudication::Providers::Provider.new
provider.npi = "0123456789"
expect(provider.valid?).to eq(true)
end
... | 12dffdf35919670f944f9da1269c31b5ccb5abd7 | [
"Ruby"
] | 4 | Ruby | pataseya/adjudication_engine | 4e3fc37b12f319fb6c257560fa3a5190f6b938d0 | e3e89067a4aa9fc0079f9ea52d4c9be50cfd2ee5 |
refs/heads/master | <repo_name>yaredc/stack<file_sep>/.docker/dev/php.dockerfile
FROM php:7.3-fpm-alpine
#PRODUCTION LAYER
RUN apk add --no-cache --virtual .deps autoconf tzdata build-base libzip-dev mysql-dev \
libxml2-dev libxslt-dev libpng-dev zlib-dev freetype-dev jpeg-dev icu-dev &&\
docker-php-ext-install zip xml x... | 9419887e365ba3ed95d96b30d75550bb5f5b913e | [
"Markdown",
"Dockerfile",
"Shell"
] | 5 | Dockerfile | yaredc/stack | 6d7416e09a1a44f8992ad63323a3ecfc0753e7e2 | 90b8b28b61c7db1ed8c16cb3abd5d126b2f1ce7d |
refs/heads/master | <repo_name>merchp/sclera<file_sep>/FinalProjectReview.md
## Lessons Learned:
#### What did you do right?
I designed a good concept, really thought through the entire software development process, how important version control is
#### What did you do wrong ?
I didn’t take advantage of the collaboration we had ... | 60fd7028e7f1a90cf8c0a100e08dd098faab639a | [
"Markdown",
"SQL",
"HTML"
] | 5 | Markdown | merchp/sclera | e09b1c4d506760cc447a51d97c45a9e088235409 | 4c12edbf63783c8361a05585760d5250f2007b60 |
refs/heads/main | <repo_name>pontakornth/sort-visualizer-preact<file_sep>/src/useVisualizer.ts
import { StateUpdater, useEffect, useState, Ref } from "preact/hooks"
import shuffle from "./shuffle"
type BarSpec = {
arr: number[], // Array to draw
colorIndexes: number[], // Index to have colors
color?: string // Color of the i... | 6dca786f1c69f8ef4058db707f2aa886429aa985 | [
"TypeScript"
] | 6 | TypeScript | pontakornth/sort-visualizer-preact | 2b2a2a3d4dd7455525855bd2b74977a7b975c14b | 2b6255ffb65fb292b6278b07d95a4e33d949de5c |
refs/heads/master | <repo_name>mberna/pokemon-go<file_sep>/canvas.js
var width=640, height=480;
var radio_radar = 200;
var radio_found = 25;
var trainer_initial_x = 545;
var trainer_initial_y = 150;
var trainer_initial_direction = "west";
var trainer = null;
function resetTrainer() {
trainer = {
x: trainer_initial_x,
y: traine... | 5cdc3ae894ccfbd2cef3f3ec0906d132ecf2741b | [
"JavaScript"
] | 1 | JavaScript | mberna/pokemon-go | 5471b29f23c0e91157c584183e7658218d0fb29b | 4d0548a8a59394ab3fb5f79e3ffaf7699cd3d8b9 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Graphs
{
public partial class Form1 : Form
{
Graph a ... | 50617d27d6e8b4fa11b598513e157b6d7f234b0d | [
"C#"
] | 2 | C# | LyaminRoman/Graph | 467eb318f9db029d420dad64f554d9e9d59ed214 | 570afd253833a21caed331ddecb9a495fca32c8e |
refs/heads/master | <file_sep>module.exports = function(AccountingRegister) {
};
| 705eb2acc0fbf2a4bbef2038444e3ea9c5deb416 | [
"JavaScript"
] | 1 | JavaScript | webkrak/accounting | a0f24569c104384f0b44c0ce6dad127ea6eb8e71 | 510161fe3f68b0e09138541237c0e84efae27c62 |
refs/heads/master | <repo_name>kranthiGE/product-rating-services<file_sep>/Dockerfile
# docker build --build-arg APP_NAME=product-rating-services --build-arg APP_VERSION=0.0.1-SNAPSHOT --build-arg ENV=dev --tag=product-rating-services:v1.0 .
############ BUILD STEP ##############
FROM maven:3.6.0-jdk-8-alpine AS BUILD
MAINTAINER kranthiki... | eebce07409b03e914a6f62892b0a9e4ed2fd270d | [
"Markdown",
"Java",
"Dockerfile"
] | 5 | Dockerfile | kranthiGE/product-rating-services | 306c541b6757b0a09a5f7e968f87d4618db28588 | 03c3055a170130ed3d401968cd3da2b82f6b4ae9 |
refs/heads/master | <repo_name>marissablock23/fininc<file_sep>/final-output.Rmd
---
title: "Visualizing Financial Inclusion"
author: "<NAME>"
output:
html_document:
code_folding: hide
css: style.css
toc: true
toc_depth: 2
toc_float: true
bibliography: bib.bib
nocite: "@*"
---
```{r global_options, include=FALSE}... | 4096fb7e63d0b57fed01bb24d379a915599002ce | [
"Markdown",
"R",
"RMarkdown"
] | 4 | RMarkdown | marissablock23/fininc | 51c0e173532efa4a3a83ca4d5f5b5bfa7803a84a | 1770333f673ae38332f66ba50e5de9e55eb123b9 |
refs/heads/master | <repo_name>cuonghd97/vue-for-future<file_sep>/login-vue-flask/back-end/run.py
from flask import Flask
from flask_jwt_extended import JWTManager
from flask_restful import Api
from flask_cors import CORS
from config import Config
from db import db
from resources.user import *
app = Flask(__name__)
CORS(app)
app.config.... | 03d9619709834213f3ab3c29e495db63077cbd16 | [
"Markdown",
"Python",
"Text"
] | 6 | Python | cuonghd97/vue-for-future | 2cfd954af8d53ce710125bddc49a7ffd02d7fa20 | f5e927b5b5891ae0ee8df041fad47a17dae47263 |
refs/heads/master | <file_sep>#!/usr/bin/python
# -*- coding: utf-8 -*-
import os
from flask import (
Flask,
flash,
render_template,
redirect,
request,
session,
url_for,
abort,
)
from flask_pymongo import PyMongo
from bson.objectid import ObjectId
from werkzeug.security import generate_password_hash, check... | 6db9e1d286da9e205760ac33eac59f6a00ee5a3c | [
"Markdown",
"Python",
"HTML"
] | 3 | Python | Code-Institute-Submissions/Federvgh-MS3-Tango-Dictionary_NovResub | eebff29ad4033727c20aefba00e933a41d860760 | d155fd886fe65e5bbff3df485a8b501a14b0f07d |
refs/heads/master | <file_sep>/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package associação;
/**
*
* @author aluno
*/
public class Client {
private String name;
private Stri... | af4743c1c2f7720f89e68c64508de00fb3629c34 | [
"Java"
] | 1 | Java | felipepradobastos/Atividade-Associacao---Java | ea1c655961580f952125ddc8afb87d53afac85c7 | ee437171bdf372e7b50ebcc9257b3dfdf36e2b02 |
refs/heads/master | <file_sep><?php
session_start();
if (empty($_SESSION['droit'])) {
header('Location: index.php');
}
elseif ($_SESSION['droit'] == 'admin')
{
echo "vous etes admin!";
}
$bdd = new PDO('mysql:host=localhost;dbname=projet', 'root', '');
$panier = $bdd->query("SELECT `id_statut`
FROM commande
WHERE id =
(
SELEC... | b364ee87b284bca690e8a93bd2553a85b68d56fb | [
"JavaScript",
"SQL",
"PHP"
] | 17 | PHP | samyel-abouadaou/projet1 | b101737ff7a91a212bf277467bcac3d4a21fcba8 | 9836e493824904648e62aab617e6d970d12b4a1e |
refs/heads/master | <repo_name>Fake45mar/Java<file_sep>/alone/practice/src/Main.java
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
System.out.println("Enter a port");
int port = Integer.parseI... | 3d2087c5c2760d202cc7c7f5bb4ba6209a05e17f | [
"Java",
"Python"
] | 16 | Java | Fake45mar/Java | ad78d1e042682d3d6fca1c8389effaa9c026ddb6 | c8526c06f562a47ce9f58919e70ebb6a205cd794 |
refs/heads/master | <file_sep>import React, { Component } from 'react'
//Importar componentes hijos
import Message from '../Message'
class MessagesList extends Component {
constructor (props) {
super(props)
}
render () {
return (
<div>
{this.props.messages.map(msg => {
return (
<Messag... | c9661e705ac2ff83be0757b076f327248c0c0099 | [
"JavaScript"
] | 1 | JavaScript | F4vs/reacttwit | b3c39a78186cfec2c1a96d35284f5ac3209c6d76 | 70cfaffc271dd69bb565b7f2ce1d398645a3d7e4 |
refs/heads/main | <file_sep># Circle Calculater with Radius as input.
This is my first Java task.
Main objectives are to split class in own class.java file and run using main.java
- create static methods in class
- Call/execute them in the main.java file without using get/set.
Work is done using Netbeans (Java with Ant).
<file_sep>pa... | cea1af562fe2fa53f46c646a168047f3fa448c70 | [
"Markdown",
"Java"
] | 4 | Markdown | arindamg94/Work-Hard-Code-Harder | 6b89ccc325d5b3722fdead7cee3785a2381398e7 | 6dfb5bdc44732f8cab8db2fbe52aada80765d8d9 |
refs/heads/master | <repo_name>chaiqingyao/jx<file_sep>/聚翔/images/index.js
// 导航栏动画
// var f = document.querySelectorAll('.ddd')
// var d = document.querySelector('#header-blue-block')
// for (var i = 0; i < f.length; i++) {
// console.log(f[i])
// f[i].onmouseover = function() {
// var num = this.offsetLeft;
// ... | 059220472a20a6473b083cfb7cfb992d6ebabd63 | [
"JavaScript"
] | 2 | JavaScript | chaiqingyao/jx | 46d40985eed01bfa08b7798f783a47fd5e5eff15 | 57781de45bd7f94e9317c77cc336f1d908c8b0e1 |
refs/heads/master | <file_sep>require 'pry'
def reformat_languages(languages)
new_hash = {}
languages.each do |style, lang_hash|
lang_hash.each do |lang_name, type|
new_hash[lang_name] ||= type
new_hash[lang_name][:style] ||= []
new_hash[lang_name][:style] << style
end
end
new_hash
end
| 0b939c877c38fd99630463856dbd01192cf07ff6 | [
"Ruby"
] | 1 | Ruby | clairemuller/programming_languages-seattle-web-career-021819 | a094743a5b73412bb4f3e3b7eeeb2e74a43e67c1 | d8c4eae233d1249f817530a41c990b07164af021 |
refs/heads/master | <file_sep>package com.jellybeanframework.context;
import com.jellybeanframework.bean.BeanDefinition;
import com.jellybeanframework.core.context.BeanFactory;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
/**
*
* @author Administrator
* @date 2019年12月4日 20:46:41
*/
public abstract class Abst... | ad90e1edfa060d674df394f3f42a8b5186c6128f | [
"Java"
] | 16 | Java | ws-zhangteng/JellyBean-Framework | 966491ac660fd7befc0cf25fef8a761cb2ff7325 | 6b6791253fc040266b221501530b42f597eb784c |
refs/heads/master | <repo_name>murraydemian/Mockup_PP_Labo3<file_sep>/FRONTEND/perro.ts
/// <reference path="mascota.ts" />
namespace Entidades{
export class Perro extends Mascota{
public raza : string;
public nombre : string;
public pathFoto : string;
public constructor(tamanio : string, edad : number... | e9d195e89ad3d73be6eeccd54a4f2f2463228e58 | [
"JavaScript",
"TypeScript"
] | 4 | TypeScript | murraydemian/Mockup_PP_Labo3 | 1e0aa0db9fc179fa1eb43f1a9b6f0e6fe654ac39 | 81149d9398ffc92e85aab1f713ada1b05f01a828 |
refs/heads/master | <file_sep>echo u_blendAlpha,0.1
sleep 0.1
echo u_blendAlpha,0.2
sleep 0.1
echo u_blendAlpha,0.3
sleep 0.1
echo u_blendAlpha,0.4
sleep 0.1
echo u_blendAlpha,0.5
sleep 0.1
echo u_blendAlpha,0.6
sleep 0.1
echo u_blendAlpha,0.7
sleep 0.1
echo u_blendAlpha,0.8
sleep 0.1
echo u_blendAlpha,0.9
sleep 0.1
echo u_blendAlpha,1.0<... | be9769e68cb0ced7e574e2203ea29f225b3fc06e | [
"Markdown",
"Shell"
] | 2 | Shell | ryuchihoon/fragshader-lecture | 7067a379c0be3213858b10cabfd6208aaea7fa6b | 7909437e0d328ce65dd7664d3f298f80375e36d8 |
refs/heads/master | <file_sep>import Vue from 'vue'
import VueRouter from 'vue-router'
import HomeComponent from './components/HomeComponent'
import NotiesComponent from './components/NotiesComponent'
import ProfileComponent from './components/ProfileComponent'
Vue.use(VueRouter)
export const router = new VueRouter({
routes: [
... | ff5c3480dfc683bc3b942618cf46615eb8066786 | [
"JavaScript"
] | 2 | JavaScript | hweihwang/test-vue | 1c741e6f8e5bc9df23444662fba3ac016a2838cb | 906a9aebbaf3b983f46639061f899c16f85de10a |
refs/heads/master | <repo_name>jvnsep/Project2BubbleDisplay<file_sep>/src/main.cpp
/*
***************************************************************************************************
** Project 2: Bubble Display **
***********************************************... | 493f1ab193801d2d2b311839b28f2e3914fc7c34 | [
"Markdown",
"C++"
] | 2 | C++ | jvnsep/Project2BubbleDisplay | 53ae25c480c222383df1b728053ec9e16a7d8a85 | 838e0d8ccf07bd1d5e1368a152bd01193c939bed |
refs/heads/master | <repo_name>cfriedrich-0/STM32F3DISCOVERY<file_sep>/RF24_dev/app/spi.cpp
#include <assert.h>
#include <string.h>
#include <stm32f3xx_hal_conf.h>
#include <FreeRTOS.h>
#include <semphr.h>
#include <xXx/utils/logging.hpp>
#include "gpio.hpp"
#include "spi.hpp"
namespace xXx {
SemaphoreHandle_t Spi::_semaphore[2];
S... | 894c6c9aeca12ff7a6be2c6b15612ed13c68c529 | [
"C",
"Makefile",
"C++",
"Shell"
] | 23 | C++ | cfriedrich-0/STM32F3DISCOVERY | fb3fd98ad497d0c6ddf58f161c0112fc3dd824ec | 0664778b0adad46b743a91e7d2bf5f4f3c040b9e |
refs/heads/master | <repo_name>rubind/UNITY_v1<file_sep>/demo.py
import pystan
import pickle
import numpy as np
def init_fn():
n_sne = stan_data["n_sne"]
n_samples = stan_data["n_samples"]
three_simplex = np.random.random(size = 3)
three_simplex /= sum(three_simplex)
obs_x1s = np.array([item[1] for ite... | 77e84293fdd3767906501369eab7f2e73e660431 | [
"Markdown",
"Python"
] | 2 | Python | rubind/UNITY_v1 | 5ed3925cc0d769e250cd68b669dd6246644b5596 | e1abaf24825af4e4aad7bc86e906c3c93662a536 |
refs/heads/main | <repo_name>wapony/vueLearn<file_sep>/learnVuex/src/store/actions.js
export default {
aUpdateInfo(context, payload) {
// setTimeout(() => {
// context.commit('updateInfo', payload)
// }, 1000);
// 使用promise 回调通知调用者已经更新成功
return new Promise((resolve, reject) => {
... | 23608fc8cdb68766e14ba70c85371b3686f7652a | [
"JavaScript"
] | 5 | JavaScript | wapony/vueLearn | 646f856f8904f5d487ba768e15034cada94a08bf | 037ee85a1078f89c96c158b70af0420c09ab3a95 |
refs/heads/master | <file_sep>struct install_item {
int op;
char *src;
char *dst;
char *dir;
char *owner;
char *group;
int perm;
};
<file_sep>/* Automatically install symlink for example library */
{ INST_LIBLINK, "example.vlb", "libexample", "/usr/local/lib", NULL, NULL, 0644 }
<file_sep>/* Create a link called 'fakebi... | 6a7f2e6faba8b4c9c4869632857ae503d241bbc1 | [
"C"
] | 10 | C | io7m/coreland-installer-doc | 4bbacedca83df1fcac9d40a197ca9a104d11b1d3 | 3a516bd360d66c1b2c777eff862129f980277583 |
refs/heads/master | <repo_name>mdnklbrg/oefening-kwaliteitsbeheer<file_sep>/README.md
# Kwaliteitsbeheer
Versiebeheer, kwaliteitssystemen, -handboek en -beheer voor het examen
<file_sep>/getyourowndbonline.php
<?php
$page_title="Get your own MySQL database online";
$page_keywords="MySQL hosting, database online";
$page_desc="Get your d... | 7da7d8897d6d611e3c9d718c2f5c43fed272fe20 | [
"Markdown",
"PHP"
] | 5 | Markdown | mdnklbrg/oefening-kwaliteitsbeheer | 1389696cea67d4b178d5e48745fceb72dbb703ba | 52d5917a60a11a0dad4075d08351154122a5ab7f |
refs/heads/master | <repo_name>mindme333/DoogieHowitzer<file_sep>/zealot.py
import random
import sc2
from sc2.ids.ability_id import AbilityId
from sc2.constants import *
from sc2.position import Point2, Point3
_debug = False
class Zealot:
def __init__(self, unit):
self.tag = unit.tag
self.unit = unit
self.saved_position = None
... | c6e9ecc64b6021941c0d36402afe68ba5a294280 | [
"Markdown",
"Python",
"INI"
] | 12 | Python | mindme333/DoogieHowitzer | dad5eaf211c616170f1b9e327f1f1940d3ef6a62 | a1489e3c4ccbf7d38236d764c047a57083a11213 |
refs/heads/master | <file_sep>#! /bin/bash
read -p "Which process would you like to Seek&Destroy?" UPROC
pgrep $UPROC | xargs kill -9
<file_sep>#!/bin/bash
touchscreen=$(xinput | grep "maXTouch" | awk -F " " ' {print $7} ' | cut -d '=' -f 2)
keyboard=$(xinput | grep "Translated Set 2 keyboard" | awk -F " " ' {print $7} ' | cut -d '=' -f 2... | b40d48268ac7fdf93e8a4db550f9db82f2e12736 | [
"Shell"
] | 5 | Shell | OrNaishtat/Functions_and_Tools | de2045150d98513659df7600e0b9d8d23610021c | 2aa9ab2b2e6a1005d5e089e843575d040be35738 |
refs/heads/master | <repo_name>KarenW-DSBA/BDP-Assignment1<file_sep>/Question 2.7/Arbres.java
package ecp.Lab1.Question27;
import java.io.IOException;
import java.util.Arrays;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.conf.Configured;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.Path;
i... | 62be528be8227f57a93f99dcfdc1b0f241ed3e32 | [
"Java"
] | 2 | Java | KarenW-DSBA/BDP-Assignment1 | f84930e90541476cf4dd16d6cc2f726febf2e3e8 | 36943b6df7a9de9093a3380db275c084cdcd9090 |
refs/heads/main | <file_sep>export default Object.freeze([
{iconName:'salary', tagName:'工资'},
{iconName:'manage-money', tagName:'理财'},
{iconName:'part-time', tagName:'兼职'},
{iconName:'other', tagName:'其他'},
]);<file_sep>import Vue from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import router from './route... | 0c06f5ee045c518729735cb64945e4a749ae8c57 | [
"TypeScript"
] | 7 | TypeScript | Untitled877/accountBook-vue | ee842ebb181e62f745cf1094aa73b5c5c4b53a2e | 59767c0f880accd874b275b664246dde5688a2ee |
refs/heads/main | <repo_name>fserally/drone<file_sep>/udm_group2_drone_control/src/waypoints.py
#!/usr/bin/env python
import numpy as np
from udm_group2_drone_control.srv import *
import rospy
import rosservice
from std_srvs.srv import Empty
from std_msgs.msg import String
from geometry_msgs.msg import Twist
import random
import m... | 0468052593e06c9d66455e24c455116722f21f63 | [
"Markdown",
"Python"
] | 4 | Python | fserally/drone | b19c518db280dde62172ca97059bb2a9471ec907 | d196eb0c1009cb8468366741dcf528aa4db0b9f7 |
refs/heads/main | <repo_name>sovsianykov/jazzguitarist<file_sep>/src/js/script.js
WebFont.load({
google: {
families: ['Droid Sans', 'Droid Serif' , 'Open+Sans:700&subset latin', 'Montserrat:400 ' , 'Noto+sans:400']
}
});
| bc0241aa1814c85cb1ba03b9f0e9ec7b991e5f92 | [
"JavaScript"
] | 1 | JavaScript | sovsianykov/jazzguitarist | b67ad1a8711ba45ef37c610000451a4451a88b28 | ecb75676c9e550a53758ab774e8ba7c020f6f282 |
refs/heads/master | <repo_name>kevinmanncito/home-teaching<file_sep>/requirements.txt
celery==4.0.2
eventlet==0.19.0
Flask==0.11.1
gunicorn==19.6.0
redis==2.10.5
requests==2.10.0
selenium==2.53.6
WTForms==2.1
<file_sep>/main.py
from datetime import date, timedelta
import json
import os
from time import sleep
import celery
from celery.sch... | a38fede2b74ff9264c258efff9bcbec1a77986be | [
"Python",
"Text"
] | 2 | Text | kevinmanncito/home-teaching | b8cf79d78dc2c7ca09a89cf2fbb6ceaabab03826 | 4a91b4224e3b642a4e85199288a0610d01bf5c59 |
refs/heads/master | <file_sep>import { connect } from "react-redux";
import { reduxForm } from "redux-form";
import PaymentForm from "../../views/Dashboard/form/PaymentForm";
import formValidationScroller from "../../variables/FormValidationScroller";
const mapStateToProps = state => ({});
const mapDispatchToProps = {};
export default ... | 9379053ab92c1e7979b44731bcc883862bd8290f | [
"JavaScript"
] | 175 | JavaScript | mayurbabariya45/brown-eagle | 27fe21b782d1b8518ed985791862cda48b0ba4ff | 5cb487dcc6d99d763a710017ed9141560234d8ab |
refs/heads/main | <repo_name>huanyang123/ML-modules<file_sep>/feature-select.py
# https://machinelearningmastery.com/feature-selection-machine-learning-python/
'''
Three benefits of performing feature selection before modeling your data are:
Reduces Overfitting: Less redundant data means less opportunity to make decisions based on nois... | 13786e618b4822609801b6c57cd195da277c6539 | [
"Markdown",
"Python"
] | 3 | Python | huanyang123/ML-modules | 3c19dd47250a904203cacdacc130348cc3ad1cf0 | 91083d6ca3b41d6a80df7b84ca05cbb5032612e8 |
refs/heads/main | <file_sep># Animating a TPS warp between two point sets
#
#
# This script will show how to load a model with a corresponding landmark set, warp the model
# to a target point set, and create an animation of this transformation. The animation will be
# created as a sequence node, and will be displayed in the Sequences... | 23949a5f89d5afdab2d5071c12f42d0df054bd4c | [
"Markdown",
"Python"
] | 3 | Python | SlicerMorph/Example_Scripts | e48a925aa965ca2919bb81ff30b33deab6743081 | 30979d223eeea7b46df9f3779a76267eab758dbe |
refs/heads/master | <file_sep>require 'pry'
pigeon_data = {
:color => {
:purple => ["Theo", "<NAME>.", "Lucky"],
:grey => ["Theo", "<NAME>.", "<NAME>"],
:white => ["Queenie", "Andrew", "<NAME>", "Alex"],
:brown => ["Queenie", "Alex"]
},
:gender => {
:male => ["Alex", "Theo", "<NAME>.", "Andrew", "Lucky"],
:f... | 20b30ef2078827697de7249a5713e41d30f58820 | [
"Ruby"
] | 1 | Ruby | jcurhan/nyc-pigeon-organizer | c1e8f19f22b9c84a43a0a4d72236631b7444ea25 | 8605d02804e45364ef3a6acfb3a6083615ce0520 |
refs/heads/master | <file_sep>package pwsafe_test
import (
"io/ioutil"
"os"
"testing"
pwsafe "github.com/colinnewell/pwsafe-de-dup"
"github.com/google/go-cmp/cmp"
"github.com/google/uuid"
)
func TestRoundTrip(t *testing.T) {
zeros := [16]byte{}
blankUUID, err := uuid.FromBytes(zeros[:])
if err != nil {
t.Error(err)
}
pwFil... | 5d01b214a67df860a78dc94d66c3448a964f4f3c | [
"Makefile",
"Go Module",
"Go",
"Markdown"
] | 7 | Go | colinnewell/pwsafe-de-dup | d3b67431b93de4cc1970cd0fef67d432a8dacae0 | da98d10e82fd39b6a031542e553376137aad24ba |
refs/heads/master | <file_sep>//index.js
const app = getApp()
Page({
data: {
},
onLoad: function() {
},
onGetUserInfo: function(e) {
console.log(123);
if (e.detail.userInfo) {
console.log(e.detail.userInfo);
wx.switchTab({
url: '/pages/index/index'
... | ebf79b4bd5913a3af15c927bba4ddf414454a86b | [
"JavaScript",
"Markdown"
] | 7 | JavaScript | hanhan3682523/mini_project | 0c2e1bbbd1757508643fc623f9e6a93d0810b4f2 | a453f214882df0ee2145c76a19b66c90b8457c68 |
refs/heads/main | <repo_name>SitaoLuan/WSL2-CUDA<file_sep>/README.md
# Configure Deep Learning Environment with WSL2
### Last Update: 27 July 2021
## GET WSL2 READY
Check the official blog first:
https://docs.microsoft.com/en-us/windows/wsl/install-win10
**ENSURE THAT YOUR WINDOWS VERSION IS SUPPORTED**
- [ ] Open PowerShell as Admi... | 46cf8e12fc016954b09de3d3fbba5c6b34c08c77 | [
"Markdown",
"Shell"
] | 3 | Markdown | SitaoLuan/WSL2-CUDA | f663209485d4d0c8bcf836a97c27dc33f0b3ee01 | f8ceab19060a15ba11c8af29550a812d85463139 |
refs/heads/master | <file_sep>/// <summary>
/// This component can be used to synchronize time and weather in games where server is a player too.
/// </summary>
using UnityEngine;
using UnityEngine.Networking;
using System.Collections;
[AddComponentMenu("Enviro/Integration/UNet Server Component")]
[RequireComponent(typeof (NetworkIdenti... | 9c22a78f300aa07cf951f73f3b4c6ff29cad0071 | [
"C#"
] | 8 | C# | parshvshah/FPSAlmost | 913f2815ca968fdab28c59855e00f00c1d1104a8 | 43fdd55564ce6262388276e45279f565fbbf434f |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.