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 | <file_sep>package entity;
/**
* AdminTable entity. @author MyEclipse Persistence Tools
*/
public class AdminTable implements java.io.Serializable {
// Fields
private Integer mid;
private String password;
// Constructors
/** default constructor */
public AdminTable() {
}
/** minimal constructor */
publ... | d8112307895372e96c79373b28f5f829320eed93 | [
"Java"
] | 6 | Java | DKHeZhiBin/- | f8c7ed0d96131e175105b293c1cfbf5721e7a9a4 | 7969129f84c8320a96c1d5541fd06c3b96b8481f |
refs/heads/master | <file_sep>// show menu
function showMenu() {
document.getElementById("menu-hamburger").classList.toggle("show");
}
window.onclick = function(event) {
if(!event.target.matches('.menu-mobile')) {
var dropdowns = document.getElementsByClassName("hidden-menu");
var i;
for (i =0; i < drop... | 4019ff2694c14ea3138f2b4db80b847896420366 | [
"JavaScript"
] | 1 | JavaScript | eriklm42/LandingPage-mobile | 97bacada0ef5cad59fc7e946f57a1823463c0f3d | 34958c1f903b52ff02cf764ca74659ed339a0de6 |
refs/heads/main | <file_sep>import Voice from "./Voice";
export default class Shouter {
Id: string;
name: string;
location: string;
email: string;
phone: string;
constructor(
Id: string,
name: string,
location: string,
email: string,
phone: string
) {
this.Id = Id;
this.name = name;
this.l... | 6498e449fdc1d48270cd8fb0d65f12f974e48206 | [
"TypeScript"
] | 12 | TypeScript | toundaherve/shout | 9412288f223f0664c7527b5e81811fa3eb8f59f7 | d89397bb2c9e8b359f6140574e58610b2153bb60 |
refs/heads/master | <file_sep># UnityCustom3rdPartyToolsLocations
Plugin to customize installation paths for 3rd party tools like blender
## Why?
Unity has the option to directly import models from 3rd party tools like Blender. This allows you to place your *.blend files directly into the Assets folder and Unity will happily import thos... | 661cd31e2835e514e75df65d861aa2e02a63c446 | [
"Markdown",
"C++"
] | 2 | Markdown | jorik041/UnityCustom3rdPartyToolsLocations | 840904a92c1f0029fd00b12424af2ab9ee793549 | 1b5ca19c7b48d282fab8c6617df3c8c556b2e6f4 |
refs/heads/master | <file_sep>"""
Django settings for NewsUp project.
Generated by 'django-admin startproject' using Django 1.8.1.
For more information on this file, see
https://docs.djangoproject.com/en/1.8/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.8/ref/settings/
"""
# B... | 4a3758cee6d15d9b914705959ff5880f55b81d3e | [
"Python"
] | 19 | Python | vineetl/newsup | d800faa68e0c51de33e5498ff404340864e7d115 | 779ea5c60706564f4492794846730e1e13e6db83 |
refs/heads/master | <repo_name>john-f2/2D-Platformer-Prototype<file_sep>/Assets/Scripts/PlayerLife.cs
/*
*
*
* Player life script, will contain the player's health
* and currently checks if the player has died or not
*
*
* @author johnf2
*
*
*/
using System.Collections;
using System.Collections.Generic;
using UnityEngine... | 3ab8f62182c108e0161fccb0f64128d7f940e3b9 | [
"Markdown",
"C#"
] | 6 | C# | john-f2/2D-Platformer-Prototype | 88a01a618d187f0d9cbb0cc68bd04fdf7488fce1 | 5dfb4579834359d9136df7db152ab4695dfbc0c9 |
refs/heads/master | <repo_name>jangjichang/askcompany<file_sep>/README.md
# askcompany
repository for heroku deploy
# heroku url
<file_sep>/askcompany/static/main.js
console.log('askcompay/static/main.js loaded');
<file_sep>/shop/views.py
from django.http import HttpResponse
from django.shortcuts import render, get_object_or_404, redire... | f01a7cccccf0826a887f8deb8155074fb2a733ee | [
"Markdown",
"Python",
"JavaScript"
] | 5 | Markdown | jangjichang/askcompany | e8cf7f83e70570b4a7d85aa8d4b686da73f0e904 | e1c64132020b845e7a689b4eea7b9eadb24f8fc0 |
refs/heads/master | <repo_name>yyjazsf/study-angular<file_sep>/src/js/factory_service_provider.js
'use strict';
/*
*
* Factory vs Service vs Provider
* http://www.oschina.net/translate/angularjs-factory-vs-service-vs-provider
*/
var app = angular.module('app', []);
//全局变量
app.constant('fooConfig', [
{
name: '首页',
url: '/'
... | 00c207cf7076bc852b08d4187f6f2adc936f3fb0 | [
"JavaScript",
"TypeScript",
"Markdown"
] | 8 | JavaScript | yyjazsf/study-angular | fc6ae6e6758b29cfbce9679c9adafb3708e4e260 | 85edd0598e1cef095733746cae9f0420b7946380 |
refs/heads/master | <file_sep><?php
/**
* Unfuddle Repository Callback XMPP Notify
*
* @link http://unfuddle.com/docs/topics/repository_callbacks
* @author 2BJ dev2bj+gmail
*/
error_reporting(E_ALL ^ E_WARNING);
set_time_limit(0);
date_default_timezone_get('Europe/Moscow');
// Unfuddle config
define('UNFUDDLE_SUBDOMAIN', '<subdoma... | c043b013019d76bd284e876ac4297dfe3591eb14 | [
"PHP"
] | 1 | PHP | 2bj/unfuddle-notify | 282f1ce9f72b7e21c66bc3af3b37c2d968167bd0 | b9f27e3148ad1c3141de4bf8f6b319d4ad635b85 |
refs/heads/master | <repo_name>dientrinh/robolectric<file_sep>/app/build.gradle
apply plugin: 'com.android.application'
apply plugin: 'jacoco'
android {
compileSdkVersion 22
buildToolsVersion '22.0.1'
defaultConfig {
applicationId "com.example.dientv.robolectricdemo"
minSdkVersion 15
targetSdkVersion 2... | 983ff463f4f5b9f3a6ec3e024aed803c6e06fd0a | [
"Java",
"Gradle"
] | 2 | Gradle | dientrinh/robolectric | 004582d693bde37695466d8215b4ce16a873366e | 3aba1b471531ca67dadd2757f938db5d5bc6e64e |
refs/heads/master | <repo_name>zigvu/rasbari<file_sep>/engines/setting/test/setting_test.rb
require 'test_helper'
class SettingTest < ActiveSupport::TestCase
test "truth" do
assert_kind_of Module, Setting
end
end
<file_sep>/app/authorizers/user_authorizer.rb
class UserAuthorizer < ::ApplicationAuthorizer
def self.default(adject... | dc491c2a152484af8de774c3bdddf75a9e3b9c87 | [
"Markdown",
"RDoc",
"Ruby"
] | 94 | Ruby | zigvu/rasbari | 3e936591f36f608264b6a742b05f28fca2c15f13 | fa63d3c9a030693cf952cf082602461cbce7c720 |
refs/heads/master | <repo_name>czjun86/cas<file_sep>/src/main/webapp/js/report/compare/point_baidu.js
/**
* 加入对比轨迹点展示
* gsmlist,wcdmalist分别是2G与3G的轨迹数据
* @author czj,4GFTP的ID自定义为71
* **/
var map_arr=[];
var cans = [];
var canscount = 0;
var idooorTag = new Object();
var mapWforGoogle;
function queryPoint(gsmlist,wcdmalist,lte... | 7c2fdfbc093a51f26a146638e26cadcdc232ac8b | [
"JavaScript",
"Java"
] | 127 | JavaScript | czjun86/cas | a465ea991954b59c0a50938e0269ee7748dc031f | 0ea432254a4a70371deeb61dd8bedd15bdea3daf |
refs/heads/master | <repo_name>takjn/CitrusSweeper<file_sep>/main.rb
#!mruby
#Ver.2.35
# Dual DC Motor Driver TB6612FNG Class
class TB6612Driver
MOTOR_SPEED = 50
def initialize(pwma = 4, pwmb = 10, ain1 = 18, ain2 = 3, bin1 = 15, bin2 = 14)
@pwma = pwma
@pwmb = pwmb
@ain1 = ain1
@ain2 = ain2
@bin1 = bin1
@bi... | f184c3d7babd22c4222f8b58a712cbb421e204bb | [
"Markdown",
"Ruby"
] | 2 | Ruby | takjn/CitrusSweeper | 2ed7343b049ba82defdf7aae5c124942910eebe9 | 4e397d4daf2913485d99f0de92b6aaf3c9d6425c |
refs/heads/master | <repo_name>starbuucks/quicksort<file_sep>/quicksort2.py
import pandas as pd
import os
import time
import copy
import resource
import sys
sys.setrecursionlimit(1000010)
data = pd.read_csv('./data.csv', header=None)
print('[+] read data finished\n')
def quicksort(A):
# if len(A) <= 1:
# return A
pivot... | 48505903a79ed55a8e3fe53b842431071540291a | [
"Python"
] | 3 | Python | starbuucks/quicksort | 1e101867859a0e33446382ede7c3e1600923c608 | 05dc06654fc337445cec5771b9eec1fe0fa0b81d |
refs/heads/main | <repo_name>MelaniB21/Practica-profesionalizante-2<file_sep>/sistema_control_de_asistencia.sql
-- phpMyAdmin SQL Dump
-- version 5.1.1
-- https://www.phpmyadmin.net/
--
-- Servidor: 1192.168.3.11
-- Tiempo de generación: 14-09-2021 a las 21:48:43
-- Versión del servidor: 10.4.21-MariaDB
-- Versión de PHP: 7.3.30
SET SQ... | 6bdb268e03d698ca5ea7df17599844ff8a6ca750 | [
"Markdown",
"SQL"
] | 2 | SQL | MelaniB21/Practica-profesionalizante-2 | df9f7e567a6a0cf78b859132c126d0463e256d2a | 7a269fe70058d664b649a23b9c7638d9f49bfe18 |
refs/heads/master | <repo_name>diningclubgroup/dcg-membership-number-config<file_sep>/config.php
<?php
/**
* Add config as key value pairs of config parameter name and value.
*
* Keyed by the env. All config should sit under prod or test.
*
*/
return [
'prod' => [
'live' => true
],
'test' => [
'live' => fa... | c5dba6d6467a5dc8d0e418ecb47ec53a85e92d3a | [
"Markdown",
"PHP"
] | 7 | PHP | diningclubgroup/dcg-membership-number-config | f6042415bc96492206d8587fffb0881e2897018a | d7a3efb9fb807afd6acc213daf90533a8d5ed963 |
refs/heads/master | <repo_name>RedMage1993/clickbot<file_sep>/clickbot/main.cpp
#pragma comment(lib, "Winmm")
#include <Windows.h>
#include <WinBase.h>
#include <iostream>
#include <cstdlib>
#include <ctime>
#include <cstring>
#include <string>
#include <vector>
using namespace std;
bool improveSleepAcc(bool activate = true);
void clos... | c90faa196aa1b6317bdd4341fd074923a5235775 | [
"Markdown",
"C++"
] | 2 | C++ | RedMage1993/clickbot | c85ed28bb581fa86752177ae13e70fa9ee15e177 | d8e4960904fdf8eafdba2e3bc2f5231166720778 |
refs/heads/master | <file_sep>//this is a note
#include <stdlib.h>
#include <stdio.h>
int main()
{
int n;
printf("n=");
scanf("%d", &n);
int a[100];
for (int i = 0; i<n; i++){
scanf("%d", &a[i]);
}
for (int i = 0; i<n - 1; i++){
for (int j = i + 1; j<n; j++){
if (a[i]>a[j]){
... | deb49158be4316f38f18aac07396a049868a7e37 | [
"C",
"C++"
] | 33 | C | chenzl25/paper | 3788b71cc61ea2aca993d6700dff046e12ab6607 | 336146c50d3be69ddadab7d7c4ecff17aec16f6f |
refs/heads/master | <repo_name>marcinosypka/python-challenge<file_sep>/4.py
import urllib3
import re
http = urllib3.PoolManager()
link = "http://www.pythonchallenge.com/pc/def/linkedlist.php?nothing={}"
next = 12345
regex = re.compile('\d+')
while next is not None:
response = http.request("GET",link.format(next))
text = respon... | 8c9d2cbc579ee69989cb58318487162f10c1ca4f | [
"Python"
] | 5 | Python | marcinosypka/python-challenge | a86889ac21bec94bde05cb5106e0291b1754298b | 1fb616b8455d74a5c2758f751312c2bca9e04cc7 |
refs/heads/master | <repo_name>eschrofe/MWA_Final<file_sep>/js/CannonGame.js
var game = new Phaser.Game(1280, 720, Phaser.AUTO, '', {
preload: preload,
create: create,
update: update
}, false, false);
var aKey, dKey, sKey, wKey, leftKey, rightKey, upKey, downKey, zKey, delKey, spaceKey,
weapon, tankSmoke, tank, gun, gunSmoke,... | 17cbbcc14d27f10b2735c61572bf6d68ecf3e193 | [
"JavaScript"
] | 1 | JavaScript | eschrofe/MWA_Final | 98b35b2f80ba64fe58ae8b78e83cfdcd53b24449 | 5b07805c151c3bd5659ae2411bf5bcd51f5fb06b |
refs/heads/main | <file_sep>import logo from './logo.svg';
import './App.css';
function App() {
return (
<div>
<h1 className="heading">Premium Property Finder</h1>
<div style={{ border: "3px solid", margin: "5em" }}>
<p>Refine Result</p>
<div style={{ margin: "1rem", itemalign: "center" }}>
... | 8ec52a8e944e94d84aec8caf90c99db134396a53 | [
"JavaScript"
] | 1 | JavaScript | bhaveshhhh/aaaaaa | b0e42b2d5518488e7868c07a02ffa0fba1f65fd3 | c100dd8e961a11074a0c333487cf74880e7df6a3 |
refs/heads/main | <repo_name>AP-MI-2021/seminar-1-ClaudiuDC21<file_sep>/main.py
def show_menu():
print('1. Minimul a trei numere.')
print('2. Determinarea daca un numar dat este prim. ')
print('3. Afisare primalitate pentru elementele uneui liste. ')
print('4. Determinarea inversului unui numar dat. ')
print('x. Iesi... | 61b7564dd999ba136bfc0c39cc856def9ec6683e | [
"Python"
] | 1 | Python | AP-MI-2021/seminar-1-ClaudiuDC21 | 8eb9c4e118d6982889555332b37fe6c99f99cc2e | 02d422eb70db0e881b9dd35a0e0a8105a938d90c |
refs/heads/master | <file_sep>import { Component, OnInit } from '@angular/core';
import { DataService } from 'src/app/services/data.service';
@Component({
selector: 'app-main',
templateUrl: './main.component.html',
styleUrls: ['./main.component.scss']
})
export class MainComponent implements OnInit {
constructor(private dService... | b4738c8ea5472c961b4433cc287e3bcd6115995c | [
"Markdown",
"TypeScript"
] | 3 | TypeScript | EcstaticCarson/accountLocalStorage | 417b4bc094bb6834a2abd558a9cb8b060ebcea0c | 8fa317e987414fe724fc9c42d8ec1ac1d8ba3546 |
refs/heads/master | <file_sep>const webdriver = require('selenium-webdriver');
const chrome = require('selenium-webdriver/chrome');
const chromedriver = require('chromedriver');
const { By, Key, until } = require('selenium-webdriver');
chrome.setDefaultService(new chrome.ServiceBuilder(chromedriver.path).build());
var driver = new webdr... | b6c180e0b3e9b8a545eb179f068ee2b84317a867 | [
"JavaScript"
] | 1 | JavaScript | NahueAlvarezGl/Jest_Poc | ed66d1649dfb38f2c5c16213beedf24226dc2fb0 | 40f11ab4c64465acaf8e20c00786d858a644e15c |
refs/heads/master | <repo_name>takenishi/ppt-bot-handson<file_sep>/index.js
// process.env.API_BASE_URL = "http://localhost:8080/bot";
require('./models/mongoLoader');
const express = require('express');
const linebot = require('@line/bot-sdk');
const Constants = require('./lib/Constants');
const Users = require('./models/userModel');
con... | 295c61ff6db9873d686e386f1403a5941464a263 | [
"JavaScript"
] | 7 | JavaScript | takenishi/ppt-bot-handson | 96ddefb8a098137dc18ec639c61f07098800c825 | cb0adc18bdb8b9dfc2316344960b10b50aeac6be |
refs/heads/master | <file_sep># wolf-game
Using spritekit and blender.

<file_sep>//
// File.swift
// wolf-game-ios
//
// Created by <NAME> on 8/28/16.
// Copyright © 2016 <NAME>. All rights reserved.
//
import Foundation
import SpriteKit
... | a6f92416ec0242f201be74931da75fcb7b340784 | [
"Markdown",
"Swift"
] | 3 | Markdown | valine/wolf-game | d30531377a76f597c60c8c82ea19b0bbeb07a4d8 | b3ae07f476bd18307ab3af07cd60786ccfd6f3b7 |
refs/heads/master | <repo_name>Roger-random/HelloPHP<file_sep>/hello.php
<html>
<head>
<title>Hello PHP!</title>
</head>
<body>
<p>Server variables are as follows:</p>
<ol>
<?php
foreach($_SERVER as $srvar=>$srval) {
echo "<li>$srvar => $srval</li>";
... | 29ef2849b97f5ff49ab79d03dc78909d858023aa | [
"PHP"
] | 1 | PHP | Roger-random/HelloPHP | 8cadb7daa5733bc035e060e069feed31ebdc1d0f | 2458602dd7c000f261a1edeff1202b6fdd4574be |
refs/heads/main | <repo_name>lpmarques/ocr-challenge<file_sep>/init.sh
#!/usr/bin/env bash
python3 ocr.py $OCR_ARGS<file_sep>/README.md
# OCR - Optical Character Recognition
Simple application to recognize text in an image and print it to CLI.
The **ocr.py** script uses the pytesseract library to estimate a string approximation of th... | 64b0abe81b5464632850c3fc44a790516861f314 | [
"Markdown",
"Python",
"Dockerfile",
"Shell"
] | 4 | Shell | lpmarques/ocr-challenge | 324c342646b8d02d119afb2c793755806dad6dbb | 8c0e5fdabcdab1d260bb6d4d16e5c5aa07ecbe2d |
refs/heads/master | <repo_name>brij222/vd<file_sep>/gunjanSpa/src/main/webapp/js/emp.js
routerApp.controller('addCtrl',function($scope,$http){
$scope.login = function (){
$scope.successMsg= false;
alert("login");
console.log("after login")
console.log($scope.firstName+" "+$scope.lastName+" "+$scope.email+" "+$scope.phone)... | 3dab02c94a933fc2e6de1c52d6076125f9267e6b | [
"JavaScript"
] | 1 | JavaScript | brij222/vd | e1dd5af8a34e449b584ad92a3213a0e1b346c132 | e020f4ccbe67007b783f56213dd9073d8d8debc9 |
refs/heads/master | <repo_name>adbuerger/control_strategies_k004b<file_sep>/two_point_control.py
#!/usr/bin/env python
from sensors_actuators_k004b.sensors import Sensors
from sensors_actuators_k004b.actuators import Actuators
from mdb_communication_k004b.dbinsert import DBInsert
# Intentionally, SensorsRS232 was not added to Sensors cla... | 880941a7fa105368557137810c7d09445025588a | [
"Markdown",
"Python"
] | 3 | Python | adbuerger/control_strategies_k004b | 57d1383a62027b741b6b15e46429d3a74de7722c | cf9f7ce7c7b52e9f492e0db604245bd820e01c0e |
refs/heads/master | <repo_name>ToddTurnbull/computer-lab<file_sep>/setup-graphics.sh
# software
sudo apt update
sudo apt upgrade -y
sudo apt install -y --no-upgrade gimp
sudo apt install -y --no-upgrade inkscape
sudo apt install -y --no-upgrade darktable
sudo apt install -y --no-upgrade scribus
sudo apt install -y --no-upgrade typecatche... | e51d701a155a4468710841226c4950ed55b2a973 | [
"Markdown",
"Shell"
] | 4 | Shell | ToddTurnbull/computer-lab | 49253e67797c4a72c9254776dfabc067ad3beaa2 | 226cefaa1c7fd033a5048e1b91e5e7a70c586d64 |
refs/heads/master | <repo_name>Magesh-sam/Simple-Calculator<file_sep>/README.md
# Simple-Calculator
* Simple Calculator using JavaScript
* only perform calculation with two numbers
# Live Demo
[Simple Calculator](https://magesh-sam.github.io/Simple-Calculator/)
<file_sep>/script.js
function addition() {
let firstnumber = parseInt(do... | 690432a217a96fa3d59eca92a4549a047e72fb21 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | Magesh-sam/Simple-Calculator | ba2f852c182154efd2a9d5a067400f660cad42f7 | 3854469f76787f5ddf82de1238cf7fd530452861 |
refs/heads/master | <file_sep>#2nd Semester Final - Highschool Coding
from random import shuffle
import random
import time
def deck():
deck = []
for suit in ['H', 'S', 'D', 'C']:
for rank in ['A','2','3','4','5','6','7','8','9','10','J','Q','K']:
deck.append(suit+rank)
shuffle(deck)
return deck
def card_values(player_c... | ce917aa604264f97eae680c13e28def20e0b287d | [
"Python"
] | 1 | Python | TheRealBimo/blackjack | c8be23433bd35f43402b96f381b47d9792eee4d1 | f499e46fc269a72c017979561dc04a1876189796 |
refs/heads/master | <file_sep>import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/components/Home'
import Itens from '@/components/itens/Itens'
import Users from '@/components/users/Users'
Vue.use(Router)
export default new Router({
routes: [
{
path: '/',
name: 'home',
component: Home
},... | 4abbf0713b61903500bf9d79ea0e788ec9658127 | [
"JavaScript"
] | 2 | JavaScript | eduardo76/vue-datagrid | d8a6bb6db292fc7ae0ba3bd533a3681177c5b3b6 | 6d2a7ead3a70194c791be6e39e005d064a9948ed |
refs/heads/master | <repo_name>afiffifa/ruby-advanced-class-methods-lab-online-web-ft-120919<file_sep>/lib/song.rb
class Song
attr_accessor :name, :artist_name
@@all = []
def self.create
s = self.new
s.save
s
end
def self.create_by_name(string_name_of_the_song)
s = self.new
s.name = stri... | b31a18af2926276a8b7bc3e5ea531aed3f6ea622 | [
"Ruby"
] | 1 | Ruby | afiffifa/ruby-advanced-class-methods-lab-online-web-ft-120919 | 91bb1b995874c9fe4c233901863ed3b9376fda52 | 20825b38043124b283c407c80ec613c1b212edec |
refs/heads/master | <repo_name>Charleslsf/contaBancaria<file_sep>/src/main/java/com/contaBancaria/controller/ContaBancariaController.java
package com.contaBancaria.controller;
import com.contaBancaria.dto.ContaBancariaDTO;
import com.contaBancaria.dto.ContaBancariaDetalheDTO;
import com.contaBancaria.form.ContaBancariaForm;
import com.co... | 4f7ae84520d63cbaf253c4723b05b0077945c6f1 | [
"SQL",
"Markdown",
"INI",
"Java",
"Dockerfile"
] | 7 | Java | Charleslsf/contaBancaria | 849adf20db6f104acc93dc4ce21b02e56dc8369a | 2c12126ff27a755688d50b7822527afef38d6250 |
refs/heads/main | <repo_name>prashant0078/codeigniter_tutorial<file_sep>/application/controllers/Home_Controller.php
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Home_Controller extends CI_Controller {
function __construct(){
parent::__construct();
if(!$this->session->has_userdata('us... | c90b83c61d3399a8239dffbfe2ba58cccbc8e1d9 | [
"PHP"
] | 9 | PHP | prashant0078/codeigniter_tutorial | 1c6314f04e25471162ce2eabf3da84ad2057f025 | d126be851c466c4e62d10a0bc572d994e0d484f3 |
refs/heads/master | <repo_name>kift/kift_view_tool<file_sep>/lib/kift_view_tool.rb
require "kift_view_tool/version"
require "kift_view_tool/renderer"
module KiftViewTool
# Your code goes here...
end
| 1c8bc7f20e02634bf10485e8fea5f8725d1c9029 | [
"Ruby"
] | 1 | Ruby | kift/kift_view_tool | 6f4e692c19c9cefb605f391e58171ef24990721a | ae213cf45d4611b543f22d03b4a3bd331de4f749 |
refs/heads/master | <repo_name>JorisMeulenbeek/Getting_and_Cleaning_Data_Course_Project<file_sep>/run_analysis.R
##load packages
require("data.table");
require("reshape2") ;
##set working directory
setwd('/Users/Joris/Documents/Getting_data_eindproject');
##Load files
activity_labels <- read.table('./activity_labels.txt',heade... | eaa2b49a639989a54d3d666b7a39127f94b0817d | [
"Markdown",
"R"
] | 2 | R | JorisMeulenbeek/Getting_and_Cleaning_Data_Course_Project | 10cf2b64e37f18cf5671b4fd700886b863ec122d | 35995a6c3d12c66e56466ee8252d5d7e0af29f4d |
refs/heads/master | <file_sep>require 'sdl'
class Sprite
attr_accessor :x, :y, :speed_x, :speed_y, :size, :points
def initialize(screen)
init(screen)
end
def init(screen)
@dying = false
@diecolor = screen.format.mapRGB(100, 0, 0)
@x = rand(SCREEN_W)
@y = 0
@speed_x = (-20 + rand(40)) * 0.5
... | d3a346ed7137a1246b4806a89be4d7830c601132 | [
"Ruby"
] | 6 | Ruby | bclarke123/ShootTheCan | a26b3c02fbe7e5c2daec8455639ed13dbf0845ea | b248188ea4dd4572c17bb895916db8e9c542d761 |
refs/heads/master | <repo_name>apelbeku/belajarGit-1<file_sep>/connection/koneksi.php
<?php
$serv = "localhost";
$user = "root";
$pas = "<PASSWORD>";
$db = "latihan_4_siswa";
$connect = mysqli_connect($serv, $user, $pas, $db);
<file_sep>/user/index.php
<!DOCTYPE html>
<html>
<head>
<?php include '../layout/link.php'; ?>
</head>
<... | 5236cc3c2e1c8eba544165c510e9a17d1788ef4d | [
"PHP"
] | 2 | PHP | apelbeku/belajarGit-1 | c31ed09ac8c1a0e5c409ffe3ba753e85aeb03879 | 4861def5894fee32afe7916055abc2e24e32d286 |
refs/heads/master | <file_sep>server.port=8989
hschefu1=1c13abb17def941ceb90ed188779268
spring.profiles.active=@profileActive@
<file_sep># spring-boot02
测试部署
<file_sep>spring.datasource.url=jdbc:mysql://172.16.1.6:3306/tm-calc-testdrive?characterEncoding=utf8&useSSL=false&allowMultiQueries=true&queryTimeout=10000&serverTimezone=Asia/Shang... | db25c76574015e9bbabe35ad5b27dc9784fe6698 | [
"Markdown",
"Java",
"INI"
] | 4 | INI | niukouzz/spring-boot-clone | 11dcdebfbb633cfef14fdc28cf9f44dcd230cf39 | 7ae012dc708ea16ce37e2a89afffb22303201784 |
refs/heads/master | <file_sep>import firebase from 'firebase/app';
import 'firebase/firestore';
import 'firebase/auth';
// Replace this with your own config details
// Initialize Firebase
var config = {
apiKey: "<KEY>",
authDomain: "mario-528c8.firebaseapp.com",
databaseURL: "https://mario-528c8.firebaseio.com",
projectId... | 8290ea2e1d93ae57048eecb95281a6a616b98a7a | [
"JavaScript"
] | 1 | JavaScript | Davit12345/mario-notification | cd288a5d7ad9399f4f7b7208b8ef22b157cd4609 | d5c14c80510a88179058a45e0ce8138ddbc0b020 |
refs/heads/master | <repo_name>OrShemesh1992/phpMyAdmin-DB-CRUD<file_sep>/mysql/login_read.php
<?php include "functions.php"; ?>
<h1>Read</h1>
<?php
print_data();
?>
<file_sep>/mysql/login_delete.php
<?php include "functions.php"; ?>
<?php
DeleteTable();
?>
<?php include "./includes/header.php"; ?>
<body>
<div class="container">
<di... | 8acb8a07ae69517bad4be5d725ae53e4e69ddd79 | [
"Markdown",
"PHP"
] | 4 | PHP | OrShemesh1992/phpMyAdmin-DB-CRUD | a4bd78f8b3b49747b49b61e9157746b08b2a47d5 | 14e794f8f12aabc248b4970058b5bfe050f12b32 |
refs/heads/master | <repo_name>advaitgupta/SchoolDataBase<file_sep>/Views/Forms/MainForm.h
#ifndef MAIN_FORM_H
#define MAIN_FORM_H
#include <memory>
#include <QMainWindow>
#include "PagesMainForm/MainFormPageEmployees.h"
#include "PagesMainForm/MainFormPageTeachers.h"
#include "PagesMainForm/MainFormPagePupils.h"
#include "PagesMainForm... | 84109660f2bfe3df30cd78fa9aea06e3721ce30b | [
"C",
"C++"
] | 84 | C++ | advaitgupta/SchoolDataBase | 9a7b67d55621e1e04fdfff8d66a0fb5d98c89572 | b87a9e648a753ab915449c86a9a1db0090eb6785 |
refs/heads/main | <repo_name>omobosteven/stephenomobo.com<file_sep>/src/components/underConstruction.js
import * as React from "react";
import { SvgIcon, makeStyles } from "@material-ui/core";
import { ReactComponent as Construction } from "../images/svgs/construction.svg";
const UnderConstruction = () => {
const classes = useStyles(... | 506ed33840fd8b9a5d4c99f65d1cb705b0536798 | [
"JavaScript"
] | 8 | JavaScript | omobosteven/stephenomobo.com | 45c1c2183f2a70e84016ad2185b1fcb911e8ead2 | e47223229adece761c6a4563103f57cf812c6d49 |
refs/heads/master | <file_sep>import os
from os.path import join, dirname
from dotenv import load_dotenv
import mysql.connector
dotenv_path = join(dirname(__file__), '.env')
load_dotenv(dotenv_path)
cnx = mysql.connector.connect(
host = "localhost",
user = "root",
password = os.getenv('ROOT_<PASSWORD>')
)
cursor = cnx.curso... | dc099b305cbc7f9fa45345cf06009982db6677f6 | [
"SQL",
"Python"
] | 6 | Python | Hatland87/boligrating-db | e9963e2475886b3e89fd7603b51759c905dcb0b6 | 90db6a86ff86aa8548576218cc2d5fa9ee3395c7 |
refs/heads/master | <repo_name>M1ke/Codejo<file_sep>/checkout.rb
require 'test/unit'
class CheckoutTests < Test::Unit::TestCase
def setup
@apple = Item.new("apple",50,3,130)
@biscuits = Item.new("biscuits",30,2,45)
@chocolate = Item.new("chocolate",20,0,0)
@tea = Item.new("tea",15,0,0)
end
def test_item_price_50
item=@... | 3afed119c625b2aa6ef52f82bc4074caab19e3be | [
"Ruby"
] | 1 | Ruby | M1ke/Codejo | cdead7b3a7fa399c8db242d386493d17492b15e1 | 7e6539e2771daf4388cfc61eec5a1786f6aaccf7 |
refs/heads/master | <file_sep>jQuery(document).ready(function() {
if(jQuery('.slides') == true) {
jQuery('.slides').slides({
preload: true,
play: 0,
pause: 6000,
generateNextPrev: true,
animationStart: function() {
jQuery(".slide_text").css("display","none");
jQuery(".s... | ddadc99338df47ae09c8970791a133374f2e1495 | [
"JavaScript"
] | 1 | JavaScript | BorisProvotorov/mobil_test | a683c58ae65406b95b4f78e43693170146705848 | f46051b89d2122dfd28920c0bd1cb17c3ffaeb6c |
refs/heads/master | <file_sep>var value = prompt('What/s the "official" name of JavaScript?', 'Enter name:');
if ( value === 'ECMAScript') {
alert('Right!');
} else {
alert("You don't know ECMAScript");
} | d11d71253cc4258423600c8fef0e61a662db99de | [
"JavaScript"
] | 1 | JavaScript | hophiducanh/Exercise_if_else | 65904746d49d38339c104bf0cab4f4398073acb7 | 5c958bc3fd8049ff75b5d14c6d4ec525130f9a5e |
refs/heads/main | <file_sep>//
// ContentView.swift
// ReadMe
//
// Created by <NAME> on 2/1/21.
//
import SwiftUI
struct ContentView: View {
@State var library = Library()
var body: some View {
NavigationView {
List(library.sortedBooks, id: \.self) { book in
let _ = print(... | 0c05121bb5ca59db902ded8af50d15edc85fed89 | [
"Swift"
] | 4 | Swift | 4shub/learning-ios-readme | c268d9c44dbd03021ac28197543e2e18057d83d1 | 7f9127288989efda04a001e5e3752a8f7d2e2c88 |
refs/heads/master | <repo_name>conglt10/demo-ens<file_sep>/src/App.js
import React, { useEffect } from 'react';
import './App.css';
import getWeb3 from './ultils/getWeb3';
import { Form, Input, Button, Checkbox } from 'antd';
import 'antd/dist/antd.css';
import ENS from 'ethereum-ens';
const layout = {
labelCol: { span: 8 },
wrapperC... | b3252a932a7bb2fba03238661b8911e62d0e8ed0 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | conglt10/demo-ens | 4489dfd939a137407fc4796c5a527ed1ea6fbd6f | fdb3f6632e81e5a680486d813fc33ab30a83f390 |
refs/heads/master | <repo_name>alchermd/AmericanFootballScoreKeeper<file_sep>/app/src/main/java/me/johnalcher/americanfootballscorekeeper/MainActivity.java
package me.johnalcher.americanfootballscorekeeper;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;
import android.view.View;... | 3ddf8211cd6dfbe97e5635b22dabf451183917e4 | [
"Java"
] | 1 | Java | alchermd/AmericanFootballScoreKeeper | 343e516eff0a22b10cdcafee8df5d5e8a701ae49 | 8e063d9fecfe9182007e9240eaec5f06ec48148d |
refs/heads/master | <file_sep>import sys
import tkinter as tk
from PIL import Image
from tkinter import filedialog
h2 = 0
# file dialog to choose image
def open_dialog():
root = tk.Tk()
root.withdraw()
return filedialog.askopenfilename()
# Manipulate image data
def img_manip(img, w2):
# Store width and height values
... | 715beb179493b03e8a58a50871f8f16787dc644e | [
"Python"
] | 1 | Python | k48shah/IMGtoASCII | af72f8d75d94b66107dad7f923af115953cc59dd | 7f4dcf00c90c6ec544c820a63396c20affa73cf7 |
refs/heads/master | <repo_name>forviz/emerce<file_sep>/app/models/Merchant.js
const mongoose = require('mongoose');
const Schema = mongoose.Schema;
const mercharntSchema = new Schema({
name: String,
client_id: String,
client_secret: String,
});
const Merchant = mongoose.model('Merchant', mercharntSchema);
module.exports = Merch... | 26a2bd00a059b83724293f770d0c74951d431c45 | [
"JavaScript",
"Shell"
] | 8 | JavaScript | forviz/emerce | 2c596ba471e170f9430f2f69e655bfde28399123 | 3bf0e183ad151d6ee3775aabb6c7f82fcffe88ed |
refs/heads/master | <file_sep>import Main from "./views/Main";
import NewProduct from "./views/NewProduct";
import NoMatch from "./views/NoMatch";
import AddRation from "./views/AddRation";
import Products from "./views/Products";
const routes = [
{
path: "/",
component: Main,
},
{
path: "/new-product",
component: N... | ae5f10a76341fa33ef414e791e597e3229a98417 | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | elnasim/calorie-calc-react | 7233b7c03b89da88d9bb3bd1fb17edb6edb7c5d7 | 4fe0981d2730194a2b349196a016d1921b0c2894 |
refs/heads/master | <repo_name>arecker/cloudmon<file_sep>/cloudmon.py
import os
import CloudFlare
import yaml
cloudflare = CloudFlare.CloudFlare()
class Record(object):
def __init__(self, zone):
self.zone_id = cloudflare.zones.get(params={'name': zone})[0]['id']
def __repr__(self):
return 'Record <{} ({})>'.f... | 2739d2a11d99007a299e8e8b493bc6d825686d82 | [
"Python"
] | 1 | Python | arecker/cloudmon | e06c58d36ee52a27d3c46d080d3e65a029858abf | 21488c7868885285b82906e4b97e3be21097b722 |
refs/heads/main | <repo_name>pokraspolina/T.Ishmetova<file_sep>/salon/js/main.js
/* When the user clicks on the button,
toggle between hiding and showing the dropdown content */
function validator(){
let i;
for (i = 0; i < dropdowns.length; i++) {
var openDropdown = dropdowns[i];
if (openDropdown.classList.contains('... | a2dc2e85f94c55eb068aa7ccd24afb9da1f8e6f6 | [
"JavaScript"
] | 1 | JavaScript | pokraspolina/T.Ishmetova | 44c06f727a1e554f5bba3b5a0e6dde4913334e70 | 5624651fae290568efa1775d7bde40d0ede1e4df |
refs/heads/master | <repo_name>ULL-ESIT-GRADOII-PL/mongodb-mongoose-csv-ivan_garcia<file_sep>/models/db.js
(function() {
"use strict";
const util = require('util');
const mongoose = require('mongoose');
const EntradaSchema = //Introducimos el esquema csv
mongoose.Schema({
"name": { type: String, unique: true },
... | 68f7fc6d23548eae44a773a2afb7d5a22322c05b | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | ULL-ESIT-GRADOII-PL/mongodb-mongoose-csv-ivan_garcia | 6bc0c6bcec4e560a1147bd8a9b281ffed171a815 | 862074f25ce92c12728344f0ba891d9f5bfcdfa4 |
refs/heads/main | <file_sep># Normalizing Flows Test Bench
Some simple experiments to try out off-the-shelf Normalizing Flow architectures.<file_sep># Refs:
# https://github.com/clbonet/Generative-Models/tree/main/Normalizing%20Flows
# https://github.com/acids-ircam/pytorch_flows
import matplotlib.pyplot as plt
import torch
import tor... | a40d500193457848f415d11f58eeaa1d635fcdf5 | [
"Markdown",
"Python"
] | 2 | Markdown | bmalezieux/NF_test_bench | 20e6244aba1a720591c8f3732c9b56729a40533e | 2ba0d10a4c73d0602f6c32b1fbe7bc8be2183b75 |
refs/heads/master | <file_sep>def square_array(array)
count=0
array.each do |item|
array[count]=item**2
count+=1
end
end | f8dd682673a4db94749d47ed1e5ca36993f83b59 | [
"Ruby"
] | 1 | Ruby | skyfox93/square_array-nyc-web-102918 | 8c4c883c9451abd70ddfcc067004f8877ad10c86 | 157b2869bfd9f875fe5c25cb4b598a547eb10bd5 |
refs/heads/master | <repo_name>Glokta0/RDW_CurvedPathConfigurator<file_sep>/Assets/_scripts/VirtualIntersection.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/*
* An intersection is the (virtual world) crossing of several paths.
* Each intersection has one jointpoint as a real world counterpar... | 7d6fce732dc63ea2beda58f65be61b9ac99073f1 | [
"Markdown",
"C#"
] | 8 | C# | Glokta0/RDW_CurvedPathConfigurator | bc4c3d5d8e05f8eddee449f78785903782579d19 | ea7996fc66428c63a2861b0a30ebd8645192e693 |
refs/heads/main | <repo_name>soyl3y3nd4/react-redux-initial-template<file_sep>/src/routes/AppRouter.js
import React from "react";
import {
BrowserRouter as Router,
Switch, Route
} from "react-router-dom";
import { FirstScreen } from "../pages/FirstScreen";
export const AppRouter = () => {
return (
<Router basenam... | 6e53bd932efd774400a2959c6385687b38f6a4f8 | [
"JavaScript"
] | 2 | JavaScript | soyl3y3nd4/react-redux-initial-template | a34d6fa92c10539952e3fbdd578015d5c0abf48d | 10fef4aea7312876f8b616eb3705934c1642c614 |
refs/heads/master | <repo_name>stolnikov/bracy-cli<file_sep>/src/Commands/BalancedBracesCommand.php
<?php
namespace BracyCLI\Commands;
use Bracy\DTO\Bracy;
use Bracy\Exceptions\EmptyContentException;
use Bracy\Validators\BalancedValidator;
use Bracy\Validators\CharsValidator;
use Symfony\Component\Console\Command\Command;
use Symfony\Co... | 9ac4545a79091a73ede373b5b8e72417ee425754 | [
"PHP"
] | 2 | PHP | stolnikov/bracy-cli | 1a783d29a58b33039ca78ddd80a31651dce8166c | 02c04b3a630244fdba7ab67d06dda2b0c74100a7 |
refs/heads/master | <repo_name>18295979862/tp5<file_sep>/test.php
<?php
echo phpinfo(111);
?> | a41d2351b5959ce0136f9b9c1618e759b5ad7dfb | [
"PHP"
] | 1 | PHP | 18295979862/tp5 | 500cb9213d59be4352b5d442a476530eb97b100a | face7a2fd2cdc4feda7765421dfcc0ff7cc4f920 |
refs/heads/master | <repo_name>41RDG6BR/lists_and_keys_03<file_sep>/src/List.js
import React, { Component} from 'react'
class List extends Component {
render() {
let list = [
{
name:"Rodrigo",
email:"<EMAIL>"
},
{
name:"rdg6",
email:"<EMAIL>"
}
]
return (
<div>
<table border="1">
<tr>
<t... | 8a1073b72fd836720c4badc9786eccf8f9a5b8a9 | [
"JavaScript"
] | 1 | JavaScript | 41RDG6BR/lists_and_keys_03 | d0a170615a6a061a4771bf7d07339199e52ba3c0 | b592befd290d952d6bfe3ec606fbde1559cb66a2 |
refs/heads/master | <repo_name>janani1sam5/oops<file_sep>/src/com/exercise2/com/Appliances.java
package com.exercise2.com;
public class Appliances {
String name;
float unit;
double cost;
public void setName(String name) {
this.name = name;
}
public String getName() {
return name;
}
public void setUnit(float unit)
{
this... | 2333403cc883ddd7601b5c746fb36db8af0a9f16 | [
"Java"
] | 3 | Java | janani1sam5/oops | 10707a0180c52decd9a189d25c1fa2eb5b609972 | 34667ca24ae3a6569c43f401590836edd4fce518 |
refs/heads/master | <repo_name>mudassir-ahmed3/Dispute-Sorter-game<file_sep>/Dicee Challenge/index.js
function getRandomInt(max) {
return Math.floor((Math.random() * Math.floor(max))+1);//without this +1 it would be ranging between 0-5
}
var randomNumber1 = getRandomInt(6);
document.querySelector(".img1").src = "images/dice"+randomN... | c01894cce010c66a031b076089704e4e124da4f4 | [
"JavaScript"
] | 1 | JavaScript | mudassir-ahmed3/Dispute-Sorter-game | 05d200e62c392993a7e78404deb652bf16c9d537 | 9ee5ff70fc13d7a6f17a31f0b26bf644c95ed639 |
refs/heads/master | <file_sep>package com.bolasepakmalaysia.bm;
import android.app.Activity;
import android.app.ActionBar;
import android.app.Fragment;
import android.app.FragmentManager;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.Menu;
import ... | 68fc21673d9053d3577fd61743bcfa7f8967eb01 | [
"Java"
] | 6 | Java | zul200289/BM | d3966792fd14b9ced8bf5ea60ba9d96cad92ee1c | a3f83b2b5b777b25fa138431ce982acd3e3ebfad |
refs/heads/master | <file_sep>#'========================================================================================================================================
#' Project: mapspam2globiom_mwi
#' Subject: Setup SPAM
#' Author: <NAME>
#' Contact: <EMAIL>
#'=======================================================================... | 60b331909ece25829790cfac43a4bdd312387ecc | [
"Markdown",
"R"
] | 24 | R | iiasa/mapspam2globiom_mwi | 354f76921dcee85a8493233aae26ff113f15c90f | 764ce148fae964c17adec02a5ef358d8e2b7fa5f |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using WebApplication5.Models;
namespace WebApplication5.Controllers
{
... | 62ad928a49e3f256be958d57455f923455e00275 | [
"C#"
] | 2 | C# | stevengau/WebApplication5 | 54aa61ea6e587de689a8d9e48a0cd5ca34b7d83f | e8c807c9c70f2c56f330cc5291dc6b4c6e9b50ac |
refs/heads/master | <file_sep>package com.gentalion;
import java.util.Random;
public class Game {
public static int MONTHS_IN_YEAR = 12;
public static double YOUNG_SURVIVAL_CHANCE = 0.75;
public static double ADULT_BIRTH_RATE = 0.9;
public static double OLD_BIRTH_RATE = 0.8;
public static double OLD_MORTALITY = 0.3;... | e8e02662f1406d8893f5a92b886a86313ca427b3 | [
"Java"
] | 1 | Java | Gentalion/FarmSim | f26159ddc9fa21eea85069e731447bfa201571cf | 0c9b0a9cb8ee725ab3e4f920a808b0f5c6b3cd8c |
refs/heads/master | <repo_name>TongChang/guestbook<file_sep>/Guestbook/src/jp/co/DDJ/guestbook/util/UserInfo.java
package jp.co.DDJ.guestbook.util;
import javax.servlet.http.HttpServletRequest;
import com.google.appengine.api.users.User;
import com.google.appengine.api.users.UserService;
import com.google.appengine.api.users.UserService... | 249f3c3c04bb12f2944443078d7f9830e251c1f8 | [
"Java"
] | 6 | Java | TongChang/guestbook | a0c36ac4001c580cc0576549c8d4bfd94412c009 | d4d0da0c27585c3a414894b97bd1f3b146061114 |
refs/heads/main | <repo_name>DongCX-LDHSP/AAHelper<file_sep>/README.md
# AAHelper
一个均摊辅助工具,受合租时水电燃气费均摊的启发而做。
## 功能点
### 普通AA
- 最普通的均摊,基于总费用和人数直接进行均分
- 该功能点用于处理最普通的情况,在实际中可能并不需要使用这个功能
### 按天AA
- 按照天数将总费用均摊到每个人身上
- 该功能点可能更加常用,因为实际中室友并不总是在同一时间点入住的
### 按人AA
- 该功能点的需求**尚不明确**,有待跟“甲方(经验丰富的室友)”进行沟通,(●ˇ∀ˇ●)
- 不过该功能点将会用于应对**一个房间有多个人**的情况... | b553812ea7033f4b076fb5cc464cd9ec28d95534 | [
"Markdown",
"Java"
] | 3 | Markdown | DongCX-LDHSP/AAHelper | 83a11046c8c16895c167b0f0df6cfd3a2d6bae90 | f771af511ef59539efc761320feb23ea3aa357e7 |
refs/heads/main | <repo_name>sangil-huinno/ecg_gan<file_sep>/ecg/noise_cluster.py
import pickle
import tensorflow as tf
import numpy as np
from numpy.linalg import norm
from tensorflow.python.keras import Model
from tensorflow.python.keras.models import load_model
def label_processing(total_data):
for label in ['label... | 43cca8550d3a7b755a9dfb13916356a774984d06 | [
"Python"
] | 6 | Python | sangil-huinno/ecg_gan | dc0681a0e28ae19912a53b763c7bfe686a5532bc | ae6a47a09284e46dbc05974e69ddf19af245e173 |
refs/heads/master | <repo_name>mrwizard82d1/protein_tracker_java<file_sep>/README.md
# protein_tracker_java
Java code from PluralSight course "Creating Acceptance Tests with FitNesse"
An implementation of the demo code for this class using Java.
<file_sep>/src/com/cjl_magistri/protein_tracker/HistoryItem.java
package com.cjl_magistri.pr... | 182644318c98ed11ed7978622eab9b131a09f6f5 | [
"Markdown",
"Java"
] | 5 | Markdown | mrwizard82d1/protein_tracker_java | 6bbbd1e7aa878f776792c90b2924b92a43771c0f | 988d083b03476b8a293b1fb1e6612c5bf1a0bc0c |
refs/heads/master | <repo_name>Marcus-Jon/IoT<file_sep>/AWS_SDK/raspberry_pi_sub.py
# Raspberry Pi MQTT subscriber using AWS
import ssl
from matplotlib import pyplot as plt
import numpy as np
from AWSIoTPythonSDK.MQTTLib import AWSIoTMQTTClient
from AWSIoTPythonSDK.MQTTLib import AWSIoTMQTTShadowClient
import json
def customCallback(clie... | 809c4d8a8d98592a9b271d6e7cfa9ece96d70947 | [
"Markdown",
"Python"
] | 5 | Python | Marcus-Jon/IoT | 05e8e90dd7e84d204c1d42793f568cd6879e9e82 | 1bbc185ae3bf70bd7c79d3ab6380c8d9a07ead57 |
refs/heads/main | <repo_name>nadeemhaj/ERP-Spring-Boot-Angular-Microservices<file_sep>/hr_service/src/main/java/com/programming/techie/repository/EmployeeRepository.java
package com.programming.techie.repository;
import com.programming.techie.model.Employee;
import org.springframework.data.jpa.repository.JpaRepository;
public interfac... | 6231dce9731ccf1e43266203fc7171329ce7076d | [
"Java",
"TypeScript",
"YAML",
"INI"
] | 10 | Java | nadeemhaj/ERP-Spring-Boot-Angular-Microservices | 150204c4ce4826c9bc93712d352b7a869450a541 | 0cd3644b1059dfca16f1c44f916b018fb14d5afe |
refs/heads/master | <repo_name>PRANATIBEHERA/K-MEANS<file_sep>/Kmeans.py
import numpy as np
from sklearn.cluster import KMeans
read_file=open("BCLL.txt",'r')
read_content= read_file.read()
all_data= read_content.splitlines()
#print (all_data)
No_data_points=len(all_data)
print ("Number of the data points ", No_data_points)
fea... | 6ab81e239ba75dac43f179f92a6fc045d9610652 | [
"Markdown",
"Python"
] | 2 | Python | PRANATIBEHERA/K-MEANS | 6f2a8e348ec8901742f6ef41b1d62849d287f7c4 | 6195c3944105592d0a64fba4485ef56f7cf383e3 |
refs/heads/master | <file_sep><?php
/*
Plugin Name: Headline Images
Plugin URI: http://www.coldforged.org/image-headlines-plugin-for-wordpress-15/
Description: Replaces Post headlines with PNG images of text, from ALA's <a href="http://www.alistapart.com/articles/dynatext/">Dynamic Text Replacement</a>. Includes soft-shadows, improved con... | cbe1da1d383be4da5fc5715d54e5239b6dfd14a3 | [
"PHP"
] | 1 | PHP | WPPlugins/image-headlines | 6e1b83faaa0c18aca6a541373bb3c0dbb9da46f5 | 23873b785aa71af1704231ee39fd6db5da3ad596 |
refs/heads/master | <file_sep>import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.rmi.RemoteException;
import java.rmi.registry.LocateRegistry;
import java.rmi.registry.Registry;
import java.rmi.server.UnicastRemoteObject;
import java.util.Date;
import java.util.Observable;
public clas... | 5bed334f79adb8569e34439c941bc706a01c53ef | [
"Java"
] | 2 | Java | smillo/observer-rmi | 570f5a038eb609066f67f28653ad287459556e54 | 6684cd3f3b2582188989f96dd333edfa9441c8eb |
refs/heads/master | <file_sep>from docstring_parser import parse
import re, os, inspect, importlib
# choose package
import atomics
pkg = atomics
# set paths
examples_module_path = 'atomics.examples'
examples_dir = 'examples/'
test_examples_subdir = examples_dir + 'invalid/'
doc_examples_subdir = examples_dir + 'valid/'
def camel_to_sn... | 543c8b30b2fd59a07d3e021354f4cf1a70d5de42 | [
"Markdown",
"Python",
"reStructuredText"
] | 4 | Python | jiy352/doc_test | f0bbc6bafc7f257e6549a3661a82a21d6d90dbc3 | 6c83700468eb574c086acec78259e9843c050047 |
refs/heads/master | <repo_name>DJ-Turnschuh/virtual-cash-register<file_sep>/README.md
# virtual-cash-register
Simple cash register built with HTML/CSS and vanilla JS.
Perfect to track your everyday sales of a few products.
It uses Local Storage to save your entries.
Includes Money In/Out only transactions and a Void Mode.
# ez usage
... | 284d01caa35cda7313a3b055de17a7aabb250c97 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | DJ-Turnschuh/virtual-cash-register | c3914e02ab1b4acaaf7701d8afd594b2f6f3de3e | 1efb4d0e2713a99a78f35f3bd255716a67cd2882 |
refs/heads/main | <file_sep>import { LightningElement, api, wire } from 'lwc';
import { getRecord, getFieldValue } from 'lightning/uiRecordApi';
import { NavigationMixin } from 'lightning/navigation';
import SIGNATURE_FIELD from '@salesforce/schema/Signature__c';
import NAME_FIELD from '@salesforce/schema/Signature__c.Name';
import PHO... | 64d84bfa725c3ae66343aec5160342b08481f51d | [
"JavaScript"
] | 1 | JavaScript | bmp4070/signature_with_calendly | 6827744accfbc281cb668261e3449d62f91630e4 | 9f7ddface4b2dd8dda1308a436d53b285b6ea09e |
refs/heads/master | <repo_name>thoughtstile-thinkful/noteful-api-heroku-server<file_sep>/test/fixtures/folders.fixtures.js
'use strict';
function makeFoldersArray() {
return [
{
id: 'b0715efe-ffaf-11e8-8eb2-f2801f1b9fd1',
name: 'Important'
},
{
id: 'b07161a6-ffaf-11e8-8eb2-f2801f1b9fd1',
name: 'Super... | cbb4e0d271d812424944afbcbdf293ff11fa2b5d | [
"JavaScript",
"SQL"
] | 7 | JavaScript | thoughtstile-thinkful/noteful-api-heroku-server | 1412ab8b24290760b5855fc618b8c2e60a4af881 | 45ef891b1134041acb204f4479137c4bf7ed5146 |
refs/heads/master | <file_sep>//: Playground - noun: a place where people can play
import UIKit
// Basic class set up
class Name {
// Properties, init, funcs here
}
// Let's create a simple Person class
class Person {
var name: String
var age: Int
init(name: String, age: Int) {
self.name = name
self.... | 3d5e489094147c190cb3b6f9d4bb2b0bc13c45d0 | [
"Swift",
"Markdown"
] | 2 | Swift | darkprgrmmr/basicsClassesInSwift | e54d97e35be2e755f6694cf8f2c364d2747fdf52 | fb6d89b2bd227d66c10b5d716afff75addcabe19 |
refs/heads/master | <file_sep><?php
Route::group(['namespace' => 'Api'], function ($router) {
$router->post('/login', 'AuthController@login')->name('auth.login');
Route::group(['middleware' => 'auth:api'], function ($router) {
$router->post('/logout', 'AuthController@logout')->name('auth.logout');
$router->match(... | 6e452375445da0f88275486ac86dc1dddeb8c573 | [
"Markdown",
"JavaScript",
"PHP"
] | 36 | PHP | napoleon101392/acme | d16524fbc14c70e47e912346afc5bba779827ada | 182720396393db1f734f15384b6ce3b6f9eabe17 |
refs/heads/master | <file_sep>package itstep;
public class TestMe {
public static void main(String[] args) {
}
}
| c8346e7216749caaacd59c00c4609415c736aba7 | [
"Java"
] | 1 | Java | sharlan88/itstep | 47bd1da4ec301f7cf7ba93a2241900c61da7aa61 | 1305fa2ab0c15f3aa419be20e8eb01b244b1bbe9 |
refs/heads/master | <file_sep>- Branchement avec l'API (Webservices) pour récupérer le JSON
- Enregistrement des données via HTML5 Storage
- Rechargement des données JSON au besoin (déclenché par utilisateur ?)
- Interface via UI Binder (XML) plutot qu'en dur dans les classes Java
- Utilisation d'une Google Map à partir des données JSON l... | 6c00f87fe7f5bf265e7b34ccacb6cbb86142fccc | [
"Java",
"Text"
] | 4 | Text | vivreanantes/opendata | 4dcb64981f3c03acece69c8e7888552ba23ad409 | a9e5cb0c1ef38481d0005f30a5d1737ff058ba6f |
refs/heads/main | <repo_name>vithuren27/python-tictactoe-game<file_sep>/tictactoe.py
import tkinter as tk
class TICTACTOE(tk.Tk):
def __init__(self):
super().__init__()
self.title("Tic Tac Toe")
self.btns = []
self.turn = True
self.count = 0
self.resizable(width=False, heigh... | cf17e5e99bb66d536f80b883903970c0fc2a5ed0 | [
"Markdown",
"Python"
] | 2 | Python | vithuren27/python-tictactoe-game | a21a582029d6b7f8421ba81690c63a64647c84c3 | 3d92c165ea31e864f790b99b6153e4800f49651a |
refs/heads/master | <repo_name>CharlesRngrd/ConvertisseurSalaireJavascriptNatif<file_sep>/mentions-legales.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mon salaire en ... | 88e786364ada54b2d416a5589a4044490e0695e9 | [
"JavaScript",
"HTML",
"Markdown"
] | 3 | HTML | CharlesRngrd/ConvertisseurSalaireJavascriptNatif | 985d1602ce316930bc5305c0e377fd52e08188cb | 945a8591b89c2c56e4b29a8d8c05880e4d66a3a0 |
refs/heads/master | <repo_name>tanyhb1/YSC3232-SE-HW2<file_sep>/Main.java
package Lab_2_Final;
import java.io.IOException;
import org.xml.sax.SAXException;
public class Main {
public static void main(String[] args) throws SAXException, IOException {
//insert 6 test questions of 3 different types.
MCQ mcq1 = n... | d2c551adbe8837e6b1728b3f184b0fc35668a441 | [
"Java"
] | 2 | Java | tanyhb1/YSC3232-SE-HW2 | 297090b046571a6857b058d46822812e36cc7ca7 | 4ee6285951504183f139e6192b0cf4dfa2294d57 |
refs/heads/main | <repo_name>lio-elalouf/CSE201-td3-1-handin<file_sep>/td3.cpp
#include <iostream>
#include "td3.hpp"
#include "support.hpp"
#include <stdlib.h>
#include <math.h> // sin, cos
#include <assert.h>
#include <limits> // + inf double
using namespace std;
using namespace support;
double* extend_array(double* array, in... | ad30505894bbc4ce141777825e733c56490b1d83 | [
"Markdown",
"C++"
] | 2 | C++ | lio-elalouf/CSE201-td3-1-handin | 1bb805bc1dc7940234a8f39972a11fc935ee41b8 | 674de1a7ff422fe69666cf55af75dd04c5251ce9 |
refs/heads/master | <repo_name>njclapp/PowderCheck<file_sep>/setup.py
#!/usr/bin/env python2.7
from setuptools import setup
setup(
name='PowderCheck',
version="1.0.0",
author='<NAME>',
install_requires=[
"bs4", "requests",
],
)
<file_sep>/smtp.py
import smtplib
from email.MIMEText import MIMEText
msg = ('Varget is in stock!')
msg... | 300c153893dd16562140ff76ffb4ab0509479674 | [
"Python"
] | 3 | Python | njclapp/PowderCheck | 556935997cd011699feab194a2b9457c16db03b5 | a0cceb883c18ea67d8dda956a7d7e60e32881521 |
refs/heads/main | <file_sep>import "./explorePage.css"
const ExplorePage = () => {
return (
<div className="explore-page">
<div className="header">
<i className="fa fa-search icon"></i>
<input type="text" className="search-input" placeholder="Search Twitter" />
<button type="button"><i className="mat... | b28a31e1ebdb84b36bb337b6522c2afe0e75d0e9 | [
"JavaScript"
] | 35 | JavaScript | marveldev/twitter-react-app | 96558aec88a455a3c8383eb7fd0ad838cae4b98d | 22b6499ff37e93c94756c6c241b13d3100962f9a |
refs/heads/master | <file_sep>Date.prototype.addDays = function(days) {
var dat = new Date(this.valueOf());
dat.setDate(dat.getDate() + days);
return dat;
};
Date.prototype.addMinutes = function(minutes) {
return new Date(this.getTime() + (minutes * 60000));
};
var MetronomeParser = function(now) {
this.now = (typeof(now)... | b50a967d724b3457425e9ff79a8437dec520892a | [
"JavaScript"
] | 1 | JavaScript | spetryjohnson/TimeEntry.js | 4146795205685ebe01003d01f96612c0c0cd633e | 212f77f05cee160a6556ffb1604d610d9a142b84 |
refs/heads/master | <file_sep>package com.example.bohdan.retr;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
/** Created by bohdan on 16.03.2018. */
public class TankOnline {
@SerializedName("vehicle_armor_fedd")
@Expose
private Integer vehicleArmorFedd;
@SerializedName(... | c62a60471ace31ee964f3d228ccce464482267d5 | [
"Java"
] | 1 | Java | BohdanLiush/retr | 60198054e9117253bbd81fc10efa17fee8cbc6db | fd4e978f90cc70bcd5bab742e117546cb90f83e3 |
refs/heads/master | <repo_name>aftertheboop/pd-category-auto-emailer<file_sep>/README.md
# pd-category-auto-emailer
Wordpress plugin to automatically email a notification to an address upon publishing an article in a category.
## Installation
Clone or copy the pd-category-auto-emailer folder into your /wp-content/plugins directory
## Us... | 941808799c5875749289867aa51dcf5a782ffc93 | [
"Markdown",
"PHP"
] | 3 | Markdown | aftertheboop/pd-category-auto-emailer | 8bc9feb43678751d38e672d7adf51a5fd4d8d6ca | bf822f4d4b333757f33eebda69b19ee08c696e3c |
refs/heads/master | <file_sep>/**
* User Bin Crash You are on a cargo plane full of commercial goods when the
* pilot announces that the plane is short on fuel. Unless cargo is ejected from
* the plane, you will run out of fuel and crash. The pilot provides you with
* the number of pounds of weight that must be ejected from the plane.... | 034559848d236d7e0a6c54729a8aca9a1873266e | [
"Java",
"Text"
] | 4 | Text | ahuer/backpack | eeab927148955618b01cd5881f1632156b1e8650 | 1d50e43bf06b06bcc3822651404de6fe317ecf2e |
refs/heads/master | <repo_name>kasbarov/MWA_Lab2<file_sep>/2_findInTree.js
const find = fileName => tree => {
// search in files
for (treeFileName of tree.files){
if (fileName === treeFileName){ // file found
return true;
}
}
// file not found in current foler, search in subfolders recursively
... | c93ecec97c4e794ad04f723f719a0f76f80bfba0 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | kasbarov/MWA_Lab2 | ffa704d25094c9bc84ef0a3a3531c96d2534fd49 | 56fc0f5cb8e2c57e9c34d468b4fdeacd78913ae9 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.