- RSB == Right Stick Button
- LSB == Left Stick Button
- RB == Right Bumper
- RT == Right Trigger
- LB == Left Bumper
- LT == Left Trigger
- Y == Y Button (Top)
- A == A Button (Bottom)
#!/bin/bash | |
if [ $# -ne 1 ]; then | |
echo "Error: Invlaid number of arguments. expection 1 argument" | |
exit | |
fi | |
# Check the service status | |
# [ + ] (running) | |
# [ - ] (stopped) |
DECLARE @garage nvarchar(1000) = N'{ "Cars": [{ "Make": "Volkswagen", "Model": { "Base": "Golf", "Trim": "GLI" }, "Year": 2003, "SellDate" : "2017-02-17T00:00:00.000Z" }, { "Make": "Subaru", "Model": { "Base": "Impreza", "Trim": "Premium" }, "Year": 2016, "PurchaseDate": "2015-08-18T00:00:00.000Z" },{ "Make": "Volkswagen", "Model": { "Base": "Golf", "Trim": "GTI" }, "Year": 2017, "PurchaseDate": "2017-02-19T00:00:00.000Z" }] }' | |
-- I realize it's not worth keeping the original Volkswagen in my @garage data any longer, so let's completely remove it. | |
-- Note, if we use NULL as per the MSDN documentation, we don't actually remove the first car element of the array - it just gets replaced with NULL | |
-- This is problematic if we expect the indexes of our array to shift by -1. | |
SELECT JSON_MODIFY(@garage, '$.Cars[0]', NULL) | |
-- Output: { "Cars": [null, { "Make": "Subaru", "Model": { "Base": "Impreza", "Trim": "Premium" }, "Year": 2016, "PurchaseDate": "2015-08-18T00:00:00.000Z" },{ "Make": "Volkswagen", "Model": { "Ba |
American Express Test Card 370000000000002 | |
Discover Test Card 6011000000000012 | |
Visa Test Card 4007000000027 | |
Second Visa Test Card 4012888818888 | |
JCB 3088000000000017 | |
Diners Club/ Carte Blanche 38000000000006 |
using System; | |
using System.Collections.Generic; | |
using System.Data.Entity; | |
using System.Data.Entity.Infrastructure; | |
using System.Data.Entity.Migrations; | |
using System.Linq; | |
using System.Text.RegularExpressions; | |
/// <summary> | |
/// Provides advanced migrations by providing a seeding platform for each migration. |
I was at Amazon for about six and a half years, and now I've been at Google for that long. One thing that struck me immediately about the two companies -- an impression that has been reinforced almost daily -- is that Amazon does everything wrong, and Google does everything right. Sure, it's a sweeping generalization, but a surprisingly accurate one. It's pretty crazy. There are probably a hundred or even two hundred different ways you can compare the two companies, and Google is superior in all but three of them, if I recall correctly. I actually did a spreadsheet at one point but Legal wouldn't let me show it to anyone, even though recruiting loved it.
I mean, just to give you a very brief taste: Amazon's recruiting process is fundamentally flawed by having teams hire for themselves, so their hiring bar is incredibly inconsistent across teams, despite various efforts they've made to level it out. And their operations are a mess; they don't real