Skip to content

Instantly share code, notes, and snippets.

View Cynede's full-sized avatar
🕸️

ミーゼこちゃん Cynede

🕸️
View GitHub Profile
>>> Source unpacked in /var/tmp/portage/dev-dotnet/xsp-2.10.2-r2/work
* ERROR: dev-dotnet/xsp-2.10.2-r2 failed (prepare phase):
* The source directory '/var/tmp/portage/dev-dotnet/xsp-2.10.2-r2/work/xsp-2.10.2' doesn't exist
#!/usr/bin/python
import os
import string
import time
from threading import Thread
# -------- below classes has some troubles with my IDE but nvm ---------
from configparser import ConfigParser
from subprocess import Popen, PIPE
@Cynede
Cynede / gist:4283489
Created December 14, 2012 07:47
F# 3.0 FROM THE BOX ON GENTOO
App.config TeAI.fs TeAIChess.fsproj TeAIConsole.fs TeAIHelpers.fs TeAIModel.fs
>>xbuild TeAIChess.fsproj ~/contrib/fchess/src/ :)
XBuild Engine Version 3.0.1.0
Mono, Version 3.0.1.0
Copyright (C) Marek Sieradzki 2005-2008, Novell 2008-2011.
Build started 12/14/2012 11:46:26.
__________________________________________________
Project "/home/nen/contrib/fchess/src/TeAIChess.fsproj" (default target(s)):
Target PrepareForBuild:
@Cynede
Cynede / gist:4334476
Created December 19, 2012 04:57
Steam strace
strace steam ~/ :(
execve("/usr/bin/steam", ["steam"], [/* 60 vars */]) = 0
brk(0) = 0x8100000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb77c7000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=108347, ...}) = 0
mmap2(NULL, 108347, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb77ac000
close(3) = 0
open("/lib/libreadline.so.6", O_RDONLY|O_CLOEXEC) = 3
@Cynede
Cynede / gist:4352237
Created December 21, 2012 11:22
FUN (c)
if (token == 1) {
PIO_Clear(&leds[0]);
PIO_Set(&leds[1]);
token = 0;
}
else {
PIO_Set(&leds[0]);
PIO_Clear(&leds[1]);
token = 1;
}
{-# LANGUAGE RecordWildCards #-}
{-# OPTIONS -fno-warn-orphans #-}
{-# OPTIONS -fno-warn-orphans #-}
{-# LANGUAGE FlexibleContexts #-}
-- | Main compiler executable.
module Main where
import Language.Fay
import Language.Fay.Compiler
@Cynede
Cynede / gist:4368891
Created December 24, 2012 11:27
/me playing sandbox
Game update: AppID 0 "sandbox", ProcID 17690, IP 0.0.0.0:0
============================= Gentoo path sandbox ==============================
Detection of the support files.
Verification of the required files.
Setting up the required environment variables.
The protected environment has been started.
--------------------------------------------------------------------------------
Process being started in forked instance.
* Loading sandboxed shell
>>runghc css/syntax.hs ~/contrib/web/cynede/ :)
css/syntax.hs:7:28:
Couldn't match expected type `Clay.Property.Literal'
with actual type `[Char]'
In the expression: "Monaco"
In the first argument of `fontFamily', namely
`["Monaco", "Consolas", "Courier New", "monospace"]'
In a stmt of a 'do' block:
fontFamily ["Monaco", "Consolas", "Courier New", "monospace"]
main = putCss $
do html body ?
do fontSize (em 0.6)
@Cynede
Cynede / gist:4492036
Created January 9, 2013 10:02
F# FAKE is taking action in Gentoo ecosystem
>> Emerging (1 of 1) dev-dotnet/fchess-9999 from weirdo
>>> Unpacking source...
remote: Counting objects: 9, done.
remote: Compressing objects: 100% (1/1), done.
remote: Total 5 (delta 4), reused 5 (delta 4)
Unpacking objects: 100% (5/5), done.
From git://github.com/Cynede/FChess
d997552..70a4f9b master -> master
GIT update -->
repository: git://github.com/Cynede/FChess.git