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>RangelReale/chordlive<file_sep>/src/climport.h
#ifndef H__CLIMPORT__H
#define H__CLIMPORT__H
#include <wx/wx.h>
#include "clpanel.h"
class CLImport : public wxDialog {
DECLARE_CLASS(CLImport)
DECLARE_EVENT_TABLE()
private:
CLPanel *clpanel_;
void OnTextChanged(wxCommandEvent &event);... | a96faf238d7d30a64b3cff7d8c7532074123f3be | [
"C++"
] | 10 | C++ | RangelReale/chordlive | 5529f61bdd10deed1cd5c8070f9bd9557f318719 | 0c93a8bd0a29c44ba0c7c206e353c2c77bbe8164 |
refs/heads/master | <file_sep>[tool.poetry]
name = "websocket-camera-controll-server"
version = "0.1.0"
description = ""
authors = ["Takahiro55555 <<EMAIL>>"]
license = "MIT"
[tool.poetry.dependencies]
python = "^3.7"
tornado = "^6.0.4"
bcrypt = "^3.1.7"
sqlalchemy = "^1.3.15"
[tool.poetry.dev-dependencies]
autopep8 = "^1.5"
pylint = "^... | 8728c09445eda153060754e1c9a5a11946a40d45 | [
"TOML",
"Python",
"Dockerfile",
"Markdown"
] | 14 | TOML | Takahiro55555/WsCameraController | fdbf1e29ee61836f494160a29453bc66b5240a3c | 2b6339a4e681ec018391255974e33862be4e47cb |
refs/heads/main | <file_sep>#include <bits/stdc++.h>
using namespace std;
int main()
{
int n,i,j,k,len;
int m=0;
bool flag;
cin>>n;
for(i=0;i<n;i++)
{
cin>>len>>k;
cin>>word;
flag=false;
for(j=0;j<=len-k;j++)
{
str=word.substr(j,k);
... | 117a4664a099c96361bd41bbbd68af34772c051a | [
"C++"
] | 1 | C++ | Angana1/Coding- | 91e43964c04e09d87ff1564ed53f1aefc29370d6 | e9294413611ed91b8a664c1404f2aa3efd92e513 |
refs/heads/master | <repo_name>arinakt/sunnyDay<file_sep>/sunnyDay/View Controllers/ViewController.swift
//
// ViewController.swift
// sunnyDay
//
// Created by Арина on 28.05.2020.
// Copyright © 2020 Арина. All rights reserved.
//
import UIKit
import CoreLocation
class ViewController: UIViewController {
@IBOutlet weak var... | 6e6b61573fb56081bb9c8fea7da367ebe9085a4e | [
"Swift"
] | 4 | Swift | arinakt/sunnyDay | e8b3aec53ea38c4429de6212a80008038421b4da | 97cdb9c3d057c18d2f719531f1e1c24de123a7fa |
refs/heads/main | <file_sep>const baseUrl = 'https://60f18ece38ecdf0017b0fd03.mockapi.io/api/v1/events';
export const getFetchData = () =>
fetch(baseUrl).then(response => {
if (response.ok) {
return response.json();
}
return null;
});
export const postFetchData = event =>
fetch(baseUrl, {
method: 'POST',
... | 5a01059289e0d4b5a359d93d9b686bcae1b5a69a | [
"JavaScript"
] | 7 | JavaScript | JuliyaSavelyeva/calendar-react | 67d60b0d3c3c222f3e5d7c5e6abe78dea92ebb66 | 1b0b8fd3c161bf6c89154d3b88c78b59c0edff27 |
refs/heads/main | <file_sep>package com.tom.jspServlet;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
/**
* @descriptions: test
* @author: Tom
* @date: 2021/1/13 上午 12:10
* @versi... | b1171129e0c4176d9b0744b649e20cb68fcde429 | [
"Markdown",
"Java"
] | 2 | Java | loustrong/SSHStudy | d9454793c8e8c5d060a77fc29b7ea597653b46e1 | 57ed807b6d182fef8765277a2c136918e16d3fc0 |
refs/heads/master | <file_sep># mCloudStorage
Cloud storage using the Mega.nz API
You can upload, download and share files with the program.
<file_sep>/*
*/
using System;
using System.Collections.Generic;
using System.Windows.Forms;
using MetroFramework.Forms;
using CG.Web.MegaApiClient;
using System.Linq;
using System.Threading.Tasks;... | c8204b269e9e59ab2a1e4d7ea6f521ca6bb03ce2 | [
"Markdown",
"C#"
] | 3 | Markdown | todokku/mCloudStorage | 9a46456069e879464296ad0d0c87b740c072d80a | 1bbf776b00907c2cade65eb4f32501575298e584 |
refs/heads/master | <repo_name>MuflikhunovRR/ISBNProject<file_sep>/src/main/java/ru/gotoqa/Constants/Constants.java
package ru.gotoqa.Constants;
/**
* @author <NAME>
*/
public class Constants {
public static final String URLSITE = "https://shop.harvard.com/search/site/java";
public static final String FILEPATH = "D:\\JAVA\\Jav... | 89fa6883284f0e8601ad53c7efb3d62363678ba2 | [
"Java",
"SQL"
] | 5 | Java | MuflikhunovRR/ISBNProject | 3a502bfc95798ed87f76848fdc4d4ac6f2d45b7e | 0bf196cda34e7dd6c620b237cfdb564d82153146 |
refs/heads/master | <file_sep>package br.com.stand.artilharia.model;
import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNu... | 1f4bf3f58cf81ce2de09ddd2084758e6a76dc8b0 | [
"SQL",
"Markdown",
"INI",
"Java",
"TypeScript"
] | 39 | Java | LVKILL/DKL-System | b95f841b64e80c7fa516abe5588881e5d9140d4a | 35cda39f01e87693a877537682d8ee33f2a99ba0 |
refs/heads/master | <file_sep>package com.example.andy.hw5;
import android.app.ListActivity;
import android.os.Bundle;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import java.util.ArrayList;
public class MainActivity extends ListActivity {
private ListView listView;
@Override
protected void onCreate(... | 38359656270317fc2ee91fe2d21f9788f826d24c | [
"Java"
] | 1 | Java | chenchunwei24k/Android-HW5 | df009047b339c559f985da13c20aae7f74e55a49 | 70e410c03b9becdaccfde34862821967ddf128b8 |
refs/heads/master | <repo_name>ImmrBhattarai/Calculator<file_sep>/program.py
a = 10
b = 20
sum = a + b
diff = b - a
mul = a * b
print(sum)
print(diff)
print(mul)
| 988bccfcf2581b9560f07cfa030cde437fe0c926 | [
"Python"
] | 1 | Python | ImmrBhattarai/Calculator | d68a465bd78335fb7b6c9cae7a595b5e68c54e88 | 2111ffc7c763fb3ba95c764f8ddfa15b01c09170 |
refs/heads/main | <file_sep>#include "money_man.hpp"
#include <iostream>
void mm::handling_input(mm::game& game, bool& quit, mm::object& player, bool& intro)
{
//input queue
SDL_Event event;
while(SDL_PollEvent(&event))
{
if(event.type==SDL_QUIT)
{
quit=true;
}
}
//keyboard
const uint8_t *keyboard_state=SDL_GetKeyboard... | 9acfa075f7b393c750c733dd4f950ec656bf38a3 | [
"Markdown",
"C++"
] | 11 | C++ | tevoran/money-man | 8aa2b0d44a5ba9b05d4c8404d7b4b4329ff306f6 | 6dad8516a792904788002f69913d74d9075a5e4a |
refs/heads/master | <file_sep>import * as introspector from "@langion/introspector";
import * as _ from "lodash";
import * as path from "path";
import { Prism } from "../../Prism";
import * as types from "../../typings";
import * as utils from "../../utils";
export abstract class Emitter<O extends string, E extends string, Context extend... | 80b29b3a47ba36a0bf6c25b9f6b3650581635ec1 | [
"Markdown",
"TypeScript"
] | 20 | TypeScript | Langion/prism | ad91227cb6f4e64d4b4ef3c5a578b7a09a3979f6 | cbb8b87563cd51971d819861c26af8cfec8bf604 |
refs/heads/master | <file_sep>'use strict';
angular.module('sgvmApp')
.config(function ($stateProvider) {
$stateProvider
.state('five-great-lessons', {
url: '/about/five-great-lessons',
templateUrl: 'app/about/five-great-lessons/five-great-lessons.html',
controller: 'FiveGreatLessonsCtrl'
});
}... | 66a747d1f94bb83dc48f6b188091db27d1dcdf5c | [
"JavaScript",
"HTML",
"Markdown"
] | 25 | JavaScript | seantcoyote/sgvmontessori | 2475ef866dd642dfa7db44a771574f8ed0a9a2ee | 8b1a5fa2402982abc5c8250eae778f7248ca251b |
refs/heads/master | <file_sep>include_recipe 'build-essential'
include_recipe 'git'
directory "#{Chef::Config[:file_cache_path]}/Singularity" do
owner node[:singularity][:user]
end
git "#{Chef::Config[:file_cache_path]}/Singularity" do
repository 'https://github.com/HubSpot/Singularity.git'
reference node[:singularity][:git_ref]
... | e622e188ac443d787728830c5734ec9b89e51387 | [
"Ruby"
] | 3 | Ruby | samsalisbury/Singularity | fe6028d6165969d7db2a17820c504285f19a7bce | 5b89deb5579d93fd13671f0b8c6115399686b65c |
refs/heads/master | <file_sep>const { MongoClient, ObjectID } = require('mongodb');
MongoClient.connect(
'mongodb://localhost:27017/TodoApp',
(error, client) => {
if (error) {
return console.log('Unable to connect to Database', error);
}
console.log('Connected to MongoDB server.');
const db = client.db('TodoApp... | c3caa616cd2f3280b1c737c53bcf7ecd7aafcd43 | [
"JavaScript"
] | 1 | JavaScript | v-ern/node-course-2-todo-api | 5b6bf5bb2c7d7010aef1f78bbce08b7bd303bf37 | d3a559feac65dbf37c47a6b216ee3d83b0529f71 |
refs/heads/master | <file_sep>from config import DB as db
from models import User, Message
db.connect()
db.create_tables([User, Message])
db.close()
| 4b1652b7fa5837824bf6057f72048c820b40ec7b | [
"Python"
] | 1 | Python | joyin1211/FirstInnoBotTest | 54c7ef8bc8712d9aa8e2e6107afbc294fd4859ea | 89c963796a4db6c950a33bf920345fe9131815b5 |
refs/heads/master | <repo_name>subhanmahmood/netbeansCh5<file_sep>/src/MainForm.java
import java.awt.Graphics2D;
import java.awt.Image;
import java.awt.RenderingHints;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import javax.imageio.ImageIO;
import javax.swing.ImageIcon;
import javax.swing.JCombo... | 3f830d3c482127ab0dc7715004b4152b6369bfef | [
"Java"
] | 1 | Java | subhanmahmood/netbeansCh5 | 6d4cc59a50058ea118ebe2521756b3b03817ae97 | 8da2338b23d57a8a10e5a73ea75c8f1dd9a4203a |
refs/heads/master | <file_sep>// JS yay!
<file_sep># TicTacToe
My first try to make an easy tic tac toe game with JS
| df66221f1ca4fc10651c34876f29536822ac9309 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | Esclaire/TicTacToe | a5f90a1420482a0a7d7d61b22726c2ab7e893cfe | 3a2e85dba0e57b8e56fb4015729daabd0ce05199 |
refs/heads/master | <repo_name>josh-privata/WaterChargeCalculator-School<file_sep>/WaterChargeCalculator.java
/**
*******************************************************************
* All code contained within is released under the GNU v3 license
*
* Please respect and support open source software and it's creators
*
* Project Nam... | 59198a806cdbed1dc55561dbd8274a165e67e306 | [
"Markdown",
"Java"
] | 3 | Java | josh-privata/WaterChargeCalculator-School | a6090e4b450e94a4315615011254e0d8522fdefc | 6189b6a7d9dfc393e7e931c71935e60ee03fc589 |
refs/heads/master | <file_sep>const { luhn_validate, info_card } = require('./index');
(async function () {
// Tarjeta incorrecta
let data1 = await info_card(1234567890);
console.log(data1);
// tarjeta correcta
let data2 = await info_card(4152311235);
console.log(data2);
})();
<file_sep># Util credit/debit cards
## Featu... | 472b065821726ba652863b2c40579271d40c48e4 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | linaresbda/util-credit-cards | 053021de9803d6c916fcd9f2da09ce03cdfb00ba | 8a6a23611d744925991bd863eea6f32b207220a2 |
refs/heads/main | <file_sep>const $levels = { "easy": 3, "medium": 4, "hard": 5 };
const $imgsTheme = { "default": "../img/buracoNuvem.gif", "active": "../img/nuvem.gif", "dead": "../img/deadNuvem.gif" }
const $imgWidth = 100; // largura da toupeira
const $imgHeight = 80; //altura da toupeira
const $initialTime = 10; //temp de jogabilid... | 3c2be1b51e810d63875503ef506aa4e2ebd29ce7 | [
"JavaScript"
] | 4 | JavaScript | acNataliaFreitas/jogoNuvemTeste | 2988d15b151008ecfb90ef8b18550491b77d6712 | 56744366c0bef8645edaa36a3bd936aceca26e0c |
refs/heads/master | <repo_name>MubsCompany/RecyclerView3Mubs<file_sep>/app/src/main/java/com/example/recyclerview3mubs/MainActivity.java
package com.example.recyclerview3mubs;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
i... | 9f5a6125e9fbae46f8e73853fc798a3ac8bb2225 | [
"Java"
] | 2 | Java | MubsCompany/RecyclerView3Mubs | f6eb172fa3bfa8d578a66f520d1eea2aa838127f | 67945711d072a4c3986d63ab46adb46f0eca0758 |
refs/heads/main | <repo_name>ttanzhiqiang/onnx-tensorrt_7.2.1<file_sep>/trt_utils.hpp
/*
* Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software wi... | 0411c2e605f62c43f80395484ec66b821afe8840 | [
"CMake",
"Markdown",
"Python",
"C",
"C++"
] | 14 | C++ | ttanzhiqiang/onnx-tensorrt_7.2.1 | 950b75ad4ecf478085365d1adbe6e96b5f472074 | eadffbb3d095a7d1b80a4ba3a8451a1174fef7dd |
refs/heads/master | <file_sep># -*- coding:utf-8 -*-
import pytz
def convert_timezone(time_in):
"""
用来将系统自动生成的datetime格式的utc时区时间转化为本地时间
:param time_in: datetime.datetime格式的utc时间
:return:输出仍旧是datetime.datetime格式,但已经转换为本地时间
"""
time_utc = time_in.replace(tzinfo=pytz.timezone('UTC'))
time_local = time_utc.astime... | a5a11ee9edaf7aa761fb107d9997002e2104ecd0 | [
"JavaScript",
"Python",
"Text",
"Markdown"
] | 33 | Python | LXVC/jiu_school_back_end | 57efb9ea12e5f16089686f806a4c027513b4c5c1 | d9de3e7ab018ea7958d424547297d7bf32d64854 |
refs/heads/master | <file_sep>package com.example.lastmileconnectivity.lastmileconnectivity.activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.ActionBar;
import android.support.v7.widget.Toolbar;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import andr... | 4ae07790aa77b9038ef7492cf5806b8ae8e1f4b6 | [
"Java",
"INI",
"Gradle"
] | 11 | Java | faisalkhan1690/LastMileConnectivity | 704168d216eebd052581d9b0611425baad88ba4b | 6f0fc723cf45d3ffa698fe8298a8293988e40ec0 |
refs/heads/master | <repo_name>cryptoguru1012/pressdalpha<file_sep>/app/models/company_selected_category_attribute.rb
class CompanySelectedCategoryAttribute < ApplicationRecord
belongs_to :company_selected_category,:inverse_of => :companycatatt
private
end
<file_sep>/app/models/coupon_reference.rb
class CouponReference < ActiveReco... | 1852adcada504d1c11c1e072b89ed48b0b9d34d3 | [
"Ruby"
] | 30 | Ruby | cryptoguru1012/pressdalpha | fa1cac24872a53694f60b9f26b3ed12fc85b96c5 | b38e499d06049664618f3270cdcc4a8e179e4239 |
refs/heads/master | <repo_name>maruu987654321/ruta<file_sep>/README.md
## Run with virtualenv
- Create a virtualenv folder `virtualenv -p python3 venv`
- Activate `source venv/bin/activate`
- Install the requirements `pip install -r requirements.txt`
- Run gunicorn `gunicorn app:app --bind 0.0.0.0:5000 --reload`
## Run with Docker
- Bui... | 5802ce83f37bd5347ff2dd915e49bf9f15d63597 | [
"Markdown",
"Python",
"Text"
] | 3 | Markdown | maruu987654321/ruta | 0ab48b864ebf56858ab336c27673d732a0641fe1 | e16d23fa8477bbeabb9918c4dec49e4e38e925d9 |
refs/heads/master | <file_sep>#include<stdio.h>
#include<conio.h>
#include<dos.h>
#define max 5
int top=-1; /* Global varible */
int stack[max]; /* Global varible */
int push(int top,int data) /* Push_Data */
{
if(top==(max-1))
{
printf("Stack is full");
sleep(2);
}
else
{
top++;
sta... | 127476ee6ecb59d2f9270993adda6a726384a84b | [
"C"
] | 1 | C | durgeshkumargupta/Stack_Rule_1 | 9e79a069d4e1f05668801f72f8a4a6d067baa707 | c495de5f72b389d590c7de21b50c5dc5d55d7f5d |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace CityInformationApp
{
public partial class CityInfoUI : Form
{
City a... | e91340d58964043cb54006515e9c2cb441e7da2c | [
"C#"
] | 2 | C# | arrobin/CityInformationApp | ba2b423d721f716476ca6f70ca2a5fa4cb4962b0 | 0cf7267e0ee2078d554fa637bb1d3e53657881de |
refs/heads/master | <repo_name>IDgtl/Pacman<file_sep>/Pacman/Dot.cs
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pacman
{
public class Dot : IDrawable
{
public SizeF Size { get; private set; }
public... | a648045acfc1d7190c3a3e61267dd841a0a1c630 | [
"C#"
] | 7 | C# | IDgtl/Pacman | da091a24c2bbce3b5771565ff1d0a20a01dd5eb0 | 0196564149c6889501c7b891644f95114248bfea |
refs/heads/master | <repo_name>johnLitoBardinas/buck<file_sep>/functions.php
<?php
/**
* Twenty Nineteen functions and definitions
*
* @link https://developer.wordpress.org/themes/basics/theme-functions/
*
* @package WordPress
* @subpackage Twenty_Nineteen
* @since 1.0.0
*/
// Disable admin bar
show_admin_bar( false );
// dereg... | 14889984f69041222a57da1d3236950443660b83 | [
"JavaScript",
"PHP"
] | 4 | PHP | johnLitoBardinas/buck | 9840b338654eb3537444b7307b3faf3f23431862 | 1da6e2f462267fd4b028377f744011e4e38192da |
refs/heads/master | <file_sep><?php
$var='Primer commit';
echo $var;
?> | 519045beef4b9904f693844f5f5b798ec7c725b2 | [
"PHP"
] | 1 | PHP | cmoyag/tutorial | 7a87d06647e339ac1829780fdd66c66183cc6e6b | f52634323f4247b694068b0668b2a6a03b947db1 |
refs/heads/master | <file_sep><?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>d... | d8d96e76be14e9ed78e1375866c5563fe5ed4815 | [
"YAML",
"Markdown",
"Maven POM",
"INI",
"Java"
] | 9 | Maven POM | Murugar/DockerSpringBootH2 | ed33fea8c892a16547c8e830178575675904bc9f | 9ad35ed756868884b7e7f7591f4f284063bc27d7 |
refs/heads/master | <repo_name>boskakke/special<file_sep>/lib/custom.php
<?php
// //Adding the Open Graph in the Language Attributes
// function add_opengraph_doctype( $output ) {
// return $output . ' xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml"';
// }
// add_filter('language_attribute... | a878711f81ba465b71c4e1b398a52f1df6d293d1 | [
"PHP"
] | 9 | PHP | boskakke/special | e5c995585122b451d570eb631f4aa5f2d4f63b05 | ff53c5ae85958cab44f7b89c17111050d072559e |
refs/heads/master | <repo_name>panchennb/shiftMange<file_sep>/src/main/java/model/zhijian/LessonScheduleInfo.java
package model.zhijian;
import java.util.Objects;
/**
* 课表信息
*/
public class LessonScheduleInfo {
private String dsptZjszId;//章标号(节对应的章编号,章时传本章编号)
private Integer dsptBh;//标号
private String dsptZjszName;//章节名... | dafe3a308253b4dbe794fb8e7fe1e7edba2cc11d | [
"Java"
] | 7 | Java | panchennb/shiftMange | d88d40012d0f50794ba13aabbd1ca69fa793fbd0 | 37b2f8a9970cefc020af6df8517713c812e14ab1 |
refs/heads/master | <repo_name>MergEye/tumblr-registration<file_sep>/tumblr.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import time
from random import randint
import subprocess
from selenium import webdriver
from selenium.webdriver.support.wait import WebDriverWait
from selenium.webdriver.common.keys import Keys
from selenium.webdr... | cf3b83c73fc9eb8884e6251c8e49ea480592fb91 | [
"Markdown",
"Python",
"Shell"
] | 3 | Python | MergEye/tumblr-registration | 2e0f92fc222e12a774fbb428730cb24fb0bcad71 | 4cd3dd55eb9f4b99ff56d67358da348b7bf62ba0 |
refs/heads/master | <repo_name>Symfomany/dojoFourteen<file_sep>/README.md
### Objectif: Playing With Lists/Arrays Series
Given an array of integers , Find the minimum sum which is obtained from summing each Two integers product .
### Contraintes
* Array/list will contain positives only .
* Array/list will always has even size
Examples... | fad0cc8288a501940fffc35ca2099611a02c8331 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | Symfomany/dojoFourteen | 9c9dd4c8e0385b10dd5d754225b738aca6f510ad | af3aa3feacec3ebd0007b9cda1dd57fd2f9f4aa3 |
refs/heads/master | <repo_name>Shraddha2702/Java-Files<file_sep>/README.md
# Project1
This is just a demo first project to see the usage.
<file_sep>/Exceptions/ExceptionTest1.java
//Exception Handling
class ExceptionTest1
{
public static void main(String args[])
{
int a=10;
int b=0;
try
{
if(b==0)
{
throw new ArithmeticE... | 5512e3e0087f79a8e20175881e00be699e94c2f7 | [
"Markdown",
"Java"
] | 3 | Markdown | Shraddha2702/Java-Files | b80a2aea35b0f8bcce59faa1bb0b56eb648088cd | f9796d6d8b47a8b311f7019b3849f64661410be3 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace lab3Cs
{
public partial class Form1 : Form
{
public void butt... | ae0c1092f69355d208a9f7b42c0d0bd767164ffe | [
"Markdown",
"C#"
] | 3 | C# | Misha1311/lab3Cs | 87e338df10246682c2293e2df88ce26c355e25f7 | 92ab7179700d3446458517355744ac901cd74d73 |
refs/heads/main | <file_sep>def Valid_Parentheses(s):
blanket_list = []
for blanket in s:
if blanket == "(" or blanket == "{" or blanket == "[":
blanket_list.append(blanket)
else:
# print(blanket_list)
if blanket_list:
# print(... | bb8e2d3d849f95547037660a66876e0f9934c8ab | [
"Python"
] | 1 | Python | mickey1233/valid_parentheses | 62694ba9b38350b728c7b589b07af3cee678afd2 | a0b2f5936578c008ddddaf39c21fb72ae1e66b4a |
refs/heads/master | <repo_name>dorrubin/simpleDraw<file_sep>/simpleDraw/ViewController.swift
//
// ViewController.swift
// simpleDraw
//
// Created by <NAME> on 10/15/16.
// Copyright © 2016 <NAME>. All rights reserved.
//
import UIKit
class ViewController: UIViewController {
@IBOutlet var drawView: DrawView!
overr... | 8b2afa6131a39b3e2b2b41453e2fc6ed221fe56f | [
"Swift"
] | 1 | Swift | dorrubin/simpleDraw | 668d550bc1c6f315395d21075a9796d6f1a109a2 | 4142fb6607efed507ec661218e6ae84f10f7a74f |
refs/heads/master | <file_sep>package com.jacaCode.main;
import javafx.scene.canvas.Canvas;
import javafx.scene.canvas.GraphicsContext;
import javafx.scene.control.Alert;
import javafx.scene.control.Alert.AlertType;
public abstract class Engine {
protected static final int CIRCLE_WIN = 12;
protected static final int SQUARE_WIN =... | ef6b9c7759354c03fd654b504889bba1a8ad552f | [
"Markdown",
"Java"
] | 2 | Java | JacaCode122/Tic-Tac-Toe-Game | 6e9ef686314e825d7352a833bb2067f6a335f0a1 | 47edd05e245b2ece3c70964af346f1c463afe107 |
refs/heads/master | <repo_name>nguyenvietmanhit/database_demo<file_sep>/mvc_demo.sql
/*
Navicat MySQL Data Transfer
Source Server : localhost
Source Server Version : 50505
Source Host : localhost:3306
Source Database : mvc_demo
Target Server Type : MYSQL
Target Server Version : 50505
File Encoding ... | 7289814ec6caf387f42af698c26c31d7d6876101 | [
"SQL"
] | 1 | SQL | nguyenvietmanhit/database_demo | c170ff909d12881d8b8e9c9fc738fd45b93e1e7a | 0d15ee82124f9d112d5626d770238f48ea180c64 |
refs/heads/master | <file_sep><?php
//var_dump($_POST);
$id=$_POST['id'];
//$erit= $_POST['erit'];
//$eanio= $_POST['eanio'];
$eredactor= $_POST['eredactor'];
$eintegrante1= $_POST['eintegrante1'];
$eintegrante2= $_POST['eintegrante2'];
$emateria=$_POST['emateria'];
$esubmateria=$_POST['esubmateria'];
$eestado=$_POST['eestado... | b05702fea3543e122cfbe93bb0e36bf317d67bb0 | [
"PHP"
] | 16 | PHP | mmujicaa2/sentencias | 8de527a4a307b0331c1e2f2e38c272f64179bbe2 | 7a0ee0f1ec64f04bd897065a5bb2400080a2db5e |
refs/heads/master | <repo_name>TellAnAx/npoc_processing<file_sep>/npoc_processing.R
# R script for processing NPOC/TOC data from Shimadzu TOC analyzers
# <NAME>
# February 2020
# ----------------------------------------------------------------------------------- -
# -------------------------------------------------------------------------... | 683da5fe54f75cd3a066a6d29db5fdd1b5bdcd04 | [
"Markdown",
"R"
] | 2 | R | TellAnAx/npoc_processing | 6dd15a3b73a649625657f2d04fd25ce978d29295 | 2482a251901c836e9069d506a65563ee7d1659a9 |
refs/heads/main | <repo_name>NitikaSakhunChaudhary/Project-24-Crumpled-Ball-1<file_sep>/dustbin.js
class Dustbin{
constructor(x,y){
this.x = x;
this.y = y;
this.dustbinWidth = 200;
this.dustbinHeight = 100;
this.wallThickness = 20;
this.angle = 0;
this.boxBottomBody =... | b6a056c8b75d04374feb90b5c4411b30ae5eb6e5 | [
"JavaScript"
] | 1 | JavaScript | NitikaSakhunChaudhary/Project-24-Crumpled-Ball-1 | 246c025cbd259c8d87edbe0b4238ebaa0e86f28f | 0abe524934b9edf90ce13478a61a8ed2645969e4 |
refs/heads/main | <file_sep>using System;
namespace Maze
{
static class Program
{
static void Main(string[] args)
{
Field.Fill(30);
Field.Print();
while (true)
{
Field.Move(Console.ReadKey().Key);
if (Field.Current.X == Field.Destin... | 9821ea6ac5e52401805f593b925dc5cf3acd02ad | [
"C#"
] | 3 | C# | 0N3GH057GR34M/Maze | b4dceaafa068eff9fd3f0addd95c60eac14680fe | f4f1b0979e16b1e0ffe3d29bb3e0958b0dbba833 |
refs/heads/master | <repo_name>elcom64/auriga<file_sep>/src/com/auriga/chat/sql/MessageMapping.java
package com.auriga.chat.sql;
import com.auriga.chat.model.Message;
import org.springframework.jdbc.object.MappingSqlQuery;
import java.sql.ResultSet;
import java.sql.SQLException;
import static com.auriga.chat.sql.DataContract.MESSAGE.NI... | a85eb8feb623642e642487f97e1bcde8d96c2f9b | [
"JavaScript",
"Java"
] | 7 | Java | elcom64/auriga | 05a32dd33e6e85ebbdd8c2f14961c17f1b22e6d4 | 8abc37650e54a52c081d410eb39f6a42330e1b3d |
refs/heads/master | <file_sep>CREATE TABLE usuario (
codigo BIGINT(20) PRIMARY KEY AUTO_INCREMENT,
nome VARCHAR(50) NOT NULL,
email VARCHAR(100) NOT NULL,
senha VARCHAR(150) NOT NULL
) ENGINE = InnoDB
DEFAULT CHARACTER SET = utf8;
CREATE TABLE permissao (
codigo BIGINT(20) PRIMARY KEY AUTO_INCREMENT,
descricao VARCHAR(5... | 0f7a1ba8fa2260418f0da60bd5d27b2e94ab803d | [
"SQL",
"INI"
] | 2 | SQL | liomazi/lavajato | c748e85a1b3da93ca21ff6331e44b494ce3e2cc0 | f22070fcd1e8348022ab258d4cbe299cdddf7983 |
refs/heads/master | <file_sep>$(function(){
function buildHTML(comment){
var html = `<p class="name-write--name">${comment.user_name}</p>
<p class="name-write--date">${comment.updated_time}</p>
`
if (comment.text != null) {
html = html + `<p class="name-write--small">${comment.text}</p>
`
}
if (comment.i... | eb2099ce3839bae0c5fe0377e492e4f85176bb69 | [
"JavaScript",
"Ruby"
] | 8 | JavaScript | tekonfo/chat-space | b0b585293e2f7371986cbbdfbd9f8ffddca3c3fe | bb39bbba9a58e548dfcdde96c75732df2f61e6c9 |
refs/heads/master | <repo_name>MuellerMarius/covid19-status<file_sep>/src/constants/index.js
export const KEYS = ['active', 'recovered', 'deaths'];
export const COLORS = ['#a4c5c6', '#d4ebd0', '#f78259'];
export const FAV_COUNTRIES = [
'Germany',
'Spain',
'Italy',
'China',
'United States of America',
'United Kingdom',
'Viet ... | 50ba58ece42cbe2adba7064967c6ec7cd7910d1b | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | MuellerMarius/covid19-status | f8f274be4671df937fce3e36a3cb0cb2b2567507 | f06ecaaf716ff52cc7d8ebb4d661d422779ed53e |
refs/heads/master | <file_sep>from src.training.trainer import Trainer
from src.training.features_builder import FeaturesBuilder
from src.common.loader import loadUDGrammasFromFile
import os
def train_all_models(filename):
sentences = loadUDGrammasFromFile(filename)
predictors = [
'pos',
'mood',
'voice',
... | 8103976b33ae8389be50a63ccc4535caab370432 | [
"Markdown",
"Python"
] | 36 | Python | Anna325/MD_Goncharova | 70598019d9e73932b90f4cc4ba323a03c4184dfe | 183e0d3e4b6155b5666d33d6cdc1948f8b5b5acc |
refs/heads/master | <file_sep>color
=====
Syntax highlighting for streamed terminal Go text.
```
cat file.go | color
```
or
```
cat $(find . -type f -name *.go) | color | less -r
```
![screen shot][1]
I started off wanting to write a very limited in scope Go app with the above
functionality for my first Go application only to fin... | efcd3063305c01c1d4b8fc26f5f6cc0a66655781 | [
"Markdown",
"Go"
] | 2 | Markdown | gophergala/color | 418da3903ac983adfc9183a2b0b9ff2e9222785a | 1870d1d834fccdba4278515cf91051ce8d06ef9a |
refs/heads/master | <file_sep>DO NOT USE.
This old proof-of-concept contains a vulnerability in the jquery file uploader, so DO NOT USE.
<file_sep># pip install -r requirements.txt
# AM: I've not tested this file yet!
Flask
Flask-Bootstrap
Flask-WTF
<file_sep>$(document).ready(function() {
json = $.parseJSON($("#filelist").val());... | 0c040aadeecf5bb82a0e69c385b4d443a3c19c29 | [
"HTML",
"Markdown",
"JavaScript",
"Python",
"Text"
] | 5 | Markdown | amouat/super-simple-store | 505f404c90c3826603a7abf51a914726629e4f4d | 2fe671203ac23b509dc1ea09e0a4132711e780c2 |
refs/heads/master | <file_sep><?php
class OemProApiSegmentService extends OemProApiService {
public function __construct(OemProApiClient &$client) {
parent::__construct('Segment', $client);
}
public function Create($listID, $fields = array()) {
$params = array(
'SubscriberListID' => int... | b7c6149ef2b50510b269d2e618217bf47a86e206 | [
"PHP"
] | 3 | PHP | tplessis/oempro-api-client-php | 8239a2f3fd581220512572966570b76156e1d661 | 4a126e7a2c284ff38486e0588eae67fb2d590e87 |
refs/heads/master | <file_sep><?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Requests;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Validator;
use Illuminate\Support\Facades\Redirect;
use View;
use App\User;
use App\Order;
use Auth;
use DB;
class CustomerController extends Contr... | fe6ea86649d6058db413df57d20e5095506b12cf | [
"SQL",
"PHP"
] | 7 | PHP | ravikantmishra/test_laravel | 74c988ff38cad9801aa0e4f797d1e7c1c28e3c5a | 102413cd6d77dc0f2a74f2cf0b24413d2e19b3e3 |
refs/heads/master | <repo_name>xingziye/VCF-Hbase<file_sep>/setenv.sh
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/jre
export PATH=$PATH:$JAVA_HOME/bin
export HADOOP_HOME=/usr/local/hadoop
export HADOOP_MAPRED_HOME=$HADOOP_HOME
export HADOOP_COMMON_HOME=$HADOOP_HOME
export HADOOP_HDFS_HOME=$HADOOP_HOME
export YARN_HOME=$HADOOP_HOME... | a1dd69f354ed113f8c8e40d6e6555e2dd1904c3a | [
"Markdown",
"Java",
"Shell"
] | 3 | Shell | xingziye/VCF-Hbase | 350a0e994dd2563cba17c989e53833dc252eb2ab | c50075d8b0fe91cb94566032f573fbd990fad043 |
refs/heads/master | <file_sep>/*
Classic C code to understand MIDI files
MIDI Study Guide : https://ccrma.stanford.edu/~craig/14q/midifile/MidiFileFormat.html
*/
#include <stdio.h>
#include <stdlib.h>
struct headerChunk {
char fileID[4]; // indicates an actual MiDi file
short length; // header length
short... | 8e4442f12d2c96e53c139fc044b20a6f81fef51d | [
"C"
] | 1 | C | Biswajee/MIDIReader | 74c85da10beb50ed52f07453041a2ec6cf89e21b | fd72d48bdcf8ab877a4673205b17ba702a33bf38 |
refs/heads/main | <repo_name>PiotrJustyna/FanoutHelperAPIV2<file_sep>/readme.md
# readme
Fanout Helper API V2 - this API serves as a sub-service of https://github.com/PiotrJustyna/FanoutAPIV2 and is one of FanoutAPIV2's fanout data sources. This API is also task-heavy. The key difference between this project and Fanout Helper API V1 is... | 8a9c27842e3809685e76b4bb6997b11293b66745 | [
"Markdown",
"C#"
] | 2 | Markdown | PiotrJustyna/FanoutHelperAPIV2 | cf937ab3b7622cb209f36125ce9d1a7c4694cd77 | dc2e5a4567e96c6edbe92a4ad23a05313bdd9797 |
refs/heads/master | <repo_name>Frischifrisch/ASCIImoji<file_sep>/grunt/clean.js
module.exports = {
dist: {
src: "dist/**/*"
},
postbuild: {
src: ["dist/chrome-extension/key.pem", "docs/index.js"]
},
homepage: {
src: ["docs/images/**/*", "docs/index.**"]
},
homepagePostBuild: {
src: "docs/index.js"
},
key:... | fdf893b9bc930efb67c9cabda53e12c41de4e72d | [
"JavaScript"
] | 1 | JavaScript | Frischifrisch/ASCIImoji | c94d2a144e44c72cb2f65f09b9d72b35f8b0ff41 | b51c55821309d848b066447b0a3a4f5f4f3568ae |
refs/heads/master | <repo_name>ytken/TestProjectPTS<file_sep>/src/main/java/Output.java
import java.io.FileWriter;
import java.io.IOException;
import java.util.*;
public class Output {
public static final List<String> LABELS_LIST = Arrays.asList("mark01", "mark17", "mark23", "mark35", "markFV", "markFT", "markFX");
private Strin... | 3e791266f0bf7944813987535c4adc169260615d | [
"Java"
] | 1 | Java | ytken/TestProjectPTS | a1bd28b2d0b02aefc234bdf0f7d317ae4bd1a059 | fe9fdd5bad86508a732534ab8ffdfdfa8ba6a7b5 |
refs/heads/master | <file_sep>class Fabrication::Generator::ActiveRecord < Fabrication::Generator::Base
def self.supports?(klass)
defined?(ActiveRecord) && klass.ancestors.include?(ActiveRecord::Base)
end
def build_instance
if _klass.respond_to?(:protected_attributes)
self._instance = _klass.new(_attributes, without_... | 9fbd2be15e3c3b166b97fbc4c5ff4f5bc663f319 | [
"Text",
"RDoc",
"Ruby",
"Markdown"
] | 41 | Ruby | elindow/PBL_New | 7df28c38db1d35e943b2ba2cae1ad1cd7d374eb2 | 57277db571eafed4bb28ee6b2b664defe94f5915 |
refs/heads/master | <repo_name>Pluxopolis/plxMySlippry<file_sep>/lang/fr.php
<?php
$LANG = array(
# admin.php
'L_PICTURE' => 'Image',
'L_INFORMATION' => 'Informations',
'L_ACTIVE' => 'Active',
'L_ORDER' => 'Ordre',
'L_NEW_IMAGE' => 'Nouvelle image',
'L_UPDATE' => 'Modifier la liste des images',
'L_URL_... | b884f6d65371e52453ab9168a754c700fe0ff0d7 | [
"PHP"
] | 5 | PHP | Pluxopolis/plxMySlippry | 0856dce58c2417c2edc0ad00fb508314c582043a | 072f9a7019869751cd57330d0c6b7373276352b0 |
refs/heads/master | <repo_name>qifx/PictureAndVideoViewer<file_sep>/PictureAndVideoViewer/ContentViewController.swift
//
// PageViewController.swift
// PDFDemo
//
// Created by qifx on 16/4/12.
// Copyright © 2016年 qifx. All rights reserved.
//
import UIKit
import AVFoundation
protocol PageChangedDelegate: NSObjectProtocol {
fun... | 9d5485a30c356f0247048011d0caf73e6f6ef1b6 | [
"Swift",
"Markdown"
] | 3 | Swift | qifx/PictureAndVideoViewer | 326516dce68d86a740f6a6a7471984653df6f73b | 4695f5d490a6f2107de0ad3f2d2c7132aa00a138 |
refs/heads/master | <repo_name>550406066/js-<file_sep>/README.md
#js下拉框组件
>基本功能全部实现了,扩展功能提供一个自己的想法。
完成了下拉框的基本功能,兼容现代浏览器,数据是使用ajax请求的easy-mock的数据,可以动态搜索匹配,
因为不了解测试代码所以没有测试组件功能,使用console.time()测试了组件搜索用时,对于扩
展要求2中我的想法是:1.当用户输入停止时再进行匹配,设置一个搜索阈值。2.将后端的数据存储在LocalStorage中减少请求次数。
项目预览:

.require('serialport')
const Delimiter: typeof parsers.Delimiter = (window as any).require('@serialport/parser-delimiter')
type CreateProps = {
path: string;
baud: number;
onOpen: () => void;
... | 5489ca61ea9a163f227097b51ef3b7cce24ec161 | [
"JavaScript",
"TypeScript",
"Markdown"
] | 10 | TypeScript | uofm-capstone-2020/motor_controller_gui | 744b4a27063b3b66a5e55a48b494684e90c60abe | bb216d419f8a9ffd4fd872fb1ea7c895c475f3a8 |
refs/heads/master | <repo_name>cclcmj/MJ-LeetCode<file_sep>/初级算法/链表/合并两个有序链表/App.java
package app;
/**
*合并两个有序链表
*
*将两个有序链表合并为一个新的有序链表并返回。新链表是通过拼接给定的两个链表的所有节点组成的。
*示例:
*输入:1->2->4, 1->3->4
*输出:1->1->2->3->4->4
*/
public class App {
public static void main(String[] args) throws Exception {
ListNode l1 = new ListNode(1);... | be4a5284d3ba49047d8555bda44ea40e42b8fe45 | [
"Java"
] | 11 | Java | cclcmj/MJ-LeetCode | 931324a62a9cc50a659d0ca6cbd9b5fd5454c0c2 | a96ae75154169594520136339f2b77f341f5824c |
refs/heads/master | <file_sep>const hasRequiredProperties = (required, data) => {
const keys = Object.keys(data);
const errors = [];
for (value of required) {
if (!keys.includes(value)) {
errors.push({
[value]: 'can\'t be blank'
});
}
}
return errors;
}
module.ex... | 579a3a93685e190567a8d49fee8c3f4577ff7c65 | [
"JavaScript",
"Markdown"
] | 10 | JavaScript | nyambati/real-world-api | 4c3459d1a98be98c1125be2070073579d53699c5 | d891aa5d301b09ea3bf07417a57b743c7f2ec952 |
refs/heads/1.16.1 | <repo_name>Commoble/potionofbees<file_sep>/src/main/java/com/github/commoble/potionofbees/client/ClientModEventHandler.java
package com.github.commoble.potionofbees.client;
import com.github.commoble.potionofbees.PotionOfBeesMod;
import com.github.commoble.potionofbees.RegistryObjects;
import com.github.commoble.potio... | d4d077d2e50a77ec3595fc8384b9f67259ecfac4 | [
"Markdown",
"Java"
] | 7 | Java | Commoble/potionofbees | 7c2800bcf564b10d83e03ba961070b00ccfe7a33 | 898f62b12dcf65ca97e8fcbad39aee19dfce931f |
refs/heads/master | <repo_name>kidoju/Kidoju-Help-deprecated<file_sep>/src/main.js
require('../web/viewer.css');
require('../web/compatibility.js');
// require('pdfjs-dist/web/compatibility.js');
require('../web/l10n.js');
window.pdfjsDistBuildPdf = require('../build/pdf.js');
// window.pdfjsDistBuildPdf = require('pdfjs-dist/build/pdf.js... | 33e3cb9c0f87a848ce40f9d988e47a60018650e9 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | kidoju/Kidoju-Help-deprecated | 8b5f65eb4c5603210fb3d32a1ad8a3e507da3356 | 052b63953b9c49a2b8d8db4f51e7b0757653bef5 |
refs/heads/master | <file_sep><<<<<<< Updated upstream
### JDS SURVEY
=======
### JDS SURVEY
>>>>>>> Stashed changes
<file_sep><?php
/**
* The welcome page is the home page
* TODO : make a recursive function, taking any number of box in the database, calculating how much rows are needed.
*/
// DO NOT REMOVE This is for automated testi... | 57dac1c964b3fceaa0ee65da89138dfdea5d04c0 | [
"Markdown",
"JavaScript",
"Dockerfile",
"PHP"
] | 8 | Markdown | sandisunandar99/crowdsource-app | 7444c7f1feaa165f22b24b8dd6581bd51d92ce8e | c4220d164ab018a1e04823a131cb2d8c9dc1cf22 |
refs/heads/master | <file_sep>#!/bin/bash
# done just once
if ! $(wp core is-installed --allow-root); then
# install wordpress
wp core install --url='{placeholder}.localhost' --title='{placeholder}' --admin_user=admin --admin_password=<PASSWORD> --admin_email='<EMAIL>' --skip-email --allow-root
# clean up
wp rewrite structure '/%po... | 545ae727f729cf5290c6c784525baf88b811adce | [
"YAML",
"Shell"
] | 2 | Shell | DawidUrbanski/wordpress-docker-app | 37604526a2b0744c001e9a705a0c6a9982a569ea | d2b307e911566ac38a30f67d6bda274cdc67599a |
refs/heads/master | <file_sep>#include <stdio.h>
#include <stdlib.h>
typedef struct Node{
int data;
struct Node* next;
}Node;
Node *head = NULL;
void push(int data);
int pop(void);
void display(void);
void deleteStack(void);
int main()
{
int choice, value;
puts("------Menu------");
puts("1. Push");
puts("2. Pop"... | c1f0f92a31a7f904c62f148da3ffaac13dd90af8 | [
"C"
] | 2 | C | EricFill99/Data-Structures | a569b6e889b8590913e8b9928661969e1556464f | acf276b64372332ad5de0461875284d3a7bc52bc |
refs/heads/master | <repo_name>vavalm/discord_bot_tortue_geniale<file_sep>/tortue_geniale/tg_channel_events.py
import discord
import asyncio
import re
import logging
from data.groups_name import free_random_name
logging.basicConfig(level=logging.INFO)
client = discord.Client()
class ClientEvents(discord.Client):
'''
Classe init... | 654911f49a30c6abe82e82efd6767c4e1abe87bf | [
"Python",
"Text"
] | 5 | Python | vavalm/discord_bot_tortue_geniale | 2fa2865166dd109b1138b77ed7f21d8e59efd8ab | a4e45c26a233e83e266cf3cdf82c4a7e31a2b411 |
refs/heads/main | <file_sep>package com.customterrarium;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import org.springframework.web.servlet.config.annotation.ViewControllerRegistry;
import org.springframework.web.servlet.config.annot... | 83caf8dbd817bb482e14bb07a80265f5368f83ea | [
"JavaScript",
"Java",
"Markdown"
] | 3 | Java | imjesska/casestudy | b9c38c3c3a71c84048b106260393aa6a47c4ee73 | 7112b1b4e1f5ca2070fa927a7e9400d34b098d05 |
refs/heads/master | <file_sep>import React from "react";
import classes from "./Rinse.module.css";
const rinse = props => {
const { method, defaultRecovery, recovery } = props.rinseData;
return (
<div>
<label className={classes.LABEL}>
Method
<input
type="text"
name="method"
v... | e02d39697fef808eb71015d86d3911d5b12e6e37 | [
"JavaScript"
] | 6 | JavaScript | shreyas1307/analytical-method-form | f66b12f9788657f4e128353411e68cd3c0bd97f8 | bf4148df0dbd442051723352a7092c58b1532f5a |
refs/heads/master | <repo_name>mehmetbarispolat/tagsisApp<file_sep>/README.md
# tagsisApp
https://tagsis-control-platform.herokuapp.com
<file_sep>/app/app.py
from flask import Flask,render_template,redirect,request,url_for, jsonify
import firebase_admin
from firebase_admin import credentials
from firebase_admin import firestore
""" GLOB... | 4d75401c35c2350461ec370e98521a1de5dba1bb | [
"Markdown",
"Python"
] | 2 | Markdown | mehmetbarispolat/tagsisApp | 31b380fa82f7a964731d89ab01d714038a4d4d14 | e2589415c296c9f77ded87ccafbd3290a2caeb0a |
refs/heads/master | <file_sep>module.exports = function(grunt) {
grunt.initConfig({
clean: {
style: ['css', 'styleguide']
},
copy: {
styleguide: {
files: [
{ src: ['sass/styleguide.md'], dest: 'css/styleguide.md'}
]
}
},
sass: {
development: {
options: {
... | e84aee86632c44f4d52ade8266207436d73caf8a | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | krismckinnon/customKSSSetup | 2f6dac4afaf3327f70872671f286ebba6ffa75d7 | 78a46f318ac23793142a19d02e1d29de8e7f88dd |
refs/heads/master | <repo_name>LemuelAcosta/Parcial<file_sep>/parcial1/parcial1/Program.cs
using System;
namespace parcial1
{
class Program
{
static void Main(string[] args)
{
double prec;
string pag;
Console.WriteLine("Cual es el precio del producto?");
... | 84103391f716c4c5f16b1f6d07fe6c1f64fef9bf | [
"C#"
] | 1 | C# | LemuelAcosta/Parcial | 464db56e4369da4cf1513e898fdade99fc3651c0 | 42ca6e8b5034a73a56de677f9de454eb8586e46f |
refs/heads/master | <repo_name>kumboj/comehome<file_sep>/src/main/java/com/kum/daos/CalledFunctionDAO.java
package com.kum.daos;
import java.sql.SQLException;
import java.util.Collection;
import java.util.Set;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;
imp... | 1852ed8f4da10be356d06986b11f9e41a18e9047 | [
"Markdown",
"Java"
] | 6 | Java | kumboj/comehome | 396eecef9f2bf26fd682050224709a37372d0b19 | e98b1b8f7c8c12cee5c0a9a5cfb0293987ff87be |
refs/heads/master | <repo_name>vikramarka/createjsbitmaptext<file_sep>/src/js/text/HAlign.js
(function(window) {
HAlign = function(){
}
HAlign.CENTER = "center";
HAlign.LEFT = "left";
HAlign.RIGHT = "right";
window.HAlign = HAlign;
})(window);<file_sep>/src/js/text/BitmapTextField.js
(function(window)
{
/**
*
* @param... | ac415f5857baac44418be7b3a96bcda98e7cbe51 | [
"JavaScript",
"Text",
"Markdown"
] | 8 | JavaScript | vikramarka/createjsbitmaptext | 12ffb5dc40ab9616e4d248c2526c5881800de1c5 | c9886daae8aa118e112d9e88901b9db5acc3dafc |
refs/heads/master | <file_sep>/*
1. Write a function called hasMostFollowers, which accepts a variable number of arguments. You should
then make an AJAX call to the Github User API (https://developer.github.com/v3/users/#get-a-single-user)
to get the name and number of followers of each argument. The function should return a string whic... | 13ea642f14eebb7591031d265ef2e63f93b4708b | [
"JavaScript"
] | 1 | JavaScript | SpurgeonPrakash/ES6 | 6c2179aaebe8e9dd53990ff760cde9b62a91ea1b | 09b332455732ca47b5980b0fa238b4decbd9a82a |
refs/heads/main | <repo_name>SourceWriters/amongus4j<file_sep>/src/main/java/net/sourcewriters/server/amongus4j/net/packet/client/ClientPacketType.java
package net.sourcewriters.server.amongus4j.net.packet.client;
public enum ClientPacketType {
;
int packetId() {
return 0;
}
}
<file_sep>/src/main/java/net/sourcewriters/server/am... | d8c5cfe22721de17b289ae304aa015c08425a0f9 | [
"Java"
] | 13 | Java | SourceWriters/amongus4j | ada7b3697d27f60df2485450183bc425365529c2 | 51e78b170af48d7aaef0568b9d7db4527e4d1a18 |
refs/heads/main | <repo_name>trasgoverde/dh<file_sep>/src/main/java/com/blocknitive/com/repository/package-info.java
/**
* Spring Data JPA repositories.
*/
package com.blocknitive.com.repository;
<file_sep>/src/main/java/com/blocknitive/com/config/package-info.java
/**
* Spring Framework configuration files.
*/
package com.blockniti... | 493062b6ecba6d73b1af61d413f031e3a2ce275c | [
"Java",
"INI"
] | 3 | Java | trasgoverde/dh | 2031d757df5f8f420c8084dd5b9e5875accff454 | e580d16bcd4dd1abf3845915c3ff37d8cf109e38 |
refs/heads/master | <repo_name>deviyantiam/Ujian_Pemain_Muda_Berbakat<file_sep>/soal2_1.py
import matplotlib.pyplot as plt
import pandas as pd
import numpy as np
df=pd.read_csv('data.csv')
print(list(df))
df_n=df[['Name','Age','Overall','Potential']] #buat df lebih mudah dilihat
xao=df_n['Age'][(df_n['Age']<=25)&(df_n['Overall']>=80)&(d... | c6836d67f50d34687c74cf7147ca9a02b3a0e97d | [
"Python"
] | 3 | Python | deviyantiam/Ujian_Pemain_Muda_Berbakat | 48a447620202107695ed449dc02933117729d2c2 | 586252955232af648d61cc4c193c89d328c4817a |
refs/heads/master | <repo_name>si13n/todolist<file_sep>/app/controllers/projects_controller.rb
class ProjectsController < ApplicationController
before_action :authenticate_user!
def index
@projects = Project.where(:user_id => current_user.id)
end
def create
@project = Project.new(project_params)
@proj... | 37951c66334f834e29d1b626d951ed07c57104ca | [
"Markdown",
"Ruby"
] | 9 | Ruby | si13n/todolist | 70f14e83049fe3847808e7471ba4ab1ac0deec3c | bd77ed66e38ab5615fc6618dd0e6b096931016a3 |
refs/heads/master | <repo_name>russfeld/hubot-russbot<file_sep>/scripts/lib/common.js
function randomString(strings){
if(typeof strings == 'string'){
return strings;
}else if (strings instanceof Array){
return strings[Math.floor(Math.random() * strings.length)];
}
}
function applyVariable(string, variable, value){
... | b3f1eedcb08d146e4df0fdf00d29cb00cb34a210 | [
"JavaScript",
"Markdown"
] | 8 | JavaScript | russfeld/hubot-russbot | cb7f357d70b80a2e36ad84584890439956215b93 | ea236cb8bffe9cd4a6764ec72b5fa20aedb33045 |
refs/heads/master | <repo_name>samcreate/EVB_Boilderplate<file_sep>/www/index.php
<?php
ob_start('ob_gzhandler');
// ======================
// = defining constants =
// ======================
define('DIR_WEB', dirname(__FILE__));
define('DIR_PHPLIB', dirname(__FILE__).'/lib/php');
define('DIR_SYS', DIR_PHPLIB.'/system');
define('DIR_CTRL... | d7d0efbb4f1a9fa1d61d2980dc150387dad81451 | [
"Markdown",
"PHP"
] | 2 | PHP | samcreate/EVB_Boilderplate | 19baccddf48f3974f87b9d6842552da3ce286647 | b223613e25f1fe97f5e8ac2f1239743856e1fa1f |
refs/heads/master | <file_sep>3.2.4.1 BETA (2014/12/16)
---------------------------
Global:
- Pgina service bugfixes
- Pgina service extend max shutdowntime to 1h
LDAP plugin:
- a view bugfixes
- option to use authentication bind when searching in authorization and gateway stages.
pgSMB plugin:
- add 1 minute timeout if an SMB conn... | b8a57e43b82c9c3e61ac50f8dac05e03c6d7a048 | [
"Markdown",
"C#",
"Text",
"C",
"C++"
] | 147 | Markdown | ComputerBits/pGina | 9213542efa1888e65cafdf7610e9065569979afb | a4c0a76616748b0c294cdd0288c2dd6c67a98237 |
refs/heads/master | <repo_name>5881/BUCHI<file_sep>/makefile
project.hex: project
avr-objcopy -O ihex project project.hex
project:
avr-gcc -std=gnu99 -mmcu=atmega8 -O2 -o project main.c
write: project.hex
avrdude -c arduino-ft232r -pm8 -v -v -b 115200 -U flash:w:project.hex
#sudo avrdude -c nikolaew -pm8 -P /dev/ttyS0 -U flash:w:... | d4f6a88bb179f913b9814557cbd2651f3147a59c | [
"Markdown",
"C",
"Makefile"
] | 3 | Makefile | 5881/BUCHI | a55f6b3e01b0665726ae36ad114f1f2f01d9d714 | 4c1a3e5bd10e4cc449aa9337bf9ffd55c26f235d |
refs/heads/master | <file_sep>#include <fstream>
#include <iostream>
#include <cstdlib>
using namespace std;
/**
*!\brief storage of chart of isotope
*
* contain max and min A values for a given Z which are allowed in GEMINI
*/
struct SIsotope
{
short unsigned iAmax; //!< maximun A value
short unsigned iAmin; //!< minimum A valu... | 92c7e3b4687631a87e98471a3760f5fb1ad8dc0d | [
"Markdown",
"CMake",
"C++",
"Makefile"
] | 65 | C++ | jdfrankland/gemini | e8fbfa6f60c22414695a06ef434a88033ba1046a | dfbf79a6f3c9fc24f48b3694c940487ab026fec6 |
refs/heads/master | <repo_name>tanaton/chuden_teiden<file_sep>/README.md
# chuden_teiden
[中部電力の停電情報](http://teiden.chuden.jp/p/sizuoka.html)を町名ごとにまとめて表示します。
遠州地方のみに対応しています。
個人の私的利用の範囲でお使いください。
## 使い方
1. `git clone https://github.com/tanaton/chuden_teiden.git`
1. `cd chuden_teiden`
1. `go build chuden_teiden.go`
1. `./chuden_teiden`
1... | 404938a07ad4cb975fd43a3954eee3cd3f19de2f | [
"Markdown",
"Go"
] | 2 | Markdown | tanaton/chuden_teiden | bb872215034c142519a24ae9c003e67dc916401b | b092424e48a60c95a94088b4dd8434dc8fb3830f |
refs/heads/master | <file_sep>Music-Clustering
================
The goal of this project is to develop algorithms to perform automatic
playlist generation via music clustering.
Given all the music on a computer we cluster the songs/artists
into k playlists such that the music in each playlist is similar.
To do so, we use data mining tech... | a345774b539588f2195f25341c17e68dea66eb63 | [
"Markdown",
"Java"
] | 5 | Markdown | guillaumedupre/Music-Clustering | 3cfb1ae43b04136060f64f2a3d4bedd66e429a7c | f18bcfbf806dedfac7257468cd499f6162704438 |
refs/heads/master | <file_sep><h3>src/simpleBean/DBConnectionMgr.java</h3>
여기에서 DB 서버 재설정
<file_sep>package simpleBean;
public class OrderBean {
private String ID;
private String name;
private String quantity;
private String buyerName;
public String getID() {
return ID;
}
public void setID(String iD) {
ID = iD;
}
public Stri... | 12336b8e41a2e2c7debe3556791848b3daf78061 | [
"Markdown",
"Java"
] | 6 | Markdown | RamRam-V/dyUniv__AJH__jspWebproj | ee7d3a8d9c5bc1c4199f97d48826f9ea4bf529fe | d343e109b4f894709d12c9b86c9642a5e7109ed2 |
refs/heads/master | <repo_name>sarah-Abdulaziz/spot_price<file_sep>/naive.py
# -*- coding: utf-8 -*-
"""
Created on Sun May 21 11:58:57 2017
@author: sara
"""
from pandas import Series
import glob
from sklearn.metrics import mean_squared_error
from math import sqrt
import numpy as np
def file_name():
p="/*.2xlarge... | dbbc55cfd849713c95cd00b3f7b9c654be14d777 | [
"Python"
] | 2 | Python | sarah-Abdulaziz/spot_price | 2c93d578b92b2497400949015f555dec0dd3df49 | 8edb5a5a6af81d5282f74406bc11d2132e5a55cc |
refs/heads/master | <file_sep>
describe( 'Triangle', function() {
it("checks if is a triangle", function() {
var testTriangle = new Triangle(12,12,12);
expect(testTriangle.isTriangle( ) ).to.equal(true)
});
it("checks if is NOT a triangle", function() {
var testTriangle = new Triangle(3,3,12);
expect(test... | f7e783ea111c3f13024a3552543ced06a4f82149 | [
"JavaScript"
] | 2 | JavaScript | Vawx/javascript_Triangle | 09a5b8b188aaefc57fcf7c627e7f9943de01f351 | ea3cfe24d8f4ee38eee501f917839bf422dab982 |
refs/heads/master | <repo_name>pepedeka/shaka-player-embedded<file_sep>/shaka/include/shaka/js_manager.h
// Copyright 2016 Google LLC
//
// 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
//
// https://www.apa... | 7388948c0f5aa1e73accf1095693f305804a68c0 | [
"JavaScript",
"Makefile",
"Python",
"C",
"C++",
"Shell"
] | 195 | C++ | pepedeka/shaka-player-embedded | 779ed5a2c9057e27809d1e8409059afe6e9b2365 | 26e62d673f9742d46abab19089d8b3dde5a3b458 |
refs/heads/master | <file_sep>
#' helloworld
#'
#' @param
#' @param
#' @return prints \code{"hello world"}
#' @examples
#' helloworld()
#'
#' @export
helloworld <- function(){
print("hello world")
}
| 6dd67cea53c144011f732e6a984941a8e9bd7e94 | [
"R"
] | 1 | R | laurettemhlanga/helloworld | 399916f5e875a9027ac00a823ebc9d7bff038c16 | b705a0c117704b74e4922ac8ca020f74e620f0aa |
refs/heads/master | <file_sep>#!/bin/bash
if [ -z ${WORKDIR} ]; then
if [[ $0 =~ ^(.*)/[^/]+$ ]]; then
WORKDIR=${BASH_REMATCH[1]}
fi
if [[ $0 == "bash" ]]; then
WORKDIR="."
fi
fi
if [ -z ${SDDCDIR} ]; then
SDDCDIR=${WORKDIR}
fi
STATEDIR="${WORKDIR}/state"
if [ ! -d ${STATEDIR} ]; then
mkdir ${STATEDIR}
fi
source ${WORKDIR... | ff0be89515cea6152efad98d794a8fde20dcfddd | [
"Shell"
] | 7 | Shell | regmiboyer/vRNI | 793da4524cb367c84b21c5ded74daa293b528753 | 10798202a1cf12a0047e2deb7e5ebf81dc407096 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.