2016
04.19

I got very bored a couple of nights ago and decided i wanted to play some classic video games, so i dug out an old rpi and installed retropie along with all the atari, nes, snes, and sega mastersystem games i could find.

Here are some shots of this:

the hardware:
rpi1
Click to enlarge.
the hardware you see there is the rpi, a mophie battery, and an hhkb pro keyboard. its the simple little things.

initial update:
rpi3
Click to enlarge.

initial graphical bootup (no password and straight to playable menu):
rpi2
Click to enlarge.

and fully running in ssh:
2016-04-19-020153_1366x768_scrot
Click to enlarge.

all of this works without many issues using some old wired xbox360 sticks.

2016
04.12

Test was of my fios connection over wifi to my phone.

Screenshot_2016-04-12-03-13-31

’nuff said.

2016
04.11

Needed to transfer about 450gb to one of my servers:

status_rrd_graph_img

status_rrd_graph_img (1)

status_rrd_graph_img (2)

Ugh. So tite.

2016
01.28

Hey everyone

After much irc battle and getting shut up by this person a couple of times, i have asked my friend ch3ll to start contributing to this site.

She is bad ass and knowledgable.

give her a warm welcome.

2016
01.27

sup people

i wanted to write a quick article on why i love folds in vim especially in config files.

vim folding gives you the ability to temporarily hide parts of files while leaving only certain lines visible. this helps a ton when you are elbow deep in the muck that are certain files.

i will show you an example of unfolded config files then an example of it cleaned up with folds and also offer some explanations.

Unfolded tmux config:
Screen Shot 2016-01-27 at 13.59.21
Click to enlarge
As you can see above, its not bad but its just a ton of stuff that would require a bit of back and forth with searching and not really knowing where things are.
Here is the original .tmux.conf before cleaning up a bit in github.

Here is the folded tmux config:
Screen Shot 2016-01-27 at 14.02.54
Click to enlarge
Now what you see are defined sections that are a bunch easier to get back and forth on and its also hiding the cruft.
Here is the updated .tmux.conf after clean up.

Some the the folding magic is done here:

## Modeline and Notes {
# vim: set foldmarker={,} foldlevel=0 spell:
# }

The key bit being foldmarker which states that the folds occurs in the brackets. But since in this config file the brackets would make the conf file fail, i put the brackets after hash marks to comment them out.

pretty straight forward.

Then controlling the folds with Vim folding commands:

zf#j creates a fold from the cursor down # lines.
zf/string creates a fold from the cursor to string .
zj moves the cursor to the next fold.
zk moves the cursor to the previous fold.
zo opens a fold at the cursor.
zO opens all folds at the cursor.
zm increases the foldlevel by one.
zM closes all open folds.
zr decreases the foldlevel by one.
zR decreases the foldlevel to zero -- all folds will be open.
zd deletes the fold at the cursor.
zE deletes all folds.
[z move to start of open fold.
]z move to end of open fold.


this was taken from here

again, pretty straight forward.

2016
01.21

since i had to rebuild some stuff on my laptop, i wanted to see how long it took to get to the login prompt and since i dont use a login manager i have to specifically run :

pybootchartgui --crop-after=login

 

Click to enlarge:
bootchart


What bootchart doesn.t show you is that its actually 12 seconds until i have the login prompt.

2016
01.20

so i decided to take some pics of my temp workspace just so you guys can see the mess.

There are four different machines there:
Thinkpad x60
Thinkpad x220
Thinkpad x230
Thinkpad t420s

all are running either Gentoo or openBSD.

Click to enlarge
20160119_005420

Click to enlarge
20160119_012234

Click to enlarge
20160119_012301

2016
01.18

hello all,

i have been away from this site for a while and owe you guys some updates. i should be able to start posting more now.

todays screenshot is another vim but its to show the colored status line that i have switched to:

click to enlarge
Screen Shot 2016-01-18 at 14.49.49

as of time of writing, you can see on line 168 that this is lightline.

its a bit more informative and stands out more than the previous statusbar config i was using and real easy to configure with vundle as shown in line 168 and lines 217-219.

i will write another detailed vim article in the next couple of days explaining more from the .vimrc conf i use.

2015
10.23

This article is more for me not to forget.

So if you are creating a symlink to a dir:
mkdir ‹PATH/TO/LINK›
mount -o bind ‹TARGET› ‹LINK›

to make it permanent:
add mount -o bind ‹TARGET› ‹LINK› to /etc/rc.local

2015
09.30

howdy all

i have been away from a while battling dragons and you know…. that whole work thing.

one question that i do keep getting on pissedoffadmins is about the vim screenshot and the rc file that i use. in this article i am going to explain some of the real big things in my rc file.

lets start the show

click to enlarge
2015-09-30-153748_1168x760_scrot

and as of this writing, here is the .vimrc file

so lets start with the screenshot.

tabs

at the top we have a tab that says “2 .vimrc” — that is controlled in the vimrc file linked above in lines 124-128
line 126 – this makes that line permanently show up and since we have nerdtree (explained later in this article) it will show the number 2 since 2 windows are active right now
line 127 – this states that a maximum of 10 tabs can be opened at startup but you can have as many as you want (remember sanity though).

windows

the main chunk of the screenshot, you will notice that there are two panes. this is using NerdTree
the left pane is automatically opened whenever any file is edited due to lines 186-189
the right pane is just editing the vimrc file itself
switching between panes is done with either:
ctrl f ctrl f
or clicking the pane with the mouse in line 42 of the vimrc file

status bar

in the status bar you will see that underneath the file listing (nerdtree) it gives my home dir. pretty standard.
but underneath the main pane it gets more complex. this is set in lines 94-107 although its actually line 94 with 95-107 being descriptions for clarity.

color scheme

you will notice that i use solarized dark which is set in line 67 and imported from github.
i like solarized dark since its the same scheme i use in all my terminals. its nice on the eyes and i think its sexy as hell.

more to come soon