Skip to content

Instantly share code, notes, and snippets.

@dacbarbos
dacbarbos / mailtrack.io
Created April 4, 2018 04:17
mailtrack.io
open $0
@dacbarbos
dacbarbos / ntfs-reset.md
Last active February 22, 2018 16:18
Reset NTFS permission
@dacbarbos
dacbarbos / CPU201801.md
Created January 13, 2018 04:07
CPU 2018-01
@dacbarbos
dacbarbos / isohybrid.pl
Last active July 12, 2017 05:35 — forked from jsarenik/isohybrid.pl
isohybrid.pl from Syslinux-6.03
#!/usr/bin/env perl
## -----------------------------------------------------------------------
##
## Copyright 2002-2008 H. Peter Anvin - All Rights Reserved
## Copyright 2009 Intel Corporation; author: H. Peter Anvin
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation, Inc., 53 Temple Place Ste 330,
## Boston MA 02111-1307, USA; either version 2 of the License, or
@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

@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 / 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 / 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 / pgp-gpg-help.md
Last active February 6, 2020 18:28
PGP/GPG Notes