curl -sL https://gist.github.com/jadb/4b4fe07b778da8a6c377/raw/jetbrains-uninstall.sh | bash -s
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
ruleset: | |
one_suggestion: | |
name: "a single suggestion / PR" | |
events: [ pull_request ] | |
message: > | |
@{{ user.login }}, please only add one suggestion per PR. | |
when: | |
- action = "opened" or action = "reopened" | |
- additions > 1 | |
- files has "README.md" |
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 | |
/** | |
* GitHub webhook handler template. | |
* | |
* @see https://developer.github.com/webhooks/ | |
* @author Miloslav Hůla (https://github.com/milo) | |
* @author Jad Bitar (https://github.com/jadb) | |
*/ |
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
Verifying that +jadbitar is my blockchain ID. https://onename.com/jadbitar |
I hereby claim:
- I am jadb on github.
- I am jadb (https://keybase.io/jadb) on keybase.
- I have a public key whose fingerprint is B7C5 9B7A EDBE B134 3D52 FD0A EFF3 7D81 D6E7 BE42
To claim this, I am signing this object:
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 | |
namespace FluxCtrl\Model\Hose; | |
use Cake\Collection\Collection; | |
use Cake\ORM\TableRegistry; | |
use FluxCtrl\Datasource\HoseInterface; | |
use FluxCtrl\Model\Entity\Feed; | |
use PicoFeed\Parser\Item; | |
use PicoFeed\PicoFeedException; | |
use PicoFeed\Reader\Reader; |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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://www.lifeathighroad.com/web-development/forcing-to-wraps-to-the-width-of-an-image-using-css-only/ | |
figure { | |
display: table; | |
width: 1px; | |
} | |
figure.center { margin: 0 auto 1.5em; } | |
figure.left { float: left; margin-right: 1.5em; } | |
figure.right { float: right; margin-left: 1.5em; } | |
// as per the comments on the previous link, when img's max-width is set to 100%, it breaks |
- Ability to disable autoselect of first matched element.
- Ability to automatically set the width of the dropdown to that of the text input.
- Ability to fetch source element via AJAX
- Ability to have a comma separated list of tags.
For the proper source, and other examples, please see the original gist.
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://pwfisher.com/nucleus/index.php?itemid=45 | |
This command line option parser supports any combination of three types of options (switches, flags and arguments) and returns a simple array. | |
<?php | |
/** | |
* CommandLine class | |
* | |
* @package Framework | |
*/ | |
/** |
NewerOlder