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/main | <repo_name>Lia-Pavlova/goit-js-hw-13-image-finder<file_sep>/src/js/.d.ts
declare module 'simplelightbox';<file_sep>/src/js/index.js
import '../sass/main.scss';
import PixabayApi from './apiService';
import galleryCards from '../templates/image-grid.hbs';
import { Notify } from 'notiflix';
import SimpleLightbox from 's... | f9ee33c604ba0fc2c942b81a7864bb20292c30b6 | [
"JavaScript",
"TypeScript",
"Markdown"
] | 3 | TypeScript | Lia-Pavlova/goit-js-hw-13-image-finder | 66d5d1802dd9e05e14f56791f0000776d6185904 | a2fd0c3760a084d0def9b0d443f6a254257e9184 |
refs/heads/master | <file_sep>#include "player.h"
#include "guess.h"
Player::Player(QString name)
{
this->name = name;
}
QString Player::getName() const
{
return name;
}
void Player::setName(const QString &value)
{
name = value;
}
void Player::addGuess(int personsGuessed, int score, QString fileName)
{
guesses.append(n... | eb0c4d51d5080e3e32559c369fc244ab917e8329 | [
"C++"
] | 20 | C++ | freepenguin84/GuessWhoGame | aa21244a63ab41b97df15840826f84f5c17ce927 | 1818a4e80fff5e4373bc5d86c4be6a2af8eec9dc |
refs/heads/master | <file_sep>require "test_helper"
describe UsersController do
describe "auth_callback" do
it "logs in the first existing user and redirects them to the root path" do
expect{
perform_login
}.wont_change "User.count"
must_redirect_to root_path
expect(session[:user_id]).must_equal Use... | d1c216f6b876f27fe48d1efe38ff5ac7c10a7f0b | [
"Ruby"
] | 1 | Ruby | minipaige02/media-ranker-revisited | 088363505366976b27ea0427433e295b0f0066d6 | 08b6021d59c68a3f59eca8cfa1aacc4d1627a006 |
refs/heads/main | <file_sep>function sejaBemVindo(){
console.log("Seja Bem Vindo ao Curso de Javascript");
}
console.log("chamando a função seja bem vindo sejaBemVindo():");
sejaBemVindo();
//POO
var objProfessor ={
nome: "Prof. <NAME>",
curso: "Formação JavaScript",
mistrarAula: function(){
console.log("Minist... | dbb00019147dd2a53b718b8969903329eedae281 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | bitcoinander/Aulas-JavaScript | e473522e5860c6b34c774ad56898893815c0bc8e | 6f57f321271a65858d67f8ba8bd2c2d25874dd13 |
refs/heads/main | <repo_name>BogdanTabor/hello-node-js<file_sep>/index.js
// //OPEN SERVER WITH 'HTTP' MODULE
// const http = require('http');
// const host = 'localhost';
// const port = 8000;
// const requireListener = function (req, res) {
// res.writeHead(200);
// res.end("Hello node");
// };
// const server = http.createServ... | a2471f476efeb7877179b8eb820f931c69807097 | [
"JavaScript"
] | 1 | JavaScript | BogdanTabor/hello-node-js | e1b9a986b5c6d68351a2d324349152a504a1406b | c7b1e959db7012d73d765a477e6a2a86ff51c074 |
refs/heads/main | <file_sep>// Helper fn. to handle error
let handleFail = function(err){
console.log("Error : ", err);
};
// Queries the container in which the remote feeds belong
let remoteContainer= document.getElementById("remote-container");
// Helper fn. to add the video stream to remote-container
function addVideoStream(s... | 03b2d8902a6800671f3cf1a00482ff43d12f9621 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | nilisha-jais/Agora-Video-Calling-App | 45695748296c9907e733a8969ff4da36eb8fbd82 | d70efaabe85ebb49785d79e63f34544549bc7de7 |
refs/heads/master | <file_sep>#ifndef QUEUE_HH_INCLUDED
#define QUEUE_HH_INCLUDED
#include <iostream>
/*!
*\file queue.hh
*\brief zawiera definicje klas queue_node, queue
*queue_node - wezel kolejki
*queue - kolejka
*/
/*!
*\brief definicja klasy queue_node
*definicja wezla dla kolejki
*definiuje pojedynczy element bedacy w kol... | 38c17d547906166b82e3d15f7297e600f687159a | [
"C++"
] | 8 | C++ | makuchwo/209429 | badb2bae60b9fb8451966914083af18501c71a8b | 777920e3311d24795ebd3ee15aa7294c92a93514 |
refs/heads/master | <file_sep>#include <iostream>
#include <pcl/io/pcd_io.h>
#include <pcl/point_types.h>
#include <list>
#include <ctime>
#include <pcl/registration/icp.h>
using namespace std;
using namespace pcl;
int main (int argc, char** argv)
{
pcl::PointCloud<pcl::PointXYZ>::Ptr cloud_in (new pcl::PointCloud<pcl::PointXYZ>);
pcl... | 35b8f9c950ffcab3f03148f2c8a79983ffba8119 | [
"C++"
] | 1 | C++ | x86isnice/ICP | 11a08da88eb632574b6307db1a6261e10b0a51fe | b6c399a54733ba626acf6b5b5534369ca35ac073 |
refs/heads/master | <repo_name>johannesmaxkappel/iospy<file_sep>/iospy.py
'''
Basic image processing functions for imaging data from NeuroCCD camera
Copyright <NAME> & E.Chong 2017
'''
from scipy.ndimage import fourier_gaussian
import numpy as np
from skimage import exposure
import matplotlib.pyplot as plt
import seaborn as sns
import ... | 8e1aaa42154c65ada471a035d9acbcf769833016 | [
"Python"
] | 3 | Python | johannesmaxkappel/iospy | 390c96b88b05b265a6e3400949ccd07e2ddd5e22 | d761d11dc450b2321384cd34f22e55ba22555dd3 |
refs/heads/main | <file_sep>using System;
namespace Donguler
{
class Program
{
static void Main(string[] args)
{
string ilkUrun = "<NAME>";
string ikinciUrun = "Krem";
string uçuncuUrun = "Tablo";
string[] Urunler = new string[] {
ilkUrun, ikinciUrun, u... | 85a398aa1a6a58df32bc1a93ab23aee63c53c2b9 | [
"C#"
] | 1 | C# | SaraAkman/My_works | 1950f0c741aa2001ac0c89591907f7aa758bc3e5 | c297514f1b415ca6f14f15ff05f0c0f9e6e89c98 |
refs/heads/master | <repo_name>EstebanVillarreal/pruebasV-git<file_sep>/programa.php
<?php
print "<NAME>"
?> | ed41f7bca43c97bdfd50617d7798c411c2d7e1d9 | [
"PHP"
] | 1 | PHP | EstebanVillarreal/pruebasV-git | 137cd5994d6498713f7b69e8774cc4a1fddbb544 | 4cc552524eef7763f8844fc81628972476d34d93 |
refs/heads/master | <repo_name>xucyy/life<file_sep>/README.md
# life
我的学习记录生活
<file_sep>/src/main/java/com/xucy/life/controller/TestController.java
package com.xucy.life.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* @Author xucy
* @Date 2... | 25ddc5e1ab6d1e7e451b83672c606bdfa8409d7b | [
"Markdown",
"Java"
] | 2 | Markdown | xucyy/life | 3fdcc8e4ae43f90a28d7360f9bc3e11a77406bd1 | 588570425217b82bd7b44f12465bf7c63ec5f4b3 |
refs/heads/master | <repo_name>ColdShadows/Hello_World<file_sep>/Hello_World/Program.cs
//states the libraries used in this program
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//creates namespace called "Hello_World" for the program and all of its classes
namespace ... | 5f866419bd050d51648ba54b698fa65a07f06c9a | [
"C#"
] | 1 | C# | ColdShadows/Hello_World | f3640a4fa3c931909d3f18461452cc871788dfda | c4c522e2989f96b15156a6d3010b69c6a052d384 |
refs/heads/master | <file_sep> <!DOCTYPE html>
<html lang="zxx" class="no-js">
<head>
<!-- Mobile Specific Meta -->
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Favicon-->
<link rel="shortcut icon" href="img/fav.png">
<!-- Author Meta -->
<meta name="author" content="codepixer">... | be44487177c3078e23890a20e53bfb71763ef2bb | [
"PHP"
] | 1 | PHP | krkunal29/horceclub | 112b8a5bff6014e2cf4385523c88e3bfe59922d7 | 45f7dd159af76cfb2775f869f7c07e9651195091 |
refs/heads/master | <file_sep>rootProject.name='Corona Dashboard'
include ':app'
<file_sep>package com.coronadashboard.adapters;
import android.annotation.SuppressLint;
import android.content.Context;
import android.graphics.Typeface;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import andr... | 715cb17efecc05622999f0e277403bc6c14a7415 | [
"Java",
"Gradle"
] | 4 | Gradle | avi-nitb/Corona_Dashboard | 8ef65b927c3d17543f0dc99e7d2ae3626c46221f | 2dd9a1842ba865eac6c71dc0a3b2cbfae7b6ae25 |
refs/heads/master | <repo_name>NavneetKaurPopli/technavneetpopli<file_sep>/web_testing/src/test/java/UVicTest.java
import static org.junit.jupiter.api.Assertions.*;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.openqa.selenium.By;
import org.openqa.sel... | b9add2ab7f67785727beca8f2b275f0b9c40143f | [
"Java",
"Text",
"Gradle"
] | 7 | Java | NavneetKaurPopli/technavneetpopli | 8755722ee9edb2cc797fc0ef6026e90656c75060 | 6ffdb1f46c1c6122712f725807169b6e820dd102 |
refs/heads/main | <file_sep>package me.warpromo.bridging;
import java.util.ArrayList;
import java.util.HashMap;
import org.bukkit.block.Block;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.block.BlockPlaceEvent;
public class ClickEvent implements Listener {
pr... | 7d9a88de9adc830ced70eded29585b6da5786290 | [
"Java"
] | 1 | Java | WarPromo/bridging-plugin | d24c0f6d6a1e7d4c5f4567ce772a2dc2e171443b | 2bdc78b6d378cd4fb5490e78ffd7ff3e2c8f70c6 |
refs/heads/master | <repo_name>JDoI/repo<file_sep>/nande/app/controllers/index.js
function doClickLabel1(e) {
alert($.label1.text);
}
function doClickButton1(e) {
alert('クリックされました');
}
function doClickSwitch1(e) {
alert('変更されました');
}
function doOptionDialog1(e) {
var dialogOptions = {
title:'なにでシェアしますか?',
//aa:0... | af3e7fb0ca4753fb3075da6a01cdd6d0e9e8d0c5 | [
"JavaScript"
] | 1 | JavaScript | JDoI/repo | 9c58d51df887615f6406ec3ddc5626a44d699b2d | 3afd1557beb4efc91e2cae0a2c776280fc378edb |
refs/heads/master | <repo_name>alexjjseppala/capstone<file_sep>/preprocessing/pickled_midi_cleaner.py
import os
import pickle
from shutil import copyfile
with open('preprocessing/notes_dictionary', 'rb') as f:
output_dictionary = pickle.load(f)
dictionary_max = len(output_dictionary) - 1
filenames = os.listdir('preprocessing/pickle... | 40e060ac56afca4d68b96471acb3c4b00a3e6968 | [
"Python"
] | 5 | Python | alexjjseppala/capstone | 2ad3c58af1fc2373191357d0750927896ff3678a | a86c65a2fc862b09673947115596b59888d6611e |
refs/heads/master | <file_sep>'use strict';
var gulp = require('gulp');
var sass = require('gulp-sass');
var sassLint = require('gulp-sass-lint');
var livereload = require('gulp-livereload');
var http = require('http');
var st = require('st');
gulp.task('sass', function () {
return gulp.src(['./src/stylesheets/*.scss'])
.pipe(sass... | e3e34179058d51ccc5ec00963619e8913888d538 | [
"JavaScript"
] | 1 | JavaScript | paulrrdiaz/flexbox | a39e45f63a67177716eea0fa01085560a5991f55 | ce020fb30469d03d10ad02db45257f1b97e63525 |
refs/heads/master | <file_sep>echo "*** Producing HTML ***"
asciidoctor mysample.adoc
echo "*** Producing DOCBOOK ***"
asciidoctor -n -b docbook -d book mysample.adoc -o mysample.xml
echo "*** Producing EPUB ***"
pandoc -f docbook -t epub -N --number-sections --chapters --toc --toc-depth=4 mysample.xml -o mysample.epub
echo "*** Producing... | b4840b6b259a6229285eb5dd1fa828b0dea29220 | [
"Shell"
] | 1 | Shell | nidmgh/nidmbook | 2abb6832f649eb2966ae382f7bcdfa99890024a8 | 92936ec337ff06c1cb4acded6ceaa3b93620643a |
refs/heads/master | <file_sep>from django import forms
class ContactForm(forms.Form):
full_name = forms.CharField(max_length=120)
email = forms.EmailField(max_length=150)
message = forms.CharField(widget= forms.Textarea, max_length=2000)<file_sep>from django.shortcuts import render, redirect
from django.http import Http... | 12f5cd61206414c30b1685f0655be7193881f0da | [
"Python"
] | 2 | Python | seemab-yamin/resumeproject | b03e67c48dfd8d89428e6934f5633fa3dcc5c8cd | 33e22e41dfff91cf9884baf4c060f32f0da6508f |
refs/heads/main | <repo_name>rubytsaitw/middleware-practice<file_sep>/app.js
const express = require('express')
const app = express()
const PORT = 5000
const getActualRequestDurationInMilliseconds = start => {
const NS_PER_SEC = 1e9; // convert to nanoseconds
const NS_TO_MS = 1e6; // convert to milliseconds
const diff = process.... | c16c8145bd461699fe126c2b1c1e53eee1730c87 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | rubytsaitw/middleware-practice | 0f248840dfe2a12d624be10d84b2994d4833145e | 2ee1b4b18ea3ee98e4a5adbc1149040a5c3dca8a |
refs/heads/master | <repo_name>mixiu7992/ViewRow<file_sep>/Podfile
platform :ios, '10.0'
source 'https://github.com/CocoaPods/Specs.git'
target 'Example' do
use_frameworks!
pod 'Eureka', '>= 4.3.0'
pod 'SwiftChart'
end
| 6d11fefdda7c443ee3d0478011410e50107538c4 | [
"Ruby"
] | 1 | Ruby | mixiu7992/ViewRow | b40ac19ddd08f87b252a4aece1722edbcabfbdd4 | 6c9feefb09af540d6d7bbbbab89bdc96807baf75 |
refs/heads/develop | <repo_name>adhearsion/blather<file_sep>/lib/blather/errors/sasl_error.rb
module Blather
# General SASL Errors
# Check #name for the error name
#
# @handler :sasl_error
class SASLError < BlatherError
# @private
SASL_ERR_NS = 'urn:ietf:params:xml:ns:xmpp-sasl'
class_attribute :err_name
# @private
@@registrati... | 6fd6c5b0413117acbb17c76da8baa16fbbd46508 | [
"Markdown",
"Ruby"
] | 121 | Ruby | adhearsion/blather | 03f9cda14ed3f93a80504c2538cd514d6b025d04 | 63011364c43bec00cee2d73757fd220e5576bad2 |
refs/heads/master | <file_sep>require 'pry'
def consolidate_cart(cart)
# code here
consolidated = {}
count = Hash.new(0)
cart.each do |element|
consolidated[element.keys[0]] = element.values[0]
count[element.keys[0]] += 1
end
count.each do |key, value|
consolidated[key][:count] = value
end
consolidated
end
d... | acb1dd176de7ff2414988d51e746682fefc6a8b6 | [
"Ruby"
] | 1 | Ruby | someotherkyle/green_grocer-online-web-prework | c72611863c7579b903b3ca554f5cc648ddfd0248 | ec4486d9b66a9884b18fbdb7fb09de56255c05b2 |
refs/heads/master | <repo_name>abrodersen/node-reconfix<file_sep>/native/src/lib.rs
#[macro_use]
extern crate neon;
extern crate reconfix;
use neon::vm::{Call, JsResult, Lock};
use neon::js::{JsString, JsNumber, JsObject, JsFunction, JsNull};
use neon::mem::Handle;
use neon::scope::{Scope, RootScope, ChainedScope};
use std::io;
use std:... | a206ae3acaf85213ec575265e74009d88225f51c | [
"TOML",
"Rust",
"Markdown"
] | 3 | Rust | abrodersen/node-reconfix | 4c3b1612ef6cfbf06519d757d39ccf54e082a041 | 0578d06f47b2832b5b5fce5cc999a68a297694aa |
refs/heads/master | <repo_name>VitalyNikolaev/2016-02-2d<file_sep>/src/main/java/bomberman/mechanics/tiles/behaviors/NullBehavior.java
package bomberman.mechanics.tiles.behaviors;
import bomberman.mechanics.World;
public class NullBehavior extends ActionTileAbstractBehavior {
public NullBehavior(World eventList) {
super(even... | 0acea36aadac214033f6ed9fecc2722336c4e7df | [
"Markdown",
"Java",
"INI"
] | 34 | Java | VitalyNikolaev/2016-02-2d | 37ec9a89688fb288bb885257d19a94a5ee29f3e8 | cbff8a2ad9bb5b468e187f1241889f371e295a07 |
refs/heads/master | <file_sep># V民之家
CDN
<file_sep>$(function(){var sp=document.getElementById('newslist').getElementsByTagName('ul');var last=document.getElementById('last');var next=document.getElementById('next');var n=0;for(var i=1;i<sp.length;i++){sp[i].style.display='none';}
last.onclick=function(){n--;if(n<0){n=0;}
for(var i=0;i<sp... | bc43b9b962f39bc3557e244cea555767621e98eb | [
"Markdown",
"JavaScript"
] | 3 | Markdown | mywl-cdn/vmcdn | 22789d118358fd498cb9e93d26723e04d08fc09a | 99e44ed5f3bee53fb5517558c0420ce02bfde1a2 |
refs/heads/main | <repo_name>aztfmod/terraform-provider-azurecaf<file_sep>/azurecaf/resource_naming_convention.go
package azurecaf
import (
"fmt"
"log"
"math/rand"
"regexp"
"strings"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation"
)
func resourceNami... | 113179ca47356243ff1c716072a9a918853803e0 | [
"Markdown",
"Go",
"Makefile"
] | 25 | Go | aztfmod/terraform-provider-azurecaf | e3a8ca154e4b6ea107dd06d8096be52d0454b1e0 | 0aea2c47bc9333fc27ae944841ac373c456015b9 |
refs/heads/master | <repo_name>inv-Karan/argo_ll_react<file_sep>/src/ActionCreators/activityAction.js
import {activityConstants} from '../Constants/activityConstant'
import {showActivity, addActivity, deleteActivity, updateActivity} from '../Utility/API/activityServices'
function activityShow(activities) {
return {
type: acti... | 6b8425d971c8ae56838e3ec6e3f2e4580c767fec | [
"JavaScript"
] | 32 | JavaScript | inv-Karan/argo_ll_react | 0f9b1e2e3006b771d42af2efb6e05a3ba8ff16e3 | 26f0510a57420d2dc141d1b1cac146aa9ce80db1 |
refs/heads/master | <repo_name>justignatoff/2048<file_sep>/src/Model.java
import java.util.*;
public class Model {
private static final int FIELD_WIDTH = 4;
private Tile [][] gameTiles;
private boolean isSaveNeeded = true;
int score = 0;
int maxTile = 0;
private Stack<Tile[][]> previousStates = new Stack<>();
... | 3a2d8e065b8f645dbb2e822422f27f3c34a91d34 | [
"Java"
] | 1 | Java | justignatoff/2048 | 79e744f4dbbc98bdfc14e0995d4d9098deab78e8 | 129fdd533d66a2d465771daad5eee5a264069bc6 |
refs/heads/master | <repo_name>arck1/aio-counter<file_sep>/README.md
Async counter with decrement after timeout (ttl)
> Python 3.7+
Install
-------
pip install git+https://github.com/arck1/aio-counter
Examples
-------
```
counter = AioCounter(max_count=10, start_count=0, ttl=1, loop=loop)
# try increment counter or wait
await cou... | 0cca0221762eac04f497513f374a0224c41e713d | [
"Markdown",
"Python"
] | 7 | Markdown | arck1/aio-counter | ffff58bf14ca2f155be5a54c9385481fce5ee58c | 3dc6ebeb27120b0fc7437098450aa88411a4bead |
refs/heads/master | <file_sep>package com.fwtai.controller;
import com.fwtai.config.ResultResponse;
import com.fwtai.service.DeferredResultService;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframewor... | 6ace1670284f49bea8ba9f9c194f3493dd1d399c | [
"Java"
] | 3 | Java | gzstyp/origin | c807a8f50a7357d090330d2277a207a993c02b5e | 67f0a5aa922449b37030fa13f6fcbcd58078c4c8 |
refs/heads/master | <file_sep>from scipy import stats
from math import log
def dist_log_loss(y_true, y_pred, labels=[]):
"""Log loss, aka logistic loss or cross-entropy loss.
For a single sample with true label yt in {0,1} and
estimated probability yp that yt = 1, the log loss is
-log P(yt|yp) = -(yt log(yp) + (... | c9f76f3971232b8122fdb1e1bc2e4ccf59b956ed | [
"Markdown",
"Python"
] | 3 | Python | dzahedia/dist_log_loss | 39c87cbcf82ce7588f5faeba769cb4fbb7d4f2bc | 2328fb4a6d722c625fcc24a0760ab55a31a2ad7f |
refs/heads/master | <file_sep>flake8
yapf
nose
mock
<file_sep>docker>=2.0.0,<4.*
six>=1.10.0<file_sep>import os
import unittest
import hyper_sh
SKIP_MESSAGE = 'Hyper integration tests are for local testing only.'
@unittest.skipIf(os.environ.get('TRAVIS') == 'true', SKIP_MESSAGE)
def test_list_images():
client = hyper_sh.from_env()... | dd03dc54da73710a32ca3c0c04358c23e3b07b2c | [
"Python",
"Text",
"reStructuredText"
] | 7 | Text | aequitas/hyper_sh | 8a4c52ac88fdcc052f3c008377bdf77e70c30904 | e3da35abe467eb05396db245bf0964860aba848b |
refs/heads/master | <repo_name>tritao/Urho3D<file_sep>/Bindings/Makefile
#CPPSHARP_DIR = CppSharp
CPPSHARP_DIR = /Users/joao/Dev/CppSharp/build/gmake/lib/Debug_x32
CPPSHARP_REFS = -r:$(CPPSHARP_DIR)/CppSharp.dll \
-r:$(CPPSHARP_DIR)/CppSharp.AST.dll \
-r:$(CPPSHARP_DIR)/CppSharp.Parser.CSharp.dll \
-r:$(CPPSHARP_DIR)/CppSharp.Generato... | ad824a7cbc50e35c18fb807ecdbfe87bbfe582a8 | [
"C#",
"Makefile"
] | 2 | Makefile | tritao/Urho3D | 05ed8f720d0f2e56e14829ff1f8371a7cc4818bb | 604babd94d9cb5c05f6020d1e1b027c22048299b |
refs/heads/master | <file_sep>package com.minecreatr.electricalengineering.common.tile;
import cofh.api.energy.EnergyStorage;
import cofh.api.energy.IEnergyProvider;
import cofh.api.energy.IEnergyReceiver;
import com.minecreatr.electricalengineering.ElectricalEngineering;
import com.minecreatr.electricalengineering.common.util.NBTUtil;
i... | dbc332907bc5a64c0605efb9754f7bf6dc5b468c | [
"Markdown",
"Java"
] | 7 | Java | minecreatr/ElectricalEngineering | 41d390161e6772f6353676fd913af3da01ca1539 | 0afff70170a834e571bbeaad60e6f92825acf664 |
refs/heads/master | <file_sep>package sfw2020;
public class SFW2020testFramework {
public static void main(String[] args) {
}
}
| e222c7be634f55baa215ae946c963b8da1f34bec | [
"Java"
] | 1 | Java | mrtbd88/SFW2020 | c7b7e4e7e9484e8149c3c7f03328cb146e9600bd | 45d2c4dc36d402c8809f2d2576537b9f6a4639ed |
refs/heads/master | <repo_name>dungvtdev/helpy<file_sep>/README.md
# Helpy
Help-er tin-y aka tiny helper.
A simple set of tools which help you some simple task in linux enviroment.
<file_sep>/tinynote/tinynote.py
#! /usr/bin/python2
# tinynote.py - commandline simple note, file sys.
import sys,os
import printbeautify as prin... | 40305f60d7636fb245f3aba994c9bf19ca4d0659 | [
"Markdown",
"Python"
] | 3 | Markdown | dungvtdev/helpy | c12a76fd55e310fcc32d88217580a58bc88c3510 | 1f6cc1d77849fc1385c3d35585d87d5b19df8ea1 |
refs/heads/master | <repo_name>gonsp/Motion-Drawing<file_sep>/leap/src/main.py
import sys
from socketIO_client import SocketIO, LoggingNamespace
sys.path.insert(0, "../lib")
import Leap
import select
from Leap import CircleGesture, KeyTapGesture, ScreenTapGesture, SwipeGesture
is_calibrated = False
corners = []
origin = None
dimension ... | f2670c3028e7f7acbd49dfcc709d64dfe6802e2e | [
"JavaScript",
"Python",
"Markdown",
"Swift"
] | 8 | Python | gonsp/Motion-Drawing | 33e0871ab8d2270d26737faf39c85526e1b98519 | aa3b05e44b9e0d586885859c1525ec5c662591e5 |
refs/heads/master | <repo_name>TejasAvinashShetty/code2tex<file_sep>/hello_worlds/PHP.php
<?php
echo "Hello World!";
//";" at the end is optional
?>
<file_sep>/convert_all.py
#!/usr/bin/env python3
import re
import subprocess
import sys
from collections import defaultdict
from pathlib import Path
import code2tex
def main():
... | 5db3ef819d3d6b47917fd2667a536507e0cf1b16 | [
"Python",
"PHP"
] | 2 | PHP | TejasAvinashShetty/code2tex | a21e40dd144ab0eeef7a5214be01e41389e308e7 | b456a137af4b42e3672ec7441068cfc72859f051 |
refs/heads/main | <file_sep><?php
namespace App\Http\Controllers;
use App\Models\Student;
use Illuminate\Http\Request;
class StudentController extends Controller
{
public function index(){
return view('student.index');
}
public function store(Request $request){
$data=$request->validate([
'nam... | 7f9853362bb5c944d049087a0ecd66adf86e0e81 | [
"Markdown",
"PHP"
] | 6 | PHP | mysasse001/student-and-course-management-with-fifa-queries | 27e57114abee79ec3d1f6d929830d6ff618ced4a | 76f50ff5d32bc993dcff0389774c364c2d702c1a |
refs/heads/master | <repo_name>dheerajui/React<file_sep>/src/components/CoverageItem/CoverageItem.js
import React from 'react';
import PropTypes from 'prop-types';
import { injectIntl, intlShape } from 'react-intl';
import { formatString } from '../../services/utilities';
import { metrics, EXIT_EVENT } from '../../metrics/AnalyticsService... | 921040b81c7b620f1f35840d053d4bdbf59af2d5 | [
"JavaScript"
] | 24 | JavaScript | dheerajui/React | e7579b7f87b728f409ebf7f3956d12d0ae26f6b4 | c4ef53217fd37d00c902b605e9c2dbfc710f2fe9 |
refs/heads/master | <file_sep>export enum musicalInstruments {
drum,
piano,
}
export interface voiceItem {
keyCode: number;
keyTrigger: string;
id: string;
url: string;
}
<file_sep>export default {
//接收一个命名与模板一致的插槽,并生成对应的节点,
render(h) {
let vm = this;
let slotsList = Object.entries(this.$slots);
//根据传入插槽动态生成节点... | c47430ee5933aeb63a301bd425e887218d2312db | [
"JavaScript",
"TypeScript"
] | 10 | TypeScript | YJL626/vueExercise | 39adc88354c00b536b52e450703c6bd0312ce0b3 | 2ff5b1f3fef71af78343665539639cba72bdca0e |
refs/heads/main | <repo_name>atx-barnes/ixd-prototyping-tool<file_sep>/Assets/Scripts/GameManager.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using NextMind.Calibration;
using NextMind.Devices;
using NextMind.NeuroTags;
using NextMind;
using TMPro;
public class GameManager : MonoBeha... | 8aa53d0e00ea45603b967691d0b8e59e17c65ae8 | [
"C#"
] | 6 | C# | atx-barnes/ixd-prototyping-tool | deffb0804b6afdf4ec187293bc8358724f4951b8 | 42da749106949444b5b6fe5cf0c9874c4b321519 |
refs/heads/main | <file_sep>def resolutionSelector(resolution, streams):
if resolution == "1080":
print(resolution + " selector")
for x in streams:
print(x)
if "video/mp4" in x:
if "res=1080p" in x:
return x
if resolution == "720":
print(resolu... | b4a448d91ee261baabd5e2fa7b4c480a833c1417 | [
"Python"
] | 2 | Python | RodrigoRRR/Downloader | a3ff6dd61d35ad47d67e092389c0f56bca86838c | fbed1c86f98d82bef7e37b9301cb328225590567 |
refs/heads/main | <repo_name>whosmudassir/doremon<file_sep>/Navigations/DrawerNavigator.js
import React from 'react'
import { View, Text } from 'react-native'
import { NavigationContainer } from '@react-navigation/native'
import Home from './components/Home'
import About from './components/About'
import { createDrawerNavigator } from '... | 0918002a6d290fd03ca29bd2749efed83703f56c | [
"JavaScript"
] | 4 | JavaScript | whosmudassir/doremon | 7051f0b263d54aa3c4b4ea97283e39931f3b92c4 | 3288b8981afd50e1a30abd0109445d3ef8149a2d |
refs/heads/master | <repo_name>roclas/raspberry-pi-utils<file_sep>/sensing_movement.py
#!/usr/bin/env python
import time
import RPi.GPIO as io
io.setmode(io.BCM)
pir_pin = 7
io.setup(pir_pin, io.IN) # activate input
while True:
if io.input(pir_pin):
print("PIR ALARM!")
time.sleep(0.5)
<file_sep>/music/sol.p... | aeb073bad53649cbd957ec1d0d3790e2a75f1a6d | [
"Python"
] | 3 | Python | roclas/raspberry-pi-utils | 1641477915d7f2a28eaafae96529734f3279dd34 | 1cbb622aab512e8c1b44c8caadeff1494868954d |
refs/heads/master | <repo_name>luisgabriel84/angular-todo<file_sep>/src/app/app.component.ts
import { Component } from "@angular/core";
@Component({
selector: "app-root",
templateUrl: "./app.component.html",
styleUrls: ["./app.component.css"]
})
export class AppComponent {
title = "Angular Crud";
msg = '';
hideUpdate: Boolean... | f47b9ec04d48abcec8340812e2b2cba8e29530b6 | [
"TypeScript"
] | 1 | TypeScript | luisgabriel84/angular-todo | e52fa1355e77cedec39359b2c9212f09ee7c20ad | 38b9af9fcb88c867713d9bc148e64dc00616ac38 |
refs/heads/master | <file_sep>#ifndef OGRE_BRIDGE_BUFFER_MANAGER_H
#define OGRE_BRIDGE_BUFFER_MANAGER_H
#include "cocos2d.h"
#include "OgrePrerequisites.h"
#include "OgreHardwareBufferManager.h"
#include "OgreHardwareVertexBuffer.h"
#include "OgreHardwareIndexBuffer.h"
NS_CC_BEGIN
class EventListenerCustom;
NS_CC_END
namespace Ogre... | ef44073c4a2d3f1ed4330da5df8400521cd41afc | [
"Markdown",
"CMake",
"Makefile",
"C++"
] | 37 | C++ | zhaoxiaofeng44/cocos2d-x-ogre | 6bf86a65a3e133ccc61b1851b8e329f00ed06ae5 | 41c426becf040e28023adede544f88b88a8c9529 |
refs/heads/master | <repo_name>djma777/zztrtr<file_sep>/src/components/Time.js
import React, { Component } from 'react'
class Time extends Component {
constructor(){
super();
this.state = {
time: new Date(),
}
this.runTime = this.runTime.bind(this)
}
runTime(){
this.setState({
time: new Date()
... | 6bc437ac365397d7b6a0b6cd0403b3b641680add | [
"JavaScript"
] | 4 | JavaScript | djma777/zztrtr | a6b50afdc4577dffc9321abd74e66163db3eaa9c | 37ef57a7897c0478424a2b8ca246484e1a517b5a |
refs/heads/master | <repo_name>SaraSpink/capybara_triangle<file_sep>/spec/triangles_spec.rb
require('rspec')
require('triangles')
describe("#is_triangle") do
it("Identifies equilateral triangle") do
check = Triangle.new(3, 3, 3)
expect(check.is_triangle).to eq("equilateral")
end
it("Identifies isoceles triangle") do
ch... | d9cdcc2b8c583fd28bba93cb1fe03891d838d925 | [
"Ruby"
] | 3 | Ruby | SaraSpink/capybara_triangle | f7fff34221f2c2047bb3b0061ebb99943e98adac | a4dc46bf763d08760dddca72cdbafbdc19891172 |
refs/heads/stable/6.0 | <repo_name>Permyak-Logy/Underground-of-Knights<file_sep>/README.md
# PyGameProject
Проект по библиотеке PyGame
<file_sep>/run.py
import pygame
import os
import sys
from win32api import GetSystemMetrics
from random import choice
from random import randint
from math import sin, cos, atan, copysign
# Флаги режимов MODE_... | 6e257335f5b6c1e4e59318c197ba4b40dca76509 | [
"Markdown",
"Python",
"Shell"
] | 5 | Markdown | Permyak-Logy/Underground-of-Knights | 18187a56fda1c0416115789bdf0c37696ae6732e | 74db46d84751767613016d14c7599cb405f80bee |
refs/heads/master | <repo_name>gmar1274/Avvebo<file_sep>/src/Avvebo/website/admin.py
from django.contrib import admin
import Avvebo.website.models as mods
# Register your models here.
myModels=[mods.User,mods.Venue,mods.SocialMedia,mods.TalentContent,mods.AvveboProfile]
admin.site.register(myModels)
<file_sep>/src/Avvebo/settings.p... | 2fcf2e18e695fb96f76f3cccfd95dc818e6b5502 | [
"Python"
] | 5 | Python | gmar1274/Avvebo | be77f0276b59d789fa64f733bb34b36517e9f233 | 05bfbe5a04b648feb80bd32c37f358d3dbdb0b0c |
refs/heads/master | <file_sep><?php
namespace Database\Seeders;
use App\Models\Answer;
use App\Models\User;
use App\Models\Question;
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
User::facto... | 80d5162f1f2462e41e14e30fd5e740b4b286e2f5 | [
"PHP"
] | 1 | PHP | dhiyaaulauliyaa/laravel-qa | 946323a867931e350dc12c37d548fc8783e4478d | 113dc2b984ffca8aac1a5d4153184da579e57bc7 |
refs/heads/master | <repo_name>mendixlabs/PickADayWidget<file_sep>/README.md
# PickADayWidget
This is a date picker for Mendix. It add support for inline editing of a date (DOM-structure is different from the normal Mendix date picker)
## Contributing
For more information on contributing to this repository visit [Contributing to a GitH... | 9c5979e22704ab50f9422b30a62cb7fcd83d3d5f | [
"Markdown",
"JavaScript"
] | 2 | Markdown | mendixlabs/PickADayWidget | 7bbef87dfa879be1497f7eddc57399d674e701bc | 67218e9a804b05ddfd0255d46f39658fdda27587 |
refs/heads/master | <repo_name>Nature40/UAV-Processing<file_sep>/metashapeToolbox/metashapeTools/msSparseCloud.py
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu Jul 4 10:00:09 2019
@author: marvin
"""
import Metashape
def createSparse(chunk, doc = Metashape.app.document, kpl = 40000, tpl = 4000):
# align... | f71a732d825400c643f246944349001dfa74cf15 | [
"Markdown",
"Python",
"R"
] | 16 | Python | Nature40/UAV-Processing | 916e417e92ef568f3aa35f222d3f2ca95279c03b | a424180af111f2daa473ccccb4840bd60deb5a0e |
refs/heads/master | <file_sep>module Houston
module Scheduler
class TicketsController < ApplicationController
def update
@ticket = Ticket.find(params[:id])
@project = ticket.project
extended_attributes = @ticket.extended_attributes
if params.key?(:estimat... | 42186a9eccbd270ae32a5f994dfae4ef675c9cbf | [
"Markdown",
"Ruby"
] | 10 | Ruby | lukebooth/houston-scheduler | afa397dddd4d1cb1858e86ed483e5f8fe1a617dd | 92c98916950f4dbf9aee95cfcadd95c49b60d207 |
refs/heads/master | <file_sep>package com.tiago.melo.estruturas;
import java.util.Enumeration;
import java.util.Hashtable;
import java.util.UUID;
import com.tiago.melo.estruturas.utils.Pessoa;
import com.tiago.melo.estruturas.utils.Utils;
import com.tiago.melo.interfaces.TestaEstrutura;
public class TesteTabelaHash implements TestaEstr... | 68220c187496c881caa6c71acd7d57942cc5c4fe | [
"Markdown",
"Java"
] | 7 | Java | tiagotele/trabalho_algoritmo | e9b166bbf1b97dc5f7d61bdb0354fb3bb363ce21 | be21628e450bd84706ae9ab398b0514dc81cfdec |
refs/heads/master | <repo_name>koniferous22/npns-prototype-frontend<file_sep>/src/constants/content/profile/personalInformationPage.jsx
export const personalInformationPageConstants = {
REQUEST_FORM_FILLED: "PERSONAL_INFORMATION_PAGE_REQUEST_FORM_FILLED",
CONFIRM_PASSWORD_REQUEST: "PERSONAL_INFORMATION_PAGE_CONFIRM_PASSWORD_REQUEST",
... | 1f634ac8871c5eda3f0970fba2ef239c2985b20b | [
"JavaScript"
] | 121 | JavaScript | koniferous22/npns-prototype-frontend | ae992267e7c259abd1756aca14dc088af700bc27 | 4f61290eba46e8e7a13bf74ac074f5a91c7841d7 |
refs/heads/master | <repo_name>abdulwahed786/node-api-demo<file_sep>/index.js
// console.log("hello world");
// var x=10;//container
// x="ksjcskjvn";
// x={ 1,2,3,4};
function add(a,b)
{
for(var x=1;x<10;x++)
console.log(a+b);
}
add(" abdiodv "," kdnvkn");<file_sep>/express.js
var express = require('express');
var app = expres... | a5deee27739957c22548283072bf98ccc042909b | [
"JavaScript"
] | 2 | JavaScript | abdulwahed786/node-api-demo | 9448d24210d7a18c792d2170d19d981a0cf71c6f | 2f35cd5a5108a63d3a578bee39f6e018e306146d |
refs/heads/master | <file_sep>//
// KdTree.h
// ChurchillNavigationChallenge
//
// Created by <NAME> on 2/12/15.
// Copyright (c) 2015 ECC. All rights reserved.
//
#ifndef ChurchillNavigationChallenge_KdTree_h
#define ChurchillNavigationChallenge_KdTree_h
#include "Shared.h"
#include <algorithm>
#include <vector>
const int KD_MAX_D... | 7266d24de88c309614fee6f89d49fe5dccfa58ef | [
"Markdown",
"C",
"C++"
] | 8 | C++ | ericc59/ChurchillNavigationChallenge | 4a7ce2e30975e2bc3d959e75c8c1242fa8c4a957 | 35836e95be5b8e35a37e51e365e5d0549ad8f858 |
refs/heads/master | <file_sep>Pod::Spec.new do |s|
s.name = "WWZKit"
s.version = "1.2.4"
s.summary = "A short description of WWZKit."
s.homepage = "https://github.com/ccwuzhou/WWZKit"
s.license = "MIT"
# s.license = { :type => "MIT", :file => "FILE_LICENSE" }
s.author = { "wwz" ... | fbca93a3dcae5ba429d7143f5b8e1f2f5fd2b15b | [
"Ruby"
] | 1 | Ruby | ccwuzhou/WWZKit | 0036810c2d6c9be330aa1b0b14e76846bab251bf | e6edff960ae7f21885943a47111b2a705925ab17 |
refs/heads/master | <file_sep>cat top.txt > humans.txt;
echo '/* TEAM */' >> humans.txt;
echo '' >> humans.txt;
ruby parse.rb >> humans.txt;
echo '' >> humans.txt;
cat bottom.txt >> humans.txt;
<file_sep>humans.txt
==========
From [humanstxt.org](http://humanstxt.org/):
> It's an initiative for knowing the people behind a website. It'... | 72ef9c66198b00e6f143defc9d196a986d169069 | [
"Markdown",
"Ruby",
"Shell"
] | 3 | Shell | ExpoTV/humans.txt | 29279c6c8b45284171813b3ce86989506bc54d82 | 87cc9800428545334fa26a8445220df39cb899c8 |
refs/heads/master | <file_sep>#include "logger.h"
#pragma once
// standard information for every hook
struct HOOK_INFO {
LPCWSTR lib;
LPCSTR target;
LPVOID proxy;
LPVOID fp;
};
// logger object - exposes a stream to report to the IPC channel
Logger logger;
// Proxy Function Definitions
//=============================... | a8d509126e49e9fdfddb5045cef05ee9ea862bb0 | [
"Markdown",
"C++"
] | 4 | C++ | ra2003/win-api-monitor | 73e23ae7d38c250f9bf4b029dd2a11bbc134e488 | cf296cd5d9aeade2d8c438d1181b4382a1476134 |
refs/heads/master | <file_sep>
#include <frigg/debug.hpp>
#include <arch/io_space.hpp>
#include "../arch/x86/cpu.hpp"
#include "../arch/x86/hpet.hpp"
#include "../generic/fiber.hpp"
#include "../generic/io.hpp"
#include "../generic/kernel_heap.hpp"
#include "../generic/service_helpers.hpp"
#include "pci/pci.hpp"
#include "fb.hpp"
#includ... | 659b155330fe9ca4e93211f774d043f1a7fbe222 | [
"Markdown",
"C++"
] | 25 | C++ | souravbadami/managarm | 96275b1b16593ea6ba75b83edfb5f7b736ce02a7 | 90187562ad132dfe322d17514dbd879689fc0791 |
refs/heads/master | <file_sep>/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package lab3;
import java.util.Scanner;
/**
*
* @author Admin
*/
public class GiaiPTB2
{
float a,b,c;
double del... | f34439aea9c6192ba49324bcd56c5dae5bd0e630 | [
"Java"
] | 2 | Java | Ariztyno/CongCuMoiTruongPhatTrienPhanMem_LAB4 | af4af5466d6b45fe69606d53caf6f95ecce9d850 | c0b8a3c4d7c59f37edc5220c85d21844339a4e27 |
refs/heads/master | <repo_name>cyantarek/go-vue-invoice-app<file_sep>/backend/handlers.go
package main
import (
"fmt"
"github.com/gin-gonic/gin"
"github.com/google/uuid"
"golang.org/x/crypto/bcrypt"
"gopkg.in/mgo.v2/bson"
"log"
"net/http"
)
// Controllers
func Register(c *gin.Context) {
var newUser User
_ = c.Bind(&newUser)
i... | 30be70d19393beebf1f1eaf481f414d52372699f | [
"Markdown",
"Go"
] | 4 | Go | cyantarek/go-vue-invoice-app | 63d86fcde6d7596edb40c17111fb8349e553439a | d2bf3d770f252bd222ff163cb6efd7d89c333573 |
refs/heads/master | <repo_name>harryjms/hypnotherapy-website<file_sep>/src/Components/App/index.jsx
import React from 'react';
import { ThemeProvider } from 'react-jss';
import theme from '../../Theme/index.js';
import { BrowserRouter as Router, Route, Link, Switch } from 'react-router-dom';
import Header from '../Layout/Header.jsx';
//... | 7981c3515d0ce73a30ac705c34053efa8c875c55 | [
"JavaScript"
] | 7 | JavaScript | harryjms/hypnotherapy-website | 90dafcd16ec30a13b29b11bd5f802fd8d8f61f7b | 900e005e8d0d6fec05c7d4a01f673bc2b7da645f |
refs/heads/main | <repo_name>Zekylly/ApacheBenchmarkAPITestTool<file_sep>/Common/Exceter.py
# -*- coding: utf-8 -*-
import os
import datetime
import xlrd
# def requests_by_duration(continue_time_seconds,concurrency_threads,info_level=1,headers_type="",header_array=[],api_address="",output_path=""):
# cmd_list=[]
# for threads ... | 1006ddd4195c56e02bd87a94ae1270509d46ad12 | [
"Markdown",
"Python"
] | 4 | Python | Zekylly/ApacheBenchmarkAPITestTool | ab2bc884b20604f04e775ceb3b4ee4c16b617bd9 | 5335d54d2a477bcc90cc04e21cb676515b1cf54d |
refs/heads/master | <repo_name>thanq/javalearn<file_sep>/src/main/java/share/share_currency/Test.java
package share.share_currency;
import java.util.Hashtable;
import java.util.concurrent.ConcurrentHashMap;
/**
* Created by bricks on 2018/2/26.
*/
public class Test {
Hashtable<String,String> hashtable = new Hashtable<>();
Con... | 86a8f8d75f7b684b5ae669c7763ad97392f620db | [
"Java"
] | 22 | Java | thanq/javalearn | ca9d65f7eb6351ee837a46112a70e16dc425e37d | 9a248c70604d928348ea9a53fd7485f76b832244 |
refs/heads/master | <file_sep># -*- coding: utf-8 -*-
"""
Created on Tue May 8 06:34:07 2018
@author: logaprakash
"""
from collections import defaultdict
from pyspark import SparkContext
from pyspark.mllib.linalg import Vectors
from pyspark.mllib.clustering import LDA
from pyspark.sql import SQLContext
import re
import num... | 71c59411770a7d9a711fcab13ef0c748b7c962e1 | [
"Markdown",
"Python"
] | 3 | Python | logaprakash/Ranking-MRF | f255d5c52652420e4fc04f484b305163b15ce1f5 | 3f073b4a2f9ed0e488ed8dce3d1b777a8ac56ed3 |
refs/heads/master | <repo_name>Bakalavr113/sample<file_sep>/app/controllers/users_controller.rb
class UsersController < ApplicationController
def new
@user = User.new
end
def create
@user=User.new(users_params)
if @user.save
redirect_to_root_path
end
end
def login
@user=User.new
end
def result
... | f925133774e6b6ba194cefc423cb213a28ea3a24 | [
"Ruby"
] | 1 | Ruby | Bakalavr113/sample | 7086e3c815460d567dee12b55b96ac1f42ce3145 | 98b1727ae8e73b1134ac672da0a1caaf888d7a93 |
refs/heads/master | <file_sep>package main
//
//
// Go web scraper
// 0.0.1
//
//
// Usage: go run scraper.go
// curl -s 127.0.0.1:7171/search?url=<URL>
import (
"encoding/json"
"log"
"net/http"
"time"
"github.com/gocolly/colly"
)
var startTime time.Time
func ping(w http.ResponseWriter, r *http.Request) {
log.Println("P... | 1b72fa86a4de9dfd836e59ec7e2bfb5c3499f865 | [
"Markdown",
"Go"
] | 6 | Go | pynezz/hello-go | 179ab923c6956756762bf6cd159af237b6153a8f | 12ec123097be987bb9b16acdc18911789fe67c65 |
refs/heads/main | <repo_name>xgillard/passg<file_sep>/passg-lib/src/lib.rs
//! This library provides a convenient way to generate pseudorandom passwords
//! according to some given constraints.
//!
//! # Example
//! ```
//! use passg::prelude::*;
//! let generator = GeneratorBuilder::default().build();
//! let password = generator.gene... | bd67870f651e89945382fd7c8efb8b2ef548a62d | [
"TOML",
"Rust",
"Markdown"
] | 10 | Rust | xgillard/passg | 20f37e0010e42c5dabfef63d1a4ae92476d8151c | 56ddf705c7dc74de95db1008e43ed48f6ffea9e2 |
refs/heads/master | <repo_name>841723906/EU4SpecialEscape<file_sep>/README.md
# EU4SpecialEscape
## これはなに?
Steam配信されているWindows版Europa Universalis IVの日本語化パッチの副産物です。パッチはこのプログラムを使って変換されたテキストのみを受け付けます。
## 環境
Windows7 以上
## 使いかたパターン1
適当なフォルダを用意します。
変換したいテキストが入ったファイルを下記に注意して、上記のフォルダ内に保存してください。上記のフォルダ内にさらにフォルダを作ってその中にテキストを置くような階層構造にしても大丈夫です... | 0a46ea15d95717b147cbbcded0ebd34bd187badc | [
"Markdown",
"C++"
] | 2 | Markdown | 841723906/EU4SpecialEscape | 3c9a1cc633ff71c8bd52744b25320bf701fa19fa | 41bf39cd56f44d333c130c7c2d809c79c0826f90 |
refs/heads/main | <repo_name>Katia-Casta/examen<file_sep>/index.php
<!DOCTYPE html>
<html>
<head>
<title>CASTAÑEDA</title>
<meta charset="utf-8">
<?php require_once "dependencias.php"; ?>
<?php require_once "contenido.php"; $datos=contenido();?>
<script type="text/javascript" src="script.js"></script>
<link rel="stylesheet" href... | 5b704c9b67f51ce97497190c55f77fb71fd7f6c3 | [
"PHP"
] | 2 | PHP | Katia-Casta/examen | 59a994246b45b65eeaa15784460e56730ce5f693 | c3b2c2a98fac85234157e122ddff15f0227c5be5 |
refs/heads/master | <file_sep>var app = new Vue({
el: '#app',
created: function(){
this.getData()
},
methods: {
getData: function(){
var vm = this;
$.ajax({
url: 'https://jsonplaceholder.typicode.com/posts',
method: ... | f63755fdaf4064f51a2d4adea8b0ae529765a799 | [
"JavaScript"
] | 1 | JavaScript | tristansalao/vuejs-ex | b80485b47e2107e6e60ba6d2701dd2ae48724fd2 | cbff0b424f2f02df429a8afac7792c8c858d4915 |
refs/heads/master | <file_sep>import os
import sys
import logging
sys.path.append('Module/')
from MailSend import mxmMail
# Allow us to run using installed `libgmail` or the one in parent directory.
try:
import libgmail
## Wouldn't this the preffered way?
## We shouldn't raise a warning about a normal import
##lo... | 5ed1aeead368945454b595dfc71ca5e027112719 | [
"Python",
"INI"
] | 9 | Python | bussiere/bussierelab | 07fdf05ddbf3395ec471dd150d887b74c667aadd | 446c41f42291b67290301a185c3ca74e424b90a3 |
refs/heads/master | <file_sep>from setuptools import setup
setup(name='ApplyKernel',
version='0.1',
description='A Phyton (PySpark) Package to extend linear mllib regression models to process non-linear data using Kernels.',
url='https://github.com/heikowagner/ApplyKernel',
author='<NAME>',
author_email='<EM... | 56c31b589009b8d287e10170688ef75fa7c60ed3 | [
"Markdown",
"Python"
] | 3 | Python | heikowagner/ApplyKernel | e6f3410972145e7eee1fdce49e1961081dec4836 | bebc3458fec3c7458006175e450e0b5aefaaccc6 |
refs/heads/master | <file_sep>(function () {
"use strict";
this.console.log("...");
}).apply(this); | 561fa40d9980c71dfa05f8d5b19b9a7a4cd31c4d | [
"JavaScript"
] | 1 | JavaScript | sentenzo/adAstra | 5ee048d55fc0daf8e5fee3107dd46c03fae539ff | caf3cebfcd8173e46b64cd5cb68bc0eccd16fdba |
refs/heads/master | <file_sep>/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package atividade1;
/**
*
* @author <NAME> 12.02643-3
* @author <NAME> 12.01595-4
*/
public class Dinheiro {... | 64cda8f1d88751d941f594f42b0fb42e35233c32 | [
"Markdown",
"Java"
] | 3 | Java | FeTPiva/HelloWorld | 9b466c37dd66c41cda67026c97b2955ceaca4853 | 02c26e1f3ff4e26d48e9d280ea94034856c93296 |
refs/heads/master | <file_sep>package org.elasticsearch.spark.rdd;
import java.lang.reflect.Field;
import org.apache.commons.logging.Log;
import org.apache.spark.SparkConf;
import org.apache.spark.TaskContext;
import org.apache.spark.util.TaskCompletionListener;
import org.elasticsearch.hadoop.util.ObjectUtils;
import org.elasticsearch.... | 68869832fcf6141f93f930118b2f14dceb0a2297 | [
"Java"
] | 1 | Java | Gavin-Yang/elasticsearch-hadoop | e0aabd9d754e010e710e645340c0fae9020208e0 | fd8427dba6a9b5418c2f2a93c37b212326b5c4f6 |
refs/heads/master | <file_sep>package ru.kpfu.itis.fujitsu.lzakharov.bookkeeper.webapp.controllers;
import ru.kpfu.itis.fujitsu.lzakharov.bookkeeper.model.Client;
import ru.kpfu.itis.fujitsu.lzakharov.bookkeeper.service.ClientService;
import ru.kpfu.itis.fujitsu.lzakharov.bookkeeper.service.impl.ClientServiceImpl;
import javax.servlet.S... | 0738f602919bc6191272bce038abf72aeab11ac5 | [
"Java",
"Maven POM",
"SQL",
"INI"
] | 23 | Java | levzakharov/bookkeeper | 50066cb8e744e29ca5f3aeb1f863787644cc034d | fd59900a15453482fd496f5669f06f984cffa53a |
refs/heads/master | <repo_name>FeedFestival/Analiza-Sintactica-Romana<file_sep>/Assets/scripts/QuestionText.cs
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using UnityEngine;
using UnityEngine.UI;
public class QuestionText : MonoBehaviour
{
public Text Question;... | acf6506686f7e8e39f30ae6aa3bb31832a4d8e2b | [
"C#"
] | 1 | C# | FeedFestival/Analiza-Sintactica-Romana | 1d7fb794b8d57bed9e9c47b83098ac674d7de6d3 | 3dfd3db8c3d7550362055cc96a1b4f05f29b3acd |
refs/heads/main | <file_sep>---
title: "Drama"
date: 2004-01-19
slashdot_url: https://slashdot.org/journal/58867/drama
---
<p>I am now associated with this bunch of <a href="http://www.twyrusdrama.org.uk/">t.a.r.t.s</a></p>
<p>Having helped out backstage with Treasure Island. Which was great fun.</p>
<file_sep>---
layout: post
title: ... | 5decd41542204a5f73f1485042dfa58c40c491e3 | [
"Markdown",
"HTML",
"Shell"
] | 307 | Markdown | timabell/timwise.co.uk | 7c67b566c352ee11f0e4998a4eac6216c04bfca3 | d3cd55f5f8315c0939ad5f356ddb067a969ee827 |
refs/heads/master | <file_sep>EYEAtos
=======
GUI atos for re-symbolicating Cocoa method calls in crash log.
Developing in very early stage, and you need Xcode 5 to open the .xib file.
###How to use
1. Place __YourApp.app__ and __YourApp.app.dSYM__ in the same directory
2. Launch __EYEAtos__
3. Chose __YourApp.app__
4. Copy & Paste th... | 1ce49569b975d5e575172b1308e0d920346a787a | [
"Markdown",
"C"
] | 2 | Markdown | Naituw/EYEAtos | 77c4a551a587ca438bc292299045c0343029da49 | 073624b56a49dece9ee142a113c22a14a3f780c2 |
refs/heads/main | <repo_name>sho0120/OrderControlForSquare<file_sep>/Order Control for Square/ViewController.swift
//
// ViewController.swift
// Order Control for Square
//
// Created by 李昌 on 2020/04/23.
// Copyright © 2020 李昌. All rights reserved.
//
import UIKit
import Alamofire
import SwiftyJSON
class ViewController: UIViewCon... | 335358993736cdf0b0e3a1659d984350a485d5e8 | [
"Swift"
] | 3 | Swift | sho0120/OrderControlForSquare | e55304e77d59b9141216ce82c4be92880b121330 | e47d6fd2bbc6b033f67d509e5ac4c05326783171 |
refs/heads/master | <file_sep>export * from './nav-main.component';<file_sep>import {
Component,
OnInit
} from '@angular/core';
import { ScaffoldService } from '../../../services/scaffold.service' //Import the service. Note that you have to know the path and do NOT include the .ts extension
@Component({
selector: 'scaffoldin... | 82b06664806299072d6389bf1a67c9e76105bfb6 | [
"TypeScript"
] | 12 | TypeScript | JerrolKrause/angular2-seed | 32f7332e6218b39dc96af7a18f1cd538b38a922f | 99011d8e842119e6760af3c37a9dacf3b7002ebd |
refs/heads/master | <file_sep>""" This program simulates a SQL database to test our recipe suggestion algorithm"""
import numpy as np
import base64
import psycopg2
# table of recipes.
# ID ingredients amounts
#recipes = np.asarray([[[1], [2,5,8,4], [4,2,6,3]],
# [[2], [5,7,1,2], [8,9,3,4]]... | 9aa91ab1c73bb624c6167d3b825cc0c44656a584 | [
"Python"
] | 8 | Python | cjs342/GroceryGuard | 1994cd14f9323d8afe62572029b3877221a40a8e | cc4b04f45a33c6c2fa58992a8c1ec54d07f9c95c |
refs/heads/master | <file_sep><!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="<NAME>">
<title>New Art Production</title>
... | a30ae97e0100c3f00cf608d1e6502c62cfa38d30 | [
"PHP"
] | 2 | PHP | IoSonoIlBeppe/SitoNewArt | 022f52ce80f9b0e4b0be323828dbc6c0828b6ab8 | 81cb4903822cf80478006e5252c6b512a2a1132f |
refs/heads/master | <file_sep>import os
os.system ('git secret add 1.py 2.py && git secret hide -d ' )
os.system ('git add . ')
msg = 'Enter Commit Message: '
os.system ("git commit -m 'msg' ")
os.system ("git push -u origin master")
<file_sep>import getpass
import os
#def password():
p = getpass.getpass(prompt='Enter Password ')
if p.lo... | af33071e56d013baebc5e5d5b0916f447ef57434 | [
"Python"
] | 2 | Python | hareesh309/JavaWebApp | 09c58ef038410462935382d4eef2a62d2ba0647b | 141c93490421a0dd0dfac5bd4a8a401409f024a6 |
refs/heads/master | <file_sep>import java.util.Scanner;
public class ConvertMileToKilometer {
public static void main(String[] args) {
// Create a scanner (variable) for miles
Scanner input = new Scanner(System.in);
System.out.print("Enter number of miles: ");
double mile = input.nextDouble();
... | bb72b7333e6b4a8937cde28eac9f09363ff2fcf0 | [
"Java"
] | 1 | Java | KristianWB/ItJP_Excercise_2_1 | 8ddabd4c04f0fe81392cc5be1916331ce642f241 | 59e3b9bb3e9f3b3db96cea79380b610ef72d494a |
refs/heads/master | <repo_name>mattwoberts/FreeAgent<file_sep>/FreeAgent/Models/BankTransaction.cs
using System.Collections.Generic;
namespace FreeAgent
{
public class BankTransaction : UpdatableModel
{
public string bank_account { get; set; }
public double amount { get; set; }
public string dated_on { g... | 8ebe4f4e2198666c55ade792471e64830b4a58b2 | [
"C#"
] | 3 | C# | mattwoberts/FreeAgent | 453e436c72f69925139d78d908e558af172cd5ca | 65cdaab88b6eaa2f46f0d14a4ba9cc412c5025be |
refs/heads/master | <repo_name>sutulustus/vat_statement_generator<file_sep>/views/site/vat_declaration.php
<?xml version="1.0" encoding="utf-8"?>
<dokument>
<hlavicka>
<identifikacneCislo>
<kodStatu>SK</kodStatu>
<cislo>1082215475</cislo>
</identifikacneCislo>
<dic></dic>
<danovy... | 9bb1b5a1597f85127d35352c90fc7d4b9fb7173d | [
"PHP"
] | 4 | PHP | sutulustus/vat_statement_generator | 9f8406d1e6be39f79124b1179f8e3752e18e83c8 | cd021d4430e4e4b41f89d8b5cc2af3fa4f3db030 |
refs/heads/master | <file_sep>import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '../components/HelloWorld'
import Dfooter from '../components/common/Dfooter/Dfooter'
import personalCenter from '../components/page/personalCenter/personalCenter'
import orders from '../components/page/orders/orders'
import index fr... | 64e00665eec024a4cddb43e699f065b8c98284d5 | [
"JavaScript"
] | 1 | JavaScript | hong597853910/diancan | 94092aaf1ef3711b3aec6bceccccb1a6661f0ec2 | 3f707ac8fbb246210ce5b1639920e7dbcc90207d |
refs/heads/master | <file_sep>// vigenere.js
var alphabet = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"];
function getKeyLetterAlphabetPosition(number, key) { // take number as the position of the input letter, so that we can match it with a key letter... | ab08001528ba693980943026a993c960889dbc68 | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | mariuszskon/js-crypto-demos | 78cd3edfdda62b0a02ae25af7b24a52450e1e0bb | 3725ab19bf13abd2c9eb356cf3a06ca7b4ff844b |
refs/heads/master | <file_sep>package main
import (
"testing"
)
func TestParseSyslogNgMetricsReturnsValue(t *testing.T) {
input := []byte("SourceName;SourceId;SourceInstance;State;Type;Number\n1;2;3;4;5;6\n")
metrics := parseSyslogNgMetrics(input)
if len(metrics) == 0 {
t.Errorf("Returned metrics are nil")
}
}
<file_sep>/*TODO:
... | 342f165d6567477187ab3fd2cbcb055a749f3437 | [
"Go"
] | 2 | Go | zygiss/textfile-collectors | d9a386759d7399fb7414c97677c7081632a09be9 | a4e1b954775df0395fb16b145a9c7ef55f2a6271 |
refs/heads/main | <file_sep><?php
session_start();
include('../config/connection.php');
$upit = "SELECT * FROM users WHERE id=".$_SESSION['UserId'];
$execute = $con->query($upit);
$row = $execute->fetch_assoc();
$username=$row['username'];
$password=$row['<PASSWORD>'];
$check=true;
if (isset($_POST['submit'])) {
if(!em... | 63422b8d77847c71e6377c9dd8c5459b98f24d2c | [
"SQL",
"PHP"
] | 14 | PHP | NemanjaKk/TaskOrg | d4fff5841a2724e2f96ebbb736df953abdaebdef | e82bccb752548183d3e76239490ea1df913b5338 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.