CLI quick tips
Amazon AWS S3Excerpt from Docs:AWS:Using High-Level s3 Commands
Open terminal
and paste the following:
S3 copy
- to upload a world-readable file:
Excerpt from Docs:AWS:Using High-Level s3 Commands
Open terminal
and paste the following:
Courtesy of Life Hacker
Open terminal
and paste the following one-liner:
defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}'; killall Dock
When the Dock restarts, there should be a draggable blank space that you can move anywhere.
I encountered this message first using Xcode 7 (GA) this week after loading a project I had successfully built with Xcode 6.x. Apparently, a new default security restriction is to disallow any non-encrypted HTML (i.e., not SSL/HTTPS) The workaround is fairly simple, albeit risky if not properly addressed (see warning below) - allow non-SSL sources via an entry in your app's info.plist file.
For more info, along with a more elegant and formal approach, see this post (thanks to the OP!) on StackOverflow
Hack 2.0 is a typeface specifically targeting coders - easy-to-read with enhanced glyphs that can help reduce typos (zeros vs. O's, semi- vs. colons, parentheses vs. curly braces, etc.)
Download this (or the latest) Hack 2.0 typeface from https://github.com/chrissimpkins/Hack/releases/download/v2.010/Hack-v2_010-ttf.zip
Install all of the font family variations (Regular, RegularOblique, Bold, BoldOblique) by opening them with the Font Book app.
Open Sublime Text 2
Open Preferences
Hack 2.0 is a typeface specifically targeting coders - easy-to-read with enhanced glyphs that can help reduce typos (zeros vs. O's, semi- vs. colons, parentheses vs. curly braces, etc.)
Download this (or the latest) Hack 2.0 typeface from https://github.com/chrissimpkins/Hack/releases/download/v2.010/Hack-v2_010-ttf.zip
Install all of the font family variations (Regular, RegularOblique, Bold, BoldOblique) by opening them with the Font Book app.
Start Xcode and open Preferences
Select the Fonts & Colors tab
<!-- should include the OpenGraph xmlns attributes: --> | |
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://ogp.me/ns/fb#"> | |
<head> | |
<!-- should include the following meta tag for Facebook App ID (substitute your own content, without the [ brackets ]): --> | |
<meta property="fb:app_id" content="[fb app id, if any]" /> | |
<!-- should include the OpenGraph meta tags (substitute your own content, without the [ brackets ]): --> | |
<meta property="og:url" content="[site URL]" /> | |
<meta property="og:name" content="[name to show, if any]" /> | |
<meta property="og:title" content="[post title, if any]" /> |