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/main | <file_sep><h4>C/C➕➕ Repository</h4>
This repository contains a few projects which were coded in C/C++.
<h4>Projects:</h4>
<p>
<ul>
<li>Functions</li>
</ul>
<img src= "https://github.com/thaycn/CPP/blob/main/Functions/Functions.gif" width="70%"/>
<file_sep>/****************************************
Programa: Funções ... | 977961f6d3e22158dd2d088af5690f8ebab8c1ac | [
"Markdown",
"C"
] | 2 | Markdown | thaycn/CPP | 39f28011dbb3fdeaeb7dd35b3886c58005a1daa2 | 6f1ab9371d1247ce47336e09faec9ff7e3d52c1d |
refs/heads/master | <repo_name>Joannie/udacity-lab2<file_sep>/designs.js
// Select color input
// Select size input
// When size is submitted by the user, call makeGrid()
function makeGrid() {
let height = document.getElementById('inputHeight').value;
let width = document.getElementById('inputWidth').value;
let tableArea = d... | 1ccc1dde12f2f75bdd610957e5257de9a9b5242c | [
"JavaScript"
] | 1 | JavaScript | Joannie/udacity-lab2 | aa576cded73758ec4d6db78c77cfebe5ed3e014b | c15f818f78fe994c6ac86917fa1f8083e9d0851e |
refs/heads/master | <file_sep>tags = {
}<file_sep>import re
import time
import clr
from System import Convert
from System import Text
playerside = None
sideflip = None
cstack = { }
versioncheck = None
def clearCache(group, x = 0, y = 0):
if confirm("Reset the Autoscript Tag cache?"):
global savedtags
savedtags = { }
not... | 136270f9c292c99ce8266154b9abf860b6688602 | [
"Python"
] | 2 | Python | drilus/mtg-octgn | 01522a7f33056a564ffc30c11c82c9a3892bd586 | 276864841ac3d6cf8388b0917c77f969273edd71 |
refs/heads/master | <repo_name>indywu/cc<file_sep>/cc.py
#!/usr/bin/python
# -*- coding: utf-8 -*-
"""USAGE:
"""
__version__ = 0.03
__author__ = "<NAME>"
""" Naechste Schritte:
in Webseite mit iframe einbinden
"""
def teilen(a, b):
if a == 0:
a = 1
ergebnis4 = (1.0*a)/b
return ergebnis4
"""
print("Hallo Welt")
p... | 4f51bd6df7a915ff9256ddaf4f698b1f8ac028cc | [
"Python"
] | 1 | Python | indywu/cc | aca33815fcd40b32d820c2ed5b8ed9c0c7de950c | ca0ab8c03e446fd08cc9fe322e2acd0ccfd6f3e4 |
refs/heads/master | <repo_name>evanhackett/evanhackett.github.io<file_sep>/todo.txt
fix star animation not being centered on mobile.
fix line not wrapping on mobile.<file_sep>/index.js
const socialIcons = [
{
dom: document.getElementById("octocat"),
description: "Github - see my code and open source activity"
},
{
dom:... | 4b135fa7f18f7b745a4ec355899fab29304cdee3 | [
"JavaScript",
"Text",
"Markdown"
] | 3 | Text | evanhackett/evanhackett.github.io | 20e2c11f70f200e81a583b871d889d66c6ae84f8 | a8608d6f9f1d1eff3feafe4dd596a07de54c9899 |
refs/heads/master | <repo_name>Safal08/SIMS<file_sep>/app/src/main/java/com/example/naruto/sims/Login.java
package com.example.naruto.sims;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
public class Login extends AppCompa... | 387c02870302896cd7da34cd82e992b069bedb9f | [
"Java"
] | 1 | Java | Safal08/SIMS | c97233b360d200cf2fb9ed2a5d130fd990c93270 | 15b6a7e8e00fb2f5ef2443437d53768b0a350b2e |
refs/heads/master | <repo_name>Nick-Howlett/Lantgon-s-Ant<file_sep>/ant.py
class Board:
def __init__(self):
self.board = [[False for i in range(11)] for j in range(11)]
self.ant = Ant()
def place_ant(self):
self.board[self.ant.pos[0]][self.ant.pos[1]] = 'A'
def take_turn(self):
if self.board[self.ant.pos[0]... | bd178006438bfbdc91df666e366a9ad981956024 | [
"Python"
] | 1 | Python | Nick-Howlett/Lantgon-s-Ant | f6e561bff9ce7c21aea44e96dcc11baec533e09f | 7ac32ff2db427adaa397cc4a974099e8ae95e52a |
refs/heads/master | <file_sep><?php
require_once "RequestResultBase.php";
require_once "AdBlock.php";
/**
* This class represents the result of a GetAdvertisement query.
*
* @package prediggo4php
* @subpackage types
*
* @author Stef
*/
class GetAdvertisementResult extends RequestResultBase {
protected $pageId;
protected... | fb9b975b770dd167d7281860deefc11049fb6826 | [
"JavaScript",
"SQL",
"PHP"
] | 155 | PHP | yonkon/smith.int | 0ce90954d6dc88b3a9595cace01f91f425e6a91e | d623ec259d67144874ed5da807641c15fa028abe |
refs/heads/main | <file_sep>import React, { PropTypes, Component } from 'react';
import { View, Text, Button, Alert, StyleSheet , Image, TouchableOpacity, ImageBackground, ScrollView} from 'react-native';
import Card from './Layout/Card';
import Buttons from './Layout/Buttons';
import Img from '../assets/images/_image';
import 'localst... | 535030c8002c6d704323a49b9048ac04323849ec | [
"JavaScript",
"Markdown"
] | 18 | JavaScript | DurandSacha/shifumi-mobile-project | cce5315f01a24ab0a5f57bbc0588620c236c0de0 | b562877b65f9fd02b41bea8c69f6fc10b1d8ced2 |
refs/heads/master | <repo_name>pavniboosa/Immediate-intermediate-functions<file_sep>/README.md
# Immediate-intermediate-functions<file_sep>/IIFE.js
//IMMEDIATE INVOKED FUNCTION EXPRESSIONS
/*
function game(){
var score=Math.random()*10;
console.log(score>=5);
}
var i=0;
for(i=0;i<5;i++){
game();
}
*/
//this can be done in a better way ... | 42c389ed4258946405d5d04f306c6adaa0dd46f0 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | pavniboosa/Immediate-intermediate-functions | d9c4e1fa39ef2eadf76a2616c09dc6cf42c212d6 | 78be8e8495d7b3dbdc4f600733e99a20579f5644 |
refs/heads/master | <repo_name>francois-ulrich/portfolioSite<file_sep>/webpack.config.js
const path = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
module.exports = {
mode: 'development',
entry: './src/index.tsx',
devServer: {
... | d1136a761df34c85ca97c5f5632fa9f2233a35f8 | [
"JavaScript"
] | 1 | JavaScript | francois-ulrich/portfolioSite | 8cac31c5a607ee4d3f219cbef53121ebda64b61b | d0054ac70ca632d94bb5df33c4c23ea20387bbde |
refs/heads/master | <repo_name>SFord88/Intro-to-R--1<file_sep>/Module #3 Intro to Data Frame.R
Name <- c("Jeb", "Donald", "Ted", "Marco", "Carly", "Hillary", "Bernie")
ABC_political <- c(4, 62, 51, 21, 2, 14, 15)
NCB_political <- c(12, 75, 43, 19, 1, 21, 19)
results <- cbind(Name, ABC_political, NCB_political) #Create a matrix with colum... | a27fd44829a4c5e2c35e9015011a57538260d248 | [
"R",
"RMarkdown"
] | 9 | R | SFord88/Intro-to-R--1 | d9886b813067866e786d526ed081f6bcc2146a26 | e9377602c9f17bf941e20cd7f2a2e4db05066130 |
refs/heads/master | <repo_name>adarwish01/OsInstagram<file_sep>/inst.py
import requests
import argparse
import time
import os
def creds():
print("OsInstagram")
print("---------------------\n")
print("GitHub: https://github.com/haqgg\n\n")
def parser():
parser = argparse.ArgumentParser(description="[+] Usage:... | 4ea38afb0fa8b46f901f664abed08054249c343f | [
"Markdown",
"Python"
] | 2 | Python | adarwish01/OsInstagram | 037637c16d5930a9fab18fda7ec6b595c452c2b2 | 8f21334f21cac4353b6da565bcb7f65b82e8fc99 |
refs/heads/master | <file_sep>import axios from 'axios'
import runAttempts from "../utils/runAttempts";
import pathExists from 'jrf-path-exists'
import namesEqual from "../utils/namesEqual";
import processUrlQuery from "../utils/processUrlQuery";
import processFilm from "../utils/processFilm";
const config = require("../../config");
cons... | b323a335241f0d708aeedf542ba70f0607f13034 | [
"JavaScript"
] | 3 | JavaScript | jirufik/sredaOnlineParser | 4c2f19750732aed0343d517e2a4128d9fe79e5a1 | 0a7dc6be216c568c22734613c9c3d88fdeb3787f |
refs/heads/main | <file_sep><!-- Sticky Footer -->
<footer class="sticky-footer">
<div class="container my-auto">
<div class="copyright text-center my-auto">
<?php $file = $_SERVER['SCRIPT_FILENAME']?>
<?php echo "<a target=\"_blank\" href='../displaysource.php?filename=".$file."'>" .$file."</a><br ... | ee77a6f61548e488ae94f29977b0fa8b51665c15 | [
"Markdown",
"SQL",
"PHP"
] | 20 | PHP | xingdongcai/webman | e806f2654d6fd349a508845a38b68c65579e6081 | ae70c556549c6d52b86bbe9a0cf3eb33d33cfab5 |
refs/heads/master | <repo_name>haoankang/SpringA4<file_sep>/Chapter_16/src/main/java/ank/sixteen/config/DataConfig.java
package ank.sixteen.config;
import org.apache.commons.dbcp2.BasicDataSource;
import org.springframework.beans.factory.annotation.Autowire;
import org.springframework.beans.factory.annotation.Autowired;
import org.spring... | 3b9caf21332cd96fae5d3973c131573cfe93d9b7 | [
"Java",
"Maven POM",
"INI"
] | 26 | Java | haoankang/SpringA4 | 8b4aaf1b545a775ee60e02efac493ffaf962186f | ce7e72e6376369eeadf548bfa008a933cc210ed2 |
refs/heads/master | <file_sep>/**
* Created by sasha on 22.07.17.
*/
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
@Entity
@Table(name = "points")
public class Point implements Serializable{
@Id
@Column(name="id")
... | 36fd50836cc6b49af3c0c71aec400057e0d8cd27 | [
"JavaScript",
"Java",
"Markdown"
] | 8 | Java | AleksandrFomin/lab9 | 376dfed63f5bfc1c121fe802ec4f132d1fc27098 | 7ba722c2894a4515aeb2496a1a83c5aae49423e6 |
refs/heads/master | <repo_name>bpourkazemi/dotfiles<file_sep>/README.md
# Dotfiles
My repository of dotfiles to use across hosts
<file_sep>/install.sh
#! /bin/sh
if [ ! -f dot_vimrc ]; then
# Remote installation
echo "\033[0;34mCloning dotfiles...\033[0m"
hash git >/dev/null && /usr/bin/env git clone https://github.com/rod... | cba7addf44cb41ebeb45c696bac159b657267b64 | [
"Markdown",
"Shell"
] | 2 | Markdown | bpourkazemi/dotfiles | a6e304561248ed130b22fb4a44f793d8d062b7b6 | b7e92803f206fab8b50571c0d19d242b061aead5 |
refs/heads/master | <repo_name>muizidn/AppSPM<file_sep>/Sources/StaticLib/include/staticlib.h
../../../StaticLib/includes/staticlib.h<file_sep>/StaticLib/src/staticlib.c
#include <stdio.h>
#include "staticlib.h"
void run_from_staticlib(void) {
printf("This is from StaticLib\n");
}<file_sep>/Sources/App/UsingNIO.swift
import Foundatio... | ee2dd1402c479b3d6e2ccb17d4fab876a89b079e | [
"Ruby",
"Swift",
"Markdown",
"C",
"C++"
] | 14 | C | muizidn/AppSPM | 390f6918d6b44d5952b0abe8a4433016e197d766 | 01b6ee1d60916df60e134d5df0d1d475bf152d03 |
refs/heads/master | <file_sep>
public enum Aggregation: Hashable {
case avg(Expression, distinct: Bool)
case count(Expression?, distinct: Bool)
case min(Expression, distinct: Bool)
case max(Expression, distinct: Bool)
case sample(Expression, distinct: Bool)
case sum(Expression, distinct: Bool)
case groupConcat(... | 52c30f30d46591a613efcaa70894450e9df8b267 | [
"Swift",
"Markdown"
] | 21 | Swift | turbolent/SPARQL | f63668d1360054c5f7c49a241522e4dfc9b289b7 | 59677e3a82d62cae0a0e71a2914698de2b3dd31d |
refs/heads/master | <file_sep>def packer(name=None, **kwargs):
print(kwargs)
def unpacker(first_name=None, last_name=None):
if first_name and last_name:
print("Hi {} {}!".format(first_name, last_name))
else:
print("hi no name!")
packer(name="Kenneth", num=42, spanish_inquisition=None)
unpacker(**{"last_n... | 76caaedd3b65a7fc463328e468b0c969702ec3e5 | [
"Python"
] | 6 | Python | haptikfeedback/python_basics | ad7ba3184036a40c461901641bb3055ed375bf77 | bd29d35912d9d95722e028a11d0354743363547c |
refs/heads/master | <file_sep>plugins {
id 'java'
id 'idea'
id 'org.springframework.boot'
id 'io.spring.dependency-management'
}
dependencies {
testImplementation group: 'org.springframework.security', name: 'spring-security-test'
/** TODO Spring Boot */
implementation group: 'org.spring... | e498f8bae61d6f74de5dd03d3478bf3ad3354225 | [
"Java",
"SQL",
"Gradle"
] | 18 | Gradle | lzlFLT1/SpringBoot | c9aabf6d272700e2f6fd93ebf9ff70538f19b83a | 6e11f9031550147cea4276d46db9f44ba2959f26 |
refs/heads/master | <file_sep>package pp;
import java.util.LinkedList;
import java.util.Random;
public class Experiment<E extends Comparable<E>> {
private final LinkedList<E> list;
public Experiment(LinkedList<E> list) {
this.list = list;
}
@SuppressWarnings("unchecked")
public void carryOut() {
// Sequentially
System.out... | 820e03abbad2af8e22f978eb249112d621ed0d8d | [
"Java"
] | 6 | Java | SergejHerwald/Sergej_Herwald | c3cf25edbd23ae340fc15836e4ac4490a8412b9c | 4363170f131855a72d0d9b962742dcc5c4fb44f2 |
refs/heads/master | <file_sep>package com.ppc.ui;
import java.awt.Frame;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import com.ppc.data.PassportData;
public class GameWindow {
public static void initialize() {
Frame frame = new Frame("\"Papers, Please\" Clone");
frame.add(new GamePanel());
frame.setE... | 13461e2052e93e2c6178d8bb49d94fae2b788248 | [
"Java"
] | 4 | Java | TitaniumSapphire/Papers-Please-Clone | 10944c770cd0d518d8b9f3e9cae3fbd458cc1a58 | e5eee8d739df955e876468acd75a4fb93c8d4151 |
refs/heads/main | <file_sep>
function myclock(){
var mytime = new Date();
var myHour = mytime.getHours();
var myMinute = mytime.getMinutes();
var mySeconds = mytime.getSeconds();
var ampm = 'AM';
if(myHour > 12){
myHour =myHour - 12;
ampm = 'PM';
}else{
myHour = myHour;
... | 1a6b2776d02e4ddc54644ef23251e1eef2e3f972 | [
"JavaScript"
] | 1 | JavaScript | Ranagithubrr/clock | b137f208c4f58443e5d67e3d3d2725a9917cad30 | caff27ab2ea1ad842f26c03a57294c06e26d3ac0 |
refs/heads/master | <file_sep>import math
import random
hex_numbers = ('0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F')
program = "PM:\n00: 0900\n01: 0001\n02: 0500\n03: 00E0\n04: 14C0\n05: 0CC0\n06: 9D00\n07: 00FF\n08: 7011\n09: 2D00\n0a: 0001\n0b: 1CC0\n0c: 02C0\n0d: 9D00\n0e: 00E0\n0f: 7008\n10: 3D00\n11: 0001\n12: 93... | 77618758fa5b360c953f7b43c3892962b7100650 | [
"Python"
] | 1 | Python | RorroS/tsea83-labs | b6a50204d81e2e4eef074335dc3bf6b556d3b3c9 | e8fff3724550ccdbdc23bf74af2395868067c012 |
refs/heads/master | <file_sep>#pragma once
#include <string>
typedef unsigned char byte;
using namespace std;
class ByteArray {
private:
byte* bytes;
int length;
public:
ByteArray(int length);
explicit ByteArray(string text);
ByteArray(const ByteArray &byteArray);
~ByteArray();
byte & operator[] (int i);
const byte operator[... | 0fceca8df10d158d0a90cc660b738782a95e31c2 | [
"C++"
] | 7 | C++ | battisq/ZI | 8dfcbf33b97c7296cd9001cf24bc139daede3079 | d1717ff3cae9d380562f18d158a6dab74f6b9e1b |
refs/heads/master | <repo_name>Lneedy/elementui<file_sep>/components/card.js
import { BootstrapElement } from "./element";
/**
* See documentation at: https://getbootstrap.com/docs/5.0/components/buttons/
*/
export class Cards extends BootstrapElement {
// attributes.
// Create the applicaiton view.
constructor() {
... | fa81d012fe0d3efe1d9ad19e017609c6962da98d | [
"JavaScript",
"Markdown"
] | 11 | JavaScript | Lneedy/elementui | a6cbcefa4274fa2ac376443451342063f94183f8 | 8cc8e2bef8d62666ad2f08a43e2461f95c4e7ab5 |
refs/heads/master | <repo_name>akirobudo/web<file_sep>/file.php
<?php
if(isset($_SERVER['HTTP_REFERER']) && isset($_GET["ur"])) {
$link = base64_decode($_GET["ur"]);
$fichero = 'file/'.$link;
if (file_exists($fichero)) {
header('Content-Description: File Transfer');
header('Content-Type: application/octet-stream');
header('C... | 3ab744d40623d1807a0d3743bc6013391922bea1 | [
"PHP"
] | 3 | PHP | akirobudo/web | fdda4266f45395f4d3a2c1e72e9dd637806671fe | d6f499d82222135ab8ccfd430860a1148b076285 |
refs/heads/master | <file_sep>// Scroll-spy
$('body').scrollspy({
target: '#nav-header', // スクロールスパイ対象ナビゲーション
offset: 60 //切り替えポイントオフセット(ヘッダーの高さ)
});
// .active クラスの取得
// スクロールが hero 領域の場合はヘッダーを初期化する
var navToggler = function(){
// リンクの href の値(ページ内リンクID)を取得
var _hash = $('#nav-header a.active').attr('href');
// clas... | a8c63b772163dd95a4635558ac2b2d21863d771b | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | ipgotanda/bs4_pet_easy | 54afd5e556d1be4412a53bbdf5317bc1591e5d29 | df2f0def5333678cb313d265cd8b7142a714f0a4 |
refs/heads/main | <file_sep>package db;
public class DbIntegrityException extends RuntimeException{
//Como é subclasse de RuntimeException, então é obrigado ter o serial
private static final long serialVersionUID = 1L;
//Forçar a passar a mensagem para a superclasse
public DbIntegrityException(String msg) {
super(msg);
}
}
| 56e37673a418bc8e751c704b23f92822dafb030a | [
"Java"
] | 1 | Java | RobsondCCarneiro/demo-dao-jdbc | 13aa38c1a1e0e473af9b4f77e43848b04ce13dc2 | 07d65b2e67608bdfe7dd4081d825e567c3e2fbf6 |
refs/heads/master | <repo_name>DBarreto1996/nodeTareas<file_sep>/tareas/tareas.js
const fs = require('fs');
let listadoTareas = [];
const guardarDB=()=>{
let data = JSON.stringify(listadoTareas);
fs.writeFile('db/data.json', data, (err)=>{
if(err) throw new Error('No se pudo guardar',err)
});
}
... | 3a4ac293a741a5ebbe87732bb93f6af5c3625515 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | DBarreto1996/nodeTareas | 120c85e5c37c5d7eacbb19e94ebefa1fd69a340c | 02fbb268675ff09d286cbe0710adac96c699674c |
refs/heads/master | <repo_name>danielkokott/oz<file_sep>/test/scope.js
'use strict';
// Load modules
const Code = require('code');
const Lab = require('lab');
const Oz = require('../lib');
// Declare internals
const internals = {};
// Test shortcuts
const lab = exports.lab = Lab.script();
const describe = lab.experiment;
const it ... | 67ecba23f5bf3c2aed02ea0fccfe8b09285a4f72 | [
"JavaScript"
] | 1 | JavaScript | danielkokott/oz | 5797e5bd8b96d187c702643e9e8d862d146b9058 | b159a8b2ae86954ab0ed23de137be2c504a80d28 |
refs/heads/master | <repo_name>geoffreycc/cookie_stand<file_sep>/README.md
# cookie_stand
201 Class Project 2
References
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/random
http://html5doctor.com/
https://css-tricks.com/
http://paletton.com/
http://paletton.com/#uid=33C0u0klTnXpKzQnSsHjwiThidP
h... | 11fe8a8c795392f0dd13fb1626112d169e9e5fc2 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | geoffreycc/cookie_stand | d6e66e74a0e78db018d3764f7d68de44e33d52b9 | a31b1eddb2dc6646f23231fdf15fe8113c24f6bd |
refs/heads/master | <file_sep>const express = require("express");
const {
getIdeas,
getIdea,
addIdea,
updateIdea,
deleteIdea
} = require("../controllers/ideas");
const Idea = require("../models/Idea");
const router = express.Router({ mergeParams: true });
//Bring the protect Middleware
const advancedResults = require("../midd... | d349bd504e7fd04f07fa186dbb3c7182bbe6c2a0 | [
"JavaScript"
] | 4 | JavaScript | reanzi/node-api | 824cd2e88f100095017a21ebd03f8f65adbb0a3f | d74c32dd2693f87e3192c52ac5df956c958c2468 |
refs/heads/master | <file_sep>package com.prashant.strategy;
import java.beans.PropertyDescriptor;
import java.io.IOException;
import java.util.LinkedList;
import java.util.List;
import java.util.Properties;
import java.util.concurrent.TimeoutException;
import org.apache.log4j.Logger;
import org.json.JSONException;
import c... | f96d7c164d94c07e3695b736e4ce2d9afed2f0dd | [
"Java",
"Maven POM"
] | 11 | Java | Pdhanke/tradeapp | 699b60cfb8a0fa6d8a669685c3423048e8a6b7a5 | 40884ef54516f0477f819adb92b8ff3226aa37e9 |
refs/heads/master | <file_sep><?php
require "conn.php";
$user_name = $_POST["username"];
$user_pass = $_POST["<PASSWORD>"];
$mysql_qry = "select * from employee_data where username like '$user_name'and password = '$<PASSWORD>' " ;
$result = mysqli_query($conn, $mysql_qry);
if (mysqli_num_rows($result) > 0) {
# code...
echo "lo... | e80657ba680b57895ccedd5883428f5094feebb0 | [
"PHP",
"Gradle"
] | 3 | PHP | Samsonjoe/MySqlDemo | 70ba5748128b655384a532b453b81de2b172c793 | ed1c53f23816aed4d5f6d774f463e767d9770040 |
refs/heads/main | <repo_name>pavan-areti/exam-form-next.js<file_sep>/README.md
# exam-form-next.js | b1c9e2ae04da254012d19f5f0ee1a5577a06764f | [
"Markdown"
] | 1 | Markdown | pavan-areti/exam-form-next.js | 898aae14a0e70ea09804733e40a8e45a826118bb | 1897094052995d234da80dcd8f1edd4f65e9f745 |
refs/heads/master | <file_sep>import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
dataset = pd.read_csv('Data.csv')
X = dataset.iloc[:,:-1].values
y = dataset.iloc[:,-1].values
from sklearn.model_selection import train_test_split
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=0 )... | 151a4d7c08db11cda42296e330326be76d4d32c8 | [
"Markdown",
"Python"
] | 11 | Python | srinidhim3/ML_practice | d909075d19475663c3961b3da6c7e36e23a71dbc | 450afdbeeb3719a13f27fc339a92c2b1aba8f8f6 |
HEAD | <file_sep>Ext JS versus Sencha Touch (super incomplete)
=============================================
[Ext JS](http://www.sencha.com/products/extjs/) and [Sencha Touch](http://www.sencha.com/products/touch) are similar frameworks, but they aren't identical. Compare their differences.
[Check it out here.](http://evanh... | 1b80488c3fde613e1f4a3cd231e8a757cb8d7ef9 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | EvanHahn/ExtJS-vs.-Sencha-Touch | 6d41ba3710bd9c3720f05feeb230a7a22da96f18 | 972ba8255269ddd573f528b3d9045da5923f2a1a |
refs/heads/master | <repo_name>bmj-hackathon/gardenstate<file_sep>/README.md
# gardenstate
Tracking the state of 100 ERC 721 NFT flower tokens,
generating statistics and market information so you can become the next Flower Baron.
## The story so far ...
A simple python script to scrape the hashbase.io json files, convert to Pandas data... | 356f09ed09e20d50f3b455b929f195af9069c836 | [
"Markdown",
"Python"
] | 3 | Markdown | bmj-hackathon/gardenstate | e2e1bf0bd0b05522b0cbec0e6e8b35ff6a9ea762 | 6dfdbb064160409d03f9a7503d440035d637ad7b |
refs/heads/master | <file_sep>using System;
using Microsoft.AspNetCore.Connections;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Abstractions;
using Orleans.Connections.Security;
namespace Orleans
{
public static class TlsConnectionBuilderExtensions
{
public static void UseServerTls(
... | c35c60691dc43ca631cbe0fd09409458df3ff6e5 | [
"C#"
] | 2 | C# | igitur/orleans | fadace6a2bee298f12365e988ebf7bc77ec50faa | 21a39cc2b19589d5f12a15e6e85d3c4b5c9ee0f2 |
refs/heads/master | <repo_name>MinSiThu/YawYwatWar<file_sep>/yywEditor/Elements/Selector/Option.js
let AbstractElement = require('../AbstractElement');
class Option extends AbstractElement{
constructor(config){
super('option');
this.element.innerText = config.text;
this.element.value = config.value;
}
}
m... | 86dfc612768c41c2e6ae8161203012cc9db8ba60 | [
"JavaScript",
"Markdown"
] | 13 | JavaScript | MinSiThu/YawYwatWar | e81b463a7c7adbc180f8207bc9bdc06a6532c345 | 64ca644d478b0844fb6d6c629a4829e470029d1d |
refs/heads/master | <file_sep># miscellaneous fun programming
* A Vide Player GUI
* Face detection using HAAR classifier
* Testing for a ploygon
* Robot manipulation in a point cloud data
* Basic python excercises
<file_sep>import java.util.*;
public class Integers {
public static void main(String []args) {
System.out.println("enter ... | 35c6be30871b4b667e9d878ca5bc323a284e50a9 | [
"CMake",
"Markdown",
"Java",
"C++",
"Shell"
] | 8 | Markdown | someshdev/Random | 12347916c0a3219bf235ad3d1b1e425aaa313623 | 986e7eb24d93ee4242fb4153c7ed43c9636cda72 |
refs/heads/master | <file_sep>print 'This game is so fun right'
print 'You won'
def draw_board(bad_guesses):
# This is always drawn
print("______________")
print("| / |")
print("|/ |")
# different level of hang-ness
if bad_guesses is 0:
print("|")
print("|")
print("|")
... | a4bc3c7cb745ea6ab4200316537683ba005c633a | [
"Python"
] | 1 | Python | Hosch250/ascii-gallows-club | 989bbeef1fb086ea40a27d3fb781f20d68be9c1f | 73c789154c4f3cf6e5aaa54707c086382758aaab |
refs/heads/master | <repo_name>HYO-Altair/actio-mensura-frontend<file_sep>/src/utils/README.md
Folder full of helper functions that are used globally. Export repeated logic to a singular location here and import where needed.
<file_sep>/src/routes/statistics/Statistics.js
import React, { useEffect } from "react";
import app from "firebase... | 44612a40de51bac89f0bcb0daae85944b39ce458 | [
"Markdown",
"JavaScript"
] | 6 | Markdown | HYO-Altair/actio-mensura-frontend | 4c9d40fd0a0d4e9e1c07702208b6d3b1712d6065 | 45a733664a835122a0124cd401f886238087e2df |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace HumberAreaHospitalProject.Models
{
public class Staff
{
[Key]
publ... | 33b1c1b3218ee37175413f4eee5e7dcec8023478 | [
"Markdown",
"C#"
] | 49 | C# | AnshukAggarwal/HumberAreaHospital | a6126d280329e72c50c42c295a695b9e48647f2f | 37e129087f364b7e6d9ae2313c493e4c2b21f9fe |
refs/heads/master | <file_sep>#!/usr/bin/env node --harmony
var fs = require('fs');
var program = require('commander');
var chalk = require('chalk');
var opentype = require('opentype.js');
var outputFileName = 'output.json'
program
.arguments('<file>')
.option('-o, --output <filename>', 'The output filename, default: output.json')
.acti... | b2bcb4b9c2cb03bdcbc76ac630d5ae27c0f0853b | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | EvoIos/iconfont2json | db0ac0ab35e4bd402ab7a413dc869f0a872adc07 | 5fd0db97be4d2877ba8b4fa7694f76a6f1dcf4ca |
refs/heads/master | <repo_name>rammak/netsim<file_sep>/netstack/l2_ethernet.py
from netstack.common import *
def type_to_str(ether_type: int):
if ether_type == 0x0800:
return "IPv4"
elif ether_type == 0x0806:
return "ARP"
elif ether_type == 0x0842:
return "Wake-on-LAN"
elif ether_type == 0x86DD:
... | 8068a9a3107ee82b506e7049897085af8e59c66f | [
"Python"
] | 6 | Python | rammak/netsim | 734d204e39296b55219dbaee84d41164ada68433 | 435d2f333cf37e2dbe89480c2d77b1ab36d9af07 |
refs/heads/master | <file_sep>import mechanize
import cookielib
# import lxml.html as lh
import time
import random
import threading
from sets import Set
import socket
import sys
#timeout in seconds see http://docs.python.org/library/socket.html#socket.setdefaulttimeout
# import lxml;
br = mechanize.Browser()
#
cj = cookielib.LWPCookieJa... | f69475ccf674d951bf275dce4bf33aadcfb0e6b8 | [
"Markdown",
"Python"
] | 2 | Python | jaysetty/Rewards_app | 8d281aa1505b31aefc3ecc69dc133605b83df68a | 9019bb5c6f5a1088a0b90be092811245ff11efc0 |
refs/heads/master | <repo_name>desktophero/postgres-replication-cookbook<file_sep>/CHANGELOG.md
# 0.2.1
* Fix archiving
# 0.2.0
* Listen on primary IP by default
# 0.1.0
* Initial Commit
<file_sep>/test/integration/master/archive_spec.rb
# Make sure we have no archive command errors
describe file('/var/lib/postgresql/9.3/main/mnt/ser... | a3950a968dd7d966d394d16dfa9353ec2f63fa88 | [
"Markdown",
"Ruby"
] | 2 | Markdown | desktophero/postgres-replication-cookbook | 0cb330e7c3b8a23409d6827990323dbc1d5bad6a | 7b9b6f48379c9e16b3de60bd3b53a0b4c487ffa9 |
refs/heads/master | <file_sep>package company.com.dtos;
import company.com.helpers.TestUser;
import company.com.core.SeleniumCore;
import java.util.ArrayList;
import java.util.List;
public class TestBaseDto {
private SeleniumCore driver;
private TestUser testUser;
private List<String> reservedUserNames = new ArrayList<>();
... | dea9ae3fbfffb4067cd88d82bfbe043144b0101a | [
"Markdown",
"Java",
"Maven POM"
] | 16 | Java | kwolkowicz/WebAppTestFramework | 150cb33178b009e604b90ff044ebe094838bfd91 | 0158570896196b3ec4a081f5419216f349e91be8 |
refs/heads/master | <file_sep># Функция возвращает датафрейм с наблюдениями только для указанных генов.
test_data <- as.data.frame(list(name = c("p4@HPS1", "p7@HPS2", "p4@HPS3", "p7@HPS4", "p7@HPS5", "p9@HPS6", "p11@HPS7", "p10@HPS8", "p15@HPS9"),
expression = c(118.84, 90.04, 106.6, 104.99, 93.2, 66.84, 9... | a05bb59687db3f307e61a7abe94b9cbad743f087 | [
"R"
] | 1 | R | grigorevmp/R_Stepic_tasks | 2aa9b0d7bbe3642fd04c278eeb39b88ee3ae5086 | 2820559fed29a190fdc8fa8655adff15b4dc0af9 |
refs/heads/master | <repo_name>nuochan/a1<file_sep>/assignment1/main.cpp
//
// main.cpp
// assignment 1
// Name:<NAME>
// Student ID:200327119
//
// Created by <NAME> on 1/19/2014.
// Copyright (c) 2014 <NAME>. All rights reserved.
//
#include <iostream>
using namespace std;
int main()
{
//declair variables and initialization
... | e34af8213e04c8e8a03700fbc545240ef8c9b8bc | [
"C++"
] | 1 | C++ | nuochan/a1 | 14f3f297eed5062c19d756513b24740a15de50c1 | 05c12e5972f30c8f0f2e7bb3c64825adbc9d1b87 |
refs/heads/master | <repo_name>deus-amd/microsoft-ui-xaml<file_sep>/dev/Generated/InfoBarPanel.properties.cpp
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCod... | 93a4a5fae0fd4c3efb486580cb5b0e0a88178ae6 | [
"C++"
] | 2 | C++ | deus-amd/microsoft-ui-xaml | 9acab7164700cb3dfcf1a66de96c41f900426646 | 3bf58ce5139286b785351dd3b0ecce448bdfee35 |
refs/heads/main | <repo_name>daniel-um/poc-node-api-addon<file_sep>/README.md
## how to use
### build, bundle, test
- may first need to run `node-gyp configure` (try next step and see if it tells you to do this first)
- `yarn build-addon && yarn transpile-and-bundle && yarn test`
## history
### add babel for es6
- `yarn add -D @babe... | d896a196d69cd22d3a251101bd417c10b735a470 | [
"Markdown",
"JavaScript",
"C++"
] | 3 | Markdown | daniel-um/poc-node-api-addon | d5a083baafd5c747d08be91d4b69cbcedc00590f | 03a651d9ad53e3c829e1901407a6c44cc121f99a |
refs/heads/master | <file_sep>package payrollsystem;
import javax.swing.JOptionPane;
import javax.swing.table.DefaultTableModel;
/**
*
* @author <NAME>
* @duedate
*/
public class PayrollSystemGUI extends javax.swing.JFrame {
final int MANAGERS_PAYCODE = 1;
final int HOURLY_WORKERS_PAYCODE = 2;
final int COMMISSION_WORKER... | 8a8fb3f61f0ddb44e7f84309ec0436f24dd984d5 | [
"Java"
] | 1 | Java | chrisaugu/MajorProject-PayrollSystem | f3ff8b138a64653a765f86cf2407b914d2276886 | 4829e433aa89cba913490f57c637483757bd5630 |
refs/heads/master | <repo_name>Bubba74/RandomThings<file_sep>/Objects/ObjectMain.java
package Objects;
public class ObjectMain {
// private static Operation math = new Operation();
public static void main (String Args[]){
//Possible operations: add, sub, mult, div
// System.out.printf("Answer: %s", math.polynomial("1,3,2","*"... | d5b928f55ab4f9db40ae97f0b1e573fc1ebaeefc | [
"Java"
] | 4 | Java | Bubba74/RandomThings | 1430046d8d4a4690f8792254420d28452a75861c | 35956e24d8072b80b9e188e3f9d9ec336338bd1b |
refs/heads/main | <repo_name>shimopino/itddd-typescript<file_sep>/test/environment.ts
import type { Circus } from "@jest/types";
import type {
JestEnvironmentConfig,
EnvironmentContext,
} from "@jest/environment";
import { TestEnvironment } from "jest-environment-node";
class CustomEnvironment extends TestEnvironment {
constructo... | 8f3cb5ed8047a9831d30ad0d15670340feb0b383 | [
"JavaScript",
"TypeScript"
] | 4 | TypeScript | shimopino/itddd-typescript | 30c42209efa562cb7c9a795b3f5e2225ebedde8d | 557e4ac11b221f3051d44f94c4bad56281169ec8 |
refs/heads/master | <repo_name>ywuwgij/Alan.Log<file_sep>/Alan.Log/Core/ILogContainer.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Alan.Log.Core
{
/// <summary>
/// ILog Container
/// </summary>
public interface ILogContainer
{
/// <summary>
/// 写日... | f40efd2ae99759348b06148656d154a90a3ad064 | [
"Markdown",
"C#",
"JavaScript"
] | 26 | C# | ywuwgij/Alan.Log | 45c4c71e084f9cde826d94d8caa92b44c1eae490 | 84f3144a85e11493320675877089ac72309e2623 |
refs/heads/master | <file_sep>#!/usr/bin/env ruby
require_relative "../lib/api_communicator.rb"
require_relative "../lib/command_line_interface.rb"
welcome
character = get_character_from_user
# character = "<NAME>"
show_character_movies(character)
| 334559356db2d8387486a92e714b95ea3813b1ad | [
"Ruby"
] | 1 | Ruby | UnglazedPottery/apis-and-iteration-houston-web-080519 | 610da320e741f4e4dc252df662e4bf998887314b | 22fa07e0bc8b864a24b7bcc629fa66eadab9a8b8 |
refs/heads/master | <file_sep>$(function(){
window.sr = ScrollReveal();
if ($(window).width() < 768) {
if ($('.timeline-content').hasClass('js--fadeInLeft')) {
$('.timeline-content').removeClass('js--fadeInLeft').addClass('js--fadeInRight');
}
sr.reveal('.js--fadeInRight', {
orig... | 018afa11714ebadbad65643842dc9a285476a981 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | lucaspichi06/my-resume | 4c0676e967331f3a880551be35b09ed4a74a6880 | 2b294bed73f6ac7a66d589c2e5c5a54a85771e68 |
refs/heads/master | <file_sep>using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LGRentalMgntSystem
{
class DatabaseAccess
{
#region "Constructor & Distructor"
priva... | d8274225c7a89ee311f0df3817534de3172628dd | [
"C#"
] | 30 | C# | MayurPawar89/RentalMgntSystem | f9714209717e95239166f0387c572ddca3c16ee3 | 2393fdea7323a7feea42dc08ea90a631f7aca481 |
refs/heads/master | <repo_name>robotgoblin/turret-defence<file_sep>/source/Shoot.cpp
#include "Shoot.h"
bool _bullet_queued = false;
int _lua_TurretShoot( lua_State* l )
{
// No arguments are needed
_bullet_queued = true;
return 0; // 0 shows that there are no return values
}
bool BulletQueued()
{
return _bullet_queued;
}
void ... | 4480a17aaff54fb29bdba90d6c848ef2ffecb417 | [
"C",
"Makefile",
"C++",
"Lua"
] | 15 | C++ | robotgoblin/turret-defence | 03af86cdf6bb883eee0dbe356a376326d0716e79 | 5b7c814bd9c93dc4f1ee9eb6292cd44ae21ebf5b |
refs/heads/master | <file_sep>var searchData=
[
['animal_0',['Animal',['../class_animal.html',1,'']]]
];
<file_sep>/*
* Bank.h
*/
#ifndef SRC_BANK_H_
#define SRC_BANK_H_
#include "Account.h"
#include "BankOfficer.h"
#include <vector>
class Bank {
vector<Account *> accounts;
vector<BankOfficer> bankOfficers;
public:
Bank();
void... | d9eaf76f06c3fb28bab0673a6c6e30c981666864 | [
"JavaScript",
"Makefile",
"C++"
] | 56 | JavaScript | margaridav27/feup-aeda | b410abed808d861c97c930bb88d8d4cfa61c3869 | ccb9662be8f86f324ab37d42f8ef4710443fc7f7 |
refs/heads/master | <file_sep>import addAppToHosts from 'Helpers/addAppToHosts';
import removeAppFromHosts from 'Helpers/removeAppFromHosts';
import getAllHosts from 'Helpers/getAllHosts';
import getAppsByHost from 'Helpers/getAppsByHost';
import { IApp } from 'Types';
import request from 'request';
let appWithHosts: IApp;
let appWithout... | 173034a2f6b546f152176cc8b381f9f47e930e47 | [
"JavaScript",
"TypeScript",
"Markdown"
] | 10 | TypeScript | vinaykukke/with-data-processing | ca9acc25d849d52bcaacfbcc820acdfe21a44e34 | f398d28b3e03bfdcbf69a06463dac4825427177f |
refs/heads/master | <file_sep>import json
import datetime
import shlex
import os
import urllib
import urllib2
import urlparse
import random
import string
import logging
import pprint
import distutils.version
import sqlalchemy
from sqlalchemy.exc import (ProgrammingError, IntegrityError,
DBAPIError, DataError)
... | ef2f8d0f801bc6fde071901bb014e108841a14bd | [
"Markdown",
"Python",
"JavaScript",
"HTML"
] | 22 | Python | lynxlab/ckanext-lait | baee73a89ca587c391befaf9a95f070ff77f49ec | 220ccf4e3c0f70a44da2741a3db3a07a24471f2a |
refs/heads/master | <repo_name>TycXdd/CarDemo1<file_sep>/src/main/java/com/qfedu/demo/user/dao/IOrderDao.java
package com.qfedu.demo.user.dao;
import com.qfedu.demo.user.pojo.Order;
import com.qfedu.demo.user.pojo.VOrder;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interface IOrderDao {
... | 924913affd615874a641f62ff99763cd45b9ded3 | [
"Java"
] | 10 | Java | TycXdd/CarDemo1 | a520351d4929f31968a706a9989bb41c33d19bba | a2a143ab810573464a3337ae7be71dfd282d1c70 |
refs/heads/master | <file_sep>package com.xxxx.seckill.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xxxx.seckill.pojo.User;
import com.xxxx.seckill.vo.LoginVo;
import com.xxxx.seckill.vo.RespBean;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public inte... | bd19df021ffe379ecbdb71d7eb3ac5a70c7a91cf | [
"Java"
] | 2 | Java | muggle1997/project_sigma | 83c4d6f6bb91451a6ef73dfb9658a89140490328 | a59a22b30e86ba34711592c762cebf9c83af817d |
refs/heads/master | <repo_name>wrf/map_code_in_R<file_sep>/europe_map.R
# experimentation with world maps
library(maps)
library(mapdata) # needed for Hires ( hi-res )
grayscale = colorRampPalette(c("#999999","#eeeeee"))(4)
png(filename="~/git/map_code_in_R/images/test_world_map.png", width=800,height=400)
map('world', fill=TRUE, col=gra... | 7f1ef8b40811187c1d2b09092fbe9dcae786e9df | [
"Markdown",
"R"
] | 2 | R | wrf/map_code_in_R | db7763a0f849316ae068ec9a757b6bc38ce46dcb | e69cf65e7a8c4776626adc0c53584562aacc9bda |
refs/heads/master | <file_sep> 中文 | [English](https://github.com/cnlon/smart-observe/blob/master/README.en.md)
# smart-observe
[](https://travis-ci.org/cnlon/smart-observe)
[](https://badge.fury.io/js/sma... | d88a2b32bbf91ad8b9c22528882ac132d6c43401 | [
"Markdown",
"JavaScript"
] | 3 | Markdown | J-env/smart-observe | e29c853a4ea744d13a9731524e9e981f0939dca6 | 498abee02b2c353f14e02bcb9a01d9292dd3ac8a |
refs/heads/main | <file_sep>#include <stdio.h>
#include <stdlib.h>
float signF(float t){
if(t==0)return 0;
else if(t>0)return 1;
else return -1;
}
float fFunc(float t, float *xyc, int k){
int i;
int n=xyc[0];
int ncr[n];// = (int*)malloc(sizeof(int)*n);
float tarr[n];// = (int*)malloc(sizeof(int)*n);
fl... | aecbe38c914fc7aff1440640b78adff8e2242d0a | [
"C"
] | 1 | C | infsml/shape_c | 6a0afd572bb16b02910a9f4d1d853e1c2a8756c3 | 2b253b09d774febb03cfd33ddce47ce270f540bd |
refs/heads/master | <file_sep>{% extends 'master.html' %}
{% load crispy_forms_tags %}
{% load i18n %}
{% block Title %}
{% translate 'Password Reset Done' %}
{% endblock %}
{% block Content %}
<section class="container">
<div class="row justify-content-md-center">
<div class="col-md-4">
<div... | 3a1c0299176fc9f6d624d61b91b954b965b09db8 | [
"Python",
"HTML"
] | 3 | HTML | mavenium/Saina | a624713ac02a2609c01d6a3c16a0555d54026a88 | d8a1b6cb588d27fab6a5b59dc3d6b19501d3193e |
refs/heads/master | <file_sep><?php
include 'controllers/update_controller.php';
?>
<div class="row">
<div class="col-md-12">
<div class="card mb-3">
<div class="card-header">
Row Details
</div>
<form class="form-horizontal" method="POST" enctype="multipart/form-data">
<div class="card-body">
<div class="row">
... | edd39053ee72310eec17665ccee7a0485b2cf055 | [
"JavaScript",
"SQL",
"Text",
"PHP"
] | 41 | PHP | markiancastillo/aws-csi | 81869b4b6273d7a584e556fcb8fe78c25e0c8d4c | ba8ebbce0c37784bd384a41895e9be6847a0f86d |
refs/heads/master | <repo_name>deivid7007/deivid7007.github.io<file_sep>/README.md
# deivid7007.github.io<file_sep>/JS/distributor.js
var rejime, canvas, context, radius,dragging, startX, startY, endX, endY, moyseStatus, draggingClear;
$(document).ready(function () {
canvas = document.getElementById('canvas');
context = canvas.getCon... | d0f9c10c4fdedf12d89b48d59468cfe68b1c8a5a | [
"Markdown",
"JavaScript"
] | 2 | Markdown | deivid7007/deivid7007.github.io | 638cb9db09057eea0445f144da4e9c750f8d4f7d | da5ac5c9358fc9c48db47ecf36fff0bd07c4f019 |
refs/heads/master | <file_sep>import React from 'react';
import './search-bar.component.css';
const Searchbar = ({placeholder, handleChange}) => {
return (
<input className="search"
type="text"
placeholder={placeholder}
onChange={handleChange}/>
)
}... | 81a75a890cdcb99ff0f9d590ea162a92a083ff06 | [
"JavaScript"
] | 1 | JavaScript | hardik98/Monster-mania | c197c9802ef7cb8d8574efbc1b37465935c5cafe | 08e5a78b9092b6fc4bac954e7b70c53e018e1262 |
refs/heads/master | <repo_name>jt3k/painless-alarm-clock<file_sep>/lib/segments.js
// full
// |-----------------|
// 0 9
// 0 A- B -C 9 // case 0 A < C && B < C && B > A
// 0 B -C A- 9 // case 1 A > C && B < C
// 0 -C A- B 9 // case 2 A > C && B > A
// | | | | |
/... | 503da88b0f74d32fed806ff1415956c7fa517947 | [
"JavaScript",
"Markdown"
] | 10 | JavaScript | jt3k/painless-alarm-clock | 1c254f22275b684738063833c260d9118a8dc1c7 | 643fb1154d07fd1c1e807b13526b2ac6daede03b |
refs/heads/master | <file_sep>package com.julia.demo2.Entity;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
@Entity
public class Frame {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private int id;
private int roll1;... | 6586fe1319ba379a29caf0db9cd0643d71d37dc2 | [
"Java",
"Text"
] | 6 | Java | julkamaje/1app | ddc0f9bb4b14c2183c697484b6583461482db0f4 | 00700fe9264f56376a2de4bd7ad9b6fb50dbe857 |
refs/heads/master | <file_sep># School project: interfaceTest
Use interface to link different classes together through common behavior.
<file_sep>public class Prism extends Rectangle implements Volumeable{
private double height;
public Prism(double length, double width, double height, String name){
super(length,width,name);
th... | f0f864866e59287afc77c996b5dd1fdf7d600ab6 | [
"Markdown",
"Java"
] | 2 | Markdown | OOYUKIOO/interfaceTest | f116740236461ce54ab9dce4ee69522860ea82bd | 72bffcf0fb5c307dd008d8ca3d01b7016eff7ddf |
refs/heads/main | <repo_name>somuncudayi/open_cv_face_mesh_detection.<file_sep>/main.py
import cv2
import mediapipe as mp
import time
mp_face_mesh = mp.solutions.face_mesh
mp_drawing = mp.solutions.drawing_utils
drawing_spec = mp_drawing.DrawingSpec(thickness=1, circle_radius=1)
cap=cv2.VideoCapture(0)
with mp_face_mesh.FaceMesh(... | 989933f3c643c5f168fd1dccaff7b21efe86254c | [
"Markdown",
"Python"
] | 2 | Python | somuncudayi/open_cv_face_mesh_detection. | daeb6fb68580f68c0bd244071060a2d4ee51db2c | cc53095ca721a64ee738a9558018ad6e5d6b292f |
refs/heads/master | <repo_name>avmalyutin/json-merge-example<file_sep>/js/json-manipulate.controller.js
/* global angular */
(function () {
"use strict";
angular.module("jsonManipApp").controller("jsonManipCtrl", ["$log", function ($log) {
var vm = this;
vm.formatJSON = function () {
v... | e040f407db557c145f5b9d4029c75ca0ea74d82f | [
"JavaScript"
] | 2 | JavaScript | avmalyutin/json-merge-example | 90a3be053a42c59775dc2272bfa21850936aaa27 | acb691e224a307b983fc4f7ff286a79e0212338c |
refs/heads/master | <file_sep>package com.example.training.helloandroid;
import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.provider.ContactsContract;
import android.util.Log;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.Toast... | a6b6034f8069158c9409c5ab992a93bda863f189 | [
"Java"
] | 1 | Java | edenmob/android_training | 8fe1a142ca79ca26a104d9a65c034636228b9560 | d535f4aac8baa1419fceb269a0c1eac823105f68 |
refs/heads/master | <file_sep>class Event < ActiveRecord::Base
belongs_to :tournament
has_many :answers
has_many :bets
has_many :users, :through => :bets
attr_accessible :description, :name, :tournament_id, :expiration_date, :correct_answer, :blocked
def tournament_name
tournament.name
end
def has_correct_answer?
... | 5825117dcc7fbac591a44b0d585b0a6f2632aeeb | [
"Ruby"
] | 8 | Ruby | aszczepanski/betting-system | 096de9aeef27d6c15c9f1a2e9272fae45b9aff63 | 19e38df955c0dd0f3e8d3b0cb07a141718925892 |
refs/heads/master | <repo_name>holmeslinux/jwm-artwork<file_sep>/README.md
# jwm-artwork
Artwork of the Manjaro JWM Community Edition
<file_sep>/PKGBUILD
# Maintainer: holmeslinux <<EMAIL>>
pkgname=jwm-artwork
pkgver=20160311
pkgrel=1
pkgdesc="artwork for jwm"
arch=('any')
license=('GPL3')
url="https://github.com/holmeslinux/$pkgname"
_s... | eca2baed0bb8a7a3c2f62f335bf2a216752e5536 | [
"Markdown",
"Shell"
] | 2 | Markdown | holmeslinux/jwm-artwork | 8fd02bf5c0cfed917ff608113887c3e00caa1ec7 | 4d82280ae170ccfda75c6314ce2844a2d1316d6b |
refs/heads/master | <file_sep>var resultado;
var num1 = 0;
var num2 = 0;
function revealSuma() {
cuadrosDeTexto = '<label>Primer número: </label>' + '<input type="text" id="n1Suma">';
cuadrosDeTexto += '<label> Segundo número: </label>' + '<input type="text" id="n2Suma">';
cuadrosDeTexto += '<button onclick="calcularSumaAPI()... | d50a4e9376fb43750736f838037f29ceed1d56c2 | [
"JavaScript"
] | 1 | JavaScript | AaronCG01/Calculadora-Simple | 51410fb4343dee6bd89b13d699b27e5222797509 | 46e933231c2c3349c2ec9e775a7e72e1847286a6 |
refs/heads/master | <repo_name>imhelle/yii2-xhprof-lib<file_sep>/lib/tests/xhprof_024.phpt
--TEST--
XHProf: Transaction name detecion in layering mode
--FILE--
<?php
function get_query_template($name) {
}
// Test 1: Detection with layers
xhprof_layers_enable(
array('strlen' => 'db'),
'get_query_template'
);
get_query_template("... | 8442b7b68f975e146c348b2fd065cc23d9787eae | [
"PHP"
] | 3 | PHP | imhelle/yii2-xhprof-lib | 2f9706e0239e1732b3065c2715dcfba170fbca5b | 5e2cb8b91b31b4fb0983dad14dfdfa47135b4fe4 |
refs/heads/master | <repo_name>Jiusen/AD<file_sep>/imooc-ad-service/ad-sponsor/src/main/java/com/imooc/ad/dao/AdUnitDao.java
package com.imooc.ad.dao;
import com.imooc.ad.entity.AdUnit;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* @author <NAME>
* @date 2021/2/1 21:04
*/
@Repository
public interface... | 636977147a64f6825a7faa45822e32efde85cef2 | [
"Java",
"Maven POM"
] | 21 | Java | Jiusen/AD | 7f3fe81b08bc08121f98e6e58a0e0ba37aa5d535 | 3608392dfe9851dc9bdbdb27c2fc4fce1547f465 |
refs/heads/master | <file_sep>#include <stdio.h>
#include<stdlib.h>
struct donors
{
char Name[300];
char Age[300];
char Address[500];
char EmailId[100];
char mobile[1000];
char bloodGroup[100];
char Gender[100];
};
int main()
{
struct donors *ptr;
int i, noOfRecords;
printf("Enter number of Donors who w... | 78b64d48e2f4c418cf43eb2278afb6540716f83e | [
"C"
] | 1 | C | Neeraj121296/sumit | 785608255ff58f968f29bf2bee51605793215cd8 | e260d9291470d171bddcde7784859aa806f26ff3 |
refs/heads/master | <file_sep>//
// MapKitViewController.swift.swift
// MAMapKit
//
// Created by <NAME> on 31/07/2018.
// Copyright © 2018 <NAME>. All rights reserved.
//
import UIKit
import MapKit
import CoreLocation
class MapKitViewController: UIViewController {
//MARK: - IBOutlets
@IBOutlet weak var mapView: MAMapK... | bdc2de63cb9a819a6beb1ddbc725c0bb66a00b7f | [
"Swift",
"Markdown"
] | 3 | Swift | Muneebaliarshad/MAMapKit | 8bd01178da421e94c7ce40c479e29c3100195633 | f27b14b4aa019d5399deb3bdc8b04ef832054ce7 |
refs/heads/master | <file_sep>app.factory('vizService',
function ($rootScope, $log, $timeout, $document, userDefaults) {
"use strict";
var service = {};
var _loadedScripts = {};
service.startViz = function (vizSrc, imgData) {
if (!_loadedScripts[vizSrc]) {
$log.info("Loa... | 750210567f3a74ae1f980abf823116a84a450750 | [
"JavaScript",
"Markdown"
] | 11 | JavaScript | torresalyssa/nwviz | 0a7966c09b854c21a7e7691aca7298041fa35cc9 | a54165818419932d4fdae83d688825f38551eda4 |
refs/heads/master | <file_sep># **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+... | da3997bdc869076ae3c628b5d00e8361213a6d66 | [
"Markdown",
"C",
"Makefile"
] | 19 | Makefile | dpromoha/filler | 70fa9ccc3d1fb906bc1bcddcbe7893349234d644 | f825c452fd7c6da514a8d284e49a13c67df07634 |
refs/heads/master | <repo_name>corbtastik/game-logs<file_sep>/README.md
# Retrosheet Game Log kinda fun
## Totes Props to Retrosheet
Original Game Log Field schema is [here](https://www.retrosheet.org/gamelogs/glfields.txt).
## What is this?
Simply stated its just fun with:
* [Kotlin](https://kotlinlang.org) because its compact and ... | 832ef77f8a36cba60f823993354478ba27947122 | [
"Markdown",
"SQL",
"Kotlin"
] | 3 | Markdown | corbtastik/game-logs | 925b7719208bdecac2da95d78948d55f6dee9164 | 286cbd814315ebb73931eabff53b3daabcfbde08 |
refs/heads/master | <repo_name>enimiste/dress-advisore<file_sep>/protected/data/migrations/1_add_last_login_column_users_table.sql
ALTER TABLE users ADD last_login TIMESTAMP NULL;<file_sep>/README.md
# Dress advisore web application
An application to manage our clothes and dresses.
- List all clothes that we have.
- Compose clothes com... | 2eca489f3bf28ecae6dab780063f69e0ecf363a1 | [
"Markdown",
"SQL"
] | 2 | SQL | enimiste/dress-advisore | 00202c29feefe257a22c7010ec6bf7f09a6a92ff | 5eec5396fbb3512257a8374c0e20a3a579498929 |
refs/heads/master | <file_sep>import math
import random
# input1 = persen
# input2 = nama file
# input4 = file training
# input5 = file testing
class divider:
# constructor
def __init__(self, input1, input2, input4, input5):
self.input1 = input1
try:
self.input2 = open(input2, 'r')
self.fileTrainin... | 1f7bd1ded6809f3d607e997aec9a01c5ce72614b | [
"Markdown",
"Python"
] | 2 | Python | jamilsalsabila/mycode | 03878dd6dd23ff7376a917d52bbfc8d01ece24c6 | 201339d7652dfbd89f6efde05205a5f80845eee2 |
refs/heads/master | <repo_name>h243582/yikuaitui<file_sep>/js/toggleClass.js
function hasClass(obj, cls) {
return obj.className.match(new RegExp('(\\s|^)' + cls + '(\\s|$)'));
}
function addClass(obj, cls) {
if (!this.hasClass(obj, cls)) obj.className += " " + cls;
}
function remov... | e863ae57c922c436c9af128b20fd49f59e6d9185 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | h243582/yikuaitui | 4243a758f7609e59db17f887f320ab17593f8f57 | 0a60e58a74f94326e5b34f11d435254b6fd551c3 |
refs/heads/master | <repo_name>sudo4odus/LearnGit-Github<file_sep>/README.md
# LearnGit-Github
this repo is created to practise git and github
<file_sep>/Person.java
public class Person{
private String first_name, last_name, address, phone_number;
private Date birth_date;
public Person(){}
public Person(String fn, String ln, String ad, ... | 0c2e674b5b79139ecd8929474501b77b0792a04f | [
"Markdown",
"Java"
] | 2 | Markdown | sudo4odus/LearnGit-Github | 371af8ce59be916436b5311b14300a48adf75ee1 | 4421bc07c26bdc99b3db473596a7d3969e9d4720 |
refs/heads/master | <repo_name>LittleDevilGames/inari-firefly<file_sep>/src/main/java/com/inari/firefly/physics/collision/Contact.java
package com.inari.firefly.physics.collision;
import java.util.ArrayDeque;
import com.inari.commons.geom.BitMask;
import com.inari.commons.geom.Rectangle;
import com.inari.commons.lang.Disposable;
import ... | 237d0200908f75488125a1df3658a93ba26af650 | [
"Markdown",
"Java"
] | 22 | Java | LittleDevilGames/inari-firefly | da04364474be9b0c2095161ea2e4a30650a555be | 873e883105203ba08c3f1f07052a2b9912117849 |
refs/heads/master | <file_sep># deebot-alerter
Alert me when my deebot starts vacuuming
<file_sep>package main
import (
"encoding/xml"
"fmt"
"log"
"os"
"reflect"
"time"
ifttt "github.com/lorenzobenvenuti/ifttt"
vacbot "github.com/skburgart/go-vacbot"
)
const (
CleanModeAuto = "auto"
CleanModeEdge = "border"
Clean... | 0e1fa65b58ac8f7631b3d96bfa9b06c619e3edd0 | [
"Markdown",
"Go"
] | 2 | Markdown | securingsincity/deebot-alerter | eff531d80526459c9f5228639d480a428ed1857a | 60cf35180d07258b0be5859f6504af3f7fff3117 |
refs/heads/master | <repo_name>GabrielAfflitto/job-tracker<file_sep>/spec/features/jobs/user_deletes_a_job_spec.rb
require 'rails_helper'
describe "User can delete a job" do
scenario "user can delete a job and redirect to company jobs page" do
company = Company.create!(name: "ESPN")
category = Category.create!(title: "W... | c8d5cae7654090a54f9d7c47bbddf9ff64a3b7c6 | [
"Ruby"
] | 10 | Ruby | GabrielAfflitto/job-tracker | bbf140b2982acd4a45c0c2bbbbff3a7a6392ca11 | c58b7a90639b1981a96e9b8aaa30c83ba754ce85 |
refs/heads/master | <file_sep># Cocktail Web Application using Shiny
STA 141B
UC Davis
Spring 2020
<href> https://nikhthota.shinyapps.io/cocktail-web-app/ </href>
This app uses the Cocktail DB API to get information on 595 cocktail recipes. The user can get a random cocktail recipe by clicking the 'Random' button or filter by one of t... | 464095d5b5db867e399a8a9e6baeb56fee7856a5 | [
"Markdown",
"R"
] | 3 | Markdown | nikhthota/sta141b-project | 5a20fe14db6e841411550f78c95460fad5cd174f | 32daeaef7abda3198ed4a564ba3c90e764b7e6ba |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.