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
/* | |
* ===================================================================================== | |
* | |
* Filename: keyword.cpp | |
* | |
* Description: Keyword Cipher written for T-109-INTO | |
* | |
* | |
* Version: 1.0 | |
* Created: fös 1.nóv 2013 00:04:28 |
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
myManageHook = manageDocks <+> composeAll | |
[ className =? "Steam" --> doFloat | |
, className =? "Steam" --> doShift "6:steam" | |
, className =? "dota_linux" --> doShift "6:steam" | |
, className =? "steam" --> doShift "3:code" | |
, className =? "steam" --> doFloat --bigpicturemode | |
, className =? "Chromium" --> doShift "2:web" | |
, className =? "mpv" --> doFloat | |
, className =? "Gimp" --> doShift "7:gimp" | |
, isFullscreen --> doFullFloat --fullscreen flash and other stuff |
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/env node | |
//Dependencies. | |
var clc = require('cli-color'), | |
util = require('util'), | |
ic = require('irc-colors'), | |
whois = require('whois-available'), | |
imdb = require('imdb-api'), | |
config = require('./modules/config.js'), | |
eventSystem = require('./modules/eventSystem.js'), |
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
/* | |
* allOddBits - return 1 if all odd-numbered bits in word set to 1 | |
* Examples allOddBits(0xFFFFFFFD) = 0, allOddBits(0xAAAAAAAA) = 1 | |
* Legal ops: ! ~ & ^ | + << >> | |
* Max ops: 12 | |
* Rating: 2 | |
*/ | |
int allOddBits(int x) { | |
int a = x >> 16; | |
x &= a; |
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
310 /* | |
311 * float_neg - Return bit-level equivalent of expression -f for | |
312 * floating point argument f. | |
313 * Both the argument and result are passed as unsigned int's, but | |
314 * they are to be interpreted as the bit-level representations of | |
315 * single-precision floating point values. |
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
Running Steam on arch rolling 64-bit | |
STEAM_RUNTIME is enabled automatically | |
Installing breakpad exception handler for appid(steam)/version(1373503443_client) | |
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0" | |
after 73 requests (73 known processed) with 0 events remaining. | |
Running Steam on arch rolling 64-bit | |
STEAM_RUNTIME is enabled automatically | |
Installing breakpad exception handler for appid(steam)/version(1380154943_client) | |
Installing breakpad exception handler for appid(steam)/version(1380154943_client) | |
unlinked 0 orphaned pipes |
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
Running Steam on arch rolling 64-bit | |
STEAM_RUNTIME is enabled automatically | |
Installing breakpad exception handler for appid(steam)/version(1373503443_client) | |
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0" | |
after 73 requests (73 known processed) with 0 events remaining. | |
Running Steam on arch rolling 64-bit | |
STEAM_RUNTIME is enabled automatically | |
Installing breakpad exception handler for appid(steam)/version(1380154943_client) | |
Installing breakpad exception handler for appid(steam)/version(1380154943_client) | |
unlinked 0 orphaned pipes |
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 "stdint.h" | |
#include "stdio.h" | |
int main() | |
{ | |
uint8_t x = 0x55; | |
uint8_t y0, y1, y2, y3, y; | |
y1= (x >> 4); | |
printf("y1 is: %u\n", y1); |
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 XMonad | |
import XMonad.Hooks.ManageDocks | |
import XMonad.Hooks.ManageHelpers | |
import XMonad.Hooks.DynamicHooks | |
import XMonad.Hooks.DynamicLog | |
import XMonad.Layout.PerWorkspace --Gimp | |
import XMonad.Layout.Fullscreen | |
import XMonad.Layout.NoBorders | |
import XMonad.Layout.IM --Gimp | |
import XMonad.Layout.Reflect --Gimp |
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
20 #Do evil. | |
21 while True: | |
22 f = open('rickroll.txt') | |
23 s.send("espeak \n") | |
24 for line in f.readlines(): | |
25 s.send(line + "\n") | |
27 break |