Description: Setup GitHub Pages "gh-pages" branch and "master" branch as subfolders of a parent project folder ("grandmaster").
Author: Chris Jacob @_chrisjacob
Tutorial (Gist): https://gist.github.com/833223
Description: Setup GitHub Pages "gh-pages" branch and "master" branch as subfolders of a parent project folder ("grandmaster").
Author: Chris Jacob @_chrisjacob
Tutorial (Gist): https://gist.github.com/833223
/* iOS Native App Default Style implemented in CSS */ | |
/* Bootstrapping … */ | |
* { | |
margin: 0; | |
padding: 0; | |
font-size: inherit; | |
-webkit-tap-highlight-color: rgba(0,0,0,0); | |
} |
################################################## | |
# | |
################################################## | |
param( | |
[Parameter(Mandatory = $true)][String]$subscriptionId, | |
[Parameter(Mandatory = $true)][String]$storageAccountName, | |
[Parameter(Mandatory = $true)][String]$affinityGroupName, | |
[Parameter(Mandatory = $true)][String]$imageName = 'MSFT__Windows-Server-2012-Datacenter-201208.01-en.us-30GB.vhd', | |
[Parameter(Mandatory = $true)][String]$adminPassword, |
#exampleDropPane { | |
text-align: center; | |
padding: 20px; | |
background-color: #F6F6F6; | |
border: 1px dashed #666; | |
border-radius: 6px; | |
margin-bottom: 20px; | |
} |
getS3Bucket = function() { | |
var host = document.location.host; | |
if (host === 'localhost:3000') { | |
return 'myapp-dev'; | |
} else if (host === 'myapp.meteor.com') { | |
return 'myapp-staging'; | |
} else if (host === 'myapp.com') { | |
return 'myapp-production'; | |
} | |
} |
Template.example.events({ | |
'change input': function(ev) { | |
_.each(ev.srcElement.files, function(file) { | |
Meteor.saveFile(file, file.name); | |
}); | |
} | |
}); |
<meta name="description" content="Большинство поисковых серверов отображают содержимое поля description при выводе результатов поиска. Если этого тега нет на странице, то поисковый движок просто перечислит первые встречающиеся слова на странице, которые, как правило, оказываются не очень-то и в тему." /> | |
<meta name="Keywords" content="HTML, META, метатег, тег, поисковая система" /> | |
<!-- The Open Graph protocol --> | |
<!-- description: http://ogp.me/#metadata --> | |
<meta property="og:title" content="The Rock" /> | |
<meta property="og:type" content="website" /> | |
<meta property="og:url" content="http://www.imdb.com/title/tt0117500/" /> | |
<meta property="og:image" content="http://ia.media-imdb.com/images/rock.jpg" /> | |
<!-- array: http://ogp.me/#array --> |
// === Arrays | |
var [a, b] = [1, 2]; | |
console.log(a, b); | |
//=> 1 2 | |
// Use from functions, only select from pattern | |
var foo = () => [1, 2, 3]; |
# Assuming an Ubuntu Docker image | |
$ docker run -it <image> /bin/bash |