Skip to content

Instantly share code, notes, and snippets.

View ubuntux's full-sized avatar

Gerald Anthony Piangco ubuntux

View GitHub Profile
@ubuntux
ubuntux / vs-code-settings.md
Last active April 7, 2021 17:06
VS Code settings to take advantage of cursive italics offered by Victor Mono font.

Coding Font - Victor Mono

VS Code settings to take advantage of cursive italics offered by Victor Mono font.

Get the font

Download Victor Mono font, here.

Install the font

Keybase proof

I hereby claim:

  • I am ubuntux on github.
  • I am ubuntux (https://keybase.io/ubuntux) on keybase.
  • I have a public key ASAFmhbpPwfkkUbx6EoDbVwY_olealhleA8KmI9equl2dAo

To claim this, I am signing this object:

@ubuntux
ubuntux / stdout-to-file.md
Last active May 22, 2018 16:49
Saving STDOUT into a file

Just pipe it into a file(name) using >:

someCommand > someFile.txt

Or if you want to append data:

someCommand >> someFile.txt

If you want STDERR too, use this:

@ubuntux
ubuntux / currency_symbols.php
Created August 28, 2016 11:41 — forked from gibbs/currency_symbols.php
An array of currency symbols as HTML entities
<?php
$currency_symbols = array(
'AED' => '&#1583;.&#1573;', // ?
'AFN' => '&#65;&#102;',
'ALL' => '&#76;&#101;&#107;',
'AMD' => '',
'ANG' => '&#402;',
'AOA' => '&#75;&#122;', // ?
'ARS' => '&#36;',
'AUD' => '&#36;',
Change layout
defaults write com.apple.dock springboard-rows -int 8
defaults write com.apple.dock springboard-columns -int 8; killall Dock
defaults write com.apple.dock ResetLaunchPad -bool TRUE; killall Dock
To reset to defaults
defaults write com.apple.dock springboard-rows
defaults write com.apple.dock springboard-column; killall Dock