Posts for: #Info

My .vimrc

These are the contents of my ~/.vimrc file.

call plug#begin('~/.vim/plugged')

Plug 'scrooloose/nerdtree'
Plug 'sukima/xmledit'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'mg979/vim-visual-multi', {'branch': 'master'}
Plug 'plasticboy/vim-markdown'

call plug#end()

set tabstop=4
set laststatus=2
set selection=inclusive
color desert
set gfn=Essential_PragmataPro:h11
syntax on
set nowrap
set noshowmode
let g:airline_powerline_fonts = 1
let g:airline_theme = 'deus'
let g:airline#extensions#tabline#enabled = 1
set backspace=2
set backspace=indent,eol,start
set nu
autocmd Filetype markdown setlocal spell

set linebreak
set textwidth=0
set wrapmargin=0
set enc=utf-8
set fileencoding=utf-8
map <F9> :execute '!pdflatex ' . shellescape(expand('%')) . ' && start "" ' . shellescape(expand('%:r') . '.pdf')<CR>

PragmataPro Essential font, purchased LEGALLY from that Schiavi guy. Directly from him, as a matter of fact. Would be great if he made the entire font $30 instead of just the “Essential” slimmed down version, but whatever. Iosevka is coming for him.

[]

Getting @font-face to Work on all Browsers

I’ve tried probably about ten suggestions found all over the web, and this is the only method I’ve found to function universally, across every browser I’ve tested it with.

@font-face {
    font-family: 'NameOfFontFamily';
    src: url('/font/file.eot?') format('eot'),
    url('/font/file.woff') format('woff'),
    url('/font/file.ttf') format('truetype');
}

You can use online font converters to convert an OpenType or TrueType font to *.eot and *.woff as needed. For whatever reason, the “?” appears to be important as well. Not sure about that, I’ll have to look into it further.

[]

Jekyll (Bootstrap) is for Everyone

If you’ve seen a good number of Jekyll blogs and find yourself pretty jealous, there really aren’t any excuses anymore. Jekyll Bootstrap literally removes all difficulty from using Jekyll. It’s basically a layer over Jekyll that has built in support for theming, post creation, and more. With Jekyll Bootstrap, you really need to know very little of the command line. If you have a favorite theme that’s Jekyll based, chances are that user has made it available on the internet via Github. Hurry up and check it out.

[]

Kinks Worked Out

It would seem I have the kinks worked out in my rsync setup. I guess I herped before derping when setting permissions, not realizing that the only way to get the binary to execute with a new login group added was to restart the process. It’s okay, I have a helmet to protect me from myself. It’s padded and has hexagons like a turtle shell. Hurrrrr.

Aside from that, though, things are going. I’m working still. Always good to have net gain in funds week by week. My feet, arms, and come to think of it- everything hurts. Sometimes it hurts in a gratifying way. Body parts such as my feet, however, not so gratifying. More of a stinging, burning sensation. Cramping also sucks. Back cramps, foot cramps, overall horrible cramping. I’ll survive. I’m not here to bitch, dammit. I’ll cease this at once.

[]

New Jekyll Setup

My prior Jekyll setup was as such:

  1. Jekyll installed on Amazon EC2 instance.
  2. Template/files generated on EC2 instance.
  3. Uploaded content to template/work directory as needed.

I’ve since decided that was “A Bad Idea™”, and have chosen to offload the work from the EC2 instance to my FreeBSD machine instead, updating content with rysnc as it’s generated. This poses a few minor annoyances for the moment. First, the DSL I’m connected to is currently crawling at a snail’s pace. However, the nice thing is that you, the reader, don’t see all my ugly fuckups as they happen. Instead, you only get to see the pretty pre-formatted pages as they’re ready for print. That’s a major advantage. As I learn Maruku, you’re not forced to watch me painfully learn it’s syntax. Good stuff, huh?

[]

“Cybersecurity” Rant

This post is largely a reply to a blog post by x_ryujin_x on his blog.

First of all, the internet is an insanely useful tool whose value can’t be underestimated. Sure, the internet can transfer lots of interesting information at light speed. That’s incredibly helpful. However, there are many sad individuals who put far too much faith in the internet and rely solely on it for their livelihood, pretty much entirely. It’s important we take a step back and realize the full implications of “TANGO DOWN” in relation to the internet.

[]

Redlegion’s Tips for Working Midnights

I recently landed a job on third shift, and it’s the fourth time in my lifetime I’ve worked third shift. I’ve always hated third shift, but I’ve also come to respect the diehards who do it year after year. It’s tricky, and not always easy. The sun is your enemy. Summer is also a pain. There are a great many things that get in the way of sleeping all day after working all night. Here are a few tips I’ve gathered along the way.

[]