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>stevekane/CardTricks<file_sep>/CardTricks/Target.swift
import Foundation
import SpriteKit
protocol Target {
var target: CGPoint { get }
}<file_sep>/CardTricks/Seeker.swift
import Foundation
import SpriteKit
protocol Seeker {
var target: Target? { get set }
func moveToTarget (duration: NSTimeInt... | 677e7e479788ea17e3b096436885d1826ec0bbc6 | [
"Swift"
] | 11 | Swift | stevekane/CardTricks | 8de4156d50911a1f9068786584fead3158c18a26 | ff86481d034d47a31080c6ca52596228f64f1924 |
refs/heads/master | <file_sep>import * as Actions from './constants';
export function saveProducts(data) {
return {
type: Actions.SAVE_PRODUCT_SUCCESS,
data,
};
}
<file_sep>import * as Actions from './constants';
import {getToken} from '../../helper/helper';
const initState = {
data: {
PaymentMethods : [],
Stores :... | 48ec911f6bbc12078b2eba779167167851d04382 | [
"JavaScript"
] | 11 | JavaScript | hoanganhover/eoapp | fff6bb8c6fe72b7a88c9d00077647dec250086b6 | 5ec5758dec20d5628d0fc68fab49793e7381be00 |
refs/heads/master | <file_sep># London Utility Coin
This is the complete backend code for the London Utility Coin (LUC) Hyperledger Fabric blockchain. LUC is a cryptocoin which incentives users to save on utility usage using the motivation of a simple cryptocurrency. LUC can be traded to benefit utility users who may be struggling to pay... | 37dcc90a7e68816ce142684dd9b006847799cdf8 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | eklass3/London-Utility-Coin | b67deca233da9af344ff3d79bdd2cbc92a75043b | 9475f7ae7bcca4b5d107c4679db4d860ce5e7b13 |
refs/heads/main | <repo_name>MarielleAkser/Master_thesis<file_sep>/Makefile
.PHONY: B1 sauna
all:
@echo "Choose B1 or sauna"
B1:
cd B1 && docker build -t b1_out .
# --------------------------------------- #
# Open a new terminal window and open ssh #
# --------------------------------------- #
docker run --rm -i -p 55555:22 -t b... | 9e6c133ff440426d16c21699e2176fd185d12d6d | [
"Python",
"Makefile"
] | 8 | Makefile | MarielleAkser/Master_thesis | ee415c2af23b60094d573d53641624656a547953 | 1e8c0596d2b7ba7f9667e9ec94eb208bf1f88ffd |
refs/heads/master | <file_sep>import pandas as pd
import numpy as np
def abs_mean(data1, data2):
argsrt_1 = data1.argsort()
argsrt_2 = data2.argsort()
return np.abs(argsrt_1 - argsrt_2).mean()
def abs_median(data1, data2):
argsrt_1 = data1.argsort()
argsrt_2 = data2.argsort()
return np.median(np.abs(argsrt_1 - ar... | 335ae8eef3bef300794d25a2e3f70bf5ffd65b0a | [
"HTML",
"Markdown",
"JavaScript",
"Python",
"R",
"RMarkdown",
"Shell"
] | 160 | Python | davidcmm/campinaPulse | 4142bc6e306ff2b95452b2db466a8a48c003555d | 6ba006a13744f2488d650928129b9d2dcdae46aa |
refs/heads/master | <repo_name>manoli2013/Connect-4<file_sep>/index.js
//Areas
let welcome = document.getElementById('welcome');
let results = document.getElementById('results');
let tableroContainer = document.getElementById('tableroContainer');
let board = document.getElementById('tablero')
let turnoJugador = document.getElementById('... | fc4d76fdfa919f68b668c4655fbabe62cca64614 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | manoli2013/Connect-4 | 7dbd21af2602f1a2a825d839ebf2fa9f3de3f233 | 4d4ac14a3ec800570f6dd0573d7cf552998c390a |
refs/heads/master | <repo_name>homogeneous/ConfigFiles<file_sep>/README.md
# Config Files
Run commands or dot files
<file_sep>/bashrc
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYSTEMD_PAGER=
# User speci... | e31ee77a774fd2596b71ef59a166993bf992c7e7 | [
"Markdown",
"Shell"
] | 2 | Markdown | homogeneous/ConfigFiles | 62e52116245846928aae620951e12158b40ee603 | a1f6a0c5d23e261b431699f5ace1a837821023a8 |
refs/heads/master | <repo_name>syafiqfaiz/flickr_jr<file_sep>/app/controllers/photos.rb
namespace '/photos' do
get '/upload' do
@user = User.find(session[:id])
@albums = @user.albums
erb :'/photos/upload_photo'
end
post '/create' do
album = Album.find(params[:album_id])
@photo = album.photos.build
@photo.fi... | bc0f7983353e490ff2e4af9374f2d67774424265 | [
"Ruby"
] | 5 | Ruby | syafiqfaiz/flickr_jr | f4595ce1160a8b3dc1d21572223cf3365bcc15c6 | ae500ff2f8a9cf05c5e861ae505177453483e2d4 |
refs/heads/main | <repo_name>pitosalas/teamation<file_sep>/app/models/project.rb
class Project < ApplicationRecord
belongs_to :course
scope :active, -> { where(is_active: true) }
scope :onhold, -> { where(is_active: false) }
# def self.active
# Project.where(is_active: true)
# end
#
# def self.onhold
# Project.whe... | 06388214c9c64401e6f4c53ed819c80d361bcfe6 | [
"Ruby"
] | 6 | Ruby | pitosalas/teamation | 362bd1bc448f81ee5aadf7d0682bc4a95c0c243c | e01261098474950c1209e90d20f433ef6f43cf06 |
refs/heads/master | <repo_name>Gugu04/simpleApiRest_java<file_sep>/apirest_jdbc/src/main/java/com/api/rest/services/interfaces/LibroService.java
package com.api.rest.services.interfaces;
import com.api.rest.dto.LibroDTO;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public interface LibroService {
... | ec4c98c80bd278476bdb558e575d55095458ea23 | [
"Markdown",
"Java"
] | 6 | Java | Gugu04/simpleApiRest_java | cb39b5af3ebad5669e25a8932396677d5d9a888d | e15494dd8be3b3a66fc903f687453a780717cb3c |
refs/heads/main | <repo_name>diawara24/TravelAgency<file_sep>/php_client/Client/traitement.php
<?php
/* Test d'appel a un WEBService */
$wsdl = 'http://localhost:8080/com.travel.webservice/services/TravelPort?wsdl';
$options = array('cache_wsdl' => WSDL_CACHE_NONE);
try {
$clientSOAP = new SoapClient($wsdl, $options);
//... | 6607c366d9047edfbc697f5b669ecd375e57b2a3 | [
"SQL",
"PHP"
] | 2 | PHP | diawara24/TravelAgency | 3ac198c10326edc98be342c37e94b7fc51aec414 | 7dd303c90511887ddc4bc90aae47e78afb13832e |
refs/heads/master | <file_sep># include <iostream>
# include <conio>
# include <fstream>
int valor(int a, int b, int cc)
{
int v[10],s;
for(int i=(a-1);i>=0;i--)
{
v[i]=b%2;
b=int(b/2);
}
s=v[cc];
return s;
}
int AND(int a, int b)
{
int s;
if(a==1 && b==1)
{
s=1;
}
else
{
s=0;
}
... | daba972e67d104c8e96087e14fd43f1a0137105a | [
"C++"
] | 1 | C++ | MartinBF/ProyLPEquipoG11 | 9342f5b1733fe8b22b6ce1903e591fa65b482567 | 0bbcfef8dfdd1da1ebc1a1210d802af97c131501 |
refs/heads/master | <file_sep>#ifndef GDB_H
#define GDB_H
#define GDB_BUFMAX 256
#define GDB_NUMBER_OF_REGISTERS 64
void gdb_handle_exception(void);
void gdb_debug_info(unsigned char *str);
void gdb_init_debug_exception(void);
void gdb_init(void);
#endif /* GDB_H */
<file_sep>/*
* Copyright (c) 2019, Intel Corporation
* All rights re... | c8bc0075ce9556085f42795a849d6466480ab96b | [
"C",
"CMake",
"Shell"
] | 7 | C | xun2z/sof | 9c11127deb96cd3ee4c568156b724b6aa8a1842e | ee18d9132c162728e19f0df1b75f5703d1caa36c |
refs/heads/master | <repo_name>hataeho1/Cpp-Study-2015-2-BattleShip<file_sep>/BattleShip/BattleShip/Main.cpp
#include <stdio.h>
#include "Ship.h"
#include "AirCraft.h"
int main(void)
{
AirCraft airCraft;
airCraft.AddPosition(Point('a','1'));
airCraft.PrintLocation();
printf("[Aircraft] name = %s, hp = %d\n", airCraft.GetName().c_st... | 192344abd26664ff3e538095fc480b48bd38dd04 | [
"C++"
] | 7 | C++ | hataeho1/Cpp-Study-2015-2-BattleShip | 00766c89c0efa5203864c303f735544ea38921b0 | 20189a49e45b43220b784ad1993087f2f9f38cca |
refs/heads/master | <repo_name>nevaan9/FacialRecognition<file_sep>/FacialRecognition/testingNeuralNetworks.py
import sklearn
from sklearn.datasets import load_breast_cancer
cancer = load_breast_cancer()
i = 0
for key in cancer:
print(key)
print(len(cancer['target']))
print(len(cancer['data']))
print(cancer['data'][0])<file_sep>/Fac... | 97404b0f10d1e5a9d63e7b2e6f2c0ac9df6ce74f | [
"Python"
] | 5 | Python | nevaan9/FacialRecognition | 84ee27c3543a334514809597c321adf3d99e1bae | 9ef580da09418116abe2b8198d9cc9e84df23ecb |
refs/heads/master | <file_sep>import { connect } from 'react-redux';
import { State } from '../../state-mgmt';
import { ItemModel } from '../../models';
import List from './List';
const mapStateToProps = (state: State): { list: ItemModel[] } => ({
list: state.items.list
});
const mapDispatchToProps = (dispatch: any) => ({});
export ... | 82baa8167fc66141e6f9bbf78f1c36cc8cce4da0 | [
"Markdown",
"TypeScript"
] | 27 | TypeScript | danielisaacgeslin/ML-POC | 1fa76c3ab2aa50ec1303ca9afe3da9c7d2702aca | 6e39af515cb61006f8c78fbf092472ec49321e6c |
refs/heads/master | <file_sep># id and user
ID=-1
USERNAME=NONE
TMPID=-1
TMPUSER=NONE
# 是否被注册
ISREGISIZE=FALSE
# 上次是否异常退出
STATUS=0
<file_sep>//log.h 日志头文件
#ifndef _LOG_H_
#define _LOG_H_
/*
#define IC_NO_LOG_LEVEL 0
#define IC_DEBUG_LEVEL 1
#define IC_INFO_LEVEL 2
#define IC_WARNING_LEVEL 3
#define IC_ERROR_LEVEL 4;
*... | a55c9246b0505776ea7693692e5dca9083435e8c | [
"Markdown",
"Makefile",
"INI",
"C",
"C++"
] | 10 | INI | gitsshylalala/mykdc | a5ee7e3f1653cb15c8a77b30d24d54f8c1ffbfbc | edd2e73bc3bbb9f34a3b34d0fd0a837f2dacfed8 |
refs/heads/master | <repo_name>u9520107/js-editor<file_sep>/README.md
js-editor
=========
javascript json-schema library and command line tool
javascript based json-schema building and editing library
----
cli tools
-------
<file_sep>/index.js
#!/usr/bin/env node
var commander = require('commander');
commander
.version('0.0.0')
.u... | 889dd217edfdd847da4501edffbe4d69fa085e44 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | u9520107/js-editor | 9ddb8e12e957e26bf71706b210e59e1be69c97ae | 877f09f3ace6590165d356717e0c583c8c7dabb5 |
refs/heads/main | <file_sep>[](https://travis-ci.com/dgrundel/outie)
# outie
A customizable templating engine for node, written in TypeScript.
## Basic usage
### Render a simple string template
[See this example on RunKit.](https://runkit.com/dgrundel/outie-hello-... | d12014f895487d9abe7e63095e75185d8f1c052e | [
"Markdown",
"TypeScript"
] | 23 | Markdown | dgrundel/outie | 4f7075ba03e93672ceec81cfaf9d21c37ff5cb73 | 2eacf0989c21b2ca6b0ce48d4c707e201d407329 |
refs/heads/master | <repo_name>rupakraj/JPlot<file_sep>/GraphPanel.java
/*------------------------------------------
FILE : GraphPanel.java
AUTHOR : <NAME>
DESCRIPTION : It is the Panel, used to display the graph
Extended form
- JPanel
- IDataObserver
DATE :
NOTE : Developed for the APT assignment
---------------------... | 3d44f7314df9b777c9a8316bff130eb8e2379b41 | [
"Markdown",
"Java",
"Makefile"
] | 3 | Java | rupakraj/JPlot | 9ffb44fffdb7b2de5d81e3d526d9321a3338f5ca | df8b0768329315ce8322b293d9e071f372bc4c90 |
refs/heads/master | <repo_name>dhananjaypahuja/BinarySearchTrees<file_sep>/src/Pahuja_PA2/BinarySearchTree.java
//package Pahuja_PA2;
//
//import java.util.ArrayList;
//import java.util.List;
//
//public class BinarySearchTree {
// public class Node {
// private Node left;
// private Node right;
// private Node parent;
// private Pati... | 1ac8b3ff13770fa6489fc3cca8298f1afb7b3506 | [
"Java"
] | 5 | Java | dhananjaypahuja/BinarySearchTrees | 2a5cf24c46e23d88b573d668dca8264bcdc443b1 | e3d496f50e7103c3153054a971a6a49ebbfe1e34 |
refs/heads/master | <file_sep>package com.cabinet;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import ilog.concert.IloException;
import ilog.concert.IloLinearNumExpr;
import ilog.concert.IloNumExpr;
import ilog.concert.IloNumVar;
import ilog.concert.IloRange;
import ilog.opl.IloCplex;
public class Proble... | a0e8c51394feee2d0c01e6cc8f7a860211beb1f4 | [
"Java"
] | 1 | Java | cksidharthan/cplex-for-beginners | fc9992e9a2955d974ab1bbe226b6561920615354 | d21f2fb39f6b5c1766d38053e58d30600ed634fb |
refs/heads/master | <file_sep># -*- mode: ruby -*-
# vi: set ft=ruby :
# cannot use .dev as we get an error
# : gem update --system, your-dns-needs-immediate-attention.dev
#
domain = "test"
setup_complete = false
# NOTE: currently using the same OS for all boxen
OS="centos" # "debian" || "centos"
# All Vagrant configuration... | 11fe46ebf97ab784b03a9363f7422b28b74c405f | [
"Ruby"
] | 1 | Ruby | dheles/findit-ansible | a954220e3ca764a5444abd6921d5871c367263e8 | 73e8daf7ecfb7b33ddd550c86ed9b67c64a82299 |
refs/heads/master | <repo_name>stevekinney/socketry-server<file_sep>/index.js
var WebSocketServer = require('ws').Server;
var socket = new WebSocketServer({ port: 8080 }, function () {
console.log('WebSocket server started on Port 8080...')
});
socket.broadcast = function(data) {
this.clients.forEach(function (client) {
client.se... | b16c39da7b9c78dda42b20ee83b835080d9bc12c | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | stevekinney/socketry-server | 3919086c83a5ff30ff5737fbec23b21625459b56 | c88247d5e736f0aa7e7342abc48aa19b67ecc0d6 |
refs/heads/master | <file_sep>controller.B.onEvent(ControllerButtonEvent.Pressed, function () {
if (myMario.isHittingTile(CollisionDirection.Bottom)) {
myMario.vy = -100
}
})
controller.A.onEvent(ControllerButtonEvent.Pressed, function () {
if (myMario.isHittingTile(CollisionDirection.Bottom)) {
myMario.vy = -1... | ac07eb6caf8563f93c9646b426702a7627320062 | [
"TypeScript"
] | 1 | TypeScript | malthe25/donkey-kong | 6f6aabc649c21dd7f6a849eaa7e1b0073712f1c6 | 2af379ab5287f14f492ac6c69e1d1a3cc83dcf05 |
refs/heads/master | <repo_name>mertkahyaoglu/jekyll-admin-demo<file_sep>/app/actions/project.js
export const REQUEST_CREATE_PROJECT = 'REQUEST_CREATE_PROJECT';
export const CREATED_PROJECT = 'CREATED_PROJECT';
export const FOLDER_CHOOSEN = 'FOLDER_CHOOSEN';
export const RECEIVE_PROJECTS = 'RECEIVE_PROJECTS';
export const CLEARED_PATH = '... | 4fd99a0ecb4a498055c5504094d259de7c99acec | [
"JavaScript",
"Markdown"
] | 13 | JavaScript | mertkahyaoglu/jekyll-admin-demo | b5b4e9807e3916abe1dbb79e7fb4beaaa6fefc55 | 1f324d0e57fb740111eca991588cb35018c805f6 |
refs/heads/master | <file_sep>var animationTimeline;
function bgExitHandler() {
Enabler.exit('bgExit');
}
function ctaExitHandler() {
Enabler.exit('ctaExit','http://www.lialda.com/hcp/support-resources.aspx');
}
function fpiExitHandler() {
Enabler.exit('fpiExit','http://www.lialda.com/hcp/lialda-prescribing-information.aspx');
}
// a... | 475550c0d0a798b20051634826bec39b240e5b28 | [
"JavaScript",
"Ant Build System"
] | 4 | JavaScript | gsmolina76/Portfolio | 4b17979329a167552b416f04bac664467012861a | c174f3b7edf5f18202277e830ccebeeae2b24a97 |
refs/heads/master | <repo_name>cooper25/loertis.dev<file_sep>/README.md
# loertis.dev
My personal website, loertis.dev is now open-source.<file_sep>/src/pages/index.jsx
import * as React from "react"
import Layout from "../components/main.css"
import { Helmet } from "react-helmet"
// markup
const IndexPage = () => {
return (
<eleme... | 443de2294c6d8a0d2f61194d269a60dedb4c6d8c | [
"Markdown",
"JavaScript"
] | 2 | Markdown | cooper25/loertis.dev | b561ae5099657f6e4dd5fdd1a1952c29532ceaac | e5c9c79c586fb6703231b6109c0f02320f257ad2 |
refs/heads/master | <repo_name>shingt/VSD_image<file_sep>/vsd.h
//
// vsd.h
//
// Created by <NAME> on 4/30/13.
// Copyright (c) 2012 <NAME> All rights reserved.
//
#ifndef VSD_H_
#define VSD_H_
#ifndef CV_H_
#include <cv.h>
#endif //CV_H_
#ifndef HIGHGUI_H_
#include <highgui.h>
#endif //HIGHGUI_H_
enum VSDImageFeature {
VSD_SIFT... | f2eb2f613bca15d0afe05e3be57403d299b2833a | [
"Markdown",
"CMake",
"C++"
] | 4 | C++ | shingt/VSD_image | d776e72912d0fd2133215618ab6b161a65572fce | 73279367aa711d8a26aa28b5abf6e9e1532c051e |
refs/heads/master | <file_sep>#This is test code
print("not hello world")
| af47209d97c7d540294c23694799f2ae3553420c | [
"Python"
] | 1 | Python | nygit/testrepo | 5bad05515214d8dd5a9172abe3f27f9a79001ef8 | 2e46041683581fef5a869a2a3de3a7d1c6b33178 |
refs/heads/master | <file_sep>TODo Minggu ini:
1. Ada pilihan filter waktu buka RTLH
1. Data kota ambil dari database, row pertama..........OK-DONE
1. ID RTLH = KODE RTLH tipe string = KODE_KOTA + ID.....OK-DONE
2. Hapus RTLH langsung del...............................OK-DONE
3. Ganti icon toolbar dan diperbesar................ | b6363fc26aedbb7bf8886fd4408771539797ac5a | [
"C#",
"Text"
] | 3 | Text | gueshindu/tugas-akhir-itats | 01d0827caedb9932232f178171afd9b82b97336d | 8f62f2bc0ab399458bc977cd8063ab66979d8e2f |
refs/heads/master | <file_sep>from __future__ import print_function
from dungeon_functions import *
import boto3
from datetime import datetime, timedelta
import decimal
dynamodb = boto3.resource('dynamodb', region_name='eu-west-1')
database = dynamodb.Table('dungeon')
# --------------- Helpers that build all of the responses -----------... | b3ce36df5ccbd023dc216bf6f270b0e888a0a777 | [
"Python"
] | 2 | Python | Mortafix/dungeon | af13c265bf5558ba9dea35a9d4f5870a7730f39d | 3fb299af93ebe88645a5c026783f059f02297c5b |
refs/heads/master | <repo_name>alinpreda2694/Foundations-of-Business-Data-Analytics-Architectures-Statistics-and-Programming<file_sep>/README.md
# Foundations-of-Business-Data-Analytics-Architectures-Statistics-and-Programming
This repository contains Jupyter Notebooks and Py files containing the mandatory assignment projects neccesary f... | b3e945dc0e10432f092f9d9dc32581ce80c8fba6 | [
"Markdown",
"Python"
] | 3 | Markdown | alinpreda2694/Foundations-of-Business-Data-Analytics-Architectures-Statistics-and-Programming | e948c31a7be2f77801392cd428f468aad1656144 | fc25ca9e03cee596335206f4581d3014828f1b42 |
refs/heads/master | <repo_name>zchristy/React-UI-Components<file_sep>/Project-II-Calculator/calculator/src/App.js
import React, { Component } from 'react';
import './App.css';
import Display from './components/DisplayComponents/CalculatorDisplay'
import NumberButton from './components/ButtonComponents/NumberButton'
import ActionButton fr... | e8e6d1815537fc32435226c2c6346d5a9e46c948 | [
"JavaScript"
] | 6 | JavaScript | zchristy/React-UI-Components | aece971007b9ad48c6bedf43509ee69f8f46c66b | 4271ec1607e57f836063a08a7c79192637fd9458 |
refs/heads/master | <file_sep>//////////////////////////////////////////////////////////////////////////////////
/* Site: SMTC Florida
Customer: Lumira
FileName: Amira_Functional_Test.c
Revision: 1
Created on: 10/05/2021
Last Modified: 10/06/2021
Developer(s): B.Trigoboff
Des... | 22ae1b9d34085bb1cc2c9ba71cb86395c410d532 | [
"C#",
"C++"
] | 3 | C++ | btrigoboff/Lumira | 5e29a7bd457c9f47a03bf7038fdda2178eb3b39b | c15efa9aeec82f101dbe2a3d2112b1b8bb625fa1 |
refs/heads/master | <file_sep>package audio;
import net.sf.fmj.media.rtp.RTPSessionMgr;
import net.sf.fmj.utility.URLUtils;
import java.io.File;
import java.io.IOException;
import java.net.InetAddress;
import javax.media.*;
import javax.media.control.FormatControl;
import javax.media.control.TrackControl;
import javax.media.format.Audio... | 265a4e72d4015d752efcadcbf8d892ddc779b5ae | [
"Java"
] | 5 | Java | tungmaisudo/SipClientExample | ce9c5ccab16e988badf5ed85edd4b3c66466141b | f92ccb225acebcc38b4a5d3767f0b0e59027c758 |
refs/heads/main | <repo_name>pancho404/Desarrollo-FlappyBird<file_sep>/FlappyBird/assets.h
#pragma once
const char kannaFilepath[] = "res/kanna.png";<file_sep>/FlappyBird/Obstacle.h
#pragma once
#include "raylib.h"
class Obstacle
{
private:
Rectangle upperRec;
Rectangle lowerRec;
Rectangle gap;
public:
Obstacle();
~Obstacle();
vo... | b99f7351027d0bbf18d1bdc01533c3ebd51aea63 | [
"C",
"C++"
] | 17 | C | pancho404/Desarrollo-FlappyBird | e634d8ba2a48506ec00d3d79d2c666c9fd47af84 | e06f1cb77c891e4ac1f97ece1e9c8bf1d7ba4aed |
refs/heads/master | <file_sep>#ifndef TABLERO_H
#define TABLERO_H
class Tablero
{
private:
//vector<vector< "algo" > > //matriz
public:
Tablero();
~Tablero();
};
#endif // TABLERO_H
<file_sep>#include "coche.h"
Coche::Coche()
{
}
<file_sep>#ifndef COCHE_H
#define COCHE_H
class Coche
{
public:
Coche();
~Coche... | 3a52c6d219469441a11cf8dacbcb437738b5b664 | [
"C++"
] | 3 | C++ | PanchoMen/ICar | c49fdfdb122b4a978dfd7b7a7ad719fccbd161b4 | 83dd64012359d3ef2630cb3700ff712b9c58db24 |
refs/heads/master | <file_sep># -*- coding: utf-8 -*-
"""
Created on Tue Feb 25 12:26:02 2020
@author: sanan
"""
import matplotlib.pyplot as plt
import cv2
import numpy as np
def draw_keypoints(kp, img):
sift_img = cv2.drawKeypoints(img, kp, np.array([]), flags=cv2.DRAW_MATCHES_FLAGS_DRAW_RICH_KEYPOINTS)
return sift_... | dafc253a6ca817858dd8a037705b9e0881ca8f88 | [
"Python"
] | 1 | Python | snaz268/Computer-Vision | 883c6693e1949f8f4a4422021ad9205baff5ce53 | b53c3bc27354b994de4624323e9092cd19fb318c |
refs/heads/master | <file_sep>// Copyright 2015-2016 <NAME>.
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice and this permission notice appear in all copies.
//
// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHORS DI... | 849492b926d63aaa2415d73fa682c4c449bef17f | [
"Rust"
] | 1 | Rust | Aaronepower/ring | 481bac54257a33bd889f6db71d360cf13ac9548b | d28a1e235aa45ed4e9a60c0c2f10466462da490f |
refs/heads/master | <file_sep>endian
======
[](https://circleci.com/gh/stny/endian)
A middle-endian (16-bit little-endian) package.
Installation
------------
```
$ go get github.com/stny/endian
```
<file_sep>// Copyright (c) 2014 <NAME>
package endian
var MiddleEndian ... | 480dbaf467931c178fb4bab994b697a3d8f371d6 | [
"Markdown",
"Go"
] | 3 | Markdown | stny/endian | 5a154942cfd11de7e9f82feea7ef07ff0ef6d63a | 0f5e82a3ce794c7050957330941f1bcbf31c248e |
refs/heads/master | <file_sep>
/* Enter the code to remove the node element here */
document.getElementById("main").remove();
const newHeader = document.createElement("h1");
newHeader.id = "victory"
newHeader.innerHTML = "Flatiron School is the champion!";
newHeader.className = "victory"; | 18d55a727656eaca0870166227728c0c60b20667 | [
"JavaScript"
] | 1 | JavaScript | belindalei/fewpjs-removing-altering-and-inserting-html-lab-nyc-web-080519 | 854c4ed0d5525a331999de637216560ba6055017 | 2158e7bb0e93630c04075627b6556072011a5373 |
refs/heads/master | <file_sep>'use strict';
/*
* Copyright IBM Corp All Rights Reserved
*
* SPDX-License-Identifier: Apache-2.0
*/
/*
* Chaincode query
*/
var Fabric_Client = require('fabric-client');
//var Fabric_CA_Client = require('fabric-ca-client');
var path = require('path');
var util = require('util');
//var os = require('os')... | e7c3872c7bded37b67b1408f25cbeab6ec80ae39 | [
"JavaScript",
"Go",
"Markdown"
] | 3 | JavaScript | Tunstad/hyperledger-pi-composer | b9e6423e388d64a280bdfba5204b792182cd1fb2 | 6bee3df5fc101827bed8ce33f21f8b2f443575a0 |
refs/heads/master | <file_sep>Code for Some of Kaggle Challenges:
1) Titanic
2) Digit Recognizer
<file_sep>
# coding: utf-8
# In[12]:
from sklearn.neighbors import KNeighborsClassifier
import csv as csv
import numpy as np
def read_data(file):
data = []
with open(file, 'rt', encoding = "utf8") as csvfile:
csv_re... | 5b971a018ba5e0aa424a9b47f1ac11e38e5dcfd1 | [
"Markdown",
"Python"
] | 3 | Markdown | mehnajafi/Kaggle | 3aa8483af654cad000eaada22e2a71ffa381536c | 08bb70deb6664ea174e8868f3812301d3d26b763 |
refs/heads/main | <repo_name>jstoja/grokking_algorithms<file_sep>/go/main_test.go
package main
import "testing"
func TestSearch(t *testing.T) {
graph := map[string][]string{
"you": {"claire", "bob", "alice"},
"bob": {"anuj", "peggy"},
"alice": {"peggy"},
"claire": {"thom", "jonny"},
}
tests := []map[string]bool{
{... | b5557dc149ca5cc15387ec0a69d1d00f0fe029a2 | [
"Markdown",
"Rust",
"Go Module",
"Go"
] | 6 | Go | jstoja/grokking_algorithms | 517c1c76b2b99ae2ac9334cdf2446d2f63ca60fc | 156e41fd12db8dc0431ba0dfd422d7e84c0c6f2c |
refs/heads/master | <file_sep>package my.steno.test;
import java.util.Base64;
import my.steno.StenoUtils;
public class GetInformations {
public static void main(String[] args) {
System.out.println("--**************************** START *******************");
long start = System.currentTimeMillis();
String fileName... | 0e47545758f1c0e7570f123fc9c5a68760ea3b20 | [
"Markdown",
"Java"
] | 4 | Java | sortidocorps/Steno | f7236f910711e81b38153a0724efe4f57d175511 | 19d1725cab2da8a78416549eb77f2e049a7f130d |
refs/heads/master | <file_sep>add_definitions(-DSBA_CHOLMOD)
<file_sep>/*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2009, <NAME>, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modificatio... | 375564f917ac5a8d28320deb29df6401f2969a3a | [
"CMake",
"C++"
] | 10 | CMake | po1/sba | 8425d6aa22b7ff4e52d408daacf1484f7b2ebf52 | 754be903f9785ca41815e2615fcc64c8c24463f6 |
refs/heads/master | <file_sep>package com.maktab.task.repository;
import com.maktab.task.controller.fragment.mainFragment;
import com.maktab.task.model.StateEnum;
import com.maktab.task.model.Task;
import java.util.ArrayList;
import java.util.List;
public class TaskRepository {
public int TASK_SIZE =mainFragment.num ;
private s... | 1b807330f9e8bc64795a8256ea03ed0bea994b3e | [
"Java"
] | 1 | Java | leilaabedi/ListTask | dbf0a79190e27af139f863bc0189f623a606569a | 54a5688e18d7dccb66afe6290606872a5c57db0e |
refs/heads/master | <repo_name>khalwat/symlink-webpack-plugin<file_sep>/test/index.js
import { expect } from 'chai';
import webpack from 'webpack';
import path from 'path';
import fs from 'fs';
import fse from 'fs-extra'
const SymlinkWebpackPlugin = require('./../dist/index');
const testDir = path.resolve(__dirname, '../test_dist');
cons... | 07c56284122a7d94d7c53b767aa641c0a12ba369 | [
"JavaScript"
] | 1 | JavaScript | khalwat/symlink-webpack-plugin | 5a5343c8836eef5990826f278f2381c539089ae0 | 0d8ebe7ca258fc9ffe1009c96d13b4c0d811fd0e |
refs/heads/master | <repo_name>simon5408/fornow<file_sep>/src/main/java/com/fn/fornow/common/util/MyX509TrustManager.java
/*****************************************************************************
*
* FORNOW PROPRIETARY INFORMATION
*
* The information contained herein is proprietary to ForNow
* ... | 2f6c22dda46722b4db24d6eacce98e69264c5727 | [
"Markdown",
"Java"
] | 24 | Java | simon5408/fornow | 787bb712c64f152d5f49a91873b4ab60cc3c306d | b878b9d879fa9a66c289d31b65fed32047e78406 |
refs/heads/master | <file_sep>// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import 'babel-polyfill'
import Vue from 'vue'
import Viui from 'viui'
import App from './App'
import router from './router'
// 引入Viui
Vue.use(Viui)
Vue.config.productio... | 759b1484cd7e49e35e84178bd7004e45a0018176 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | watson-yan/viui-doc | cddd7c70ca9446ac29e05461694f2fdb62ea2113 | a49367cf5ac3c45900eb0956810100ef0e88c3de |
refs/heads/master | <repo_name>JoseLooLo/DesafioLabsec<file_sep>/website/views.py
#Django
from django.shortcuts import render
from django.views.generic import TemplateView, ListView, UpdateView, CreateView, DeleteView
from django.core.files.storage import FileSystemStorage
from rest_framework import generics, status
from rest_framework.re... | be5594baccaf456e0b4e5db263913d154f94e91f | [
"Markdown",
"Python",
"Text",
"HTML"
] | 22 | Python | JoseLooLo/DesafioLabsec | 74e3cc6dcdb5be3db2b8bb34618cd24c3ed64c3a | e74e0904a05fb68a82b85b06083c6f8aac1c5830 |
refs/heads/master | <file_sep>#!/usr/bin/python
from BeautifulSoup import BeautifulSoup
from wiktionaryparser import WiktionaryParser
from xml.etree import cElementTree as ET
try:
import simplejson as json
except:
import json
class KNWiktionaryParser(WiktionaryParser):
'''
Parser for Kannada wiktionary
'''
def... | ae889d4428e6b2ecc7a5f706291e461adddf47a2 | [
"Markdown",
"Python",
"Shell"
] | 11 | Python | kartikm/dictionary-bot | 7ab4f457832b2403e74004898a135456e6e10b37 | e1569243bf7f91b8ae4ca69641bacb9cfd8410ef |
refs/heads/master | <file_sep>#!/bin/python
from time import sleep
from subprocess import run, call
procs = ['nano', 'firefox']
cond = True
while cond == True:
try:
for proc in procs:
cmd = 'pkill -f '+ proc
call(cmd, shell=True)
except Exception as E:
print(E)
<file_sep>### General:
A... | aa422d5ec303be3125fb3b30f421f132c3eb41e3 | [
"Markdown",
"Python",
"Shell"
] | 4 | Python | git-gud-1/linux-hardening | b9e8a36f0833571fc6ff3aace2bc83bd1f1e470c | 9fa313adb9496716f654ae4a5fbecdd085a2c0a1 |
refs/heads/main | <repo_name>Pur00/Unity-Basic-Gameplay-Codes<file_sep>/topDownGamePlayerMovement.cs
// This code is for the movement of the player in top-down games.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class topDownGamePlayerMovement : MonoBehaviour
{
... | a9f5c8b5151ae414d382730b848105086e7b00f1 | [
"Markdown",
"C#"
] | 3 | C# | Pur00/Unity-Basic-Gameplay-Codes | af790abca0a09e58fcfc1bcfb2ae4b4e1743f013 | 36fe68a98adc3535dbbfae739963283ee468eb80 |
refs/heads/master | <repo_name>dasei/gravi-sim<file_sep>/Gravity Sim/src/physics/Body.java
package physics;
import java.awt.Image;
import javax.swing.ImageIcon;
import main.Main;
import physics.Physics.AnalazysResult;
public class Body {
public double mass;
public double x;
public double y;
public double vx;
p... | 93255ebcfb4e0c57fb9165c3e6ad71aaa73f4143 | [
"Markdown",
"Java"
] | 8 | Java | dasei/gravi-sim | c755e767658a70ac7121b3badabb4e663b75333d | 127e71e00bb5cc25db36bedeb25ecc32ad565b1f |
refs/heads/master | <repo_name>quentinpmf/utbm-gymManagementWebsite<file_sep>/includes/includeCSSandJS.php
<head>
<!-- Mobile Specific Meta -->
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Favicon-->
<link rel="shortcut icon" href="<?php echo ROOT_DIR ?>/img/fav.png">
... | bdb8b945e5eb262d20baf6aa2a17565a5ff932ca | [
"Markdown",
"PHP"
] | 20 | PHP | quentinpmf/utbm-gymManagementWebsite | 59b2e906ac43a14f0bc4a386175c61e00d8f6c10 | 0c959449e1c6cd4997f1010dadde8bddd3ee7fbb |
refs/heads/master | <file_sep>CREATE DATABASE IF NOT EXISTS `ffadb` /*!40100 DEFAULT CHARACTER SET utf8 */;
USE `ffadb`;
-- MySQL dump 10.13 Distrib 5.7.9, for Win64 (x86_64)
--
-- Host: 127.0.0.1 Database: ffadb
-- ------------------------------------------------------
-- Server version 5.7.11-log
/*!40101 SET @OLD_CHARACTER_SET_CL... | d39629fadeb425c6f79e85818ee016a640617fbf | [
"Markdown",
"SQL"
] | 4 | SQL | trotman23/ScraperV1 | f91fc0613498ed47265b6382453c0e33058c9a95 | 7501954cb269ba982061e5b3493bd461469a509a |
refs/heads/master | <file_sep>const express = require("express");
const passportRouter = express.Router();
// Require user model
const User = require("../models/user")
// Add bcrypt to encrypt passwords
const bcrypt = require("bcrypt");
// Add passport
const passport = require("passport")
const ensureLogin = require("connect-ensur... | 4bbbb3c6e86f4d8209818b19ee44b13c2b45e9ac | [
"JavaScript"
] | 1 | JavaScript | peploc/lab-authentication-with-passport | 8e3e208b5c22ec5e4ea96bd77a2a33e9c05f93d3 | 62cececcb79aa4b1d98222ec2c500c37f5a15c2a |
refs/heads/master | <file_sep># PersonalWordPressConf
Configuration of my personal blog running on Google Computing Engine with encipher method.
Key features:
Let's Encrypt : On
SSL-Labs:Grade A+ certified.
Raspberry Pi : Support
Vulnerabilities:
DH exchange is weak......fixed
Latest:nginx.conf : /usr/local/nginx/conf/nginx.conf
O... | 14c4ccae0cfdf2b2277b7dfe8a0959e5e37c54b7 | [
"Markdown",
"Shell"
] | 2 | Markdown | Kiritoalex/PersonalWordPressConf | a9d285a558cd27e2fcdf846aa81aae2423e03d4e | da17c457f30e67bbd0ef60520d259d999fbb09fa |
refs/heads/master | <repo_name>shivamd20/MyDiary-android<file_sep>/app/src/main/java/in/ssec/myDiary/myDiary/MyCursorAdapter.java
package in.ssec.myDiary.myDiary;
import android.content.Context;
import android.database.Cursor;
import android.graphics.Bitmap;
import android.graphics.drawable.Drawable;
import android.view.LayoutInflater;
i... | 2c974c0a2c382d8b4ae2b5ee0e81e8bc85ad2a19 | [
"Java"
] | 5 | Java | shivamd20/MyDiary-android | 56344bcaf8b1a68339b1c4d4fcd5d0b288cb45ed | 792c6b7b4f4777184c4da9c880d55dba587ba90a |
refs/heads/master | <file_sep>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="language" content="en" />
<title>Complex Layout Demo</title>
<!-- DEMO ... | 6afefbbf01c5c21ebed058a4b2eef74ddd75bc7b | [
"PHP"
] | 2 | PHP | mogurbon/searchtweetdeck | 256f3759183889fd5b4b62fd20b821ff3c8eb96e | 3e7aa37c96d62d5e71699348e95698be2ead660d |
refs/heads/master | <repo_name>foreverever/baekjoon<file_sep>/baekjoon/토마토(7576).cpp
//#include <iostream>
//#include <queue>
//#include <utility>
//#define MAX 1001
//using namespace std;
//int n, m;
//int box[MAX][MAX];
//int dy[4] = { -1,1,0,0 };
//int dx[4] = { 0,0,-1,1 };
//int days, cnt;
//queue <pair<int, int> > q;
//
//void bfs() ... | b9fa1febba8608bb8308dd397abf0d1ba4e68e42 | [
"Markdown",
"C++"
] | 238 | C++ | foreverever/baekjoon | 4ca4bd6ef72051285d9a750bd4bb6c6310015242 | bde59c630183b128e8f377ec9ee513f74c6e6b31 |
refs/heads/master | <repo_name>RSIP4SH/anomaly-detection<file_sep>/src/models/prediction/models.py
import copy
from collections import OrderedDict
from itertools import zip_longest
import numpy as np
from tqdm import tqdm
import torch
from torch.utils.tensorboard import SummaryWriter
class TimeDistributed(torch.nn.Module):
def __ini... | 35ca32e430c5f25c27600d6023a6f89ce76f301b | [
"Python"
] | 11 | Python | RSIP4SH/anomaly-detection | 3fec9be57c0169c84e3dda7b9bfaca4b2b88f4fa | d58f63330a699dc0d5a6ea8bfa5c758db834de4b |
refs/heads/master | <repo_name>choticIdea/NeuroGA<file_sep>/Main.py
import random
import math;
import xlrd;
import copy;
def generateKromosom():
genotype = [];
for i in range(0,numWeights*bitsPerElement):
genotype.append(random.randint(0,1));
return genotype;
def getIncrement(k):
i = 0;
inc = 0;
while i < ... | 1408160cafae0abc9a9e7a458a44c61449175154 | [
"Python"
] | 2 | Python | choticIdea/NeuroGA | 9c12cd7d7425427262fdc324b82e4076635bc0ad | f9e7790e04ec5cbe61c79d34c05caa342e83ff15 |
refs/heads/master | <repo_name>bo3b/3D-Vision-Automatic<file_sep>/README.md
# 3D-Vision-Automatic
Small stereoscopic sample demonstrating how to use 3D Vision Automatic Mode using DX11.
This is just a simple spinning box sample in DX11, that emulates the way a lot of games create
their swapchains and devices. If running in fullscreen ... | 066fc0b677ece75d3e9dc697f4af30657e240307 | [
"Markdown",
"C++"
] | 2 | Markdown | bo3b/3D-Vision-Automatic | 1179ae11efbf051afe03e40aabe76cbf5951fd98 | 15061c14ad1f8157a54252da7f1697e4b580c8a1 |
refs/heads/master | <file_sep># FNRP-Deathrun-Development
Development of the new FNRP Death Run Mod (2017)
makeMod.bat only works on my PC. CoD4.exe runs mods/dev (mod.ff copies to /dev)
<file_sep>#define BUILD "Build:^5 90"
| 0c13c22cd1c5887f0ebe49ed619c857072e43050 | [
"Markdown",
"C++"
] | 2 | Markdown | ConnorHartland/deathrun_dev | 0126ceab9a7236f485022aeec42830068b9a829e | 8c08590c7b59181eadc6ae8d53443baf4a2bd40b |
refs/heads/master | <repo_name>gduenas001/gtsam_examples<file_sep>/scenario_isam.cpp
// TODO
// - need to figure out how the imu noise is specified: continuous - discrete time conversion.
// - data association for landmarks
// - different frequencies for GPS and lidar
// - Change naming convention of functions -> use underscores, not cap... | 73ce8bd81bbf90e374c670a0bbf2e714cfcd2aab | [
"C",
"Python",
"CMake",
"C++"
] | 26 | C++ | gduenas001/gtsam_examples | ef573cd4c070deefab6ab28a85a2d8d8a4af3343 | 2fb45823e835e00b701842806b5e9933b0683f2c |
refs/heads/main | <repo_name>MichaelHDesigns/HTHWorld<file_sep>/src/components/AllFundraisers.js
import React, { useState, useEffect } from 'react';
import { Link } from 'react-router-dom';
import Web3 from 'web3';
import { ethers } from 'ethers';
import CrowdFunding from '../abi/CrowdFunding.json';
import Navbar from "./Navbar";
const... | 1737b439f2f95a13f669a2341fe850cb15792f8c | [
"JavaScript",
"Markdown"
] | 16 | JavaScript | MichaelHDesigns/HTHWorld | 08fec7ac459c5498f7b815f0105e65f059ff1b3f | 805e7a539e3c98b2cb524afb18e7ad139dc51a74 |
refs/heads/master | <file_sep>var bg_json = require('./final.json');
var turf = require('@turf/turf');
var turf_inside = require('turf-inside');
var fs = require('fs');
var point = {}
var inside = ''
var updated_geojson = {
type: 'FeatureCollection',
features : []
}
var wstream = fs.createWriteStream('ny_whole.geojs... | aafc60db413706e58797d133b96d9b7710f5008e | [
"JavaScript"
] | 1 | JavaScript | availabs/RandomPointsPolygon | f590d7e54d3a2bb8a2ad323bbe95dd487581e386 | 3226204a763c4e847041b03f05f905466b1012c0 |
refs/heads/master | <file_sep>export PATH=/opt/local/bin:/opt/local/sbin:$PATH
export PATH=/usr/local/mysql/bin:~/Dropbox/home/bin:~/Dropbox/Projects/virtual/flim:~/Dropbox/bin:$PATH
# use MAMPs php binary instead of the system default
#export PATH=/Applications/MAMP/bin/php/php5.3.6/bin:$PATH
source ~/.bash/aliases
source ~/.bash/compl... | 815602091a60e70570c20549876a2ca09c562675 | [
"Shell"
] | 2 | Shell | flimshaw/dotfiles | 484cc40a6e376831b2393274e299f3aaef15487d | b6988c0bf3582d9ae797132c83fe54971d664755 |
refs/heads/master | <repo_name>stalk-io/stalk-io.github.io<file_sep>/_backup/js/dashboard.js
function getURLParameter(name) {
var u = decodeURI((RegExp(name + '=' + '(.+?)(&|$)').exec(location.search)||[,null])[1]);
if(u){
//if(u.indexOf('://') >= 0){
// return u.substr(u.indexOf('://')+3);
//}else{
return u
//}
}else{
re... | eeb9524b3e5d92b59ad649861b6d28ed6b555c9c | [
"JavaScript"
] | 1 | JavaScript | stalk-io/stalk-io.github.io | 16dff2badca990a5bd8a6675ac6d90363cdfa9fa | 14b161b26b6af870943749e72ad4ffe23bb43639 |
refs/heads/master | <repo_name>finmily/webweekreport<file_sep>/proprety.js
/**
* Created by fanbaolin on 15/10/26.
*/
<file_sep>/enity/depart.js
/**
* Created by fanbaolin on 15/10/8.
*/
var mongoose = require('mongoose');
var Schema = mongoose.Schema;
var departSchema = new Schema({
name : {type : String,default:'unknow user'},
... | 3349485d6e087c29d0ecde6ad66512e2f0d44a8f | [
"JavaScript",
"Markdown"
] | 7 | JavaScript | finmily/webweekreport | b328dbe3cace743059e72b7a4ac26ddb809899d3 | 5b0874d8567c92fc345e8031d5e8efd912f0df8f |
refs/heads/main | <repo_name>kwabena95/quiz<file_sep>/assets/js/app.js
// create an array objects
const questionArray = [
{
question: '1. Which option or options apply to JavaScript?',
option: [
{ text: 'JavaScript is a scripting language that can be inserted into HTML pages and is understood by web ... | d465b8a1313008e0ad51136a1f0d5fa88eea8df9 | [
"JavaScript"
] | 1 | JavaScript | kwabena95/quiz | b4503600584a64c8684ba4f9c05f9ab14ce84537 | 022e62cd17d3b9d328195e9e7f0f1c128d2cde3f |
refs/heads/master | <repo_name>sarakhz93/CrudTest<file_sep>/SaraKhezriCrudTest/Controllers/CustomerController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using SaraKhezriCrudTest.Models;
namespace SaraKhezriCrudTest.Controllers
{
public class Cus... | f1f605923146eab93988faf0f79e4183ed240af7 | [
"Markdown",
"C#"
] | 5 | C# | sarakhz93/CrudTest | 402305d81e7a08847245453d59100c7cc3b9abdd | 28ad9541304534f5d565c6237356739c05e2dfc6 |
refs/heads/master | <repo_name>Electroshockist/Game-programming-5_Assignment-1<file_sep>/Component 2/ComponentFramework/Model.h
#ifndef MODEL_H
#define MODEL_H
#include <vector>
#include "MMath.h"
#include "Mesh.h"
#include <memory>
using namespace MATH;
class Scene;
namespace GAME {
class Model {
protected:
Vec3 pos;
Vec3 vel;
... | a354dd22d0904fe074a4da27341f383f7d3b6f84 | [
"C++"
] | 6 | C++ | Electroshockist/Game-programming-5_Assignment-1 | 527908f3b239abf1f34100944205b9eef958f305 | 36a4a189b3ca0f43b2754d125754388fa64e16db |
refs/heads/main | <file_sep>n = 9
board = []
for i in range(n):
l = [int(x) for x in input().split(" ")]
board.append(l)
# board[0][0] = 2
def subgrid(board, row, col, x):
rowl = rowu = coll = colu = 0
if row >= 0 and row <= 2:
rowl = 0
rowu = 2
elif row >= 3 and row <= 5:
rowl... | 0f4d114c7693fc0c5c377e33c2a0e142d2bab47b | [
"Python"
] | 1 | Python | Sourav5705/Sudoku-Game | 93e29d6427cf72b4383b8049e07755dab57f688e | 6503b18346c287d663a44792f93f8089cb64fe17 |
refs/heads/master | <repo_name>10kkrishr/Twitterish<file_sep>/README.md
# Twitterish
This is a sample twitter like application. I have used Spring boot, Hibernate, JPA and SQLlite.
I have created a session for Testuser2 with the following token "<PASSWORD>" that should be passed in the Authorization header
Api route : http://localhost... | 1cf8a20815d9ae73cf87cfd738f96cff794757bb | [
"Markdown",
"Java",
"INI"
] | 5 | Markdown | 10kkrishr/Twitterish | f4c337bc946b2060b02a402c914beb7c7b34eca9 | 5753e23dcd54a433aefa93655b7c2017b933621d |
refs/heads/master | <file_sep># Copyright 2016 <<EMAIL>>. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
task :default do
puts "make default"
end
# 生成图标
task :logo do
Dir.chdir '.' do
sh 'convert -resize 29x29 yjyy-logo@1024x1024.png ./output/yjyy-icon@... | 2db16b1dcee01d38c743511a4dd9989bfb24d7ce | [
"Markdown",
"Ruby",
"Swift"
] | 5 | Ruby | zhoujunshao/ptyy | 8e4f7362eaa8aa29e0e521025548c7cb52ae4e98 | c2875d50f59415ada7f16e8ef4b68f8bddcef69d |
refs/heads/master | <repo_name>TalllDwarf/TileLevelEditor<file_sep>/Assets/Code/Enviroment/HouseController.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class HouseController : BuildingController {
public int houseSize = 2;
MapController mapC;
void Start()
{
mapC = Gam... | 07cefd30ef1db715e812eaaa7c1773be728eeb00 | [
"Markdown",
"C#"
] | 35 | C# | TalllDwarf/TileLevelEditor | c2a09c4349d49f7776c0c8da6354bcd803341f9f | 179ab261d474588335988dd33d81ae852ee3157b |
refs/heads/master | <file_sep>#!/usr/bin/env python3
import random
x = random.randint(1, 6)
y = random.choice(["apple", "banana", "cherry", "duriam"])
print("x:%s, y: %s" %(x, y)) | 064c3c19778e92e62cf1ae24400b11e59dcdfe7b | [
"Python"
] | 1 | Python | eduprivate/pyclass | 297e16d80672135adf1f7e736d892c62352002f4 | c6c8ed88cb6f60dbccdb01fa5631ceecf7c5edd5 |
refs/heads/master | <repo_name>akhild555/multi_robot_MPC<file_sep>/pydrake_setup.md
# Installing pydrake
```bash
curl -o drake.tar.gz https://drake-packages.csail.mit.edu/drake/continuous/drake-latest-bionic.tar.gz
sudo tar -xzf drake.tar.gz -C /opt
sudo apt-get update -o APT::Acquire::Retries=4 -qq
sudo apt-get install -o APT::Ac... | 3ee0dc12ec35a8479d32549ea5cdb12818baa332 | [
"Markdown",
"Python"
] | 10 | Markdown | akhild555/multi_robot_MPC | f4c5bb744aa872a73a14c27a77672f42bf580703 | a37bf9539afd44dad4b6dcf5023d5d6ab3b824ad |
refs/heads/master | <repo_name>ppastram/T1_202010<file_sep>/src/model/data_structures/List.java
/*
*Tomado del código de <NAME> en su libro "Algorithms, Fourth Edition"
*/
package model.data_structures;
import java.util.Iterator;
public class List <T> implements IList <T>
{
private Node<T> list;
private int listSize;
public Li... | 7560c0fea09f82698eefa1f1834b55711faa7f1e | [
"Java",
"Text"
] | 3 | Java | ppastram/T1_202010 | e1d993899bbfa2bc931e63c86e7636d05061d883 | d8d84ab9bd56af36907b05ab0f18e180e629e9ed |
refs/heads/master | <repo_name>TheFox/mbdb.php<file_sep>/src/TheFox/Mbdb/Mbdb.php
<?php
namespace TheFox\Mbdb;
use Exception;
use RuntimeException;
class Mbdb
{
const NAME = 'MBDB';
const VERSION = '0.3.0-dev.3';
const LOOP_MAX = 10000;
/**
* @var string
*/
private $filePath = '';
/**
* @var re... | 136ecb71d076ca9afa67eb1fd098f4be7307b15e | [
"Markdown",
"PHP"
] | 4 | PHP | TheFox/mbdb.php | 92a8754250e8b27a9fd2190f8dc4267b9cc63821 | f11bca802b9e75cac2c438261dd570bbb9eba4ec |
refs/heads/master | <repo_name>priyeshvinove/Covid-Graph<file_sep>/src/Component/GlobalData.js
import React, { useEffect,useState } from 'react'
import {csv} from 'd3';
import { Bar} from 'react-chartjs-2';
const GlobalData=()=>{
const [globalData,setGlobalData]=useState();
const [globalCountry,setGlobalCountry]=useState([]);
cons... | 2d312304cf10c7ead323c3f441c21a131ee02db0 | [
"JavaScript"
] | 3 | JavaScript | priyeshvinove/Covid-Graph | d08c855a81c06c08ad2c70782c11ccf12c5ce012 | f6b175b7b926b3f62dea9ada2b5632b603dfccae |
refs/heads/master | <repo_name>halilov2020/LogoToImage<file_sep>/README.md
# LogoToImage
This program used to simplify annoying work like put the same logo or watermark to huge amount of different images.
<file_sep>/LogoToImage/LogoToImage.c
#pragma warning(disable:4996)
#include <stdio.h>
#include <stdlib.h>
#include <dirent.h>
#include ... | cae5da9fa6c261ae533128cb65d08fd5036cf04c | [
"Markdown",
"C"
] | 2 | Markdown | halilov2020/LogoToImage | 5fe4d212947270b79e49ba192f4365870f7375a5 | 170fa33f3c915f7b2b793ee187f645812b74bc59 |
refs/heads/master | <file_sep>var Azure = require('azure');
var msRestAzure = require('ms-rest-azure');
var util = require('util');
var computeManagementClient = require('azure-arm-compute');
var AZURE_USER = '<EMAIL>';
var AZURE_PASS = '<PASSWORD>';
var SUBSCRIPTION_ID = 'abb8a257-30cb-4b25-9cb5-de7bbc0f39dc';
var computeClient;
var r... | 14bc70f3370b1de0fb9d3278d9fdc539ae0e9d5a | [
"JavaScript"
] | 1 | JavaScript | BebopTechnology/azure-sdk-test | 71cb166ed051e76d0c26ba1425166b99f83888b9 | f867c561ef14b1da7763e9791e366eb00613c8b4 |
refs/heads/main | <file_sep>from django.shortcuts import render
from django.http import HttpResponse
from django.views.generic import TemplateView
class PaginaInicio(TemplateView):
template_name = 'home.html'
class PaginaAbout(TemplateView):
template_name= 'about.html'
<file_sep>from django.urls import path
from .views impo... | 807ca4b1ce1d83b50a815e7ef4839ca884dcf89a | [
"Python"
] | 2 | Python | Shadowrunner11/django | fd99b302bd826edd1b99f8898dd0c8ac056f520b | 76cdddc6eecc41144c9414a3816c5b0ea4658efa |
refs/heads/master | <repo_name>anoop4real/KotlinBasics<file_sep>/app/src/main/java/com/example/anoopmohanan/kotlinbasics/MainActivity.kt
package com.example.anoopmohanan.kotlinbasics
import android.app.Fragment
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.widget.Toast
imp... | 9b6a55b2ec73ef5839906350c3904f1e83613c09 | [
"Markdown",
"Kotlin"
] | 3 | Kotlin | anoop4real/KotlinBasics | f8a9f9a2907e624e726a5580214fb5a045969bdf | f3e1b5c1b3eff7a089fe71b875b5f9791435b3ae |
refs/heads/master | <file_sep># proactive-url-monitor
Proactively monitors joboss, tomcat healthcheck and jboss url and is capable of logging into the server and perform service restart for downtime
Short Description of what this source code does -
MyScheduler.java contains the main method under package named driver_scheduler
The Pac... | ca8d233d11ccb37a7e864e2f7f2215be64308ea6 | [
"Markdown",
"Java",
"Text",
"INI"
] | 7 | Markdown | creator-drogon/proactive-url-monitor | 5523e4c0355b9f2080cf20b3505ebfb996730dc9 | 4f8e24d8bab54d6c727a8ec1ee366dcaa0f6737a |
refs/heads/master | <repo_name>Kegn/DevOps-Portfolio<file_sep>/notes/markdown/bitcoin_script_words.md
Words
This is a list of all Script words, also known as opcodes, commands, or functions.
There are some words which existed in very early versions of Bitcoin but were removed out of a concern that the client might have a bug in their im... | 599d39cc9c854d693a008511912b89d4c0238bb3 | [
"Markdown",
"Python",
"Shell"
] | 39 | Markdown | Kegn/DevOps-Portfolio | 214cf9725f3a48ec8294263a9eca3e9de8254cee | d1549643c018ca255fa36942ea360e0556146add |
refs/heads/master | <file_sep>import { Component } from '@angular/core';
import * as jsPDF from 'jspdf';
declare const $;
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent {
title = 'app';
// downloading from the xponline downloader
public d... | 0cdcc4e0dbca56403ee104528f8272ffc468e0e4 | [
"Markdown",
"TypeScript"
] | 2 | TypeScript | pratibhaHankare/htmlToPdfConvert | 95d7906c04d5e0dd74f66821f372be9c26647e30 | fd5ec5afd264fba0158292513f037c2fa909a158 |
refs/heads/master | <file_sep>import os
import shutil
import json
with open('selected_1.json') as file:
data = json.load(file)
folders = data["folders"]
# print(folders)
for folder in folders:
src = folder["src"]
dest = folder["dest"]
if not os.path.exists(dest):
os.makedirs(dest)
... | 4e6ea226e885da454df30f619dfe64393a05e6b3 | [
"Python"
] | 1 | Python | kishorep92/copy_files | 31639f90b26eb8fd8ef275b5601fba9b0c196cad | e6ba2e5c70db77f8f8b5acb24b17ae4b92e90001 |
refs/heads/main | <file_sep>import os
print(os.listdir())
print("The main number is 3")
b = input('Enter your number:')
def jls_extract_def():
return b
if(b == 3):
print('The number is equal to 3')
elif(b < 3):
print("The number is greater than 3")
elif(jls_extract_def() < 3):
... | 4cd92df7aee70623fc89649999ddf4234c55b0bc | [
"JavaScript",
"Python"
] | 2 | Python | shikhar0512L/RE-HOST | 7b2c43cb84895c6a1a976abbce76b9d6b2743380 | 86026e2b50033433a7c69527c30691d23d03c7cc |
refs/heads/master | <repo_name>rahulvadhiya-vmukti/videogular-aframe-live-streaming<file_sep>/src/app/pages/native-video/native-video.component.ts
import { Component, ViewChild, OnInit } from '@angular/core';
@Component({
selector: 'video-app',
templateUrl: './native-video.component.html',
styleUrls: ['./native-video.component.css'... | 80b29054a8e69de28ebf788727793f0637d56629 | [
"Markdown",
"TypeScript"
] | 4 | TypeScript | rahulvadhiya-vmukti/videogular-aframe-live-streaming | 6d5b09653951dc3f14a08a9cde0cd4f9bf169dc7 | cc4d418b934dcb52e65266c5c011f2abfd650283 |
refs/heads/master | <file_sep>#ifndef CANARD_H
#define CANARD_H
// couleur: 0 = noir, 1 = marron, 2 = bleueeee
struct Canard{
int x;//position x du canard
int y;//position y du canard
int mvx;//Mouvement x du canard
int mvy;//Mouvement y du canard
int couleur;//couleur du canard
bool isDead;//Booléen canard mort
... | c83dfa396eaaf554de95c88a8cd9dedfacc120ee | [
"Markdown",
"C",
"C++"
] | 8 | C | CrashKiller47/DuckHunt | 5472b44131c542e1c07465aaf5bdc0bae2d47583 | abb27647e2360f929f4a18169732dec333444a60 |
refs/heads/master | <file_sep>import torch
import logging
from .deeplabv3_plus import get_deeplabv3_plus
from .danet import get_danet
from .icnet import get_icnet
from .pspnet import get_psp
from .dfanet import get_dfanet
from .fast_scnn import get_fast_scnn
from .fcn import get_fcn
from .hrnet_seg import get_hrnet
from ..config import c... | ecb3ada666c3e6595ed66eab98bca4d26eaa907e | [
"Markdown",
"Python"
] | 8 | Python | huangshuyi1991/SegmenTron | 53e88cf86087bb881aa759c6d5cd04a0d977e69d | a58ab99eb9bb162e464341ece9de00117e9114e9 |
refs/heads/master | <repo_name>jagodragon/Photo_Gallery<file_sep>/config/lang_English.php
<?php
$module_lang = array(
'allimages' => 'All images',
'author' => 'Author',
'befirst' => 'Be the first to add an image',
'back' => 'Back',
'cancel' => 'Reset form',
'comment' => 'Comment',
'delete' =>'Delete',
'title' => 'Gallery',... | 7ace8458ce2d5a1eaa65af6b73a8e2f5985a28b4 | [
"SQL",
"PHP"
] | 8 | PHP | jagodragon/Photo_Gallery | 37a703fac317996c1e5d4c8d11c1ce97d42df64d | b7877a42f4413c3c8ef1c00ea5475cdcb422fbe4 |
refs/heads/master | <repo_name>katelynmorehouse/blog-engine<file_sep>/run.command
python ~/Documents/github\ /blog-engine/manage.py runserver | fd8554fb546c935077102f919fa68ad84c110fcb | [
"Shell"
] | 1 | Shell | katelynmorehouse/blog-engine | cad592145125ba34a24f952c8b72f3cada0433b9 | 172c704c620a3c18ed880286e809515ab4417e1b |
refs/heads/master | <file_sep>/* Implement and test FIFO queue for use in simulation */
#include <stdio.h>
#include <stdlib.h>
/* Define linked list node */
typedef struct node {
float t;
struct node * next;
} node_t;
void enqueue(node_t * head, int t);
float dequeue(node_t ** head);
void print_list(node_t * head);
int mai... | c05a04b85f0764b1e9f9719ba995272d477eaa83 | [
"C"
] | 2 | C | dchar/tandemDES | ad899ce86971704a2f2efbe0269c8c9d1d507ecd | d3c453140cfc5f3904e0577ec488ab1130b5d4b0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.