Skip to content

Instantly share code, notes, and snippets.

View nimbosa's full-sized avatar

nimbosa nimbosa

View GitHub Profile
@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 / 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 / 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
#!/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
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