Skip to content

Instantly share code, notes, and snippets.

Viktor Barsk Ahtenus

Block or report user

Report or block Ahtenus

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View .gitignore
# Eclipse
.classpath
.project
.settings/
# Intellij
.idea/
*.iml
*.iws
out/
View gist:1860894
#check a2pslatin in .bashrc
iconv -f utf-8 -t latin1 audiofil.c | a2ps -o print.ps && ps2pdf print.ps print.pdf
iconv -f utf-8 -t latin1 audiofil.c -o audiofil.latin.c
a2ps --encoding=latin1 audiofil.latin.c -o print.ps && ps2pdf print.ps print.pdf
@Ahtenus
Ahtenus / switchmods
Created Oct 22, 2011
Updated version of switchmods
View switchmods
#!/bin/bash
#
# DESCRIPTION
#
# This is a script to automate the switch from r8169 to r8168.
#
# AUTHORSHIP
# Jameson Williams
# www.jamesonwilliams.com
#
@Ahtenus
Ahtenus / Latex header
Created Mar 12, 2011
Skellett för Latexdokument
View Latex header
\documentclass[a4paper,12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[swedish]{babel}
\usepackage{url}
\usepackage{hyperref}
\begin{document}
\title{Titel på det hela}
\author{Viktor Barsk}
\date{\today}
\maketitle
@Ahtenus
Ahtenus / Svorak-a5 xkbmap
Created Feb 26, 2011
Modifierad se symbolsfil med A5 på se dvorak
View Svorak-a5 xkbmap
// Modifierad se symbolsfil med A5 på se dvorak
//
// Installation (ubuntu 10.10):
//
// * Ersätt /usr/share/X11/xkb/symbols/se med denna fil
//
// * Flytta de kompilerade layoutfilerna för att få de att omkompilera:
// $ sudo mkdir /var/lib/xkb/bak
// $ sudo mv /var/lib/xkb/* /var/lib/xkb/bak/
// * Ställ in layouten igen:
You can’t perform that action at this time.