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>yudhe/sigfit<file_sep>/R/sigfit_plotting.R
#' Colour warnings for posterior predictive checks
#' yellow = observed value is in top or bottom 2.5% of ppc simulations
#' red = observed value is outside ppc simulations
make_colors <- function(c, c_ppc, sample = 1) {
n_ppc_sims <- dim(c_ppc)[1]
v <- vect... | 92cce3cb9ae0ba9551f5f12d750fd9c50cfaae4f | [
"Markdown",
"R",
"RMarkdown"
] | 6 | R | yudhe/sigfit | 472dda45380222b328b96a11c1790dea72b5aa6e | f0b1904864f59acbee4cd83c9a03391de173f532 |
refs/heads/dev | <repo_name>melsoriano/share-tunes<file_sep>/server/firebase/firebaseApi.js
const { FirebaseAdmin, FirebaseApp } = require('../config');
// Stores the Spotify access token each time a new one is created
function databaseCreation(
uid,
email,
accessToken,
refreshToken,
tokenExpiration
) {
return FirebaseAdmi... | daf8b875b94a022dfe22c60ec37313dd4a0f51fd | [
"JavaScript",
"Dockerfile",
"Markdown",
"Shell"
] | 24 | JavaScript | melsoriano/share-tunes | a72b0b0fa3a6343f750dc4759a9b87ce96cdbd0f | 525a50828fb69db84890775323cd861e07cbe0c7 |
refs/heads/master | <repo_name>rubensworks/CharsetMC<file_sep>/src/main/java/pl/asie/charset/audio/integration/jei/JEIPluginCharsetAudio.java
package pl.asie.charset.audio.integration.jei;
import mezz.jei.api.IItemRegistry;
import mezz.jei.api.IJeiHelpers;
import mezz.jei.api.IModPlugin;
import mezz.jei.api.IModRegistry;
import mezz.jei.... | ff9c342edcbf53f7a695c3015b4e3a3d81ee67a3 | [
"Java"
] | 1 | Java | rubensworks/CharsetMC | 66677ce73ee49129b95cf177ef9174b04ba01fa6 | 7490487603b114bd5cdbaac33d229450b19eabea |
refs/heads/master | <file_sep># Maze-Navigation
Used 3 dimensionality reduction methods (PCA, t-SNE, UMAP) to look for patterns in people exploring a maze. Discovered a strong connection between the pattern and people's mental rotational ability.
<file_sep>import pandas as pd
import glob
from sklearn.cluster import KMeans
def main():
... | 31a2beb9e3bd037371fe2b08b2bd81baf67fb84b | [
"Markdown",
"Python"
] | 7 | Markdown | hunterwang1112/Maze-Navigation | 92a7ae3d2e54ae299189f18916db81ce941e0be4 | 8693e55605b340653afc3a11c454a4536afa55a2 |
refs/heads/master | <file_sep># spider-of-lagou.com
拉勾网数据爬取可视化
<file_sep>
# coding: utf-8
# In[1]:
# 导入模块
import requests
import time
import re
import pandas as pd
# In[2]:
url = 'https://www.lagou.com/jobs/positionAjax.json?needAddtionalResult=false'
header ={
'Host': 'www.lagou.com',
'User-Agent':'Mozilla/5.0 (Windows NT 6.1; WOW... | 22a83f37a544299b473929bb61bfc9f680014cf7 | [
"Markdown",
"Python"
] | 2 | Markdown | q272807578/spider-of-lagou.com | 59014ce35cb5ad00ed1fc1e53f11edc7bf441cd0 | 88b7ee2bd82507ecd79b400a1f51fb8bdae1feb7 |
refs/heads/master | <file_sep># secon_2018
Lipscomb University's Robotics Project for IEEE SoutheastCon 2018 Student Hardware Competition
<file_sep>/*-----( Import needed libraries )-----*/
#include <Stepper.h>
/*-----( Declare Constants, Pin Numbers )-----*/
//---( Number of steps per revolution of INTERNAL motor in 4-step mode )---
#de... | 6b1d959ee004eae78e087d149f9fa5d1f54395ed | [
"Markdown",
"C",
"C++"
] | 20 | Markdown | LUrobotics/secon_2018 | 308760106f409d4686d7c0d41ad453ee24615402 | e26b867ed35c1475ead466b4a3afcc707f26940c |
refs/heads/master | <file_sep>package br.com.edu.service;
import java.util.List;
import java.util.Optional;
import br.com.edu.domain.Client;
public interface IService
{ List<Client> listAll();
Client searchClientID(String id);
Client save(Client client);
Client update(Client client);
void delete(String id);
}
<file_sep>package com... | 62b1683a090a178dc3ae46abe6a32edc150c4471 | [
"JavaScript",
"Java",
"INI"
] | 46 | Java | eduardowmu/SpringProjects | 0bb5e8d5d5802517bed2c21ca08ba54a56d8cf0b | f71bd0a555c541a9baffec7fbf014fe3cb71fba4 |
refs/heads/master | <file_sep>// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
*
*
* @type {string}
*/
var courseGenerator = {
/**
* Flickr URL that will give us lots and lots of whatever we're looking f... | 4d5a19edea8147d03592961d8b545c35ee15bdaa | [
"JavaScript"
] | 1 | JavaScript | kaisrab/Helloworld | 7e81db6d13bddb4b2acecb679a1738cab39fbe05 | d9f5870550ea9c8a25739cf4380fb9217c529302 |
refs/heads/master | <file_sep>angular.module('pedidos')
.service('AuthenticationService',function (Base64, $http, $cookieStore, $rootScope, $timeout, $cordovaSQLite, sessao,NPedido) {
var service = {};
service.Login = function (username, password, callback) {
var response = {};
var query = "SELECT * FROM admc... | 3cbe7f5cf448d5b3773adec34d953a2c04c365c6 | [
"JavaScript",
"HTML"
] | 9 | JavaScript | brackbk/pedidos | b4316c0ddb374c87031e029649e80a64cf4eb0f3 | 627fedc5ce2903a5768677924c9c744dc8ebf31e |
refs/heads/master | <file_sep>/**
* isAdmin
*
* @module :: Policy
* @description :: Simple policy to allow only authenticated Customers
* perform a given action
* @docs :: http://sailsjs.org/#!/documentation/concepts/Policies
*
*/
module.exports = function(req, res, next) {
// User is allowed, procee... | dbf76d9d94a8aa3d58ba071c1631a7e5051a0bd2 | [
"JavaScript",
"Markdown"
] | 6 | JavaScript | ilyes495/restauranteers | e7ea6eea4bee4367d85783f231ddaaf00f7cf15a | dca84cc1faa3fcdf6d7fb54f027c94fd2d3574a1 |
refs/heads/master | <file_sep>package com.yyh.yyseckill.product.config;
import org.springframework.amqp.core.Binding;
import org.springframework.amqp.core.Queue;
import org.springframework.amqp.core.TopicExchange;
import org.springframework.amqp.support.converter.Jackson2JsonMessageConverter;
import org.springframework.amqp.support.conve... | 6ee9011fe23c08cbdaca450000d0c24296b19fff | [
"Java",
"SQL",
"INI"
] | 25 | Java | yymuhua/yyseckill | 076d007e961c4fad01b388a3b9b26237e9e6acd3 | 8cc29d230fa4e451da970d85906a098acaf7524b |
refs/heads/master | <repo_name>IsraelEitan/UBTechRepo<file_sep>/UBTech.Data/Repositories/IRepository.cs
using System;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace UBTeach.Data.Repositories
{
public interface IRepository<TEntity> where TEntity : class, new()
{
IQueryable<TEntit... | 9ee6150525a0ac065119017bd5f2c5353e2cba4b | [
"C#",
"TypeScript"
] | 12 | C# | IsraelEitan/UBTechRepo | dcbb5b43326f9eddf9c977e2a169446f8c08eeeb | 5b4eaa9ce4dc0a198207aa0ee276b67081a0f237 |
refs/heads/main | <file_sep>pytest==6.2.5
pytest-html==3.1.1
datetime==4.3
regex
<file_sep>import calendar
import regex
from datetime import datetime
# get_no_of_days(“yyyy-mm”)
# Function get_no_of_days
# INPUT:
# "yyyy - int number range [from -1 mln to +1 mln years]
# "mm - int number range[1-12] without 0 leading
# strptime - conv... | e3a5247abc47fe9d7fad88c2f1ba34926051ce8b | [
"Markdown",
"Python",
"Text"
] | 4 | Text | pawelkuznik/python_the_days_of_the_month | cdbcc3b776c04dc6973a4704f68cfaa085432f43 | 18373cdd372e1acd7499e8001ca8cfd0c8dc7f65 |
refs/heads/master | <file_sep># 1. Create a Vehicle class with max_speed and mileage instance attributes
class Vehicle:
def __init__(self, max_speed, mileage):
self.max_speed = max_speed
self.mileage = mileage
# 2. Create a child class Bus that will inherit all of the variables and methods of the Vehicle class and w... | 56814892fbb987d8fc237ad319b7f56d7b1610be | [
"Python"
] | 2 | Python | mariiaba/Cursor | 2ce7836820c8ab4b692a3c0bc69159a11da9a3d9 | cfc73d0b0b4ef6d6d3950f93524d58fbd8c522b9 |
refs/heads/main | <repo_name>Fikri1234/Springboot-Oauth-JUnit<file_sep>/src/main/java/com/project/buku/Resource/NotFoundExceptionResource.java
/**
*
*/
package com.project.buku.Resource;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;
/**
* @author Fikri
*
*/
@ResponseS... | eceae80630994831f25785a2bd75c7b720af86c9 | [
"Markdown",
"Java",
"SQL",
"Gradle"
] | 14 | Java | Fikri1234/Springboot-Oauth-JUnit | 90f345d457745e2e5babca13ae9e07478ec96577 | 3148866e2e1c48e8bd7420ac6ec69b9603a1df92 |
refs/heads/master | <repo_name>kajal02/Android-Applications<file_sep>/Kajal_ContactApp/app/src/main/java/com/kajal/kajal_contactapp/MainActivity.java
package com.kajal.kajal_contactapp;
import android.content.Intent;
import android.content.res.Configuration;
import android.support.v4.widget.DrawerLayout;
import android.support.v7.ap... | 8f49895619711d38c637eb2a5e9b28fd8ffbf5b3 | [
"Java"
] | 6 | Java | kajal02/Android-Applications | ee06051a1645189bdf24b32121219e10c21aa1ce | ec0f834cc2d942aca7d65bc1babf74fe9293608d |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
namespace MyLab.Metrics
{
public class WorkLog
{
readonly List<WorkLogItem> _history;
public bool IsStarted { get; private set; }
public DateTime StartTime { get; private set; }
public IReadOnlyList<WorkLogItem>... | 932bd60c091756431742be381038af1f4ef39fb0 | [
"C#"
] | 1 | C# | ozzy-ext-mylab/metrics | 3a5e655274c1b64c629166fb6bf87fc60cc5ab49 | 517dc6942be42d1606a60168c8a057debf0dacac |
refs/heads/master | <file_sep># NetworksAndNetworkingProjects
Projects that deal with network and networking from my class
## What's included:
There are two assigments that are included: singlyLinkedList.c and slidingWindowSelectiveRepeat.py . They are assignments that went through basic things needed when talking about networks and netw... | cab0ecd0b213a09efeb164ac6f1e999205bd90cb | [
"Markdown",
"C",
"Python"
] | 3 | Markdown | sestissi16/NetworksAndNetworkingProjects | 77812e29df0b76377775907e44ae4eeb5a109614 | 3e1c5a8129c19e757b2b419b87806abbdd59d39d |
refs/heads/master | <repo_name>hehlinge42/machine_learning_bootcamp<file_sep>/day03/ex05/reg_log_loss.py
import numpy as np
from sigmoid import sigmoid_
import math
def sigmoid(theta, x):
return 1/(1 + math.exp(-1*theta.T.dot(x)))
def regularization(theta, lambda_):
"""Computes the regularization term of a non-empty numpy.ndarray, wi... | 24d10da90e633ffb7702e9d73c26e6f60106d410 | [
"Markdown",
"Python"
] | 39 | Python | hehlinge42/machine_learning_bootcamp | 96fceb3a24a93d9c1c4cb80daea0e8f842759a0d | 30628f30101d5c3a4d1e0b93cb8d10fd3c445209 |
refs/heads/main | <file_sep>import defaultAvatar from '../images/default.jpeg';
import PropTypes from 'prop-types';
import styles from './Profile.module.css';
export default function Profile({ name, tag, location, avatar, stats }) {
return (
<div className={styles.container}>
<div className={styles.description}>
<im... | 862be4e6ca39e1ae41a023e799c37f92e7d6fbcf | [
"JavaScript"
] | 1 | JavaScript | Rahmanov-Viusal/goit-react-hw-01-components | 73f6bf6196247791c1cf0de33364acea43548bec | 042847d649eaa7101637a03899fbede22e301283 |
refs/heads/master | <repo_name>jagilpe/bundles-demo<file_sep>/src/AppBundle/Controller/EntityListDemoController.php
<?php
namespace AppBundle\Controller;
use AppBundle\Entity\User;
use AppBundle\EntityList\Type\UserListType;
use Jagilpe\EntityListBundle\Controller\EntityListControllerTrait;
use Jagilpe\EntityListBundle\EntityList\Column... | 06bae2dfe150d0787b028946ba3b7722f900adc3 | [
"Markdown",
"PHP"
] | 14 | PHP | jagilpe/bundles-demo | 6679748f7cc730bb74200a9f27f8b7aea7e4c6ab | 63ed6a90bd6d6faeb7802bd36eaf9856c2acd900 |
refs/heads/master | <file_sep>'use strict';
angular.module('legoBricks', []); | 74845bd218f42b0399ca26466e37c2595523878a | [
"JavaScript"
] | 1 | JavaScript | dvxiaofan/FEF-Quiz-Angular-Module | 89ec8fbae6ad26ca419c749a3d69cf4f353df1ba | c7841f3b0ad34e26eaa82212ddca6712518818f8 |
refs/heads/master | <repo_name>MKDir43/kaggle-docker-updated<file_sep>/docker/Dockerfile
FROM gcr.io/kaggle-gpu-images/python:latest
# install common libraries
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \
git vim tmux build-essential bash-completion sudo chromium-browser
RU... | f899378fcc1392f9a7c2430d63cc7b1a4bfe3c00 | [
"Markdown",
"Dockerfile",
"Shell"
] | 3 | Dockerfile | MKDir43/kaggle-docker-updated | 55b63016515bf16facf6d54edc44e7eb04ddc51e | 58f056219e02ef1fc0d334366c0c67a2c7d3daa7 |
refs/heads/master | <file_sep>class TrackRecordsController < ApplicationController
TAB_PERSONAL = 'personal'
layout 'content'
before_action :validate_game
helper_method :game
helper_method :personal_tab?
def index
@track, @configuration = filter_params[:track]&.split&.take(2)
@track ||= game.track_data.keys.first
... | d69022cdda35782ee8de2d6bd426bfa8a8a5ee64 | [
"Markdown",
"Ruby"
] | 45 | Ruby | gediminasz/crono | 8254c9e2b3996a4dfe914019f80a5c7a7d8326e6 | ffb9f3eb88f471103858bd5e986ee37916503644 |
refs/heads/master | <file_sep>#ifndef CONFIG_H
#define CONFIG_H
void list_config( std::vector<std::string> &list, std::string path);
void list_file_name( std::vector<std::string> &list_file, const std::vector<std::string> &config, const std::string &common_name, std::string marker);
bool replace(std::string& str, const std::string& from,... | 925af95dda23572a5975e79301005b6fdc94a000 | [
"Markdown",
"C",
"C++"
] | 8 | C++ | bigengwang2482/Dmk_Analysis_Cpp | 39875ad8ecc7da210f6fff77250dcd21009a9f63 | fe1c121bb0db3531aafb27652d45bc5066c6f545 |
refs/heads/master | <file_sep>from django.test import TestCase
from .merge import MergedTable, MergedRow, MergedCell, SourceValue
from hostlookup_combined.templatetags.merge_tags import merged_table, merged_cell
class MergedCellTestCase(TestCase):
def setUp(self):
self.col_0 = MergedCell([], None)
self.col_1 = Merge... | 90578e5c92c316d7e648cbca18e2174eb967f39f | [
"Markdown",
"Python"
] | 5 | Python | kris-steinhoff/netdash | dd136ab694d0894c164799cc4b02c57c63e9b810 | 9fa9e1ff13893dd8db95c31c97e5d71db87e644e |
refs/heads/master | <repo_name>fg/Cobol_Catalog<file_sep>/README.md
Cobol_Catalog
=============
Example: test-product.html
To: product/test-product-p5.html
<file_sep>/app/local/Cobol/Catalog/Helper/Product.php
<?php
/**
* Class Cobol_Catalog_Helper_Product
*/
class Cobol_Catalog_Helper_Product extends Mage_Catalog_Helper_Product
{
} | aad5e2de3966f874e6591f51f42f12e9ec350113 | [
"Markdown",
"PHP"
] | 2 | Markdown | fg/Cobol_Catalog | ae71a4776137885251ea508d56377c8892f3818d | dbd4ff23b433e47aab835e8e557cb0e9ca019b29 |
refs/heads/master | <file_sep># dungeonGame
The purpose of this project is to design a 2D RPG using JavaScript. It currently has a blank canvas with a square, but soon
it will have many and better shapes.
<file_sep>/**
*
*/
var player;
var canvasWidth = 800;
var canvasHeight = 400;
function startGame(){
myGameArea.start();
player = ... | eb51a165b310f3cdecc75ef1e5c33dbf93c26f6e | [
"Markdown",
"JavaScript"
] | 2 | Markdown | WilliamHinton/dungeonGame | b61f94924368cbe5cd5cef29acad168055b5ccb6 | af71d5d0f0d00f4c7721583e263289b62b002b34 |
refs/heads/master | <repo_name>osulluke/udacity-python-programming-foundations<file_sep>/breaktime.py
import webbrowser, time
print("The program started at "+time.ctime())
for x in range(0,3):
time.sleep(10)
webbrowser.open("https://www.youtube.com/watch?v=dQw4w9WgXcQ")
print("The program ended at "+time.ctime())
<file_sep>/notes... | 4400f3149589f7bccee795f53ca01a7769dd8b1f | [
"Python",
"Text"
] | 3 | Python | osulluke/udacity-python-programming-foundations | 5075866059154ed8378405afab1e11883637b4c0 | 4e68d6f1f4af9c2cbb2f005444c252ad5a0b7942 |
refs/heads/main | <repo_name>caiookb/the-movie-db-frontend<file_sep>/src/components/Pagination/styles.js
import styled, { css } from "styled-components";
import { Colors } from "../../utils/Colors";
export const StyledPagination = styled.div`
margin-top: 50px;
margin-bottom: 50px;
display: flex;
justify-content: center;
flex-... | 8501d892f507d04d28de61bf480dcf697274701d | [
"JavaScript",
"Markdown"
] | 35 | JavaScript | caiookb/the-movie-db-frontend | f631469a642d001908594d1a815328a60b317ebb | 71105c054d12bc742d0ca90ee15ac8ef7a192501 |
refs/heads/master | <file_sep><?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
<h3>Your form was successfully submitted!</h3>
<?php echo $link; ?>
<file_sep><?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.j... | d9a1edb1d0549f89db25cd04204a50229366933f | [
"PHP"
] | 58 | PHP | charli9230/cta | 6602f7506b5bb809fe25886f56d4f5ee0617c331 | 692980bd774f197654fca0e0f80fe2f4a407e6ce |
refs/heads/master | <repo_name>VolodymyrBor/tic-tac-toe<file_sep>/tic-tac-toe.py
from math import inf
import typing as typ
from terminaltables import AsciiTable
MAX_DEPTH = inf
best_row = -1
best_col = -1
count = 0
def board_element(cell: int) -> str:
if cell == 0:
return ' '
if cell == -1:
return 'X'
if ce... | b9ca48aeae1b566f573ec9eaf9e6c031db497f20 | [
"Python"
] | 1 | Python | VolodymyrBor/tic-tac-toe | aff9da0c99aa8b21faae4492c303e33f19ae30f3 | 5ecc5cd9c0069aa128d616f4cef404dae4a10c84 |
refs/heads/master | <file_sep>package domain;
public class Contact {
private Integer id;
private Person person;
private Type type;
private String value;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public Person getPerson() {
return pe... | 9369600adf805021eb7faeb7cb7e6ec29f9a3cb2 | [
"Java",
"SQL"
] | 8 | Java | yermochenko/example-persons-list | 3df0c8d048603b1bdb32d189dd0faa6002197d92 | 576e2501f7b5b98a74ca766b59c07d75b36b3ed5 |
refs/heads/master | <repo_name>patchkit/patchkit-util<file_sep>/social.js
// var ip = require('ip')
// does `a` follow `b`?
var follows =
exports.follows = function (users, a, b) {
var bp = users.profiles[b]
if (!bp) return false
return bp.followers[a]
}
// did `a` flag `b`?
var flags =
exports.flags = function (users, a, b) {
v... | c2afa9b02700502144d40f18e47b9f2e1118f473 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | patchkit/patchkit-util | 58be6e63e6784ef2b4cf2d3667bad9506b894024 | 855a3ca23d824a2b5e730ae08995b568b2e48b41 |
refs/heads/master | <repo_name>nakajima-masashi/slackbot_mugichan<file_sep>/reboot.sh
#!/bin/sh
forever restart node_modules/.bin/hubot --adapter slack
<file_sep>/start.sh
#!/bin/sh
npm install
forever start -c coffee node_modules/.bin/hubot --adapter \slack
| f13585d2ed8fa8e51b3a986d291a44c0e0184289 | [
"Shell"
] | 2 | Shell | nakajima-masashi/slackbot_mugichan | 75d7cfe11c4f191c738e64de6f189d9dc1c5ebb1 | 9ae245dbcb729544eec316fd51010a96dee5ba15 |
refs/heads/master | <file_sep># Example Meter Install via Shell Script
Example of a lights out install via bash script of TrueSight Pulse Meter for the following operating system environments:
- Centos 7.0
- Centos 6.6
- Ubuntu 12.04
- Ubuntu 14.04
## Prerequisites
- Vagrant 1.7.2 or later. Vagrant can be downloaded [here](https://www... | c7c1b9e622b4086306f21f8bad40c18b0c10471f | [
"Markdown",
"Shell"
] | 2 | Markdown | jdgwartney/vagrant-meter-install | d2a0672d4a1fb2dfc0a5f156e7b8c223f3695b1a | b61c645fcc025b2ffff90cd9f6fde5ab91fd5f2b |
refs/heads/dev | <file_sep>package dao;
import javax.annotation.Resource;
import enums.Status;
import org.junit.Assert;
import org.junit.FixMethodOrder;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.MethodSorters;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springfra... | 9431c357c1f806e31781c3609788cbb67429a911 | [
"Java"
] | 2 | Java | YXQ212526/SpringMybatisStudent | f5867a72ce444cb9ca79bf2ccac4171d17b445d4 | a2312ec1a03deec07e944e0fdae2b84b7c9ce617 |
refs/heads/master | <repo_name>nateburgers/scheduler<file_sep>/schedule.js
#!/usr/bin/env node
// schedule.js -*-JavaScript-*-
/**
* @class ArgumentUtil
*/
class ArgumentUtil {
// CLASS METHODS
static default(argument, defaultValue) {
if (null === argument || undefined ===... | 683ffb6f259e0b9f85dfa4473f0222a93054a573 | [
"JavaScript",
"C"
] | 3 | JavaScript | nateburgers/scheduler | 1326c3132a17997b543eb81184b3d8fb9b2f3c26 | 32b853853d76d6ed5ce7a74a2fdf1bd23a9169fe |
refs/heads/master | <file_sep>module Sinicum
module Runner
VERSION = "0.5.1"
end
end
| f145d5ab11577b5162a889f23b0004f9280f99c8 | [
"Ruby"
] | 1 | Ruby | dievision/sinicum-runner | 82d27a8cbee70e94ef0aa3343095abb0761b9a35 | 11c2b979f25956f4acaee23d95c036859cd22965 |
refs/heads/master | <repo_name>no99in/algorithms<file_sep>/Java-JDK-1.6/study-10.java
package Main;
public class Main {
public static int choice(int[][] dist, int process, int min, int[][] line,
int[][] en, int chiose) {
// exit
if (process == 5) {
return min;
}
// last
int last = 0;
int el = 1;
if(line[0][pro... | 4a40c842574b21429a848495f5b4d6b4eba0be3d | [
"Markdown",
"Java"
] | 6 | Java | no99in/algorithms | 22380a319d1b146c39106347ca078f242ec21965 | ece3df711f06fdfff432eb344f57e84620d3d7cc |
refs/heads/master | <file_sep>extern crate regex;
use std::borrow::Cow;
use std::error::Error;
use std::fmt;
use std::fmt::{Display, Formatter};
use db::database::{Backend, BackendError, Database};
use db::channel::DbChannel;
use self::regex::{Regex, RegexBuilder};
lazy_static! {
static ref REGEX: Regex =
RegexBuilder::new("... | d4845f61ff500b666d5017c1e0c5d2dd89b46318 | [
"Markdown",
"Rust",
"TOML"
] | 11 | Rust | giovanniberti/dbench | 3263f5ed5a25979f9d9954c49cc96e44708a97ae | bb52a2820e14c9edb09652fc578a61a3a14ad40f |
refs/heads/main | <file_sep>'''
Audio mp3 scraper
'''
import urllib.request # download di mp3
import pandas as pd
from pydub import AudioSegment # convert audio
import os
def extract_url_name(url):
'''
From url extract name animal
@params url: url of audio animal
'''
if type(url) is not str:
return None
... | 02a331461377afa03cf2a48692d2ccbc36080d95 | [
"Markdown",
"Python"
] | 2 | Python | federicodeservi/DSIM_project | a83ef6e80310caa2fd6c0e574499b9012495a26d | 3925ded5c338f22a39a107a90780308ef71dd082 |
refs/heads/master | <file_sep>package com.listingtotods.listtodos.controllers;
import com.listingtotods.listtodos.models.Todo;
import com.listingtotods.listtodos.repositories.TodoRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model... | cbc64838e7c029828532df4c82d41ed07cb18272 | [
"HTML",
"Markdown",
"INI",
"Gradle",
"Java"
] | 125 | Java | green-fox-academy/bagyoda | 695c48ddcb63c746dcecc00cf3ce769b6fb6c01c | 9c53d4041403e587e50ee3bcb777e13a50b4b985 |
refs/heads/main | <file_sep><?php
namespace App\Entity;
use ApiPlatform\Core\Annotation\ApiResource;
use App\Repository\UserRepository;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM;
use JsonSerializable;
use Symfony\Bridge\Doctrine\Validator\Constraints\Un... | 81b5aed009f25f7274992fe29bb75c9f7a45f4ca | [
"JavaScript",
"PHP"
] | 21 | PHP | propolis12/backup | ad3e977f9cf62173863edb78b4f8e39388ad2247 | 5069725a1259b98e0aaa98c971bef20ecfb61cd1 |
refs/heads/master | <repo_name>Shashank2512/Game-of-the-Amazons<file_sep>/src/board/Board.java
package board;
/**
* Represents a single state in the game
*/
public class Board {
public static void main(String[] args) {
System.out.println(new Board(10, 10));
}
public static final int EMPTY = 0;
public static final int ARROW ... | e89b53623f1a386ac5819bce39a0501b2c342d44 | [
"Markdown",
"Java"
] | 3 | Java | Shashank2512/Game-of-the-Amazons | 13c64c43e9a86e165aa08c9628ad421bed9b06d0 | a8e0ebf2bf872c283da5c545477ef2e241434374 |
refs/heads/master | <repo_name>anikinael/git-repo<file_sep>/footer.php
<div class="footer">
Copyright © <?php echo date("Y")?> <NAME>
<div><file_sep>/guess.php
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Иг<NAME>гадайка</title>
<link rel="stylesheet" href="style.css">
<script type="text/javascript">
var answer = p... | 03e7a5b761aa04a963b1ea6c89b25a1f89054675 | [
"Markdown",
"PHP"
] | 5 | PHP | anikinael/git-repo | 78855e105272e82b0fe537eac088a468d6d0a5b3 | d816def2355073c5281d35c884c978fb3e3f3db0 |
refs/heads/master | <file_sep>package com.example.administrator.fragmentpractice;
import android.app.Fragment;
import android.content.Context;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
public class ContentActivity extends AppCompatActivity {
public static void actionSt... | f1e63574e24462209a6152ef77176b549d13812a | [
"Java"
] | 5 | Java | JasonBao-BB/NewsView | c2004af9e32c25844bd9a1d7921bf22dcfe8fde0 | bd1c68fd437141a5587e9223aff0124491befa63 |
refs/heads/master | <repo_name>pinceladasdaweb/learn-react<file_sep>/002_props/app.js
'use strict';
var Hello = React.createClass({
render: function() {
return <h1>Hello {this.props.name} by React!</h1>;
}
});<file_sep>/001_helloworld/app.js
'use strict';
var Hello = React.createClass({
render: function() {
r... | 186ec0ebb85044bdb37d5ac5b9dbbb913257fc51 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | pinceladasdaweb/learn-react | 900524ab1b83e0dd7c5b8b527f40ea13b2a17424 | fd454e79cadb041e7cbbd1db16f63c5531d42277 |
refs/heads/master | <file_sep>/*
--------------------------------------------------------
Editor
--------------------------------------------------------
*/
function getSelectedRange(editor) {
return { from: editor.getCursor(true), to: editor.getCursor(false) };
}
function autoForma... | 27ada63af0b7b50d086fd20965a0d70d1078edbb | [
"JavaScript",
"Text",
"PHP"
] | 15 | JavaScript | sktastan/sktLiveEditor | 5ebfe459430f10554d6b3c8fa909abf7c84bad8a | 6f7685290c4f0b9e8288f6783fb02f52dd155bee |
refs/heads/master | <repo_name>BadassBison/Dungeon-Smash<file_sep>/src/index.js
import CanvasEl from './canvas.js';
import Character from './character.js';
import {refresh,
toggleSound,
startGame,
displaySkeletonDeaths,
displayHealthBar,
shoot,
changeDirection,
stopDirection,
... | 4018cb295920cfb1f3ec0a43dce8b963224b0f00 | [
"JavaScript",
"Markdown"
] | 7 | JavaScript | BadassBison/Dungeon-Smash | 2a0c69e0fbaa90a5219d2f6237a6e0a734d3c400 | d09adecc67fd95fe41d95c4230f41aa491ccce82 |
refs/heads/master | <repo_name>coolc0ders/SocialAuthXamarinFormsAspNetCore<file_sep>/AuthDemoXForms/AuthDemoXForms/AuthDemoXForms/Models/Facebook/FacebookSigninModel.cs
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using System;
using System.Collections.Generic;
using System.Text;
namespace AuthDemoXForms.Models.Facebook
{... | af93c211a8a765c2d3171bbe9309ff543d12d267 | [
"C#"
] | 8 | C# | coolc0ders/SocialAuthXamarinFormsAspNetCore | 6cbb661aac3688343f0bfb351abc0b7133fcab30 | 401fcded921a35c206321aa540d342104bab7453 |
refs/heads/master | <repo_name>ibraphem/greenshop<file_sep>/src/components/products/ProductList.js
import React, { useState } from "react";
import { makeStyles } from "@material-ui/core/styles";
import List from "@material-ui/core/List";
import ListItem from "@material-ui/core/ListItem";
import ListItemText from "@material-ui/core/ListIte... | 51514aa848e28167dba10b4c0bd572603279eb2f | [
"JavaScript"
] | 8 | JavaScript | ibraphem/greenshop | fa916a2682874d930a87e63a3e0f335434a57bd5 | 4c8f1b7031708228dd8b2a006676e72ee6037dcd |
refs/heads/master | <repo_name>ReganChetty/Tut-1-FizzBuzzWoof<file_sep>/main.cpp
//<NAME> 214 501 879
#include <iostream>
using namespace std;
int main(){
int i = 1;
while (i <= 50)
{
if (i % 3 != 0 && i % 5 != 0 && i % 7 != 0){
cout << i << endl;
}
else if (i % 3 == 0 && i % 5 == 0 && i & 7 == 0){
cout << "FizzBuzzWoof" ... | 18a52de5bcfe7904be5b60d253b85cbcf8883e70 | [
"C++"
] | 1 | C++ | ReganChetty/Tut-1-FizzBuzzWoof | 465d787de94046e04dbdc83efce6bd09c201986e | 596a198a19b4cf31a69d0e08c9e669236d239355 |
refs/heads/master | <file_sep># ember-cli-updated-google-tag-analytics
Plugin for ember-cli that injects Google Analytics tracking code into HTML content.
## Installation
**This plugin requires ember-cli version >= 0.0.47**
To install simply run:
```
npm install --save-dev ember-cli-updated-google-tag-analytics
```
## Warning: Conte... | 9bb1d913d57875b6b81988acc309dc14a381d0b5 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | robotjonez/ember-cli-updated-google-tag-analytics | d328d6f9bd0d57c0c7a8610b1d3f0569ccf4fd84 | a1bcb50da760f6e1951687d5f51cb5e63fe344df |
refs/heads/master | <file_sep>var upload_button = document.getElementById('upload-btn');
var upload_control = document.getElementById('upload');
var image_div = document.querySelector('div.image');
var canvas = document.querySelector('canvas#container');
var canvas_preview = document.querySelector('canvas#preview');
var context = canvas.g... | 909660ee77d558be574afba203d753aaab701d0f | [
"JavaScript",
"TypeScript",
"Markdown"
] | 3 | JavaScript | DevChache/CanvasAvatar | 36bba2de2b94d713953f1f917ac678425faf7e89 | be49a8a08e6f5b2dd4daacdf7c0d2d1a166d831d |
refs/heads/master | <file_sep>import {createApp} from 'vue'
import HighchartsVue from 'highcharts-vue'
import App from './App.vue'
import router from './router'
import store from "./vuex";
import ElementPlus from 'element-plus';
import 'element-plus/lib/theme-chalk/index.css';
import common from "./common";
const app = createApp(App)
a... | 2a03a58372766078beb839180aed16089c52bcdd | [
"JavaScript"
] | 4 | JavaScript | tengxiaoyang/superAdminPage20 | 90c066d1b51add0ba491380245884ca537a99b7c | eff0b681c6aef19d2e0036baaa7a83d34d8b1517 |
refs/heads/master | <file_sep>package fr.iutvalence.info.m3105.stackmachine;
public class StackUnderflowException extends Exception {
public StackUnderflowException(ArrayIndexOutOfBoundsException e) {
// TODO Auto-generated constructor stub
}
}
<file_sep>package fr.iutvalence.info.m3105.stackmachine;
public class WordSize {
}... | dea00d8cf81c1954e58f048731b964b703cce81f | [
"Java"
] | 2 | Java | Batlord/StackmachineTP1 | 5bfedafc96da353fc6721bdfda84d7390c57bacf | 15ed410ce94b89a165568657061965363b5a5889 |
refs/heads/master | <file_sep>#-----------------------------------------------------------------------------------
# Copyright (c) 2014 <NAME>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of
# this software and associated documentation files (the "Software"), to deal in
# the Software without restrictio... | 0fbf81a51a6c8bab04083fe4c92317fdd0fb5ef4 | [
"Markdown",
"Ruby"
] | 4 | Ruby | stephenjlovell/a_star | 373834e9b33440e50924f7f076c98b8f4caf65ba | f03fd43b12b4a3c5991aa2ac26190593f91c07b0 |
refs/heads/master | <file_sep>def ctof(x1):
return (x1*1.8) +32
def ftoc(x1):
return (x1-32) /1.8
#Main
print("Welcome to Pepa's Temperature converter.")
print("1. From Celsius to Farenheit [C to F]")
print("2. From Farenheit to Celsius [F to C]")
choice = int(input("Enter your option: "))
#Asking for a number
x1 = float(input("Now e... | c344025fffceab149ca627168919916ab4abd9dd | [
"Markdown",
"Python"
] | 2 | Python | Nikhilb6/celsius2farenheit | 3868c57bd1d1eb5b13d642e19bb2a831d12370ec | e1435685d0d92b11edb742c078dfefc10b17cb1f |
refs/heads/main | <file_sep>/*
==============================================================================
This file contains the basic framework code for a JUCE plugin editor.
==============================================================================
*/
#pragma once
#include <JuceHeader.h>
#include "Plugin... | 2c93496bd9eaa3b87061e11f39dc0cca8ab24fbd | [
"C++"
] | 2 | C++ | YoanDev/HalfTimeHome | 64f2d3a0665b68a89241fbba029b5cad3617ad6f | 88de741e488af3b0ac43e2df1f4c6ee448c75d85 |
refs/heads/master | <file_sep>// SPI oscilloscope
volatile uint8_t scope[4];
volatile uint8_t scope_ch = 1;
void setup(){
pinMode(MISO, OUTPUT);
pinMode(MOSI, INPUT);
pinMode(SCK, INPUT);
pinMode(SS, INPUT);
// SPI slave for debugging via USBTinyISP
SPCR = _BV(SPE) | _BV(SPIE);
}
SIGNAL(SPI_STC_vect) {
// send next channel... | d3bc0745624ddcf1057a6f5f5b86a24797eab4fc | [
"Markdown",
"Python",
"C++"
] | 4 | C++ | bitbyt3r/ISPDebug | d6b11389896094143c48cf9453bea15624e0df3f | bf395590f50396c282426b4af59dacc28ab8a4cc |
refs/heads/master | <repo_name>avirup10/Data-structure-and-Algorithms-Lab---week3<file_sep>/10. print"x+y=sum of x+y". x,y should be user input.py
x=int(input())
y=int(input())
sum=x+y
print(str(x)+"+"+str(y)+" = "+str(sum))
<file_sep>/README.md
# Data-structure-and-Algorithms-Lab---week3
Python
| 64f0265d3150a695975a1a0e4f1141a47a90c149 | [
"Markdown",
"Python"
] | 2 | Python | avirup10/Data-structure-and-Algorithms-Lab---week3 | 05a3b6781e38ea952338d905cb06aa89c632ae3b | e08dc415b2a794d19a05a198b7a17ca738f17f2e |
refs/heads/main | <repo_name>golfstrimmar/clean<file_sep>/src/js/first.js
import $ from "jquery";
// ------------------------------------------------
$(document).ready(function (e) {
$(".header__burger").on("click", function () {
$(".menu")
.addClass("menu-active")
.append(
$(
"<div class='header_... | d6d2b28e2cdac0dbbd3060e32ef2bbcc9ded505b | [
"JavaScript"
] | 3 | JavaScript | golfstrimmar/clean | 54abc79f9199469d3b777f608438c14d8eaff6d5 | c9b7baa2c3e892578b1f90fbd1e3b1da1b3bbfc2 |
refs/heads/master | <file_sep>package br.com.zup.teste;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Exercicio1 {
/**
* Faça um programa que solicite ao usuário para digitar
* valores numéricos inteiros positivos.
* Encerre a entrada de dados quando for digitado um número negativo ... | 1360a2d728275dce79958ebbed008b40c2500c69 | [
"Java"
] | 1 | Java | zup-estrelas-fora-da-caixa/exercicioAulaMonitoria | 2a82c1cebde25430b467df3041c64aa45570fbb6 | 4b99c9836b6abc02094cb2391b433aed9fa4577a |
refs/heads/master | <repo_name>alpaziz/280_spring_2020_solutions<file_sep>/linked_list_2.py
from node import Node
class LinkedList:
def __init__(self, size = 0, head = None, tail = None):
self.size = size
self.head = head
self.tail = tail
def getSize(self):
return(self.size)
def setSize(self, s):
self.size = s
def getHea... | cdd6c9b5487d23f12fd61d830e4571bcd85f31c8 | [
"Python"
] | 4 | Python | alpaziz/280_spring_2020_solutions | 1756f41f31e470ec9df73f71aceb282cbb626b9f | 33fdf7254854408100a37f0e0adba12571870477 |
refs/heads/master | <repo_name>gabrielfava/asaPY<file_sep>/Modulos/ProvasPassadas/aux_scraping.py
#ASAPY
import requests
__URL_GLOBAL = "https://www.urionlinejudge.com.br";
def printme(pagina):
body = getCorpo(__URL_GLOBAL+"/judge/pt/problems/view/"+pagina);
iInicio = find_str(body, "<iframe");
pos = (body[iInicio:]);
... | 20acc82fcf57062c05f48953af39b3a95b599581 | [
"Markdown",
"SQL",
"Python"
] | 8 | Python | gabrielfava/asaPY | be6211190d4acfca7aacef45d7dc467e2237496d | d48c3ce32345e07f984898aef79243f13ff63a83 |
refs/heads/main | <file_sep># OPIAnalytics
## SECCION A - Ejercicio1
LAs respuestas de la sección A se encuentran en el notebook Ejercicio1.ipynb
## SECCION B - BOPS
Las respuestas de la sección B se encuentran en el notebook BOPS.ipynb
## SECCION C - Seccion C
Las respuestas de la sección c se encuentran en el notebook SeccionC.ipynb
... | b5034dab44df04c1ca0b5b19eb95b9298105daf4 | [
"Markdown",
"Python"
] | 2 | Markdown | IvanEdmundo/OPIAnalytics | 277450a06f805212fb1ca1e8589c089c662234cc | b2d6597ae6422851e64a5394af49c1ec4c5ceec6 |
refs/heads/main | <repo_name>SrBenja007/PuppetsV2<file_sep>/src/main/java/net/astrocube/puppets/player/PacketUtil.java
package net.astrocube.puppets.player;
import net.astrocube.puppets.Reflection;
import net.astrocube.puppets.entity.PuppetEntity;
import net.minecraft.server.v1_8_R3.*;
import java.util.Collection;
import java.util.Col... | 30a9e71f269677a1203f75360cdc1cf19f6d82a7 | [
"Java"
] | 9 | Java | SrBenja007/PuppetsV2 | e9dc0170821f20a08169d9d88ee61d5766330dd9 | 25ba81567b91842fdd56b3e53ae2115b85c1056a |
refs/heads/master | <file_sep>#!/usr/bin/python3
import datetime
import matplotlib.pyplot as plt
from matplotlib import cm
import numpy as np
import sprintstats as ST;
def str2date(datestr):
#print(datestr,datestr[0:4],datestr[4:6],datestr[6:8])
return datetime.date(int(datestr[0:4]), int(datestr[4:6]), int(datestr[6:8]))
def ... | 97a3d2eba3049cbcb2e199f893be9e9148a8776d | [
"JavaScript",
"Python",
"Markdown",
"Shell"
] | 24 | Python | grcanosa/code-playground | 07b602d6a581a75448725920d720285af05c2c33 | 6de43f858de5bd8652ae6fb9b1bf82ab11caa47a |
refs/heads/master | <file_sep>import java.io.File;
import java.util.ArrayList;
import java.io.IOException;
/**
* Translation from virtual machine file to assembly file
* @author Kevin
*/
public class vm {
public static void main(String[] args) throws IOException {
File fileIn = new File(args[0]);
File fi... | 0b7c60820865d82abb0e0770c6392db9dad5f8a6 | [
"Java"
] | 1 | Java | k-ly73/VirtualMachine | 46826eb0f7a08bb5a72a8afecef9b6367150b900 | 0d7f1e4e347e7a7fa9fff013eb2910de0fab4002 |
refs/heads/master | <file_sep>// from data.js
var tableData = data;
var selector = "Date"
// YOUR CODE HERE!
//console.log (tableData)
var table_body = d3.select("tbody");
console.log (table_body)
tableData.forEach(function(xyz){
//console.log (xyz);
var added_row = table_body.append("tr");
Object.entries(xyz).forEach(func... | 249f35727b2b015fdcf88351f901d886c6a9b98b | [
"JavaScript"
] | 2 | JavaScript | hhamadneh/javascript-challenge | 59a0602ceedb3f84e01c8ed3cdc7e1c1897f3778 | 8c75bbee9aead838c76c118f60b73b93d27e545e |
refs/heads/main | <file_sep>export default {
getProductsLoading(state) {
return state.productsLoading;
},
getProductsLoadingFailed(state) {
return state.productsLoadingFailed;
},
getFilterPriceFrom(state) {
return state.filterPriceFrom;
},
getFilterPriceTo(state) {
return state.filterPriceTo;
},
getFilt... | d9b5279351b8f46313a0258698ed2d52ab96a79a | [
"JavaScript"
] | 15 | JavaScript | wisd-arh/moire | 3fe9c9b9d42e70c0c5b81980c9f1d2f2d7ad077a | 33a87c7198dd015f35a55d5c378cbcee780d0c8c |
refs/heads/master | <repo_name>Jonny-Smith-GitHub/web_demo<file_sep>/demo/models.py
from django.db import models
from django.contrib import admin
# Create your models here.
class Post(models.Model):
title =models.CharField(max_length=100)
body=models.TextField();
timeStamp=models.DateTimeField();
autoor=models.Cha... | 3f83aed5da4570b0aa904bd9a75d3899d14d1262 | [
"Python"
] | 1 | Python | Jonny-Smith-GitHub/web_demo | 95aa6d5f692c43bfdd3fe795dc0ea7dd047a36d6 | 46f47348b856c8cb3164436c450737835c6ad69d |
refs/heads/main | <repo_name>NazrulChowdhury/orangeHRM<file_sep>/cypress/page.modules/login.js
export function login(userName,password){
cy.get('#txtUsername').type(userName)
cy.get('#txtPassword').type(<PASSWORD>)
cy.get('#btnLogin').click()
}<file_sep>/README.md
# orangeHrm
A UI automation e2e test using Cypress of the pro... | ccf279bd32a9609e7dfd37c7d4306d6cb95d0c3c | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | NazrulChowdhury/orangeHRM | 356769fa0aae1125200c64b6ae9f0a802b8ddf81 | 35d7fa1bacb30b230d97501d3cd0fa7d1ec628a4 |
refs/heads/master | <file_sep>===================
UCoreProcessMonitor
===================
Introduction
============
The UCoreProcessMonitor can track the Init, Switch and Exit behaviour of a UCore Process.
How it works?
=============
Catch Signal: CallFunc
----------------------
The CallFunc signal is emitted by the UCoreFunctionMoni... | ebd533632bd466b72c5bd79c1beff66d21573fc6 | [
"Markdown",
"reStructuredText",
"Lua"
] | 7 | reStructuredText | iurnah/ucore_tool_s2e | 000b4af75cea8bba4d0f7076ab7b58d40c88adad | 4ebebd4c44dda3511e54fe2fb27001dd7f18c458 |
refs/heads/master | <repo_name>syedimam0012/miscBash<file_sep>/ecrAuditor.sh
#!/bin/bash
# Prerequisite
# - [Download and Install `jq`](https://stedolan.github.io/jq/download/) for your environment
# Run `./ecsAuditor` and wait, which will return three files
# 1. all.txt 2. stacked.txt 3. orphaned.txt
# See `README.md` for more details
... | 0b5a8600dd6a27cdc5d933e71b7cf1c723336a97 | [
"Markdown",
"Shell"
] | 2 | Shell | syedimam0012/miscBash | e8f70871bd77793d4c5e4f08a0d3d0111e5e1ade | 4b2f758773402457d6dd903aff3bd58bec1cd012 |
refs/heads/master | <repo_name>ecinoshuta/graph-dan-PTB<file_sep>/ptb.cpp
/* Implementasi PTB (BST) */
#include <iostream>
#include <malloc.h>
#define true 1
#define false 0
using std::cout;
using std::cin;
typedef int typeinfo;
typedef struct typenode *typeptr;
struct typenode{typeinfo info;
typeptr kiri, kanan;
... | d921fa44c20e3e28879ea0faadeda6dfc5496174 | [
"C++"
] | 1 | C++ | ecinoshuta/graph-dan-PTB | 76cdfa2741f997cd7ab4d5c6f2d26886b3113aa6 | bb7b2142f420aad369f8b0c31f6ba52a27fc0113 |
refs/heads/master | <repo_name>silver6wings/SamplePyCode<file_sep>/TestPython2/test_git.py
#!/usr/bin/env python
# coding=utf-8
# encoding=utf-8
from git import Repo
repo = Repo('/Users/junchaoyu/Desktop/TestGit')
#print repo.bare
#print repo.is_dirty()
git = repo.git
## 新建分支
#git.checkout('head', b='test')
## 切换分支
#repo.heads.dev.ch... | bb273c43bbd3f6be2e3feb3efeb2653d38e0d100 | [
"Python"
] | 63 | Python | silver6wings/SamplePyCode | 5735a5add8971b3e3bb2ad4cfb23946343a1458a | c325be58c70d724d1028460c8db417d0a349e555 |
refs/heads/main | <file_sep>import logo from './logo.svg';
import './App.css';
//import recherche.js
import Recherche from './components/Recherche.js';
//import etablissement.js
import Etablissement from './components/Etablissement.js';
import './components/Recherche.css'
import React from 'react';
import {Card, Message} from 'semantic-... | 5054f9c19fd48ad36479dba8ca02139c4c7c5a6e | [
"JavaScript"
] | 2 | JavaScript | ShirleyBJ/Annuaire-React | 1c95dba37eb148d42dd5423114874e226e08bfdd | 719b4b3c2a12ea74fafb157b750bcbb1aefc6888 |
refs/heads/master | <repo_name>klowe0100/filebrowser-safe<file_sep>/filebrowser_safe/compat.py
import django
django_version = django.VERSION
is_gte_django2 = (django_version >= (2, 0))
if is_gte_django2:
from django.urls import reverse
else:
from django.core.urlresolvers import reverse #noqa
| e4155ea1c752db8b33bae371f72e43bc05bdb232 | [
"Python"
] | 1 | Python | klowe0100/filebrowser-safe | 1c489e67a99437a4d81f684681c4c1bae87409c0 | 2d811494bb1d7be0b99c3b4bbb5e9df29f54695e |
refs/heads/master | <file_sep>package com.compostela.curso.holamundo;
import android.app.Activity;
import android.content.Intent;
import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import android.widget.... | bba5a91ac2ae7f87a7385b621b343ee87356d727 | [
"Java"
] | 3 | Java | kique11/HolaMundo | 7085e9487c553bde1bff3950807567ffa6e58f57 | d98015f983430682d9c322fbab0df5a04bbcd050 |
refs/heads/master | <repo_name>happyhaijuan/TN<file_sep>/README.md
# TN
# TN
<file_sep>/TNData.java
package wholedta_program;
import com.google.common.collect.Multimap;
import java.io.*;
import java.util.ArrayList;
import java.util.Collection;
/**
* Created by Haijuan on 2/11/2017.
*/
public class TNData extends MapForErrorSet {
... | 1e220ef9483bb739f1c6e9958941c5328dc04417 | [
"Markdown",
"Java"
] | 2 | Markdown | happyhaijuan/TN | 9b72b45a08048367e827dc4246063b72552f3d9d | 78775d2f70ac869e8ff8b98675bc092db8a15d97 |
refs/heads/master | <file_sep>import {BrowserModule} from '@angular/platform-browser';
import {NgModule} from '@angular/core';
import {NgbModule} from '@ng-bootstrap/ng-bootstrap';
import {AppRoutingModule} from './app-routing.module';
import {AppComponent} from './app.component';
import {BlogComponent} from './view/blog/blog.component';... | 689f27f100da6f70859eca596dbb6c2c673dd147 | [
"Markdown",
"TypeScript"
] | 16 | TypeScript | raphaelheizer/BlogWebApp | b74892f6d4415e168aa32ad553c1dcd0426f4e08 | 61a29f52e4fade973c39fd6d0bd56e9f58c300d7 |
refs/heads/master | <file_sep>#! /bin/sh
### BEGIN INIT INFO
# Provides: zebrasrv-2.0
# Required-Start: $local_fs $remote_fs $network $named $time
# Required-Stop: $local_fs $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Controls the zebrasrv daemon
# Description: Controls the... | 9ca8e1b60cf601af10303826c14156cfc5f2e0f4 | [
"Shell"
] | 1 | Shell | kosmasgiannis/zebra-cfg-bib-dom | 46161ae1161247980b5e1212a8fa689830ff9e29 | b2236565f57f418f60d87240768c559e6f2a7c73 |
refs/heads/master | <repo_name>Shubham707/eduplau<file_sep>/application/controllers/Bitcoin.php
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/**
* developed by <NAME>
*/
include APPPATH . 'third_party/jsonRPCClient.php';
include APPPATH . 'third_party/Client.php';
class Bitcoin extends CI_Controller
{
publi... | fe08fbe30c5508ec7f9fa23febcc12caddbdbc15 | [
"PHP"
] | 2 | PHP | Shubham707/eduplau | 00be240a0ef9b2ff585632f08599dd5010210260 | 58c417a533891f77734890483ae6aaa60df645a7 |
refs/heads/master | <repo_name>cuckoong/EB_spikes_trains<file_sep>/mcmc.py
import arviz as az
import matplotlib.pyplot as plt
import numpy as np
import pymc3 as pm
import theano.tensor as tt
from pymc3 import *
from models import SOD
import theano
az.rcParams['plot.matplotlib.show'] = True
if __name__ == '__main__':
#
seed_beta ... | 2380830f9edbf6e41e10ecaf134905a2b8c9ea43 | [
"Markdown",
"Python"
] | 4 | Python | cuckoong/EB_spikes_trains | 5cf7ae9240dc5b6a5d04711a33e55dd1af256f7c | 5cc22ce479e136659659ce109bb18752447b4462 |
refs/heads/master | <repo_name>guowei12/201703vote<file_sep>/public/javascripts/vote.js
let limit = 10;//每页10条数据
let offset = 80;//起始的索引
let voteFn = {
//此方法用于将用户user转成模板字符串
formatUser(user){
return (
`<li>
<div class="head">
<a href="detail.html">
... | 49f6272629a27c4c970c220a9ec2232b7638ff1d | [
"JavaScript"
] | 1 | JavaScript | guowei12/201703vote | fa5d3f29300a3a8d5ede76d8a454e28be984ca7b | 5ce42fbeb7b3b5b0eb80ddf2651c0b4c9436e509 |
refs/heads/master | <file_sep>import {StyleSheet} from 'react-native';
import scale from '../../util/scale';
import * as CONST from '../../util/Constants';
export default StyleSheet.create({
itemContainer: {
padding: scale(10),
marginVertical: scale(5),
backgroundColor: CONST.WHITE_COLOR,
borderRadius:... | 63b5efb122e264a90dd3a3bf049aa5e5dccc579b | [
"JavaScript",
"Markdown"
] | 30 | JavaScript | dkquocbao/masternode | e4358bae798978e3dc15d6149a34416a82558694 | 34301ac933b54a84924b2a517726fc53069d53b5 |
refs/heads/master | <repo_name>zhangtianfengRed/BoxGame3GameoffHYBRID<file_sep>/GameoffHYBRID/Assets/Script/map.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class map : MonoBehaviour {
public mapData minfo = null;
// Use this for initialization
void Start () {
}
// Update is ... | 13fdca59d6ffe44b25ab68d10b27f5a98bbbb331 | [
"C#"
] | 5 | C# | zhangtianfengRed/BoxGame3GameoffHYBRID | 1b50a1ab1626931405ca55f595d42408065e4b22 | 1892900d1b67edeb1a8bee2cdbcb359dfe45f60f |
refs/heads/master | <repo_name>haryphamdev/snake-game-java-swing<file_sep>/main/Food.java
package main;
import java.awt.*;
import java.util.*;
// Food is a food item that the snake can eat. It is placed randomly in the pit.
public class Food {
//current food location(x,y) in cells
private int x,y;
//color for display
private Color c... | 707d8e3cce5057d3550f7c98a2a2e70009d72b36 | [
"Markdown",
"Java"
] | 3 | Java | haryphamdev/snake-game-java-swing | dd2def6540a3d08060b7796ec8d833ddda41ce58 | c9adc7b1ca145395e814bf847b7cafc26a55fdf0 |
refs/heads/master | <repo_name>Madhav-Malhotra/Madhav-Malhotra.github.io<file_sep>/blog/2021-Annual-Reflection/assets/js/init.js
// ================================ INIT CANVAS ================================
function initApp() {
//Check device width
const width = (window.innerWidth > 0) ? window.innerWidth : screen.width;
if (widt... | 8c003f171d8dc2a0990464f38be367172293e539 | [
"JavaScript",
"HTML",
"Markdown"
] | 8 | JavaScript | Madhav-Malhotra/Madhav-Malhotra.github.io | 0b045c3ce4a2fbbe521a308a344d488358040d70 | 19515c556a78a37451a75ac58202d27d2d71dbc5 |
refs/heads/master | <repo_name>SVYSHE/javautils<file_sep>/src/main/java/svyshe/com/github/libcommons/libformats/csv/ideas.md
# Ideas for libCSV
> <NAME>, 25.09.2020
## `CSVConverter`
To convert from CSV to and vice versa
- `.xlsx` Excel-Sheet
- Word table
- Database table
- Markdown table
- LaTeX table
- `CommaSeparatedValue` and `Com... | 813e0a4cb049534f3464872c0714d6c5599f3f6e | [
"Markdown",
"Java"
] | 7 | Markdown | SVYSHE/javautils | 0696cd9d07fedb774e473ce52b261acba8cf3922 | f93852fb7929c6e67c1ece4660281818879205a3 |
refs/heads/master | <repo_name>DolGit/react-redux-init-app<file_sep>/src/reducer-management.js
var reducers = {}
export {reducers}
var initialState = {}
export {initialState}
export function attachState(state) {
for (var name in state) {
initialState[name] = state[name]
}
}
export function attachReducers(defaultReducers... | cf5bc052937b402384e971fa0049e36915096fd5 | [
"JavaScript",
"Markdown"
] | 16 | JavaScript | DolGit/react-redux-init-app | 9ecbee16bb0a770937ef918a23f7e9fc6437d308 | abfef6e78fc41a86ffa7baae0d339d758b9ecc89 |
refs/heads/master | <repo_name>Lukas-Ertl/Color-Community<file_sep>/src/app/color-grid/color-grid.component.ts
import { Component, OnInit } from '@angular/core';
import { ColorComponent } from '../color/color.component';
@Component({
selector: 'app-color-grid',
templateUrl: './color-grid.component.html',
styleUrls: ['./color-grid.c... | bedcf5ba7fc242321a1b67e9f39bc2933c4db0a5 | [
"TypeScript"
] | 2 | TypeScript | Lukas-Ertl/Color-Community | ab3867da49719b4529c5a9abe33fd5730504e8f1 | 14aaa480ef30c2d340b2cc4c416ca3375274f9e1 |
refs/heads/master | <file_sep>var gulp = require('gulp');
var sass = require('gulp-sass');
var rename = require('gulp-rename');
var mainFile = './assets/src/scss/main.scss';
var scssFiles = './assets/src/scss/partials/*.scss';
var cssDest = './assets/dist/css';
gulp.task('style', function() {
return gulp.src(mainFile)
.pipe(sass()... | 0fd478ca23662e51dd50c8081162225dd74dbf1f | [
"JavaScript"
] | 1 | JavaScript | victortineo/docket-teste | a94e810fa740838ea13e7c4b1fd60fe1b0871667 | 6cae025f54df462383bea9d1a3c24bcd9aef708d |
refs/heads/main | <repo_name>lorenatorog11/reproductor<file_sep>/src/App.js
import ReactPlayer from 'react-player';
import subtitles from './subtitles/subtitles.vtt';
function App() {
return (
<div className='video'>
<ReactPlayer
width='100%'
height='100%'
playing
controls
url='https... | b2adcd4de14db3ce7980942437745b707a68d09e | [
"JavaScript"
] | 1 | JavaScript | lorenatorog11/reproductor | cfc12964f507e0a556a8f14cbefde915f2bc64c6 | baf1fa0c44792c265ed37336f3cac2dd715b0e57 |
refs/heads/master | <repo_name>lucas-clemente/ember-json-api<file_sep>/README.md
# ember-json-api
This is a [JSON API](http://jsonapi.org) adapter for [Ember Data](http://github.com/emberjs/data) 1.0 beta 3, that extends the built-in REST adapter. Please note that Ember Data and JSON API are both works in progress, use with caution.
###... | 2e10a0f21eacc42699a95d87a1749854bc33133e | [
"Markdown",
"JavaScript"
] | 2 | Markdown | lucas-clemente/ember-json-api | 6128ead4215a4b1a31854d279554304d09ce920b | 75494a5c525f8978844f12716e0c0c20ab0e21e9 |
refs/heads/main | <file_sep>package logica;
/**
*
* @author louisdhont
*/
public class Datum {
private String datum;
public Datum(String datum) {
this.datum = datum;
}
public String getDatum() {
return datum;
}
public void setDatum(String datum) {
if (datum == null) {
t... | 8b493b592134d65cdd166c1a512d251a13a12471 | [
"Markdown",
"Java"
] | 5 | Java | Xevro/2019-java-corona-application | ecbb86de7cb170a590f9630b4f5739f58e648e79 | 5d3c18617e6165733815458774826e016a3eb31e |
refs/heads/master | <file_sep><?php
$id = 'acop';
$version = '1.0.0';
$ilias_min_version = '5.2.0';
$ilias_max_version = '5.2.999';
$responsible = '<NAME> / <NAME> / <NAME>';
$responsible_mail = '<EMAIL> / <EMAIL> / <EMAIL>';
?>
<file_sep><?php
include_once './Modules/Exercise/classes/class.ilExerciseMemberTableGUI.php';
include_once("./S... | e4f7ed1fb6f26363b92a14e906dd7b75ea87346b | [
"Markdown",
"PHP"
] | 10 | PHP | Ilias-fmi/ACO | 9a64cca0a47639e8f26af3ee2d6bda844f9383f3 | eea31a437b4a9335b6998e886c0788529d001118 |
refs/heads/master | <repo_name>rohanmahajan0396/Introduction-to-Data-Science---Coursework<file_sep>/Dataframes and Sorting/Homework2.R
#Course number - IST 687.
#Homework 2 - Submitted by <NAME> on September 12,2018.
#Name of Assignment - HW 2: Data Frames & Sorting.
#Due Date - September 12,2018.
#Step A: Initialize an 'arrests' d... | 99a7e3914a6301935f45259f62a2521c2448c8e8 | [
"Markdown",
"R"
] | 3 | R | rohanmahajan0396/Introduction-to-Data-Science---Coursework | 437f17d4a9187f89b64a7340b8e58904fa5149d5 | cf70d946b3b7edc5c5533e2ef8e0408251f9ee50 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.