Skip to content

Instantly share code, notes, and snippets.

i3 configuration

My configuration file for the i3 window manager.

Window movement

Instead of the arrow keys or the i3 default keys j k l + this configuration uses VIM style keys (h, j, k, l) for window movement.

Example

WIN + {h, j, k, l} = Move focus {left, down, up, right}

@jamierumbelow
jamierumbelow / search_model.php
Created April 10, 2013 22:02
A quick multi-table multi-field search model for CI / PHP
<?php
class Search_model extends CI_Model
{
protected $tables = array(
'users' => array( 'name', 'email' )
);
public function run($search)
{
@gibbs
gibbs / currency_symbols.php
Last active April 3, 2024 10:09
An array of currency symbols as HTML entities
<?php
$currency_symbols = array(
'AED' => '&#1583;.&#1573;', // ?
'AFN' => '&#65;&#102;',
'ALL' => '&#76;&#101;&#107;',
'AMD' => '',
'ANG' => '&#402;',
'AOA' => '&#75;&#122;', // ?
'ARS' => '&#36;',
'AUD' => '&#36;',