This file contains 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
<html> | |
<head> | |
<style> | |
.item {width:300px; display: inline-block; } | |
.item .itemtitle {font-weight:bold; font-size:2em;} | |
.hidden {display:none;} | |
</style> | |
</head> | |
<body> | |
<h1>Amalgam Comics Characters</h1> |
This file contains 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
#!/bin/bash | |
# Prerequisites | |
echo "#### Starting" | |
echo "#### apt-get updating and installing prereqs" | |
sudo apt-get update | |
sudo apt-get install screen libexpat1-dev libicu-dev git build-essential curl -y | |
# Node | |
echo "#### Installing node" |
This file contains 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
# os configuration | |
# Get-AzureVMImage | Select ImageName | |
# I wanted an ubuntu 14.10 VM: | |
$ImageName = "b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu-14_10-amd64-server-20140625-alpha1-en-us-30GB" | |
# account configuration | |
$ServiceName = "your-service-here" | |
$SubscriptionName= "your azure subscription name here" | |
$StorageAccount = "your storage account name here" | |
$Location = "your location here" |
This file contains 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
#!/bin/bash | |
echo "#### Starting" | |
echo "#### apt-get updating and installing" | |
sudo apt-get update | |
sudo apt-get install screen libexpat1-dev libicu-dev git build-essential curl software-properties-common python-software-properties -y | |
echo "#### Installing node" | |
# Node | |
. ~/.bashrc |
This file contains 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
Param( | |
[string]$rootDir, | |
[string]$storage, | |
[string]$key, | |
[string]$container | |
) | |
try { | |
$context = New-AzureStorageContext -StorageAccountName $storage -StorageAccountKey $key |
This file contains 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
Param( | |
[string]$Server, | |
[string]$DB, | |
[string]$user, | |
[string]$Pwd, | |
[string]$Script | |
) | |
$batches = $Script -split "GO\r\n" |
This file contains 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
{ | |
"INBOX":{ | |
"messages": [ | |
{"raw": "Subject: hello 1\r\n\r\nWorld 1!", "internaldate": "14-Sep-2013 21:22:28 -0300"}, | |
{"raw": "Subject: hello 2\r\n\r\nWorld 2!", "flags": ["\\Seen"]}, | |
{"raw": "Subject: hello 3\r\n\r\nWorld 3!"}, | |
{"raw": "From: sender name <[email protected]>\r\nTo: Receiver name <[email protected]>\r\nSubject: hello 4\r\nMessage-Id: <abcde>\r\nDate: Fri, 13 Sep 2013 15:01:00 +0300\r\n\r\nWorld 4!"}, | |
{"raw": "Subject: hello 5\r\n\r\nWorld 5!"}, | |
{"raw": "Subject: hello 6\r\n\r\nWorld 6!"} | |
] |
This file contains 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
{ | |
"plugins": ["ID", "X-GM-EXT-1", "XOAUTH2","STARTTLS", "SASL-IR", "AUTH-PLAIN", "NAMESPACE", "IDLE", "ENABLE", "CONDSTORE", "XTOYBIRD", "LITERALPLUS", "UNSELECT", "SPECIAL-USE", "CREATE-SPECIAL-USE"], | |
"debug": true, | |
"secureConnection": true, | |
"port": 993, | |
"smtpPort": 465, | |
"users": [ | |
{"testuser":{ | |
"password": "testpass", | |
"xoauth2":{ |
This file contains 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
LOADING=false | |
usage() | |
{ | |
cat << EOF | |
usage: $0 [options] <DBNAME> | |
OPTIONS: | |
-h Show this help. | |
-l Load instead of export |
This file contains 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 to your project directory | |
cd "d:\my luverly project\" | |
# get all the images | |
$images = Get-ChildItem "d:\my luverly project\img\" -Exclude "*.config" | |
# for each image.. | |
foreach($img in $images){ | |
$found = "" |
NewerOlder