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 | <repo_name>nalberty/ordena-o-e-busca<file_sep>/bubble.c
#include <stdio.h>
#include <stdlib.h>
#include <locale.h> // apagar essa linha para compilar no linux
#define MAX 5
void bubble(int vetor[]);
int binary_sort(int vetor[], int chave, int n);
int main(int argc, char const *argv[])
{
setlocale(LC_ALL, "Portug... | 43b2c955918d8914104095499e70dbaa2ab3f454 | [
"C"
] | 1 | C | nalberty/ordena-o-e-busca | 2bef5330b327fec48ebb04c7aa91636b45167015 | 1f92dc288ddb2223a27f653ff2e26f899e9afec4 |
refs/heads/main | <repo_name>AraBlocks/TinyAra<file_sep>/certificate.js
const { Cert } = require('@0xcert/cert')
/**
* The default JSON Schema
* @public
* @type {Object}
*/
const schema = Object.freeze({
type: 'object',
properties: {
name: {
type: 'string'
}
}
})
/**
* A certificate container for various uses ... | 833f70f6e1367aadb1808373db32c70be192ec18 | [
"JavaScript",
"Markdown"
] | 9 | JavaScript | AraBlocks/TinyAra | 2a13c15b2cdcf64dc6de440e4bbac0c31be01811 | e3375aa882b03b9bea84b57006364cea5097fcc2 |
refs/heads/master | <repo_name>cutecoley/PhotoLib<file_sep>/client/app.js
angular.module('photolib', ['photolib.services', 'photolib.pages', 'ngRoute'])
.config(function($routeProvider) {
$routeProvider
.when('/', {
templateUrl: 'photo.html',
controller: 'photoController'
})
}) | 06a2812bfeefdc2efdfa5a4d767d78b94ce7157b | [
"JavaScript"
] | 1 | JavaScript | cutecoley/PhotoLib | 0dfce2c286be312c57c13c0e0b137eefd91757b7 | 66f0c4b98e8412fc14d9283a6c523eda3dba57c0 |
refs/heads/master | <repo_name>jerv13/pipe-rat<file_sep>/config/dependencies.php
<?php
/**
* dependencies.php
*/
return [
'config_factories' => [
/* Extractors */
Reliv\PipeRat\Extractor\CollectionPropertyGetterExtractor::class => [],
Reliv\PipeRat\Extractor\PropertyGetterExtractor::class => [],
/* ... | 24bf60ceb0b1b4076a9e5502d1466c1ceb156543 | [
"PHP"
] | 2 | PHP | jerv13/pipe-rat | 9b3e4a968a6f5c57841bc5bc871216f051e1cd24 | d04481ec4d70638e3ae7313d42be426291f329cb |
refs/heads/master | <repo_name>muryliang/algorithmse<file_sep>/src/percolate.c
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <time.h>
#define ISUNION(p,q) (root(p) == root(q))
#define N 20
static int array[N * N];
static void init(int array[]);
static int test(int p , int q);
static void unify(int p , int q);
st... | c5fd441ca569db28054e097ed52696ce99e24cb2 | [
"C",
"Makefile"
] | 5 | C | muryliang/algorithmse | 929a121e98613200c83a4cfd907c51668c867778 | ae4f4d8805698f8376c5aa0107548857cbc2c257 |
refs/heads/master | <file_sep>from flask import Flask
import time
application = Flask(__name__)
@application.route("/")
def index():
time.sleep(2)
return str(int(time.time()))
<file_sep>from multiprocessing import Process
import time
import socket
import mechanize
import random
URL = "http://127.0.0.1:8000"
TIMEOUT = 10
N = 10... | a8565fcd1836fc6e7316add9503933b6211d3548 | [
"Markdown",
"Rust",
"Python",
"Shell"
] | 5 | Python | user37829/task587434 | 20bc22339ecd03871dcd249c1560625abd837d05 | 66e3d19ab3bee2b42f850be3f14f7d35b09d5749 |
refs/heads/master | <repo_name>crkjlive/HolaMundo<file_sep>/Js-holaMundo/trampolines.js
// Trampolines
// trampolines nos ayudan a mejorar la recursividad
// muchos llamados recursivos genera un error que se llama
// Maximum call stack size exceeded
// limitandonos a hacer funciones que se llaman asi mismas muchas veces
// para e... | b83a96cc3956d0bf51dbec88569aca4c460bfb04 | [
"JavaScript",
"Markdown"
] | 8 | JavaScript | crkjlive/HolaMundo | 8691091531a999ce8ca9c85e5d1cf12313990488 | a84028ceee994928b8c17e0701f4827e75f061c7 |
refs/heads/master | <file_sep><?php
class JeuxController {
public function index() {
$list = Jeu::findAll();
var_dump($list);
}
public function read($slug) {
$jeu = Jeu::findBySlug($slug);
var_dump($jeu);
}
public function indexApi() {
$list = Jeu::findAll(false);
... | a80db89480297e2d4ebb64abe5c94ab887c4e746 | [
"Markdown",
"PHP"
] | 21 | PHP | tomsihap/MVC-course | ff28db8fb47bb683a1416d3507f8873f2b2f3a62 | 9a3039f45d71af72e0309a58c5a0e46d3a4c39e4 |
refs/heads/master | <repo_name>ManuelLG92/react-forum<file_sep>/src/components/posts/postsHooks.jsx
import React, { useState, useEffect } from 'react';
import axios from 'axios'
import Card from '@material-ui/core/Card';
import CardContent from '@material-ui/core/CardContent';
import CardHeader from '@material-ui/core/CardHeader';
import ... | bed36e0804e9935270533baed38f23c66ea84916 | [
"JavaScript"
] | 16 | JavaScript | ManuelLG92/react-forum | 1b8e58d6b84c623b4e73a48d8bde1a96d8b5d567 | 80c45e755de3c3e733be5d60ca640072cf36c459 |
refs/heads/master | <repo_name>lumiazdk/meteorvue<file_sep>/README.md
# meteorvue
NO_HMR=1 meteor 启动
ui https://materializecss.com
<file_sep>/server/lronrouter.js
Router.route("/upload", { where: "server" }).post(function() {
console.log('req')
let req = this.request;
let res = this.response;
res.writeHead(200, { "Content-T... | 909535de9ee5457b073afd4bc994482217d3257b | [
"Markdown",
"JavaScript"
] | 7 | Markdown | lumiazdk/meteorvue | e55e50819b66c7ba99e2f515c6d31252f48cb7ba | a9b8e6043ef3d9ce9f9835e7e7f6c38757719ff2 |
refs/heads/main | <file_sep>to run this website system must have nodejs installed.
1. intall nodejs (if you don't have)
2. run command " npm install "
3. run command " npm start "
<file_sep>var mongoose = require('mongoose');
//Set up default mongoose connection
var uri = 'mongodb+srv://P2dppOAbUfXjf5HM:<EMAIL>/myFirstDatabase?r... | f7c07da822ae1f775dc783e11220aec41e51567d | [
"JavaScript",
"Text"
] | 3 | Text | LUCIFEREXTON/BLOCKCHAINCertificateverifier | 1d9b1ef6ca6655bf3ba6f5ab517d4c7006a0bc8b | 08db27ae77ddb466df23a0e216cdef8155a3496d |
refs/heads/master | <file_sep>package edu.depauw.csc480.dao;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.Collection;
import edu.depauw.csc480.model.Alumni;
import edu.depauw.csc480.model.Spe... | 0cace933b6b024a5177937baefdde90f0a3ca0db | [
"Java",
"INI"
] | 4 | Java | ducnguyen2020/Alumni-Database-Project | b08a0ff80582dc9ada13efd70540af51a966f202 | b347dd1b54d2912d5c0e06e3e5566f1e3c739b74 |
refs/heads/master | <file_sep>package com.example.yunsuphong.hello;
import android.app.ActivityManager;
import android.content.Context;
import android.content.pm.ConfigurationInfo;
import android.content.res.Configuration;
import android.content.res.Resources;
import android.graphics.Point;
import android.net.ConnectivityManager;
import ... | d7ee3ee9e1e72b3f80ccee3d036a4935dc4d4a9d | [
"Java"
] | 1 | Java | albertyhong/Hello | b5c131dccab0e8656f2b4b0304c2a4b01f55574f | a25781ef9622d5824ccd4113e1e441caaa038ebc |
refs/heads/master | <repo_name>oleachka/dog-directory-mvc<file_sep>/Services/DogBreedServiceException.cs
using System;
namespace DogDirectory.Services
{
public class DogBreedServiceException : Exception
{
public DogBreedServiceException(string message) : base(message)
{
}
}
}
<file_sep>/Models/DogBree... | 216e2c99d4acc825c4a2be5511491020e24dbd11 | [
"Markdown",
"C#"
] | 11 | C# | oleachka/dog-directory-mvc | f9301471a7182cdb0132bafb36f969774a4d482a | b6358f9295438328102953ee319a4dcafce5bf36 |
refs/heads/master | <file_sep><?php
var_dump($argv);
printf("Test from MoodleTW");
<file_sep><?php
/*
s__enablewebservices="1"
s__mnet_dispatcher_mode="strict"
lib/adminlib.php
function admin_write_settings()
enablewebservices
public function config_read($name) { }
public function config_write($name, $value) { }
enabledwebser... | 88c32f6a843feb7c55612fbc65bc7cda6eb7e8aa | [
"Markdown",
"PHP"
] | 6 | PHP | martinliao/modshell | 4ecfe68c3944f9654e4c6d7904ec939c18c9a994 | 84592eb98fb79ad200d984c3e18b5917b35db5e3 |
refs/heads/master | <repo_name>jessicawang225/caltech-ee148-spring2020-hw01<file_sep>/run_visualizations.py
import json
import numpy as np
from PIL import Image, ImageDraw
import os
def draw(I, boxes):
for box in boxes:
draw = ImageDraw.Draw(I)
# Draw bounding box in neon yellow
draw.rectangle(box, outline=(2... | 02c6ea9246db52b7c3ce085dba8d44e3a3567029 | [
"Python"
] | 2 | Python | jessicawang225/caltech-ee148-spring2020-hw01 | 6c1f2fc50170cd2fe5a7b02896feca7743e552fc | 35a92a88f5f55d7514a7340d9f9074a4bf19f883 |
refs/heads/master | <file_sep><!--<script type="text/javascript" src="http://tinymce.moxiecode.com/js/tinymce/jscripts/tiny_mce/jquery.tinymce.js"></script>
<script type="text/javascript" src="http://tinymce.moxiecode.com/js/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>-->
<script src="<?php echo Yii::app()->theme->baseUrl; ?>/tinymce... | 8f0ba80a67beec7cd9a274eff5cc2a524f2bb95b | [
"PHP"
] | 31 | PHP | CKSoluciones/Administralo | cfca45f01b45f3c3e07e715289852f42eb647a9d | 9382093c5922f335017d8986a747ecb36579742a |
refs/heads/master | <repo_name>chiuannica/professorCitationsStreamlitApp<file_sep>/README.md
# Computer Science Department Professors' Citations
## How to run the application:
Install dependencies
* Python 3.8
* pip
* Streamlit
Within the folder that contains the excel sheet and the python file,
enter this command in the terminal.
... | a2b1e6e0e2235d655581c4e680dc0311b8b3bca6 | [
"Markdown",
"Python"
] | 3 | Markdown | chiuannica/professorCitationsStreamlitApp | b8fcbb54f0b48872dcdecd22c2101ab079c554d6 | 5d3c1560fa25abc5bf0d61282bb509004fbbca40 |
refs/heads/master | <repo_name>Dsrocha74/Prova<file_sep>/src/prova/TestaEquipamento.java
package prova;
public class TestaEquipamento{
public static void main(String[] args){
Equipamento e1 = new Equipamento();
e1.preço = 29.99;
System.out.println(""+e1.adicionarImposto(29.99));
... | 3db067207bad1064243eb2d650fbc5b9a5c8a609 | [
"Java"
] | 7 | Java | Dsrocha74/Prova | 507b6abeb1219ee208fa2702efddfc9dd5d140ff | 2f9d680226ae11134766b8d54e60ec37ebe34b9c |
refs/heads/main | <repo_name>medhavibasera/Dice-Game<file_sep>/index.js
//alert("helllooooo");
var randomNumber1 = Math.floor(Math.random() * 6)+1;
var randomDiceImage="images/dice"+randomNumber1+".png";
var image1=document.querySelectorAll("img")[0].setAttribute("src",randomDiceImage);
// for second image
var randomNumber2=Math... | 98ca77206e22252c6b822aa4cceeb76fc5e85b6e | [
"JavaScript"
] | 1 | JavaScript | medhavibasera/Dice-Game | 3b8ca900a8d085707ebcbeef22878504cbd9e311 | d5719b25086ecb6cfc62e7dcb5b7d53a7420fef8 |
refs/heads/master | <file_sep>import { Injectable } from '@angular/core';
import { Http,Headers } from '@angular/http';
import 'rxjs/add/operator/map';
import {app} from './app';
import {Repos} from './repos';
import {environment} from '../environments/environment';
@Injectable()
export class AppService {
private username:string;... | 8e70a55b90a23520102f727ec454b76802428bb8 | [
"Markdown",
"TypeScript"
] | 6 | TypeScript | tatonka21/Github-Clone-1 | 101b9d3931381dbaa24f593892c0e8ea40337b08 | ff856fae61a4a7855232e633bfc04cd85685648d |
refs/heads/master | <file_sep>// Note: All authentication dispatch functions are defined here...!
import {
SIGN_UP_USER,
LOG_IN_USER,
LOG_OUT_USER
}
from "../constant/action-types";
/***** Note: SignUp function *****/
const signUpUserDispatch = (user) => {
return (dispatch) => {
// console.log(user);
... | 1eb01ffc1c7cebb28966f5da1a1d62652445ae93 | [
"JavaScript"
] | 3 | JavaScript | Shahzadaahmed/User-Authentication-using-React-Stack | f63177b659424536c2bc33baf0b9a9faf1a9c3e2 | 11ce1176b27fae20b1f1df1a48ca4908c3e83ee3 |
refs/heads/master | <file_sep>from os import environ
from fabric.api import run, sudo
from fabric.contrib.files import exists
from offregister_fab_utils.apt import apt_depends
from offregister_fab_utils.ubuntu.systemd import (
install_upgrade_service,
restart_systemd,
)
from offregister_opencv.base import dl_install_opencv
from ... | 532fc93d5e9b7bc75ed7059dbcb342a2c89089c4 | [
"Python",
"Text"
] | 3 | Python | offscale/offregister-tensorflow | 0990bdbcd299adc6caadf0cb17e523b5af5e4b8c | b2f946a30b822943a18636e79e4f66693420873f |
refs/heads/master | <repo_name>cvorak/stopwatch<file_sep>/assets/js/main.js
function format(tim) {
var rest = 0;
var seconds = 0;
var minutes = 0;
var seconds_string;
var minutes_string;
if (tim < 10) {
rest = tim;
seconds = 0;
minutes = 0;
} else if ((tim >= 10) && (tim < 600)) {
... | c4f6e8c78d55412791f6517d49e4086427e87fd5 | [
"JavaScript"
] | 1 | JavaScript | cvorak/stopwatch | b06f961da7b4f49ea38e422b16a3f463a8f398c1 | 0842525697f3d3b2c39fb3621f46d9b8b2cd96a2 |
refs/heads/master | <repo_name>benediktvaldez/apis<file_sep>/endpoints/car/tests/integration_test.js
var request = require('request');
var assert = require('assert');
var helpers = require('../../../lib/test_helpers.js');
describe('flight', function() {
it("should return an array of objects containing correct fields", function(done) ... | 8cba8df3a06b71f454d4e37d26fdc662ba56efcf | [
"JavaScript",
"Makefile",
"Markdown"
] | 37 | JavaScript | benediktvaldez/apis | 9074841294d8e28bb4b9b1f7918ed64708a022d0 | d721f9994c6ccd6da358e7900a27f9ff910796af |
refs/heads/main | <file_sep>package com.kris.demo2.demo2.restcontroller;
import com.kris.demo2.demo2.model.AuthUser;
import com.kris.demo2.demo2.repo.UserRepository;
import org.springframework.http.HttpStatus;
import org.springframework.security.core.userdetails.UsernameNotFoundException;
import org.springframework.web.bind.annotation... | 5cb51f1354eda4ee71bdc97f78d8007399aad435 | [
"Markdown",
"Java",
"JavaScript"
] | 16 | Java | krishnendu/springboot-online-cab-booking | 370f0c4d6159d94925a80327681bcc1dbab4dd66 | 6f7582c43f411e3ae2d1fcc9fb6db88c2b532474 |
refs/heads/master | <repo_name>Crateral/invincibleprogram<file_sep>/src/app/models/clase.model.ts
export class Clase {
constructor(
public horaInicio: string,
public horaFinal: string,
public fecha: string,
public descripcion: string,
public coach: string,
public wod: string,
pu... | b336cc15456c02d7518349263602250e16d1c934 | [
"TypeScript"
] | 30 | TypeScript | Crateral/invincibleprogram | a2c548d0c9a824d43f4fe9792a46a796adc14846 | 9fb4a8496a15d8e7baebdf35a5b561d03b5c4bd5 |
refs/heads/master | <file_sep>import { Template } from 'meteor/templating';
import { ReactiveVar } from 'meteor/reactive-var';
// import { Accounts } from 'accounts-phone';
import './main.html';
// Template.body.onCreated(function helloOnCreated() {
// var options = {phone:'+972545999999'};
// // You can also create user with passwo... | 3234aa52381b7425c001bc4dd83ff5eeb4751868 | [
"JavaScript"
] | 1 | JavaScript | balibou/meteorPhoneConnection | 7819a51316a8bbba50db381287e0b09586c6d807 | df68b412981cdad162dda3309aa8b69c879725bb |
refs/heads/master | <repo_name>samuelCupertino/fila-ED<file_sep>/README.md
# Fila - Estrutura De Dados
Exercício realizado durante disciplina de estrutura de dados na faculdade para compreensão da estrutura de fila. Através da alusão a um aeroporto, onde os aviões se encontram em uma fila, aguardando liberação da pista e decolando com gr... | 2e4802cabe643103460a5422deeaf80b48a829f4 | [
"Markdown",
"C"
] | 4 | Markdown | samuelCupertino/fila-ED | 1511b936112dce2416c36aa81cc27260eed40747 | 517f78798cb1434dacabfd1734f3d5d3bb24e1f6 |
refs/heads/master | <repo_name>weswalker125/JautoJams<file_sep>/src/main/java/wes/auto/jams/Main.java
package wes.auto.jams;
import java.io.BufferedReader;
import java.io.File;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.PriorityQueue;
import java.util.Q... | ed6d6fcf4736d7d4ffcf1bd7e53ae2f747d95da3 | [
"Java",
"Gradle"
] | 4 | Java | weswalker125/JautoJams | 83752cf4fe82b67a857c1e8b20307559d9791ed3 | e98ce8574fda5e7dc77aeb928ff968b1b43afd74 |
refs/heads/master | <file_sep>version: '3'
services:
workspace:
build: .
command: sls offline -o 0.0.0.0 --printOutput
volumes:
- .:/code
tty: true
ports:
- "3000:3000"
environment:
TEST_ENV: ${TEST_ENV}
AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID}
AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACC... | 1759e9ffc017e6a1e090a10cff9475d23c269deb | [
"YAML",
"Markdown",
"Python",
"Text",
"Dockerfile"
] | 5 | YAML | myoshioka/api-gateway-lambda-dev-env | 9de8eab2e25c8ab5b6c9f5de4a727ea74617f7d3 | e6c137f30a8241f75745a17ba6d8aff29a87bf0f |
refs/heads/master | <repo_name>BSUIR-4-course-7-semester/SDH-Lab-2<file_sep>/main.py
from math import sin, pi, ceil, sqrt, cos
import matplotlib.pyplot as plt
INITIAL_PHASE = pi / 8
def harmonic_signal_function(n, N, phase=0.0):
return sin(2 * pi * n / N + phase)
def calc_M_vector(N):
K = 3 * N / 4
K = 0
MAX_M = N * ... | 6dadb43a60b34769b794aa75565b2cfcd6fbc460 | [
"Markdown",
"Python"
] | 2 | Python | BSUIR-4-course-7-semester/SDH-Lab-2 | e4c36e13cc247d611eb0bf221448808fd6fca436 | 5515ad0c90b9b15c864e5d316af91997c42fffed |
refs/heads/master | <repo_name>cburleso/CS228<file_sep>/Deliverable.py
import os, sys
import shutil
sys.path.insert(0, '..')
from pygameWindow import PYGAME_WINDOW
from pygameWindow_Del03 import PYGAME_WINDOW
import Leap
import constants
import numpy as np
import pickle
class DELIVERABLE:
def __init__(self):
self.controller =... | 0ee3e859fc3ec4a5d3599024ea3b9eeb86ead4df | [
"Python"
] | 19 | Python | cburleso/CS228 | a59470079adc5eb91f3157f37e348af3c87e3055 | 9eb435b97d6b2f4798ed673b332f05d89d20d2f4 |
refs/heads/master | <file_sep>## Työnhallintasovellus
Ideana yksinkertainen työnhallintasovellus, jolla yritys pystyy hallinnoimaan työntekijöidensä työkeikkoja. Työnantaja voi luoda työntekijöitä, asiakkaita ja määrittää työntekijöilleen keikkoja.
Huom. Ohjelman source githubissa on Java 8 versio. Erillinen Java 11:lla pyörivä .jar rel... | a9e0f8fb3cb0953ad80ba252b7ea1b0159be4713 | [
"Markdown",
"Java",
"Maven POM"
] | 20 | Markdown | RoniNiklas/ot-harjoitustyo | 7be19b7f5cfbda07be2439bab127282762087b01 | a3f7910ca16d927d6d14d7bcb2f54ca797ae6551 |
refs/heads/master | <repo_name>Artrigger/generator<file_sep>/src/Services/SwaggerService.php
<?php
namespace LaravelRocket\Generator\Services;
use LaravelRocket\Generator\Objects\Swagger\Spec;
use Symfony\Component\Yaml\Yaml;
class SwaggerService
{
/**
* @param string $path
*
* @return Spec
*/
public function... | e7391c51a1a624349ae57cf6a4ce131446d568d9 | [
"PHP"
] | 23 | PHP | Artrigger/generator | 7b082014b5a0392546da370c84545a28d66bf192 | db13c85aaf41863d693cd52395b27623ad268ab8 |
refs/heads/master | <repo_name>SaraPerezSoler/JavaCheck<file_sep>/Code/es.uam.sara.tfg.ast2/src/es/uam/sara/tfg/properties/type/TypeFunction.java
package es.uam.sara.tfg.properties.type;
public interface TypeFunction extends Type{
}
<file_sep>/Code/es.uam.sara.tfg.ast/src/es/uam/sara/tfg/ast/Visitors.java
package es.uam.sara.tfg.ast;
i... | 6d2db5f79faa940bf5f2a785cf5e1a785d3794c7 | [
"Java"
] | 49 | Java | SaraPerezSoler/JavaCheck | 3748292c28f2eabc12f030d44483e27bcd480f2f | e04ca2662e942745651d7f0f730d5a03846b96a6 |
refs/heads/master | <file_sep>/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* client.c :+: :+... | 532af30256c17033541a8ee097e10687eba1edf0 | [
"Markdown",
"C",
"Makefile"
] | 46 | C | gj42/42_Project | 2750159b85f491c2de6620e10c1f6657295f42eb | ef1b145f9a525e19db8c2035c079a5c376d7c30c |
refs/heads/master | <file_sep>package com.android.demo.test;
import com.android.demo.view.*;
import android.app.Activity;
import android.graphics.Color;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.os.SystemClock;
public class TestActivity extends Activity{
private CurveChartView dc... | cbcb622b551bb4a487cb008c274bed2e71ed8e16 | [
"Markdown",
"Java"
] | 2 | Java | wangyin8866/chartView | d9c186a94226fe29f6c08cd75b23209efd75536d | 077b1eaac1f7047eb3494c753cad69b1a0da9fad |
refs/heads/master | <file_sep>#include <windows.h>
#include <stdio.h>
#include <string.h>
#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/glut.h>
#include <AR/ar.h>
#include <AR/param.h>
#include <AR/video.h>
#include <AR/gsub.h>
#include "controller.h" // キーボードによる制御
#include "GLMetaseq.h" // モデルローダ
// ライブラリの設定
#ifdef _DEBUG
#pr... | b1cccfc352735267ec1c84797c8e3f24e4926767 | [
"Markdown",
"C"
] | 4 | C | misodengaku/ARInvader | 24a2b6745203452c4d373ab05dced86fda83836d | c8b0eaa830827c96b64619bb9bda07b6f994c3f1 |
refs/heads/master | <repo_name>MirkoGriffo/js-snack-es6<file_sep>/js/script.js
/* Snack 1
Creare un array di oggetti:
Ogni oggetto descriverà una bici da corsa con le seguenti proprietà: nome e peso.
*/
const bici = [
{
name: "bici1",
peso: 7,
},
{
name: "bici2",
peso: 8,
},
{
... | b0fda56d7477bb6b8dce697a1c2e1aa8b5720e2a | [
"JavaScript"
] | 1 | JavaScript | MirkoGriffo/js-snack-es6 | 31c09445d30f807c907e59d4cc7654fe7e48c87f | d7c3583d31dd293ad5e6f32375c081f2dc13f43d |
refs/heads/master | <repo_name>JLQmiller/ts-node-dev-environment<file_sep>/test/server.spec.ts
import { expect } from "chai";
import {
hello,
Producer,
Province,
sampleProvinceData,
} from "../src/server";
describe("Province", () => {
let asia: Province;
beforeEach(function() {
asia = new Province(sampleProvinceData());
... | ef82a1cd606495d496ca75fd4914cd3b294fd878 | [
"TypeScript"
] | 2 | TypeScript | JLQmiller/ts-node-dev-environment | d1d9add84b0e92d6d680f4f792b145935fb32749 | 20f8e6cf9adfde274affb83d7ea427f5916fa0e0 |
refs/heads/master | <file_sep>let n1 = parseFloat(window.prompt("Primeira nota")|| 0);
let n2 = parseFloat(window.prompt("Segunda nota") || 0) ;
let n3 = parseFloat(window.prompt("Terceira nota") || 0);
let n4 = parseFloat(window.prompt("Quarta nota") || 0);
const media = ((n1 + n2 + n3 + n4) / 4);
if (n1 < 0 || n2 < 0 || n3 < 0 || n4 <... | a9ed47a7d914048192d36b410594e1f242602b3b | [
"JavaScript"
] | 1 | JavaScript | isaacgeazy/Media4NotasJs | ab95358d878232524199c6eb9767c09a4771314e | 9ca0f0e3ee65a3b97c1acc326990e32fb310de06 |
refs/heads/master | <file_sep>#include <stdio.h>
#include <unistd.h>
#include "using_mkstemp.h"
/*
Desc:
create a temp file and write "buffer" to it with "length" bytes
Param:
char *buffer - the stuff to be written to the file
size_t length - the size of the buffer to be written
Return value:
int - the fd of the temporary file
*/... | 3590a81bda3f7e8fd46fb2ce2aa2be5ab1f4a9e7 | [
"Markdown",
"C",
"Makefile",
"C++"
] | 9 | C | chubahowsmall/ALP_examples | 7b68a9bedf7cbd3af308c999140e424b44df90b4 | 448e4da95b8b93617b17ac298ea7a91676cfe7d5 |
refs/heads/master | <file_sep>using UnityEngine;
using System.Collections;
public class PlayerAnim : MonoBehaviour {
private Animator animator;
private string boolIsMove = "isMove";
void Awake()
{
animator = GetComponent<Animator>();
}
public void PlayIdleAnim()
{
animator.SetBool... | fc56f7f61e22325810017a3e71c7e135dc027d10 | [
"Markdown",
"C#"
] | 23 | C# | PcloD/Unity3D-Monopoly | d3c61bcb8dd28b25cb500a91a13681db9ee9937f | 630e8799c4ee258eabd931188923567cfcaaced1 |
refs/heads/master | <file_sep>/*******************************************************************************
Copyright (c) 2010, Perforce Software, Inc. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redist... | cf65db42e0d07c3ec7ba747f1c0267acb06c6cb3 | [
"Python",
"Text",
"C++"
] | 7 | C++ | laosierZhao/p4python | 949f0e7a889b777a652e9c8e152b26c0c2e95840 | 03f03c53e4175e25140ce94aa052abd16d51dba3 |
refs/heads/master | <repo_name>feyzanursaka/Introduction-to-Computer-Engineering<file_sep>/README.md
# Introduction-to-Computer-Engineering
Make-up Homework
Clustering 2D data with k-means algorithm:
k-means algorithm is one of the most elemantary and easy to
implement clustering algorithm. It enables to partition and group the
correspo... | aef3453433122029f52665df9602dec8dc9f9d70 | [
"Markdown",
"Java"
] | 2 | Markdown | feyzanursaka/Introduction-to-Computer-Engineering | ec1864965104817d2bf806c56a4fc598d484a4c3 | 3c7b9b7daf3b08ad9bca12bdc4ba2dad233742e3 |
refs/heads/master | <repo_name>danialmalik/react_tictactoe<file_sep>/src/modules/Game/helper.js
export const calculateWinner = squares => {
const lines = [
[0, 1, 2],
[3, 4, 5],
[6, 7, 8],
[0, 3, 6],
[1, 4, 7],
[2, 5, 8],
[0, 4, 8],
[2, 4, 6]
];
for (let i = 0;... | 7c201d96a194b646c8c648823731899640de93bf | [
"JavaScript"
] | 4 | JavaScript | danialmalik/react_tictactoe | 7fa6e559121c2cf5ea9fc57abe99c074f6ebdca0 | 03cc12e1e11893aa23f79657b535c02480286e5a |
refs/heads/main | <repo_name>Rehab2004/WouldYouRather<file_sep>/src/components/404.js
import { React } from 'react'
function notFound({ location }) {
return (
<div>
<p style={{ marginLeft: '30px', fontWeight: 'bold', fontSize: '16px' }}>
no matching path<code>{location.pathname}</code>
</p>
</div>
)
}
e... | ef3d5ea3c1ff43bcb720979e1893742d533d6d7e | [
"JavaScript",
"Markdown"
] | 7 | JavaScript | Rehab2004/WouldYouRather | ff4571acb1c24e96b43d8f2208f2ec0b57b69794 | 79a47a41bb3d9091fa66a823a2a5c414630a9991 |
refs/heads/master | <repo_name>VlasiukRV/inconnect<file_sep>/src/reducer/securityScore.js
import { Record, Map } from 'immutable'
import { LOAD_SECURITYSCORE, START, SUCCESS, FAIL } from '../constants'
import { getFirstRecordFromArray } from '../utils/arrays'
const SecurityScore = Record({
'securityScore': 0,
'securityScoreStatus':... | 3476c0c28dbb6a0c1def6977bdad8920c06013fb | [
"JavaScript"
] | 31 | JavaScript | VlasiukRV/inconnect | b4edca8c7624c30ef7ac6f5e2e2e6fae5d88c175 | 972adb07439725cfe64a5012454b99cbf4cf826c |
refs/heads/master | <file_sep>
from reportlab.pdfgen import canvas
def genPef():
c = canvas.Canvas("Olamundo.pdf")
c.drawString(100, 750, "Welcome to Reportlab!")
c.save()
<file_sep>from wsgiref import validate
from django.contrib.auth.models import User
from django.db import models
# Create your models here.
from djang... | 406feeb29d266be9ec672354b4a1f5793adce7ec | [
"JavaScript",
"Python",
"Text",
"HTML"
] | 32 | Python | geekaia/capsdjango | 265c9dcf5db3d278c985c2dffb97420abf36607a | d4ceb26556fee37aba53af083134ffb1440f7c18 |
refs/heads/master | <repo_name>rameshu08/shopping-api<file_sep>/models/userSchema.js
const mongoose = require('mongoose');
const Schema = mongoose.Schema;
const modelName = 'Users';
const userSchema = new Schema({
userName:{
type: String,
required: true
},
email:{
type: String,
required: true
... | 7220f24657804e461709c2ee4dd714524c6584d6 | [
"JavaScript"
] | 4 | JavaScript | rameshu08/shopping-api | a4e8bc47749954cfcba4e8db884b63f7c7b86e54 | b1ac7ad6b04def4abb60ab52c0ec0bddff13baa8 |
refs/heads/master | <repo_name>Tehees/count_letters<file_sep>/count_letters.rb
# def count_letters(my_string)
# h = {}
# my_string.split(//)
# end
# count_letters("lighthouse")
def count_letters(my_string)
h = Hash.new
word = my_string.split(//)
word.each_with_index do |x,index|
if h[x] == nil
h[x] = [index]
else
h[x... | 10b91661d44a8669749e302949bd19f487411ed4 | [
"Ruby"
] | 1 | Ruby | Tehees/count_letters | 6c35e2e31eb4fcef276d479f0a0ed09a4afecdde | bc1672dd2c562c0942ed80dfbac0ecceb5356952 |
refs/heads/master | <repo_name>OneBrokenPixel/breakout<file_sep>/Assets/Scripts/Ball_Controller.cs
using UnityEngine;
using System.Collections;
using Darkhexxa.SimplePool.Components;
[RequireComponent ( typeof ( Rigidbody2D ) )]
public class Ball_Controller : BasePoolComponent
{
[System.Serializable]
public class Ball_... | 919e8616792741dab85b7591aa92e8cf0186ace2 | [
"Markdown",
"C#"
] | 12 | C# | OneBrokenPixel/breakout | a33f5b0cd2defeddbf8b4f88865d5e9568244bb7 | 9284fdbb25b7dadb06f02ab4d92ff395f936604e |
refs/heads/master | <file_sep># .bashrc
printf '===========================\nTop 5 CPU processes (col 3)\n===========================\n'
ps aux | sort -rk 3,3 | head -n 6
printf '\n==============================\nTop 5 memory processes (col 4)\n==============================\n'
ps aux | sort -rk 4,4 | head -n 6
# Source global definiti... | 0d1025ce08352b3d6c44e53c32bd76b6b4ae3a18 | [
"Shell"
] | 1 | Shell | interbiznw/dotfiles | 56f18c8187ae261fc7f3a2fa25b5e332ece4833b | 4505069f17654f89f77f712454e24b866c9d7cf8 |
refs/heads/main | <file_sep># football
this is a football restful API
## Before Use Run This :
"npm i" OR "npm install"
<file_sep>const express= require("express");
const app = express();
const router = express.Router();
require("dotenv").config();
const fetch =require('node-fetch');
//--------------------- this to get teams , logo an... | 0a2f9f9375363400ed68ebb7d09c84cf94099ea2 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | ahmedsolimanpts/football | 53861962d24098faa1c537109f9a83dcd2f3d07c | 1b486b6b0a8815e6eb2c3dd65174dd0acc102071 |
refs/heads/master | <repo_name>dscusnets/dscusnets<file_sep>/src/test/java/com/qaprosoft/carina/core/demo/NativeSeleniumTest.java
/*
* Copyright 2013 QAPROSOFT (http://qaprosoft.com/).
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtai... | 365a4acb41facf2c545404263453bfaa1f7afa36 | [
"Markdown",
"Java",
"INI"
] | 8 | Java | dscusnets/dscusnets | 094875ef474de9e31cdcc0e72eba04921b27de0b | 62a04aff97ec285d9675fcd0009b3d81ce105616 |
refs/heads/master | <file_sep>var express = require('express');
var router = express.Router();
var pieces = require('../server/models/pieces');
/* GET random piece */
router.get('/pieces/random', function(req, res, next) {
console.log('enter random router');
pieces.getRandom(function(err, piece) {
console.log(err);
console.lo... | 92990f7b8968862eaf80c59742e3c1cdf114c530 | [
"JavaScript",
"Markdown"
] | 15 | JavaScript | wangzhihao/autoplay | 4f931e428dd72ce9d328379db38b10a8dd41a0ab | b9a2fdc554e4dd07a4f3c8e9c25b19467c957244 |
refs/heads/master | <file_sep>from __future__ import absolute_import, print_function, unicode_literals
import json
import boto3
def lambda_handler(event, context):
purge_old_lambda_versions()
return {
'statusCode': 200,
'body': json.dumps('Hello from Lambda!')
}
def convertIntoInteger(version):
if version !... | 67f6477a9aed715cb604e580f7b230f60ed5b478 | [
"Markdown",
"Python"
] | 2 | Python | khillibob/LambdaPurger | 06bb842648a0c6ec7bee567789167b0586eb6bd8 | 4f81abb4a2023a82bc5c31a61bae6ff78bc03ffe |
refs/heads/master | <repo_name>rodrigoaguerra/nodejs<file_sep>/src/server.js
import bodyParser from 'body-parser';
import express from 'express';
import fileLoader from 'app/controllers/';
const app = express();
app.use(bodyParser.json());
app.use(bodyParser.urlencoded({ extended: false }));
fileLoader(app);
app.listen(3047);
<file_se... | 0c5a31fbb20c545571c3dc20df147f74b004a882 | [
"JavaScript",
"Markdown"
] | 7 | JavaScript | rodrigoaguerra/nodejs | 35cda099f7f6667796e6b5929d8b2237fe8a261f | 592f12b18ec3b29a49cee438d8e4ba4dadff6510 |
refs/heads/master | <repo_name>musharrafleo95/AST-git-assignment<file_sep>/README.md
# AST Assignment \#1: Git and Github.
## Team members:
* 9040658 (<NAME>)
* 9041759 (<NAME>)
Git assignment for Advanced Software Technology.
<file_sep>/report.md
# Report
## Team members:
* 9040658 (<NAME>)
* 9041759 (<NAME>)
### (Part 6) Changes
* Mu... | 806dcbbb2a6315bd7a6498ca2255e0672494ea95 | [
"Markdown",
"Python"
] | 3 | Markdown | musharrafleo95/AST-git-assignment | 1215e6b016a35d2d579f52b5a87f8418c80ec661 | 6d31510ce0a55e3d15a5fd2566cb5525233a34cc |
refs/heads/master | <file_sep>source 'https://github.com/CocoaPods/Specs.git'
pod 'AWSSNS', '~> 2.1.0'
<file_sep>source 'https://github.com/CocoaPods/Specs.git'
pod 'AWSS3', '~> 2.1.0'
pod 'ELCImagePickerController'
pod 'JTSImageViewController'
| c7ee1f006c6ae1ea3dc7bf12bfb3f8389c1ebdee | [
"Ruby"
] | 2 | Ruby | sujalBandhara/aws-sdk-ios-samples | 2f754e0e643f445e86cd6ff8a2b0e6929ba77107 | 97c2ffda7cae67c26f192ef57e692770a0f9b940 |
refs/heads/master | <repo_name>fernandezfelicio24/Machine_Learning-Python_Neural_Networks<file_sep>/neural_network_1.py
#This program is free software: you can redistribute it and/or modify
#it under the terms of the GNU General Public License as published by
#the Free Software Foundation, either version 3 of the License, or
# (at your... | 94c5ccac4fe3ed60a71bf2c41ef51b974753e83e | [
"Markdown",
"Python"
] | 2 | Python | fernandezfelicio24/Machine_Learning-Python_Neural_Networks | 7c64684ebcae30669c3c43a4245bf848fa45371b | 6de6fceabd5e42776b24921e9e475356cc3a2df2 |
refs/heads/master | <file_sep>#include<iostream>
#include<stdlib.h>
using namespace std;
struct SLL
{
int prn;
char name[20];
struct SLL *next;
};
typedef struct SLL sll;
class Pinnacle_Club
{
private :
sll *President;
sll *Secretary;
public :
Pinnacle_Club();
sll * get_President();
void Add_Member();
void display_m... | 0de767b08ecc88be33345b62f5973e724d6e39e3 | [
"C++"
] | 1 | C++ | akshayauti/linked-list | a47366d00563294aa2cdefcf1c609a57e6697ca6 | b2733851f322f6bbc86013e1e267035f76fc150f |
refs/heads/master | <file_sep>package path.navmesh;
import math.Vec2;
import java.awt.Polygon;
import java.util.ArrayList;
import java.util.List;
import path.finder.a_star.Node;
/**
* Face class.
*
* @author <NAME> (<EMAIL>)
*/
public class Face {
private final NavMesh2D navMesh;
private final List<Vec2> points = new ... | 9bba90e6bd6c6e55d5eb0840110bcc1adfca0001 | [
"Java"
] | 1 | Java | CRY-D/Java2DNavMesh | 378fedc81ea6b3675d3eb4cd508fc5cac1f9da35 | 8deb3def3e46209b771f0d7cb56d12458c9770de |
refs/heads/master | <repo_name>scemino/DoomFire<file_sep>/extlibs/imgui/examples/libs/gl3w/GL/glcorearb.h
#ifndef __glcorearb_h_
#define __glcorearb_h_
#ifdef __cplusplus
extern "C"
{
#endif
/*
** Copyright (c) 2007-2012 The Khronos Group Inc.
**
** Permission is hereby granted, free of charge, to any person obtaining a
... | 9c148fef23161c96889b967218915eb238984480 | [
"CMake",
"Markdown",
"Makefile",
"C",
"C++"
] | 34 | C | scemino/DoomFire | d99a9e65a2b8caa58ca119547a387ca261bdf8a1 | c9702732791f3d6cb6ef3d94c06c968430ab4657 |
refs/heads/master | <repo_name>cadmuxe/pinyinjs<file_sep>/bm.js
function loadpyjs(jsname, onload){
var d = document, js=d.createElement('scr'+'ipt');
js.type = 'text/javascript';
js.async = false;
if(arguments.length > 1){
js.onload=onload;
}
js.setAttribute('src', 'https://cdn.jsdelivr.net/gh/cadmuxe/pinyinjs@2d2791dc3158b624a4dafdf8... | 3283fbcf2bce1ff209a341b5a5f79af6bfeb387f | [
"JavaScript"
] | 1 | JavaScript | cadmuxe/pinyinjs | 6816e03aa8698be2a54745cfbe71f12afa703b2e | cff20d69fa26aa2734e34ff2d1587e8cb5dcbedb |
refs/heads/main | <repo_name>lazywintercat/spring_portfolio<file_sep>/acoountbook/src/main/java/com/spring/dao/ScheduleDAOImpl.java
package com.spring.dao;
import java.util.List;
import java.util.Map;
import javax.inject.Inject;
import org.apache.ibatis.session.SqlSession;
import org.springframework.stereotype.Repository;
import... | 60553dec41a7f60be6be21a0164b8e627be73a65 | [
"Java"
] | 6 | Java | lazywintercat/spring_portfolio | b17c40fbafae318b358c6797816f328e3b7a3aaf | 88d385f8958c7da2b5d5ecbc5c88e370a5ca9722 |
refs/heads/master | <repo_name>AWernerCS/user-signup<file_sep>/main.py
import webapp2
import re
import cgi
user_regular = re.compile(r"^[a-zA-Z0-9_-]{3,20}$")
password_regular = re.compile(r"^.{3,20}$")
email_regular = re.compile(r"^[\S]+@[\S]+.[\S]+$")
def build_page(error_username='', error_password='', error_verifyPassword='', error_... | 032930a5314285895e24c8bdc9c06bdb46fe7c07 | [
"Python"
] | 1 | Python | AWernerCS/user-signup | 9ebc2d164c07150de93f036d4719dde4497ee582 | e7b03fab89b56de266354d044a83b6548f3a6433 |
refs/heads/master | <repo_name>olvb/piton<file_sep>/tests/features/06_str.py
# bool conversion
if "":
print_int(3)
# type declaration and literal
s: str = "ABC 123"
print_str(s)
# escape special chars
print_str("\"\t\n")
# TODO backslash escaping
#print_str("\\\\")
# TODO single quote, multiline
# eq/neq
print_bool("ABC" == "ABC")
p... | f5982879f9d5cdac7e867d5e3f3f78ee2b210907 | [
"Markdown",
"Python"
] | 45 | Python | olvb/piton | 66d0c0af8c3f61a138606e06b3433afe2dd7d014 | 0f197a94c8dba06a9504a6e7b585c20c22252376 |
refs/heads/master | <file_sep># log-param-spring-boot-starter
log param spring boot starter
## Usage
### pom.xml
```xml
<dependency>
<groupId>com.github.ztmark</groupId>
<artifactId>log-param-spring-boot-starter</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
```
### Annotation
```java
class DemoService {
... | 3793014fda20934aad24c307e98cc3bedacf6592 | [
"Markdown",
"Java"
] | 2 | Markdown | ztmark/log-param-spring-boot-starter | ffccdf8c1d6ba5d0f6034c7de1bc5781e2778404 | 9be12a1dc86bfb1dfe126c2e7b8ea43b4de5b39b |
refs/heads/master | <file_sep>import React, {Component} from 'react';
import Navbar from './components/Navbar';
import QuoteCards from './components/QuoteCards';
import Logo from './logo.svg';
import './App.css';
class App extends Component {
constructor(props) {
super(props);
this.state = {
working: false
};
}
h... | faec25d4e918b11e1fa3e856f17d58cfe5c901a9 | [
"JavaScript"
] | 1 | JavaScript | Paul-Arnaud/simpson-quotes | babae73bf85c3250dad95425f1ed5fcae93a831a | 9dda5f1214a0a9520c1e433798bbc1d8d3a33419 |
refs/heads/master | <repo_name>philLITERALLY/Roll-QC-V1<file_sep>/camera_setup.py
'''This module sets up the camera'''
# import the necessary packages
from threading import Thread
import cv2
# My Modules
import handle_config
import info_logger
import program_state
class WebcamVideoStream:
def __init__(self, src=0):
# initi... | 682a5d0ba80b77c7b5966aa7e7d26fe1d182d42e | [
"Python",
"INI"
] | 2 | Python | philLITERALLY/Roll-QC-V1 | d578227b42428c365b994f1c539c08323231567f | 4650f88e1c3818dd54389cfbe6ec20f67a9cba39 |
refs/heads/master | <repo_name>OB11TO/alexa<file_sep>/Thomas.py
import pyttsx3
import os
import random
import webbrowser
import time
import speech_recognition as sr
import pandas as pd
from tkinter import *
from fuzzywuzzy import fuzz
from colorama import *
import sys
import keyboard
from Funchin import *
from cmd import *
# Глобальные ... | c84a3f50f2e651e9aa1431ed5f907197fe4e2b8b | [
"Markdown",
"Python"
] | 4 | Python | OB11TO/alexa | 581155befa578450368871091100999c190d4709 | 838ee663b3b2dd14a10deba71ff05474ea1a84bf |
refs/heads/master | <repo_name>p0ria/ng-dalahoo-table<file_sep>/src/lib/table-search/dalahoo-table-search.component.ts
import {Component, ElementRef, EventEmitter, OnInit, Output, ViewChild} from '@angular/core';
import {fromEvent} from "rxjs";
import {debounceTime} from "rxjs/operators";
@Component({
selector: 'dalahoo-table-search',
... | fc92523bae2cbc2683b4d62278dacfe21ed6d0ba | [
"Markdown",
"TypeScript"
] | 9 | TypeScript | p0ria/ng-dalahoo-table | aed3cbb9bbb9cd2c3a1d6576749f56c4f9fbbf81 | 9c0f06e85b2a613025f748a35d1799bc29ad7294 |
refs/heads/master | <file_sep>TO COMPILE:
javac -d classes -cp ./junit-4.12.jar src/main/java/cs1302/lists/*.java src/test/java/cs1302/lists/*.java
*/
To EXCECUTE DRIVER CLASS:
go into DIRECTORY classes/
type
$java Driver
/* Created by <NAME> (811190857)
* #include "Driver.java"
* #include "List.java"
* #include "Node.java"
* ... | 1f32652e5ff5ec7cfc54560c22d1bd57052f1695 | [
"Java",
"Text"
] | 6 | Text | Scare983/1302SortingTimeTests | 1297f3472f660449cf2a5f53e0c8f00605f761c9 | 09982d9645d96bf32227dbc4eb1c08f1e0c96da9 |
refs/heads/master | <repo_name>panqc/mp4v2<file_sep>/sps.h
#include <stdint.h>
#include <stdio.h>
#include <assert.h>
#include "bs.h"
/**
Sequence Parameter Set
@see 7.3.2.1 Sequence parameter set RBSP syntax
@see read_seq_parameter_set_rbsp
@see write_seq_parameter_set_rbsp
@see debug_sps
*/
typedef struct
{
int pro... | f68b0fdce5a6c1f654633840e504b1e55b554c01 | [
"C",
"Text"
] | 4 | C | panqc/mp4v2 | 1d9777fb327698e2460d284903c1b96f02a73607 | 3d822840b49f4634b3d8d003807f6c8af66d5e00 |
refs/heads/main | <file_sep>let etapas = [
{
titulo: 'VEREADOR',
numeros: 5,
candidatos: [
{
numero: '38111',
nome: '<NAME>',
partido: 'ABC',
fotos: [
{url:'./img/v1.jpg', legenda:'Vereador'}
... | f5ea85fb11415d70214d0741527acce2f01c6785 | [
"JavaScript"
] | 1 | JavaScript | Nery93/urna-eletronica | 4dceb1c288d7233732bde9720a5be960db9c360e | 70a1c8edd0609c4a6ac4bf85bc06499452b37899 |
refs/heads/master | <file_sep><Query Kind="Statements">
<Connection>
<ID>757a973e-cf10-4c95-a6bd-b82677815f30</ID>
<Persist>true</Persist>
<Server>.</Server>
<Database>eRestaurant</Database>
</Connection>
</Query>
/* These statements are to build a report of income and # customers per day
* in a given month/year
*/
/... | 87e5351fac7bf7230b31b69a0fa0075c01dd07ef | [
"C#"
] | 4 | C# | Shaun83/InClass | 1e8aac66a5936d425216a70f8f6ee9a6d7724ba0 | 68b7ca0f8fc65442b883f75f4f4dc4bb57b6af7d |
refs/heads/main | <repo_name>itamar-j-allali/txbit<file_sep>/txbit/tests/test.py
from txbit import Txbit, TxbitResponse
import unittest
class TestTxbit(unittest.TestCase):
# def test_error(self):
# with self.assertRaises(TypeError):
# call_error_function()
endpoint = 'https://api.txbit.io/api/'
def tes... | 933a372ada671422b794c1a9de8355db83c718e4 | [
"Markdown",
"Python"
] | 4 | Python | itamar-j-allali/txbit | 09d3639817abe33fac58f12843ef1b3c98b5ada1 | 75a8b879532b4671ea94e6ad77b0e702308e0cf1 |
refs/heads/master | <repo_name>DenisZykov19/calculation-zaichkin<file_sep>/calc/CalControllerViewController.swift
//
// CalControllerViewController.swift
// calc
//
// Created by WSR on 6/20/19.
// Copyright © 2019 WSR. All rights reserved.
//
import UIKit
class CalControllerViewController: UIViewController {
@IBOutlet weak var... | 86b018ff434e3d35b525d7302b6af5282a45e173 | [
"Swift"
] | 1 | Swift | DenisZykov19/calculation-zaichkin | 488898bba3640859564b4434f61662c7b7e67252 | 0785a5b899906b91c29769dd26f58099fe6acf74 |
refs/heads/master | <file_sep>#include <napi.h>
#include "helloWorld.h"
// Module Inizialization
Napi::Object Init(Napi::Env env, Napi::Object exports) {
exports.Set(Napi::String::New(env, "helloWorld"), Napi::Function::New<helloWorld>(env));
return exports;
}
NODE_API_MODULE(NODE_GYP_MODULE_NAME, Init)<file_sep>const testAddon = re... | f42b2aeafb5926101b112e726d79095461464460 | [
"JavaScript",
"Markdown",
"C",
"TypeScript",
"C++"
] | 6 | C++ | Phamier/napi-addon-template | a471d48442c320d2eb71f33d5680130c8d18a0f4 | 13fec251efb01fff47d59b753ce3099a59fc9ad9 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Text;
using Adaptador.Clases;
using Adaptador.Interfaz;
namespace Adaptador.Clases
{
//Esta es la clase la cual deseamos adaptar, el cliente no la puede usar directamente pues la interfaz que usa es diferente
class CalculadoraAr... | 01808569c79c3ccd40b1b0c1cd16b73cc6289071 | [
"C#"
] | 4 | C# | diegomera1/PatronAdapter | c418629702d14ade3c36f94292a04f68b6ab52f6 | 46f713c45e95a601f3da265e4badb95d3547e2f3 |
refs/heads/master | <file_sep>import Vue from 'vue'
import Router from 'vue-router'
import Top from 'views/Top'
import New from 'views/New'
import ItemView from 'views/ItemView'
Vue.use(Router)
export default new Router({
mode: 'history',
routes: [{
path: '/',
component: Top
}, {
path: '/top',
component: Top
}, {... | 76c4dbfeb9b9472fd46c834ec40c4e5634ba5b01 | [
"JavaScript"
] | 1 | JavaScript | YUFENGWANG/v2ex-vue-webpack | dedf1f0d93e6a6cf8e34adf4d8e0b995132a94fa | 34237cdb9a83f856a7d1e2e769a6d027d41680db |
refs/heads/master | <file_sep>var MyClasses = {};
//for creating a new object based on the prototype o
if (typeof Object.create !== 'function' )
{
Object.create = function(o) {
var F = function (){};
F.prototype = o;
return new F();
};
}
//privode a way to make a method available to all functions
Function.prototype.metho... | 18d65812fec46ea310d8f1d9c3f9f91d200c9454 | [
"JavaScript"
] | 1 | JavaScript | weimingtom/Shooting-Game | 9101f103b804a98b2432a8bcd95ba4e768cce960 | fb9ce98a7388c8679663e27c15764818a1c1cbc5 |
refs/heads/master | <file_sep>package com.wenhua.svr.thread.impl;
import com.wenhua.svr.domain.ServerInfo;
import com.wenhua.svr.enums.BusinessTypeEnum;
import com.wenhua.svr.service.AuthService;
import com.wenhua.svr.thread.AbstractThread;
public class BarStatisticHandleThread extends AbstractThread {
private AuthService authService... | 166f25f15eeecd5e7237609a135fe62ceaf7d8e1 | [
"Java"
] | 1 | Java | tigerli216/wenhua | eaefdeee7a68e58f8c7f14b6bfc1b1995312b37f | 3920131650cc4ec3cf6d144041aeb7a53a425748 |
refs/heads/master | <repo_name>FIGS-FESS/DADB_Flywheel_77D<file_sep>/main.c
/* Title: SASB Single Axis FLoator Test Code
* Author: <NAME>
* Purpose: Through use of a PID controller a current sensor and a displacement sensor, the code controls both axis of the top bearings of the flywheel.
*/
/*
* Includes
*/
#include "F28x_Project.... | 75c658a3fbcbb52df30bd30e4fca3c943095e7c0 | [
"Markdown",
"C"
] | 2 | C | FIGS-FESS/DADB_Flywheel_77D | ce1b6aac8b91659fa728dfc733f4fd5b725eb28e | be33cd04d380b301a8ab3306d9fe3ddfd748acb2 |
refs/heads/master | <file_sep><!DOCTYPE html>
<html>
<head>
</head>
<?php echo $__env->make('login.partials._header', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<body>
<div class="login-wrap">
<?php echo $__env->yieldContent('content'); ?>
</div>
</body>
</html><file_sep><?php $__env->startSection('c... | b653ea93535d1f5963cecec9509cf7402c741cfe | [
"PHP"
] | 9 | PHP | acidopal/blogku | 9787aff11d6ee60f2feeeebf9cc357a324d82a0f | f085c9abe1b1c677203266dc990c3852dbc9aa95 |
refs/heads/main | <file_sep>{% extends 'index.html' %}
{% block content %}
<div align="center">
{% for dentist in dentist %}
<div align="center" style="float:left;">
... | db02f55dd1bbb64da9e36c27b1c188487c11493b | [
"Markdown",
"Python",
"HTML"
] | 7 | HTML | Narayanaraodumpala/dentalproject | 46c8211b05cabc5f07a9deac22d574cb9034fd32 | ab343f586c5ea5306a977131ae8570e4ffcac8a5 |
refs/heads/main | <file_sep>import numpy as np
def calculate(list):
if len(list) < 9:
raise ValueError("List must contain nine numbers.")
input = np.array(list).reshape(3, 3)
calculations = {
'mean': [np.mean(input, axis = 0).tolist(), np.mean(input, axis = 1).tolist(), np.mean(input).tolist()],
... | 41185696d259875927ee77eafa0f747157b538d3 | [
"Markdown",
"Python"
] | 5 | Python | muhammadmj/DataAnalysisProjects | a08883d59d74c873213134189644fae41cfa9134 | 5e72771defe9a383ff027eb760122ab6ad675df1 |
refs/heads/master | <file_sep>import re
import time
import sys
import os
import pandas as pd
import requests
import random
def getArgvDict(argv):
optionDict = {}
c = 0
for i in argv:
if re.match(r'-\D', i):
optionDict[i] = argv[c + 1]
c += 1
return optionDict
def ScrapyTarScan(url, regEx):
time.sleep(random.unifo... | f6439edddf6567e0753f5793428fe3aa84e4f046 | [
"Markdown",
"Python",
"Shell"
] | 3 | Python | WeiYang-BAI/Osteo-miRNA-Target-Prediction-Tool | 144b118653893c43eb00f8d1fc188cc3d9dd72fa | de1eee657f70e10c766d518e531f7a43ded4828d |
refs/heads/master | <repo_name>OscarCode9/oscarCodePythonApi<file_sep>/userMode.sql
CREATE TABLE Users (
id INT(6) UNSIGNED AUTO_INCREMENT PRIMARY KEY,
firstName VARCHAR(30) NOT NULL,
lastName VARCHAR(30) NOT NULL,
email VARCHAR(50),
password varchar(150),
username varchar(50) NOT NULL UNIQUE
)<file_sep>/api.py
from flask import Flask, r... | 09c661dd64189890f0923278bbd92ef7cf3ffe34 | [
"SQL",
"Python",
"Text"
] | 3 | SQL | OscarCode9/oscarCodePythonApi | c0875dde59316ade4f8c87b8a036be294b9df1f6 | 96c9bf6bbff99119953d7eca255fbdec9b53f144 |
refs/heads/master | <file_sep>puts "Which month of the year is your birthday in?"
month = gets
month = month.to_i
if month < 0
puts "Hey! That's not even a month!"
elsif month > 0
if month == 1
puts "Brr. Your birthday is in the winter."
elsif month == 2
puts "Brr. Your birthday is in the winter."
elsif month... | f88f951b40979450fe11ada6ae109413bda78317 | [
"Ruby"
] | 1 | Ruby | chrisnicola/llc-ruby | 173bc2f1008802492af370c42399adf186e4e3a0 | ceeb0c6bf407fa63396410b2f60a753bb1c97206 |
refs/heads/master | <file_sep># HackTJ
This is the code that I used in our hackathon project, ExpressCheck. The code allowed me to create a grocery shopping reccomendation system to help shoppers.
<file_sep>import pandas as pd
from sklearn.feature_extraction.text import TfidfVectorizer
from sklearn.metrics.pairwise import linear_kernel
d... | f7b0c65dc880129ca91f0ad2b5b2ec434e39a348 | [
"Markdown",
"Python"
] | 2 | Markdown | rohkalra/HackTJ | 0becafc4ac38572f90a999c5d299f968848d63de | 60892d1b6eb10e22c1a68b2a4a86959ceb395930 |
refs/heads/master | <file_sep>#!/usr/bin/env python3
import click
from Crypto.PublicKey import RSA
import base64
import pyotp
import qrcode
import qrcode.image.svg
import requests
from urllib import parse
from urllib.parse import urlparse
# this function is from https://github.com/WillForan/duo-hotp
def qr_url_to_activation_url(qr_url):... | ad7b8a5661e3e186c5258c0c58c8991d101558f3 | [
"Markdown",
"Python",
"Text"
] | 4 | Python | evan-goode/duolibre | 736ce53288d3277bb10a57a9622cbcde3a5296d6 | 5db213400c51eafa9309f09148ee7060a6fe799e |
refs/heads/master | <repo_name>biodataprog/GEN220_2019_examples<file_sep>/Bioinformatics_2/parse_orthofinder.py
#!/usr/bin/env python3
import csv
orthogroups = "Orthogroups.csv"
groups = {}
with open(orthogroups,"r") as ortho, open("Orthogroups_counts.tab","w") as ogout:
rdr = csv.reader(ortho,delimiter="\t")
wrt = csv.writer(og... | 6eb42cc13d2fa09b5df0831b843cf1ee0843417a | [
"Markdown",
"Python",
"R",
"RMarkdown",
"Shell"
] | 31 | Python | biodataprog/GEN220_2019_examples | 0756569a8cc855341b1bfa85a8d14fce19be22d8 | b6ef70fbf4d1169a0cc12a1ca74b2c70ff9af7fe |
refs/heads/main | <repo_name>ishani1124/gfg<file_sep>/array/appearsOnce.cpp
/*
Find the element that appears once
Given a sorted array A[] of N positive integers having all the numbers occurring exactly twice, except for one number which will occur only once.
Find the number occurring only once.
*/
#include <bits/stdc++.h>
using name... | 8dd79378c518bac1864cddfa9012851e7374ad9d | [
"C++"
] | 1 | C++ | ishani1124/gfg | 78cf3509ff46306724df746107e2d06e30baa70c | 5e2bc59982ffba3669b9981e6c6e6118b9fbb8e2 |
refs/heads/master | <file_sep>var server = require('karma-server-side')
var expect = require('chai').expect
var isBrowser = !require('is-node')
function isSupportedBrowser () {
if (isBrowser) {
var browser = require('detect-browser')
if (browser.name === 'ie' && parseInt(browser.version.match(/(\d+)./)[1]) <= 10) {
return... | df8925a4f7fe91a3c54bad4d82f02dc05895c14d | [
"JavaScript"
] | 1 | JavaScript | esme-noodle/browser-monkey | cea7cdc06ade89b13fa7918457b3ab461865c169 | 1fab982c5ce14ee09a4252c335ade3c0e3b6a03e |
refs/heads/master | <file_sep>using System.Collections.Generic;
using System.Linq;
public class GradeSchool
{
private List<(int Year, string Name)> register = new List<(int, string)>();
public void Add(string student, int grade)
{
register.Add((grade, student));
register.Sort();
}
public IEnumerable<... | e6e82f6f3e7887917698ad99e506d73772aa3965 | [
"JavaScript",
"C#",
"Python",
"Markdown"
] | 35 | C# | jonboland/exercism-solutions | 59047bc3fc9c64a1380f393fa5be31a9f7d7d166 | 7db073a9329efa83d9c7630d69d437ec61873fda |
refs/heads/master | <repo_name>m42cococa/RepData_PeerAssessment1<file_sep>/PA1_template.Rmd
---
title: "Reproducible Research: Peer Assessment 1"
output:
html_document:
keep_md: true
---
## Loading and preprocessing the data
This also includes loading dependent packages.
```{r}
library(ggplot2);
library(plyr);
#Read activi... | 122e66ec6df57a6065ed2788a245b2d9c56fe0e3 | [
"Markdown",
"R",
"RMarkdown"
] | 3 | RMarkdown | m42cococa/RepData_PeerAssessment1 | e1c51d1808c9d0c37036d1e413f2ccaa341e7893 | 5cde23203c82dad673c34294307daad97302cc0d |
refs/heads/master | <repo_name>Karim-Johnson/projet_cv<file_sep>/crud/formation/about.php
<?php
include_once '../../config/database.php';
$reponse = $database->query("SELECT * FROM formation ORDER BY id DESC");
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width... | abff33d0ba3b26e52c24775d29d779c95270cbd2 | [
"Markdown",
"PHP"
] | 14 | PHP | Karim-Johnson/projet_cv | 20bb5e5fe031c196e3d4770cafb250fe7625a649 | 00814a620e46f927acadcf6b7e68c6e450d4e0d1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.