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>import "./App.css";
import ProductList from "./components/ProductList";
import {
BrowserRouter as Router,
Link,
Switch,
Route,
Redirect,
} from "react-router-dom";
import { ConfirmProvider } from "material-ui-confirm";
function App() {
return (
<ConfirmProvider>
<Router>
<div c... | fc8d9dfd72ffc464707a77520d3fa1cde38364df | [
"JavaScript"
] | 2 | JavaScript | mvksu/TodoApp | e260235b3d9d1ac8575a267c01e0d99bde9ff49d | 5379db171254c29fffd17c5bf1b06fa557209f9b |
refs/heads/master | <file_sep>#!/bin/bash
#DATE,DAYTOTAL,LASTCONNECTTOTAL
DATA=/mnt/usb/graph/measurement.txt
IFACE=ppp0
HEADER="Date,CurrentTotal,SubTotal,DailyTotal"
if [ -f /mnt/usb/USB_DISK_NOT_PRESENT ]; then
exit -1
fi
calculate() {
DATE=$1
TOTAL=$2
PREVDATE=${3:-""}
PREVTOTAL=${4:-0}
LASTCT=${5:-0}
if [ $PREVDATE == ... | bf3929ee8bf7438ef3a185fa5f8e8f3ecb95fc8d | [
"Shell"
] | 1 | Shell | dromie/measurement | 4409351dc2570ca663d17203e025789f6f6e9af0 | c4c555957e48d0cce384f096877aed838d3737ce |
refs/heads/master | <file_sep>import processing.core.PImage;
import java.util.List;
import java.util.Optional;
public class MinerNotFull extends MinerEntity {
private int resourceCount;
public MinerNotFull(String id, Point position,
List<PImage> images, int resourceLimit, int resourceCount,
... | 0e4b8e1d126f63396b5448a090fcd35c71debc44 | [
"Markdown",
"Java"
] | 5 | Java | mpgiii/CPE-203-Final-Project | 7452e5ed04209ac1fd8d08f0306b70f4f6c524d8 | f240dc32a9b9bc2278cc4f5046b6a3d15357f688 |
HEAD | <file_sep>import turtle
turtle.speed (0)
def drawCircle(x,y,r):
turtle.pu()
turtle.goto(x,y-r)
turtle.pd()
turtle.circle(r)
def MakeCock (x,y,r):
# rgbcol= "#"+str(x//16)+","str(y//16)+str(r//16)
# turtle.colour = str(rgbcol)
if r<30:
drawCircle (x,y,r)
else:
drawCircle(x,y,r)
... | f97e940e46d73684ce31db27340092332b39f917 | [
"Python"
] | 2 | Python | shinigamirei/python-work | 468de13de2213957333a3ed4056f95f6a70aad70 | 8713d8d4df9bc5cc1857424a806bf2647a2af32f |
refs/heads/master | <repo_name>raultelbisz/WordGame<file_sep>/prog6Undortelbi2.cpp
/*
prog6Undortelbi2.cpp
AcrossWord with Undo is a 4x4 grid of letters that originally contains four four-letter words.
The original configuration is then changed by two row and one column rotation, where the
letters wrap around the ends. The user then has ... | 0120e972593ebcd77b2e45e1df26777978ba8f5f | [
"C++"
] | 2 | C++ | raultelbisz/WordGame | 37b116a6a0afcad6ae9129c5bb081c0f0557ced5 | dfc9b98af17c746d32ce18e88911fd2f1eaccf55 |
refs/heads/master | <file_sep>from django.db import models
from django.contrib.auth.models import User
# Create your models here.
class User_Regular(models.Model):
user = models.OneToOneField(User)
isAdmin = models.BooleanField()
class Location(models.Model):
name = models.CharField(max_length=850) # Location name - exampl... | 0a4bf2e0763eb3c161c0cd20bf3b1b49584661c7 | [
"Python"
] | 3 | Python | dkeske/KutijaSajt | 58e8d479cee3ca6c298cd86dee07767f8c7d9c5c | 011591aedcfaa57115f93151592946a1c7967eb8 |
refs/heads/main | <repo_name>LGLTeam/FreeFire-ESP-And-Aimbot<file_sep>/app/src/main/jni/src/main.cpp
#include <pthread.h>
#include <jni.h>
#include <src/Includes/Utils.h>
#include "Hook.h"
#include "Função.h"
#if defined(__aarch64__) //Compile for arm64 lib only
#include <src/And64InlineHook/And64InlineHook.hpp>
#else //Compile for ... | 17d927b6afdaa6ba4bb52bb8204b44fda7ef7e1d | [
"Markdown",
"C",
"C++"
] | 7 | C++ | LGLTeam/FreeFire-ESP-And-Aimbot | d20bf52215d7b21d0af76add4a6d632b735e40da | 1ff9f48a341264328e635cc54ab653db30ff9745 |
refs/heads/master | <repo_name>mrn-i/name_prediction<file_sep>/config.py
import os
basedir = os.path.abspath(os.path.dirname(__file__))
class Config(object):
DEBUG = False
TESTING = False
# Psycopg : Python adapter of PostgreSQSL database
# Adapt Python types to PostgreSQSL types.
# While doing so, database will be co... | dd1a42e68f8c8445f5c0c1926760ee99b9ad3bda | [
"Python"
] | 4 | Python | mrn-i/name_prediction | 3486871ab5e6da95311308216a54258600b45c26 | 07e6f6f2b9ba537a022699273a602a1645b26cdd |
refs/heads/master | <repo_name>retgits/lambda-util<file_sep>/s3_test.go
// Package util implements utility methods
package util
import (
"fmt"
"os"
"path/filepath"
"testing"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/credentials"
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/s3"
... | 76dc1b0189c0d9f1a6393606fff6efb7f16b0aa7 | [
"Makefile",
"Go Module",
"Go",
"Markdown"
] | 11 | Go | retgits/lambda-util | 5c9c71bf61bfef46248e8515b970de500df11e10 | 2d6bdda94353f1fbc0385b134eb95dccd98a78fe |
refs/heads/master | <repo_name>marcofavorito/google-hashcode-2021<file_sep>/Pipfile
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true
[dev-packages]
black = "==20.8b1"
mypy = "*"
isort = "*"
flake8 = "*"
pylint = "*"
safety = "*"
vulture = "*"
bandit = "*"
ipython = "*"
jupyter = "*"
flake8-docstrings = "*"
flake... | a13eaa892661697b585023e3825db7ab26c2ae40 | [
"TOML",
"Python",
"Markdown",
"Shell"
] | 22 | TOML | marcofavorito/google-hashcode-2021 | d12ea986343d27bf531247e7e70e6bea030116fd | e315628293be65f911905e7c041c485431821d4f |
refs/heads/master | <repo_name>dewabe/Jokipo-Veikkaus<file_sep>/jokipo/views.py
# -*- coding: utf-8 -*-
from flask import render_template, session, redirect, url_for, flash, request
from main import app, login_manager, mail, auth
import forms, database, common
from flask.ext.bootstrap import Bootstrap
from flask.ext.login import login_req... | df6162ad7a37388704339bbeecbf58bb04a14d8f | [
"Markdown",
"Python",
"Text"
] | 11 | Python | dewabe/Jokipo-Veikkaus | c34a1682673d2ae1a0d199f94c767fd88c928769 | b3e6388845ba122d0a97500ceb59da04c848fee6 |
refs/heads/master | <repo_name>donrestarone/reinforcing-apr9-methods<file_sep>/word_counter.rb
def word_counter(body_of_text)
input = body_of_text
word_array = input.split
word_count = word_array.count
return word_count.to_i
end
i = "this is a long string that has many words in it that we need to count"
puts word_counter(i) | 240a1909f2d0557adfbbbae00412cf2971bbb57a | [
"Ruby"
] | 1 | Ruby | donrestarone/reinforcing-apr9-methods | 8ecf0b7d3ba4f514a739d897b8378bb7834471f1 | 2d570703640e94896e328a2d8fa5e5f11f6265d5 |
refs/heads/master | <file_sep>
// Main functionality for Hangman-js-game.
// main2.js has:
// - list of possible words to guess
// - choosing one word (with Math.random())
// - starting the game with startGame()
// - getting the letter from input with waitForClick()
// - updating game situation with updateGame()
const words... | 2f2eb16be414c4d27492b5439655480053e2e207 | [
"JavaScript",
"HTML",
"Markdown"
] | 4 | JavaScript | MirikEekkael/JavaScript-Hangman--game | afe56d7de02cf9ccc5e54cd490fea3557b6efe6a | 7358e60017a3a41665fe74ec3cb6bf6f8585af52 |
refs/heads/master | <file_sep>
public class StringManip {
public static void main(String[] args)
{
System.out.println(ConvertToProperCase("john y cc <NAME> hEEEE"));
}
public static String ConvertToProperCase(String strName)
{
String [] names = strName.split(" ");
String retVal = "";
for(int i = 0; i < names.length; i... | fbe55b82fba34453148e988b9c5d67f799c3c8b3 | [
"Java"
] | 1 | Java | wmalquitar23/Java-Projects | 472a9cea38d67b20b84bad8f6a449d7faac38e35 | 74e264bd4f4ba414deb851a7fdfc18cd79591831 |
refs/heads/master | <file_sep># Total of Emissions for Motor Vehicle Sources: Baltimore Vs. Los Angeles (Plot 5)
# Compare emissions from motor vehicle sources in Baltimore City with emissions
# from motor vehicle sources in Los Angeles County, California (flips="06037").
# Which city has seen greater changes over time in motor vehicle ... | 095ebd287979cc71c78d3eba586f4effc8e8c53e | [
"R"
] | 7 | R | josecarlosgt/ExData_Plotting2 | c8a50dc9d21c705f42c532f2931e5e528b29ee5c | 6ae2f206597d15d47b61768094ea98437059863a |
refs/heads/master | <repo_name>PierpaoloLucarelli/CM4025<file_sep>/client/state/player/createPlayer.js
// creating a new player
const createPlayer = (x, y, game, car) => {
if(car == null){
car = "car1"
}
const sprite = game.add.sprite(x, y, car)
game.physics.p2.enable(sprite, false)
return sprite
}
export default createPlayer<f... | 7fde63bbd0ec6c8772f27f31d2359b1d99b6e186 | [
"JavaScript",
"Markdown"
] | 10 | JavaScript | PierpaoloLucarelli/CM4025 | 46b322b1b409393e7b21a5a8fe04d9b50f65ed78 | 0b42b737f88f258ccb118b30bf6f1cbdfdbe156b |
refs/heads/master | <repo_name>Sanmoo/activerecord-postgres-earthdistance<file_sep>/spec/act_as_geolocated_spec.rb
require 'spec_helper'
describe "ActiveRecord::Base.act_as_geolocated" do
describe 'ActiveRecord::Base' do
context "when using .where with a model instance as a placeholder" do
let(:place) { Place.create! }
... | 8d8a357633555cadcd234c504d537e31c89d9e83 | [
"Ruby"
] | 1 | Ruby | Sanmoo/activerecord-postgres-earthdistance | 484e9174bf2cad113baead9d10e241c7dc83cd20 | 765cdb1992aa54cd6282e538b057ebf1b378c505 |
refs/heads/main | <repo_name>kimihiro-abe/Reverse_Order_Generator<file_sep>/README.md
# Reverse_Order_Generator
## 自作「Reverse_Order_Generator - 入力された文字を逆から並べる」
<img src="https://github.com/kimihiro-abe/Reverse_Order_Generator/blob/main/Reverse_Order_Generator_01.png" width="50%">
<br>
### - 序文 -
5月後半の訓練課程でList/Set/Mapやpackageなど学んだので、... | 3fa01b319dd06b292db38ed0a25c39f2ab925500 | [
"Markdown",
"Java"
] | 2 | Markdown | kimihiro-abe/Reverse_Order_Generator | 714574973904c90fa2e532531721e6ea2572d4c3 | 6d46a3247c6c26ff59e748f8f7d008b27526980c |
refs/heads/main | <repo_name>vibhug507/Graduate-Admission-Prediction<file_sep>/README.md
# Graduate-Admission-Prediction
A ML model to predict the chances of graduate admission of a candidate in US based on his/her CGPA,GRE Score,TOEFL Score,University Rating,SOP Strength,LOR Strength and Research Work.
Models Checked :
1) Linear Re... | a5222840abb4ea574438054c8b5cf79fbb4eba02 | [
"Markdown",
"Python"
] | 2 | Markdown | vibhug507/Graduate-Admission-Prediction | ad3f12231a054b5981db1e2a7ace53e4889f3b17 | 1770ea3104968f2e412c7fb696529c159ed49e4a |
refs/heads/master | <file_sep>gstreamer-scripts
=================
Some gstreamer test scripts
09/07/2014
- The linux_rtp_{streamer,player} scripts are the most up to date and current, tested
working on ubuntu 14.04 LTS with gstreamer 1.2.3
Can be used by specifying the ip address of the other host as only argument
<file_sep>... | 95f4aa6fa19ede8b16d2ea1937679898cbe9138a | [
"Markdown",
"Shell"
] | 9 | Markdown | uovobw/gstreamer-scripts | bb23d72a3f6d5286c1b8be251ead438da0653ef8 | 06b58f1a1172831015dfa2c0ccf5a39d5a7843ed |
refs/heads/master | <repo_name>phaneven/moodle-crawler<file_sep>/README.md
# moodle-crawler
scraping lecture links from UNSW moodle
## commond line
command line: casper moodle.js
## use
put username and password into code
<file_sep>/moodle.js
var fs = require('fs');
var casper = require('casper').create({
verbose: true,
pageSettin... | 3d76d44e4362c26a4035aed68917a58e4322c871 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | phaneven/moodle-crawler | d7c5b9ff3122157aeb150e34057f2851c4d1484f | 05538e8d40b6141a111b2745744046a49554cc58 |
refs/heads/master | <file_sep>package com.org.codingexercise.uptake;
import java.util.concurrent.TimeUnit;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import com.uptake.codingexercise.pages.Careers;
import com.uptake... | ad8515d3a5b48f6dc033f66493162f37b3c67c23 | [
"Java"
] | 2 | Java | saideepak18/uptakeexercise | b536ba003939108d67538e2ab765588f1f63fc90 | fbd04e21df0f31ee2b70093061222cb1ae7811dc |
refs/heads/master | <repo_name>mauroere/upload-files-node-react-formidable<file_sep>/README.md
# Upload de imágenes y archivos en React y NodeJs
_Sistema de Upload de archivos utilizando tecnologías React, NodeJs y Formidble. _
## Comenzando 🚀
_Estas instrucciones te permitirán obtener una copia del proyecto en funcionamiento en tu má... | d226748fb4519ec44e2e940d362d3d8f2721d1aa | [
"Markdown",
"JavaScript"
] | 2 | Markdown | mauroere/upload-files-node-react-formidable | e88698eddb39e1965a77e6cc597b98ebbc31945d | 953ecb199358bcc4fdc80ac1e49924bcf9e8049d |
refs/heads/main | <repo_name>adelek0726/adelek0726<file_sep>/README.md
# sync_interns_task_2
Face Mask Detection
<file_sep>/mask_images.py
# Collect Images Wearing A Mask
# import libraries
import cv2
import numpy as np
#import front face detector
face_classifer = cv2.CascadeClassifier('haarcascade_frontalface_default.xml')
... | 4af205d600c0965208ac56f193d247d959b88f51 | [
"Markdown",
"Python"
] | 3 | Markdown | adelek0726/adelek0726 | e9384e2b885d8381a62dc53e3f0dbfec47a544c2 | a603fbb38c0f500718374f6294b4e6a7ae32b397 |
refs/heads/master | <file_sep># Blockchain Data
Blockchain has the potential to change the way that the world approaches data. Develop Blockchain skills by understanding the data model behind Blockchain by developing your own simplified private blockchain.
## Getting Started
### Prerequisites
Installing Node and NPM is pretty straight... | 41c82686e42776d4c0fb5be9d00659cea85560f6 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | linxinzhe/udacity-BDND-web-services | e92647d2e9fe3d741a4d126672982f9e4fe35764 | a0f616b61c42c8ca6a080c7030b0c73c9c9b30d5 |
refs/heads/master | <repo_name>mrkirkmorgan/personal-website<file_sep>/scripts/animations.js
// Ensures that the bobbing arrow disappears when the user isn't at the top of the page
$(document).on("scroll", function() {
var pageTop = $(document).scrollTop()
if(pageTop === 0) {
$(".arrow").fadeIn("slow");
} else {
... | d3eb77a851c0372e0c64f118f969ec833e9e7b2d | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | mrkirkmorgan/personal-website | 7a93803b23bcdd62bd5e757aed932266374fe124 | 441d5d4866abec001fd22982f59090e9a4e9426a |
refs/heads/master | <file_sep>---
title: "Missing value Imputation"
author: <NAME>
date: 29/Nov/2019
output:
html_document:
theme: paper
highlight: tango
toc: true
toc_depth: 3
number_sections: true
---
```{r global_options, include=FALSE}
knitr::opts_chunk$set(echo=FALSE, warning=FALSE, message=FALSE)
library(tidy... | 0fd46a453399a353c4012c31f9adfcabf9711e6a | [
"Markdown",
"Python",
"R",
"RMarkdown"
] | 17 | RMarkdown | xjcjessie/HF_project_code | 34676419090ad42c3486eccc08075e8337815a3a | 300cc446452ec96c01327281c9b422b20afea37b |
refs/heads/main | <repo_name>TanGuangZhi/jqueryDemo-2048<file_sep>/js/animation.js
function showNumWithAnimation(randomPosition, randomNum) {
let numCell = $('#num-cell-' + randomPosition["x"] + '-' + randomPosition["y"])
numCell.text(randomNum)
numCell.css('background-color', getBgColor(randomNum))
numCell.css("color", ... | 1dd549d53ba1adfb600c72eaa3d5349b905d5119 | [
"JavaScript"
] | 2 | JavaScript | TanGuangZhi/jqueryDemo-2048 | 2b0825f44b18307da4edaa6eeb3a0c3b3c906a06 | 5e919058abcbf9b924740210b4ddc292963df76b |
refs/heads/master | <file_sep>#!/bin/bash
#
# twist rake 1.0
# <EMAIL>
# <EMAIL>
#hilfe
if [ -z $1 ]; then SHOWHELP="1"; fi
if [ "$1" == "--help" ]; then SHOWHELP="1"; fi
if [ "$1" == "-h" ]; then SHOWHELP="1"; fi
if [ "$SHOWHELP" == "1" ]
then
echo "take 1.0 usage:"
echo "$0 { [ f | i | l | u | p] | [ pfad/zum/test ] | [ pfad/z... | 5827f8aff340ba61fdf272008015013bdb5b6c43 | [
"Shell"
] | 1 | Shell | twist/take | 7e6e6b7234ad32a8b4f16b463c19c81f7d2741b0 | c22b92bbc834064362b88a8356511f483a045669 |
refs/heads/master | <repo_name>DC-SWAT/DreamShell<file_sep>/applications/bios_flasher/modules/module.c
/* DreamShell ##version##
module.c - Bios flasher app module
Copyright (C)2013 Yev
Copyright (C)2013-2014 SWAT
*/
#include "ds.h"
#include "drivers/bflash.h"
#include <time.h>
#include <stdbool.h>
DEFAULT_MODULE_EXPORTS(app_... | 3f017c2c3a55a2ac783045a23977765862ef4b20 | [
"Ruby",
"Lua",
"Markdown",
"Makefile",
"Python",
"Text",
"C",
"C++",
"Shell"
] | 518 | C | DC-SWAT/DreamShell | f2551e18c06345fed0f5144245d6380203c20fa6 | 8e4310087eb7f8e9bed285b8c66992e4df9c9143 |
refs/heads/main | <file_sep># Project-01 Game Pulse
## Task
The **Game Pulse** project is the first project assignment of the March 2021 cohort from University of New Hampshire's full-stack web developer coding bootcamp.
Create an application that allows users to search the game and display the music playlist for user selection. This ... | d0248093b1e21bd81d7cdd453f63d8ed4f5d88e8 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | UNH-Bootcamp-Projects/project-1-group-e | b764ba56fe70e3a0458df8068c033c8fe23fb408 | 34266e1bfcf189c1f7cfd26fd4a51c902a1d9678 |
refs/heads/master | <file_sep># C_Codes
List -> This contains Ondisk Implementation of List DataStructure. Whatever data is inserted in List is gets dumped in the file. which can be used to create incore list.
<file_sep>#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "st.h"
typedef struct STNode* link;
struct STNod... | eff2dbb2e838ba99adf0d5670e3a76c0a0906b4f | [
"Markdown",
"C",
"Makefile"
] | 12 | Markdown | RajKamal2013/C_Codes | bd04dd0a81b21e64f05b949e0df41595b9040467 | 45cc44840ee0bb83cce6167c9b8c3abe21d7fb07 |
refs/heads/master | <file_sep>//<NAME>
//HW03B
#include <vector>
#include <iostream>
#include <fstream>
#include <string>
#include <algorithm>
using namespace std;
class trainStopData {
friend ostream& operator<<(ostream& os, const trainStopData& rhs);
public:
trainStopData(const string& stop_id, const string& stop_name, double stop_l... | f22b198ef9ae8b971ee99f2d7416be45b6498a0d | [
"C++"
] | 16 | C++ | mattavallone/CS2134-Data-Structures-And-Algorithms | 979a62ab1d20df95947b228f649dab5d5f4f8f28 | 9fefe9178f738129385dbbccd1d9c7b32b633f30 |
refs/heads/master | <file_sep>package com.example.crawler;
import android.app.Activity;
import android.os.AsyncTask;
import android.os.Bundle;
import android.os.Environment;
import android.os.Handler;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.ListView;
import android.widget.Tex... | e2a27778b0d3ea76abe2359f49f5762f2857172f | [
"Markdown",
"Java",
"Gradle"
] | 4 | Java | jingxiongdi/Crawler | f86ba03d980c95a1ab37564db67d78d37dc73313 | 1fc83bcc438ba872b2735ebcc75b62c97a7c06cc |
refs/heads/master | <file_sep>//
// ManagedObject.swift
// Griddle
//
// Created by <NAME> on 6/6/15.
// Copyright (c) 2015 Inlined. All rights reserved.
//
import Foundation
import Eventful
import Firebase
protocol UnsafeYielder {
func yieldUnsafe(val: AnyObject!)
}
public class Property<T : AnyObject> : Observable<T>, UnsafeYie... | 7a1c1ec14f0d36d9b6409ffbd7d5ddd37dfa3a97 | [
"Swift",
"Ruby"
] | 2 | Swift | inlined/griddle | 87a6524c1f0255f3bb0d0cb6c8d78e71870cbe2a | dc93f8392a2bc6ddf7940b5a567f84e79cdf05c6 |
refs/heads/master | <file_sep>setwd("G:\\¡¾Coursera¡¿\\Exploratory Analysis\\W1\\×÷̉µ")
rawdata <-read.table("file:///G:/¡¾Coursera¡¿/Exploratory Analysis/W1/×÷̉µ/household_power_consumption.txt", header=TRUE, sep=";", stringsAsFactors=FALSE, dec=".")
head(rawdata)
Data<-rbind(subset(rawdata, Date=="1/2/2007"), subset(rawdata, Date... | 3cc0728a00757db4b4e8747bf900b6b68d5ac9f6 | [
"R"
] | 4 | R | sabrinaxu/ExData_Plotting1 | 1d5da1dfd1f81473011f4a7347141cf100432351 | 3e0f97492da241453bc3e5b69afce672c70c23a3 |
refs/heads/master | <file_sep>using System.Text;
namespace WHMCS_API.Extensions
{
public static class ByteArrExts
{
public static string ToHexString(this byte[] barray)
{
StringBuilder sb = new StringBuilder();
foreach (byte t in barray)
{
sb.Append(t.ToString("... | 91688a2ee19d1ad490b4628aaa5fe93b5cb0f5d8 | [
"Markdown",
"C#"
] | 8 | C# | PedroCavaleiro/whmcs-api | 2372d9f8bbfa2df9f530aaa5a1e2543a032c0d87 | f06801117ae03aae79ded93e1c5e2035f988284b |
refs/heads/master | <repo_name>Kemoshousha309/budget.github.io<file_sep>/README.md
# budget
application for calculate the budget (html, css, js)
<file_sep>/forEach.js
// var myData = function(name, job, age){
// this.name = name;
// this.job = job;
// this.age = age;
// this.gender = "male";
// };
// // myData.prototype.forEach = fu... | 3bc20401fbb116324b95ce5ceec76c81848b4297 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | Kemoshousha309/budget.github.io | 353de82903cad4d0911d3f0c87a45b3f6fe66eef | e2469a5b1a9708e2fbcc9d158ceb79bde0366156 |
refs/heads/main | <file_sep>all: main.o
gcc -o ./a.out main.o
main.o: main.c
gcc -c main.c
<file_sep>#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <signal.h>
#include <unistd.h>
#include <fcntl.h>
static void sighandler(int sig) {
if (sig == SIGINT) {
// 2 - SIGINT - interupt proce... | 707f0547c54b68a84a44ba1e4de699bc31ba15e0 | [
"C",
"Makefile"
] | 2 | Makefile | jasonjiangstuy/systems-14 | 90fbd0114e076a81aa58586b04dda6b83084a38c | 57013e6a3a4b8fd2beae79097021057d3d75dba1 |
refs/heads/master | <file_sep>const takeNoArgs = (method) => function() {
return method(this.props);
};
const takeFirstArg = (method) => function(arg1) {
return method(this.props, arg1);
};
const methodCreators = {
componentWillMount: takeNoArgs,
componentDidMount: takeNoArgs,
componentWillReceiveProps: takeFirstArg,
shouldC... | f12e3e91867a8c0abb440dc5af82ff6d2c1ae38e | [
"JavaScript",
"Markdown"
] | 8 | JavaScript | jfairbank/react-classify | 37ff06987b7e10cc5980c97f0648791dff488c8d | 8597725c8148e69114747cd7a5b4e5f623747ce0 |
refs/heads/master | <file_sep>
import requests
from bs4 import BeautifulSoup
#response = requests.get("http://www.omdbapi.com/?i=tt3896198&apikey=8aba35e0")
response = requests.get("https://www.drupal.org/project/issues")
responseContent = response.content.decode('utf-8')
filePath = "./issues.csv"
logFile = open(filePath, 'a')
logFi... | a7b89d86aee5dc8627f77a02639cdd9e90916342 | [
"Python"
] | 1 | Python | rewatthapa/Crawling | 6fb770a52b58d1c86e0182001d7184229bf68b33 | 777a7d2ee6ad3f5716c6b326f69065910a72873b |
refs/heads/master | <repo_name>anjanasarath/graviton-ui-web<file_sep>/app/src/components/searchparking.js
import React, { PropTypes } from 'react';
import ReactDom from 'react-dom';
import Autocomplete from 'react-google-autocomplete';
import { Button, Card, CardBody, CardTitle, CardText } from 'mdbreact';
import Styles from '../styles/se... | 8396142625011a12b828c45cd246c87ffc35b1a0 | [
"JavaScript"
] | 14 | JavaScript | anjanasarath/graviton-ui-web | 62be58b8b70164de23609614c062acb4516b8776 | a7ac5fa7099a6c9834ec4960b2f4dab89a8db97b |
refs/heads/master | <file_sep>/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package Servelets;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import jav... | 1bdad44f08c45fa95d652d5c01648309f2c56e82 | [
"Java",
"SQL"
] | 3 | Java | zhimbaya/pronovato-jsp-2020 | 904d146e720a3a51cf7937dfaaf96a71f618e7dc | 24a3c7f808bc4d36e3b05fda8c2f503df57b5db9 |
refs/heads/master | <file_sep>class CreateAuditions < ActiveRecord::Migration
def change
create_table :auditions do |t|
t.string :title, null: false
t.string :monologue, null: false
t.timestamps
end
end
end
<file_sep>get '/' do
redirect '/'
end<file_sep>get '/' do
@auditions = Audition.all
erb :'index'
end
get '... | 87798e2d4990af6f4748d4a94764adc7fea83e07 | [
"Ruby"
] | 3 | Ruby | nyc-bobolinks-2015/ian_crud | bbfb8ab8c4a43b68d1c39d55be85285c1fbd5067 | a9fd33fd4859e33ce6bfe05a77166d650d1eb75b |
refs/heads/master | <file_sep>require_relative('../db/sql_runner.rb')
require_relative('./film.rb')
class Customer
attr_reader :id
attr_accessor :name, :funds
def initialize(options)
@id = options['id'].to_i if options['id']
@name = options['name']
@funds = options['funds']
end
#CREATE one instance
def save()
... | be3819d52e2a3c6790a33d34c7b94a54fa9546c0 | [
"Ruby"
] | 2 | Ruby | just-ally/Week3_weekend_cinema_homework | 09ca6a1fa5ecb210b6c96cbfda0b0b62255b826b | 56925be10886b5ca7fe3bdc0794e9875b5ef4bea |
refs/heads/master | <repo_name>liuzhihangs/security-demo<file_sep>/src/main/java/cn/ipaynow/security/demo/demo/filter/JwtLoginFilter.java
package cn.ipaynow.security.demo.demo.filter;
import cn.ipaynow.security.demo.demo.bean.DbUser;
import com.fasterxml.jackson.databind.ObjectMapper;
import io.jsonwebtoken.Jwts;
import io.jsonwebtoken.S... | 089b096f501cb1dfa76afc743c5932c2dcc3a6b5 | [
"Java"
] | 7 | Java | liuzhihangs/security-demo | 998fa2bab869ccaf1f995c6b3c89088769e078e1 | 82349dd20d487d74f07a61702fea10d668bbda4c |
refs/heads/master | <repo_name>TheNilusss/Test<file_sep>/src/main/java/com/Studium/CutomerService/Controller/CustomerController.java
package com.Studium.CutomerService.Controller;
import com.Studium.CutomerService.entity.Customer;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
i... | 763a69fb7c801da58a2649306081e0a076769903 | [
"Markdown",
"Java",
"Gradle"
] | 3 | Java | TheNilusss/Test | 490a80d73d2edc8110a25f029705691aae09f9be | 6809d1388ab241818c7021779464c18c5eb98d78 |
refs/heads/master | <repo_name>JesseShawCodes/stegato<file_sep>/README.md
# STEGATO
Stegato was created as an application to rate all of your music.
After registering your account, you will be able to search and rate all music that is in the iTunes database. When your rating is submitted, that album is added to your music dashboard.
Cl... | 6dcba5de8039cf1b54426ecd77ef5b60d71c6433 | [
"Markdown",
"JavaScript"
] | 18 | Markdown | JesseShawCodes/stegato | d0e60470fc85a76e5905de6958933fefa1ddd3e1 | 293ffc105cbc15e955e912cd1466270c658468fd |
refs/heads/master | <file_sep><?php
namespace Code\Sistema;
use Silex\Application as ApplicationSilex;
use Code\Sistema\Service\ProdutoService;
use Code\Sistema\Service\CategoriaSevice;
use Code\Sistema\Service\TagSevice;
use Code\Sistema\Entity\Produto;
use Code\Sistema\Entity\Categoria;
use Code\Sistema\Entity\Tag;
use Code... | 8000578d9bdfb884829a710952893f4ed872f584 | [
"PHP"
] | 14 | PHP | thiagovictor/SilexAndDoctrine | 6d4d3cc301d846410bf3d2ac29a6443f78ff81df | 9c6d6c706d061a7ec655cae7060f263d79a8ff09 |
refs/heads/master | <file_sep>package com.stackextend.lombokhelloworld.lombok;
import lombok.ToString;
@ToString
public class ToStringHelloWorld {
private String firstAttribute;
private void doSomething() {
this.toString();
}
}
<file_sep># First Step to Project Lombok Annotations
Find Article here [https://www.... | d39d5f0524f178397c5f2994878bbd5f1676b924 | [
"Markdown",
"Java"
] | 3 | Java | mouadelfakir/project-lombok-helloworld | c83753ddc7a303b869cf5f3e9ded23aacb1c1fe9 | 72253a5b809394560d4afcd7b24e255cdf150a62 |
refs/heads/master | <repo_name>Shuvarov-MD/js-lesson-project-2<file_sep>/point-6/script.js
'use strict';
const div = document.querySelector('#div');
class Greeding {
constructor() {
this.timesOfDay = ['Доброе утро', 'Добрый день', 'Добрый вечер', 'Доброй ночи'],
this.dayOfTheWeek = ['Воскресенье', 'Понедельник', 'Вторник', 'Среда',... | 5b231212f2c982a3729868c11b13209ad990ee2b | [
"JavaScript"
] | 1 | JavaScript | Shuvarov-MD/js-lesson-project-2 | fbd14a9593f27a36ea0181aa281c2ade9867a2ff | 57cdc1a46d565fcf700a7b2d02476e055e70bd40 |
refs/heads/main | <file_sep>using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Audio;
public class UI_Scripts_AudioManager : MonoBehaviour
{
public AudioMixer audioMixer;
public Slider MasterVolumeSlider;
public Slider BackgroundSlider;
public Slider S... | 6c63fd4161374b10295b2319a267522a491d2e7c | [
"C#"
] | 6 | C# | Cooper-Sam/Project-Hunters-and-Hiders | 57480e4b003ecd6b07c9482ea25d6b0baa617b9d | 3a9c10dcab2c6dcc3163502161641417ea57a389 |
refs/heads/main | <file_sep># Common
include some coomon C++ files
| e7095ff2621a36400c46531d39ef06bcfb6f978f | [
"Markdown"
] | 1 | Markdown | QtEngineer/Common | 29ba7eac6bc96b76622b547ded084cef2770f722 | 525332aee5006670368d79857e8a273fc60bcd7f |
refs/heads/master | <repo_name>dlulko/python_programs<file_sep>/Checklist.py
print("Enter activities to complete. If none remain enter: No More")
max_entries = 10
while max_entries <= 10:
max_entries = max_entries + 1
activity = input("Enter Activity: ")
print("Is" ,activity, "finished? ")
answer = input("Yes or No ")
if ... | 2fc504a81c7893d676c6b325ab5c3ce4ce8bbce9 | [
"Python"
] | 1 | Python | dlulko/python_programs | b378656ae91938ea52d3894a8a2abddf06ddd727 | 750ec9cf7ce076d742e8c60f8fd08a11502d764a |
refs/heads/master | <file_sep>let fs = require("fs-extra"),
ini = require("ini"),
pathSep = require("path").sep,
httpProxy = require('http-proxy');
let cloudMap = {
test1: { },
test2: { UrlSource: 3 },
qa: { UrlSource: 4, ManualUrl: "http://cep.eu.veri.ericssoncvc.com" },
};
cloudPorts = {
test1: 8088,
test2: 8089,
... | 1c8adf2fa274e14cfbb35b3397ac1aea1a7413d0 | [
"JavaScript"
] | 1 | JavaScript | shorinji/set-cloud | ecae142ef7ab900ff86660eedc0fccab3ea7864a | b27bc75254466de7efab750990ad0ded431458a6 |
refs/heads/master | <repo_name>staciaarifin/BNCC-Academy<file_sep>/app/src/main/java/com/example/bnccapplication/NameClass.kt
package com.example.bnccapplication
class NameClass {
}<file_sep>/app/src/main/java/com/example/bnccapplication/MainActivity.kt
package com.example.bnccapplication
import androidx.appcompat.app.AppCompatActivity
... | 617c91d2c18a3e8e19ee4aa1518cb2a1c2e019eb | [
"Kotlin"
] | 2 | Kotlin | staciaarifin/BNCC-Academy | d8d34f399a5a01b12f66e52aeeb1f81e35f50f84 | fd1e635d0177ad7816eb38564351fde807d61d86 |
refs/heads/master | <file_sep>package at.linguathek.spelling;
import android.annotation.SuppressLint;
import android.content.ClipData;
import android.content.res.Resources;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.DragEvent;
import android.view.MotionEvent;
im... | 302fe32586a4c748b866472adb116be5af8445b0 | [
"Java"
] | 2 | Java | flokaroni/spelling | 105a298257fb732a4d539b69777819f3d05b1986 | 16fc8dc18a181b318aca95d8ed006672ea1e3f05 |
refs/heads/master | <file_sep><?php // Connects to your Database
mysql_connect("localhost", "root", "root") or die(mysql_error());
mysql_select_db("jef5ez_winer") or die(mysql_error());
//Checks if there is a login cookie
if(isset($_COOKIE['ID_my_site'])){
//if there is, it logs you in and directes you to the members page
$pass... | 70de2dc4246d1164c4ab4a55cd8c89b38f67db21 | [
"PHP"
] | 7 | PHP | jef5ez/winer | 31c8134d3c863dad3d2e0a5c795ce47ada7b1921 | 60ad4c307bd49de7db02bcb95f081ef24df744eb |
refs/heads/master | <repo_name>b2w-atech/bart<file_sep>/src/index.js
require('dotenv').config();
const express = require('express');
const app = express();
const axios = require('axios');
app.use(express.json());
app.use(express.urlencoded());
const urlHelpers = require('./utils/url');
const competitors = require('./constants/competi... | 5ba34e6df390f54112642c4af2ebc8b734933e56 | [
"JavaScript"
] | 1 | JavaScript | b2w-atech/bart | 1a79118c327e9bfbba4167b6313c64cf03b4b975 | 5a43fadb95cabceaf24dfd8715768bbedc935c98 |
refs/heads/master | <file_sep>boto3==1.9.124
requests==2.21.0
<file_sep>#!/bin/bash
set -e
DISABLE_LIST="W0613,C0111,W1202,W1308,C0103,R0801"
echo "Linting Lambdas..."
pylint --disable=$DISABLE_LIST src
echo "Testing Lambdas..."
python -m pytest --cov=src test -W ignore::DeprecationWarning
if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then... | 2528e28c223019a3d3edadcd0dbafc50e627ff46 | [
"Markdown",
"Python",
"Text",
"Shell"
] | 11 | Text | developerDemetri/lambda-utils | d2afa4e185f77655bb4b297024107ae94926d952 | 405ed75c3c2fc56d6ac088712b1aef449fb2ee89 |
refs/heads/master | <repo_name>svagionitis/random_insert<file_sep>/detail/node.hpp
///////////////////////////////////////////////////////////////////
// //
// Copyright (c) 2006, Universidad de Alcala //
// ... | f639b23e812e6665b1c1933b9066e1437822cf56 | [
"Markdown",
"Makefile",
"C++"
] | 10 | C++ | svagionitis/random_insert | 6f56b7919006f21a2a686accbbf133320f221220 | 20a5ede5ef6eb468d63651cd3dd058662f178fc3 |
refs/heads/master | <file_sep>#!/usr/bin/python
# Copyright 2012 Google Inc. All Rights Reserved.
#
# 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.apache.org/licenses/LICENSE-2.0
#
# Unless required... | 866e42046c2d81b041aaaa6e2d152344447a2907 | [
"Markdown",
"Python",
"JavaScript"
] | 16 | Python | AppScale/crisismap | 758f0befbdbbc0eb2621fdaa2d250afd84d8829b | ad887d5dbfa19ad7a9139cbdde64838d3eed35f3 |
refs/heads/master | <file_sep>require "pry"
class Song
@@count = 0
@@artists = []
@@genres = []
@@genre_count = {}
@@artist_count = {}
attr_accessor :name, :artist, :genre
def initialize(name, artist, genre)
@name = name
@artist = artist
@genre = genre
@@count += 1
@@artists.push(artist)
@@... | 8d41d23343010c22b5c7fa9bb294f0abb08a98c2 | [
"Ruby"
] | 1 | Ruby | mttwright/ruby-class-variables-and-class-methods-lab-online-web-pt-090919 | ecc5a4704136d0f71812e25c02d2d41ee117bc65 | af9160aed698969cec64403d856f7d653ecbadaa |
refs/heads/main | <file_sep>//
// ExploreController.swift
// Twitter Clone
//
// Created by <NAME> on 06/06/21.
//
import UIKit
class ExploreController: UIViewController{
// MARK : - Properties
// MARK : - Lifecycles
override func viewDidLoad() {
super.viewDidLoad()
configureUI()
}
... | 6647e543d43b711d087f085b3f20d5e3e912dcb3 | [
"Swift"
] | 4 | Swift | IOS-HACKS/Twitter-clone | 380799919e6190de548e3a0c29b53b31525f45e5 | 77b8975320c45f5ecdb64faf16c42a05e4da7e0c |
refs/heads/master | <file_sep>(function() {
var global = global || this || window || Function('return this')();
var nx = global.nx || require('next-js-core2');
var isObject = function(target) {
return typeof target === 'object';
};
nx.deepEqObject = function(inObj1, inObj2) {
if (inObj1 === inObj2) {
return true;
... | c9820a6a6268864b5adceff50d8fb83b8e6d0208 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | afeiship/next-deep-eq-object | 259c7ad822ebf46154bae8c4e996121d4cd327fa | e20ac230068fa47793434d5bc2a94cb1ca78e32c |
refs/heads/main | <file_sep><div class="product-card">
<div class="card-img-container">
<img src="./images/img.png" alt="img" />
</div>
<div class="card-content">
<h1 class="main-header"> <?php echo $item["product_name"]; ?> </h1>
<h2 class='second-header'> <?php echo $item["product_title"]; ?> </h2>... | 10dad4cb2024400c575f332e732eaa1f1aaeb61f | [
"Markdown",
"JavaScript",
"PHP"
] | 6 | PHP | bojanstojmenovski/products_php | 083e2df58eafaa2103a5020833bc874926c1e3d0 | 307ff69a2918c4e2417235d6faacbfe77e1eb9bd |
refs/heads/main | <file_sep>package com.elltor.demo.conf;
import com.elltor.demo.service.MyJsonService;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.boot.context.properties.EnableConfigurationPrope... | 5200990c7f4680ca12fecac99d896006ff355b72 | [
"Markdown",
"Java"
] | 3 | Java | elltor/springboot-starter-demo | 6a45ea6f9976dc55e2779d88ecae701b3e2b67bd | b73bcc5e87cae01e7a42783c3211a638f866be59 |
refs/heads/master | <repo_name>somecat1996/Classifier<file_sep>/CNNClassifier_jpg.py
import tensorflow as tf
from tiffReader import *
ModelPath = "./jpg_CNN_1"
TrainRate = 0.8
# 输入为[批大小,宽度,高度,深度]
# -1代表自动处理当前大小
INPUTSHAPE = [-1, 96, 72, 3] # 输入形状
# 第一层卷积层输入形状为[批大小, 96, 72, 1]
# 第一层卷积层输出形状为[批大小, 96, 72, 32]
FILTER1_NUM = 32 # 第一层滤波器... | a8cddeddebe5a8ada2c7f6925f92736f4be8fbbf | [
"Python"
] | 2 | Python | somecat1996/Classifier | 76f028ba63d0cfe87a4e543d7d57f0f35d05264e | 7b1ba36d48d938bfe47433dd89d2080d41c759ba |
refs/heads/master | <repo_name>shrikrushnazirape/sppu-se-DSAL-Assignments<file_sep>/code/21286_Assignment03_code.py
class matrix:
# function for taking single matrix input which takes row and column parameter and return a single 2D matrix
def getone(self,r,c):
mat=[]
for i in range (r):
sub_mat=[]
... | e58f70a2708a898a669b4bfbc442d0b8d63fb79f | [
"Python",
"C++"
] | 13 | Python | shrikrushnazirape/sppu-se-DSAL-Assignments | c166c6b75bd5f5294d5a9e4370e9c3bb79591c35 | 4f43f61490a9e2bb38a7660a05f0c3d5acdc2ac9 |
refs/heads/master | <file_sep>class ChangeUserTypeToOrder < ActiveRecord::Migration
def up
add_reference :orders, :user, index: true
end
end
<file_sep>class Product < ActiveRecord::Base
has_many :users, through: :order
end
| 95361a4bfdaae83a90f17e36d36e770268267118 | [
"Ruby"
] | 2 | Ruby | chelbig/capitalisimo | f66d69bbf5679d3f68d9d1733074c3f969fbabfd | b215be3ceff710a5a918cb7577ed99c87c20c37f |
refs/heads/master | <file_sep>$(function() {
$('#flash').delay(100).fadeIn('normal', function() {
$(this).delay(2500).fadeOut();
});
});
function showhide() {
var divParam = document.getElementById("vulnParamschart");
var divCmd = document.getElementById("divCmd");
var elem = document.getElementById("paramBtn");
... | f990ea7cb96498a7be09a741b4600dbd9f19efde | [
"JavaScript"
] | 1 | JavaScript | HolyChute/VisualFi | d98fb438402d768d2bcf1ab86b80dc4712bf6c88 | 762501d229d743c94ade79faac28ef4d90a7f1e8 |
refs/heads/master | <file_sep>import React from 'react';
import MDX from '@mdx-js/runtime';
const components = {
h1: props => <h1 style={{ color: 'tomato' }} { ...props } />,
Demo: () => <h1>This is a demo component</h1>,
};
const mdx = `
# Hello, MDX Runtime!
Why can you not resolve your package?
<Demo />
`;
export default () =>... | af81318924f2945018c721bc56e2430eabc17f71 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | Dangeranger/mdx-runtime-error-nextjs | 7c5dd019beabab2d12fe413167d91462f2b87544 | 75c94b70e63466e1e90998d5bffa856e8c2753b3 |
refs/heads/master | <repo_name>HanLee/sitecore-checker<file_sep>/sitecore-checker.py
#!/usr/bin/python
import sys
from sys import version_info
import urllib2
collection = {
'Accessible debug URLs': ['/sitecore/debug/default.aspx'],
'Accessible web service URLs': ['/sitecore/shell/webservice/service.asmx'],
'XML files can be downloaded (... | b9eda3452c7f0005cd8c1b4082425d52f5a4363b | [
"Markdown",
"Python"
] | 2 | Python | HanLee/sitecore-checker | 5465606d6fa86f1c362b56ab5fec768112195180 | 8b79ab41ac305b6abe9576a6ca87652b72cc339d |
refs/heads/master | <repo_name>NCNecros/PolisViewer<file_sep>/src/sample/Controller.java
package sample;
import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableValue;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.event.EventType;
import javafx.fxml.FXML;
import javafx.fxml.Initial... | 01fea4460f57e9afd117066ab49f17b326e41425 | [
"Java"
] | 3 | Java | NCNecros/PolisViewer | b60c28d866c0aed2f74e6e4d8cb6a8641dba3d37 | cd5d60e4f2ca2150d866eb4f968e2a5ed3b5b4d2 |
refs/heads/master | <file_sep>using MultilingualXFSample.ViewModels;
using Xamarin.Forms;
namespace MultilingualXFSample.Views
{
public partial class ChangeLanguagePage : ContentPage
{
public ChangeLanguagePage()
{
InitializeComponent();
BindingContext = new ChangeLanguageViewModel();
... | 0696545d3f07ab837b2c9712f1c1985b175612ee | [
"C#"
] | 3 | C# | johanssonviktor/MasteringMultilingualSample | 523002f1fcd63161a93504e2e20ecdb09642a5ba | 94e966cc29327e0f9c873d96b6a9cb7eee00e013 |
refs/heads/master | <file_sep>using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using StudIS.DAL;
using StudIS.Models.Users;
using StudIS.DAL.Repositories;
using StudIS.DAL.Tests;
namespace StudIS.Services.Tests
{
[TestClass]
public class StudentServicesTests
{
private INHibernateService _nhs;
... | 04fa368661e3c2494a1b38fa0ce0bf10b7a4f195 | [
"Markdown",
"C#"
] | 74 | C# | zelbar/oo-projekt | b78cf8782323912a4fa8150907d00433267bf638 | 84fa85dceba7bcb63450fe1f80c87cfbdad581ec |
refs/heads/main | <repo_name>ndadashi62/QuizApp<file_sep>/app/src/main/java/com/example/quizapp/MainActivity.kt
package com.example.quizapp
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import android.widget.Toast
import com.example.quizapp.QuizQuestionsAc... | 0c135307982d4a5d75ef6577272a78f6a948f2b0 | [
"Kotlin"
] | 3 | Kotlin | ndadashi62/QuizApp | 741b83564a5c33431ba440c217a9e816f6931977 | b1862a7923ae158d9af88ae5dc3a958b74351f9f |
refs/heads/master | <file_sep>from pig_util import outputSchema
#
# This is where we write python UDFs (User-Defined Functions) that we can call from pig.
# Pig needs to know the schema of the data coming out of the function,
# which we specify using the @outputSchema decorator.
#
@outputSchema('example_udf:int')
def example_udf(input_... | 619664c1eeb1f4416d37af24928da00271d8860a | [
"Python"
] | 1 | Python | pombredanne/github-sna | a9be83de43be677b3ec6fd1ba701c35c025c5888 | 12aab3aa587449c903c08b1a69ddf24f7d5605d1 |
refs/heads/master | <file_sep>package anz.services;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.security.core.userdetails.User;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.stereotype.Service;
/**
* Concrete implementation of {@link A... | 1f52fedbdc4cead456dadbd9ef0919e480f9609a | [
"Java"
] | 10 | Java | leigh-whiting/anz-institutional | 47adba48b40016965e09158cf64e6109c54c47dc | 2bce0e17f3f1a3e1c979c6f67d3b3186a9cfe2c9 |
refs/heads/master | <repo_name>Jzhengel/minimumEditDistance<file_sep>/MED.py
import numpy as np
import time
start =time.clock()
def mini(delete,insert,keep):
if delete<insert and delete <keep:
return delete,"delete"
elif insert<delete and insert<keep:
return insert,"insert"
else:
return keep,"k... | 662de6ed7f0511f2e542c22ec16f784660a68f22 | [
"Markdown",
"Python"
] | 2 | Python | Jzhengel/minimumEditDistance | 84f13b38bf095780d95fe1e9519bd9b1467b3f11 | 3a7986c0ca3b4d97df7439a76a82397807720a4a |
refs/heads/master | <file_sep>$( document ).ready(function() {
$('div:has(img[alt="www.000webhost.com"])').css("display","none");
});
| 2b92f56f2434a504ecacd7946d74c31d9675c7dd | [
"JavaScript"
] | 1 | JavaScript | skt0501/programfactory | 8ccd5fdcabd3f9deec4307070e769b3cdd0f0f37 | ed78bdca28f266399083beb0b1a05154cd27da74 |
refs/heads/master | <repo_name>AOTeam/BaiBaoDai<file_sep>/README.md
# -
百宝袋项目
<file_sep>/百宝袋/FistType.h
//
// Created by apple on 15/11/24.
// Copyright © 2015年 zhangzhimin. All rights reserved.
//
#ifndef FistType_h
#define FistType_h
typedef enum FistType
{
FistType_jiandao = 1,
FistType_shitou = 2,
FistType_bu = 3,
}Fi... | 4970737e7d220ee6a17060bb1a56f50d9dff7c34 | [
"Markdown",
"C"
] | 2 | Markdown | AOTeam/BaiBaoDai | 7b8418f3629586e7f3c9c04f7f1e6c1b06576ea0 | 3d1bdd56e652700dbc96babb616dc78a46f3ba77 |
refs/heads/master | <repo_name>hujiejeff/blog<file_sep>/app/Http/Middleware/Activity.php
<?php
/**
* Created by PhpStorm.
* User: hujie
* Date: 17-7-12
* Time: 下午6:53
*/
namespace App\Http\Middleware;
use Closure;
class Activity
{
public function handle($request,Closure $next)
{
if(time()<strtotime('2017-07-01')){
... | e0d540ae6b2a40486b721703da18268eae4e86a7 | [
"SQL",
"PHP"
] | 12 | PHP | hujiejeff/blog | 886353e31266f370ce7060c7cc8e4d8a3a64a29d | d570af545b5bb9d83b3e1573b6763744d5820fe9 |
refs/heads/master | <file_sep>## About Tracker VueJs System
Tracker VueJs System is system to mange projects and tasks and handle users based on Laravel frameworke & Vuejs.
## How to Setup the system
- Clone the system.
- Copy .env.example & rename it to .env.
- Create new database.
- Connect with your new database.
- Migrate database... | 458d8c3ae508d585a974ea6c63178e05864f189c | [
"Markdown",
"PHP"
] | 2 | Markdown | ma7salem/tracker-vue | 4062e893f515c769d7df6be2385b4e9fa4bbdb52 | f3f004727cf992b29b8fbae86a06b263156a4372 |
refs/heads/master | <repo_name>robin7654/BA<file_sep>/src/CollectedData.java
import java.util.HashMap;
import java.util.Map;
public class CollectedData {
private int actionPreFlop;
private int playerBB;
private int cardRating;
private int wasRaisedBySomeoneElse;
private int button;
private int potSizeAtPreFlop;
static Map<... | 872bcfe5bef92ae630897461dd552e5aca77e4a0 | [
"Java"
] | 5 | Java | robin7654/BA | c54ed3be50c6fc2c2b41de3e6ad2b138c70371a9 | dfd53ce166077b2dcf0a2bf67a52f80b4a472990 |
refs/heads/master | <repo_name>Claudiagari/calculadora-react<file_sep>/README.md
# Calculadora
Realizar una calculadora utilizando React y Redux.
## Desarrollo
* Usando create-app de React se implementó el repositorio.
* Se creo los componentes necesarios y el diseño.
* Se fijo el state inicial ,las actions y funciones.
* Una vez defini... | 0f762219bd6d4d1cfffdcd0befa5d7bbe9ae918b | [
"Markdown",
"JavaScript"
] | 3 | Markdown | Claudiagari/calculadora-react | 05ae60bdccd2c51bfb035304451bc9b9fbdaf2f6 | e73bb1be3d08db0dfaeed02f4bac53a0bc8e4008 |
refs/heads/master | <file_sep>class Chassis:
def logon(self, password:str):
return "C_LOGON \"{0}\"".format(password)
def logoff(self):
return "C_LOGOFF"
def setOwner(self, name:str):
truncated_name = (name[:6] + '..') if len(name) > 8 else name
return "C_OWNER \"{0}\"".format(truncate... | 669c30b46fefd8b20f3457c34263bb2e4d0d2adc | [
"Markdown",
"Python"
] | 4 | Python | hyuxenanetworks/l47-api | d2287b1b1d499b89c42d15e6e244125d3d7c407d | 20948f6bafaafaa4c254362ed36917135d3ac70e |
refs/heads/master | <file_sep><?php
declare(strict_types=1);
namespace hiqdev\billing\hiapi\plan;
use hiqdev\DataMapper\Attribute\JsonAttribute;
class PlanReadModelAttribution extends PlanAttribution
{
public function attributes()
{
return array_merge(parent::attributes(), [
'data' => JsonAttribute::class,
... | c05d670920956ff2e36f669f9fab6d863b7d746e | [
"Markdown",
"PHP"
] | 156 | PHP | hiqdev/billing-hiapi | e8d9155f1e62d2f7eef87cbaa09edebd6868dce4 | bacdf8d38e1d13ecfb412d162c7799d58f8f2df6 |
refs/heads/master | <repo_name>arwagner/GettingAndCleaningData<file_sep>/README.md
This tidy data set was assembled for the course project for the "Getting and Cleaning Data" Coursera class. This includes measurements from the data described at http://archive.ics.uci.edu/ml/datasets/Human+Activity+Recognition+Using+Smartphones , which is ... | c621b16f3ee0bb4ff322529168c712f18443621d | [
"Markdown",
"R"
] | 2 | Markdown | arwagner/GettingAndCleaningData | 7a8a410f7d4578afd9054ddee5663649c7db7c07 | bcdd37624ea73bc8a3f7d21cf56365f50ae430d5 |
refs/heads/master | <repo_name>djsime1/scraps<file_sep>/future.py
from math import *
import time
import graphics as gr
win = gr.GraphWin("f u t u r e",500,500,False)
win.setBackground("black")
msg = "welcome to the future"
ml = []
r = 0
def ez(w,h,o,v=0):
global r
x = w*cos(radians(r+o))+250
y = h*sin(radians(r+... | e6f5c559472924a8ff5ff6218a48489675602bd3 | [
"Markdown",
"Python"
] | 6 | Python | djsime1/scraps | 20fa7e4a57774151fa952bedf9d4df948827386f | 1e1abe4715b0e8726c8e4805fedcf65d61940839 |
refs/heads/master | <file_sep>using UnityEngine;
using System.Collections;
public class DemoScript : MonoBehaviour
{
//Unity Inspector variables
public string InputText = "Your Right to left text here...";
public RTLService.RTL.NumberFormat NumberFormat = RTLService.RTL.NumberFormat.KeepOriginalFormat;
public b... | bbe5d0c2eaeaee04502ce2b9bf2b5cb234bf319f | [
"C#",
"Text"
] | 6 | C# | jameskelleher/ArabicGame | cda2623ae00b4453a9c30c11b7c6d494a5eea91a | 880141461f9863f729f2904f45beefc984f6b2b1 |
refs/heads/main | <file_sep>/**
* Face recognition to detect user's emotion
* and check if the user is concentrated
*/
var app = new Vue({
el: '#app',
data: function() {
return { visible: false }
}
})
var emotion = null;
var isHere = true;
var isConcentrated = true;
const video = document.createElement("video... | b92732e3cc83a673b32f5267f70e29c65c68309e | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | shawPLUSroot/fOoOcus | 0a318a6cb9cc02a1306ff589d6da0e4348b6f88b | 6daec5a1af9de7d5463a0d7f1d9c6834f801b97f |
refs/heads/master | <repo_name>xaviibaez/Android-Data-Base-SQLite<file_sep>/app/src/main/java/com/example/pc/mecagoenmismuertosv5/PreferenciesColors.java
package com.example.pc.mecagoenmismuertosv5;
import android.content.SharedPreferences;
import android.os.Build;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity... | 522c03504f29a279a8e03212e6ef7df4517b7f6f | [
"Java"
] | 10 | Java | xaviibaez/Android-Data-Base-SQLite | 86d6fda876a97393a8bed711389f88f5692d46e1 | 6fa5f8d740eaf1dbdcbb9138dc0fd296d28160ff |
refs/heads/master | <file_sep>class User < ActiveRecord::Base
# Include default devise modules. Others available are:
# :confirmable, :lockable, :timeoutable and :omniauthable
devise :database_authenticatable, :registerable,
:recoverable, :rememberable, :trackable, :validatable
before_create :check_domain
enum role: [:b... | f5af872b903d4473508aa73baa177e72b8d0695c | [
"Ruby"
] | 3 | Ruby | ankita-agrawal24/role_based_system | 7cb0c0a43edc25ca94fcb7aebd9a84983703e7aa | 5b30983ba581e024628b2bc4c0bc3e0b839a957d |
refs/heads/main | <file_sep>from finviz.screener import Screener
import finviz
import threading
import alpaca_trade_api as tradeapi
skey = "Insert Secret Key"
apiKey = "Insert API Key"
apiEndpoint = "Insert Endpoint"
api = tradeapi.REST(apiKey,skey)
watchList = [
"TSLA","AMD","NVDA","XLNX","MSFT","NFLX","SPY","AAPL","DIS","FB","NIO"... | ec2c0723453060d9fa2e759250876d8cb1ccf5f2 | [
"Python"
] | 1 | Python | nickrr7001/SMA20-Trading-Bot | 5d181b6d607a7e31d8ae6a3a089c7c5138de6766 | 9a89fb635d6736319619b011acc0953a66420a31 |
refs/heads/master | <file_sep>**<NAME> Personal Project**
# PyMC3 Examples `pymc3_examples`
##### 2019Q4
Experimental models to demonstrate `pymc3` capabilities.
Where suitable, I will submit these Notebooks for inclusion in the
[pymc3 documentation](https://docs.pymc.io/nb_examples/index.html)
Note:
+ Each Notebook is designed t... | bf1cd04d883b93d93f08aa5a8463c263c8bc0303 | [
"Markdown",
"Shell"
] | 2 | Markdown | jonsedar/pymc3_examples | a17997460bfe158667db2b53f2f36cf9647388cd | e552d930c87731c04c1be0aa8007ae2e26d8816f |
refs/heads/master | <repo_name>utsargo/utsargo.github.io<file_sep>/_posts/2015-10-18-আমি-এক-যক্ষ-মহানগরীর.markdown
---
title: আমি এক যক্ষ মহানগরীর...
date: 2015-10-18 00:00:00 Z
tags:
- গানবাজনা
layout: post
comments: true
---
আজকে আড্ডায় বসে হঠাৎ এক স্মৃতিকাতরতায় পেয়ে বসল। প্রসঙ্গ ভূপেন হাজারিকার গান। মনে পড়ে গেল এক স্পিকারের প্যানাসনিক... | 0fa8cae7bb5201e36f13eaaa2ceec3470d3dea4f | [
"Markdown",
"JavaScript",
"HTML"
] | 31 | Markdown | utsargo/utsargo.github.io | bfd23e5213e37e4dd46d25e6fc499229d9cd08e7 | b8ca67c82b0a7b0dba29b4be436e10d7f0007d51 |
refs/heads/main | <file_sep>import { AccountService } from './../../@app-core/http/account/account.service';
import { SpeechRecognition } from '@ionic-native/speech-recognition/ngx';
import { Component, OnInit, ViewChild, Output, EventEmitter } from '@angular/core';
import { AlertController, Platform } from '@ionic/angular';
@Component... | 65ed66113feed012c6ce5c1604627250643c18de | [
"Markdown",
"TypeScript"
] | 167 | TypeScript | PATITEK/Kito-App | 94f360c3d6198d4a7d8ced5fcf1b5bfd4bb3fec0 | 4679711501ad31915ffd9540c8653e0e9ae6d37e |
refs/heads/master | <repo_name>duxuyang/map<file_sep>/README.md
# 微信小程序 地图天气
地图笔记
调用百度地图
天气
<file_sep>/pages/map/map.js
// pages/map/map.js
var bmap = require('../libs/bmap-wx.min.js');
const app = getApp();
var wxMarkerData = [];
Page({
/**
* 页面的初始数据
*/
data: {
latitude:'',
longitude:'',
winHeight:'',
sugData:[... | faaa2955aaa7373dc4d1bca2d3a0752aa7f40d0a | [
"Markdown",
"JavaScript"
] | 2 | Markdown | duxuyang/map | 701b15cec1d240fe7a591c3b0fc44936756ee39a | 697271ba8db47b98cc769ca2a0cc9326dbf6c859 |
refs/heads/master | <file_sep>package com.github.mrdynamo.Project_4;
public class FTableException extends Exception {
public FTableException(String s) {
super(s);
} // End constructor
} // End FTableException
<file_sep>Data Structures
CS 341-02
Fall-2020
Programming project 4 for class.
To implement ADT Frequency Ta... | 163a34dde47cea6079d6c3a4a9e4e6ab788eb5dd | [
"Markdown",
"Java"
] | 6 | Java | MrDynamo/Data-Structures_Project-4 | ca1cf0b66d892aabe5651cfc2ed378562845f569 | d97d146d0cefb8e722bc402ff3009a38d3c31b93 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.