Skip to content

Instantly share code, notes, and snippets.

View meredrica's full-sized avatar

meredrica

View GitHub Profile
@meredrica
meredrica / migrate.sh
Last active September 23, 2016 01:40
script to migrate my blogs from blogger to hexo
#!/bin/bash
# remove what's there
rm source/_posts/*.md
# download blogs
node_modules/.bin/hexo migrate blogger 'http://blog.meredrica.org/feeds/posts/default?alt=json&max-results=10000'
node_modules/.bin/hexo migrate blogger 'http://jujitsu.westreicher.org/feeds/posts/default?alt=json&max-results=10000'
# fix image links generated by migrate
@meredrica
meredrica / default.conf
Created October 14, 2012 09:53
my lilyterm conf
#.config/lilyterm/default.conf
[main]
# Auto save settings when closing window.
auto_save = 0
# The version of this profile's format. DO NOT EDIT IT!
version = 0.9.9
# The default font name of vte terminal.
@meredrica
meredrica / rc.lua
Last active May 13, 2021 14:19
my awesome rc.lua
-- Standard awesome library
local gears = require("gears")
local awful = require("awful")
require("awful.autofocus")
-- Widget and layout library
local wibox = require("wibox")
-- Theme handling library
local beautiful = require("beautiful")
-- Notification library
local naughty = require("naughty")
@meredrica
meredrica / meredrica.zsh-theme
Created August 11, 2012 17:09
my zsh theme
setopt PROMPT_SUBST
autoload -U colors
colors
# set up colors
# user color
if [ $UID -eq 0 ]; then user_color="red"; else user_color="magenta"; fi
# ssh color
if [[ -n "$SSH_CLIENT" || -n "$SSH2_CLIENT" ]]; then ssh_color="yellow"; else ssh_color="green"; fi
# git symbol color
local git_symbol_color="cyan"
@meredrica
meredrica / id_rsa.pub
Created August 11, 2012 17:07
my ssh public key
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAtaAffwfWaUPaWDD8+uOtDJpqa7YEuKux9600cMIiggJOBYtWYZm/WeonAkgdjefsAVt+MyETXiCnLhK7DsYFGcZVEPIBepM4zc0eoGhF3HQU+peLZtTr83NnNvxjHr6lDdQWPm0/N4wwLZ/VKp7AjGT3V/9bCFacg7N471tmM2JOl34y3o2hmLruBJW9NgMGLswv4iMWVPMclrGuRw6PKBefZ0rktgmf1qUhZYzson1lw6+Is3VH0sXUyNDZ0CWJwOilc6FYTH6X59ALgduEdK257pQbSbY/V/ovmDrofIxJXOyTqwGlzAtcmuO2fYpPJOQpsDhQL4Z7Ns7YBiK9Tw== meredrica@vmGNWSRV404.genoa.co.at
@meredrica
meredrica / vromerc
Created May 4, 2012 23:07
my .vromerc
map j 10j
map k 10k
@meredrica
meredrica / .vimrc
Created April 15, 2012 21:08
my .vimrc
set nocompatible " running vim not vi
" TODO: have a look at these crazy things:
"
" Source the vimrc file after saving it. This way, you don't have to
"reload Vim to see the changes.
"if has("autocmd")
" augroup myvimrchooks
" au!
" autocmd bufwritepost .vimrc source ~/.vimrc
" augroup END