One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| # put this in your .bash_profile | |
| if [ $ITERM_SESSION_ID ]; then | |
| export PROMPT_COMMAND='echo -ne "\033];${PWD##*/}\007"; ':"$PROMPT_COMMAND"; | |
| fi | |
| # Piece-by-Piece Explanation: | |
| # the if condition makes sure we only screw with $PROMPT_COMMAND if we're in an iTerm environment | |
| # iTerm happens to give each session a unique $ITERM_SESSION_ID we can use, $ITERM_PROFILE is an option too | |
| # the $PROMPT_COMMAND environment variable is executed every time a command is run | |
| # see: ss64.com/bash/syntax-prompt.html |
I hereby claim:
To claim this, I am signing this object:
| .MediaObject { | |
| @include media-object-container; | |
| &__section{ | |
| @include media-object-section(); | |
| } | |
| } |
| <?php | |
| /** | |
| * This service provider handles a few custom validation rules. | |
| * | |
| * PHP version 5.5.9 | |
| * @package Snipe-IT | |
| * @version v3.0 | |
| */ | |
| namespace App\Providers; |
| /* Very specific to my use case */ | |
| /* ORIGINAL CODE */ | |
| // Regex pattern | |
| var re = /src="(.*?)"\s{1,}type="video\/mp4"/; | |
| // Scan DOM for a match | |
| var array = re.exec(document.body.innerHTML); |
| var gulp = require('gulp'); | |
| var util = require('gulp-util'); | |
| var concat = require('gulp-concat'); | |
| var stylus = require('gulp-stylus'); | |
| var kouto = require('kouto-swiss'); | |
| var poststylus = require('poststylus'); | |
| var paths = { | |
| styles: { |
| wget https://phar.phpunit.de/phpunit.phar | |
| chmod +x phpunit.phar | |
| sudo mv phpunit.phar /usr/local/bin/phpunit | |
| phpunit --version |