This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
хуита | |
говно |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
struct bigint { | |
unsigned char *p; | |
int size; | |
}; | |
typedef struct bigint BigInt; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/echinus.c b/echinus.c | |
index d21bab7..2426307 100644 | |
--- a/echinus.c | |
+++ b/echinus.c | |
@@ -191,8 +191,9 @@ unsigned int numlockmask; | |
struct { | |
Bool dectiled; | |
Bool hidebastards; | |
- int focus; | |
- int snap; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/awk -f | |
function rstrip(str) { | |
gsub(/ *$/, "", str) | |
return str | |
} | |
function lstrip(str) { | |
gsub(/^ */, "", str) | |
return str | |
} | |
function disk(dev) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/awk -f | |
function run(cmd) { | |
if (system(cmd) != 0) | |
exit 1 | |
} | |
BEGIN { | |
networks["my-super-network"] = "u1tr@SecURep@ssw0rd111" | |
iface = "wpi0" | |
wired = "em0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iconDir = "/home/plhk/.xmobar/" | |
getIcon s = "<icon=" ++ iconDir ++ s ++ ".xbm" ++ ">" | |
------------------------------------------------------------------------ | |
-- Now run xmonad with all the defaults we set up. | |
-- Run xmonad with the settings you specify. No need to modify this. | |
-- | |
main = do | |
xmonad =<< statusBar "xmobar" myPP toggleStrutsKey defaults |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Data.Aeson | |
import Network.HTTP | |
import System.Environment (getArgs) | |
import Control.Monad (mapM_, void) | |
import Control.Monad.Trans.Maybe | |
import Control.Monad.Trans.Class (lift) | |
import qualified Data.ByteString.Lazy.Char8 as LBS | |
import qualified Data.Text as T -- can be traded for OverloadedStrings option |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
// #include "cmarisa.h" | |
// #include <marisa/base.h> | |
// #cgo LDFLAGS: -lcmarisa -L/usr/local/lib | |
import "C" | |
import "os" | |
import "io" | |
import "log" | |
import "bufio" | |
import "strings" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
// #include <stdlib.h> | |
// #include <lua5.1/lua.h> | |
// #include <lua5.1/lualib.h> | |
// #include <lua5.1/lauxlib.h> | |
// #cgo LDFLAGS: -llua5.1 | |
import "C" | |
import "unsafe" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import "syscall" | |
import "log" | |
import "runtime" | |
import "flag" | |
import "fmt" | |
import "strconv" | |
import "os" | |
import "os/signal" |
OlderNewer