branch_name stringclasses 149
values | text stringlengths 23 89.3M | directory_id stringlengths 40 40 | languages listlengths 1 19 | num_files int64 1 11.8k | repo_language stringclasses 38
values | repo_name stringlengths 6 114 | revision_id stringlengths 40 40 | snapshot_id stringlengths 40 40 |
|---|---|---|---|---|---|---|---|---|
refs/heads/main | <repo_name>wesfree163/IG.Assistantz<file_sep>/README.md
# IG.Assistantz
Allows users to upload straight from their laptop by navigating a hidden web browser. Requires compatible Python version and web driver.
<file_sep>/instagram.py
#!/usr/bin/env Python3
# from pywinauto import Application
from time import sleep
# ... | c2f954eeb5f32b25fec40c9ae76d45fbf73e631d | [
"Markdown",
"Python"
] | 2 | Markdown | wesfree163/IG.Assistantz | b76b728f07e3ccf0b2d3b4c4aa5fa48afc778e5f | 653f6fc576b2e296ef1d5c4ea54c04ee91b863a3 |
refs/heads/main | <file_sep># iimi
project
<file_sep>// var canvas = new fabric.Canvas('c');
// alert('hi')
// console.log(canvas)
// canvas.setBackgroundImage('http://lorempixel.com/400/400/fashion', canvas.renderAll.bind(canvas));
// $("#text").on("click", function(e) {
// text = new fabric.Text($("#text").val(), { left: 100, top: 100... | f2543d57ff437dd3765f84d604cc7d5d39df2004 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | JasimSG/iimi | d0f4267bc45e9d207b41a5e95fa620f677cfdf25 | e7e3b60db871376e19056f38b9bf1e3e0c3746fc |
refs/heads/master | <repo_name>lequangquochung/Angular-Material<file_sep>/src/app/customer-edit/customer-edit.component.ts
import { JobService } from './../shared/job.service';
import { Validators, FormGroup, FormBuilder } from '@angular/forms';
import { Customer } from './../Models/customer.model';
import { CustomerAccountService } from ... | 28f9d7c5f519abd98bf8ddc32a75fa5e011c6f56 | [
"TypeScript"
] | 14 | TypeScript | lequangquochung/Angular-Material | f5d6d17cb44079e80ecf468cc840e3aac9bfe1ce | 2f0c52798b40e25f4de7b7e43908911d62eda592 |
refs/heads/main | <repo_name>sarandeepmannam/ASSIGNMENT4<file_sep>/Assignment4.py
import matplotlib.pyplot as plt
import numpy as np
import math
def F(x):
return math.sqrt(1/math.sqrt(2*math.pi))*math.exp(-pow(x-1,2)/2)
X=np.linspace(-3,5,100000)
Y=[F(x) for x in X]
plt.plot(X,Y)
plt.xlabel('$x$')
plt.ylabel('$f_X(x)$')
plt.title('P... | e9ae8d78bde68c18fe62e813910bc4de5aeab7aa | [
"Python"
] | 1 | Python | sarandeepmannam/ASSIGNMENT4 | 242970d3a9e81809d9615ac082de617bddb2b374 | f37fa050782dac2b68c32ba080d2b5b939bd659c |
refs/heads/master | <file_sep>pub mod batch;
pub mod helper;
pub mod prover;
pub mod rndoracle;
pub mod zkproof;
<file_sep>/***********************************************************************
This source file implements dense representation of sparse matrix.
***********************************************************************/
p... | 681339be324d348863b7f840f2eb653a3e5c0e5d | [
"TOML",
"Rust",
"Markdown"
] | 35 | Rust | input-output-hk/sonic | c3fc1da9c8eece10a4db1814b985eed8b7735210 | b93643550e3344c1fcf0992f3384fdd7eda1c2ae |
refs/heads/master | <repo_name>ofnlut/PyDrive<file_sep>/robot.py
#!/usr/bin/env python3
'''
This sample program shows how to control a motor using a joystick. In the
operator control part of the program, the joystick is read and the value
is written to the motor.
Joystick analog values range from -1 to 1 and speed controll... | b92362f77d6d7294ae6b2b89444cb424e278924f | [
"Markdown",
"Python"
] | 2 | Python | ofnlut/PyDrive | 4309c95192e8d2552e63880fde8e4aaca8bfe1a7 | 9a608f423d90147af2e23f0d384dba89362e5d9f |
refs/heads/master | <file_sep>import React from 'react'
const Messages = () => (
<div className="section">
<div className="container">
<h1>Messages</h1>
</div>
</div>
)
export default Messages<file_sep>import React, { Component } from 'react';
import Base from './app/Base'
import Coffee from './app/coffee/Layout'
import Cookie... | cf109044ec2b346d71b3004499d0a6457c804ab6 | [
"JavaScript"
] | 9 | JavaScript | egoroza/sweetsmart | fdcfc5b65d85413b5ff99e5aff493d971bcd491d | a5e807dfb69e8abc8209c028ace875374e6db513 |
refs/heads/master | <file_sep>package Ejercicio1;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.util.ArrayList;
import javax.swing.JFileChooser;
import javax.swing.JOptionPane;
class No... | 1b9da86716f54161222f23e53a623a10335f3eff | [
"Java"
] | 8 | Java | xxPEKESxx/proyecto1algoritmos | 13047f682af0745c560be146bb86e5d08c6e649c | 8c0a0302f069c19629a0f5d8f155d6712c17d227 |
refs/heads/master | <file_sep># DRUMS - Place in its own buffer - RUN FIRST
use_bpm 175
sync :drums
define :drum do |repeat, samp, rests, end_sleep|
repeat.times do
rests.each do |r|
sample samp
sleep r
end
end
sleep end_sleep
end
# KICK
in_thread do
sleep 64
with_fx :ixi_techno, amp: 0.75, mix: 1, phase: 1... | 954a969656e99ae9c2e487b899717af48d86866f | [
"Markdown",
"Ruby"
] | 3 | Ruby | aviflombaum/such-great-heights | de6939cbdd29e94fa223fd05f41f500f9aee4bd3 | e4c97ed79a9bf9c25665f1c18401d5c827a43b55 |
refs/heads/master | <file_sep>def main():
data_range = [387638, 919123]
candidates = range(data_range[0], data_range[1]+1)
candidates1 = map(str, candidates)
print(len(candidates))
candidates2 = filter(lambda x: all(map(lambda y, z: z>=y, x[:-1], x[1:])), candidates1)
print(len(candidates2))
candidates3 = ... | eb2b34a551bf70844d7425456a6c9bc48caeb2e4 | [
"Python"
] | 2 | Python | rudehn/adventofcode | 5c841377ecf070e12c7eb3a8f4ba896b2febea17 | 47bc81a4c19ebcd3bd888e682754899888f9e0d7 |
refs/heads/master | <repo_name>AkiChen/Shallow-visual-features<file_sep>/ShallowFeature/ExampleSiftBowTraining.py
from visualFeatures import dataHandle
from visualFeatures import featureOpencvSiftBoW as sift_bow
import os
import getopt
import sys
opts, args = getopt.getopt( sys.argv[1:] , "hi:o:", ["dic_name=", "file_dic="] )
dic_name =... | 77a75c13a640141cdaf13ad6c513440683ce4c34 | [
"Markdown",
"Python",
"Shell"
] | 17 | Python | AkiChen/Shallow-visual-features | 41a64ccd48b881c4ee08d145f2184931b65017b9 | 49a5a674e91a34f0215cabf2850a81abbd62e80c |
refs/heads/master | <repo_name>pregardtzs/DevelopingDataProducts<file_sep>/server.R
library(shiny)
shinyServer(
function(input, output) {
output$oid1 <- renderPrint({input$number1})
output$oid2 <- renderPrint({input$number2})
output$oid3 <- renderPrint({input$number3})
output$oid4 <- renderPrint({input$number4})
out... | 4f595139fb8e05917b581a6960e80eb7a7689ec0 | [
"R"
] | 2 | R | pregardtzs/DevelopingDataProducts | 332873ddf498f0a977afb6a3619aab4321b02d89 | 135c03154507cf770e4d3a038bfa3724d80bdc74 |
refs/heads/master | <file_sep>package Backend;
import java.util.Scanner;
import java.util.ArrayList;
/**
* Class models the text based interface a user is shown
*/
public class Menu {
// create an instance of the ATM class for use in facilitating
private final ATM machine = new ATM();
/**
* Launches application. Can... | 1bea43373034fdbe97a6a05cd3959648fb86b798 | [
"Java"
] | 1 | Java | Mark-Arias/CECS343_FinalEngineeringProject | ad4cd02798c00c05dbc29401ecee3eb53a23f201 | a802573ecd0b6b378df3403494888f32346af30b |
refs/heads/master | <repo_name>ViriatoOundil/RustInterceptor<file_sep>/RustInterceptor/Forms/Utils/DrawingUtils.cs
using Rust_Interceptor.Data;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using static Rust_Interceptor... | d3d0c94a848363255612dc993cb4abf1cedc3f0c | [
"Markdown",
"C#"
] | 14 | C# | ViriatoOundil/RustInterceptor | 7e10b82b89a026f45a7e99ddd6d8af9c4f9abc96 | 24b2c83de181728e76b03f81cded601b3cde4872 |
refs/heads/master | <repo_name>Gharaibeh/Rheumatology<file_sep>/Assets/Scripts/TimerEnabler.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TimerEnabler : MonoBehaviour
{
public float timer;
public GameObject[] disableBtn;
public GameObject[] enableBtn;
void Star... | 78c5894d7ded61914743e8edff51a028d1239ecd | [
"Markdown",
"C#"
] | 6 | C# | Gharaibeh/Rheumatology | ff43cf6e48a1109a455a1a2fbfa4e49b25909074 | 80da98d9d7a38855a3f69d7ad9897ea9eab1543e |
refs/heads/master | <repo_name>Python3-project/Show-Me-Code<file_sep>/每日一练/Exercises001.py
#!/usr/bin/python3
#-*- coding:utf-8 -*-
# Author YANGYUANJIU
"""
第0001练习题
将你的 QQ 头像(或者微博头像)右上角加上红色的数字,类似于微信未读信息数量那种提示效果
"""
#首先,导入必要的库
from PIL import Image,ImageDraw,ImageFont
import random
import time
def put_num_upright(pic,num):
im = Im... | 92579e61035233b56196fa08949c006eb4458894 | [
"Markdown",
"Python"
] | 5 | Python | Python3-project/Show-Me-Code | bdad293cd5e26e20f1a825b96b8b98f2551193d9 | 3a800d27cc3a742e459ba3984f78327f72fb91a1 |
refs/heads/master | <repo_name>spaghetticode/mover<file_sep>/helpers.rb
class String
def blank?
gsub(/\s+/, '').empty?
end
end
class NilClass
def blank?
true
end
end
module FileAdapter
SPLITTER = "\n"
class << self
def convert(files)
files.split(SPLITTER).map {|filename| filename.strip}.compact.uniq
e... | e9b44e686a522f73d8c545e728cd5760085b4d6b | [
"Ruby"
] | 17 | Ruby | spaghetticode/mover | f17c1b845143d2f0b880911dd104d90a94c0c4de | 0061a55dbfa2973abc951b612c4032b9e4e55631 |
refs/heads/master | <file_sep>//
// ViewController.swift
// SpeechRecognition
//
// Created by <NAME> on 14/06/16.
// Copyright © 2016 <NAME>. All rights reserved.
//
import UIKit
import Speech
enum SpeechRecognitionState {
case requiresAuthorization
case ready
case recording
}
class ViewController: UIViewController {
priva... | 935abb94b6fb18b2bba2f38846f64d112121e581 | [
"Swift"
] | 2 | Swift | mohd14shoeb/SpeechRecognition | 1b9289aa51ed8958276e967062d95f5cca2733b5 | 194c1a3c1f720b02e069512ab294033e2ced166d |
refs/heads/master | <repo_name>tservi/clubluttecottens2014<file_sep>/clubluttefete2014jeunes.php
<html>
<head>
<title>Fêtes de luttes 2014 - Jeunes </title>
<meta charset="utf-8" />
</head>
<body>
<?php
$lutteurs =array(
array( "Responsable", " de la Fête", "jeune" ),
array( "Responsable", "du Club", "jeune... | a7f9752bc26d06c0a4af9ee54c5df3fe513ee4ea | [
"PHP"
] | 2 | PHP | tservi/clubluttecottens2014 | e8954044ad087ab3d7debfaba76125e93c0b214f | 6b122d04aea503bd25e0795fbf8f4ba698c62575 |
refs/heads/main | <repo_name>NYCPlanning/td-tdm<file_sep>/safegraph.py
import s3fs
import pandas as pd
import numpy as np
import sqlalchemy as sal
import geopandas as gpd
import shapely
import json
pd.set_option('display.max_columns', None)
df=pd.read_csv('C:/Users/mayij/Desktop/DOC/DCP2020/COVID19/SAFEGRAPH/20190809.csv',dtype=st... | 233525424fda83cab2c2be7a3a32ea1f162ef23e | [
"Python"
] | 11 | Python | NYCPlanning/td-tdm | 64b34059c5a3629e301b05d2fea169978fbf44e8 | 844da0300cb77cdc8bc8211eca2929b6ec71363f |
refs/heads/master | <file_sep>package com.gdpi.groups.pojo;
import java.util.Date;
public class Product {
private Integer productId;
//商品名称
private String productName;
//市场价格
private Double marketPrice;
//商品价格
private Double productPrice;
//商品图片
private String productImg;
//商品详情
private String... | 21f67815dbeebd45fddfdc9f1263817715b06d1a | [
"Java"
] | 4 | Java | cralyhuo/groups | 86941d73ef2ecc864110734373cf5c6883d69e7e | 1f8b345a808e75f4ec7ea37fe3e77bd9150a94bb |
refs/heads/main | <repo_name>ctrepka/pomodoro_bash<file_sep>/pomodoro.sh
#!/bin/sh
beep() {
_alarm 800 400 && sleep .20
}
_alarm() {
( \speaker-test --frequency $1 --test sine )&
pid=$!
\sleep 0.${2}s
\kill -9 $pid
}
beep_3x() {
beep && beep && beep
}
work_25m() {
beep_3x
notify-send "get to work, peasant!"
sleep 1500
}... | f46eb84d15b28b139d1d386db6976adf0aba3ff0 | [
"Shell"
] | 1 | Shell | ctrepka/pomodoro_bash | e2b8a27c6cd7256eda83200f5f5cf0592bd7d417 | afc1bdc593e781b47b083a5e2ccb2da89efb77ba |
refs/heads/master | <repo_name>longyf/exer-13<file_sep>/main.cpp
#include <iostream>
#include "findPath.h"
#include "findPath_2.h"
using namespace std;
void test1() {
int rows=6;
int cols=6;
int k=5;
cout<<findPath(rows,cols,k)<<" "<<func(rows,cols,k)<<endl;
cout<<endl;
}
void test2() {
int rows=1;
int cols=6;
... | db84bb5ca59a3e3401a3c7c261542f68c46e2d4a | [
"Markdown",
"C++"
] | 6 | C++ | longyf/exer-13 | afa66caae153900e8f3ee5cf8143cce4fce91227 | 694885709e4526cab43c90380e9b0e72e89375d6 |
refs/heads/master | <file_sep>#pragma once
#include <QtGlobal>
#include "ivirus.h"
/**
* @brief StandartVirus class
* Infects randomly
*/
class StandartVirus : public IVirus
{
public:
StandartVirus();
~StandartVirus();
int getContagiousness();
};
<file_sep>#pragma once
#include "controller.h"
class Network;
class Tan... | 983adc8a9157de8310b9a1354f13aada524a2c3c | [
"C++"
] | 49 | C++ | GArGuTZ/Homework | 8b1a9195e6be0beef7ae256fc9c476559fc028a1 | 3c8f0c21b389738660cd76862da33036534df935 |
refs/heads/master | <repo_name>Grandez/YATA<file_sep>/YATAManualTech/0601-database.Rmd
# Base de datos
## Creacion
ctc_db.sql Crea la Base de datos
ctc_users.sql Crea el usuario
CTC_TABLES CARGA LAS TABLAS NORMALES
cc_tables_session las de datos de session para evitar que se borren
<file_sep>/YATAWeb/ui/modMainServer.R
vars <- ... | 14627b56408f0a349e624ff6b50f6e90b0eb39ce | [
"SQL",
"Markdown",
"JavaScript",
"Java",
"R",
"RMarkdown"
] | 177 | RMarkdown | Grandez/YATA | a944ce553c2386a1b68e2b10acd71d8154d84aeb | 290b52c1428bb967a57d362cb7256fa090dd6926 |
refs/heads/master | <repo_name>czaplej/css-vars-2-ts<file_sep>/README.md
# css-vars-2-ts
[](https://github.com/czaplej/css-vars-2-ts/blob/master/LICENSE.md)
[](https://www.npmjs.com/package/css-vars-2-t... | fc334e4eb02e1107ffc70421578f5b2ebe6d6e8e | [
"Markdown",
"TypeScript",
"JavaScript"
] | 7 | Markdown | czaplej/css-vars-2-ts | 3e68dabe44cc4908794e07d566c383e2206608b3 | 486e42ad41f606ac2eb6a76fdf5e39ad0d0c9390 |
refs/heads/master | <file_sep>'use strict';
const config = require('./config');
var express = require('express');
var smoochController = require('./controllers/smooch');
var app = express();
app.use('/api/', require('./api'));
smoochController.setUpWebhook(app).then(() => {
app.listen(config.get('PORT') || 3000);
});
<file_sep>'u... | 81bc42bbe4bde4ffa0d07f74b351f7c08835a90f | [
"JavaScript",
"Markdown"
] | 7 | JavaScript | lemieux/pizzabot | 32c1f2d6e33633c23e16bd7da9dfb36a4f6a3720 | e1c72d321bf77a48dae0e9d4e933d16e83168636 |
refs/heads/master | <repo_name>julio1927/ICMKV2<file_sep>/src/App.js
import React from "react";
import "./App.css";
import Layout from "./hoc/layout/Layout";
import ReactAux from "./hoc/ReactAux/ReactAux";
function App() {
return (
<ReactAux>
<Layout>
<div className="App">
<h1>ICMK Website V2</h1>
</div>
... | 879fac50a473ab3b0ef00d64844ad1b8fe975a7f | [
"JavaScript"
] | 1 | JavaScript | julio1927/ICMKV2 | 03889da277571039ad4ca6f5cde788768604094c | beb6b0e3e7c7cbb8250e2dbb5dce58b3e344b711 |
refs/heads/master | <repo_name>yonigev/PPLAss3.2<file_sep>/hw3-part3-tests.ts
import * as assert from "assert";
import {evalParse4} from './L4-eval-box';
assert.deepEqual(evalParse4(`
(L4 (define loop (lambda (x) (loop x)))
((lambda ((f lazy)) 1) (loop 0)))`),
1);
assert.deepEqual(evalParse4(`
(L4 (if ((lambda ((x lazy)) (= x... | a24836af7cf06081f2d087feaabd30c56cb15941 | [
"TypeScript"
] | 1 | TypeScript | yonigev/PPLAss3.2 | c7c4d45f8ec466e25ef1309e643fc287239cb510 | c2202e5017e95331a2568984a52f95d54369b37a |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _1.Count_Chars_in_a_String
{
class Program
{
static void Main(string[] args)
{
//string arr = Console.ReadLine();
//char[] nums = arr.... | 2caba72bd6c213baf0f3e1c31fd965a80ce1d486 | [
"C#"
] | 2 | C# | don-kokone/AssociativeArrays | 6a2d3d417cb00588397809f1b5d106a63582c7f9 | 1baf231e69ec13a6bbfad5a276f6466a158e1849 |
refs/heads/master | <file_sep>FROM nkahoang/docker-v8js-php:php7.3-fpm-v8js7.9
COPY www.conf /usr/local/etc/php-fpm.d/www.conf
WORKDIR /app
#Install Matrix prereqs https://matrix.squiz.net/resources/requirements
RUN apt update
RUN apt install -y libxslt1-dev libpq-dev libpng-dev libpspell-dev libldap2-dev sudo ssh uuid-dev
RUN docker... | b049789de2fad76c8bc44860d080c2da0e120e48 | [
"YAML",
"Markdown",
"PHP",
"Dockerfile",
"Shell"
] | 13 | Dockerfile | cjc/composed-matrix-6 | 879ce78728c7553f542d5a40031a0ffee8a11d30 | 93b376f35998d4d52d451b740382a9fead29bf6f |
refs/heads/master | <repo_name>aRusenov/Team--Harper-Lee-<file_sep>/Game/Game/MovingUnit.cs
using System;
namespace Game
{
public class MovingUnit: GameUnit
{
public Point Speed { get; protected set; } // Moving coordinates
public MovingUnit(Point topLeft, char[,] body, Point speed, ConsoleColor color=ConsoleCol... | 46bca47ae92d9cd5fa35ba8ce3e86992d9366669 | [
"C#"
] | 12 | C# | aRusenov/Team--Harper-Lee- | 2cec92721583dc85ffdbcd250e4ce249f35b7625 | 50a51ec2d5f540e9e07b2e9d148b79b16bd196ef |
refs/heads/master | <file_sep>import { Component, ChangeDetectorRef, ViewChild } from '@angular/core';
import { NavController, NavParams, Content } from 'ionic-angular';
import { Api } from '../../providers/api/api';
import { Common } from '../../providers/common/common';
@Component({
selector: 'page-contact-us',
templateUrl: 'contac... | 5637cb338460b95753fbf30d2f702224f5479f77 | [
"Markdown",
"TypeScript",
"HTML"
] | 48 | TypeScript | davchezt/a-client | a711f95bba10d5ddd70ab7b5b92c9aff4afdb4c4 | 2379ebb421c51151a05b58a64af1852835765a0c |
refs/heads/master | <file_sep><?php
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author Administrator
*/
interface IReleasable {
public function release();
}
function release(IReleasable $obj) {
$obj->release();
unset($obj);
}
<file_sep><?php
/*
* To chan... | d7d6f6678348146b1ab6af30870296947ff6d4ac | [
"Markdown",
"PHP"
] | 29 | PHP | davidmenger/SimpleOrm | 663b95179237b61a1fdce1fec647a17ee6c1091e | 93f0dcfb4d0d2f224b06693983fe1c7f3d9bd554 |
refs/heads/master | <repo_name>pkuxmq/Automatic-Differentiation<file_sep>/Makefile
all:
g++ -O2 ADGraph.cpp Operator.cpp test.cpp -o test
<file_sep>/Operator.h
#ifndef __OPERATOR__
#define __OPERATOR__
#include "ADGraph.h"
class Op_Add : public ADOperator {
public:
vector<ADNode *> computeDiff(vector<ADNode *> *, vector<ADNode *> *);
... | 4789b458d2fa8c25cabf6ea1f0aea7def8596f09 | [
"Markdown",
"Makefile",
"C++"
] | 7 | Makefile | pkuxmq/Automatic-Differentiation | b39963d7cea4facad3c2a2b14e934cd780e19569 | 890bcadc4c2750b4fa7be924b2fe4d71d3b83f69 |
refs/heads/master | <repo_name>rchisebu/paease-spring-api<file_sep>/src/main/java/com/starlabs/PaEase/repository/TransactionsRepository.java
package com.starlabs.PaEase.repository;
import com.starlabs.PaEase.model.Statement;
import com.starlabs.PaEase.model.Transactions;
import java.util.List;
import org.springframework.data.jpa.reposito... | 931e10f8fd173cb7a848140d1f1e988cfefb27f6 | [
"Java"
] | 8 | Java | rchisebu/paease-spring-api | fd26ade93f66152b487ab9c3e24d0b1bce125957 | b41d212b8d709437ae236c43ecc481faed6318cd |
refs/heads/main | <file_sep># Programa de Cadastro de Produtos
Destinado à disciplina de Programação com Banco de Dados.
<file_sep>import data
import sqlite3
from PyQt5 import uic, QtWidgets
#função de cadastro
def menuCad():
#controle de tela
tela.close()
tela_cad.show()
def cadastrar():
#conexao com o banc... | bb903f649c3543ae62b366ad0182d51a4f1e67f8 | [
"Markdown",
"Python"
] | 3 | Markdown | italomsiqueira/pythoncomdb | 4ef751fe6ff0abf1288e611bdf59a581c6e3c392 | 20a09a06cba8f2eb66021791e4da2710d48c9e89 |
refs/heads/master | <file_sep>package Basic;
import java.util.Random;
public class Neuron {
private int layer;
private int position;
private double[] x;
private double[] w;
private double u;
private double y;
private byte func; // 1-sigmoidal
private int in;
private double beta;
public Neuron(int layer,int pos,int in,byte fu... | 3ec9eefc675621f896383394274228d1ca718b8e | [
"Java"
] | 1 | Java | lestath/Brain | 76e3d0618604c7f9e089ae12309491c1d723f240 | b870bc74de81ae5537b14cfd88d65ff1fa4d329e |
refs/heads/main | <file_sep>//
// ViewController.swift
// SlideshowApp
//
// Created by koux2 on 2021/03/21.
//
import UIKit
class ViewController: UIViewController {
var timer: Timer!
var imageNumber: Int!
var imageList: [UIImage?]!
@IBOutlet weak var image: UIButton!
@IBOutlet weak var pauseButton: UI... | f523ea4ccbda73273ddf9621fc70ccffc83d50bc | [
"Swift"
] | 1 | Swift | koux2/TechacademyLesson5App | 185fe5e49684028d1a9afe1ddeeb181e6bb9d8ae | 1ff33c7204cbd660e0881096a9e1fb2a0eb11b0a |
refs/heads/master | <repo_name>cbeserra/fsw-105<file_sep>/Week1/grocery-storeJS/index.js
var shopper = {
name: "Chris",
wallet: 50,
hasMoney: true,
buy: function() {
return this.name + "is buying something",
},
groceryCart: ["milk","eggs","bacon", "tortillas"],
console.log(shopper.buy())<file_sep>/Week... | f7702d910d73cdf0ca04a285272b4bf41e368519 | [
"JavaScript"
] | 4 | JavaScript | cbeserra/fsw-105 | a97576ecbee080ba0258c2ae4e84917f06e5d7dc | ab321bb1a73801101bd97ed47c88a8796f3c73c8 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class checkout : System.Web.UI.Page
{
//Uses smoothiename to get the smoothie image, and displays the quantity in the 2nd table data.
private Stri... | 07e218bdbceec50c7082cc37ff4f6d0ede750d5c | [
"C#"
] | 3 | C# | overwatcheddude/cia4103_week4_state_management_revision | 4deb6bd58eb36f6a34d27a7753f33e964af66f3c | 67e3b13b958ebb810e10354ccdea4a47d42e2dec |
refs/heads/master | <repo_name>shmchen/myJdbc-Demo<file_sep>/day06/src/com/shmchen/dao/impl/IStudentDaoImpl.java
package com.shmchen.dao.impl;
import java.util.List;
import com.shmchen.dao.IResultSetHandle;
import com.shmchen.dao.IStudentDao;
import com.shmchen.domain.Student;
import com.shmchen.jdbc.TemplateUtil;
public class... | 98997dccdfdb1719640f9d1cc598b348b591a6a1 | [
"Markdown",
"Java"
] | 3 | Java | shmchen/myJdbc-Demo | 46b5fa8571624dec8f45a7ff74cc531086b3285f | 49288b498ddac781a1e1116220d8b56727aa018b |
refs/heads/master | <repo_name>mspoonam/themoviedb<file_sep>/themoviedb/connection/MovieItemEntity.swift
//
// MovieItemEntity.swift
//
// Created by <NAME> on 28/03/18.
// Copyright © 2018 <NAME>. All rights reserved.
//
import UIKit
import SwiftyJSON
public class MovieItemEntity: NSObject, JSONInitializable {
// MARK: - P... | 365b088fd3a4a384a2aef245dfb919c71c6ac5b8 | [
"Swift",
"Markdown"
] | 17 | Swift | mspoonam/themoviedb | dd145d499757de2b47ddffc8b834216d86c04c63 | a0119984e35596c577890ee0450c6e062baf78ed |
refs/heads/master | <repo_name>PrajeeshBalasubramani/Mail-Automation<file_sep>/Structureemail.py
from __future__ import print_function
import smtplib
from tkinter import *
import numpy as np
from tkinter import ttk
import tkinter
import tkinter as tk
import pandas as pd
import time
import datetime
import urllib
import urllib.request as ... | e0c5a06083fb23b2fecdfea0ceced71b0289b1f0 | [
"Python"
] | 1 | Python | PrajeeshBalasubramani/Mail-Automation | 9c1ff7e34cf81a6b0e7ba11e8a51efbea4909dda | 76bbce6b856f88ac45c7a1cd6752c87cc00e0ed1 |
refs/heads/main | <file_sep>using System;
using System.Collections.Generic;
using System.Text;
namespace Tetris
{
class Shape
{
public int shapeType;
public int rootPosition = Game.width + (Game.width/2);
public int rotation = 0;
public int colorInt;
public static List<ConsoleColor> col... | ca26dce444549db1528ef24b6d8552a8a65bc2ad | [
"Markdown",
"C#"
] | 5 | C# | JoakimSjogren/Tetris | bcc4d8b3afa3d8b60398069f9a35a749caeb67c1 | 8451f3abf7bea316eb954c3285803878d729c967 |
refs/heads/master | <file_sep><p align="center">
<a href="" rel="noopener">
</p>
<h3 align="center">PPL Python Process Launch</h3>
<div align="center">
</div>
## 🧐 About <a name = "about"></a>
**it's a simple utility to do things the way I like to do them ... BAD and rapid**
**Have you ever had to kill a subprocess or a process launc... | 7ae9e4a64c678152fde2f1d4da5115acea1ed627 | [
"Markdown",
"Python"
] | 5 | Markdown | Pinperepette/ppl | 10785a55cf9fc695672e91ae8512694e89040c06 | 6ba47b98ab099a37cce8fc5368bfff6918555478 |
refs/heads/master | <repo_name>Bhanoosingh/PythonExample<file_sep>/decoraterExp.py
def helper(func):
def check(a,b):
if b==0:
return 'Infinite'
else:
return func(a,b)
return check
@helper
def div(a,b):
return a/b
#div=helper(div)
print('Division=>',div(5,0)... | 9f99df9f228553575986acf59844186cdc749641 | [
"Markdown",
"Python"
] | 5 | Python | Bhanoosingh/PythonExample | 0aceb56b0847470173e2a833f61b5f2ff528a508 | 44033244c860702d887155b5027d91dc6ce28a26 |
refs/heads/master | <file_sep>module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
karma: {
unit: {
configFile: 'public/tests/karma.conf.js',
background: true,
browsers: ['PhantomJS'],
... | 2d18823b83e53d5942e6ec9c0a3beeff5532be8b | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | Razum/CoffeeEx | 8cdc0de0e3b00c67a03eaced4d3ec9a2c0371d8d | 97582a1e06775334b56028190c69e8c4582946e4 |
refs/heads/main | <repo_name>mikehaben69/boost<file_sep>/asio/demo_rep_timer/Makefile
# THESE PATHS WILL NEED TO BE EDITED TO MATCH THE INSTALL PATHS ON YOUR PC...
# Path to Boost libraries:
BOOST_PATH := /home/mike/boost/boost_1_77_0
CXX = g++
CPPFLAGS = -I.. -I$(BOOST_PATH) # put pre-processor settings (-I, -D, etc) here
CXXFLAG... | e30c4b39459ed63520475d6d5800b893ff863612 | [
"Markdown",
"Makefile",
"C++"
] | 3 | Makefile | mikehaben69/boost | db432815ddd411dab80aefc590498bba675b64fa | f894052bb9b86f4025e57f8d49586ebea72e0804 |
refs/heads/main | <repo_name>Evgeni67/M3-D2<file_sep>/M3-D2/backEnd.js
var unirest = require("unirest"); var req = unirest("GET",
"https://rapidapi.p.rapidapi.com/playlist/%7Bid%7D");
req.headers({
"x-rapidapi-key": "<KEY>",
"x-rapidapi-host": "deezerdevs-deezer.p.rapidapi.com", "useQueryString":
true }
);
req.end(function (res... | 46633d7e1cb6470559a3a565af4f1399995ffa75 | [
"JavaScript"
] | 1 | JavaScript | Evgeni67/M3-D2 | ffb5c80e3dd91735a17b779b7747e79882fea77d | f802114b5947017d9e8671d841e04c3e57ec04e3 |
refs/heads/master | <repo_name>AmineBoudaoud/MinesweeperForJava<file_sep>/Minesweeper/Minesweeper.java
/**TO DO
* 0. Don't Let player lose on first click
* 1. Add Reset Button
* 2. Game Lost, Game Won sign
* 3. Real Flag and Bomb symbols
* 4. Time Calculator
* 5. High score table
* 6. Number of bomb setting option - custom mode
* ... | c52a699606787b22d941a07dd192706ba1e80122 | [
"Markdown",
"Java"
] | 2 | Java | AmineBoudaoud/MinesweeperForJava | 54cebbe9ec1366433dfe938ba00c79918efc3fb7 | f30fc986468ad697bae99b684498ab403d29219d |
refs/heads/master | <file_sep># Blacklight Ansible Container
*NOTE:* This is used to provision a CENTOS 7 container for use with Blacklight application development
## Instuctions
(Substitute BLACKLIGHT_APP with the name of the Blacklight app you wish to use. The app username is the name of your Blacklight app.)
If you are working from... | 0dbeefffde26441b207c055122b0684213fed985 | [
"Markdown",
"Shell"
] | 2 | Markdown | skng5/provision | c751561c0643e374f89fc76787c77b4f6c7db426 | 5d067702a31ec5418b42bdaa2fea2ed8e8ea3b4c |
refs/heads/master | <repo_name>Beteasy/wechat-miniprogram<file_sep>/app_server/hello.py
from flask import Flask, request
import control
import json
app = Flask(__name__)
@app.route('/predict/', methods=['GET', 'POST'])
def predict():
return 'Hello World!'
@app.route('/xunlian/', methods=['GET', 'POST'])
def xunlian():
return '... | 80b0c678ae9201009b63514379a92b317f9461c4 | [
"JavaScript",
"Python"
] | 8 | Python | Beteasy/wechat-miniprogram | c8e86fb341baa40a70c93648d47ba1267522f3b4 | cf6a58377db810c6e8bab9d9b89a5c00ecb8d23f |
refs/heads/master | <file_sep>// INSERISCO LA VARIABILE PER IL NOME
var nome = prompt('Scrivi il tuo nome');
// INSERISCO LA VARIABILE PER IL COGNOME
var cognome = prompt('Scrivi il tuo cognome');
// INSERISCO LA VARIABILE PER IL COLORE
var colore = prompt('Scrivi il tuo colore preferito');
//PASSWORD GENERATOR
var password = <PASSWOR... | 115b48aa571f08455036caac768299e0c303b313 | [
"JavaScript"
] | 1 | JavaScript | FedericaC03/js-pwdgen-wannabe | 33986e59e0f97a899f1c8f7d06337c17a71dee15 | 0370203296e2321e4d30a3ac2aac031dc05ea70c |
refs/heads/main | <file_sep>
const Engine = Matter.Engine;
const World = Matter.World;
const Bodies = Matter.Bodies;
const Body = Matter.Body;
const Render = Matter.Render;
const Constraint=Matter.Constraint;
var treeObject,groundObject, launcherObject;
var mango1,mango2,mango3,mango4,mango5,mango6,mango7,mango8,mango9,mango10;
... | bf4d4d7d6ce655acc2d9768ec93ece81f4761cb1 | [
"JavaScript"
] | 2 | JavaScript | rag-02/project-28 | 484f94eb02e0c3764fac8b67f055e55ef01084a8 | 4a376c4a69adfe4e6bf80d06e652002afc39160e |
refs/heads/master | <file_sep><?php
namespace App\Http\Controllers;
use App\Models\Slider;
use Illuminate\Database\Events\SchemaLoaded;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Storage;
use Image;
class HomeController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illumi... | 20d6f509aad965c98d31d3736959761483dc9377 | [
"PHP"
] | 6 | PHP | HuyNguyen206/laravel8-training | eeb439c32533bdb4a6a92bc09e4f5d071ee5ba5d | 1f46e94b63036c8337d388c0b803484fd172af00 |
refs/heads/master | <file_sep>/**
* Created by donghoon on 2016. 7. 5..
*/
import {Component} from '@angular/core';
import {NavController} from 'ionic-angular';
@Component({
selector: 'profile',
templateUrl: 'build/pages/my-page/profile/profile.html'
})
export class ProfilePage {
constructor(private navController:NavContro... | 06efe13b58c494687b85dac43c708362cb6c3b44 | [
"Markdown",
"TypeScript"
] | 16 | TypeScript | devarchi33/watchbaby | 9de81ab72df43aa81fd37e8684de86e585416636 | 9860e0d2145238fb5425d0fec1a0529be231dfef |
refs/heads/master | <file_sep># Application to pull streaming data from twitter and determine the sentiment of them.
from tweepy import Stream
from tweepy import OAuthHandler
from tweepy.streaming import StreamListener
import json
import sys
import webbrowser
import codecs
import csv
from string import punctuation
import matplot... | 5b5b6a1b4758539bda29784ac407aa3205894962 | [
"Markdown",
"Python"
] | 2 | Python | SevaMahapatra/Twitter_Sentiment_Analysis | 4249d80c04ed0f99ad4c62a4333d092433b97dd8 | 23c4cb5b22de7ec36fc388ecbf089091a4eb84ac |
refs/heads/master | <repo_name>icprog/CTRL_IKUN<file_sep>/优课堂/优课堂/Form1.cs
using System;
using System.Collections.Generic;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
using CCWin;
namespace 优课堂
{
pu... | 6464bc42cbe1e990ca90ed825840f06d16e89275 | [
"C#"
] | 21 | C# | icprog/CTRL_IKUN | 8c0ed256519c8d65c6e2c451a33712ab5143f61f | ed3608171fcf9ec90f514f317fd585d464983b58 |
refs/heads/master | <file_sep>from argparse import ArgumentParser
from uuid import uuid4
from flask import Flask, jsonify, request
from myBlockChain import BlockChain
app = Flask(__name__)
blockchain = BlockChain()
node_identifier = str(uuid4()).replace('-', '')
@app.route('/index', methods=['GET'])
def index():
return "Hello Blo... | e3cc2cbd7893622be06c6d73a19c70421aeb823f | [
"Python"
] | 1 | Python | travis-joe/immoc-blockchain | fb724e6b029cdbf19c666b524e5226ed020fa145 | 82cdaa93a78150ae6f86939acc0997955c66bea6 |
refs/heads/master | <repo_name>JonasXPX/Projeto-AJKN<file_sep>/README.md
"# Projeto-AJKN"
<file_sep>/leitor_firebase.ino
#include <Adafruit_Fingerprint.h>
#include <ESP8266HTTPClient.h>
#include <ESP8266WiFi.h>
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
SoftwareSerial serial(14, 12); //D5 D6
Adafruit_Fingerprint fing... | 5d128a65f5f91febf9c74db7e6678c130024c3d8 | [
"Markdown",
"C++"
] | 2 | Markdown | JonasXPX/Projeto-AJKN | a3e3a9a3bdfdff595f8c80a9b4c24e08f835312a | 92f734d8f86c4023b9aa6939c631e72126197052 |
refs/heads/master | <file_sep>
import java.io.FileInputStream;
import java.sql.*;
import java.util.ArrayList;
import java.util.List;
import java.util.Properties;
public class Repository {
private Member member;
private Staff staff;
private Properties p = new Properties();
public Repository() {
try ... | 2ca0f63663f4b3e7aafd0ee0aa5be29ef6c40311 | [
"Java"
] | 1 | Java | RichardHags/SQLBestGymEver | b79cd5ba2d68d6ea5af450a390c22cae4b866a1c | e41e93a27e8aff88a265874346c692ae164f5b25 |
refs/heads/master | <file_sep>import {
AuthState,
BurgerBuilderState,
OrderState,
} from '@nx-react-burger-app/shared/interfaces';
export interface State {
burgerBuilder: BurgerBuilderState;
order: OrderState;
auth: AuthState;
}
<file_sep>import axios from 'axios';
export const loadIngredients = () => {
retur... | 6e00255736db9420f6ce1cfc38981aafac0c6e6a | [
"JavaScript",
"TypeScript"
] | 31 | TypeScript | LukeSwierlik/nx-react-burger-app | 4065b0db6d3cbe7ba472479e602d9a5c7dca0026 | 5d722517907604bfec5f86d5de13f66b2dbf8473 |
refs/heads/master | <repo_name>allmeida/logistica-api<file_sep>/src/main/resources/db/migration/V001__cria-tabela-cliente.sql
create table cliente (
id bigint not null auto_increment,
nome varchar(50) not null,
email varchar(250) not null,
telefone varchar(20) not null,
primary key (id)
); | 749b1ace59cca6f5f33dfd46ecda4b334862ac84 | [
"SQL"
] | 1 | SQL | allmeida/logistica-api | 331482b5c1cbbe19c26a87a468f6f5b0d75023a4 | f2cb3dabb7324205d5200ba64980cc7cfa7dbb11 |
refs/heads/master | <file_sep><?php
require_once 'vendor/autoload.php';
use AyeAye\Api\Api;
use Dotenv\Dotenv;
use Riverwash\UsersController;
use Psr\Log\AbstractLogger;
$dotenv = new Dotenv(__DIR__);
$dotenv->load();
header('Access-Control-Allow-Origin: '. getenv('ACCESS_CONTROL_ALLOW_ORIGIN'));
header('Access-Control-Allow-Credentia... | e0933c2c68e07e2e7ae2e47a0df73b519286ca35 | [
"Markdown",
"PHP"
] | 7 | PHP | argasek/riverwash-api | 651c9059d781dfd2847d7c2f875d406f35599e95 | 80643b18faceb2ee738d16f02410fd1d80a42b25 |
refs/heads/master | <file_sep>import turtle, random
t = turtle.Turtle()
t.speed("fastest")
t.home()
randint = random.randint
var1 = 0
turtle.colormode(255)
for x in range (70):
r = randint(0, 255)
g = randint(0, 255)
b = randint(0, 255)
t.color(r, g, b)
t.circle(60)
t.forward(170)
t.backward(170)
t.setheading(var1)
var1 = var1 + ... | 61672faa6676875b15430ee81723d24896e7592a | [
"Python"
] | 5 | Python | jaqlai/python_turtle_art | 85b035908665ab6db260b9176c45d4202875d359 | aac6661c560d5709d326ae3e385428056e4b2c65 |
refs/heads/master | <repo_name>FluentDOM/YAML-Dipper<file_sep>/src/Serializer.php
<?php
/**
* Serialize an (XHTML) DOM into a HTML5 string.
*
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
* @copyright Copyright (c) 2009-2014 <NAME>, <NAME>
*/
namespace FluentDOM\YAML\Dipper {
use secondparty\Dipper... | 8bd3b3e9bdd42f1a476b47fcb94396d3d09a2484 | [
"Markdown",
"PHP"
] | 5 | PHP | FluentDOM/YAML-Dipper | c9970cdc3d619f74f3341ebdc1a9c2b23eebce5f | 739ace7ad03a38e72e738025b00d3f85cadd0a00 |
refs/heads/master | <repo_name>dmitru/redux-bootstrap-starter-kit<file_sep>/app/components/FormFields/Loading.js
import React from 'react'
import classNames from 'classnames'
import { Glyphicon } from 'react-bootstrap'
import styles from './Loading.css'
export default class Loading extends React.Component {
static propTypes = {
... | 2b3015defb3fdae3bbe061ae6eab73bab1f22482 | [
"JavaScript",
"Markdown"
] | 40 | JavaScript | dmitru/redux-bootstrap-starter-kit | d8c13bd6f9b8ef8d749e3944f5de9db1561d91e0 | 6b9f6fc702704269531531399fd386c49ddad29c |
refs/heads/master | <repo_name>sborrazas/static_app_template<file_sep>/config.ru
map "/" do
use(Rack::Static, {
:urls => ["/javascripts", "/images", "/stylesheets"],
:root => File.join(Dir.pwd, "public")
})
app = lambda do |env|
headers = {
"Content-Type" => "text/html",
"Cache-Control" => "public, max-age=... | e77b88b9707787bd2b2bcf5baa52bf42093e8171 | [
"JavaScript",
"Ruby"
] | 2 | Ruby | sborrazas/static_app_template | 5e1044e9e9d1643804be41b27592e79291473a7e | b001db77fc7aef2fc4e70682352fd64e5cb7d39c |
refs/heads/master | <repo_name>emilia-renner/virtual-bookstore<file_sep>/catalog/application.py
# Import packages
import os
from flask import (Flask,
render_template,
request,
redirect,
url_for,
jsonify,
flash)
from sqlalchemy... | 53fe1d1349bb81b2c740c750021aecb70989a7e6 | [
"Python"
] | 2 | Python | emilia-renner/virtual-bookstore | 7bbb0d396297aee19c3c4ebf932204596716ee44 | 990481e13481b24b13daba0f75709160c21d66fd |
refs/heads/master | <file_sep>package lesson3;
import java.util.*;
public class HomeworkPt1 {
public static void main(String[] args) {
String[] array = {"Яблоко", "Пони", "Орех", "Паста", "Кофе", "Яблоко", "Часы", "Чайник", "Паста", "Яблоко", "Вишня", "Вишня", "Молоко", "Яблоко", "Перец", "Часы", "Кружка", "Ложка", "Мышка",... | d7e8ba4b2e085a48f502a7ec1b7003056b6cf693 | [
"Java"
] | 6 | Java | MuzafarovAA/GBJavaLvl2 | 03c18b6f052fd87cfdb43f81de64bd0781961b00 | e6c5174a704303fa7618cb96c5222a5aa73c1065 |
refs/heads/master | <repo_name>Minidodo1/Forge-1.10.2<file_sep>/Forge-1.10.2/src/java/me/Minidodo/Scoocyjuice/OurMod/crafting/grasstoseed.java
package me.Minidodo.Scoocyjuice.OurMod.crafting;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraftforge.fml.common.r... | 6b3877fe5dc03b6e01ddab388305363863b409df | [
"Java"
] | 2 | Java | Minidodo1/Forge-1.10.2 | 51466014202d6af0d980bf1747b6892f3643f472 | 6925c9d7b65fdfa4a1e61415001e5823f4f26457 |
refs/heads/master | <repo_name>juliahw/i-hate-everyone<file_sep>/js/engines.js
//////////////////////////////////////////////////////////
// BACTERIA ENGINE
//////////////////////////////////////////////////////////
function BacteriaEngine(maxParticles) {
this.maxParticles = maxParticles || 1000;
this.particles = [];
this.po... | 0b8eaa37ea3a7bed402477773f159b92198c86e6 | [
"JavaScript",
"Markdown"
] | 9 | JavaScript | juliahw/i-hate-everyone | 41fbca19695dcb550714812556820faf5a50e549 | 1fab40f73d754ce5184c6a06e54c907804998deb |
refs/heads/main | <repo_name>shahzadqadir/update_interface_desc<file_sep>/cdp_config.py
import paramiko
import time
#pylint:disable=unused-variable
class ConfigCisco:
"""
Configure device interfaces using information collected through CDP.
Only works for Cisco devices with cdp enabled.
"""
def __init__(self, hostname, userna... | 0ff635f18a6ad009b18629027b45e87fe53a8f35 | [
"Python"
] | 1 | Python | shahzadqadir/update_interface_desc | 86aca31b9773139d9d0df4ac572eddcffc2e8083 | e23f122c18424d5588399e00a6e03dfa91e19b18 |
refs/heads/master | <repo_name>eikibriem/RecipeApplication<file_sep>/app/src/main/java/com/example/helen_000/recipeapplication/Activities/RecipeListActivity.java
package com.example.helen_000.recipeapplication.Activities;
import android.content.Intent;
import android.net.Uri;
import android.os.AsyncTask;
import android.support.v7.app.App... | b883a9a4ce7929ac09781c8c4af62663223bda66 | [
"Java"
] | 11 | Java | eikibriem/RecipeApplication | 309b45797a815ec01fe4873b7078ec1629283c2b | 72e0da68051c4594e15d2ce25f5cd4daaa963744 |
refs/heads/master | <repo_name>harishb2k/gox-errors<file_sep>/error_impl_test.go
package errors
import (
"github.com/stretchr/testify/assert"
"testing"
)
func TestErrorObj(t *testing.T) {
var err error
err = &ErrorObj{
Name: "error_name",
Description: "error_description",
Err: New("error_err"),
Object: "... | 70f126b72e19d1c18bb65106aba0aa11c1bad212 | [
"Go"
] | 4 | Go | harishb2k/gox-errors | 4d34d64e5e85be46adeb72aae627b5ed1815401e | 7e7fc2119d3da6792a22761000a802bc2e77b0bc |
refs/heads/main | <repo_name>SaifulOMG/Loop-Test<file_sep>/Loop/Loop/Program.cs
using System;
using System.Collections.Generic;
namespace Loop
{
class Program
{
static void CustomerMeetingOptions()
{
Console.WriteLine("Enter 0 to join remote group meeting");
Console.WriteLine("Ent... | 234d1a50d87cfc90cbc5fc58cd8848bce3b2a7f8 | [
"C#"
] | 4 | C# | SaifulOMG/Loop-Test | 73d4ec75431937407e9c28faf7cd2bfd3bdcd126 | 874e518d8f862b80ad06c8e672087394b2f1e161 |
refs/heads/master | <repo_name>pharzan/Mithcalc<file_sep>/sendrequest.php
<?php
/**
* Created by PhpStorm.
* User: Farzan
* Date: 9/4/2015
* Time: 5:34 PM
*/
header("Access-Control-Allow-Origin: *");
include 'assets\lib\wa_wrapper\WolframAlphaEngine.php';
$response = 'Nothing here';
$appID = 'API-CODE-GOES-HERE';
$qArgs = arr... | 456b8256bb2cd84cd9ee1411063100457766bfeb | [
"Markdown",
"PHP"
] | 2 | PHP | pharzan/Mithcalc | 38e6f15b15174824cb558d583563484dc9675a86 | 17c944920f0f448309296d527f166cc63e0b2bd1 |
refs/heads/master | <repo_name>matiasmoron/cv-matiasmoron<file_sep>/src/containers/GeneralInformationContainer.js
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import WorkExperience from '../components/GeneralInformation/WorkExperience';
import Languages from '../compo... | 2d7d58cbc3c36bf42ea85dd242c026d1a6df5c29 | [
"JavaScript",
"Markdown"
] | 17 | JavaScript | matiasmoron/cv-matiasmoron | 845d2703671264d2b629897dcccb38926c94ebd0 | 14954ca52d0e03cbf65c527bb04d1722c7ce6c96 |
refs/heads/master | <file_sep>
#coding=utf-8
print("hello chenlei")
print("请输入第一个数值")
num1 = float(input())
print("请输入第二个数值")
num2 = float(input())
print("选择运算:")
print("1、相加")
print("2、相减")
print("3、相乘")
print("4、相除")
ysf=int(input())
def addition(x,y):
return x + y
def subtraction(x,y):
return x - y
def multiplication(x,y):
... | 0bb4657775f2d42b03e51238a7248d66a88a25ee | [
"Python"
] | 1 | Python | jialeipeng-learn/zuoye | 8f45ebf0ba1793f05e5b93ec80d0721edfaac65f | dc80a67ebd93d8e42c9aa7f7058c430afd5a2bd5 |
refs/heads/master | <file_sep># resuablecomponents
dfbjdf
dkbdf
dfgnkldg
dgndmgnd
dg,fndklsf
sdfm sdkf sd fsdf
sd
f
sd
fsdhfkasf
sdf
sd
do itawefawe
nsdbcklas
adding refs
<file_sep>import {useState} from 'react';
import UserInput from "./userInput";
import List from './List';
import classes from './App.module.css';
function App() {
... | d9ef5a372be3c57c62691088aa3f24b62fa7d5b2 | [
"Markdown",
"JavaScript"
] | 4 | Markdown | vi-verma/resuablecomponents | 4e51d213e8c2e9e11a1ae3f9ac7df4db4fe472df | cf0505e7ad58811352f0ee51ec0dd49eb01c13d3 |
refs/heads/master | <file_sep>import React from 'react';
import ReactDOM from 'react-dom';
import AppRouter from './routes/AppRouter'
import './styles/styles.css';
import { addAllExpenses } from './actions/expenses'
import { addAllIncomes } from './actions/incomes'
import configureStore from './store/configureStore';
import { Provider } f... | f983d3ea6d3dfdd60bd7afefcc2f5139edfdfae6 | [
"JavaScript"
] | 10 | JavaScript | blackwater17/react-cr | c117e50df987c4f8debbfa57f4bd48e242dedee1 | bf4d6d859ea0bb5fb57cbaf4b86d503ed4d1779c |
refs/heads/master | <file_sep>package br.daciosoftware.loterias;
public class FileSelectionMode {
public static final int MODE_CREATE = 0;
public static final int MODE_OPEN = 1;
}
<file_sep>package br.daciosoftware.loterias;
import java.util.ArrayList;
import java.util.List;
import br.daciosoftware.loterias.Mega... | 0113fc0061e6138037f3046cffbb526a98803c94 | [
"Java"
] | 24 | Java | fdacio/androidgui | c85998f82ac43bec82cafa687585c9502d343dd1 | 8d7871f99f7d54a4e6cc30422f661721b1287b30 |
refs/heads/main | <file_sep>/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: Users.cpp
* Author: Drake
*
* Created on April 18, 2021, 7:38 PM
*/
#include "Users.h"
Users::Users() ... | 5d83a9637f468b1271423eb47f3ad5f0e18454a0 | [
"Makefile",
"C++"
] | 12 | C++ | DarkDonut0207/Survey-Engine | 692d1d19d7762c5224d6e64d684c5e8ec9d2c67e | 417a8731a5635f4fb30e811f163ed908edec4819 |
refs/heads/master | <repo_name>Lynexis7/RamirezVillalpandoChristian<file_sep>/Practicas/PullToRefresh11/PullToRefresh11/Models/CitiesManager.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace PullToRefresh11.Models
{
public class C... | 6e1af637c97e0e9f4b44560d05e1a10582249b03 | [
"C#"
] | 9 | C# | Lynexis7/RamirezVillalpandoChristian | 33c41b91b0f3e636f10d48c1ec624e64c6634021 | 5b887092b3f353a453ff58a0993e46f107b29783 |
refs/heads/master | <repo_name>GalmOne/ScoutomeUniversalApp10<file_sep>/Scoutome/Model/Presences.cs
namespace Scoutome.Model
{
public class Presences
{
public double codeAnime { get; set; }
public double codeReunion { get; set; }
public int useless { get; set; }
}
}
<file_sep>/Scoutome/ViewModel/MainVi... | 1d1a8307a700a28b4a9e9170855d66539e685021 | [
"C#"
] | 11 | C# | GalmOne/ScoutomeUniversalApp10 | 3b3d880f5aa046623cde5f10351c226fe17466d6 | 355ea3d1b80d5a061a08ae4899837e7487f39716 |
refs/heads/master | <file_sep>var sinon = require('sinon');
var expect = require('chai').expect;
var parser = require('../../lib/markdown-parser');
var test = function(input, output) {
var result = parser(input);
expect(result).to.equal(output + '\n');
};
describe('Markdown Parser', function() {
describe('Header', function(... | 09fae618eb8e0744b272dd06656b9b242b096882 | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | knicefire/test-task-markdown | 270b8638527539ace70ed85d97068f4f504e03ec | a5af11539cc49ea4864c6f6ac3241f0db28e51c3 |
refs/heads/main | <file_sep>import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import axios from "axios";
// 引入全局的样式文件
import "./assets/css/global.less";
//引入字体文件
import "./assets/font/iconfont.css";
import SocketService from "@/utils/socket_service";
// 对服务端进行websocket的连接
So... | 6ce1197094adcb3f33416c9cf5e6343a7160f2f4 | [
"JavaScript"
] | 2 | JavaScript | dyf-001/seller | 08729315645a05374be982b3be6299a23911106a | 140b31dc0fd695beecf0a2e34ff7f278551870ad |
refs/heads/master | <repo_name>zenyat123/bases-de-datos<file_sep>/Entidad/Entidad.sql
-- Created by Vertabelo (http://vertabelo.com)
-- Last modification date: 2018-09-02 03:19:53.12
CREATE DATABASE Entidad;
USE Entidad;
-- Tables
-- Table: empleado
CREATE TABLE empleado (
id_empleado int(10) NOT NULL,
nombres text NOT NUL... | eae05287e8ba3accb55a8d87c6998644b0fce60a | [
"Markdown",
"SQL"
] | 7 | SQL | zenyat123/bases-de-datos | df98c57cd5ebf21ff2343ab7a00e748c5b996236 | 3a17b7e32b1aa50ff1519283be237ce859bca2bc |
refs/heads/main | <file_sep>---
title: "Modelo de predicción de popularidad de películas"
author: "<NAME>"
date: "20/11/2020"
output:
html_document: default
pdf_document: default
word_document: default
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
knitr::opts_chunk$set(warning = FALSE)
```
# Objetivos
*... | 31c5af5de8feeb11357dab08e85b47be7356e35a | [
"Markdown",
"Python",
"Text",
"RMarkdown"
] | 6 | RMarkdown | pablofp92/pablofp92.github.io | aa16677f8abc94cd448d4c73c5aeb1f3de4ac53e | 7aeb9b49e8c03f53c67fff0b36a9076caa93da6a |
refs/heads/master | <file_sep>def dot(x, y):
s = 0
for i in xrange(len(x)):
s += x[i] * y[i]
return s
n = 10000000
x = [0] * n
y = [0] * n
<file_sep># JuliaTokyo3LT
JuliaTokyo #3 の発表資料とサンプルコードです。
JupyterのNoteboo.ipynbで実行もできます。
スライド: http://www.slideshare.net/KentaSato/whats-wrong-47403774
<file_sep>class: center, mi... | 3c6279856cccc7e41281db5d093c9e0b9ecaf34f | [
"Markdown",
"Python"
] | 5 | Python | bicycle1885/JuliaTokyo3LT | 8a35d3490b9b65fc99e2b1c63577737c63023db8 | dcb37772296bc0380f352a0be3e8424c88f933cf |
refs/heads/master | <repo_name>michaelwheatman/PasswordGeneration<file_sep>/pcfgc.c
#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
#include <math.h>
#include <ctype.h>
#include <string.h>
#include <assert.h>
#include "hash.h"
/*#define NDEBUG*/
#define MAX_LENGTH 32
#define N_LETTERS 26... | 1e49b453aebbe7fed3fa383ce1f75b2b88514ae8 | [
"Markdown",
"Makefile",
"Python",
"C",
"C++",
"Shell"
] | 22 | C | michaelwheatman/PasswordGeneration | 75c62a49b220e1ba3e6378d56d5d2ce8cdd8bfcf | af555072a4813f98f05c61daa1bb41a9ae4dbf2b |
refs/heads/master | <file_sep>class ValidateLogin
def initialize(session)
@session = session
end
def call
return false unless @session.valid?
# Call an API here
return @session if validate_login_api
false
end
private
def validate_login_api
# TODO: Document a validate_login API
true
end
end<fi... | 364aee5000217ea8c732259dfeeb27a4b9e01e21 | [
"Markdown",
"JavaScript",
"Ruby"
] | 30 | Ruby | akampjes/lucky-dice-roll | ae87b5a195f43a590b59e74740ec82c7487d4d08 | f070073d9563ed1657fcc62225a35567657fb3e0 |
refs/heads/master | <file_sep>package com.fiskra.atm.finder;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.Reader;
import java.net.URL;
import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import com.fasterxml.jackson.core.type.TypeR... | 398925f3b5f27ed2218147aafd6996d2d4723f7e | [
"Markdown",
"Java",
"JavaScript",
"SQL"
] | 9 | Java | fiskra-zz/AtmFinder | 3b73fea0f837c5f2e01319dc37719c646feafff4 | 5eb1af3a7ae92eb66c1355703f8f17f10e0efe86 |
refs/heads/master | <repo_name>AdamBolfik/Grid_detector<file_sep>/Tracker/Tracker/Tracker/A_Star.cpp
//
// A_Star.cpp
// OpenCV
//
// Created by Dustin on 7/28/13.
// Copyright (c) 2013 Dustin. All rights reserved.
//
#include "A_Star.h"
#include <iostream>
#include <vector>
using namespace std;
// Determine priority (in the priori... | 0226a63d85d8f15a03d5afb9779dca455ebd28e9 | [
"C++"
] | 12 | C++ | AdamBolfik/Grid_detector | 2f748c0b61e1bef96b45228056266a5ced6e21d9 | 933026f0f3f3cb5128d447ff36d8ac4801e6f813 |
refs/heads/master | <file_sep># Multi-repo `app`
> POC of using a remote package dependency `core` in a JavaScript (ES6) project `app`.
**Install**
1. `npm install`
1. Go to [`core`](https://github.com/serbanghita/multirepo-core-js) repo; Run `npm link`
1. Come back to `app`; Run `npm link multirepo-core`
1. `npm run transpile`
1. `node... | 4cd59932c05207cd23d09f7b1f0837197f51d8ce | [
"Markdown",
"JavaScript"
] | 2 | Markdown | serbanghita/multirepo-app-js | 7e74995ba2fda2ce7078c6128b39ef96fd21b9df | b56ac8432580b2189a3526c6a7a76e7423ee7460 |
refs/heads/main | <repo_name>domison/JS_Cave-Automata<file_sep>/src/js/Display.js
import { game, loop } from './gol-oop.js';
export default class Display {
constructor() {
// canvas setup
this.canvas = document.querySelector('canvas');
this.context = this.canvas.getContext('2d');
this.width = this.canvas.width = window.innerWid... | 905fd6cdeedde6bd530d04987dd96293c734ae2a | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | domison/JS_Cave-Automata | f3045733bca3ee6d966cc276c9a553f4f6530c7c | c1af47ff267ff145848376bf208acb590498f6a5 |
refs/heads/master | <repo_name>yakaolife/goToBeach<file_sep>/README.md
Go To Beach and Stay Hydrate 😎<br>
Playing with React Native with a little funky project.
### Using:
* React Native (create-react-native-app)
* Native Base (react native ui components)
* React Native Navigation (?)
<file_sep>/App.js
import React from 'react';
import {... | 2befbf3186ec9e9ead9a864de90036042a55d6be | [
"Markdown",
"JavaScript"
] | 2 | Markdown | yakaolife/goToBeach | 99c70b79bc5f0d5c22d6b584fb65854456b5043e | 31d5e63ab8345c8fe8d7c1e9fce89576b5074d55 |
refs/heads/master | <repo_name>creatone1996/edp12<file_sep>/lesson2/src/Exercise2/System_out_print.java
package Exercise2;
import java.text.SimpleDateFormat;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.Date;
import java.util.Locale;
public class System_out_print {
public static void main... | f116b8e3f0c8b7f62a07ce883ae81ff8d720584d | [
"Java",
"INI"
] | 12 | Java | creatone1996/edp12 | 8cc2fea2f412f3a78b27b8b9aadb97f706af1eec | a01d7dc80391f2276704ff2c9e07f3c034f34879 |
refs/heads/master | <repo_name>raji2007/flipkart<file_sep>/src/org/samp/Flipkart1.java
package org.samp;
public class Flipkart1 {
public static void main(String[] args) {
System.out.println("First Flipkart Class");
System.out.println("Second Flipkart Class");
}
}
| 104c22a59cf0fcf39c394b14f987bce336500a31 | [
"Java"
] | 1 | Java | raji2007/flipkart | 9b103fb2b8cb179f83a306e3c1ca0b496679e50d | d090cec7ddb997747cbcd454424ffa22ecf5a4a7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.