Skip to content

Instantly share code, notes, and snippets.


Eugene Triguba eugenetriguba

  • PaymentWorks
  • Pittsburgh, Pennsylvania
View GitHub Profile
eugenetriguba / output.txt
Last active June 14, 2021 01:39
Timezone-aware ISO String in JavaScript
View output.txt
$ node
Welcome to Node.js v14.16.1.
Type ".help" for more information.
> const { getTimezoneAwareISOString } = require('./time')
> getTimezoneAwareISOString()
> new Date().toISOString()
> getTimezoneAwareISOString(new Date(2020, 11, 15, 12, 15, 12, 100))
eugenetriguba /
Last active November 30, 2020 14:40
i3 Cheat Sheet

i3 Cheatsheet

i3 is a tiling window manager for Linux.

Any place that has arrowkeys may be replaced with jkl;. So while windows can be moved around with mod-shift-arrowkeys, they can also be moved around with the mod-shift-[jkl;] keys.

Command Description
mod-d Search for app to run (d menu)
mod-shift-q Quit focused app
View Install Pulse Secure on Ubuntu

Disclaimer: This gist is a bit outdated now. The client download page now redirects to a login page that the downloads are guarded behind. You'll want to do a web search for a pulse secure deb file and install that now. Try: When I installed Pulse Secure 9.1R13, I didn't need to do anything else to get it working.

9.1R13 download:

To install Pulse Secure for Ubuntu 20.04, it is a bit complicated since the support isn't great.

First, we'll want to go through the form at You'll get an email with download links to the latest versions of pulse secure. Download the Linux

eugenetriguba /
Last active May 28, 2019 00:34
A tutorial on how to create a bootable USB stick using Bash on Mac OS X

How to Create a Bootable USB stick on Mac OS X

Convert the ISO to UDRW format. Note: the names destination and source are used for clarification. The name of the destination does not matter.

$ hdiutil convert -format UDRW -o destination.img source.iso

Reading CCCOMA_X64FRE_EN-US_DV9          (Apple_UDF : 0)…
Elapsed Time: 11.058s

Keybase proof

I hereby claim:

  • I am eugenetriguba on github.
  • I am eugenetriguba ( on keybase.
  • I have a public key ASCzH1xB_FzsWXu8cDhy7b-9KQr1_YPBSvkaF0IAs3LGmwo

To claim this, I am signing this object: