Post tagged: setup

OpenShift notes


backup OpenShift

openshift getenv(USER) from OpenShift php
ssh to {user}@{app-domain} gear snapshot  > file

Run gear app

OpenShift migration further notes

Encrypt a file using a supplied password :

$ openssl enc -aes-256-cbc -salt -in file.txt -out file.txt.enc -k …

Picade Todo

  1. key mappings
  2. look up and label default mappings
  { KEY_UP_ARROW,    UP     },

  { KEY_LEFT_CTRL,   BTN_1  },
  { KEY_LEFT_ALT,    BTN_2  },
  { ' ',             BTN_3  },
  { KEY_LEFT_SHIFT,  BTN_4  },
  { 'z',             BTN_5  },
  { 'x',             BTN_6  },

  { 's',             START  },
  { 'c',             COIN   },
  { KEY_RETURN,      ENTER  },
  { KEY_ESC,         ESCAPE },

  /* Change these lines to set key bindings for VOL_UP and VOL_DN */
   { 'u',      VOL_UP  },
   { 'd',      VOL_DN …

Diskless Archlinux

I am still to test this recipe

Server Configuration

First of all, we must install the following components:

  • A DHCP server to assign IP addresses to our diskless nodes.
  • A TFTP server to transfer the boot image (a requirement of all PXE option roms).
  • A form of network storage (NFS …

ArchLinux tips

A bunch of recipes useful for an ArchLinux system environment.

Mostly around system administration.

Custom Repos and Packages

In the repo directory, put all the packages in there.

repo-add ./custom.db.tar.gz ./*

Add to pacman.conf:

SigLevel = [Package|Databse]Never|Optional|Required
Server = path-to-repo

See also repo-remove. A …

Remote Bridging

Sometimes we need to connect two or more geographically distrubuted ethernet networks to one broadcast domain. There can be two different office networks of some company which uses smb protocol partially based on broadcast network messages. Another example of such situation is computer cafes: a couple of computer cafes can …

Automatically adding systems to an AD domain

When using virtualisation it is very common to create template VMs that can be cloned from. This makes deployment much easier than having to install a new VM from scratch. Unfortunately, the cloned VMs lack any Active Directory memberships and the VMs have to be manually added to the AD …

Issue Tracker

  • Use DVCS as backend (GIT)
  • Output html
  • markdown
  • Prefer perl/python
  • Mostly RO so to avoid merge conflicts.

DITZ + git integration

Adding Markdown

  • lib/html.rb contains the functions that generate HTML
  • *.rhtml contain templates and call functions in lib/html.rb to generate (and format) output.

Note, if working …

Git Workflows

This article describes my personal git Workflow.

Start working on a Topic Branch

This when we are implementing a new feature. Assumes that you have a working git repo.

git checkout -b "topic" dev
git push -u origin "topic"

From a different computer, you may want to work on an …