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>package com.rgfp.psd.logbook.domain;
import org.junit.Test;
import java.time.LocalDateTime;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
public class NoteTest {
// your tests here
@Test
public void itShouldRetornFifteenCharacters (){
String ... | f2845c475c461f2506408ecb90a9254d3416874d | [
"Java",
"Gradle"
] | 2 | Java | ijsilva83/logbook-app | 2912f2e6a1761e50d908029ae00e32ff22bf2080 | 52fefcc77f2ed0b8a3680b38ad3eece448b2a590 |
refs/heads/master | <file_sep>SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0;
SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0;
SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='TRADITIONAL';
DROP SCHEMA IF EXISTS `bd_contensavel` ;
CREATE SCHEMA IF NOT EXISTS `bd_contensavel` DEFAULT CHARACTER SET latin1 ;
USE `bd_c... | 9fab1146c666f695c52b4bf5c77a90704141f7d3 | [
"Java",
"SQL"
] | 5 | SQL | elandio/contensavel | 8bf0d40317226bf0a524e0ada78b40cf3fbe36b6 | 786f01c20514b6d95a744a855ece8e43cd71a41b |
refs/heads/master | <repo_name>TomasPachnik/SpringBootBasic<file_sep>/src/main/java/sk/tomas/app/dao/impl/IdentityDaoImpl.java
package sk.tomas.app.dao.impl;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Repository;
import sk.tomas.app.dao.IdentityDao;
import sk.tomas.app.model.Identity;
i... | 327f1b48590d23b1623df270b091009ada05cd32 | [
"Java",
"SQL",
"INI",
"Gradle"
] | 29 | Java | TomasPachnik/SpringBootBasic | 121899149ba08619c48635ba0bfc15716b933830 | e89900cf0fa9284931be27965fc3babf1cd699d6 |
refs/heads/master | <file_sep>package net.okjsp.gmy;
import java.util.Date;
import java.util.List;
import com.google.appengine.api.datastore.DatastoreService;
import com.google.appengine.api.datastore.DatastoreServiceFactory;
import com.google.appengine.api.datastore.Entity;
import com.google.appengine.api.datastore.FetchOptions;
import... | df9ae7d6cafe6aa14d394e1bb9fb925ff21110b2 | [
"JavaScript",
"Java",
"HTML",
"Markdown"
] | 10 | Java | kenu/oksample | ad3f5c82417b6e191cba8d82038774e538b5a7db | c38d9b8715806c19619e1cc1c2e587951291ff98 |
refs/heads/master | <file_sep>'''
Created on Apr 13, 2013
@author: agrammenos
'''
from Queue import PriorityQueue
'''
This is a simple priority Queue that extends the functionality
of the existing priority Queue that's built in Python already.
The functionality to be added is to put and remove tuples of the
form (item, ... | ef9380e046ad55170537a463ad1dd02a0514b663 | [
"Markdown",
"Python"
] | 6 | Python | andylamp/TrafficRoadCalculation | 9161ade6ea322036e5e984258f286f4f87a923d1 | edbfd0e3895c0f76b0e8ee09f86394bea7133752 |
refs/heads/master | <file_sep>using System.Collections.Generic;
namespace ModereTest.Models
{
public class ClassStudents
{
public Class Class { get; set; }
public IEnumerable<Student> Students { get; set; }
}
}
<file_sep>using DataAccess.Entities;
using DataAccess.Infrastructure.Interfaces;
using DataAccess.... | a5528a8ae8d76bf8fc82ddd0b4e26c2b70b9510b | [
"C#"
] | 17 | C# | oleboy/ModereTestApi | 8190e47819b963a8f9a25e426b8e584f82d3d515 | 1b6a8d0c9647da5fc688be0b46789b4e69c4b6b3 |
refs/heads/master | <repo_name>patoCode/doctor-speaker<file_sep>/app/Http/Controllers/DiagnosticoController.php
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class DiagnosticoController extends Controller
{
public function index(){
return view('pacientes.diagnostico');
}
public function create()... | de8ba0b8515a4a418494c9a998ab3a0f2b50bafe | [
"PHP"
] | 2 | PHP | patoCode/doctor-speaker | 4bd6a0c1f0d52d30b300deb5c2c600b9fd6bdb54 | 9c4223974daced4ea25cc4d37f54bdceceaca34b |
refs/heads/master | <repo_name>pappu116/loginreact<file_sep>/src/component/Shear/Footer/Footer.js
import { Grid } from '@mui/material';
import React from 'react';
import './Footer.css'
import Button from '@mui/material/Button';
const Footer = (props) => {
return (
<div className="footer">
<Grid container
direct... | 8f263db557be077524943d1ec4812efe5903a5a2 | [
"JavaScript"
] | 3 | JavaScript | pappu116/loginreact | 5505c8d9a8020a3f55b0ee9932c3fd31d81cd679 | f546bb2db570e09bc13d9d22f7209afe883aab8e |
refs/heads/master | <repo_name>mokacao/bookmarklets<file_sep>/zoom_text.js
javascript: (function() {
var p = document.getElementsByTagName('*');
for (i = 0; i < p.length; i++) {
if (p[i].style.fontSize) {
var s = parseInt(p[i].style.fontSize.replace("px", ""));
} else {
var s = 17;
}
s += 2;
p[i].style.fontSize = s + ... | f0ff0ea85f72404c0887ef914c9b4e1da07e6825 | [
"JavaScript"
] | 2 | JavaScript | mokacao/bookmarklets | 3f97848ede46460d65fbaa1b1065464734f1c3f1 | 219a428a2b16718a235e34dc0fdfaa84e936a272 |
refs/heads/master | <file_sep>package automatoer;
public class Validacao {
public boolean validateAlphabet(String value) {
boolean returnValue = false;
char[] fragmentedValue = value.toCharArray();
for (int i = 0; i < fragmentedValue.length; i++) {
if (Character.isAlphabetic(fragmentedVa... | 77c7f6afb394b4aab51ce9666f67ac19af6fc5cc | [
"Java"
] | 1 | Java | MatheusBrandalise/AutomatoER | 3794cf084bb8a166a12a5138c75fe77e3c1987e8 | e981b835279d73e7c98ec2ec01dcc82ab6cda95b |
refs/heads/develop | <repo_name>sobakasu/google_web_translate<file_sep>/lib/google_web_translate/api.rb
require 'execjs'
require 'json'
module GoogleWebTranslate
# interface to the google web translation api
class API
def initialize(options = {})
@dt = options[:dt] || DEFAULT_DT
@token_ttl = options[:token_ttl] || DEFA... | 2b84a838a738195575f52316fc8cdbaf55d158ba | [
"JavaScript",
"Ruby",
"Markdown"
] | 14 | Ruby | sobakasu/google_web_translate | 26875121b939337ffc9c8e3f0c593e6c18876e64 | 9d438be6f11ddbe031a8a584fc04ff89f4f900a3 |
refs/heads/master | <repo_name>akon8/todo-app<file_sep>/app.js
const express = require("express");
const bParser = require("body-parser");
const mongoose = require("mongoose");
const _ = require("lodash");
//const date = require(__dirname + "/date.js");
const app = express();
//const day = date.getDate(); //bounding our module to a day v... | c2207910494af6a99195fbfed4a8b6d64656d9c3 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | akon8/todo-app | 1f436b60a5fa31c0374fdd19fc5ed4102d76f3e9 | 30264e1e537f5e6cce4662ddba8cd91dbdc729a1 |
refs/heads/master | <file_sep># Practica-13
<file_sep>/* doble // para cambiar de carpeta*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
//#include <direct.h>
#include <ctype.h>
int main()
{
FILE *doc;
char nombrearchivo[20];
char letra;
int numcaracter,numpalabras=0,numeros=0,i;
printf("Nombre del archivo:");
gets(nom... | e5b8d5fa87c6c044cb16ce1df737358090a0c078 | [
"Markdown",
"C"
] | 4 | Markdown | TattoSan/Practica-13 | 11b6faa1579e2cae68baf9363d09492f06b686a4 | 6b02ded909856526b05e9604677687b40510224b |
refs/heads/master | <file_sep>namespace YoutubeTagger
{
public enum DownloadType
{
YoutubeMix,
YoutubeSong,
Other1
}
public class DownloadInfo
{
//the type of download type to use
public DownloadType DownloadType;
//the name of the folder to process files
public ... | 55d99e62f87a87cf920dd98ee1d3d4153cb52ca8 | [
"Markdown",
"C#"
] | 3 | C# | Willster419/YoutubePlaylistAlbumDownload | bab65a796fb65b185b59ee7015952f05b5196f15 | ce2b967304348adcddb1e7cc99d4ebc5d85122bf |
refs/heads/master | <repo_name>Jessricardo/Examen-Roket<file_sep>/app/components/Header/index.js
import React from 'react';
import { FormattedMessage } from 'react-intl';
import A from './A';
import Img from './Img';
import NavBar from './NavBar';
import HeaderLink from './HeaderLink';
import Banner from './logo1.png';
import Banner2 fro... | fa9a0fa75ef2df5a6a064446233c0d31d381afeb | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | Jessricardo/Examen-Roket | 02b1340073161804ec605c5623236a0fd4321157 | 31f7cbb227f1c7fdadfa4b2e67f01dc3f98ce734 |
refs/heads/master | <file_sep>package com.shenkar.laurachiche.viewlist_task;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
public class AddTask exte... | 807509e490372fca51d9fe714ab0daba88191c68 | [
"Java"
] | 2 | Java | lully1008/ViewList_Task | e36348a5db258defc437728690ba67a635ccb419 | d7bacef6f777ea3ec68e0642fe5c4f434957bf9e |
refs/heads/master | <file_sep>module EY
VERSION = '1.4.23.pre'
end
| bce251e236a9a7350c055f6995a22e5a8b139f84 | [
"Ruby"
] | 1 | Ruby | jmartelletti/engineyard | 319a83af6074becd4a0c43f1dd0d8983ced296cc | d87f7b231229843690d1f713ed0f93be08de36b2 |
refs/heads/master | <repo_name>PaulSpuzello/DogDaycare<file_sep>/DDCare/src/Dog.java
public class Dog {
String fName = "", lName = "", dogName = "", dogBreed = "";
public Dog() {
fName = "";
lName = "";
dogName = "";
dogBreed = "";
}
public Dog(String fname, String lname, String dogname, String dogbreed) {
fNa... | 6077793a9e755b1c255aa896cb5b3b25efbff3b1 | [
"Markdown",
"Java"
] | 2 | Java | PaulSpuzello/DogDaycare | fb17a3de3f80897be8e6b2dc4462ed644fe27346 | 4209494bf6f5bf244fa07af1a91e9fac2ab157b4 |
refs/heads/master | <file_sep>
class Solution(object):
def main(self):
if __name__ == "__main__":
main(object) | 7914c488faab6f2e925c0cb2e9b724485a577b35 | [
"Python"
] | 1 | Python | PreethamMadupuri91/PrincipalComponents | 3053c7f80a10b5404b5aba61d0b74484846514c6 | 51f4e67bbc0ca73b68cc7a91ead8f5db5eb0cd1d |
refs/heads/master | <repo_name>qadahtm/rdma-nnmsg<file_sep>/CMakeLists.txt
cmake_minimum_required(VERSION 3.5)
project(rdma-nnmsg)
set(CMAKE_CXX_STANDARD 11)
#set(CMAKE_BUILD_TYPE RelWithDebInfo)
set(CMAKE_BUILD_TYPE Debug)
# Organize built files
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
set(CMAKE_LIBRARY_OUTPUT_DIRECT... | ec81b5055323b680a5cf4c287cde3883831a14ca | [
"Markdown",
"Python",
"CMake"
] | 3 | CMake | qadahtm/rdma-nnmsg | 67d5696e8622d4b60a1620af65fbd704cbd503ee | b28a8ccce6c562b126be7b0d381d5d3ab252ba1d |
refs/heads/master | <file_sep>import React, { useReducer } from 'react'
import { reducer, initialState } from '../reducers/Reducer'
import Moment from 'react-moment'
import AddTodoForm from './AddTodoForm'
const Todos = () => {
//STATE AND REDUCER
const [state, dispatch] = useReducer(reducer, initialState)
//ADD TODO
co... | 7dfa507e43f4c9678130be2b31567840f5f15984 | [
"JavaScript"
] | 3 | JavaScript | DustinG98/reducer-todo | 4395e25a02e63216015f4cb657ab7dbbbe1bfdfe | ed80562708b74771672d15221736761327d3240b |
refs/heads/master | <file_sep><!DOCTYPE html>
<html>
<head>
<title>CRUD Petani Kode</title>
<link rel="icon" href="http://www.petanikode.com/favicon.ico" />
</head>
<body>
<h3>CRUD Sederhana</h3>
<a href="tambah.php">+ Tambah data Categori</a> |
<a href="tambahpenulis.php">+ Tambah data Penulis</a>
<br... | a01899267edbf090d2f48283d1b54d80c76124e8 | [
"PHP"
] | 1 | PHP | cahyowijaya/dumbways | 2f73dd52587423a06539e287ba1b4ff7ecfe81d0 | cbdee5531354413bf7ca67fa9bff85f5d96ca24c |
refs/heads/master | <file_sep>var ObstacleCircle = function(x, y, size){
this.x = x;
this.y = y;
this.size = size;
this.color = "#000000"
}
ObstacleCircle.prototype.draw = function(){
cm.gc.ctx.beginPath();
cm.gc.ctx.arc(this.x, this.y, 50*Math.abs(this.size), 0, 2 * Math.PI, false);
cm.gc.ctx.fillStyle = this.color;
cm.g... | 701f1ce1006ce823b302c95faa2f90546975d43c | [
"JavaScript",
"Markdown"
] | 10 | JavaScript | DavidMcLaughlin208/cascading-pixels | 08d49d675d1771ec37d7c1093ca3b48b6ff8a8fe | 7a00a71f1a308af9790cf658f6e9e500ef32e5ce |
refs/heads/master | <file_sep>// login-popup-realisation
var openlink = document.querySelector('.popup-login-open-btn');
var popup = document.querySelector('.popup-login');
var closelink = popup.querySelector('.popup-login-close-btn');
var loginfield = popup.querySelector('.login-field');
var passwordfield = popup.querySelector('.password... | a385dd45b286ce03acd274ab96c5552efc24b3a9 | [
"JavaScript"
] | 1 | JavaScript | bloodflood/barbershop | dcf84042de530c8bb2ba6aa167f28f616b72a724 | 02979b64d5664a41d15b127e1e42bbbbca8ba118 |
refs/heads/master | <file_sep>package com.mattkuo.wheredatbus.adapters;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.TextView;
import com.mattkuo.wheredatbus.R;
import com.mattkuo.wheredatbus.protobuf... | df1e9da6ff12d685018fb167ff8e4f71ea958c76 | [
"Java",
"R",
"Gradle"
] | 19 | Java | mattkuo/wheredatbus | c5b257284d37ad719df0d8177656e09ffb170c5b | 4390ab1fb064ce1c287647b4049a922d9cfc7416 |
refs/heads/main | <file_sep>"""
@Time : 2021-01-12 16:04:23
@File : dataset.py
@Author : Abtion
@Email : <EMAIL>
"""
import torch
from torch.utils.data import Dataset, DataLoader
from .utils import load_json
class CorrectorDataset(Dataset):
def __init__(self, fp):
self.data = load_json(fp)
def __len__(se... | b643c75fb4fb002f84c798ef56edb0b2e483fdc8 | [
"Python",
"Text"
] | 3 | Python | 240400968/SoftMaskedBert-PyTorch | 50cdd74ea7101f0043fdb532bfdd2381e1630105 | 47793f1fc0946ff81f6a7b6df19c5fc548a417c8 |
refs/heads/main | <file_sep># Valid-Anagram
A leet code problem to find whether given two strings are valid anagrams or not
A simple array based solution.
Runtime: 4 ms, faster than 98.79% of C++ online submissions for Valid Anagram.
Memory Usage: 7.2 MB, less than 95.68% of C++ online submissions for Valid Anagram.
- <NAME>
<file_se... | 311b58ff768ef0dfc39b841062cda8a43374884a | [
"Markdown",
"C++"
] | 2 | Markdown | dgirdhar/Valid-Anagram | 642f206f88ea91318ea44c6d6aa4947592497438 | b1e5effd3ddde3509c359d0d04810ff4beb1ca54 |
refs/heads/main | <repo_name>MohanDevarajan01/SLP01<file_sep>/file01.py
print('first change')
print('error')
print('change 03'
print('change 04')
print('change 05')
<file_sep>/file2.py
print('change02')
| 3fdb5badcff5e152f72d61b591c3c0305b3cfa2a | [
"Python"
] | 2 | Python | MohanDevarajan01/SLP01 | 126abff66f722b54b61317dc473375265c43c5b6 | fe903a0e5ff12e971c5eb45373ad6019ef5f9692 |
refs/heads/master | <repo_name>elliottmyers2002/arrays<file_sep>/arrays.js
const dragons = [
{name: "draco", type: "fire", size: "large"},
{name: "neptune", type: "ice", size: "medium"},
{name: "zygor", type: "water", size: "small"},
{name: "draz", type: "fire", size: "small"},
{name: "toothless", type: "fire", size: "... | da19f7fb7b1e2fe67c4e6b4c148b54d5f4748237 | [
"JavaScript"
] | 2 | JavaScript | elliottmyers2002/arrays | 9179860f58f8b9dca9f85e9ecb33d05999434146 | df95f6e71807609a97d5d3e502259f6799d43d16 |
refs/heads/master | <file_sep>using UnityEngine;
public class GameMaster : MonoBehaviour
{
[Header("Prefabs")]
public GameObject Grid_Tile_Prefab;
public GameObject Grid_Border_Prefab;
public GameObject Tetromino_Block_Prefab;
private readonly GameObject[] tetrominos = new GameObject[7];
private readonly int gri... | f885fba835c7776cfc23ac356d0461f3095006e2 | [
"C#"
] | 1 | C# | sweet-and-salty-studios/Tetris | f24428b7aeb19afc8d9667604316a1310ff68941 | d9a37ed6c18e2477544174e6fea29b608f587740 |
refs/heads/master | <file_sep># PLOT DENSITIES
plotDensities<-function(object,log=TRUE,arrays=NULL,singlechannels=NULL,groups=NULL,col=NULL)
# Plot empirical single-channel densities
# Original version by <NAME>, 9 September 2003
# Modified by <NAME>. Last modified 1 June 2005.
{
matDensities<-function(X){
densXY<-function... | fd2386d72bedb2935376e184d1afbba422f862c9 | [
"R"
] | 8 | R | ugerlevik/r-bioc-limma | 69cddbfe62ddc134224beb4030d598aba4fcd688 | 80e4a208e622f846232c5b665d98d72ad60cb6cf |
refs/heads/master | <repo_name>foolem/lamind-package-manager<file_sep>/README.md
# lamind-package-manager<file_sep>/manager.rb
class Gerenciador
require "socket"
def initialize
@server = TCPServer.open(5151)
@clients = []
main
end
def main
loop do
Thread.fork(@server.accept) do |client|
@clients.pus... | 385cbbf04af7ba4305cbc78e2d70d3969de6444a | [
"Markdown",
"Ruby"
] | 2 | Markdown | foolem/lamind-package-manager | 39238aed9524fe0c7bcbff578b9394ff80075d3b | 67c628c78ea1618f2476f93ae6802436c9d05f11 |
refs/heads/master | <repo_name>kanishka8276/sharenlearn<file_sep>/myapp/views.py
import re
from django.shortcuts import render, redirect
from django.contrib.auth.models import User
from .models import *
from django.contrib.auth import authenticate, login, logout
from datetime import date
from django.views.decorators.csrf import csrf_exem... | 197790effe47ac0194767f15b2f82d2e71820a22 | [
"Python"
] | 1 | Python | kanishka8276/sharenlearn | 2625689cb19796d6add0b4aeb3b210b3def303e9 | f1b67237cbc49ee521412712eea20b2d6a3c4237 |
refs/heads/master | <repo_name>faleinshah/Guess<file_sep>/guess_number.rb
puts "What is your name?"
player = gets.chomp
puts "Hello " + player + ". Let's play Guess the Number Game."
def guess_number( player, random_number)
if player > random_number
puts "Too high! try again!"
elsif player < random_number
puts "T... | 771028ff4205e136ff18424d3b7bc493405b1d62 | [
"Markdown",
"Ruby"
] | 2 | Ruby | faleinshah/Guess | 63a528b7c0093e4d6537f2b6546004953ff027b9 | 33aa462e64ee276a5606ca7da5f3ddc8e8f0bb4e |
refs/heads/master | <file_sep>options(java.parameters = "-Xmx8000m")
library(openxlsx)
library(RecordLinkage)
curation <- read.csv("drugs_with_ids_new_new.csv")
curation <- curation[, -1]
drugs <- read.xlsx("nm.3954-S2.xlsx", sheet = 4)
curated_drugs <- data.frame(pdx.drugid=NA, unique.drugid=NA)[numeric(0), ]
drugs$Tumor.Type <- gsub... | 4c9c4bf1dba73c450f5d70b7ffc119e7381695c5 | [
"R"
] | 1 | R | gosuzombie/PDX-analysis | 773a66f16d2233cad3223d3ae48fd4c22413ad3b | 72cce9265bebe3b16d30250eee1d11a0a0d50b80 |
refs/heads/main | <file_sep>'use strict';
// import mongoose
const mongoose = require("mongoose");
// declare schema and assign Schema class
const Schema = mongoose.Schema;
// create Schema instance and add schema properties
const smsSchema = new Schema({
from: {
type: Number,
required: true,
},
... | f7f4fafd525874b0db71558943629a69d23e5fcd | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | Aaliya201/ESA-Assignment4 | c12861d14176bbbb954b3394fc61d7c2c570a732 | 953cebffc938e06ce231b684eb1b9f31f199bec4 |
refs/heads/master | <file_sep>package com.bylaew.exytepokeapi.ui.info
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.fragment.app.viewModels
import androidx.lifecycle.Observer
import com.bylaew.exytepokeapi.R
import c... | e290894b94a7680334578ccc0851f0f43701024e | [
"Kotlin"
] | 30 | Kotlin | Bylaew/ExytePokeApi | 81fd4588d6d077934fa501e25660f6599a493837 | a88f2befef1fa56f6c723eb6f980cf743bed33ab |
refs/heads/main | <repo_name>WMFaiz/Quality-Software-System<file_sep>/script.js
var counter = 0,
check1 = 0,
check2 = 0,
check3 = 0,
totalPT = 0,
totalPR = 0,
totalPO = 0;
$(document).ready(function () {
$('.content3').hide();
$("div > input[type=radio]").click(function () {
var thisParent = $(this).closest(".opti... | 32a32d736b4ac2a382bdb6b56c6f7023d04ad018 | [
"JavaScript"
] | 1 | JavaScript | WMFaiz/Quality-Software-System | 82e31ca6d9f5707e7dcab12624968d19c82d605a | 7210fd1d7d6a04aeb264ead3e2bbfb599bc68cb6 |
refs/heads/master | <file_sep># ds18b20-arduino-testing
* First we need to download and install the libraries OneWire and DallasTemperature from below links:
- https://www.arduinolibraries.info/libraries/one-wire
- https://www.arduinolibraries.info/libraries/dallas-temperature
* To install libraries go to: Arduino IDE -> Sketch -> In... | de2696925ea83203aec2a7e958fb7714b4fceb85 | [
"Markdown",
"C++"
] | 2 | Markdown | iot-toolkit/ds18b20-arduino-testing | 85cb0926e63980c374c8e008e83c119db6d303b9 | 14b1b0cacd171297436cd5781f6913cd76a8f236 |
refs/heads/main | <repo_name>adarshshivhar/Spring-boot<file_sep>/SpringBootRestBook/src/main/java/com/api/book/services/BookServices.java
package com.api.book.services;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
import org.springframework.stereotype.Component;
import com.api.book.mo... | e8729df283b86eee4e97fd6ecfceb1a09604f4e3 | [
"Markdown",
"Java"
] | 2 | Java | adarshshivhar/Spring-boot | e758c2ea352264619505d89a4fe7ddc158a64390 | 80ed64f7d023a6d1ce3b5b3afc7ed664a44a7fe2 |
refs/heads/master | <repo_name>masa-kunikata/carta_reader<file_sep>/data/3nenkanji/Gemfile
source 'https://rubygems.org'
gem 'rake'
gem 'rest-client'
gem 'oga'<file_sep>/data/hyakuninisshu/Rakefile
require 'json'
task default: :text_to_json
DATA_FILE = 'hyakuninisshu_data.txt'
OUT_JSON = '../hyakuninisshu.json'
#property 上の句 上の句... | e52b0b9536e169b260a75629596f3bf02a533fcf | [
"Markdown",
"Ruby"
] | 6 | Ruby | masa-kunikata/carta_reader | 1a0e317c7b9fd0de36c57f7decea8e66e4a5d6bf | 33a979fc316c56a6fe82e8020bdad5d545516219 |
refs/heads/master | <file_sep>chrome.extension.onRequest.addListener(function(request, sender, sendResponse) {
if (request.method === 'getText') {
sendResponse({ data: document.all[0].innerText, method: 'getText' }); // same as innerText
}
});
| d1cad48abb2bb6d403d9613cec84011e32bee10b | [
"JavaScript"
] | 1 | JavaScript | SUSTechFlow/chrome-extension | e848b49d8d4a1259ca7d13d121f4e8077838b643 | a2dbaaac2501742984bd9c3f8a3e5969b450d540 |
refs/heads/master | <repo_name>saisagar96/Full-Stack-Web-Development-Session-6.1-Assignment<file_sep>/assignment 6.1/script.js
// The below alert will be called from the index file
alert ("I am from external file");<file_sep>/README.md
# Full-Stack-Web-Development-Session-6.1-Assignment
This is for Full Stack Web Development Session 6.1 ... | 633c015e3b0bccf0b96f10989637c4274c3ea4d3 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | saisagar96/Full-Stack-Web-Development-Session-6.1-Assignment | da762970a969f89147f7b3fecff0672b8a1cdc22 | 7ff2be52bf48604e084f03dcc43b5dab6739bd15 |
refs/heads/master | <file_sep>import React,{ Component } from 'react';
import {
Nav,
Header,
Nosotros,
Pizzas,
Empanadas,
Team,
Contacto,
Footer,
Modals
} from './Components.jsx'
export class Principal extends Component{
render(){
return(
<div id="page-top" name="page-top" className="index">
<Na... | 74e59352c162ebec07836f30fca9ca6b54881681 | [
"JavaScript"
] | 2 | JavaScript | heberlipe/personal1 | 1cfaf3e3e6f66dcd0c2f60bb32a8a0af6521ba1a | 8482bc1b79b8a6eec8d2e928f0bea7b17c9da3b3 |
refs/heads/master | <file_sep>package coil.bitmap
import android.graphics.Bitmap
import android.util.Log
import androidx.annotation.VisibleForTesting
import androidx.collection.SparseArrayCompat
import androidx.collection.set
import androidx.collection.size
import coil.memory.WeakMemoryCache
import coil.util.Logger
import coil.util.forEa... | 51e5ebd94cc38c17765e22e16fbe10c3971b4a2a | [
"Kotlin"
] | 1 | Kotlin | fudaye/coil | 25948e83577a2e97aa9fdb1d9dd2eebc5c38480c | c2d3534246893dffbee6a81d0f1288f84b80dc36 |
refs/heads/master | <repo_name>freitit/teenplus<file_sep>/web3/apps.py
from django.apps import AppConfig
class Web3Config(AppConfig):
name = 'web3'
<file_sep>/web3/admin.py
from django.contrib import admin
# Register your models here.
# from .models import Ajjaxdemoo
# admin.site.register(Ajjaxdemoo)<file_sep>/web3/forms.py
from d... | ee4a5ec1a4cfc90dea8f949aee5505c9e94fa6b6 | [
"Python"
] | 6 | Python | freitit/teenplus | fb3323aad90de349600ec0b70bd7dee3ab189240 | a887c5b4ba7283926554ec5439004fce877c19e6 |
refs/heads/master | <file_sep><?php
require "connection.php";
header('Content-type: application/json');
$id=$_POST['id'];
$name = $_POST['name'];
$id_user = $_POST['id_user'];
$query1="SELECT * from taikhoan where id_user ='".$id_user."' and possion='1'";
$result1 = mysqli_query($connect,$query1);
if(mysqli_num_rows($result1)==... | 9585909975ba385ed5fcfb8091b262436eb7fb7d | [
"SQL",
"PHP"
] | 23 | PHP | phamdat080598/csdl | d4c12dcb008b132de182b7b4d5d727570545b1bf | 52204cbda89e8dbbf6e0c970880cbe03f726751d |
refs/heads/main | <file_sep>import java.util.Scanner;
public class test {
static int problemOne(String s) {
int answer = 0;
System.out.println("enter word");
Scanner sc = new Scanner(System.in);
String str = sc.nextLine();
char[] chars = str.toCharArray();
for (char c : chars) {
... | add2f2050804ae16d39fd4a4d1de60bbc371d6f0 | [
"Java"
] | 2 | Java | vlnareef-patelprogramming11/Areef-Patel-Programming-11 | 065da458ee9bf083112ca3214971bfbf3f3da91a | bbf486f92a3c7315c934077d023faee3422524c1 |
refs/heads/master | <repo_name>zeris/files<file_sep>/README.md
# files
Create json or csv files based on each other
<file_sep>/config/paths.js
let paths =
{
csv : "/var/csv/",
json : "C:/JSON/"
}
module.exports = paths; | 17899e98f6b58ac3bffab738d090a503b270afff | [
"Markdown",
"JavaScript"
] | 2 | Markdown | zeris/files | fca8541199c410c4aa5f71cb1aaec65c35331ed3 | bb9b985a36ee1db020623dd08a5752261ae5a243 |
refs/heads/master | <repo_name>tchaubal/GoogleNanodegree1_TourGuideApp<file_sep>/app/src/main/java/com/example/tanushreechaubal/pune_aconfluenceofeastandwest/PlaceToEatFragment.java
package com.example.tanushreechaubal.pune_aconfluenceofeastandwest;
import android.content.Context;
import android.net.Uri;
import android.os.Bundle;
import ... | ebd492ad0232fc156de5525d9b3017e86cc99a61 | [
"Markdown",
"Java"
] | 3 | Java | tchaubal/GoogleNanodegree1_TourGuideApp | 2e1865ea62a30b72854345308e20e268b42b192a | c7501da7365c6519014ec7d7f69abb397d8226ea |
refs/heads/master | <repo_name>thomaspreece10/Java-Programming<file_sep>/Project 0/README.md
Project 0
============
Simple introductory project to write a class which represents fractions p/q in their lowest form<file_sep>/Project 2/Polynomial.java
/*
* PROJECT II: Polynomial.java
*
* This file contains a template for the class Polynom... | 1c8124efc85318af585709949e6c8fbaa93dfbc7 | [
"Markdown",
"Java"
] | 7 | Markdown | thomaspreece10/Java-Programming | 94c171dc2bd156c2c474a7ca305d255fe6c1f27f | ec58d9efae3826c2d3131047307a8adb1732f361 |
refs/heads/master | <file_sep>import jsonp from 'common/js/jsonp'
import { commonParams, options } from 'api/config'
// https://c.y.qq.com/v8/fcg-bin/v8.fcg?channel=singer&page=list&key=all_all_all&pagesize=100&pagenum=1&g_tk=1801096175&jsonpCallback=GetSingerListCallback&loginUin=2537204257&hostUin=0&format=jsonp&inCharset=utf8&outCharse... | 03b9915e7943913bd96725644f142754373cea80 | [
"JavaScript"
] | 3 | JavaScript | sichenguo/web-music | 613de3a4383e45b96a054a6b1177b7b4126eb903 | cb44cfbdcfcde39bed3590be1d47ffde42ed76a8 |
refs/heads/master | <file_sep>/*
Copyright 2019 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in... | 2085a4a8037ef036b39ce145a25059de2dd1ab10 | [
"Go"
] | 2 | Go | texascloud/etcdadm | 302653ec6e30521cb12d22591e489ce238a9a32e | 90902743b46756357b3ed207d57d3a46b6a0afa2 |
refs/heads/master | <file_sep>import tkinter as tk
from tkinter import messagebox
#File Handling
def _file():
f= open("Info.txt", "a+")
a= "\n\nName="+entry1.get()+"\nMob No.="+entry2.get()+"\nAddress="+entry3.get()+"\nEmail Id="+entry4.get()+"\n\n\n"
f.write(a)
def _readinfo():
f= open("Info.txt", "r+")
... | 86dabec238f6f1f87ecdc48824ac3d516b7d5b0b | [
"Python"
] | 2 | Python | PillaiManish/BasicForm-Using-Python- | 512b4170a45754dac9f65618954489e920e2c95d | a0dc76d1048e02827d286eeb6a1c82d1325102f9 |
refs/heads/main | <file_sep><?php require_once 'load.php'?>
<!DOCTYPE html>
<html lang="en">
<head>
<?php require_once root.hw.inc.'/refence.php';?>
<title>HEART DISEASE | Login</title>
</head>
<body>
<div class="container mt-5">
<div class="row justify-content-center">
<div class="fit col-md-auto">
... | a5605c5a26d36a8267703d1742e1dd776cea8caa | [
"Markdown",
"PHP"
] | 9 | PHP | 2001millie/health | c2f87aa3954cc4ce8207c8eb664c2a644348ac7c | 4a6b354f6caa5c9bfd79070f9a057a3df2d00065 |
refs/heads/master | <file_sep>#ifndef _COMMON_H
#define _COMMON_H
// 2017.12.02 21:09
#include <cstddef>
#include <fstream>
size_t CalcFileSize(std::istream&);
#endif // _COMMON_H
<file_sep>#include <random>
#include <ctime>
#include <cstring>
#include "BmpFactory.h"
#include "Mandelbrot.h"
namespace {
/* static function */
void Get... | bd967b7c5527f8d849aecbdfc5248049347fc5c6 | [
"Makefile",
"C++"
] | 28 | C++ | icrelae/HuffBmp | 90e14d44bbe0e2b1cdf594cac8c860dbb8535a1f | 94364969e749fe9a6cc2bcec76b3ed9c5055b33a |
refs/heads/master | <file_sep><<<<<<< HEAD
#include <iostream>
=======
hello i am editing this bitches
>>>>>>> 36c0ea46d1b8835fdf1d67b25d02bc8da26837d1
| 2a758ea7b0055a1b224a68191ccb7c9dae4013c1 | [
"C"
] | 1 | C | lovesh2407/ThinkFlipkart | 436fbb0c18483d62d6169e4425800e940cec94f3 | a3e014855cb07f130c5bfd91be2bfd3c71aa429f |
refs/heads/master | <file_sep><?php
// Load Configuration
if (file_exists('config.php')) {
require_once('config.php');
}
// Connect to the DB
mysql_connect(DB_HOSTNAME, DB_USERNAME, DB_PASSWORD);
mysql_select_db(DB_DATABASE);
// Products
$products = mysql_query("select * from " . DB_PREFIX . "product_description LIMIT 0, 100000");
w... | 6875a2a71a06bd45c5a404f49682db6ad745b2c0 | [
"Markdown",
"PHP"
] | 2 | PHP | IP-CAM/OpenCart-SEO-URLS | 97ec476ec778dadc13d64882ffca6df2824f2d82 | 7b6b2602e9223701e6df889ace8949aebc0fd591 |
refs/heads/master | <file_sep>// Maked by <NAME>
/**
* @param arrChess : chứa những quân hậu đạt điều kiện
* @param arrCross : chứa giá trị đưòng chéo chính của các quân hậu
* @param arrCross1 : chứa giá trị đưòng chéo phụ của các quân hậu
* @param total_solutions : chứa tối đa tất cả các solutions có thể tìm đuợc
*/
// N-Queens Problem... | d4d2b790e07bdd29d114446d8bd38ab084d701ce | [
"JavaScript",
"C++"
] | 2 | JavaScript | Ujjval-Patel/N-Queens | 30fe0e6686a1cec4127c40dc5089cf7fc4520c97 | eedb88eea0dcb58427d37ff2061559b558d8402e |
refs/heads/master | <file_sep>require 'pathfinder/version'
require 'pathfinder/position'
require 'pathfinder/mapper'
require 'pathfinder/movement'
module Pathfinder
def self.find_shortest_distance(directions)
raise 'Please provide the document with directions' if directions.nil? || directions.empty?
directions = directions.str... | d7ee66f01f42f5e4828aa2955256d638ad8677d7 | [
"Markdown",
"Ruby"
] | 9 | Ruby | dharmamike/pathfinder | 2e4c1364c99161fe75cf720c68aebb0222d724a0 | b6886b374f7a4994b661c2c86f7c9863f075ec89 |
refs/heads/master | <file_sep># Amazon-scrapper
Se basa en hacer scraping de un producto en amazon. Si el precio es igual al deseado o menor envía un email
<file_sep>import requests
from bs4 import BeautifulSoup
import smtplib
import time
headers = {
'User-Agent': 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Ge... | 7dfac711060198c8abdd004b5a94bb9d74cd9bfe | [
"Markdown",
"Python"
] | 2 | Markdown | gelintonx/Amazon-scrapper | e958ba04e576c495726c4bfcd6b98a4cb0b1de6a | 35b05f377803f42e09d3fb5dcbdfe6093133f3dc |
refs/heads/master | <file_sep>package com.example.sopheak.ntti;
import android.content.Context;
import android.view.View;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;
import android.widget.Button;
import android.widget.LinearLayout;
/**
* Created by sopheak on 28-May-17.
*/
public class myAni... | bfc4f03f7e5694986e3bd0e1fc42c4ba7d8e862c | [
"Java"
] | 1 | Java | khengsopheak/LogInScreen | 76fcd71f650326099891fd670659c847173437b9 | 8aa5aea3d52c48146c2e9798f821ff0151fb422c |
refs/heads/master | <repo_name>chable/Practica--<file_sep>/Practica1/nbproject/private/private.properties
compile.on.save=true
user.properties.file=C:\\Users\\<NAME> J\\.netbeans\\7.1\\build.properties
<file_sep>/README.md
Practica--
==========
Este programa esta basado en realizar una serie de acciones como nombre de institución, nombre... | ffbed53f8783609c4cbf5abdf6870d0540fdec5c | [
"Markdown",
"Java",
"INI"
] | 3 | INI | chable/Practica-- | 08261de7352e0e65f1cf3ad01fb4b86588319975 | 63987e57fd5db6ac39ff9fcab04997595023cfee |
refs/heads/master | <file_sep>package br.com.biblioteca.objetos;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.List;
import java.util.Set;
import br.com.biblioteca.objetos.exceptions.CriacaoDeAtributoException;
import br.... | 7d0bfde36b11e6dfbf75d9d79e1a7fd135f46b55 | [
"JavaScript",
"Java"
] | 47 | Java | alinecarvalhocorrea/softexpert-programa-estagio | 8292c67851ef0b3b2bb43328c453076a5ce9562f | 4cab56a42607e5efac37db8f4e91c1d33f3da129 |
refs/heads/master | <repo_name>cherattk/slim-3-starter<file_sep>/tests/core/BaseControllerTest.php
<?php
use PHPUnit\Framework\TestCase;
final class BaseControllerTest extends TestCase {
public function testGetConfiguration() {
$controllerConfig = ['config.1' => 'config.1.value'];
$dependency = [];
$contro... | df674e0a044c436b4d8c61aa1ac61a54e62d9a8a | [
"Markdown",
"PHP"
] | 9 | PHP | cherattk/slim-3-starter | b54dfe6f85ca161227e2fbc1065baee3e71f7b6b | 861d1db44b71e6df253951d1f6a29d73727a37ca |
refs/heads/main | <repo_name>C-H-coder-team/dog_pi<file_sep>/main.py
import random
import complete
sth=str(input('主题:'))
n=int(input('句子数量:'))
for i in range(1,n):
rand=int()
rand=random.randint(1, 20)
if rand == 1:
complete.complete.op1(sth)
elif rand == 2:
complete.complete.op2(sth)
... | d2782eac1510daafd38b54cd511d63f63dc4041b | [
"Python"
] | 3 | Python | C-H-coder-team/dog_pi | cb7712b5f75885f2aba648add9fbfcfb6862a9ac | 1aa91e51edfdc14a31a4cdcf57578350b9f2749a |
refs/heads/master | <repo_name>vkxedeen/weather-app<file_sep>/src/components/MainLayout.js
import React from 'react';
import {Row} from 'antd';
import './MainLayout.css'
export default class MainLayout extends React.Component {
render() {
return (
<Row className={'layout'}>
<Row className={'header'... | aee7e3ac363cf88755911f38579dbe6173e81cb3 | [
"JavaScript"
] | 9 | JavaScript | vkxedeen/weather-app | ef89dde505226045bcf1ababd8ec2238c4e34aa1 | 0cf140dd69d12c70a6ef5b86c652b49a446bf515 |
refs/heads/master | <file_sep>import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
import { ShopComponent } from './shop/shop.component';
import { RosterComponent } from './roster/roster.component';
import { LoginComponent } from './login/log... | 2b17797dcbb7c9ada7f61f3a2adcdaecb3bef8b3 | [
"JavaScript",
"TypeScript"
] | 5 | TypeScript | kkneville/flower_shop | c371456c1ee443e82575d242cdee72b393f874b6 | f2db899e0d8d765759a9f99b0a4c0dc8d2804d18 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Helpers{
class ConversorDeMorse{
static Dictionary<string, string> CodigoMorse = new Dictionary<string, string>(){
{"a", ".-"}, {"b", "-..."}, {"c", "-.-."}, {"d", "-.."},
{"e", "."}, {"f", "..-."}, {"... | b734f1e8a7d4ffd76b1a45957dc85c8ba09913ac | [
"C#"
] | 2 | C# | TallerDeLenguajes1/tpn9-LuxMG | c5154bb513bda3f13f7cc88fac1687b1a83af627 | 1dca17d5205eac85a2e81ad557c1cc578a576801 |
refs/heads/master | <file_sep><?php
namespace App\Http\Controllers;
use App\Operation;
use App\User;
use App\StatusType;
use App\TransactionType;
use Illuminate\Http\Request;
use Exception;
use Response;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Collection;
class OperationsController extends Controller
{
/*
B... | 065de0ef756d4a00e5ddb54aeece49a96b12270e | [
"Markdown",
"YAML",
"PHP"
] | 12 | PHP | tiagoalvesdev/desafio-backend | 805087f2591dd9f5196f9df94f7b75acfb8efffd | dc174023cf4ddc0412ea86f998bdf1d9d3d256cb |
refs/heads/master | <repo_name>thoamsy/codemod<file_sep>/transform/byteui-icon-default-import.js
import { Transform } from 'jscodeshift';
const transform: Transform = (file, api, options) => {
const j = api.jscodeshift;
const root = j(file.source);
const printOptions = options.printOptions || { quote: 'single' };
const libraryNa... | 86157b3ee802e34d77955aefdbf1b058e0032796 | [
"JavaScript",
"TypeScript",
"Markdown"
] | 7 | JavaScript | thoamsy/codemod | aac69c247535ff4d5aa3b4c670e152ca882dd89d | 9e48845a01ee148d893ddad8d1444d352383449f |
refs/heads/master | <repo_name>progfay/mac-setup<file_sep>/.macos
#!/usr/bin/env bash
# https://mths.be/macos
# Close any open System Preferences panes, to prevent them from overriding
# settings we’re about to change
osascript -e 'tell application "System Preferences" to quit'
# Ask for the administrator password upfront
sudo -v
# Ke... | 1b1cd92687372c5dab0ce8f5b25e5ad115f6c0a6 | [
"Markdown",
"Shell"
] | 3 | Shell | progfay/mac-setup | 3d3d617f14c6c5ce4cf521a883167cb7b467b3e8 | 39d143228cfa52208dae8e0e7521ce9931827f82 |
refs/heads/master | <file_sep>import os
import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
from scipy import stats
def viz(static_path, csv_filename, plot_filename):
full_csv_path = static_path + "/" + csv_filename
full_plot_path = static_path + "/" + plot_filename
fig, ax = plt.subplots(4)
df = pd... | 08b253f51c8f0ba52cd59f5397cc7aae2905c2be | [
"Python",
"C++",
"Shell"
] | 18 | Python | walkyd12/poke-bot | 8622a1bbc14ca1a4ced236e5f9e8bfa2f09cdfc5 | 9c35009e794851e9cf9c19e698c9b169de64e68a |
refs/heads/master | <file_sep>module StaticPagesHelper
def link_to_gravatar(email, size=150)
"http://www.gravatar.com/avatar/#{Digest::MD5.hexdigest(email)}?d=wavatar&s=#{size}"
end
end
<file_sep>require 'spec_helper'
describe "StaticPages" do
describe "Home page" do
before(:each) do
visit '/static_pages/home'
end... | d411af56eda419adba56828f000f3d564ee5093f | [
"Ruby"
] | 9 | Ruby | simpl1g/static-pages | 23715a31c6e382e2e1a390caac205daa87ed9600 | 6bdb6b2920bad5419b1eb5dc83f70677829164ad |
refs/heads/master | <file_sep><?php
/**
* propertySets transport file for sharecontrol extra
*
* Copyright 2016 by <NAME> <http://stuntrocket.co>
* Created on 02-23-2016
*
* @package sharecontrol
* @subpackage build
*/
if (! function_exists('stripPhpTags')) {
function stripPhpTags($filename) {
$o = file_get_contents($... | 0bf2d662a8ef2bc2f27905e117efa4f879f8475a | [
"PHP"
] | 2 | PHP | FolkSite/sharecontrol | c93fa6e19bc58a292664678b1cd1918444e54ada | 568d840c9124f8f77688f19c99984db576bb543e |
refs/heads/master | <repo_name>xiaoyuMo/spring-cloud-zookeeper<file_sep>/spring-cloud-zookeeper-discovery/src/main/java/org/springframework/cloud/zookeeper/discovery/ZookeeperServerIntrospector.java
/*
* Copyright 2015-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may no... | a8e697597d811c0571bbcc03c6cf3fe6dafa13fb | [
"Java",
"AsciiDoc"
] | 6 | Java | xiaoyuMo/spring-cloud-zookeeper | 8504b7a524d38f4be502e2950c2f97a86df81e05 | af0edf9586776e359b86a13b1a6982c33f576ab5 |
refs/heads/master | <file_sep>#ifndef TERMINAL_H
#define TERMINAL_H
#include <QDialog>
#include <QTextEdit>
#include <QPushButton>
#include <QLineEdit>
#include <QGridLayout>
#include <QtSerialPort/QSerialPort>
#include <QTextStream>
#include <QObject>
#include <QTimer>
#include <QString>
#include <QByteArray>
#include <QLabel>
#include... | dbbdc83af09f384fd1494df7154b592b6ac6b9c5 | [
"Markdown",
"C++"
] | 4 | C++ | eastmoutain/qt_serial_com_interface | f81c66fc5bf5bfebdf812c2cca89ad7cb8549fc1 | 57d0f0b86c7fbddff241186b956ae4273776b823 |
refs/heads/master | <repo_name>rdcarter24/WebApp<file_sep>/webapp.py
from flask import Flask, render_template, request
import hackbright_app
app = Flask(__name__)
@app.route("/")
def get_github():
return render_template("get_github.html")
@app.route("/student")
def get_student():
hackbright_app.connect_to_db()
student_github = requ... | 60e9376e83154d692dccb1fbfb0b1e4bd1f6b793 | [
"Python"
] | 1 | Python | rdcarter24/WebApp | 7b67cd35719a272319211d8dab6de41764d9a87b | 1fa03346eaac640adfb181c33e4bbd8885a47a3d |
refs/heads/master | <repo_name>AlbanoBorba/video_exposition<file_sep>/dataloader.py
from __future__ import print_function, division
import os
import sys
import numpy as np
import pandas as pd
import torch
import random
import cv2
import time
import datetime
from scipy import ndimage, misc
from torch.utils.data import Dataset, DataLoader
f... | 71e92212314b48e40e33e51992e244a1d4897a75 | [
"Python"
] | 10 | Python | AlbanoBorba/video_exposition | 58de798954823473373a69f96930dfee1502b6df | 290ba6068945c6c735ed67af869184eb9289ab88 |
refs/heads/main | <repo_name>fancibleunicorn/weather-dashboard<file_sep>/assets/script.js
//API Key a877d2c6ed19aff0fd1776e7df46844f
//Show Current Weather (city name, the date, an icon representation of weather conditions, the temperature, the humidity, the wind speed, and the UV index)
var findCurrentWeather = function(city) {
/... | 5f304cf2a2bd61d836a80be07f50ac4274c99ff8 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | fancibleunicorn/weather-dashboard | 119d2eba8f087464bf4093cb2392fe4d66c9fa5e | 8a0011af2b5f55e4b5b0b33086d873a52b3c31d7 |
refs/heads/master | <repo_name>esonpaguia/spring-tutorial-2<file_sep>/module-23/src/main/java/com/esonpaguia/springtutorial/Logger.java
package com.esonpaguia.springtutorial;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
/**
* auto-wired setters
*
*/
publ... | 41127fe0c6ca3e9738610a0123d9116f958d00f7 | [
"Markdown",
"Java"
] | 9 | Java | esonpaguia/spring-tutorial-2 | dbd0dfb9c9d07bed1f870d6e5007f1ea629688b6 | fbcd6eea743f11a577616b088c0edbbb2207a716 |
refs/heads/master | <file_sep>// ============================================================================
//
// Copyright (C) 2006-2016 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
// You should h... | 712053187a1a3bcd39dc64f30bffbf77d8d8006d | [
"Markdown",
"Maven POM",
"INI",
"Java",
"Shell"
] | 73 | Java | bdiouf/data-quality | 1ce3e3c44ebd1f346b028ecce19c9cbefd0b9071 | 1ca2f74d2eb00a171cd1674e83a777f3631cc84f |
refs/heads/master | <repo_name>Kvnsm/push_swap<file_sep>/srcs/checker/transform_arg_to_array.c
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/*... | 3a110938e63e0df0ff9520dd7ce9b8694001f652 | [
"C",
"Makefile"
] | 28 | C | Kvnsm/push_swap | dc354e5c94ef67c0a4bcac9f6a82e30515f1ccde | 374c42ba9496b49d02481afced127ec3e6fca874 |
refs/heads/master | <repo_name>SlidingSteven/SecurityQuestionEvaluator<file_sep>/README.md
# SecurityQuestionEvaluator
## Introduction
This application was built to demonstrate how security questions on personal accounts pose a [serious weakness](https://www.wired.com/2016/09/time-kill-security-questions-answer-lies/) to the actual secur... | 905ec8d7d3dbc4a211066c85856dd2f6ae2d5efe | [
"Markdown",
"Python",
"Text"
] | 6 | Markdown | SlidingSteven/SecurityQuestionEvaluator | abdefe634424da439a288dd9659cda4ab8fadd97 | 8dcb5669c12f2ebe6b786091bc12cc3eb88e05ff |
refs/heads/master | <file_sep>package main;
import java.util.*;
public class Horse {
public static void main(String[] args) {
int[] N = {5,15,17,3,8,11,6,55,7};
List<Integer> list = new ArrayList<Integer>();
for (int i = 0; i < N.length; i++) {
list.add(N[i]);
... | e7d775114498d2feb30d47d1ac76438fdd30c8db | [
"Java"
] | 1 | Java | Rafosk/horse | d36eaecc2a47e48aaf34e2f3479d0818b4396056 | e67ac62141d69a1235d4be85d397d5ba2a4ff9eb |
refs/heads/master | <file_sep># -*- coding: utf-8 -*-
import glob
# The glob module finds all the pathnames matching a specified pattern according to the rules used by the Unix shell
from pathlib import Path
# The final path component, without its suffix
mon_chemin = input('Quel est le chemin relatif du répertoire contenant les fichier... | d69a399c5df3b64cef14d796267d37bcd82bd90e | [
"Python"
] | 1 | Python | Pamfeu/Complements_Info_L1_UCO_Angers | e8658a5c506695a6cfb73405cb3883e37e618c20 | f7728d3096c53fe3c20b932e3813bf64fb5392e9 |
refs/heads/master | <file_sep>// omp_studio.cpp: определяет точку входа для консольного приложения.
//
//#include "stdafx.h"
#include <omp.h>
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
const int Size = 2000;
int a[Size][Size];
int b[Size][Size];
int c[Size][Size];
int main(int argc, char *argv[])
{
double... | d1f145e151dae3904a55590bc24fa1a1ce6476ab | [
"C++"
] | 1 | C++ | amdandrew/borisova-olga | 42151e241d9c4287cc20365b56f99c18a13b2d56 | a6b15cbe01d9dde79131395767bae685b03e1617 |
refs/heads/master | <file_sep>function showMenu(){
var element = document.getElementById('menu-list');
element.style.transform = "scale(1,1)";
};
function hideMenu(){
var element = document.getElementById('menu-list');
element.style.transform = "scale(0,0)";
};
/*set min-height*/
function myFunction() {
var h = window.inn... | 965ac524309e14a458445a4cb7ccf951419c609e | [
"JavaScript"
] | 1 | JavaScript | ArTooDToo/Exercise | f814b4925629acc9cf75781fc9ebef20fb2ce659 | 6c93f50f3de418045892324ba812970e6e0b02b2 |
refs/heads/master | <repo_name>JP97/MyProjectMVC<file_sep>/Utilities/ApiHelper.cs
using MyProjectMVC.Models;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
namespace MyProjectMVC.Utilities
{
public class... | 6a95e55aa66c1f9ce1a6f865e46492fd4bc7095d | [
"C#"
] | 4 | C# | JP97/MyProjectMVC | 06af13940c8bcacfc8630a45691ff888bfbc535e | 4280d7de6b64e6ab667668468472b40cb506e1b1 |
refs/heads/master | <repo_name>biammsilva/programacaoScripts<file_sep>/manada2.js
function Cachorro(){
this.barulho="Au";
}
function Gato(){
this.barulho="Miau";
}
function ManadaVirgula(){
tempo=1;
bar=", ";
Manada.call(this);
}
function ManadaSustenidaDupla(){
tempo=2;
bar="# ";
Manada.call(this);
}
function Manada(){
lista... | 3d6f7ab150ad41aa3259430472a4f5080135f58f | [
"JavaScript"
] | 2 | JavaScript | biammsilva/programacaoScripts | a5ea01161d6947f1eeee294666ff6da128d10411 | fc0f61852e0ffd769bab71b61fb9ee51b884e49c |
refs/heads/master | <file_sep>//
// GradientView.swift
// ImageViewer
//
// Created by Admin on 6/1/18.
// Copyright © 2018 Admin. All rights reserved.
//
import GradientView
import Foundation
extension UIView {
func drawTopGradient(){
self.layer.mask = CAGradientLayer.topGradient(withBound: self.bounds)
self.back... | 5bedcaaef581d365097e82c02ecf40e073b43bb2 | [
"Swift",
"Ruby"
] | 29 | Swift | assassins719/imagegallery | 21c99581bdac3ac94afd32a815fdaca1f317f2dd | d646d4511626e8f3e2942b3e11c905f2be774f0d |
refs/heads/master | <repo_name>deepcrawler/TriangleTypeDetector<file_sep>/src/test/equilateralTriangleTest.java
package test;
import org.junit.Test;
import triangle.triangleType;
public class equilateralTriangleTest extends baseTriangleTest {
@Test
public void equilateralTriangle_Random() {
int min=1;
int max=100... | a336b69d71bf8d0c2cf1e5304f5affd7d4210f0f | [
"Markdown",
"Java"
] | 7 | Java | deepcrawler/TriangleTypeDetector | f6ca5930bb040b86f53c742196e20b2aa633f8b4 | ab4d690b5b92fa7d09f883e778f3adda2f055084 |
refs/heads/master | <file_sep>package main
import (
"fmt"
//"log"
"net"
"os"
"os/exec"
"strconv"
"time"
)
const port = "20008"
const localIP = "172.16.31.10"
const broadcastIP = "172.16.17.32"
func main() {
/* err := cmd.Start()
if err != nil {
log.Fatal(err)
}
log.Printf("Waiting for command to finish...")
err = c... | df989710104cac2a329da6b359c97a937c527322 | [
"Go"
] | 8 | Go | Aarskog/heisprosjekt | 8ce4b789c4b93ffe998beff934194956f64ff06e | 9ad3451bea18c571751ccc12804b5caee41b58b6 |
refs/heads/master | <repo_name>hawx/riviera-admin<file_sep>/actions/subscribe.go
package actions
import (
"errors"
"net/http"
"net/url"
"os"
"regexp"
"strings"
"github.com/PuerkitoBio/goquery"
"golang.org/x/net/html/charset"
"hawx.me/code/riviera/feed"
"hawx.me/code/riviera/subscriptions/opml"
)
func Subscribe(opmlPath, page ... | 88cd4d7d5ec25c240ea5cf3f2a27b4c951931926 | [
"Markdown",
"Go Module",
"Go"
] | 12 | Go | hawx/riviera-admin | 638df4f640a7ab25922cc2290bcdc6f1305cfc63 | 66d7a8ae04de711f7945b3aaf29a569e795cb593 |
refs/heads/master | <repo_name>xiaoBiao/test<file_sep>/html/request.js
$(document).ready(function(){
$('#addParam').on('click',addParam);
$('#sendBtn').on('click',requestServer);
$('#paramList').on({click:deleteTR},'button');
});
function addParam(){
var tr = $('<tr><td><input type="text" ></td><td><input type="text" ></... | 71cf731f80221789b330dd5b62ebe28e780dc7f7 | [
"JavaScript",
"Python"
] | 11 | JavaScript | xiaoBiao/test | afc970dee0097eb74c71eefda830506c646fc9f0 | 73595a39d061d374921e2d42beeeedaf1e6f0aac |
refs/heads/master | <file_sep># hangman-Csharp
The classic letter guessing game called Hangman using Asp.Net C#
<file_sep>using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControl... | c8a8772d0605b33dd22c08ee10ba390e0b600e5f | [
"Markdown",
"C#"
] | 2 | Markdown | Zaurelaa1/hangman-Csharp | ee1c90e17b6506bd96dc77afc3d0118884af4341 | 7da90cf31a6f3495a20c0dc97f7bfdc53ca388c1 |
refs/heads/main | <repo_name>Ammar-id/AI-matrace<file_sep>/backend/matrace/matserver/migrations/0002_carrier_article.py
# Generated by Django 3.2.3 on 2021-05-24 11:03
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('matserver', '0001_init... | 75f3ad5f304e1c75746a1b7b0097e7f0d934249b | [
"Python"
] | 5 | Python | Ammar-id/AI-matrace | f5f11281da6140622e9b2c5781fee2a9f51c0730 | fdd494ea67ccb4758c0829004b0559c581683ae4 |
refs/heads/master | <repo_name>rbm4/p2<file_sep>/src/main/java/p2/aula_dia_11/T2.java
package p2.aula_dia_11;
public class T2 extends A implements Interface {
@Override
public void template() {
// TODO Auto-generated method stub
}
public void sort() {
// TODO Auto-generated method stub
}
}
| 1b58493274dfc9631edfc7b4b967e8c6ba08ec05 | [
"Java"
] | 1 | Java | rbm4/p2 | 471c3c691f267cd389dfd5b86db1d7f570362ece | 93472f8d3091b7d95535391178a81c1785f38401 |
refs/heads/master | <repo_name>tye-shutty/elocker<file_sep>/Sources/locker_module/hardware_layer/gpio.h
/*
File: gpio.h
Authors: <NAME> and <NAME>
This module is responsible to initialize the GPIO pins
PTC11, PTC10, PTB11 and PTB10 as input pins, and PTC9,
PTC0, PTC7 and PTC5 as outputs to be used by a 4x4 matrix
keypad. It also in... | 448fe2f411b5fa1d5c4b82a291dc9ab2ac2d2fdc | [
"Markdown",
"C"
] | 34 | C | tye-shutty/elocker | c1f5909f7d9116d8ce678c8bb7c1a40a9e96d24e | a6648df04dc77a3514eb8361aa91dada977efd14 |
refs/heads/master | <file_sep>#class definition for Dog class
class Dog
end
#create three dogs in local variables
fido = Dog.new
snoopy = Dog.new
lassie = Dog.new
| c53d0d58ae9aa66c275d163858a3afbe1e1ecb19 | [
"Ruby"
] | 1 | Ruby | machen2/classes-and-instances-lab-ruby-v-000 | dc0c702b7dec6f5c7ab36190f8d55e9e3d325407 | c23279633df98adb694a7ab72534bfbc712a3fb9 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.