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>############################################################
# Undergraduate Research - <NAME>
# Imports
############################################################
import numpy as np
import torch
from pytorch_pretrained_bert import BertTokenizer, BertModel, BertForMaskedLM
import contextlib
import sys... | 25565c417d4ed69d5683d0f500c00f5a5bf10aee | [
"Python",
"Text"
] | 2 | Python | jyzhang111/bertR2 | 126f691dbca09d3c3bc3fea328bcf62da99962c3 | 131361a32306892384295de5242569d91ace02ae |
refs/heads/master | <file_sep>class Slingshot{
constructor(BodyA,pointB){
var options={
bodyA : BodyA,
pointB : pointB,
length : 0,
stiffness : 0.01
}
this.slingImage1 = loadImage("sprites/sling1.png")
this.slingImage2 = loadImage("sprites/sling2.... | ce2d804695a733f4e24867847b4ad8eb22ece770 | [
"JavaScript"
] | 1 | JavaScript | Aadishshele/Angry-birds-constrained-bodies- | 74db870a4deb4e1a4d6d7d8c5a6f11ce1ece7fef | 7c1acc14598dcdc970ca1526167cf3d137c37cc6 |
refs/heads/master | <repo_name>CentrychOS/centrych-support<file_sep>/etc/profile.d/skype-mesa.sh
# mask bug when using skype (possibly others) on 64bit systems w/Nvidia drivers
ARCH=`dpkg --print-architecture`
if [ "$ARCH" = "amd64" ] && \
[ -e /usr/lib/i386-linux-gnu/mesa/libGL.so.1 ] ; then
LD_PRELOAD=$LD_PRELOAD:/usr/lib/i386-... | 7d4192e76d46e7f29bfa1d2103bd2c6c5b2bb47d | [
"C",
"Makefile",
"C++",
"Shell"
] | 22 | Shell | CentrychOS/centrych-support | 31bfb85ff23536245a4efbe6d010915a9c63df34 | 580d0b65be6a3b65d644d38b217657a9e5421025 |
refs/heads/master | <repo_name>iKrishneel/sample_programs<file_sep>/rag/backup/main.cpp
#include <boost/graph/adjacency_list.hpp>
#include <boost/tuple/tuple.hpp>
#include <opencv2/opencv.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <boost/config.hpp>
#include <iostream>
#include <vector>
#include <string>
#include <set>
usin... | 3f70c0da51d20dd5237e08196509340fa1b70101 | [
"CMake",
"Python",
"C",
"C++",
"Shell"
] | 60 | C++ | iKrishneel/sample_programs | f00d710dcc22b86d9fc3889b0080e404e44c026d | c5b6937d3ec5136afa5e6f415f463c061668d059 |
refs/heads/master | <file_sep>Pod::Spec.new do |s|
s.name = "Pod1"
s.version = "1.0.1"
s.summary = "Cocoa Pods test"
s.description = <<-DESC
Example of making CocoaPods of your own code
DESC
s.homepage = "https://github.com/xialiuliu/Pod1"
s.license = "MI... | 03a9bf96b0135a15468ab3d17286d33e6c76a6b9 | [
"Ruby"
] | 1 | Ruby | xialiuliu/Pod1 | 2c79cad722d6258acd87a1faff7f95d2bd040cdf | 4d3eebb2220e6a67d43e7b5fa479ce0b37a63ce0 |
refs/heads/master | <repo_name>thu/Template<file_sep>/README.md
# MyBatis Spring Template Project.<file_sep>/src/main/java/demo/service/impl/UserServiceImpl.java
package demo.service.impl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import demo.dao.GenericDao;
import demo... | 8e17a1830458d63516b353251f3b14ea753d5728 | [
"Markdown",
"Java",
"SQL"
] | 4 | Markdown | thu/Template | cddf02506f88678d62a066490672198c6cec9b02 | aeac188d0a108f3faaa9a0355123d3a9082fb44a |
refs/heads/master | <file_sep>package com.jun.booktransaction.bean;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;
@Entity
... | 3d5d1c5f197154e3e7be004f1d5205faa835d9a0 | [
"Markdown",
"Java",
"JavaScript",
"Maven POM"
] | 14 | Java | GitHubOverlord/BookTransaction | c030abbff54ce83aed020d95a3bfb21ace3756cd | 55f4c86141e1e1a00431f7457f935a8b20ea0b9a |
refs/heads/main | <repo_name>Beka-Bat1/weather-app<file_sep>/README.md
# weather-app
React-Native weather app


<file_sep>/App.js
/* eslint-disable prettier/prettier */
/**
* Sample React Native App
* https://github.com/facebook/react-native
... | d9827a2de94766c38d6e5e2b40275829aa69f9c5 | [
"Markdown",
"JavaScript"
] | 3 | Markdown | Beka-Bat1/weather-app | acf30ed580934a1cefe4653d1a79e9b8bc6e7904 | 0708f7dc21d1da27e7c2d9eaf2bd06a30696c7f1 |
refs/heads/master | <repo_name>maxence-charriere/client<file_sep>/news.go
package main
import (
"net/http"
"time"
"encoding/json"
"github.com/murlokswarm/app"
)
type NewsInfo struct {
Id int64
Title string
Image string
Url string
Author string
AuthorLink string
Author2 string
Author2L... | 9d4eaa0c99e84378457212008d1dfc9c4d85159e | [
"Markdown",
"Go"
] | 3 | Go | maxence-charriere/client | fe4ef20961b02fb39e8398a80624e7e94fa3961d | 6459d957192ecda67fbb5db06f35da205bbee4e1 |
refs/heads/master | <repo_name>RicePavel/dvd<file_sep>/src/java/startup/Startup.java
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package startup;
import java.util.ArrayList;
import java.util... | 7b48e172b2e6ad255eb5ed9a222f6278012732c6 | [
"Java"
] | 3 | Java | RicePavel/dvd | 128b8e005fea232e4380c523aec74554b355137b | d44b1fee2c3c36368c5d5ef04703abdfccb32ece |
refs/heads/main | <file_sep>## Miscellaneous samples
This folder contains various scripts that we used for different purposes but
that are probably a little bit more complicated or bound to our infrastructure
to serve as good samples. It's more like an unstructured collection of scripts
we had used previously.
<file_sep>// Copyright 20... | 9ed1532994a7e21fb8cbc454a54229ca5ce9b7d6 | [
"Markdown",
"TypeScript",
"JavaScript",
"Shell"
] | 26 | Markdown | googleapis/github-repo-automation | 98a62c01242d1034da2373d0b6ad752af5c8711d | f313d40d6cea895aaae881561ea140d35ff2abb0 |
refs/heads/master | <file_sep>__author__ = 'Jason'
# DONE
from addVHS import *
from createVHSdatabase import *
from deleteVHS import *
from displayVHScollection import *
from displayVHS import *
from updateVHS import *
# Import functions
def main():
while True:
print(" ------------------------------ _____________________... | 2c7574f444ee89c879874ba626e0760c89ef3417 | [
"Python"
] | 7 | Python | jasClem/VHSDatabaseManager | 6a33adbdfbf3ee85b07c4f1318566313e84967f7 | 1b331274d17e272d62e98e2dd97b6fabee422424 |
refs/heads/main | <repo_name>phucledien/major.farm<file_sep>/components/Strategies/StrategyYVaultV2.js
/******************************************************************************
** @Author: <NAME> <Tbouder>
** @Email: <EMAIL>
** @Date: Friday April 23rd 2021
** @Filename: StrategyYVBoost.js
***************************... | 9b83680b50339e69fe94f652d63a7bf0e4b8bc56 | [
"JavaScript"
] | 1 | JavaScript | phucledien/major.farm | a3ddfdd6e04f8bf2c717cb6e13c6359f08f8089c | e582da4b72d47f0cb23eb514944ea97776311660 |
refs/heads/master | <file_sep>#ifndef AIRPORT_H
#define AIRPORT_H
#include <string>
#include <fstream>
#include "flights.h"
using std::string;
using std::ifstream;
using std::ofstream;
using std::ostream;
using std::istream;
class airport
{
private:
int max_num_flights; // максималь... | d0af6145c5c4974be9085e0f75098f0c567c8eb1 | [
"C++"
] | 5 | C++ | TheEluzive/airport_database-c-structers.-etc- | bed0c08dd26f0e61f7be75a5229cec3bca9ec055 | 63d95c97e55b5ea00d4da3b2b8c445a619037673 |
refs/heads/master | <repo_name>yana22rus/bufer<file_sep>/bufer.py
import pyperclip
pyperclip.copy(pyperclip.waitForPaste().replace(".ru",".ru/app_dev.php"))
| e3fe108c3e2cc129f666aea2f144860f5ab0e062 | [
"Python"
] | 1 | Python | yana22rus/bufer | 37da568cd6c3488c8f2668afd5e76b32f6fec37b | 57f8c43e9501d509b23cfd865714f8078c0bf792 |
refs/heads/master | <repo_name>lpinilla/my_configs<file_sep>/i3/power_down.sh
#!/bin/sh
choices="shutdown\nreboot\nsuspend\nlog_off"
chosen=$(echo "$choices" | dmenu -i)
case "$chosen" in
shutdown) sudo shutdown now ;;
reboot) sudo reboot ;;
suspend) sudo sysctemctl suspend ;;
log_off) pkill -u lautaro ;;
... | 775ba73b7395157eb2a967e67e584aaf8db9f07f | [
"Shell"
] | 1 | Shell | lpinilla/my_configs | 623e841e2576d0e6dc2ecd77cfb9de5cd4ef2c56 | c931cb87a790017fa66275675c456542c2ebd59d |
refs/heads/master | <file_sep><!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>php</title>
</head>
<body>
<?php
$maVariable = 'femme';
if ($maVariable != 'homme') {
echo 'C\'est une développeuse !!!';
}
elseif ($maVariable == 'homme') {
echo 'C\'est un développeur !!!';
}
?>
</b... | 4b2f1c1be8eef438b3c633fa18697d380849b5e3 | [
"PHP"
] | 1 | PHP | Marie-Axelle/php2ex5 | 96e084286ee4797f4f6c7458b9d98e8055b6de8e | d73120be86e0a77dd191d36b7c219f276ace5794 |
refs/heads/master | <repo_name>asimonia/musichistory_api<file_sep>/musichistory/musichistory_api/admin.py
from django.contrib import admin
from musichistory_api.models import Album, Artist, Genre, Song
admin.site.register(Album)
admin.site.register(Artist)
admin.site.register(Genre)
admin.site.register(Song)<file_sep>/musichistory/music... | 4e4de77faa0a47b7d7dcd8ae369f54ce188719db | [
"Python"
] | 7 | Python | asimonia/musichistory_api | f73f1f57ac19436b502534f7fa2841b6e5caa977 | c8b481cd2ceea2d6b9a3525121bdcd32e6ca6dca |
refs/heads/master | <repo_name>jwhite96/SOFT252-Practicals<file_sep>/Week06/PubSimulation/src/Templates/Spirits.java
package Templates;
//An abstract Template class for a spirits
public abstract class Spirits {
public final void prepareDrinks() {
addIce();
addSpirit();
addMixer();
addGarnish();
}... | 39463292d600b0014cf4468d6ed13a67b27c70af | [
"Markdown",
"Java",
"INI"
] | 11 | Java | jwhite96/SOFT252-Practicals | aca35fd1842886b913ea630c8a0d54b869fbe3a7 | b2bf255002e93fee48fcf9ba87aa93b6aa5f333b |
refs/heads/main | <file_sep>package ru.geekbrains.lesson.seven;
public class Main {
public static void main(String[] args) {
Cat[] cats = {
new Cat("Пушок", 15),
new Cat("Барсик", 10),
new Cat("Рыжик", 20),
new Cat("Мурзик", 10)
};
Plate plate =... | 30c94b51abe2c166b61316ba0ea86d72b6183476 | [
"Java"
] | 2 | Java | TexMerphy/LessonSeven | 5d80ebe4111eddd1d716668e5170d9aaf1eb4dee | 68986a67532856ae6864d8a9092c95d61e1492ba |
refs/heads/master | <repo_name>WhiteRaidho/ArduinoNightLamp<file_sep>/README.md
# ArduinoNightLamp
Kod do wielofunkcyjnej lampki nocnej.
<file_sep>/ArduinoNightLamp/ArduinioNightLamp.ino
#include <CapacitiveSensor.h>
#define redPin 5
#define greenPin 9
#define bluePin 6
#define photoPin A3
#define potPin A0
#define touchRec 2
#define t... | f3c838fb626968781ce94784d53287438956dc95 | [
"Markdown",
"C++"
] | 2 | Markdown | WhiteRaidho/ArduinoNightLamp | 382edbda37161c1b8b3e8da6580b74f443abe5a7 | ec84e4ae7f96c261c380e83365613c8058e8568f |
refs/heads/master | <repo_name>relayr/go-sdk<file_sep>/relayr/structs.go
package relayr
type Reading struct {
Meaning string `json:"meaning"`
Value string `json:"value"`
}
type Command struct {
Path string `json:"path"`
Name string `json:"name"`
Value int `json:"value"`
}
type Commands struct {
Commands string `json:"comma... | bd31b86e57b2edeb95eca6d6bf66339f47cb68be | [
"Markdown",
"Go"
] | 7 | Go | relayr/go-sdk | b3e0e6cfed645c806b33c6f2557584d14661959f | ab4fe5d1ab256a1a45357b8ec3340191822faaa2 |
refs/heads/master | <file_sep>#!/usr/bin/env python
"""
Python source code - replace this with a description of the code and write the code below this text.
"""
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
import unittest
class BaseTestCase(unittest.TestCase):
@classmethod
def setUpClass(cls):
raise NotImplementedError()
... | 8a851c0d03acd87b256f66f3b28b1dd119abcdcf | [
"Python"
] | 1 | Python | rich-hart/Testing_Scripts | 8949725ff9d5445461db43c6ea012bd331cc5ab9 | 0a73c49ad13df3d6de9025f3a72a00e7b91fdca4 |
refs/heads/master | <file_sep>Generator
=========
The package ships with two generators, which are configurable through an associative array as constructor parameter. Alternatively if you have a project that uses the same configuration over and over again, extend the respective config object and pass it instead of the configuration array... | b8b4104865765239daee37aa390a1bcb92dbd6d6 | [
"Markdown",
"PHP",
"reStructuredText",
"Shell"
] | 106 | reStructuredText | sidux/php-code-generator | 763b8b824ab850fe6986df93fb0c520d8dac3291 | 381e4b0d310970f44d373ce4cacc7ec626aa96d8 |
refs/heads/main | <repo_name>rotcrus/spaghetticoders<file_sep>/risk-assessment_v0.1.md
- Risk-Assessment_v0.1
# Μέλη ομάδας
```
1058120 ΜΑΡΙΟΣ ΚΑΡΙΠΗΣ
1041729 ΓΕΩΡΓΙΟΣ ΔΑΒΟΥΛΟΣ
1054372 ΤΖΟΥΔΑΣ ΠΑΝΑΓΙΩΤΗΣ
1040641 ΕΥΑΓΓΕΛΟΣ ΔΗΜΟΠΟΥΛΟΣ
1054414 ΑΝΔΡΙΑΝΟΣ ΛΟΥΓΚΙA
```
Risk-assessment editor : _Ανδριανός Λούγκια_ , _Καρίπης Μάριος... | dd36a37a6f3b1ffd4fd8de8af1120aa0951b750d | [
"Markdown",
"Python"
] | 9 | Markdown | rotcrus/spaghetticoders | 07583d355adc8b56de4b65af725836467b1e9c99 | 90f3f49728e218737eb971a7cf9e95a1c04e04d0 |
refs/heads/master | <repo_name>alexung/redux-egghead<file_sep>/ep-14-reducer-composition-with-objects.js
// === REDUCER COMPOSITION WITH OBJECTS ===
const todo = (state, action) => {
switch (action.type) {
case 'ADD_TODO':
return {
id: action.id,
text: action.text,
completed: false
};
case 'TO... | 7afa59cffd25ffcf9c360eb7ea545116021d1621 | [
"JavaScript"
] | 10 | JavaScript | alexung/redux-egghead | 886b0045025744e743bd79703232ea0052661736 | 8686dfa23af6bc2d6b8b265b67c8e7009da0463a |
refs/heads/master | <repo_name>benbulen/Test<file_sep>/bin/proj3_shiny.R
#
# This is a Shiny web application. You can run the application by clicking
# the 'Run App' button above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
install.packages('shiny')
library(shiny)
args = commandArgs(tr... | e119af06e12e86b8d4ac2e1ffd33342017fb4f14 | [
"R"
] | 1 | R | benbulen/Test | 998263dc1d9ef2bf44e8fb57aac9286c12d7a9b2 | 0a0f2340fa1351fff5fb14e519ce12ae18d66a76 |
refs/heads/master | <repo_name>bpolaszek/webpush-js<file_sep>/src/webpush-sw.js
self.addEventListener('push', event => {
try {
const Notification = event.data.json();
event.waitUntil(
self.registration.showNotification(Notification.title || '', Notification.options || {})
);
} catch (e) {
... | 06b83747d2ffeca438d5dd623d6618c3164564bf | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | bpolaszek/webpush-js | d6f24e2cb5600f75646d06a158e3b111c1a8a24d | c97f5a7f471b49d91a2bb94f0d83b18d2542c580 |
refs/heads/master | <file_sep>using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class InventoryClick : MonoBehaviour {
public bool boll;
public Transform item;
public Transform canvas;
void Update()
{
if (boll == true)
{
item.position = Input.mousePosi... | 78ac8b52b0a748192c0b68a4c21cf83f2ebef7f4 | [
"C#"
] | 2 | C# | GMD1AJoachimRook/Project-4-Inventory | 00f070a3dcdaadcf7036bb86d4d344defdf7ecdc | 3a287670087d2a385bdf4ce2caad79d8b6bbaa46 |
refs/heads/master | <file_sep>#ifndef HANGUL_CONST_H
#define HANGUL_CONST_H
extern char hangul[0x0000227e];
// static int tempUnionCode;
// static int oldKey;
// static int keyCode;
// static int Double_Jung(void) {
// static byte Jung_Table[7][3] = {
// { 0xad, 0xa3, 0xae }, /* ㅗ, ㅏ, ㅘ */
// { 0xad, 0xa4, 0xaf }, /* ㅗ... | 1dd8ab3488a6cb3e8af2e70c14d507ef80662ffb | [
"C"
] | 3 | C | Chrisaor/haribote_for_hangul | 8752e9b7c22f82067a5bb8921f626024e5c79957 | b71ccc2261e24c6fc0aaa87801b594edebeb711e |
refs/heads/master | <file_sep>let express = require('express');
let router = express.Router();
const controlador = require('../controller/indexController');
router.get('/' , (req,res) => {
//leo todo el array de productos en el controlador homeController
const products = controlador.leerTodos();
//envio el array prodcut a l... | 09048348c881f4f0a4285d15ec87e45d1bb7e7c6 | [
"JavaScript"
] | 3 | JavaScript | Marc319-jr/MercadoLiebreM51 | ead183db593fa322e3badabcef004bf2cfad8a6d | 2d1f29606a628156ef8c94fbd8f0fd774c514a89 |
refs/heads/master | <repo_name>willemwouters/orangepi_uboot<file_sep>/tools/pack/make2.sh
cp -fv chips/sun8iw7p1/bin/u-boot-sun8iw7p1.bin out/u-boot.fex
pctools/linux/mod_update/update_uboot out/u-boot.fex out/sys_config.bin
<file_sep>/tools/pack/make.sh
# Copy fex file
cp -fv chips/sun8iw7p1/configs/dolphin-p1/sys_config.fex out/sys_... | d70760aca6e8f1e211b10f603491f2a3a6eda393 | [
"Shell"
] | 3 | Shell | willemwouters/orangepi_uboot | 41dcebbb934d65023abde3237100da9d0b428b90 | 9c0867405e3623ea0ffa01215de4435b62aaba21 |
refs/heads/master | <file_sep>// Schema describes data in the graph
const graphql = require('graphql');
const _ = require('lodash');
const Book = require('../models/book');
const Author = require('../models/author');
// Dummy data removed.
// Define type.
const {
GraphQLObjectType,
GraphQLString,
GraphQLSchema,
GraphQLID... | 6a403fb2859967a11bd6801bb27c564fbc1cf7bb | [
"JavaScript"
] | 2 | JavaScript | nexticodes/GraphQL-Reading-List | c9f961603380148168bf993a07a63eeba2b2829c | 44ed605242bab2bcb523a86c511470dbf325ae01 |
refs/heads/master | <repo_name>manuelprg/quiz-2015<file_sep>/controllers/quiz_controller.js
exports.question = function(req, res) {
res.render('quizes/question', {pregunta:'Capital de Italia'});
}
exports.answer = function(req, res) {
if (req.query.respuesta === 'Roma') {
res.render('quizes/answer', {respuesta:'Respuesta Correcta'}... | c32ce762fe018724fde8115116142459f60254a6 | [
"JavaScript"
] | 1 | JavaScript | manuelprg/quiz-2015 | 9c0f3f3d4a123c0b75465b1bb150da8b5ef4f084 | 28cc34ac79b8acb53035d09e4a67b046e73b6836 |
refs/heads/master | <file_sep>namespace naive_bayes
{
using System.Collections.Generic;
public interface Segment {
IEnumerable<string> Process(string input);
}
}
<file_sep>namespace naive_bayes
{
using System;
using System.Collections.Generic;
public class LengthTokenFilter : Segment {
public Leng... | 8ca954d559609c72de52f0bbb41c9ddcd2cf939d | [
"C#"
] | 10 | C# | valdisz/naive-bayes | 30f21b1e561c16c6f6989679c2729da81f4c1d6d | 702a0a8973ef473b14da99bf81638ac57f93e689 |
refs/heads/master | <file_sep>package com.rilixtech;
/**
* Created by hbb20 on 11/1/16.
*
* Clean up and moving all Country related code to {@link CountryUtils}.
* a pojo should be a pojo and no more.
*
* Updated by Joielechong 13 May 2017
*/
public class Country {
private String nameCode;
private String phoneCode;
private S... | a415fb48adfa7a9c8bdc3b680d3603e6f77ff3b7 | [
"Java"
] | 1 | Java | tazmaniane/CountryCodePicker | 0c887078b6c865854d261ee81f9d45985e3095d7 | 797ba3af8432ae1dd663abf545191a8cdcc76521 |
refs/heads/master | <file_sep># created at 2020-10-26 04:58:59 +0900
# /mnt/c/Dropbox/www/crawle/data 5
# /mnt/c/Dropbox/www/crawle/node_modules 186
# /mnt/c/Dropbox/www/fancy-date/node_modules 405
# /mnt/c/Dropbox/www/giji-fire-new/node_modules 1189
# /mnt/c/Dropbox/www/giji-next/functions/node_modules 498
# /mnt/c/Dropbox/ww... | c0510146e62a861e3b6ef6dbca4fc3e4cc4e5d9b | [
"TypeScript",
"Ruby",
"Shell"
] | 24 | Shell | 7korobi/crawle | bd3deb6296a09763189e837eebbb230f6fb07819 | 9804f1ae42ca4f9c42e6d5047ec13b1cc64c88bb |
refs/heads/master | <file_sep># Stack_Applications
Implementing prefix and postfix notations using stacks with linked lists
<file_sep>#include<iostream>
using namespace std;
template<class T>
class pre
{
T a[100];
int maxsize,sp;
public:
pre(int m)
{
sp=-1;
maxsize=m;
... | 95a86c0eb086f7e87726852fcc6c650040baa082 | [
"Markdown",
"C++"
] | 2 | Markdown | Prasant-Jillella/Stack_Applications | 56174f85c73c3d334cda11bc0d4d1dc5c787dd7f | b5f5bb82eca478e187f5b1c69f7a0ef15b9b590a |
refs/heads/master | <file_sep>package it.ra.librettounivesitario.exception;
public class IllegalVotoException extends Exception {
public IllegalVotoException() {
super();
}
public IllegalVotoException(String message) {
super(message);
}
}
<file_sep>
package it.ra.librettounivesitario.exception;
public class IllegalDocenteExc... | f0e50e64c3009d57690eb16bb6930d9701261a90 | [
"Java"
] | 3 | Java | venflon1/librettoUniversitarioDemo | ee570d6ed97b526233c1d2ccfa49e34bb5c6f7ee | 549cef94b9fda88f471298ca6f5fe40824f06854 |
refs/heads/master | <file_sep>host=?
name=?
username=?
pass=?<file_sep><?php
session_start();
if(!isset($_SESSION['userid'])){
die("You must be logged in!");
}
include('../dbinfo.php');
//get data
$name = $_POST['name'];
$memory = $_POST['memory'];
$load = $_POST['load'];
$timeout = $_POST['timeout'];
$num_jobs = $_POST['num_jobs'];
$jo... | b223ec8bba6942649ce13393b8e45c7536133bab | [
"JavaScript",
"INI",
"Java",
"PHP",
"Shell"
] | 51 | INI | liamc360/JobDistribution | 5b600648779e89cecbe4bbe301b506383b1de89b | da9adf19730d066f464a4ad781255e01bee200e0 |
refs/heads/master | <file_sep>package com.example.ligabaloncesto.repository;
import com.example.ligabaloncesto.domain.Estadisticas_jugador_partido;
import org.springframework.data.jpa.repository.*;
import java.util.List;
/**
* Spring Data JPA repository for the Estadisticas_jugador_partido entity.
*/
public interface Estadisticas_jug... | 966ca96c2a3692bf0a402f734085e3d839ab318b | [
"JavaScript",
"Java"
] | 4 | Java | victorcv/BaloncestoJH | 2308bf9381168d16f88ce4456b3b421a4b9a2cec | 999db9c1f22952e0175d5b95a328c30bf31e1bbd |
refs/heads/main | <repo_name>SDC-Willow/SDC-Willow<file_sep>/README.md
# System Design Capstone - Hack Reactor - RPP29 - Team Willow
*Project Owners: <NAME>, <NAME> and <NAME>*
## Project Overview
Create FEC's API
### Table of Contents
- [Description](#description)
- [Installation](#installation)
## Description
TBA
## Installatio... | d514a2f253cf3753216724ab95c781a2fc1833d5 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | SDC-Willow/SDC-Willow | ccfa79476bfd330c9b50b11c8987dde20c0aa85a | 64d4f4c15e4ed4bbc7275007599a61e82aaffccf |
refs/heads/master | <file_sep>[](https://travis-ci.org/systelab/identity-service)
[](https://www.codacy.com/app/systelab/identity-service?utm_source=github.com&ut... | 16476973892a376fa8e4746093edc360559b6d95 | [
"Markdown",
"Java"
] | 4 | Markdown | systelab/identity-service | 0aba98c6635f1810e419b2068cd84d7749118d0f | 764bfdcdc9e20f1f6b768b33aff37d162c01b12f |
refs/heads/master | <repo_name>rebeccaorgan/photoshop<file_sep>/image.h
#pragma once
#include "EasyBMP.h"
class image {
public:
// constructor, copy constructor and assignment operator
image();
image(const image& other);
image& operator=(const image& other);
// destructor
~image();
private:
};
<file_sep>/Makefile
CPP_FI... | a243a48c8d6b09b6764d9b4c73f3c68c76991ab7 | [
"Makefile",
"C++"
] | 4 | C++ | rebeccaorgan/photoshop | c5eea91d0640563339dd4b15f4865594b25091e2 | 24a12f8f730b9a210f59d9b8b44bd05cca83914c |
refs/heads/master | <file_sep>#ifndef DEFINITIONS_H
#define DEFINITIONS_H
const float _version=0.93;
const float _time_step=0.01;
const float _unit_move_anim_speed=10.0;
const float _game_start_time=10.0;
const float _move_delay_min=20.0;
const float _resend_delay_min=5.0;
#endif
<file_sep>#include "clientCom.h"
clientCom::clientCom()
... | 6fe72958bb68d17c9d493ab1b997e78e48218894 | [
"C",
"C++"
] | 15 | C | erikhallin/RTS_Chess | 885c0dbc6cc58b99a52eb86b8826fac718f81e93 | 4d13d3145b43fa1bda815917c3822d7b1944e9b3 |
refs/heads/master | <file_sep>package notification
type NotificationOptions struct {
Endpoint string
}
func NewNotificationOptions() *NotificationOptions {
return &NotificationOptions{
Endpoint: "",
}
}
func (s *NotificationOptions) ApplyTo(options *NotificationOptions) {
if s.Endpoint != "" {
options.Endpoint = s.Endpoint
}
}... | b81f7d60c9ef18e5462f1978d2477dedd84522de | [
"Go"
] | 1 | Go | gottaBoy/kubesphere | 1361106bdd135ec294ac9a50409f0b2fbb2716da | 4c6f6ab52371aed924efc37e0a3672ece31bc34a |
refs/heads/main | <repo_name>Ali-Rakib-Bhuiyan1/helth-care<file_sep>/README.md
live-Link:https://health-care-hospital.web.app/
#Features
-Online appointment making
-Prescribe medicine for each patient
# Thechnology :
-React.js
-Bootstrap4
-CSS3
-React Router
-Firebase
<file_sep>/src/compoments/Doctors/Doctors.js
import React from 're... | 037f07b2f7f866686c75b8135d85191cb04e703e | [
"Markdown",
"JavaScript"
] | 10 | Markdown | Ali-Rakib-Bhuiyan1/helth-care | 9ea7172a78ac97594ddfbffcfdcc088bad92beb7 | 5792af7ea2a756fbd55b032166e0bb7d01183b0e |
refs/heads/main | <repo_name>jonaMclaurin/jqgrid_example<file_sep>/script.js
let myBttn = document.getElementById("add");
let dataBttn = document.getElementById("data");
let textarea = document.getElementById("text");
let idx = 1;
myBttn.addEventListener("click", (e) => {
//event.preventDefault();
idx++;
$("#grid").jqGrid("addRow",... | e08957097a05936ce3946a02be2f5cfb5cd122b8 | [
"JavaScript"
] | 2 | JavaScript | jonaMclaurin/jqgrid_example | cd56e426b27b3312b91cb0b6278624088fd75d3d | 7379e0d6a868522551604404766cfa73942eb5f2 |
refs/heads/master | <repo_name>superbiche/sentry-laravel<file_sep>/test/Sentry/ExpectsException.php
<?php
namespace Sentry\Laravel\Tests;
use RuntimeException;
trait ExpectsException
{
protected function safeExpectException(string $class): void
{
if (method_exists($this, 'expectException')) {
$this->expectEx... | 978d8dc16fbbbf1d83bb95bed21fd0de8b88c6fc | [
"PHP"
] | 5 | PHP | superbiche/sentry-laravel | 3abf5c48f2b2c5825290bcbdb639f7763d15fba1 | 801c7600d09955adfbf62b81edebde6aeddbd5ad |
refs/heads/master | <file_sep>let superChimpOne = {
name: "Chad",
species: "Chimpanzee",
mass: 9,
age: 6,
astronautID: 10,
move: function(){
return Math.floor(Math.random() * 11);
}
};
let salamander = {
name: "Lacey",
species: "Axolotl Salamander",
mass: 0.1,
age: 5,
astronautID: 9,
... | c5563fc2c2d00c5d2cf21fcc0ffd356cca839a59 | [
"JavaScript"
] | 1 | JavaScript | randomcase/ObjectsExercises-3 | 556e0d6fa5ee4da6450ea0513ed1ad2ffb85eb2d | 50cb3de31c603ff09bc5e8d3aff6e33149f60812 |
refs/heads/master | <repo_name>FlexPress/component-menu<file_sep>/src/FlexPress/Components/Menu/MenuInterface.php
<?php
namespace FlexPress\Components\Menu;
interface MenuInterface
{
public function output(array $args = array());
}
<file_sep>/src/FlexPress/Components/Menu/PostTypeMenu.php
<?php
namespace FlexPress\Components\Menu;
... | fd8cacadf7a18a487463f796f88920b10db0b3e6 | [
"Markdown",
"PHP"
] | 3 | PHP | FlexPress/component-menu | 6935a505513651c347ca76b12f5de4eef187d5fc | 82158fb275c5ae355fc1fdd002c5231e20bd3ac8 |
refs/heads/master | <repo_name>sura1214/Group-one<file_sep>/README.md
# Group-one
<file_sep>/user/routes/api.php
<?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
use App\http\controllers\StudController;
/*
|--------------------------------------------------------------------------
| API Routes
|-------------------... | 400382d3e76eb926ca6e90e00176c1e8a9de4a1d | [
"Markdown",
"PHP"
] | 3 | Markdown | sura1214/Group-one | 7e0070bd71ae178d5b4d38edef35588219e60fe1 | 2f3012fe5fc3ad33bb35a6e142281fffcfa216c9 |
refs/heads/master | <file_sep>import React, {useState, useEffect, useRef} from 'react';
import './App.css';
import FlashcardList from './FlashcardList';
import axios from 'axios'
function App() {
const [flashcards, setFlashcards] = useState([]);
const [categories, setCategories] = useState([])
const categoryEl = useRef()
const ... | b6b002ec0aae229c42d228d998f260941329f6e6 | [
"JavaScript"
] | 1 | JavaScript | paulkg4u/react-flashcard-tutorial | 5531c5210ecc09e787498c962bb9ed84be0faace | 0bab0acd1dc6cf29d4461437f16314ea41497a2c |
refs/heads/master | <file_sep>## Overview
The Enigma Machine is an encryption device used by the Nazis during WW2. This code replicates the substitution cipher and allows the user to encrypt their plain text. The main class is Enigma, its parents are the classes Rotors and Plugboard which must be configured in order for Enigma to be used... | 82e6ea5bd1847b5014a4fb77abe031528c0cfa33 | [
"Markdown",
"Python"
] | 2 | Markdown | kudz7/enigma-machine | 30a887b512017c384cd0132c0f9253682f1af90f | 40db39eddcf73ed9cfa5d89c86972debf596a504 |
refs/heads/master | <file_sep>package org.jyu.itks545;
/**
* Callback interface for asynchronous network ASyncTask.
* For example: Show all markers when they retrieved from server.
*
*/
public interface AsyncCallback {
public void callback(String json);
}
<file_sep>AndroidClient
=============
Add google_play_servicer.jar as dependa... | ccd10e85d3ac848c2d542048c81e7f94a7f521b0 | [
"Markdown",
"Java"
] | 7 | Java | Hootee/AndroidClient | ed543c944f76eb3ba82c751cd6d640ec0efb442a | dec2e1b255b73b0053c4e98154f8746dcf9f81de |
refs/heads/master | <file_sep>import React, { useState, useEffect } from "react";
import ListCategories from "../../../components/List/Categories";
import {
getCategoryGroup,
createCategory,
deleteCategory,
updateCategory,
bulkDeleteCategory,
} from "../../../network";
export default function ListCategoriesCtrl({ dataLabel, lab... | 909ae74afb3b100ed46f8f97be1ccb312dc9b8c6 | [
"JavaScript",
"Markdown"
] | 57 | JavaScript | BCITConstruction/indigenousplantgo-cms-client-1 | 8caaea6f2f0acccd4ac54c8693d54b95503c090c | fe4b8a777c7c9abb9c3d4bba4ea055c2c67f30b8 |
refs/heads/main | <file_sep><?php
public function excluir(){
if($this->id){
$sql =
"DELETE FROM operacoes WHERE id_operacao = :id_operacao";
$stmt = DB::conexao()->prepare($sql);
$stmt->bindParam(':id_operacao', $this->id);
$stmt->execute();
}
}
?>
<?php
if(isset($_GET['remove']) && $_GET['remove'] == true){
$listaPermissao = Operacao:... | 1750a935c603b21c580c844d824f1e5016fa05d3 | [
"PHP"
] | 17 | PHP | Felkarto/Sistema-de-Permissao | c540d054e5df309614d8353b1ee35895d35bf35e | 27bd50cd676927af408a1e2df21a70d424e3f71f |
refs/heads/master | <file_sep>import { createStore, applyMiddleware, compose } from 'redux';
import createSagaMiddleware from 'redux-saga';
import { persistStore, persistReducer } from 'redux-persist';
import storage from 'redux-persist/lib/storage';
import rootReducer from './module/rootReducer';
import rootSaga from './module/rootSaga';... | 7d91b64ce733bd8ea084c148dcdd885c499ab0ba | [
"JavaScript",
"Markdown"
] | 9 | JavaScript | lucasbcosta92/basic-commerce | d1b000503d833ac0618b7e684dcdf22fd188357e | 660f14c12470ed0bc4e2a90821d6db732fc884cc |
refs/heads/main | <repo_name>Dinxor/tstore<file_sep>/tasks/backup.sql
backup database test to disk = 'c:\Backup\test.bak' WITH INIT, NOFORMAT, SKIP, NOUNLOAD
<file_sep>/modules/static/js/temp.js
$(document).ready(function(){
// Create a client instance
var clientId = 'a:myOrgId:'+Math.random().toString(16).substr(2, 8);
client = new P... | b639a3fbda373b0efb5e6eac6ca682f0be789cb0 | [
"SQL",
"JavaScript",
"Markdown",
"INI",
"Python"
] | 21 | SQL | Dinxor/tstore | ff2bb229ad2169926046076022b5a37025e98877 | 98b497c873124c492a9b35ff1f87df218e4d2bfd |
refs/heads/master | <repo_name>anderson-joyle/D365FO-ReportLatestLogFile<file_sep>/README.md
# Reporting service latest log file
Opens latest reporting service log file.
From Visual Studio menu bar: **Dynamics 365 > Add-ins > Report latest logs...**<file_sep>/D365FO_ReportLog/Addin/MainMenuAddIn.cs
namespace Addin
{
using System;
... | 0e704f4fa7fcc70c417c6648c3ad32187daa9f00 | [
"Markdown",
"C#"
] | 2 | Markdown | anderson-joyle/D365FO-ReportLatestLogFile | ee8b89b0be2455c3e419c5cfb8ef3ba5adbdd4d8 | f0f0a8666b4ffe9107b6289fcdd6f99d9c06edef |
refs/heads/master | <file_sep>import datetime
import zlib
from hyperquant.api import Platform, Sorting, Interval, Direction
from hyperquant.clients import WSClient, Endpoint, Trade, Error, \
ParamName, WSConverter, RESTConverter, PrivatePlatformRESTClient, Candle, ItemObject
# REST
class OkexRESTConverterV1(RESTConverter... | 85c6a80d87734e919bf7904a91b8da47f438c15f | [
"Python"
] | 1 | Python | A-Tarski/hq_for_okex | 844dbcdaed4135ea69d46f4fba1e3e3d923c8d47 | dd193e9b1be4542ef7b2f39dd05f9e1529dec9e7 |
refs/heads/master | <file_sep># nyaaJS
A light weight javascript framework.
<file_sep>$nyaa.register(
'ajax',
[],
{
onLoad: function(){
if(typeof(jQuery) === 'undefined'){
this.nyaa.error('nyaa.ajax requires jQuery');
return false;
}
this.nyaa.debug('ajax onLoad');
},
_ajax: function(method, url, data, success, e... | 57704f1fc947e42fbb9a12c630053db039d1099c | [
"Markdown",
"JavaScript"
] | 3 | Markdown | st0rm23/nyaaJS | 106ff770868ebb4743818bd1c591ea210bdb92c5 | a04e2dee254ab9f18b71852fd508ef44bd893b43 |
refs/heads/main | <repo_name>cerner/cucumber-forge-report-generator<file_sep>/types/templates/scripts.d.ts
declare let pauseScrollActions: boolean;
declare function toggleSettingsDrawer(): void;
declare function toggleTagDisplay(): void;
declare function toggleFunctionAccordion(element: any): void;
declare function toggleScenarioButton(... | 7c81f0f423a29a7eb09101939badc56c9310a8a9 | [
"Markdown",
"TypeScript",
"JavaScript"
] | 10 | TypeScript | cerner/cucumber-forge-report-generator | bd38905cc127b3334202db4bc8d99fcb1978634a | 53bbe99a8ba369b1a2a760426f944d2a5fc47a4d |
refs/heads/master | <file_sep>package main.java;
import java.io.File;
import java.util.Scanner;
public class Problem_11 {
public static void main(String[] args) {
File file = new File("src/main/resources/problem_11.txt");
try {
Scanner sc = new Scanner(file);
// read the first line to create ... | 3f5fbc8e54d4f51cbb4175ff4a6f8fed37bcd8ed | [
"Java"
] | 6 | Java | lyrakisk/project-euler | d7690c5f248ff444143b177ff9829a14f068d77e | 0b8492605ea100cca83293a8e234f35af52e69cb |
refs/heads/main | <file_sep>@file:JsModule("bootstrap")
@file:JsNonModule
<file_sep>package data
data class KotlinVideo(
override val id: Int,
override val title: String,
override val speaker: String,
override val videoUrl: String
) : Video<file_sep>import components.App
import kotlinx.browser.document
import react.dom... | a2d889081177191c12838c8029691016b77dc91b | [
"Kotlin"
] | 4 | Kotlin | douglasselph/conf-explorer | 30e746be6de33f9ad752b4712887c9f7563c4b2f | a047f465b669704bd3b7ae2b37373a62439616bb |
refs/heads/master | <file_sep># PrescriptionAnalysis-Kaggle
Dataset Link: https://www.kaggle.com/roamresearch/prescriptionbasedprediction
Predict the speciality, region and experience of the doctors based on the analysis of 250k prescriptions.
Visualization of the result (probability) after adding each medicine to the prescription usin... | 902ad2e05519503490808df7a9f6f1532661cb6d | [
"Markdown",
"Python"
] | 4 | Markdown | Dhrumil29/PrescriptionAnalysis-Kaggle | d524d7c0694b268e837c63a0880653592fc4b4b9 | 76a3ba1d04b0d46f3741dcb1932cabcec838d35a |
refs/heads/master | <file_sep>
/**
* Module dependencies.
*/
var express = require('express')
, routes = require('./routes')
, pg = require('pg').native;
var app = module.exports = express.createServer();
// Configuration
app.configure(function(){
app.set('views', __dirname + '/views');
app.set('view engine', 'ejs');
app.... | d77addf272c50840329403facd391d1a28dfa1f8 | [
"JavaScript"
] | 3 | JavaScript | stimularity/Node-Chat | 5b840ae433539d1e33262bc14c42c7db0be68d89 | 3e1fbf32821844243c6c7a5b9fa81fd87d03523d |
refs/heads/master | <file_sep>"""pytest-localstack constants."""
import botocore
from pytest_localstack import utils
# IP for localhost
LOCALHOST = "127.0.0.1"
# The default AWS region.
DEFAULT_AWS_REGION = "us-east-1"
# The default AWS access key.
DEFAULT_AWS_ACCESS_KEY_ID = "accesskey"
# The default AWS secret access key.
DEFAULT_... | a28bb10edae1db1fccfc72bf913768f0cf7839e2 | [
"Python"
] | 2 | Python | foxglove-tech/pytest-localstack | 9e6ef4f9f72ec5cf4adf5df234c7c9a9b7631b87 | 49c8a39a63946cee6a8915d540bdefd751afd6dc |
refs/heads/master | <repo_name>urield94/BPjs-Web<file_sep>/Hanoi/js/Display.js
function getName(num) {
return num === 0 ? "pole.gif" : "disk" + num + ".gif";
}
function message(str, force) {
if (force || !game_is_over && !show_messages)
document.disp.message.value = str;
}
function draw_board() {
for (let j = 0; j < ... | f4e609fb731e239961a4b3b2f8d9ac4fc972185d | [
"JavaScript",
"Markdown"
] | 6 | JavaScript | urield94/BPjs-Web | 4fabc7ece250908a20f250fcdc2787bbaed49db3 | 32b6e95a365198e77b73a607aea09cab1cab1ce6 |
refs/heads/master | <file_sep>
const sequelize = require('sequelize')
const db = new sequelize('shopdb','shopper','shoppass',{
host : 'localhost',
dialect : 'mysql',
pool :{
min:0,
max:5,
}
})
const User = db.define('users',{
id : {
type :sequelize.INTEGER,
autoIncrement : true,
... | c4c2608c1b14c595a7eb492d31b7e86dc7ffdef5 | [
"JavaScript"
] | 1 | JavaScript | truly-indian/web14-shoppingcart | bb60122fd8bb86654e221d25439ea271e00c7682 | c6c131b547067349a8609458c51bf215100b2480 |
refs/heads/master | <repo_name>1768012206/python<file_sep>/setup.py
from distutils.core import setup
import py2exe
setup(console = ['server.py'], windows = ['login.py','server_sql.py'])<file_sep>/client-chat.py
#!/usr/bin/python
# encoding: utf-8
import wx
import argparse
import socket
import thread
sock = socket.socket(socket.AF_INET,... | 766fc45b371696cc15822a52d32b7c28b28de76e | [
"Python"
] | 5 | Python | 1768012206/python | 7d2a70aa4167a5ce76e2d044474f5bba9f01a9d7 | b0edb9d25e72c46b0c59a5bb7be5328396ff1f96 |
refs/heads/master | <repo_name>pierreclr/datananas-test<file_sep>/public/mainController.js
/**
* Created by pierreclr on 10/03/2016.
*/
var app = angular.module('app', []);
angular.module('app').controller('mainController', ['$scope','$http', function($scope, $http) {
$scope.subject = "Subject";
$scope.message = "Here you can... | 8332b08198448df69a58758f579af6b2c18e22fe | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | pierreclr/datananas-test | 7b318b33fa555065c6b973765027d6bbabcf4d0c | dcb9ad6de02beb712e55e91e17c9dcbf9a644cc6 |
refs/heads/master | <repo_name>adolfo-tamayo/cra-build-watch<file_sep>/bin/cra-build-watch.js
#!/usr/bin/env node
'use strict';
/* eslint-disable no-process-exit */
const spawn = require('cross-spawn');
const chalk = require('chalk');
const resolveCwd = require('resolve-cwd');
// require it here to handle --help before checking prerequ... | 7665c59c787cdc6f47aa474c98dc8bdb86fc3c97 | [
"JavaScript"
] | 1 | JavaScript | adolfo-tamayo/cra-build-watch | 2c78f3a406d1d8af72206a7124c54374a228397f | bc7ad67c242d6255771a081f6ce6763fe8c1ac0d |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
#region 冒泡排序
int temp;
int[] arrSort = new int[]... | 73771dded27beaa853e595e8c813661398c00832 | [
"C#"
] | 1 | C# | cn-wwl/WWL | 0c0f6c32b37a6d89b191b3c326d2c5fd1dcee037 | 3c9483cd92b6c4be6cfc0fe2b4badf9c474eb4e7 |
refs/heads/master | <file_sep>package main.kotlin
import java.util.*
import kotlin.system.measureTimeMillis
fun bfs(board: Board, startPosition: Position): Int {
val startNode = Node(position = startPosition)
val bfsQueue: Queue<Node> = LinkedList()
val visited: MutableSet<Node> = mutableSetOf()
bfsQueue.add(startNode)... | b74148655ce66fa4f67e3af3f2991af2f9e18aea | [
"Kotlin"
] | 4 | Kotlin | Solero93/knightl-hackerrank | a4453de250ddcd0c031a587abf232a40078c4d0f | cfdf7c4db2b91d5b6752192463ae3229242b8f7f |
refs/heads/main | <repo_name>Gixon1/Introduccion-a-pruebas-unitarias<file_sep>/Autenticar Test/UnitTest1Base.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Autenticar_Test
{
[TestClass]
public class UnitTest1Base
{
[TestMethod]
public void TestLoginTrue()
{
bool result... | 1ed03244241f6377796b2f17dd55e89d84396505 | [
"C#"
] | 2 | C# | Gixon1/Introduccion-a-pruebas-unitarias | d5061791660882beb09d50d69f26771bfdacf7cb | 68279f9db0e2dbe55245b3f4114d2b59e4ac708a |
refs/heads/master | <repo_name>miridstein/ReactPplTable<file_sep>/5-30-19hmwk/ClientApp/src/App.js
import React from 'react';
import { render } from 'react-dom'
export default class App extends Component {
displayName = App.name
render() {
return (
<Layout>
</Layout>
);
}
}
| c7e8aa1f948b363af8511625df213e1098d39ccc | [
"JavaScript"
] | 1 | JavaScript | miridstein/ReactPplTable | 15ebb7e604335c04066c76f2165334843bfd90ea | 43c8502abc70125169be85c26efab38f1ae5fb8a |
refs/heads/master | <repo_name>wangsx07/hhsadas<file_sep>/src/main/java/com/jeesite/modules/alarm/dao/AlarmInfoDao.java
/**
* Copyright (c) 2013-Now http://jeesite.com All rights reserved.
*/
package com.jeesite.modules.alarm.dao;
import com.jeesite.common.dao.CrudDao;
import com.jeesite.common.mybatis.annotation.MyBatisDao;
import com... | fecb8c1f1c2f005092551fb909f595a3b092fa79 | [
"Markdown",
"Java"
] | 13 | Java | wangsx07/hhsadas | 4183a325af91976826ed7096be89342a4cc1e6f3 | 995f76a875dfad0cb7bdf696632402536bfb41a7 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Text;
using System.Net;
using System.IO;
using Newtonsoft.Json;
using System.Xml.Linq;
namespace WiPi
{
/// <summary>
/// Scratch Extension to talk to WebIOPi running on a Raspberry Pi device, to control the GPIO.
/// </summary>
cl... | aa5a3499f60fb343196d59655063b4d388b6a33b | [
"C#"
] | 1 | C# | WildGenie/WiPi | bc77c9bf6af3083e8888586ee09c0b5e9990c73c | 0189a0207d0f2a9919a8764f98a375178e73396a |
refs/heads/master | <repo_name>jjw9014/GoodLuck<file_sep>/GoodLuck-server/src/main/java/com/help/server/controller/SysUserController.java
package com.help.server.controller;
import com.help.api.ResultDTO;
import com.help.server.common.LoginHelper;
import com.help.server.common.ResultHandler;
import com.help.server.common.RsaUtils;
import... | a7c16e07a64778efb491e85702ea0f4a62156134 | [
"Markdown",
"Java",
"Maven POM",
"Shell"
] | 38 | Java | jjw9014/GoodLuck | ed6b2aef74abde7c159db3913f0030d89e04e340 | 61d11741dc2d982c6f8b35bd6a3dcf056cf7be1d |
refs/heads/master | <file_sep>import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { AccesoComponent } from './acceso/acceso.component';
import { BodyLandingComponent } from './body-landing/body-landing.component';
import { AdminPrincipalComponent } from './Administracion/admin-principal... | 5390862df81dd3fde3a9278f9e39a96686925a8d | [
"Markdown",
"TypeScript",
"JavaScript"
] | 17 | TypeScript | Diana-Sanchez/Repositorio-liebe-cms | e48b1548706b53fbf0c757d2c658817c18ca6f07 | 37faf532c7295475f8ede697bcfe39064a1ad2c0 |
refs/heads/master | <file_sep>/*
* PaintTraverse.cpp
*
* Created on: Jan 4, 2018
* Author: nullifiedcat
*/
#include "hooks/hooks.hpp"
#include "hook.hpp"
#include "interfaces.hpp"
#include "visual/draw.hpp"
#include <vgui/ISurface.h>
vgui::VPANEL panel_top = 0,
panel_focus = 0;
void hooks::PaintTraverse(vgui::I... | 3f76ec1a559f6bd985eedc3bbea419b24f350d3e | [
"CMake",
"Markdown",
"C",
"C++",
"Shell"
] | 34 | C++ | Sudo0x22/catbase-2017 | aef400ea31cb2a15d78b79a5351dbd8b24da7d5d | 1171a6ee9127488f9cea8967631082df30af0bbd |
refs/heads/main | <repo_name>JAKKARIN2544/project65<file_sep>/Include/admin_page/menu_admin.php
<?php include '../sql/conn.php';
include '../sql/check_session.php';
include '../sql/session_start.php';
?>
<!-- --------------------------------------- sql --------------------------------------- -->
<!-- -------------------------------... | 8554eed5b8cd353d10f30e66f646b9c11338f676 | [
"PHP"
] | 15 | PHP | JAKKARIN2544/project65 | 001b466e972e6a7a4901c778fb98796747892eaf | 1d378178f6d29ccfd89da6407f8242d6cbdbe769 |
refs/heads/master | <file_sep><div align="center">
# Dokumentacja projektu: Forum Informatyczne
</div>
## Wykonali:
- <NAME>
- <NAME>
- <NAME>
- <NAME>
<div align="center">
# Opis
Przedmiotem projektu jest forum informatyczne. Powstało ono dla pogłębiania wiedzy o tematyce informatycznej. Forum informatyczne skierowane jest do gra... | 0b43e7ed747c40b9039a63ff8e693d9275a8ffb2 | [
"Markdown",
"PHP"
] | 2 | Markdown | DemoBoss/Forum_Informatyczne | 81dca9069b44b8ff8863e9234e01750d35b471e7 | cd5208eedb4a2ff8df80f3b1df18fc72e4cdc40e |
refs/heads/master | <repo_name>mgambrell/LibFabline<file_sep>/README.md
THIS IS A WORK IN PROGRESS
Goal: create a specification for commandline tool arguments which solves deficiencies I've identified in all existing approaches; this will then be implemented in standard libraries for use in all my tools.
I don't like data-driven stuff. ... | 7c63769f91a78e5614a6915c1652c68a3691fb56 | [
"Markdown",
"C#"
] | 2 | Markdown | mgambrell/LibFabline | c674b3df1bab3022fa148309c6f921a5b9fed7e0 | 5810dea82449f0d7c42513ec682b5d07f37159cf |
refs/heads/master | <file_sep>#include <stdio.h>
#include "ezJSON/ezJSON.h"
int main(int argc, char *argv[])
{
char jsonStr[1024];
char* string[3] = {"one", "two", "three"};
float number[3] = {1, 2, 3};
ezJSON(jsonStr)
{
// 使用索引
ARR("array1", 3) { STR(NULL, string[_IDX]); }}
// 不使用索引
... | df38a9d2c52153101252d9d57bbfdd2a5000b347 | [
"Markdown",
"C"
] | 7 | C | ajunlonglive/ezJSON | e5127280d4b26eed921532647c00cd2be7f2a274 | ab4378aec5ba2ce10005f2d6a26f4c5d5fa47a50 |
refs/heads/master | <file_sep>#!/bin/sh
#
# thp manages transparent huge pages availability on a system
#
# chkconfig: 345 99 99
# description: manages the start and stop of transparent huge page support
#
### BEGIN INIT INFO
# Provides:
# Required-Start:
# Required-Stop:
# Should-Start:
# Should-Stop:
# Default-Star... | b865dbafa0e7991d4e9297c915aa8e3183d8294c | [
"Markdown",
"Shell"
] | 2 | Shell | hcoyote/puppet-thp | 8aed8fc64cec920a6154c90c200220392e8bdc87 | a1fda189cbaaf067191f85b18b9dddc1a8dfdac1 |
refs/heads/master | <file_sep># github-restoration-notifier
github が復旧するまで監視する君
## Description
github が復旧したかどうか確認できる。
復活すると terminal-notifier を使って、通知が飛ぶよ
※ mac のみだよ
## Usage
1. git clone git@github.com:Surume/github-restoration-notifier.git
1. `sh ./start.sh` で起動して正常稼働している場合は通知が飛ぶよ
- github が落ちているかどうか確認するときに便利だね!
2. watch コマンドを噛ま... | 9b82101211d06f85e7570dcfca0de77da8edce41 | [
"Markdown",
"Shell"
] | 2 | Markdown | Surume/github-restoration-notifier | 0e695730f06a085321c6d9e20f572b32a0af41c1 | ea4b71e8924bded8b3c293e76e71d59a32a0085f |
refs/heads/master | <file_sep>var numClicks = 0;
var pointIncrement = 1;
function generatePoints() {
/*if (numClicks==25) {
document.getElementById("pic").style.visibility="visible";
}*/
if (numClicks==24) {
document.getElementById("firstUpgrade").style.visibility="visible";
}
numClicks = numClicks + pointIncrement;
documen... | 6dd6d26f2476379912455c36522b0afb10705084 | [
"JavaScript"
] | 1 | JavaScript | HandleThatError/Practice | cc91954da801c726e2467db7598d36884775a4cc | f98832f15e9c4d2176132e20f922c4acdf88b75b |
refs/heads/master | <file_sep>import initialState from './initialState';
import { ScoreTypes, UserTypes } from '../actions/actionTypes';
export default function app(state = initialState, action) {
let newState;
switch (action.type) {
case ScoreTypes.FETCH_SCORES:
return action;
case ScoreTypes.RECEIVE_SCORES:
newState = Obje... | e3d36f7d00ea32e12a46deed9e3b2642b9162924 | [
"JavaScript",
"Markdown"
] | 14 | JavaScript | michaeldiguiseppi/dishgames.club | 7b21bf9b9e6ead71c7d170135ed9ca2d877bd8a4 | 0853429be61514f4c43402881857a662640c1a8d |
refs/heads/master | <file_sep>package lgavilanes.com.intentexplicito;
import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;
import org.w3c.dom.Text;
/**
* Created by DellLuis on 23/06/2015.
*/
public class SecondaryActivity extends Activity
{
@Override
protected void onCreate (Bundle savedInst... | 67b48f9ff27daf8942c5f3c6e09c7e361bf5e8ef | [
"Java"
] | 1 | Java | luis9717/IntentExplicito | 67a4084f7237e7fbee0d7304042973c0e486b8a8 | e53f0daa3d4497335b1340a10a48a46beb911f91 |
refs/heads/master | <file_sep># reactlearn
react 基础知识复习
<file_sep>import React from 'react';
class List extends React.Component{
constructor(props){
super(props);
this.state = {
theme:true
}
}
render(){
console.log(this.props);
const { list } = this.props;
const balc... | 34286c6133cb38fe8cb5987d0a09ce3b036ac34e | [
"Markdown",
"JavaScript"
] | 9 | Markdown | museL/reactlearn | 5ab9a43d787b50c807101f44beecb0c13a9f6f38 | 013cc5e76c1c11adb8cf5dadd6292e1dba1dbe2c |
refs/heads/master | <repo_name>mikedanylov/opening-hours-api<file_sep>/models.py
SECONDS_PER_HOUR = 3600
SECONDS_PER_DAY = 86400
class DayOfWeek:
DAY_OPTIONS = ('monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday',
'sunday',)
def __init__(self, day_of_week_name: str):
assert day_of_week_... | 7d7798ea7524b5199b4f212752364d0f02e7b43e | [
"Markdown",
"Python"
] | 8 | Python | mikedanylov/opening-hours-api | b4167c577ae8aa7a278e120bea9e5cd361b377d7 | 8b4ee1c3243b81225c6636fdf64da11608c12e96 |
refs/heads/main | <repo_name>thedarkzeno/spotify-mobile<file_sep>/src/Store/index.js
import { createStore } from "redux";
const INITIAL_STATE = {
results: {},
refresh: false,
token: "",
filters: {},
applyFilters: {},
query: "",
};
function reducer(state = INITIAL_STATE, action) {
if (action.type === "Set_Re... | fdced29816bfd586ed7b7fbe39b860adbeaf6a4b | [
"JavaScript",
"Markdown"
] | 7 | JavaScript | thedarkzeno/spotify-mobile | 9032c3e87269e272b47e8440bf94d7ac3bd521a5 | 4c144befbd1344004169e4464cba06c332ff43ed |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Microsoft.AspNetCore.Http; // for session
using Microsoft.AspNetCore.Identity; // for password hashing
using Ban... | fbd2c5c07c85a2a80ae64b9f164cd052039bb093 | [
"C#"
] | 1 | C# | John-W-Stevens/ASP.NET-BankAccounts | 7c02e4e6849bb2c8472dfbe48203fb976ccd6fbf | e2388b77ba9129a1c33861f04a28e1b9ceb9f824 |
refs/heads/main | <file_sep>import React, { useEffect, useState } from "react";
import fakeData from "../../assets/fakeData";
import {
getDatabaseCart,
processOrder,
removeFromDatabaseCart,
} from "../../assets/utilities/databaseManager";
import Cart from "../cart/Cart";
import ReviewItem from "../reviewItems/ReviewItem";
import o... | 0383fe375fb2e930b1a8f51f55335d933dbf7cf6 | [
"JavaScript"
] | 5 | JavaScript | promisingd1/simple-reactbased-ecommerce-app | dce5fc80865774d98ad186f866fdcdb6366a274c | ea3d68d3d120247bf8e94cd86d600a8d0b2d6881 |
refs/heads/master | <file_sep>package com.sdnawang.edaixi_copy.util;
import android.content.Context;
import android.graphics.Point;
import android.os.Build;
import android.view.WindowManager;
/**
* Created by android on 2016/2/16.
*/
public class ScreenUtil {
/**
* 返回屏幕宽度
*
* @param context
* @return
*/
... | 4f13b0adef5e5dde6d2ff894aa568142710a4a56 | [
"Java"
] | 8 | Java | BigggFish/UIdemo | a4b5a7399f1e257d045cb99354184100487fc894 | 7221b8209ae39353580818126dedbfb0f180d81d |
refs/heads/master | <file_sep>using System;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using S... | 3a95f80402871c55899d21108ded5239ef8439e2 | [
"C#"
] | 5 | C# | eschalks/WizardCreator | c2007e4d5ff04cc3aef90e516df409c3a1c81755 | db5ca8afa632180c2c21f8238dfa3489b02ce3a7 |
refs/heads/master | <file_sep>
public class shiftPractice
{
public static void main(String[] args)
{
int size = 26;
char[] alphabet = new char[size];
alphabet[0] = 'A';
alphabet[1] = 'B';
alphabet[2] = 'C';
alphabet[3] = 'D';
alphabet[4] = 'E';
alphabet[5] = 'F';
alphabet[6] = 'G';
alphabet[7] = 'H';
alphabet[8] =... | 3699cf7e36f0f9fcfd2ceee3b81b23bc22aa2ded | [
"Java",
"INI"
] | 4 | Java | 91073005/workspace | dfd124787d3c57cf37c91e46db77b5ff464cb48f | 491dde54b83f43a805f21837ef8d4d79306f7e61 |
refs/heads/master | <repo_name>fireslime/gravitational_waves<file_sep>/game/android/keys/key.properties
../../../../../dot-keys/gravitational-waves/key.properties<file_sep>/art/logo/fonts.md
https://www.dafont.com/pt/quantum-4.font
<file_sep>/scripts/sync.sh
#!/bin/bash -e
cp ./art/tileset/tileset.png ./game/assets/images/
cp ./art/tiles... | 217e27f36aff5ef63a449102149bd03634541cb7 | [
"Markdown",
"Shell",
"INI"
] | 10 | INI | fireslime/gravitational_waves | a3c94d217a28590288743a934938636acca80ea4 | 9f32cb5a8f300fa306217cdb5b3713731bab8fb2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.