Skip to content

Instantly share code, notes, and snippets.

View nimbosa's full-sized avatar

nimbosa nimbosa

View GitHub Profile
export BOXNAME=smartos01
export ISO=https://download.joyent.com/pub/iso/latest.iso
# Download iso
wget $ISO
# Create VM
VBoxManage createvm --name $BOXNAME --ostype OpenSolaris_64 --register
VBoxManage modifyvm $BOXNAME --memory 1024 --hwvirtex on --hwvirtexexcl off --nestedpaging on --largepages on --vtxvpid on --accelerate3d off --boot1 dvd --boot2 disk --acpi on
#!/usr/bin/env python
# with help and inspiration from
# * ASN1_generate_nconf(3) (specifically the SubjectPublicKeyInfo structure)
# * http://www.sysmic.org/dotclear/index.php?post/2010/03/24/Convert-keys-betweens-GnuPG%2C-OpenSsh-and-OpenSSL
# * http://blog.oddbit.com/2011/05/converting-openssh-public-keys.html
import sys
import base64
import struct
@nimbosa
nimbosa / user-data-dir-chromium.TXT
Created June 22, 2014 17:11
Project CHROMIUM / Google Chrome user data directory
Project CHROMIUM / Google Chrome:
The user data directory contains data specific to a given user.
Some examples of this type of data are: history, bookmarks, and cookies.
Note that in Windows, the profile name is included in the directory hierarchy.
Default Location
Windows XP
@nimbosa
nimbosa / one-mozilla-HG
Created July 10, 2014 08:51
unified Mercurial repository using bookmarks feature to pull Latest mozilla code
### It's possible to interact with Mozilla's multiple Mercurial repositories
### from a unified Mercurial repository using Mercurial's bookmarks feature.
### To set up a unified Mercurial repository, the first step is to create a new, empty repository:
hg init mozilla
### Next, edit the .hg/hgrc file in that repository to contain the following:
[paths]
camino = https://hg.mozilla.org/camino
central = https://hg.mozilla.org/mozilla-central
beta = https://hg.mozilla.org/releases/mozilla-beta
@nimbosa
nimbosa / Pale-Moon-sources
Created July 10, 2014 23:35
Pale Moon sources from 24.6 main to 24.7.0_beta4 vNext experimental 'sumozi' build
########
#
# https://github.com/FilipinOTech/mozilla-central.git GECKO280_2014031020_RELBRANCH ### 2014-03-10 Release 28.0
# https://github.com/FilipinOTech/mozilla-central.git GECKO2460esr_2014060920_RELBRANCH ### 2014-06-09 Release 24.6 ESR
# https://github.com/FilipinOTech/mozilla-central.git esr24 ### 2014-07-08 Develop 24.x ESR branch
#
# https://github.com/binoc-software/moonchild-central.git sumozi_master ### 2014-06-20 24.6.2 Binary OutCast 'sumozi' build
# https://github.com/binoc-software/palemoon-experimental.git vNext_base ### 2014-07-05 24.7.0_beta3 experimental'sumozi' build
#
########
@nimbosa
nimbosa / last-common-ancestor-delphiX-4.1.TXT
Last active August 29, 2015 14:04
delphiX-4.1 last common ancestor from upstream 'illumos-gate/master'
Feb 19, 2014
Basil Crow basil Merge remote-tracking branch 'illumos-gate/master' … 3911d0b
we are closer to home on 4.1 than 4.0 was..
ALL future development henceforth shall track Delphix 4.1 in addition to upstream changes and OpenIndiana illumos-gate
$ date
Sun Jul 27 08:31:56 PHT 2014
_____________________________________________
_____________________________________________
@nimbosa
nimbosa / Qemu-KVM-shrink+compress.MD
Created August 14, 2014 07:51
shrink + compress virtual disk image in Qemu/KVM

shrink + compress virtual disk image in Qemu/KVM

originally from Martin Kopta's blog

Tue Apr 22 10:41:10 UTC 2014

In order to shrink virtual disk of your virtual machine (process called disk space reclamation) in Qemu/KVM, you can go with following. In your running virtual machine, fill all remaining empty space with zeroes. Then, shut down virtual machine and convert the disk image from original format to the same format (esentially doing nothing). In the process of conversion, Qemu will skip the zeroes and save you some space. You can even add some compression to save even more space.

root@vm# dd if=/dev/zero of=/file
root@vm# rm /file
@nimbosa
nimbosa / culture+society.TXT.md
Last active January 5, 2019 01:29
Anthropology, Paleo-ecology, Eco-socialism and the Open Source movement, expounding new views on human progress by synthesis of previous strategies - Rick Potts via nimbosa

meaning, ayon kay Rick Potts (Anthropologist, Paleontologist, Paleo-ecologist):

Culture is the means by which individual differences among humans interact symbologically (through symbolic meaning) wthin a social group in specific environmental circumstances usually mediated under various forms of institutions like family / kinship, politics, economics, morals, law and art, to better equip humans to express themselves and to adapt and act as part of a whole against different challenges and stresses in their changing environment, giving humans the collective capacity to imagine and invent, to revise and reject, to solidify and diversify the social approaches of fellow humans and transmit these approaches to succeeding generations and other social group.

Culture began to emerge when complex social variation was first manifested, when early humans began to

@nimbosa
nimbosa / peace.DRAFT.md
Last active January 5, 2019 01:01
the World towards a Path of Peace

Humans, our ancestors, and all sentient beings on earth have been living in a state of harmony, a natural balance for millions of years undisturbed. It is the primal human condition, our natural state. John F. Kennedy in 1963 called it "the most important topic on earth: peace." In his university commencement address, he was referring to what he called genuine peace, "not merely peace in our time but peace in all time." In as much as the freedom of conscience is mankind's inalienable right, peace for all the peoples of the earth is a sacred right that has to be respected and honored by every human individual and every human institution.

The United Nations has made a historic realization and reaffirmation of this principle in its General Assembly on the 12th of November 1984: the "Declaration on the Right of Peoples to Peace" recognizes that the promotion of peace is vital for the full enjoyment of all other human rights. The right to peace is a key and a precondition to all other freedoms that humans

@nimbosa
nimbosa / keybase.md
Created August 2, 2017 01:24
KeyBase.io two-way proof of identity

Keybase proof

I hereby claim:

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

To claim this, I am signing this object: