$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927
echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.2.list
sudo apt-get install wine winetricks | |
cd ~/ && wget http://dl.google.com/picasa/picasa39-setup.exe | |
wine ~/picasa39-setup.exe |
$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927
echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.2.list
public class Startup | |
{ | |
public IServiceProvider ConfigureServices(IServiceCollection services) | |
{ | |
services.AddMvc().AddJsonOptions(options => | |
{ | |
options.SerializerSettings.Converters.Add(new Newtonsoft.Json.Converters.StringEnumConverter()); | |
options.SerializerSettings.NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore; | |
}); | |
} |
This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.
###Array ####Definition:
#A curated list of great resources for the job search
###General Advice:
# first update all local branches | |
# then get all the merged branches | |
# from those, exclude our trunk from the list | |
# pass those branches to `branch -d` to delete them | |
git fetch -u -p && git branch --merged | grep -v "trunk" | xargs git branch -d |
$clientId = "[REDACTED]" | |
$clientSecret = "[REDACTED]" | |
$clientState = "my-app-state" | |
$redirect_uri = "https://localhost:8080" | |
$developerToken = "[REDACTED]"; | |
Start-Process "https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=$clientId&scope=openid%20profile%20https://ads.microsoft.com/msads.manage%20offline_access&response_type=code&redirect_uri=$redirect_uri&state=$clientState&prompt=login" | |
$code = Read-Host "Grant consent in the browser, and then enter the response URI here" | |
$code = $code -match 'code=(.*)\&' |