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>const admin = require("firebase-admin");
//dotenv module is required to parse the environment variables into json format
require("dotenv").config();
//parsing the environment variable into JSON format
const serviceAccount = JSON.parse(process.env.GOOGLE_CREDS);
//snippet required for initialization
admin.i... | 9ee51322d0d6be9fac54ac284cf818ef2cc0cfc7 | [
"JavaScript",
"Markdown"
] | 8 | JavaScript | Neyen108/Alumni-Management-Server | 1b4709c21bc7c5dbd58ad4ddfb1a9d8de80c8d3b | a583d10ebb07307acb1fb200eceee22881d6bd04 |
refs/heads/master | <file_sep># Optional
In this tutorial I will discuss about the [java.util.Optional](https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html), which was introduced in java 8.
To understand java.util.Optional fully we need to understand
- [What is Optional](./README.md#What-is-Optional )
- [Why to use Option... | ca1664b57968ce7525459fb79882cd231a97a1fb | [
"Markdown",
"Java"
] | 10 | Markdown | techgurukulbharat/stream | f16ac7ac75b1fb96c8531ad2e088ff28cb394340 | 322561c1f38ead87a4ff795482ff224a92f974e7 |
refs/heads/master | <file_sep>import time
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.common.keys import Keys
#1
driver = webdriver.Firefox(executable_path="C:\\geckodriver\geckodriver.exe")
driver.get("http://www.ynet.co.il")
driver = webdriver.Chrome(executable_path="C:\\... | d1d0a6b062d1c08aafe65d6e4c6deb65a457331e | [
"Python"
] | 1 | Python | liorberi/automation | f2e2be02ea23e03b174199834286b4f622532ab1 | b73bd181d40a87ae3b670164a21ab07e7f5cb847 |
refs/heads/master | <file_sep>f1-utils
========
retrieve_stats.py
-
Retrieves F1 GP results for any event
Usage:
#### Get specific session
```sh
$python retrieve_stats.py 2013 Spain qualifying
```
Will return JSON-encoded results for the 2013 Spain Quailfying session:
```javascript
{"2013": {"Spain": {"qualifying": [{"Q1": "1:21.913... | 4857c4047b9fa0e2f0637580976daff2034f26f6 | [
"Markdown",
"Python"
] | 3 | Markdown | lotas/f1-utils | b853f1bff6c98782ac0f40876116b6815eada2cc | a946fcddbf38c1b1a4a28ab8a679ba01aa97b987 |
refs/heads/master | <file_sep># QueryEvaluateTechniques
Term-At-A-Time and Document-At-A-Time (AND, OR with both)
<file_sep>import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.InputStreamRead... | edbe032bb370dcd6b739d97a83258d3bb3afbedc | [
"Markdown",
"Java"
] | 2 | Markdown | programmerspoint8/QueryEvaluateTechniques | 79e98b1771de7b60e56475c813f30827e16ba739 | 59b569c9e4f65ab9b53dca68eacb891d1cf2590d |
refs/heads/main | <repo_name>AtomicBlom/MLEM<file_sep>/MLEM/Input/KeysExtensions.cs
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework.Input;
using MLEM.Misc;
namespace MLEM.Input {
/// <summary>
/// A set of extension methods for dealing with <see cref="Keys"/> and <see cref="Keyboard"/>
///... | 82eb1f4cac1c57d02a07e36e7f3b85a08ba9cc52 | [
"Markdown",
"C#",
"Python",
"Lua"
] | 77 | C# | AtomicBlom/MLEM | bb189261d7e301da78ac3c5a78bb66aa8a50b629 | fba53dccf9498cb612a0fb19e5c8443d9bc64b15 |
refs/heads/master | <file_sep># MSHS-Department-Volumes
Processing Department Volume Data for Labor Productivity report generation
<file_sep>library(dplyr)
#-----------ED Hours
Hours <- function(){
#aggregate ED Hour file by day to get total daily ed hours
raw <- readxl::read_excel(file.choose())
Date <- as.Date(raw$`ED Arrival Tim... | 1be49d31e89e709c3c555e3dca6fc6f39c3ffe2b | [
"Markdown",
"R"
] | 4 | Markdown | MSHS-OAO/MSHS-Department-Volumes | 1e43b9ac22d00a712685900443901cb1bc9f5514 | 4c902860f183ba1e771ae3ba21d1ec97358510e7 |
refs/heads/master | <file_sep>package com.zamkovenko.time4child;
import android.Manifest;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.pm.PackageManager;
import android.os.AsyncTask;
import android.preference.PreferenceManager;
import android.support.v4.content.ContextCompat;
import and... | 6a91609fef48366da16c636a21b76ad8c411702e | [
"Java",
"Gradle"
] | 14 | Java | YuliyaSubbotovskaya/app | 3a738abbfcf7dbf93fe9a6dc42d843d4ed301b6c | 243db0e787af2904d13a68b06bbe5d16317b334d |
refs/heads/master | <file_sep><img alt="React Native Map Card View" src="assets/logo.png" width="1050"/>
[](https://github.com/Paraboly/react-native-map-card-view)
[) {
echo "<script>window.location.href = 'devoir (2).php';</script>";
}
?>
<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<meta charset="UTF-8" />
<title>Login and Registration For... | 51aa837b5dd1c5d3f046d7d186f784f1480b2747 | [
"PHP"
] | 7 | PHP | jouahibou/evaluation | da7e241392f3f9839253bd341c6c804a741cbdd5 | a67e3d2d2e8ec7dc35acd8c57450c81c2854abb0 |
refs/heads/master | <repo_name>enricorusso/sha2017-abusemail<file_sep>/script.sh
declare -i pos
pos=5
tshark -r file2.pcap -T fields -e usb.capdata | cut -d: -f1,3 |
while read a
do
if [ "$a" != "" ]; then
h1=`echo $a | cut -d: -f1`
h2=`echo $a | cut -d: -f2`
if [ "$h2" == "38" ]; then
echo -n "/"
fi
... | 825d5b5e3950318597e9a5eb914a76510c1e9c9a | [
"Python",
"Shell"
] | 2 | Shell | enricorusso/sha2017-abusemail | b67b0ef12e65e5a48511b210101126fadc5766ce | 0c69ac2bd1b587879580c6bd31e58e0301d286c0 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using SampleWebBlog.Models;
namespace SampleWebBlog.Controllers
{
public class MahasiswaController : Controller
{
static List<Mahasiswa> lstMhs = new List<Mahasiswa>()
{
... | bbf097937c5decc53909c661f693b9948bd4f647 | [
"Markdown",
"C#"
] | 2 | C# | ilhamfn4/ASPMVCBootcamp | c4664b82446d8994d6c0e5303f707ce97f475dda | bf5fce702a0c796815be6c4e9f6d2668f4cd8ea9 |
refs/heads/master | <repo_name>jabouzi/MovieListMVVM<file_sep>/app/src/main/java/com/raywenderlich/wewatch/component/AppComponent.kt
package com.raywenderlich.wewatch.component
interface AppComponent {
}<file_sep>/app/src/main/java/com/raywenderlich/wewatch/viewmodel/MovieViewModel.kt
package com.raywenderlich.wewatch.viewmodel
import a... | 7e2e29f8accd34cf203a0c162d555277e0c5b455 | [
"Markdown",
"Kotlin"
] | 6 | Kotlin | jabouzi/MovieListMVVM | 2d89ca0cd56a965a71ced74d83dcdd5006a98481 | b54eb6634519a8993cc7bfc5e7f5f47b86b1ef4e |
refs/heads/master | <file_sep>"""Discover Cambridge Audio network audio player."""
from . import MDNSDiscoverable
# pylint: disable=too-few-public-methods
class Discoverable(MDNSDiscoverable):
"""Add support for Cambridge Audio service."""
def __init__(self, nd):
"""Initialize the Cast discovery."""
super(Discov... | 4ba252839bfc6bac5d010ea6033580305bdafb4b | [
"Python"
] | 1 | Python | ChristianKuehnel/netdisco | 983ad164d1dde438c512aa99f3f4271abd81392e | 8659d3e1a34ea5c5ba9ecf3b177d4a7907055888 |
refs/heads/master | <file_sep>instabackup is a quick hack to back up your instagram stream. I put it together in 20 mins. It's raw. I don't care.
Run it, and it'll download all the photos from yuor instagram feed into the current directory, named with the upload date and title. It won't re-download files that already exist, so you can sa... | b3b6bdcc2bea5bf3245f3e00a94c8078828bd62c | [
"Markdown",
"Python"
] | 2 | Markdown | tominsam/instabackup | 0c1c3ac50cb992d541fb4cbfda16877879323954 | 122291a99b83f116909fcc2ff6d4f28587c8d82c |
refs/heads/master | <repo_name>dcchivian/kb_mash<file_sep>/lib/src/us/kbase/kbmash/MashSketchResults.java
package us.kbase.kbmash;
import java.util.HashMap;
import java.util.Map;
import javax.annotation.Generated;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fas... | c52a3b40747be70de5662fee27c86280c93edfba | [
"Java",
"Python"
] | 4 | Java | dcchivian/kb_mash | acba9d72dbf7e5a35ae5ea4abaef34ad22c6826b | 0803f6a4721d83819d3670b3f0e0ecc306f58d65 |
refs/heads/master | <file_sep># Cache Simulator
Assembler for the Mano Machine designed in Cedarville's Computer Architecture class.
## Hardware Requirements
Your system must support at minumum version 4.3 of OpenGL. To see if your computer is supported, check your hardware and driver version using the following links:
- [Intel](https:/... | 41ab4fa2006eca91d40997a8e7fcb3d64fd2f004 | [
"Markdown",
"C++"
] | 5 | Markdown | Jaynard2/CacheSimulator | 16fb6dcb70e63ceadbd3701a20c8e1bd6c818db9 | 838be2c63fcf498fe9a9d40ef76796d0d3c6ad62 |
refs/heads/main | <repo_name>xadorfr/bind9-to-cloudflare<file_sep>/env.sample.php
<?php
$cfEmail = ''; // account cloudflare email
$cfKey = ''; // global api key : https://dash.cloudflare.com/profile/api-tokens
$cfAccountId = ''; // visible in the url of account homepage https://dash.cloudflare.com/56465416841... => take the 5646541684... | 760538e26e6ffa2461cb46d82c804f118dfb1c84 | [
"Markdown",
"PHP"
] | 5 | PHP | xadorfr/bind9-to-cloudflare | d8c201866edfa400d8125e3e03db37b85f14061f | f7a9976a74352b18f52835c732d0427200b6aad6 |
refs/heads/master | <repo_name>AlaaAlsayyed/UserManagement<file_sep>/UserManagement/Models/SearchUserModel.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace UserManagement.Models
{
public class SearchUserModel
{
public string name { get; set; }
public s... | 02c0534cfecbc2da803611daaeab9eee3885d81c | [
"C#"
] | 3 | C# | AlaaAlsayyed/UserManagement | 4d6114380d2d4837c321704beac3ed14e897ae0a | 4c0f75a2a39dd9302c506a87b8a1c80ba888aa63 |
refs/heads/master | <file_sep>/*
* ******************************************************************************
* Copyright 2014-2016 Spectra Logic Corporation. 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. A copy of th... | 72054e57148f6c4fd7c2e82edde33a0b1e94f2a7 | [
"C#"
] | 11 | C# | rpmoore/ds3_net_sdk | 73a754e7db2e4007600665b0d568fec47ed074dc | 4a8d31c7e4fba231eab644929635fbc571947bcc |
refs/heads/master | <repo_name>boyInFocus/faceDetector<file_sep>/FaceDetector/DLog.h
/*!
* @file DLog.h
* @author <NAME> <<EMAIL>>
* @version 1.0
* @Created by Justin on 2017/1/11.
* @section DESCRIPTION
* Define the log format
*/
//#ifndef UvcTest_DLog_h
//#define UvcTest_DLog_h
// DLog(@"here"); or DLog(@"value: %d", x);
#... | fdf36991026ddb1b4436ba87fa20433fff3208af | [
"C"
] | 1 | C | boyInFocus/faceDetector | 3e40bf07f8f6ff0a5e13a1f585ade5f9005e8716 | 1f4796f19b30b66015cc95955aed7af47ba48c3c |
refs/heads/master | <file_sep>computer_please_do_you_happen_to_know_the_time_please_thank_you_meow
==========
Aliases "computer_please_do_you_happen_to_know_the_time_please_thank_you_meow" to "now" in the Time and DateTime classes.
Examples:
Time.computer_please_do_you_happen_to_know_the_time_please_thank_you_meow => the current time
... | 42f249dada700627d1a36fc613dae35ff9095e29 | [
"Markdown",
"Ruby"
] | 4 | Markdown | coleww/computer_please_do_you_happen_to_know_the_time_please_thank_you_meow | 659a01f112b961852b32cb42b0f763d7966909d1 | 5b03ea83df53da71ff991dc9fcf165e59b59d1a0 |
refs/heads/master | <repo_name>storify/sweetpotato<file_sep>/static/js/script.js
/* Author:
*/
var pFilters = [];
function getDate(dateStr) {
var d;
dateStr = (typeof dateStr == 'undefined') ? '' : ''+dateStr; // Make sure it is a string
if(dateStr.length > 3 && dateStr.substr(10,1)=="T") {
dateStr = dateStr.substring(0,19).... | cf7f101c6a682ba0a95cb49dd121819cb1b3c7ad | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | storify/sweetpotato | a565afce565707ad53f01388848b7901092f0c80 | b07cdee5bab0e064e5d1f3a8fc35d6944846fa39 |
refs/heads/master | <file_sep>import Vue from "vue";
new Vue({
}) | d4b2740a04cd8242eafaa513815377e8aeb45484 | [
"JavaScript"
] | 1 | JavaScript | FarinaYasmin/laravelvue_authentication | 14b65d3d9b855ce3780145f13dc37368208c841e | 67a75a852beccd945f51683893ac08c6d0213bcc |
refs/heads/master | <repo_name>iRaphi/Tr0llCMD<file_sep>/src/me/iRaphi/tr0ll/tr0ll.java
package me.iRaphi.tr0ll;
import java.io.IOException;
import java.util.ArrayList;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.Effect;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.Sound;
import ... | 0a65f096b94d9d1e44b646f20c84dc085a35a610 | [
"Markdown",
"Java"
] | 4 | Java | iRaphi/Tr0llCMD | e13b08789c849e30213ac25463f53694ba40b3ce | 90f0cb949bd0aaf991e1da666e15a9e76f95b315 |
refs/heads/master | <file_sep><?php
namespace Hiraeth\Sentry;
use Hiraeth;
use SlashTrace\Sentry\SentryHandler;
/**
* {@inheritDoc}
*/
class SentryHandlerDelegate implements Hiraeth\Delegate
{
/**
* {@inheritDoc}
*/
static public function getClass(): string
{
return SentryHandler::class;
}
/**
* {@inheritDoc}
*/
pu... | 4ca6a170e1537a18467c1bafcdf2bea113296743 | [
"Markdown",
"PHP"
] | 3 | PHP | hiraeth-php/sentry | c789c4163e10ec00c14bdbf7a4916811ce5a8630 | 20efd5eebb1ea63353b93b33968787e11bc8523b |
refs/heads/master | <repo_name>Youssouf/statsbibliotek<file_sep>/src/com/company/Main.java
package com.company;
import java.util.ArrayList;
import java.util.List;
public class Main {
public static void main(String[] args) {
// write your code here
int[] tenInteger = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10};
int[][] h... | 91a6bc7bb380e4fab2932fe5ced3a388e2da56d1 | [
"Java"
] | 1 | Java | Youssouf/statsbibliotek | e0986fb22f13158db3b3f62670cb840973cb5942 | af03ed121e685ba672b06760ca10cd93b0caf904 |
refs/heads/master | <repo_name>Charlene717/Getting-and-Cleaning-Data-Course-Project<file_sep>/run_analysis.R
#FINAL PROYECT
# -------- Step1 ----------------
#Merges the training and the test sets to create one data set.
## Fist we have to download the zip file an then unzip it.
if(!file.exists("./data")){dir.create("./data")... | 29da45123ade533d02e4d8fea601866895d8f3af | [
"Markdown",
"R"
] | 2 | R | Charlene717/Getting-and-Cleaning-Data-Course-Project | a159d118a23ced4ac99d5fd6fbfdeadd07c8bad0 | 35ce9308aa6db2823902cc698fba42329983ba65 |
refs/heads/master | <repo_name>Auston/codeeval<file_sep>/Split_The_Number.py
import sys
def split_the_number(text):
if '+' in text:
n_str, s_str = text.split(' ')
index = s_str.find('+')
return int(n_str[:index]) + int(n_str[index:])
elif '-' in text:
n_str, s_str = text.split(' ')
index = ... | c3f47209c6dec4ae6fd683e191630207e5b0c437 | [
"Python"
] | 25 | Python | Auston/codeeval | 996a18c33f54fd212915f82daf51874a20029207 | 5ac8be78e696aaa6fd58065d2ccded9dec872fea |
refs/heads/master | <file_sep># Jogo da velha em React
Projeto acadêmico
<file_sep>class Quadrado extends React.Component {
constructor (props){
super (props);
this.state = {
value: props.value,
};
console.log(props)
}
render (){
return (
<button
... | dbebc1cac578bd3d31c0cc04900cc803b3397e9d | [
"Markdown",
"JavaScript"
] | 2 | Markdown | leandrosabatini/jogoDaVelhaReact | eba18179005e0584ce390ebf0706d745595eb9be | cef1461b508fbc65db5382d2b41ba8680b1f8b55 |
refs/heads/master | <file_sep>// ConsoleApplication15.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream>
#include <locale.h>
using namespace std;
int main()
{
setlocale(LC_ALL, "rus");
int n;
do
{
cout << "Введите номер задания = ";
cin >> n;
if (n == 1) {
cout << "1... | cfa2560f4fcba3068d0e50e70f309300987547a8 | [
"C++"
] | 1 | C++ | MeushRoman/array1ht | a566b4d3d94713d0a8883e26335c906889432814 | c7f10440d71b358f0cea3ce2d06738ffff058bcd |
refs/heads/master | <file_sep>package com.example.arturmusayelyan.swipetabs;
import android.annotation.SuppressLint;
import android.os.Bundle;
import android.support.v4.app.FragmentTransaction;
import android.support.v4.view.ViewPager;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AppCompatActivity;
import androi... | da8de694656b60d38f70e4bbf1ba2e42b889f11f | [
"Java"
] | 1 | Java | musayelyan/SwipeTabs | 4cdeae7e76496f5608603f7da780c035a7c61aae | df49f110763f844e2fc4227162364ffe61d9aa0a |
refs/heads/master | <repo_name>lindsaywilhelm11/FS1000_Exercises<file_sep>/scripts/provincePageContentScript.js
//this script serves up the appropriate content depending on which province the user decides to browse
//finds all the tags I'd want to change with this script
let dynamicElementsp = [];
function findAllTags (){
dynamicElem... | 79ec9dd484654fda76d3a90b16a544926bbb759d | [
"JavaScript"
] | 1 | JavaScript | lindsaywilhelm11/FS1000_Exercises | b14c113fadfcdae19340abe894f832924f7af36e | 5bd90f00bf96e417b9775e7793c6e6e2b9c8d041 |
refs/heads/master | <file_sep>package assign3;
import static org.junit.Assert.*;
import org.junit.Test;
public class SudokuTest {
@Test
public void testToString() {
Sudoku sudoku = new Sudoku(Sudoku.mediumGrid);
String mediumGrid =
"5 3 0 0 7 0 0 0 0" + System.lineSeparator()
... | 8a723dbda1be8f2576fc3f2ad94d8e4a5b3428db | [
"Java"
] | 3 | Java | bbeltran1234/Stanford-CS-108 | 8023b57d839052f7a7500b7dcb7abc9656dedb60 | 7d69ecf16b6033395b242b7c6379797b93d1bd90 |
refs/heads/master | <file_sep>#include "Ray.h"
// Default Constructor
Ray::Ray()
{
}
// Constructor
Ray::Ray(const Vector3& a, const Vector3& b) {
A = a;
B = b;
}
// Get Origin
Vector3 Ray::origin() const {
return A;
}
// Get Direction of Ray
Vector3 Ray::direction() const {
return B;
}
Vector3 Ray::pointAtParameter(float t) cons... | ada24f137b3f28923c8724c97adf77c90d52129c | [
"Markdown",
"C++"
] | 18 | C++ | Torquelus/RayTracingTutorial | 1a8aa5c477fdc4463644654e8f3761ed2aa2fbd7 | 685bbc2da53efbeb9033ac6dcb8915c7e9dfc809 |
refs/heads/master | <repo_name>banyancheung/ibos-linux-install<file_sep>/ibos_install_sh/res/extra.php
<?php
if (isset($_SERVER['argv'])) {
$params = $_SERVER['argv'];
array_shift($params);
$shellScript = $params[0];
$mysqlPassword = $params[1];
list($execId,) = explode('_', $shellScript);
if (!empty($execId)){
... | 5f3122d2772f1902c36f890c9c71170f440ea230 | [
"PHP",
"Shell"
] | 6 | PHP | banyancheung/ibos-linux-install | e19d6621c90a3be1edd68c8d7ca9d853d9cecfec | 1495f3fd3d50d8b33dd2051501b338c704fe28de |
refs/heads/master | <repo_name>DrMegahertz/pygments-style-railscasts<file_sep>/pygments_style_railscasts/__init__.py
# -*- coding: utf-8 -*-
"""
railscasts
~~~~~~~~~~
Port of the railscasts color scheme for Vim.
Based upon the work of <NAME> and <NAME>.
:copyright: Copyright 2011 <NAME>
:license: BSD, see LICENS... | 60c8a8b963bd17a77e1b5f10a6ccd19c4249ff9b | [
"Python"
] | 1 | Python | DrMegahertz/pygments-style-railscasts | 0d6c21acbe98cd63a5d26c567973f5340f556436 | cbf05ed27a838f84967be3a9df11595322e329f9 |
refs/heads/master | <repo_name>lucascr91/nabokov_0.0.1<file_sep>/nabokov.py
import tkinter as tk
from tkinter import ttk
from PIL import Image, ImageTk
root = tk.Tk()
root.geometry('600x400')
root.resizable(False, False)
root.title('Nabokov 0.0.1')
root.mainloop()<file_sep>/README.md
# Nabokov 0.0.1
 #暑假结束时间
summer_holiday_start = datetime.datetime(2017, 7, 8) #暑假开始时间
now_time = datetime.datetime.now() #现在的时间
today = datetime.dat... | 571434fe8e8ee1451473fe3b16a57d2227716c2b | [
"Python"
] | 1 | Python | evvil/my-boring-python | 0677db8ce43edd8eaefbbbb114535121c1eb1648 | 9f2a4f95638f12ae3709e26227ee21b3359354b3 |
refs/heads/master | <repo_name>lazyp/js_checker<file_sep>/js_checker.js
/**
*@author <EMAIL>
*/
(function() {
/************************************内部变量、对象**************************************/
var _emailRegExp = /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+((\.[a-zA-Z0-9_-]{2,3}){1,2})$/,
_urlRegExp = /^(http|https):\/\/.*$/;
/***... | 49d28aabb5c28eb10fa9e7937bf2cbc7ea9624aa | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | lazyp/js_checker | 1083f0e10a72322ee38c191a3faf9df683572367 | 9564cc1a02fa181cebd584a12075a7291a682269 |
refs/heads/master | <file_sep>import datetime
import os
import shutil
from pathlib import Path
print('This Script will back up a valid source file path: ')
print('The program works by copying the input directory to a specified destination path: ')
source_path = Path(input(' Please enter the source c:file path: '))
if not source_path.exi... | a4ac3a9d8543a21057bcbcb2b219fdcc5e58ef04 | [
"Python"
] | 1 | Python | mxg0633/Python-Scripts | 273d6d23990bf8ff4bcc4716af5ea8ad87293470 | 94664d34e0939248fbd5528390b280da1812bb30 |
refs/heads/master | <repo_name>stoleS/startit-ar<file_sep>/startit-ar/Assets/vb_anim.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Vuforia;
public class vb_anim : MonoBehaviour, IVirtualButtonEventHandler {
public GameObject vbBtnObj;
public GameObject canvas;
public Animator sphere... | 2ce6019bf07f49e388fff632e23a7876d7e6d83c | [
"C#"
] | 1 | C# | stoleS/startit-ar | 31c67a0b9fcc4323640fc6c16c8c844040732481 | 1a1c5b278249fc829f46b6dde2d7f9128c97c048 |
refs/heads/master | <file_sep># Following tutorial found
# https://medium.com/nybles/create-your-first-image-recognition-classifier-using-cnn-keras-and-tensorflow-backend-6eaab98d14dd
from keras.models import Sequential
from keras.layers import Convolution2D,MaxPooling2D,Flatten,Dense
# Initialize the CNN
classifier = Sequential()
class... | b9b9aa6660af9ef532ede47f4a5e4151165da118 | [
"Markdown",
"Python"
] | 5 | Python | wfath/Plant-Classifier | 28057352910eee0776cc38e672e57844136470a2 | 70d7ee4b325864cf49f34875ab635f621e6c0058 |
refs/heads/master | <repo_name>a1exweb/default-start<file_sep>/gulpfile.js
const gulp = require('gulp');
const cleanCSS = require('gulp-clean-css');
const jsmin = require('gulp-jsmin');
const htmlmin = require('gulp-htmlmin');
const tinify = require('gulp-tinify');
const rename = require('gulp-rename');
// Сжатие css файлов
gulp.... | 9e83ae9fb4356d5452bc2f1554bd370b171c58da | [
"JavaScript"
] | 1 | JavaScript | a1exweb/default-start | 274c49a7dbe407db5b882d10f1cadfc3d26416d3 | 9bfd7efb92730b94080834d9c5f4cbe0d984acd5 |
refs/heads/master | <repo_name>OdioALouise/interactive<file_sep>/public/javascripts/app/libs/app.js
define(['text!views/templates/index.html'], function (Index){
console.log('Todas las librerías cargadas y listas.');
$('div#main-container').html(_.template(Index, {app_name: 'Interactive'}));
});
| fbfeba86799d4b7a3f8297ce3e62b4378a545a29 | [
"JavaScript"
] | 1 | JavaScript | OdioALouise/interactive | 7cdb9857048dd26ed21493ebd0a3ef156352ad61 | 7e0f10c6151de5b41d9b44be0aab0ea432bb4bba |
refs/heads/master | <repo_name>dreamindustries/telegraph-automation<file_sep>/routes/light/index.js
'use strict'
var driver = require('./lightsdriver')
var _ = require('lodash')
var Lights = new driver.Lights
var areas = require('./areas')
var makeInputMatrix = function(){
var matrix = []
for (var x=0;x<16;x++){
var d2 = []
... | ebf90a3efb6e8c1405e75f27ca088b7c772d3d9f | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | dreamindustries/telegraph-automation | cd04d6b430f9edcbc8c23ac5d9e93bfac8cac190 | 013b521b0f9c431f431616c3103e39d87c5beeda |
refs/heads/master | <file_sep>from multiprocessing.dummy import Pool
from service import ClttService, PhoneService, UserService
from verificationUntils import Chaojiying, CrackTouClick
from model import BaseInfo
# 超级鹰用户名、密码、软件ID(需要注册)
CHAOJIYING_USERNAME = 'XXXXXX'
CHAOJIYING_PASSWORD = '<PASSWORD>'
CHAOJIYING_SOFT_ID = 'XXXXXX'
CHAOJIY... | ecefcd8a0d47f9fd5bcc1d2092ef5ac0fd4c972c | [
"Markdown",
"Python",
"Text"
] | 6 | Python | ahaox/clttsign | ef3b5e5805e03cfe093da83b0773209191f98627 | 58070441cfdedd6f220a2dac9e0854af9c3386f9 |
refs/heads/main | <repo_name>leigangjian/C-language<file_sep>/pa chong .c
#include<stdio.h>
#include<math.h>
#include<windows.h>
#include<time.h>
#define U 0.1
#define V 0.053
void SetColor(unsigned short ForeColor, unsigned short BackGroundColor)
{
HANDLE hCon = GetStdHandle(STD_OUTPUT_HANDLE);
SetConsoleTextAttribute(hCon, (ForeColo... | ec6247b83a70264ea6ccb791adecf6e4e229de58 | [
"C"
] | 1 | C | leigangjian/C-language | cf08d0fa6ceae2e1b5bf394dd07e4a41ca12bbda | 1191964941333710b95fc9957a8576db344c1e35 |
refs/heads/master | <repo_name>megilangr1/CafeAllegra<file_sep>/application/views/Admin/main.php
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>AdminLTE 2 | Top Navigation</title>
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=de... | afb6e4ab0dde8f7755e39d76bbe969a5d7306b5a | [
"SQL",
"PHP"
] | 47 | PHP | megilangr1/CafeAllegra | ef3ed151a9df571b501c5889f9f79a888574393b | 9ee6db0ab594d3bef27290b4d2fe4b02c6ba644a |
refs/heads/master | <repo_name>mmehta18/my-first-blog<file_sep>/blog/models.py
from django.db import models #these add other files to this existing one
# Create your models here.
from django.utils import timezone
class Post(models.Model): #class means that we are defining an object
author = models.ForeignKey('auth.User') #the model... | 73faa76a15b6536d24b79cb51dcf48d95247a537 | [
"Python"
] | 1 | Python | mmehta18/my-first-blog | 62c22d7ace3b61f020befd52e245f1d6aaee2eb8 | b0595792d5307281be8669eb86b5842309b74a00 |
refs/heads/master | <repo_name>mobile32/RSS-Reader<file_sep>/RSS Reader/DAL/IRSSrepo.cs
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RSS_Reader.Model;
namespace RSS_Reader.DAL
{
/// <summary>
/// Interface reposytor... | d3b55c043282c05a650dda02282d61714c5c034d | [
"C#"
] | 8 | C# | mobile32/RSS-Reader | aff374b4b1c46a332be21b4b8aa8f6bcf2084fca | 3ec4d9e1287c0137216ce897201e6ace60505bd9 |
refs/heads/main | <repo_name>simpledimplejohn/career-quiz-styling<file_sep>/README.md
JUST A PLACE TO TEST BOOTSTRAP STYLING<file_sep>/js/scripts.js
$(document).ready(function() {
console.log("works");
$('#radio-form').submit(function(event) {
event.preventDefault();
const q1 = $("input:radio[name=q1]:checked").val();
co... | 9ef6b163b060094d63f32a71958fcd19ea23ae80 | [
"Markdown",
"JavaScript"
] | 4 | Markdown | simpledimplejohn/career-quiz-styling | 5c687dd4b6714539dc812c2cd26dbe5c8b2c0fa5 | 9e738ea1939d9d6b7473441e6135699cb2aee0f7 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Threading;
using System.Net.Sockets;
using System.Net;
using System.Runtime.InteropServices;
using System.IO;
us... | 9ffb4247578d4df861d83e97d389f1e8bc8a4b83 | [
"C#"
] | 1 | C# | Shahrukh931/WifiPCRemote_Server | 65aa3d9519fcb33ea7ce44476546e83a20041540 | 5628ce3be3ed9ac0d31aac57f312541ad6895f44 |
refs/heads/master | <repo_name>rotorlab/chappy-android-sample<file_sep>/app/src/main/java/com/rotor/chappy/activities/chat/ChatActivity.java
package com.rotor.chappy.activities.chat;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.support.annotation.NonNull;
import android.support.design... | adb316498382da60830b65bec615ebed86b5e52c | [
"Markdown",
"Java",
"Kotlin",
"Gradle"
] | 36 | Java | rotorlab/chappy-android-sample | 19d083505a5ff497ceb1e4e16bb8761395cce89e | c98751cdae4c5f4bd0cd64c7bd2c87764aa214e2 |
refs/heads/master | <repo_name>sd031/laravel-tricks<file_sep>/app/lang/en/tricks.php
<?php
return array(
'trick' => 'Trick',
);<file_sep>/app/lang/en/user.php
<?php
return array(
'my_favorites' => 'My Favorites',
'profile' => 'Profile',
'settings' => 'Settings',
);<file_sep>/app/lang/en/search.php
<?php
return array(
'search_re... | e8e25003f4e7eb41b2b5a3739a3dba342fc646aa | [
"PHP"
] | 4 | PHP | sd031/laravel-tricks | e32647c8732b041c2d718308f74246517a665657 | 9e36afe68adb483a3df671c4ba0fc33dfa77dbbb |
refs/heads/master | <file_sep># Sudoku
Sudoku is a sudoku puzzle solver written in C++ that allows the user to solve plaintext sudoku files or solves them automatically. This program was written for an assignment in CSE20212 (Fundamentals of Computing II) at the University of Notre Dame.
#### Input
Valid input files come in the followin... | b13078ef4f2f451822f687c6097d3cdc324a3dfd | [
"Markdown",
"Makefile",
"C++"
] | 6 | Markdown | benedictb/Sudoku | 6d245f71ca8dc18132819735dfb8343e28ac60ba | ef8b62c7a5f246dd256764b5beb84dc85a81e212 |
refs/heads/master | <file_sep>'''
Created on 7 Jan 2015
@author: murrayking
'''
from __future__ import print_function
import glob
import os
import zipfile
rootDir = "/Users/murrayking/Downloads/terr50_cesh_gb/data/nt"
outPutDir = "/Users/murrayking/Documents/peeblescontours"
# os.chdir(rootDir)
# for file in glob.glob("*.zip"):
# zf... | 00ee021fc7a3e71343cd92024f4b06046ddc6385 | [
"Python"
] | 12 | Python | murrayk/pythonscripts | 9a227371ab9ace3c53140c9ebf3a9129ce2f5dd0 | cee4837dc3696302acf233a5f328b33378d2117f |
refs/heads/master | <repo_name>BrunoSilver/Hamilton<file_sep>/aula1/src/main/java/com/usjt/aula1/controller/TempoController.java
package com.usjt.aula1.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.b... | b0cd926b6750145ba42b004897b032f3a29ff01c | [
"Java"
] | 2 | Java | BrunoSilver/Hamilton | 883c0399ca2b73cabd450aaa34affb8b312f4020 | f2a768f96433e3d86e95929ff0a615adc1e4c22e |
refs/heads/master | <repo_name>Okwori/hierarchy<file_sep>/src/test/java/com/kontrola/controller/HierarchyControllerTest.java
package com.kontrola.controller;
import com.kontrola.controller.rest.HierarchyRestController;
import com.kontrola.error.HierarchyErrorHandler;
import com.kontrola.model.Hierarchy;
import com.kontrola.service.Hierar... | c473bc6eb6791e48cac4500e18672758a5eb5907 | [
"Markdown",
"Java"
] | 4 | Java | Okwori/hierarchy | 27f3628093b05ce9e6eea10c81a9eaa83c8fc446 | c19b90424113988848031e88a00569ad04516bf8 |
refs/heads/master | <repo_name>ifa6/p2<file_sep>/pkg/kv-consul/README.md
pp-kv-consul
============
The platform requires an interface to a k/v store that provides a consistent
view of the data. It only needs to be available for changes. If it is not
available, applications running on the platform should be unaffected.
This implementatio... | 94807a9a80095811b32d316457317f59d233f925 | [
"Markdown",
"Go",
"Ruby"
] | 19 | Markdown | ifa6/p2 | de13094971b4dd8d90392d2a927a16498e6e1b85 | 8bbcdc34ee8dbd6a7ca28b078f8c0b2c7fde0b7b |
refs/heads/master | <repo_name>nsuhanshetty/JanataBazaar<file_sep>/JanataBazaar/View/Register/Winform_PurchaseIndentRegistry.cs
using JanataBazaar.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks... | 7e2388dd91ba6c229aa17227ca15cd609e4cab78 | [
"C#"
] | 66 | C# | nsuhanshetty/JanataBazaar | 2d7bb8f765490df47fd485f6bad58f62906c378a | ece7cc558067c8a2ccb16843524a1387ca14cbbf |
refs/heads/main | <repo_name>harshaldevv/TwoPassAssembler<file_sep>/cofinal.py
#function to check if the symbol already exists or not
def notExists(symbol,paramter,_boolean):
mil_gaya = 0
symbolFileReading = open("SYMTAB.txt","r")
for lines in symbolFileReading:
line = lines
line = line[:-1]
splitline = line.split(... | 7d3aae79e41dd95ecc0737111519c0851f161002 | [
"Markdown",
"Python"
] | 2 | Python | harshaldevv/TwoPassAssembler | 9afee48da9ddb66242c4ac3b152f2d2ab6316a03 | 62b69dd1a50b13b2f6b81f068e332c7a0b65eafc |
refs/heads/master | <file_sep>var express = require('express');
var router = express.Router();
var mysql = require('mysql');
var pool = mysql.createPool({
host:'localhost',
user:'root',
password:'<PASSWORD>',
database:'baobei'
})
/* GET home page. */
router.get('/list', function(req, res, next) {
pool.query('SELECT * FROM word'... | 527f44f58c3f4fa571fb5657bbf486fcafbcd867 | [
"JavaScript"
] | 1 | JavaScript | yangchaoa/liuyanban | dc8bc10b11c2caef49f624e69a85bd9659983389 | 74e8e1c488059747c1614ae0c8a9de90fbec91f5 |
refs/heads/master | <repo_name>Danhfg/SCS_exact<file_sep>/README.md
# Shortest Commom Superstring (exato)
## Introdução
Nesta pasta contém a implementação de dois algoritmos exatos que resolvem o problema da menor superstring comum onde um faz uso da técnica denominada bactracking e o outro faz uso de outra técnia, programação dinâmic... | b135d238e7870918aa96dcfb937c83031bd1e504 | [
"Markdown",
"Makefile",
"C++"
] | 6 | Markdown | Danhfg/SCS_exact | 61a10a5b6db36d6938b5e7701d1c5f57615b4373 | d473739f91f7831ba71e752fc8a710c45f03abf5 |
refs/heads/master | <file_sep>enum MonthValues {
January = 1,
February = 4,
March = 4,
April = 0,
May = 2,
June = 5,
July = 0,
August = 3,
September = 6,
October = 1,
November = 4,
December = 6,
}
enum CenturyValues {
_1700 = 4,
_1800 = 2,
_1900 = 0,
_2000 = 6,
}
export enum NumDays {
January = 31,
February = 28,
Marc... | 56f82e02858c369db689524428a1362471f69717 | [
"TypeScript"
] | 1 | TypeScript | PathDNA/calendar.ts | c93be686ad6ae383919af804000b12266bd5d8e9 | b48ecdcc6c10e40c1d31c98a10d9e80a6111638c |
refs/heads/main | <repo_name>uxapb/noteapp<file_sep>/src/pages/About.js
import React from 'react'
import './pages.css'
export const About = () => (
<div className="about">
<h1>Информация</h1>
<div className="about-text">
<p> Версия приложения 1.0 </p>
<p> Дата создания: 25.12.2020 </p>
<p> Lorem ipsum do... | 3d456925fdefa1259af7327bb0526551a13f0d8a | [
"JavaScript"
] | 3 | JavaScript | uxapb/noteapp | 2244cb910fb0913465aa2ae8a8d716315988458a | 918ff4850aab519e4b4379f2de6efb968903145f |
refs/heads/master | <repo_name>kadusouzaribeiro/BookStore_CarlosEduardo<file_sep>/app/src/main/java/br/com/android/bookstore_carloseduardo/data/remote/dto/PanelizationSummary.kt
package br.com.android.bookstore_carloseduardo.data.remote.dto
import com.squareup.moshi.JsonClass
@JsonClass(generateAdapter = true)
data class PanelizationSum... | e1ad74f4dedf076173f6d1c28af03fad5bc9e359 | [
"Markdown",
"Kotlin"
] | 31 | Kotlin | kadusouzaribeiro/BookStore_CarlosEduardo | 2d2f96045b05ba16ef24b5905e4ea44416bcb175 | 0466959eab2537b02d6dd2f9bbf6874963597561 |
refs/heads/master | <repo_name>donaldserafim/capgemini-test<file_sep>/src/app/service/authentication.service.ts
import { Injectable } from '@angular/core';
import { HttpClient, HttpHeaders, HttpErrorResponse } from '@angular/common/http';
import { catchError, tap, map } from 'rxjs/operators';
import { Observable, of, throwError } from 'rx... | 5a6641488af1e58e9bbc759e126af670be50dcce | [
"Markdown",
"TypeScript"
] | 6 | TypeScript | donaldserafim/capgemini-test | d169f195bd7a8559d40ea3410494b823377aad5f | 162ee966333de5e1bda967e95dc29b72b48daf57 |
refs/heads/master | <file_sep>from ims.model.product import Product
from flask import request, jsonify
from ims import response, db
from ims.controller import user_controller
def all_product():
try:
user_id = request.args.get('user_id')
product = Product.query.filter_by(user_id=user_id).all()
data = transform(... | 04241efab470efb0ba9f1304feaa6439671c056d | [
"Markdown",
"Python",
"Shell"
] | 8 | Python | mumuhkustino/microservice | 1a7aa3eb08dfcb402c616944c5be58803868fea3 | 49d374a76bed955482f7055fa21c0a42c02be8f3 |
refs/heads/master | <file_sep>package com.music.dao;
import java.util.ArrayList;
import java.util.List;
import com.music.model.*;
import javax.annotation.Resource;
import org.hibernate.Query;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.springframework.stereotype.Service;
import org.springframework.tran... | c60461bc4617a037dd52b27cfca7bd85ec3c1480 | [
"Java"
] | 4 | Java | Ewang17/music2 | f09ed4a6434431345cdbcdbe02d8ddbacfb2c386 | cd867f31a1009a1420775dd188b070f2abf12fdf |
refs/heads/main | <file_sep>
const refinedData = {};
let query;
const city = document.querySelector('.location');
const status = document.querySelector('.status');
const temperature = document.querySelector('.temperature');
const max = document.querySelector('.max');
const min = document.querySelector('.min');
const feel = document.quer... | 0911902395cac3ec73cd809f68b12811a47cd09a | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | sumaan49/Weather-App | 24db7827de45325ea312593688c6231194c8271d | 2a311517faf01b39b7f269499a93fce03a59bcd8 |
refs/heads/master | <repo_name>MQ9Realper/ur254<file_sep>/app/src/main/java/com/patriot/ur254/adapters/ProjectsAdapter.java
package com.patriot.ur254.adapters;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import ... | a1e125432826682bb1c83a65684b2560a0a51870 | [
"Java"
] | 8 | Java | MQ9Realper/ur254 | 458a0e21137058ad84c5e836e5af532949c83dea | 11e6d6bcf2c052598076ae5889855fd551d01f46 |
refs/heads/master | <repo_name>Formakingshit/task<file_sep>/app/Models/Actor.js
/** @type {typeof import('@adonisjs/lucid/src/Lucid/Model')} */
const Model = use('Model');
class Actor extends Model {
actorFilms() {
return this.hasMany('App/Models/ActorFilm', 'id', 'actor_id').orderBy('id');
}
}
module.exports = Actor;
<file_sep>... | 7e269adb5a0a6347d57ba7c47924ae2285bacbad | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | Formakingshit/task | 9f3e7e2985847105fe59fc3ff38870b8c1f6b331 | 950986be77ac00146dba5188d8cbbd5f13407fd9 |
refs/heads/master | <repo_name>jiyangzhu/Pack-it<file_sep>/Pack-it_seeker/Pack-it_seeker/Config.h
//
// Config.h
// Pack-it_seeker
//
// Created by Jiyang on 2/24/15.
// Copyright (c) 2015 Jiyang. All rights reserved.
//
#ifndef Pack_it_seeker_Config_h
#define Pack_it_seeker_Config_h
#pragma mark - Network Request
#define BASE_UR... | bc6f7ff7d5093ddd31f5c83fcc58526924db1d6b | [
"C"
] | 1 | C | jiyangzhu/Pack-it | 3b515b4f6dd2adcac32e6adfae2825fcccfec8a2 | a45904c1fd1a4d604263b3c020df88e786163bf3 |
refs/heads/master | <file_sep>def create_an_empty_array
my_array = []
end
def create_an_array
my_array = ["1","2","3","4"]
end
def add_element_to_end_of_array(array,element)
array = ["array","element"]
array << "arrays!"
return array
end
def add_element_to_start_of_array(array, element)
array = ["array",... | d80dabc1b6410bf8326b01122f791ba9a812496a | [
"Ruby"
] | 1 | Ruby | sarisgar28/array-CRUD-lab-onl01-seng-pt-030220 | d920d400e2d5c3ef85b8d24a66b8822f644fa434 | 7bcd3b112bfe9363091658041a840eb40f5c8c56 |
refs/heads/master | <file_sep>import React from "react";
import IconLink from "../components/IconLink";
import SkillsList from "../components/SkillsList";
import Projects from "../components/Projects";
export default function HomePage() {
return (
<div>
<section>
<div className="pageTop image" style={{ textAlign: "cen... | b1c7babef776ec7fdeed8241d45eb44ec8252ba9 | [
"JavaScript"
] | 5 | JavaScript | Yurie-Koga/My-Website | e1d7fa4904626b4cde22b72a97879264aedea3cf | ed63df78a4d85e4425bc2767e1daa8c8b2d6753e |
refs/heads/master | <file_sep>const scissors = document.querySelector('#scissors');
const rock = document.querySelector('#rock');
const paper = document.querySelector('#paper');
const reset = document.querySelector('#reset');
let cScore = document.querySelector('#cScore');
let pScore = document.querySelector('#pScore');
let textBoard = d... | 68fcd71e4354b9bcd22d0b1780e6c7adb0ab0187 | [
"JavaScript"
] | 1 | JavaScript | irtiza-S/RPS | 2d90bf63c82fe4b1f0eedac94d32222ef53aaa26 | 06c9fe67c80ab29d75c9df7690455d60748c7a71 |
refs/heads/master | <repo_name>aaramirez5/CP1<file_sep>/README.md
# CP1
CP1 files
<file_sep>/DrawingPicture.java
/**
* Write a description of class LoopDrawing here.
*
* @author <NAME>
* @version 1/29
*/
import javax.swing.*;
import java.awt.*;
import java.awt.geom.*;
public class DrawingPicture extends JComponent
{
public void... | 03931d80c6b637528b3abc799df97f8a4bca8dba | [
"Markdown",
"Java"
] | 3 | Markdown | aaramirez5/CP1 | 21e567853d500be732083c00adcacbd638141a6a | 02f66bc544852b375444187dd0d885ad78b51136 |
refs/heads/master | <repo_name>shinyafro/Slash-Rules<file_sep>/gradle.properties
pluginGroup=net.dirtcraft
pluginId=slashrules
pluginVersion=1.0-SNAPSHOT
<file_sep>/src/main/java/net/dirtcraft/slashrules/Commands/ReloadExecutor.java
package net.dirtcraft.slashrules.Commands;
import net.dirtcraft.slashrules.Slashrules;
import org.spongepo... | 820cf96a133ab15d0e499bea57d15ea7d9ffff23 | [
"Java",
"INI"
] | 6 | INI | shinyafro/Slash-Rules | 928bcf9deebb54d510ec6b9edbc89009d7e522cf | de8bc704d357a63764db415c088fbb239225f5c9 |
refs/heads/master | <file_sep>//
// GlobalUI.h
// Moluren
//
// Created by tcl-macpro on 14-10-12.
// Copyright (c) 2014年 com.teamdongqin. All rights reserved.
//
#ifndef Moluren_GlobalUI_h
#define Moluren_GlobalUI_h
//主窗口的宽、高
#define MainScreenWidth [UIScreen mainScreen].bounds.size.width
#define MainScreenHeight [UIScreen mainScr... | 9336dac38d51d289e6f9c3d2cdaf4b91775cc2be | [
"C"
] | 1 | C | TeamDongqin/Moluren | cfb2eb2ec83433a5c15a8227907835047432ae1c | 314ce12609744128d99191bd2943f379acd73d37 |
refs/heads/master | <repo_name>EttoreHector/CarND-BehaviouralCloning__Assignment<file_sep>/model.py
# -*- coding: utf-8 -*-
"""
Created on Sun Mar 19 09:33:55 2017
@author: ettore
"""
#import os
import csv
import cv2
import numpy as np
import matplotlib.pyplot as plt
import sklearn
from sklearn.model_selection import train_test_split
fr... | 53afa940959f1328dc524005f54284621528cd0d | [
"Python"
] | 1 | Python | EttoreHector/CarND-BehaviouralCloning__Assignment | 825899eb7cc5d7c54e1b94e405ac1f945a4c361d | db134130030cbae8d88add88852603270d464f45 |
refs/heads/master | <repo_name>sceptre12/Cesium-React-Wrapper<file_sep>/src/cesiumShapes/circle.js
import React, { memo, useEffect, useState } from "react";
import { Cartesian3, Color, HeightReference } from "cesium";
const Circle = memo(({ circle, viewer, isParentSelected }) => {
const {
positions,
radius,
color,
outli... | c3396673316f5f3fe9a71ef04aefa5bd276480e7 | [
"JavaScript"
] | 6 | JavaScript | sceptre12/Cesium-React-Wrapper | 6cc60c58f982d20ad9a5bfd5b7d63fde1bd6f76d | c7a7ab53b800c81fc2bc0a32dc3a50230f6c6666 |
refs/heads/master | <file_sep><?php
Route::get('/buku','PerpustakaanController@index');
Route::get('/buku/tambah','PerpustakaanController@tambah');
Route::post('/buku/action','PerpustakaanController@action');
Route::get('/buku/edit/{id}','PerpustakaanController@edit');
Route::post('/buku/update','PerpustakaanController@update');
Route::g... | 53c9dbd6fac9e5c62401106e87beb31651ed35fd | [
"PHP"
] | 1 | PHP | Rafiaqnanpebrian/learnlaravel2 | 0104007e005ebaa68ff75cbe30ccc123c52bbeb2 | ee61618973064f9321ec053354741723e6152213 |
refs/heads/master | <repo_name>HoussemDjeghri/UAVs-for-Traffic-Monitoring-A-Sequential-Game-based-Computation-Offloading-Sharing-Approach<file_sep>/Visual Studio Simulation/DroneSimulation/ServeurEdge.h
#pragma once
class ServeurEdge
{
private:
int id;
long double frequence_cpu;
public:
ServeurEdge(int id, long double frequenc... | 029ff83a32a07442eda93b1c3171f43d4cf13f44 | [
"Markdown",
"C++"
] | 19 | C++ | HoussemDjeghri/UAVs-for-Traffic-Monitoring-A-Sequential-Game-based-Computation-Offloading-Sharing-Approach | ff851c5f3cdb637d7eee318b6e0ad940a8d9683d | 67d39128d80a65d6bb269d2a38123b5cb7734f04 |
refs/heads/master | <repo_name>Zaelix/STEMKit<file_sep>/src/Main/ModRegistry.java
package Main;
import java.io.IOException;
public class ModRegistry {
public static void main (String[] args) throws IOException {
//ForgeMod.addSword("Testing");
ForgeMod.addBlock("Science Block");
//ForgeMod.addBow("Testing");
//ForgeMod.addMater... | 16e1432012e4fc5fedeacd690a4ad8f28d431883 | [
"Java"
] | 2 | Java | Zaelix/STEMKit | a16154681130588d54f3175169eb564e9712e17d | 9e5eb0c1e3b1f4775b75c3c387a162ac10b31258 |
refs/heads/main | <repo_name>Gonior/android-latihan1-biodataDiri<file_sep>/app/src/main/java/com/example/biodatadiri/Bio.kt
package com.example.biodatadiri
class Bio {
public val nama = "<NAME>"
public val nim = "10118901"
public val kelas = "IF-11K"
public val jk = "Laki - Laki"
public val ttl = "Bandung, 14 Desemb... | b5126605ce8ce4d4c15763519829764c8ec01600 | [
"Kotlin",
"Gradle"
] | 3 | Kotlin | Gonior/android-latihan1-biodataDiri | 6b7ebb945174800ade7535eea346b5f00e2b2c4c | a398cf71dd983ce2aac4d26f021007f43289177d |
refs/heads/master | <repo_name>laughingg/Socket<file_sep>/CocoaAsyncSocketDemo/CocoaAsyncSocketDemo/ServiceViewController.swift
//
// ServiceViewController.swift
// CocoaAsyncSocketClient
//
// Created by Laughing on 2017/3/14.
// Copyright © 2017年 Laughing. All rights reserved.
//
import UIKit
import CocoaAsyncSocket
class ServiceV... | f2287e8b71d10ec8e9e55256f1671d03eac05f28 | [
"Swift"
] | 2 | Swift | laughingg/Socket | 6d19b469a3025da7db76b1848cfe395344f41436 | 26725f4b4f7be3d667a041f66dbe61ad21c09940 |
refs/heads/master | <repo_name>hrifai/iconic-video-variant-backend<file_sep>/controller.js
const model = require('./model');
class Controller {
constructor(){}
async getSearchResults(req,res){
//getting search results by proxying
// query params to existing api
let results = await model.getSearchResults(... | 06180176d3d7207ef705166701d678472d404eb1 | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | hrifai/iconic-video-variant-backend | 2c0743e3556295cdb996300cfc695f3036713761 | 6d04231e27d790817c139c3abde6dbcb8ef5e902 |
refs/heads/master | <repo_name>WorryJack/replace<file_sep>/TalDataGroup/StructDerivation.py
import cx_Oracle as oracle
import configparser
# cursor = oracle.connect('haxesbi' , 'IuT7FcLmQa1Z', '192.168.11.194').cursor()
table_list = ['DN_CLASS_COUNT']
for i in table_list:
sql = "SELECT * FROM col WHERE tname = " + "'" + i + "'" +"... | 4fd5d36465f18a32dd597f6152f0c6a7adf08b54 | [
"Python"
] | 5 | Python | WorryJack/replace | 0a77b06015d8e75b77d076ea9cb93e561e3d973c | d24d678bb64896dd2c76d31a00ff7b9fea9f5315 |
refs/heads/master | <repo_name>YuraSmoliy/home_task<file_sep>/src/main/java/com/example/servingwebcontent/Servise.java
package com.example.servingwebcontent;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import jav... | ce8586e55fe01b339fbd78343b7bbc6e4e733797 | [
"Java"
] | 2 | Java | YuraSmoliy/home_task | e248c1afb42a136e4d0cd77d4c587ab57d1ad651 | c29ac5fed784832b935029cf6cf06eefc1c2a886 |
refs/heads/master | <repo_name>adriancostin6/2D-Platformer-Java<file_sep>/src/ImageLoader.java
import javax.imageio.ImageIO;
import java.awt.image.BufferedImage;
import java.io.IOException;
public class ImageLoader {
private BufferedImage bI ;
public BufferedImage loadImage(String filePath) throws IOException {
bI = Ima... | 6a914cba1fd7247906cf2606db52e0bf23f80b1c | [
"Markdown",
"Java"
] | 6 | Java | adriancostin6/2D-Platformer-Java | 26331f764480d8309571b6678a8b88efe4512ca6 | d102a04f257e70bb86130cf6aac24e94c8d2246d |
refs/heads/master | <repo_name>Eneko-Eguiguren/GestorDeNotas<file_sep>/src/principales/AsignaturaECTS.java
package principales;
public class AsignaturaECTS extends Asignatura{
public int ects;
public AsignaturaECTS(String nom, int ects) {
super(nom);
this.ects = ects;
}
public int getEcts() {
return ects;
}
public void... | 481229670bfeed47c24b130e5a0b5be2336b1e55 | [
"Java"
] | 3 | Java | Eneko-Eguiguren/GestorDeNotas | 715e0887c6c59f00734f53d847b54a0257f0c3d6 | dc2ea5fb828c3f3f425f91f277b69ba4651ab876 |
refs/heads/master | <repo_name>SpacefulSpecies/CalendR<file_sep>/src/CalendR/Period/Second.php
<?php
namespace CalendR\Period;
/**
* Represents a second
*
* @author <NAME> <<EMAIL>>
*/
class Second extends PeriodAbstract
{
/**
* @param \DateTime $begin
* @param FactoryInterface $factory
*
* @throws Exc... | 1ef7eceab3d0707977ff4dafdd98bb9e454c5d9a | [
"PHP"
] | 1 | PHP | SpacefulSpecies/CalendR | 41907c2acb8e9967c7277f60877e750b34eef97f | 75439cd2c18830fd1f119e353cb47ad6c9612b4b |
refs/heads/master | <repo_name>t-ateya/Lecture-1-cmcs5373<file_sep>/public/app.js
import * as Auth from '../controller/auth.js'
import * as Home from './viewpage/home_page.js'
import * as About from './viewpage/about_page.js'
import * as Routes from './controller/routes.js'
import * as Search from './viewpage/search_page.js'
Auth.a... | 6894ae0caed7db34dd3b770e8dd8ebf8df61ecce | [
"JavaScript"
] | 2 | JavaScript | t-ateya/Lecture-1-cmcs5373 | dee01fefa879bb12582ed66df511894d6d2180c8 | 633919a8693516534d2b728dc0bdd3c5bea0bb16 |
refs/heads/master | <file_sep># Hands-on 4
## Interaksi melalui Keyboard
## Interaksi melalui Mouse
<file_sep>function main() {
var canvas = document.getElementById("canvas_main"), gl = canvas.getContext("webgl");
var vertices = [];
var cubePoints = [
[-0.5, 0.5, 0.5], // A, 0
[-0.5, -0.5, 0.5], // B,... | 5d6fa2bd8a0810f75ed0e213d46eb4696f21e7ad | [
"Markdown",
"JavaScript"
] | 6 | Markdown | grafkom-2020/hands-on-webgl | fe772b904be12df11770fb36e73c9a2e365a349e | 60a9526263eda850b482c27fd218509ebd74b201 |
refs/heads/master | <file_sep># ORMLiteKotlin
ORMLite database implementaion in Kotlin
> visit here to know about Room Database: <https://github.com/jbankz/RoomKotlin>
> visit here to know about SQLite Database: <https://github.com/jbankz/SQLiteKotlin>
<file_sep>package com.androidatc.myormliteexample
import android.database.sqlite.SQL... | 06a0053894bc264e2a8ac3656335bda2df216b0d | [
"Markdown",
"Kotlin"
] | 2 | Markdown | jbankz/ORMLiteKotlin | 86d31ad68c1f899969353734fea28e7f71c1e1c6 | 017c221255db8f1f21e327136c90e1ace542bf4b |
refs/heads/master | <file_sep>class RemovePostIdFromTopics < ActiveRecord::Migration
def change
remove_column :topics, :post_id, :integer
remove_column :posts, :commentable_id, :integer
remove_column :posts, :commentable_type, :string
end
end
<file_sep>class PostsController < ApplicationController
before_action :set_pos... | 69ae2ea1918bf55a4bd1578ecf8717c44fded049 | [
"Ruby"
] | 11 | Ruby | Alisher778/BE-Final_Project | 6f1300e4df121b11f74e845fdf05682cb344099a | 2d2cd82bb913b4a7eb4e9bc605356066fe46a9fa |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.