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>package com.knunu.android.whesiknow;
/**
* Created by USER on 2016-07-23.
*/
import android.app.Activity;
import android.os.Bundle;
import android.util.DisplayMetrics;
public class Pop extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState)
{
super.onCreate(sav... | d9f95a20598c15ac692e64268d69f02a1f06773f | [
"Markdown",
"Java",
"Gradle"
] | 3 | Java | sumin22/android_whesiknow | c0ae9afefad6c6ad3b727668d4084e8cae3734b2 | 5acff397e9cf9b7af62d1595e9b30457ce26a90d |
refs/heads/master | <file_sep>import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-server',
templateUrl: './server.component.html',
styleUrls: ['./server.component.css']
})
export class ServerComponent implements OnInit {
serverId: number = 10;
serverStatus: string = 'offline';
serverName: string = '... | 2d3578d214349db9c1984d115f1d264ce4908fb1 | [
"TypeScript"
] | 1 | TypeScript | shebbbby/angular-dream | ae764c22e826d3fc64f701a71f87eeba00bc3648 | 48dc2fa8b502a0deecb03784112d9f8b274a7f1f |
refs/heads/master | <file_sep>import java.util.Scanner;
public class Apellido_mas_largo {
public static void main(String[] args) {
Scanner lector = new Scanner(System.in);
String apellido1;
String apellido2;
System.out.println("Escribir apellido 1");
apellido1 = lector.nextLine();
System.out.println("E... | 3b49f878a0d29e37979641344ed3f08a9078916c | [
"Java"
] | 2 | Java | maitanegarbizu/06_strings | 523e0bfb02069bfd7810278950e89bef8b52be14 | e84af9250a7b80be690d5d415ff8664935b2ecbd |
refs/heads/master | <file_sep># Maid Spin Discord Bot
A bot for Discord that lets you spin maids.

**The most *revolutionary* discord game ever created!**
You can either add the public instance to your server [here](https://discord.com/oauth2/authorize?client_id=715582108600369253&scop... | 20e7a05edbdb1b88624569f5dc7aca8d92bbd011 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | iklone/maidspin | 81a9e6a8ad879d8d3be37a630973783e74df8675 | cc27c5f4c7966a7e337e71ac54fd1bf118944ebb |
refs/heads/master | <repo_name>mariehuynh/dotfiles<file_sep>/.bash_profile
alias ll='ls -alF'
# Download from https://raw.github.com/git/git/master/contrib/completion/git-completion.bash
source ~/git-completion.bash
# Download from https://raw.github.com/git/git/master/contrib/completion/git-prompt.sh
source ~/git-prompt.sh
GIT_PS1_SHOW... | 861c24323a8dc9007b9ade4ad60172ee35cc913e | [
"Shell"
] | 1 | Shell | mariehuynh/dotfiles | 4bb90187297da311f341eee3b8aa3f7d9bba6d07 | 5396a9c39400adde9056b83d42edf4c07f150e57 |
refs/heads/master | <file_sep>#include <stdio.h>
#include <gmp.h>
char *prog;
typedef struct elliptic_curve_t
{
mpz_t A,B,p;
} elliptic_curve;
typedef struct point_t
{
mpz_t x,y;
} point;
void elliptic_curve_init(elliptic_curve* e)
{
mpz_init(e->A);
mpz_init(e->B);
mpz_init(e->p);
}
void point_init(point* p)
{
mpz_init(p->x);
... | 60546553b34a71ed91bbc10d1f4bf39bf806ea82 | [
"Markdown",
"C"
] | 4 | C | manas0/Elliptic-Curve | 3e262cb8f8154d0711f74231ce7f8275a92d0436 | ec9a5e21f9b2ac04d92692414d2091b681cf4dc4 |
refs/heads/master | <file_sep>#include <bits/stdc++.h>
using namespace std;
int main(void)
{
//vector of alphabets
vector<char> c;
for(int i = 97; i <= 122; i++){
if(i == 105){
c.push_back('!');
continue;
}
if(i == 106){
continue;
}
... | 92298ac428d968c8afeae812fd80ee387ec426e7 | [
"Markdown",
"C++"
] | 2 | C++ | ahmedaldiahy/PlayFair-Cipher | 9d84d96954c5c7b4c61edfb54ecd155e6e627dd0 | ad0209f0dc3e411add3c517725f5b8ab7e7115cf |
refs/heads/main | <repo_name>London-p/InstaClone<file_sep>/InstaClone/InstaClone/PeopleContent/PersonLikeBarView.swift
//
// PersonLikeBar.swift
// InstaClone
//
// Created by <NAME> on 3/29/21.
//
import SwiftUI
struct PersonLikeBarView: View {
var colWidth: CGFloat
var person: Person
// var comment: Comment
var con... | 48039ad7560e9de414780aa6a8fa86e03318d945 | [
"Swift",
"Markdown"
] | 26 | Swift | London-p/InstaClone | 5ebc6bc30a743e17a40d2fbf6e472b60fb5393ef | 97ee4929d70dc979324f1a767942e06b950c0922 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using VIS_Domain.Reports.Attendance;
using VIS_Repository.Reports;
using VIS_Repository.Reports.Attendance;
namespace VIS_App.Controllers.Report.Atte... | 4ea224122917df0b83441b4e0c52c656ce7c5e43 | [
"JavaScript",
"C#",
"TypeScript"
] | 434 | C# | Saurabh98241/WebAPI2-Angular6 | a89f27a58b9c59ade7823522f47e3a807dc314f6 | 71172d8d4e018cf73ce7929de2b3151b4872849a |
refs/heads/master | <repo_name>TerminalTesting/yml_yandex_SB<file_sep>/yml_test.py
#! /usr/bin/python
# -*- coding: utf8 -*-
#import pytest
import unittest
import sys
from lxml import etree
import codecs
import urllib2
import os
from yml_models import *
from string import split
from urlparse import urlparse
def get_domain(url):
... | 52cb3262e678e729d788ea29806040f421d44a89 | [
"Python"
] | 1 | Python | TerminalTesting/yml_yandex_SB | 8a985fbf69819d679a401b5c1d69141913474d73 | a12fd48e04e34d14786583f1e0d57f3e82120153 |
refs/heads/master | <file_sep># Semester-Project-PED1<file_sep>/**************************************************
* MPPT ALGORITHM - INTRO760 - Fall 2018
* This code implements a P&O algorithm to be used within a PLECS C-script.
* The C script block has different execution codes (Code declaration, code execution
* and update function... | 8e0af65cc9a2360d3da1b43bcc9ad434a0dfd124 | [
"Markdown",
"C",
"RMarkdown"
] | 14 | Markdown | NicolaiFransen/Semester-Project-PED1 | 1bdc7db807f1d49b18426b817350ad6811d8d928 | feed5312f2ecae13171521137cddeaf1cee7503c |
refs/heads/master | <file_sep># 마케팅 속 인공지능
이 코드는 Siraj Raval 의 유투브 비디오 "마케팅 속 인공지능" 에 설명 된 코드입니다.
## 간단한 설명
이 코드는 Siraj Raval 의 유투브 영상 [ "마케팅 속 인공지능" ](https://www.youtube.com/watch?v=FYMjXD3G__Y&lc=z23hgfkpdnfjyt0n1acdp431kuaxfkhbz5py54gjhedw03c010c) 에 설명된 코드입니다.
## 사용법
주피터 노트북은 깃헙에서 바로 읽기가 가능합니다. 이 코드를 실행하기 위해서는 keras 와 tensorrec 프... | 5806abdcb11c81b1f1146df3ac945838d234259b | [
"Markdown",
"Python"
] | 2 | Markdown | edwithschoolofai/AI_In_Marketing | 359f56522551e57c3267965168537f701452241e | 8a7ac60eb981944256f6a5db178cbec445c1e870 |
refs/heads/master | <repo_name>Ara217/second-project<file_sep>/index.php
<?php
echo "hello world";
echo "hello world";
echo "hello Ara";
safds;flsdsadkljfa's'
echo "hello branch master";
echo "string";
?> | fee33cf38b099126801315694387b4128b522ef3 | [
"PHP"
] | 1 | PHP | Ara217/second-project | c2cb39395c0ad45411cb3ec9712ac684192fe5be | 7feeded6e21d8f1edd1add828c8da9d2e7e9e946 |
refs/heads/master | <file_sep>import React, { Component } from 'react'
class SearchFood extends Component {
constructor(props) {
super(props)
this.state = {
name: ''
}
}
handleFormSubmit = e => {
e.preventDefault()
console.log(this.props)
this.props.searchFood(th... | 46f20188813507b05a3a3608503b5e2f91ed7dfc | [
"JavaScript"
] | 2 | JavaScript | lusuelves/lab-react-ironnutrition | 2bc77222d58fac41423e6cc769cd3ea195c4777b | 169bb1a45a7b6eee9a628056951c1b34865053ab |
refs/heads/master | <file_sep>import numpy as np
import gym
from RL_brain import DeepQNetwork
#from cnn_brain import DeepQNetwork
import argparse
import matplotlib.pyplot as plt
import pickle
import gzip
np.set_printoptions(threshold=np.inf)
#print(env.observation_space.shape[0])
parser = argparse.ArgumentParser(description='Train or tes... | 72427434275ad468ddd9a079da1f8d3339757f62 | [
"Markdown",
"Python"
] | 6 | Python | sagar23sj/Reinforcement_Learning_for_Traffic_Light_Control | 464c17ba25ebcb49f78d6cdcc96d7fe3764d7508 | efa191a643290b35bc926942de357b4a929aadd9 |
refs/heads/master | <file_sep>#!/bin/sh
#### Creates ifcfg-tap$1 file and stores in /etc/sysconfig/network directory #######
if [ -z "$1" ] ; then
echo "USAGE : $0 <path_to_networking> <number of the tap interface>"
exit 1;
fi
if [ $2 = "0" ]; then
echo " (Note: tap0 cannot be configured)";
exit 1;
fi
if [ ! -d $1 ]; t... | 6f1e765289d63cb484c3ef0d756b3070c3424726 | [
"Markdown",
"Shell"
] | 7 | Shell | slchorne/OFBuild | b02223ef8cb23fb5152a93b35fe7ebb80b469b4d | d9df4dfbdd24bfec5a21ba0d0ee2bbdafd0cad78 |
refs/heads/master | <repo_name>perillamint/better_picard_usb_twister<file_sep>/stepper.hpp
class Stepper {
public:
Stepper(PinName en, PinName dir, PinName step);
~Stepper();
void init();
void enable();
void disable();
void reset();
void step(uint8_t dir, uint8_t speed);
void stepNoCount(uint8_t dir, uint8_... | bac0d7efa4750635c6cf6e5378aa86619e12c225 | [
"C++"
] | 3 | C++ | perillamint/better_picard_usb_twister | 9a251da66c0dd1fc45a2a7e583c8e483b8c64b8d | 6dc800a322f91cf97c49cac7536df5f4a87ba2b8 |
refs/heads/master | <repo_name>rahulgawale/gunguna-dev<file_sep>/src/main/java/com/gunguna/dev/repository/package-info.java
/**
* Spring Data JPA repositories.
*/
package com.gunguna.dev.repository;
<file_sep>/src/main/java/com/gunguna/dev/domain/package-info.java
/**
* JPA domain objects.
*/
package com.gunguna.dev.domain;
<file_sep>... | bfa38559ca99d63e5d44ee562e0c2f34d486702c | [
"Java"
] | 3 | Java | rahulgawale/gunguna-dev | b817e2c96c10aadfc9fce82b609df68e377a4ead | 2ce09c9a8797b0b125c9f6efff05455ed4e5f883 |
refs/heads/master | <file_sep># Personal Profile
[doudoudzj.github.io](doudoudzj.github.io)
<NAME>'s Profile Page(豆振江的个人简介页面)
<file_sep><?php
if (pathinfo($_SERVER['HTTP_HOST'], PATHINFO_EXTENSION) == 'com') {
include 'index.html';
} else {
include 'index_zh_CN.html';
}
| 4240040aac38e376c2cc2091c5f6c1e87dd9934a | [
"Markdown",
"PHP"
] | 2 | Markdown | doudoudzj/mypage | 6fc3a6935477d009c6805ed2628b4e8e301d36b6 | bad033d53645e241aea080b87e35ba89f9cf1f27 |
refs/heads/master | <file_sep>from appJar import gui
app=gui()
axes=app.addPlot("Results",[0,1,2,3,4,5],[0,1,2,3,4,5])
axes.set_xlabel("Actual Distance")
axes.set_ylabel("Reported Distance")
# this demonstrates that the update plot function isn't used to append
# updatePlot leads to wiping of old data
# simple update
def update():
... | 1de0b06d9c6123003ab30716225692b2988cbb71 | [
"Python"
] | 7 | Python | mzvyagin/linear_stage | c830f263c1d72d9b408147bed3c53458d649eff4 | 1800d3e54e84ea7c92fe9022aca6d21fabf114d7 |
refs/heads/master | <repo_name>Beletskyy/Git<file_sep>/src/Student.java
/**
* Created by bvm on 24.09.2015.
*/
public class Student {
}
<file_sep>/README.md
# Git
Git My
sdxz czxczx
<file_sep>/src/TestBoolean.java
/**
* Created by bvm on 02.10.2015.
*/
public class TestBoolean {
public static void main(String[] args) {
boo... | 703db955891df601690dfd8a39ec7f0597792e45 | [
"Markdown",
"Java"
] | 3 | Java | Beletskyy/Git | bb5139d025dbb17e8db5ea7076ad2e863a788672 | 087167636d5605d631800f9f0ff8b270820262ca |
refs/heads/master | <repo_name>subc/lng_novel<file_sep>/narou_downloader.py
# -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
import requests
import yaml
import codecs
from bs4 import BeautifulSoup
from subprocess import PIPE, Popen
import re
import sys
import time
def main(start, finish):
print 'start... | ef0a9d2139ba8a0b0a850a98881d844c76a2655e | [
"Python"
] | 5 | Python | subc/lng_novel | 64124daee09687624479e802310a008a3e7ec5cf | 425ee8879d8568496813ec366c79aa2434e3a69a |
refs/heads/master | <file_sep># LeeCode-Practice
Record the questions I practiced on LeeCode
<file_sep> public List<Integer> findDisappearedNumbers(int[] nums) {
List<Integer> result = new ArrayList<Integer>();
for(int i = 0; i < nums.length; i++) {
int temp = nums[i] % nums.length;
if(temp == 0)... | 9de0e8c9c7774a6c8cc762be5d0c581fcd9b7f5a | [
"Markdown",
"Java"
] | 7 | Markdown | sophiecui/LeeCode-Practice | 4570cba1d0ca61da70415c9788ed873a3659572f | 1d4a6f08eb7bce6f798f79d50c5488a8f1a63997 |
refs/heads/master | <file_sep>/* NOTES
To Do:
1. More coloring prototyping
Bugs:
1. Right-click event doesn't work until 2nd or 3rd try. After it does work, the pop-up is also
associated with normal clicks. No idea why.
2. Double-check flag highlighting (rogue flag highlighting)
Other Ideas (not immediately necessary):
1. Wi... | 2dd850c9fdd9c374b29ab8d637e44eb46d52eea0 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | kylejshaffer/structured_search_app | 92bcee27fe37e4a875c41e6fd5926f31f55cf197 | fd4885cee73a25c066d9b8e19966245e9c3d1d89 |
refs/heads/master | <repo_name>anupgupta-arg/Swift_DS_Algo<file_sep>/Queue.swift
//: [Previous](@previous)
import Foundation
var str = "Hello, Queues in Swift"
//: [Next](@next)
//Let's look at implementing queues in Swift. While Swift does not come with a default implementation of a queue, it’s easy to write one that uses an array! Y... | 2da8aaf47fba447a4bdc95c33957b442bd549455 | [
"Swift",
"Markdown"
] | 3 | Swift | anupgupta-arg/Swift_DS_Algo | 7fdc58a7e72227d56f9409000acda6d5e2c3aac1 | 73d91106d6cb7c0b787ba47c4641f9ee9376001f |
refs/heads/master | <repo_name>FP-2019-G/examen-02-ciclos-alandin1<file_sep>/examen.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Examen 2</title>
</head>
<body>
<h1>... | 34184d70404ca1e90305e63553226375ac3bfd85 | [
"JavaScript",
"HTML"
] | 2 | HTML | FP-2019-G/examen-02-ciclos-alandin1 | 56f177c54c26837ce6f7cb7159b87c404b867562 | 2e3be029bdc7ac51c539b58e6684c27ef7d805b8 |
refs/heads/master | <file_sep>import 'babel-register';
import getConfig from 'hjs-webpack';
import toHtml from 'vdom-to-html';
import app from './src/views/app';
export default getConfig({
in: 'src/main.js',
out: 'public',
clearBeforeBuild: true,
html (context) {
function render (state) {
return context.defaultTemplate(... | 8a8191edecd8fe5a868cb57407c907f8680662a3 | [
"JavaScript"
] | 1 | JavaScript | bbatliner/feather-app | 1123bfd24b85ea06fc42efb8450c470abedcc9c8 | ced5a4a30dc289493c4611c3a16f60cfeb7d8c92 |
refs/heads/main | <file_sep>var form = document.getElementById("my-form");
form.addEventListener('submit', function(e) {
e.preventDefault();
let email = document.getElementById('email').value;
let number = document.getElementById('number').value;
let quant = document.getElementById('quantity').value;
let addr = document... | 2f9ad0ed25b6689b16ebcce5e831805980ce526b | [
"JavaScript"
] | 1 | JavaScript | SonyHotchandani/Tshirts | f7e89aeec54af3d61a9783825769789c04427f5d | 0784a51d66e9fe402be6c36b8472b686af1ff671 |
refs/heads/master | <repo_name>Jumponit/EmbeddedSystems<file_sep>/System/System/Queues.h
/*
* Queues.h
* Defines constants, types and function prototypes for general purpose
* FIFO (byte-oriented) queue functions.
*
* Created: 3/2/2015 3:32:56 PM
* Author: barryef
*/
#ifndef QUEUES_H_
#define QUEUES_H_
#include "System.h"
//... | bfaf57307c68141117fc0275a6a69230bee52cf3 | [
"C",
"Makefile"
] | 8 | C | Jumponit/EmbeddedSystems | 8d68f3949c6826012bc7d50cfaeacce9c30b8d80 | ddde94ca59c5b98d825380fd08007dfc4d2c2356 |
refs/heads/master | <repo_name>YevgeniySob/backend-project<file_sep>/app/controllers/reports_controller.rb
class ReportsController < ApplicationController
before_action :find_report, only: %i[show update delete]
def show
render json: @report
end
def index
@reports = Report.all
render json: @reports
end
def new_... | ad1c762016b90f149597d31f18fe9322284e90e3 | [
"Ruby"
] | 12 | Ruby | YevgeniySob/backend-project | 377394396eec28f80b2954216e3f0405a475c3c1 | c3b6b53fad06ff50682cdd6da9ba96255695a4c1 |
refs/heads/master | <file_sep>package roleManagement;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.ht... | 1a9830188316534c8b873bc19b6b70e362f3344c | [
"Java"
] | 2 | Java | deepukr007/roleManagement | 142573bd309bd4379f2ad32869cb56e6522121a0 | d8e5d9a8ca4a3c2aae7bfaaa9272c68b5808b6eb |
refs/heads/main | <repo_name>VardanMelik/React-Dapp<file_sep>/README.md
# React-Dapp
React Dapp
<file_sep>/timer.js
/*
4:01
2/5
https://www.youtube.com/watch?v=nU0uqk0jLdw&list=PLbbtODcOYIoHJQ9sTs0e8kn7YV39W9Vcp&index=2
*/ | e971bb18c35cbb3898c3d82f13660504bf906571 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | VardanMelik/React-Dapp | 8b02c21433dd5bc396e320eeed5f3a0d40c7c732 | 29116ebef54bd2f8fcb8ecb870b2cf7739ee5789 |
refs/heads/master | <file_sep>import { combineReducers } from 'redux';
// 'as' redeclares the 'reducer' variable as 'form'
import { reducer as form } from 'redux-form';
import authReducer from './auth_reducer';
const rootReducer = combineReducers({
// ES6 automatically expands to form: form since key and value are the same
form,
au... | 4269351f1ab2dcb89d1b943bebb0410e143dbf08 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | kcmartin/client-arr | 4c2a592dcaf3cda7829f673103009dba60c5d737 | 3e707c0076ded56fd9e3cd1338834d1a7347c397 |
refs/heads/master | <file_sep>#!/bin/bash
apt-get update
apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev -y
git clone git://github.com/sstephenson/rbenv.git .rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(rbenv i... | fd53a88726f5e42a488cb87d66c10ce2f063ab84 | [
"Markdown",
"Shell"
] | 2 | Shell | niksan/chef-solo | f0cf30fc982e9d451bd1b126ceecef3dfe2b8a23 | c20255d5d46add9a605a471db4b839cb75f09465 |
refs/heads/main | <repo_name>Cryptographerdll/Theorie-Ofppt-2011-En-Csharp<file_sep>/README.md
# Theorie-Ofppt-2011-En-Csharp
/* on souhaite créer une application C# qui gére le système d'information d'une société de création de logiciels * Les Développeurs sont caractérisés en général par un matricule , un nom , un email ... | 11e4f5180803da92e9d92990e56ed4246a176051 | [
"Markdown",
"C#"
] | 4 | Markdown | Cryptographerdll/Theorie-Ofppt-2011-En-Csharp | 3963d7e2487f24ece2aff1c9105e5272ff8e3695 | cdafc1ce37a4ea7fcb071eca9c10a9e0f0993d0c |
refs/heads/master | <repo_name>UnknownAD/hijack_xss<file_sep>/sessid_store.php
<?php
session_start();
$database=new PDO("pgsql:host=localhost;dbname=postgres","postgres","<password>") or die('unable to reach the database');
if(isset($_GET['user'])){
$name=$_GET['user'];
$sessid=$_COOKIE['PHPSESSID'];
$cmd="INSERT INTO SESSIONS (name,sess... | 5e1df5fef37b43423e402ed4e147f186d4806ae4 | [
"Markdown",
"Python",
"PHP"
] | 3 | PHP | UnknownAD/hijack_xss | 361d46d32d3bf4fcfdc017355732d2e55892f828 | 27a65f82035e62b485ec22e1c8bcdf5992bb4787 |
refs/heads/master | <repo_name>zijieliu123/Adventure_goofball_Jimmy-<file_sep>/_pasted_code_7/src/Adventure.java
// <NAME>'s adventure project
// I got help from StackOverflow :)
// Importing scanner
import java.util.Scanner;
public class Adventure {
// Using scanner as an instance variable, it is needed in everything.
private Scann... | ef25479aaf3c68810d2acea3a25cbebb022a0f88 | [
"Java"
] | 1 | Java | zijieliu123/Adventure_goofball_Jimmy- | 5473e314fc89f76fc973f5abafb67b6175b23de1 | 7696451d29618bcd7f3e332081c691836e72d49a |
refs/heads/master | <file_sep>$(document).ready(function() {
var nextItemNumber = 1 ;
$('.add-btn').click(function() {
if ($('#add-input').val()=='') {
alert('Please Input An Item For Your List');
return;
}
//console.log($('#add-input').val());
$('.list').append
('<li c... | 7c38ef90ce020fff52eb48a12aa46b1baf0204f3 | [
"JavaScript"
] | 1 | JavaScript | samkrauser/shopping-list-sizing | c29053ea4f32b47bda1e5526eb815e1c6d7587cc | 8f659ee5c98e35b66c276e4aabfd1d2d3c15bf06 |
refs/heads/master | <repo_name>philberryman/haplo-test<file_sep>/README.md
## A Multi Path Story Editor
# The brief
Please write a web application which enables the user to write "multi-path stories." A multi-path story is composed of sentences. After each sentence, there are up to four possible next sentences, and after each of those, ... | fe97c3dfe412167722f0b99290358a5e2086f691 | [
"Markdown",
"JavaScript"
] | 3 | Markdown | philberryman/haplo-test | 68038f6e79ac141dc528120c7e0be4ab7ccf3c4b | 90307f5cdbc693609919bb5bf9b4e0f0163c9a65 |
refs/heads/master | <file_sep>//var selected_name;
$(document).ready(function(){
console.log("document ready");
/*$("button").click(function(){
$.get("demo_test.asp", function(data, status){
alert("Data: " + data + "\nStatus: " + status);
});
});*/
/*$.get("/baselist", function(data, status){
... | bf7eecfe1924a949924e1f9a45a1fb17ce1b4fe9 | [
"JavaScript",
"Java"
] | 4 | JavaScript | kangsorang/emergency | 17439bfcf859713b3d5d72e8a62afeb3ddd8c42f | 6b2cf888c3ff93881a77856a1b800dc29888decf |
refs/heads/main | <repo_name>emmYgd/user_interfaces<file_sep>/README.md
# user_interfaces
A set of user interfaces and amazing experiences
More of frontend with bootstrap and W3-CSS, few backend with OOP PHP
<file_sep>/Royal Diamond/option1/Backend/SendMail.php
<?php
require("Utilities.php")
class SendMail {
/*{contactName : contactN... | 40bc889c2d49342aa739f7041e3758ca0d98650a | [
"Markdown",
"JavaScript",
"PHP"
] | 6 | Markdown | emmYgd/user_interfaces | e337b6302b610c07979f28154f8f6a6887661e82 | 563fd7a7172f92b5935a1f95ad323782a905539a |
refs/heads/master | <repo_name>Savanand/ScrapeWeb<file_sep>/scrap_with_bs4.py
import requests
from bs4 import BeautifulSoup
def fetch_data(url):
r = requests.get(url)
soup = BeautifulSoup(r.content)
links = soup.find_all("a")
for link in links:
# if "http" in link.get("href"):
print "<a href='%s'>%s</a>... | 97d3adcac849bf090e7fd7270fd9572986556fdd | [
"Markdown",
"Python"
] | 2 | Python | Savanand/ScrapeWeb | 7ee6915dd97188d09b90f82ea52a96303b3adfc5 | f36d931a2e73808eea1652df223314aa3f8baadd |
refs/heads/main | <repo_name>Hannaanaya/Mi-p-gina-web<file_sep>/src/pages/Principal.js
import React from 'react';
import Carrusel from '../componentes/Carrusel';
import Galery from '../componentes/Galery';
import Footer from '../componentes/Footer';
import Loading from '../componentes/Loading';
import api from '../api';
import './style/... | b7d3e05e585377ba3941458cfa5a32cd61fe3914 | [
"JavaScript"
] | 7 | JavaScript | Hannaanaya/Mi-p-gina-web | b729a268ad159f2fc7122646e46abadcfe8f6748 | 2b2b9349598256479b9760f746cdcbce5899cf6d |
refs/heads/master | <repo_name>LeoJiaXin/uestc_lang_backend<file_sep>/ajax/course/get-some-students.php
<?php
/*
it's a json array format
[
{
id : 1,
name : 'myname',
degree : 100,
class : 'class A'
},...
]
*/
require(dirname(__FILE__).'/../../../../../wp-load.php');
define(MAX_NUMBER_OF_STUDENTS_... | 4dc1e482df9379bb64e1ece2e994c5d65daab46c | [
"JavaScript",
"Markdown",
"PHP"
] | 26 | PHP | LeoJiaXin/uestc_lang_backend | e9df0348ad3e01d151458d4df986c3eff444d881 | 0c9135059c8db3f1cf5f1c16ae00b3567b1ca46f |
refs/heads/main | <repo_name>OlafGarcia4/Word-Counter<file_sep>/README.md
# Word Counter
In this program, it takes a string and organizes them by the frequenzy they appear on from most to least, using *ctrl+D* to run after the
set of strings have been added
Main.java
- Scans the string the user inputs
- Creates a map to add the words... | 79cb032932e8fe91e707bc31e68d08808edc2d2d | [
"Markdown",
"Java"
] | 2 | Markdown | OlafGarcia4/Word-Counter | 7fc98b334548cbaae322633f281d2d70de7283ef | 9e5e9bea75f806994bed5452efa6b981308a76f5 |
refs/heads/master | <file_sep>class Style < ActiveRecord::Base
self.inheritance_column = :_type_disabled
has_many :items
def to_s
"type: #{type}, name: #{name}, wholesale_price: #{wholesale_price.to_f}, retail_price: #{retail_price.to_f}"
end
end
<file_sep>class ReportService
def report(batch_id)
items = Item.where(:cle... | 07b40e64b8e72eb6e3bfa625d92391a102ff89ae | [
"Markdown",
"Ruby"
] | 11 | Ruby | chadwickdonald/stitchfix-take-home-challenge | 6eebdbaf4e33017802133fd0b51e20a465bd3641 | fc71180d188eed2f1e43df1b4c68795a34505185 |
refs/heads/master | <repo_name>hunterwb/no-constructors<file_sep>/noconstructors-javac-maven-example/src/main/java/Example.java
import com.hunterwb.noconstructors.NoConstructors;
@NoConstructors
public class Example {}<file_sep>/noconstructors-bytebuddy-gradle-example/src/main/java/Example2.java
public class Example2 {}
<file_sep>/nocons... | d4de308fea3797e1658d12560c2603d6315261c3 | [
"Markdown",
"Java",
"Gradle"
] | 8 | Java | hunterwb/no-constructors | 100650cf9754c4aa2e341b1636dde741bd532831 | 551a502f8900c6a86c31993eb5646a536f76b1af |
refs/heads/master | <repo_name>abhiomkar/abhiomkar-next<file_sep>/README.md
# abhiomkar-next
## Deploy
Push changes to GitHub for deploying to prod:
```
git commit -am "changes"
git push origin HEAD # deploys to prod
```
Preview deploy before pushing changes:
```
npx vercel
```
You can also deploy to prod without pushing to GitHub:
... | c1d4202c6b9f467ff948265539671a54ffd02489 | [
"Markdown",
"JavaScript"
] | 6 | Markdown | abhiomkar/abhiomkar-next | 6b0cb4b32871736fc213a5b610fca3c20cfc04ed | aabefb3d6c9d798d8912c1b0d2e8600816ffa0a2 |
refs/heads/master | <repo_name>h4nyu/react-state-sandbox<file_sep>/src/store.ts
import { useState } from 'react'
import { createContainer } from 'unstated-next'
import { Map } from 'immutable'
function useStoreA () {
const [name, setName] = useState('')
return { name, setName }
}
export const StoreA = createContainer(useStoreA)
fun... | 288ee579d04fad4773a4da9d730ac7ab5e562b40 | [
"TypeScript",
"Dockerfile"
] | 2 | TypeScript | h4nyu/react-state-sandbox | 9ed1a8075e53adbcd7155efc637ac0d53566cfa0 | 500429dd19240079b71137964e779679d0ba0084 |
refs/heads/master | <file_sep>const router = require('express').Router()
const { getSavedTodos,
createTodo,
updateTodo,
getMovies,
getGames,
getTv,
getBooks} = require('../../controllers/todo-controller')
router
.route('/')
.get(getSavedTodos)
.post(createTodo)
// .put... | a4541d1cdc2c62e1668046e9903f41307e73ba50 | [
"JavaScript"
] | 8 | JavaScript | Jonahkarew/vigilant-rotary-phone | 30395ce8cf984582d5dc1835abc208518c00ea61 | 69568dfc35ae793241c1341f97edb702712d71db |
refs/heads/master | <file_sep># MSL
[](https://app.codacy.com/app/abhinavtk97/MSL?utm_source=github.com&utm_medium=referral&utm_content=abhinavtk97/MSL&utm_campaign=Badge_Grade_Dashboard)
Mace Super League Live Scores and Fixtures
<file_sep>packa... | cf339d6f4f363b9ac46af2686df6b142db87bef6 | [
"Markdown",
"Java"
] | 7 | Markdown | abhinavtk97/MSL | 31048d8da88d7d27e0284cf7086baf5445861e7e | 3657f972a3f9dcf003d16b1902490d285c996705 |
refs/heads/main | <file_sep>//named class
// class rectangle{
// constructor(width, height){
// this.width = width
// this.height = height
// }
// }
// //unnamed class
// console.log(rectangle .name)
// let rectangle2 = class {
// constructor(height,width){
// this.height=height
// this.width=... | c148994bbbb7f6f020532c43b0aec75cb8cc0302 | [
"JavaScript"
] | 1 | JavaScript | duyvt7/10-days-of-JavaScript | 4c5e56f296c64b4ff43652182942e9d8b5fe07fc | 963082430fb66de0bafd39214569bd7d765c22bd |
refs/heads/master | <repo_name>amrutsabale/portfolio-spa<file_sep>/src/components/Footer.js
/* eslint-disable jsx-a11y/anchor-is-valid */
import React from "react";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import {
faLinkedin,
faGithub,
faTwitter,
faMedium,
} from "@fortawesome/free-brands-svg-icons";
con... | bfcf10740fd7418fd7fb8e1e29040d54abbad42c | [
"JavaScript"
] | 3 | JavaScript | amrutsabale/portfolio-spa | 1e343b0b74266f00afb370f2d1559bb6ed5a5593 | 228a9de17c7119480d89d628962a2283ea9f550a |
refs/heads/master | <repo_name>stella-h/spinning-bunny<file_sep>/scripts/script.js
var stage = new PIXI.Stage(0x66FF99);
var renderer = new PIXI.autoDetectRenderer(400,300);
//check for webGL support, otherwise canvas
document.body.appendChild(renderer.view);
requestAnimFrame( animate );
var texture = PIXI.Texture.fromImage("bunny.png"... | b241ccd8f1e14efdd3eb951be69c38d79ba958be | [
"JavaScript"
] | 1 | JavaScript | stella-h/spinning-bunny | 1a591f4b1f80f568be46214522d9a86e4faf2872 | 70959105d8b33edbd72d8617f48d684de60afc21 |
refs/heads/master | <repo_name>odrevet/Chess-Wii<file_sep>/source/cui_engine.h
#ifndef ENGINE_H
#define ENGINE_H
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <stdbool.h>
#include "engines/firstchess/core.h"
#include "engines/TSCP/defs.h"
#include "engines/TSCP/data.h"
#include "engines/TSCP/pr... | 8815c948838e08f415d308aac1a0b04ffbd6b634 | [
"C"
] | 24 | C | odrevet/Chess-Wii | 3f6d3319893dced5bf7ffa1abb8db69d08ccd782 | 973a423f108bf6245ce2be64f59fdf3f87b7c0f2 |
refs/heads/master | <repo_name>bkleinbaum/leaflet2hw<file_sep>/js/script.js
var pizzaIcon = L.icon({
iconUrl: 'images/pizza.png',
iconSize: [32, 37],
shadowSize: [50, 64],
shadowAnchor: [4, 62],
popupAnchor: [-3, -76]
});
var beerIcon = L.icon({
iconUrl: 'images/bar.png',
iconSize: [32, 37],
shadowSize: [50, 64],
sh... | c0b1838999ebd54769375cd46cb2ec70b8461bb1 | [
"JavaScript"
] | 1 | JavaScript | bkleinbaum/leaflet2hw | 6a10b14e4e03f1c1fd4b399b407f1665f14a4826 | 312a620425fd2b25035792269e4041ff3bc95d18 |
refs/heads/master | <repo_name>Coopersino/wf1<file_sep>/index.js
var sum = require('./modules/sum.js'),
guard = require('./modules/guard.js');
console.log(sum(13,22));
console.log(guard('Dima')); | a80d34caa6f9526efd555c362686bacd678ebb94 | [
"JavaScript"
] | 1 | JavaScript | Coopersino/wf1 | 1a0e292b91a2dc1c884f94f7437be7b91daca126 | 3efd9e800912992710827f2a9009543f68f59456 |
refs/heads/master | <repo_name>den59k/def<file_sep>/libs/onceCipher.js
const convert = (char) => {
let ch = null;
switch (char) {
case 32: ch = 32; break;
case 33: ch = 33; break;
case 46: ch = 34; break;
case 44: ch = 35; break;
case 63: ch = 36; break;
default:
if(char < 1000)
ch = char-48+37;
else
ch = cha... | c9886510e08341014c352cbdc9f721603e231ff3 | [
"JavaScript"
] | 10 | JavaScript | den59k/def | b3b5c2a341f60c894570dc545ab09dd58f68d3fd | 5f9155e158132dfa9e35e235d60b0bb90674e1e8 |
refs/heads/master | <repo_name>theonesuperdave/sandbox<file_sep>/KarmaWithMocha/specRunner.js
var karma = window.__karma__;
var tests = [];
if (karma) {
// take all of the files harvested from the karma
// setup, and push them as dependencies to requireJS
for (var file in karma.files) {
if (karma.files.hasOwnPrope... | af20e32f6ad5dc0eb2f01190f17d67d0cc60eaf3 | [
"JavaScript",
"C#",
"Dockerfile",
"Markdown"
] | 24 | JavaScript | theonesuperdave/sandbox | 7ef91041b5610044bc5b04a1e4df8e9487706687 | 7ba33ada5aae4dda7883801a708244baed641b0d |
refs/heads/master | <repo_name>monkeysuffrage/deathbycaptcha<file_sep>/lib/deathbycaptcha/version.rb
module DeathByCaptcha
VERSION = "4.1.2"
API_VERSION = "DBC/Ruby v4.1.0"
end
<file_sep>/lib/deathbycaptcha.rb
require 'deathbycaptcha/version'
require 'deathbycaptcha/config'
require 'deathbycaptcha/error'
require 'deathbycaptcha/client... | 894c087a2f834775fa2d399c05409b6269478f22 | [
"Ruby"
] | 2 | Ruby | monkeysuffrage/deathbycaptcha | e48d5b0db71c19f384eed8d5d2d98311d163d0e6 | b8f62ae49a3680ad02cc9d8423bffbdd3d6ef4e2 |
refs/heads/master | <file_sep># demo-login-firebase
<file_sep>interface ProfileState {
id: string;
username: string;
email: string;
fullName: string;
permissions: string[];
language: string;
isLoggedIn: boolean;
rememberMe: boolean;
token: string;
}
export default ProfileState;
<file_sep>import Profil... | fea8cea3cff0b333981a4d3ccfb3b31c5dc86232 | [
"Markdown",
"TypeScript"
] | 26 | Markdown | duyanhv/demo-login-firebase | a9a01a551b0510adb4664dc51a67ab97fdfade57 | 69cd746790fb2d812d4fdcebeccae13c01e81f66 |
refs/heads/master | <repo_name>nikhilenmudi/orderchief<file_sep>/src/main/java/com/orderchief/domain/Vendor.java
package com.orderchief.domain;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.Column;
import javax.persistence.ColumnResult;
import javax.persistence.Entity;
import javax.persistence.EntityResult;... | 86af638280edc0b6168a038f6d06bbe23888520b | [
"Markdown",
"Java",
"JavaScript"
] | 14 | Java | nikhilenmudi/orderchief | b68519bf8d210ad51ff89a200f00388f6c0c48e9 | b366fbdfff3745abd0b17aafdd047deade2663c2 |
refs/heads/master | <repo_name>hyunjungpp/practice<file_sep>/src/Thread/ThreadTest.java
package Thread;
class ThreadClass implements Runnable{
public void run(){
System.out.println("thread is running...");
}
}
public class ThreadTest {
public static void main(String[] args) {
ThreadClass t1 = new ThreadClass();
Thread tt1 ... | 66495c795c3f19003cc8812305a8a755a31d936f | [
"Java"
] | 5 | Java | hyunjungpp/practice | 964fe206a6204bbab2b2e2c3a71e218e3a277226 | 947e5a5eea20c8c68d824a119de140f5178c705a |
refs/heads/master | <file_sep>from datetime import datetime # for date for result dir
from multiprocessing import Pool # non-distributed parallellism
from time import time # timing
from progress.bar import Bar # progress indicators
import os # for mkdir
import os.path ... | 7e23e5990047ee53ff208a178941bddacc9e627f | [
"Markdown",
"Python"
] | 12 | Python | shannonfenn/Multi-Label-Curricula-via-Minimum-Feature-Selection | 060dbc2700d4fb29f919dfdb371706bb562f10fe | 4b2b44a9dfdce95a4ad4048e9076faa727bcb69b |
refs/heads/master | <repo_name>Ishank-811/portfolio-website<file_sep>/main.js
// function hidden(){
// let btn1= document.querySelectorAll("#graphic-btn");
// let para= document.querySelectorAll(".category-hidden");
// //btn1= addEventListener("click", function(){
// if(para.style.display=='none'){
// para.styl... | f7867fb889ec92d8cf73d7a401c8a9a8dcd29dee | [
"JavaScript"
] | 1 | JavaScript | Ishank-811/portfolio-website | 1b2eb1cc752d3e21a4b2d762edbb52c4b4218b54 | 864360e3a7ff140c736d6f22c66c68b288c4f2a0 |
refs/heads/master | <file_sep>class ProjectsController < ApplicationController
respond_to :json
def index
respond_with(Project.all)
end
end
| e76e4d461fa6f87189584af3dfdbae86cb869cf4 | [
"Ruby"
] | 1 | Ruby | jlovell/buggy | 549924a6cc65d194ed239bc7d6ff784773470ec8 | 16d585f02e6b976e33f4afc4cd640df7fb01663d |
refs/heads/master | <repo_name>CNUClasses/9_NetworkCheck<file_sep>/app/src/main/java/com/example/keith/a9_network_connectioncheck/ConnectivityCheck.java
package com.example.keith.a9_network_connectioncheck;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
public class ConnectivityCh... | 8a6bf2f5376ccc465216e6135cb9291ae55ad786 | [
"Java"
] | 1 | Java | CNUClasses/9_NetworkCheck | b472e98f5427b87e035edaff5d8638c97d92b5a0 | 229decdf14e55ff8adbd617ff6e764f3ca74e639 |
refs/heads/master | <file_sep>package com.dexesttp.hkxpack.hkxwriter.object;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.util.List;
import com.dexesttp.hkxpack.descriptor.HKXEnumResolver;
import com.dexesttp.hkxpack.descriptor.enums.HKXType;
import c... | 66461902783811569fce14a9519572c70ca9a011 | [
"Java"
] | 34 | Java | philjord/hkxpack | 77e66ed1015437340c9e77a720ff6cd5b91e470c | 9c8b684ca8c225bac84f318f7c49e2544abd4ec2 |
refs/heads/master | <repo_name>TPLinux/foundation-solver<file_sep>/solver.py
from sympy import Eq, Symbol, solve
import math
class Solver:
def __init__(self, command_line=False, **info):
self.need_to_calculate_q_all = False
if command_line:
self.column = input("column dimentions in meter , ex: [0.3x0.3]: ... | 22b35b2dc55617300f95439f346de359c03d1e4b | [
"Python"
] | 1 | Python | TPLinux/foundation-solver | 98ffec3a18527453f9777b1e8b712d5c1db41878 | 34970fc5c6d3d08688c92233d0eef927fb5f83bc |
refs/heads/master | <repo_name>werneriaa/Fullstackopen<file_sep>/osa2/kurssitiedotapp2/src/components/Course.js
import React from "react";
const Course = ({ courses }) => {
return courses.map(b => (
<div key={b.parts.map(part => part.id)}>
<Header name={b.name} />
<Content parts={b.parts} />
</div>
));
};
const H... | d9e08ac7479912920cd51e31eacba604d9cc55b0 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | werneriaa/Fullstackopen | d7ecf95dfd41ce18466004281c6089bc0f1187d5 | 989974d1871a625d0d0e50b0f28e70923754ebf7 |
refs/heads/master | <repo_name>sunxu3074/android-about-page<file_sep>/library/src/main/java/mehdi/sakout/aboutpage/AboutPage.java
package mehdi.sakout.aboutpage;
import android.content.ComponentName;
import android.content.ContentResolver;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageMan... | a754a96645f9bf1a6b276a7af5ddae07138e42fe | [
"Markdown",
"Java"
] | 2 | Java | sunxu3074/android-about-page | 43b7b8063d5ada993d68df5000c6607f0a55c6f2 | e134368caf49001d08d7dc794bc8703cee76c13d |
refs/heads/master | <file_sep># Codeigniter 4 CRUD API
Simple CRUD REST API using Codeigniter 4
## Tech Stack
PHP 7, Codeigniter 4
## Documentation Link
https://web.postman.co/collections/13564534-13316c0f-eed9-4b5b-a821-8342ac73199b?version=latest&workspace=c3e5a167-45ea-4d30-98ce-d99d4262dbb5
<file_sep>-- phpMyAdmin SQL Dump
-- versio... | 8f2cc8b950bdbbf3916b56a8751c128aa752a120 | [
"Markdown",
"SQL",
"PHP"
] | 4 | Markdown | bagasadif/Codeigniter4-CRUD-API | a3ae56b3d234f3f94a2b4baeb9117c975f8cf48f | b7ab4352588a957d2aaf532b7ef89f1bcb306510 |
refs/heads/master | <repo_name>MarquisDeLafayette/Vietnamese<file_sep>/viet script.py
from string import punctuation
import codecs
# Sorts words by alphabetical order with the count as a secondary key
def sort_words(x, y):
return cmp(x[1], y[1]) or cmp(y[0], x[0])
# Words to be listed
Number = 50
words = {}
# Parses fil... | 185f1078433f24a03efa5899235210f99296f525 | [
"Python"
] | 1 | Python | MarquisDeLafayette/Vietnamese | af0f8cfbf2083149cf0d32326cebae9ac60a70ec | 971db97724ae155dbfc847ecb5dc44ae079cb609 |
refs/heads/master | <file_sep>// info thông tin(Dữ liệu đã qua sử lí hiện thị lên ui cho user)
// data dữ liệu(Là những thông tin được chuyển thành jSon , là dữ liệu backend đưa cho json)
function nhanvienservices() {
// Láy danh sách sản phẩm
this.layds = function () {
return axios({
method: 'get',
... | a290b7907b0ffc2f553e2da177ee5213f898c2dc | [
"JavaScript"
] | 2 | JavaScript | HaTuanThuyet/QLND | 7cb5e3eb7fec58206ed25ed7eed79ac86622e064 | 6600b2faa8ef8c43ee740d3183f5182429eac219 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
namespace AcademList.Models.DAOModels
{
public class DAOAcadList
{
private Entities entities = new Entities();
DAOPattern daopat = new DAOPattern();
public IEnumer... | 56c719b63d1f012e013490224aa676981580df87 | [
"C#"
] | 15 | C# | sixsixsam/Kursa4TP | 92a7f2b0a0b7698cb995cb9170059a24ae4b02fc | 7f0b9d0062d17942e0b4722682e6cc2217b73880 |
refs/heads/master | <file_sep>package at.rovo.stemmer;
/**
* Represents any character in the range from a to z in an English alphabet.
* <p>
* Note that this class is abstract and is implemented by {@link Consonant} and {@link Vowel} class which correspond to
* consonants and vowels in the alphabet depicted
* <p>
* Sequences of th... | 040edba3ed67f91fac450b0f6268462af31cb943 | [
"Java"
] | 1 | Java | RovoMe/PorterStemmer | 970da9bdb0c803aab5fffec33468f9b2bb223670 | e0fed39c7e3a7a3f2af6d666553f05a2ee5fa3ba |
refs/heads/master | <file_sep>#!/usr/bin/env python3
import serial
from proto import leds_pb2
ser = serial.Serial('/dev/ttyUSB0', 115200)
print(ser.name)
while True:
print("[R,G,B,O][0,1]")
value = input("Cmd: ")
if value == "q":
print("Stopping")
break
if len(value) < 2:
continue
request ... | 5b11301162477011dae82fd00f7e6bb349f794b7 | [
"Markdown",
"C",
"Python",
"C++"
] | 6 | Python | koson/Stm32f4-UART-protobuf | 528aa17c376173bb0d09b96d466fceae2e5d8403 | cc2fae86701acab84ab74858f9a1f4d4648bd018 |
refs/heads/master | <file_sep>using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Scelta : MonoBehaviour
{
public GameObject pannello_mano;
public GameObject pannello_spalla;
public GameObject pannello_gamba;
public GameObject pannello_piede;
public GameObject pannell... | 2804f0c35ccdb32d1787b2d443e90e32a5074c04 | [
"Markdown",
"C#"
] | 15 | C# | irebuf/progettoETI_4 | e292a95cfeb812b591cd05fd6a29f27c4728e5a1 | a69c8a059d83500ee9b41ea46657e59c8aaa6fe4 |
refs/heads/master | <file_sep>function activate() {
demo();
}
function demo(data) {
console.log('some demo here', data);
}<file_sep># CloudStore Extensions
CloudStore Extensions is a powerful instrument which enables
you to synchronize external systems with CloudStore Enterprise
environment.
Your extension can receive external ... | ad237219d0a8e83b26667b65325b8f0e988f6a4f | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | cloudstore-enterprise/sample-extension | 40137b48bf2086d7f819bacfd0583de14964ee28 | 38d86c82685fe1806859a096f7e50cf74ddfcaaa |
refs/heads/master | <repo_name>nikeshvarma/WikipediaTextAnalysis<file_sep>/WTA/views.py
from django.contrib import messages
from django.shortcuts import render
from django.views.generic import View
from urllib.request import urlopen
from bs4 import BeautifulSoup
import re
class IndexView(View):
template_name = 'index.html'
def ... | cde54172351bbd296ed66cbab46467faf2964e3e | [
"Markdown",
"Python"
] | 2 | Python | nikeshvarma/WikipediaTextAnalysis | ed4f0b687927652b63899e6b22a2dc4eee61a0d4 | 066b862286afd7ad66118746f58fb3b881110f77 |
refs/heads/master | <repo_name>Anderita-Games/Minesweeper<file_sep>/README.md
# Minesweeper
TODO:
- Fix bugs
- Change UI
- Add sound design
<file_sep>/Assets/Code/GameMaster.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameMaster : MonoBehaviour {
public RectTransform Game_Area;
float ... | 88a904874340ba2b85c6b26e45445717211e9992 | [
"Markdown",
"C#"
] | 3 | Markdown | Anderita-Games/Minesweeper | 241c2608b1701aa9785944ab26e28a41e47b0335 | 7f0f7dcc9cb1ef9f1a95e513d432adc373ad2709 |
refs/heads/master | <repo_name>ekeough6/Sudoku-Java<file_sep>/src/SudokuCreation.java
public class SudokuCreation {
public static
}
<file_sep>/src/Square.java
import java.util.ArrayList;
public class Square{
private String num;
private ArrayList<String>exceptions;
private boolean fixed;
public Square(){
num =... | 0cd0a53b7a020c5e712c227da35e56ba1d917a9e | [
"Java"
] | 3 | Java | ekeough6/Sudoku-Java | 69dc9d05d964e4ba292053f0c5caa286a793c3f5 | 9cabf6975c53ee22bb1fa8ffc93dee35607a352a |
refs/heads/master | <file_sep># **Behavioral Cloning**
## Project writeup
---
**Behavioral Cloning Project**
The goals / steps of this project are the following:
* Use the simulator to collect data of good driving behavior
* Build, a convolution neural network in Keras that predicts steering angles from images
* Train and validate th... | 5a0cbe324085a1697ef1ead50fc1d4f8e4a3a3d7 | [
"Markdown",
"Python"
] | 2 | Markdown | tmkhalil/CarND-Behavioral-Cloning-P3 | 2c2559411567c01dff7ec35df267aceaae033498 | 33b58a93ec271d51040cfeffbd6973f412e6ca29 |
refs/heads/main | <repo_name>ZimehrAbbasi/Search-Engine<file_sep>/indexer/IMPLEMENTATION.md
# CS50 Lab 5
## CS50 Spring 2021
### indexer
```c
index_t* index_new(const int num_slots);
bool index_insert(index_t* index, const char* key, int DocID);
void index_print(index_t* index, FILE *fp);
void index_delete(index_t* index);
void index_... | 11368e826967227d8e173b9afaeb6289435fb7b1 | [
"Markdown",
"C",
"Makefile",
"Shell"
] | 23 | Markdown | ZimehrAbbasi/Search-Engine | 9fd3b6287de06c9020cbac3a21bb2af53167923d | 21dd98f733d3e7ee8a9339ac452f90728e0dd0b8 |
refs/heads/master | <file_sep>package org.sevenstar.app.config.action;
import java.util.List;
import org.sevenstar.app.common.exception.ApplicationException;
import org.sevenstar.app.config.domain.S_configureDomain;
import org.sevenstar.web.action.java.DefaultAction;
import org.sevenstar.web.annotation.SSAction;
import org.seven... | 7d9024737834f95ab0006824d8bcb63e91f3aa2a | [
"SQL",
"HTML",
"JavaScript",
"INI",
"Java",
"Text"
] | 85 | Java | shaobenbin/zjut | 55ce1c9e8a028ecd210dca0f177ba7ee0e4c1da2 | b0a34b6ea843d9da802fe5a8b092960724ecc7b5 |
refs/heads/master | <file_sep>#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Fri Jul 20 11:26:22 2018
@author: najmabachelani
"""
import jotto
import unittest
class JottoTests(unittest.TestCase) :
def testJottocore (self):
a = "aaaaa"
b = "aabbb"
self.assertEqual(jotto.jotto_score(a,b), 2)
... | 51e034705b39f9f34a2ac3f2acdfdced61e77247 | [
"Python"
] | 2 | Python | JeffreyBell/jotto | 702795fc287f0b9a482c32fd87eefb64df237fef | baf49eae306f95f503ae6247111a1eae2008dc1e |
refs/heads/master | <file_sep>package weiser;
public class Hallo1 {
public static void main(String[] args) {
System.out.println("<NAME> wŁnscht Dir einen guten Tag!");
}
}
| fd4795b6a3f95eec791748fda63cfb43b67f0fc3 | [
"Java"
] | 1 | Java | weiserj/test1e | 525a9596477ea3511a41321d2ecee3c8a07d55b5 | 83bd8186a9334f2bcd92f33cae3e0e1963256e7e |
refs/heads/master | <file_sep>import { createStore } from 'redux'
import productsReducer from './reducers/products'
const store = createStore(productsReducer)
export default store<file_sep>Assignment
Refactor the etsy homework to use react for the view, axios for the ajax calls, and redux. | c115261a946b0ca1d9b74635af6657eefd587d7f | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | JonathanCass/etsy-react | 5a6a972cc2dbd6bef6b7fa6cccb59280628574a3 | 0f72fd3b9e7308eee47d8ba695e0422004e097ce |
refs/heads/master | <file_sep>package com.smart.auto;
import static org.testng.Assert.assertNotNull;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
/**
* 自动装配
*
*/
public ... | c0c15089b440c01b7703cb9a7b2024385e27b352 | [
"Java"
] | 4 | Java | niuhaijun/chapter5 | 26504850de9648f9bc28cd5c2248532e44d5b106 | 5d0bdc40d244a900ca33cb050ddf1ae83cd0402c |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace WebApplication1.Areas.projects.Models
{
public class Project
{
public int id { set; get; }
public string title { get; set; }
public string description { get; set; }
public... | b6572e84f3f3683dafb6a840699d7eddd75e1a08 | [
"C#",
"C++"
] | 10 | C# | talhaahmedkhan/Projects | abee7757d33c2a1c79f5d8c9261e60e5e753215b | 2abf3a504ac56a201db82ccb0c6d4b0fef9a5805 |
refs/heads/master | <file_sep>//
// main.cpp
// tree
//
// Created by <NAME> on 2016/11/15.
// Copyright 2016年 姜震飞. All rights reserved.
//
//this program
#include <iostream>
#define max 100
typedef char datatype;// change type here
//binary tree defined below
struct node {
struct node *lchild;
struct node *rchild;
dataty... | c2d05d57429ef023ad07173cec5769ae58b87e15 | [
"C++"
] | 1 | C++ | KentonJiang/my_tree | b585be9f29076e9d58a828468b1422da62f2dc71 | a34da9cd061df7a5eb97001b8bb8e89751b5f974 |
refs/heads/master | <repo_name>t3reezhou/gomod<file_sep>/go.mod
module gomod
go 1.15
<file_sep>/hello.go
package hello
func HelloWorld() string {
return "hello world t3reezhou"
}
| 2d8414ec043e4587d7820ff47e5c749f302729d5 | [
"Go",
"Go Module"
] | 2 | Go Module | t3reezhou/gomod | 1f24d098785a56f5aed3a81fd4c36c7065f9a0ef | d647ce66e544296015f5830d7761a8ef6e7276c0 |
refs/heads/master | <file_sep>package tags.fbconnect;
import groovy.lang.Closure;
import java.io.PrintWriter;
import java.util.HashMap;
import java.util.Map;
import play.Play;
import play.modules.fbconnect.FBConnectPlugin;
import play.mvc.Http.Request;
import play.templates.FastTags;
import play.templates.GroovyTemplate.ExecutableTempl... | 069df42d79200c4936bb686846651358266d89db | [
"Java"
] | 1 | Java | smallufo/play-fbconnect | b3f030928a3c167f32227135ad50a188439b3b61 | 5bccfb91b7ba8f29e6cdd32e0c443ce67ec684e2 |
refs/heads/master | <repo_name>k32918kk/Pandas-Practice<file_sep>/Pandas.py
# coding: utf-8
# In[1]:
import pandas as pd
# # pandas的資料結構
#
# #### 1.Series:用來處理時間序列相關的資料(如感測器資料等),主要為建立索引的一維陣列。
# #### 2.DataFrame:用來處理結構化(Table like)的資料,有列索引與欄標籤的二維資料集,例如關聯式資料庫、CSV 等等。
# #### 3.Panel:用來處理有資料及索引、列索引與欄標籤的三維資料集。
# In[3]:
#Series
# inpu... | cad851f7b52ff9a79d7540d1b0bf2984961595af | [
"Python"
] | 1 | Python | k32918kk/Pandas-Practice | 07c260adde3df969a5a3bfdc890ab78c05099005 | 70e3f6d8b5ccbd1acba2c575ee433301d6a56cfe |
refs/heads/master | <repo_name>VitalyOne/rango<file_sep>/rango/urls.py
from django.conf.urls import url
from rango import views
urlpatterns = [
url(r'^$', views.index, name='index'),
url(r'^about/', views.about, name='about'),
url(r'^test/', views.test, name='test'),
url(r'^add_category/$', views.add_category, name='add_category'),
url(r... | 0cd2c4d075c82a260d9818ae824d1655a4954a3a | [
"Python"
] | 3 | Python | VitalyOne/rango | 628a2cf46ebacff370c38e5da8cceb309e53b391 | aa14211ca3664e9a104aeddc8cc68139d4c2bd9d |
refs/heads/master | <file_sep>##DashieDB Chat app demo
DashieDB GitHub <a href="https://github.com/developeramino/DashieDB">repo</a>
```json
// token.json for this demo
"demo": {
"username": "demo",
"password": "<PASSWORD>",
"rules": {
"read": true,
"write": true
}
}
```
This demo require package(s) to run
<li>Express</li... | 0d682df293520eafcafb492400e9fd43bb3cc674 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | felixfong227/DashieDB-demo-chat-app | 7e954ded2bf1017a468fc84fc15b54a3bce384d3 | 9e7649ec784e26c8d5943bac9a004446a73f35b1 |
refs/heads/master | <file_sep># Scarne-s-Dice
Google Android Workshop project 2<br/>
Player vs AI roll a dice <br/>
if result is 1: lose all scores gained this turn. lose this turn <br/>
if result is 2-6: accumulate to this turn's score. choose continue rolling or hold <br/>
choosing hold will add this turn's score to total score and end ... | 4d04fe0de498401589a3dd41df1e3f7b05263a19 | [
"Markdown",
"Java"
] | 2 | Markdown | Ralts1337/Scarne-s-Dice | a5245f1641eba2d9ce7cc816feb95fb3a3cb4e81 | e11f287c559c6255cef1e5e80531d2c054bd89ac |
refs/heads/main | <repo_name>ypalnati/Netflix-Data-Analysis<file_sep>/graph_simulator.cpp
#include "Graph.h"
void generateConnectedGraph(int n, ofstream& outfile)
{
Graph g1(n);
for (int i = 0; i < n; i++)
{
for (int j = i + 1; j < n; j++)
{
g1.addEdge(i, j);
}
}
g1.printGraph(outfile);
outfile << "\n ------... | 5db3340460a813de4ca5af03f0e8dd5a076e0828 | [
"Markdown",
"C",
"C++"
] | 10 | C++ | ypalnati/Netflix-Data-Analysis | 5ba6c6072f2aaf4a5e4bf92b624efb7a9c75e87f | 54216f566509a4740801f7f4bedafc08d7f1c0b1 |
refs/heads/master | <repo_name>r21meghashyam/megh.tk<file_sep>/scripts/make-some-magic.js
'use strict';
particlesJS.load('particles-js', './scripts/particles.json');
$(document).ready(function(){
$(document).scroll(function(){
if($(this).scrollTop()>=$('#skills').position().top)
$(".me").fadeIn();
else
$(".... | aa5fb68903060b96097f93326edd54ad5ba105a6 | [
"JavaScript"
] | 1 | JavaScript | r21meghashyam/megh.tk | db3d403b47513e4991041a9ebfa2a94413aa4b6f | 7712650800259278cafa2abf8d6c962f348e2d1a |
refs/heads/master | <file_sep>---
name: <NAME>
position: Engineer
image_path: https://source.unsplash.com/collection/139386/605x605?a=.png
twitter: CloudCannonApp
blurb: Robin is often found tending to her majestic vegetable garden.
---
<file_sep>#!/bin/bash
set -e
cd "$(dirname "$0")"
bundler
bundle exec jekyll serve --host=0.0.0.0 --po... | 03517ade68e4ff7afe6d47dc72f7d665e6a0a833 | [
"Markdown",
"Shell"
] | 3 | Markdown | Bit-Clouded/www.bitclouded.io | 04d86e0306cd10d593cd7955e19c0c7a8152b80a | 48fb61d2683c8f900b121613f1afcd4f8e850c05 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.