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>928902646/Gymnast<file_sep>/app/src/main/java/com/gymnast/view/home/view/GuideActivity.java
package com.gymnast.view.home.view;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.view.ViewPager;
import android.view.LayoutInflater;
import android.view.View;
import android.widg... | ce04225203faaeeae507eafec1f8216fa38ac40c | [
"Java",
"Gradle"
] | 82 | Java | 928902646/Gymnast | aefab7bdb47a7a81e8ecaa6e3f3650fdb795c7d1 | 4a7062ee5bc910652f92d6789e0fb431701237c4 |
refs/heads/master | <file_sep>function getPortrait() {
$.ajax({
url: "/photos",
type: "GET",
datatype: "script"
});
}
function displayPortrait(url) {
$("#portrait").attr("src", url);
}<file_sep>source 'http://rubygems.org'
gem 'rails', '3.2.4'
gem 'jquery-rails'
gem 'sqlite3-ruby', :require => 'sqlite3'
gem 'paperclip'... | 6ab040074a4e75561a057f3d8913ad2f64af4a96 | [
"JavaScript",
"Ruby"
] | 4 | JavaScript | abgoldstein/webcam_app | 164e70700af04283b46c055b1a65dc46180d5547 | 19657e6a8a863647ffa9ae8da14164fdeee57fa9 |
refs/heads/master | <repo_name>NicolasTicona/faas-cesar-encryption<file_sep>/cesar-function/handler.js
"use strict"
// EXAMPLE
// const cesarEncryption = require('./handler')
// cesarEncryption({
// encryptN: 3,
// encryptThis: 'Hello World'
// }, (err, response) => {
// if(err) return console.log('Have a error', err)
// ... | 087f3fe0d417a4bdfea66f768c75bb3565bf1426 | [
"JavaScript"
] | 1 | JavaScript | NicolasTicona/faas-cesar-encryption | 8707ceb4780c6b1d197cc7703d42574c8d25b250 | 409ebd9160de4af577aea8ef82bf72ec866f35cb |
refs/heads/master | <repo_name>iandreyev/WebSocketServer<file_sep>/README.md
# WebSocketServer
[](LICENSE.md)
**WebSocketServer** - A WebSocket server class.
## Install
Via Composer
``` bash
$ composer require dimrakitin/websocketserver
```... | 22c98dda97dcb20d787b18a25132e13005255bf2 | [
"Markdown",
"PHP"
] | 2 | Markdown | iandreyev/WebSocketServer | 53ed1f52939303cfe38e6d4f9e66e588b7e6a53f | 480ceb1e4496ebaf28fbb8524b80b5e8f356cfb7 |
refs/heads/master | <repo_name>rickdemonn/Hillel-Front-End<file_sep>/src/hw12/js/time-app.js
"use strict";
showClock();
function createImage(digit) {
const img = document.createElement('img');
img.setAttribute('src','clock-images/' + digit + '.png');
img.className = 'clock-img';
return img;
}
function showClock(){
const date = new ... | 0b0faafa528f2db8459bffad47cd10d9464db24c | [
"JavaScript",
"Markdown"
] | 14 | JavaScript | rickdemonn/Hillel-Front-End | 2b9558723696c08220b4d5ababaab5648453f204 | 5dc23788e528a2f310624a29335d02beff6b9a1e |
refs/heads/master | <repo_name>dangconnie/portfolio-react<file_sep>/src/Nav/navbar.js
// import React, { Component } from 'react';
// class Nav extends Component{
// render(){
// return(
// <div>
// Nav
// </div>
// )
// }
// }
// export default Nav;
// <ul id="sidebar" className="nav nav-pills nav-stacked">
// ... | 009bc7abc1622b31612212d5112ec4d5520db13d | [
"JavaScript"
] | 5 | JavaScript | dangconnie/portfolio-react | 97ba92dbd06bb031b0295d42c4939aa2cf72bc29 | 4fdb09aaa3f9bef6486e581076b1803903e587fc |
refs/heads/master | <repo_name>types140/types140.github.io<file_sep>/modules/apis.js
Object.defineProperty(Object.prototype, 'loadMissions',{
value : function(){
if (!window.sessionStorage.hasOwnProperty('aMissions') ||
JSON.parse(window.sessionStorage.aMissions).lastUpdate < (new Date().getTime() - 5 * 1000 * 60))
fet... | 4fdfc9ddecee7de30284a042ae724325ea706b58 | [
"JavaScript"
] | 1 | JavaScript | types140/types140.github.io | fe7706d872d4be29b0b79a73e689332563434bd6 | 61a891976ea547f2bce77adda347124b4a7f7eca |
refs/heads/master | <repo_name>challengezhou/repository<file_sep>/testCpp/hellos.h
#ifndef _HELLO_S_H
#define _HELLO_S_H
void printS(char *str);
#endif
<file_sep>/testCpp/testpointer.cpp
#include <iostream>
using namespace std;
typedef string* pstring;
int main(){
string s = "hello world";
const size_t arr_sz = 5;
int int_arr[arr_sz] =... | 7578f0d8d69eb861f857cd09019cf3990e00e7a0 | [
"Java",
"C",
"C++",
"SQL"
] | 58 | C | challengezhou/repository | 4154aba7d9fbd0e7e4e2eaf6079cfa212a6d61d0 | c86c7e41a66e310b4d364ac822b8832da7efa9c6 |
refs/heads/master | <file_sep>from django.conf.urls import patterns, url
urlpatterns = patterns('common.views',
url(r'^_ah/warmup', 'warmup', name='warmup'),
url(r'^$', 'home', name='home'),
)<file_sep>from django.conf.urls import patterns, include, url
from django.conf.urls.static import static
from django.contrib import admin
f... | d75548d6939ad5fcb56309332867ad7f14ce7521 | [
"JavaScript",
"Python",
"Markdown"
] | 7 | Python | robrocker7/django-angular-gae-skeleton | 16b01cb7c811a9865b679d2bf559b4179a72d352 | 0656c0fe398b6a5250023aab2623171742af5f91 |
refs/heads/main | <repo_name>tud-cor/navigation_experiments_mc_bts_pddl<file_sep>/navigation_experiments_mc_bts/include/navigation_experiments_mc_bts/behavior_tree_nodes/CheckComponent.hpp
// Copyright 2020 Intelligent Robotics Lab
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except ... | e6c9986f9f064bce24b7348df11af7d110bd6284 | [
"Markdown",
"Python",
"CMake",
"C++"
] | 25 | C++ | tud-cor/navigation_experiments_mc_bts_pddl | b4bc43f101dfbac19f265199ce4739e709268f2b | d8569fe2c70d87684dcbe40350a855831f26a70a |
refs/heads/master | <repo_name>MollieS/ClojureWebTTT<file_sep>/src/main/java/tttweb/Application.java
package tttweb;
import httpserver.SocketServer;
import httpserver.routing.Route;
import httpserver.routing.Router;
import httpserver.server.HTTPLogger;
import httpserver.server.HTTPServer;
import httpserver.server.HTTPSocketServer;
import... | 4c5ed525b4920e66be04ec50d7f0b4e9103748e8 | [
"Markdown",
"Java",
"Gradle"
] | 13 | Java | MollieS/ClojureWebTTT | 9b610f6d126cc864d6abde5e28b4621defce434c | 73574b90bf117ee5946bda012949b6e2bdf11dc3 |
refs/heads/master | <repo_name>blizzard-esara/Spring-server<file_sep>/src/main/java/com/spring/blizzard/user/service/ContentsService.java
package com.spring.blizzard.user.service;
import com.spring.blizzard.user.dto.Explanation;
import com.spring.blizzard.user.dto.Quiz;
import com.spring.blizzard.user.mapper.ContentsMapper;
import org.s... | 137abef1b6d8d8625f6923eedcfa7b7df4ff04b6 | [
"Java"
] | 7 | Java | blizzard-esara/Spring-server | 1d317d5b492c97fc79dffd7cf4c07867223cf1c4 | b39d9a1fdffa3c72bc62d064749caf2e861eb636 |
refs/heads/master | <file_sep>/**
* Login view model
*/
var app = app || {};
app.Login = (function () {
'use strict';
var loginViewModel = (function () {
var isInMistSimulator = (location.host.indexOf('icenium.com') > -1);
var $loginUsername;
var $loginPassword;
var isFacebookLogin = app.isK... | e602a710140efd3b1c0f0e7ad8e9e29d10cf98b4 | [
"JavaScript"
] | 2 | JavaScript | qdev89/Cleanily | fd7cc6dabcb272d88e98eb3fafe59b475b907af0 | 831b7a70ece8635b396f789e55e3ee059aa3c19e |
refs/heads/master | <file_sep>from django.test import TestCase
from secmaps.models import *
#test creations of models
class ModelTests(TestCase):
def create_dbids(self, dbid="shh2"):
return Dbids.objects.create(dbid=dbid)
def create_hguids(self, hguid="shh2"):
return Hguids.objects.create(hguid=hguid)
def c... | 1fee78a6ab6f6f451936ec4f9db3cdafa10cacbb | [
"Markdown",
"Python",
"HTML"
] | 10 | Python | EDRN/Secretome | ba9a2ef2b6b21bc05df275ed46cc51e3f04eed7a | af905fef0ad115e34745345e514550adeb881c83 |
refs/heads/master | <file_sep><!DOCTYPE html>
<html lang="en">
<head>
<title>form</title>
<meta charset="UTF-8">
<meta name="description" content="web page">
</head>
<body>
<?php
$name = '';
$email = '';
$phone = '';
$country ... | ee54c71d060513d5955fa03c7e7027392f3d9dbd | [
"PHP"
] | 3 | PHP | mehakmohsin/php | 66956fd923cf77c0b6a04ad8ee27b0e476d643fa | 993a9a122906ecf0e9e835d6f3c0990c64a46b92 |
refs/heads/master | <file_sep>package com.example.pkg.androidapp;
import android.app.Activity;
import android.content.Context;
import android.hardware.Camera ;
import android.net.Uri;
import android.os.Environment;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.Sur... | 597427a5ca5be210ce0b8a2e3357e9a78a804e43 | [
"Java"
] | 1 | Java | GerardoJRodriguez/App | 868d9782c3501cd61d8adef721d37715607dd2b9 | c697ba7367d662a4a1b2bc83bd0579669b65541f |
refs/heads/master | <file_sep>import * as base from './base';
export const renderWrapper = () => {
base.el.content.innerHTML = `<section class="list"></section>`;
};
const renderTags = tags => {
let markup = '';
tags.forEach(tag => markup += `<span class="tag">${tag}</span>`);
return markup;
};
const renderAsideLink = a... | d0de4d0b3935089c6269ef74b610bc96276b678e | [
"JavaScript"
] | 20 | JavaScript | marcincyboran/workbook | a47c1485b6d857503511cbc3ccc0f4232a2c5891 | 311f6fd0adb2879a19b7c17c30c246365386e8fb |
refs/heads/master | <file_sep>#!/bin/bash -
#===============================================================================
#
# FILE: mysql-backup.sh
#
# USAGE: ./mysql-backup.sh
#
# DESCRIPTION: Script for backup all databases using percona backup tool
#
# OPTIONS: ---
# REQUIREMENTS: innobackupex-1.5.1
# ... | e9581a49f8017680ba65f7897ad8dfae8d751dc6 | [
"Shell"
] | 2 | Shell | antonichuk/mysql-scripts | 62251c81bea65d36f520c5edeb412d98291686f0 | 24127c770cae85a091ac57ab05cdf2d750b6c037 |
refs/heads/master | <repo_name>nzznq/vue_frame<file_sep>/src/components/common/index.js
import LwPanel from "./exampleFrame/panel.vue";
import LwWords from "./exampleFrame/words.vue";
import LwLink from "./exampleFrame/link.vue";
import LwPic from "./exampleFrame/picture.vue";
import LwCode from "./exampleFrame/code.vue";
import LwSubtitl... | 68c6593faa2dec9a85458ade0dfc5fba193c8182 | [
"JavaScript"
] | 2 | JavaScript | nzznq/vue_frame | c0aa5bafb0c52a75c813443ab3e2eff9015de1bd | 2fdbebcd6b8fddb5fcc1b13686adff3966142a60 |
refs/heads/master | <repo_name>etalanin/scenetext<file_sep>/test.php
<?php
function cmp($a, $b)
{
if ($a["box"] > $b["box"]) return 1;
else if ($a["box"] < $b["box"]) return -1;
else if ($a["area"] > $b["area"]) return 1;
else if ($a["area"] < $b["area"]) return -1;
else if ($a["perimeter"] > $b["perimeter"]) return 1;
else ... | 361398baeafbe99dd9ec730c263a67416ff9c96c | [
"CMake",
"C++",
"PHP"
] | 3 | PHP | etalanin/scenetext | 2b3c07ae6272c3fee92d9dbfa388ace356f9833a | 875b35bceda61db057f20cb6f1c2701c4ec0e2d0 |
refs/heads/main | <file_sep>package com.zack.springcloud.dao;
import com.zack.springcloud.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* com.zack.springcloud.dao
*
* @author zhangc
* @version 1.0
* @create 2020/10/27 15:47
*/
@Mapper
@Reposi... | 7d4c9c580ba824b62d14f1a2d38d15177cf1b250 | [
"Java"
] | 6 | Java | zc-zack/springcloud | 9c2619c93e25052917bf78df85874297abfbf6ae | f10a0288f22e48d262b5e6fd918ca0e785079f06 |
refs/heads/master | <repo_name>Doko-Demo-Doa/ImageEffect<file_sep>/app/src/main/java/com/phamvanquan/imageeffect/MainInterface.java
package com.phamvanquan.imageeffect;
import android.app.ActionBar;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.ViewGroup;
import android.widget.LinearLayout... | 2e850bd12001b8cc01193936108a06edd50798c3 | [
"Java"
] | 1 | Java | Doko-Demo-Doa/ImageEffect | 42b34918131e7ccec259146a7831079b5d03bd36 | ac3e3a46f6ea17d3b7e9a09fa70492b7c14f2cea |
refs/heads/master | <repo_name>yuttasakcom/go-sample<file_sep>/16.Built-in.Handlers/README.md
# Built-in Handlers
## http.NotFoundHandler
```
func NotFoundHandler () Handler
```
## http.StripPrefix
```
func StripPrefix(prefix string, h handler) Handler
```
## http.fileServer
```
func FileServer(root FileSystem) Handle
type FileSyst... | 3ff805a4e2ab46bfbecf8a911a105f9f31796990 | [
"Markdown",
"Go"
] | 13 | Markdown | yuttasakcom/go-sample | 37d69d7fd2840e9c3309f5705019b3a481506675 | 4cf98fcbcf2be490d628afbeab66fb58a8424ed1 |
refs/heads/main | <repo_name>Elynemelo/Projeto-Spring-Boot-Academia<file_sep>/academiaSpringBoot/src/main/java/com/accenture/academiaSpringBoot/model/Professor.java
package com.accenture.academiaSpringBoot.model;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
impo... | eddca34360988d6c3832d51232227742c608f4a6 | [
"Java"
] | 5 | Java | Elynemelo/Projeto-Spring-Boot-Academia | 67f8454e4f9125270930dceeb0dbc78385e85975 | 649b92e140d023b2802e7d95002587c606ecd94e |
refs/heads/master | <file_sep>[Exercise 14.21](ex_21/)
Consider the query
${\textbf{P}}({Rain}{{\,|\,}}{Sprinkler}{{\,=\,}}{true},{WetGrass}{{\,=\,}}{true})$
in Figure [rain-clustering-figure](#/)(a)
(page [rain-clustering-figure](#/)) and how Gibbs sampling can answer it.
1. How many states does the Markov chain have?
2. Calculate t... | 3b56266df5a50b8001bf0dddfeca30579fdd828a | [
"Markdown",
"JavaScript"
] | 352 | Markdown | Nalinc/sachinAIMA.github.io | b7d3d67bbf01830ee7883b6c287b767233d3df13 | 673e87c4ced83c137c915ef3ac46a8754f71162b |
refs/heads/master | <repo_name>ci-wdi-900/boolean-basics-exercise<file_sep>/main.js
/********************
* YOUR CODE BELOW! *
********************/
/********************************************************************************************
* CODE BELOW IS FOR EXPORTING THE VARIABLES AND FUNCTIONS YOU WROTE ABOVE TO MAIN.TEST.JS... | 8e7201ca10a1057e8ece874e4b011cacea7162fa | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | ci-wdi-900/boolean-basics-exercise | ac5294ec0be35608d7b9844a8fc678bf82b497f2 | 5fa508f2997fd6859930d3c20aae578aebd2de81 |
refs/heads/master | <repo_name>SravyaBurugala/Project<file_sep>/StringEx.java
package com.test.thread;
public class StringEx {
public static void main(String[] args) {
String s1="abc";
String s2="abc";
System.out.println(s1==s2);
String s3=s1.concat("hai");
System.out.println("s3 is "+s3);
String s4=new String("ab... | fc8f683766c2025092e1856f3a210c16b0092038 | [
"Java"
] | 1 | Java | SravyaBurugala/Project | 62d06de82f85a9dad7fd78ba6c4710cdac1871da | 1bfff88f80bf2e4660d537ac3492daad35c0bc1c |
refs/heads/master | <repo_name>busyrat/sensitive-code<file_sep>/bin/main.js
#! /usr/bin/env node
const execSync = require("child_process").execSync;
const fs = require("fs");
const path = require("path");
const USER_HOME = process.env.HOME || process.env.USERPROFILE;
const cfgPath = path.join(USER_HOME, ".sensicode/config.js");
let wor... | df171eb3283b06fa66a6e84b18a12d6c2ac5ecd2 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | busyrat/sensitive-code | 9b091c83fed2f1021cf84673d671909ff3a493b1 | a5221c571053776b3da5554fa666ecf4e392a07a |
refs/heads/master | <file_sep>{% load tag_shop %}
{% if messages %}
<div class="container">
{% for message in messages %}
<div class="alert {{message.tags|get_class}} alert-dismissible fade show" role="alert">
<strong>{{message}}</strong>
{% comment "For test" %}
<p>{{message.tags}} ----- {{message.tags|capf... | dc8269d88540d1a2c25b8254c61dfc8048b9985b | [
"Python",
"Text",
"HTML"
] | 14 | HTML | DmitriyPosypaiko/DB2limited | b657507dd3b5aeb0dad2a92b86d82756b67a7198 | de587bc5a6abbef23cab58d6d86fe5232a7f0d15 |
refs/heads/master | <repo_name>objectobject-hr/sdc-service-aaron<file_sep>/client/src/components/calendar-display-booking.jsx
// jshint esversion:6
import React from 'react';
import Calendar from './calendar.jsx';
import SVG from 'react-inlinesvg';
import CheckIcon from '../../dist/icons/tick.svg';
import MinusIcon from '../../dist/icons/... | 0e662f2fc14b52d4a1103d9b466ab22dd7484008 | [
"JavaScript",
"SQL",
"Markdown"
] | 47 | JavaScript | objectobject-hr/sdc-service-aaron | 6f7c46d4f48d7131cacffbde0548e7ebf56bf078 | b8e2e112347528368f9e6e7d93a17aabcd0b464e |
refs/heads/master | <file_sep>import os
import main
import unittest
class FlaskrTestCase(unittest.TestCase):
"""
It's a main application test class for funtional testing. A|B testing engine can be devided by three modules
which are controller, service and database access object. Each modules need to do unit testing and fi... | 806746bdb59ba4e95b8c47b0c50f718754f749a8 | [
"Markdown",
"Python",
"Dockerfile"
] | 6 | Python | sjh8543/ab-testing | 66c231f95eca255f7a7d0717f4a97405e09b4052 | 7176be4e4d4ae9365b801f06d42b4bbf5c3c411d |
refs/heads/master | <repo_name>Npikeulg/HT-BEC<file_sep>/database_generator.py
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Author: <NAME>
Purpose: Analysis data generated by Guido and found on Materials project for
high-thoughput calculations of the phonon band structure. We need to
extract both structural info... | 8b8c9e2c4d534a0d7941c9d04c6f85490390617e | [
"Python"
] | 1 | Python | Npikeulg/HT-BEC | e3d999f4bec3afbcb2216916de4f7e31e43d77d9 | 6991971f632bf06ef91927a41f16e73c0dee03e4 |
refs/heads/master | <file_sep>vagrant-lamp-centos65
=====================
"# evovagrant"
# evovagrant
<file_sep># .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
source ~/git-completion.bash
# User specific aliases and functions
alias r="screen -r"
alias gr="git log --graph --full-history --all --... | 72fd942ade68a0b170fec77af7e909a4136452a2 | [
"Markdown",
"Python",
"Shell"
] | 3 | Markdown | vladimirgolub/evovagrant | 7da288adc567e205c5fcb2b86d73146732725824 | f15a1117b5bb5d33054ccfd9c548a8d5044d1099 |
refs/heads/master | <file_sep>@states = {
OR: 'Oregon',
FL: 'Florida',
CA: 'California',
NY: 'New York',
MI: 'Michigan'
}
# Task 1
@states[:AL] = "Albama"
@states[:AK] = "Alaska"
# @states = @states.merge({AL: "Alabama", AK: "Alaska"})
# @states.merge!({AL: "Alabama", AK: "Alaska"})
# Task 2
@cities = {
OR: ['Salem','Bend'],
... | 98509c38860ab9a97690059307a13c76ab29a6a5 | [
"Ruby"
] | 2 | Ruby | am52saif/States-Cities | 4d76675201aa6e2923d623638841808ccf62b552 | 53a9f6a5260456caed649b826321d80d175b8eca |
refs/heads/master | <file_sep>#define LED_ERROR 9
#define DHT_PIN 7
#define WATERDETECTION_PIN A0
#define ACCURACY 5000<file_sep># temperature-humidity-leak-mqtt
<file_sep>#include <Arduino.h>
#include <Ethernet.h>
#include <SPI.h>
#include <DHT.h>
#include <Adafruit_Sensor.h>
#include <ArduinoJson.h>
#include "config.h"
// Inicializo v... | 5f39b7d7192303d6b77039d154bee2d035464860 | [
"Markdown",
"C",
"C++"
] | 3 | C | kntsoft/temperature-humidity-leak-mqtt | 5ac803b3ecc7a3047c43c8822f2a20fa4380c431 | 3a57b2b46529f2ed52b409770d890ba8e019aaac |
refs/heads/master | <repo_name>chsj1/JNIDemo-1<file_sep>/mylibrary/src/main/cpp/cppCallJava.cpp
//
// Created by sunalong on 17/3/17 10:24.
// Email:<EMAIL>
//
#include "cppCallJava.h"
JNIEnv *CppCallJava::callJavaMethod(JNIEnv *jniEnv, const _jstring *nameJstr, const _jstring *toastJstr, jobject activity) {
//找到 class 类
jclass c... | 23922f37247fe0c7778093f61062ae331edfc593 | [
"Markdown",
"C",
"C++"
] | 10 | C++ | chsj1/JNIDemo-1 | 0f348a0dd2a3874d94360e5a74caf5a6c54d16cf | 424603d340ff5ca29466120afe2ff5e1105de47e |
refs/heads/master | <repo_name>kmvan/wp-theme-inn2015<file_sep>/includes/theme-post-thumb/theme-post-thumb.php
<?php
/*
Feature Name: Post Thumb Up/Down
Feature URI: http://www.inn-studio.com
Version: 1.1.4
Description: Agree or not? Just use the Thumb Up or Down to do it.
Author: INN STUDIO
Author URI: http://www.inn-studio.com
*/
th... | 97294be855c9c5b713490edbb9cbc34473629e83 | [
"JavaScript",
"Markdown",
"PHP"
] | 47 | PHP | kmvan/wp-theme-inn2015 | 6c18ccba4441fe0fc3ae237f897ef27986303fd4 | 90587b6c8c6a52d7700593752becaa6bc67314c4 |
refs/heads/master | <file_sep>// I, <NAME>, student number 000730702, certify that this material is my
// original work. No other person's work has been used without due
// acknowledgement and I have not made my work available to anyone else.
using Lab1A.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using Sy... | bdff5c5085957c17e5918e12f4f7729e7544fa01 | [
"C#"
] | 8 | C# | 000730702/Lab1B | bdadfd3f29650a4ad21279c7916a58e9bf45d5c4 | 003cadc3c805e8bdf111bd0651cf6172401d4000 |
refs/heads/master | <repo_name>willskemp/ExData_Plotting1<file_sep>/Plot4.R
# Load 'lattice' package
require(lattice)
# Set working directory to file location
setwd("C:/Users/william.kemp/Desktop/Data Science - <NAME>/4. Exploratory Data Analysis/Week 1 Peer Review/Dataset")
# Read in the data file with ";" separator
plotdata <- ... | 825d0fde1d0f828559fa75ddfa85a7ee443cc91f | [
"R"
] | 1 | R | willskemp/ExData_Plotting1 | 17795977388c80bd0662060e90efeb20a7274ea4 | dc83a5496eedc9cc6f764948bb44ac679c1a8060 |
refs/heads/master | <repo_name>fertlthomas/Spendenportal<file_sep>/user_mgmt.sql
-- phpMyAdmin SQL Dump
-- version 4.5.1
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Erstellungszeit: 13. Sep 2016 um 16:35
-- Server-Version: 10.1.10-MariaDB
-- PHP-Version: 7.0.3
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
... | 8e17d90b7d3c80601d3ace5d156e61b8eff3953f | [
"Markdown",
"SQL"
] | 2 | SQL | fertlthomas/Spendenportal | 27cc68d4a8316f080bf6d282452aa2315f4f5f92 | ce570b817941ce3e75a14bc79099a9a238c54490 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lesson15_hw
{
class Program
{
static void PrintGame(Game g)
{
int number = g.TellMeHowManyPlayers();
Console.WriteLine($"... | 1fcc1c147d9e7771a5baae915025e10e3c925bee | [
"C#"
] | 1 | C# | samar-mansour/Lesson15_hw | 8ff98a3f90c1cb9c3f0e2f7f28e01f7e310857de | 06bf834603d50d4a4252fd2d5ffd53dc12414f70 |
refs/heads/master | <file_sep>using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MoveEnemy : MonoBehaviour
{
public float speed;
// Start is called before the first frame update
private void Start()
{
}
// Update is called once per frame
private void Fixe... | 72850d2cb90cfd24de75b83622349a24d55f0d3b | [
"Markdown",
"C#"
] | 10 | C# | FuhrmannMaciej/FarmEngage | 74565b181a23a0834749c43749087884ba37ee6f | d32ee947491bf55e6aa3a7bae8d0c4abbfd25e9e |
refs/heads/master | <repo_name>gopinathdanda/pennapps-2015w<file_sep>/README.md
# Some Pebble App
Have no idea what I'm building yet. But it is going to be a Pebble app.
<file_sep>/pebble/accel/src/accel.c
#include "pebble.h"
#define ACCEL_STEP_MS 1000
static Window *window;
static TextLayer *accel_layer;
static AppTimer *timer;
sta... | 0dfe7922bbfb42191854cf90fc9ff8e649ea8d68 | [
"Markdown",
"C"
] | 2 | Markdown | gopinathdanda/pennapps-2015w | 2e92c83d922adb0eadeb3a2c239fb2369167b89b | 90d54bf4feb6d06c2ea93aac12536a2f70f8d799 |
refs/heads/master | <file_sep>import BMap from '../BMap/BMap';
import FontAwesome from 'react-fontawesome';
import React, { Component } from 'react';
import './SearchBar.css';
const apiUrl = process.env.API_URL || 'https://busbud-search.herokuapp.com';
class SearchBar extends Component {
constructor(props) {
super(props);
... | ce378d47720a14998b53f9b767855156e551ea85 | [
"JavaScript"
] | 1 | JavaScript | alexlionco/coding-challenge-backend-c-front | 058aca12e855c5a9e757b10d71c859056f7696f9 | 8d16d3d3ac244ed3105665bd4ad41ffc3540b247 |
refs/heads/master | <file_sep>/**
* Created by huyansheng on 2016/7/18.
*/
var a = 5;
var a = a++;
alert(a);
var b = 5;
var a = b++;
alert(a);<file_sep>/**
* Created by huyansheng on 2016/1/16.
*/
//为我们的类定义一个构造函数方法,用它来初始化circle对象的属性,每个circle对象的属性值都不同
function Circle(x,y,r){
this.x = x;
this.y = y;
this.r = r;
}
new Circl... | aff811a52a908a76d317765fe3d68a94b0b67a63 | [
"JavaScript",
"Markdown"
] | 18 | JavaScript | huyansheng3/JavaScript-pratice | 060d1c03067c56c8d07611997d4f2bf364f80435 | 0929126d6b2c32ffccfd43182c7dc9b08ebb67d5 |
refs/heads/master | <file_sep>package org.gox.kafka;
public class KafkaProperties {
public static final String TOPIC = "events";
public static final String KAFKA_SERVER_URL = "172.23.221.165";
public static final int KAFKA_SERVER_PORT = 9092;
}
<file_sep># kafka-test
| 4a0d25c394af94fbfd273ce6c19f451dba640149 | [
"Markdown",
"Java"
] | 2 | Java | GoX1337/kafka-test | 986e9d1e337458d15a43c63608b49dc34f149a2e | 10b504a65659987beb5c24a72ffa1c8696ee9878 |
refs/heads/master | <repo_name>kmoneil/udacity-tournament-database<file_sep>/tournament.sql
-- Table definitions for the tournament project.
--
-- Put your SQL 'create table' statements in this file; also 'create view'
-- statements if you choose to use it.
--
-- You can write comments in this file by starting them with two dashes, like
-... | 4503bd1ee50fee0b1a487b8741857147fd5a0efc | [
"Markdown",
"SQL"
] | 2 | SQL | kmoneil/udacity-tournament-database | aa8dc4436762ac206dd6b33ac527ab86eb0015e6 | c6d972c3c4050c016bbdc61c511baa7e45968acf |
refs/heads/master | <repo_name>magnet/metered-rs<file_sep>/Cargo.toml
[workspace]
members = [
"metered",
"metered-macro",
]
<file_sep>/demos/src/baz.rs
#![allow(dead_code)]
use metered::{metered, ErrorCount, HitCount, InFlight, ResponseTime};
use thiserror::Error;
#[metered::error_count(name = LibErrorCount, visibility = pub)]
#[der... | 90cc089e6b3fa7b52db39d3c2ed2d51980817341 | [
"TOML",
"Rust",
"Markdown"
] | 31 | TOML | magnet/metered-rs | cf749f78d28052be6aa5963a0e8b0df727bfbb1e | 23b868f93900a4bbfe0eb394bb2ab6d092670a5a |
refs/heads/master | <file_sep># -*- coding: utf-8 -*-
"""
Created on Thu Jun 6 14:15:41 2019
@author: Pups
"""
import turtle
import math
###########################################################################
# Q1
def pythagorian_pair(a,b):
"""
(int, int) -> bool
Returns True if the two numbers (a and b) are a pyt... | 66ee797e3ce99e1bd2760f37b90a5c64301ffb6f | [
"Python"
] | 1 | Python | Oleg-Derkach/001-CS | 86c228dcedaf6f2e7075cd97abd374cb0e753f08 | dd0eed792d2710c5c75e1ea958bdd0548cbd86e1 |
refs/heads/master | <repo_name>DvdKhl/BBCodeTransform<file_sep>/README.md
# BBCodeTransform
Demo page: http://dvdkhl.github.io/BBCodeTransform/
## What does BBCodeTransform try to achieve?
BBCodeTransform is a TypeScript/JavaScript BBCode to Html transformer that *does not depend any required external frameworks*. It aims to be easily e... | c5de3b2da3864b5e1911f03ec27c420fbe444e84 | [
"Markdown",
"TypeScript"
] | 2 | Markdown | DvdKhl/BBCodeTransform | 812417cdd31708661a401212d8a7aaa317d9d267 | a504e7de30146c761bbdf1b98c38876cc14a99d7 |
refs/heads/master | <repo_name>allinbits/cosm<file_sep>/Makefile
all: install
mod:
@go mod tidy
build: mod
@go get -u github.com/gobuffalo/packr/v2/packr2
@packr2
@go build -mod=readonly -o build/cosm main.go
@packr2 clean
@go mod tidy
ui:
@rm -rf ui/dist
@which npm 1>/dev/null && cd ui && npm install 1>/dev/null && npm run bui... | a0384f7859d7801eb10533eb4382578cd99615be | [
"Go",
"Go Module",
"Makefile",
"Shell"
] | 7 | Makefile | allinbits/cosm | bf0f4c735bf4a7b09544e9052d01ce8cdf0429a4 | 6af1c9a6d8c342c13ed4ea22f1a7a89acf0168cd |
refs/heads/master | <file_sep><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>no.rmz</groupId>
<artifactId>blobee</artifactId>
... | 98bd7dfdf226dc98e3efa5abe6ce338f2396369e | [
"Markdown",
"Maven POM",
"Java",
"Text",
"Shell"
] | 25 | Maven POM | la3lma/blobee | c069a752967094b6970a2e766762ff61b9dacdd7 | 93f9abb44d5d8b1c1c6760f9f122e0b06f0b8523 |
refs/heads/master | <repo_name>lonedawg/paperboy<file_sep>/UsenetStreamReader.cs
using System;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Runtime.InteropServices;
namespace Paperboy
{
internal class UsenetStreamReader : TextReader
{
// ====================================... | 8717308bec53cc0069e26b4dbbee40403e219fd8 | [
"C#"
] | 3 | C# | lonedawg/paperboy | 9c759cf6f0e884a26305d1cc5c0d75191ce60b7f | d9d1139eb6cb12173e9db84239325cbf3ceaa121 |
refs/heads/master | <file_sep>numbers = [1, 2, 3, 4]
removed_number = numbers.pop()
print(numbers)
print(removed_number)
a = 10
n = 20
num_list = list(range(a, n))
print(num_list)
print(num_list.pop())
print(num_list)
# Given the following code, what would print to the console?
random_list = [True, 1, 5.5, 3]
popped_value = random_... | f0baf44fb96ee7a511d4fe434b06ef4e964d6f69 | [
"Python"
] | 1 | Python | deepikaasharma/The-Pop-Method | 90fa54c9ef1bb263e9189deba1ecdd2008560823 | b8f208fcd9b759876198627a604fafa8059a19ec |
refs/heads/master | <repo_name>jmack17m/NPSCalc<file_sep>/www/js/app.js
// Ionic Starter App
// angular.module is a global place for creating, registering and retrieving Angular modules
// 'starter' is the name of this angular module example (also set in a <body> attribute in index.html)
// the 2nd parameter is an array of 'requires'
ang... | ef5e5c990192cf4da3b24115fe99dcd7a0ab12fe | [
"JavaScript"
] | 1 | JavaScript | jmack17m/NPSCalc | ae43c6c9dbe03781e99f3dedcf0bdd532fca9551 | eb444464c096f07910f667cf8cba087ced852c57 |
refs/heads/main | <file_sep>package com.dao;
import com.dto.FacultyDetails;
import com.dto.StudentDetails;
import com.ts.db.HibernateTemplate;
public class FacultyDAO {
public int register(FacultyDetails user) {
System.out.println(user);
return HibernateTemplate.addObject(user);
}
public FacultyDetails getFacultyByP... | de6c79d3af2326466061b6d444ad0a403c492bd8 | [
"Java"
] | 5 | Java | BhavyaAparna/LibraryManagementSystem | c945493055167f232cf0c9d40f782820d14e5de0 | 6f09f4b1e36435c37239e62acdb26a4a6758993c |
refs/heads/master | <repo_name>yumendy/HIT_school_calender<file_sep>/main.py
import datetime
import json
import sys
class CalenderApp(object):
def __init__(self, first_day='2017-02-27', week_num=18, events=None, beauty=False):
if events is None:
events = {}
self.first_day = datetime.date(*tuple(map(int, ... | fb2f765241644921fdf8bb3cddf3984e3890cc79 | [
"Markdown",
"Python"
] | 3 | Python | yumendy/HIT_school_calender | 98052d828e2c2fec20d1762c8d45912acef39dba | 7805a3eb18ca375ba7f6198b2e0c9543adc83c10 |
refs/heads/master | <repo_name>dydcfg/tree<file_sep>/pytree.py
#!/usr/bin/env python3
import subprocess
import sys
import os
from os import listdir, walk
from os.path import isdir, isfile, dirname, abspath
# YOUR CODE GOES here
MID_LEVEL_DIR = '│ '
MID_LEVEL_SPACE = " "
LAST_LEVEL = '├── '
LAST_LEVEL_LAST_ITEM = '└── '
def addPre... | 41db07c51626edb3a1224aeb51c528b8c56717f2 | [
"Python"
] | 1 | Python | dydcfg/tree | aea1be5c34e4e10ffa25ea696647f2bb6542ae6f | 3265391cad08dd8d7e452e34e08a9fc31db56da9 |
refs/heads/master | <repo_name>memfiz/tmux.conf<file_sep>/tmux.sh
tmux has-session -t ct
if [ $? != 0 ]
#if [ $? == 0 ]
then
tmux new-session -s ct -n ct -d
tmux send-keys -t ct 'cd ~/' C-m
tmux send-keys -t ct 'vim' C-m
tmux split-window -v -t ct
tmux select-layout -t ct main-horizontal
tmux send-keys -t ct:1.2 'cd ~/' C-m
tmux new-windo... | 4a42fc6ba8e263231be98bf2800c6e941892dec6 | [
"Shell"
] | 1 | Shell | memfiz/tmux.conf | e838cb977f6be1390b8810cdf470b077c7caf502 | b33a2a394d89473d3a8fa7351de51bdf5385c51e |
refs/heads/master | <repo_name>bekarice/simple-registration-for-woocommerce<file_sep>/sake.config.js
module.exports = {
deploy: {
type: 'local'
},
framework: false,
multiPluginRepo: false,
paths: {
src: 'plugin'
}
}
<file_sep>/readme.md
## Simple registration for WooCommerce
Adds simple registration forms to WooCommerce. **Requ... | 4bfc794a76c4c735a46a542ff610ca64edaa485d | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | bekarice/simple-registration-for-woocommerce | 1748ee99c8982c269d3a3e1d8d41325058cd6db9 | 475cee71a26756fed59bc0806255c17814111943 |
refs/heads/master | <repo_name>utilcollect/demo<file_sep>/src/main/java/com/gezhiwei/demo/dao/mapper/CreditPayeeDirectCertMapper.java
package com.gezhiwei.demo.dao.mapper;
import com.gezhiwei.demo.dao.entity.CreditPayeeDirectCert;
public interface CreditPayeeDirectCertMapper {
int deleteByPrimaryKey(Long nFundId);
int insert(Cr... | 7a4ed53e2595e6d76c1e5e12ea3e6ba99730ae0e | [
"Java",
"Maven POM"
] | 35 | Java | utilcollect/demo | 23127669371e58275c53939a045e9f8adc1a9fbb | 32d07140a477b1ee13d8d961228ed14e4be35ee3 |
refs/heads/master | <file_sep>var i = 0,j = 0,x = 0;
var f=0;
var Obj = {"sys": [],"sup": [],"env": []};
document.getElementById('btn-1').addEventListener("click", function() {
$('#adv-list').append('<li><h5>Advantage</h5>'+
'<input type="text" class="form-control" id="adv1">'+
'<h5>Disadvantage</h5>'+
'<input type="text" class="for... | 7c780a56f65d9beb6af1d8d2807e2dabe0f7aa10 | [
"JavaScript"
] | 1 | JavaScript | nbogis/TRIZ | 831f302de22ecc70ac4ae9585bcea8da4834388c | 586de79010ec82c394571f65c8e33133a8ed5376 |
refs/heads/master | <repo_name>freedomzzzii/ReactNative<file_sep>/src/screens/Tutorial/Tutorial.js
import React, { Component } from 'react';
import { View, Text, AsyncStorage } from 'react-native';
import Swiper from 'react-native-swiper';
import tutorial from './TutorialStyle';
import theme from '../../../_theme';
import { Layout1 } fr... | 03ea8c918f266b3761cee4f806bf0df473f70e78 | [
"JavaScript"
] | 4 | JavaScript | freedomzzzii/ReactNative | 182f46ebc1cebf37267f9b0b5d8ed7a015538278 | 3c195e64c2ac7c56ea97ad9fc5f721827d6923be |
refs/heads/master | <repo_name>RisingStack/opentracing-infrastructure-graph<file_sep>/README.md
# opentracing-infrastructure-graph
Visualizing infrastructure topology via OpenTracing instrumentation.
This application uses the following libraries to extract the topology metrics to [Prometheus](https://prometheus.io/) via [OpenTracing](... | 94ba450363b38d7e9d23ec5cfb70f2ea677cc379 | [
"Markdown",
"JavaScript"
] | 3 | Markdown | RisingStack/opentracing-infrastructure-graph | 99c2379b1da5f526c36a4a0034a4fa3b07fa9fa4 | 31f659e138d2d04f0703e13a643b888f7dda51d6 |
refs/heads/master | <file_sep>package com.cerebri.mueller.location.dao;
import com.cerebri.mueller.location.model.Location;
import java.util.List;
public interface LocationDAO {
public void saveOrUpdate(Location location);
public void delete(int locationId);
public Location get(int locationId);
... | 1c2e675af9c93bdb27983d1dc51ceb6138d7684e | [
"Java"
] | 1 | Java | pranireddy9/location-rest-portlet | 6dd6e2bd633039a627ae0e17719b26f695ab43c7 | f1f9d84268188cbe3057148948ac747efe0ba699 |
refs/heads/master | <repo_name>ishmandoo/ar_art<file_sep>/server.js
var express = require('express')
var app = express();
var https = require('https');
var http = require('http');
var fs = require('fs');
var path = require('path');
var numeric = require('numeric');
app.all('*', ensureSecure);
function ensureSecure(req, res, next){
if... | 337c17c07ff3f9574ecfbe53697c76149ca35ae0 | [
"JavaScript"
] | 1 | JavaScript | ishmandoo/ar_art | a396b26b6a1716a95c6c71a946931eda9657ef8a | 00b2c96c5017313e7ac94cc6dd7eded2c4ea59cb |
refs/heads/master | <repo_name>mbuescher/Exam-December<file_sep>/README.md
# Exam-December
Practice code for the December exam in AP Computer Science
<file_sep>/User.java
/**
* A User for a system. Contains username and password fields,
* along with various methods for accessing them and for logging
* in and out.
*/
import jav... | 15bcc8fabf4df253e7b1568fc1f2610999167ca2 | [
"Markdown",
"Java"
] | 5 | Markdown | mbuescher/Exam-December | c11b29260fc3306c8320a95df8ce84c9b0c28d23 | 3fc81db94bf584ef3ae79fae95decf0b9323eeea |
refs/heads/master | <repo_name>mingabire809/Python-Work<file_sep>/index.py
#number_of_place = 30
#number_of_person = 0
#nairobi_mombasa = 8500
#nairobi_kigali = 10000
#nairobi_entebbe = 9000
#nairobi_bujumbura = 11500
#nairobi_juba = 12500
#nairobi_goma = 13500
number_of_place = 30
number_of_person = 0
class bus:
def destination... | 5d5c30d4691e68dfe7ab6913ccafbce349526ada | [
"Python"
] | 18 | Python | mingabire809/Python-Work | fc148dfef6008b6f1b1b4bcbc133535e61c64f80 | ab1455a50f3620ec642b568dbb5147bf3dbbffe9 |
refs/heads/master | <file_sep># python pokespam.py
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from time import sleep
login_timer = 40 # how long you have before it tries to spam
spam_timer = 10 # how many seconds between each spam message will be
message_text = "Gimme really sh... | 419d855b0747c2681d360f44cdf13da95608f0fd | [
"Markdown",
"Python"
] | 2 | Python | Chibbluffy/simple-discord-spam | c282d8cd946d43bae560e2bdef2aa03e0b360543 | 0b94f0d1dadddc20209930bcf8ea884be63372a6 |
refs/heads/master | <file_sep>self.__precacheManifest = (self.__precacheManifest || []).concat([
{
"revision": "8f40c3f9156b544f8715680af481c226",
"url": "/index.html"
},
{
"revision": "62c42abeb814f47561d0",
"url": "/static/css/main.c31a1cb3.chunk.css"
},
{
"revision": "3f0192330eb126bd71a0",
"url": "/st... | 4c217d9cbe6bf1b7c8771dbe7112a6441770030b | [
"JavaScript"
] | 10 | JavaScript | igormarcikic/weather-demo | db30f74efec42366c80bb5d6f36724da559d3362 | 81b604b5497356bae775729ac9891fbbcade37ac |
refs/heads/master | <repo_name>anandbadanahatti19/shop<file_sep>/src/app/app.module.ts
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
import { CommonComponent } from './common/common.component';
import { HeaderComponent } from './common/... | 027b2c0a97731abf8ca80e1749fde6019bdbc034 | [
"TypeScript"
] | 1 | TypeScript | anandbadanahatti19/shop | f3b52b2d04b34bb32a9b08a7eefcfdbb884dab4e | 65071c9a8dca586af6b851e216babb550c27863e |
refs/heads/master | <repo_name>ssatiz/InfluxFinalTask<file_sep>/task/src/main/java/com/influx/task/view/CustomGridView.kt
package com.influx.task.view
import android.animation.ValueAnimator
import android.content.Context
import android.util.AttributeSet
import android.util.Log
import android.view.View
import android.view.ViewGroup
import... | 183d9ea9b776857e4c85a70dbcc1ad74e23b2163 | [
"Kotlin"
] | 16 | Kotlin | ssatiz/InfluxFinalTask | 1c9d866ecf0b1bc2f94671b3216224b0005cd297 | 8ba129a47de856de98b9c7b5dcbe2c1811db3fc3 |
refs/heads/master | <repo_name>BenjaminIsaac0111/Database-Security-Implementation-Examples<file_sep>/audit_seq.sql
--------------------------------------------------------
-- File created - Thursday-March-01-2018
--------------------------------------------------------
--------------------------------------------------------
-- DDL f... | 2daab99ec32b8eb55b115c8605c3479805b047c9 | [
"SQL"
] | 3 | SQL | BenjaminIsaac0111/Database-Security-Implementation-Examples | 53973cfb7b7a64232fcd608ad941ef8290b7492b | c95f1080bc6cb2f231a8776a4eac1a22bad03381 |
refs/heads/master | <file_sep>import os
import io
import logging
import json
from .utils import get_audio_duration, ensure_dir, download, get_annotator
logger = logging.getLogger(__name__)
def convert_to_asr_json_manifest(
input_data, output_dir, data_key, project_dir, upload_dir, download_resources
):
audio_dir_rel = 'audio... | 4205e4bf4fc79365fec145fe8c3700630bcf4276 | [
"Markdown",
"Python",
"Text"
] | 22 | Python | heartexlabs/label-studio-converter | e9a98c20d8cbf816d7af31261ed14be75d3cd18a | 1ab9646cedf7620c18e9fc4d284733a34eacc85a |
refs/heads/master | <file_sep>import javafx.application.Application;
import javafx.application.Platform;
import javafx.scene.control.*;
import javafx.scene.layout.GridPane;
import javafx.stage.Stage;
import javafx.util.Pair;
import javafx.geometry.Insets;
import javafx.scene.Node;
/**Author: <NAME>
* Username and Password Authenticator
... | 05a4a0db35e294b3c285020437d09cf1cca33bdc | [
"Java"
] | 1 | Java | MarioR9/Authenticator | bfb8783268f35f4dce3e0baa0a5d04775c350163 | 4d2cc7d3ff4e42a955e6aa472ce9f63f116cdfa3 |
refs/heads/master | <file_sep>package com.bobotropolis.lilyshout;
import java.io.UnsupportedEncodingException;
import lilypad.client.connect.api.Connect;
import lilypad.client.connect.api.request.RequestException;
import lilypad.client.connect.api.request.impl.MessageRequest;
import org.bukkit.plugin.Plugin;
import org.bukkit.plugin.ja... | 0cac40dedc1b9482adf5434c055e7cbfd938693c | [
"Java"
] | 1 | Java | shawshark/AdminChat | d4ac79464281821ef5809d127345da75b13a2a10 | cb3376c7b3d50b81778927f633c69aa199db7aa9 |
refs/heads/main | <file_sep># Libraries used
import pandas as pd
import matplotlib.pyplot as plt
import os
import seaborn as sns
from sklearn.linear_model import LinearRegression
from sklearn.tree import DecisionTreeRegressor
from sklearn.model_selection import train_test_split
from sklearn.metrics import mean_squared_error, mean_absol... | 54c4d9574a01582d76e364e81d66d0737fcdcbff | [
"Python"
] | 1 | Python | GenCharisma/imdb-rating | a42b6678bb9adceff0b78832ca71420bcce52bbf | 2d6173c1b411e55485db12e10745201a6b988b20 |
refs/heads/master | <repo_name>michpara/ITI1121-Introduction-to-Computing-II<file_sep>/Labs/Lab5/Geometric.java
public class Geometric extends AbstractSeries {
//instance variables
public int i = 1;
public double count = 0;
public int count2 =0;
//returns the next partial sum where it is the series like 1 + 1/2 +... | 5bc6c95513524cd57932207e13457de137d95d26 | [
"Markdown",
"Java"
] | 30 | Java | michpara/ITI1121-Introduction-to-Computing-II | 8153e72901b9c0fb3beb2a813cc369f28d14542b | 92642a7c61419b2804f4fb17c801554863a546fd |
refs/heads/master | <repo_name>flitvious/GHReborn<file_sep>/zone.py
import libtcodpy as libtcod
import logger
import entities
class Tile:
"""a tile of the map and its properties"""
def __init__(self, blocked, block_sight = None):
self.blocked = blocked
# all tiles start unexplored
self.explored = False
#by default, if a tile ... | 18179ba1a571f2f50530a9028d461db41cf5bf71 | [
"Markdown",
"Python"
] | 8 | Python | flitvious/GHReborn | f6d8f55fe9013fe2257c6827b90b67d2f47f2950 | 6788319326f4668efea7adb3249f03047e0a3c80 |
refs/heads/master | <repo_name>cthogg/commander-pages<file_sep>/bin/helpers.js
const fs = require('fs');
exports.createFile = (dir, text) => {
// eslint-disable-next-line
fs.writeFile(dir, text, (err) => {
if (err) {
return console.log(err);
}
});
};
// eslint-disable-next-line
exports.createDirectory = (dir, err) =>... | 4699597ab29b020371564485404ff5e17431469d | [
"JavaScript",
"Markdown"
] | 6 | JavaScript | cthogg/commander-pages | 152263d6d1869fd3ce3d501c242b4a26ca2d4f6a | 7ddb02c936bdd3c440d85f7c1fcc48b50722bf9d |
refs/heads/master | <repo_name>zIconKr/duitang<file_sep>/src/MainProduct.java
import java.util.Scanner;
public class MainProduct {
public static void main(String[] args) {
System.out.println("请输入一串数字:");
Scanner i=new Scanner(System.in);
int o=i.nextInt(); //输入一串整型数字
String a=String.valueOf(o); //将整型转换成字符串
char[] numb... | 6207a9c5eec7927bb595d52473e0d8ad03235c92 | [
"Java"
] | 2 | Java | zIconKr/duitang | d8a57ea19bde822b849c7dfe01bf2048c1a6f14d | 390804e00bf0692269ce213ba60143a0fc160235 |
refs/heads/master | <file_sep>
[  ](https://bintray.com/jfrog/reg2/jfrog%3Aauto-mat/_latestVersion)
# What is auto-mat?
Auto-mat is a docker container that allows you to analyse a Java heap dump from the commandline without any GUI involved. You ... | a3bb5d64568778c24cdada0fc0081bce31f4db21 | [
"Markdown",
"Dockerfile",
"Shell"
] | 3 | Markdown | ric03uec/auto-mat | f10faab5e7532fa6bb80de2de5d095bd9cb5d998 | 83beff38736f8a3a367ca0baff3ad90eb98827e0 |
refs/heads/master | <file_sep>#include "BulleSort.h"
void BulleSort(Sqlist * L)
{
for (int i = 0; i < L->length; i++)
{
for (int j = i+1; j < L->length; j++) {
if (L->data[i] > L->data[j])
swap(L, i, j);
}
}
}<file_sep>#include "KMPSubStr.h"
void KMP_next(char *str, int length, int *next)
{
int i = 0, j = 1;
next[0] = ... | 42ad573753c53eb2097ae574231128f8ee3613bb | [
"Markdown",
"C"
] | 30 | C | qzylinux/DataStructure | 3d6d3205abcb6c0d84cadc7e140110fc7a5c42e4 | a412a0b616352c06e975f914c44b7471a52d6ab3 |
refs/heads/master | <file_sep>namespace AAAG.Constants
{
public class Application
{
public const string Name = "AAAG Learning Site";
public const string ShortName = "AAAG";
}
}<file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespa... | cd03458eadd2ba59034c321621523583cbdebd7a | [
"C#"
] | 4 | C# | hnjonesf/AAAG | 58eaf337cde05c4d8f5f01935f7c61b407193bc9 | 2a8cda2a32c5410f90ae8a204411aa3905b39949 |
refs/heads/master | <file_sep># After Checkout
Codestyle
<file_sep><?php
class ControllerModuleAfterCheckout extends Controller
{
public function index()
{
$this->load->language( "module/after_checkout" );
}
// get filter association category
private function afterCheckoutGetLastOrderId()
{
... | aa07893d85709ffd12b81d49f102572a19419471 | [
"Markdown",
"PHP"
] | 2 | Markdown | webdev74/after_checkout | 8e072071b68bf80c10bfc12f4cffb717ecd22a38 | a807f32b48573bebdd0b70e8ad6cb514eb6928de |
refs/heads/master | <file_sep>#!/bin/sh
# export OMP_NUM_THREADS=16
# export KMP_AFFINITY=granularity=fine,proclist=[0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30],explicit
# export OMP_NUM_THREADS=34
# export KMP_AFFINITY=granularity=fine,proclist=[0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,... | 8d72e263d76cf5cadc49824d527ccbf09312af86 | [
"Makefile",
"C++",
"Shell"
] | 22 | Shell | kohnakagawa/knl_vs_p100 | e277918d2eb949a4188531c23e7ad5d75fee7a40 | 0c246c00123689aad3644dce441191f38bc7dd8b |
refs/heads/master | <repo_name>Peachysalmon/nameofapp<file_sep>/spec/models/product_spec.rb
require 'rails_helper'
describe Product do
let (:product) { Product.create!(name: "race bike") }
let (:user) { User.create!(email: "<EMAIL>", password: "<PASSWORD>") }
before do
product.comments.create!(rating: 1, user: user, b... | a453eaf549b3d7ebd6d7cd22144c1a4a1c7de0b7 | [
"Ruby"
] | 1 | Ruby | Peachysalmon/nameofapp | 6d4087fd9867ec067f67d05a693de29ef1e95d4d | f2b056fcfce3ab93b27ea62023e92a44e0b5d2df |
refs/heads/main | <repo_name>ravi0818/Signup-Login<file_sep>/README.md
http://ravi.infinityfreeapp.com/
<file_sep>/index.php
<?php
session_start();
$_SESSION['loggedin'] = false;
?>
<?php
include 'snippet/config.php';
if ($_SERVER["REQUEST_METHOD"] == "POST") {
$fname = $_POST['fname'];
$lname = $_POST['lname'];
$email = $_POST['emai... | 92109b269bfb92382cb9a5e6dd03423811ba604d | [
"Markdown",
"PHP"
] | 4 | Markdown | ravi0818/Signup-Login | 5f5ec90ab36c3e1c3ce3276efabd6d7a43355623 | eaef3a353ac3571423baceaae92de7db3bc5f154 |
refs/heads/master | <repo_name>Abderrahim01/elleptic_curve_encryption<file_sep>/ellipticcurve.py
class EllipticCurve(object):
def __init__(self, a, b, p):
self.a = a
self.b = b
self.p = p
def __eq__(self, C):
return (self.a,self.b) == (C.a,C.b)
def has_point(self, x, y):
return (y**2) % self.p == (x ** 3 + self.a * x + self... | 29e05cefd97086a730457fd1a3468b9a58ae0b7f | [
"Python"
] | 5 | Python | Abderrahim01/elleptic_curve_encryption | 7ce4342db9fcf863f13bf2c9c37daad981e7346d | 645139ce4464f31ba8b2c2a6b0e32c471f4d1da7 |
refs/heads/master | <file_sep>/*
* 创建标注
*/
export default function creatLabelLayer (map,options) {
if(!options.hasOwnProperty("id")||!map){
throw new Error("标注图层必须要要传入地图和id");
return;
}
map.addLayer({
"id": `${options.id}`,
"type": "symbol",
"source": {
type: `${options.sourceType}`,//'geojson',
da... | 2535f37a64683ca587917645fc0dcdbe666ba005 | [
"JavaScript",
"Markdown"
] | 29 | JavaScript | CH-JD/supermbg-ui | 94618d95570cd3f656e7a19c3df6b49bf04ca1a6 | 26c50915d2aa263f0068f8204ca2033345f4b488 |
refs/heads/master | <repo_name>aniruddhsinghal5/spotifyaccgen<file_sep>/spotify.sh
#!/bin/bash
red='\033[0;31m'
cyan='\033[0;36m'
yell='\033[1;33m'
white="\e[37m"
green='\033[92m'
trap ctrl_c INT
ctrl_c() {
clear
printf "$white[$red CTRL + C$white ] Okay, I will get Exit..."
sleep 3
clear
exit
}
echo ""
printf "$cyan =====================... | 1b0b553add5c18e827074cf359ecfd125959c7fb | [
"Markdown",
"Shell"
] | 2 | Shell | aniruddhsinghal5/spotifyaccgen | 5f73d797aef205dd28f3197ab2b80ec135f8fd29 | 7d922baad78e4a99628b08347ed99654c2888f4c |
refs/heads/master | <repo_name>NahomKibreab/Sundance-Mazda-Project<file_sep>/frontend/src/hooks/useStripe.js
import { useState } from "react";
import axios from "axios";
export default function useStripe() {
const [product, setProduct] = useState({
name: "React from FB",
price: 10,
productBy: "facebook",
});
const [stat... | 45933480ac287b0aa14d2dddb0683aff0f43c7ca | [
"JavaScript",
"SQL",
"Markdown"
] | 22 | JavaScript | NahomKibreab/Sundance-Mazda-Project | ef1e609a4b9280367a44a2d4bac1eb035f251b8b | 5a65e4f9e4cc60df3817dfd8db6d98b225253e06 |
refs/heads/master | <repo_name>psyvisions/slot-machine-1<file_sep>/index.php
<?php
try{
require_once 'Appconfig.php';
$u1 = User::get_instance();
}
catch (Exception $e){
dump_it($e->getTraceAsString());
}
require_once 'Header.php';
?>
<body>
<div id="slots">
<div id="slots-reel1" class="slots-reel">
<div... | 174693d81f1deeb345b41a82b6773f5fd99c290b | [
"JavaScript",
"Markdown",
"PHP",
"INI"
] | 29 | PHP | psyvisions/slot-machine-1 | d3feca86922a5b8a185489e96a67047f6c9b1ea9 | e39c2778b9049f13e94566e39c0838a94c12dea4 |
refs/heads/master | <file_sep># finance.py
# finance flask application
import sys
from flask import Flask, render_template, request, url_for
from financeLib.intradaytools import *
from financeLib.charts import *
# initialize flask app
application = Flask(__name__)
# create form
@application.route("/finance/")
def form():
return re... | 9e0d51a1c23684a18dea4f3a06f2c48bd644e964 | [
"Python",
"INI"
] | 5 | Python | chriskoh/intraday-flask | e440afa390263e0aaeb40510a72c3abde138512b | e2f5ce076e2e68b4df98fddc022f244ac6d4ab0d |
refs/heads/main | <repo_name>KangJialiang/wt_project<file_sep>/weather/weather.py
import json
from datetime import datetime, timezone
import requests
params = {'access_key': '5f249e237bea19f2d36c3adeb55ebd03',
'output': 'json', 'language': "zh"}
citycode_path = "weather/citycode-2019-08-23.json"
with open(citycode_path) as f... | 09bc6324bf5a1ece34ea69e4aa7859d21a42701c | [
"Markdown",
"Python"
] | 9 | Python | KangJialiang/wt_project | 5dfa14e0fed0d6c42feefdec5df256cfad86ad46 | f9c7e0f1e28ad7b6a48484d521e6a562e29cfeb8 |
refs/heads/master | <repo_name>jbiddulph/moveme<file_sep>/database/seeds/DatabaseSeeder.php
<?php
use App\PropertyType;
use Illuminate\Database\Seeder;
use App\Category;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
// $thi... | 567d6efcd9376e8db6b87435bf485cbbcfd95f23 | [
"Markdown",
"JavaScript",
"PHP"
] | 32 | PHP | jbiddulph/moveme | 0ee76910ccfc837df49fe5e1674fbdd0ef2b9801 | a39f3ab8475273dca24e15bd4dd5d2b2fb0fb1dc |
refs/heads/master | <file_sep>package com.rnkrsoft.config;
import com.rnkrsoft.config.properties.PropertiesConfigProvider;
import java.lang.reflect.Constructor;
import java.util.HashMap;
import java.util.Map;
/**
* Created by <EMAIL> on 2019/1/6.
*/
public abstract class ConfigProviderFactory {
private ConfigProviderFactory(){
... | 3a459abd59319f7d82b44274a6de700b9516b433 | [
"Markdown",
"Java"
] | 5 | Java | rnkrsoft/config | 9464b64a813c11cc6d6fa124f702b0ac73d86049 | 389194035ea9217cf92d25dd956f82ee23d64d8f |
refs/heads/master | <repo_name>IUTInfoMontp-M4103C/td1-CemSARISOY<file_sep>/README.md
#  Prog web client riche - JavaScript
### IUT Montpellier-Sète – Département Informatique
## TD1
#### _Thème : dynamiser une page web_
Cliquez sur le lien ci-dessous pour faire, dans un dossier public_html/JS/TD1, votre fork ... | 58f6c469dade2d7a3cd9c6c39b6b132e465794ca | [
"Markdown",
"JavaScript"
] | 2 | Markdown | IUTInfoMontp-M4103C/td1-CemSARISOY | 83456caba6e26e564c0a18e3cacbe617a782e048 | f0eab3934213ab646569ab8ca064991894f71f3d |
refs/heads/master | <file_sep>GlitchBooth
===========
NPoole 10/23/14
GlitchBooth Demo for the pcDuino3 and CSI Camera Module
Featured on Sparkfun.com 10/24/14 New Product Friday
Based on the jpglitch project found at https://github.com/Kareeeeem/jpglitch
(included here in full)
Description: This project uses the pcDuino3 (https://w... | 92736b6792fdf19dec12666c2abe743a0550f71d | [
"Markdown",
"Python"
] | 4 | Markdown | sparkfun/GlitchBooth | 225d54ede9570e090363a8ec88a6815e68536534 | a3eea10e34de80657c5487ba7b9c810713886638 |
refs/heads/master | <repo_name>balta2ar/ncm2-jira<file_sep>/pythonx/ncm2_jira.py
# -*- coding: utf-8 -*-
from datetime import datetime
from operator import itemgetter
from os.path import expanduser, expandvars
import vim
from ncm2 import getLogger, Ncm2Source
logger = getLogger(__name__)
def log(msg):
now = str(datetime.now())
... | 9911a097f8f2c20efeefaabe0f7077ff1763d378 | [
"Markdown",
"Python"
] | 4 | Python | balta2ar/ncm2-jira | a67d243f56b011579c0632f277c7bc1e2fd8f1d8 | ce364ec5ce430e98a2de01be1dbee09fe5e794ba |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.