Skip to content

Instantly share code, notes, and snippets.

@qdzlug
qdzlug / index.html
Created September 30, 2022 17:06 — forked from 4141done/index.html
Backend information by header
<!doctype html>
<html class="no-js">
<head>
<meta charset="utf-8">
<title>NGINX</title>
<meta name="description" content="${description}">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="/favicon.ico" sizes="any">

Stevey's Google Platforms Rant

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

Keybase proof

I hereby claim:

  • I am qdzlug on github.
  • I am qdzlug (https://keybase.io/qdzlug) on keybase.
  • I have a public key ASCmsM3OB-UOZewJb6FdF5HFBLoSsddxa2T5KLVHXwsRTAo

To claim this, I am signing this object:

@qdzlug
qdzlug / Kali Linux xrdp on AWS.txt
Created April 3, 2018 22:08 — forked from Erreinion/Kali Linux xrdp on AWS.txt
Setting up xrdp on Kali Linux 2016.2 on AWS
Setting up xrdp on Kali Linux 2016.2 on AWS
AWS has an AMI for Kali 2016.2, but being remote, you need VNC or RDP to access the graphical tools.
VNC is easy to set up but very restrictive. RDP is harder to set up, but easier to use. These are the instructions I use to set up xrdp.
I use this config so that I connect to the Kali VM through an Apache Guacamole RDP proxy. This keeps Kali behind the firewall and in my pentesting lab. Guacamole also allows me to access the Kali box on SSH or RDP via a web interface from anywhere and any device.
OS: Kali Linux 2016.2
AMI: Updated 19 Oct 2016
@qdzlug
qdzlug / testing-ssh-on-windows.md
Last active January 4, 2018 21:40
Testing Triton SSH on Windows

Environment


jschmidt@periwinkle MINGW64 ~
$ env | grep SDC
SDC_URL=https://us-east-1.api.joyent.com:443/
SDC_ACCOUNT=jay.schmidt
SDC_KEY_ID=07:d2:84:5f:07:b7:71:1c:53:fa:e2:b0:7c:72:05:77
{
"__inputs": [
{
"name": "DS_INFLUX",
"label": "Influx",
"description": "",
"type": "datasource",
"pluginId": "influxdb",
"pluginName": "InfluxDB"
},
@qdzlug
qdzlug / OS-5999.md
Created March 7, 2017 19:49
Current state

SWSUP-665 has a description of the problem, basically:

  • OS-5950 fixed so we attempt to start metadata once we see the VM go 'running'
  • if qemu is up too slowly, it's possible we'll see 'running' before the socket is actually usable, in which case we'll get ECONNREFUSED
  • when we hit ECONNREFUSED on the initial connection, we rely on the periodic (every minute) retry
  • by the time we retry, Ubuntu zones with broken cloud-init (all of them, see IMAGE-1014) will get stuck and never properly recover

In order to work around this, we'll need to either:

  • have metadata retry after ECONNREFUSED, before the periodic timer
@qdzlug
qdzlug / FL.md
Created January 23, 2017 22:42
FL Job Failure

Trying to find more information on our failed job; checking on the CN, but we're not seeing a zone_bh* file for this zone, although we do see the zone:

[jschmidt@RA409693 (us-sw-1) /var/log]$ vmadm list| grep  0b6f787c-831b-c85b-ff20-adf1f9c38d05
0b6f787c-831b-c85b-ff20-adf1f9c38d05  LX    1024     stopped           tv-api-green-83aql1vrrnxo11sa2yk5d0a4i
[jschmidt@RA409693 (us-sw-1) /var/log]$ ls *0b6f787c-831b-c85b-ff20-adf1f9c38d05*
*0b6f787c-831b-c85b-ff20-adf1f9c38d05*: No such file or directory
@qdzlug
qdzlug / curl.sh
Last active November 1, 2016 16:10
curl command
curl -k 'https://us-east.manta.joyent.com/jay.schmidt/stor/temp/vmdump.1?algorithm=RSA-SHA256&expires=1478624994&keyId=%2Fjay.schmidt%2Fkeys%2F6b%3A95%3A03%3A3d%3Ad3%3A6e%3A52%3A69%3A01%3A96%3A1a%3A46%3A4a%3A8d%3Ac1%3A7e&signature=fFS%2B1YFvdvT0n87zYnfewv93RZsaEGu8d%2F7HPAQPb8TRPrirJIUbCgjgbNjB5shlNj%2BLrSUXiOjpkGrFm7fMYOyZDHlVva7vTo%2Ba9W1TCXlvwOtXAzGM2cJFi1mS6jagFw8ldUd3OtgDu1cYTsSh%2FmeihRaw0cZEjPXkpmpm5MiDBVCndu1H7e0ek8Y8g3MO4lKe54uIz0QpSWrEEVG0rIEFUcbFH8mroiHQFBUUg%2B0BkBeG%2BOP52W0nBsS0xvwyTBDvl8AcR1xeqsIy0T89qqkZxuLY5JR2XHcYEPbq%2BrGFP6eVTT2I%2FgX87uYxZ9Iz7aY%2BErOTjC8k34SJaS91Og%3D%3D' -T vmdump.1
@qdzlug
qdzlug / -
Created October 31, 2016 19:43
[root@sup-ams1-jpc-notify0 ~]# cust_vms 8a437aa3-1c24-ef50-9858-afca6f525cef +
galkaj
7e:25:dc:14:be:e8:76:6a:b1:aa:aa:70:d4:47:39:f8 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDxij9X6tuZJ/1E/wou7jlg6mGVPpc96NHMDAR8tPLVDmlhV1RR5I8/Hkfb2+LmzcOvXzHVoiH62iT3DxuqE7QtMGJFKV
I1si+RYxNGZgHnt/5BiD8ME4tR1X91Bi5Zh8tRvb9qE9EfhlaiVr3LTOVT4TaIA/zrkr1KQjGdFo0d/3Ms6uZpW67E94EDpEGbDR75Ek53YkxqWVm2mtiq7ALuGd1AaMK7cdsF14F7XUVPJlOyCACX95QHYWWz4I8tAokoEIWifp+7GAAZ
Kryf6l0qMU3af1z4agBdMTHElS6MzSHVCBjWLrKJ1XU7LanwDF8t76C+inJYp1gBGGUZYwXZ
DC ALIAS DK PACKAGE RAM CREATED UUID BRAND STATE PRIMARY HOST
ams_1 rsdat2eu5-01 Y 14ad9d54-d0f8-11e5-a759-93bdb33c9583 128 2016-10-27T20:15:30.744Z ff49e094-8f1e-435f-bbc6-9f7df5a9a4a8 lx destroyed 37.153.108.115
ams_1 rsdat1eu2-05 Y 14ae2634-d0f8-11e5-9d41-b35fd4a0d7e3 256 2016-10-29T18:56:32.406Z fd816d41-8162-4ee3-84ae