The popular open-source contract for web professionals by Stuff & Nonsense
- Originally published: 23rd December 2008
- Revised date: March 15th 2016
- Revised by Bytes Unlimited : Feb 3rd 2020
| #! /bin/bash | |
| # ===================================================== | |
| # * macOS Maintenance Script * | |
| # * Written by Kristan M. Kenney (iCeFuSiOn) * | |
| # * Modified by Mike Wilkie (github.com/MikeWilkie) * | |
| # * Last modified on May 1, 2018 06:05:18 PM EST * | |
| # * Revision 1.0.1c * | |
| # * For use on macOS 10.13 High Sierra Only! * | |
| # * I AM NOT RESPONSIBLE IF YOU DO SOMETHING WRONG! * |
| #!/bin/bash | |
| # To install: | |
| # add to ~/Scripts/ | |
| # add "alias brewup='~/Scripts/brewup.sh'" to ~/.bash_profile | |
| brew update -a; brew upgrade -a; brew prune; brew cleanup; brew cu -a -y; brew cask cleanup; brew doctor; |
| <div style="font-family: sans-serif;"> | |
| <? var data = valid(); ?> | |
| <form id="form" name="form"> | |
| <? if(Object.prototype.toString.call(data) === '[object Array]') { ?> | |
| <? for (var i = 0; i < data.length; i++) { ?> | |
| <? for (var j = 0; j < data[i].length; j++) { ?> | |
| <input type="checkbox" id="ch<?= '' + i + j ?>" name="ch<?= '' + i + j ?>" value="<?= data[i][j] ?>"><?= data[i][j] ?><br> | |
| <? } ?> | |
| <? } ?> | |
| <? } else { ?> |
| [{ | |
| "name": "Alabama", | |
| "abbreviation": "AL" | |
| }, { | |
| "name": "Alaska", | |
| "abbreviation": "AK" | |
| }, { | |
| "name": "American Samoa", | |
| "abbreviation": "AS" | |
| }, { |
| git branch -m old_branch new_branch # Rename branch locally | |
| git push origin :old_branch # Delete the old branch | |
| git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote |
| /* ---------------------------------------------------------- */ | |
| /* */ | |
| /* A media query that captures: */ | |
| /* */ | |
| /* - Retina iOS devices */ | |
| /* - Retina Macs running Safari */ | |
| /* - High DPI Windows PCs running IE 8 and above */ | |
| /* - Low DPI Windows PCs running IE, zoomed in */ | |
| /* - Low DPI Windows PCs and Macs running Firefox, zoomed in */ | |
| /* - Android hdpi devices and above */ |