branch_name stringclasses 149
values | text stringlengths 23 89.3M | directory_id stringlengths 40 40 | languages listlengths 1 19 | num_files int64 1 11.8k | repo_language stringclasses 38
values | repo_name stringlengths 6 114 | revision_id stringlengths 40 40 | snapshot_id stringlengths 40 40 |
|---|---|---|---|---|---|---|---|---|
refs/heads/master | <file_sep>package acolina.pdfutils.controller;
import acolina.pdfutils.App;
import acolina.pdfutils.util.PDFUtil;
import javafx.application.Platform;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.*;
import javafx.stage.DirectoryChooser;
import j... | c342ff804215b0e8e821484ea76dede8e3f64b20 | [
"Java"
] | 2 | Java | AColina/PDF-Utils | 556ccf628e02c64784816d4b114099aac3deb79c | d93097035d96962cc31180e8a4df041e9c66e29e |
refs/heads/master | <repo_name>exxxar/first-spring-project<file_sep>/target/classes/i18n/messages.properties
page.login.title=Login page
page.login.loginBtn=Log In
page.login.regBtn=Registration
page.login.forgot=Forgot a pass?
page.login.label.username = Username
page.login.label.password = <PASSWORD>
page.login.name = My workShop
loca... | 5d9f7c35a559c6228f1179fa96cbc7fe32d90a2f | [
"JavaScript",
"Java",
"INI"
] | 6 | INI | exxxar/first-spring-project | 894ac3af2ff642e4067daaea3012a8257f1f8d06 | 488282716f158485e9b08bf7e3528cec5dda8ec2 |
refs/heads/master | <repo_name>mallikarjungithub/jspractice<file_sep>/js/all.js
var a = 3;
var b = "3";
console.log(a == b);
console.log(a === b);
var a = 3 + 4 + "hai";
console.log(a);
var b = "hai" + 3 + 4;
console.log(b);
var test = 3 + 5 + "hai" + 8;
console.log(test);
var time = new Date();
console.log(time.getTime());
var Year... | dca2180ed652b2d5b6a1a22062b41d6b60690a8c | [
"JavaScript"
] | 1 | JavaScript | mallikarjungithub/jspractice | 89815644d6a02294e595908b854eaaf303225378 | 390bbe77dded4e624a5c2bedc5ac59947d778aea |
refs/heads/master | <file_sep>package nazmul.materialsearchviewdemo;
import android.app.SearchManager;
import android.content.Context;
import android.content.Intent;
import android.database.Cursor;
import android.database.MatrixCursor;
import android.provider.BaseColumns;
import android.support.v4.view.MenuItemCompat;
import android.supp... | 486ead661dd1ac0c03026dd5804b4a16f09223c3 | [
"Java"
] | 1 | Java | mdNazmulHasan/MaterialSearchViewDemo | ff559ccc4ba2a5bf191568148e1be29b301e021a | 45df4a9dfe4589ef6ae54359f6dd71825d6f3e17 |
refs/heads/master | <repo_name>BigMike-Champ/Tech_Journal<file_sep>/SYS350/Milestone4/Menu.py
import configparser
import time
import json
from configparser import ConfigParser
import ssl, getpass
from pyVim.connect import SmartConnect, vim, Disconnect
def menu():
print("[1] Read data from a file proof")
print("[2] Data from c... | 84db48213951aca6f8f2fdeb4d7e4f1135ff7052 | [
"Python",
"Shell"
] | 2 | Python | BigMike-Champ/Tech_Journal | 33cedabbfae0970d20a543a81f0eb55355f6d591 | 5033f7dbaf44876e7a3c8a1d0e88aee2c294153a |
refs/heads/main | <file_sep>#! /bin/bash
# numbers.sh
# <NAME>
echo "Please Enter a Positive Integer:"
read -r X
N=1
while [ "$N" -le "$X" ]
do
if [ $(( N % 2 )) -eq 0 ];
then
echo "The number $N is even."
else
echo "The number $N is odd."
fi
N=$((N+1))
done
<file_sep>## Identifying Information:
1. Name: <NAME>
2. Student ID: ... | 4ca46a0e33185afd9284685dac5ba4ef4adbf924 | [
"Markdown",
"Shell"
] | 2 | Shell | ShanzehB/numbers | 2040761958c964a91f21c2a19ed8d2221679d6ff | 2ea6f0e8a94fd5ca1f43b927481e8e97449d25c0 |
refs/heads/main | <repo_name>Jaydenmay-040/Fibonacci<file_sep>/fibonacci.py
# function using nth fibonacci
def fibonacci(n):
if n < 0:
print("Incorrect input")
# first fibonacci number is 0
elif n == 0:
return 0
# second fibonacci is 1
elif n == 1:
return 1
else:
return fibonacci(n... | 6c99c6600686fa716aaa2bc97a561118dca37ed1 | [
"Python"
] | 1 | Python | Jaydenmay-040/Fibonacci | d96039856fe7e7cbd6928b8b2849f268417f56be | 171e80c08e63ef11037a3a7cd91ec57a1b3ff58d |
refs/heads/master | <file_sep># kubego
[](https://godoc.org/github.com/autom8ter/kubego)
a simple wrapper around the following kubernetes libraries:
- kubernetes-client-go
go get github.com/autom8ter/kubego/kube
- istio-client-go
... | d850aca8311759b84c60a918f442a2535f8ca7c8 | [
"Markdown",
"Go Module",
"Go"
] | 6 | Markdown | gitlayzer/kubego | 4e765ca454332ef7ddfa0f9c3a8402e408345d25 | 6165c5e2add6eafeb862b7cb465664616993196c |
refs/heads/master | <repo_name>010011100010/ll3305_CodeLab1_WK5HW<file_sep>/WK5HW/Assets/Script/LevelBuilder.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.IO;
using UnityEngine.SceneManagement;
public class LevelBuilder : MonoBehaviour {
public string[] fileNames;
public static ... | 6db135ce65d4f171b7bc15a20fc9400bbb0888b0 | [
"C#"
] | 1 | C# | 010011100010/ll3305_CodeLab1_WK5HW | 95c43ff65bae165ab04cc1c4de4252026e3be00c | cd5718e5e85623c35f56f7506c6cc8339b157bae |
refs/heads/master | <repo_name>irvinap/rails-app<file_sep>/app/models/blogpost.rb
class Blogpost < ApplicationRecord
belongs_to :user
#can't create blogpost without logged in and title
validates :user_id, presence: true
validates :title, presence: true
end
| 1a82db7c8dc888f976f48136993b364f52b5746c | [
"Ruby"
] | 1 | Ruby | irvinap/rails-app | 5f1fb74ebe34bba713fb7777d9fabd047e69ef9c | 851c577c473b8a0d0fa0bf375880a17681b421a3 |
refs/heads/master | <repo_name>veffhz/library-web-app<file_sep>/library-app/src/main/resources/static/js/components/authors/AuthorTr.js
import { showAlert } from '../Utils.js'
export default {
name: 'AuthorTr',
props: ['author', 'editAuthor'],
template: `
<tr>
<td>{{ author.id }}</td>
<td>{{ author.fullNam... | a0c40705bf9ba2d3acdace56ae445312cf3b2a6e | [
"SQL",
"JavaScript",
"Markdown",
"Maven POM",
"Java",
"Dockerfile"
] | 74 | JavaScript | veffhz/library-web-app | f223e7fde46987b257b17230f4cd3c38d3e2d107 | 78639d4c2cb44f9b388145be8d628001a513af79 |
refs/heads/master | <repo_name>kevinmcalear/react-pokemon-searcher-dumbo-web-051319<file_sep>/src/components/PokemonIndex.js
import React from 'react'
import PokemonCollection from './PokemonCollection'
import MyTeamCollection from './MyTeamCollection'
import PokemonForm from './PokemonForm'
class PokemonIndex extends React.Component {
... | cbbd900f39eb7ab188a35d16b505b73c0f834618 | [
"JavaScript"
] | 1 | JavaScript | kevinmcalear/react-pokemon-searcher-dumbo-web-051319 | 185c59c10263e4eaa18046f8e4ee62927ed493fd | 0dacad20a79038be0163789d4cd6e17ff924e89b |
refs/heads/master | <file_sep>use fluent::ContinuationAdderTrait;
use fluent::EndScheduleMultipleTaskBoxesMultipleContinuationBoxes;
use fluent::EndScheduleTrait;
use SchedulerTrait;
use Task;
use TaskBox;
use TaskBoxIntoIterator;
pub struct ContinuationAdderMultipleTaskBoxesMultipleContinuationBoxes<'a,
... | a515bd525430b3d0b07a16665b51f87adb06b56c | [
"Markdown",
"Rust",
"TOML"
] | 32 | Rust | Tyleo/taskify | a6940ab7928d29c0280125ff8f2eb0a5440dca01 | 6db6d5cc85581e6c3ea0f794b0351f49034414f8 |
refs/heads/master | <repo_name>npke/proxy-server<file_sep>/index.js
let http = require('http');
let request = require('request');
let url = require('url');
let path = require('path');
let fs = require('fs');
let argv = require('yargs')
.usage('Usage: node $0 [options]')
.default('host', '127.0.0.1:8000')
.alias('p', 'port')
.describe(... | fe068032eb0c1279b37acc11341cfcc4bf4fec9a | [
"JavaScript"
] | 1 | JavaScript | npke/proxy-server | 571f30105cbaaabd8ed3c6e6af0c6f6ff9d2f6bf | bfc464e93208aafb6d97f694b64e3c32d884a93b |
refs/heads/master | <repo_name>Doldge/crypto-pals-answers<file_sep>/challenge_set_1/answers.py
#! /usr/bin/python
# Challenge 2+ & conversion of bytes
import struct
# Challenge 3
import string
def find_ngrams(input_list, n):
return zip(*[input_list[i:] for i in range(n)])
def xor(a_byte, b_byte):
return struct.pack('B', (ord(a... | 245ff2244bae6d354557df9501974c0ad6e400c1 | [
"Python"
] | 1 | Python | Doldge/crypto-pals-answers | 3ef67b5560b2a61b48f93adc7de372510cfb398f | b8add293c9c5614be0d99981df84df64041f9d59 |
refs/heads/master | <repo_name>Abhishek-Nagarkoti/aws-sdk-go<file_sep>/private/model/api/shape_marshal.go
// +build codegen
package api
import (
"bytes"
"fmt"
"strings"
"text/template"
)
// MarshalShapeGoCode renders the shape's MarshalFields method with marshalers
// for each field within the shape. A string is returned of the ren... | ab72772217013ba979d1f3cff64957c06ebed30b | [
"Markdown",
"Go"
] | 2 | Go | Abhishek-Nagarkoti/aws-sdk-go | f93b927be230712e3587ed606bba8f43e340c4ca | 7351b8ec5b2d50335744e6dba74dcc6d11d15061 |
refs/heads/master | <file_sep>print("\nNow when Laertes and the two men raised their hands upon your undertaking.\n\
Alas!\n\
Winds from East, South, North, East, and West have breathed upon it in his boyhood.\n\
Let us see what he has many suitors, who eat them up at the well, do not think he will, set your\n\
Now, therefore, do you sit ... | e3ce3503211f72f575a1972ff70ad1bd44b5c275 | [
"Markdown",
"Python"
] | 3 | Python | VictorButoi/MarkovText | de491a8c6b5cd7317caeccaf0af521454a18a122 | 415e814e420198e4d03484f1b60f98a17089860c |
refs/heads/master | <repo_name>msheke101/mvc<file_sep>/WebApplication3/Controllers/CompanyNamesController.cs
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using WebApplication3.Models;
namespace WebApplication3.Con... | 2d003c6f126eb093880fe6b27f6c5c286b32eb5c | [
"C#",
"PHP"
] | 2 | C# | msheke101/mvc | b42c64e6d9ab8798edbbdac0a2701324034621d6 | e4c7b0a754a1c1f087aa18f44532637ca007a52e |
refs/heads/master | <repo_name>iarlenaquiles/TreinamentoNode<file_sep>/day3/index.js
var express = require('express');
var app = express();
var myFunction = require('./myFunction');
var bodyParser = require('body-parser');
var request = require('request');
app.set("views", __dirname + "/views");
app.set("view engine", "ejs");
app.use(bod... | 6fb02d85c7801c24f6c3a5ecf6fb39171c48bce5 | [
"JavaScript"
] | 3 | JavaScript | iarlenaquiles/TreinamentoNode | cbb735372730b5c6e6f7b693f784603b35ef7089 | 93046e80ce8afc837cf1f42a5ae37f7e99b9e9fb |
refs/heads/master | <file_sep>// -*- C++ -*-
//
// Package: Demo/QGAnalyzer
// Class: QGAnalyzer
//
/**\class QGAnalyzer QGAnalyzer.cc Demo/QGAnalyzer/plugins/QGAnalyzer.cc
Description: [one line class summary]
Implementation:
[Notes on implementation]
*/
//
// Original Author: <NAME>
// Created: Fri, 25 Mar 20... | 0967dfd92883d645cdda8a84a4d7666d59e9441b | [
"Python",
"C++"
] | 4 | C++ | obaron/QGAnalyzer | 7a098d2201aab5f74878dba6dce7f78e8fe6a13c | 72c528beafc39a97aabbf9441393f4a284879c61 |
refs/heads/master | <file_sep>Projet du groupe **Atari** pour la semaine intensive de JavaScript. *@HETIC* **W1P2021**
<file_sep>/*
* Project : JS
* Date : 17/12/2018
*
*/
/*
*
* TODO: remettre les variables etc
*
*/
oxo.screens.loadScreen('home', function() {
let rules = document.getElementById(`rules`);
let info = document.getEl... | 03781d81b255bbc414824da34cc664cb4b24cbf8 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | kentoje/hetic-w1p2021-01-atari | b6330e56607a9a62b779d2f033c0ea28cb992717 | dd525ffa3f32ef7f5c680a1f750f752359413725 |
refs/heads/master | <repo_name>alcir-junior-caju/study-js-reactjs-gostack-redux-sagas<file_sep>/src/store/modules/rootSaga.ts
import { all } from 'redux-saga/effects';
import cart from '@store/modules/cart/sagas';
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
export default function* rootSaga() {
return... | eb92055649d4f4405e4b86bfd51c461aceedd579 | [
"Markdown",
"TypeScript"
] | 6 | TypeScript | alcir-junior-caju/study-js-reactjs-gostack-redux-sagas | 62d1a76b8c7da1b166dd37921977a5a7cc1028de | 7334cfdc89599f286c0fab1710c4844f6522df5a |
refs/heads/master | <file_sep>require('rspec')
require('scrabble_score')
describe('String#scrabble_score') do
it('provides score for a letter') do
expect(('a').scrabble_score()).to(eq(1))
end
it('provides the score for a word') do
expect(('aei').scrabble_score()).to(eq(3))
end
end
| 0e27348c7cfa315325c3ade8e570760f91b781b0 | [
"Ruby"
] | 1 | Ruby | tryangul/scrabble_score_sinatra | b77be451ab6eb132dd6d52e026b1b2fa892424b4 | 5c2012aa2b37d022ac3656b02811a4971f686519 |
refs/heads/master | <file_sep>using System.Linq;
using System.Threading.Tasks;
using Core.Entity.identity;
using Microsoft.AspNetCore.Identity;
namespace Infrastructure.identity
{
public class AppIdentityDbContextSeed
{
public static async Task SeedUserAsync(UserManager<AppUser> userManager)
{
if (!us... | 7707fa0d5a9b6783f6780a6b58efbc1e6ba3a62d | [
"C#",
"TypeScript"
] | 4 | C# | rishiVickey/Project | ab3c6c70417565193f095689593e377c6d86d7d0 | be7058f0bf6f9add815f24db812eaf3ae476b873 |
refs/heads/master | <file_sep>import csv
import arcpy
import xlrd
import os
asfrLookup = "C://Google Drive//BirthsandPregnanciesMapping//ASFR//asfr_lookup_1990.csv"
asfrDir = "C://Google Drive//BirthsandPregnanciesMapping//ASFR//1990"
asfrGdb = "C://Google Drive//BirthsandPregnanciesMapping//asfr_1990.gdb"
# Loop through ASFR lookup asf... | 07eac1d6ba842346fcebc32e6843c7164a8b24a1 | [
"Python",
"Text"
] | 10 | Python | cewarren6/BirthsandPregnanciesMapping | da4921378ccf7b17a820947f8ff22ed814a3bbb1 | 13253b3c438916c17359f9f21051a2e9dc5d1b76 |
refs/heads/master | <file_sep><?php
class Stand{
// database connection and table name
private $conn;
private $table_name = "standen";
// object properties
public $id;
public $naam;
public $gespeeld;
public $gewonnen;
public $gelijk;
public $verloren;
public $punten;
public $dpv;
pub... | d17347cb9b9315f2589ccfc2fe8e78381e2ceff5 | [
"PHP"
] | 3 | PHP | TeamEurekaGaming/api | beb67d43bc9c0599f6b8b0c4cbc6e16370d9fcea | 92f55186482f43ddbac8133a0ebe22c85d14a23c |
refs/heads/master | <repo_name>Hugo-janasik/Formulaire-PHP-HTML<file_sep>/description.php
<!DOCTYPE html>
<html>
<head>
<title>Description</title>
<form method="post" action="index.php">
<p>Description</p>
<br>
<!-- Display our Data -->
<!-- Customer_Name -->
Customer_name: <?php echo $_POST["customer_name"]; ?>
... | fa96bd413617475aea321c56538f7dc42eaa94ab | [
"Markdown",
"PHP"
] | 3 | PHP | Hugo-janasik/Formulaire-PHP-HTML | 126b088e83542fbef3e35f57ae296d80dc278695 | 63ee3fd05d1e970c8df8696924061573773beb99 |
refs/heads/master | <repo_name>zachalbert/nthnth<file_sep>/src/js/app.js
import 'mediaelement'
import './modules'
import './modules/prism'
import './modules/site'
import './modules/svg'
import './modules/ambient-light'
import './modules/smooth-scroll'
import './modules/scroll-magic'
import './modules/sidebar'
import './modules/lazy'
impo... | 5133a50625b368c4b703582fd34dcd9deda941d9 | [
"JavaScript",
"HTML",
"Markdown"
] | 17 | JavaScript | zachalbert/nthnth | 55b195959964063f75c2c09249b53d5aea19fc0b | a53bb89cd92ec80dfa7224b7834c88ca08e22610 |
refs/heads/master | <file_sep>let textWrapper = document.querySelector('.title-1')
textWrapper.innerHTML = textWrapper.textContent.replace(/\S/g, "<span class='letter'>$&</span>");
let textWrapper2 = document.querySelector('.title-2')
textWrapper2.innerHTML = textWrapper2.textContent.replace(/\S/g, "<span class='letter'>$&</span>");
let... | 9923596200a3ad7fde192af7ade73635994badbf | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | afzal442/UI-Hovering-Page | 9312be28551c1c3a4e7d1533cc71a0d1401ae29a | 8bc51e3d217ad90d94377077db9f55e527629852 |
refs/heads/master | <repo_name>Rowhaagan/futsalphp<file_sep>/config/connection.php
</<?php
// Database connection
$conn = mysqli_connect('localhost', 'rowhaagan', 'password', '<PASSWORD>') OR die('Could not connect because: '. mysqli_connect_error());
?><file_sep>/admin/ajax/pages.php
<?php
include("../../config/connection.php");
$... | 008efed33a6094ada6b94c243f52ec79d933d5df | [
"Markdown",
"PHP"
] | 19 | PHP | Rowhaagan/futsalphp | 628da84cc8dfb9b9fceb4641893ca8ee0c4f6aaf | d799864bf512c0b500b65563e30e9b0e9e5af725 |
refs/heads/master | <repo_name>ndwrobotics/2019Season<file_sep>/ftc_app-master/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/HeadlessOmniOp.java
/*
[][][] [][][] [][] [][][]
[] [] [] [] [] [][]
[][][] [][][] [][] [][][]
* */
package org.firstinspires.ftc.teamcode;
import com.qualcomm.hardware.modernrobotics.ModernRobotics... | d2ad44bb1cdadff7ddeae65db9f2e121b050f454 | [
"Java"
] | 7 | Java | ndwrobotics/2019Season | 050a55ccbabb03e4978eb06ccdad2a6012ecaa5e | f296d69b4a7ddc38f3f8f4751d3316bd95361fb7 |
refs/heads/master | <repo_name>Nacer-Ben/php-csv-exporter<file_sep>/src/Contracts/ExporterContract.php
<?php
namespace Sujan\Exporter\Contracts;
use Generator;
interface ExporterContract
{
public function set(): Generator;
public function get(): void;
}
| 02f1ce3220b88143f7f987e92f76da7f963d1f88 | [
"PHP"
] | 1 | PHP | Nacer-Ben/php-csv-exporter | 9fc359a3054a5c1df8807094bc0f22ca28adfadd | 965f5a1d4a45b876758fce2eceeb4fefd061eab3 |
refs/heads/master | <file_sep>[<script type="text/javascript" >
function preventBack(){window.history.forward();}
setTimeout("preventBack()", 0);
window.onunload=function(){null};
</script>
<?php
$examId = $_GET['id'];
$selExam = $conn->query("SELECT * FROM exam_tbl WHERE ex_id='$examId' ")->fetch(PDO::FETCH_ASSOC);
... | b82f19e8ea6490fead2c92b453c86ef2381e4d7d | [
"PHP"
] | 3 | PHP | akilanselvam/Online-Examination-System-Code-Challenge | 9ad56c4697e37926d4c4f7fca465fa04f8622018 | 2342da79a1fc8c3ecb599cb0086526cb8d4c8118 |
refs/heads/master | <repo_name>jsimonetti/pwscheme<file_sep>/ssha512/ssha512.go
// Package ssha512 provides functions to generate and validate {SSHA512} styled
// password schemes.
// The method used is defined in RFC 2307 and uses a salted SHA512 secure hashing
// algorithm
package ssha512
import (
"crypto/rand"
"crypto/sha512"
"cryp... | 0c4300a7bb8d80c396afcb548a7949f86c4d9ff5 | [
"Markdown",
"Go Module",
"Go"
] | 7 | Go | jsimonetti/pwscheme | 67a4d090f150fa1f65cd4efa392988fc3c4f6a5a | cd346a9c11274c731f09ad4d9631ee719b5d210a |
refs/heads/main | <repo_name>Pandoradoomer/PDProject<file_sep>/index.js
const { removeAllListeners } = require('nodemon');
var io = require('socket.io')(process.env.PORT || 29015);
console.log('Server has started');
var hostsockets = []
io.on('connection',function(socket){
socket.on('hasconnected',function(){
... | 5615af77c58f8d8f4e68ce0f40773f000b800442 | [
"JavaScript"
] | 1 | JavaScript | Pandoradoomer/PDProject | c56d6f99f6bab02e10ceb7a7b9a5503ebfdb4924 | d6fb12917f7bebf79b0c2c8ad629533433a16472 |
refs/heads/master | <file_sep>Temporary readme for the life-ishort repo.
"An electronic manager for life...," the ishort Life Manager is meant to keep track of various tidbits
of data through the use of a plethora of tabs performing differing tasks, from keeping track of contacts,
to creating lists of tasks for a day's work.
Life ... | 630bff2250d72d12ab123e62f87aa9bca2428ec0 | [
"Markdown",
"Java"
] | 5 | Markdown | Cappycot/life-ishort | b02f9bea4e85890cc98bc5bdb102886636c8351d | 502b2c5bb6bad722f6025e57aa42736511312cb4 |
refs/heads/master | <repo_name>sobaya-0141/Sceneform<file_sep>/app/src/main/java/sobaya/app/sceneform/PointerDrawable.kt
package sobaya.app.sceneform
import android.graphics.*
import android.graphics.drawable.Drawable
class PointerDrawable : Drawable() {
private val paint = Paint()
var enabled = false
override fun draw(can... | 28cee88eb5c7ddf4ef0d554b0f4ff33c70b53cb5 | [
"Kotlin",
"Gradle"
] | 2 | Kotlin | sobaya-0141/Sceneform | 878ab76c017c86b21064dc460f687b2ec28fe9f0 | 4783cba15e958cf3e85be4a7cded6c5fe7b35018 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RepetierHostExtender.interfaces;
namespace CncPlugin
{
public class CncPlugin : IHostPlugin
{
private CncControl cool;
IHost host;
/// <summary>
... | e1c02fb2a02e3c554c37883caa4cebed5d10f70c | [
"C#"
] | 3 | C# | damienj210/repetier-cncplugin | 5ba1e554b2acbfb50af2ca7f05798fe7cbaebe91 | 85d241a9d5fcbff9baabefd7a7f98eaff0513bf8 |
refs/heads/main | <file_sep><?php
namespace App\Models;
class Channel extends Model
{
public function discussions()
{
return $this->hasMany(Discussion::class,'channel_id');
}
}
<file_sep>**Discussion Forum**
It is a discussion forum which is built on **Laravel 7+** followed by **Kati-Frantz** (udemy instructor).
... | f77de4ea62129946c6bd96a9d2091e71c98854ea | [
"Markdown",
"PHP"
] | 7 | PHP | taimoorKVD/Discussion-Forum | 73597122d355f271afd6256e4813207d4928bcd6 | 9f75e12fb49e08075a9386bf87565a3e82dee897 |
refs/heads/master | <file_sep># X but for Y
Your next elevator pitch is only a click away.
<file_sep>import os
from random import randint
from flask import Flask, render_template
app = Flask(__name__)
class ElevatorPitch(object):
def __init__(self):
def _read_list(filename):
datadir = os.path.join(
... | 1747f7dd38102272ed5213e4b9bc67bed765cd18 | [
"Markdown",
"Python"
] | 2 | Markdown | engstrom/xbutfory | 08189b94dfe48b51087ce5f94eadb43ca25da33a | 126c4ce6d88a20f4a76c0776c4821a85568f2d1d |
refs/heads/master | <file_sep>class HomersController < ApplicationController
# GET /homers
# GET /homers.json
def index
@homers = Homer.all
respond_to do |format|
format.html # index.html.erb
format.json { render json: @homers }
end
end
# GET /homers/1
# GET /homers/1.json
def show
@homer = Home... | eaa8ff60f555da074ce215d91bfe26f525f9581c | [
"Ruby"
] | 1 | Ruby | 4rajackson/things_i_bought | 6a03569d02d2cdd787f462a7a4219b96dd872121 | e8162e44ed1f00d2954abdb73af3ba5551f01d06 |
refs/heads/master | <repo_name>idhere703/totemo-takai-desu<file_sep>/src/data/ExpensesStore.js
import Immutable from 'immutable';
import { ReduceStore } from 'flux/utils';
import ExpensesActionTypes from './ExpensesActionTypes';
import ExpensesDispatcher from './ExpensesDispatcher';
import Counter from './Counter';
import Expense from './... | 65827861024014a4a55e0aae8c3380c094b65650 | [
"JavaScript"
] | 6 | JavaScript | idhere703/totemo-takai-desu | cb3ce34415e73de7eef01fafb56143d8e02d3741 | d4a6851c41d33c6dd36faae2fae4683f39e5bf5d |
refs/heads/master | <file_sep>var React = require('react-native');
var {
DeviceEventEmitter
} = React;
var BackgroundGeolocationManager = React.NativeModules.RNBackgroundGeolocation;
var BackgroundGeolocation = {
configure: function(config) {
BackgroundGeolocationManager.configure(config);
},
setConfig: function(config) {
... | bb6ecb252488d9ee1ccf78427d7126c42d379a92 | [
"JavaScript"
] | 1 | JavaScript | behboud/react-native-background-geolocation | ef153befd498371cdac7fe50a9a4e4f5612e2cd1 | 1a901aac6e53a11394d739ef02644c0127d8171b |
refs/heads/master | <repo_name>Jerry9757/pytw_a01<file_sep>/ex1_tk.py
# github Pytw_T01, Git 練習
from tkinter import *
from tkinter import ttk
my_window =Tk()
my_window.geometry("400x450") # window size
my_window.title("Hello tkinter") # window size
label_one= Label(my_window, text='Message ')
label_one.grid(row=0, column=0)
tex... | 9fc950f49fdcdd31bad731098fa8d5d1c9b4d4d3 | [
"Python",
"Text",
"Dockerfile"
] | 4 | Python | Jerry9757/pytw_a01 | a54558e89f2c3b78618059d0775525c565632fde | d2992fd1a85ca27ae36c33daf6e9e66e6056f122 |
refs/heads/master | <file_sep>INSERT INTO projects (title, category, funding_goal, start_date, end_date) VALUES ("one", "tech", 500, "1/1/16", "1/20/16");
INSERT INTO projects (title, category, funding_goal, start_date, end_date) VALUES ("two", "tech", 500, "1/10/16", "1/15/16");
INSERT INTO projects (title, category, funding_goal, start_... | 8c6b16b485e76a7a6ba6a840449c8529a42b7e67 | [
"SQL"
] | 1 | SQL | gormanjp/sql-crowdfunding-lab-v-000 | dc2560948d9477d0cbdb6d36b2a5553960788f72 | f84989509388fb2d29c68657e1888c8e33922edd |
refs/heads/master | <repo_name>adamaulia/RAI_Task_3<file_sep>/RAI-Socket-2/src/rai/socket/pkg2/GUI.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 rai.socket.pkg2;
import java.io.BufferedR... | f74035304a6856283d034320f7c996b2a6ecc0ae | [
"Java"
] | 2 | Java | adamaulia/RAI_Task_3 | 2ed9757ddcb37084daf8414fa7565a4de08ea861 | 295e63aabe2c8c52eefddb5d0321a05001653ff9 |
refs/heads/master | <repo_name>luxedo/node-SPOS<file_sep>/spos/blocks.js
/*
SPOS - Small Payload Object Serializer
MIT License
Copyright (c) 2020 [<NAME>](<EMAIL>)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software wi... | 53979258473eb1b03e372e13587b703251419cc4 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | luxedo/node-SPOS | b54002511509196ae1eb97905fe4defeedbade50 | 3ad8a0779f5e700987d3fd09e76e9f4a932d59a5 |
refs/heads/master | <file_sep><?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
class wf_iupick_woocommerce_shipping_method extends WC_Shipping_Method {
private $found_rates;
private $services;
public function __construct() {
$this->id = WF_IUPICK_ID;
$this->method_title = __( 'IU... | 7e1ee6313a143d35762d924de01f9702559f2ea8 | [
"JavaScript",
"PHP"
] | 6 | PHP | javolero/iupick-woocommerce-shipping-method | df210d133110970d9f2d4ca9ff4b899b1ce99e68 | 0e9dcc864a57b92bf60a56390db71f178de3055b |
refs/heads/master | <repo_name>AdityaSub/FEM_2D_Heat_Steady<file_sep>/README.md
# FEM_2D_Heat_Steady
2D finite-element solver for steady-state heat transfer; uses linear basis functions but the code is written to be easily modularizable; currently supports square and circular domains, but this can be extended to arbitrary geometries by mo... | 5e100bd939046c0273adcbae7a2cb893d9fd01ab | [
"Markdown",
"C++"
] | 4 | Markdown | AdityaSub/FEM_2D_Heat_Steady | 9aa29fcd6b408fd67a61d8d88202032439917fb6 | 8b70a64d45aa99fb1ebfd2818565c6242d98fd4a |
refs/heads/master | <file_sep># DMHotelsFoundation
- This is a sample framework to test framework based modularization.
Para que todo funcione correctamente, debes ejecutar la siguiente línea
pod install
<file_sep>workspace '../DMWorkspace/DMHotels.xcworkspace'
xcodeproj 'DMHotelsFoundation.xcodeproj'
pod 'DeepLinkKit'
| 48a808c883d015be1711a0b4a55950e0b8f21c5b | [
"Markdown",
"Ruby"
] | 2 | Markdown | smatias1989/DMHotelsFoundation | 59052707dea21c2ce86cb157ea96ad871aaa7d9c | 33965c40693014c868bff53c2c37775860bf50fb |
refs/heads/master | <file_sep>#ifndef UTILS_H
#define UTILS_H
#include <sqlite3.h>
#include <r_core.h>
typedef struct wkr_mapping_t {
char* name;
ut64 from;
ut64 to;
} wkr_mapping;
typedef struct wkr_hitcount_t {
ut64 address;
ut64 count;
} wkr_hitcount;
typedef struct wkr_db_t {
sqlite3* handle;
bool pie;
... | 4a05a4e4dd1ae745ea8bcdb8a3e4d5eba349f253 | [
"Markdown",
"C",
"Makefile"
] | 5 | C | SiD3W4y/r2wakare | 54754abc7551c03463dd0eb4f198251bbae031a8 | 4c72ecb87b7f4ed786e31a5c57f2f0bdcc6632f9 |
refs/heads/master | <file_sep>import matplotlib
matplotlib.use("Agg")
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
get_name = lambda parts: f"{parts[0]}:{parts[1]}-{parts[2]}"
matches = {line.split("\t")[2] for line in open(snakemake.input.matches) if not line.startswith("#") and line.strip()}
hits = [get_name(l... | 79203ee9137a45ac7ffc22b7170703e6be7e596f | [
"Python"
] | 5 | Python | knutdrand/peak-eval | 377092ba2a0954f0163f20de9a4a73d2bcf62a7e | 1a8b3918c10c22c5c812f4051550a61b159e7201 |
refs/heads/main | <repo_name>ropturpvp/copytabs<file_sep>/api.php
<?php
header('Access-Control-Allow-Origin: *');
header('Access-Control-Allow-Methods: GET, POST');
header("Access-Control-Allow-Headers: X-Requested-With");
include_once("database.php");
$status["status"]="";
$data=1;
$select=$DB->prepare("SELECT pagesText FROM pages WHER... | efce389cc9739e7498c5db9f6fbf65b42165ea30 | [
"PHP"
] | 3 | PHP | ropturpvp/copytabs | 40600d5254ff59bf5dead907292b1ec791ce5ae8 | f1425ccdadf7233605afa931bbc3730cdc0c0988 |
refs/heads/master | <repo_name>lowocon/PaymentInterface<file_sep>/src/main/java/com/globalfreepay/payment/support/Consts.java
package com.globalfreepay.payment.support;
/**
* Created by yixian on 2016-06-29.
*/
public class Consts {
public static final String WECHATINFO = "WECHATINFO";
public static final String MANAGER_STATUS ... | 7b997cc93655d7e9ef569034946f9e4666a3f3e3 | [
"Java",
"INI"
] | 7 | Java | lowocon/PaymentInterface | f63dc94ce698132be4b4a47e58f07ceb00a6a91c | e1073146e4baad50b781ce742ebbc26fc23bc277 |
refs/heads/master | <repo_name>kevinenax/SwiftShell<file_sep>/SwiftShell/Utility.swift
//
// Utility.swift
// SwiftShell
//
// Created by <NAME> on 2/8/16.
// Copyright © 2016 NotTooBad Software. All rights reserved.
//
import Foundation
func + <T, U> (left: [T : U], right: [T : U]) -> [T : U] {
var copy = left
for (k, v) in... | 959f08c30a759d0c12555445b86ff08f697e1b25 | [
"Swift"
] | 2 | Swift | kevinenax/SwiftShell | 3a95ab75a4f87990394f19ff855fa448b2e6c797 | eeb5291f7e29b5886f3c299b7df3d8fd13ae2c67 |
refs/heads/main | <repo_name>SannevanKempen/AANN<file_sep>/Simulation.py
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sat Mar 6 10:36:15 2021
@author: Ingrid
"""
import numpy as np
from matplotlib import pyplot as plt
directory = "/Users/Ingrid/Documents/Github/AANN/"
def relu(x):
return max(0,x)
def square01(x... | 2ec0d17cbcefe27cf06456da57f2655cdfa92788 | [
"Python"
] | 1 | Python | SannevanKempen/AANN | 51ca6f2483644c6c262966ce40b233fde4f48b53 | 07c0186152df7d726e63a4327e32df3c8601f216 |
refs/heads/master | <file_sep>package com.example.ejercicio_ficheros;
import androidx.appcompat.app.AppCompatActivity;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.util.Log;
impor... | f844ad97e0b6a38bd1a8e320eb316995aada2374 | [
"Java",
"Gradle"
] | 3 | Java | Gian-Piero/EJERCICIO_FICHEROS | 0d71a081fe56c1f7d3cb34c54219fcb640cf65b4 | c7d8c2ee1da3c7992d8be6dd56f69fbda69aef9e |
refs/heads/master | <repo_name>wigy-opensource-developer/dart-sys<file_sep>/readme.md
# `dart-sys`
#### *Native bindings to the dart native extensions sdk.*
This crate exposes an api for [`dart_api.h`](https://github.com/dart-lang/sdk/blob/master/runtime/include/dart_api.h),
which exposes the basic [dart](https://dart.dev/)
native [ext... | 85a6b1bc5513d0c0eebfad1a29b4ef981a397053 | [
"Markdown",
"Rust"
] | 2 | Markdown | wigy-opensource-developer/dart-sys | 1e618d76e9303d68e230591b26b0a2a862329ccb | 39933beb14715d6a7544a92090a4e97ee2750259 |
refs/heads/master | <repo_name>joyliu-q/Six-Degrees-of-Wikipedia<file_sep>/src/main.py
# Import
import time
import sys
import numpy as np
import argparse
import string
import concurrent
from concurrent.futures import ProcessPoolExecutor, ThreadPoolExecutor, Future, as_completed, wait
# Webscraping Imports
from bs4 import BeautifulSoup, ... | 8294e88b9f93637558ed6d793e59fb444ad7ce89 | [
"Markdown",
"Python",
"Text"
] | 4 | Python | joyliu-q/Six-Degrees-of-Wikipedia | a96cabe4310b84671b9bed94d5e8a5e91c503469 | 6d408f059a5d842103297dbfa38cdcca3d0d181b |
refs/heads/master | <repo_name>bermeitinger-b/nolearn_utils<file_sep>/nolearn_utils/hooks.py
import pickle
import numpy as np
class EarlyStopping(object):
"""From https://github.com/dnouri/kfkd-tutorial"""
def __init__(self, patience=50):
self.patience = patience
self.best_valid = np.inf
self.best_valid... | 0fe19dc31a818da482a036017abe437ad19d10d4 | [
"Python"
] | 1 | Python | bermeitinger-b/nolearn_utils | 8c14cb1de1d31425a8418f23d5ff9eae4c730521 | e62a312682d1fa0fb1bcfa61a36ca8142d3fd22d |
refs/heads/master | <repo_name>cendydwierianto/office_HR<file_sep>/hr Office/TrillionBitsPortal/TrillionBits.ResourceTracker/Interfaces/IAttendance.cs
using TrillionBitsPortal.Common.Models;
using System;
using System.Collections.Generic;
using TrillionBitsPortal.ResourceTracker.Models;
namespace TrillionBitsPortal.ResourceTracker.Inter... | 3c9dab445997174ecbb6a4b3859061f3e0a85175 | [
"JavaScript",
"C#"
] | 136 | C# | cendydwierianto/office_HR | d6a66d15ae5de6c74670779cb54c95e8f7840258 | a118438d478404b98899e332604ea92a8c903056 |
refs/heads/master | <file_sep>import interestsToDom from "./interestsToDom";
import buildInterestForm from "./addInterest";
buildInterestForm();
interestsToDom();
| 7b34ad84d6d52062614087ccd77451799e2d15f7 | [
"JavaScript"
] | 1 | JavaScript | lindseyemaddox/C32-TernaryTraveler | 7f33d3c455d0c700899777707b0eed8deb7c69f5 | 3218da1f1b481add97f302ce9d50ca4efa236048 |
refs/heads/main | <file_sep>Программа по распознаваю дорожных знаков.
<file_sep>#!/usr/bin/python
import cv2
import numpy as np
from scipy.stats import itemfreq
def get_dominant_color(image, n_colors):
pixels = np.float32(image).reshape((-1, 3))
criteria = (cv2.TERM_CRITERIA_EPS + cv2.TERM_CRITERIA_MAX_ITER, 200, .1)... | 3094e72fa61a215beefce7838e1d8b72d334d8c3 | [
"Markdown",
"Python"
] | 2 | Markdown | latypovvlad/ATS | c375915c2c59698f15374b87971e60c54dccaa38 | c2b70366fe59280a50c690d86fbb6a89efc007f4 |
refs/heads/master | <repo_name>alisalim17/shooter-game<file_sep>/src/pages/game/Bullet.js
import { GAME_HEIGHT, GAME_WIDTH } from "../constants";
class Bullet {
angle;
positionX;
positionY;
speed = 5;
dead = false;
constructor(angle, positionX, positionY) {
this.angle = angle;
this.positionX = positionX;
this.pos... | 62676c6b120877ff3f49c4d295bf48272c2c2ffe | [
"JavaScript"
] | 5 | JavaScript | alisalim17/shooter-game | 0be0c59453a34c789c1a2be96f080a43bbfc1849 | 6acf1dcea72e5a20d8612ce82f8f696c631e6a16 |
refs/heads/master | <repo_name>AllramEst83/StatusCodeResponseService<file_sep>/StatusCodeResponseService/Helpers/ResponseServiceConstants.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace StatusCodeResponseService.Helpers
{
public class ResponseServiceConstants
{
public const string Code = "C... | 81df761db231977c8ea90520ba22658ca5ac2501 | [
"C#"
] | 2 | C# | AllramEst83/StatusCodeResponseService | 47df36824d1f0b0881ade30fcff6545e9506968c | ec057698f1db981ab310df62bfc98fabd98c944a |
refs/heads/master | <file_sep><?php
echo 'hello world from elastic-beanstalk';
echo '<h3>It will deploy with pipeline</h3>';
| 645fec48896e1d81f885e652ff81cf3e7d282eb6 | [
"PHP"
] | 1 | PHP | AnowarCST/test-elastic-beanstalk | 922d430bca9b06c27728441914a446ad2f283aa2 | 6b15138d7b02cbb2022dafcf10555bf98df0c427 |
refs/heads/master | <repo_name>ibrhaim13/NARCOS<file_sep>/app/Models/Favorite.php
<?php
namespace App\Models;
use App\RecordActiviteable;
use Illuminate\Database\Eloquent\Model;
class Favorite extends Model
{
//
protected $guarded = [];
use RecordActiviteable;
public function favorite(){
return $this->morphTo... | 8fa2bef6eeaba4a34d32e4b87638585deb93e0ad | [
"PHP"
] | 7 | PHP | ibrhaim13/NARCOS | c78bcc3e114e4d6e152889dcfb297d6c8e282b92 | b867dab5fd17d10f0f2972a7900c6e27147d64a7 |
refs/heads/master | <repo_name>shun915a/ajax_app<file_sep>/app/javascript/checked.js
function check() {
const posts = document.querySelectorAll(".post");
// posts配列に.post selectorの要素を格納
posts.forEach(function (post) {
// posts配列の要素数分for文を実行
if (post.getAttribute("data-load") != null) {
return null;
}
post.setAt... | 39e5efcdc2a41defdb216669029f9d34b693c805 | [
"JavaScript"
] | 1 | JavaScript | shun915a/ajax_app | 9231aa489f00ab6906f0b53e58bfd8cacbe94a2a | a052d3a91d6df24d9cc10aa432b4381b9f3e732b |
refs/heads/master | <repo_name>dlrjones/ReqReceipt<file_sep>/OutputManager.cs
using System;
using System.Collections;
using System.Net.Mail;
using System.IO;
using KeyMaster;
using LogDefault;
namespace ReqReceipt
{
class OutputManager
{
#region ClassVariables
private ArrayList reqItems = new ArrayLis... | 673a299055f78b9809a66128daff9e4833d1cb8f | [
"Markdown",
"C#",
"Text"
] | 6 | C# | dlrjones/ReqReceipt | 3d2a477db50225560dbc94e469bdc91c019187cb | a5ef65b8d653e39f0f38d77f0c50010a6cb3927c |
refs/heads/master | <repo_name>xlizzard/Remote-Control<file_sep>/木马服务端 server/木马服务端/main.cpp
#include <winsock2.h>
#include<stdio.h>
#include<iostream>
#include<string>
#include <cstring>
#include <fstream>
using namespace std;
#pragma comment(lib,"ws2_32.lib")//链接这个库
//TCP服务器端
void RecvFile(SOCKET sClient, string SaveFileName);
int c... | 90945314ca70c7edf9a1beaad13bee9e0d2d198f | [
"Markdown",
"C++"
] | 3 | C++ | xlizzard/Remote-Control | c624bfce829a5bfec757e9eb673f4d7723ce3e0e | b7bf6c868816b98a1845f4ba902755f71292e0f5 |
refs/heads/master | <file_sep>const { Blockchain, Transaction } = require("./blockchain");
const EC = require("elliptic").ec;
const ec = new EC("secp256k1");
const myKey = ec.keyFromPrivate("0e7f07a52f695a09a6b167d74ab3f4598a32377e321e977d5031828ebab5bcee");
const myWalletAddress = myKey.getPublic("hex");
let ayaCoin = new Blockchain();... | 093fe3483c129a5780a630439397ef38b03a2dbd | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | usuajiayako/ayaCoin | 6c1de922bbde11e0ee7f278281cba97abc52f022 | 928ceab8d57d6ca5458226c5d5e5b3969fc6effe |
refs/heads/master | <file_sep>from django.views import generic
from django.utils import timezone
from django.http import HttpResponse, HttpResponseRedirect
from django.core.urlresolvers import reverse
from django.shortcuts import render, get_object_or_404, redirect
from django.template import RequestContext, loader
from projects.models ... | fe00aacc9cf7b6eaf0f0617c4ebde475bcd1a4bf | [
"Markdown",
"Python"
] | 7 | Python | nelly-hateva/tardis | b44917493359b80036df6cbfc009d862448f51ed | 5064611fb9f527fde1f03ccf9dfd16375fa08c13 |
refs/heads/master | <repo_name>Honest-Team/vue3-vite-admin<file_sep>/src/store/index.js
// 已通过app.config.globalProperties挂载,让vue实例可以访问
// 在模板中 <div>{{ $store.state.user.name }}</div> 快速使用
export default {
state: {
user: '',
},
getter: {},
}
<file_sep>/src/views/dashboard/components/cards.js
export { default as WeChat } from './W... | 73de3c6544818181dfb275fab5db41d7594d35a1 | [
"JavaScript",
"Markdown"
] | 15 | JavaScript | Honest-Team/vue3-vite-admin | 7194ff6424e8b4a041ba0c72830e4a6000c57eff | aa9f2963fb86dec58b75485182ff88f3838a5835 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Collections.Concurrent;
namespace AdventOfCode
{
class Day5
{
public static void Part1And2()
{
Console.WriteLine($"Part 1:");
RunDiagnosticTest(1, "day5.txt");
Console.WriteLine($"Part 2:... | 7740c0ebf011e94792615179c8718341b5937e53 | [
"C#"
] | 14 | C# | filipni/advent-of-code-2019 | 63ef9d7d13e999d6a2afe519308267b93d7352a9 | 9474f590f00aaf1ee05c7b6132dace88541714fb |
refs/heads/master | <file_sep>from django.urls import path, include
from django.conf.urls import url
from .views import index, login, signup
urlpatterns = [
path("", index, name="index"),
path("login", login, name='login'),
path("signup", signup, name="signup"),
]
<file_sep>from django.shortcuts import render
from django.http... | 9c24bb9550a8411f8d76d1ebc81a506e795461ca | [
"Python"
] | 2 | Python | vishnu123sai/django-login_page | 0046d5bfa97c673adf35a2eafa7c4941ccb73e0c | a9823904123b650dfee7c23bb096ab151647ea18 |
refs/heads/master | <repo_name>theonlynateindenver/GulpStarter-localhost-WPtheme-MAMP<file_sep>/README.md
# A quick start for GULP with WP child theme "storefront" development on localhost with MAMP
Once installed and active, this should make your workflow a lot faster:
- updating the styles.scss file: upon save, a new style.css file wil... | 365eb619911b99356a3542d8bdb356f1d8df2b69 | [
"Markdown",
"JavaScript"
] | 3 | Markdown | theonlynateindenver/GulpStarter-localhost-WPtheme-MAMP | fbaacecff0856321b770036b5f0b6d8c3e3e1e45 | ed12d26bec6145432c819da94368050dea467e5a |
refs/heads/master | <repo_name>ekalya/springsecurity<file_sep>/src/main/java/com/example/testsecuity/springsecurity/ServerSecurityConfiguration.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.
*/
packag... | f883de514c92782876164deecf7aacc5316f6f0b | [
"Java"
] | 1 | Java | ekalya/springsecurity | 13620f227b9ec22fc0644177d4b1559eaf6e5d8f | 1b686deacd612b90b442b7f4fe21d5581a5cdf36 |
refs/heads/master | <file_sep>const express = require('express');
const bodyParser = require('body-parser');
const { graphqlExpress, graphiqlExpress } = require('apollo-server-express');
const { makeExecutableSchema } = require('graphql-tools');
const fs = require('fs');
const {find} = require('lodash');
const Scheduler = require('./Sche... | e0a8e5231b897bc686f45a050c659ccd4db0ba96 | [
"JavaScript"
] | 2 | JavaScript | jcksncllwy/full-stack-interview | 641bde5571adf6f8969aa1455e95c0ab3a494fb1 | b4eef95bfa9d13b1b13edc44d57661cd549dd237 |
refs/heads/master | <repo_name>akhil451/MZSR<file_sep>/downscale.py
import cv2
import os
import numpy as np
scale=4.0
def modcrop(imgs, modulo):
sz=imgs.shape
sz=np.asarray(sz)
if len(sz)==2:
sz = sz //modulo
# out = imgs[0:int(sz[0]), 0:int(sz[1])]
out = cv2.resize(img,sz)
elif len(sz)==3:
... | d76ba732317a90a37a9f3094de3101f7ae64ad3a | [
"Python"
] | 2 | Python | akhil451/MZSR | 5452fe35294f5d84466067e5ca706cba41df8e73 | 77dda20353547804c7c62b87fb1dd15d87b49808 |
refs/heads/master | <file_sep>#!/bin/bash
set -e
# openjfx is available in the testing repo
echo 'deb http://mirrordirector.raspbian.org/raspbian/ stretch main contrib non-free rpi' | sudo tee -a /etc/apt/sources.list >/dev/null
sudo apt-get update
sudo apt-get install openjdk-8-jdk openjfx maven tor -y
mkdir -p ~/src
# build bitcoinj
... | 11cc3cf9b6b6315dfef233a1201edc82d065e7c4 | [
"Shell"
] | 1 | Shell | SjonHortensius/BitSquareOnRpi | 29f901e037c940063f9b8c6877225668763d30a4 | 5fac5644267ac17dbbc80aba13a449ffd293dfdb |
refs/heads/master | <repo_name>vladimirdj/yii2-cms<file_sep>/frontend/views/layouts/main-sidebar.php
<?php
use common\models\PostType;
use yii\helpers\ArrayHelper;
/* @var $this yii\web\View */
?>
<!-- Left side column. contains the logo and sidebar -->
<aside class="main-sidebar">
<!-- sidebar: style can be found in sidebar.less --... | cd703e070ef0ab26f2ed41536fdbc199e1fd8723 | [
"Markdown",
"PHP"
] | 32 | PHP | vladimirdj/yii2-cms | 1a53ac02deec3f86d33af4f416d96e76c7e5d31c | 7bec846e241cffe19d50232e8e674d927a7aeb5b |
refs/heads/master | <file_sep># HappyNewYear
[](https://www.codacy.com/app/fedevitale99/happynewyear?utm_source=github.com&utm_medium=referral&utm_content=Rawnly/happynewyear&utm_campaign=badger)
**HappyNewYear** is a *nodeJs* client module who p... | 7816dd390932b0e65c8f5a3dc35f50437193cd57 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | rawnly/happynewyear | e831286aa21013423760b4b99804811e979cf5d5 | 420911bcc57732e8b24bcf3bf931f4a703763af0 |
refs/heads/master | <file_sep>#include <stdio.h>
int main()
{
int qian = 0;
printf("jingruqianbaoguanlixitong\n");
while (1)
{
printf("1--cunqian\n");
printf("2--quqian\n");
printf("3--yue\n");
printf("4--tuichu\n");
int code = 0;
printf("qingshuruxinagxingdegongnengbianhao... | 3ea49b908545729c353271243f00d2e4166b6cb1 | [
"C"
] | 1 | C | litte21boy/c1 | d5a5ea184890b7658c1d2b62bd677aba824e72a8 | 03578907f6552506aed69ffead9f2d08873c78e2 |
refs/heads/master | <file_sep>import org.apache.commons.csv.CSVFormat;
import org.apache.commons.csv.CSVParser;
import org.apache.commons.csv.CSVRecord;
import java.io.IOException;
import java.io.Reader;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.... | 9351a3645009f4a5510e01da1fd83b0c4e93e126 | [
"Java"
] | 1 | Java | KilJoy59/CSVparseBlock9 | 9dc831f7af4fb099082e6d18c1c533b4b9eb36d7 | a25da3150f5a0f87c9b33ff527c858770844aa76 |
refs/heads/main | <repo_name>jadenbh13/trashDrone<file_sep>/requirements.txt
cycler
kiwisolver
matplotlib
numpy
Pillow
pyparsing
python-dateutil
six
torch
tqdm
<file_sep>/bags.py
import torch
import cv2
import numpy as np
from torch.autograd import Variable
from darknet import Darknet
from util import process_result, load_images, resize... | 21ff8259fd281d781404f9d13501d15cc02707c0 | [
"JavaScript",
"Python",
"Text"
] | 6 | Text | jadenbh13/trashDrone | dff17f07cc8fd0e4f94bb5708b9cfeed2904041e | 72062fbbf69642f41e58cefa681fc85be752575a |
refs/heads/master | <file_sep><?php
use HyperDown\Parser;
use Intervention\Image\Facades\Image;
use Illuminate\Support\Facades\Mail;
use Illuminate\Support\Facades\Auth;
if(!funcition_exits('ajax_return')){
/**
* ajax返回数据
*
* @param string $data 需要返回的数据
* @param int $status_code
* @return \Illuminate\Http\JsonResponse
*/... | b245ccdca6b1dd7a3455cc57dd908941ed32b0d0 | [
"PHP"
] | 1 | PHP | webofrxy/laravel-admin | 3acd258b24980d59eaea26da5ce65d04cd84e167 | 66cb9afdff59f525ac7f8fd6b3f9b1826e0e9972 |
refs/heads/master | <repo_name>nividata-consultancy/qrcode-scanner<file_sep>/README.md
# qrcode-scanner
This is an app that scans one-dimensional code (Barcode) and two-dimensional code (QR code)
<file_sep>/qr_code_scanner/ios/Runner/AppDelegate.swift
import UIKit
import Flutter
@UIApplicationMain
@objc class AppDelegate: FlutterAppDeleg... | 6ee0f822d32db7fdc502371775bea1da50e9559c | [
"Markdown",
"Swift"
] | 2 | Markdown | nividata-consultancy/qrcode-scanner | eb602001a43dc608c69b2a70130174b4956d17c3 | 17899bb61ba247e5dd9adf98f264290d4f7c65dd |
refs/heads/master | <file_sep># This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
#
# Examples:
#
# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
# Mayor.create(name... | 99b9984b6e1fc2978a2c2f8728faccbcd56b6a62 | [
"Ruby"
] | 1 | Ruby | jimmybowens/WEB | aa4c269544376599b8506473e86b1e188401a7e2 | 4a5701fd08e8aca344119c7a17e3d260beacc7f5 |
refs/heads/master | <repo_name>aagusti/osipkd-pdpt<file_sep>/osipkd/views/anggaran/kegiatan_item.py
import os
import uuid
from osipkd.tools import row2dict, xls_reader
from datetime import datetime
from sqlalchemy import not_, func, or_, cast, BigInteger
from pyramid.view import (view_config,)
from pyramid.httpexceptions import ( HTTPFoun... | 4fc6fdad6c0f52ff0f15186e411b106b7500fd4d | [
"Markdown",
"Python"
] | 9 | Python | aagusti/osipkd-pdpt | 130abc77292f2f3023da6f8b785fb7ccf337a374 | 03e01e327d7df26da4f4dcdd82a35ba8cfa1ce40 |
refs/heads/master | <file_sep>#ifndef FUNCTIONTIMER_H
#define FUNCTIONTIMER_H
#include <iostream>
#include <limits>
#include <sys/time.h>
class FunctionStats {
private:
int64_t longest_time = 0; // the longest function running time
int64_t shortest_time = std::numeric_limits<int>::max(); // the shortest function running tim... | 9eecacddd81dcd1b285f336605727071d6b523e0 | [
"Makefile",
"C++"
] | 3 | C++ | jimmyyzr/FunctionTimer | 7c161f22cc25772627e98f0bb317e443795620e9 | 3ec95407fef189f458d0a903d9300c5aa2285e26 |
refs/heads/master | <file_sep>## Put comments here that give an overall description of what your
## functions do
#
## These functions are used to invert a matrix in an efficient way.
## Inverting matrices can be time consuming for computers. This function
## is more efficient because it first checks to see if the inversion has
## already ... | d0cc0ee8616dbd0080711c397254989a5ee7ff82 | [
"R"
] | 1 | R | jgbond/ProgrammingAssignment2 | f7067f3e7a6fb3bea98d58c6fb7801ac2608a4c2 | 7fa61673d0dea47eb4407f668d906492954469f4 |
refs/heads/master | <file_sep>const submissions = [
{name: "Jane", score: 95, date: "2020-01-24", passed: true},
{name: "Joe", score: 77, date: "2018-05-14", passed: true},
{name: "Jack", score: 59, date: "2019-07-05", passed: false},
{name: "Jill", score: 88, date: "2020-04-22", passed: true}
];
function addSubmis... | b06ec0bad2bb1c1c8e57a9c70f4925150e93c254 | [
"JavaScript"
] | 1 | JavaScript | GerardD1/Lab-3-Javascript | d590aa17a19a86f618c1985af5c93ad498ed392a | 17a72be795b22e5298a0fc12e0592709a97b72ac |
refs/heads/master | <repo_name>Germonda/backup<file_sep>/Documents/RSem/code/tools.py
import numpy as np
import scipy
import struct
import sys
def saveWeights(J, fname):
wdata = np.ndarray((J.shape[0] * J.shape[1]))
idx=0
for cc in range(J.shape[1]):
for rr in range(J.shape[0]):
wdata[idx] = J[rr, cc]
... | ab4af6a3163cc2c8550adbe7fe4cb217345c6b43 | [
"Python"
] | 8 | Python | Germonda/backup | 4a7877fd3e17241b2a9d381ba3f4fdb9780ce75e | 953a1490027b129d2f162535318bd2c1144644a9 |
refs/heads/master | <repo_name>CypHry/MLP<file_sep>/makefile
CXXFLAGS=-g -Iinc -Wall -pedantic -std=c++14
__start__: MLP
./MLP
MLP: obj obj/main.o obj/layer.o obj/mlp.o
g++ obj/main.o obj/layer.o obj/mlp.o -o MLP
obj:
mkdir obj/
obj/main.o: src/main.cpp inc/mlp.h
g++ -c ${CXXFLAGS} -o obj/main.o src/main.cpp
obj/layer.o: src/laye... | cb98ff801628ed63e883942f39d67d182e44cd91 | [
"Markdown",
"Makefile",
"C++"
] | 9 | Makefile | CypHry/MLP | f348e415fc6e277eb860a63245ca8f4033ebe842 | 32d8edcde6c1e50155485227654f977cee614ba6 |
refs/heads/master | <file_sep>from math import *
from random import *
class Archer:
"""Records an archer's minimum, maximum, and average score for each end."""
def __init__(self, qual_score):
self.max_end = 30
self.average_end = round((qual_score / 24),2)
self.qual_score = qual_score
self.min_end =... | 71fa11da8f14d6549a500b7291e8dc598d2a9a62 | [
"Markdown",
"Python"
] | 2 | Python | AlexLB97/Match_Simulation | e340b02ac726120bce25562e85d057ff6d83f3fc | bf25bb6421c28ad8b4a8d67ff6e81aafe26b5061 |
refs/heads/master | <repo_name>wangalangg/Tetris<file_sep>/src/com/wangalangg/tetris/CycleManager.java
package com.wangalangg.tetris;
public class CycleManager {
private long time;
private double timePassed;
private boolean isCycleFinished;
public CycleManager() {
time = System.nanoTime();
isCycleFinished = false;
}
public v... | 2c91f6d53c8c0b3c9ab18c88abd7ed1d86a0d451 | [
"Markdown",
"Java"
] | 6 | Java | wangalangg/Tetris | a467f3778c83f356953a8da1fbac8e3ea72f87b1 | cd6fe93ee56e4be25e9dd1955b0f0ce404cc0ae1 |
refs/heads/master | <repo_name>mvnaidu8/jenkins-test<file_sep>/src/master/Hello.java
package master;
public class Hello {
public static void main(String[] args) {
// TODO Auto-generated method stub
System.out.println("Hello From Jenkins");
System.out.println("If you are seeing this means it's working");
System.out.println("Auto... | 83b53a2525ca6cfef403e5d4a92a740b20347a88 | [
"Markdown",
"Java"
] | 2 | Java | mvnaidu8/jenkins-test | e857522a397a371551185f418873db9a28ca7c88 | 5a7764496f72110ca6e4096b004a1eb344aa1e31 |
refs/heads/master | <file_sep># Time
from time import time
big_start = time()
# Selenium imports
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
# Import Getpass
from getpass import getpass
# Get facebook username and password from the user
usr = raw_input("Type your Facebook email, then press enter:")
... | e20c2ca7d7491517f1bae37b7e04e2bd8fe3efce | [
"Python"
] | 1 | Python | RestoreDemocracy/selenium-friends-scraper | f9403b72cc3ad76279869aac6852c6cdafddab5c | 4557d274ee6627504ed23d047ca4a631ace2dd2a |
refs/heads/master | <file_sep>package com.catlerina.android.newsviewer;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import android.support.v4.content.ContextCompat;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import com.catleri... | b6f45a7a4f868021e9276e8794bb7331a8f2e6d3 | [
"Java"
] | 3 | Java | KatarinaLenskaya/NewsViewer | 2a01f5e6abced86479c649d1c1d74a1b55ab8af0 | 80ef819be7944e19ed9aefafd93968ee7c7b4e3d |
refs/heads/master | <repo_name>konrad-komisarczyk/dziki_zachod<file_sep>/src/dzikizachod/WidokGracza.java
package dzikizachod;
import dzikizachod.gracz.KlasaPostaci;
import dzikizachod.gracz.PrzekroczenieLimituPunktowZycia;
public class WidokGracza {
private int zasieg;
private int maxPunktyZycia;
private int punktyZycia;
... | fd69ddaceae574d681c881025f272a653c5f46a7 | [
"Java"
] | 14 | Java | konrad-komisarczyk/dziki_zachod | 1dc019cca8b3158532519a7fd4dc446c06131506 | fddce1aaf09bbe87f91494b13c6f92dd6be94e00 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.