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
{ | |
"feature": "fresh_today", | |
"filters": { | |
"category": false, | |
"exclude": false | |
}, | |
"current_page": 1, | |
"total_pages": 250, | |
"total_items": 5000, | |
"photos": [ |
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
// -------------------------------------------------- | |
// Ask for a review after 5 starts of the Application | |
// -------------------------------------------------- | |
// Variable to hold the number of time the app started | |
int startedCount = 0; | |
// Check if the variable was stored in the Roaming Settings before | |
if (Windows.Storage.ApplicationData.Current.RoamingSettings.Values.ContainsKey("startedCount")) | |
{ | |
// If so, read it in the variable |
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
// Variable to hold the number of time the app started | |
var startedCount = 0; | |
// Check if the variable was stored in the Roaming Settings before | |
var appData = Windows.Storage.ApplicationData.current; | |
var roamingSettings = appData.roamingSettings; | |
if (roamingSettings.values.hasKey("startedCount")) | |
{ | |
// If so, read it in the variable | |
startedCount = roamingSettings.values["startedCount"]; | |
} |
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
// Ask for a review after 5 starts of the Application | |
// Variable to hold the number of time the app started | |
var startedCount = 0; | |
// Check if the | |
variable was stored in the Roaming Settings before | |
var appData = Windows.Storage.ApplicationData.current; | |
var roamingSettings = appData.roamingSettings; | |
if (roamingSettings.values.hasKey("startedCount")) | |
{ |
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
// ------------------------------------------------------------------- | |
// Ask for a review after 5 starts of a new version of the Application | |
// ------------------------------------------------------------------- | |
// Variable to hold the number of time the app started | |
int startedCount = 0; | |
// Variable to hold if the user actually accepted to rate the application | |
bool reviewedBefore = false; | |
// Variables to hold the current and the last version number that was started in a string | |
string currentVersion = string.Format("{0} - {1} - {2} - {3}", Package.Current.Id.Version.Major, |
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
// ------------------------------------------------------------------- | |
// Ask for a review after 5 starts of a new version of the Application | |
// ------------------------------------------------------------------- | |
// Variable to hold the number of time the app started | |
var startedCount = 0; | |
// Variable to hold if the user actually accepted to rate the application | |
var reviewedBefore = false; | |
// Variables to hold the current and the last version number that was started in a string | |
var currentPackage = Windows.ApplicationModel.Package; |
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
# Update, upgrade and install development tools: | |
sudo apt-get update | |
sudo apt-get -y upgrade | |
sudo apt-get -y install build-essential git-core libssl-dev libsqlite3-dev curl nodejs nginx | |
# Install rbenv | |
git clone git://github.com/sstephenson/rbenv.git ~/.rbenv | |
# Add rbenv to the path: | |
echo 'export RBENV_ROOT=~/.rbenv' >> ~/.bash_profile |
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
sudo apt-get -y install postgresql postgresql-contrib libpq-dev |
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
Azure.config.storage_account_name = "<your azure storage account name>" | |
Azure.config.storage_access_key = "<your azure storage access key>" |
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
# Original author Mark Renoden (http://au.linkedin.com/in/markrenoden) | |
Get-AzureVM | | |
ForEach-Object { | |
$vm = $_.name; | |
Write-Output "$vm VM Properties"; | |
Write-Output "---------------"; | |
Format-List -InputObject $_ -Property *; | |
Write-Output "$vm VM Endpoints"; | |
Write-Output "---------------" ; |