This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
name { | |
display: inline-block; | |
width: 200px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// return array of [r,g,b,a] from any valid color. if failed returns undefined | |
function colorValues(color) | |
{ | |
if (!color) | |
return; | |
if (color.toLowerCase() === 'transparent') | |
return [0, 0, 0, 0]; | |
if (color[0] === '#') | |
{ | |
if (color.length < 7) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name לוח טרמפים בלי חפשנים | |
// @namespace https://www.facebook.com | |
// @version 3 | |
// @author You | |
// @match https://www.facebook.com/groups/198031415602/* | |
// @grant unsafeWindow | |
// @updateURL http://softov.org/tremp.user.js | |
// @downloadURL http://softov.org/tremp.user.js | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name The Facebook Limiter | |
// @namespace http://tampermonkey.net/ | |
// @version 4 | |
// @description Helps in your goals to limit the use of youtube/facebook to 1 hour. Edited by Oria. | |
// @author theKidOfArcrania | |
// @include http*://www.facebook.com* | |
// ==/UserScript== | |
/* jshint -W097 */ | |
'use strict'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// call the handler now and on events | |
jQuery.fn.extend({ | |
onAndNow: function(events, func) { | |
// TODO: Support the data object | |
return this.each(func).on(events, func); | |
} | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. create a mysql db with the following tables: | |
items | |
item_id name category_id | |
categories | |
category_id name | |
2. add some initial categories and items. | |
3. create an html page that displays the items grouped by category (any interpretation is fine). | |
4. add a way to add new items. the item should also be added to the page instantly (ajax/SPA). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://s3.amazonaws.com/trampt/images/products/000/308/156/Original_Drawing_1084-Chris_Ryniak-Graphite-trampt-308156m.jpg | |
http://s3.amazonaws.com/trampt/images/products/000/308/155/Original_Drawing_1081-Chris_Ryniak-Graphite-trampt-308155m.jpg | |
http://s3.amazonaws.com/trampt/images/products/000/308/154/Original_Drawing_1062-Chris_Ryniak-Graphite-trampt-308154m.jpg | |
http://s3.amazonaws.com/trampt/images/products/000/308/153/Original_Drawing_1049-Chris_Ryniak-Graphite-trampt-308153m.jpg | |
http://s3.amazonaws.com/trampt/images/products/000/308/152/Original_Drawing_1048-Chris_Ryniak-Graphite-trampt-308152m.jpg | |
http://s3.amazonaws.com/trampt/images/products/000/308/151/Original_Drawing_1041-Chris_Ryniak-Graphite-trampt-308151m.jpg | |
http://s3.amazonaws.com/trampt/images/products/000/308/150/Original_Drawing_1035-Chris_Ryniak-Graphite-trampt-308150m.jpg | |
http://s3.amazonaws.com/trampt/images/products/000/308/149/Original_Drawing_1033-Chris_Ryniak-Graphite-trampt-308149m.jpg | |
http://s3.amazonaws.com/trampt/images/products/0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
picture codenames: | |
https://codenames.dport.me/ | |
enter this url below | |
https://gist.github.com/oriadam/3b77af6f9c5e941f9586b0ff0e698acd/raw/b4a75b0ce6597ee0eef63ee68b730525e596f79f/links-to-images.txt | |
go to options and set 'strech' off, 'expand' on | |
word codenames: | |
https://www.horsepaste.com | |
turn off the english dictionary then turn on the hebrew one |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$iterations = $argv[1] ?: 10000; | |
/** | |
* Arrays to check | |
*/ | |
$tests = array( | |
array(array( | |
'foo' => 'bar', | |
)), | |
array(array( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Desktop Entry] | |
Version=1.0 | |
Type=Application | |
Name=hdmi audio | |
Comment= | |
Exec=pactl set-card-profile 0 output:hdmi-stereo | |
Icon= | |
Path= | |
Terminal=false | |
StartupNotify=false |
OlderNewer