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
| # MacBook Migration Script | |
| # | |
| # A simple script to move over your important stuff. | |
| # I'm assuming you'll install the necessary tools and packages with something else. | |
| # | |
| # Prepare your mac before running this: | |
| # 1. Enable SSH access on your old machine | |
| # 2. Go to System Settings > Privacy & Security > Full Disk Access | |
| # and enable it for "sshd-keygen-wrapper" | |
| # 3. On your new mac, download this script and make it executable by running |
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
| javascript:(function(){ document.querySelector('body').style.backgroundColor = '#EEEEEE'; }()); |
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
| ## | |
| ## Add awesome git functions to check differentiation between branches: | |
| ## | |
| ## See http://stackoverflow.com/questions/53569/how-to-get-the-changes-on-a-branch-in-git | |
| ## | |
| function parse_git_branch { | |
| /usr/bin/git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/' | |
| } | |
| function print_branch { |
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
| {% capture header %} | |
| {% if page.title %} | |
| <meta property="og:type" content="article" /> | |
| <meta property="og:title" content="{{ page.title }} – {{ site.title }}" /> | |
| {% if page.url %} | |
| <meta property="og:url" content="{{ site.url }}{{ page.url }}" /> | |
| {% endif %} | |
| {% else %} | |
| <meta property="og:type" content="website" /> |
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
| ## Based on http://themesforge.com/featured/high-performance-wordpress-part-3/ | |
| # W3TC config rules based on http://elivz.com/blog/single/wordpress_with_w3tc_on_nginx/ | |
| server { | |
| listen 80; ## listen for ipv4; this line is default and implied | |
| #listen [::]:80 default ipv6only=on; ## listen for ipv6 | |
| # Tell nginx to handle requests for the www.engin.ex domain | |
| server_name www.blomandblom.com blomandblom.com; |
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
| # ---------------------------------------------------------------------- | |
| # Expires headers (for better cache control) | |
| # via http://www.paulund.co.uk/set-expire-headers-in-htaccess | |
| # ---------------------------------------------------------------------- | |
| # | |
| # These are pretty far-future expires headers | |
| # They assume you control versioning with cachebusting query params like: | |
| # <script src="application.js?20100608"> | |
| # Additionally, consider that outdated proxies may miscache | |
| # |
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
| # Gemfile | |
| source "http://rubygems.org" | |
| gem "rack" |
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
| javascript:void((function()%7Bvar%20e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('charset','UTF-8');e.setAttribute('src','//assets.pinterest.com/js/pinmarklet.js?r='+Math.random()*99999999);document.body.appendChild(e)%7D)()); |
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
| <meta property="og:site_name" content="{Title}" /> | |
| <meta property="fb:app_id" content="FB_APP_ID" /> | |
| <meta property="fb:admins" content="FB_ADMIN_ID" /> | |
| <meta property="og:description" content="{MetaDescription}" /> | |
| <meta property="og:locale" content="en_US" /> | |
| {block:IndexPage} | |
| <meta property="og:image" content="{PortraitURL-128}" /> | |
| <meta property="og:title" content="SITE_NAME" /> | |
| <meta property="og:type" content="blog" /> |
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
| <iframe src="http://handigekasten.nl/widget.html" width="240" height="355" frameborder="0"></iframe> |