Skip to content

Instantly share code, notes, and snippets.

View mightypanders's full-sized avatar

mightypanders mightypanders

  • Germany
View GitHub Profile
#!/usr/bin/env bash
# journal.sh
# ==========
#
# One daily text file to rule them all.
#
# Copyright: 2022 Tyler Cipriani <tyler@tylercipriani.com
# License: GPLv3
set -euo pipefail

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

@mightypanders
mightypanders / index.html
Created April 23, 2017 20:25 — forked from bryanbecker/index.html
Lightdm Webkit 2 theme
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="author" content="Pedro Penna - @pedropenna">
<title>Musfealle - Lightdm Webkit Greeter Theme</title>
#/usr/local/bin/pixelock
#!/bin/bash
scrot /tmp/screen.png
# may use maim and use .jpg instead of .png
convert /tmp/screen.png -filter point -resize 10% -resize 1000% /tmp/screen.png
i3lock -i /tmp/screen.png
#alternatives?
# using maim png capture, resized into png
pixelock 1.99s user 0.16s system 118% cpu 1.822 total
@mightypanders
mightypanders / AvatarGenerator
Last active November 7, 2016 13:26 — forked from craigomatic/AvatarGenerator
Simple text based avatar generator for C#
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.Drawing.Text;
using System.IO;
namespace util
@mightypanders
mightypanders / git-mv-with-history
Created October 14, 2016 09:53 — forked from emiller/git-mv-with-history
git utility to move/rename file or folder and retain history with it.
#!/bin/bash
#
# git-mv-with-history -- move/rename file or folder, with history.
#
# Moving a file in git doesn't track history, so the purpose of this
# utility is best explained from the kernel wiki:
#
# Git has a rename command git mv, but that is just for convenience.
# The effect is indistinguishable from removing the file and adding another
# with different name and the same content.
@mightypanders
mightypanders / state_engine.py
Created August 3, 2016 17:44 — forked from iminurnamez/state_engine.py
Simple state engine example
import sys
import pygame as pg
class Game(object):
"""
A single instance of this class is responsible for
managing which individual game state is active
and keeping it updated. It also handles many of
pygame's nuts and bolts (managing the event