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>microchip78/D3TestBench<file_sep>/views/examples/first_d3_selection.html
<section class="instruction-group">
<p class="instructions">
First step is to create a variable to hold data. For this exercises we are jusing using simple data, an array of numbers stored in variable
</p>
<div hljs>... | 734c776d4bd1b61d80c834a81c0abcc679a92b36 | [
"JavaScript",
"HTML",
"Markdown"
] | 5 | HTML | microchip78/D3TestBench | 016078448d6fccf212f73c87f0790d6c3c0caa8e | 4ec3487a311c436a954a960eb53009e147736bcf |
refs/heads/master | <file_sep>import java.awt.BorderLayout;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import jav... | 321d4c61f12edc013aad0aa6526c7f8a368330d3 | [
"Markdown",
"Java"
] | 5 | Java | JinHyukParkk/Health-Manager | defeb6e7bb94d2da47226dea7a77e9651d1c6a1b | 7570fcd75ca381701ce47460a3a1b50964631df7 |
refs/heads/main | <file_sep>package com.ir;
import com.brettonw.bedrock.bag.BagArrayFrom;
import com.brettonw.bedrock.bag.BagObject;
import com.brettonw.bedrock.bag.formats.MimeType;
import javax.net.ssl.HttpsURLConnection;
import java.net.HttpURLConnection;
import java.net.URL;
import java.nio.charset.StandardCharsets;
import org.or... | 4c80087c94293ffcccf6fff00c5c9e5d56106294 | [
"Markdown",
"Java"
] | 2 | Java | brettonw/space-track | 277a361a3b14359a19ae6698767e0ca16d191361 | bbc9e3ae1f11e6fbf65c867bd0535441196a19ab |
refs/heads/master | <repo_name>lberserq/shor_cpp<file_sep>/qregister.h
#ifndef QREGISTER_H
#define QREGISTER_H
#include <vector>
#include "config.h"
/*! \class Qvector
*\brief Register of Qubits
*States with amplitudes stored in states
*Amplitudes of this states stored
*
*/
class Qregister
{
std::vector<mcomplex> ampl;
std::v... | 7a0ea49a48c85c9075415c05634e99d56680c05e | [
"C",
"C++"
] | 16 | C++ | lberserq/shor_cpp | e3deb199c65662d45b2a99155689a8a327bbb2d1 | 7cb46ab62cc86585e098a913a1fbc17c6b190db3 |
refs/heads/master | <file_sep>@file:Suppress("unused", "MemberVisibilityCanBePrivate")
package com.lukelorusso.calendartrendview
import android.content.Context
import android.graphics.Color
import android.graphics.Typeface
import android.util.AttributeSet
import com.lukelorusso.simplepaperview.SimplePaperView
import org.threeten.bp.Loca... | a14cea3b059581598ead8d4efba7961fec571d42 | [
"Markdown",
"Kotlin",
"Gradle"
] | 5 | Kotlin | lukelorusso/CalendarTrendView | ce2fd9e8255652819edf314744918e853cb69ecb | 72dafb957e9cf0514702ad25220d3e347e4ea4d4 |
refs/heads/master | <repo_name>davidwparker/various-jquery-old<file_sep>/js/jquery.tableFilter-1.0.js
/*
* jQuery.filterTable
*
* Adds a row after the first row with input boxes for searching the values within that column
* dynamically. It currently does not provide
*
* @version 1.0
* @author <NAME> [davidwparker(at)gmai... | 202dbc418fcff82711ae49722fcea46f014d49e7 | [
"JavaScript"
] | 1 | JavaScript | davidwparker/various-jquery-old | 598f516e8266c9c1a47a11491cf2097012b7328b | 64f04f677ce4a2202d95dbc8ba4bec7cbcbdb9b8 |
refs/heads/master | <repo_name>chzeng03/CheckIn<file_sep>/js/index.js
const eventlist = document.querySelector('.Events');
const loggedoutlinks = document.querySelectorAll('.logged-out');
const loggedinlinks = document.querySelectorAll('.logged-in');
const accountdetails = document.querySelector('.account-details');
const checkedevent... | fe0e88d5b99831a7a069d450f316c9752de45244 | [
"JavaScript"
] | 1 | JavaScript | chzeng03/CheckIn | ad615b2dfdcc82a663bd6ae9554d3d5043b308e4 | 362d0ee6d56bb48564de6e06669e15293b5dd8a0 |
refs/heads/main | <repo_name>bp-mike/lara-vue-addressbook<file_sep>/routes/api.php
<?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
use App\Models\Contact;
Route::group(['middleware' => 'api'],function(){
// get all
Route::get('contacts', function(){
return Contact::latest()->get();
});
R... | 157d5ab47735bcfabfac007d79b133e748259d3c | [
"PHP"
] | 1 | PHP | bp-mike/lara-vue-addressbook | aec7cefc699a8fd41390801811ff175efa8a1adb | 9c8b7aae4939e67b7af8306dbb4d94b6e91bc7dd |
refs/heads/master | <repo_name>dewos/Wolfed<file_sep>/src/it/wolfed/model/Edge.java
package it.wolfed.model;
import com.mxgraph.model.mxCell;
import com.mxgraph.model.mxGeometry;
/**
* Edges are the link elements of the graph model.
*/
abstract public class Edge extends mxCell
{
/**
* {@link Edge} Constructor.
*
... | c3c516a29df3612a0fd9949c3948995449d2e8f7 | [
"Markdown",
"Java"
] | 11 | Java | dewos/Wolfed | e1c7195aa7518a22fd2460b17117a7d4f968965a | 46804158f585f874b5c5d85459835a26952c06ab |
refs/heads/master | <repo_name>ggayan/zmq_broker_go<file_sep>/broker.go
package main
import (
"flag"
zmq "github.com/alecthomas/gozmq"
"log"
"time"
)
var (
ping_wait int
pub_address string
sub_address string
mon_address string
front_address string
back_address string
ping_channel string
ping_message string
)
fu... | 82a23c00ee324dabdf644983e9997db6501379c9 | [
"Go"
] | 1 | Go | ggayan/zmq_broker_go | e1a5fc085e84238e389f2278cbab35f029ec3996 | 5423d66eb43ca9ca9d9fec121a030889cae92ec9 |
refs/heads/master | <file_sep>package com.log8430.group9.views;
import java.awt.BorderLayout;
import java.awt.Component;
import java.awt.Desktop;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;
import java.uti... | 62f600477967d7204677ba641643126c0a4fa12d | [
"Markdown",
"Java",
"Python"
] | 19 | Java | PolymtlAC/LOG8430-TP3 | 9668a8d2cf814f9745a976b4df753ba530b2a5b0 | a74ef640f0b12a05d0b78989f3f2983c4ec6df3a |
refs/heads/master | <repo_name>kjmagill/React-Todo<file_sep>/src/components/TodoComponents/TodoList.js
import React from 'react';
import Todo from './Todo';
const TodoList = props => {
return (
<div className="todo-list">
{props.taskList.map(task => (
<Todo
key={task.id}
... | 5bc0eba7502fc9dc4f96118a8894a250286a911c | [
"JavaScript"
] | 1 | JavaScript | kjmagill/React-Todo | d28de7d50381bbad1d2eb24c340109581927a81a | 6a9ef81eab21783f20c78c3c8cf7c74af90188d8 |
refs/heads/master | <repo_name>RachanaBadekar/FlightDataFunnctionApp<file_sep>/README.md
This is a near Real - Time Flight Tracking App using several Azure technologies which tracks all the flights over United States.
I have used Azure Maps to draw the Map Canvas.
In order to get the real time flight information I have created a timer tr... | d3ba414fc685292f9456bc1f92345f205645e165 | [
"Markdown",
"C#"
] | 2 | Markdown | RachanaBadekar/FlightDataFunnctionApp | 435d10e4950afdc6425096f156be6b27e9ca775d | aaf5fd65bf660d45269b8dcc4828a35ab02eb8cc |
refs/heads/master | <repo_name>Admicos/wreplace<file_sep>/wreplacer.js
function replaceTextOnPage(from, to) {
// http://stackoverflow.com/a/18474626
getAllTextNodes().forEach(function(node){
node.nodeValue = node.nodeValue.replace(new RegExp(quote(from), 'gi'), to);
});
function getAllTextNodes(){
var res... | 16d775b577d42675016b41ea7b761d8ec5b50f1f | [
"JavaScript"
] | 2 | JavaScript | Admicos/wreplace | b1dbca0036dd7079f70814799f3d4d623a2e3e69 | fc1b70a323fe5b65d93a91a17481a40b08e37e51 |
refs/heads/master | <file_sep>import { Component, OnInit } from '@angular/core';
import {HttpClient, HttpClientModule} from '@angular/common/http';
@Component({
selector: 'app-video',
templateUrl: './video.component.html',
styleUrls: ['./video.component.sass']
})
export class VideoComponent implements OnInit {
constructor( pr... | f213a1c5acd08a8413fc4935bfbb1151f2b342b2 | [
"TypeScript"
] | 3 | TypeScript | FibonacciGingerSnap/zoom-for-image | 8da75ae3ab57d6b15484bff4620f2baddf39d3a8 | 0e3ff4ed988735153ff1f2ad5c7312ebd2d5a4af |
refs/heads/master | <repo_name>PascualHache/ABA-Tech-Frontend-Challenge<file_sep>/README.md
# Tech-Frontend-Challenge Response
This is the result of a technical test for ABA english. The following objectives have been tried to solve:
# Goals/Outcomes/Requirements Facedโ
- To test knowledge of consuming APIs and handling responses
- Load... | 50b9658a0dc155c7b6237d45eec2d07ae6846397 | [
"Markdown",
"JavaScript"
] | 7 | Markdown | PascualHache/ABA-Tech-Frontend-Challenge | 109d0e2fa3c6281ef7d711fc720c4f1660ba1fd8 | 6818fc7910e9b9f9309c32675deefb9937cbe76a |
refs/heads/master | <repo_name>consuelaziza/the-tough-day<file_sep>/routes/Todo.routes.js
const TodoModel = require("../models/Todo.model");
const router = require("express").Router();
// My TODO routes will go here
//Create todo
// Handles GET requests to `/todos/create`
router.get('/todos/create', (req, res, next) => {
// sending... | 2e9924cc8e739d9c33b841c68be3fd58c9c0cfb4 | [
"JavaScript"
] | 2 | JavaScript | consuelaziza/the-tough-day | 04a799463811909c7a6e1c1d9e49fe08386480a9 | c3c437543eaefae0add8439fc04548a9f9452e6c |
refs/heads/master | <file_sep>import math
import random
import pygame
pygame.init()
pygame.font.init()
SCREEN_WIDTH = 1080
SCREEN_HEIGHT = 720
WHITE = (255, 255, 255)
BLACK = (0, 0, 0)
FIRST_P_LETTER = None
SECOND_P_LETTER = None
FIRST_P = None
SECOND_P = None
PLAYING = None
INTRO = None
screen = pygame.display.set_mode((SCREEN_WIDTH,... | 441f5d882495cb552242d452004df85e97d18461 | [
"Markdown",
"Python"
] | 3 | Python | david12king/tictactoe | 9775be21fa45aea5a9b4bbc0b143adc420dc8d05 | 5f002680dd22d80a16403b5cae7c8a83034fc338 |
refs/heads/master | <repo_name>HiphopSamurai/Sinatra-project<file_sep>/README.md
# Sinatra-project
Flatiron Sinatra Project
<file_sep>/app/controllers/application_controller.rb
require "./config/environment"
#require "./app/models/user"
class ApplicationController < Sinatra::Base
configure do
set :public_folder, 'public'
... | 8a20df3e7d1c484a8c81dddac4f14bd5b341bc8d | [
"Markdown",
"Ruby"
] | 2 | Markdown | HiphopSamurai/Sinatra-project | 5e4cdb2df765ab5b883309b54f5ff9d6e9b3eab4 | 9a11805586f17156cda0a4d8fdacb085e71807ab |
refs/heads/master | <file_sep>/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package View;
import Client.Controller;
import java.awt.BorderLayout;
import java.awt.FlowLayout;
import java.awt.event.Acti... | bb2f3fc2c851987397a121c85d1e91bcf6667c8f | [
"Java",
"INI"
] | 2 | Java | mahmoud-abd-elrehim/Chat | dbed8a5109919581e5aacb1c5792cb0642ce1a72 | b0c3a8198f6eb932893f8060b238a42f8aa06788 |
refs/heads/master | <repo_name>barshat7/Movie_MS_Project<file_sep>/user-details/src/main/java/com/uservice/controller/UserHomeController.java
package com.uservice.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.annotation.Cacheable;
import org.springframe... | ab3662569ee988f376c081682c58486697fb3365 | [
"Java",
"INI"
] | 9 | Java | barshat7/Movie_MS_Project | 00ce4380a3f1d567a3398d3e3122618aaced3b71 | bd1b8e156c2ed9262044f0285a3043fcb25f0d6e |
refs/heads/main | <repo_name>Cozy228/Go-000<file_sep>/Week04/demoproject/cmd/demo.go
package cmd
import "fmt"
func main() {
fmt.Println("Project entry file")
}
<file_sep>/Week02/errorDemo.go
package main
import (
"database/sql"
"fmt"
"github.com/pkg/errors"
)
func main() {
business(20200607010463)
//another search
business(-1... | bcc94277f3bddb2fccc9508cc645140e055da936 | [
"Markdown",
"Go"
] | 10 | Go | Cozy228/Go-000 | 8d9486558951a5e29e29a0b64b21360db7c7cec3 | ab4a57f063dc44f8258dd32ad3980f2d162997b3 |
refs/heads/master | <repo_name>Sprinterzzj/drifter_ml<file_sep>/drifter_ml/classification_tests/classification_tests.py
from sklearn import metrics
import numpy as np
import time
from sklearn import neighbors
from scipy import stats
from sklearn.model_selection import cross_validate, cross_val_predict
from functools import partial
from sk... | d8a0a76ed372eb72ddab2a49a08a9f97ce7d16ed | [
"Python"
] | 1 | Python | Sprinterzzj/drifter_ml | 5a11323618e3aff0a5790d4ad2cdd6132d2655e9 | f1b7bfaad30960d8f343b12c6a2345db81eb7b2c |
refs/heads/master | <repo_name>d-vandyshev/parser_swisslife-select.de<file_sep>/parser_swisslife-select.de_consultants.rb
#
# Parser data of counsultants from swisslife-select.de and export to csv-file
#
# Created by <NAME>
# email: d.vandyshev (doggy) ya.ru
# skype: d.vandyshev,
# freelancer.com: https://www.freelancer.com/u/vandyshev... | e7d8ba893253a17e0337e4e27b00f2e2362c1595 | [
"Markdown",
"Ruby"
] | 2 | Ruby | d-vandyshev/parser_swisslife-select.de | 41e91be8d8b010e6d94372c60acca1c9310ae6c4 | bcfbb142010ef257c51f96c9ad1c0195f8d8ab68 |
refs/heads/master | <repo_name>Griffendoors/roadsafe<file_sep>/web.js
var express = require('express');
var pg = require('pg').native;
var connectionString = process.env.DATABASE_URL;
var start = new Date();
var port = process.env.PORT;
var client;
var bodyParser = require('body-parser');
var cors = require('cors');
var app = express();
v... | 9d304b8ac69bd6d134ce941769988015c4b330e4 | [
"JavaScript"
] | 3 | JavaScript | Griffendoors/roadsafe | 69427473dba7013f99fac70a379f13e00b91807c | 0edb70f39d400a48b08fe36707980ec905d91d6e |
refs/heads/master | <repo_name>mtarunpr/find-a-friend<file_sep>/README.md
## Website
The Find A Friend web app is hosted at: https://find-a-friend-hackmit.web.app/.
## Description
One of the biggest challenges for students as we navigate through these difficult times is finding and maintaining a sense of community despite the lack of f... | e36b74a2287f56145b1383feddf03d8cc02ad852 | [
"Markdown",
"JavaScript"
] | 6 | Markdown | mtarunpr/find-a-friend | c2480686a520ff5e27486553da1a8483d3a51be8 | d1bbaf20867f5e2bb033a9c799e9369d29cf30b1 |
refs/heads/master | <repo_name>IsamiYura/TugasAkhir_PraktikumPD2<file_sep>/RandomClass.java
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package Responsi2;
/**
*
* @author Asus
*/
impor... | 51841d01d5f034b34d2d2288daa8fdf100d3c852 | [
"Markdown",
"Java"
] | 2 | Java | IsamiYura/TugasAkhir_PraktikumPD2 | eba93939e8581ff8f8bf42be949eaf1c830e1774 | b3a53b93c88fb8afa92b1677a84a8713d5212e1b |
refs/heads/master | <file_sep>import pygame
import requests
WIDTH = 550
bg_color = (251,247,245)
original_grid_element_color= (52,31,151) #To separate the input elements from the elements already provided
buffer=5
response = requests.get("https://sugoku.herokuapp.com/board?difficulty=easy") #pre-fetched api to fill out the boxes initi... | 68c1cf49051c1b40c18b7ea740e3980d96c79bb6 | [
"Python"
] | 1 | Python | Saidath/Sudoku-Python-Project-INT213- | b42a76ee89c25d9fc2459ac2b18e50b5661e4229 | 2ef9b41fac00d3be9484e86c9ce89991dcbb9696 |
refs/heads/master | <repo_name>jarl-alejandro/redux-sockjs<file_sep>/src/test/e2e/reduxChannel.test.js
import { createStore, combineReducers } from 'redux'
import { startReduxServer } from '../../../server'
import { startReduxClient } from '../../../client'
import defaultHttpServer from '../../server/defaultHttpServer'
describe('startRed... | 3c08f86211435511d85dc1a1e86dc5677916a996 | [
"JavaScript",
"Markdown"
] | 40 | JavaScript | jarl-alejandro/redux-sockjs | e3981fb73e34222c23e5e27396a59c1981469a9e | daaeb67b1ff93b4aa19a21181715c8885e7cdfdb |
refs/heads/master | <file_sep>const daysEl= document.getElementById("days")
const hoursEl = document.getElementById("hours")
const minsEl= document.getElementById("minutes")
const secondsEl= document.getElementById("seconds")
// const daysEl = document.getElementById("days");
// const hoursEl = document.getElementById("hours");
// const m... | 55f62f6101d52b8d9ae23d9e8739f6e34f870f31 | [
"JavaScript",
"Markdown"
] | 10 | JavaScript | achyuthreddyi/webserver | 75313bb292c10ef6d2365680d2277b847b7a8bb3 | cf73394339d3e61df0063dc3c7ae9519979e7781 |
refs/heads/master | <repo_name>yretes/Weekly1<file_sep>/Weekly1/Weekly1.cpp
#include <iostream>
#include <string>
#include <stdlib.h>
std::string Fullname = "";
char Initial;
int age;
char Confirmation;
bool yesno = false;
bool likesCoffee;
long phonenr = 00000000;
std::string Birthday = "";
int borderSize;
int task;
int favDrink;
// A ... | c682bedeb949f40f40207d55e7dacd9d11d9d0ed | [
"C++"
] | 1 | C++ | yretes/Weekly1 | cb63bfe36f6a6a5c72a7a5cf643290281577777f | 3a580e010aa9fb2b630eeb3fdd510b2352b2005b |
refs/heads/master | <repo_name>mtirtapradja/learn-DDD-concept<file_sep>/pertemuan-4/Controllers/UserController.cs
๏ปฟusing pertemuan_4.Handlers;
using pertemuan_4.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace pertemuan_4.Controllers
{
public class UserController
{
pub... | 21d624a1f7c81c4dfac399a0142fdf42d5ed62c8 | [
"C#"
] | 28 | C# | mtirtapradja/learn-DDD-concept | 319e2bf88f66fc666a37f5fbe630b797916b35cf | d79a2cb689a4a2c0c3acb5fc4cf051a4fd6b55e5 |
refs/heads/master | <file_sep>brian
=====
WDI BriannDFIshy
<file_sep>require 'bcrypt'
PASSWORD_RESET_EXPIRES = 4
class User
include Mongoid::Document
include Mongoid::Timestamps
mount_uploader :image, ImageUploader
attr_accessor :password, :password_confirmation
field :email
field :salt
field :fish
field :reset_code
... | 3ccf0ea1462349d49c84603edd9c8ebfc98ce7f6 | [
"Markdown",
"Ruby"
] | 12 | Markdown | JulesWiz/brian | cf1374052fca649d59b5f779f4392296b0e9b1eb | 174b1b0225632c6cc69b70a6a831104d930267c3 |
refs/heads/master | <repo_name>cjtitus/sst-hw<file_sep>/sst_hw/__init__.py
import os
from pkg_resources import get_distribution, DistributionNotFound
"""
Style imitated shamelessly from qtpy: https://github.com/spyder-ide/qtpy/blob/master/qtpy/__init__.py
"""
try:
__version__ = get_distribution(__name__).version
except DistributionN... | bbf84d680a6286b752f2d6fbb154bb459d2075fc | [
"Python"
] | 4 | Python | cjtitus/sst-hw | de92df76dc34aa0d935fe82f18f916a1bad37867 | c8bd69df8a460664bc0e7a393abfc8a8ddf35f5d |
refs/heads/master | <repo_name>circlespainter/quorum-web3j-raw-priv<file_sep>/build.gradle
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.3.30'
id 'application'
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8'
implementation 'org.web3j:quorum:4.0.6'
ru... | a169869aee5c1d6affc15a509acd2b8d76bf435a | [
"JavaScript",
"Kotlin",
"Markdown",
"Gradle"
] | 7 | Gradle | circlespainter/quorum-web3j-raw-priv | 098d47643d8d6f1d7a190e9d82819fb5203e7c6c | 61e4227e9c2dfd35d06d22eac6efa8ddd6039ee1 |
refs/heads/main | <file_sep>package day11.demo2;
import static org.junit.jupiter.api.Assertions.*;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
@DisplayName("Testing MathUtils ")
public class MathUtilsTest {
@Test
@DisplayName("Addition testing for MathUtils")
... | c7bddeed367f27b8ffe93667ef59e20495518a0f | [
"Java"
] | 2 | Java | cg-201/day11 | c299c1d656a741615f45f423ce0039f1c5c02f7a | 2574a685a08bdb68eb135b3ef89c026d1ba8eba3 |
refs/heads/master | <repo_name>RobertDober/lab42-config<file_sep>/README.md
# lab42-config
My config files + deployment
## Basic idea
keep the config files in sync thx to git, add the following features
* Use Branches to deploy for different "profiles"
* Add deploy scripts in Ruby
## Layout
As this is after all a Ruby project we use... | bbd3e8d6fc591d1605c9142cc8b33709c0054c75 | [
"Markdown",
"Ruby"
] | 8 | Markdown | RobertDober/lab42-config | 9d06752cd52ae6501ee2061e7f19501a0d30eb44 | 79de765e3bb07bc96dc1d832f77d41a4d9ea0742 |
refs/heads/master | <repo_name>deathtumble/neopixel<file_sep>/src/main/java/opc/OpcClient.java
package opc;
import java.io.IOException;
import java.io.OutputStream;
import java.net.Socket;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.lo... | a717bdd3e97491cb31064065f6f52257a4d634ed | [
"Java"
] | 4 | Java | deathtumble/neopixel | 8b8e63e3d43d1861159214eee9f86c281a8ca4ed | f56714895e0d56e75a6190ffba70db4de41bbaba |
refs/heads/master | <repo_name>SmithSamuelM/sophy<file_sep>/README.md
<a href="http://sphia.org"><img src="http://media.charlesleifer.com/blog/photos/sophia-logo.png" width="215px" height="95px" /></a>
`sophy`, fast Python bindings for [Sophia Database](http://sphia.org), v2.1.
Features:
* Append-only MVCC database
* ACID transactions
... | 473ede82fe2662f4914f48cfe64a16e264577803 | [
"Markdown",
"Python"
] | 2 | Markdown | SmithSamuelM/sophy | 2f9c86d598b41e551d298c4e7d77671a27757d83 | 14dc993fa18232eaa81d9ac6171bb807669c1801 |
refs/heads/master | <file_sep># CTI-110
# M7HW1_TestGrades_RobertDeLaney.py
# <NAME>
# 12-4-17
# Write a program that ask the user to calculate the
# test average and grade of five test scores
# conversion is total of five test scores /5
test1 = int(input('Enter score 1: '))
test2 = int(input('Enter score 2: '))
test3 = int... | e84a1738415b01d613429ad9247ca1b2634327c6 | [
"Markdown",
"Python"
] | 19 | Python | robertdelaney/CTI110 | 97a6a8ef8cdd33b61574564d20d357d22dc1d557 | 60b1f5e5948ab4bc6c4964e91277d89ccc2880c1 |
refs/heads/master | <file_sep>var List = function(options) {
this.id = Math.floor((Math.random()*1000)+1),
this.listName = options.listName,
this.tasks = options.tasks,
this.addTask = function(taskObj) {
this.tasks.push(taskObj);
};
};
var Task = function(name) {
this.id = Math.floor((Math.random()*2000)+... | 7f6cc7d16a4b9ef85b3bf40a0f662dec1d3204e8 | [
"JavaScript"
] | 2 | JavaScript | vkraucunas/simple-todo-list | ffb6c65acdabb0c0afad8a97af233e5abc4b560f | f1b321515aa57e702792d4518e558383ac32bd19 |
refs/heads/master | <repo_name>AmritaDas/RProf<file_sep>/README.md
# RProf
R proficiency
<file_sep>/QA1.R
##Q1#######
fun1 <- function(x){
y <- 0
if(x%%2 == 0){
print('eeny')
y <- 1
}
if(x%%3 == 0){
print('meeny')
y <- 1
}
if(x%%5 == 0){
print('miny')
y <- 1
}
if(y == 0){
print('moe')
}
}
##... | 41cb392343bfe1a3e9467e080e0dd2298985dd0f | [
"Markdown",
"R"
] | 3 | Markdown | AmritaDas/RProf | 5c9c6582f48907d78329b611775fdbddbd5d5bcc | b777b5b2482dd324bca4cba0db52fb69aec3edc3 |
refs/heads/master | <file_sep>void readfile(FILE *f);
void process_request(FILE *f);
<file_sep>/* A simple database */
#include <stdio.h>
#include <string.h>
#include "readfile.h"
int main (int argc , char *argv[])
{
char * filename = argv[1];
printf("%s" , filename);
FILE *f = fopen(filename, "r+");/*opening the file i... | 01b50e0d46b5075d1d9829d6a3bb8a3f5f694109 | [
"C",
"Makefile"
] | 6 | C | ashimupd/Database-System | cb40d0cdc6247f67af7ae83153bc2447ed5920f1 | 3a85b1ac8d171d51f8e9618087fbd547cfa5cbbf |
refs/heads/main | <file_sep>
export class Satellite {
name: string;
orbitType: string;
type: string;
operational: boolean;
launchDate: string;
constructor (name: string, type: string, launchDate: string, orbitType: string, operational: boolean)
{
this.name = name;
this.type = type;
this.launchDate = launchDate;
this.orbitType = orbi... | db85a05f2345da582f174cc0f9672135111771f3 | [
"TypeScript"
] | 1 | TypeScript | vn50a3v/Orbit-Report | e59dbcb8edda93ea859a9ef4a3b578e44f383af0 | f8decc20561fc2f5f89bc30a6e58590d05a3b6c9 |
refs/heads/master | <file_sep>text="""Mary Noun Name
loves Verb No-Name
John Noun Name
. Punct No-Name
John Noun Name
loves Verb No-Name
Mary Noun Name
. Punct No-Name"""
from itertools import takewhile
sentences = []
split = iter(text.splitlines())
print split
while True:
sentence = list(takewhile(bool, split))
print "Hello"
... | aaf09d92bb900115f4b73380d91b7d3fc8d053db | [
"Markdown",
"Python"
] | 8 | Python | domarps/Spatial_Hashing | 345db01e7c8a8cdbd8653b86f698742acef999e6 | 7d11eae66851bdcfabf3e025342e43668bd58117 |
refs/heads/master | <repo_name>Derek-zd/CI-demo<file_sep>/README.md
# cicd-demo
## ๅ่ฝๅฎ็ฐ
- [x] ๅบๅ`stage`, `prod`, `test`็ฏๅข
- [x] ่ชๅจๅ`CD` & `CI`
## ๆต้ๅๅๅพ
> ๅฆๆๅพไธ่ฝๆญฃๅธธๆพ็คบ, ๅฏไปฅๅฐๆฌ้กน็ฎ็ `resource`็ฎๅฝๆฅ็.

## ๆต้ๅๅฒๆ่ทฏ
่ฟ้ๆๅไบไธไธ็ๆๆฏ้ๅ:
- traefik(k8s ingress broker)
- istio(L7ๅฑๆต้ๅๅฒๆงๅถ)
> ไธ็ดๆฅ็จ istio-gateway-ingress ๆฏๅ ไธบ... | c9c3aa73a9f27d9628ac3ac2a5023fe3aa042887 | [
"Markdown",
"Go",
"Dockerfile",
"Makefile"
] | 4 | Markdown | Derek-zd/CI-demo | c766e5c7379ebcb7cc75d24e5bda8f902d169726 | 0567fba7c7bdafdf67a2140e99c6198e4fb15498 |
refs/heads/master | <repo_name>timothee-florian/test<file_sep>/final/implementations.py
import numpy as np
from functions import *
from proj1_helpers import *
def least_squares_GD(y, x, initial_w, max_iters, gamma):
"""Gradient descent algorithm."""
w = initial_w
for n_iter in range(max_iters):
dw = comput... | 393d68e5d8a7cf27ca15811509c2f1471bb4a5fa | [
"Markdown",
"Python"
] | 7 | Python | timothee-florian/test | cac0c1c36386c1a16fe477a02d688fcf51b81d4f | b9f28baa79cd743904527aed3dcb1da3881dd816 |
refs/heads/master | <file_sep># Works, but there is a bug in which it says "aesthetic :Unknown command" but prints the text regardless. /shrug
# Licensed under the Copyfree Open Innovation License, which can be found in the next comment.
# http://copyfree.org/content/standard/licenses/coli/license.txt
import hexchat
__module_name__ = 'a... | faaadf74b0753af86049e2b4b9866e30d895bb87 | [
"Markdown",
"Python"
] | 3 | Python | Breadinator/aesthetic | b1bdf14451309cd1925f0602b80c6438df1038ab | 17514e8eaa60f97511ec924273a7a4b79a2d0ce3 |
refs/heads/master | <repo_name>daisy-link/eccube2-sandbox<file_sep>/.env.example
# ใใผใฟใใผในๅ
DB_DATABASE=eccube
# ใใผใฟใใผในใในใฏใผใ
DB_PASSWORD=<PASSWORD>
# Webใตใผใใผ ๅค้จใใผใ (docker-compose)
WEB_PORT=80
# Webใตใผใใผ ใใฆใณใใขใผใ (docker-compose/Macใงใฏใณใกใณใใขใฆใใ่งฃ้ค)
#WEB_VOLUME_CONSISTENCY=cached
# xdebug.remote_host (docker-compose)
#XDEBUG_HOST=host.docker... | 620ccf4376569861ef3fbfcfa5a9b3d637e3618d | [
"Dockerfile",
"YAML",
"Shell"
] | 3 | Shell | daisy-link/eccube2-sandbox | b40942fc9ff4bc4def1710236d4053d81da33dbc | ec8b7841e5287cacaaff4cfb11f41b4b67f56ed5 |
refs/heads/master | <repo_name>leopaul29/spring-gallery<file_sep>/src/main/java/com/example/gallery/service/AlbumConsumerService.java
package com.example.gallery.service;
import com.example.gallery.data.Album;
import java.util.List;
public interface AlbumConsumerService {
List<Album> processAlbumDataFromAlbumArray();
Album proc... | aaa64a830b20ba48f0f756c7bfb3b2a1f3ae2398 | [
"Markdown",
"Java"
] | 4 | Java | leopaul29/spring-gallery | 50ba522a941b518e220728c69f89d08a6239812a | 6eadf57d38fabe04b23919c6b6598f9d2204bb8f |
refs/heads/main | <repo_name>Twf1421/SideWalk<file_sep>/SideWalk/src/com/chalk/sidewalk/Main.java
//Leo (')>
package com.chalk.sidewalk;
import java.util.*;
public class Main
{
public static void main(String[] args)
{
Scanner keyboard = new Scanner(System.in);// brings in our keyboard
System.out.print... | 6176ce3b43a9f681e4858a7d9e4a6ac0a31826cd | [
"Java"
] | 1 | Java | Twf1421/SideWalk | e5590f600049c6788bde41639a411528a072de92 | 61589d1b8e6c6aa3727e5d8bb8fb7d81de9ddf44 |
refs/heads/master | <file_sep>'use strict'
const path = require('path')
function resolve(dir) {
return path.join(__dirname, dir)
}
const port = process.env.port || process.env.npm_config_port || 80 // ็ซฏๅฃ
// vue.config.js ้
็ฝฎ่ฏดๆ
//ๅฎๆนvue.config.js ๅ่ๆๆกฃ https://cli.vuejs.org/zh/config/#css-loaderoptions
// ่ฟ้ๅชๅไธ้จๅ๏ผๅ
ทไฝ้
็ฝฎๅ่ๆๆกฃ
module.export... | 72a7aedaf379ef82f2ff311601ff1a31a1b5c69b | [
"JavaScript"
] | 2 | JavaScript | huangxiucai/VUECLI-H5 | 87741a4ac667552e0eb9fe64bc16acea3bcd1db8 | 224513be5caef7f6a7fb91cf0da9bf945d4f9290 |
refs/heads/main | <file_sep>import java.lang.reflect.*;
class private {
// private variables
private String name;
// private method
private void display() {
System.out.println("The name is " + name);
}
}
class Main {
public static void main(String[] args) {
try {
// create an object of Test
Test test... | 77c0f9b0d0c5406c882a50afe708bf4857f1737f | [
"Java"
] | 1 | Java | appliers/private.java | 2b1a551bff1b34ee47a03777c828792556f57b4a | a74518282ec7c72495f1b63716ed5d7f4aefefb1 |
refs/heads/master | <file_sep>########################################################################
# Helper file for ExportTools
# This one handles global constants
########################################################################
# APP specific stuff
VERSION = ' V2.0.0.4'
APPNAME = 'ExportTools'
NAME = APPNAME + VERSION
DESCR... | ecd6ceb5e597895cdfaef9b6e3a61a97e4d6079c | [
"Python"
] | 1 | Python | jayd2446/ExportTools.bundle | 192a250c16f03e479183b99e72c4e9b765d02d98 | 4195905b363f345cf2d71c674dccdbd8323b149d |
refs/heads/master | <file_sep>from gamestate import GameState
from actions import Action
import socket
import json
from datetime import datetime, timedelta
import warnings
import os
import random
import logging
import time
import sys
import config
class GameConnection:
socketpath = config.socketpath
crawl_socketpath = config.cr... | 6feb56026cd6bbda028011948e3bd468c445fb71 | [
"Markdown",
"Python"
] | 6 | Python | jcnecio/dcss-ai-wrapper | 56150f564783685a7e97b0ef72e8044a5b4047eb | a5cfed93d66c3047e286a1d210bcdb89ef406c0c |
refs/heads/master | <repo_name>kildevaeld/view.validation<file_sep>/lib/decorators.d.ts
import { ValidatorMap } from './types';
import { BaseView, Constructor, UIMap } from 'view';
import { StringValidator } from './validator';
export declare function validations(v: ValidatorMap | (() => ValidatorMap)): <T extends Constructor<BaseView<E, ... | e15b27d5f318c8a5ee8ae733ffff61b7255c17bd | [
"JavaScript",
"TypeScript"
] | 22 | TypeScript | kildevaeld/view.validation | 504c3d1729e46de28b45467c5c88d85396b48b28 | 1985f4fca73150fd67ecde703849f1b54a7b9479 |
refs/heads/master | <repo_name>KeyserJames/DemoSite<file_sep>/api/api/views.py
from django.shortcuts import render
from rest_framework import generics
from rest_framework.response import Response
from .models import InputModel
from .serializers import InputSerializer
# Create your views here.
class InputTextAll(generics.ListCreateAPIView... | e2defa9ba43af0d2a9150f1caa2d73ce3e6a0300 | [
"Markdown",
"Python"
] | 5 | Python | KeyserJames/DemoSite | 4e38cb4e2783ac16480d917cb099e00fc5ca044c | 7dfd4e07bbccfbfeef41cd6c780f3fe471d2957c |
refs/heads/master | <file_sep># Password Strength Calculator
This script return password strength score from 1 to 10 where 10
is most secure one. To score 10 password must be 13 characters long
with upper and lowercase, numbers and special characters.
There is a filter for most common passwords, repetitions,
common family names and dates... | fc406bd777a5824f6727c7214faf5b3e846abe7b | [
"Markdown",
"Python"
] | 2 | Markdown | korabkoff/6_password_strength | f90bbcef5dba1bed16c434a74b41db7cfa8e5b3c | 03351f37c9dff34eb079afca2f4f057f71ea678e |
refs/heads/master | <repo_name>Will16/Wingman<file_sep>/Parse/Wingman/BrowseTableViewController.swift
//
// BrowseTableViewController.swift
// Wingman
//
// Created by <NAME> on 3/3/15.
// Copyright (c) 2015 <NAME>. All rights reserved.
//
import UIKit
class BrowseTableViewController: UITableViewController, userLocationProtocol, CLL... | 7b62eea25717cee11ec28a11fed6be3b0ef10962 | [
"Swift"
] | 17 | Swift | Will16/Wingman | 44504e88ca263db46299549b77d72f6a39705bfe | 41b768647df281dc0e9f618b92542ac4f8f5234d |
refs/heads/master | <repo_name>sinamoeini/xtal<file_sep>/src/command_sine_arc.h
#ifdef Command_Style
CommandStyle(Command_sine_arc,sine_arc)
#else
#ifndef __xtal__command_sine_arc__
#define __xtal__command_sine_arc__
#include <stdio.h>
#include "init.h"
class Command_sine_arc: protected InitPtrs
{
private:
type0 elliptic_e(type0... | c4c7d6b36de28565e3fcf51827df64de3f71ee57 | [
"C",
"C++"
] | 94 | C++ | sinamoeini/xtal | 7e03b54bc7b665706e33d6385d0228d1004923e9 | 8cb8c0e9d6fe47da0a9af002cb74aabd673bd231 |
refs/heads/master | <repo_name>kornellapacz/online-world-backend<file_sep>/src/Entity/Answer.php
<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass="App\Repository\AnswerRepository")
*/
class Answer
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
... | 5c466f1d7a622a6c2552144d00f3fc3c0a5778b9 | [
"PHP"
] | 2 | PHP | kornellapacz/online-world-backend | d75d9e7f78941033ec0f869910b9f2181ae5d162 | 02d5264f2dc1c19f86159e146379d6a07f1a2791 |
refs/heads/master | <repo_name>YangW0223/Blog<file_sep>/index.js
/**
* Created by yang on 17/2/13.
*/
window.onload =function () {
//var c = $('#ddd').find('.qwerty').css('color','red');
$("#a b b"");
var aa = $(".member");
aa.hover(function () {
$("ul").show();
$("#imgs").attr("src","images/arrow2.png");
},function () {
$("u... | 3d336beb721be5e133703f0742e6822c40d04c0f | [
"JavaScript"
] | 3 | JavaScript | YangW0223/Blog | 88cb9cf07bf78c665fd13f78cc75967b9c0274b5 | 8f96b63c28c14d24cd71f03dbc2db6f34a3d0ee9 |
refs/heads/main | <repo_name>mustafaturan/compass<file_sep>/README.md
# ๐งญ Compass
[](https://godoc.org/github.com/mustafaturan/compass)
[](https://travis-ci.com/mustafaturan/compass)
[![Cover... | c86a6feaa3ad4eea7faa0f060c0a0faf843b4b03 | [
"Markdown",
"Go Module",
"Go"
] | 13 | Markdown | mustafaturan/compass | ab4f646a30632aac33ffc6282c264d8c3a6bcd48 | bd5dd27f9368ebcaf9ef579f713ff154180175b1 |
refs/heads/master | <file_sep>package com.example.uts
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.recyclerview.widget.LinearLayoutManager
import com.example.uts.R
import kotlinx.android.synthetic.main.activity_main.*
class MainActivity : AppCompatActivity() {
... | 89cd24436220521b2e3a5a9b8d1e1c24818cebe1 | [
"Kotlin"
] | 2 | Kotlin | yayan2130/UTS2Mobile_18082010027 | c4f82e6ef4e410d92f6cef19bb5205e778d184bb | 9c38572c6708ef3a06ae6c12b159449967c12dbf |
refs/heads/master | <file_sep><?php
$error = $message = "";
$valid_formats = array("jpg", "png", "gif", "zip", "bmp");
$max_file_size = 1024*500; //500 kb
$path = "uploads/"; // Upload directory
$count = 0;
$pid = $_REQUEST["pid"];
if(isset($_POST["submit"])){
if($_POST["submit"] == "addproductimage" && isset($_REQUEST["pid"]) && $_RE... | 6e0f4d6dc7a185310f1fb21412cad4edaa170a05 | [
"Markdown",
"PHP"
] | 15 | PHP | maheshmondal84/chocolate | ebb75def01b66cbf2b41c99457a71f3f3fece2fe | adcc7d1fbb118dbf0bae75f223170514cf5701bb |
refs/heads/master | <file_sep>imgurtools
==========
Lulz for great justice!
### Scripts for OS X :
* imgurme [keyword] - spitout an imgur URL from the ~/imgurlist text file and copy the URL to your pasteboard.
* uploadimgur [file] - Upload an image file to imgur and copy the URL to your pasteboard.
#LICENSE:
WTFPL except uploadimgu... | c77a42e6ba48170d70854764e404aa664e1bc057 | [
"Markdown",
"Shell"
] | 3 | Markdown | aashay/imgurtools | b4552b0f4423b2ab65e1d81cf68e03f7ff5405e5 | d9346bc3e23245fb82c174fce57250f894f3226a |
refs/heads/master | <repo_name>volpe28v/EmberGihyo<file_sep>/no5/app.js
App = Ember.Application.create();
App.Router.map(function() {
this.resource('products', {path: '/'}, function() {
this.route('show', {path: '/products/:id'});
});
this.resource('cart');
});
App.ProductsRoute = Ember.Route.extend({
model: function(){
... | 0a9c1cafea14ca5b990de996e22431695131316c | [
"JavaScript"
] | 3 | JavaScript | volpe28v/EmberGihyo | 3ffea54c25975f146cc254994e2fc49a8e04a4af | 5b455ed250f7562b07860493605d00924c71a454 |
refs/heads/master | <repo_name>Emiliano1973/jsonImporter<file_sep>/demostCommandLine/src/test/resources/schema-hsqldb.sql
drop table events if exists ;
create table events (
event_id varchar(255) not null,
alert boolean not null,
event_duration bigint not null,
host varchar(255),
type varchar(255),
... | 3298dc3143458ab84f2085f0b34bdc09c7d1d058 | [
"Java",
"SQL",
"Gradle"
] | 11 | SQL | Emiliano1973/jsonImporter | 7e1e7ce0cef9b1c0ae04d133d518e8a7de688fc0 | d0204717f6eaa2447cc26f970839f2f77005fdf5 |
refs/heads/master | <repo_name>alexishuf/ine5410-t2-2019.2-initial<file_sep>/src/test/java/br/ufsc/ine5410/floripaland/SafetyItemsTest.java
package br.ufsc.ine5410.floripaland;
import br.ufsc.ine5410.floripaland.mocks.MockPerson;
import br.ufsc.ine5410.floripaland.safety.SafetyItem;
import org.junit.Test;
import javax.annotation.Nonnull... | ffe2d6782a2b6121c21f9481bac3e2582c205fa0 | [
"Markdown",
"Java",
"Makefile"
] | 8 | Java | alexishuf/ine5410-t2-2019.2-initial | a275188538c5fe9e13bbcafdff9aa6407548b504 | 149f32ba587794a51cddd66418cb2c177de8dd79 |
refs/heads/master | <repo_name>ivan-leschinsky/nbrb-api<file_sep>/spec/nbrb-api_spec.rb
#encoding: utf-8
require 'spec_helper'
describe Nbrb::Api do
subject { Nbrb::Api }
describe "currencies rates" do
describe ".daily_rates" do
let(:simple_response) { fixture('response/daily_rates_simple.xml') }
let(:scaled_response... | c232f9b517c5aa3957b3bb81f946075451957a4b | [
"Ruby"
] | 1 | Ruby | ivan-leschinsky/nbrb-api | 1f7b12932afc45c1e23227e328b71f581f42323c | 629b645958ef1e45371e8fb631e9f89396fd5712 |
refs/heads/master | <repo_name>TheCrappiest/CommandCore<file_sep>/src/com/thecrappiest/cmdcore/item/ItemBuilder.java
package com.thecrappiest.cmdcore.item;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.bukkit.Material;
import org.bukkit.NamespacedKey;
import org.bukkit.configuration.ConfigurationSec... | e10840120dba1f162d7965427c7f757c6fc8e3d8 | [
"Java"
] | 4 | Java | TheCrappiest/CommandCore | e55deb1e1e2b85156a0e62728c288a387a91c5ce | 619b9df095d47963b80472598a284e7483fde391 |
refs/heads/master | <file_sep>"""
module to access RTC resources.
"""
import sys
import os
# flag to identify the path correction
is_arrow_path_adjusted = False
# RTC jars must add into path at first.
def fix_path():
global is_arrow_path_adjusted
if( not is_arrow_path_adjusted ):
arrow_lib = os.path.join(os.environ["ARR... | ab239a70ebcd5b32e00c1f664e200df18eb46731 | [
"Markdown",
"Python",
"Shell"
] | 3 | Python | Samurais/jython-example | 8a3b001030e91cc6c9983ade2b4c1130aab1b601 | 38d1e224c6b827a82b7f7d880e7e65b7feef9e20 |
refs/heads/main | <file_sep>package com.hrms.hrms.busniess.abstracts;
import java.util.List;
import com.hrms.hrms.core.utilities.results.DataResult;
import com.hrms.hrms.core.utilities.results.Result;
import com.hrms.hrms.entities.concretes.Employers;
public interface EmployersService {
DataResult<List<Employers>> getAll();
Result ... | d1d4bfb9a18b06eeb338cdd66b7dbe453d3e2806 | [
"Java"
] | 15 | Java | AnLDemirci/JavaKampHrms | 063e0863305e6681a073e3ea9c73f2f051779e69 | e78172637008e5b5bb7c86c702b5e498dbaaca3d |
refs/heads/main | <file_sep>import React, { useCallback } from 'react'
import { useEffect } from 'react';
import { useState } from 'react';
import { Main } from './components/Main';
import firebase from './firebase'
export const App = () => {
const db = firebase.firestore();
return (
<React.Fragment>
... | c13e5ca706d5d7be39668d897279ca4226fa0dbd | [
"JavaScript"
] | 1 | JavaScript | drea713/ReactJS_Marvel | f6f06bd4d34f918a2febaa86ad4302d0a0f83a9c | 3aa0a385ce82c5abccb3dadc7b78142d6d77825c |
refs/heads/main | <file_sep>jdbc.driverClassName=org.h2.Driver
jdbc.dialect=org.hibernate.dialect.H2Dialect
jdbc.databaseurl=jdbc:h2:mem:testdb
jdbc.username=sa
jdbc.password=<PASSWORD><file_sep># phase3project
phase3 project -- Sporty Shoes E Commerce Web Site
Build the WAR File
$$$$ cd phase3project
This will build the war file ... | 6debdf71429fcda760af21f12587d1557ec86199 | [
"Markdown",
"Java",
"SQL",
"INI"
] | 6 | INI | sandycaltechpgp/phase3project | 403907ae731db17e97e7db476d48b586572217fe | 46870adcbac0f8f54c6f28af83ede9d1aa1f7cb8 |
refs/heads/main | <repo_name>woodpecker007/MicroserviceArchitecture<file_sep>/README.md
# MicroserviceArchitecture
ๅพฎๆๅก
| 8ed850371c26fa0bc179cdf2965eac294387af87 | [
"Markdown"
] | 1 | Markdown | woodpecker007/MicroserviceArchitecture | 3628d8cab6654a7d13a91b1977a6befb3566cc97 | 6f24ee2e80d0d175c081199525d162ec40b2b980 |
refs/heads/main | <file_sep>package com.example;
public interface EnumGroup {
String getGroup();
String name();
public static EnumGroup valueOf(String v) {
// are we okay with this?
try {
return Group1.valueOf(v);
} catch (IllegalArgumentException e) {
return Group2.valueOf(v... | 3cd3b0707300eee29a442ea91d04ef10bd0c3779 | [
"Java"
] | 3 | Java | voidlps/java-something | 2f502f28f8735d292c843f7c1c0041ad7622b304 | c0936fbe25167f79f730b2c9a9fce2699b656d12 |
refs/heads/master | <file_sep>from django.conf.urls import patterns, include, url
from views import *
urlpatterns = patterns('',
# Examples:
# url(r'^$', 'trivia_final.views.home', name='home'),
# url(r'^blog/', include('blog.urls')),
url(r'^registro/', registro_view, name="registro"),
url(r'^login/', login_view, name... | 0e0fe0c5e5a35ea34c3c2cafd26998cba102ea62 | [
"Python"
] | 3 | Python | alvaropablo/segundo_sprint | d8faefef5c536760804beb352f98975554c39b95 | 460afdf87c1dc107856024044982889a6d377303 |
refs/heads/master | <repo_name>PuppetJs/PuppeteerJs<file_sep>/examples/todomvc/README.md
# TodoMVC demo in Polymer + PuppetJS
In this demo, we will enhance Polymer TodoMVC. We will replace client side logic and using `localStorage` as database
with Starcounter. After our changes, client will only contain the presentation and all the busi... | 27a6cd7bf3886151a07f563a6504d1580337d9d4 | [
"Markdown",
"JavaScript"
] | 4 | Markdown | PuppetJs/PuppeteerJs | c0ab5a91cf3a2b107b9da08dd8400800c13d2401 | 2a80068ceb1f07a433d517e322e877904df13e46 |
refs/heads/master | <repo_name>johnotu/devless-docker-install<file_sep>/devless_docker_install.sh
#!/bin/bash
if [ $(uname) == "Linux" ]; then
. /etc/lsb-release
DISTRO=$DISTRIB_ID
CODENAME=$DISTRIB_CODENAME
if [ $DISTRO == "Ubuntu" ]; then
echo "______ _ "
echo "| _ \ | | "
echo "|... | 0cfbf69f74b469970f572a64b38ffe79c1dc1083 | [
"Markdown",
"Shell"
] | 2 | Shell | johnotu/devless-docker-install | d93c14a99e00a08287124fab1c3786565f506f78 | 5a9f60aec9d3be7fd0c303d4f120f1a0035e186c |
refs/heads/master | <file_sep>๏ปฟusing Microsoft.AspNet.Mvc;
namespace jaruss.Controllers
{
public class HomeController : Controller
{
public IActionResult Index()
{
if (!HttpContext.Request.Path.Value.Contains("index"))
return RedirectToAction("Index");
return View();
... | cdf5a8e3b541c3e8f7ae8662fc4bd9a20abd078d | [
"Markdown",
"C#",
"JavaScript"
] | 4 | C# | garilla/jaruss | d5bdca4be33c0770deb160f9fdf823230c1368f6 | 87a9cf7aa8d985344d8563f0f228475bcec8517b |
refs/heads/master | <file_sep>var express = require('express'),
app = express(),
PORT = process.env.PORT || 3000;
//c001
app.use( '/', express.static(__dirname + '/public') );
app.use( '/css', express.static(__dirname + '/src/css') );
app.use( '/img', express.static(__dirname + '/src/img') );
app.use( '/js', express.static(__dirn... | 87b2ab1b3d4a0f019e07a8bd581b4af05827e41b | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | deepbsd/portfolio | 2345036d86b9aa3f90a1a0ee2f026e09f2a3fda3 | 5bfd6fb673e79669d30547b49ef8b7c771a04b45 |
refs/heads/master | <repo_name>JuanGongora/sinatra-mvc-lab-v-000<file_sep>/models/piglatinizer.rb
class PigLatinizer
def piglatinize(phrase)
current = phrase.split(" ")
current.map do |word|
# If a word starts with a consonant and a vowel, put the first letter of the word at the end of the word and add "ay."
if wor... | 2513adbdb7e3430891345d87bd011e392de6d5c7 | [
"Ruby"
] | 1 | Ruby | JuanGongora/sinatra-mvc-lab-v-000 | 740274ac68ee54885a511aed0fb1ee784408ada2 | a8342fb812132c523936944f541385c3a32f4ba1 |
refs/heads/master | <file_sep>var Promise = require('bluebird');
var fetch = require('fetch');
var jp = require('jsonpath');
function rangeProp(value, key, up, low, result) {
if(!value) {
result[key] = 'Unknown';
} else {
value = parseFloat(value.value);
if(value > up)
result[key] = 'Red';
else if(value < low)
... | bf16f069197b192c01e9bcd0aaa0da6d7e2a16f7 | [
"JavaScript"
] | 1 | JavaScript | lhtrieu87/holmusk-hackathon | 74cbe9d5a7ec09512b90cb5691efc1da26f3782e | ee76e3aadd7b9d0ee5848a7542ddce7a63ef22d2 |
refs/heads/master | <repo_name>sametsafkan/angular2<file_sep>/angular2-master/app/ts/app.component.ts
import {Component} from 'angular2/core';
@Component({
//html ler burda
selector: 'my-app',
template: '<h1>Angular 2 Example</h1><br><button>Tฤฑkla</button>{{value}}'
})
export class AppComponent {
//kodlar fonksiyonlar burda ... | 150dfeb3bf3150f3c24419d95ea2917593ef1525 | [
"TypeScript"
] | 2 | TypeScript | sametsafkan/angular2 | e616799552594d065dba1304efd6dbb365ad12e0 | 6ebadcf3c89d768368f1579622be253494c406a3 |
refs/heads/master | <repo_name>emsonder/ms_feature_extractor<file_sep>/src/msfe/constants.py
#chemical_mix_id = '1'
msfe_version = '0.3.12'
chemical_mix_id = '20190522_4GHz'
""" Mass-spec features extractor constants """
# qc_log_location = "/mnt/nas2/fiaqc-out/qc_logs.txt"
qc_log_location = '/Users/emanuelsonder/PycharmProjects/ms_fe... | 20df778e18adbb84e8b811d9ea6aafe1b552a908 | [
"Python"
] | 5 | Python | emsonder/ms_feature_extractor | 0acb470ea2a565ce7297baac232329f2eeddcf0e | cbd669df87f3ae17f5b5ad02343247ab46601ce3 |
refs/heads/master | <file_sep>package numbers.graphic;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JOptionPane;
import resource.ResourceLoader;
import numbers.engine.NumberEngine;
/**
* @author <NAME> <<EMAIL>>
* @version 1.0
* @since 23.05.2015
*/
public class NumberGraphic extends View {
pri... | 18fd0e60bde8ed9ab9cdf9d6eb56abb110f91d82 | [
"Java"
] | 1 | Java | fordmay/Numbers_java | a3dd01864356a1e08cf1d7e5d62efef4027029af | a276cbfc9ed4ec72eb28eae5f96c2d375f5f7b6a |
refs/heads/master | <repo_name>helciodasilva/alura-mock<file_sep>/teste-de-unidade/test/br/com/caelum/leilao/servico/EncerradorDeLeilaoTest.java
package br.com.caelum.leilao.servico;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Calendar;
import java.util.List;
import org.junit.Assert;
import org.junit.Test;
impo... | a472b7f842689e0da50225bdd8a377d13d20f51b | [
"Java"
] | 2 | Java | helciodasilva/alura-mock | 81fa2a0e7683dc7885ab3dd8889671cc705390d4 | 148195624975ce83971bfb659eb8939e8bbefea0 |
refs/heads/master | <repo_name>Jack-ee/ee-snippets<file_sep>/README.md
# eehub
hub for GEE community to shared the script [https://code.earthengine.google.com/?accept_repo=eehub](https://code.earthengine.google.com/?accept_repo=eehub )
## Array and Matrix
<NAME>
array-based mosaic
creatediagonalmatrix
## Chart and Plot
chart array wit... | 9c29b49d829e55bbb300ebf519795a9e1a5d0105 | [
"Markdown",
"JavaScript"
] | 32 | Markdown | Jack-ee/ee-snippets | e201ad0346be71ccd3400c1d7184e1653e56b6c2 | b485eddde77a341dcdbc88b3a642ab75ed4df37e |
refs/heads/master | <file_sep>package com.test.game;
import com.google.gson.Gson;
import java.io.FileWriter;
import java.io.IOException;
public class TestMain {
public static void main(String[] args) {
User user =new User();
user.setName("qgl");
Gson gson = new Gson();
String path = "a.json";
... | a8f11a9fe387f3eb11a344deeb974ba40bd5bc9a | [
"Java"
] | 2 | Java | qngolg/tdd-demo2 | 013965b042dba19020028290d49fd8a636d24852 | 7e814de44f55e93e1a7f41dcd5ceb260c13cbe00 |
refs/heads/master | <file_sep>package com.example.mailchimpapplication.ui.vm
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import com.example.mailchimpapplication.data.SubRepository
import com.example.mailchimpapplication.data.models.Member
import com.example.mailchimpapplication.utils.ScopedViewModel
impor... | eb42bd5660084867136bd47363fd9bafdcd28abc | [
"Kotlin",
"Gradle"
] | 24 | Kotlin | hughesmarcus/DemoApp | df9912e575364e2c22e3b66323eb1ebe9e1aa923 | bfc1904782932d7b4ee1c294612f1440b7c80f51 |
refs/heads/master | <repo_name>yakhawkes/ddrating<file_sep>/imports/ui/Rater.jsx
import React from 'react';
import Mood from './Mood.jsx';
export default class Rater extends React.Component {
constructor(props) {
super(props);
this.fireSwisher = this.fireSwisher.bind(this);
this.choiceMade = this.choiceMade.bind(this);
... | dba1be13f0c1fd19707bc18e0c54d66d49c7602a | [
"JavaScript"
] | 4 | JavaScript | yakhawkes/ddrating | 497506d0354e52840a1dbfd22809d8f3d90d85ce | 55a14f750bcdcfb2116e21018adf83ac9098c85b |
refs/heads/main | <file_sep>import telebot
from config import keys, TOKEN
from extencion import APIException, CryptoConverter
bot = telebot.TeleBot(TOKEN)
# ะัะฟะพะปะฝะตะฝะธั ะฟัะฝะบัะพะฒ 3, 4, 5 ะทะฐะดะฐะฝะธั
@bot.message_handler(commands=['start', 'help'])
def help(message: telebot.types.Message):
text = 'ะงัะพะฑั ะฝะฐัะฐัั ัะฐะฑะพัั ะฒะฒะตะดะธัะต ะบะพะผะผะฐะฝะดั... | 4ccadc372002bf434bd20d2a1e546dedd25f13ff | [
"Python"
] | 2 | Python | Vitalii-Nekhrest/18.6 | 84e5bc455203bb6dbf2c5df03bb82cfcf3b05926 | d2b27a650a219d0d1570db2afcebadd0f8925d67 |
refs/heads/master | <file_sep># parsing-XML-feed-google-shopping
Lo script legge il file XML di Google Shopping e restituisce in output il valore di alcuni attributi ed il contenuto di alcuni elementi testuali.
Eseguendo lo script otteniamo un output estratto dal file XML. Utilizzando la funzione simplexml_load_file carichiamo allโintern... | 67231aa8b8925e66792638fdc5279e414044c05f | [
"Markdown",
"PHP"
] | 2 | Markdown | minosantoro/parsing-XML-feed-google-shopping | d41400602799d216d57931531105550f7570f437 | f253fd66fb3c95556107d855ff02bec46789f14c |
refs/heads/master | <file_sep>let object, sender, content, sendbutton, sent='true', turner = document.createElement('div'), rotation=20;
turner.style = 'width:10px;height:10px;background:blue;display:inline-block;float:right;position:relative;top:2px;'
let maketurn = async function(){
sendbutton.appendChild(turner)
await new Prom... | 112e730d62d8cf8db8656db46a2b2f9fb4207bc5 | [
"JavaScript"
] | 1 | JavaScript | DaCapo7/dacapo7.github.io | 3dde19a34296fecbeef9ab78748017fc23899994 | dbf00f22c61a76d637986eca909eefc585a965c0 |
refs/heads/master | <file_sep><?php
if (isset($_POST["submit"])) {
$user_name = $_POST["name"];
$enter_date = $_POST["date"];
$user_comment = $_POST["comment"];
//new post
// $new_post = ;
//colleting user data
$user_info = fopen("chat.txt", "a") or die("Unable to open file.");
$txt = $user_name . "--" . $enter_date . "--" . $user... | a34addc9c135d9f4bb4fdd63c5fc3f718f260c38 | [
"PHP"
] | 1 | PHP | Rimantas55/chat | b21be180fde201fca6a35bf60e50361a54fa3065 | 99e66c73cc0a4a4560c42c508e6f13b79dd5eaac |
refs/heads/master | <repo_name>moults31/CPEN333<file_sep>/Lab2/src/integration.cpp
#include <iostream>
#include <random>
#include <thread>
#include <cmath>
#include <vector>
#include <chrono>
#define NUMSAMPLES 10000000
#define RADIUS 1.0
#define VOL RADIUS*RADIUS*RADIUS*4.0/3.0*3.14
#define DENSITY density2
using namespace ... | 9190bec27a50af1f3101f56adac5cf00ed472b80 | [
"Makefile",
"C++"
] | 11 | C++ | moults31/CPEN333 | e8cd584ad10a167e0af0c6d8f5973bb4134c38d6 | 22798fb224cafec18399b9738b4dde408c77c3fe |
refs/heads/master | <file_sep>__author__ = 'Vijay'
import requests
import config
class Talk:
def __init__(self, webhook):
self.webhook = webhook
def push(self, title, text, redirectUrl):
pyload = {
'title': title,
'text': text,
'redirectUrl': redirectUrl
}
res =... | f589ddb2271598a533437cf2b55e9a39028d2af0 | [
"JavaScript",
"Python"
] | 10 | Python | zhangweijie-cn/zhihu-warning | 7cdbd8eca652d493996c50d96763299d6af74be1 | 9db932f7d4c5ca914384e75c3cedb23578e2d888 |
refs/heads/master | <repo_name>nakozak/Microsoft_Prep<file_sep>/jsSandbox/jsSandbox/bin/Debug/AppX/js/main.js
๏ปฟ// For an introduction to the Blank template, see the following documentation:
// https://go.microsoft.com/fwlink/?LinkId=232509
(function () {
"use strict";
var app = WinJS.Application;
var activation = Windows.Appli... | 22a57edccfceb39b7ad31e02bdd7e0e7cd80bdf6 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | nakozak/Microsoft_Prep | 357cd0a942559a2d109ad4480865813e3899d865 | 55dae4dae5133e05b9786662eea7369ec3ba2cda |
refs/heads/master | <file_sep>function myFunction() {
var x = document.getElementById("myTopnav");
if (x.className === "topnav") {
x.className += " responsive";
} else {
x.className = "topnav";
}
}
var s = 0;
var x = document.getElementsByClassName("slides");
function openmodal() {
document.getElementByI... | 60844991e3922888e5cb0a197257d6b655e73255 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | aadityakhare/RAW-website | 9e119ff5fec5d75a5b80c73cb7dc6731251e5ffe | 06925f94821654d0e4ce8c8a53560cb0561c1614 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.