everything as
sudo su
openssl genrsa -aes256 -out ca-key.pem 4096
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions | |
Set-TaskbarSmall | |
cinst VisualStudio2013Ultimate -InstallArguments "/Features:'WebTools'" | |
cinst VS2013.3 | |
cinst notepadplusplus | |
cinst NuGet.CommandLine | |
cinst NugetPackageExplorer | |
cinst GoogleChrome | |
cinst ReSharper |
***** For Enums ADD Description attribute to each enum and using statement to class with enum | |
using System.ComponentModel; | |
[Description("Admin")] | |
**************** | |
CLASS TO GET ENUM INTO NAME/VALUE Dictionary to use for DataBinding | |
using System; |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
#OSX Command | |
curl -s https://api.github.com/orgs/IonicWorkshop/repos?per_page=200 | ruby -rubygems -e 'require "json"; JSON.load(STDIN.read).each { |repo| %x[git clone #{repo["clone_url"]} ]}' | |
#Windows Linqpad using Octokit.Net Nuget Package | |
var client = new GitHubClient(new Octokit.ProductHeaderValue("ProjectOmegatron")); | |
var repos = client.Repository.GetAllForOrg("IonicWorkshop").Result; |
$azurelocations = Get-AzureLocation | |
$out = @() | |
foreach ($location in $azurelocations) | |
{ | |
$VMSizes = $location.VirtualMachineRoleSizes | |
$VMSizesStr = $VMSizes -join ', ' | |
$props = @{ | |
Name = $location.Name | |
VMSizes = $VMSizesStr} | |
$out += New-Object PsObject -Property $props |
Get-AzureVMImage | Select * | Out-Gridview –Passthru |
[CmdletBinding()] | |
param( | |
[Parameter(Mandatory)] | |
[string]$VMName, | |
[Parameter(Mandatory)] | |
[string]$OutputFile | |
) | |
function Get-DriveType($drive) |
<div id="button-group"> | |
<button class="primary">Primary</button> | |
<button class="secondary">Secondary</button> | |
<button class="secondary">Secondary</button> | |
</div> |
<div id="star-field"> | |
<div class="star"></div> | |
<div class="star"></div> | |
<div class="star"></div> | |
<div class="star"></div> | |
<div class="star"></div> | |
<div class="star"></div> | |
<div class="star"></div> | |
<div class="star"></div> | |
<div class="star"></div> |