Skip to content

Instantly share code, notes, and snippets.

View fsabado's full-sized avatar

Francis Sabado fsabado

View GitHub Profile
@fsabado
fsabado / devcontainer.json
Last active October 19, 2025 07:00
.devcontainer/devcontainer.json (Universal)
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/java
{
"name": "My Universal",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "fs8080/universal-dev-container:v1",
"features": {
"ghcr.io/devcontainers/features/java:1": {
"version": "21",
"additionalVersions": "17,11,8",
@fsabado
fsabado / keybase.md
Created October 30, 2022 20:54
Keybase proof of github

Keybase proof

I hereby claim:

  • I am fsabado on github.
  • I am fsabado (https://keybase.io/fsabado) on keybase.
  • I have a public key ASDV1DYEGaLtMGEV-8CnEEebuvPMngxcAwOZFVoE2d1I6Qo

To claim this, I am signing this object:

@fsabado
fsabado / TODO
Created January 28, 2018 11:40 — forked from perrygeo/TODO
Ansible playbook for a full dev environment
TODO
implement security measures
git config
config files
full sublimetext config
set up openvpn
rdesktop and network drive to terra
set up evolution
RStudio
@fsabado
fsabado / cdsenv.lisp
Created September 6, 2016 08:56 — forked from 02015678/cdsenv.lisp
My customized .cdsenv file for Cadence Virtuoso IV6.1.6
;===============================================
; Created on Jan.10th, 2015
; <------------------Summary------------------>
; Default Simulator : spectre
; Default Folder : ./simulation
; Spectre Options : APS+ 64bit Multi-thread psfbin
; HSPICE Options : HPP 64bit Multi-thread tr0 Waveview
; Anyline starts with a semi-comma (;) is comment and will be omited by Cadence
;===============================================
; Do not show What's new popup window
@fsabado
fsabado / getCurrentDir.sh
Created July 31, 2016 06:03
Code Snippet used for bash scripts to get current directory
#Get Current Directory Snippet
#http://stackoverflow.com/questions/59895/can-a-bash-script-tell-which-directory-it-is-stored-in
SOURCE="${BASH_SOURCE[0]}"
while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
SOURCE="$(readlink "$SOURCE")"
[[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" # if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located
done
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
@fsabado
fsabado / README.md
Created July 14, 2016 09:17 — forked from mzabriskie/README.md
Check git status of multiple repos

If you're like me you have a dir like ~/Workspace/Github where all your git repos live. I often find myself making a change in a repo, getting side tracked and ending up in another repo, or off doing something else all together. After a while I end up with several repos with modifications. This script helps me pick up where I left off by checking the status of all my repos, instead of having to check each one individually.

Usage:

git-status [directory]

This will run git status on each repo under the directory specified. If called with no directory provided it will default to the current directory.

@fsabado
fsabado / 0_reuse_code.js
Created July 4, 2016 09:29
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console