Skip to content

Instantly share code, notes, and snippets.

View Ore4444's full-sized avatar

Ore Landau Ore4444

  • mostly-keep-own-company
  • Israel
View GitHub Profile
class Context {
constructor(...args) {
this[Symbol.for('isContext')] = true;
Object.assign(this, ...args);
}
}
class Reporter {
constructor() {
this.LOG = 'log';
@Ore4444
Ore4444 / fn.md
Created November 11, 2015 20:37 — forked from wendyck/fn.md
footnotes file from a word doc

#Footnotes in file

  1. Brian D. Eyink , Note, Constitutional Secrecy: Aligning National Security Letter Nondisclosure Provisions with First Amendment Rights , 58 Duke L.J . 473, 481 (2008).
  2. US Dept. of Justice Office of the Inspector General, A Review of the Federal Bureau of Investigation's Use of National Security Letters: Assessment of Progress in Implementing Recommendations and Examination of Use in 2007 through 2009 , 2, 3 August 2014, available at http://www.justice.gov/oig/reports/201 4/s1408.pdf (“National security letters are written directives to produce records that the FBI issues to third parties such as telephone companies, Internet service providers, financial institutions, and consumer credit reporting agencies… each NSL statute has special certification and notification requirements when the FBI invokes the statute's nondisclosure provisions. Each NSL statute permits the FBI Director, or the appropriate designee, to prohibit the recipient of an NSL from disclosing to any person that the
Verifying I am +ore4444 on my passcard. https://onename.com/ore4444
@Ore4444
Ore4444 / onTouchPoint.js
Created May 30, 2015 03:54
onTouchPointJS
function onTouchPoint(element, callback) {
//TODO: use pointer events
window.addEventListener('click', function (evt) {
var x = evt.clientX;
var y = evt.clientY;
console.log("mouse pos:"+ x +","+ y);
console.log("element pos:"+ $(element).offset().left +","+ ($(element).offset().top - $(window).scrollTop()).toString() );