Skip to content

Instantly share code, notes, and snippets.

@djtran
djtran / new-boot.sh
Last active August 6, 2020 03:29
Fresh Install, get programs...
#!/bin/bash
# Source variables from the cfg file.
source new-boot.cfg
# Google Chrome
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt install -y ./google-chrome-stable_current_amd64.deb
rm ./google-chrome-stable_current_amd64.deb
# Update APT && Steam
@djtran
djtran / example.json
Last active February 11, 2020 22:08
DeadSimpleUtils - Python based Gantt Chart generator.
{
"title": "Example Gantt",
"items": [
{
"key": "foo",
"title": "first activity",
"description": "activity stuff",
"dependencies": "",
"start_date": "4/20/2000",
"duration": 7,
@djtran
djtran / start.sh
Last active September 16, 2022 19:10
Startup glava with dynamic screen size
#!/bin/bash
pkill glava
GEOMETRY=$(xrandr | grep "Screen 0" | tr "," "\n" | grep current | awk 'BEGIN {FS = " "} {print $2,$4 }')
glava --desktop -r "setgeometry 0 0 $GEOMETRY" &
@djtran
djtran / list.md
Last active May 8, 2020 14:27
Software Development Reading List for Professional Development

Who should read these?

Engineers looking to learn from their predecessors, from abstract methods of thought to concrete applied practices.

Productive Reading

Best Practices

Effective Java - Joshua Bloch

  • Java Best Practices. Useful reference to keep handy

Typescript Deep Dive - Basarat Syed