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>#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include <time.h>
#include "Genericas.h"
#include "LinkedList.h"
#include "LinkedList.h"
#include "parser.h"
#include "Paises.h"
//-------------------------------------------------[ Crear/Eliminar ]-----------------------------... | 9b11c8c7b52ad809d926113cf290d39ce46a050b | [
"C"
] | 5 | C | rijmjada/Ormeno.Diego.SPLabI1A | ba4a1c0f9f3f61e6c456408186ad5b4b92a51673 | 1f0db984b5eda214ead5bcd02b8fde9424ba08c0 |
refs/heads/main | <repo_name>norpie-dev/yts-api<file_sep>/api.py
import requests
BASE_API = "https://yts.mx/api/v2/"
def request(base_url, *args):
url = base_url + "?"
for arg in args:
url = url + arg + "&"
reponse = requests.get(url)
return reponse.json()
# List Movies - https://yts.mx/api#list_movies
def r... | 4febf2f49f548b062caee05f200b01df721e1be2 | [
"Python"
] | 1 | Python | norpie-dev/yts-api | 7db69a78801922af41157ce8cf7fbd126b3d83fe | b8847ddc57fade213e20e5e6f21156295c57481f |
refs/heads/master | <repo_name>VFerrari/OperationalResearch<file_sep>/Project8/README.md
Performance Evaluation of Solutions for the MAX-QBF Problem With Forbidden Triples (MAX-QBFPT)
==============================================================================================
MO824 - Operational Research: Activity 8.
**Team:**
- <NA... | 036278c4ba34ed06f17bdc438b17112b34392454 | [
"Markdown",
"Java",
"Python"
] | 13 | Markdown | VFerrari/OperationalResearch | dd3013ed6f2488060689094836f0a7dd8442cf41 | 265991d5bdba0014f971645f856e4f59c23dc7b9 |
refs/heads/master | <repo_name>fridayy/spring-repositories<file_sep>/src/main/java/ninja/harmless/data/StudentBaseRepository.java
package ninja.harmless.data;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
import java.util.UUID;
/**
* @author <EMAIL> - 4/23/17.
*/
@Reposit... | f39c23ac8112d7320cfc6e92bb78a37cf67e8d56 | [
"Markdown",
"Java"
] | 3 | Java | fridayy/spring-repositories | 28e49ffeb43268b1f7dda003853d29dfdd4c714a | 47265bbc344b0dd54949955608a396249d3035a7 |
refs/heads/master | <file_sep>package com.mlaboratory.justcall;
import android.Manifest;
import android.annotation.SuppressLint;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.su... | b15083b664a1114b4f1dc1c9812fcbeb32349910 | [
"Markdown",
"Java"
] | 3 | Java | TimmyMa/JustCall | 5d4dd5c0d85990ecb13d97d584750e18fa9d3b14 | 23d1ec5f7b31e8e82088f847391b340f2c36fac0 |
refs/heads/master | <repo_name>froniusm/Family-Tree<file_sep>/FamilyTree/Models/RelationshipCategory.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace FamilyTree.Models
{
public class RelationshipCategory
{
public int TypeId { get; set; }
publi... | 9e6a13092c88a9f3f6082f1c70c4f7f454f8384e | [
"C#",
"SQL"
] | 7 | C# | froniusm/Family-Tree | ea337540bf961204227e3f4662b3980ff8d9d013 | 290d3a0e8d7d8c6c84ea087c84106f8ce31b9a18 |
refs/heads/master | <repo_name>liumingdfx/weather<file_sep>/src/Exceptions/InvalidArgumentException.php
<?php
namespace Lmdfx\Weather\Exceptions;
class InvalidArgumentException extends Exception
{
} | 444d78c056e58047c0de366b6aef4998b4b6611d | [
"PHP"
] | 1 | PHP | liumingdfx/weather | 399c5847232c098d72a59021697555aacfe90eac | f9eb2122430a411ff762ee7a4b79b74e6b9e5645 |
refs/heads/master | <repo_name>Zediz/Interfaz_UTR<file_sep>/Samples/prueba_image.py
#! /usr/bin/python
# -*- coding: utf-8 -*
from Tkinter import *
v0 = Tk()
v0.config(bg = "white")
v0.title('Alarmas del Transformador')
v0.geometry('700x500+290+150')
imagen = Canvas (v0,height = 300, width =300, bg="blue")
imagen.place(x=10,y=10)
fil... | 785d83d8a9f583d1caeac38fd9e3a96f35ffbeb0 | [
"Markdown",
"Python"
] | 22 | Python | Zediz/Interfaz_UTR | 8252199cab614105456902a197862e397649467e | 2648e812213127cf2ffdea25581353f07cd08e31 |
refs/heads/master | <file_sep>var React = require('react');
var Router = require('react-router');
var Link = Router.Link;
var DocumentTitle = require("react-document-title");
var Home = React.createClass({
mixins: [Router.Navigation],
getInitialState: function () {
return {
search: "",
};
},
handleSubmit: function(... | a20299119358db3468ced437e85e3e6f03986317 | [
"JavaScript",
"Markdown"
] | 8 | JavaScript | kevhou/Searchdit | 2cfd0ff148540cfc3346ed35732fd6937c1034dc | 4388dbcbb422d55d977b96a6b5f41ddd1f6476a0 |
refs/heads/master | <file_sep>#!/usr/bin/env python
# Purpose : Python Boot Camp - Basemap Teaching Program 4.
# Ensure that environment variable PYTHONUNBUFFERED=yes
# This allows STDOUT and STDERR to both be logged in chronological order
import sys # platform, args, run tools
import os # ... | d38e06d6c621ceef6e7f52399abb2baf05868e64 | [
"Markdown",
"Python",
"Shell"
] | 19 | Python | kialio/gsfcpyboot | 993143b7ef7a604445b7b4a81ddc2f4bde9e2793 | b21680bb7f4a773f55cf2e5cd023c973e9a7909d |
refs/heads/main | <file_sep># Primes
program to find many prime numbers
Enter an integer n, find several prime numbers between 1 and n (including n)
<file_sep>def Finding(Prime): #statement for finding primes
x = 2 #x start value
while x <= Prime/2 : #term for Prime
if Prime % x == 0 : #checking it's prime or not
... | 4002e5d1711b7c6a0fbdc4e7428600114843b96f | [
"Markdown",
"Python"
] | 2 | Markdown | MarvinZhong/Primes | 2c820d9bd9bec9158bbf8f366e33b99569064b64 | 8b30a55791a1c627ee949a6640d629a2738cd436 |
refs/heads/main | <file_sep><?php
/* Template Name: G2-Profile-User */
if (isset($_COOKIE['userName'])) {
get_header();
$user = new User();
$user->setUser($_COOKIE['userName']);
?>
<hr>
<div class="container bootstrap snippet profile" style="margin-bottom: 15px;">
<div class="row">
<div class="co... | a3b45ff9fec961e80dfaa635a91f889017f09f42 | [
"PHP"
] | 12 | PHP | JokerNVT102/CMS_Project | 052997d042230c6fae93df343732639dfd67ab76 | 7f60dd956109c25fc7e9cb1d4fc83d11dfda6a3a |
refs/heads/master | <file_sep>from tkinter import *
from tkinter import ttk
import os
import subprocess
import shlex
#create window object
app = Tk()
#window propery
app.title('Test Suite v1.0')
app.geometry('700x400')
#create tabbed window
tabControl = ttk.Notebook(app)
#create tabs
mTestTab = ttk.Frame(tabControl)
spiTestTab = ttk.... | dc52d9aa85d44c2bb7d4e31079d8fbb29fb51041 | [
"Python"
] | 1 | Python | mahanthesh0r/TestsuiteRaspi | eb35e62f9fa6461acf856dde2995519b3e84bb5d | 8367ea005acff2cc0491d8105469daf01b84de17 |
refs/heads/master | <file_sep>const models = require("./schemas")
const vps = models.vps;
const user = models.user;
const login= async (username, pass)=>{
const data = await user.findOne({user:username,password:pass}).exec()
if(data){
return {caducidad:data.caducidad,rol:data.rol,status:200}
}else{
return {status:404}
}
}
const... | cd3e4efdf3b96028bd8fe45fef55d941219b42cd | [
"JavaScript"
] | 3 | JavaScript | jhoanhsgs/tienda | 46dc3d20b56058aadea36fc2e9703b9a67d194fa | d83ae1e5f99118f34b7f41e8d36b8d73291c171f |
refs/heads/master | <repo_name>cafrank/bootcamp<file_sep>/Section-22/Exercise-47.js
function cleanNames(oldArray) {
return oldArray.map( function(x) { return x.trim(); } );
}
// cleanArray( [' Hello ', ' World '] );
<file_sep>/Section-12/grid-work.html
<html>
<head>
<title>Bootstrap Buttons Exercise</title>
<!--I... | 31cb99477f75326be00281fcbe1502e9f582dd8e | [
"JavaScript",
"HTML"
] | 25 | JavaScript | cafrank/bootcamp | c12ce7ab575972168384ff727b6f15623d976d6f | 04cf334479b3f8a134ee19985b7557f980b54d98 |
refs/heads/master | <file_sep>package cn.com.lasong.zapp.base.contract
import android.content.Context
import android.content.Intent
import android.net.Uri
import android.provider.DocumentsContract
import androidx.activity.result.contract.ActivityResultContract
import java.io.File
/**
* Author: zhusong
* Email: <EMAIL>
* Date: 2021/6/... | 82061e567b070416b367825951914628eb5f553e | [
"Markdown",
"Gradle",
"Java",
"Kotlin",
"Shell"
] | 26 | Kotlin | zhusonger/androidz | a85c35ecc213e8956da96a39eb0f50dafb96caf5 | ec43336bc042c727e30042e01c7fe8b5982ce01d |
refs/heads/master | <repo_name>lukelbd/matplotlib<file_sep>/lib/matplotlib/afm.py
from matplotlib._afm import * # noqa: F401, F403
from matplotlib import _api
_api.warn_deprecated(
"3.6", message="The module %(name)s is deprecated since %(since)s.",
name=f"{__name__}")
<file_sep>/doc/api/next_api_changes/behavior/22229-TAC.rst
Ar... | ec6933f0468ba7379638f02d602068d5514f01f8 | [
"Python",
"reStructuredText"
] | 2 | Python | lukelbd/matplotlib | 89b21b517df0b2a9c378913bae8e1f184988b554 | 6dfb31154381e2443974132fa6ea97323a67d35d |
refs/heads/master | <repo_name>sergfreeman/djangoApp<file_sep>/FriendsList/friends_list/models.py
from django.db import models
class MyDB(models.Model):
name = models.CharField('Ім`я', max_length=50)
age = models.IntegerField('Вік')
def __str__(self):
result = f'Ім`я: {self.name} - {self.age}: років.'
retu... | edfcb939b6865d0ec92e004cc7dee58711074ead | [
"Python"
] | 5 | Python | sergfreeman/djangoApp | 3a5699b7aa98d532918a7fd87f72b0dac1600715 | 8c3d6559befd661c874446dfc74a43c16cbb4bb3 |
refs/heads/master | <repo_name>icebreaker2/eventfinder<file_sep>/src/main/java/de/Servlets/FacebookShareServlet.java
package de.Servlets;
import de.Database.DatabasePreparer;
import de.Events.Event;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.serv... | 091c3b4a446099eafb1fa137caf9b1305d337a35 | [
"JavaScript",
"Java",
"Markdown"
] | 5 | Java | icebreaker2/eventfinder | a17692f90a862645bc109391ade5993f1a8dbf97 | ceb9f2e450768d737b0f895a3ce1bc74dfe49561 |
refs/heads/master | <file_sep>console.log('================');
console.log('scratch-pad-2.js');
console.log('================');
<file_sep>function Animal(name) {
var self = {};
self.name = name;
self.identify = function() {
console.log('I am ' + self.name);
};
return self;
}
function Dog(name) {
var self... | f5b0ce56c368733fed7497ab134b0fe1bd1b1ea2 | [
"JavaScript"
] | 3 | JavaScript | kenneth-gray/js-study-group-inheritance | cbe93d40d7a01c593d8c2fda94d587209d3b514f | 1eef44c0b4ebb2b5b547713c638b2e5340237968 |
refs/heads/master | <repo_name>glebrech/LUDOGAMM<file_sep>/Emprunt.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace LUDOGAMM
{
class Emprunt
{
public int idBoite;
public DateTime dateEmprunt;
public DateTime dateRetour;
public Boolean horsDelais;
public void... | 30c0c5ef2f9846bfa4d8c251ec1b479923b149c7 | [
"C#"
] | 25 | C# | glebrech/LUDOGAMM | 60ec0ca9c6673112dcc15fc287006b450c8a43d4 | 911af1ee31be655f423e8f7c043f313900529797 |
refs/heads/master | <file_sep>from selenium import webdriver
import unittest
import time
from selenium.webdriver import ActionChains
from selenium.webdriver.common.by import By
class CreateInterface(unittest.TestCase):
@classmethod
def setUpClass(cls):
cls.driver = webdriver.Chrome()
cls.driver.get("http://www.d... | 04c51d6c0cd5c8c7a72299eb23708cfb3a908c0a | [
"Python",
"INI"
] | 2 | Python | seist-x/py_demo | 295a62bd0ffb5faa529a3551d69f95db7247135e | 0fce6b20ac454cc7ef7979a91569739d58bbb0dc |
refs/heads/master | <file_sep>package com.example.myapplication;
import android.content.Context;
import android.support.annotation.NonNull;
import android.support.v4.view.PagerAdapter;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Toast;
import com.facebook.drawee.view.SimpleDraweeView;
import java.util... | 2407e020be0114594023322b1d975fbfcf9348c2 | [
"Java",
"Gradle"
] | 5 | Java | alexlzl/AndroidDemo8 | 82ffc0627aca6212baac1c32381459baba0fe1f5 | 1b7332140d798460b8e7849579bab36348d802bf |
refs/heads/master | <repo_name>midas-journal/midas-journal-705<file_sep>/Source/itkGaussianInterpolateImageFunctionTest.cxx
/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: $RCSfile: itkGaussianInterpolateImageFunctionTest.cxx,v $
Language:... | a1ebc6dde17c1c9b13eac6f93c6dd479b535751d | [
"CMake",
"C++"
] | 2 | C++ | midas-journal/midas-journal-705 | a0440a28d6bd9784a4b1d46648952c866c3d48ed | 815e0cc16a88766a09cf3179377a46e9b77539d7 |
refs/heads/master | <file_sep>include ':ndege'
<file_sep>Ndege
=====
<file_sep>package com.droid.ndege.ui.frags;
/**
* Created by james on 10/02/14.
*/
public class TagBirdFrag {
}
| f4af5156958d59c9fcb1e3d6f159cf0b3b46da11 | [
"Markdown",
"Java",
"Gradle"
] | 3 | Gradle | oguya/Ndege | 66f7f5623af5a574f5d6d338609dcdc2b5241aae | 08451044058af9a37c5eed333b3e9925c590672f |
refs/heads/master | <file_sep>//
// ViewController.swift
// Gamez
//
// Created by SHAGUN on 10/18/16.
// Copyright © 2016 SHAGUN . All rights reserved.
//
import UIKit
class ViewController: UIViewController,UITextFieldDelegate {
@IBOutlet weak var label_ques: UILabel!
@IBOutlet weak var label_ans: UILabel!
@I... | 634fee41c13ecda1ca14bb7090b7c8558814e157 | [
"Swift",
"Markdown"
] | 4 | Swift | sphegde/TicTacToe | 1f04a918f2b5deccb78797a82ed74d5375223b3b | acf194c60ab52a7923df6f4575413ba4a55416cb |
refs/heads/master | <repo_name>BobChuang/RecyclerViewMoveToTop<file_sep>/app/src/main/java/com/example/recyclerviewtop/MainActivity.java
package com.example.recyclerviewtop;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.Rec... | 2e2080bf9ecb41af797da14767108bc697d00b50 | [
"Markdown",
"Java"
] | 2 | Java | BobChuang/RecyclerViewMoveToTop | 051714e7a94704a769db29f3b6e383870a0cfd58 | e3667d0054f40748d26d75e9105ada5700079e44 |
refs/heads/master | <file_sep>// --------------------------------------------------------------------------------------------------------------------
// <copyright file="DashboardControllerFixture.cs" company="Firebrick">
// Copyright Firebrick 2011
// </copyright>
// --------------------------------------------------------------------... | 7376de2fe7f8cd3d091c32533a3f6d76f1789063 | [
"JavaScript",
"C#",
"Text",
"Markdown"
] | 275 | C# | rajbyexample/Firebrick-CMS | e0615292fea836572e7443da0a11d493e2b67980 | 5ff14d69ca147c8c881d048a4292f77e3d587678 |
refs/heads/main | <repo_name>ericktomaliwan/image-downloader-url-csv<file_sep>/index.php
<?php
echo 'hello world';
$filename = 'test.csv';
$fp = fopen($filename, 'r+');
fputs($fp, $csvText);
rewind($fp);
$csv = [];
while ( ($data = fgetcsv($fp) ) !== FALSE ) {
$csv[] = $data;
}
//echo '<pre>'; print_r($csv); echo '</pre>';
$final... | 5d949adb739774f7bc994405f2346fc20d255383 | [
"PHP"
] | 1 | PHP | ericktomaliwan/image-downloader-url-csv | 73c059a9fbb89bddd95787ef8ac5124de1d73bcb | b51d71d47e7eeee4dbe0e589f7f754241e870bc7 |
refs/heads/master | <file_sep>(function () {
angular.module('app', ['toaster', 'rzSlider', 'ngAnimate', 'ngMaterial', 'ngRoute', 'pascalprecht.translate'])
angular.module('app')
.config(['$routeProvider', '$locationProvider', RouteConfig])
// .directive('myModel', function() {
// return {
// restrict: 'A',... | 860f77a460f47f5475f35aa62ed82d09e020e5cb | [
"JavaScript"
] | 1 | JavaScript | AkashBathala/Aqaraty-Website-translation | a317624fc5aad6cd09efd083316af892041e304b | 9e5b248aa74324b8867fd53323b6d238d246104e |
refs/heads/master | <file_sep>#! Rscript --vanilla
### Input: 1) metafile for the genomeic features
### 2) intmarkerGFoverlapped
### 3) randommarkerGFoverlapped
### 4) number of samples
### Final output files: i) feature specific (p-val_emp; p-val_norm (z-score); # of obs overlapped; expected overlap); ii) cell specific (min p-val_emp; f... | 817aafb3fe275f4bdd62a4ce8c1818fae9dba11a | [
"Markdown",
"Python",
"R"
] | 6 | R | CutaneousBioinf/GenomicAnalysis | 0297270edddc6514df8a25a42f0a3e33b78881fa | 39304f3ff22b101dcb642af8ec75919b1dd79a41 |
refs/heads/master | <file_sep>package com.example.newsapp.ui.fragment
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.example.newsapp.R
import com.example.newsapp.adapter.SelectionFragmentPagerAdapter
import com.example.new... | c185c45401b4e0fbbb1b76df1b3b5ce79ab8bd9c | [
"Markdown",
"Kotlin"
] | 14 | Kotlin | Atharva-jain/NewsApp-Kotin- | 11eef884be1dbe2640b0862d26a6d6b9d1bdd33a | afb5f93b0b79e48012ce95d475ba8a280420f4cb |
refs/heads/master | <file_sep># Autism-2.0"# AutismRealms"
<file_sep>package com.rednetty.redpractice.mechanic.items;
import com.rednetty.redpractice.mechanic.items.itemgenerator.ItemRarity;
import org.bukkit.Material;
public enum ItemType {
STAFF(Material.GOLD_HOE),
POLEARM(Material.GOLD_SPADE),
SWORD(Material.GOLD_SWORD)... | f76f64794b290f8fc484b9bc29fbba6b3e45ec99 | [
"Markdown",
"Java"
] | 22 | Markdown | RedNetty/RedPractice | ecaed2740d27a12e3db918fc3a7f9b88ac28bc11 | ec4eacb51e727a2d3d24c058359ea56bb5dea5ea |
refs/heads/master | <repo_name>zs1993608/test1111<file_sep>/src/components/nav/Nav.js
import React, { Component } from 'react';
import { Menu, Dropdown, Button, message, Tooltip } from 'antd';
import "./Nav.css"
const menu = (
<Menu>
<Menu.Item key="0">
{/* {this.props.numberS} */}
</Menu.Item>
<Me... | 8b3e93313aff44a022103a44cb7db951b26fdd48 | [
"JavaScript"
] | 2 | JavaScript | zs1993608/test1111 | a57c883e92c6f40f3576680e7794a438a4b5a52e | 6cdf55902b4fcbcb660c6ae7bb5700bc13f1840e |
refs/heads/master | <repo_name>thomascherickal/julia<file_sep>/cli/loader_lib.c
// This file is a part of Julia. License is MIT: https://julialang.org/license
// This file defines an RPATH-style relative path loader for all platforms
#include "loader.h"
#ifdef __cplusplus
extern "C" {
#endif
/* Bring in definitions of symbols exported ... | 5ce7f551d6094bcd9008c7b01eae1b43c759e7d1 | [
"C",
"C++",
"Shell"
] | 4 | C | thomascherickal/julia | 94f5f388fe390e5bf86b8a94fd63d55836017199 | 4b572a98dffa360161efaa5cd9fba5cbf5d4825b |
refs/heads/master | <file_sep># Exploratory Data Analysis
# Course Project 4
# plot1.R
# coded by <NAME>
# file encoding Windows CP-1250
# read in data
# file is located in:
# "C:\R_WORK\Exploratory Data Analysis notes"
# where "C:\R_WORK" is R's working directory
# NOTE!!! data.table package is needed
library(data.table)
# get only d... | d1a4b21c7586e85ec87ae1a82ddf72a371bd1a48 | [
"R"
] | 1 | R | yabwon/ExData_Plotting1 | 434daa8f722ba22bdaa0a913ef8dc6d1d17b7597 | e20a121cfbefa538e20d8aa5cb056b3b965a7178 |
refs/heads/master | <file_sep>// @flow
/**
* Verify if `hash` is a git-rev sha1 hash.
*/
const isGitRev = (hash: string): boolean => /^[0-9a-f]{7,40}$/i.test(hash)
export default isGitRev
<file_sep># is-git-rev
[](https://github.com/diegohaz... | 0aaca0442ecdd741e1208ec8a90565e8a927a629 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | diegohaz/is-git-rev | 1f0e901959e5c6eac53855ca0023419e9a55d358 | 543dae5c26087c22cfb4529db8ad4cd62e1910ba |
refs/heads/master | <repo_name>zebbyzeb/csharpFundamentals<file_sep>/Grades/Grades/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Speech.Synthesis;
using System.Text;
using System.Threading.Tasks;
namespace Grades
{
class Program
{
static void Main(string[] args)
{
... | 8a0809ff76b418a723b56f1a61c0d4e8409bd613 | [
"C#"
] | 3 | C# | zebbyzeb/csharpFundamentals | ec85675641b4ac5d15e778eb008c6ecd765da84c | 3a14132866bb2eb087e733406042fd9bd92b4898 |
refs/heads/master | <repo_name>Zachladnykas/Testing<file_sep>/git.py
def function():
return None | 3787c435b33cf9b5d56e17457e462e27f99914e7 | [
"Python"
] | 1 | Python | Zachladnykas/Testing | 55cbaf53ee33ac4a3e37f49db63d7e22abe54758 | 9ff317e536d08320a9bcece79ecb2a0b1a6df6b0 |
refs/heads/master | <file_sep>import requests
import random
import json
import sys
import serial
ser = serial.Serial(
port='/dev/ttyACM0',
baudrate=9600
)
test = {
"hub_id": 1,
"key": "9783653f691bf86982a2d3f19442ef99",
"secret": "<KEY>",
"sensor_data": [{
"id": 1,
"data": random.randint(0,10)
}, {
"id": 2,
"data": ran... | 9c0a160f5b0ea938f7dd88b2105b9e011d78f05f | [
"Python"
] | 3 | Python | hygieatech/rpi_gateway | e9416024c8f0f270cb0b60dd4cfc393e58d1aaef | 3ce4a8f7c09d549a0b54357c8cb2827d5f3aa9dc |
refs/heads/master | <file_sep>
<h1>发布新品</h1>
<br>
<div class="products form">
<div id="step-holder">
<div class="step-no">1</div>
<div class="step-dark-left">
<a href="">Add product details</a>
</div>
<div class="step-dark-right"> </div>
<div class="step-no-off">2</div>
<div class="step-light-left">Select related products<... | 32e9eccbce2638ee0732e7bb9da327ee62fa9e25 | [
"PHP"
] | 6 | PHP | 3ddengju/lampkiller_front | b4e0ae984e4b2955d1990b96e218f29df99bba4f | 6596ea6516bd7de80d2bdd0832b1e8487935327f |
refs/heads/master | <repo_name>LoveLeAnon/VanCoin<file_sep>/build/build.h
// No build information available
#define BUILD_DATE "2016-01-03 17:20:35 -0800"
<file_sep>/README.md
VanCoin
A cryptocurrency created for learning and experimental purposes
< based on Litecoin -> BarCoin -> VanCoin>
-SCRYPT
-42 Vancoin per block
TUTORIAL on how ... | 645ab8413d4d4f1cb411f15b2ade07123ef8cab4 | [
"Markdown",
"C"
] | 2 | C | LoveLeAnon/VanCoin | bbecc05ee5c6ace92f79df1aa59eeb5bd7c019dc | 221dadc9850886d46d3590e0a1251b60c63ec4af |
refs/heads/master | <file_sep>/*
* File: gpuUtilities.h
* Author: saifmulla
*
* Created on 02 October 2013, 12:19
*/
#ifndef GPUUTILITIES_H
#define GPUUTILITIES_H
//#include "gpuPolyFoam.h"
extern std::vector<Vec3> ommpositions, ommforces, ofpositions;
/**
* initialize the openmm system
* this function creates list of number... | 7c1b4c68deece87be5ee2f2bf7f8cd9404f9d280 | [
"Markdown",
"C",
"C++"
] | 5 | C++ | samech/gpupolyfoam | a9d36f028a2f3319c98cda06e92fe6d721c6cc57 | b1db2025e0e50a87e1f89e617c9dc385cbcb0154 |
refs/heads/master | <file_sep>angular.module('friendsAng', []);
| be2712347aff024dd45c11859672c5a737d416c1 | [
"JavaScript"
] | 1 | JavaScript | dougalderman/angular-friends | 510efa17b2c594ac970393c2ee3880ad37ca4f58 | 9a412991635e9acf94c29720bcca7cc40175d4a1 |
refs/heads/master | <repo_name>shedelin/ft-select<file_sep>/srcs/ft_sl_move.c
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_sl_move.c ... | 3ec1308c4933d9b33ba8d8e821d51746c8f19d5b | [
"C",
"Makefile"
] | 10 | C | shedelin/ft-select | e2177d24b8df517700d8f3ca78f4a0e5e9db27a1 | c83ccb8e91236c3bfa9b91ce01cc68d2966afea0 |
refs/heads/master | <repo_name>Isti115/dotfiles<file_sep>/.config/helix/languages.toml
[[language]]
name = "typescript"
formatter = { command = 'prettier', args = ["--parser", "typescript"] }
auto-format = true
<file_sep>/.config/qutebrowser/config.py
config.load_autoconfig(True)
config.source('base16-gruvbox-dark-hard.config.py')
c.fon... | 6060627ee9cb8078ce6999716ed6ed1c43251a2d | [
"Lua",
"TOML",
"JavaScript",
"Python",
"TypeScript",
"Shell"
] | 12 | TOML | Isti115/dotfiles | 034316efb1f56ebc1b0b65da5ee44e40bc1c41d9 | bfb126ff9abf391f6b1afa5e5697ec6b84121a99 |
refs/heads/master | <file_sep>package com.squad.betakua.tap_neko.nfc;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.graphics.drawable.AnimationDrawable;
import android.media.AudioManager;
import android.media.ToneGenerator;
import android.nfc.NdefMessage;
import android.nf... | 052b78d9fcd5a5b669e5d448a4cdc5ca3f13682e | [
"Java"
] | 5 | Java | PiggySpeed/NekoTap | 6fa291796432f09ef866ca819288bceef7da5762 | d42bf09464803710e8e46e207519bc062419f02a |
refs/heads/master | <file_sep>//
// CollectionViewCell.swift
// Flix
//
// Created by <NAME> on 2/6/19.
// Copyright © 2019 <NAME>. All rights reserved.
//
import UIKit
class CollectionViewCell: UICollectionViewCell {
}
<file_sep>//
// MovieGridCell.swift
// Flix
//
// Created by <NAME> on 2/6/19.
// Copyright © 2019 <NAME>... | 888f220c76b322e1089570899dcfbbd7032577fd | [
"Swift"
] | 2 | Swift | iTransCode/Flix2 | b4b97fbd40f12f1d37b8a85674f838376b2ab608 | 7fe8f45759c6d5cbae4c7f98921c083b5763f191 |
refs/heads/master | <repo_name>dasger3/Dasha_Dmitrenko<file_sep>/src/main/java/models/Wardrobe.java
package models;
import lombok.AllArgsConstructor;
import lombok.Data;
import java.util.*;
@Data
@AllArgsConstructor
public class Wardrobe {
private ArrayList<Look> looks;
}
| 378a398eb31d9bd97bfe0cabb360a35719e2a195 | [
"Java"
] | 1 | Java | dasger3/Dasha_Dmitrenko | 1040cda220175f8d7d3844baba4918c1ab133b7b | 8c9d1897dd0a2065a7b1dff1f0cd9ad1de83d25a |
refs/heads/master | <file_sep># tomee-microprofile-rest-client-demo
Type-Safe Approach to Invoking RESTful Services with MicroProfile Rest Client on TomEE
## Build
mvn clean install
### Build specific module
mvn clean install -pl movie-app/services -am
## Run movies service
mvn clean install -p... | e688fe8a776bf40d5ad27866ce25a47b340d7958 | [
"Markdown",
"Java",
"Maven POM",
"INI"
] | 10 | Markdown | maurojava/tomee-microprofile-rest-client-demo | 96985d3ba4f100197ca609d1b4079fe1a4758585 | 3c0e4cefafe7c3b02c02269c42bd2ca99c4ebb21 |
refs/heads/master | <file_sep># jpdocx [](https://goreportcard.com/report/github.com/sergey-chechaev/jpdocx)
Library for replacing special words in Microsoft word docx document. Library takes three args – JSON params with key and value, path to docx file an... | 1c7a2c395e272448682373450e26079d464ebe25 | [
"Markdown",
"Go"
] | 3 | Markdown | sergey-chechaev/jpdocx | 105d8ea386b35b71b00662478144e198f756793c | 7d902881f6af54ea4b2703c0640aa2761301cb2f |
refs/heads/main | <file_sep># Network science Toolbox
### TS2FC
The ```TS2FC``` function takes as input the time-series, then it computes the pearson correlation between pair of nodes and generates the time-averaged static FC (functional connectivity) matrix as output with size nxn where n is the number of nodes. The FC gives informat... | 186897f87f9432a8c063fedcc99642f13d05ecad | [
"Markdown",
"Python"
] | 8 | Markdown | yilewang/Network-science-Toolbox | 2e1cdcd0a4159bd5d302a13b5a292d9146776b64 | ca51a830f56675557798e36c42264c3ad5aefd5b |
refs/heads/main | <file_sep>import React from 'react'
import Login from './Login'
import ContactProvider from './ContactProvider.js'
import Dashboard from './Dashboard'
import useLocalStorage from '../CustomHook/useLocalStorage'
import ConversationProvider from './ConversationProvider'
import Conversations from './Conversations'
functi... | 5e78668e7d48de0b46fb63b7025fb601ed4720d5 | [
"JavaScript",
"Markdown"
] | 8 | JavaScript | AmaanEziz/reactMessenger | ed378b75263d85d44a8951f148f4ec1460d05c7a | a4bc979f28e359f2b607c08358abc0f5f6ea4af9 |
refs/heads/master | <repo_name>munkith-abid/ruby-music-library-cli<file_sep>/lib/artist.rb
class Artist
@@all = []
attr_accessor :name
attr_reader :songs
def initialize(name)
@name = name
@songs = []
save
end
def self.all
@@all
end
def self.destroy_all
@@all.clear
... | 35f3e7ec5a3b80ca075816bcb31c04c76278ae74 | [
"Ruby"
] | 1 | Ruby | munkith-abid/ruby-music-library-cli | 8a4d90d7218955cfe0bbbb97c4d2de3d7ba74e84 | 03cadd0039885614c69ac0559a678a624333ae0b |
refs/heads/master | <file_sep>import React, { Component } from 'react';
import PropTypes from 'prop-types';
import FeedItem from './FeedItem';
class FeedContainer extends Component {
render() {
let pictures = this.props.pics;
let isLoading = this.props.feedLoading;
let pics = pictures.map(pic =>
<li>
<Fe... | fd316371b79b922f8e1d5dfa57d962ba2fd9cc7b | [
"JavaScript"
] | 3 | JavaScript | nolanperk/UnSized | af7aea959c4706b6051f8362a25d2f8d73b62352 | 5aca8831a69e0ea8192800d970b6b1c50b0ca756 |
refs/heads/master | <repo_name>ashinkuniyil/angular-profile-keeper<file_sep>/src/app/login/login.component.ts
import { Component, OnInit } from '@angular/core';
import { faImdb } from '@fortawesome/free-brands-svg-icons';
import { FormGroup, FormBuilder, Validators } from '@angular/forms';
import { Router } from '@angular/router';
import ... | 247fda964b60cc3b1ff4dc87268d37a729daae5e | [
"TypeScript"
] | 7 | TypeScript | ashinkuniyil/angular-profile-keeper | 43f6c48e886f8e83fde24c89d154455c10580e58 | b91c8c1529ec964cc036fa571a08062356785177 |
refs/heads/master | <file_sep><?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a grou... | 0a9f2c281e3e7b065061ed01efd2642c5f7bfa2c | [
"PHP"
] | 6 | PHP | omeyad/taiar | 2dab05f192ff710c0b193e0674cebdd387cd3a43 | e0c0d22cf54fa09d4617ee107fb65b58fc5da918 |
refs/heads/master | <repo_name>StevenZabolotny/Battle-For-The-Brook<file_sep>/static/register.js
var sub = d3.select("#sub")
var subuse = false;
var subform = ['<legend>Substitute Player</legend>',
'<p>This is your substitute player. You may only have one substitute player. The substitute may replace any part of your roster, howe... | b0f1f848d80c3ebc448dbe779b309d0b120eed98 | [
"JavaScript",
"Python",
"Markdown"
] | 3 | JavaScript | StevenZabolotny/Battle-For-The-Brook | 4320d67bc9f2c92cbe43ad38426e8c354e938e85 | 6558543a0ce44395296cfb78bb80b3e4ba3c5753 |
refs/heads/master | <file_sep>import json
import unittest
from lxml import html
from src.app import app
app.testing = True
class TestApi(unittest.TestCase):
def test_domain_oracle(self):
with app.test_client() as client:
# send data as POST form to endpoint
sent = {'domain': 'oracle.com'}
... | c72628226064900642feafc223aca1d4fb53e413 | [
"Markdown",
"Python",
"Text",
"Dockerfile"
] | 5 | Python | ancolon2/oracleProject | 8750c10dcbb0c9df28e16d90d36b68c13bb70676 | 92da8532c7c375e0922774d58418537e02f48f20 |
refs/heads/master | <file_sep>WILLBNB PROJECT (AIRBNB PROJECT)
###Create Simple Project with Bootstrap
Fist of all, we need to install the Bootstrap gem to handle the grids where are stored on this framework.
<pre>
subl /wllbnb/<b>Gemfile</b>
<b>
gem 'bootstrap', git: 'https://github.com/twbs/bootstrap-rubygem'
gem 'sass-rails',... | 7d9a9ef56573125808e38d1467f26be4cb8f249a | [
"Markdown",
"Ruby"
] | 2 | Markdown | williamromero/Code4Startup-Courses | f3a1de4df88e03d0e64bcccb7e483176e0ee9492 | a534591fe6a63436aca20370358c2901258c94c3 |
refs/heads/master | <repo_name>RahulKondaparthi/Rahul1204<file_sep>/memcpyVstrcpy.c
Explain the difference between strcpy() and memcpy() function.
strcpy() copies a string until it comes across the termination character ‘\0’. With memcopy(), the programmer needs to specify the size of data to be copied.
strncpy() is similar to memcopy(... | a3e67d65cfdc7931cb13c8c11aa7200591468539 | [
"C"
] | 2 | C | RahulKondaparthi/Rahul1204 | 97e20107feaee52b8355b843d785f99bfa065aef | 3799dcff566b96771df68f49c7f47430cb027513 |
refs/heads/main | <file_sep># LFCamera
自定义相机,可选带拍摄区域边框及半透明遮罩层
<file_sep>platform :ios, '7.0'
target 'LFCamera' do
pod 'Masonry'
pod 'AMapSearch'
pod 'AMapLocation'
pod 'AMap2DMap'
pod 'UMengAnalytics-NO-IDFA'#无IDFA版SDK(请根据需要选择其中一个)
end
| ad8c1db8a559f94ffd272b6ace93523c6446907b | [
"Markdown",
"Ruby"
] | 2 | Markdown | liyingjia/2020Project | ac33496418e9fd88a064ab062b64ab46f334222b | 8640dcf7d46823ecb054367ab9a85131214ac317 |
refs/heads/master | <file_sep>package com.baba.gitdemo;
public class App
{
public static void main( String[] args )
{
System.out.println( "modified hello world" );
System.out.println( "modified hello world" );
System.out.println( "after jenkins" );
System.out.println( "at github.com" );
}
}
| 0c9cd0ba3681aa5b70319cb6c821cfcb531ba779 | [
"Java"
] | 1 | Java | mrinmoyR/gitdemo | 6348691b5187b70d90c5647585d1d3bcacc41d4b | d288b1c8916b2ef7355478d3f3f0c4eecdb6f547 |
refs/heads/master | <file_sep>include ':app'
rootProject.name='BestWeather'
<file_sep>package com.bestweather.android.util;
import android.text.TextUtils;
import android.util.Log;
import android.widget.Toast;
import com.bestweather.android.db.City;
import com.bestweather.android.db.District;
import com.bestweather.android.db.Province;
i... | 92af4ff1048a0b73270b1967dcd71303135d1718 | [
"Java",
"Gradle"
] | 2 | Gradle | QwQ-maker/bestweather | ec44118d66dbb490e61814d6dee2734e23b82ef9 | 669693a6a1ecab777078d02469d8a8570c46e5f9 |
refs/heads/master | <repo_name>blessymathew/R<file_sep>/R.R
#If I execute the expression x <- 4L in R, what is the class of the object `x' as determined by the `class()' function?
x<-4L
class(x) #"integer"
#What is the class of the object defined by the expression x <- c(4, "a", TRUE)?
y <- c(4, "a", TRUE)
class(y) # "character"
#If I hav... | 928a827faa85e04ab101fe8f0566fd60dd199952 | [
"R"
] | 1 | R | blessymathew/R | 5f715af86d09e59b5b6dc5f344b0316fcd7199c2 | 788b4aa1590309ca19aeb5f60685c6d6c252ed95 |
refs/heads/main | <file_sep>from __future__ import division # floating point division
import numpy as np
import math
import utilities as utils
class Regressor:
"""
Generic regression interface; returns random regressor
Random regressor randomly selects w from a Gaussian distribution
"""
def __init__( self, parame... | 8598cd9381ad8cf9a033af2b23adee1c160b60fa | [
"Python"
] | 2 | Python | ssinad/cmput-551-assignments | d579106c05bdf2df7088dbbb0943c33e4e2bb4b7 | 5ac2c09e6aa2c4a22ccf07704a4fe30dc7e8a2b5 |
refs/heads/master | <file_sep>package com.example.hp.ambulanceapp;
import android.app.ProgressDialog;
import android.content.Intent;
import android.support.annotation.NonNull;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.View;
import android.widget.Button;
i... | 4f6d43bc91c8b6889275b5140a3016463d59cd8f | [
"Java"
] | 2 | Java | rashi-saxena/AmbulanceApp | 9b1ced697d96d57f46f6f490ffbb073c6271c4a0 | 4a912b2efd97bcd02e4439d3cbbfec584ca18ad3 |
refs/heads/main | <repo_name>matheusjcn/nlw-heat<file_sep>/api/src/routes.ts
import { Router } from 'express';
import AuthenticateUseController from './controllers/AuthenticateUserController';
import CreateMessageController from './controllers/CreateMessageController';
import GetLastNMessagesController from './controllers/GetLastNMessag... | 9890e4f51c24c9a25c2a6ab0951320ddf96c3f1b | [
"Markdown",
"TypeScript"
] | 5 | TypeScript | matheusjcn/nlw-heat | 382eaec6d005418852df6b94ed549259561d9315 | 075e5387935b814be30509f25f06e59e87c081dd |
refs/heads/master | <file_sep>groupmates = [
{
"name": u"Константин",
"group": "БАП1801",
"age": 18,
"marks": [4, 4, 4, 5, 3]
},
{
"name": u"Андрей",
"group": "БАП1801",
"age": 21,
"marks": [3, 3, 4, 4, 5]
},
{
"name": u"Мансур",
... | 58cd6cc34fed03c821aa9d66d24f0473ff668a1b | [
"Markdown",
"Python"
] | 3 | Python | wmansy/WEB | e70f315a99b9b3f0fc84fabb610e304093c678e0 | 70b9919aba9c6b60e440ff85fd58052eb4c3ac42 |
refs/heads/master | <file_sep>var globals = require('../index');
var options = globals.options;
var Bullet = require("./bullet");
var Tank = function(base, color, tankNumber, dimensions) {
this.type = "tank"
this.color = color;
this.size = {height: 20, width: 20};
this.tankNumber = tankNumber;
this.base = {
position: base.position... | 0a0877da2a85722ffb94c6635b1947960b6282b0 | [
"JavaScript",
"Markdown"
] | 6 | JavaScript | bluesnowman/jsflags | 0029e2e93e938110e59e0e34cf0771fe400bc4ef | a1925e6b97a09e2f6da05a8404435a5bddf77a50 |
refs/heads/master | <file_sep># ED-ReverseCycleCooler
This module changes the cooler to have a rotate option; this allows you to switch it between cooling a room and using its output to warm the same room.
#Change Log
1.0.0.0
* Updating to Rimworld 1.0
0.18.0.0
* Updating to Alpha 17
0.17.0
* Updating to Alpha 17
04.00.00
* Up... | c0c6ec76050dac92bc5d5ee02a547b2c49254fd0 | [
"Markdown",
"C#"
] | 2 | Markdown | jankytay/ED-ReverseCycleCooler | 79d446be55c43c659681237a19cc6ee7deb89bfb | ca2fb6e0837e10d71c6e1ea7599d68126872ca29 |
refs/heads/master | <file_sep># Q18.[Forensic]leaf in forest
1. text ファイルとして開くと lovelive! がめっちゃ繰り返されてる。
2. vim で `%s/[lovelive!]//g` などして lovelive! に含まれる文字をすべて取り除く。
3. `<なんかバイナリ>CCCPPPAAAWWW{{{MMMGGGRRREEEPPP}}}` が得られる。
```
cpaw{mgrep}
```
<file_sep>// https://ctf.cpaw.site/questions.php?qnum=26
// Q26.[PPC]Remainder theorem
#include <... | 9eed32f50658997bb7adae5e94bd8aaa54267a69 | [
"Ruby",
"Markdown",
"JavaScript",
"Python",
"C++",
"Shell"
] | 39 | Markdown | gky360/study_ctf | e411c1f75425158150e99ed59eaa003f62a75656 | 96f836311f2f2453812bbbc2f478b3536332619e |
refs/heads/master | <repo_name>slanden/Graphics<file_sep>/ObjModel.h
#pragma once
#include <GL\glew.h>
// TinyOBJloader
#define TINYOBJLOADER_IMPLEMENTATION
#include "tiny_obj_loader.h"
#include <vector>
class ObjModel
{
public:
const char* name;
//store info for obj
struct MeshInfo
{
unsigned int VAO;
unsigned int VBO;
unsig... | 3e20a76b1dc268ccf4324e3cb3ba5fd4d51a0b25 | [
"C++"
] | 5 | C++ | slanden/Graphics | eafcd29f22b2267540b52b48866972162234e395 | e800626cdb1d055a832a9b8bac57b2564a550812 |
refs/heads/master | <repo_name>VictorNguyen031900/Computer-Science-II<file_sep>/Lab12/dQueue.cpp
//Dynamic Queue
#include "dQueue.h"
#include <iostream>
using namespace std;
Queue::Queue()
{
front = nullptr;
rear = nullptr;
amount = 0;
}
Queue::~Queue()
{
cout << "Destroying queue list!" << endl;
amount = 0;
destroy();
}
vo... | 8f714265032c8444e3b33dded325ac79e3ece8c4 | [
"Markdown",
"C++"
] | 64 | C++ | VictorNguyen031900/Computer-Science-II | a440c189e05b6c3aa6d6bca08facc907c4ae981b | dd14a0f20d27432a08ad5851c9396a9ed5a285ea |
refs/heads/master | <file_sep># Travelogue
iOS App Development 2 Final Project
<file_sep>//
// EntryCoreData.swift
// Travelogue
//
// Created by <NAME> on 7/26/18.
// Copyright © 2018 <NAME>. All rights reserved.
//
import UIKit
import CoreData
@objc(Entry)
public class Entry: NSManagedObject {
var date: Date? {
ge... | 598853d0df3588c17c7b9c931ae37a8a3fd3cd7c | [
"Markdown",
"Swift"
] | 3 | Markdown | djwwx7/Travelogue | b3884f2718adc5239c63baaa1ea1f240c70efa62 | f732812133559e1386b611d2238d9cb73e2b78c0 |
refs/heads/main | <repo_name>Ro1984Bi/nextcrud<file_sep>/src/pages/edit/[id].js
import TaskFormPage from "../task";
export default TaskFormPage;<file_sep>/src/context/taskContext.js
import { createContext, useContext, useState } from "react";
import { v4 as uuid } from "uuid";
export const TaskContext = createContext()
export const u... | 936b5f6ffd909be769f8181f2f7e62b238d8d9cb | [
"JavaScript"
] | 2 | JavaScript | Ro1984Bi/nextcrud | 46fd4f8c1ee74a62e8bfe105408a8abf13914155 | 4243bcd4c8ff4eea801db437ed7e151ae0b110fd |
refs/heads/master | <file_sep>from random import choice
from datetime import datetime
GAME_CHOICES = {'r': 'Rock', 'p': "Paper", 's': "Scissors"}
overall_results = {'user': 0, 'system': 0}
POLICY = {('p', 'r'): 'p', ('p', 's'): 's', ('r', 's'): 'r'}
result = {'user': 0, 'system': 0}
def find_winner(user, system):
if user ... | 0affa6a9583c0f16a3cb1e49f17f1fb2e3451a8f | [
"Markdown",
"Python"
] | 2 | Python | kingsrock704/Rock-Paper-Scissors-1 | ff01ebf3d2ba9c4179eb6d2b7cd425261f867c89 | dbf2c5c653c5c1d0adcb405269db70a34436a635 |
refs/heads/master | <file_sep>package io.everitoken.sdk.demo.tutorialapp;
import java.util.Arrays;
import java.util.Map;
import io.everitoken.sdk.java.EvtLink;
import io.everitoken.sdk.java.PublicKey;
import io.everitoken.sdk.java.abi.EveriPayAction;
import io.everitoken.sdk.java.apiResource.Info;
import io.everitoken.sdk.java.dto.NodeI... | 25b9749addbfc6b40a0a963a54846c609fa6fdd5 | [
"Markdown",
"Java"
] | 4 | Java | everitoken/everitoken-sdk-tutorialapp | f561953edd39f9be6952c82732443555e259576a | 9e7892514bc12d9533488d14cc1810f1f301ad17 |
refs/heads/master | <repo_name>Luofengyu/frontClassProject<file_sep>/Objs/cartOBJ.js
/**
* Created by hasee on 2016/12/21.
*/
var mongo = require("mongoose");
var Schema = mongo.Schema,
ObjectId = Schema.ObjectId;
var cartSchema = new Schema({
product_id:{type: String},
imageData:{type: String},
name:{type: String},
... | aa4f01fd7e740b4adeb4249a1f08758df67f59c8 | [
"JavaScript",
"HTML"
] | 17 | JavaScript | Luofengyu/frontClassProject | ddfb824f7c459ff737b270654b3a9d5b513081b2 | 70818b1ab37bb4fdb35a53107e043610bd47b640 |
refs/heads/master | <file_sep>function math(firsrArg,secondArg,thirdArg)
{
return (secondArg*thirdArg)+firsrArg;
}
console.log(math(53,61,67)); | 51cb4aa022554187eb0d70c4cbdf52ccd934dc39 | [
"JavaScript"
] | 1 | JavaScript | ktoroshchin/javascripting | 2382205390001e19708a6ba76ffca2268a914a6c | f5c41857ac0cf750cecc9d43732e260d762a15bd |
refs/heads/master | <file_sep><?php
namespace App\Http\Controllers;
use App\Nodos;
use App\Rutas;
use Illuminate\Http\Request;
use App\Http\Requests;
use Illuminate\Support\Facades\DB;
class RutasController extends Controller
{
public function getRutas(){
$tnodos = Nodos::all();
$rutas = [];
$nodos = [];
... | ea85f7183e3f60f04b462f310807aefe744f2c83 | [
"JavaScript",
"PHP"
] | 8 | PHP | jomisoac/AG | 67fb1c51f8942793eff607cd2268e4220525bfc8 | 24b2b38cc43aac48c3da37bd7ff4a5df3de56b9d |
refs/heads/master | <file_sep>module.exports = {
jwtSecret: process.env.JWT_SECRET || '<KEY>'
}; | 2e05e497e5a84c4a4469491766179c1cf9de2408 | [
"JavaScript"
] | 1 | JavaScript | Arthurgallina1/ecommerce-api-strapi | 8f30bdae4d3009fdf1e759477ecd9bb93f87e77b | 8a3e444de9d1183c5da77b40eb7fe8d934484b0e |
refs/heads/master | <repo_name>rafaelmakaha/desafio-gs-ciencia-front<file_sep>/app/src/utils/index.js
export * from './validFetch';<file_sep>/app/src/services/backend.js
import { BACKEND } from '../settings/endpoints'
import { validFetch } from '../utils'
const common_header = {
"Content-Type": "application/json"
}
export const getAll... | e47cf03398670f383a28c40d91fea9df1617dc46 | [
"JavaScript",
"Dockerfile"
] | 8 | JavaScript | rafaelmakaha/desafio-gs-ciencia-front | 152b9049dd0f21a75a8d53da4687588cdb4e9d5b | 310bb46ff60d01d9c1b3bf3b150331746435f5bd |
refs/heads/master | <repo_name>mcheng09/react-taskified<file_sep>/src/components/TasksList/TasksList.js
import React from 'react';
import classes from './TasksList.module.scss'
import TaskItem from './TaskItem/TaskItem';
function TasksList (props) {
const tasks = props.tasks.map((task, i) => {
return <TaskItem
key={ 'task' ... | 020a93c8fb2ae0454b10f3660bc2886616b48c48 | [
"JavaScript"
] | 3 | JavaScript | mcheng09/react-taskified | 558d1f57ad045897968e9dee1ce9e19ebb6d7a0e | b2161b91829ad1c43b93bb031c1f8b853823aa2d |
refs/heads/master | <file_sep>cmake_minimum_required(VERSION 3.0.0)
project(connection_handle VERSION 0.1.0)
set(CMAKE_CXX_STANDARD 14)
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
# using regular Clang or AppleClang
add_compile_options("-fdeclspec")
endif()
add_compile_options("$<$<CONFIG:DEBUG>:-D_DEBUG>")
add_executable(connection_... | 428f4b7771218508272a4aaf757388f6fffbdc12 | [
"CMake",
"C++"
] | 2 | CMake | jdmairs/Pluralsight_sqlite | 08c5ab6f74c0d198b901ce5241a9dd77d4026196 | ce2812474a49cd74af73e3cbcfb59c2cd630ade7 |
refs/heads/master | <repo_name>chaunceyt/pollyctl<file_sep>/README.md
# pollyctl
Simple commandline tool that converts text-to-speech using Amazon's Polly
## Requirements
This tool assumes you have access to an AWS account with permissions to SynthesizeSpeech when using Polly.
## Command line options
```
pollyctl text-to-speech -h
... | df5a58ea8aa6f00735987fc96685ba4fea71085f | [
"Markdown",
"Go Module",
"Go",
"Shell"
] | 4 | Markdown | chaunceyt/pollyctl | da016f4655bca8d554285e9ed5f20d2b8b6ae037 | 32eee9f58a4f6b84a89f91557d514d2e0fd0b021 |
refs/heads/master | <repo_name>fachririyanto/training-reactjs<file_sep>/context-api/src/App.js
/* import modules */
import React, { Component } from 'react'
/* import provider from context */
import { Provider } from './context'
/* import components */
import Login from './components/login'
import Welcome from './components/welcome'
/*... | b94532bf5df835b02b65d6497a6e9c9d22eb6d04 | [
"JavaScript"
] | 11 | JavaScript | fachririyanto/training-reactjs | 5802fbce0cb5d8725d3dfe4aabfb24ee430de3e9 | 9f17c96f919aef07a2d2d812a1ca3628823cbf97 |
refs/heads/master | <repo_name>Agfct/TestHelicopter2<file_sep>/app/src/main/java/com/example/anders/helicoptertask/branchTest.java
package com.example.anders.helicoptertask;
/**
* Created by <NAME> on 18.01.2015.
*/
public class branchTest {
//Test conflict comment
int conflictInt = 8;
}
<file_sep>/app/src/main/java/com/exam... | fb056720af6a49113fa5283c22d8148ff64332c0 | [
"Java"
] | 4 | Java | Agfct/TestHelicopter2 | 9c100431bf382a35c1407d31a59b9757316454e0 | 0c149ae13fe0f42c101790eefca0249dfbe1fb4f |
refs/heads/master | <repo_name>ULL-ESIT-LPP-1819/tdd-alu0100845396<file_sep>/README.md
[](https://travis-ci.org/ULL-ESIT-LPP-1819/tdd-alu0100845396)
[

<a href="https://codeclimate.com/g... | 774981a454b913eca0b69a8eefc7ead29c06e33b | [
"Markdown",
"JavaScript"
] | 5 | Markdown | apupko/frontend-project-lvl1 | ad524e855ded064337f072529a5c1c8e356b3ec9 | 4de4dc89ebc65c7ccee6f13b1d3d2e280f0736e6 |
refs/heads/master | <repo_name>CardioArtLab/HX711-ESP32<file_sep>/scripts/SerialThread.py
from PyQt5.QtCore import Qt, QObject, QThread, pyqtSignal
class SerialThread(QThread):
data_received = pyqtSignal(float, float)
def __init__(self, parent=None, serial=None):
QThread.__init__(self)
self.parent = parent
... | e7d1111480b40b46f72e09d67ad9db2a1afe5afc | [
"Python",
"C++"
] | 3 | Python | CardioArtLab/HX711-ESP32 | 5f7b18d48255ee0410c18ff1078f3dd140fceda0 | da3ef4bb1d47ab9a77382e0b3aa7a82324105d9e |
refs/heads/master | <repo_name>abhijeet219/Humidity-and-Temperature-monitoring-system<file_sep>/arduino_initial/arduino_initial.ino
#include<dht11.h> // Including library for dht
#include<LiquidCrystal.h>
LiquidCrystal lcd(2, 3, 4, 5, 6, 7);
#define dht_dpin 12
dht11 DHT;
byte degree[8] =
{
0b00011,... | 8c0ac5d040fb458c5cac0dd5b64bab9663eb228e | [
"C++"
] | 1 | C++ | abhijeet219/Humidity-and-Temperature-monitoring-system | b0504f6a2ce4fbd698adfbd06aa19235a38759b1 | 51693dae7c2184df02a3076fe60e5b36c85a896b |
refs/heads/master | <repo_name>WaleTech/WaleSmart<file_sep>/app/src/main/java/com/waletech/walesmart/publicSet/BundleSet.java
package com.waletech.walesmart.publicSet;
/**
* Created by KeY on 2016/7/8.
*/
public final class BundleSet {
public final static String KEY_SHOP_NAME = "key_shop_name";
public final static String KEY_A... | 07f9a8803a759b6fdeb9197194d1dd98a354591d | [
"Java",
"Gradle"
] | 50 | Java | WaleTech/WaleSmart | d9b0aef7a0f14a3316024df98c671897d9ba231d | 26cf2aba647048de4edae9da3231c2e4a0f06821 |
refs/heads/master | <file_sep>import React from "react";
import { connect } from "react-redux";
import { PropTypes } from "prop-types";
import UsersList from "../components/UsersList"
import { fetchUsers } from "../actions/UsersActions"
class Users extends React.Component {
componentDidMount() {
this.props.fetchUsers();
... | ae2763fa45f61d00a8e7f30fa195f903bb9f392d | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | bernardohrl/surittec-frontend | 79c3fb709285d39800b34d00ba69dde92d4f962f | a4a9313376a32068d86e1263254a168f50245b65 |
refs/heads/main | <repo_name>zszhere/util_scripts<file_sep>/initPVE.sh
#!/usr/bin/env bash
# 1.run this script
# 2.手动删除local-lvm:数据中心-存储-删除local-lvm
# 3.手动编辑local:内容里添加 磁盘映像和容器
# for PVE6.3,need to run as root
# exit
# exit on first error
set -e
# config para
comment='# by initPVE'
sshport='22'
pubkey='ssh-rsa **********'
mailName='... | 9a1c88a535529fe0b8d78f27c17d48758893c1b3 | [
"Markdown",
"Shell"
] | 4 | Shell | zszhere/util_scripts | e41e90ce398e46516943bc1dc5f96f9b01258087 | 85d33ecd381176d0bd974b44cfdc588d579ac465 |
refs/heads/master | <file_sep><?php
namespace App\Jobs;
use App\Base;
use App\Email;
use App\Tag;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
use Illuminate\Support\Facades\DB;
class ... | 9cec6e9358113963432bcfc9a8dfa7b1c2e74fe4 | [
"JavaScript",
"PHP"
] | 29 | PHP | ilanjourno/emailanv2 | cea41ceea210c6adc9c2b2dce944bf9ae7053298 | eed49bdc1a51d21f2ae17923fc7b62ec68c7cf49 |
refs/heads/master | <repo_name>wthueb/scripts<file_sep>/imgur.py
#!/usr/bin/env python
import argparse
import base64
import sys
import requests
from config import IMGUR_CLIENT_ID
class Parser(argparse.ArgumentParser):
def error(self, message):
sys.stderr.write(f'error: {message}\n')
self.print_help()
sys... | fe7a324d9ec526eb120ec61bb61405eb87b43301 | [
"Python"
] | 8 | Python | wthueb/scripts | e32e97e7d0c520cea8a058de6dd97fe4354a7cc0 | 4ccae17a57ce716cf1bc9a6dfafbe0ee21f1dc45 |
refs/heads/master | <repo_name>MickusB/WebProject<file_sep>/.next/server/static/WLKIeER_i4cgB1ox0WUTU/pages/article.js
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = require('../../../ssr-module-cache.js');
/******/
/******/ // The require function
/******... | 1fa984d963613ec0409e1dc0540a26f7d9de4538 | [
"JavaScript"
] | 1 | JavaScript | MickusB/WebProject | d25eabc8e6ba2b6873232f92a2f5c657e82a7f37 | 69e23f19ddc46a63caacf4731b5f6e548e462535 |
refs/heads/main | <repo_name>Weilbyte/default-service<file_sep>/src/model.rs
use serde::Deserialize;
#[derive(Deserialize, Debug, Clone, PartialEq)]
pub enum ActionType {
XML,
JSON,
Text,
Redirect,
}
impl Default for ActionType {
fn default() -> Self {
Self::Text
}
}
impl ActionType {
... | 60d807e7ff923479603424fdb9fe1b9d778ee31d | [
"Markdown",
"Rust",
"Dockerfile",
"TOML"
] | 5 | Rust | Weilbyte/default-service | d19049cfc4db595f4d26f7f2722cb9fc05825b0b | e3c7a68f40899935f88f48a00fa9d29524d25381 |
refs/heads/0.11 | <file_sep><?php
/*
* This file is part of the Monofony package.
*
* (c) Monofony
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Monofony\Contracts\Core\Model\Media;
interface FileInterface
{
... | dee66fd65839db16c7a783ad408007e2738f4320 | [
"SQL",
"reStructuredText",
"Markdown",
"JavaScript",
"Makefile",
"Python",
"Text",
"PHP",
"Shell"
] | 181 | PHP | Monofony/Monofony | 33e8876ad19a3cab4e6f8d14f085a98458f961a1 | 4fa117873bb6ad0b0943a39a31391780ceb269a4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.