| title | type | date |
|---|---|---|
Bento Remote Workflow Presentation |
docs |
2026-02-04 |
This file contains hidden or 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 Github Custom Dark Mode | |
| // @namespace http://github.com | |
| // @version 0.1 | |
| // @description A lighter version of Github's dark mode but not as light as the "dimmed" dark mode. | |
| // @author Boston Dell-Vandenberg | |
| // @match https://github.com/* | |
| // @icon https://www.google.com/s2/favicons?domain=github.com | |
| // @grant none | |
| // ==/UserScript== |
This file contains hidden or 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
| type IRow = number[] | |
| type IBoard = IRow[] | |
| const board: IBoard = [ | |
| [4, 5, 0, 8, 0, 0, 9, 0, 0], | |
| [0, 9, 0, 0, 5, 6, 0, 0, 4], | |
| [1, 0, 0, 0, 0, 0, 0, 0, 7], | |
| [2, 6, 0, 5, 4, 0, 0, 9, 0], | |
| [0, 0, 4, 1, 0, 2, 3, 0, 0], | |
| [0, 7, 0, 0, 6, 9, 0, 4, 8], |
I hereby claim:
- I am bostondv on github.
- I am bostondv (https://keybase.io/bostondv) on keybase.
- I have a public key ASDnukNDioQD-R1I2jQtRf3QSpAAucRAo2T6VRtTpFeD9go
To claim this, I am signing this object:
-
Setup project repository using Bedrock
-
Add bedrock-capistrano to project
-
Configure
config/deploy/*.rbfiles and add the following to each.set :deploy_to, '/home/USERNAME/webapps/SITENAME' set :tmp_dir, '/home/USERNAME/tmp'
This file contains hidden or 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 | |
| /** | |
| * Plugin Name: WP REST API CORS | |
| * Description: Fixes to enable <a href="http://www.html5rocks.com/en/tutorials/cors/">CORS</a> for the <a href="https://github.com/WP-API/WP-API">WP REST API</a>. | |
| * Author: Boston Dell-Vandenberg | |
| * Author URI: http://pomelodesign.com | |
| * Version: 1.0.0 | |
| * Plugin URI: https://github.com/thenbrent/WP-API-CORS | |
| */ |
This file contains hidden or 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
| cd $HOME | |
| mkdir $HOME/bin | |
| ln -s `which php70` $HOME/bin/php | |
| echo 'export PATH=$HOME/bin:$PATH' >> $HOME/.bashrc | |
| source $HOME/.bashrc | |
| curl -sS https://getcomposer.org/installer | php | |
| mv $HOME/composer.phar $HOME/bin/composer | |
| curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar | |
| chmod +x wp-cli.phar | |
| mv $HOME/wp-cli.phar $HOME/bin/wp |
This file contains hidden or 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
| # .htaccess main domain to subdirectory redirect | |
| RewriteEngine on | |
| RewriteCond %{HTTP_HOST} ^(www.)?domain.com$ | |
| RewriteCond %{REQUEST_URI} !^/web/ | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| RewriteRule ^(.*)$ /web/$1 | |
| RewriteCond %{HTTP_HOST} ^(www.)?domain.com$ | |
| RewriteRule ^(/)?$ web/index.php [L] |
This file contains hidden or 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/local/bin/python2.5 | |
| import subprocess | |
| import sys | |
| import re | |
| import os,pwd | |
| from pprint import pprint | |
| class TerminalController: | |
| """ |
The popular open-source contract for web designers and developers by Stuff & Nonsense
- Originally published: 23/12/2008
- Revised date: 15/12/2013
- Original post
NewerOlder