Skip to content

Instantly share code, notes, and snippets.

View funglaub's full-sized avatar
🏠
Working from home

Florian Unglaub funglaub

🏠
Working from home
  • Nürnberg, Germany
View GitHub Profile
<% content_for :head do %>
<script>
$('editable_link').click(function() {
$('#editable_form').html( "<%= escape_javascript( raw render :partial => 'users/info_form') %>" );
});
</script>
<% end %>
<ul>
<li>Login: <%= @user.login %></li>
<li>Name: <%= @user.name %></li>
# This file is part of acpi-eeepc-generic.
# http://code.google.com/p/acpi-eeepc-generic/
#
# acpi-eeepc-generic is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# acpi-eeepc-generic is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
source 'http://rubygems.org'
gem 'rake', '0.8.7'
gem 'rails', '3.1.0.rc4'
gem 'jquery-rails', "~> 1.0.12"
# Asset template engines
gem 'sass'
gem 'coffee-script'
gem 'uglifier'
Save-visited-files 1.2 available save opened files across sessions
abacus 1.0.2 available Abacus Calculator
ac-R 0.1 available Autocompletion routines for R
all 1.0 available Edit all lines matching a given regexp
alpha 1.0 available increase frame transparency
android-mode 0.1 available Minor mode for Android application development
anything 1.287 available open anything / QuickSilver-like candidate-selection framework
anything-R 0.1.2010 available anything-sources and some utilities for GNU R.
anything-complete 1.86 available completion with anything
anything-config 0.4.1 available Predefined configurations for `anything.el'
#define SOCK_PATH "/var/run/devd.pipe"
#define REGEX "subsystem=CDEV type=(CREATE|DESTROY) cdev=(da[0-9]+[a-z]+[0-9]?[a-z]?)"
#include <sys/param.h>
#include <sys/errno.h>
#include <sys/file.h>
#include <sys/proc.h>
#include <sys/resource.h>
#include <sys/rtprio.h>
#include <sys/signal.h>
#include <sys/sysctl.h>
#include <sys/time.h>
#include <sys/user.h>
package main
import (
"bytes"
"encoding/json"
"errors"
"flag"
"fmt"
"io/ioutil"
"net/http"
@funglaub
funglaub / gist:2918703
Created June 12, 2012 16:59
FreeBSD: Install sqlite3 gem
gem install sqlite3 -- --with-sqlite3-dir=/usr/local
@funglaub
funglaub / make.conf
Created June 12, 2012 17:10
FreeBSD Hetzner Setup
CFLAGS= -O2 -fno-strict-aliasing -pipe -march=native -fno-omit-frame-pointer
CXXFLAGS+= -fconserve-space
WITHOUT_X11=YES
# added by use.perl 2012-06-08 14:34:18
PERL_VERSION=5.12.4
MAKE_JOBS_NUMBER=8
RUBY_DEFAULT_VER=1.9
RUBY_VER=1.9
@funglaub
funglaub / portmaster.rc
Created July 17, 2012 18:41
FreeBSD Portmaster config file
# $FreeBSD: user/dougb/portmaster/files/portmaster.rc.sample.in 226959 2011-10-31 08:32:36Z dougb $
ALWAYS_SCRUB_DISTFILES=dopt
PM_DEL_BUILD_ONLY=pm_dbo
SAVE_SHARED=wopt
PM_LOG=/var/log/portmaster.log
PM_IGNORE_FAILED_BACKUP_PACKAGE=pm_ignore_failed_backup_package