Skip to content

Instantly share code, notes, and snippets.

View hctilg's full-sized avatar
🌱
Studying for the entrance exam (Konkour)

Mahi hctilg

🌱
Studying for the entrance exam (Konkour)
View GitHub Profile
@roachhd
roachhd / README.md
Last active July 18, 2024 07:24
Basics of BrainFuck

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

BrainFuck Programming Tutorial by: Katie

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

INTRODUCTION

export default function microtime(getAsFloat) {
// discuss at: http://locutus.io/php/microtime/
// original by: Paulo Freitas
// improved by: Dumitru Uzun (http://duzun.me)
// example 1: var $timeStamp = microtime(true)
// example 1: $timeStamp > 1000000000 && $timeStamp < 2000000000
// returns 1: true
// example 2: /^0\.[0-9]{1,6} [0-9]{10,10}$/.test(microtime())
// returns 2: true
@natebass
natebass / quotes.json
Created June 20, 2016 07:29
A list of random quotes
[{"quote": "Life isn’t about getting and having, it’s about giving and being.", "author": "Kevin Kruse"},
{"quote": "Whatever the mind of man can conceive and believe, it can achieve.", "author": "Napoleon Hill"},
{"quote": "Strive not to be a success, but rather to be of value.", "author": "Albert Einstein"},
{"quote": "Two roads diverged in a wood, and I—I took the one less traveled by, And that has made all the difference.", "author": "Robert Frost"},
{"quote": "I attribute my success to this: I never gave or took any excuse.", "author": "Florence Nightingale"},
{"quote": "You miss 100% of the shots you don’t take.", "author": "Wayne Gretzky"},
{"quote": "I’ve missed more than 9000 shots in my career. I’ve lost almost 300 games. 26 times I’ve been trusted to take the game winning shot and missed. I’ve failed over and over and over again in my life. And that is why I succeed.", "author": "Michael Jordan"},
{"quote": "The most difficult thing is the decision to act, the rest is merely tenacity.", "author": "
From Zero to ZeroDay Journey: Router Hacking (WRT54GL Linksys Case)
===================================================================
- Leon Juranic <leon[at]defensecode.com>
http://www.defensecode.com/
Date: 03/10/2013
@pvrego
pvrego / Colored Github README.md
Last active June 23, 2024 18:49
How to make README.md files with colored texts in Github

Colored text #1

You can use the diff language tag to generate some colored text:

- text in red
+ text in green
! text in orange
# text in gray
@@ text in purple (and bold)@@
@ascpixi
ascpixi / decrease.js
Last active March 6, 2024 03:07
🔊 YouTube gain control bookmarklets
javascript:(()=>{var $=(d)=>{return document.querySelector(d)};if(!window.K){var a=new AudioContext();var g=a.createGain();window.e=g;window.K=1.5;g.gain.value=1.5;a.createMediaElementSource($("video")).connect(g);g.connect(a.destination)}else{window.K/=2;window.e.gain.value=window.K}var f=$("#gV");if(f){f.remove()}let V=document.body.appendChild(document.createElement("div"));V.style="padding:8px;position:fixed;z-index:9999;background-color:#000000ee;color:#fff;font-size:2em;border-bottom:red solid 1px";V.innerText="Gain changed to "+window.K;V.id="gV";setTimeout(()=>{V.remove()},2000)})()