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>koga117/proyecto-sena<file_sep>/Capadelogica/LGestionUsuario.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Capadedatos;
using Capadelogica;
using System.Data;
using System.Net.Mail;
namespace Presentacion
{
public class LGestionUsuario
{
publi... | dddeedaac94f0e9195c1806ef325e8c5ae71d44b | [
"C#"
] | 31 | C# | koga117/proyecto-sena | 9536f25e4d79a27351b7c213850842a87567624a | 7058c5e1c037f38a4051b4d0b723436ef241befa |
refs/heads/master | <file_sep>module.exports = function (grunt) {
var i18n = ! grunt.option('DskipI18n'),
lint = ! grunt.option('DskipLint');
// Automagically load grunt tasks.
require('load-grunt-config')(grunt, {
config : {
pkg : grunt.file.readJSON('package.json'),
jitgrun : true,
target : 'dist/',
}
});
... | 19269cb203fb1453d3d9d5cf2eef618e5482dc63 | [
"JavaScript",
"Markdown"
] | 8 | JavaScript | CWHopkins/space-cmd-r | cbf55b0053bc8eb1dccec973666cf917fb067726 | dd5ba3339ab05afab8447b987986f19bc21eb4c7 |
refs/heads/master | <file_sep>/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
import java.applet.Applet;
import java.awt.Graphics;
import java.awt.Color;
/**
*
* @author bushra
*/
public class NewAp... | a8f35f0b36084c5485f2bfa61a515e73a7420678 | [
"Java"
] | 1 | Java | sjbushra/simple-home-using-java-applet | 8d5c7f1ddcc20f09efcb3dffe3154e14b5ec1b6c | d20106857be576fe8b21dc9aa241bbb72df5422d |
refs/heads/master | <file_sep><!-- Header -->
<?php include "header.php"; ?>
<div class="container page">
<div class="ten columns offset-by-one">
<h2>CONCEJOS</h2>
<div class="acordeon">
<h3><NAME></h3>
<p>
<p><img src="images/cuando-duermes.jpg" alt=""></p>
<p>Dormir con las piernas levemente elevadas, co... | 92556f69bcdb1881835ddd18621d090e77e17e5c | [
"PHP"
] | 10 | PHP | gydoar/Delcy | 1762462f60465007dd0aff3a12653abb39c2a53f | 1ec2f39850c45c8a3172b971e74f9b660447824a |
refs/heads/master | <repo_name>tareqbader/wordcount-project<file_sep>/wordcount/views.py
from django.http import HttpResponse
from django.shortcuts import render
import operator
def homepage(request):
return render(request, 'home.html', {'x': 'Hi I am Designing My Second WepSite'})
def count(request):
fulltext = request.GET['f... | 9aef94e8d83e831e6e123897be46b39fa2a73c2e | [
"Python",
"HTML"
] | 2 | Python | tareqbader/wordcount-project | 95e0ffa0b6b5e7d7015c51bef36dbf2d71977757 | 626f2d7e47d714fcded629f5b9d3fcc4616260fc |
refs/heads/master | <repo_name>nad314/core-game<file_sep>/core-game/gameMesh/glGameMesh.h
#pragma once
namespace core {
class glGameMesh {
public:
GLuint buff[6];
GLuint vao;
int ind;
glGameMesh() { memset(buff, 0, sizeof(buff)); ind = 0; }
GAMEDLL ~glGameMesh();
GAMEDLL void dispose();
GAMEDLL bool make(GameMesh& mesh, ... | 102a077c42b4cd6db63a7391ca8c6a913c76437a | [
"C",
"Makefile",
"C++"
] | 36 | C++ | nad314/core-game | d1448457d9d2f6a3dc30efea367c2f4f467853bc | d9f770f1c6265aba36b34952e9a24a841a2ebae5 |
refs/heads/master | <repo_name>BridgeNB/Redux-Project-Readable<file_sep>/src/components/NewComment.js
import React, { Component } from 'react';
import { connect } from 'react-redux';
import { guid } from '../api/util';
import { addComment } from '../actions/commentActions'
class NewComment extends Component {
handleSubmit = (e) => {
... | 36dd27420eae80c8bf18c6f51c17d1e5e42cfe52 | [
"JavaScript"
] | 8 | JavaScript | BridgeNB/Redux-Project-Readable | a06f964c91906b07922d2f1e1395758da2a547db | e5a53c7ac1175a358ea341fd413b4d32b6bab539 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace Nobel
{
class Nobel
{
static void Main(string[] args)
{
//2.
List<NobelDíj> nobelDíjak = new List<NobelDíj>();
foreach (var sor in File... | 5ad62ca1f5b9e5df90a345ea66c68358c80842cf | [
"C#"
] | 2 | C# | zeon77/Szf_prg_2018-10-02_Nobel-dijak | 59ccdbe947a60a0b3816e4fdb5172ae050a423f2 | 578faef03cfd2a78b65c0d4c67204bed9bffe4ab |
refs/heads/master | <file_sep># raytracing-learning
ray tracingの勉強
https://raytracing.github.io<file_sep>#define STB_IMAGE_WRITE_IMPLEMENTATION
#include <iostream>
#include <random>
#include "stb_image_write.h"
#include "sphere.h"
#include "hitable_list.h"
#include "camera.h"
struct Color
{
unsigned char r, g, b, a;
Color() = default;... | f71a18c0a20b09401efe7ebccebaa537c5d8b587 | [
"Markdown",
"C++"
] | 2 | Markdown | butislime/raytracing-learning | 75a76f6b74861a6b67ca68f7fc1e0d3c0929b249 | c38a7ab2091eaf564e12d89ba218a7e0f1ba162c |
refs/heads/master | <file_sep>class ApplicationController < ActionController::Base
protect_from_forgery
# def mapquest_api
# directions = Typhoeus.get(
# "http://www.mapquestapi.com/directions/v2/route?key=Fmjtd%7Cluubn90z29%2Cr0%3Do5-902wda&from=San+Diego,CA&to=Los+Angeles,CA"
# )
# @results = JSON.parse(directions... | 501b0bcc89981597c63353535355b209ab751b35 | [
"Ruby"
] | 7 | Ruby | jeesong/baytrafficestimator | c6f2562e764a7b9ddf22ebb9818c22391eecb286 | bc2819904ecbf8024c99d65273d5edc390ae6b09 |
refs/heads/master | <repo_name>umakusumuru/EmployeeEditView<file_sep>/README.md
# EmployeeEditView
Edit view for Employee
<file_sep>/index.js
/**
* AngularJS
* @author vinu <<EMAIL>>
*/
/**
* Main App Creation
*/
<<<<<<< HEAD
var editviewapp = angular.module('KaakateeyaEmpEdit', ['ui.router', 'ngAnimate', 'ngSanitize', 'ui.bootstr... | 9f7def741941b0900d2d5f8a780326c3ebbe04b8 | [
"Markdown",
"JavaScript"
] | 5 | Markdown | umakusumuru/EmployeeEditView | d1f91e86e9e39a32ff04006eb05527638c705e78 | e63052a7e691a48b376d3f2790a7b9fdb2aeb208 |
refs/heads/master | <repo_name>dariushooks/RookMusicPlayer<file_sep>/app/src/main/java/com/rookieandroid/rookiemusicplayer/adapters/SongsAdapter.java
package com.rookieandroid.rookiemusicplayer.adapters;
import android.content.Context;
import android.net.Uri;
import android.os.Handler;
import android.support.v4.media.session.Playbac... | 43e15301058f7fcd6c37337450b3e5a0c82980ff | [
"Markdown",
"Java"
] | 19 | Java | dariushooks/RookMusicPlayer | f59cfdd7bfa623e5bd7767b6a8fd57ca9dfae982 | 305ec63b51bed3113e26b006c7f166cf9f829983 |
refs/heads/master | <repo_name>FlorianVeys/BluetoothSender<file_sep>/BluetoothSender-Windows/BluetoothSender-Windows/ViewModel/Converters/BooleanToColorConverter.cs
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data;
usi... | 8c88c16db8dc592618cb0644baec98c6a3f8f72f | [
"C#"
] | 6 | C# | FlorianVeys/BluetoothSender | 86f70cdf44e896c7bd6a64292a9acaa42bfb7750 | d5c4adf10b873884cc715efe5da293326f1a63ef |
refs/heads/master | <file_sep>package com.company.proj.Topic;
import org.springframework.stereotype.Service;
import java.util.ArrayList;
import java.util.List;
@Service
public class TopicService {
private List<Topic> topics = new ArrayList<Topic>();
public TopicService() {
this.topics.add(new Topic(1,"maths"));
... | 44ba823ddcd11510c0d52aa5d3b8d3a64e0dd1df | [
"Java"
] | 1 | Java | kumararunesh/sbproj | ff4ab265a1b6e8fbc10db5e87dbe7a9bbf190d9a | c820f3b47c252aa162632e094142f1011da226bb |
refs/heads/master | <file_sep># Villain Mail
A villains-only messages application.
## Installation
1. Clone source code from url https://github.com/trenshaw88/Villain-Mail.git
2. Create a database
3. Create .env and add database credentials
4. Run migrations
# Heroku
1. Open browser, navigate to url https://villian-mail.herokuapp... | 6f480c4cd68c170adee2ea24539e444f32bbfa2b | [
"Markdown",
"PHP"
] | 2 | Markdown | trenshaw88/Villain-Mail | 62b624cbb9477ed56a60eb520f8a0cf6a6d2866e | 1b2961e07045ca23f24265751ef600792db0eb60 |
refs/heads/master | <repo_name>zawa-works/EmoTip<file_sep>/settings.js
const ids = ['very_satisfied', 'satisfied', 'neither', 'dissatisfied', 'very_dissatisfied']
document.addEventListener('touchmove', function (e) { e.preventDefault(); }, { passive: false });
function drawSelectedBorder(ele) {
let id_value = ele.id
ids.forEach(f... | 2f3c222dea09a6e66a94283a8265dcf5e871a0e2 | [
"JavaScript"
] | 1 | JavaScript | zawa-works/EmoTip | ab0e85c13407691a777be964de98350328683dad | 3e6da745cf6850accfc05f0d558b7ac7ecfc8b9e |
refs/heads/master | <file_sep># import asyncio
# import websockets
# async def hello():
# async with websockets.connect('ws://localhost:8080') as websocket:
# name = input("What's your name??")
# await websocket.send(name)
# print(websocket)
# print("> {}".format(name))
# greeting = await websocket.recv()
# print("> {}".forma... | dcd29b8fe99ef486d8665f907ae6ddd923cf452e | [
"Markdown",
"Python"
] | 3 | Python | Rowing0914/WebSocket_python | dd8b1c17a3768e1cc1a606eb03a99e19a06f4889 | 584458ca7114477fb0e81e0da01707f9be4fb1b3 |
refs/heads/master | <file_sep>import helloWorld from './hello-world';
import addImage from './adding-image';
import HelloButton from './components/Hello-button/Hello-button';
import CustomButton from './components/Custom-button/CustomButton';
helloWorld();
addImage();
const helloButton = new HelloButton();
helloButton.render();
const ... | a2cca13c2a4365472a5deaf2a0bb349e49bf8edb | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | jaintanya1128/learning-webpack | 42bf9b729fb141d101c6603ad9ac146be69ffa90 | 3e98b763d120029650c1a15c2a8e49797c31b80b |
refs/heads/master | <file_sep>package ui;
/**
*
* @author DEGUZMAN
*/
public final class Constants {
public static final String DONT_EXIST = "dont exist";
public static final String EXIST = "exist";
public static final String ERROR = "error";
public static final String HOST = "127.0.0.1";
public static final int P... | 40f8853cff0557fe5665e795d2c9880a7b7dd3b5 | [
"Java"
] | 13 | Java | Jinamizi/Project | 05762cdcca2aadbd4daec38bebebb22fc0e4dae5 | 3199be465e33d6c69210a66f76cbab224cb8f6c7 |
refs/heads/master | <repo_name>giss-ignacio/imdbdownloader<file_sep>/README.md
# imdbdownloader
Download movies database to csv for further data science analysis.
## Movies database processing:
<p align="center">
<a href="http://www.youtube.com/watch?feature=player_embedded&v=lsX6UijPygM
" target="_blank"><img src="http://img.youtube.com... | 201da79dda80843ff58b11c33bab60f60873d6ae | [
"Markdown",
"Ruby"
] | 5 | Markdown | giss-ignacio/imdbdownloader | e1f11f51bfbfaa22605f56bdfe774deb54a8c27d | b8b86642fc24eae0c6e1099eef0ab279f7a7190a |
refs/heads/master | <file_sep><!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8">
<title>practica 5</title>
<link rel="stylesheet" type="text/css" href="estilo.css">
</head>
<body>
<div id="contenedor">
<div id="cabecera"><h1>PRACTICA 5 DE PHP</h1>
<div>Nombre: <NAME></div>
<div>Fecha de entrega: 07 de septiembre de... | 7620112f54b1323ab4e98123660366f0a7e6218a | [
"PHP"
] | 9 | PHP | severocruz/practica5PHP | fff0f6d58839613c0d717a0a529a040d9e2b146e | 1717d1e9a3e679a8c302482c7876ac14e2763e2b |
refs/heads/master | <file_sep>/*
* Copyright 2015 IBM Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | 08bede0c9ff03e4c691998b47c39db8ac56bce17 | [
"JavaScript",
"Java",
"Maven POM",
"HTML"
] | 35 | JavaScript | codeaudit/eclairjs-nashorn | ce14f4b91c0a5786e095ec5b6836af6bf0b2b2c0 | 37c6b7407484563bdd857b916e1ef693c9fc5f8d |
refs/heads/master | <repo_name>JMLuceroav/Automatizacion<file_sep>/automation/src/test/java/com/choucair/formacion/pageobjects/CategoriaPage.java
package com.choucair.formacion.pageobjects;
import net.serenitybdd.core.annotations.findby.FindBy;
import net.serenitybdd.core.pages.PageObject;
import net.serenitybdd.core.pages.WebElement... | 34f11bca98265be40d6ac0c0815c84839164355c | [
"Java"
] | 4 | Java | JMLuceroav/Automatizacion | 2d906d120bff77e4b532bec1871ca7636fca3c5b | 1df1e5794be3f4f1c58114c0ffcf0fefd3b815ac |
refs/heads/master | <file_sep>class Api::V1::ReviewsController < ApplicationController
def index
if params[:book_id]
@reviews = Book.find(params[:book_id]).reviews
render json: ReviewSerializer.new(@reviews)
else
render json: {
error: "Must have a book to see reviews"
... | 60c0a2aa7fe37cd6e45a62843421b5cd168a1ada | [
"JavaScript",
"Ruby",
"Markdown"
] | 16 | Ruby | yanchanllin/book-fellow | fd6509786ec19c0522f0b9b4ab29f87e5dc78158 | 57aeabc6f6a4f8c71af882afdee8e6d41988f545 |
refs/heads/master | <file_sep>apturl==0.5.2
beautifulsoup4==4.4.1
blinker==1.3
Brlapi==0.6.4
chardet==2.3.0
checkbox-support==0.22
command-not-found==0.3
cryptography==1.2.3
defer==1.0.6
Django==1.11.5
django-bootstrap-form==3.3
django-bootstrap-toolkit==2.15.0
django-bootstrap3==9.1.0
django-widget-tweaks==1.4.1... | 343af2f3addd079adcfe2b63eb2db5fb8c9ed6b2 | [
"Python",
"Text",
"HTML"
] | 4 | Text | manwithhonor/technotrack-web1-autumn-2017 | bb2bbcbfaf9547e3713eb2a44f7359bdf978d1e3 | ad6898343df618d7c95b0c4839290ab7fe8b6736 |
refs/heads/master | <file_sep>using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Character : MonoBehaviour
{
<<<<<<< HEAD
// 나도 모른다!!
=======
// 머꼬!!
>>>>>>> f37fabdef3ccee5d05679ad2bc927fb826e2e94e
public int _hp; // 체력
public int _damage; // 공격력
pub... | db7944f5a730da91962734fb5e00baaf6dd41b1c | [
"C#"
] | 6 | C# | SongDoRame/Top-of-Abyss | 4c2219338f9a9803b8b79689294cb5fa95caa37e | 3269cde63d3e987f524ffc5b8e1b25e529ab2543 |
refs/heads/master | <repo_name>Zverik/ansible-tile<file_sep>/roles/get_veloroad/files/expandjson.py
#!/usr/bin/python
import sys, os, cgi, json
import psycopg2
import cgitb
def query_geometry(osm_type, osm_id, coord, by_coord=False):
if (not by_coord or not coord) and osm_id and (osm_type == 'way' or osm_type == 'relation'):
... | f97dde28717f0a99ce6b14622a6a958dac446c03 | [
"Ruby",
"HTML",
"INI",
"Python",
"Shell"
] | 28 | Python | Zverik/ansible-tile | d0ac0c2485cea03de458b3acabd73efc1ee6e341 | ad16a9b1967b1c5acb696c04b29d549203b549e5 |
refs/heads/master | <file_sep>from socket import *
from datetime import datetime
import select, sys
def broadcast(sock, msg):#send to all except server and sender
for s in connections:
if s != servSocket and s != sock:
try:
s.send(msg.rstrip('\n'))
except:
s.close()
connections.remove(s)
del usernames[s]
del... | 25b649f1166e7243958d8fe8b651a1a3b6de6c3d | [
"Markdown",
"Python"
] | 4 | Python | skgaribay/net-for-noobs | cd1da6e852837a530e25485a9b9a47f10865a354 | d7152ece248501c1bd946d37f570429410b9f59c |
refs/heads/master | <file_sep>#!/usr/bin/env python
import requests
import json
class Tg:
base_url="https://api.telegram.org/bot"
def __init__(self, token):
self.token = token
def send_msg(self,tgid,msg):
construct_url=f"{self.base_url}{self.token}/sendMessage"
header = {'Content-type'... | 1261fa6ad5b31b9fad71487f7c7f4208ae7c62e4 | [
"Markdown",
"Python",
"Text"
] | 6 | Python | gorbushka/waviot-api | 09a7d4d476143598d690a230118aa0e16b0cb311 | a4362bedc2eedcb5b2296f1dac2c80ca7b2fa1dd |
refs/heads/master | <file_sep>from random import randint
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
min_ruleta = 0
max_ruleta = 36
numeros_ruleta = 37.0
verde = 0
max_tiradas = 35
corridas_programa = 10
estrategia_multiplicador = {
'rojos': 2,
'pares': 2,
'docenas': 3,
'columnas': 3,
'plen... | 985d0ac38571b1e696da4465d4ba9d2c7c92ccc7 | [
"Python"
] | 4 | Python | oberruti/Simulacion | ff78818aff0c68db2e37e77e88ef225e234614bd | 0c8b195b814e20a7a2813637bdf87f590e9a1c62 |
refs/heads/master | <file_sep># <font color='blue'>Overview - Add code below</font>
## <font color='red'>About NFL - Add code below</font>
### The National Football League
America's most popular sports league, comprised of 32 franchises that compete each year to win the Super Bowl, the world's biggest annual sporting event. Founded in 192... | ad4f1f6ab1c6241d6c5d0693d8d30d5cb4fdc5d9 | [
"Markdown",
"SQL",
"Python"
] | 5 | Markdown | malisum/etl_proj_w13 | 8bf156dbda6bf10a419d670a770d3949ee32afae | 1df9a6d5ff29620274a813b7eb148c018a071ee2 |
refs/heads/master | <repo_name>kikkoooo/CCS-Pool<file_sep>/scripts/app.js
$(document).ready(function(){
// Get JSON file
$.ajax({
type: 'GET',
url: './scripts/data.json',
dataType: 'json',
success: function(data) {
$.each(data, function(i, player){
if (player.faveColor == "red") {
$("#message").append('<div class="... | d784d0003a3d89e94927cc4c5976710ad776a423 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | kikkoooo/CCS-Pool | 1712f2046ff7615a1cd15ff5c231ea50f19848c3 | 912b29dce50d75977661b6e334b43f4b11a790fa |
refs/heads/master | <file_sep>google.charts.load('current', {
'packages':['corechart','geochart', 'controls', 'bar'],
'mapsApiKey': '<KEY>'
});
google.charts.setOnLoadCallback(drawBarChart);
google.charts.setOnLoadCallback(drawLineChart1);
google.charts.setOnLoadCallback(drawLineChart2);
google.charts.setOnLoadCallback(drawScatte... | 6edc7e678efc9d27ed713d1d01645cd5829e2726 | [
"JavaScript"
] | 1 | JavaScript | noltontarn/chonburi_visualize | b60ee6a6a959ef3900576d951a9030bb815a6e8a | f8fd54a905e377330c4330799b83c6ed7eae8327 |
refs/heads/master | <repo_name>asad/PatternSimilarity<file_sep>/nbproject/private/private.properties
compile.on.save=true
do.depend=false
do.jar=true
javac.debug=true
javadoc.preview=true
user.properties.file=/Users/Asad/Library/Application Support/NetBeans/8.0.1/build.properties
work.dir=/Users/Asad/Software/GITROOT/asad/PatternSimilarit... | e71fc80f2979edaba204769c6ae9907b4d3e2b9f | [
"Markdown",
"Java",
"INI"
] | 3 | INI | asad/PatternSimilarity | ce350b03a035aae3ac492d92811b9d1b586b5218 | 72b612f3de67005a21945df8458908d7c5be7e5f |
refs/heads/master | <repo_name>drorgl/libjpeg-turbo.module<file_sep>/readme.md
# libjpeg GYP Module
** Experimental **
expose libjpeg through gyp
- can be used stand alone to compile libjpeg-turbo as static/shared libraries ( / dll)
static/shared library can be changed in the variables section of libjpeg.gyp
- can be used as ... | 6025fe8f35cbeebd08bb57e9e1d872e7732cacee | [
"Markdown",
"Python"
] | 3 | Markdown | drorgl/libjpeg-turbo.module | 0bee1612293ea8a489f59c221bd7807881ebf12d | 303cb129d99d183a3114b5dbe5cd382b495f1ee9 |
refs/heads/master | <file_sep>import pygame
from pygame import sprite, image, transform, draw,mask
import configuration
class WallModel(sprite.Sprite):
def __init__(self):
super().__init__()
self.image = image.load('data/sprite/wall/wall_0.png').convert_alpha()
self.rect = pygame.Rect(0,0,0,0)<file_sep>import... | ad5268a2d518170ca7101fa0f3c103a766aab2c8 | [
"Python"
] | 14 | Python | Ezequiel-de-la-Fuente/Pac-Man | 7165b7e7141d8d9869821ffeaf98008e73b3cee7 | f2287a204a70e68fce4095dc7c8aaf4e7358a11c |
refs/heads/master | <file_sep>// Angular
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { InicioComponent } from './public/independent/inicio/inicio.component';
// Propios
const routes: Routes =
[
{
path: '',
component: InicioComponent
},
{
path: 'hombres',
... | 12fd27dc44100275dbab714cdbd4655bb098b22d | [
"TypeScript"
] | 7 | TypeScript | Richard-01/proyectoFinalFront | 2cec3de3e434ff29eeac050600331175134e05be | 2d21b87aa97c95a5ea4e9d9339cae2bc08998240 |
refs/heads/master | <repo_name>stnma7e/driver<file_sep>/src/filetree.rs
extern crate uuid;
extern crate rusqlite;
use crypto::md5::Md5;
use crypto::digest::Digest;
use std::io::prelude::*;
use std::fs::{File};
use std::path::{Path};
use std::collections::hash_map::HashMap;
use uuid::Uuid;
use time;
use fuse::FileAttr;
use types::*;
p... | aa83645e0f8351f4618c0a8e2130cf9d0a2b8cee | [
"TOML",
"Rust",
"Markdown"
] | 8 | Rust | stnma7e/driver | 392ddfa4566eba3dff2fb4e997470368ca785879 | c0dca2a326b92d89e7ba1f61056cc37693061073 |
refs/heads/master | <repo_name>VTUL/VIVOHarvester<file_sep>/test/test_relationship_to_rdf.py
from unittest import TestCase
from vivotool.utils.relationxmltordf import RelationshipTranslator
class RelationshipTranslatorTestSuite(TestCase):
# relationship document object for testing
def setUp(self):
self.translator = Rel... | 277fac7d75f7d04a1eac5297d0b661936952b687 | [
"Markdown",
"Python"
] | 26 | Python | VTUL/VIVOHarvester | bb3e191eed4239f271d38cd41686f5432c61cb5e | d9310b4974e00cc78677a498dcd0dac8fa4860a4 |
refs/heads/master | <file_sep>//
// ZACoreDataStack.swift
// CoreDataStack
//
// Created by <NAME> on 10/23/15.
// Copyright © 2015 <NAME>. All rights reserved.
//
import CoreData
private var _stacks:[String:NSPersistentStoreCoordinator] = [:]
public class ZACoreDataStack {
// MARK: - Private Attributes
priva... | 6411853737aa27f4c9d058abcf073fd4ecb3ba64 | [
"Swift",
"Ruby",
"Markdown"
] | 3 | Swift | zullevig/ZACoreDataStack | fd43465b5fab2959e566bfa9984143dc70cedd51 | 5b4ea879352e1990a0ba7eb2c8820310c2cb770b |
refs/heads/master | <file_sep>'use strict';
function enumOwnSymbols(obj) {
/* istanbul ignore if */
if (typeof Symbol !== 'function') {
return [];
}
switch (typeof obj) {
case 'object': {
obj = obj || {};
break;
}
case 'function': {
break;
}
default: {
return [];
}
}
var s... | 55fd8e28bf781fc7676537f351cdf85dcf69b093 | [
"JavaScript"
] | 1 | JavaScript | sttk/fav-prop.enum-own-symbols | 1479393e3d3c0dd344c63f8a9cedab0f0869a3f4 | 3e8da918021325311a4b847f09278a1f33359396 |
refs/heads/main | <repo_name>BenteaB/PlanBy<file_sep>/README.md
# PlanBy
Bets app ever is processing....
No fiti atenti ce baban o sa fie toata chestia asta
<file_sep>/Calendar/dorin1.py
from flask import Flask, render_template, request, jsonify
import requests
from bs4 import BeautifulSoup
from flask_cors import CORS
import json
ap... | 8445ad2d5214b461b731dedb63bdbc92675e5755 | [
"Markdown",
"Python",
"JavaScript"
] | 6 | Markdown | BenteaB/PlanBy | 46dd6f0b4d20b36a1778a426e3c8e84d10d1fd6c | 785a466e376fd6c9e817b057bfa7675f25ae61a5 |
refs/heads/master | <repo_name>norrise120/stacks-queues<file_sep>/lib/stack.rb
class Stack
STACK_SIZE = 20
def initialize
@store = Array.new(QUEUE_SIZE)
@front = @rear = -1
end
def push(element)
if @front == -1
@rear = 1
@front = 0
@store[@front] = element
elsif @front == @rear
raise Argum... | fd35d5f2d8aa2f79658dad46c9f7c3002a5f769a | [
"Ruby"
] | 2 | Ruby | norrise120/stacks-queues | 184a23145be67db824f08f24e3f9d42c3ac50836 | a55b180be83dda2c925352c8a14e3bc95100329b |
refs/heads/master | <file_sep>Rails.application.routes.draw do
root 'page#home'
get 'menu', to: 'page#menu'
end
| 1e7b2173924573480d650091e9c21f9d7663f8b5 | [
"Ruby"
] | 1 | Ruby | 6la6T/Mon-site | 1306733995e93cdb22056d546ccf406d2fb60713 | 53ba431d714875a46060d93fc40d964eac9ee3b0 |
refs/heads/master | <repo_name>dbsry267/Oclubis<file_sep>/Oclubis/src/com/oclubis/action/SignoutAction.java
package com.oclubis.action;
import javax.servlet.RequestDispatcher;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import com.oclubis.service.Use... | 9be7877259f109d5d3ed4b7b67727e7d34a60221 | [
"Markdown",
"Java"
] | 10 | Java | dbsry267/Oclubis | 67fbf8c1e98544ac99a18d1626d35f88d4addd39 | f07a60430bbc8ea4d0a8d2ef1bb64cf91d268f48 |
refs/heads/master | <repo_name>STrix8/vimrc<file_sep>/gitPullVimrc.sh
#!/bin/bash
git pull
cp .vimrc ~/.vimrc
<file_sep>/gitPushVimrc.sh
#!/bin/bash
cp ~/.vimrc ./.vimrc
git commit -a -m "$1"
git push
<file_sep>/README.md
# vimrc
vimrc
これは.vimrc
ほぼコピペでつらい
| a535ad4e5c92e5b1dcdfdc1494716da7312765ab | [
"Markdown",
"Shell"
] | 3 | Shell | STrix8/vimrc | 3bd67b219ff4172de5a80f4b098ee003dee513fe | 4b8928b3b6a248800a78672ca33357b0fb4ef055 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.... | 3957c635d0c236ae0265764efcc4a9d128eaba91 | [
"C#"
] | 10 | C# | shandowsoftware/cnblogs-wpapp | 789e5607c8d20757701393492e5ed032fb0d01a2 | fbecaff836cc5b4613af9956389a31eb5f81ed58 |
refs/heads/master | <file_sep>package com.example.cargoexchange;
/**
* Created by FoolishFan on 2016/7/14.
*/
public class UserData {
private String userName; //鐢ㄦ埛鍚�
private String userPwd; //鐢ㄦ埛瀵嗙爜
private int userId; //鐢ㄦ埛ID鍙�
public int pwdresetFlag=0;
//鑾... | c611cc55183d261f847ee7aec8cefe8d020d40ac | [
"Java"
] | 3 | Java | Keith-WangHZ/CarGoExchange | c7a19da13f14252bbb1eb453a33ac3c80ec595c9 | 65403fc712b2ce1057fb6b0b2825cf9d4f221707 |
refs/heads/main | <repo_name>siamolly/apibook_408411089<file_sep>/routes/apiGroup.js
const { response } = require('express');
const express = require('express');
const fetch = require('node-fetch');
const router = express.Router();
//GET all data
router.get('/', async function (req, res, next) {
let data;
try {
const resp... | 35abc2a2c12943c60127cb7d8ff7f44f963558a3 | [
"JavaScript"
] | 2 | JavaScript | siamolly/apibook_408411089 | 821208de64e4b5deba9ae85bf76824d35aa03781 | 410bcd616efcb539be33deca7cd467f122858488 |
refs/heads/master | <repo_name>androlua/javaide<file_sep>/common/src/main/java/com/jecelyin/common/app/JecApp.java
/*
* Copyright (C) 2016 <NAME> <<EMAIL>>
*
* This file is part of 920 Text Editor.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
... | 63bcedb70abdd0595801c895dcc9886e9479528f | [
"Markdown",
"Java",
"Gradle"
] | 33 | Java | androlua/javaide | c4247558825877df8f2b12bf353bdbca14dd610e | 9165fc7df9cdffc8316c2f63b151392b68dd1879 |
refs/heads/main | <file_sep>/*
Hier werden die persistenten Daten
der Rest-of-Work-Uhr im EEPROM
behandelt.
*/
void InitEE (void) {
EEPROM.get(0, Config);
if (Config.check != 0x55aa) {
Config.check = 0x55aa;
for (int i = 0; i < 6; i++) {
Config.PumpeDa[i] = false;
strcpy(Config.Pflanzen[i], "N... | 12b46f8256a33c688de5c47726e44e99b1f762b9 | [
"Markdown",
"C++"
] | 7 | C++ | kfeger/Wasserwerk | 0fdb37adfad74b08149aeb51b96de063874ac4f7 | 5ae61f37212b8447532d03095ed702581f02520b |
refs/heads/master | <repo_name>kylejonson/Sudoku_Bot<file_sep>/Sudoku.java
/**
*Helper Class for the TwitterBot Class
*@author <NAME>
*@since 3/14/2017
*@version 1.0.0
*/
import java.util.Random;
public class Sudoku extends AbstractSudoku{
private int[] TestRow;
public Sudoku(){
super();
this.TestRow = new int[]{1,2,... | b8e56ae6c0472bcb1924d0df4f36ca3ab7c72fb6 | [
"Java"
] | 1 | Java | kylejonson/Sudoku_Bot | d1d86bed6fa52b4f69a70a3f918016e6694fcab8 | 1ebfc10a77e2668dd2e04e394a9daa5d3a854fea |
refs/heads/master | <file_sep># exercise_1
line = input('Enter accepted price: ')
filepath = input('Enter filename : ')
file = open(filepath, 'w+')
file.write(line)
file.close()
# exercise_2
line = input('Enter accepted price: ')
filepath = input('Enter filename : ')
try:
file = open(filepath, 'w+')
file.write(line)
fil... | a4235d8daa992811c5de8c8161f24bac3d84cfe1 | [
"Python"
] | 6 | Python | michalconrad/October-2019 | fe256b4d151d27094feae8c808ac74becabbaa37 | 6eda3fae004fbb1f5cb4a7393624b5fa459af0ce |
refs/heads/master | <repo_name>BoSmallEar/Anime-Face-Generator<file_sep>/Style-GAN/README.txt
Code for Style-GAN
The code is adapted from a github repo https://github.com/NVlabs/stylegan
dataseet_tool.py is modified based on the code from the above repo
train.py is modified based on the code from the above repo
config.py is modified bas... | e58e4b5397ec64ff9912796b0050f5f53d7479b2 | [
"Python",
"Text"
] | 6 | Text | BoSmallEar/Anime-Face-Generator | 781cd9e11ba2925cb57b1befd95b8f508bf1c6f4 | 8500f64be6b79f9f8c36001edc978532b56ae869 |
refs/heads/master | <repo_name>GambuzX/MIEIC_aeda<file_sep>/Solved Tests/teste2_17_18/Hospital.cpp
/*
* Hospital.cpp
*/
#include "Hospital.h"
//
#include <algorithm>
Hospital::Hospital(unsigned trayC):trayCapacity(trayC)
{ }
void Hospital::addDoctor(const Doctor &d1) {
doctors.push_back(d1);
}
list<Doctor> Hospital::getDoctors() c... | 90e6ad841f0b7388bdae1e901ba10d17fa10d296 | [
"JavaScript",
"C++",
"Markdown"
] | 28 | C++ | GambuzX/MIEIC_aeda | 6e61710af090667cbc60796b38661666181ac26e | 76cdeeab32abbc072b8bfb919f1ecbde98aad0a3 |
refs/heads/master | <file_sep>const qwertyID = document.querySelector('#qwerty');
const phraseID = document.querySelector('#phrase ');
const ul = phraseID.querySelector('ul');
const divOL = document.querySelector('#scoreboard');
const ol = divOL.querySelector('ol');
let missed = 0; //player life
let score = 0;
const phrases = ['The Dark K... | faf4abd27f8de5f894dc7f62cb89491c0a31417f | [
"JavaScript"
] | 1 | JavaScript | Bpetrushev/game-show-app | 194a2233925353937f42a18e7d89d737c86c2fa3 | b70a0dadf5e5fc5cee038b007724854adc216d64 |
refs/heads/master | <file_sep>package com.interesting;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
/**
* @author libinghui
* @date 2019/1/2 11:31
*/
@EnableEurekaClient
@SpringBootApplication... | 913b2bafe81412da3b5adc5e64529b1e0e76b0b5 | [
"Java"
] | 3 | Java | binghuili/just-for-interesting | e04de47a3fc3967ae8ce5268825c4c4436e2b677 | 1ff40eff1bd76d14ed51569a322f04bf6d435b9f |
refs/heads/master | <file_sep>import LivingThing from './LivingThing.js';
export default class Eukaryota extends LivingThing {
constructor (name, uniCellular, asexual, mobile, heterotroph) {
super(name, uniCellular, true, false, asexual, mobile, heterotroph);
this._heterotroph = heterotroph;
}
get heterotroph () {
retu... | 5681f3fb477c9d500209f0e4bc2fd1139a17bc11 | [
"JavaScript"
] | 1 | JavaScript | Hyperkind/Kingdom-of-OOP | a5a242dc02526304d7b33d7aeb56e06982a44f4e | 7bf5373f1f0064d81350a7bb39b5e1ed93189ea0 |
refs/heads/master | <repo_name>PeterRichardsWA/DojoStoreEcommerce<file_sep>/website/application/views/cart.php
<html>
<head>
<title>Shopping Cart</title>
<style type="text/css">
*{
margin: 0px;
padding: 0px;
}
#header{
background-color: black;
color:white;
width:100%;
height:50px;
font-size: 36px;
margin-bo... | b7589311c19c312a1122de0a85b8b8aa8b9fa18a | [
"Markdown",
"SQL",
"PHP"
] | 21 | PHP | PeterRichardsWA/DojoStoreEcommerce | a85a4cbfcbf1f6a9a11488d9df75634fc7b19aba | 97478d0db3df2560d503bdfa9d3774d9bc6ceb06 |
refs/heads/master | <file_sep>from __future__ import print_function
import os
from apiclient import discovery
import oauth2client
import httplib2
from apiclient.discovery import build
from httplib2 import Http
from commands import getstatusoutput as terminal
from oauth2client import file, client, tools
import time
try:
import argpars... | 227548f38628ebf0ade95c228f02e61640a19bed | [
"Python"
] | 1 | Python | mridulgupta369/google-drive-upload | 34f53a17b1f960771bb8705c73c462f16c38af8e | 5afb2b27ec81b4c59b5e30269ed42a27065411fa |
refs/heads/master | <file_sep># Portland Transit
Animating GTFS data in Portland, Oregon
This repository contains the code and data used to create the below animation:

(It runs more smoothly in video format).
1) The `Data Wrangling` python notebook is used to download ... | ca72430c592b664b28aa00f88379be0b1036935f | [
"Markdown",
"R"
] | 2 | Markdown | stevepepple/PortlandTransit | 7ad7e9b4100145db36886268a28dca2737a849f1 | 982018ea0f40506b40c94436f24ad024c25b2b58 |
refs/heads/master | <file_sep>package test.java;
import main.java.ParkingLot;
import org.junit.*;
import static org.junit.Assert.*;
/**
* ParkingLot Tester.
*
* @author <Authors name>
* @since <pre>Aug 18, 2015</pre>
* @version 1.0
*/
public class ParkingLotTest {
private ParkingLot parkingLot;
@Before
public void before() t... | 089075754d0a16bc134c2653613ac26a6e0c6425 | [
"Markdown",
"Java"
] | 2 | Java | glookogeorge/Class4 | 2978a0e7b8e156ff57c6ee9414b30967bfc46957 | 697f94bc2147a0af64053ab3e61ac2f3e3b0b563 |
refs/heads/master | <file_sep>#!/bin/sh
Xsetup - run as root before the login dialog appears
/usr/bin/xrandr --current | grep -E "^DP-1 connected "
if [ $? -eq 0 ]; then
echo "DP-1 found"
sleep 1s
/usr/bin/xrandr --output "$(xrandr -q|grep -Eo 'eDP-[0-9]')" --off
/usr/bin/xrandr --output 'DP-1' --auto --primary
fi
<file_sep># S... | e8f2df6aab19a4fdce3910386112512451c34028 | [
"Markdown",
"Shell"
] | 5 | Shell | Ozymandias42/My-Linux-Config | a5af7d7f2ae3e0ecc7de71550294ee1fc52b61ba | 49c1ba0627ecb2bd949130e6069461b9d38a0a55 |
refs/heads/master | <file_sep>#include "Time.h"
#include <ctime>
Time::Time()
{
time_t now ;
struct tm *now_tm;
int hr,min;
now = time(NULL);
now_tm = localtime(&now);
hr = now_tm->tm_hour;
min = now_tm->tm_min;
hours=hr;
minutes=min;
cout<<hours<<endl<<minut... | c41464de2c068d34d2a89ef8e69e31b4148cad3e | [
"C++"
] | 8 | C++ | hazem3500/SuperMarket | bba6696e749dfe47231a974f17452e3d17f84992 | 16ba2e25af9298e689e7919968c28b9edffe1ef6 |
refs/heads/master | <repo_name>diegofs01/prjPOODiegoValter<file_sep>/src/fatec/poo/model/Candidato.java
package fatec.poo.model;
import java.util.ArrayList;
/**
*
* @author 0030481421048
*/
public class Candidato extends Pessoa {
private String inscricao;
private double media;
private ArrayList<Prova> provas = new Ar... | af86fade77bc322643b8eba9d4a5316e58e94830 | [
"Java"
] | 2 | Java | diegofs01/prjPOODiegoValter | 35ef8e2cad40daba91c9595817889e461ddf3499 | 984046ea53954b61b48079269ca7fde38e26a285 |
refs/heads/master | <file_sep>#!/usr/bin/env bash
export FLASK_APP=server.py
flask run<file_sep>import requests
import json
from server import DATABASE_NAME
sample_post = {
"userId": "<KEY>",
"sessionId": "XYZ456ABC",
"actions": [
{
"time": "2018-10-18T21:37:28-06:00",
"type": "CLICK",
... | 5eb96516558bc5134482fad6438fe84cc483dc23 | [
"Markdown",
"Python",
"Shell"
] | 4 | Shell | masonbrothers/openhouse-ai | f165dc98fcf1817717b4e0ebc30482e9ab346db0 | c1f9f464ee288413be73cc7a62f0805ef4649087 |
refs/heads/master | <repo_name>mszygenda/govuk_single_page_pdk<file_sep>/src/modules/components/navigation/start-bar/start-bar.demo.ts
import { Component } from '@govuk/angularjs-devtools';
@Component({
template: require('./start-bar.demo.html')
})
export class StartBarDemo {
items = [
{
description: 'Give remand ad... | 845e1b0eaca9e81adf7351384b076ac7a8708e3c | [
"TypeScript",
"HTML"
] | 14 | TypeScript | mszygenda/govuk_single_page_pdk | dd159ad35dec441719e9ba4ebab2f5ed8a1db30d | f17b075e9257f98eca6651f1fd499f4064976c52 |
refs/heads/main | <repo_name>Dwarakh347/macham<file_sep>/main.js
player1_name = localStorage.getItem("player1_name");
player2_name = localStorage.getItem("player2_name");
| 333ec2ad69b62bbd12989d0fdc43bad56fa174fb | [
"JavaScript"
] | 1 | JavaScript | Dwarakh347/macham | cd5395e3df79d54ed0b0a1f65038c039319946ff | 9cf5ee1bd5249de2a53e0e0cd98985e5359ac559 |
refs/heads/master | <repo_name>ShuaiGuo95/SRPA<file_sep>/web/Dockerfile
FROM python:3.5
MAINTAINER youchen <<EMAIL>>
USER root
RUN apt-get update
RUN apt-get install -y gettext
RUN git clone https://github.com/Time1ess/SRPA
VOLUME ["/SRPA/static", "/SRPA/media"]
RUN chmod a+x /SRPA/web/entrypoint.sh
EXPOSE 8000
ENV SRPA_SETTINGS prod... | 60f0c7066d9a95b388a8c3df93f1e59c38c5fad5 | [
"Python",
"Dockerfile"
] | 3 | Dockerfile | ShuaiGuo95/SRPA | 78c4a27a2f54b8ae7262559a602ed1a09cc5c052 | 4c41790063a1aa9e2b2e01305bd1240a56b2d6b2 |
refs/heads/master | <repo_name>lizongkai-big/LeetCode<file_sep>/src/TAG/LinkedList/LRU.java
package TAG.LinkedList;
import java.util.HashMap;
/**
* 双向链表
*/
class DLinkedNode {
public int val;
// 用于hash表查找、删除
public String key;
public DLinkedNode pre, post;
public DLinkedNode(int v) {
val = v;
key =... | 03fc9d3bef953774f4c0f3e0e562b73904d27d45 | [
"Markdown",
"Java"
] | 44 | Java | lizongkai-big/LeetCode | 80eaee31f1c40d9e6042118d0b5bad0e9e7fe359 | bbe693f2b6dc0e8f6e0b717c13e0f8ac092d3373 |
refs/heads/master | <repo_name>tfogal/simvis<file_sep>/raw.cpp
#include <algorithm>
#include <cassert>
#include <cerrno>
#include <cstdlib>
#include <fstream>
#include <iostream>
#include <numeric>
#include <stdexcept>
#include <tr1/array>
#include <vector>
#include <sys/inotify.h>
#include <unistd.h>
#include "uvf.h"
// grabbed these ... | 5f0f740383472986cea9d1a692ba00e07ad47359 | [
"C",
"Makefile",
"C++",
"Shell"
] | 5 | C++ | tfogal/simvis | d50b538910e6c1bd9eb0ff037f5dfe551a6033e0 | 806ca79ba065274a506127ed7789ca104f0c3e12 |
refs/heads/master | <file_sep>package com.neo4j.todo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.data.neo4j.repository.config.EnableNeo4jRepositories;
@Sp... | 947cc202ac95b0d4293323c5d44f03e2fc466dd8 | [
"Markdown",
"Java"
] | 5 | Java | StrikerSK/java-neo4j | 97870ecc2fef1997c3ea078b2da23797bf335c84 | 461d3d2f1bf01d2ad6fdc7b72a43e03b83020a07 |
refs/heads/master | <repo_name>tyrelh/kattis-skeletons<file_sep>/README.md
# Kattis Skeleton Projects for Various Languages
Well, like the title says.
<file_sep>/sol.js
"use strict";
process.stdin.resume();
process.stdin.resume();
let inputString = "";
let currentLine = 0;
process.stdin.on("data", inputStdin => {
inputString += inputS... | d682846b6658b1f2c09f2ab544eebd8f6c452f0c | [
"Markdown",
"Python",
"JavaScript"
] | 3 | Markdown | tyrelh/kattis-skeletons | 8e8efe36cdaeb1061a7922757b275a097ba64c00 | 9774e56e7198e7d0ee137ed3d3799b273d02ca38 |
refs/heads/master | <file_sep># android-sensor-feed
Cloud Computing Assignment - Web Sockets
"<NAME>" University of Iași, Romania
Faculty of Computer Science
<NAME>
<EMAIL>
## Description
This is a minimal client-server application used to receive sensor readings from android devices via web sockets.
## Observations
* Just like... | b6655ac7f20e37aa8aed061461ce4feb03a8377a | [
"Markdown",
"Java",
"Python"
] | 4 | Markdown | Bogdan-Stefan/android-sensor-feed | 474358ff256603245609f135c6deaa31b8b0e8f7 | 6727045af2d3eb01b2d95eac0d4cc99dd3e0a459 |
refs/heads/master | <file_sep># in dress agent create one that is your player name
# without spaces and a 1 at the end.
# Example: "Player Name" needs to be playername1
msgcolor = 62
wep1 = Player.Name.lower().replace(' ', '') + '1'
Player.HeadMessage(msgcolor, "Weapon 1")
Dress.ChangeList(wep1)
Dress.DressFStart()
<file_sep>#... | b2eb342428b617561e2033484e58d9b6b595a863 | [
"Python",
"Text"
] | 98 | Python | matsamilla/Razor-Enhanced | f414b9ec67d67e74d7f0b9692a011e7270519ede | 695138ea867751e8425d3d4c3bcc4d34f32d7f1c |
refs/heads/master | <file_sep>package org.crazyit.activityjump;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
public cl... | c43b25fccfb4097bdfbc286afa4c9cda88e28c33 | [
"Java"
] | 2 | Java | czl514/test | 49184b0c29ee4a30d2eac854d51222506f72be48 | c7d948c9db8c1d600d7a734defd90d2362c1ead5 |
refs/heads/master | <file_sep>using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Data;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.IO;
using System.Text;
using System.Diagnostics;
using System.Diagnostics;
namespace GradeDiagramTest
{
pub... | 3e93161b5696dbc993d22b3a585ae5fc331da25f | [
"Markdown",
"C#"
] | 4 | C# | t5i0m7/DiagramPlot | 816f844b3771e856bf56112e533cd77b9014ced4 | f1a14e6a9a6c0900fc623cf66cc7829f1e4f0a8e |
refs/heads/master | <repo_name>callme119/thinkphp-guide<file_sep>/Application/Wjy/Controller/SampleController.class.php
<?php
namespace Wjy\Controller;
use Think\Controller;
use Wjy\Model\UserModel;
Class SampleController extends Controller
{
public function indexAction()
{
$UserM = new UserModel();
$users = $UserM->getLists();
... | d26f5272b176053574bb2164b32fddf3dd540f54 | [
"PHP"
] | 15 | PHP | callme119/thinkphp-guide | 0215f0836117ef60ff7342cb00014b638aea47a1 | 652789fd75f65555ecee88c92980c69517342cf3 |
refs/heads/master | <repo_name>rnowotniak/mydoom-client2004<file_sep>/mydoom-client.c
/*
* klient MyDoom.c (Shimg)
*
* <NAME> <<EMAIL>>
* nie 01 lut 2004 21:27:20 CET
*
***********************************************************************
************* Program _WYŁĄCZNIE_ do celów edukacyjnych ***************
*******************... | 0e76c8b74e41f7577b186943ff35045dfb3ad1ae | [
"C"
] | 1 | C | rnowotniak/mydoom-client2004 | 0227474f458e5cc92b5114d61a552bdfeaac3024 | aaf6395483355f2aa63cc91ff404150ff4254d69 |
refs/heads/main | <repo_name>drsubathra/first<file_sep>/fibronacci sequence.py
new_num=1
old_num=0
sum=0
print(old_num)
while sum<50:
sum = old_num+new_num
if sum>50:
break
print(sum)
old_num=new_num
new_num=sum
| 2ec1d944e9376cf188f08a4cb2e7369543fdf054 | [
"Python"
] | 1 | Python | drsubathra/first | aae8919a66bd3942caab51a407c3a96d0b43be04 | 2e382204b62010137978ba089e40b587d1cde0da |
refs/heads/master | <repo_name>cuarti/zenox-config<file_sep>/test/specs/util/loadDirectory.ts
import {join} from 'path';
import {loadDirectory} from '../../../src/util';
test('loadDirectory', () => {
const path = join('test', 'config');
expect(loadDirectory(path)).toEqual({
db: {domain: 'localhost', port: 1418},
http: {port: 30... | c02447cb5ad2d9814e2132ffcf5137130d639d5f | [
"Markdown",
"TypeScript"
] | 12 | TypeScript | cuarti/zenox-config | 57309886ad5880d5911216f8fbb6cc66cb6f8d55 | c50b027e766d91768a31b7bf72d527e4dc3dbf3b |
refs/heads/master | <repo_name>Kimserey/knockoutexample<file_sep>/README.md
knockoutexample
===============
Form example using knockoutjs.
The viewmodel takes a url_map as input.
It is supposed to contain the url for the loading of the profile, the saving and the uploading of profile pic.
Issue faced
==============
Jquery post can't s... | c47a4a44504fab5c19868143525e7f0bbe07ea67 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | Kimserey/knockoutexample | fc1a9854b0cf9f7a70997c7fd57bc34f8767f19b | d64d70ff95d48781a043d93fce21fd946fc74339 |
refs/heads/master | <file_sep>#include <opencv2/opencv.hpp>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <setjmp.h>
#include "hpdf.h"
using namespace cv;
jmp_buf env;
void error_handler(HPDF_STATUS error_no, HPDF_STATUS detail_no, void* user_data)
{
printf ("ERROR: error_no=%04X, detail_no=%u\n", (HPDF_UINT)err... | 1927998d66408ff50fbb049787350203bc349d84 | [
"Markdown",
"CMake",
"C++"
] | 3 | C++ | Osborn28/chessboard | 4699b2808e5a7b337d8e6b00e4570247de706315 | 6518f3f89e0a53addbd59470c2c0acdce9f575cc |
refs/heads/master | <file_sep>package CopyFileText;
import java.io.*;
import java.util.ArrayList;
import java.util.List;
public class CopyFileText {
public List<String> readFile(String path) {
List<String> strings = new ArrayList<>();
try {
FileReader fileReader = new FileReader(path);
Buffere... | c650a72fc4135ca2c827e32a317afb5bfbefac72 | [
"Java"
] | 1 | Java | dominthao91/MD2-TextFile | fb64aab5c446aa0b9bfa24aedc4fe3640a3a1437 | c0fc45bea98ac509970d0b6e23450500eeab9352 |
refs/heads/master | <file_sep>package Leetcode;
/**
* Created by qy on 2016/5/23.
* task:
* Given n non-negative integers a1,a2,...,an, where each represents a point at coordinate(i,ai).
* n vertical lines are drawn such that the two endpoints of line i is at(i,ai) and (i,0).
* Find two lines, which together with x-axis forms a cont... | e2d84d0d704f381582f5479b7632e9e27161dce0 | [
"Java"
] | 10 | Java | QxYy/java | 81864d30db2627e95d8f588b5403d39744295ac4 | 1f7c271a2eb3163b0863082f2ecc20393bcf0970 |
refs/heads/master | <file_sep>################################################################################
# Utils functions for the package #
################################################################################
#' Convert \code{funData} objects into right format for this packa... | 9c1b46aab66276c3e3146cee8583ca19395db275 | [
"RMarkdown",
"Markdown",
"C",
"R",
"C++"
] | 29 | R | StevenGolovkine/SmoothCurves | 8efbdb8eeb6cdd56e84e19340f28199a4ede088a | 1f15aa79f2004416778805db78e074169c56259b |
refs/heads/master | <repo_name>nfabacus/student-directory<file_sep>/csvTest.rb
@students = [{name: "Jim", cohort: "July"}, {name: "Kate", cohort: "July"}, {name: "George", cohort: "July"}]
require 'csv'
CSV.foreach("students.csv") do |line|
name, cohort, hobby1, hobby2, hobby3, country_of_birth, height, weight = line[0], line[1], line[... | 77d918ec34c4b12a5e6109a783fb8027d1826f33 | [
"Ruby"
] | 5 | Ruby | nfabacus/student-directory | ad333b3c2649cbd93a344ac6db6665f7acdf64cc | 809036768f4343f38d4a976ce267fadd0a707375 |
refs/heads/master | <file_sep>from psychopy import visual, core, event, monitors
import unittest
class NewWindowTest(unittest.TestCase): #1
def setUp(self): #2
self.win = visual.Window(color='black')
self.rect = visual.Rect(win, width=.5, height=.3, fillColor='red')
def tearDown(self): #3
self.win.clo... | 9340c655287105c17efb456138e881a861dd4375 | [
"Markdown",
"Python"
] | 4 | Python | alistairwalsh/loquacious-octo-turtle | 3fc9d5091896dfc2866f929a918498973da56731 | d1d6fa00ab8a14e9a2777e22dcca57a6cc4adb0f |
refs/heads/master | <file_sep><!DOCTYPE html PUBLIC "-//IETF//DTD HTML//EN">
<!-- saved from url=(0051)https://www.toothycat.net/wiki/wiki.pl?Binutils/bfd -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=windows-1252"><title>ToothyWiki: Binutils/Bfd</title>
<script language="javascript" src="./ToothyWiki_ Binuti... | 65192377ac21e3fef0fd472c0b9b5facbbab9bf5 | [
"HTML",
"TOML",
"Markdown",
"Makefile",
"Rust",
"C"
] | 21 | HTML | adomore/binutils-rs | 01769254b92bbd3239fcdb61effdc8f9c4835829 | 068b03856fccc5f27b2be380ea97700d155d1106 |
refs/heads/master | <repo_name>rizbo-dev/todolist<file_sep>/src/app/ToDoClass.js
import { v4 as uuidv4} from 'uuid';
import {showTodoItem} from './utils/domGeneratorUtil';
export class ToDoClass{
constructor(todoName) {
this.id = uuidv4();
this.name = todoName;
this.completed = false;
}
showTodo() {
s... | d620fcf5e92de7c048e3820e6e62ddb8a8c308c4 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | rizbo-dev/todolist | 22a60410dbf3c9a6b2e839e4ca5b68a77f05f1b5 | b37dd5bd5e8a62307900f9f671f590e3eb6b649d |
refs/heads/master | <repo_name>nyodas/yolo<file_sep>/main.go
package main
import (
"context"
"encoding/json"
"log"
"net/url"
"strings"
"time"
"cloud.google.com/go/storage"
"github.com/spf13/cobra"
"google.golang.org/api/iterator"
"google.golang.org/api/option"
"github.com/coreos/etcd/client"
)
func listBucket() (remoteCmdSou... | dc331cb0207df490498baf86ece55719e577813b | [
"Go"
] | 1 | Go | nyodas/yolo | 6f5f793c37aa19064010480d5470fcdbe99c7d53 | b090f1dae82ce8a2a063f3c62c76c1b4877f5a12 |
refs/heads/master | <file_sep>#!/usr/bin/env Rscript
# Required packages
library(tm)
library(wordcloud)
# Locate and load the Corpus.
cname <- file.path("~", "Desktop", "programming", "R", "texts")
docs <- Corpus(DirSource(cname))
# Transforms
toSpace <- content_transformer(function(x, pattern) gsub(pattern, " ", x))
docs <- tm_map(docs,... | 0a9e8c9160b5d51d08c1dc46387d5164ba3f2f5e | [
"Markdown",
"R"
] | 3 | R | christopherdurr/learnR | 47f4c6dfddbf86abbabc3f5b585844e6fed6747c | 7c701867ae2d415418bf9f624127ef36734de75f |
refs/heads/master | <file_sep># watsonnlu-bubblecloud
Spring Boot app which allows user to upload a file and see Watson NLU results for that document in a bubble cloud.
Configure your Watson NLU username and password in NLUCredentials.java.
App uses Apache Tika to extract text from documents. https://tika.apache.org/1.16/formats.html
E... | 1c013e412ab5d7e46de0d98954a7fb374a95fa7c | [
"Markdown",
"Java",
"INI"
] | 3 | Markdown | pavan-tummala/watsonnlu-bubblecloud | 530b64137a22c9606ea002195df9e7c7c6b28517 | 6ecea09c129d900fd3993d0c831d62529f5163a4 |
refs/heads/master | <file_sep>from flask import Flask, render_template
from flask_socketio import SocketIO
app = Flask(__name__)
app.config['SECRET_KEY'] = 'secret'
socketio = SocketIO(app)
@app.route('/')
def chat():
return render_template('chat.html')
def messageRecived():
print('message was received!')
@socketio.on('my ... | 4e3ca7b196dc08d15b46def485aeccd035445d78 | [
"Markdown",
"Python"
] | 3 | Python | VAFomin/mypychat | cce2c52e31ea4bd3ff16b98af5d33024773b985e | 6cca8e0b18fcd6b9b911c3d4c0871624a38a210d |
refs/heads/master | <file_sep><?php
class Disciplina
{
/**
* @var string
*/
public $nome;
/**
* @var string
*/
private $codigo;
/**
* @var int
*/
public $creditos;
/**
* @var static
*/
public static $ministrada;
public static function ... | 78f557aee3aabd0ffa74325255ac43c9c9392720 | [
"Markdown",
"PHP"
] | 9 | PHP | jeysonlr/aula-pos-PHPOO | c2c3e898995aa34ef48e7c293fb77e09429017a3 | 3e97b204fcc8f2beff384f84ee2f681af2a89c3c |
refs/heads/master | <file_sep>package com.example.ex02;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
import java.util.ArrayList;
public class MainActivity extends AppCompatActivity {
... | 96d0c240e3a83343b388fa5d23e4e3e9e9d09c86 | [
"Java"
] | 2 | Java | tgiabao1340/Android-Studio-26-08-2019 | f13e2979ee8b708b6abe8604abcb7abcb8669a16 | 929f5076df7dccaf6e80dab2414529cf83886f90 |
refs/heads/master | <repo_name>yuxianda/phpweb<file_sep>/docs/x.da-build-sh.sh
jekyll b -d ../public/phpweb
echo '...done...'
read -p "Press enter to continue! --Noticed by thianda"<file_sep>/application/trouble/controller/Common.php
<?php
namespace app\trouble\controller;
use app\common\controller\Common as CCommon;
use think\Contr... | be96c54fdebd58d68bd58c5910e29361fb35100e | [
"Markdown",
"PHP",
"Shell"
] | 43 | Shell | yuxianda/phpweb | bbe816cb270f0854ce00091c8a729dc4ee5e6d10 | aa5a84a43b193643f6469aa336395d5253fe3128 |
refs/heads/master | <file_sep><!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<?php include "style.php"; ?>
<link rel="stylesheet" href="css/index.css">
<title>Home</title>
</head>
<body>
<div id="main-content">
<?php in... | 59b39e75ffee8baa98ac085170f3a656fe685464 | [
"SQL",
"PHP"
] | 4 | PHP | nutman451/PraktikumWebA | e758acf5f17551f2a782033220d8a9b0b230d4de | 2d7bf3623f5e076fa1aa675b4b292c42b947511b |
refs/heads/master | <repo_name>vchennepalli/hello-world<file_sep>/build.py
#!/usr/bin/env python
import sys
import os
import subprocess
class CiBuild(object):
def __init__(self):
self._root_dir = os.getcwd()
print('Root directory %s' % self._root_dir)
self._unit_test_dir = os.path.normpath('%s/unit_test' % s... | 43886d6d6987a1285aa84c5bafff91152c9125c4 | [
"Python"
] | 3 | Python | vchennepalli/hello-world | 27dd52af23e3fb398c083df206fe2961ab9a3b4c | 1dd3ce9a797b3cee9ae92875ddf9dcecdfc734f9 |
refs/heads/master | <repo_name>longyt/Maven_Projects<file_sep>/BackStage/src/com/shadow/Utils/ExcelUtils.java
package com.shadow.Utils;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.OutputStream;
import java.lang.refle... | 173749ed607f0d6a8f89593fb7dc11571328ef5e | [
"Java"
] | 2 | Java | longyt/Maven_Projects | 7ca892365d607735444ffd1e5b22973d2d2fb841 | 2e40cf0ab3cf82190b9b3dc3a555a3d3c72bda9c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.