Skip to content

Instantly share code, notes, and snippets.

@dacbarbos
dacbarbos / ieee.org.md
Last active March 21, 2017 01:43
IEEE Registration Authority

IEEE Registration Authority

Downloads

  1. MAC Address Block Large (oui) : TXT or CSV

  2. Company ID (cid) : TXT or CSV

  3. Ethertype (eth) : TXT or CSV

  4. ManufacturerID (manid) : TXT or CSV

@dacbarbos
dacbarbos / uri-url-urn.w3c.md
Last active March 21, 2017 01:38
URIs, URLs, and URNs
@dacbarbos
dacbarbos / macos.brew.md
Last active April 18, 2017 02:27
macOS brew notes

macOS brew notes

Quick & Dirty cleanup

brew update && brew upgrade  
brew cleanup && brew cask cleanup && brew prune  

WARNING! Next command will erase files

brew doctor 2>&1 |fgrep local |fgrep -vi warn |sudo xargs rm  

brew doctor

@dacbarbos
dacbarbos / i18n.md
Last active September 5, 2017 17:00
Internationalization = Localization * Translation
@dacbarbos
dacbarbos / macos.mov2gif.md
Last active March 29, 2017 04:06
macOS mov2gif

macOS mov2gif

Install toolkit and create a short video

brew install ffmpeg gifsicle imagemagick  

screencapture rec.mov // you'd use QuickTime

Convertion steps

ffmpeg -i rec.mov -r 24 rec-%03d.png

@dacbarbos
dacbarbos / pgp-gpg-help.md
Last active February 6, 2020 18:28
PGP/GPG Notes
@dacbarbos
dacbarbos / keybase.md
Created April 8, 2017 18:15
Keybase proof

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@dacbarbos
dacbarbos / travis-ssh-keys.sh
Last active April 18, 2017 23:47 — forked from koter84/travis_secure_private_key.sh
Create a private key-pair and encrypt it for use in .travis.yml with working code for decrypting it on both Linux and macOS builders
#!/bin/env bash
ssh-keygen -t rsa -N "" -C travis -f ./travis_key
# tested on Linux only (according the author)
# on macOS you'll need gsplit instead of split
# decryption should work on both Linux and macOS travis-workers
# official doc/help page https://docs.travis-ci.com/user/encryption-keys
# see also http://stackoverflow.com/questions/18027115/committing-via-travis-ci-failing
@dacbarbos
dacbarbos / ObjectStorageUploader.py
Last active May 29, 2017 23:26 — forked from follower46/ObjectStorageUploader.py
Object Storage Uploader Script
# Article --> https://sldn.softlayer.com/blog/ashaw/object-storage-uploader
# ================================================================================
# ObjectStorageUploader.py
# © Copyright IBM Corporation 2014.
# LICENSE: MIT (http://opensource.org/licenses/MIT)
# ================================================================================
import argparse
import os
@dacbarbos
dacbarbos / iso.boot.md
Last active May 15, 2019 01:49
ISO images and Boot

ISO images and Boot

Command: file livecd.iso
Output: livecd.iso: ISO 9660 CD-ROM filesystem data 'disks' (bootable)

How to pretest it?

Install qemu and run qemu-system-i386 -cdrom livecd.iso