Skip to content

Instantly share code, notes, and snippets.

View dstalor's full-sized avatar
🇮🇱
עם ישראל חי!

Daniel Tal-Or dstalor

🇮🇱
עם ישראל חי!
View GitHub Profile
// create a bookmark and use this code as the URL, you can now toggle the css on/off
// thanks+credit: https://dev.to/gajus/my-favorite-css-hack-32g3
// and: https://gist.github.com/vcastroi
javascript: (function() {
/* use style instead of * so it doesn't need to parse everything */
var elements = document.body.getElementsByTagName('style');
var items = [];
for (var i = 0; i < elements.length; i++) {
if (elements[i].innerHTML.indexOf('* { background: rgba(255,0,0,.2) !important;color:#0f0!important;outline:solid #f00 1px!important; }') != -1) {
@dstalor
dstalor / keybase.md
Last active February 21, 2017 22:28

Keybase proof

I hereby claim:

  • I am dstalor on github.
  • I am dstalor (https://keybase.io/dstalor) on keybase.
  • I have a public key whose fingerprint is 20F2 372E 4898 95A6 C1E9 AD64 E4AC 19A7 6AFB DA81

To claim this, I am signing this object:

@dstalor
dstalor / Cap_First.sql
Created September 10, 2013 06:26
Capitalizes the first letter of each word.
CREATE FUNCTION CAP_FIRST (input VARCHAR(255))
RETURNS VARCHAR(255)
DETERMINISTIC
BEGIN
DECLARE len INT;
DECLARE i INT;