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>require 'test_helper'
class BaseControllerTest < ActionDispatch::IntegrationTest
test "should get main_page" do
get base_main_page_url
assert_response :success
end
test "should get _calculator" do
get base__calculator_url
assert_response :success
end
test "should get contacts" do
... | de2de159c7121f047910893ac6f9de994feb58c9 | [
"Ruby"
] | 3 | Ruby | AlexTogar/windows | a941a6b57af06c29e0a418f1f37ab3a6eae40baa | 5d7c67d3f6cd5ecde51f3dd5aad9b5277adf4de5 |
refs/heads/main | <repo_name>elvinciqueira/book-testing-demos<file_sep>/unit-test-example/src/index.test.js
import { fireEvent } from '@testing-library/dom';
import '@testing-library/jest-dom/extend-expect';
import { JSDOM } from 'jsdom';
import fs from 'fs';
import path from 'path';
const html = fs.readFileSync(path.resolve(__dirname,... | d0595d1186115f7ab290c8dc11f0af73e8a4b5a2 | [
"JavaScript"
] | 1 | JavaScript | elvinciqueira/book-testing-demos | 1918d62a512dbfb6cb4e3cc1a64b5a5f6c2dd022 | 5184d432b118839f23bf6d8a1f50c24508d42ce4 |
refs/heads/master | <file_sep>$.fn.glider = function() {
return this.each(function() {
var $this = $(this),
glider = $this.find('ul.glider'),
html = glider.html(),
w = parseInt(glider.width()),
arr_left = $this.find('.larr'),
arr_right = $this.find('.rarr');
glider.html(html+html+html);
glider.css('margin-left', -w... | 6e11782dc67f036e795aa5a4e713c9720cfaff1a | [
"JavaScript"
] | 1 | JavaScript | snerf/homestroy | c5b59f6e2a2306d9ded29f997fa11fc0cef9dda2 | 11ed49ab66b57a59b5ea82ee7759dc6634cc58a6 |
refs/heads/master | <file_sep># -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.contrib import admin
from django.contrib.auth.models import User
from django.utils.safestring import mark_safe
from payshare.purchases.models import Collective
from payshare.purchases.models import Liquidation
from payshare... | 25201a55aa8382836bfdd9b4db1ae923278332c1 | [
"Python"
] | 1 | Python | CarlosJordanDev/payshare | 1765539dc1173e7f264d120962ee896fa2bea267 | 8e567c15c6d37528c76aa89523c90ae6c261426a |
refs/heads/master | <repo_name>RedisLabs/redisearch-go<file_sep>/Makefile
# Go parameters
GOCMD=GO111MODULE=on go
GOBUILD=$(GOCMD) build
GOINSTALL=$(GOCMD) install
GOCLEAN=$(GOCMD) clean
GOTEST=$(GOCMD) test -count=1
GOGET=$(GOCMD) get
GOMOD=$(GOCMD) mod
GOFMT=$(GOCMD) fmt
.PHONY: all test coverage
all: test coverage examples
get:
$(G... | 359a12ca99ec67d4fcd1944e1cfe73825eac1a14 | [
"Go",
"Makefile"
] | 7 | Makefile | RedisLabs/redisearch-go | 4f1c7d992619a6ff048d84ba850fa6de28a7b72a | f9cae07e76439e7bb3c7e2dc9bcb1413a94e3ca8 |
refs/heads/master | <file_sep>const { logErrorAndReject, formatDriveResponse } = require('./util.js');
const _ = require('lodash');
const querystring = require('querystring');
const { UPLOAD_CONFLICT_RESOLUTION_MODES } = require('./constants');
const { validateAndDefaultTo } = require("./util");
const ROOT_URL = 'https://graph.microsoft.... | 66f72276f9f3e8b9039ef61689b6e00de0126ec3 | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | correlateteam/onedrive | eace07c4ae8a5e0b5e3cdc66d062bdb731f344cf | 02c1f1c96e33f7e8b1074c23ae7457fa4672e6f6 |
refs/heads/master | <repo_name>adamalbrecht/pandora_plus<file_sep>/pandora_plus_injected.js
var notifyEvent;
function fireNotifyEvent(data) {
var hiddenDiv = document.getElementById('PandoraPlusData');
hiddenDiv.textContent = JSON.stringify(data);
hiddenDiv.dispatchEvent(notifyEvent);
}
$(document).ready(function(){
notifyEvent = ... | 5502e76eb1aa6c412147f113c204ba658231180e | [
"JavaScript"
] | 1 | JavaScript | adamalbrecht/pandora_plus | 0cc416ababad96cbd4966d2942a480af570364aa | 8e63c423318109919970c4ec420ede803474d7d7 |
refs/heads/master | <file_sep>import React from "react";
const UserData =[
{"latitude": "52.986375", "user_id": 12, "name": "<NAME>", "longitude": "-6.043701"},
{"latitude": "51.92893", "user_id": 1, "name": "<NAME>", "longitude": "-10.27699"},
{"latitude": "51.8856167", "user_id": 2, "name": "<NAME>", "longitude": "-10.42... | 230b9adaf4c0dbde4d50649fe09ecfceedae34db | [
"JavaScript"
] | 1 | JavaScript | Optimusprime12/codingtest | 691c1ea5ebdf636d847f36a56d47467eaaf71d72 | 18d360d6157bb0d318e6cd59ebf84cee9b9271fd |
refs/heads/master | <file_sep>const express = require('express');
const router = express.Router();
var querystring= require('querystring');
var path = require('path');
var bodyParser = require('body-parser');
var request = require('request');
var async = require('asyncawait/async');
var await = require('asyncawait/await');
var config ={... | 66cea30499dcabd2820febf1da33967e64e785fc | [
"JavaScript"
] | 2 | JavaScript | princeali7/speedy | ca427ec248b0af7d877cc2c8defa409182a94fc8 | ad2d4aeeea0a4596f95aa4f2e7f6ceedeb3c9435 |
refs/heads/master | <repo_name>Froststorm/Ibaslogic<file_sep>/src/components/contact/contactSocial.js
import React from "react"
import {
FaFacebookSquare,
FaGithub,
FaLinkedin,
FaTwitter,
} from "react-icons/fa"
import { useStaticQuery, graphql } from "gatsby"
import socialStyles from "./contact.module.scss"
const ContactSocial =... | 88775b001edc8a0f4169accd4d828cef228a7694 | [
"JavaScript"
] | 1 | JavaScript | Froststorm/Ibaslogic | f23b353fe55b1c72aa6d5a8df5a298ebf9209f37 | 46ea19c2632e0a042b0b67b1c3c745735b531270 |
refs/heads/master | <repo_name>buo/Korean-Spelling-Checker-Workflow<file_sep>/CHANGELOG.md
# 1.4.1 - 2015-10-09
- 틀린 단어 위에 마우스를 가져가면 오른쪽 교정표에 있는 해당 단어 관련 교정 내용의 테이블 배경색을 도드라지게 하는 효과를 추가함.
# 1.4.0 - 2015-10-06
- 틀린 단어의 띄어쓰기/붙여쓰기 관련 오류를 해당 위치에 교정 기호로 표시해주는 기능을 추가함.
- 원문 표시 부분의 스타일 수정.
# 1.3.0 - 2015-10-02
- 새로 바뀐 한국어 맞춤법/문법 검사기의 사용자 인터페이스... | 2b0916cb3db6eef3990d0bb958cbe1c1b8008c32 | [
"Markdown",
"JavaScript"
] | 3 | Markdown | buo/Korean-Spelling-Checker-Workflow | 7ff4e961ef764d38806b0329d4d79ec603b476d6 | 89d9024e5ee6d6cd30d77bc246bf91a5c1d38a1d |
refs/heads/master | <repo_name>Sumeshkumar/Todolist---MEAN-Stack<file_sep>/app/routes.js
var Todo = require('./models/todo');
module.exports = function(app){
//get all todos
app.get('/api/todos', function(req, res){
Todo.find(function(err, data){
if(err){
res.send(err)
}else{
res.send(JSON.stringify(data));
}
});
... | ea90c528e2dbfd84539286d0bfafc5ec8906e80c | [
"JavaScript"
] | 1 | JavaScript | Sumeshkumar/Todolist---MEAN-Stack | f256eb42e28641145038b2d3af5df96242adbbe2 | f20d7e0985945cf02f8201fff24a2cae00a35345 |
refs/heads/master | <file_sep>"# closefoodbot"
<file_sep>import telegram
from telegram.ext import Updater
import logging
from telegram.ext import CommandHandler
logging.basicConfig(format='%(asctime)s - %(name)s - %(levelname)s - %(message)s',
level=logging.INFO)
updater = Updater(token='<KEY>', use_context=True)
... | 5e6c5fa51ab702f4517d91638f79dd029ebed0f5 | [
"Markdown",
"Python"
] | 2 | Markdown | kieron560/closefoodbot | 0676b8cc11dba5bca783bcfdf8d4981869ff083b | 33f1682d39b69605a0df5cf35c66a5e24f5f127a |
refs/heads/master | <file_sep>class UserSettings:
def __init__(self):
# Time an element should be highlighted (in milliseconds)
self.highlight_time = 1000
<file_sep>python_vlc==3.0.7110
requests==2.22.0
pafy==0.5.5
Pillow==7.0.0
<file_sep>from tkinter import ttk
from os import path
import vlc
import urllib
import pafy... | 6b26a0d8f41b7fb28925d3b9abd293822c1c72de | [
"Markdown",
"Python",
"Text"
] | 11 | Python | PaziewskiCezary/hackathon_a11y | 3188d90e277887982a0e53b82cc38132f7c191de | 68442dd087fa832eef1d28c030660516fe628603 |
refs/heads/master | <repo_name>tutor88/-forkify-app-udemy<file_sep>/src/js/views/paginationView.js
import View from './View.js';
import icons from 'url:../../img/icons.svg';
class PaginationView extends View {
_parentElement = document.querySelector('.pagination');
addHandlerClick(handler) {
//event delegation
//listen to par... | bc726cb65237fdc3df7490c6e419c7e94d6e4ec0 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | tutor88/-forkify-app-udemy | 30d44da695677c60a2efe401320466262f41d509 | 65ef9ca47894856cb2ec5c9735c694662679f1ac |
refs/heads/master | <repo_name>rtaraboo/Playgrounds<file_sep>/MyPlayground.playground/Contents.swift
//: Playground - noun: a place where people can play
import UIKit
/*
var str = "Hello, playground"
str = "Goodbye"
var name:String = "Rosario"
name = "Lindsay"
var unknownString:String
unknownString = "3"
var int = 4
3 * int;
va... | 6ee39969ce8c69a4a0b2978c9e976b03cedbee64 | [
"Swift"
] | 1 | Swift | rtaraboo/Playgrounds | 8d217a36b8daed85f00734bd3f661e56152ad499 | 7d99b137b4182c5c191ce671fb2355478f72e27f |
refs/heads/master | <file_sep>#This make new colllections with papers that have only the full text
import pymongo
client=pymongo.MongoClient("localhost",27017)
db=client.publications
#collec=db.zikaVirus2
print("Generating Collection zikaVirus2")
pipeline=[db.zikaVirus2.aggregate([
{"$match":{"fullText":{"$exists": "true"}}},
{"$out": ... | 17f9c2ace152daa7765bab2c2a02a3e724597ce3 | [
"Markdown",
"Python"
] | 2 | Python | Rodato/MscThesis | 60e9ca022c26032a60772b316a2dd39d9d19e058 | 3103c0fd5db92cafd06467f9b4b1e789617e94be |
refs/heads/master | <repo_name>Stepsize/take-home-exercise<file_sep>/README.md
This is the technical task for the front-end / full-stack position at Stepsize. Please don't spend more than 3 hours on this task, do as much as you can in the allocated time. Email me at <EMAIL> if you have any questions, comments or feedback.
The goal of thi... | 0cc14c3db52cd2e6fc590fefd739804c8c66a01e | [
"Markdown",
"JavaScript"
] | 2 | Markdown | Stepsize/take-home-exercise | 113f9c282a9cbf929bc32a20ee064cf15fa9ab4b | c6deaa9541cb8c8303421ff6c9ff0e51c22c62e8 |
refs/heads/master | <repo_name>fegos/official-site<file_sep>/client/desktop/index.js
import { Fetch } from 'fego';
import Interceptor from 'Interceptor';
import App from 'src/app';
// 启用拦截处理器
Interceptor.enable(Fetch);
App.init();
<file_sep>/server/app/middleware/bodyFormatter.js
/**
* Created by swx on 2018/1/31.
* 用来格式化body的样式
*/
'us... | 6e015a5f23b43e825aa499c8d199610e69d0f230 | [
"JavaScript",
"Markdown",
"Shell"
] | 44 | JavaScript | fegos/official-site | 96df79132bdb3030ce997dc930e8fb09930fb46a | 13770a8d6e2b4fe8d86d583b0ac4fd3ef2f4973c |
refs/heads/master | <repo_name>KokaKiwi/KowyEngineTest<file_sep>/pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.kokakiwi.e... | e394b0b9face470b0e0e9dfd93bf4aa631ac494f | [
"Java",
"Maven POM"
] | 2 | Maven POM | KokaKiwi/KowyEngineTest | 0277a76e11fbfb417d6837892d92edc8d0e1a8a8 | f33ff2feb29566692c5061ccc2c9b9d8fdba71d0 |
refs/heads/master | <file_sep>import random
import time
def intro():
print('Welcome to QuizTEP')
print('QuizTEP is a knowledge game in which two players are participating.')
print('Game rules:\nEach player selects two of the five categories.')
print('In every category, player must answer three questions.\nThe playe... | f11baf68e3adab44a9680d6f54bd6a8fbafd2c95 | [
"Python"
] | 1 | Python | DiSklavos/QuizTEP | b0aa0bfaed6cc760d055c9515c68e18a8a352d64 | d8062581f655c421c0bb62569f675528e1400965 |
refs/heads/master | <file_sep>//
// AppHelper.swift
// UpcomingMovies
//
// Created by <NAME> on 13/10/16.
// Copyright © 2016 CodeToArt. All rights reserved.
//
import Foundation
import UIKit
class AppHelper {
class func saveConfig(config: Config) {
if let ad = UIApplication.sharedApplication().delegate as? AppDele... | 5d0bc8784e5c52e21635dbd0af925110d9962e76 | [
"Swift"
] | 3 | Swift | kavoos/UpcomingMoviesSwift | d7c599137cd265aa9e62673509f0500339bf2d1a | 2f45a72cf3a7b60a9501ebb807ae166dc20d67c7 |
refs/heads/master | <file_sep>VenomBullet
===========
A Python module for interacting with Pushbullet
<file_sep>import urllib, urllib2, json
class TokenError(Exception):
pass
class Clip:
def __init__(self,iden,name,pushable):
self.iden = iden
self.name = name
self.pushable = pushable == "True"
class Gu... | 9c7cf6aca19effe7b37ae342c9bc29ed39fa07bb | [
"Markdown",
"Python"
] | 2 | Markdown | Hydrox6/VenomBullet | e2273c1cb0ba34147ea0987a1f60813b49a29dcb | bf41c802ba98b4a384dcc3556bcd9a820996af43 |
refs/heads/master | <file_sep>-- phpMyAdmin SQL Dump
-- version 4.0.10deb1ubuntu0.1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Nov 28, 2018 at 12:55 PM
-- Server version: 5.5.61-0ubuntu0.14.04.1
-- PHP Version: 5.6.37-1+ubuntu14.04.1+deb.sury.org+1
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:0... | 26970dd0aa8f6edf1a94b1eaaa2523dd87e4c809 | [
"SQL",
"PHP"
] | 5 | SQL | faaiq/leave_management | 3fec011942848b4458d5374dfa18d5916cf14f6a | 4de3af36731e790ca43b2a8e48051397ebc33d08 |
refs/heads/master | <repo_name>ncameronbritt/parseIA<file_sep>/parseIA.py
from bs4 import BeautifulSoup
import urllib2
from urlparse import urljoin
import socket
import ssl
def getURLs(start_url, soup, domain):
# container for urls
links =[]
# get href from all a tags
for link in soup.find_all('a'):
#if str(link.get('href')).star... | b9802b3818b034afa9b2babbd925a84274e8bea8 | [
"Python"
] | 1 | Python | ncameronbritt/parseIA | 223e64d47c86e0253b1390a1d94e108973563a7a | 909e92e5f756ec5fa5dd859e4fa406de8567ec0f |
refs/heads/main | <repo_name>ikhsanmoh/newsAPI-react-ts-fe<file_sep>/src/constants/index.ts
export const APP_NAME = 'NewsApp';
export const GITHUB_REPO_LINK = 'https://github.com/ikhsanmoh/newsAPI-react-ts-fe'
export const NO_IMG_LINK = 'https://bkppkutim.com/wp-content/plugins/penci-portfolio//images/no-thumbnail.jpg'
<file_sep>/src/ty... | 71ae150b2c2d368d1df9128a00a215ea506ee268 | [
"TypeScript"
] | 3 | TypeScript | ikhsanmoh/newsAPI-react-ts-fe | a0bac955ab2eb5d4164552c9e330e570b0e9c6c5 | a4614fe680812403d8a7eb863d2b542002b83006 |
refs/heads/master | <repo_name>Suriya17/MRFS<file_sep>/testcase2.cpp
#include "fs.h"
void create_copy(char* orig, char* dup){
char buf[256];
int fd1 = open_myfs(dup,'w');
int fd2 = open_myfs(orig,'r');
int i = 0;
while(i = read_myfs(fd2,256,buf)){
write_myfs(fd1,i,buf);
}
close_myfs(fd1);
close_myf... | cccba5fdefac8ee3aef320330ab7b5bac88c79b9 | [
"Markdown",
"Makefile",
"C++"
] | 8 | C++ | Suriya17/MRFS | 4e2af2a81bd3157c5b26afb23923eed1f52ec1ad | be0f0dfb0783ae63a225e43ab37dd21d9a25446e |
refs/heads/master | <repo_name>likendero/SGE<file_sep>/python/ejercicios5JavierGonzalezRives/calculos.py
def suma():
#Muestra la suma de dos numeros
a=input("Introduce un numero entero:")
b=input("Introduce un numero entero:")
a = int(a)
b = int(b)
print ("La suma de ",a," + ",b," = ", (a + b))
def resta():
#Mu... | 8f1f1257247b4aa1e9cf106461335fd50d7e54ae | [
"Python"
] | 19 | Python | likendero/SGE | 2c2ca7dcd95dcc6d57c242d87c1e315680cd7ca6 | b9762ff1fb5f2254775b5c6acf92ac4b651f3e19 |
refs/heads/master | <file_sep>const util = require('../../util.js');
const Discord = require('discord.js');
const moderations = require('./moderations');
const GuildConfig = require('../../GuildConfig');
const icons = require('../../icons');
const command = {};
command.description = 'Show information about a single moderation';
command.... | cf40649023dc02aaad7dc5343f097ba4a085a414 | [
"JavaScript"
] | 6 | JavaScript | bctmprbots/modbot | 014bd2a232325d8d1533bcaf8ea1826589266aab | d5499ad219bf5e88755f1ec17b45385687775044 |
refs/heads/master | <file_sep>
spring.application.name=team-service
server.port=8081
eureka.client.service-url.defaultZone=http://localhost:8760/eureka/<file_sep>
spring.application.name=config-service
server.port=8888
spring.cloud.config.server.git.uri=https://github.com/gunayus/springio-19-config.git
<file_sep>spring.application.nam... | 1ee15b4a67dc7d43e2c167d9f92d7eb89b228986 | [
"Markdown",
"Java",
"INI"
] | 8 | INI | freezerDB/springio-19 | 8172123f4e6ece3dc9df157f5ac9734506f927f9 | 83ae9595b916578fcf64c34f8cace0bf6bea2054 |
refs/heads/master | <repo_name>liahawke/ClassAndInterface<file_sep>/src/com/classandinterface/PrintPhraseClass.java
package com.classandinterface;
public class PrintPhraseClass implements PrintPhraseInterface {
@Override
public void printPhrase() {
System.out.println("This is madness.");
}
@Override
public S... | 774439040cae35bb14d2a01f5d8b5144cc3e0505 | [
"Java"
] | 2 | Java | liahawke/ClassAndInterface | 05636b02f6e178fe44f9411ce4e67a94511c3623 | 7f1bdb6cebb377106fd094db944139c8cc2d333d |
refs/heads/main | <repo_name>thummala-sathvika/floor_cleaner_bot<file_sep>/README.md
# floor_cleaner_bot
The pins have to be connecting as per the following:
• Signal 1 ---- D6 on Arduino
• Signal 2 ---- D9 on Arduino
• Signal 3 ---- D10 on Arduino
• Signal 4 ---- D11 on Arduino
• +5V ---- +5V on Arduino
• Gnd ---- Gnd on Arduino
• +12V... | b16a9ab2dc12a5487bb05c694835bee50fbc7bb7 | [
"Markdown",
"C++"
] | 2 | Markdown | thummala-sathvika/floor_cleaner_bot | a827b1f2186168689a13426318334e8d04c83625 | eee392fb1ed3aff899080bdd6f8c7fa4746abe1f |
refs/heads/master | <repo_name>Qube5/Ascii-Art<file_sep>/ascii.py
from skimage import color
from skimage import io
from skimage import filters
import math
def main():
fileName = '../adithyaj'
outputWidth = 100
mapping = {
0.1 : "0", #█
0.2 : "8", #▇
0.3 : "6", #▆
0.4 : "4", #▅
0.5 : "2... | 2dd6f8d2d918321297528e2875d7e7adaf0ba6d9 | [
"Markdown",
"Python"
] | 2 | Python | Qube5/Ascii-Art | c56b7749e136f73e96d38440765265de9f20b743 | ecd778f0f060c745a93bd758fcc5559da37210b0 |
refs/heads/main | <file_sep># ACRN auto
Attempt at automatically increasing the frequency on https://generalfuzz.net/acrn/ using Python and Selenium.
<file_sep>import time
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.common.keys import Keys
# Start gen_freq_list function
print("A... | 8e623b799345cfa03774561519f4ac696522bdf3 | [
"Markdown",
"Python"
] | 2 | Markdown | lennertvhoy/ACRN-auto | 262fd2059f8a98718aa2e9afbd813c51b7bed03a | 641544d44dcb7191c1b42daa28034883e7b6684e |
refs/heads/master | <file_sep>Mambo-collector
===============
MySQL data collector for statsd.
How it works
------------
+----------------+ +-----------------+ +-----------------+
| MySQL | <---> | Mambocollector | ---> | Statsd |
+----------------+ +-----------------+ +---------------... | f318529324ffbd8606a3a6ea3de66a9bf8131b32 | [
"Markdown",
"Python",
"Text",
"Shell"
] | 5 | Text | banyek/Mambo-collector | c44fbd4326932cef674b5b2163062453273c5a5e | 7079a839b99be7ca5fc72d38765ca023f5646d88 |
refs/heads/master | <file_sep>#include "volt/mem.h"
#include <stdlib.h>
#include <stdio.h>
#include "volt/code/object.h"
// All memory handling must be done here to pass through logging
void* reallocate(void* buffer, int old_size, int new_size) {
if (new_size == 0) {
free(buffer);
return NULL;
}
void* result... | 6ad2e05250859b2213801d6f6a52e34a05544fd2 | [
"C",
"CMake"
] | 22 | C | enix403/volt | 8dd2932189440eaeb17ff8d72600cc407a9d14cb | 7be4116d9f2b24aeb3444aa3a46c6301b370ddff |
refs/heads/master | <file_sep>#!/bin/bash
zip -r maybreak.zip . | aa18d563f1e1926d964a012e1b472f38a682fcd7 | [
"Shell"
] | 1 | Shell | Corvimae/maybreak.com | 4372b875a49e9e83dba988cf0eb4ba67641adfbe | b50fbcafdf5939f3491f0609522ef54362336e7e |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using KTLTHDT_FP.Models;
namespace KTLTHDT_FP.Forms
{
public partial class FrmResult : For... | 703fec9916b0074c9777bd234a8e08714a4c223c | [
"C#"
] | 6 | C# | dinhhanh0302/KTLTHDT_AprioriAlgorithm | dab467ac7b46ba3365a936b7482589cf187b2fb6 | 8925f27454e5ea7fd9a4730cb0cd74a8e6b35ab3 |
refs/heads/master | <repo_name>100gold/abcgame<file_sep>/abc/gamesector.cpp
#include "import.h"
#include "all.h"
GameSector::GameSector(const std::string& config, XmlResourceManager& xmlmgr) :
m_name(config)
{
m_game_view = GameSectorViewPtr();
XmlResourcePtr xmlres = xmlmgr.load(config, XML_RESOURCE_GROUP_NAME);
m_display_name = Loc... | aaed4cc9a32543fdac7a59a9149e25b95d78165e | [
"C",
"C++"
] | 57 | C++ | 100gold/abcgame | aab6ab5310b21e6fd1c57024724e445127276746 | 9853a35abbe13044279c2b3d395d64654c70ebab |
refs/heads/master | <file_sep>import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class Read {
private static List<Employee> listEmployee = new ArrayList<>(... | 0a901f1eb9cb49a8da522721e4ca97b322a8796a | [
"Java"
] | 2 | Java | SRBekmambetov/Employee | eb0fbcb8cfa5565413c750a43d2328d7520ec64e | cd609f05435331e33ac6aef2928b877d3003e951 |
refs/heads/master | <file_sep>**Add styles based on characters**
var $div = $('#mydiv');
if($div.text().length >= 50) {
$div.addClass('class');
}<file_sep>**26.11.2014** - Basic Isotope layout inspired by Sement<file_sep>// external js:
// http://isotope.metafizzy.co/beta/isotope.pkgd.js
$( function() {
$('.isotope').isotope({
... | d33dc3712010caf560b53646696b38cc4514d898 | [
"Markdown",
"JavaScript"
] | 3 | Markdown | satrya-sabeni/Stellios | 20c670d73b3881b62349349b2755cfd96646bb62 | 8e41578a6f2652a1a2ab79d1d5b5e4bf57ea553e |
refs/heads/master | <repo_name>travismcchesney/aoc-2019<file_sep>/day10/p1.rb
require 'set'
grid = []
width = 0
height = 0
File.open('input.txt').each do |line|
line.strip!
splitsville = line.split('')
width = splitsville.size
grid.push(*splitsville)
height += 1
end
def get_at_coord(grid, width, x, y)
grid[(width * y) + x]... | c75a42a712046fbffc0de3c7e4f02276cc455988 | [
"Ruby"
] | 25 | Ruby | travismcchesney/aoc-2019 | 8db829058054faefd5f3afc81985d526326a7589 | e56c0c7fcc7a929808cc7e82ac86b697987b429c |
refs/heads/master | <file_sep>/*
| _ ____ ____ _
| | |‾| ⚈ |-| ⚈ |‾| |
| | | ‾‾‾‾| |‾‾‾‾ | |
| ‾ ‾ ‾
*/
import Foundation
import FirebaseAnalytics
import FirebaseAuth
import FirebaseCore
import FirebaseDatabase
import FirebaseInstanceID
import FirebaseStorage
public extension FIRApp {
public stat... | a9aef73fc3036aa7df00fe81923c6edd88312649 | [
"Swift"
] | 1 | Swift | jkhowland/FirebaseReSwift | 83b2f7d6c6853989638f2d3e46ae519c336064ed | d6de10243c798924058c8599f6bb5eb5bf15aa1a |
refs/heads/main | <repo_name>dovker/GBA-Sketch<file_sep>/include/Graphics.h
#ifndef _GRAPHICS_H
#define _GRAPHICS_H
#include "Constants.h"
//
// ENGINE AND HARDWARE
//
void VSync();
void ClearScreen();
void DrawPixel(uint x, uint y, ushort col);
ushort GetPixel(uint x, uint y);
//
// COLORFUL MODE FUNCTIONS
//
ushort Colo... | 1e8475a0acef476d3ad417afcf52767b5c7f5da4 | [
"Markdown",
"C"
] | 7 | C | dovker/GBA-Sketch | 54d33e9bd77615c1a62c1f88acce14183ef3e060 | d7ff3b51b98c4b2bf12a8cdfc7c29c6cd5137bef |
refs/heads/master | <file_sep>package com.cosmo.arquitecturamvpbase.repository;
import com.cosmo.arquitecturamvpbase.helper.ServicesFactory;
import com.cosmo.arquitecturamvpbase.model.DeleteResponse;
import com.cosmo.arquitecturamvpbase.model.Product;
import com.cosmo.arquitecturamvpbase.services.IServices;
import java.util.ArrayList;
... | 841d1516520146cf74b3858d432d0fe9c8807e60 | [
"Java"
] | 19 | Java | afescobar92/Arquitectura-base | 68b9859adde8e3ece7c496cb8468008fcc319eb0 | 1220dc3d363a9d6daab3440a729ef09040a5907c |
refs/heads/master | <repo_name>MehmetKaplan/Redis<file_sep>/README.md
# Redis
* install.sh
Using "bash_commands", this file follows the instractions provided at https://www.digitalocean.com/community/tutorials/how-to-install-and-use-redis to install the Redis to an Ubuntu linux machine.
Note that there is a catch, the tarball link is cor... | 0815717acd9ade4b00076bebd5538d1ab10e7528 | [
"Markdown",
"Shell"
] | 2 | Markdown | MehmetKaplan/Redis | f7636b8a61a896869bfdfbef2ad490257324201c | b7478ce0e95b30ae3308105535f6286e3a146668 |
refs/heads/master | <file_sep>#coding: utf8
print 'Escriba un año:'
anio=int(input())
if (anio%4==0 and anio%100!=0)or anio%400==0:
print"El año", str(anio), "es bisiesto"
else:
print "El año ",str(anio)," no es bisiesto"
| ab9b286cde8288c68c76b3a57556565dd4130805 | [
"Python"
] | 1 | Python | Dejos8/bisiestos | a8db8b5b5d5dbf1dfb9ed2e645ebd836902e9465 | 06b3116462117d586278481c790c563696448f4d |
refs/heads/master | <repo_name>andrefboliveira/TeleTasca<file_sep>/TeleTasca/src/main/java/fcul/pco/teletasca/persistence/DishCatalog.java
// -*- coding: utf-8 -*-
package fcul.pco.teletasca.persistence;
import java.io.IOException;
import fcul.pco.teletasca.domain.Dish;
import java.util.Map;
/**
* This class is responsible for saving ... | b382a973241e400e2f55c005bf8352c41d2c3658 | [
"Markdown",
"Java"
] | 8 | Java | andrefboliveira/TeleTasca | 1fafdca918932e40ec24e7b4a17ca2313e711c95 | 98badf892a0272fb5ef566a962dc0dd936b90a13 |
refs/heads/master | <repo_name>SMEETT/Commerce-CS50Web<file_sep>/commerce/auctions/forms.py
from django import forms
from .models import Listing, Category, Bid, Comment
class ListingForm(forms.ModelForm):
# populate the CATEGORY dropdown with all available categories
category = forms.ModelChoiceField(queryset=Category.objects.all... | ede7b571383cd0b86c6c92b19713193aaa4e8be1 | [
"Python"
] | 5 | Python | SMEETT/Commerce-CS50Web | 334949a2798f9cf61d479d45f791a9548c970c26 | 0d961ba83300675f4bc8d22af4dfc0050c2d196e |
refs/heads/master | <file_sep>"""
Question 4
Complexity : n
"""
import time
ini_pos = input('Enter Original Location: ')
while(ini_pos.isnumeric() == False):
print("Enter a Number !")
ini_pos = input('Enter Original Location: ')
ini_pos = int(ini_pos)
if (ini_pos > 1000):
print("Enter a Smaller Number !")
exit()
step = ... | 9987eb4e30e6057b9584887ad96653f34d84a335 | [
"C",
"Python"
] | 11 | Python | anudit/competitive-212 | 5141150d0bf611a20fe72d642bd782ce05de045d | 05a3d666b409705b6db68991ebafaa7f35a9bd05 |
refs/heads/master | <repo_name>bimon-alta/livecodedjango<file_sep>/README.md
# livecodedjango
livecode django repository
<file_sep>/catalogapp/admin.py
from django.contrib import admin
from .models import Product,Description
# Register your models here.
admin.site.register(Product)
admin.site.register(Description)<file_sep>/catalogapp/ur... | acdb10b52b6889a4b1d2e9c9b249ddb5b5ddc7e6 | [
"Markdown",
"Python"
] | 5 | Markdown | bimon-alta/livecodedjango | 9375fae32427f7e4a7a12c7ec22633e1badb918a | c4f6d91a5c790f8ad95b47d305b1784f6872605b |
refs/heads/main | <repo_name>Nunocbl/productcreation2<file_sep>/src/app/app.module.ts
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { NewProductCardComponent } from './ne... | 6e4be0d0ae94457b82f0abf765dd029b862914e0 | [
"TypeScript"
] | 5 | TypeScript | Nunocbl/productcreation2 | d74b101085f44fc6f74cfb420e2744edcd86d626 | 7e744bfcd6681694ae3c81eeca5966ccec1d85c3 |
refs/heads/master | <file_sep>var express = require('express');
var port = 3000;
var app = express();
app.set('views', './views');
app.set('view engine', 'jade');
app.listen(port);
console.log('app started on port '+port);
require('./router').router(app);<file_sep>var dataCenter = require('./dataCenter');
var async = require('async');
v... | 823c3b53f85c82f07c3cfec0ec39eee134f3d3fd | [
"JavaScript"
] | 2 | JavaScript | huiyunchen/rabbit | d42e443de6ed50f478af0bd3bc060fda8e695ec0 | d7bdfd5601ae63e8f828a72a76f08bd996074c48 |
refs/heads/main | <file_sep>[.ShellClassInfo]
IconResource=C:\ProgramData\Teorex\FolderIco\icons\{0ba050d5-3e8c-47dc-ae10-a6ecc85fba13}\ai.ico,0
<file_sep>const logo = document.querySelectorAll("#logo path");
for(let i=0;i< logo.length;i++) {
console.log(`Letter ${i} is ${logo[i].getTotalLength()}`);
}
// const svgText = anime({
/... | 2494d058d07fd4db7ea8a3c3717d31e4404bf6f2 | [
"JavaScript",
"Markdown",
"INI"
] | 3 | INI | gottaegbert/svgtextanimation | 41735332273000d3d4cf5b4cedfe1ad73e6bc2c8 | 2301b3a9c661f4e207834d461aa4184fdb1f52fb |
refs/heads/master | <file_sep>import tensorflow as tf
#创建一个常量op
m1 = tf.constant([[3,3]])
#创建一个常量op
m2 = tf.constant([[2],[3]])
#创建一个矩阵乘法op,把m1和m2传入
product = tf.matmul(m1,m2)
print(product)
#定义一个会话,启动默认的图
sess = tf.Session()
#调用sess的run方法来执行矩阵乘法op
#run(product)触发了图中的3个op
result = sess.run(product)
print(result)
sess.close()
with tf.Sess... | 677e79d042b3ae58d68e403b2fe55128ade2d80a | [
"Python"
] | 2 | Python | r1293497424h/renhao | 4a351db47d5b7b4aabed05e7b1afc957ae254ba8 | 00f43668d8aee61d5f93b9f2a6a525ca32d456b7 |
refs/heads/master | <file_sep>import './logo.css';
const Logo = () => {
return (
<div className='logo'>
<img alt='logo-list' src='https://svgshare.com/i/FUq.svg'></img>
</div>
)
}
export default Logo;<file_sep>const mongoose = require('mongoose');
const { environment } = require('../config/config');
const { productSc... | 898573ffcc5ad8bb28fe0a255ba645a0856dc395 | [
"JavaScript",
"TypeScript",
"Markdown"
] | 7 | JavaScript | eduardohralejandro/productmanagement | ff8e5d4480aebca7171ffd8a615909cb73c27988 | f325b979f03247cbc546fc1acb767d24d3685a8b |
refs/heads/master | <repo_name>jusbrasil/tornado-auth-php<file_sep>/README.md
<img align="right" height="48" src="https://user-images.githubusercontent.com/5435389/62345208-ba623280-b4c7-11e9-8fc4-2647accfc306.png" style="padding-top: 36px">
[](https://pa... | 2a0d389fe0e01f82fd291ba33d929a9978d72edc | [
"Markdown",
"Dockerfile",
"PHP"
] | 3 | Markdown | jusbrasil/tornado-auth-php | 5d5b62b4fe90f7acd6d4556df08ac60619aa9f1f | 0e3f67cd02ec3a95a62890b3dbc51a1fddfdfb68 |
refs/heads/master | <file_sep>#!/bin/env ruby
# encoding: utf-8
require "spec_helper"
include SessionsHelper
describe SessionsController do
let(:user) { create :user }
subject { controller }
describe :action do
before do
controller.stub(:authenticate).and_return(true)
controller.stub(:admin).and_return(... | a2f44f13b0b365fece88477ade37683e2a10b110 | [
"Ruby"
] | 51 | Ruby | Rabenmund/first_app | a541f7b3cd19413ad6bf1fac75a9f4e042807904 | aab440a27b6507ffc9cc80681b45b415c67575b8 |
refs/heads/master | <file_sep>package com.dev.rpc;
import java.lang.reflect.Proxy;
import com.dev.rpc.invocationhandler.RemoteInvocationHandler;
/**
* @author: dengxin.chen
* @date: 2019-12-10 10:37
* @description:rpc客户端请求
*/
public class RpcProxyClient {
/**
* rpc请求客户端
* 通过jdk动态代理实现
*
* @param classInterfa... | 3e167223c2e825bd6a9e26c0a5267d6c6fa8f952 | [
"Markdown",
"Java"
] | 12 | Java | morewindows0/rpc-framework | 553c7f387811e40ab67cd69f124aad828be8dbd1 | 1c7fd70a1a05529d83606381711b6e1e54f43132 |
refs/heads/master | <file_sep>import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './registerServiceWorker'
import firebase from 'firebase/app'
import 'firebase/firestore'
import 'firebase/auth'
import './../node_modules/bulma/css/bulma.css'
import VueFirestore from 'vue-fires... | 702c822d9393715419d3758252fde5315e754bf4 | [
"JavaScript"
] | 1 | JavaScript | kilianstallz/ourmoments | 63f6793a799797749ddca794b12baa9cf272abcb | 05fe2a65746d5b524e6f3d3cf38a92269982234f |
refs/heads/main | <repo_name>Aga-de/travel-agency<file_sep>/src/components/layout/Phone/Phone.test.js
import React from 'react';
import {shallow} from 'enzyme';
import Phone from './Phone';
const select = {
number: '.number',
};
const mockProps = {
number: 'Aga, 345',
};
describe('Component Phone', () => {
it('should re... | 8b9674f8ec0f8608c850022729fca1e41975b28a | [
"JavaScript"
] | 2 | JavaScript | Aga-de/travel-agency | 7508710305d089c69166e0f2eb9222ec48924430 | 86eb0b0e34b001885cf9a09e560254beba48f69c |
refs/heads/master | <repo_name>tilumina/pdf-generator<file_sep>/wpforms-pfd-generator.php
<?php
/*
Plugin Name: WPForms PDF Generator
Description: Plugin that extends functionallity of WPForms and extraxts all entry data to a PDF, so you can attach it at a confirmation mail.
Version: 1.0
Author: <NAME>
*/<file_sep>/README.md
# pdf-generat... | 1d57e7f7e2747c9ad39a3302b2bb5e504b90c5c5 | [
"Markdown",
"PHP"
] | 2 | PHP | tilumina/pdf-generator | e8c05564921e44f708b902d4b9159ae411efddf7 | aa2640e2419207bf76075e86addc950f2318dc2a |
refs/heads/master | <file_sep>import cv2, time,pandas
from datetime import datetime
video = cv2.VideoCapture(0)
first_frame = None
status_list=[None,None]
df = pandas.DataFrame(columns=["Start","End"])
while True:
check, frame = video.read()
status=0
gray = cv2.cvtColor(frame,cv2.COLOR_BGR2GRAY)
gray = cv2... | 26f66c332c4825526681fa35b60d55e78d3b1e03 | [
"Python"
] | 1 | Python | rajvie/python-webcam- | 218707b3f24f08665e93a94e7f9b825fac921418 | de32af1f204f385b6257874442018f73518412b7 |
refs/heads/master | <file_sep>import React, { Component } from 'react';
import styled from "styled-components";
import FullPageModalWrapper from './FullPageModalWrapper';
import Carousel from './CarouselWrapper';
import CTAButton from './CTAButton';
import BottomSlideModalWrapper from './BottomSlideModal';
import Logo from './Logo';
cons... | c2848b446dbed3ed32a382fa74a449e91f83094e | [
"JavaScript"
] | 22 | JavaScript | ara-97/akd-new | 66f74a6d7c837bb0dc52ba158e40622e76b2b586 | 04bab3f788f1b368e8358aafd2f67f6d97da7673 |
refs/heads/master | <file_sep>package _01_Searching_Algorithms;
import static org.junit.jupiter.api.Assertions.*;
import java.util.Random;
import org.junit.jupiter.api.Test;
class _04_SearchTest {
// A MINIMUM OF 3 TESTS ARE REQUIRED FOR EACH METHOD
@Test
public void testLinearSearch() {
//1. use the assertEquals method to tes... | 67c2b8972739e93b335c166e3a656c361efced1a | [
"Java"
] | 2 | Java | League-level3-student/level3-module2-FieryXY | b419449516af078e9a3077b77afcef02ba5a8936 | a28b44d956ae1ee6803aaf62cb190e951bc7ae1e |
refs/heads/master | <repo_name>jonahwilliams/dql<file_sep>/src/main.rs
/*
main hit damage - range /accuracy?
multiplied by crit multiple with a %chance
(110 - 120) * 95 + 0 * 5
[100, 0, 95]*[2.5, 1, 22]*2
TODO: fix the grammar ... and clean all this up ... so much
-- composed of splits
program = command... | 45cf6852487ab30157dc568ea0bd4fcb42a15a08 | [
"TOML",
"Rust"
] | 2 | Rust | jonahwilliams/dql | bacc8e87b08404829cb8237ec0a153949d5df659 | 9420d4b307363b4c3e28df508d40a9264b5eb14c |
refs/heads/main | <repo_name>b0bac/PyNoPSExec<file_sep>/README.md
# PyNoPSExec
**A Lateral Movement Tool Learned From SharpNoPSExec -- Twitter: @juliourena 根据@juliourena大神的SharpNOPsExec项目改写的横向移动工具**
+ Platform(平台): Windows 10
+ Language(语言): Python2
## 原理简介
**通过修改服务启动的二进制文件路径,然后启动服务来执行,对服务的要求是:**
+ 没有运行的手动启动或禁止启动的服务
+ 服务没有依赖项
+ 该脚... | 5831e0a6f83db75c8cae63975b16dfe483c657b5 | [
"Markdown",
"Python"
] | 2 | Markdown | b0bac/PyNoPSExec | 742566009ef1e50efc027c647dfb6d9d3ad968fe | 810f708bda3599fe45705990adc2be089aac59c2 |
refs/heads/master | <file_sep>(function () {
'use strict';
var fs = require('fs');
var path = require('path');
var forEachAsync = require('forEachAsync').forEachAsync;
var minify = require('html-minifier').minify;
var chokidar = require('chokidar');
var src = 'src/content/';
var dist = 'dist/';
var minifyOptions = {
... | 9e7d74909a621a68a22e8f20058dda6c86a6df0e | [
"JavaScript"
] | 3 | JavaScript | rhewitt22/jackie | efae946a7fc0bee7389f728889882029af705efe | 1daaedb32ff320f714d0a345b2c9e9ff4c8d5de9 |
refs/heads/master | <file_sep># Copyright (c) 2015, The MITRE Corporation. All rights reserved.
# See LICENSE.txt for complete terms.
from distutils.version import StrictVersion
import mixbox.xml
import stix
import stix.xmlconst as xmlconst
from . import ignored
class UnknownVersionError(Exception):
"""Raised when a parsed STIX d... | 162e4a21206ed2734222af7de7ba62cafcfc5a98 | [
"Python"
] | 1 | Python | Anderoo16/python-stix | 80bba078271290c7c2bf009c09182f9d5e02b78d | 413dc57c6ee7e7270fac66c7513cf137c0dc391f |
refs/heads/master | <repo_name>salalb/keras_custom_utils<file_sep>/keras_base_block.py
import warnings
from keras.models import Model
from keras.layers import Input, Dense
class KerasBlock:
"""
Base class for custom Keras blocks.
It generates a Keras block (stack of layers) that are callable as in the Keras f... | f6d045628d90bbf071508fb72bf5fd3ead58a136 | [
"Markdown",
"Python"
] | 4 | Python | salalb/keras_custom_utils | 762fd68239424e0dbac1765ed6f594077b9f2b26 | 5e9a034c0b803124acdbef562ea1d37cdeb1c385 |
refs/heads/master | <repo_name>ytu95035/Exp_Data_Analysis_Assignment2<file_sep>/plot4.R
# <NAME> Exploratory Data Analysis - Assignment 2
# Plot 4
# Across the United States, how have emissions from coal combustion-related sources changed from 1999-2008
#load ggplot2 library
library(ggplot2)
# Download the file into data folder
p... | 14d01cf0076367fc6720939e4be6451e10924bab | [
"R"
] | 6 | R | ytu95035/Exp_Data_Analysis_Assignment2 | 8dbe6bb0365a73ac16bf2055d0204daf753cd5ec | 6a9434bd2178be0f516df6900e61c599d4182238 |
refs/heads/master | <file_sep>class Product < ActiveRecord::Base
has_many :reviews
def review_average
if reviews.present?
reviews.average(:rate).round
end
end
end
| e3cb0951a88cda12f11680295415026985e00913 | [
"Ruby"
] | 1 | Ruby | sugeno974/mooovi3 | 1216372e615dc7d64b8d4f50dbaf6aea30917dc2 | f45bd73c1ccb845f77d49f1cee8496395d3e87b3 |
refs/heads/master | <file_sep>[package]
name = "hello"
version = "0.1.0"
authors = ["adjivas <<EMAIL>>"]
[[bin]]
name = "hello"
test = false
doc = false
[lib]
test = false
doctest = false
<file_sep>/// Homu
pub fn homu() {
}
| 8ac6776a52114e8ed75ad29ee148a5ae21b9c84d | [
"TOML",
"Rust"
] | 2 | TOML | adjivas/test | 12693fe47af8b2fa1d5a38a9269a2f8999635bd3 | 01bd0dfc0442a958da37befd2f2b55a7601d1915 |
refs/heads/master | <file_sep>/* Huffman.cpp
-------------------------------
<NAME>
CSCI 484
Question #6 Greedy Algorithms
*/
// acquire all necessary resources
#include <string>
using std::string;
#include <iostream>
using std::getline;
using std::cout;
using std::cin;
using std::endl;
#inclu... | 6085b2e386b2d2a660230ac6e7e885f598fe856e | [
"Markdown",
"C++"
] | 2 | C++ | Ibsardar/HuffmanEncoding | 20d17bba45519cdf34b136aafd7390d7f8a8d27f | 2606abbdaea7bace8b2b9783b2ee30bad093eca5 |
refs/heads/master | <repo_name>kvirani/w03d3-notes<file_sep>/public/js/app.js
$(() => {
// Augment the behavior of the submit/create form
$('#creatures-form').on('submit', (event) => {
// Don't let it submit naturally. We will do it async!
event.preventDefault();
// console.log('SUBMITTING');
// console.log(event);
... | b5cf6f3d19c6672183e4404c6018317de7b6fc2d | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | kvirani/w03d3-notes | 7097db22bf642783a53664dd5764bf6117558bc0 | b413bbfe264e80162a636f8bf9e822b8361b7259 |
refs/heads/master | <file_sep>#! python3
# letterModifier.py - Modify a master cover letter template to match the qualifications needed for a job.
from docxtpl import DocxTemplate
import datetime
from pathlib import Path
companyName = input('Which Company are you applying to?\n')
positionName = input('What Position are they filling?\n')... | 2d54ee2af8ba28826c2caacd52942f89a62c41a8 | [
"Markdown",
"Python"
] | 3 | Python | GlenLarkin/CoverLetter | 84db0a8ef1fd36d516345e6789e2ab65967b42cb | 44dfc478998233587cf8375a9eda235bdc17a3ef |
refs/heads/master | <file_sep>/*
* 文 件 名: SqlBuilderFactory.java
* 版 权: <NAME>
* 描 述: <描述>
* 修 改 人: 江钰锋
* 修改时间: 2013-12-18
* 跟踪单号: <跟踪单号>
* 修改单号: <修改单号>
* 修改内容: <修改内容>
*/
package dev.sqlite.util;
import dev.sqlite.util.sql.LBDeleteSqlBuilder;
import dev.sqlite.util.sql.LBInsertSqlBuilder;
import dev.sqlite.util.sql... | 612e8ed0685d1ee2410fd36f18a3be157d88b1ea | [
"Markdown",
"Java",
"Gradle"
] | 20 | Java | muxi95/BTClient- | 7cf44a3f19cbb37a0a9624c7eca827c6e240e4c2 | 3c639a610f0d29469718c8a678dd1607d0d2966e |
refs/heads/master | <repo_name>IthacaCollege/export-ddl<file_sep>/advance_init.sh
#!/usr/bin/env bash
. ./functions.sh
OWNERS="ITHACA"
runInit
<file_sep>/parnassus_init.sh
#!/usr/bin/env bash
# select LISTAGG(owner, ',') WITHIN GROUP (ORDER BY owner) from (select distinct owner from dba_objects where owner like '%MGR');
. ./functions... | 42384c26f6d26ccc202fbe919ad89bfd9fdb02bf | [
"Markdown",
"SQL",
"Shell"
] | 6 | Shell | IthacaCollege/export-ddl | 6dbf7b2999f4c5fe08f059c197833487c02cea27 | 7813f613135d486b524e38ca4396c2e10a840e26 |
refs/heads/master | <repo_name>cedricAbonnel/server-web<file_sep>/scripts/install-phpmyadmin
#!/bin/bash
#######################################
# Bash script to install an AMP stack and PHPMyAdmin plus tweaks. For Debian based systems. French version.
#
# Script bash pour installer Apache / MariaDB / PHP 7.4 / PHPMyAdmin pour Linux Debi... | a518aafe6d1ef75bc7bbadd6c866fc368cc159af | [
"Markdown",
"Shell"
] | 5 | Shell | cedricAbonnel/server-web | 354d77911d5aece68e88a4af36cad615062e3686 | e469021d94eb3c92c451eac45fc279514795ac1f |
refs/heads/master | <repo_name>neimadVN/flickr<file_sep>/src/App.js
import React, { Component } from 'react';
import { BrowserRouter as Router, Route, Switch } from "react-router-dom";
import './App.css';
import Explorer from './components/explorer/explorer.js';
import PhotoDetail from './components/photoDetail/photoDetail.js';
import Na... | 1d3e4735a20de17a41ff10ece4c127f01e8e51dd | [
"JavaScript"
] | 3 | JavaScript | neimadVN/flickr | a11cbeecabf84a89f922ec8d7fe8cfce680d75c0 | 84641965706572a437baad2b8c3a04b9fd1ed9a0 |
refs/heads/master | <file_sep><?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<gro... | 76452e8b957b68e31d37c462d3342c2f9bd5e504 | [
"Java",
"Maven POM"
] | 2 | Maven POM | bilak/eclipselinkspringbug | c702480f8196155d2108cde4abfd2a963a72bbf5 | f61570d9b40be529d75f8b70c1d9b10cc620abdf |
refs/heads/master | <file_sep># Power Hungry
# ============
#
# Commander Lambda's space station is HUGE. And huge space stations take a LOT of power. Huge space stations with doomsday devices take even more power. To help meet the station's power needs, Commander Lambda has installed solar panels on the station's outer surface. But the s... | fe37c97fb957ad063b739f319c6b6f47a57fe956 | [
"Python"
] | 9 | Python | manivija/python_progs | bea29f8785956765a1c03a50810276ccbc6142af | 9f7a3e94eea4d684f6498069f5b81f633489a047 |
refs/heads/master | <file_sep>package cz.uhk.fim.rssreader.gui;
import cz.uhk.fim.rssreader.model.RSSSource;
import cz.uhk.fim.rssreader.utils.FileUtils;
import javax.swing.*;
import javax.swing.border.CompoundBorder;
import javax.swing.border.EmptyBorder;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.Actio... | a2f1d3f7be9aececbf355649baa9e2b62ca25e9a | [
"Java"
] | 2 | Java | George222cz/RSSreader | 0f8bf2161499b62f338140c7f5e2f8f1575d54e7 | 23ffeab44c99b164704f094a58ef2347afd6deae |
refs/heads/master | <file_sep>import React, { Component } from 'react';
import Notifications, { notify } from './notifications';
class ExchangerService extends Component{
constructor(){
super();
this.state = {
ExchangeData: null,
base: "USD",
amount:"0",
convertTo:"EUR",
... | 07168f5fd5866b52b0c84c1ca82f66237239d103 | [
"JavaScript"
] | 6 | JavaScript | h0pped/normalny-react | a649b955a6bf200ad72a68ed056da5773eb842f2 | 2f751dad2a02f13bacf039b611b526c55a571eb9 |
refs/heads/master | <repo_name>antkorwin/common-utils<file_sep>/src/main/java/com/antkorwin/commonutils/validation/Guard.java
package com.antkorwin.commonutils.validation;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import com.antkorwin.commonutils.exceptions.BaseException;
import com.antkor... | 9f3cbbc1168c9e7aeeed306c32bc3edc6d895cdd | [
"Markdown",
"Java"
] | 13 | Java | antkorwin/common-utils | 643dc3e47321b625ad868a490ecb1db285b74a82 | 84b5005f97946d3b8258292c998922a77be76c18 |
refs/heads/master | <repo_name>adishimo/js-event-exercises<file_sep>/5/selectable list/script.js
let list = document.getElementsByTagName("li");
let selectedLi = null;
for (let li of list) {
li.addEventListener("click", eventHandler);
function eventHandler(event) {
li.classList.toggle("selected");
if (selectedLi !== null) {
... | 7a628159bda2ca7f020525b90242cf7c2d40ed08 | [
"JavaScript"
] | 6 | JavaScript | adishimo/js-event-exercises | 1375ac360cfb59dc4602deb8ea59451591410795 | efaacd2582a2f5294aae70dd81543df2ce56d076 |
refs/heads/master | <repo_name>jaremabielanski/BlueMedia<file_sep>/BlueMediaProject/PageObjects.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OpenQA.Selenium;
using OpenQA.Selenium.Support.PageObjects;
namespace BlueMediaProject
{
class Page... | ab257a8e6d9cde217e6527a670aeacc24e088c08 | [
"C#"
] | 3 | C# | jaremabielanski/BlueMedia | 1e2a07346f8683e0ae4c790ecc23f4f4b486a5a4 | 9bfc5b529e2ede8275062f844f06d006cd841b50 |
refs/heads/master | <repo_name>zacharysarette/clean-and-calm-palette<file_sep>/color_bases_and_values.rb
module ColorBasesAndValues
COLOR_BASES = ["pistacio", "rose", "lip", "honey", "sand", "emerald", "oribe", "river", "rain"]
COLOR_VALUES = ["_dark", "_dim", "", "_light", "_faint"]
end
<file_sep>/TODO.md
# Todo
---
- Make script... | 69c30ab2eea079008d3e874cd92572d07c988dfc | [
"Markdown",
"JavaScript",
"Ruby"
] | 7 | Ruby | zacharysarette/clean-and-calm-palette | a4ba4000f52e042914c7239add1bec5bcb75ae10 | 557b7f154171ec13e8ba7da03041dbfdd7342fd8 |
refs/heads/master | <repo_name>Andiakatz4/freelance-site<file_sep>/contactform.php
<?php
if (isset($_POST['submit'])) {
$name = $_POST['name'];
$lastName = $_POST['lastname'];
$subject = $_POST['subject'];
$mailFrom = $_POST['mail'];
$message = $_POST['message'];
$mailTo = "<EMAIL>";
$headers = "From: " .$ma... | 4696522614ae1234d14d799a0057319822b58ba3 | [
"JavaScript",
"PHP"
] | 2 | PHP | Andiakatz4/freelance-site | 1953501dd9fb008cd9b3ba66dc9f80fda3cda678 | de1817f79aac9c0ce94a7e0200a37853f0564d92 |
refs/heads/master | <repo_name>liu2856370/kekeshi<file_sep>/js/slider.js
/**
* slider插件可悬停控制
*/
; $(function ($, window, document, undefined) {
Slider = function (container, options) {
/*
options = {
auto: true,
time: 3000,
event: 'hover' | 'click',
mode: 'slide | ... | 9192f09dcef11f0df8b07831fcb3ab654059ba6d | [
"JavaScript"
] | 1 | JavaScript | liu2856370/kekeshi | a43a9e9725fed49ce0b6c2156494d0dcfd1b4893 | 8acab465c3af0717ade3978b72614dd9ce2ebe41 |
refs/heads/main | <repo_name>OrfeasTsk/CSec_CaptureTheFlag<file_sep>/run.sh
python3 payloads.py
while [ $? -gt 0 ]
do
python3 payloads.py
done
<file_sep>/scan_and_find.py
import base64
import time
import os
def getLeak(s):
auth = s + ":"
curl = "curl -I 'http://localhost:8000/' -H 'Authorization: Basic "+ base64.b64encod... | 1ec289811622e1549bd45c83d06d44daf608d946 | [
"Markdown",
"Python",
"Shell"
] | 7 | Shell | OrfeasTsk/CSec_CaptureTheFlag | 49943e3c73b74a0580a41cdc517fd81f181310d5 | da4b64d6435fcf8c9f8eebfec2c6afc4ffe31ce9 |
refs/heads/master | <file_sep>package bdouble;
import javax.swing.JFrame;
import javax.swing.SwingUtilities;
public class BDoubleApp implements Runnable {
@Override
public void run() {
BDoubleFrame frame = new BDoubleFrame("B-Double");
frame.setVisible(true);
}
/**
* @param args
*/
public static void main(String[] args... | d3c1fffb51bf7f43f4163d15a608c661d00694cb | [
"Makefile",
"Java",
"Text",
"C"
] | 10 | Java | AbeSkray/B-Double | 826907911f6aa56d13a66ea7f14706e65ef3fdf9 | 98aa56b9e34ec456dc40b0b6a4494567df1e4cf6 |
refs/heads/main | <file_sep>function setup() {
canvas = createCanvas(380, 380);
canvas.position(750,180);
video = createCapture(VIDEO);
video.hide();
}
function draw() {
image(video,0,0,380,380);
}
function modelLoaded() {
console.log("Model Is Injected");
}
| 45a7df99309932350b269a7d40ef06f315601b95 | [
"JavaScript"
] | 1 | JavaScript | sarthak23243/ai-object-finder | 22b83f1d464760fa0ab4ceafb91a36d3bc5e8d52 | 60cb5b7fce6ad2b066bd7f8db0aec96236eec443 |
refs/heads/master | <repo_name>lwkchan/boris-bikes2<file_sep>/lib/van.rb
class Van
def initialize
@bikes = []
end
attr_reader :bikes
def move_bikes(origin,destination)
@bikes << origin.bikes.slice!(0.. -1)
destination.broken_bikes = @bikes.flatten!
end
end
<file_sep>/spec/van_spec.rb
require 'van'
describe Van do
... | 97aca89719e71e32f82648d90721647e4e3a6f05 | [
"Ruby"
] | 5 | Ruby | lwkchan/boris-bikes2 | d5e922a16b47cb274ed528efc834ed012a695e10 | 6c20a5f3a2ff0839f999af148d47f8099b3ee40a |
refs/heads/master | <repo_name>AnuragNtl/procExplorer<file_sep>/README.md
<h1>procExplorer</h1>
<h2>Tool to help get an insight of running processes in Linux</h2>
<ul>
<li>Deeply show details of every process</li>
<li>Show files used by processes</li>
<li>Watch for changes for files used by processes and generate reports</li>
</ul>
<file... | 714c2d4d4c5e40a74aaf3a283fa1904f9b282cbc | [
"Markdown",
"C"
] | 2 | Markdown | AnuragNtl/procExplorer | 987b8f974e5aefcbe420a05ae04835d1571a78f1 | 3b566d4662aba8612832b691aaf405b19d969a53 |
refs/heads/master | <file_sep>INSERT INTO Branches VALUES (
LocationType('Beech Street', 'London', 'WS11 00'),
PhoneNumberType('01383', '501293')
);
INSERT INTO Branches VALUES (
LocationType('Camberwell Grove', 'London', 'WS11 01'),
PhoneNumberType('01383', '835242')
);
INSERT INTO Branches VALUES (
LocationType('Clerkenwell', ... | 0ed39b5559b950acbcdaa3a15134e42272e4f3d6 | [
"SQL",
"Python"
] | 6 | SQL | AbstractBeliefs/ADBS-Coursework-2016 | b69a2fdc8d21b07d719f4bfd54bd4b973bb96776 | 59f6fe9186e06d11042d6dc2923b9ffe85380a71 |
refs/heads/master | <file_sep>---
title: Unsplash
date: 2017-10-08
author: <NAME>
author_profile: false
comments: true
share: true
categories:
- photography
tags:
- stock
- pics
---
I've been speding some time around [Unsplash](https://unsplash.com). The site allows anyone to download high resolution, high quality pictures without any usa... | 4a8593b6616aecc66e1f447017b2552b26db77bb | [
"Markdown",
"JavaScript",
"Ruby"
] | 23 | Markdown | theapplegates/helpme | 271735c6e47d42ec448dbf0297a864bdcdba1fb5 | 58e5dc475b5849281b21aadb00fae770956da5ee |
refs/heads/master | <file_sep>#ifndef FCFS_H_INCLUDED
#define FCFS_H_INCLUDED
using namespace std;
void findwTfcfs(int n, int tablica[][6]); // liczenie wT
void findtaTfcfs(int n, int tablica[][6]); // liczenie taT
float wTsrfcfs(int n, int tablica[][6]); // liczenie lacznego wT
float taTsrfcfs(int n, int tablica[][6]); // liczenie laczn... | 11610fc12df69cfadd00c8a76f1866925c3940ab | [
"C++"
] | 11 | C++ | mwyszkowski/process-scheduling-cpp | a097c9e61a5836c0612c64e3c3830461ed313ef8 | c55ae9b77f82d7c64d7df962f4746bdf8ad243fc |
refs/heads/master | <repo_name>ddropx/swift-lesson-9.playground<file_sep>/Contents.swift
//task 1
let text = "Lorem ip1sum dolor sit amet, cons4ectetur adipiscing elit. N5unc sem lorem convallis egetq2uam vel, dignissim veh6icula risus! Qu2isque pellentesque velit ac el8eifend rutrum? Su3spendisse pot7enti."
var vowels = 0
var consonants... | bb3e65576eb67a725b93c328f9b50fb69ce43ddd | [
"Swift"
] | 1 | Swift | ddropx/swift-lesson-9.playground | 7e179ed792e89c8343eb27c179cf0c6e14d2259f | f0e25340d626127cd8747214eddb20afeed3f093 |
refs/heads/master | <file_sep>//package com.example.jsonexample;
//
//import android.graphics.Movie;
//import android.os.Handler;
//import android.os.Looper;
//import android.util.Log;
//
//import com.google.gson.Gson;
//import com.google.gson.JsonArray;
//import com.google.gson.JsonElement;
//import com.google.gson.JsonObject;
//import c... | 3c9907ca837bece134ed82fc04fd04cb2d3bf342 | [
"Java"
] | 1 | Java | LEE-JAEHAK/JsonExample | a8413d0bbadb3b723a18a6e65fd465248fef4018 | 344ad95325aaec85ad9c710b100c91e17f64aaa8 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.