Instantly share code, notes, and snippets.

💀
alter.

# gregory nicholasgregorynicholas

💀
alter.
• Sort options
Created Apr 21, 2020 — forked from noobh4x/noobrecon.sh
View noobrecon.sh
 #!/bin/bash #################################### # Config ################## HTTPROBE_CONCURRENCY=100 HTTPROBE_TIMEOUT=3000 DIRSEARCH_THREADS=50
Created Mar 21, 2020 — forked from vijayarun/cyclic-rotation.markdown
Cyclic Rotation
View cyclic-rotation.markdown

# Cyclic Rotation - Array

An array A consisting of N integers is given. Rotation of the array means that each element is shifted right by one index, and the last element of the array is moved to the first place. For example, the rotation of array A = [3, 8, 9, 7, 6] is [6, 3, 8, 9, 7] (elements are shifted right by one index and 6 is moved to the first place).

The goal is to rotate array A K times; that is, each element of A will be shifted to the right K times.

Write a function:

function solution(\$A, \$K);

Created Mar 20, 2020 — forked from Liath/fedtax.js
US Federal Income Tax calculator in javascript
View fedtax.js
 // Weekly Employee Income Withholding Calculator by GitHub#Liath // Based on IRS Circular E - http://www.irs.gov/pub/irs-pdf/p15.pdf // Per the "Percentage Method" var w = { s : { // Single 0 : { p : 0, s : 0 }, 44 : { p: 0.1, s: 0 }, 222 : { p: 0.15, s: 17.8 }, 764 : { p: 0.25, s: 99.1 }, 1789 : { p: 0.28, s: 355.35 },
Created Mar 19, 2020 — forked from joeytwiddle/github_get_all_forks.sh
Add all forks of the current repo as remotes
View github_get_all_forks.sh
 #!/usr/bin/env bash set -e # See also: https://github.com/frost-nzcr4/find_forks (same thing but in python) origin_url="\$(git remote show origin | grep 'Fetch URL:' | sed 's+.*: ++')" full_repo_name="\$(echo "\$origin_url" | sed 's+.*github.com/++')" forks_url="https://api.github.com/repos/\${full_repo_name}/forks"
Created Mar 19, 2020 — forked from nnja/reading.md
copied from https://github.com/techcoop/resources
Created Mar 19, 2020 — forked from mblondel/letor_metrics.py
Learning to rank metrics.
View letor_metrics.py
 # (C) Mathieu Blondel, November 2013 # License: BSD 3 clause import numpy as np def ranking_precision_score(y_true, y_score, k=10): """Precision at rank k Parameters
Created Mar 19, 2020 — forked from bwhite/rank_metrics.py
Ranking Metrics
View rank_metrics.py
 """Information Retrieval metrics Useful Resources: http://www.cs.utexas.edu/~mooney/ir-course/slides/Evaluation.ppt http://www.nii.ac.jp/TechReports/05-014E.pdf http://www.stanford.edu/class/cs276/handouts/EvaluationNew-handout-6-per.pdf http://hal.archives-ouvertes.fr/docs/00/72/67/60/PDF/07-busa-fekete.pdf Learning to Rank for Information Retrieval (Tie-Yan Liu) """ import numpy as np
Created Nov 17, 2019 — forked from mogsdad/GCalUtils.md
View GCalUtils.md

## getEventsWithGuest

Gets all events that occur within a given time range, and that include the specified guest email in the guest list.

###Parameters:###

Created Nov 17, 2019 — forked from daichan4649/convertSheet2Json.gs