- Summernote - Amazing WYSIWYG editor with badass plugin architecture
- Medium Editor - Clone of Medium's incredible WYSIWYG editor
- Slack Themes - Themes for Slack. Duh.
- Multi-Level Push Menu - Sexy sidebar library that displays nested shelves
- Awesomeplete - Sexy autocomplete with zero dependencies
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 Sarciszewski\Gists; | |
/** | |
* This is a proof of concept code! DO NOT USE THIS! | |
*/ | |
class PasswordLock | |
{ | |
const KEY = '4ff556f7b1db2dd95906c21a45ef00344abdb38934450263ee7a908facc05070'; |
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 | |
declare(ticks=1); | |
/* | |
This is your container for workers, it is only used in the process itself, so there is no need to descend from pthreads | |
*/ | |
class Pool { | |
public $max; | |
public $config; | |
public $stop; |
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
#!/usr/bin/env sh | |
vagrant=$(which vagrant) | |
awk=$(which awk) | |
printf "Gathering a list of machines. " | |
machines=$(vagrant global-status --prune 2>/dev/null | $awk '/running/ {print $5}') | |
if [ ! -z "${machines[@]}" ] | |
then |
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
#!/usr/bin/env coffee | |
################################################################# | |
# credit goes to: jphass, because I totally ripped off his code # | |
# (https://gist.github.com/jphaas/ad7823b3469aac112a52) # | |
################################################################# | |
################################################################################################# | |
# INSTALLING # | |
# # |
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
#!/usr/bin/php | |
<?php | |
require __DIR__ . '/../../vendor/autoload.php'; | |
/** | |
* Dependencies: | |
* - Symfony Console Component: symfony/console | |
* - Symfony Process Component: symfony/process | |
* - PHP Mess Detector: phpmd/phpmd |
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
#!/bin/bash | |
set -eo pipefail | |
semver_regex="^(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)(\-[0-9A-Za-z-]+(\.[0-9A-Za-z-]+)*)?(\+[0-9A-Za-z-]+(\.[0-9A-Za-z-]+)*)?$" | |
usage="\ | |
Usage: | |
$0 | |
$0 show |
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
sudo rm -rf / |
# env.rb or spec_helper.rb
Capybara.register_driver :poltergeist do |app|
opts = {
extensions: ["#{Rails.root}/features/support/phantomjs/disable_animations.js"] # or wherever
}
Capybara::Poltergeist::Driver.new(app, opts)
end
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
vendor/ | |
composer.lock |
OlderNewer