Skip to content

Instantly share code, notes, and snippets.

View smiler's full-sized avatar

Christian Axelsson smiler

  • Uppsala, Sweden
View GitHub Profile
if (
ExportList
.
All
(treeViewItemViewModel
=>
treeViewItemViewModel
.
GetType
() ==
#!/usr/bin/env perl
# Hailo requires Perl 5.10
use v5.10;
use strict;
use feature "switch";
use Any::Moose;
use Hailo;
# Setup brain from first argument
my $hailo = Hailo->new(brain => $ARGV[0]);
- Ballskräppa; testikelpung, en feg person
- Klingfitta; en kvinna som säljer bröd av illa siktat mjöl
- Skalk; bedragare
- Hund; elak människa
- Rumpoxe; dum person
- Slamsäcker; lättfärdig kvinna
- Mashund; snåljåp
- Gillbertil; övermodig person eller kåt man
- Prackare; skojare, klåpare
- Räv; opålitlig person
[ root mail:/home/smiler] # pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
testing is up to date
archlinuxfr is up to date
:: Starting full system upgrade...
:: Replace kernel26 with core/linux? [Y/n]
resolving dependencies...
{
"d":[
{
"__type":"Models.Person",
"Id":1,
"UserName":"Maja",
"FirstName":"Maja",
"LastName":"Johansson",
"Password":"a",
"LoginDisabled":false,
# Who smiles the most?
my $e = '[8;:=%]'; # eyes
my $n = '[-oc*^]'; # nose
# smileys including asian-style (^^ ^_^' ^^; \o/)
if ($saying =~ /(>?$e'?$n[\)pPD\}\]>]|[\(\{\[<]$n'?$e<?|[;:][\)pPD\}\]\>]|\([;:]|\^[_o-]*\^[';]|\\[o.]\/)/o) {
$stats->{smiles}{$nick}++;
$stats->{smileys}{$1}++;
$stats->{smileynicks}{$1} = $nick;
}
DuplicateContractCommand = new RelayCommand<ContractListItem>(c =>
{
if (CheckLocked()) return;
SaveBeforeContinue();
var copy = c.Contract.Copy();
// Append (n) to the copys name.
// The algorithm will find the highest n in use for the common prefix of the property identifier.
@surface | nu ska ja bajsa
@daromer_ | har ja redan gjort idag
@surface | Fyfan va skönt
@surface | helt uttömd
@Mole | jag skiter bara på arbetstid :)
@surface | brukar göra det
@surface | men vi har fått nytt toapapper
@surface | känns som sandpapper
@surface | river upp hela röven
@Mole | en gammal kollega till mig brukade ta med eget
Yes. I've succeeded, except that I have a ADI dmc-2304 SVGA
monitor which supports only few clocks. I include parts of my
Xconfig here (unnecessary lines deleted to save bandwidth).
Behavior of these clocks is somehow strange: if I remove the
needless clock "31.5" won't X run any more in 800x600 resolution.
# The graphics drivers
# First the 8-bit colour SVGA driver
#
vga256
@smiler
smiler / mir.sml
Created January 20, 2012 09:01
Simple SML IRC robot
(**************************************************************************
* File : mir.sml
* Project : ML IRC Robot
* Author : Christian Axelsson
* Created : 2006-01-23
* Description : An IRC robot written in SML (with Moscow ML extensions)
**************************************************************************)
val _ = app load ["Socket", "Byte", "Date"];
(* event
This represent all events that can be triggerd. Note than some events may