I hereby claim:
- I am alx on github.
- I am alxgirard (https://keybase.io/alxgirard) on keybase.
- I have a public key whose fingerprint is C681 143F 0F3D 468D A4FC 8485 D9E6 EC82 B82D 73A1
To claim this, I am signing this object:
#!/bin/bash | |
# | |
# chkconfig: 35 90 12 | |
# description: Videoprojector start/stop | |
# | |
# Get function from functions library | |
. /etc/init.d/functions | |
# Start the videoprojector | |
start() { | |
initlog -c "echo -n Starting videoprojector: " |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
CmdUtils.CreateCommand({ | |
name: "press", | |
description: "Posts selected content from the current page to Pressmark.", | |
help: "Posts selected content from the current page to Pressmark.", | |
icon: "http://bookmark.alexgirard.com/favicon.ico", | |
homepage: "http://bookmark.alexgirard.com", | |
author: { name: "Alex Girard", email: "alex@lasindias.com"}, | |
contributors: ["Alex Payne"], | |
license: "WTFPL", | |
takes: {"link description": noun_arb_text}, |
cd moebius_installation | |
./moebius.rb comic_file.cbr |
#!/usr/bin/env ruby -wKU | |
servers = [ | |
{:id => 0, :alias => "aiko", :ip => "server_ip", :login => "ssh_login", :port => "ssh_port"} | |
] | |
# Read from command line | |
server_id = ARGV[0].to_i if !ARGV[0].nil? | |
# Read from input |
server { | |
listen 80; | |
server_name blog.feevy.com; | |
index index.php; | |
root /home/wwwfeev/blog; | |
if (!-e $request_filename) { | |
rewrite ^(.*)$ /index.php?q=$1 last; | |
break; | |
} |
#!/usr/bin/env python | |
import sgmllib, re, time, string, os, sys, getopt, logging | |
from xml.dom import minidom | |
# | |
# Script to transform a wordpress export file into multiple textile files | |
# | |
# Usage: | |
# pyhton wordpress-export-to-textile.py -o ~/output-dir/ ~/path-to-file/wordpress-export.xml |
require 'rubygems' | |
require 'merb' | |
require 'rfeedfinder-slice' | |
RfeedfinderSlice::Rfeedfinder.feed("http://alexgirard.com") |
NameError in 'Page should contain an element' | |
uninitialized constant LazyArray::RETURN_SELF | |
/Library/Ruby/Gems/1.8/gems/dm-core-0.9.7/lib/dm-core/associations/one_to_many.rb:311:in `method_missing' | |
/Users/alx/legodata/app/legodata_cms/app/models/page.rb:22:in `parse_elements' | |
/Library/Ruby/Gems/1.8/gems/extlib-0.9.9/lib/extlib/hook.rb:258:in `execute_before_save_nan_hook_stack' | |
/Library/Ruby/Gems/1.8/gems/extlib-0.9.9/lib/extlib/hook.rb:293:in `save' | |
/Library/Ruby/Gems/1.8/gems/extlib-0.9.9/lib/extlib/hook.rb:292:in `catch' | |
/Library/Ruby/Gems/1.8/gems/extlib-0.9.9/lib/extlib/hook.rb:292:in `save' | |
./spec/models/page_spec.rb:13: |