Thunderbird email contents display appears to act similarly to a web brower, so hitting Ctrl and the '-'/'+' signs shrinks/enlarges the font size.
Note: this is not explained anywhere, and the preferences all change a different setting, AFAIK
Friday, 24 January 2014
Friday, 17 January 2014
MacBook and Openbox: mimic keyboard shortcut Cmd-tab application switcher
<keybind key="W-Tab">
<action name="NextWindow">
<allDesktops>yes</allDesktops>
<finalactions>
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</finalactions>
</action>
</keybind>
<keybind key="W-S-Tab">
<action name="PreviousWindow">
<finalactions>
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</finalactions>
</action>
</keybind>
<action name="NextWindow">
<allDesktops>yes</allDesktops>
<finalactions>
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</finalactions>
</action>
</keybind>
<keybind key="W-S-Tab">
<action name="PreviousWindow">
<finalactions>
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</finalactions>
</action>
</keybind>
Macbook Air and Openbox: copy the Spotlight(TM) keyboard shortcut
<keybind key="W-space">
<action name="Execute">
<command>dmenu_run</command>
</action>
</keybind>
apt-get install suckless-tools
<action name="Execute">
<command>dmenu_run</command>
</action>
</keybind>
apt-get install suckless-tools
LXC and Puppet dev env in 60 seconds
- lxc-create -n puppetmaster01 -t debian
- lxc-create -n puppetclient01 -t debian
- /etc/default/lxc-net
- find subnet defined by LXC_NETWORK
- vi /var/lib/lxc/puppetmaster01/config
- add ip addr ending in .100 to subnet
- for example, lxc.network.ipv4 = 10.0.1.100/24
- vi /var/lib/lxc/puppetclient01/config
- add ip add ending in .101 to subnet
- for example, lxc.network.ipv4 = 10.0.1.101/24
- lxc-start -d -n puppetmaster01
- don't forget the "-d" or you'll be stuck in tty session
- lxc-start -d -n puppetclient01
- lxc-attach -n puppetmaster
- apt-get install puppetmaster
- lxc-attach -n puppetclient01
- apt-get install puppet
- vi /etc/hosts and add entry "puppet" to point at pmaster
- sudo iptables -t mangle -A POSTROUTING -o lxcbr0 -p udp --dport bootpc -j CHECKSUM --checksum-fill
- refresh vm IP
- stop and start vm,
- or kill existing dhclient process on vm, and run dhclient by hand
- pkill dhclient
- dhclient -v eth0
- If that doesn't help your vm to get an IP address from dnsmasq
- delete the iptables rule you just created
- iptables -L -t mangle -n --line-numbers
- show existing rule numbers in left column
- iptables -t mangle -D POSTROUTING <rule #>
- for example, iptables -t mangle -D POSTROUTING 1
Sunday, 5 January 2014
Macbook Air and Openbox: Raise/Lower Volume, Up/Down Brightness
<keybind key="XF86KbdBrightnessUp">
<action name="Execute">
<command>xbacklight +10</command>
</action>
</keybind>
<keybind key="XF86KbdBrightnessDown">
<action name="Execute">
<command>xbacklight -10</command>
</action>
</keybind>
<keybind key="XF86AudioRaiseVolume">
<action name="Execute">
<command>amixer -c 0 set Master 2dB+</command>
</action>
</keybind>
<keybind key="XF86AudioLowerVolume">
<action name="Execute">
<command>amixer -c 0 set Master 2dB-</command>
</action>
</keybind>
<action name="Execute">
<command>xbacklight +10</command>
</action>
</keybind>
<keybind key="XF86KbdBrightnessDown">
<action name="Execute">
<command>xbacklight -10</command>
</action>
</keybind>
<keybind key="XF86AudioRaiseVolume">
<action name="Execute">
<command>amixer -c 0 set Master 2dB+</command>
</action>
</keybind>
<keybind key="XF86AudioLowerVolume">
<action name="Execute">
<command>amixer -c 0 set Master 2dB-</command>
</action>
</keybind>
Subscribe to:
Posts (Atom)
Interview questions: 2020-12
Terraform provider vs provisioner Load balancing Network Load Balancer vs Application Load Balancer Networking Layer 1 vs Layer 4 haproxy u...
-
kubectl --cert=/tmp/tls.crt --key=/tmp/tls.key create secret tls tls-wc-ingress
-
apt-get install exim4 dpkg-reconfigure exim4-config Select: internet site; mail is sent and received directly using SMTP IP-addresses...
-
brew install python3 mkdir -p ~/bin/python3 python3 -m venv ~/bin/python3 source ~/bin/python3/bin/activate enjoy!