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>$(function() {
module("block");
test("toFunction", function () {
var block0 = $.ku4block(function(x){ return x + 1 }),
block1 = $.ku4block("function(x){ return x + 1 }"),
block2 = $.ku4block("^(x){ return x + 1 }");
expect(3);
ok($.isFunction(block0.t... | 100a0a923c1fc42e273b04ce7e67b20c8044757f | [
"JavaScript",
"Markdown"
] | 14 | JavaScript | kodmunki/ku4js-reflection | 95d536bcf6c36088cde938552b641a23118c13a2 | 300ff35abe07185daa0dc4dc3e2e50fa64a06cc1 |
refs/heads/master | <repo_name>liuhou/TestCoverage<file_sep>/Custom_Project_Test_Result/Clover/treemap-dash-json.js
var treeMapJson = {"id":"Clover database Thu Jun 1 2017 16:48:29 PDT0","name":"","data":{
"$area":125.0,"$color":78.4,"title":" 125 Elements, 78.4% Coverage"},
"children":[{"id":"CustomProjectMaven0","name":"CustomProj... | 09a3b30ad8e06d5533ce796fd8bde2bfbfb83ed7 | [
"HTML",
"JavaScript",
"Markdown",
"Java",
"Ant Build System"
] | 31 | JavaScript | liuhou/TestCoverage | df93e87ca47b443499a1cf46aacc346e9004cfef | 1dd2e62bbedd2e50f3a1cb09ff2ca33cf5b0ee96 |
refs/heads/master | <file_sep>import React, { useState, useEffect } from 'react';
import { View, Text, Button, TouchableOpacity } from "react-native";
import * as Location from 'expo-location';
const HomePage = ({ navigation }) => {
const [currLocation, setCurrLocation] = useState(null);
const [errorMsg, setErrorMsg] = useState(null)... | 6c21ada555d25584ecf764259eee455eb466a6fc | [
"JavaScript"
] | 2 | JavaScript | EP36/poppin | 794d4f7334be22de5cb5bd2ce8f3d727a3ca0967 | 7b8a78c742566585a618b4aeb3ba6070d9d15e9c |
refs/heads/master | <file_sep>import { Pipe, PipeTransform } from '@angular/core';
import { filter } from 'rxjs/operators';
@Pipe({
name: 'filter'
})
export class FilterPipe implements PipeTransform {
// transform(value: any, filterString: string, propName:string): any {
// //console.log(value.length);//12
// if(value.length... | 37b3ab1653dc0a26fb9b6d970169e437e7a75189 | [
"JavaScript",
"TypeScript"
] | 5 | TypeScript | nding120/flightSearch | c23ba212effc2484d2f438953c435d0ceadd85c6 | 3eef885fc97dc0856bb56f66124418b286f23548 |
refs/heads/master | <repo_name>luuckyfree/Intro2Graphics2<file_sep>/README.md
Intro2Graphics2
===============
<NAME>
<file_sep>/Assignment2 - Slot Machine/SlotMachine_1_3.py
# Source File Name: slotmachine.py
# Author's Name: <NAME>
# Last Modified By: <NAME>
# Date Last Modified: Tuesday May 23, 2013
"""
Program Description: This pr... | c7b1c550ef8c0dcf657c0ec4f8d4de677cf9962b | [
"Markdown",
"Python"
] | 7 | Markdown | luuckyfree/Intro2Graphics2 | 88d1a8f5166c0b322850801517cdc9d52c4f1011 | 647d982e9fad6453a6341e8091de03e30704c1a9 |
refs/heads/master | <file_sep># -*- coding: utf-8 -*-
import time
import keras.callbacks as kcallbacks
import getopt
import sys
import warnings
from data_helper import *
from keras.layers import CuDNNLSTM, Dense, Input, Dropout, LSTM, Activation, BatchNormalization, concatenate, Subtract, Multiply, Bidirectional
from keras.layers.embeddi... | 6cc8e0ef4b2dd1d53059b8c049033ef96a1c8e59 | [
"Python"
] | 6 | Python | xuming1986/chip2018_task2_question_pairs_matching | 84878a9b945332b147f1274c90312ecb64191230 | a3ed839b1a729168f98b63136c3996123ac17561 |
refs/heads/master | <file_sep>mkdocs (docker image)
=====================
Similar to jobandtalent/mkdocs but integrates PythonMarkdown PlantUML extension.
This image will provide you mkdocs. Some examples of its usage:
Create a new project
--------------------
docker run -it --rm -v `pwd`:/docs coding2012/mkdocs new my-project
Se... | 0b6cbcbf47f094449e8752584124c8c2ff8c08e5 | [
"Markdown",
"Dockerfile",
"Shell"
] | 3 | Markdown | huandzh/docker-mkdocs-plantuml | a0a4257aede8e72ae6711183beb5cf97f365aa3b | 484e18ee96f69e7e21138fbd76d2a8e77ce922ff |
refs/heads/master | <file_sep>const { suite, test } = intern.getInterface('tdd');
const { assert } = intern.getPlugin('chai');
import { url_compute } from "../../index";
import { is_absolute, upper_path_walk, UrlComp } from "../../lib/UrlComp";
suite('index', () => {
test('url_compute', () => {
let url_full = "http://example... | d1d5d12e7ba600ee28babc9d9920854b202aa819 | [
"Markdown",
"JSON",
"TypeScript"
] | 5 | TypeScript | tenuki/url-compute | 35324dde664d88fff2de873ab2e04e2e759bab69 | 362080782d822cb5f478ec64765b60a93f0dd4ef |
refs/heads/main | <file_sep># Distant Life
## 🍿 Video Demo
https://youtu.be/zrIuFmyARn8
<br/>

## 🤖 Description
Raise virtual pets while improving your language skills! You've landed on a new planet and need to learn words and phrases in order to grow your family of pets and tr... | 53b269b01407c637d22bd1326a85098606f701c4 | [
"SQL",
"HTML",
"Markdown",
"Python",
"Text"
] | 8 | Markdown | virtual/distantlife | 90e7ed5e6430c5861632505cee773897aaf97428 | f2e88d6555e885a35b7c50e0f7ab223ececc357f |
refs/heads/master | <file_sep>import React from "react";
import { Row, Col, Layout } from "antd";
const { Content } = Layout;
const Restricted = () => {
return (
<Row justify="center" style={{ height: "80vh" }}>
<Col span={23}>
<Content>
<h1>Access to this page restricted</h1>
</Content>
</Col... | eb92b26b1f10e1de837b74c091614a86e89de2c0 | [
"JavaScript"
] | 13 | JavaScript | moms-spaghetti/react_recap_frontend | 14c46f9184f28cfc16a3f2f2eee307f2b29caefd | 8274bb3cda1e7d09c4a1efa572e16c172bf9846e |
refs/heads/master | <file_sep>
# coding: utf-8
# In[4]:
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
sns.set()
get_ipython().run_line_magic('matplotlib', 'inline')
sns.set_style('ticks')
import warnings
warnings.filterwarnings('ignore')
pd.options.display.html.table_schema = True # D... | 658997dea6c002c08606c7fb0ba041d790e65203 | [
"Python"
] | 1 | Python | simbazemba/BobbyCo | 4c467be6bae45595d5da6c715d94b55108517626 | 28fe7d4a9299da5177f931482a3f0907fa9f1670 |
refs/heads/master | <repo_name>SamuelHFerreira/push-lib<file_sep>/PushLib/Example/Podfile
use_frameworks!
pod 'OCMapper', '2.1'
pod 'AFNetworking', '2.6.3'
target 'PushLib_Example', :exclusive => true do
pod 'PushLib', :path => '../'
end
target 'PushLib_Tests', :exclusive => true do
pod 'PushLib', :path => '../'
end
<file_sep>/... | be81940075ab1d94f0b72ea0c1dd307d51e2efb6 | [
"Markdown",
"Ruby"
] | 2 | Ruby | SamuelHFerreira/push-lib | 4f858eb4f01eb09598c4523c65f4eeca125af72a | 9c7592bdafd3dec4a3cfffc6dddb3e190dad4b8c |
refs/heads/master | <file_sep>##
# Cropping controller for photos. Always expects a parent model (Book,
# Evidence, TitlePage, or ContextImage) and a Photo. The `#create` action
# expects a source_photo_id paramter, which is used by the
# ThumbnailsController to find the correct divs in which to display the new
# image.
#
# Note that this... | 34f86110d381e71f17462ce7ae74f4371160b957 | [
"Ruby",
"YAML",
"Markdown",
"Dockerfile",
"Shell"
] | 143 | Ruby | upenn-libraries/subpop | fb538f3c51d6976e999775f598fc3a2f7edf29f7 | 5474addb6deb6fd5bef121ea1f0780d29b53e1c7 |
refs/heads/master | <file_sep>var express = require("express");
var app = express();
var port = 3000;
var mongoose = require("mongoose");
mongoose.Promise = global.Promise;
mongoose.connect("mongodb://localhost:27017/campus_db");
var db = mongoose.connection;
//Bind connection to error event (to get notification of connection errors)
db.... | 0107b97276e4dd06669694f783824b8296b2f1b6 | [
"JavaScript"
] | 1 | JavaScript | Bryce21/Campus_Tour | 006be18f5ff5f9893f78980a0552774beb5f487b | 95dd66de822f2e5e4a72de280f536397e095dbac |
refs/heads/master | <file_sep>#include<stdio.h>
#include<string.h>
#include<iostream>
using namespace std;
const int MAXSIZE = 1000;//定义最大页面数
const int NUM = 3;//定义页框数(物理块数)
typedef struct node {
int loaded; //记录该物理块存储的页面
int time; //记录该物理块没有被使用的时间
}page;
page pages[NUM]; //定义页框表 (物理块表)
int queue[MAXSIZE];
int quantity;
//初... | ed0e0fbd0efbf50ea1996254c545bd2eafd8b118 | [
"C++"
] | 3 | C++ | hJinRong/Computer-Operating-System-Experiments | 923028ec596f8b25691cd2429c944831f1e463a9 | 88d5a0e27a9d69f29caaf1c29c221bd16441fbdf |
refs/heads/master | <file_sep>import React from "react";
import {
Card,
Button,
CardTitle,
CardText
} from "reactstrap";
const CardWithTitle = ({ title, text, children }) => (
<Card body>
{title ? <CardTitle>{title}</CardTitle> : ""}
{text ? <CardText>{text}</CardText> : ""}
{children ? children : <Butto... | b6944035eb8842b93ae90aa54ead26b9d7ff5d99 | [
"JavaScript"
] | 20 | JavaScript | DivyeshRupawala/react-firebase | f2b63ab263f22074cf28a096b177604c32cfd8ad | a2f3d32af73d71e4d60a20357c6312a6b77c79cf |
refs/heads/master | <repo_name>tomomichi549/201207_express_message<file_sep>/public/js/input.js
$(function () {
let index = 0;
//履歴削除
$('#clearBtn').on('click', function () {
$('#history').text('');
});
//フォームリクエスト
$('#form').on('submit', function () {
//HTML フォームを止める
event.preventDefault(... | ebd6186312d3f840858b633d08f03e36b2cdde50 | [
"JavaScript"
] | 2 | JavaScript | tomomichi549/201207_express_message | bda9e6426ca13637bcacda928dc647003a8cef9a | 6da9d2df5a0159c098da18be116ae07dcee78531 |
refs/heads/master | <file_sep># -*- coding: utf-8 -*-
"""
Created on Fri Apr 24 11:31:06 2020
@author: Lorenzo
"""
#################################################
import numpy as np
# import pandas as pd
from matplotlib import pyplot as plt
# from pylab import rcParams
# from collections import Counter
import matplotlib.p... | 487e8b8c269562ee06d9c98bbcc5be7b25da816c | [
"Markdown",
"Python"
] | 13 | Python | lorenzosalvi92/MAthesis | 93ade924defe77fc5b4a46b634fd986b4f5df885 | d74deafa274e986c6794b1bc1895a73ef92e10a3 |
refs/heads/main | <file_sep>using System;
using System.Linq;
using Microsoft.EntityFrameworkCore;
namespace MovieDBFirstLab
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Welcome to Movie Mania");
Console.WriteLine();
Console.WriteLine("Movie Menu");
... | 95a7e9da5d767cf980ec9e54e49c87477b721553 | [
"C#"
] | 2 | C# | xCodeBender/MovieDBLab | f7b4b2280705a4f27cb5c9f1101abb426c8d9e49 | f8d57b66e1284202dc2cf753fdfbf6465e0e85e7 |
refs/heads/master | <file_sep>/*******************************************************************************
* Copyright IBM Corp. 2017
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apa... | 628bae5b7bdc414a5922099a6a9f2e0d370e05c7 | [
"Markdown",
"TypeScript"
] | 6 | TypeScript | ibm-wch/sample-active-site-components | d19a1e8b46a48a4f45c6af33c5b27742b6b9b741 | d72a25cec3aa58c5185ff8bf0ac133b4140c0ea1 |
refs/heads/master | <repo_name>luickk/Apollo-Internet-controlled-rover<file_sep>/ROVER_STATION/src/de/ye/boat_client_connections/CONNECT_DIR.java
package de.ye.boat_client_connections;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.net.Socket;
import java.net.UnknownHostException;
import de.ye.boat_cli... | 9078d1fdd18f4899fb1f6518c4f886e419ad007f | [
"Markdown",
"Java"
] | 8 | Java | luickk/Apollo-Internet-controlled-rover | 8c53a03c7abe106c9ef42968ba2b6d616735419d | 7a2103d66dc2173b4b9a44412f2cc4d25309ef18 |
refs/heads/main | <file_sep>// Copyright (c) 2020 Oracle and/or its affiliates.
// Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
== Requirements
Deploy a link:/component/network_segment[network segment].
== Providers
[cols="a,a",options="header,autowidth"]
|===
|Name |Version
... | b07b8c1dbf53f05f12c6bdb432408ca9790b07b6 | [
"Markdown",
"AsciiDoc",
"Shell"
] | 11 | AsciiDoc | lschubert/terraform-oci-ocloud-landing-zone | c3c006ada3d0d0b61a4dc14ebfa869fe8d240f70 | 12cb33a06f684f5f69dbdaaf58b36233c2d16814 |
refs/heads/master | <repo_name>MarcoPianta/ing-sw-2019-34<file_sep>/src/main/java/Model/Colors.java
package Model;
import java.io.Serializable;
/**
* This enumeration lists the color used in the game (for example for players or squares)
*/
public enum Colors implements Serializable {
BLUE("blue"),
GREEN("green"),
WHITE("wh... | 272e551a8ea2b33e57df261ca6b9e7139bea38f4 | [
"Markdown",
"Java"
] | 47 | Java | MarcoPianta/ing-sw-2019-34 | 39fd7bb14fe0459a766d7f288c592bba9a3f8666 | 03ed397cebe8a114617b62b027d5f1eaefd2b404 |
refs/heads/master | <repo_name>d11-a2/javarush<file_sep>/booksGRUD/src/main/resources/standard.properties
styleSheet=styles/mystyle.css
<file_sep>/booksGRUD/src/main/java/com/bookscrud/BookDao.java
package com.bookscrud;
import java.util.List;
public interface BookDao {
Book create(Book book);
Book read(Book book);
Book c... | 49702e927c3973a8f6bec2e8a849fa84812da8e9 | [
"SQL",
"Markdown",
"Maven POM",
"INI",
"Java"
] | 9 | INI | d11-a2/javarush | 1fbcc9e4d8d8acc07749732f78f6c29b3fe9faa2 | d95b6e0e87c326755a767f2b7e49482d2c43afc1 |
refs/heads/master | <repo_name>kaephas/jsreading<file_sep>/README.md
# jsreading
Files from Eloquent JavaScript assignments
<file_sep>/json-search.js
/*
* <NAME>
* 5-1-2019
* json-search.js
*
* load json file, compare input to contents, display on web page
*/
// get elements
let input = document.getElementById("name");
le... | 45705a210f584fd71473eaf65696d3adf68b81a2 | [
"Markdown",
"JavaScript"
] | 3 | Markdown | kaephas/jsreading | 53bfcc801f9fbc4445ad2d722802cc964e648a45 | 96f880820a89b21ec9cc98c17f3065d3b99aeec9 |
refs/heads/master | <repo_name>FulyaDemirkan/RockPaperScissors<file_sep>/README.md
# Rock Paper Scissors - version 1.0
This program is a Rock-Paper-Scissors game which can be played against computer.
Player can see or reset current play session's scores.
## Prerequisities ##
This application requires Oracle JDK8 (Windows) or OpenJDK+Ope... | d84675c6c2c727eb3966016de0853e658ddad794 | [
"Markdown",
"Java"
] | 3 | Markdown | FulyaDemirkan/RockPaperScissors | bfe0ae7d90c00ec0adf08391da62ae854bab3d81 | 5621ffc541fac5bd09a316a22ec025020897553b |
refs/heads/main | <repo_name>not-varram/advanced-example-discord-bot<file_sep>/commands/flip.js
require('dotenv').config();
var XMLHttpRequest = require("xmlhttprequest").XMLHttpRequest;
const {
MessageEmbed
} = require('discord.js')
module.exports = {
name: 'flip',
description: '"flip"',
aliases: [],
async execute(c... | 0241f50ec2dca0c8e1f7512ccdc369be85451aba | [
"JavaScript",
"Markdown"
] | 10 | JavaScript | not-varram/advanced-example-discord-bot | 2a92a7eb1cadb83d290e89359dc3bb12194d4b31 | e848f328a35f5389df5d741d1eb5cdb5506f0fdb |
refs/heads/master | <repo_name>mayank-a93/Form_Validation<file_sep>/src/js/data.js
function getData() {
var data = JSON.parse(localStorage.getItem('Users'));
var table = document.getElementById("userTable");
for (var i = 1 ; i <= Object.keys(data).length ; i++)
{
table.innerHTML+= "<tr>"+
"<td>"+data[i].Name+"</td>"+
... | a50fb5278acf3ca4e2af4146af09e66427434414 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | mayank-a93/Form_Validation | 4a680d1b5df417d06d5031dac7072f6aa13341ae | 827ff6c97b16c2f948cdd9ce5ee316e602e96c06 |
refs/heads/master | <file_sep>package com.example.rabbitmqproducer.config;
import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@Configuration
public class RabbitmqConfig {
/**
* 创建队列*/
@Bean
public Queue testQueue() ... | a1e90a90db15d3f9fcb71a76d7c50372fd9e9466 | [
"Java"
] | 8 | Java | zhh0524/RabbitMQ-demo | ff954816a0a924472ff2ecc8f16e9d5db6bf4b9d | 8178bdc8e091b832236e206a866d6ac29abaed72 |
refs/heads/master | <file_sep>#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <mpi.h>
#include <sys/time.h>
double wtime()
{
struct timeval t;
gettimeofday(&t, NULL);
return (double) t.tv_sec + (double) t.tv_usec * 1E-6;
}
int min(int a, int b)
{
return (a < b) ? a : b;
}
void get_chunk(int a, int b,... | 8ef19512fd3ed04cf5f388166f420a22e1ed44ea | [
"Markdown",
"C"
] | 3 | C | u7er/algo_FloydWarshall | c2a77914f8a2386adb32f123e7e472d130ab17fc | 857c1015e7dfc96734ca4e7ed8f627b4a64e4fc7 |
refs/heads/master | <file_sep>import { IProject } from '../IProject'
const img6 = process.env.REACT_APP_IMAGE_URL + 'Turkey/1.jpg'
const img7 = process.env.REACT_APP_IMAGE_URL + 'Turkey/2.jpg'
const img8 = process.env.REACT_APP_IMAGE_URL + 'Turkey/3.jpg'
const img9 = process.env.REACT_APP_IMAGE_URL + 'Turkey/4.jpg'
const img10 = process.... | d1ebb097376e31e85c00815c175a90bf81ff2ed7 | [
"TypeScript"
] | 8 | TypeScript | kellygorr/gallery-website-react | b4d5d75481991f7415ae86d33cfd43bec1486eb3 | 203d0fd484bc933ceefcbf3beda4cab1343be431 |
refs/heads/master | <file_sep>namespace SE2_Oefentoets
{
public class Beker : IVoorraad
{
public Beker(string naam, int milliliter, bool warmeDrankMogelijk)
{
Naam = naam;
Milliliter = milliliter;
WarmeDrankMogelijk = warmeDrankMogelijk;
}
public int Milliliter ... | a6289efeb70c2a2399565203b9682c9c89e77499 | [
"C#"
] | 10 | C# | SvenDub/se2-oefentoets | ebc4af58832b5a60cc5c939fd450f36e8b534ec7 | a9af4b2e18eead9c6990bc0e63769f8698d2e8b5 |
refs/heads/master | <file_sep>#include<Servo.h>
Servo test;
int pot = 0;
int val = 0;
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
test.attach(3);
test.writeMicroseconds(1000);
}
void loop() {
// put your main code here, to run repeatedly:
pot = analogRead(A0);
val = map(pot, 0, 1024, 1000... | 59388591fb2bd6289142bdb8d7287227bb57b59f | [
"Markdown",
"C++"
] | 3 | C++ | Runkli/Arduino-Hexacopter-Control | 925f61d87271bb2c4a1f21edad34247810e8ab2e | b1d89e0e7bd3f17fe1e7cb5ad3e7f3c91b196c21 |
refs/heads/main | <file_sep>import java.util.Scanner;
public class CRC {
public static void main(String args [])
{
Scanner scanner = new Scanner(System.in);
//Enter the message
System.out.print("Enter the message:");
String input = scanner.nextLine();
//Enter the generator
System.out.print("Enter the polynomial generat... | c2612cb4b1cf2c0fd7a83e2b6ec1a4d64862a37d | [
"Java"
] | 1 | Java | gul-cincik/CRC-Algorithm | 296a73e8b6db522b209b486e94688f98bb300b79 | 71f957b1ea47b1d90a50f9a29d16677fd2a0810c |
refs/heads/master | <repo_name>g33kcentric/site-check-list<file_sep>/index.php
<?php
require_once 'vendor/autoload.php';
use App\Commands\Check404;
use App\Commands\GenerateSitemap;
use App\Commands\GooglePageSpeed;
use App\Commands\LiveUrl;
use App\Commands\PrivacyPolicy;
use App\Commands\RunAll;
use App\Commands\HasSitemap;
use Symfon... | b6a0525ba9e5ee586144571fe486dcc625345e0f | [
"Markdown",
"PHP"
] | 10 | PHP | g33kcentric/site-check-list | 5d26daa502cef4ec4c03744943c851740e0b896f | 0d4629d9e025653fdb90e8a41f5ec219bd29f1d0 |
refs/heads/main | <file_sep>#!/usr/bin/python3
import flask
import flask_login as fl
import argparse
from pages_standard import standardPages
from pages_api import pagesApi
from subpages_dashboard import subpagesDashboard
from pages_loginmanagement import pagesLoginManagement
import database as db
app = flask.Flask("OH-MY-Nemesis")
... | f697473de486346dd5a15fec87505a907ba1fa6f | [
"Markdown",
"Python",
"HTML"
] | 12 | Python | FAUSheppy/oh-my-nemesis | ac930185574bc64c02b2333be5cb13f4001cb1f6 | d9c5c975d186598ed5ac49b0efaaf43b5a7fba4f |
refs/heads/master | <repo_name>jonunezg/advent-of-code-2020<file_sep>/src/day_05/missing_seats.py
import sys
import os
def get_dec(pattern, encoded_1):
n = 0
for c in pattern:
n = (n << 1) | (1 if c == encoded_1 else 0)
return n
def get_id(line):
return get_dec(line[:7], 'B') * 8 + get_dec(line[7:], 'R')
with op... | babe1de4e8226a63069fb3c2031aa57f7c3f96a4 | [
"Markdown",
"Python"
] | 43 | Python | jonunezg/advent-of-code-2020 | 8f4d6e9a41e35458146431952d7ef03ccefbc54e | 1dfc645ff19dca2ee510bfe4c04b6d0f06b752fd |
refs/heads/master | <file_sep>import net.proteanit.sql.DbUtils;
import javax.swing.*;
import javax.swing.border.EmptyBorder;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.sql.*;
public class Storage extends JFrame{
private JFrame frame;
private JPanel rootPanel;
priva... | b360fceac7116d0fc7c0b0cdb8700c0ca7a8ab3b | [
"Java",
"AsciiDoc",
"Gradle"
] | 3 | Java | JanTikal/svanstorage | 5ec5094a2f4861c8419f44591b31fb1138af6e4b | ea88cc56f1797de9ce3afc9231bfa367e9fa23e4 |
refs/heads/master | <repo_name>leitstandjs/leitstand<file_sep>/lib/action.js
import _ from 'lodash';
export default class Action {
constructor(instance, widget, leitstand) {
this.instance = instance;
this.widget = widget;
this.logger = widget.logger;
this.leitstand = leitstand;
this.name = instance.name;
this.k... | 288957215d0f41e9dfffdb3a454c7923a3952fdc | [
"JavaScript",
"Markdown"
] | 7 | JavaScript | leitstandjs/leitstand | d94d385cb420aa354b9f2e7cb3db71bf05064df7 | 721d138042299352f2e6d5f05df2e87e091c40db |
refs/heads/master | <repo_name>m4a1grant/ExcelAndMail<file_sep>/src/main/java/logic/entity/DailyExchangeRate.java
package logic.entity;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import java.util.List;
/**
* @author Serhiy.K.Dubovenko
*/
public class DailyExchangeRate {
... | 6cdce135efa18a7dcf036a5b22b088764dd69ead | [
"Java"
] | 2 | Java | m4a1grant/ExcelAndMail | fe97dd95debb1b4ab540f412ebc35eccef705feb | 630e882e6e0200669a6403a32527fbf6de69a250 |
refs/heads/master | <file_sep>#ifndef BINARY_SEARCH_HPP
#define BINARY_SEARCH_HPP
int binary_search(vector<int> array, int value)
{
int low = 0;
int high = array.size() - 1;
sort(array.begin(), array.end());
while (low <= high) {
int mid = (low + high) / 2;
if (array[mid] == value) {
return ... | 5c868d34aa997cfc864d794fd75e3845915d9e72 | [
"Markdown",
"C++"
] | 16 | C++ | qs8607a/algorithm-31 | 46476d01666d82d76c3aa70baaf90450be104506 | ad373dd07004328accc2949a1ce414762cfaa3f9 |
refs/heads/main | <repo_name>ImLordImpaler/crm-1<file_sep>/basic/views.py
from django.shortcuts import render , redirect
from django.http import HttpResponse
from .models import Enquiry , Product , Employee
from .forms import ProductForm , EnquiryForm , EmployeForm , SignUpForm
from django.contrib.auth import login , logout , authentica... | bf91584bd650087bb85b9abe438ae6209e612059 | [
"Python"
] | 3 | Python | ImLordImpaler/crm-1 | c65bd7cdcd0f31a44969ebfadc0c20aae1205e8f | 30dbd831b1ab254215f012361ceb70f40e75ee76 |
HEAD | <file_sep>using System;
using System.IO;
using ExcelDataReader.Core.BinaryFormat;
namespace ExcelDataReader
{
/// <summary>
/// The ExcelReader Factory
/// </summary>
public static class ExcelReaderFactory
{
/// <summary>
/// Creates an instance of <see cref="ExcelBinaryReader"/> or... | e2b641203578421cdda7bf9cc0ad96631dd176ec | [
"Markdown",
"C#"
] | 8 | C# | jonathanmorley/ExcelDataReader | 710d26ff698cb0f0a66f2669a13219de4da1347a | 43ab85ef00c641a6c39e62ea92a77e3ef119cf76 |
refs/heads/master | <file_sep># -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'gui.ui'
#
# Created by: PyQt5 UI code generator 5.13.0
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
... | 3b7b57bd745f781d5231b1d5c6f3a38c5b0f8f66 | [
"Python"
] | 2 | Python | ric-geek/Symbol-Maker-MAX7219 | 8d25e4e2f0aad5d5f8715958c2fc46d3b342003a | e0593ca2558a0a99ff15629a62cadc25cb27e47b |
refs/heads/master | <file_sep>import Customizator from './modules/customizator';
import parcer from './modules/parcer';
window.addEventListener('DOMContentLoaded', () => {
const panel = new Customizator();
panel.render();
parcer();
});
<file_sep>export default class Customizator {
constructor() {
this.btnBlock = document.createEle... | 1aa08c06728e3e960f3d24417adc0d1b88b423eb | [
"JavaScript"
] | 2 | JavaScript | bamfl/parcer | ee2b38928ac6a79301f1189d905d40e86f79bdb9 | b9816dc91c8042ef4714011676467303604f7655 |
refs/heads/master | <repo_name>matthewspencer/matthewspencer.me<file_sep>/assets/js/modules/util.js
define([], function () {
/**
* Does the current browser support touch?
*
* Looking for browsers without hover.
*
* @return boolean
*/
function isTouch() {
return 'ontouchstart' in window || navigator.msMaxTouchPo... | bf76f08fbf86ea46994cfe607e10dac961234fd5 | [
"JavaScript",
"Shell"
] | 5 | JavaScript | matthewspencer/matthewspencer.me | e8c2bca50dbba086207ec7db16f3bcdb730b07a3 | b37f20d0730b6308677f71327ff12a1725ed9fd2 |
refs/heads/master | <repo_name>lavish22/apachepoi<file_sep>/ReadWriteApachePoi.java
package com.src.apachePackage;
import java.io.*;
import java.util.*;
import java.sql.*;
import org.apache.poi.hssf.usermodel.HSSFSheet;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.ss.usermodel.*;
import org.apache.poi.xssf.use... | 2999d4d0d08ad52cbbb98f03b63bcd444da8fe3b | [
"Java"
] | 1 | Java | lavish22/apachepoi | 7b4e078dbae6d3617ec2d28244181368d4501cc7 | edbe9a5da8de716220afe93874fbaa8f00f07b9b |
refs/heads/master | <repo_name>DanielCuSanchez/algoritmos-ordenamiento<file_sep>/selectionSort.py
import sys
array = [50, 23, 15, 20, 10]
print(len(array))
# Buscar el menor numero en mi array
# Crear dos subarrays para llevar el control del algoritmo
# Imprimir el resultado del ordenamiento
def selectionSort(array):
# Recorre tod... | 0dadfe9d1d91e26d826d811d45f177edb923fcb9 | [
"Python"
] | 2 | Python | DanielCuSanchez/algoritmos-ordenamiento | ed495d4e99acdbd3b6641720ebfeb367894465ba | db4cd10ad726399583a1d87b55f3a03c1e37cd9d |
refs/heads/master | <repo_name>mohanaad-abalkhail/ReportCard<file_sep>/app/src/main/java/com/android/example/reportcard/ReportCard.java
package com.android.example.reportcard;
/**
* Created by MOHANAAD on 3/11/17.
*/
public class ReportCard {
private String mStudentName;
private String mCourseName;
private char mGrade;
... | 85dcb4c902e04d8c2166c528dd8d1b2192b52e97 | [
"Markdown",
"Java"
] | 2 | Java | mohanaad-abalkhail/ReportCard | 98d891a22e05adf636a07720e0fdce692461c1ed | fa235b8d083244a32a5ff091ac1f0f77513ec0c5 |
refs/heads/main | <file_sep>package home.com.Lesson9;
public class Main {
public static void main(String[] args) {
Collection<String> c = new Collection<>();
Collection<String> d = new Collection<>();
c.add("John");
c.add("NHN");
c.add("BBB");
System.out.println(c.size());
... | 3206d132c6128d71937423756a84c404052ea4da | [
"Markdown",
"Java",
"INI"
] | 54 | Java | anastasia1enya/Hometasks | c8386d7c92d39957b946c4ffc4e61cb0d8b72432 | 37b898ab7fc89f8bb22a7dedd97c8424b9b6bcd2 |
refs/heads/master | <repo_name>denniskuczynski/mongodb_changestream_chat<file_sep>/src/main/webapp/client.js
(function() {
var connection;
function createConnection() {
connection = new WebSocket('ws://' + location.host + '/ws');
connection.onopen = function () {
console.lo... | b812341eb720cc307ad28d80ac8ae6569a9dc79a | [
"JavaScript",
"Java",
"Markdown"
] | 3 | JavaScript | denniskuczynski/mongodb_changestream_chat | b12bb1fc018f26958013cae386526c0bbfa20b44 | 3cc1325321e3742c1c8e4cb3e081b1cfe8a47f40 |
refs/heads/master | <file_sep>/*
* Delta Forth - World's first Forth compiler for .NET
* Copyright (C)1997-2019 <NAME>, PhD, Romania (<EMAIL>)
*
* This program and its source code is distributed in the hope that it will
* be useful. No warranty of any kind is provided.
* Please DO NOT distribute modified copies of the source code.
... | 2f190be6b586b65cc59c88bfe126edd299663632 | [
"Markdown",
"C#"
] | 20 | C# | vbocan/delta-forth | c5cc775814044b334464c58cf3375e2dadb39d4f | f24c695dc3c769285bec546cee8ca61f692ceadd |
refs/heads/master | <repo_name>Carlesgr88/Primer_Programa<file_sep>/Num_g_list.py
lista_numeros=[12,4,6,88,24,4,74]
numero_grande = lista_numeros[0]
for numero in lista_numeros:
if numero > numero_grande:
numero_grande=numero
print("El número más grande es {}".format(numero_grande))
<file_sep>/Test_1.1.py
#Simulador de luc... | 9642888a1d080d264d1882e534ff8ba7580585fd | [
"Python"
] | 28 | Python | Carlesgr88/Primer_Programa | f19a65f84abbfe71ae6aa979a277efeb9bf57c20 | 82fa1f41f5c2652b31b49456e670cae79b03e22d |
refs/heads/master | <repo_name>dhruvrrp/Medic-Bot<file_sep>/README.md
Medic Bot
1. **Value Iteration (Markov Decision Process)** - To find the optimal policy at each point in the grid, maximizing based on the rewards.# Medic-Bot
<file_sep>/scripts/robot.py
#!/usr/bin/env python
#robot.py implementation goes here
import astar
import nump... | 4cd0c67b5837fd48dab3a24eae97763a6b550e77 | [
"Markdown",
"Python"
] | 2 | Markdown | dhruvrrp/Medic-Bot | 6854c8d7a3c819b25c4ef16aa10eb3ab4208efd4 | c5f38f04dbf4a2d11e262e12f717b1829cdad58f |
refs/heads/master | <file_sep>$(document).ready( function(){
$(".resultados").hide();
$("#calc").submit(function(e){
e.preventDefault();
$("#btnconfirma").prop( "disabled", true);
$("#skill1").prop( "disabled", true);
$("#skill2").prop( "disabled", true);
$("#skill3").prop( "disabled", true);
$("#skill4").prop( "... | dbb3dcdede016b8a5b1c2e1ad4382a4d19685ff9 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | kotzcalc/kotzcalc.github.io | a3a1c9847c245c139e79114536ddfab8a770b44f | 13d379a59d906f75d430683f621978e7ff23f9ca |
refs/heads/master | <file_sep>package com.jcpdev.action;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.serv... | 9aa7a7827f5dbabbe4b81f8226d9e7f3e1b9d15c | [
"Java"
] | 1 | Java | kimminjae7608/jsp3 | 671f1ed1ec0a079148a77c6f7637249a571de184 | 000fe014237612f75e697b112208167f3dc01eb4 |
refs/heads/master | <file_sep><?php
//require_once("includes/config.php");
$mysql_hostname = "localhost";
$mysql_user = "root";
$mysql_password = "";
$mysql_database = "fyp_management_system";
$bd = mysql_connect($mysql_hostname, $mysql_user, $mysql_password) or die("Could not connect database");
mysql_select_db($mysql_database, $b... | 5f3a9cb609d17088489854ed7d5121cacbee6150 | [
"SQL",
"PHP"
] | 8 | PHP | Abdulmalik-ye/FinalYearProjectManagementSystem | 407d4296a391d3efe4e0dc147862207b99a3e64c | b7e9eed83e3f67e2dba0024a87ae328b9c773ed2 |
refs/heads/master | <file_sep>#!/bin/bash
######### Variables
CONFIGPATH=~/.config/hddStats
CONFIGFILE=$CONFIGPATH/hddStats.config
HELP="
########### hddStats ############
## github.com/Isotop7/hddStats ##
Usage:
-h / --help : Shows this help
--cli : Enters cli mode and no notifications are created
--conf : Path to a valid confi... | 8453a95ff62a18cc2799a479c2b796ddcdc00254 | [
"Markdown",
"Python",
"Shell"
] | 4 | Shell | Isotop7/hddStats | df25172302b9b85bc07fabb47fb35f71a8924051 | cef3afb8c61cba0392122730642152e2c58b8ab3 |
refs/heads/master | <repo_name>EnderHDMC/DarkIsle<file_sep>/.AndroidStudioProjects/DarkIsle/core/src/com/delib/engine/tile/Tile.java
package com.delib.engine.tile;
import com.badlogic.gdx.math.*;
import com.badlogic.gdx.graphics.g2d.*;
public class Tile
{
public static TextureRegion[][] tileSetTexture;
public static int tileWidth = ... | b8e1438d17e3a40007cbb3ccd0df797a8d616e10 | [
"Java"
] | 8 | Java | EnderHDMC/DarkIsle | 8ec935efe48e7928e76fdae297da79f3b82a02c9 | 6b62b7c31d27be0777b3a53447629b6bf1b46302 |
refs/heads/master | <repo_name>sivan123/plicku-flowla<file_sep>/src/main/java/com/plicku/flowla/util/StepContentParserUitl.java
package com.plicku.flowla.util;
import com.plicku.flowla.exceptions.FlowContentParsingException;
import com.plicku.flowla.exceptions.ValidationException;
import com.plicku.flowla.model.FlowValidationError;
impor... | 1ba64ecc747620524d9a7ff1dc28b1a73eda7847 | [
"Java"
] | 18 | Java | sivan123/plicku-flowla | 75beafe72656cb733bdf5876cbb3a6f146777b8c | 4bc9033d65333800064540ef3bf43dea5591e6e8 |
refs/heads/master | <repo_name>melindadiaz/Pursuit-Core-iOS-ColorGuessingGameExercise<file_sep>/ColorGuessingGame/ColorGuessingGame/ViewController.swift
//
// ViewController.swift
// ColorGuessingGame
//
// Created by <NAME> on 10/29/19.
// Copyright © 2019 <NAME>. All rights reserved.
//
import UIKit
class ViewController: UIViewCon... | 450d97e5a5f5c562f05ad11f4f3b2f799668c724 | [
"Swift"
] | 1 | Swift | melindadiaz/Pursuit-Core-iOS-ColorGuessingGameExercise | 048c1fb795580352d57c7dafc93b32bfc54a88a9 | e6e405d920199211281fc1824491f24f6bb1458a |
refs/heads/main | <file_sep># rest framework imports
from rest_framework import serializers
# local imports
from events.models import (
Event,
)
class EventSerializer(serializers.ModelSerializer):
date_time = serializers.SerializerMethodField()
area_name = serializers.SerializerMethodField()
city_name = serializers.... | 0a2661dbfd9d374e51610592b1e8f0fd9bdeaee3 | [
"JavaScript",
"Python",
"Markdown"
] | 17 | Python | shreydan/adherent-hacknitr-submission | 618c511f152e9126ee660973864dde3a88a7ed66 | 37ef12e35d3d8149323c05c2bf87a2c34bcca3ed |
refs/heads/master | <file_sep>package com.example.mvvmdemo.ui.users
import android.content.Context
import androidx.recyclerview.widget.LinearLayoutManager
import com.example.mvvmdemo.ui.users.usersListAdapter.UsersListAdapter
import dagger.Module
import dagger.Provides
@Module
class UsersListActivityModul {
@Provides
fun provid... | 655e3f8d27e78125861f6722a74723e7c7013247 | [
"Kotlin",
"Gradle"
] | 22 | Kotlin | naimishmodi39/MvvmDemo | 51ac6fc662e45d9f89b4a2fba1a011ec8ba10f24 | 24111686a3551f57e03897b0c85548f787a7214e |
refs/heads/master | <file_sep>#include "main.h"
#include "customizeScreen.h"
int customizeSplash(FILE *file, SDL_Renderer *m_renderer, SDL_Event event) {
int quit = 0, menu = 0;
file = fopen("cars.ini", "wb");
TTF_Font *font = TTF_OpenFont("sources/Fonts/segoeui.ttf", 24);
SDL_Color color = {255, 255, 255, 0};
SDL_Sur... | 65411a47398d1d86599d68a2cf82ab2b4fda2cb2 | [
"Markdown",
"C"
] | 15 | C | abiral001/ProjectCruiser | ef27a9df85e2d6f2620e65e6a203c1945675cae3 | 5b16e5ebb58443d0258062573d7fe13351a84bfa |
refs/heads/main | <repo_name>abraham-berlin/Base64URL<file_sep>/base64.c
#include <string.h>
#include "base64.h"
static const unsigned char pr2six[256] =
{
64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64,
64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64,
64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 6... | db08e5d33ba970d7555ca223c5aac3d9a17642de | [
"Markdown",
"C",
"Makefile"
] | 5 | C | abraham-berlin/Base64URL | d98b4d61fbc3719bf6dc22eeff36b76c6e5a5210 | bf2a2e0cfc8642244d7a8aca095cdcb46105e39c |
refs/heads/master | <file_sep><?php
namespace App\Http\Controllers\Stripe;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Model\StripePay;
use App\Model\Order;
use Stripe;
use App\Model\Product;
use Auth;
use Session;
class StripeController extends Controller
{
public function index(){
$allProduct = ... | 8e770b73638ade2e1bb2057f7cdd86f96fbd08ae | [
"JavaScript",
"PHP"
] | 25 | PHP | mdashikul798/Laravel-multiple-projects | 638645e79755870f84d333681ecd6a54d8727f8c | 3002c9090d9b3ecdb125433c1a308d9df4895bc8 |
refs/heads/master | <file_sep>package Product_Activation_Queue;
import java.io.File;
import java.io.IOException;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import org.apache.commons.i... | aba85219519138afa87e2382d06e85781ff61861 | [
"Java"
] | 1 | Java | BalaKrishnanVPM/ProductActivation | 753bcbe53c741b01798762d6e15910182cb75517 | d5dbbeb796414874eb20f3724472ee35b7c905ee |
refs/heads/master | <repo_name>makbn/Image_Tagging_apis<file_sep>/src/main/java/Constant.java
/**
* Created by white on 2016-11-27.
*/
public class Constant {
public static final String SAMPLE_IMAGE="http://www.prateekgroup.com/images/grand-city-sample-flats-z2.jpg";
public static final String CLARIFAI_CLIENT_ID="gIPRQFYUEfxaGe... | 55abd0d17ff8ddd3ea0567d5db8a10034181b828 | [
"Java"
] | 2 | Java | makbn/Image_Tagging_apis | ecdf717b0c5e11f895e0c24dee93ec6fc61250da | e4069352c319da0eb193524eeeeff90f54e0ce16 |
refs/heads/master | <repo_name>jgh0721/unarkwcx<file_sep>/dllmain.cpp
// dllmain.cpp : DLL 응용 프로그램의 진입점을 정의합니다.
#include "stdafx.h"
#include "ArkLib.h"
#include "UnArkWCX.h"
HINSTANCE g_hInst;
WCHAR gArkDLLFullPathName[ MAX_PATH ] = {0,};
WCHAR gCurrentArchiveExtension[ 32 ] = {0,};
WCHAR gConfigureINIFullPath[ MAX_PATH ] = {0,... | b87e85e47715f6c11a120861b99c9cfa2e8c6dfb | [
"C",
"C++",
"reStructuredText"
] | 17 | C++ | jgh0721/unarkwcx | daec4cd782d6375b85d60a456a699fc75511816a | a04927ebd82f227ef2e2523378361f9502b7c360 |
refs/heads/master | <repo_name>Olee625/Olee<file_sep>/src/main/java/com/olee/project/dto/RegisterRespDto.java
package com.olee.project.dto;
import lombok.Data;
@Data
public class RegisterRespDto {
private String userId;
private String createAt;
}
<file_sep>/src/main/java/com/olee/project/service/TokenManagementServiceImpl.java
p... | de747c77444a952721791913411fe2b6a27e17ef | [
"Java"
] | 8 | Java | Olee625/Olee | c022ef14fdb87d854e82b9d4dbd179b11a9017f9 | 1ccdb5251ba8e34ce6b840236dbe378b5155b737 |
refs/heads/master | <repo_name>MattSkrobis/proposed_groups<file_sep>/lib/from_file.rb
#!/usr/bin/env ruby
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'users_collection'
module FromFile
def self.call
user_collection_object.suggested_groups
end
private
def self.user_collection_object
UsersCollection.new(input_file... | 1eb3a920ad4324d579524fca4a6487e1315e1c4e | [
"Ruby"
] | 3 | Ruby | MattSkrobis/proposed_groups | 52c1ef777fd0c0358c870f281a3aa64dc9e02e41 | e1744e1f976f9cd0383de7ef1e6f8e81ebb26b23 |
refs/heads/master | <file_sep>package com.example.bkhutton.tipcalculator;
import android.icu.text.NumberFormat;
import android.os.Build;
import android.support.annotation.RequiresApi;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.Ed... | 85cb3914055a472305446a665cd4a8d3d0d07c63 | [
"Java"
] | 1 | Java | Bkhutton/TipCalculator | d11ce99ab5dfb4d5b1b0e74bd0555b0c79fe550b | 25920c02722ce5dd243335befe467daea73f60d7 |
refs/heads/master | <file_sep>package server
import (
"net"
"strconv"
)
func StartServer(host string, port int64) {
address := host + ":" + strconv.FormatInt(port, 10)
ln, err := net.Listen("tcp", address)
if err != nil {
panic("Uhhhhhhhhhh")
}
for {
conn, err := ln.Accept()
if err != nil {
panic("Uhhhhhhhhhh")
}
s... | 704fcd94a989a38e9208f36f096d229c2d3d5abc | [
"Makefile",
"Go Module",
"Go"
] | 4 | Go | ayato-p/impl-http-server | d045a7359af64898291a42bbd39985001c79bbb4 | ea4685ceee222f77fc7331f66c015dc5d4aa5f3c |
refs/heads/master | <repo_name>MagpieShrike/Final-Project<file_sep>/Final Project/Assets/Scripts/DestroyByContact.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DestroyByContact : MonoBehaviour
{
public GameObject explosion;
public GameObject playerExplosion;
public GameObject ... | 9c2331f7743c75aed7621861b73d724620a85af5 | [
"Markdown",
"C#"
] | 3 | C# | MagpieShrike/Final-Project | 0f1115c60c1b875b08e16d1006496b973d7f7c87 | 74233a796362796cb496db20116fa219aa1cc2b8 |
refs/heads/master | <file_sep>#include<reg51.h> //Header file inclusion for 8051
#include<intrins.h> // for using _nop_() function
void delay(unsigned int rtime);
void lcdcmd(unsigned char DATA);
void initialize(void);
void lcddat(unsigned char DATA);
void display_lcd(unsigned char location, unsigned char *d);
void send_pulse(void)... | 6329f7c89c897c9c696634b1b7193dbf9027e208 | [
"Markdown",
"C"
] | 2 | C | althaf404/ultrasonic-distance-calculator | 41f1cf65be0c138b8574c442349f28865056e390 | 342e959d595fb3723856787034a268b259aa0ffa |
refs/heads/master | <file_sep>using UnityEngine;
using System.Collections;
[AddComponentMenu("Movement/MoveScript")]
public class MovementScript : MonoBehaviour
{
private Vector3 forward;
private Rigidbody rb;
private Transform Mcam;
//input Keys
private float moveHorizontal =0.0f,
moveVertical = 0... | 3bbc43d353f8d5e7a9689242ddbdde51878d6083 | [
"C#"
] | 1 | C# | itsRaawwb/Swift | e75e462db9d943c549a401c5b97a568ae3f7d812 | d5fe2d54a823f87ab50eb4485486139fd6249a83 |
refs/heads/master | <file_sep>#include <stdio.h>
#include <stdlib.h>
#if 0
code that will not be executed, to hide code or long comment
some code that do not work
#endif
int main() {
unsigned char i = 'a';
printf("%I64ld\n", 28489298891);
//printf("divide: %d\n", 10 : 2);
short int k = 1;
while(k) {
printf("%d\n", k);
... | acf35fbc046e1c3c94c1d568b1e88b5e227f48e5 | [
"C",
"Makefile",
"C++",
"Shell"
] | 92 | C | RV8V/code-c | 7ac1edbb5b8255a8221bd92a65725106be37e24f | 94c63984f153861806b7c04b5cf86cbc444e60c4 |
refs/heads/master | <repo_name>rdarleyDP/node-course-2-chat-app<file_sep>/server/server.js
// Load in built in modules
const http = require('http');
const path = require('path');
// Load in other modules
const express = require('express');
const socketIO = require('socket.io');
const {generateMessage, generateLocationMessage} = require('... | fffd38f8aa53cd72b1df427bebff69df37a1d470 | [
"JavaScript"
] | 3 | JavaScript | rdarleyDP/node-course-2-chat-app | 43a76466e5c4491867efdfb6d063419ee24b33df | b81d393e9bc374c27b70b29bb116543024e9fb6b |
refs/heads/master | <repo_name>diverse-project/varylatex<file_sep>/vary/static/js/colors.js
function gradient(perc, start_color, end_color) {
let [r1,g1,b1] = start_color.slice(-6).match(/(..)/g).map(x => parseInt(x, 16));
let [r2,g2,b2] = end_color.slice(-6).match(/(..)/g).map(x => parseInt(x, 16));
color =
Math.roun... | d1b4afee1e329160409f8a4d24900cceb1f17716 | [
"JavaScript",
"Markdown",
"Python",
"Text",
"R",
"Dockerfile"
] | 33 | JavaScript | diverse-project/varylatex | 71186926f3c182720fe3859401a25462a1e4c824 | 648c19660cee625c36814ea393e02c8431b611af |
refs/heads/master | <file_sep>package ness.tomerbu.edu.cam;
import android.Manifest;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.net.Uri;
import android.os.Bundle;
import android.os.Environment;
import android.provider.Media... | 728ebf8ca801a8833453e304bfe8d0ae9be299b3 | [
"Java"
] | 1 | Java | nesscollege2016/Cam | 7c8b0a105f4faa1f8ed65de4c704393711e99fb1 | 1057dda4ac22473fbc537a9340088f5391dc5555 |
refs/heads/master | <repo_name>mortonfox/ft-starter<file_sep>/server/models/person.js
/**
* Module dependencies.
*/
var mongoose = require('mongoose')
, Schema = mongoose.Schema
, createdModifiedPlugin = require('mongoose-createdmodified').createdModifiedPlugin;
/**
* Getters
*/
var getNicknames = function (nicknames) {
retu... | 574b381fb582113ec5f93a9f844c46cd612118a2 | [
"JavaScript",
"Markdown"
] | 11 | JavaScript | mortonfox/ft-starter | 35aad37e8fc8bea4fca6ccdce2288b4a43bc9f5b | d5ba09e2274b90cd323e10e4dabd71594178391a |
refs/heads/master | <repo_name>sevenjames/MinecraftServerBuild<file_sep>/mc-server-start
#!/bin/bash
# launch a minecraft server, but not if it's already running
cd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
lockfile="./server.running.lock"
if [ -e "$lockfile" ]; then
echo "Launch Abort. Server is already running."
exit 1
el... | 9ed4ac0bd75f082848241e7325f4534514221db8 | [
"Shell"
] | 2 | Shell | sevenjames/MinecraftServerBuild | 431608099a37614c7add3c092165ef4f605de728 | 4f2713717d6f5377bc784f4e5c1efbb1a9056bc0 |
refs/heads/master | <file_sep>import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.MethodOrderer.OrderAnnotation;
import org.junit.jupiter.api.Order;
import org.junit.jupiter.api.TestMethodOrder;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.CsvFileSource;
import page.MainPage;... | ce9f5908019d4aedaab0e60eb10dadbc111a8992 | [
"Markdown",
"Java"
] | 8 | Java | wl99/XueqiuTesting | ba83c19767d3ead9806f4bb20c8b8fbfc321c4ca | d6454cb9c1aca19f7810f82faf41f755be65f6e0 |
refs/heads/main | <file_sep>package com.example.superandroidproject.adapter;
import android.app.Activity;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import... | 65e1a6ed973feb2e21992b4ce8a06a9ac20d0b5f | [
"Markdown",
"Java",
"Gradle"
] | 13 | Java | huyhq01/LibraryApp | f536d4f7eb11a944d74f05d3ad1a342183d6f09e | 080b9870f5500b7bd402eedd7606899d1e3f5ad8 |
refs/heads/master | <repo_name>flashboyka/CRM<file_sep>/lots/models.py
'''
package: lots
description: models
'''
from uuid import uuid4
from django.db import models
from django.utils.translation import ugettext_lazy as _
from stocks.models import Stock
from goods.models import Good
class Currency(models.Model):
'''
model for cur... | b3cd0f79425f52f2ef3ca309cf52e4b87bd11fb2 | [
"Python",
"Text"
] | 13 | Python | flashboyka/CRM | 4ac624d0ce09397bfe3d474caa8f24fc05fd9cc3 | f04b4a7af120a797190ddbb6f0b8f18c023cb155 |
refs/heads/master | <repo_name>StewartNash/img_proc_7<file_sep>/README.md
# img_proc_7
Object detection and tracking based on color using OpenCV. Objects are isolated with morphologic processing and tracked using contour identification and center of mass. This program is designed to read in a video file and write to a stitched view of the... | db5e4b744f6f627026b590bf080a3830d3be01f5 | [
"Markdown",
"C++"
] | 2 | Markdown | StewartNash/img_proc_7 | 230c18633520d0a73b7929808b8dbf262d897485 | ebb234c20c07862aa0572be96154f2f9f8f49dd2 |
refs/heads/master | <file_sep>import * as grpc from "grpc";
import * as invokerSvc from "../../src/lib/api/proto/invoker/v1/invoker_grpc_pb";
import * as invokerMsg from "../../src/lib/api/proto/invoker/v1/invoker_pb";
let server: grpc.Server;
function createInvokeRstFromReq(
req: invokerMsg.InvokeRequest,
) {
return createInvo... | ea4939851d72372d779487d524a5449f2e53d862 | [
"JavaScript",
"TypeScript"
] | 7 | TypeScript | mee6aas/box-nodejs | d890daa77b142734553eb0f9b9fa973460d11fbf | 5f9ae0fbdef048ec7f542c481bc5aca7ee298cdb |
refs/heads/master | <file_sep>// ****************************************************************************
// *** Arm, Disarm and Calibrate
// ****************************************************************************
void read_sticks(){
///////////////////////// REGULAR MODE ///////////////////////////////////
if (MODE_ST == 1) {... | a83225cfcff4557900da0c0a42ff7537c5121f16 | [
"Markdown",
"C",
"Text"
] | 18 | C | adpoliak/Mavrx-firmware | d45533b4e2429c9f9467acfb1e6f0b1b33dd739c | 377c2de442a00c70c89a09a9e2680008927c5543 |
refs/heads/main | <file_sep><?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Notes;
class NotesController extends Controller
{
//
public function storeNote(Request $request) {
$note = new Notes();
$note->title = $request->title;
$note->note = $request->note;
$not... | f3050914d3e6a1396f3f4f3705f41117c1396bc0 | [
"Markdown",
"PHP"
] | 2 | PHP | maskeddeveloper/simple_laravel_vue_app | 738d98944d34230ad0569d2348ac4e20427f52c5 | 7aa2a504eff8f42aea92952e5cf110d1d3e0d6c9 |
refs/heads/master | <repo_name>Ph3bian/ng-tacos<file_sep>/src/app/pages/home/home.component.ts
import { Component, OnInit } from "@angular/core";
import { eventDispatcher, store } from "../../store";
import { ActionTypes } from "../../store/actions";
import { HomeService } from "./home.service";
import { Observable } from "rxjs";
@Compon... | 1a55f1be37b9e7ed706b9549deffc5c51eced0a5 | [
"TypeScript"
] | 4 | TypeScript | Ph3bian/ng-tacos | 6a7ac3ccd3a8bab078c1099a91351d5681281dc3 | 22bf5f7af6834b2ae7a010b69883d813d7f3938f |
refs/heads/master | <repo_name>the-cc-dev/ccd3vtheme<file_sep>/templates/feet.php
</main>
<?php get_template_part('templates/footer'); ?>
</body>
</html><file_sep>/page-home.php
<?php while (have_posts()) : the_post(); get_template_part('templates/head'); ?>
<?php get_template_part('templates/feet'); endwhile; ?>
<file_sep>/templates... | ba8ac670c1075d3ac11327cdf4e020837c40999c | [
"JavaScript",
"PHP"
] | 5 | PHP | the-cc-dev/ccd3vtheme | 62f4f5d0c3f15b13ce05a5f55219ac583c7d4ab9 | b08fe6d85b93282a0d80a8309f3dbb2caa4bc84e |
refs/heads/master | <repo_name>titrabui/facebook_ads<file_sep>/fuel/app/modules/api/classes/controller/base.php
<?php
namespace Api;
require_once (APPPATH.'vendor'.DS.'jwt'.DS.'JWT.php');
use \Firebase\JWT\JWT;
class Controller_Base extends \Controller_Rest
{
// default format
protected $format = 'json';
protected $key = '<KEY>';
pr... | dc93c6bdc8a7b86f0d8b28dba470edb677c6c843 | [
"PHP"
] | 14 | PHP | titrabui/facebook_ads | 6f37a1fc710b134c3904efd1dfa1e2ded5be1e81 | d52d2bbe172f171b26f7bca391704637b359f0e9 |
refs/heads/master | <repo_name>juliarodriguess/api-postits_reprograma<file_sep>/users.js
const users = [
{
id: 1,
name: "Luana",
email: "<EMAIL>"
},
{
id: 2,
name: "Marcia",
email: "<EMAIL>"
},
{
id: 3,
name: "Mariana",
email: "<EMAIL>"
}
]
mo... | fab018f48b5c45f27a3cc8751d517f9cbd6c7a21 | [
"JavaScript"
] | 2 | JavaScript | juliarodriguess/api-postits_reprograma | ec10a947191b5507386efdd7d317834dd3828d5d | e13795d11cdb8bec2b68535d181b3ebc9ac272ee |
refs/heads/master | <file_sep>//
// ViewController.swift
// Tapper
//
// Created by <NAME> on 6/29/16.
// Copyright © 2016 <NAME>. All rights reserved.
//
import UIKit
class ViewController: UIViewController {
// scene 1 elements
@IBOutlet weak var playButton: UIButton!
@IBOutlet weak var howManyTaps: UITextField... | a73d38d0336e1cf678d764e03613bdabde90a034 | [
"Swift"
] | 1 | Swift | rmwilson79/Tapper | c74f70322ec7743f10560c3f8a26473864f9c4ab | 1772c0542d73a0dff4980a227a94fd351e135493 |
refs/heads/master | <file_sep>class LinkedList():
""" Python class representing a Linked List """
def __init__(self):
self.head = None
self.tail = None
self.size = 0
def _make_node(value):
node = {}
node["value"] = value
node["next"] = None
return node
def add_to_tail(self, value):
new_node = self._make_node(value)
... | 7ce62e5d6ff3d11db9ddb2e01a9ebbd12ee3a8dd | [
"Markdown",
"Python"
] | 2 | Python | rohanagrawal/pyDataStructures | 5a63bf111cfd99754c39ef15d722b4af2f468fb4 | 34bc670393ffa75dd8f9c30c9165fbe798b38e20 |
refs/heads/master | <repo_name>eslafur/ESP32-8-Octave-Audio-Spectrum-WS2812-test<file_sep>/ESP32_Stereo_8Band_Spectrum_Analyzer.ino
#include <Wire.h>
#include "arduinoFFT.h" // Standard Arduino FFT library https://github.com/kosme/arduinoFFT
arduinoFFT FFT = arduinoFFT();
#define SAMPLES 2048 // Must be a power of 2
#def... | ff3353edc811b1d485b71f8486f8c3db2edda024 | [
"C++"
] | 1 | C++ | eslafur/ESP32-8-Octave-Audio-Spectrum-WS2812-test | 4678d2d3ff66263800755fefbc87feadb6e652f3 | 74348141dd6c797cef721f656f216633c76b7461 |
refs/heads/master | <repo_name>chips001/Swift_ToDoApp2<file_sep>/Swift_ToDoApp2/Scenes/ContentsKind.swift
//
// MainContentsKind.swift
// Swift_ToDoApp2
//
// Created by <NAME> on 2019/02/26.
// Copyright © 2019 <NAME>. All rights reserved.
//
import UIKit
enum ContentsKind {
case toDo
var description: String {
... | e2368b38d9d8a4b399ca8204effe607595d8c15c | [
"Swift"
] | 6 | Swift | chips001/Swift_ToDoApp2 | 7f0e0d867071dad480f06bd03f9f378fcacd04f4 | 58613a6ca8c034f37d78665dd785fed3a8033447 |
refs/heads/master | <repo_name>dmarshall83/coursera-getting-and-cleaning-data-project<file_sep>/CodeBook.md
#Code Book
This code book is for the uci-har-means-tidy.txt dataset
##Original Data Source
The original source for the data in this dataset came from the study "Human Activity Recognition Using Smartphones Data Set". A description ... | edffb48826d5ebaedbb46cc6e985da254debe4a8 | [
"Markdown",
"R"
] | 3 | Markdown | dmarshall83/coursera-getting-and-cleaning-data-project | 1b46c6763bc5dc46b1d3f9a599656ceafd1335b1 | 2e0135f58b036bffba865739c502b1e687beb18c |
refs/heads/master | <repo_name>PoojaSinha1998/SalesAppOnWheels<file_sep>/android/app/src/main/kotlin/com/example/onwheelssales/MainActivity.kt
package com.example.onwheelssales
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 865b9e4598089c562c5ed4814b565bd1c005bf90 | [
"Kotlin"
] | 1 | Kotlin | PoojaSinha1998/SalesAppOnWheels | 5b9df758391a6fca962994b69f45ee55c1a1763a | 7b567440a48379c4e04d03313aa36f3d51cf4c1a |
refs/heads/master | <repo_name>hakeemsyd/segmentnext<file_sep>/app/router.ts
'use strict'
// import React from 'react';
// import { Platform, StatusBar } from 'react-native';
import { StackNavigator } from 'react-navigation';
// import { FontAwesome } from 'react-native-vector-icons';
import { Home } from './layout/Home';
import { Post }... | 331e7861ca76c9557ed36943484479235fe2a451 | [
"Markdown",
"TypeScript",
"JavaScript",
"Gradle"
] | 7 | TypeScript | hakeemsyd/segmentnext | 8fd2da50bcfc5e1ddd950177dd8fcc81597728e0 | 71490ec870b912074079c31527f5dfdf8d37fbdd |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.