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>let go_to_top = document.querySelector('.go-to-top')
go_to_top.onclick = function () {
let win = document.defaultView
win.scroll({
top: 0,
left: 0,
behavior: 'smooth'
})
}
<file_sep># TheConcise
A concise typecho theme
| 8e7873a3df7709709bbbf287bf75b598c8054e8d | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | LittleControl/TheConcise | 39555af1608a54b0da2afd3afc76bb4fab2dd1e1 | 93438f403a50b49430d058eef75bb68bcdc0c1fd |
refs/heads/master | <file_sep>package com.example.edittexttotextview
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Button
import android.widget.EditText
import android.widget.TextView
class MainActivity : AppCompatActivity() {
lateinit var editText: EditText
lateinit var button: ... | e009561016a788cc69c3302411ddb2d7e1ba1501 | [
"Kotlin",
"Gradle"
] | 2 | Kotlin | natvar97/EdittextToTExtView | f3cfa6c56573662ca4c73e9d6b3825506fb7dc0a | eba0a4280a1cf92ff2440a38865cfdcf8561c47d |
refs/heads/master | <repo_name>hasanhoztunc/QuizMakerWithMDI<file_sep>/QuizMakerWithMDI/src/View/KlasikSoruEkle.java
package View;
import Presenter.Helper;
import Presenter.KlasikPresenter;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import javax.swing.JOptionP... | 240628c1d1bf8cb5241491da518b55087ba1410a | [
"Java"
] | 6 | Java | hasanhoztunc/QuizMakerWithMDI | 60d4823d66147df0233171a1dc3a1ae846be7de6 | ab86b37a89b7fa4e3886f0f0716b0909fa02dc1e |
refs/heads/master | <file_sep>#! /usr/bin/python
#
# Passgen
#
# Simple password generator written in Python
#
# Copyright 2014, <NAME>
#
# THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY.
# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DAMAGES WHATSOEVER OR
# PERFORMANCE OF THIS SOFTWARE.
#
import sys
import pythonco... | 16f76a80cfdcd9e29cdf90305cd5465e1fd10300 | [
"Markdown",
"Python"
] | 2 | Python | mihorka/keylog | aa3799d82f01f29c1deb152865e000a17dd835a4 | ac97531be3a2d95fa283674a53d639576c1c6f3d |
refs/heads/main | <file_sep>package externals
import (
"crypto/hmac"
"crypto/sha256"
"encoding/hex"
"errors"
"fmt"
"io"
"net/http"
"net/url"
"strings"
"testing"
"time"
"github.com/slack-go/slack"
"github.com/stretchr/testify/assert"
)
type errReader string
func (errReader) Read(p []byte) (n int, err error) {
return 0, ... | 945cf9cc4de4dd5b6a811b190c80765db5b59558 | [
"Markdown",
"Go Module",
"Go"
] | 14 | Go | RomanSerikov/dialogflow-slack-sdk | 9f1a3b13af1d11c7c8824d4ef2b4757342ea8e5f | b89691a499bd976390af06e41ecfdce4eeacf3f1 |
refs/heads/master | <repo_name>lovelyscalabledrawings/mootools-speedups<file_sep>/Source/Core/Class.Extras.Speedups.js
/*
---
name: Class.Extras
description: Contains Utility Classes that can be implemented into your own Classes to ease the execution of many common tasks.
license: MIT-style license.
requires: Class
extends: Core/Clas... | d6facae378f8ea1d97fd662308bdcb265782ca0c | [
"JavaScript"
] | 2 | JavaScript | lovelyscalabledrawings/mootools-speedups | 03a2706941b278ead3a1252208bee6dbc261cb4e | fde49a1762f9580d9d56e5690f02774a73f7aa17 |
refs/heads/master | <file_sep>package at.junction.mailer.database;
import com.avaje.ebean.validation.NotEmpty;
import com.avaje.ebean.validation.NotNull;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity()
@Table(name = "mailer")
public class Mail {
public ... | 22fc848689508a8ef44e37b0aff393f1c0951ab6 | [
"Java"
] | 1 | Java | JunctionAt/Mailer | 209d29fda4644d2bb62dc0858939c13e88ae1efc | 4b17b0727f58f75e8920660ab8edf92b3a1c5bcb |
refs/heads/master | <repo_name>wkdtndgns/webSocket<file_sep>/src/main/java/websocket/demo/WebSocketConfig.java
package websocket.demo;
import org.springframework.context.annotation.Configuration;
import org.springframework.messaging.simp.config.MessageBrokerRegistry;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.... | c1b998dc89d5de0e205fdbbeabb95b350dfe8aae | [
"Java"
] | 1 | Java | wkdtndgns/webSocket | 49ffc03fe734d576ba7abde3c13384ef5091f667 | 3deaed0c7ecbfbfd839b2bb1a4babf2399e287fa |
refs/heads/master | <repo_name>andrewtran634/mhacks6things<file_sep>/pikyak/routes/index.js
var mongoose = require('mongoose');
var Pic = mongoose.model('Pic');
var Comment = mongoose.model('Comment');
var express = require('express');
var router = express.Router();
var fs = require('fs');
router.get('/pics', function(req, res, next) ... | d886292be715f7d3d197932fb15edd8842341ba4 | [
"JavaScript"
] | 2 | JavaScript | andrewtran634/mhacks6things | 0496468d24861bc764abe7b9bf4f119ce7c5a6d2 | 812aee75d74845d642e2cdd90670f96aa4895365 |
refs/heads/master | <file_sep>import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
from scipy.optimize import minimize
df = pd.read_csv("ex2data2.csv", names=['microship1','microship2','approved'])
nc = len(df.columns)
m =len(df.index)
X1 = df.iloc[:,nc-3].values
X2 = df.iloc[:,nc-2].values
y = df.iloc[:,nc-1].value... | 6b7eb9c5b30318f69eb45861a3676dbffea6bc46 | [
"Markdown",
"Python"
] | 10 | Python | anibalsilva1/MachineLearning | 32e588b1935d3466709765089fce72af2ca4015c | 87404979afe28e60bf727a8340daf99a8e0a6819 |
refs/heads/main | <repo_name>liuwen766/bookstore_go<file_sep>/com.liuwen/src/utils/tls.go
package utils
import (
rand "crypto/rand"
"crypto/rsa"
"crypto/x509"
"crypto/x509/pkix"
"encoding/pem"
"math/big"
"net"
"os"
"time"
)
//生成 SSL证书、RSA 私钥
func GetTLS(certPath, keyPath string) {
//生成序列号
max := new(big.Int).Lsh(big.NewInt(... | 8a1606606341b8dc459ed74318e5302a468856ab | [
"Markdown",
"Go"
] | 10 | Go | liuwen766/bookstore_go | 0475ea2bff10188d5e276265d98afd78f3d34054 | ca1ca6170b42d6db48c5bd075f8ee0618296cc07 |
refs/heads/master | <repo_name>tydhan11/girl<file_sep>/src/main/java/com/sunhaibo/controller/HelloController.java
package com.sunhaibo.controller;
import com.sunhaibo.properties.GirlProperties;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping... | d13ece3322bc6d8800e65f8fc1679cc1e49705a9 | [
"Java"
] | 3 | Java | tydhan11/girl | 0ac19a7e334969ec232bc74930354314fa1c5f60 | e9e90c3e8640ed94fe5c50b81503d7c124532019 |
refs/heads/master | <repo_name>brookescarlett/took-care<file_sep>/src/js/snow-init.js
import { options } from "./parts/_options";
if(typeof Snow !== 'undefined') {
Snow.setOptions(options);
Snow.init();
}
| 470dc17cb6a08519eb6a4d39f03e1ad70a505327 | [
"JavaScript"
] | 1 | JavaScript | brookescarlett/took-care | 4f1a29f69e64b693719c5ebf6feead831097c4ba | 52a3969d57c832a339b22ff5a9d7f5bc77bb1c5a |
refs/heads/master | <file_sep>#This one is like your scripts with argv
def print_two(*args):
arg1, arg2 = args
print "arg1: %r, arg2: %r" % (arg1, arg2)
# Ok, that *args is actually pointless, we can just do this
def print_two_again(arg1, arg2):
print "arg1: %r, arg2: %r" % (arg1, arg2)
# This just takes one argument
def pri... | 37d00cf67686fcd963f9d523b29dc6173a96efca | [
"Python"
] | 9 | Python | jsevo/pythonTutorial | 77c0e00daf3ba53d64e01ff17d94c5c10474c3fa | b90e901edd5768a8b059b7d51c416de3f8c7d3d7 |
refs/heads/master | <repo_name>jacob-gomes/evbox-code-restapp<file_sep>/src/test/java/com/codeassignment/evbox/restapp/controller/EVBoxControllerTest.java
package com.codeassignment.evbox.restapp.controller;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotEquals;
import static org.junit.Assert.assertN... | 0b638676d449bc171f27c312c64a050b81ce7339 | [
"Java"
] | 9 | Java | jacob-gomes/evbox-code-restapp | 0fa1aa3eab0991b0fbca21bfdcd0280245e24c57 | 8b747a7d325ee077c1367c0d9dd8c1c89aa09106 |
refs/heads/master | <repo_name>hoowl/lab4.3-SQLiteExample<file_sep>/app/src/main/java/com/example/user/sqliteexample/Main2Activity.java
package com.example.user.sqliteexample;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.AdapterVi... | 26ec039583e908946fdc058272e5565f1bee2704 | [
"Java"
] | 1 | Java | hoowl/lab4.3-SQLiteExample | e1dbb95b72f41f929a2bd3698cf88dccae15e398 | f3c12e15bae6f32088d3e05923153004c4645e2b |
refs/heads/master | <repo_name>andriy85if/InstantCMS-update-2.7.0-uk<file_sep>/install.php
<?php
/**
* 2.6.1 => 2.7.0
*/
function install_package(){
$core = cmsCore::getInstance();
$content_model = cmsCore::getModel('content');
if(!isFieldExists('content_datasets', 'cats_view')){
$core->db->query("ALTER TABLE `{#}cont... | 7d468335e8a0e0843d600a3015fe61670e44e91c | [
"PHP"
] | 1 | PHP | andriy85if/InstantCMS-update-2.7.0-uk | 839002467aaa5695f204c3338ad553d8ca9c05f6 | ae366841d4eb3c784f433759648a4818c8eb8392 |
refs/heads/master | <repo_name>rjloura/includeme<file_sep>/src/lib.rs
pub mod included {
pub fn hello_earth() {
println!("Hello Earth");
}
}
| 85e8cd18f1351fd9789106708e41de77f2615e1b | [
"Rust"
] | 1 | Rust | rjloura/includeme | 96c40701ffad847b28b6b17696af221e8d4e4b55 | 5f7ef4326f06dddf55ea60d333c86bd5152999b5 |
refs/heads/master | <repo_name>hwalborn/mom-organ<file_sep>/app/models/account.rb
class Account < ApplicationRecord
validates :username, inclusion: {in: ['rchildress', 'holt'], message: "Only my mom can login"}
has_secure_password
end
<file_sep>/config/initializers/omniauth.rb
require 'rspotify/oauth'
Rails.application.config.middlew... | 65733bc8004dc6662f610b919162347484f0e940 | [
"Markdown",
"Ruby"
] | 8 | Ruby | hwalborn/mom-organ | f0460ef47d8364d460625bad90c943dc1a9d6969 | a00c7c145c54cf65d453ef0feb105cb69ebbaeb1 |
refs/heads/main | <repo_name>notdarrengarcia/updated_teamgenerator<file_sep>/app.js
// const Manager = require("./lib/Manager");
// const Engineer = require("./lib/Engineer");
// const Intern = require("./lib/Intern");
// const inquirer = require("inquirer");
// const path = require("path");
// const fs = require("fs");
// con... | 9456c847c087709effb60c4dae97a4a9d1a396c0 | [
"JavaScript"
] | 1 | JavaScript | notdarrengarcia/updated_teamgenerator | c4cff1b3af1195757e67aedc90972dd3490c7b50 | 5e2c7c17f22fd9b720270f6c1e503743c0833d14 |
refs/heads/master | <repo_name>fzy3441/blockchain<file_sep>/blockchain.go
package blockchain
import ()
| 7a863fa06b0ec1de91ff942f220eacf3a3ddfe35 | [
"Go"
] | 1 | Go | fzy3441/blockchain | 9beadcc73dea4961cd9adfed1d6e4bde8b8e3347 | ccebe1aae13e3192feeb052c70ed5ee04cf15358 |
refs/heads/master | <file_sep>$(document).ready(function(){
if("${error}"=="error") {
$(location).attr("href", "/main/main.do?sort=all");
}
});
$(window).load(function(){
if("${comment}"=="true") {
$("#content_comment_write").focus();
var top = $("#content_comment_area").offset().top;
$('html, body').animate({ scrollTop : top }... | 6149af891ce72828c8b35e0db4bf7217091bb73f | [
"JavaScript",
"Java",
"SQL",
"INI"
] | 18 | JavaScript | rairen/spring_reviewer | c1dc04d478f820085e3aa89ca2e02e619a4f38f9 | 405922edff3eec9143a22ad08c94adf2f65b5812 |
refs/heads/master | <file_sep>const path = require("path");
const program = require("commander");
const
{
printErr,
tr
} = require("./print.js");
program
.version("0.1.0")
.parse(process.argv);
let LayaProjectCompiler = require("./compile_project.js").LayaProjectCompiler;
new LayaProjectCompiler(path.resolve());
| f89ab32b5bb80a070f95f44234caa4c90ed15dd8 | [
"JavaScript"
] | 1 | JavaScript | liukaijv/layacmd | c5352d142418f55e11c3535cc4a8c05e22f1f135 | aa15919380d977928c1c9a9a0f956f54ec8d91d7 |
refs/heads/master | <repo_name>gabiberin/npm-package-dependencies<file_sep>/src/app/index.ts
import * as path from 'path';
import * as express from 'express';
import * as cors from 'cors';
import * as morgan from 'morgan'
import { getPackage, getScopedPackage } from './endpoints/package';
/**
* Bootstrap the application framework
*/
ex... | 40624d31433efac61e4fe83856734b0f150cf751 | [
"Markdown",
"TypeScript",
"JavaScript"
] | 13 | TypeScript | gabiberin/npm-package-dependencies | 17dcdbedad81454f4c359a087c1d39422470fcf2 | b3eec6beb4a388acf7fb135f72a3a5b03c71f299 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mastermind
{
/// <summary>
/// Dynamically linked list data structure.
/// </summary>
class LinkedList
{
/// <summary>
/// Item at the front of th... | d348cda9b92240f8a10ed9eff97f67b0be951961 | [
"Markdown",
"C#"
] | 2 | C# | JamesHuntCode/Mastermind | 16c150fdf68f60ad6a5f42c9f238e70ce40cfb83 | a0a56b6e54c2024e8b87f4c5cb8afe2c388a2225 |
refs/heads/master | <repo_name>GustavoRoss/mini-projeto-kotlin<file_sep>/src/main/kotlin/ui/PostDetailForm.java
package ui;
import business.PostBusiness;
import entitiy.PostEntity;
import javax.swing.*;
public class PostDetailForm extends JFrame{
private JPanel rootPanel;
private JLabel lblTitle;
private JLabel lblDescripti... | 667e8a0d73f49ff90c46a25aba72af4642ebfd63 | [
"Java",
"Kotlin"
] | 5 | Java | GustavoRoss/mini-projeto-kotlin | 47c505cdc35d90e54448e24a4726368be68eb608 | 4c24e58b5f132e2821e53b32789e8e37270dc5d9 |
refs/heads/master | <file_sep>package controller;
import data.entity.User;
import service.LoginService;
import service.model.ResponseObject;
import javax.servlet.RequestDispatcher;
import java.io.IOException;
public class LoginServlet extends javax.servlet.http.HttpServlet {
private final String ResponseMessageKey = "ResponseMessa... | e053e48e8324941912f9dfb87d7aaed6821bb09b | [
"Markdown",
"Java"
] | 3 | Java | serenians/java-login-sample | 5dd489e830fa2f0b3307a031cf34613a5524d4aa | 7cd8fbb7d850fafe82a165fcf40795f04e9dc6f0 |
refs/heads/master | <file_sep>//
// Created by quocanh on 23/05/2020.
//
#include "Statistic.h"
Classes::Classes() {
MaLop = "";
SoLuong = 0;
XuatSac = Gioi = TrungBinh = Kha = Yeu = 0;
}
Classes::Classes(string MaLop, int SoLuong) {
this->MaLop = MaLop;
this->SoLuong = SoLuong;
XuatSac = Gioi = TrungBinh = Kha =... | ea4609ffd9c53f881a28d17e99800a5f221c0137 | [
"CMake",
"C++"
] | 11 | C++ | quocanh199/Chapter | 7bf2009c957071b19c6e8a3894e68a0ca4b6b469 | ec2231a550376e154275c5c955e4fcc68040d04b |
refs/heads/main | <file_sep>#%%
import hashlib
def cipher_sha256(file_name=r"C:\Users\HARDPC\Desktop\Studia_6\MetodyITechnikiKryptografii\funkcjeSkrotu\plik.iso"):
with open(file_name,"rb") as f:
bytes = f.read()
readable_hash = hashlib.sha256(bytes).hexdigest()
print(readable_hash)
#return rea... | 1b4d96fbb55b366197fc76bf75b10fe38f533fa0 | [
"Python"
] | 12 | Python | patgur/Metody-i-techniki-kryptografii | 22fefc6dce654fb1f8d0461f400eb1e8a4f1128d | 3c044cc5de50727207c5d7fb76b87bcca6247b3c |
refs/heads/master | <file_sep>
#--------decimal ip to binary
def ip_to_bin(s):
list = s.split('.')
x=''
for i in list:
x = x + '{:08b}'.format(int(i))
return (x)
#-----------string to list
def stringToList(s):
l = []
if ( s =='*'):
return(l)
else:
for i in s:
l.append(int(i)... | 9de4abf8f3f98f10a06acfa9864c21b9619ebb86 | [
"Python"
] | 9 | Python | elmustapha-elgarni/lookup-algorithms | e49b691a05c00f6e683f82d508be5c3b7f19e9d5 | 7b2c208318f68446c666fd720da40a1f4c34d213 |
refs/heads/master | <repo_name>andreadodo/DVDLibraryDB<file_sep>/src/view/homepageview.java
package view;
import model.other.UserDatabase;
import model.other.UserItem;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;... | a688ae79a8a7b0cce4b9d5bbabd919f2bc1c3e11 | [
"Java"
] | 2 | Java | andreadodo/DVDLibraryDB | 53ea5c15188f49b51b00e588abcba38c362802af | 9e9c6f9bff48190c5bc9e625dc6303557c400022 |
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 com.banco.service;
import com.banco.model.Movements;
import java.util.Date;
/**
*
* @author fedec
*... | 399f7f6c68232a1bf43d7da3473b7c0f46cd2ca5 | [
"Java"
] | 5 | Java | fedecalarco/TestBank | d25a9114833d3f765c54379b588a2154a19bc029 | 68db4c53521c526b9b824985e47043880bb6f71c |
refs/heads/master | <repo_name>DreamcoderSam/Cricket-Crown<file_sep>/app/src/main/java/com/codersam/cricketcrown/SouthafricaActivity.java
package com.codersam.cricketcrown;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.ListView;
import java.util.ArrayList;
public class SouthafricaActiv... | 2ffb3fae1317d310dc1320f2aa199a2b301ff455 | [
"Java"
] | 6 | Java | DreamcoderSam/Cricket-Crown | b8287c52c34e8774b722fe042daed4aa7d3e5a05 | 67f574c6aac7adf69a4a386e8636cee74060e49d |
refs/heads/main | <repo_name>Anasg4/MaskDetector<file_sep>/MaskDetector/camera.py
import cv2, numpy as np, ctypes
face = cv2.CascadeClassifier("haarcascade_frontalface_default.xml")
mask = cv2.CascadeClassifier("cascade_mask.xml")
data = cv2.VideoCapture(0)
while True:
success, img = data.read()
grey = cv2.cvtColor(img... | f8d0ae86e4b4b67f5a705a59f8af264cb4c7c359 | [
"Markdown",
"Python"
] | 2 | Python | Anasg4/MaskDetector | 883f05143eb15a93d14111e1089fb34bbfd15a7a | 528a476ed0af719a57cca2bef5e6ef74813e5db7 |
refs/heads/master | <repo_name>conorthomas603/GradeEagle<file_sep>/HeatMap.py
import csv
import pandas as pd
from operator import truediv
import plotly
def str_column(matrix, i):
return [str(row[i]) for row in matrix]
def int_column(matrix, i):
return [int(row[i]) for row in matrix]
def float_column(matrix, i):
return [f... | ba2d55f0c324e7cfa987f6abe8e818a4c62a730f | [
"Python"
] | 4 | Python | conorthomas603/GradeEagle | 3a73afda213dd33a574cfe4d2a55a9fc6da54818 | b1f4cf443d6f843ca9b89e6d5d85c903c485e438 |
refs/heads/main | <repo_name>atamust123/Backtracking<file_sep>/assignment4.py
import sys
def start(maze_input_file, current_health):
# if health input is not given make operations according to that
maze = []
for i in maze_input_file:
maze.append(list(i.split()[0])) # maze
sol = [[0 for j in range(len(m... | 02c9e57c9bc54483768f4974b0a40b1aa59b2239 | [
"Markdown",
"Python"
] | 2 | Python | atamust123/Backtracking | bfdd35095c4c0cd5415cb83a8984550639b897d9 | 2dc9efe925ace8243462dc79b4114307a7179654 |
refs/heads/master | <repo_name>tpo-aapereir/treehouse-project-08<file_sep>/README.md
# SQL Library Manager
An SQL library database of books that allows users to review, add, update, or delete entries
## To Use:
You must first run npm install and npm start, then go to http://localhost:3000 in a web browser (Chrome preferred)
This will red... | 2ec46881ae286bf576980cf26c0e9772f0d93c9b | [
"Markdown",
"JavaScript"
] | 3 | Markdown | tpo-aapereir/treehouse-project-08 | 4dbc4bf7b1e9f4ee560b17e10847780b8e562120 | e636b2c4f82576dd7985ca34b7c441b0d2a0888a |
refs/heads/master | <repo_name>glichfalls/bmi-app<file_sep>/app/src/main/java/com/glichfalls/bmiapp/activity/MainActivity.java
package com.glichfalls.bmiapp.activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.Button;
import com.glichfalls.bmiapp.R;
public class MainActivity extends MenuActivity {
... | 63c494733fc3c38265c6857c0e5aa506d642a970 | [
"Markdown",
"Java"
] | 7 | Java | glichfalls/bmi-app | e12f4840012bbac2dd72c204900a9466a40eb0d0 | 161389ecf4490dd57bbcb67a0d2416a0de564f40 |
refs/heads/master | <repo_name>AsylzhanUbaidullaev/JavaEE_lab4<file_sep>/src/main/java/com/iitu/JavaEE_4/cookiesLoginAndLogout/ProfileServlet.java
package com.iitu.JavaEE_4.cookiesLoginAndLogout;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.annotation.*;
import java.io.IOException;
import java.io.PrintWriter;... | 6c7d246802b61fe9351fb155c9fc8f6c9408f9cf | [
"Java"
] | 3 | Java | AsylzhanUbaidullaev/JavaEE_lab4 | 37814a6897dbd57a6ed789ad748aa5a09b806191 | 202853fec260c5d03df936e6ca2c83125f1e643c |
refs/heads/master | <repo_name>frederikheld/usm.io-installed-prod<file_sep>/usm/stories.js
'use strict'
module.exports = Stories
const Story = require('./story')
function Stories (jsonStories, context) {
if (jsonStories === undefined) {
throw new ReferenceError('No list of Stories given!')
}
if (!Array.isArray(json... | 82fda96ccaa65169aef8c3b06c687a36a885bc15 | [
"JavaScript",
"Markdown"
] | 13 | JavaScript | frederikheld/usm.io-installed-prod | 3aed0df1c3f35ec8c78ff05fbe899a1c9e396e8a | 10a6695a9c88886df9a60249f41868baa6d70801 |
refs/heads/master | <repo_name>lexxxbro/exec<file_sep>/app/controllers/LoginController.php
<?php
use Phalcon\Http\Response;
class LoginController extends ControllerBase
{
public function indexAction()
{
}
public function authorizeAction()
{
if ($this->request->isPost()) {
// Get the data from th... | 2127073dcce83ce14aeb560471b0eb2c648a5385 | [
"PHP"
] | 2 | PHP | lexxxbro/exec | d5ac503ff16062ebe0e3e81c1af3f5e4f54d0a14 | d8bda239fd6840c84dd93ee94edd6a54d5b2bde5 |
refs/heads/master | <repo_name>shreyasjn/bugmanager<file_sep>/projects/migrations/0019_issue_priority.py
# Generated by Django 3.0.6 on 2020-07-03 07:03
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('projects', '0018_project_is_deployed'),
]
operations = [
... | e5e007438fde87d3e5d07de2ebac8807f03012bd | [
"Markdown",
"Python",
"Text"
] | 41 | Python | shreyasjn/bugmanager | effb28582a248dc358112299a632f387bcd527b0 | c2b6d6a93e90ce345684b64252e4c3b038eb63f0 |
refs/heads/master | <repo_name>Stampfli/nodeschool<file_sep>/javaScripting.js
// Lesson One
console.log('hello');
// Lesson Two
var example = "some string";
console.log(example);
// Lesson Three
var someString = 'this is a string';
console.log(someString);
// Lesson Four
var example = 'example string';
console.log(example.length);
// ... | 8b817117d2ecb7758a584ae4fbe8750acafdea77 | [
"JavaScript"
] | 2 | JavaScript | Stampfli/nodeschool | 05181027b506111da806ba9425303b68141bb052 | 109e047b331863eeb34a585f7257e73b1dac49dd |
refs/heads/main | <repo_name>sw-contact/LS<file_sep>/small_problems/easy3/searching101.rb
def prompt(number)
puts "==> Enter the #{number} number:"
end
prompt("1st")
first_num = gets.chomp.to_i
prompt("2nd")
second_num = gets.chomp.to_i
prompt("3rd")
third_num = gets.chomp.to_i
prompt("4th")
fourth_num = gets.chomp.to_i
prompt("5th")... | 5800417f0f78e343f0cba0c87d3d1df078607de5 | [
"Ruby"
] | 49 | Ruby | sw-contact/LS | 95288488eea8b8479958364f11fffb702c81980c | e333d04b6bd824fd4c40accc181d26b1f1b2f4d1 |
refs/heads/master | <file_sep>#!/bin/bash
docker build -t asgreflexx/prometheus_cc .
docker push asgreflexx/prometheus_cc
<file_sep>#!/bin/bash
set -e
apt update
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
sudo docker pull prom/prometheus
sudo docker run -d -p 9090:9090 -v /srv/prometheus.yml:/etc/prometheus/... | 8c9100afe9b1e4d5e303986d4c1446280dbbf7d2 | [
"TOML",
"Python",
"Dockerfile",
"Shell"
] | 7 | Shell | asgreflexx/cloud-computing | 6dc21058f7ba20a41ef110604a59ccd4151b223f | 0c76deeb211b59da87a1db9e3b554e72a4c170f4 |
refs/heads/master | <repo_name>FaizanMostafa/React-Native-TodoApp<file_sep>/src/store/actions/authActions.js
import firebase from 'react-native-firebase';
import firestore from '@react-native-firebase/firestore';
const db = firestore();
function userSignup(email, pass) {
return dispatch => {
db.collection('users')
.wh... | b8804af74a7dda7b20cd4e6ffa533d450519621c | [
"JavaScript"
] | 1 | JavaScript | FaizanMostafa/React-Native-TodoApp | 28150108916acbfdf22fbdddc3c36c35beb4103e | 18d82fda4f645c9a03e8ee1b7c22a188ac2f68fb |
refs/heads/master | <repo_name>wxzlywan/AXF<file_sep>/axf/migrations/0007_auto_20181103_1434.py
# -*- coding: utf-8 -*-
# Generated by Django 1.11.4 on 2018-11-03 06:34
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('axf', '0006_auto... | b50cdf1a1ab710b0288a23603d0c8e3b8196810e | [
"JavaScript",
"Python"
] | 4 | Python | wxzlywan/AXF | c430777b696a5e47f0181df8f3aaf3a6ccb8b81e | c0679e96b9a7e0e3bfc0ec5cab62c37023ae76d2 |
refs/heads/master | <repo_name>faly42977/SDTP2v2<file_sep>/src/utils/kafka/KafkaNamenodeObject.java
package utils.kafka;
import java.io.Serializable;
import java.util.List;
public class KafkaNamenodeObject implements Serializable{
/**
*
*/
private static final long serialVersionUID = 1L;
public String name;
public ... | 81be059dcb15defc907656fe9246293595289ed9 | [
"Java"
] | 11 | Java | faly42977/SDTP2v2 | 385ae83377a4e96d82b92d7daec2f5cac1748d57 | 5877dd1f19a996f1498d2ba9d300267b7a273923 |
refs/heads/master | <repo_name>semsambath775/FindHoTel<file_sep>/DoAn/App/app/src/main/java/com/example/findhotel/model/TopHotelsData.java
package com.example.findhotel.model;
public class TopHotelsData {
String hotelName;
String hotelAddress;
String hotelPrice;
Integer imageUrl;
public TopHotelsData(String hotelName... | 7bf5b7c151ddc00d88e0079540e31d0fedb1aa90 | [
"Markdown",
"Java",
"Gradle"
] | 6 | Java | semsambath775/FindHoTel | 811898faeff2b52aa3f2f73bd346821580ada795 | f63f1ccb20ffb78ec783b597997ce8272f17a9de |
refs/heads/master | <repo_name>450897369/personDemo<file_sep>/app/src/main/java/person/ntl/personaldemo/activity/DesignActivity.java
package person.ntl.personaldemo.activity;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import person.ntl.personaldemo.R;
public class DesignActivity extends AppCompatActivit... | 1c431412c3fa60e4bec96058d4d45087dce1471e | [
"Java"
] | 2 | Java | 450897369/personDemo | 700eb6151b5a794afa6aa1de38608ed457c2b6f9 | 174787682891955f423881db7fee5875e2154442 |
refs/heads/master | <file_sep>package it.prova.web.servlet;
import java.io.IOException;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletRespo... | 6b38bb73101ef742caa41579c901b89962d00dc9 | [
"Java"
] | 1 | Java | matteodigge/primoTest | fff64db1c95e264960039340c48373c6045629cc | 298c6639f9812a910b4f83dd35e447a2be7c8573 |
refs/heads/master | <file_sep>const {Address} = require('./Address');
module.exports.Address = Address;
<file_sep>'use strict';
const mongoose = require('mongoose');
const {addressValidation} = require('../utlities');
var AddressSchema = new mongoose.Schema({
street: {type: String, required: true},
zip: {type: String, required: tr... | a43f5fa94d6cdbfc83ab9551fba7a6161585ccf9 | [
"JavaScript",
"Markdown"
] | 10 | JavaScript | AaronStackBarnes/NodeJS-Rest-Challenge | e70bdc16dad975f1480f053fd3cff5b1d65dd6a5 | 7d3bd75dfede5a6155ffe1ccfc7453972610c48b |
refs/heads/master | <repo_name>osvaldokalvaitir/react-native-desafio8-novo<file_sep>/src/components/Header/index.js
import React from 'react';
import { useSelector } from 'react-redux';
import Icon from 'react-native-vector-icons/MaterialIcons';
import {
Wrapper,
Container,
Logo,
LogoImage,
BasketContainer,
ItemCount,
} from... | f987986cb7b231f3d57d38e2726b9a986b1278d2 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | osvaldokalvaitir/react-native-desafio8-novo | 5ddc387c05d69fe3c54317978d1cf43a6cb1d12f | d7f820be63e07829b7648fead6aa47d19d4255ac |
refs/heads/master | <repo_name>cavefish/IotaSeedGenerator<file_sep>/Python/IotaSeedGenerator.py
//write de Python code here :)
<file_sep>/README.md
# IotaSeedGenerator
A Simple program using rand() to GEN an IOTA SEED for the IOTA GUI Wallet
| ad34d23a9aae3f6ec08746d46c94182697cee0ed | [
"Markdown",
"Python"
] | 2 | Python | cavefish/IotaSeedGenerator | 985bf54f1c285d51f3717be30b8d0e187361d91b | 2b7ab31381a7471d70e34ee2c0d0289cccb71313 |
refs/heads/master | <file_sep>click==7.1.2
dominate==2.6.0
Flask==1.1.2
Flask-Bootstrap==3.3.7.1
isodate==0.6.0
itsdangerous==1.1.0
Jinja2==2.11.3
MarkupSafe==1.1.1
pyparsing==2.4.7
rdflib==5.0.0
six==1.15.0
SPARQLWrapper==1.8.5
visitor==0.1.3
Werkzeug==1.0.1
<file_sep>from SPARQLWrapper import SPARQLWrapper,JSON
from flask import Flask, ... | d53bdeb7d93c10c0dd82167ed6b6b33ac2a06446 | [
"Python",
"Text"
] | 2 | Text | ArthurVarez/DataMiningStands | 5dc9871c6f6ef323989dc91a0b7670db9a4effdc | 5fd959458632d9973d8cf19219a81c8030e88049 |
refs/heads/master | <file_sep>import React from "react";
import styled from "styled-components";
import { ChevronsDown } from "react-feather";
import "react-accessible-accordion/dist/minimal-example.css";
import {
Accordion,
AccordionItem,
AccordionItemTitle,
AccordionItemBody
} from "react-accessible-accordion";
const LinkText... | 96dc1fa8aba706377a15c6a4cbc1069f3c3a7df5 | [
"JavaScript",
"Markdown"
] | 12 | JavaScript | jrduscher/code-du-travail-explorer | 42c2efcc09e52a19d99ba1301d18eb477c4d5fdb | 5048af8b2e3aebce96c1bae410b429bd2a030bf1 |
refs/heads/master | <repo_name>shengliwang/multicopy<file_sep>/multicopy.h
#ifndef __MULTI_COPY_H__
#define __MULTI_COPY_H__
#include <sys/types.h>
//传给线程函数thread_copy的结构体
struct dest_src {
char * dest; //通过此参数告诉线程要考到哪
char * src; //通过此参数告诉线程,从哪考
size_t copy_size; //告诉线程要拷贝的大小
size_t done_byte; //线程每拷贝一个字节,这个成员就 +1, 用于记录线程完成进... | d3bb0164f98918880b6b060fae6ab96f1ad8ea8c | [
"C",
"Makefile"
] | 4 | C | shengliwang/multicopy | 3d814c23cbeae7fb5771a0de9aba13f709b16f74 | a23d7f5e936ce19bb2827e9048c66615d7232ddc |
refs/heads/master | <file_sep># my-cheat-sheets<file_sep>//// Navigating programmatically
// push
this.props.history.push("/" + id);
this.props.history.push({ pathname: "/ + id" });
// Nested Routed
// In the parent component
<Switch>
<Route path="/some-route" component={SomeComponent} />
<Route path="p... | 61dd6b2af9f1963bd0af0a522775ab9061e43261 | [
"Markdown",
"JavaScript"
] | 3 | Markdown | alejots/my-cheat-sheets | b12eb9bc1719a1b6bdf600527d4463a1043fc57c | 9b59d5cff482a7957b4f931bf3943e5371b16527 |
refs/heads/master | <repo_name>kurron/docker-ecs-task-echo<file_sep>/build.sh
#!/usr/bin/env bash
docker pull ubuntu:latest
docker build --tag ecs-task-echo:latest .
<file_sep>/test.sh
#!/usr/bin/env bash
CMD="docker run --interactive \
--name ecs-task-echo \
--rm \
--tty \
... | b96d22dcc181774678318c9178a2ec96dbac4420 | [
"Markdown",
"Dockerfile",
"Shell"
] | 4 | Shell | kurron/docker-ecs-task-echo | ea5948b7156343635ae822e16c46a8ad35a099f9 | c152261f1c2894c536fd66a0307a93c03b251233 |
refs/heads/main | <repo_name>CarahPrinsloo/kotlin-rationals<file_sep>/README.md
# kotlin-rationals
My implementation of a Rational class in Kotlin, completed as a task during the Kotlin for Java Developers course on Coursera.
Your task is to implement a class Rational representing rational numbers. A rational number is a number express... | e723d2f1339bbde4d45e72f79bb07ec9e22c08cc | [
"Markdown",
"Kotlin"
] | 2 | Markdown | CarahPrinsloo/kotlin-rationals | e52f7ea0dbc67f25d3810e4fe9f88bdbe6e6e624 | 99ad85d88eb5cf3e7338d6bcb7496e054e1b3d26 |
refs/heads/master | <file_sep>
public class HelloWorld {
public static void main(String[] args) {
System.out.println("<NAME>");
System.out.println("Smimaseng");
System.out.println("Gonnizziwa");
System.out.println("nigagarahawai");
}
}
| d940abe76380a1fb6c6a687eda713fe317522887 | [
"Java"
] | 1 | Java | rhghwls/play | 427e4eb72a5c7b4ab98dd9656c4f3a9ba7a79c1f | 42ac58cfe1d3a53dd909df0b12d0d7a16ac476a0 |
refs/heads/master | <repo_name>ztianjin/tube<file_sep>/http/http_wrapper.h
// -*- mode: c++ -*-
#ifndef _HTTP_WRAPPER_H_
#define _HTTP_WRAPPER_H_
#include <string>
#include "http/connection.h"
#include "core/wrapper.h"
namespace tube {
class HttpRequest : public Request
{
protected:
HttpRequestData request_;
public:
HttpReque... | b3551300b3d98d1f37d555ed9cee173be30ce767 | [
"C",
"Python",
"C++"
] | 20 | C++ | ztianjin/tube | 2057729e5f201425cc2b220a78b57783148d2aa7 | 44480f05db540ea4a13094d73f93597380093d59 |
refs/heads/master | <file_sep>import React from "react";
import {
Modal,
ModalOverlay,
ModalContent,
ModalHeader,
ModalBody,
ModalCloseButton,
useDisclosure,
Box,
Heading,
} from "@chakra-ui/core";
import { IoIosPerson } from "react-icons/io";
import LoginForm from "./LoginForm";
import SignUp from "./SignUp";
const Sig... | cc2cc5b33306dcd0cf9c04db513555f251f0d2b2 | [
"JavaScript"
] | 20 | JavaScript | hugomarti/stem-hatch | a04402bd19eb9fd43bc471d6e3e0f49050220a0e | 2babb54a5f4d2954e1123d5fb5c2a5f949fd31b1 |
refs/heads/master | <repo_name>sikmi/nendo-web<file_sep>/nendoapps.com/config.rb
require "slim"
compass_config do |config|
config.output_style = :compact
end
# With no layout
# page "/path/to/file.html", :layout => false
#
# With alternative layout
# page "/path/to/file.html", :layout => :otherlayout
#
# A path which all have the same... | e16c2f539211e3282a1fd14995d8c92e5f228d4e | [
"Markdown",
"Ruby"
] | 2 | Ruby | sikmi/nendo-web | ded3338f7620045ee8feb2fb459cc5af79e6282e | 567a3ced2ee7bb7a4fd46a8514d255454bb0d09c |
refs/heads/master | <repo_name>louisenorris/javascript-objects-js-intro-000<file_sep>/objects.js
var playlist = {
madonna: "<NAME>",
cher: "turn back time",
rupaul: "sissy that walk"
};
function updatePlaylist (playlist, artistName, songTitle) {
playlist [artistName] = songTitle
return playlist
}
function removeFromPlaylist (p... | 1b7eba14dcc2a0e8a58be8fb6e790ebc863b169b | [
"JavaScript"
] | 1 | JavaScript | louisenorris/javascript-objects-js-intro-000 | d19f97deb1fae8c57e086aaf0a0aa884c1563c67 | 8a69561c235363fb51292943a5f7bf64f7be2d14 |
refs/heads/master | <file_sep>let classer = document.querySelector("#classer");
let clicker = document.querySelector(".clicker");
let frame = document.querySelector(".frame");
let topdown = document.querySelector(".topdown");
let textdata1 = document.querySelector(".textdata1");
let ltxt = document.querySelector(".lefttext");
let rt... | 00c39ed2ea83556dda99eb6a6ce9bfa96d1b1b1a | [
"JavaScript"
] | 1 | JavaScript | NPriyajit/YTSE1.1 | c84cc27d5e26ff953f8d036c97479deaaaeaba56 | c0383fbc959bd0d7b60503d7fd6b590933034345 |
refs/heads/master | <repo_name>nanoman689/flappybird-landingpage<file_sep>/build/js/animateMe.js
/*
$body
.velocity("fadeIn", { duration: 1500 })
.velocity("fadeOut", { delay: 500, duration: 1500 });
*/
$h1
.velocity("fadeIn", {duration: 1500});<file_sep>/site/_do not use/animate.js
/*-- callouts and transistions can be refe... | 764f2aeb17f88541f48e3632d6e1a179ffd0cc99 | [
"JavaScript"
] | 3 | JavaScript | nanoman689/flappybird-landingpage | 043ad327347c58c2ff50f38c29c8b20e29eb6e57 | 3b9acd83378787707d784eb1311a4569a10aa089 |
refs/heads/master | <repo_name>ajeancharles/ProgrammingAssignment2<file_sep>/cachematrix.R
# For a very large matrx, it may take too long to compute the inverse matrx, especially
# if it has to be computed repeatedly (e.g. in a loop). If the contents of the matrix are not changing,
# it may make senses to cache the value of the inverse ... | fb792e8d758854d6a84d3d61067a4a8919f0dc9f | [
"R"
] | 1 | R | ajeancharles/ProgrammingAssignment2 | bc0bb4cad63beceea163253d81fd7234735ea1bf | d58ebf91a0299b4ccea4e5fec5bff9bd28d06ed8 |
refs/heads/master | <repo_name>jasonjewik/wcj-2020<file_sep>/src/db/postgres.js
require('dotenv').config();
const {Pool} = require('pg');
const PostgresDB = () => {
// Sets our connection settings
// Note: This makes the assumption that the specified user, password,
// and database already exist!
const pool = new Pool({... | 3a9f9cded35e310bb8376443aaa855bc832b223e | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | jasonjewik/wcj-2020 | a3e0a8cc264d9e8c9996c72a389ac4c2016f1f63 | 5f5ba949811b5487c37e46250923cd0b1027341d |
refs/heads/master | <repo_name>Brencheva/Nutrition<file_sep>/src/app/app.module.ts
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
import { RecipesComponent } from './components/search/recipes/recipes.component';
import { SearchFormCompone... | aa0358144ed38c3223d3d2eac39fa1dfad2fd3c4 | [
"TypeScript"
] | 11 | TypeScript | Brencheva/Nutrition | b16ebcd5744cf63bb8ca4a3b4b6f918985ecce75 | eeb80f6d9607f089255e9ed4d3d4624a7c95c311 |
refs/heads/master | <file_sep>#!/usr/bin/python
import argparse
import requests
import sqlite3
import json
import time
import sys
db = None
cursor = None
coinmarketcap_api_url = "https://api.coinmarketcap.com/v1/ticker/"
coinmarketcap_payload = {}
'''
read config data from config.json file
'''
def read_config():
config = []
with op... | 478f835602202131fac179b28f44534a865cdbd8 | [
"Markdown",
"Python"
] | 3 | Python | TrongDev/Cryptocoin-Market-Toolkit | a9703437cbe6b18f8062729f7b3694bbd836b45a | f844154f75beef3a1625c7afceca00deb1ea9c94 |
refs/heads/master | <file_sep>docker build -t grimmauld/multi-client:latest -t grimmauld/multi-client:$SHA -f ./client/Dockerfile ./client
docker build -t grimmauld/multi-server:latest -t grimmauld/multi-server:$SHA -f ./server/Dockerfile ./server
docker build -t grimmauld/multi-worker:latest -t grimmauld/multi-worker:$SHA -f ./worker/Doc... | 401e0dc9cacdb587059b5f0d209a44aa5099b31d | [
"Markdown",
"Dockerfile",
"Shell"
] | 3 | Shell | grimmauld/docker-udemy | 1258bb06557cc7289af16602651ee49873808c83 | ea9659857a4b1ce0373f8d2f4a1bea36427119b7 |
refs/heads/master | <file_sep>#!/usr/bin/env bash
ENV=$1
GITHUB="<EMAIL>:amedia"
declare -A ENVS
ENVS[bkk0]="siam,thonglo"
ENVS[bkk1]="asoke"
ENVS[bkk2]="silom"
declare -A V3APPS
V3APPS[bkk0]="transition,apay,hanuman,pocit,puls,frontgrabber,hydra"
V3APPS[bkk1]="zservices,zeeland,zmapfetcher"
function find_current_app() {
APP=${PWD#... | 3eabce87fda4eb5fa0a977b4abba96b02d4b254d | [
"Shell"
] | 1 | Shell | tuantran/bkk-scripts | 3e457a0500fe71fd787e210e54eef101632a6b33 | e3502422829015baed5a3cd33c9f10d6f06bb7f5 |
refs/heads/master | <file_sep>using AwarenessGrows.Web.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace AwarenessGrows.Web.Controllers
{
public class TakeActionController : BaseController
{
// GET: TakeAction
public ActionResult Index()
... | 37ceb73605d641bbaa8a70e119b7be4cd30c6d3e | [
"JavaScript",
"C#"
] | 14 | C# | JSall/AwarenessGrows.Web | eaf683786ace9650733a41a365ce6a1af76067ed | 264d15f38e049c8197e0fc77a581183fabbb4184 |
refs/heads/main | <repo_name>ErosMLima/reactive-button<file_sep>/README.md
<p align="center">
<a href="https://arifszn.github.io/reactive-button" target="_blank">
<img src="https://arifszn.github.io/reactive-button/img/logo/logo.png" alt="Reactive Button" title="Reactive Button" width="80"/>
</a>
</p>
<h1 align="center"... | 4b05b90bc1286f32b80134d246a50484297da347 | [
"Markdown",
"TypeScript",
"JavaScript"
] | 3 | Markdown | ErosMLima/reactive-button | 372a04a32910d8a13fe2735938dec83592ef1247 | 6cfcb4a96361a434a2fdad11509c6b645aa27249 |
refs/heads/master | <file_sep>#!/usr/bin/env python3
import uproot4 as uproot
import awkward1 as ak
import numpy as np
import numba
from anytree import Node
from collections import OrderedDict
class Process:
def __init__(self, process = None):
self.extraFuncs = list()
if process is None:
self.outmasks = d... | 364a334ffbae13922092c44d283fbe4ac807ac3c | [
"TOML",
"Python"
] | 13 | Python | dteague/Analyzer_py3 | fca71707d8708ccfb872dd2c3e2693b0d0fbe6b6 | d44de0ac1f52cf30f3b2f01f4b4524a2db2a63b3 |
refs/heads/main | <repo_name>Vanya112/Vocalubary<file_sep>/main.py
import os
import re
import random
def finder():
dict = {}
counter = 0
score = 0
path = "C:\\Users\\Vanek\\Desktop\\Vocalubary\\Dictionary"
attempts = int(input("Сколько раз повторять: "))
while attempts < 0 or attempts > 500:
... | 2f3d16a451218fd2ecd010e71500060587b0c044 | [
"Python"
] | 1 | Python | Vanya112/Vocalubary | 080b57f6ea4efcd99754f3cd75b61daa5c83a59e | abbe88bae10c72217b65bb57c313ef517e38bebc |
refs/heads/master | <repo_name>vctaragao/SIGF-2.5<file_sep>/app/Http/Controllers/AuthProxyController.php
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use GuzzleHttp\Client;
use Illuminate\Support\Facades\Hash;
use App\User;
class AuthProxyController extends Controller
{
public function login(Request $request)
... | 36e899e3a06d378d380d593930df7285958a2206 | [
"PHP"
] | 1 | PHP | vctaragao/SIGF-2.5 | 08e7dc51fff45c73373cf46dac7d2b02a03a9ccc | a0e8cec43b3dc34710000f31e399727ea34fb5d0 |
refs/heads/master | <repo_name>nskeip/typograf-client<file_sep>/src/main.rs
use std::io::Read;
use std::io::Write;
use std::io::{Seek, SeekFrom};
use std::net::TcpStream;
use std::path::PathBuf;
use structopt::StructOpt;
#[derive(Debug, StructOpt)]
#[structopt(
name = "typograf-client",
about = "Yet another Artemy Lebedev Studio ... | 34e6e81a771066b00fc84bd26d16d6e8e99133be | [
"Markdown",
"Rust"
] | 2 | Rust | nskeip/typograf-client | c19a3e5f4679942335e505b350ad1d776ad34842 | 6c19c39263a1f97b047e9697122bc9e24242bccc |
refs/heads/main | <file_sep>const express = require("express");
const session = require("express-session");
const mongoose = require("mongoose");
const bodyParser = require("body-parser");
const app = express();
const httpServer = require("http").Server(app);
const io = require("socket.io")(httpServer);
module.exports.io = io;
const ... | 3ccaaa4c90ed916e3e5db48f3047999e6621b1cf | [
"JavaScript",
"Python"
] | 13 | JavaScript | baiken314/four-ninety-two | ce68fe55c67c2eb86bbb0e11cf4b7d87e0c9feb4 | e386d0eb9d0b57e515075abaa867d506afbf52e6 |
refs/heads/master | <file_sep>Twitter Tap App
=======================
*Unfortunately, the ctwitter library broke Twitter API stopped allowing unauthenticated requests. This app no longer works. The repo exists merely for reference/reminder (like Unicron's head).*
Takes user input, taps into twitter stream using ctwitter library, and d... | d78ccd73defc66054f6a4c0d03b9878bf0dd6997 | [
"Markdown",
"JavaScript"
] | 3 | Markdown | ryanbarringtoncox/twitter-tap-app | a139c66c6a27ef45e12d90b5427c83b12c068dbb | dab6932fe5d2e46671721356903d788501a123dc |
refs/heads/master | <file_sep>using Abp.Dependency;
using ABP.WebApi.Configuration;
using ABP.WebApi.Core.Repositories;
using ABP.WebApi.Entities;
using ABP.WebApi.Extensions.Values;
using ASF;
using ASF.Application.DTO;
using ASF.Domain.Services;
using AutoMapper;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Ge... | 3ebb0c993791d8fdbf701fa603e49988277c73f2 | [
"JavaScript",
"C#",
"Dockerfile",
"Markdown"
] | 91 | C# | xiaopohou/AntdPro-Vue-id4 | 716644e34f56be1850e75505faa6a7b10f9feef6 | d15aa2f2c21faa9d43bab02947b89d2fa25e624e |
refs/heads/main | <file_sep>emotions = []
a = input("enter your name please? ")
b = input("where are you from country only? ")
c = input("enter your age ")
cc = int(c)
emotions.insert(0,a)
emotions.insert(1,b)
emotions.insert(2,cc)
print(emotions)
if emotions[2] > 100:
print("invalid input hit refresh")
elif emotions[2] >... | 0f2f10a5e57b0b74635e00f623166b779293ac63 | [
"Python"
] | 1 | Python | Rohanlikescoding/User | 359b2e35f4418579ee753c57a0cd4a6c2003dc41 | d3b5c199616eb3d1399c68bc4759815fe1036e36 |
refs/heads/master | <file_sep>package com.lanou.util;
import java.util.List;
/**
* Created by dllo on 17/10/27.
*/
public class PageBean<T> {
private int pageNum;//第几页
private int pageSize;//每页显示的条目数
private int totalRecord;//总的记录数
private int startIndex;//开始索引
private int totalPage;//总分页数
private List<T> dat... | b5cddc2d94826edbb43d0c7f6519acf9d2a2e6c6 | [
"Java"
] | 12 | Java | J0703/GP_CRM | 4da2bda4d0bad47453c860acf3de8d8d0ba87fa9 | 2e99a175c0a67dcd022a951d5b727d3c2dd3d023 |
refs/heads/master | <file_sep>import { TestBed, inject } from '@angular/core/testing';
import { WorkerProfileService } from './worker-profile.service';
describe('WorkerProfileService', () => {
beforeEach(() => {
TestBed.configureTestingModule({
providers: [WorkerProfileService]
});
});
it('should be created', inject... | 1fad69c915063a47bd55615f76164ec513e79c75 | [
"TypeScript"
] | 46 | TypeScript | KruskalLin/SECIII | 5c3aaf084852892766a55e26bfd0d6e4ef860e29 | 303500810fd8880b14cc821415e9355f77b9e2d6 |
refs/heads/master | <file_sep>'use strict'
const http = require('http');
const dm = require('./datamanager.js');
const router = require('./router.js');
dm.initDBMessages();
setInterval(function () {
dm.saveDB();
}, 5000);
const server = http.createServer(router);
server.listen(8080);
<file_sep>'use strict';
const fs = require('fs'... | 20db521aa23eec03566b92d411b454fcca62ff87 | [
"JavaScript"
] | 2 | JavaScript | scruben/chat-app | 1dce3b5fa6d1dabf3309dba7e3e6a7977149ca27 | 3ba1e44eabf1f61eda0202871939e6ab1f08a93d |
refs/heads/master | <repo_name>koareedd/nerdtool<file_sep>/README.md
# my nerdtool configs
this will contain my nerdtool configs. they will be organized by screenshot or date.
<file_sep>/june/iMessageAndTime.sh
notificationCenterDB=$(ls `getconf DARWIN_USER_DIR`/com.apple.notificationcenter/db/db)
app_id=$(sqlite3 "$notificationCenter... | b33675f81ddfc81bacdc32d830fd81f7155ca0cb | [
"Markdown",
"Shell"
] | 2 | Markdown | koareedd/nerdtool | 0847626cd16a722d9fcebb84674bef2e97e36c3b | a7b1d138f9c3aee915c75a0bcd52a876f262f213 |
refs/heads/master | <repo_name>johnnyreilly/TypeScript-Babel-6-Problems<file_sep>/README.md
# TypeScript + Babel 6 Problems
## Getting started
You'll need [node / npm](https://nodejs.org/) installed globally. To get up and running just enter:
```
npm install
npm run watch
```
This will:
1. Download the npm packages you need
2. Compi... | b4ee94e5daac65b6536d1598f3e2c1b86e596eb8 | [
"Markdown",
"TypeScript"
] | 2 | Markdown | johnnyreilly/TypeScript-Babel-6-Problems | 0428555e0eda0461e738ea8ec8d32d7b926631de | 91721f871f50cf5959848f419af464153c730e99 |
refs/heads/master | <file_sep>{% extends "global/Base.html" %}
{% load staticfiles otree_tags %}
{% block content %}
<p> The amount you earn during this experiment will depend on the choices that you make, the choices of others, and luck. Throughout the experiment you will earn tokens. For every {{ tokens_per_cent }} tokens you ea... | 39b57440d312ab14640e7e37fe27aa0a715b390a | [
"Markdown",
"Python",
"JavaScript",
"HTML"
] | 18 | HTML | cfpb/dimension | 58fee7421b53d29dbcafe03b3e3e44b2e78766d5 | 7cc0776bf89b241b21eeee7232ca24f3eb05c857 |
refs/heads/master | <file_sep>import { Injectable } from '@angular/core';
import {BehaviorSubject} from 'rxjs';
@Injectable({
providedIn: 'root'
})
export class DataService {
private goals = new BehaviorSubject<any>(['Yamaha', 'Honda', 'Kawasaki']);
goal = this.goals.asObservable();
constructor() { }
changeGoals(goals){
... | d04d9a40182172454e5ad1d7c8f384d8a1110ac5 | [
"TypeScript"
] | 1 | TypeScript | siklerg/Angular_ng5 | 17860f4fede56fcd0313897c47676286d7bdaf7a | 0899c6ecbed10d0e4acf2aa28a534272fd0f73e0 |
refs/heads/master | <repo_name>dxas90/katacoda-scenarios<file_sep>/kubernetes-interview/step7_verify.sh
#!/bin/bash
kubectl get deployments.apps network-stats -n web -o jsonpath="{.status.readyReplicas}"
test -f /root/pod-status && ( cat /root/pod-status |grep -E "Running|ImagePullBackOff")
<file_sep>/kubernetes-interview/step7.md
Show ... | 6ea3aca0f2e101b78c00d46fc67b980df6e370be | [
"Markdown",
"Shell"
] | 14 | Shell | dxas90/katacoda-scenarios | 51d652254030e65ee7c60c0748cc3d1dd3eceeb0 | d0fbb881536472b4b54488af30baedaf392a15a2 |
refs/heads/master | <file_sep><p align="center">
<img src="./public/images/logo.png"/>
</p>
A single page application built with React.js which allows users to book, update and delete interview appointments.
## Walk-through

## Er... | 1ac849421a661c2b018c8881450eefe7b77c0666 | [
"Markdown",
"JavaScript"
] | 3 | Markdown | frogshy/scheduler | d5663cdb5d7d64e79e7770eee54663e16e37e269 | bcd357e3cbd189b01b99ea30926e07f5d41e847a |
refs/heads/master | <file_sep><?php
class Festivos{
//matriz
var $diasFestivos = array();
function __construct() {
$festivos2013 = array('2013-01-01','2013-01-07','2013-03-25','2013-03-28','2013-03-29','2013-05-01','2013-05-13','2013-06-10','2013-07-01','2013-07-20','2013-08-07','2013-08-19','2013-08-20','2013-10-14'... | 579628af2716d8506056c172cacef3f8f7e8c407 | [
"JavaScript",
"Markdown",
"PHP"
] | 7 | PHP | mrvaldemar/adicionales | f63e12a23234083aadc61752e4755e9440a3403f | 61dc6c0c8ce7fff6337ae355fd084ffbd6754c81 |
refs/heads/main | <repo_name>charlesangus/linksys-e8450-openwrt-installer<file_sep>/README.md
# An OpenWrt UBI installer image generator
Supporting the: "Linksys E8450", and the "Belkin RT3200".(aka "Belkin AX3200")
 : Instruction(label, "bnz") {
override fun execute(m: Machine) {
if (m.registers.getRegister(register) != 0){
val position: Int = m.labels.ge... | e7ef0478024b093ecf9540b12893f76af481094b | [
"Markdown",
"Java",
"Kotlin"
] | 10 | Kotlin | pbount/sdp-coursework1-2018 | 270ae9643d4feabf41826849ade16f7e3b19e925 | 588c01366c12a9169a4559b6a7af6433d7edcb9a |
refs/heads/master | <file_sep>
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import java... | 6c0d4f7ee7525f2d17e7a3b50982dde6f544f2c4 | [
"Java"
] | 1 | Java | Shiwsahaya/Online_Music_Store | 8c6393f527c171f5933a717bcf963a054097093d | e9b97863a4b538ecd5adb2314734872b5e4ae061 |
refs/heads/master | <repo_name>shubh24/PakistanDrone<file_sep>/explore.R
library(tm)
library(stringr)
library(timevis)
library(animation)
library(mapdata)
#
# Some ideas worth exploring:
#
# • How many people got killed and injured per year in last 12 years?
#
# • How many attacks involved killing of actual terrorists from Al-Qaeeda ... | 73ad162770ee01a90a607b52ceed869a100d2341 | [
"R"
] | 1 | R | shubh24/PakistanDrone | 9c805fcd177533726a7110ae8f85a5f4121e099f | 89306ecc159cc984a3c5f83f92d6c3d92c273c3a |
refs/heads/main | <file_sep>
# Cite as ...
mtkumar123/csc510_hw2b_g21: v1.0.0
rakeshavm; mtkumar123; snparab1704; <NAME>; <NAME>; <NAME>
ZENODO DOI Badge:
[](https://doi.org/10.5281/zenodo.5367405)<file_sep>from setuptools import setup, find_packages
setup(
name='hw2... | 0db75e17c2bbded4e3daab3953bef8c74a39a71a | [
"Markdown",
"Python"
] | 3 | Markdown | mtkumar123/csc510_hw2b_g21 | 9c4fa9e8dacc9ba7f9f3d06009862ce11e1a40d8 | 3324c53af4af7fdeea7133cfa50fed44e7d7e44f |
refs/heads/master | <file_sep>package smallfunction.homework;
import java.beans.Customizer;
import java.util.ArrayList;
import java.util.List;
import com.fiberhome.demo.Person;
import org.springframework.core.io.support.PropertySourceFactory;
/**
* @author vv
* @since 2019/2/13
*/
public class TemplatesTest extends Person {
//pr... | 7ac91f6b0193f396c9a66d831824a6375c9f73bd | [
"Java",
"INI"
] | 50 | Java | shawnyang2019/demo2 | ef39354cfd3644901da72e430d2b2eb45775861c | 27eb74431a667c53b432ad3bd869189fe2be50b7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.