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>const inquirer = require('inquirer');
const fs = require("fs");
const path = require("path");
const generateMarkDown = require("./generateMarkDown")
const questions = [
{
type: "input",
message: "Please enter the name of your project",
name: "title"
},
{
type: "inpu... | 7be7b1ccd0331fad5e3aedcfe51250975639f7a2 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | simmonstrever/readMEGenerator | 49c9925f2880c0a28908cc39a993a90e406af338 | 8b16587dbde74f2cef5994eeb04a5e274974ebde |
refs/heads/master | <repo_name>nabeelshaikh91/pehgaam<file_sep>/README.md
Pehgaam
==============
Simple chat application using Flask and Javascript
How to run
------------------
It is always a good idea using a virtual environment to run your
application. That will avoid interference from your hosting
environment. That can be done usin... | bdb300d0c07dafcefa9aeeb3e393cbe232e6b580 | [
"Markdown",
"Python"
] | 4 | Markdown | nabeelshaikh91/pehgaam | 46d7827bbca946a0413bd4caaa4ac57251bafa46 | d6fcec1f46f7db5bf9e839b1306fb21a5bc7b0a1 |
refs/heads/master | <repo_name>nklbigone/mofmof<file_sep>/db/migrate/20191124130915_create_properties.rb
class CreateProperties < ActiveRecord::Migration[5.2]
def change
create_table :properties do |t|
t.string :property
t.string :rent
t.text :address
t.string :building_age
t.text :remarks
t.strin... | d651f0cfedad518d5d4d44ca1b0ad4f3fdd1f4af | [
"Ruby"
] | 3 | Ruby | nklbigone/mofmof | 84276329c798b0df42fb8291f8c5b06a4e3ac8db | 2e34509739f11fd24240ab5cbdeaab0a86ef9a95 |
refs/heads/master | <file_sep>function search(b){
const mon= document.getElementById("monsters")
let mon1= document.createElement("option")
for(let i=0; i<322; i++){
mon1.innerHTML =b.results[i].index
mon.appendChild(mon1)
mon1= document.createElement("option")
}
}
//creo gli elementi fuori dalla funzione per sovrasc... | 91af67cf6810a7c6367f11cb9cf7ae986607b4ae | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | StefanoUsanza/dragonAPI | 8d67f227aee8c7cb54e475101122150eba92ad49 | 44193c1b563078b653a82667032d1222037a7a9e |
refs/heads/master | <repo_name>linghao-yu/yu-theme<file_sep>/fib1.js
function Fibonacci(num) {
if (num === 0) return 0;
if (num === 1) return 1;
return Fibonacci(num - 2) + Fibonacci(num - 1);
}
var i = 0;
do{
i++;
console.log(Fibonacci(i));
}while(i<200)
| 9c4d48d9bea477093fbe7f167bfcd414ab882c38 | [
"JavaScript"
] | 1 | JavaScript | linghao-yu/yu-theme | 934ecaa852c52b983673b264186f203ada4bbc23 | 9e54b60b491d65595cf68f1468782faef9060883 |
refs/heads/master | <file_sep>class TasksListController < UIViewController
class << self
def controller
@controller ||= TasksListController.alloc.initWithNibName(nil, bundle: nil)
end
end
def viewDidLoad
super
end
end<file_sep>class WelcomeController < UIViewController
class << self
def controller
@... | 0fd503a05f593be3844853b9b91eb99ed47b77c3 | [
"Ruby"
] | 3 | Ruby | danielspector/AuthExample | 64d12f4b7b5bd0d12f1dd6e0b002d22cbd103521 | 817827c7aa1e8bd7e65f5cd16a6790a9fb99a335 |
refs/heads/master | <file_sep># clone
## Boilerplate FW/1 CFML project for Lucee platform
Project Clone is a barebone Coldfusion language (CFML) project that implements basic functionality that required in 90% of projects. Such functionality include:
* User management
* Role-based security framework
* Localization capabilities
* ... | 0a2a256b590c5e76742727b3edf35f6742dfedde | [
"Markdown",
"SQL",
"Text"
] | 3 | Markdown | rodionbykov/clone | 810cfe5aa362bf939951c29de11da0207119fb67 | 98f668ac0e9b2bbef42a7791ddda786f070562a6 |
refs/heads/master | <repo_name>Hyjaz/online_stores<file_sep>/client_app/src/epics/fetchPersonalInfo.js
import * as AN from '../ActionName'
import {receivedUserInfo} from '../actions/navigation-actions'
import { ajax } from 'rxjs/observable/dom/ajax'
import { Observable } from 'rxjs/Observable'
const mock = {
userId: 1,
data: [
{
... | 9ac7e70928a3b4f8f0dd97ac63e4028a93d94fe3 | [
"JavaScript",
"R"
] | 18 | JavaScript | Hyjaz/online_stores | 3f43b60ae702b842190baf3759fde47691d4804d | 3d9b71e8968fb62d2c703262b6ec05302d04ea54 |
refs/heads/master | <repo_name>blake-boesinger/binarySearchWithoutIfs<file_sep>/BinarySearchWithoutIfStatements.java
import org.junit.Test;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import static junit.framework.Assert.assertEquals;
public class BinarySearchWithoutIfStatements {
... | cde2222ac48cc1c29526f8ff1177d70d4c6c5679 | [
"Markdown",
"Java"
] | 2 | Java | blake-boesinger/binarySearchWithoutIfs | 19d7856bf3b18101aa082da99c9d04ffb62085d0 | b51dcb5e88f07a35ffab1f744fd28305a4ad2d4d |
refs/heads/main | <file_sep>import React, { lazy } from 'react';
const WidgetsBrand = lazy(() => import('../../widgets/WidgetsBrand.js'))
const Third = () => <WidgetsBrand withCharts/>
export default Third;<file_sep>import React, { lazy } from "react";
const WidgetsDropdown = lazy(() => import("../../widgets/WidgetsDropdown.js"));
co... | 799d63d51fec2b40f108d6e0850db2444fbec145 | [
"JavaScript"
] | 5 | JavaScript | shourovys/drag-and-drop-react-components-and-change-font-size- | 78136ac0266b560642901c6b553d777948aa39fc | 801a103d0676f379e1a661313192efb290195bab |
refs/heads/master | <file_sep>cd src
zip -r ../build/vexitris-$1.vexi * -x *.svn*
cd ..
<file_sep><project name="grow" default="unarchive">
<property file="./version"/>
<property name="file" value="ebuild-${tag}.zip"/>
<target name="fetch" unless="nofetch">
<get src="http://repo.ebuild-project.org/download/0.7/ebuild-inst... | 6b2c91931d6f50f1bc0269affea28fb836cb56b6 | [
"Text",
"Ant Build System",
"Shell"
] | 4 | Shell | clrg/vegalib | 4b97deef7157807b0fb9f26b4498e6a4e446adad | f7b76de9583ca98ccb4b47c3382b0cee661c2b24 |
refs/heads/master | <repo_name>Zikokun/DP1<file_sep>/src/vista/panelEjecSimu.java
/*
* 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 vista;
import java.awt.BorderLayout;
import java.awt.Graphics;
i... | e8204d0c4da84d176a934739ea0e3d196baa7dcb | [
"Java",
"INI"
] | 23 | Java | Zikokun/DP1 | af14ecbd4cf4200baadb4a552f0e4988a78d67c9 | 7413eddf57dd455e439ece4f396c12de848341b2 |
refs/heads/master | <file_sep>"flist.match" <-
function (pattern = NULL)
{
flist = flist.data()
if (!is.null(pattern))
{
incvec = grepl(pattern, flist)
flist = flist[incvec]
}
return(flist)
}
<file_sep>"view.te" <-
function(coef, plotform = "pdf") {
done0 <- tkmessageBox(message="View all taxon-env... | 4e47e947a02fea2edc39efcece79252106ee712a | [
"R"
] | 59 | R | cran/bio.infer | 7bb78e99d6bcfc29b3c6b6ae7ee9866f8df2658b | 29b252af9e3bb2a301256c9850e1afbae5e55fef |
refs/heads/master | <file_sep>package com.qud.demo;
import com.stumbleupon.async.Callback;
import com.stumbleupon.async.Deferred;
import net.opentsdb.core.TSDB;
import net.opentsdb.utils.Config;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import java.util.ArrayL... | 9080ce115136f99d0d3b4ca84c11bd7fa64af4c9 | [
"Java"
] | 10 | Java | DellQu/demo | 592b68d3cff5ae5706d21a97284b0e1fd41b1b8c | c7a5d4652bacb2afa63e0244e23a6c0ab57a1793 |
refs/heads/master | <repo_name>AudereSemper/Restaurant-reviews-site-<file_sep>/script.js
$(document).ready(function(){
var burger = $('.btn');
var menu = $('.full-menu');
var navItems =$('.nav__item');
burger.click(function(){
$(document).toggleClass("disable-scroll");
burger.toggleClass('btn--open');
menu.t... | 513fd6402569c02774ffed2dda67e8b698566fef | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | AudereSemper/Restaurant-reviews-site- | c67a114d1f35b8269f12649c99ee3702db598219 | 18d7951599cc24ebc7cf5a42f036974f762b0112 |
refs/heads/master | <file_sep>// pages/main/share.js
Page({
/**
* 页面的初始数据
*/
data: {
model: {
topImageUrl: 'http://imgmars.yohobuy.com/mars/2018/05/26/d939c526b9d84e0a16544de381af7d09.jpg',
mallUrl: 'http://www.yohomars.com/admin/images/logo/C.jpg?imageView/1/w/100/h/100',
name: '春丽咖啡公司春丽咖啡公司',
cit... | b13500bf1fbcb1f6e7b1db220bb05c9b211387d9 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | handwill/canvasDemo | 36f14006c0f3c42f50d814fbb1e81a9bf0021f9c | 3c1b91e6a8282f305949419fe987a3efad824e31 |
refs/heads/master | <file_sep>require('./lib/display-sm.css');
require('./lib/display-md.css');
require('./lib/display-lg.css');
<file_sep># DEPRECATED/MOVED
SEE: https://github.com/factorial-io/factorial-patterns/tree/develop/source/_patterns/utils/utils-display-responsive
| d6fa31f063d613d0c73e7d231b95730b2066deb5 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | factorial-io/utils-display | 0b81eb27f4d28398e17385c110511b136a54ddd2 | 852f54d1eb0fb521cadb8f5a648c4ebbb9287dcb |
refs/heads/master | <file_sep># encoding: UTF-8
module Vines
# vines forked version 0.4.9
VERSION = '0.1.1'
end
<file_sep>Lygneo XMPP Integration
=========================
This XMPP server was forked from [Negativecode](http://www.getvines.org/)
and was slimmed down for [Lygneo](https://lygneo.com) usage only!
**DO NOT** use this... | 66bd6b9b3ef09979abdac1428d95846a180d63c4 | [
"Markdown",
"Ruby"
] | 4 | Ruby | gumpyyyy/lygneo-vines | 6d2c7c66bdbbb06ef9be662dab7efc56a0fe00f6 | 4c92577277f0a4076c578cd7165b25180f468fc1 |
refs/heads/master | <repo_name>Ildus4193/hijabfard<file_sep>/db/migrate/20110910120615_add_phone_total_price_to_orders.rb
class AddPhoneTotalPriceToOrders < ActiveRecord::Migration
def self.up
add_column :orders, :total_price, :decimal, :precision => 8, :scale => 2
add_column :orders, :phone, :integer
end
def self.down
... | f24c37d598f5fa33d609ca8be81b6aff551dd0de | [
"Ruby"
] | 14 | Ruby | Ildus4193/hijabfard | 285fcd62f596fbb6ab8e531440d4b5a9a3f029c9 | c63b40d55bbafa93a7841ec33707a42ba0fa8a34 |
refs/heads/master | <file_sep>using System;
using System.Collections;
using System.Collections.Generic;
namespace Lab_5._1
{
class GameCharacter
{
public string name { get; set; }
public int strength { get; set; }
public int intelligence { get; set; }
public GameCharacter(string thename, int the... | a25d56ca230955de9ac6083a30868804d72431ef | [
"C#"
] | 1 | C# | Brendan525/Lab_5.1 | b6c30a4593ecc2a8505e7eed8cb83d33882c693c | 881a1156ba5a132b41ae07db57ff0e6bb831c71c |
refs/heads/master | <file_sep>require 'rails_helper'
RSpec.describe Bike do
it 'is not be valid without any of BikeName or BikeModel or BikeType' do
bike = Bike.new
expect(bike).not_to be_valid
end
it 'is not valid wuth BikeName length more than 50 ' do
bike = Bike.new
bike.bikename = ... | 575dea2069e11a4f710964564ae380f4dbf76158 | [
"Ruby"
] | 13 | Ruby | Abdulrahman69/saasproject | 9478077d205781cb28ec14a65365b09d17628aee | f5843787da198b931dbfdd364293bcfae9888b8e |
refs/heads/master | <repo_name>codinglabsau/aus-income-tax<file_sep>/src/Source/ATOExcelSource.php
<?php
namespace ABWebDevelopers\AusIncomeTax\Source;
use ABWebDevelopers\AusIncomeTax\Source\TaxTableSource;
use ABWebDevelopers\AusIncomeTax\Exception\SourceException;
use \PhpOffice\PhpSpreadsheet\Reader\Xlsx as XlsxReader;
use ABWebDevel... | b62a2ecb1b1900523415ec354a6abb1c943457ca | [
"PHP"
] | 4 | PHP | codinglabsau/aus-income-tax | a50981612b2480ec67128f0cb61dd69ceb695be5 | 35b73c4658b9869e557c60bfddfdbf5488ded7d5 |
refs/heads/master | <file_sep>angular.module('myApp.services',[])
.factory('Istanbul',function($http){
var district = function(){
return $http.get('http://api.openweathermap.org/data/2.5/find?lat=41&lon=29&cnt=20&lang=tr&appid=64ddbeac057fbe32c9518a6e632d6101');
};
return {
list : f... | 314a3aaf53907dfc49b65df032b6c71587896599 | [
"JavaScript"
] | 2 | JavaScript | hzengindev/havadurumu | 1b43c4a4d8d7338de809e93113baa9323e329005 | 1cbf32386bd0262900cd0ae8cb28ab90aaa8da04 |
refs/heads/master | <file_sep>module.exports = class WebpackShellPlugin {
constructor(options) {
const defaultOptions = {
onBuildStart: [],
onBuildEnd: []
};
this.options = Object.assign(defaultOptions, options);
}
apply(compiler) {
const options = this.options;
... | d3c012c3282aab57e8055d18b983166f8121c69f | [
"JavaScript"
] | 1 | JavaScript | gettyio/waveskeeper | 7f3d76ef987febe71ed4cc3239f32434ad72cc63 | 220875382ee443a170bd64aace901be755de8152 |
refs/heads/master | <repo_name>joshkerr/ghost-joshkerr<file_sep>/content/themes/Vapor/README.md
# Vapor
Minimal and responsive with a focus on typography, *Vapor* is a theme that embodies the core concept of [Ghost](http://ghost.org/)—it fades into the background, bringing the focus to your content.
Supports blog and user images; ... | ac03374e1411d78636817b3ab1fc6d47dd7bd485 | [
"Markdown",
"JavaScript",
"Shell"
] | 9 | Markdown | joshkerr/ghost-joshkerr | ccf3e9d692283ee7a25f8ce478ea353eded18790 | ed6e4d733da92ff17026720cd92167c3a7f2bbbd |
refs/heads/master | <file_sep>package me.kazzababe.rpg.quest;
import lombok.Getter;
import lombok.Setter;
import me.kazzababe.rpg.Forged;
import me.kazzababe.rpg.player.ForgedPlayer;
import org.bukkit.Bukkit;
import org.bukkit.event.Listener;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
public abstract c... | 5a09d3a4b534bd05ce3d5484e07bad6829c8ecec | [
"Java"
] | 2 | Java | Kazzababe/Quests-IP | e62b1bea56f4ba942d95f39aba03b3df26dc9cd1 | 4a867acad0d17cdbb323df4d0de718cb0f48736a |
refs/heads/master | <file_sep>Functions [](http://unmaintained.tech/)
=========
This repository contains few functions that help in deciding of certain problems.
* [Class](Functions/tree/master/Class) contains two functions that represents simplest class implementation. First ... | 1f453d061da5e7d17f54c6374e68ed150121f31e | [
"Markdown",
"JavaScript"
] | 10 | Markdown | anoxxxy/Javascript-Functions | 24e9ec7c0da48430edae126856723257e1bc5635 | 114bfe895f42456c02bf377705f89965d6456fa0 |
refs/heads/master | <file_sep>var express = require('express')
var cors = require('cors')
var app = express()
app.use(cors())
createFeed = () => {
let feed = [{
name: 'brian1',
comment: 'comment1',
date: new Date('2020-03-20')
},{
name: 'brian2',
comment: 'comment2',
date: new Date... | bb8fe4397023483981d236ec349baaeca59f43d4 | [
"JavaScript"
] | 1 | JavaScript | fluxczge/node-playground | 27aac2de424245a7f02b03e94eadfdec5b56d665 | a2eba3851ecfcb4f5a649b57b195f59eea8137d6 |
refs/heads/master | <file_sep>package com.example.evan.leap.ui;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.pm.PackageManager;
import android.preference.PreferenceManager;
import android.support.v4.app.ActivityCompat;
import android.support.v4.content.ContextCompat;
import android.supp... | 8b39bf55524f59959f915c94e8908bb30e393f7f | [
"Java"
] | 1 | Java | EvanWalker93/LEAP_3 | e1669f22f73cfe7ac4b14fe502d10236a379155d | fa99174a011ef51c3a2947cb34149804b41dbf4a |
refs/heads/master | <repo_name>woongbaera89/onen<file_sep>/pages/franchise.js
import Floatmenu from '../comps/floatmenu'
export default function FranchisePage() {
return (
<div>
<Floatmenu
menu={["promise","knowhow","cost"]}
handleClick={(idx) => {
const el = document.getElementsByTagName(`section`... | e15d53471fddf16adf0d21cef1ca69b1f06f4ac6 | [
"JavaScript",
"Markdown"
] | 12 | JavaScript | woongbaera89/onen | 6d60100b2e66273c9eec2a947e3422505d9cf20a | 0c084b6483bf46153fa0ee71f86db4d9013f95ed |
refs/heads/master | <repo_name>ArthurFehr/replication-CMMS_2020_JPE<file_sep>/README.md
# Replication: Cattaneo, Ma, Masatlioglu and Suleymanov (2020, JPE)
Replication files for simulation results.
## Reference
Cattaneo, Ma, Masatlioglu and Suleymanov (2020): [A Random Attention Model](https://cattaneo.princeton.edu/papers/Cattaneo-Ma-... | 9d97c0856b5949b1a68b2fa02bb0f2387aeddc49 | [
"Markdown",
"R"
] | 2 | Markdown | ArthurFehr/replication-CMMS_2020_JPE | 37068a94cc3aeecc98dda58f12352854aa5173ba | 81a7f34569ada9b33fdec43fa4201c54c93317b7 |
refs/heads/master | <repo_name>blisterz009/The-Joke-Teller-app<file_sep>/README.md
# The-Joke-Teller-app
A simple web application made in React and Go.
<file_sep>/main.go
package main
import (
"net/http"
"strconv"
"github.com/gin-gonic/contrib/static"
"github.com/gin-gonic/gin"
)
type Joke struct {
ID int `json:"i... | f9174dec420ed4ecc369c4f3e6f4a1189274fccc | [
"Markdown",
"Go"
] | 2 | Markdown | blisterz009/The-Joke-Teller-app | 67c7472d969da888744eb629b123051d817535c2 | a8137429d137ceed6c7f6cfe455c133f67c007d2 |
refs/heads/main | <file_sep>module.exports = {
getCarsUrl: 'http://localhost:8080/api/cars',
makes: ['Acura', 'Audi', 'BMW', 'Alfa Romeo'],
models: ['ILX', 'MDX', 'NSX', 'RDX'],
years: [2018, 2019, 2020, 2021],
prices: [2000, 4000, 6000, 8000, 10000],
totalVehiclesTableOptions: {
data: [
{ tex... | ccb356b2468b4405332a3651593448a73e967e14 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | navarrojl/rodo_full_stack | cc54f4e1bf1f626ba4deda86725e8d91c0084302 | d23032cc8c09bbbdc15dea802bb96095fdfd0b73 |
refs/heads/main | <repo_name>Paulson05/laravel-e-commerce-poject-converted-to-PWA<file_sep>/app/Models/ProductReview.php
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
/**
* App\Models\ProductReview
*
* @property int $id
* @property int $user_id
* @prope... | 9dd8f78283bdd6e017225f7ed3dd1dc68056f36f | [
"PHP"
] | 2 | PHP | Paulson05/laravel-e-commerce-poject-converted-to-PWA | 848e044a3ccb8725e546966268b16aa8723ad65b | 409db9034ebbdd6f6d46604ee714802b6137d590 |
refs/heads/master | <file_sep>var OutData = "";
var idData = document.getElementById('idData')
for (var i = 0; i <= DataObj.length - 1; i++) {
OutData += "<tr><td class='nbr'>"
OutData += (i + 1)
OutData += "</td><td>"
OutData += DataObj[i].name
OutData += "</td><td>"
OutData += DataObj[i].diameter
Out... | 163848478b1ddd006fe20a47f929964f15170237 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | emrizkiem/devc-week3 | 4fe99954494075dc33fc9c004f6e86ec43d478ff | fba1652026c933834e88439de4e9cda3653c5c48 |
refs/heads/master | <repo_name>dovestyle/nova-field-ckeditor<file_sep>/src/MediaStorage.php
<?php declare(strict_types=1);
namespace BayAreaWebPro\NovaFieldCkEditor;
use Throwable;
use Illuminate\Support\Str;
use Illuminate\Http\Request;
use Illuminate\Http\UploadedFile;
use Illuminate\Support\Facades\Storage;
use Intervention\Image\Co... | 822dbdef5d8222bdfec2b85d5054bcab54074c8b | [
"PHP"
] | 2 | PHP | dovestyle/nova-field-ckeditor | e2f1cb2f1977bb3609efae9b942fa4d4053bf567 | 5439230e06edad2b648a036ec22bb1e7bdee0749 |
refs/heads/main | <repo_name>urlordjames/clthing<file_sep>/CMakeLists.txt
cmake_minimum_required(VERSION "3.7")
project("clthing")
# include OpenCL
find_package(OpenCL REQUIRED)
include_directories(${OpenCL_INCLUDE_DIRS})
link_directories(${OpenCL_LIBRARY})
add_executable(${PROJECT_NAME} src/main.cpp)
# link OpenCL
target_link_libra... | 9797501324ee52b2711f3bf5120cd46ec95c9119 | [
"Markdown",
"CMake",
"C++"
] | 3 | CMake | urlordjames/clthing | ba5cb288eae02ab99e4953f847ab486bd90eb0d8 | 5494be64408dcaad6086cf2920741040c538bf7e |
refs/heads/master | <file_sep>from flask import Flask, render_template,request
import datetime
app = Flask(__name__)
# 路由解析,通过用户访问的路径,匹配相应的函数
# @app.route('/')
# def hello_world():
# return '你好!'
@app.route("/index")
def index():
return 'Hello'
# 通过访问路径,获取用户的字符串参数
@app.route("/user/<name>/<sex>")
def welcome(name, sex):
... | 885ae7d29d7a729a8cc9c4845b455881f10ff7f5 | [
"Python"
] | 1 | Python | kimchol0/FlaskTest | 85876f20dbd791edde7568ab3ecaba27386f9d20 | a063aa64bc29c27e95b8288b8c9bfd716d440974 |
refs/heads/master | <file_sep><?php
require 'ConnectDataBase.php';
<file_sep># UserImage
This code allows to upload images like a profile image. Storages informations in a database.
<file_sep><?php
$target_dir = "Img_caricate/"; //Indica dove le immagini devono essere caricate
$target_file = $target_dir . basename($_FILES["fileToUpload"]... | c1464127211cc5557dc1e992d591f1417eae0a96 | [
"Markdown",
"PHP"
] | 3 | PHP | francesco-corsaro/UserImage | 4426d9bc7bde1cead3d163ba15ae7aa9c8ef724e | 7b5888a81dccdac548d98f16fe603f633341e7d6 |
refs/heads/master | <repo_name>playfultechnology/arduino-fruitmachine<file_sep>/MaxAMillion/MaxAMillion.ino
/**
Arduino "Max-A-Million" Fruit Machine Controller
Copyright (c) 2021 Playful Technology
*/
// INCLUDES
#include "src/common.h"
// https://github.com/thomasfredericks/Bounce2
#include <Bounce2.h>
// See: http://www.airspayc... | ded35d97e9abe34a44e4b0fce9e7ddc0ff35ae87 | [
"Markdown",
"C",
"C++"
] | 22 | C++ | playfultechnology/arduino-fruitmachine | b901302a96107d13f8d0314730bc0e86c48e2676 | 4c05ffbaf2ebdd0d36386855b4a4ceac1cd44798 |
refs/heads/master | <repo_name>ginniecodes/pio<file_sep>/app.js
import notify from './notification';
import request from './request';
request.send(user, function(error=null, res){
if(error)
return ;
return notify('Holi', 'Working?', 'This is a message to prove it works!');
//notify(`${res.username} ${res.action}`, `... | b51e88bd9709a3f374521c48ee0d4eb13f7db63e | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | ginniecodes/pio | 109e6958f46db09ec2654f343cbd99425e809416 | c1b44e55ee3a53f74ec8c9c051a488596d21d5f9 |
refs/heads/main | <repo_name>MahalakshmiKannaiah/AccountDataTableLWC<file_sep>/inlineEditDataTable.js
import { LightningElement, wire, track } from 'lwc';
import getAccounts from '@salesforce/apex/InlineEditDataTableController.getAccounts';
import { updateRecord } from 'lightning/uiRecordApi';
import { ShowToastEvent } from 'lightning/p... | 61eff8a612257fa00d4e9cc5ab2329f18599cb24 | [
"JavaScript"
] | 1 | JavaScript | MahalakshmiKannaiah/AccountDataTableLWC | 78250bebcce6095f547b2369d063ce68716c0102 | eb7ce62e8404629c7cdf828f9d2099f85756adbd |
refs/heads/master | <repo_name>LeticiaNb27/crud-java<file_sep>/src/controller/FXMLPrincipalController.java
package controller;
import java.io.IOException;
import java.net.URL;
import java.util.ResourceBundle;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import view.Palco;
public class FX... | 23eb8788d6ea4c98d647e4664a9afe182a59bf15 | [
"Java",
"SQL"
] | 3 | Java | LeticiaNb27/crud-java | 91b49c2cae92738f22588944a2d47b1bf9343e6a | b67a24073d1ab8da1a4ce669527a87fd9363dc14 |
refs/heads/master | <repo_name>nhs-t10/T-10-actual-19-20<file_sep>/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/radiansbad.java
package org.firstinspires.ftc.teamcode;
import com.qualcomm.robotcore.eventloop.opmode.TeleOp;
import com.vuforia.Vuforia;
@TeleOp(name = "skyston")
public class radiansbad extends Library{
public ... | 57b1ff8a84246be1b019252d46152bc01ce941c1 | [
"Java"
] | 8 | Java | nhs-t10/T-10-actual-19-20 | 38213fcd2717d7d7113bf4b15431d42d3f87f61d | 4cae2511a0f4c99abcc807c1441ce11cd8c55928 |
refs/heads/main | <file_sep>import { set, get } from "js-cookie";
import React, {
useContext,
createContext,
useCallback,
useState,
useEffect,
} from "react";
import ItemCard from "../components/ItemCard";
const CartContext = createContext();
const useCartContext = () => useContext(CartContext);
const CartProvider = ({ child... | 0661ce2c659211d7a4bf733fea8e0be4262c38b2 | [
"JavaScript",
"Markdown"
] | 18 | JavaScript | kevingoenadibrata/xendit-assessment | 7b4b58d319d9fe7a0d7d7c6d4229ac07b7d8565f | c2a5d6c0f6cd9aeb66b4186441494e6eb35b0c9e |
refs/heads/master | <file_sep>import 'reflect-metadata';
import { Component } from '@angular/core';
import { bootstrap } from '@angular/platform-browser-dynamic';
import template from './app.html';
@Component({
selector: 'app',
template
})
class Electrolit {
periquis: Array<Object>;
constructor() {
this.periquis = [
{... | c50a725dd30c0607b0b2fc5c1338541e24f1ae48 | [
"TypeScript"
] | 1 | TypeScript | ZuraGuerra/meteor-angular2-playground | a82d406fe0d661773c598c3b0a0aaebe5da89475 | 5e87b8e87bacf8e4f514669a1c51d016c576ec57 |
refs/heads/main | <file_sep>package dizzyd.techreborn_fluid_compat;
import alexiil.mc.lib.attributes.AttributeList;
import alexiil.mc.lib.attributes.AttributeSourceType;
import alexiil.mc.lib.attributes.CombinableAttribute;
import alexiil.mc.lib.attributes.ListenerRemovalToken;
import alexiil.mc.lib.attributes.ListenerToken;
import ale... | f24de2bff98095ec58c45bf6ba687e10aa4d0215 | [
"Java",
"Gradle"
] | 2 | Java | dizzyd/techreborn_fluid_compat | 92edefefc0094ce436cc25d3261e29882c279f99 | 9052c7547355e891e4b147be51a323b24cd4208c |
refs/heads/master | <file_sep><?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\Facades\Blade;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
* @return void
*/
public function reg... | ef46ee12f918f67ec9de265f9762be2775813486 | [
"PHP"
] | 5 | PHP | josetuzin/laravel-multitenant | 5c04a81ac8f7cc27efd08372e591bc06ca14e5ce | 952b54289c45be998c5b5e4d32be0df177c3bd7f |
refs/heads/master | <file_sep>package am.aca.musicapp.repository.implementation;
import am.aca.musicapp.comman.bean.Album;
import am.aca.musicapp.comman.exception.InvalidCommandException;
import am.aca.musicapp.repository.interfaces.AlbumRepository;
/**
* Created by Roman on 9/10/2016.
*/
public class AlbumRepositoryImlementation impl... | 43b3a426dfb3319c9128e34d8dccdc623c4e7717 | [
"Java"
] | 7 | Java | RomanMuzhikyan/MusicApp | 2d4b5d718bcda7c369f6f6185065c0d08dfb0da1 | 31cf584f352aafca3b6e4036cb484cc17320c0c4 |
refs/heads/master | <repo_name>drweissbrot/mix-html-builder<file_sep>/mix-html-builder.js
let mix = require('laravel-mix');
var HtmlWebpackPlugin = require('html-webpack-plugin');
class HtmlBuilder {
register(input = {}) {
if (!input.htmlRoot) {
this.htmlRoot = './src/index.html';
} else {
thi... | fcf74e58fc427660903216784c95e418841cd7e1 | [
"JavaScript"
] | 1 | JavaScript | drweissbrot/mix-html-builder | 95bf55a0fd625bfeef1c422728aef0439f2b9289 | e7e71f5b6ed0bea5781b78836ccea856e8b04507 |
refs/heads/master | <file_sep>#!/bin/bash
#set -x
set -e
RELEASEURL="https://api.github.com/repos/snappyflow/apm-agent/releases/latest"
FLUENTBIT_x86_64="https://github.com/snappyflow/apm-agent/releases/download/fluentbit.tar.gz.1.9/fluentbit.tar.gz"
AGENTDIR="/opt/sfagent"
TDAGENTCONFDIR="/etc/td-agent-bit"
ID=`cat /etc/os-release | gr... | edc8cdc913ef17bb10068e3ad8457ee1d4be4acf | [
"Markdown",
"Shell"
] | 2 | Shell | Kusum-Yadav-ML/apm-agent | 282749d3d2e862852a3d0c5ac7054e6a8786dbc5 | 1a3cf1ab6f47a86227d90b49d5065ac5543f40e2 |
refs/heads/master | <repo_name>alwell-kevin/nexmo-abstraction<file_sep>/app.js
require('dotenv').config()
const express = require('express');
const bodyParser = require('body-parser');
const port = process.env.PORT || 3000;
var cors = require('cors')
var app = express();
app.use(cors());
var Nexmo = require('nexmo');
var nexmo = new N... | c84636518f22d9026efa7e908bd3ed50578733c9 | [
"JavaScript"
] | 1 | JavaScript | alwell-kevin/nexmo-abstraction | 590df122878e3c3142a13358a76f3ec3ea780c7a | 3f72958551677c55ba48c0b24a6b4b2895c1a2e1 |
refs/heads/master | <file_sep>package com.example.ronizoller.vetanatomy;
/**
* Created by ronizoller on 02/11/2019.
*/
class question {
String question;
String answer;
int picture;
question(String qu, String s_ans, int s_pic) {
question = qu;
answer = s_ans;
picture = s_pic;
}
}
<file_sep>p... | 5d7d07e1e0352e167b9bb02b888defb5a4210672 | [
"Java"
] | 2 | Java | ronizoller/VetAnatomy | c27a31a514d2a4f1e09a7554a6578b8b5557254b | 93a1539ee5a10d2f72a3ae070e57200426df93a3 |
refs/heads/master | <file_sep>from django.urls import path, include
from . import views
app_name='app1'
urlpatterns=[
path('',views.index,name='index'),
path('<int:classe_id>/registration/',views.registration,name='registration'),
path('<int:classe_id>/save_registration/',views.save_registration,name='save'),
path('<int:classe_id>/cl... | 2dd50a1fcaff1ec244855df98febef73c70c2b08 | [
"Markdown",
"Python"
] | 5 | Python | Ghost5012/testproj | 8bd4b62876fcab3e76643431bf05f849277848a0 | 515753694f7152cb9b86fa197a251b968d424ef7 |
refs/heads/master | <repo_name>Prog84/2Platformer<file_sep>/Assets/Scripts/EnemyPatrol.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyPatrol : MonoBehaviour
{
[SerializeField] private Transform _leftBorder;
[SerializeField] private Transform _rightBorder;
[SerializeField] ... | a249b2b0477ece110488bea9ff71c575c578af64 | [
"C#"
] | 6 | C# | Prog84/2Platformer | e03e7db79732614046af9291cae9782254717357 | c010e7e62450622e7f954e4fce7e69ead1117d9c |
refs/heads/master | <repo_name>heron2014/daar<file_sep>/src/profiles/urls.py
from django.conf.urls import patterns, include, url
from profiles import views
urlpatterns = patterns('',
url(r'^edit/$', views.edit_profile, name='edit_profile'),
url(r'^(?P<username>\w+)/$', views.single_user, name='single_user'),
)
<file_sep>/src/pr... | 1b76028f0d23a4ca75882822109827dca5b246ac | [
"Markdown",
"Python"
] | 4 | Python | heron2014/daar | ca2e3c3e421049a7f444df07b4214cf848a82e6e | 5b425344ddc055c602111a8e08fe1ae0ca710c71 |
refs/heads/main | <file_sep>module github.com/ozgur-soft/posnet
go 1.15
require (
golang.org/x/net v0.0.0-20210119194325-5f4716e94777
golang.org/x/text v0.3.5 // indirect
)
<file_sep>package posnet
import (
"crypto/rand"
"crypto/sha256"
"encoding/base64"
"encoding/xml"
"log"
"net/http"
"net/url"
"strings"
"golang.org/x/ne... | 056b488a904b4270c3d3a4770f7a3f145e985dac | [
"Go",
"Go Module",
"Markdown"
] | 4 | Go Module | icobani/posnet | 971e04397da3b4e1ec6861f611e365e360b9ee88 | c0e2c51cf2ccfa84e584b52b59b24c072d302361 |
refs/heads/master | <file_sep># Product Backlog
In the agile world is crutial to be able to track our work.
One tool for this is the product backlog
where the Product Owners can collect their ideas named backlog items.
After they added the items with description and acceptance criteria
the team can assign an effort to this item
and split... | f586bd18d97e2d26a1decb7a25e38dafd7576901 | [
"Markdown",
"JavaScript"
] | 4 | Markdown | AndrasKesik/Frontend_ProductBacklog | 634d5833fc602b482843f3a3e12aa3ef147d5d25 | 1afc3ab4fbf961fa92ea6b6a89d94e40f3558448 |
refs/heads/master | <repo_name>LVeraart/Bulk-Crap-Uninstaller<file_sep>/source/UninstallerAutomatizer/UninstallHandler.cs
/*
Copyright (c) 2017 <NAME> (https://github.com/Klocman/)
Apache License Version 2.0
*/
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading;
using Kloc... | 663ffe74ee04d5b219cbec0b6d829446b1f742d6 | [
"C#"
] | 1 | C# | LVeraart/Bulk-Crap-Uninstaller | b95ad9514fead6176f32e449dd04cb4b0abdc84d | 67d2876675a5d7305d53c9e9315d66b91fc8816d |
refs/heads/main | <file_sep>import { Theme} from "./themes"
export default function onSwitcherClick() {
document.body.classList.toggle(Theme.DARK);
if (document.body.classList.contains(Theme.DARK)) {
localStorage.setItem('theme', Theme.DARK)
} else {
localStorage.setItem('theme', Theme.LIGHT)
};
};<file_... | 84ab2b791afa890c1589283fae7769065a375350 | [
"JavaScript"
] | 3 | JavaScript | KashnykovAnton/goit-js-hw-10-food-service | 4b248575827f8b78cbb0c433a4aa03967e4111f3 | ecc34aa47ac265dbb4cf2747e3d94de2966f4807 |
refs/heads/master | <repo_name>randomsilo/modern-web<file_sep>/backends/GoalTracker/sql/sqlite/GoalDisposition.sql
---
--- GoalTracker.GoalDisposition
---
CREATE TABLE GoalDisposition (
GoalDispositionId INTEGER PRIMARY KEY AUTOINCREMENT
, ChoiceName TEXT
, OrderNo REAL
, IsDisabled INTEGER
);
---
--- Choices
INSERT INTO GoalDispositi... | d2d1f16a7b857800a1b6c98d143964e24de75910 | [
"SQL",
"JavaScript",
"Markdown",
"C#",
"Shell"
] | 122 | SQL | randomsilo/modern-web | dd8fd2fae1df9ba35f86cd465711fc586c550734 | 2671b21e1a193f1e82e3fd60fb2441fa5ca51160 |
refs/heads/main | <file_sep>using System;
using System.Collections.Generic;
using System.Text;
namespace FonamentsCSharp
{
class TravelCost
{
int HotelPrice(int n)
{
int nightPrice = 140;
return nightPrice * n;
}
int AirPlanePrice(string city){
switch (city)... | 64ee69ca16f2fbd264fda38e008ae7c6c368c462 | [
"C#"
] | 33 | C# | Joooeeel/CSharps-AppsFactory | efe6297097bb43777638df4bd322f0e1b2b91cc6 | a9501d25f9aa0429376934504de46c55c99f4cd0 |
refs/heads/master | <repo_name>ErezHecht/Recorder<file_sep>/app/src/main/java/com/example/erez/recorder/SusKavushVideoMerger.java
package com.example.erez.recorder;
import org.mp4parser.Container;
import org.mp4parser.muxer.Movie;
import org.mp4parser.muxer.Track;
import org.mp4parser.muxer.builder.DefaultMp4Builder;
import org.mp4parse... | 5e0996ff7c41c9d383ae7cd108dda37ca6112d36 | [
"Java"
] | 2 | Java | ErezHecht/Recorder | 7e37326c82e3ce9444b3451510e894b33e847673 | 5cc3bff4e113508b809e1daec07236be5f20521a |
refs/heads/master | <file_sep>/*
Lightbox JS: Fullsize Image Overlays
by <NAME> - http://www.huddletogether.com
For more information on this script, visit:
http://huddletogether.com/projects/lightbox/
Licensed under the Creative Commons Attribution 2.5 License - http://creativecommons.org/licenses/by/2.5/
(basically, do an... | f5241add131d4828ba2ed186b3e3d36fb64ba932 | [
"JavaScript",
"Markdown",
"Python",
"Go",
"Go Module",
"Shell"
] | 27 | JavaScript | getgauge/html-report | 7b9582e1532a5efb4cca95e254b385c42045b973 | d7ccbf860d72a6dabcc68ce426b2541f0fbaf215 |
refs/heads/master | <repo_name>gsw91/Library_REST<file_sep>/src/main/java/com/crud/library/service/DbReadersService.java
package com.crud.library.service;
import com.crud.library.domain.Reader;
import com.crud.library.repository.ReaderRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.st... | 650d9c1059bd3fa2b647a6375ea9ff79018e8a5b | [
"Markdown",
"Java"
] | 10 | Java | gsw91/Library_REST | 702883753c0fff4fdfda56935547afde05cde456 | 1f6329ad49bf8410248857d8a1ccd9bbfee0eb2d |
refs/heads/master | <file_sep>package com.coding.challenge.service;
import com.coding.challenge.dto.PostDTO;
import com.coding.challenge.dto.UserDTO;
import com.coding.challenge.dto.UserPostsDTO;
import com.coding.challenge.error.ConflictException;
import com.coding.challenge.error.InternalServerException;
import com.coding.challenge.err... | 5320f5ab4127918994cf9f164a57f161e9258fba | [
"Markdown",
"Java",
"INI"
] | 7 | Java | yolch-yolchyan/asynchronous-rest-calls | 2f0d51e6d19aba49a59cba5349307766fc0aca9a | 7273b4db28bea8ab162bc4d7765d1e62b8282641 |
refs/heads/master | <repo_name>MichaelNowak/interpolated-intersection<file_sep>/interpolated_intersection.py
import numpy as np
import matplotlib.pyplot as plt
from scipy import interpolate
def interpolated_intersection(x_1, y_1, x_2, y_2, acc=1000, spline='linear'):
x_1_dx_avg = (np.amax(x_1) - np.amin(x_1)) / len(x_1)
x_2_dx_avg = (... | f13c0253f3051f79d9bdd16f4c44be36e97b6f5b | [
"Python"
] | 1 | Python | MichaelNowak/interpolated-intersection | 5537f7f36548160611052daefc479683eb92e407 | 3812cb9a20ae3600dbeeed6d329a873e30690505 |
refs/heads/master | <repo_name>katherinecbrough/Pong<file_sep>/COGPhysics.h
#pragma once
#include "stdafx.h"
#include <vector>
#include <algorithm>
#include "Component.h"
#include "COGShape.h"
#include "Component.h"
// our interface that allows COGPhysics to talk to anyone
class COGPhysics;
class IPhysicsCollisionEvent
{
... | c0c03ccfe08aebd8fe824dab4b16e6031895ad9a | [
"C++"
] | 7 | C++ | katherinecbrough/Pong | c4cbc8e7c6d5dca2e576177f9c4ceb7ef46b2a6e | 59b3f32e2b0cf77cb87ae7ca9325c6eeadebc75f |
refs/heads/main | <repo_name>DnfsJ2W/Srinivas<file_sep>/Day_15/src/app/products.component.ts
import {Component} from '@angular/core' ;
import {productsservices} from './productservices'
@Component({
selector:'products',
template:`
<h2> {{ "title : " + getTitle() }}</h2>
<h2 [textContent]="title"></h2>
<ul>
<li *n... | 621b8f2e4d4e0339acce8592a8c32f180c91ff59 | [
"TypeScript"
] | 2 | TypeScript | DnfsJ2W/Srinivas | 9331658ad0e751b21ca5312d4a75f0805c17d7a6 | 7d05c4af8adcde4a641b9dfbbac979c6440a5adf |
refs/heads/master | <repo_name>md6410/six11hacks<file_sep>/turk-segments/src/org/six11/turk/TurkSurface.java
package org.six11.turk;
import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Shape;
import java.awt.Stroke;
import java.awt.event.MouseAdapter;
import java.awt.e... | 41fba4933f5c35db2aa5e616dd8c29974712d169 | [
"Ruby",
"Java",
"Python",
"Text",
"Ant Build System",
"Shell"
] | 48 | Java | md6410/six11hacks | b58ea23add23be31e8921cfd44ff3b6d5622ff43 | 1987df1cf0ab3761583dc5d4f0f2e8ea370bea5a |
refs/heads/master | <file_sep>/**
* JPA domain objects.
*/
package com.ey.test.domain;
<file_sep>/**
* Spring Framework configuration files.
*/
package com.ey.test.config;
| 3812decc9dbf86885eea877ba53d177fc2666fb8 | [
"Java"
] | 2 | Java | test2org/test8 | d720dcb13b540dda37fe121b91baccb2b5f647e4 | d2663508dfd4c7cdff25cb3667cea342d8cda13f |
refs/heads/main | <file_sep>asgiref==3.3.4
certifi==2020.12.5
chardet==4.0.0
defusedxml==0.7.1
diff-match-patch==20200713
dj-database-url==0.5.0
Django==3.2.3
django-heroku==0.3.1
django-import-export==2.5.0
et-xmlfile==1.1.0
fake-useragent==0.1.11
gunicorn==20.1.0
idna==2.10
MarkupPy==1.14
odfpy==1.4.1
openpyxl==3.0.7
psycopg2==2.8.6
p... | ff5a00272ba433d03598b4a3d18bd170d7a452d5 | [
"Python",
"Text"
] | 11 | Text | gary88888888/traffic-analysis | c1cf7e261353f31d0b06852ba66f98a28dfa63f7 | 8564fdad04e8abaa167a21711b308defef9784c1 |
refs/heads/master | <repo_name>phanibob7/VapesDemo<file_sep>/Vapes/Vapes/Classes/Cells/Menu/MenuCell.swift
//
// MenuCell.swift
// Vapes
//
// Created by phanindra on 12/09/18.
// Copyright © 2018 Aadhan. All rights reserved.
//
import UIKit
struct MenuItem {
var title: String
var isSubMenu: Bool
var isExpandable: Bool
... | 494aea4a4c033dd1bef0e8e5a3ceda843cd9a2ca | [
"Swift"
] | 9 | Swift | phanibob7/VapesDemo | 50e5ba6f0bf15c4e1e401619a5d6d2ec8dbdc35b | bf87df02c9f03356e39dbe8cfea90e3e04669d11 |
refs/heads/master | <file_sep># ECSE489Lab2
The purpose of this lab is to be able create a simple CLI for DNS packets
##### Built using Java 5, Java version 1.8.0_101
### Interface:
`DnsClient [-t timeout] [-r max-retries] [-port] [-mx|-ns] @server name`
where the arguments are defined as follows.
- `timeout` (optional) gives how l... | af3f24d811d9e4f1e4fc0d03a8b386c9af9bedc1 | [
"Markdown",
"Java"
] | 3 | Markdown | DerekYu177/ECSE489Lab2 | 47d9fa494280cbac29334675d8f47e42bbc3a5e1 | 8dddef19bbb33a6b49a15c465bff41946cf32fe8 |
refs/heads/main | <file_sep># VR
Practicing with VR
<file_sep>function preload() {
sun = loadImage('sun.jpg');
setVRBackgroundColor(0);
}
function setup() {
background(0);
let ii = 1;
}
function draw() {
setViewerPosition(0, 0, 400);
//push();
translate(0, 0, -30);
//rotateY(ii++/100);
texture(sun);
noStroke();
... | 81238b28b108ad181ca7914da1e665a13cd16755 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | fisicaetcetera/vr | 72c0dfbba20e3232530d8bb3137c8fa947235026 | 21e41359f3e6ede60695dbd55fabfd5061853522 |
refs/heads/master | <file_sep># ArdPy_Sonar
In this Project, I intend on building a simple Sonar System utilizing an Arduino.
Once the sonar is complete, I will build a simple display showing the sweep and objects by using Python and Tkinter.
Ver 1.0--> Using LEDs as visual indicators, the Sonar now detects objects and the controller d... | 3d4ea5add7eeaf44c7022f939e6c6e0ddcc255ef | [
"Markdown",
"Python",
"C++"
] | 5 | Markdown | i-ang/ArdPy_Sonar | 3e230a07e41aacbe1364baedf5d12ffe67bbe877 | f437da7f1412f5bbfc5496d91e8b4e28bc6cab8a |
refs/heads/master | <repo_name>RSO-Music/brunch-vue-barebones<file_sep>/app/router/index.js
import Vue from 'vue'
import Router from 'vue-router'
import Hello from '../components/Hello'
import List from '../views/List'
import NotFoundComponent from '../views/NotFoundComponent'
import Stream from "../views/Stream";
Vue.use(Router);
expor... | 1972609a8d6329021dc8c68e341de153d361bee2 | [
"JavaScript"
] | 1 | JavaScript | RSO-Music/brunch-vue-barebones | 7e749ce4f38e48e1e17e7e9058a296c3d84634ba | ef8ac84818fd1d3d56c1e2c9c6dd7e3552c4914c |
refs/heads/master | <repo_name>silpagollapudi/aes<file_sep>/test.py
def test(n):
if (n <= 1):
return n
else:
return (test(n - 1) + test(n - 2))
for i in range(10):
print test(i)<file_sep>/aes.py
# coding=utf-8
import sys
from random import randint
from copy import deepcopy, copy
sbox = [
0x63, 0x7c, 0x77, 0x7b, 0xf2, 0x... | 3f9e8e5a15e88e1dbef34cac9df120b4ad394e9b | [
"Python",
"Text"
] | 4 | Python | silpagollapudi/aes | 281c0b150d4b5d6824015f701a531ff7d9ea077b | 0a1172f26f33a6e2fa6461fe1e1a8cf58ce8589f |
refs/heads/main | <file_sep>import classes from './Footer.module.css'
import Logo from '../../components/Logo/Logo';
import ImgLogo from '../../images/logo-white.svg'
import FacebookLogo from '../../images/icon-facebook.svg'
import TwitterLogo from '../../images/icon-twitter.svg'
import PinterestLogo from '../../images/icon-pinterest.sv... | c5d4c2d5589056ddd84924aec839f38909548c54 | [
"JavaScript"
] | 9 | JavaScript | bmatlak03/url-shortening-website | 5033a803c541ddcc85f48c9a9454eae69e4734e8 | 89a953de18e8b4801d607f7d23bb4d02c07ce50c |
refs/heads/master | <file_sep>#
# Install armadillo from source
#
if (NOT armadillo_NAME)
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
include (ExternalProject)
include (ExternalSource)
include (BuildSupport)
include (PatchSupport)
include (blas)
external_source (armadillo
4.000.2
armadillo-4.000.2.tar.gz
b2891c7b59b96337c154c5d9... | 056eb78cd76ad76005a8d681206bd44376545a45 | [
"CMake",
"Shell"
] | 7 | CMake | martinsch/buildem | 33d0d21bc40a0fbe5958ae74a545ea4b572616e5 | 3473201cd7c77bedab29ba0697ddc020578b01be |
refs/heads/master | <repo_name>arunp8791/user_termination_script<file_sep>/mks_terminate_user_account.sh
#!/bin/sh
#########################################################################################################################
# Name of the script : mks_terminate_user_account
# Purpose of the script : This scr... | b2486e596ab38a89729e81b8eb39e985084465d1 | [
"Markdown",
"Shell"
] | 3 | Shell | arunp8791/user_termination_script | 72d7635837b58919a07c95e99387d5b21a937f48 | 9295cef850ae5572fad02f81fee40045888555fb |
refs/heads/master | <file_sep># mingtest
新浪新闻/凤凰新闻爬取新闻标题链接
污污狐
<file_sep>#encoding:utf-8
from bs4 import BeautifulSoup
import time,re,urllib2
import sys,csv
import datetime
reload(sys)
sys.setdefaultencoding('utf-8')
websiteurls={}
def scanpage(url,papes,papelast):
# now = datetime.datetime.now()
# date = now + datetime.time... | 3a35fff90ae4342f7787269c583eb2114496b063 | [
"Markdown",
"Python"
] | 2 | Markdown | horaceming/mingtest | 1ef34a07dbb0dbf09d03b0effe78b3fbc4d558b9 | 80069f46eecfb4d29d2c0bd45b29d4fefb569283 |
refs/heads/master | <file_sep>import React from 'react';
// import { userService } from '@/_services';
import { userActions } from '../_actions';
import { connect } from 'react-redux';
class AdminPage extends React.Component {
componentDidMount() {
this.props.dispatch(userActions.getAll());
}
handleDeleteUser(id) {... | c0c35b7948258f0e900bd55ed9fc599ec45ceb35 | [
"JavaScript",
"C#",
"Markdown"
] | 4 | JavaScript | HamonOverdrive/netcore-react-auth-redux-roles-boilerplate | 90592d7039f2d7be9a0f62516b7c12c965e05589 | 36abff228cb06307fe83339dfe40ecf54f866233 |
refs/heads/master | <file_sep>package com.shouryaaggarwal.hp.counter;
import android.graphics.Color;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
public class MainActivity extends AppCompatActivity {
Button incbutto... | d4587b13ff57817786172cef3a49a0c460484690 | [
"Java"
] | 1 | Java | ShouryaAggarwal/DevClubAssignment3 | c622c76dbbd9576f4f6596c3e5099b0e132169bf | 4decd8fb60f70378b09e60e386e88a1c92fc390f |
refs/heads/master | <file_sep># Gapminder analysis repository
# first let's download the gapminder file
download.file("https://raw.githubusercontent.com/swcarpentry/r-novice-gapminder/gh-pages/_episodes_rmd/data/gapminder_data.csv", destfile = "data/gapminder_data.csv")
gapminder <- read.csv("data/gapminder_data.csv") | ae7050d229e0204eb968a25a651e711ee7727a3d | [
"R"
] | 1 | R | AlbaBM/gapminder_project | 7d708eecd5ee38d162a833b8282590d2c5b55725 | 8c6be567949261726caaefb54faf1fdedf8cdd3b |
refs/heads/master | <repo_name>seyedrazavi/rails_admin_user_signups<file_sep>/README.md
rails_admin_user_signups
========================
Rails admin plugin for user signups - using Devise User model
<file_sep>/lib/rails_admin_user_signups.rb
require "rails_admin_user_signups/engine"
module RailsAdminUserSignups
end
require 'rails_admi... | 3c9a5738690a7d042393e506685a3ab330a438c4 | [
"Markdown",
"Ruby"
] | 2 | Markdown | seyedrazavi/rails_admin_user_signups | b69a720ba61e0d87552137db200bebeb62082bd4 | 612b173291eae2d2db8544b39d794ab9f41e9da3 |
refs/heads/master | <file_sep>using AppStore.Core.Entities;
using AppStore.Core.Interfaces;
using AppStore.Infraestructure.Data;
using System.Threading.Tasks;
namespace AppStore.Infrastructure.Repositories
{
public class UniOfWork : IUniOfWork
{
private readonly AppStoreDbContext _context;
private readonly IRepos... | a2a7d6f1761d63255b23425206f5454c15588918 | [
"C#"
] | 17 | C# | estibenlicona/StoreApi | 3c3fff6c1889fa3c655e6926bf736b44ce102714 | b21142d7fe7da5bfd831289460b82519f4fc269b |
refs/heads/master | <file_sep># 24.4.2013 <NAME>
yule2rate <- function(x, verbose = FALSE, ints = NULL, file = "out_yule2rate.txt") #3 parameters; 2 speciation rates
{
checkbasal(x)
if (!is.numeric(x)) stop("object x not of class 'numeric'")
x <- rev(sort(x))
if (is.null(ints))
stvec <- x[3:(length(x)-2)]
else
... | a7cd1d7c23da4cbe0ca5bc61f8750079a8b3e45d | [
"R"
] | 69 | R | cran/laser | d4b5245f08272bc0916ad7b5c637c44e634899b6 | 3ecc030fbb0751070706043cba28f385f998c0ad |
refs/heads/master | <file_sep># RPS-iOS-App
The game of Rock Paper Scissors playable on an iPhone
This is my first app made in swift
<file_sep>//
// ViewController.swift
// RockPaperScissors
//
// Created by <NAME> on 2018-08-22.
// Copyright © 2018 <NAME>. All rights reserved.
//
import UIKit
class ViewController: UIViewController... | 6dc8e82b85f70201feb898b3997617ad192fe1fc | [
"Markdown",
"Swift"
] | 2 | Markdown | marialovesanimals/RPS-iOS-App | d3dbb3348a21b7cd0f68ae55d879a893102ec591 | 758ccb0171de6fbba65f979fbb69a258d124cb40 |
refs/heads/master | <repo_name>chenkkkk/LightCTR<file_sep>/LightCTR/distribut/paramserver.h
//
// paramserver.h
// LightCTR
//
// Created by SongKuangshi on 2017/12/5.
// Copyright © 2017年 SongKuangshi. All rights reserved.
//
#ifndef paramserver_h
#define paramserver_h
#include "../common/network.h"
#include "../common/barrier.h"
#... | cde7c58fd84db922e3450887d9bfd979efabc0ce | [
"Markdown",
"C++",
"Shell"
] | 5 | C++ | chenkkkk/LightCTR | 626e0eb002bf1bc4cff6cbb0113894ab4e68a9b7 | 78c79441f84f396c421b7a73ac4a0d05a34bf5a1 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Mehroz;
using System.Windows;
namespace Simplex
{
public enum SimplexState
{
NoSolutionExists,
Solved,
NotFinished
}
public enum SynthBasisState
... | 50d023ff918b8d5abd598b0deffe4dca36b4826d | [
"C#"
] | 4 | C# | nikitabelotelov/Simplex | 13fed77cfe05e352ec49c862095d59bd17bc5b98 | 4193c1022e2459390357a19e0c05ce1584b84175 |
refs/heads/master | <file_sep>package com.miketigris.oom;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.event.ApplicationReadyEvent;
import org.springframework.context.ApplicationListener;
import org.springframework.stereotype.Component;
import java.util.ArrayList;
import java.util.List;
/**
* Created by mi... | 03ce327b099b35bd60f7a95755fa030e909ce882 | [
"Java",
"Maven POM"
] | 5 | Java | miketigris/java8 | 271a63c910a4fced388acf6b431984f858f4a035 | f6409b2bbea2c6908f1ce19c592137739dd87cbd |
refs/heads/master | <repo_name>jillstingray/ojsort<file_sep>/README.md
# ojsort
Orange_Juice / 100% Orange Juice Sorter
its a sorter for characters from 100% Orange Juice! and other games by Orange_Juice
it has tags, undo, and saving and sharing results
<file_sep>/src/js/data/2019-03-27.js
dataSetVersion = "2019-03-27"; // Change this w... | 248229bc305a9d774d0b46d14787b1cd1244858f | [
"Markdown",
"JavaScript"
] | 2 | Markdown | jillstingray/ojsort | 47b6a967639b141d63cb8858b7f2c306aed1471f | ca1736b5fa06a16eeb9077e281e808614350c8de |
refs/heads/master | <file_sep>package com.wechat.config;
import com.alibaba.druid.pool.DruidDataSource;
import com.github.pagehelper.PageHelper;
import org.apache.ibatis.plugin.Interceptor;
import org.apache.ibatis.session.SqlSessionFactory;
import org.mybatis.spring.SqlSessionFactoryBean;
import org.mybatis.spring.annotation.MapperScan;... | cc93e04a07dbcfac18f100b2a0fc68541b482dc9 | [
"JavaScript",
"Java",
"Maven POM"
] | 32 | Java | long3344/spring-boot | c0cb6581f61f9c8ad57c8d41247ae09caa49f2da | 0b88f6ee9574ad62b5ceb9cacb035a5c5b2bc1ec |
refs/heads/master | <file_sep># Nite2.2-Test-Application
This project holds all of the dependencies needed to utilize Openni 2.22 and Nite 2.22 in Java. It also shows how one can use Nite for skeleton tracking with the Kinect.
I got the code and dependencies from a bitbucket repository. The repo has some Nite installers that contain the ... | b92b9e1be4331420124bc612a6f4eeaaed09efdc | [
"Markdown",
"Java",
"Python",
"Gradle"
] | 5 | Markdown | jawaff/Nite2.2-Test-Application | 7c6b214742e40465edbadc62c30aee031b6df3c1 | 82ba884be650ffddc1c5c9924f1653d6de8cb0db |
refs/heads/master | <file_sep>
import UIKit
var str = "Hello, swift"
print(str)
func foo(name: String) -> String {
let hello = "hello, \(name)!"
return hello
}
<file_sep>ruby = "Hello Ruby"
puts ruby
5.times do
puts ruby
end
| 564e598d589a3e4bd956f67a73d7c59867f4ee03 | [
"Swift",
"Ruby"
] | 2 | Swift | TwisterNo/gitProDemo | 2dab9d3ac80ffde8b933eecc89a8285941e1a471 | 8b3dba01f722a2f8d8e206225279bfd8c6aa6631 |
refs/heads/develop | <repo_name>harshraj22/CSE_HUB<file_sep>/cse_hub/forum/views.py
from django.shortcuts import render, redirect
from django.http import HttpResponse, HttpResponseRedirect
from django.contrib.auth.decorators import login_required
from .forms import PostForm, CommentForm
from django.contrib import messages
from .models impo... | 46ac1755a649c23de79d9d636f72ad5ecd417b18 | [
"HTML",
"Markdown",
"Python",
"Text",
"Dockerfile"
] | 21 | Python | harshraj22/CSE_HUB | 70f8fb59706f51b0216b70e68836f37af887a978 | 52a44d49b551b44613c5314dec308e7dfb82ef73 |
refs/heads/master | <repo_name>jgardner8/NPuzzle<file_sep>/heuristics.py
"""
Heuristics estimate cost of the cheapest path from current_state to desired_state to inform search strategies.
Each of these are "admissable" - they never overestimate the cost.
Each of these are also "consistent" or "monotone" - the value of the heuristic for a ... | 65d04b6110abe4e7a5072109cbb339d3ba88c8e4 | [
"Markdown",
"Python"
] | 7 | Python | jgardner8/NPuzzle | a27fe56e51828b9704050674bbf4b23389d07555 | a6eee942b1e52764cb36bad9fadf518d382003fc |
refs/heads/master | <file_sep>import speedtest
import os
test = speedtest.Speedtest()
check_option = int(input('''what speed you want to test:
press (1) for Donwload speed
press (2) upload speed
press (3) for check piing
Enter your choice : '''))
byte = 1000000
bit = 8000... | 35602df66c11d91e80f63654a0b288af4b7ccd35 | [
"Python"
] | 1 | Python | jayednahain/python_mini_program | 575da6eb144e8f72575e9810bff2146ae220202f | 2aad24bb26969ccb2aecba9915c8bdc15a99c034 |
refs/heads/master | <repo_name>Talipbl/GameProject<file_sep>/GameProject/Adapters/MernisServiceAdapter.cs
using GameProject.Abstract;
using GameProject.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GameProject.Adapters
{
public class MernisServ... | eb63e069cf681767715f54609ae325bcd55644e1 | [
"C#"
] | 11 | C# | Talipbl/GameProject | 3defc3eec7de26ce20b96c2691a48cbc794d0e9d | b2d5db77705275c08b8edc94c29f49679910dba8 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.