This file contains hidden or 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
{ | |
"total_rows": 1, | |
"offset": 0, | |
"rows": [{ | |
"id": "main", | |
"key": "main", | |
"value": { | |
"_id": "3ae31b9ea0560a740c051db5510014f2" | |
}, | |
"doc": { |
This file contains hidden or 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
CC=clang | |
CFLAGS=-Wall -Wextra -pedantic -std=c89 | |
LIBS=-lXmuu -lX11 -lXcursor | |
SRC=xfetchname.c | |
OBJS=$(SRC:.c=.o) | |
xfetchname: $(OBJS) | |
$(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(LIBS) -o $@ |
This file contains hidden or 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
var crypto = require('crypto'); | |
var fs = require('fs'); | |
fs.readFile('/tmp/4.jpg', function(err, data){ | |
if (!err){ | |
var cipher = crypto.createCipher('aes-256-cbc','abc') // set up cipher engine | |
var crypted = cipher.update(data,'binary','hex') | |
crypted += cipher.final('hex') | |
var decipher = crypto.createDecipher('aes-256-cbc','abc') //set up decipher engine |
This file contains hidden or 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
% lsof | grep Flash | |
chromium 1691 keks 26u REG 8,2 520395 2142924 /tmp/FlashXXpYCsJW (deleted) | |
chromium 1691 keks 31u REG 8,2 3707862 2142925 /tmp/FlashXXappmLV (deleted) | |
chromium 1691 1693 keks 26u REG 8,2 520395 2142924 /tmp/FlashXXpYCsJW (deleted) | |
chromium 1691 1693 keks 31u REG 8,2 3707862 2142925 /tmp/FlashXXappmLV (deleted) | |
chromium 1691 1697 keks 26u REG 8,2 520395 2142924 /tmp/FlashXXpYCsJW (deleted) | |
chromium 1691 1697 keks 31u REG 8,2 3707862 2142925 /tmp/FlashXXappmLV (deleted) | |
chromium 1691 1698 keks 26u REG 8,2 520395 2142924 /tmp/FlashXXpYCsJW (deleted) | |
chromium 1691 1698 keks 31u REG 8,2 3707862 2142925 /tmp/FlashXXappmLV (deleted) | |
chromium 1691 1707 keks 26u REG 8,2 520395 2142924 /tmp/FlashXXpYCsJW (deleted) |
This file contains hidden or 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
/* See LICENSE file for copyright and license details. */ | |
/* appearance */ | |
static const char font[] = "-*-tamsyn-medium-*-*-*-12-*-*-*-*-*-*-*"; | |
static const char normbordercolor[] = "#444444"; | |
static const char normbgcolor[] = "#444444"; | |
static const char normfgcolor[] = "#73a800"; | |
static const char selbordercolor[] = "#73a800"; | |
static const char selbgcolor[] = "#444444"; |

This file contains hidden or 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
(function () { | |
var thumbs = {}; | |
Thumb = function(cfgObj){ | |
if(typeof(cfgObj) !== "object") throw("config object missing!") | |
if(cfgObj.parentElement!= null){ | |
this.parentElement = cfgObj.parentElement | |
}else{ | |
throw("no parent element!"); | |
} |
This file contains hidden or 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
void | |
drawbar(Monitor *m) { | |
int x; | |
unsigned int i, occ = 0, urg = 0; | |
unsigned long *col; | |
Client *c; | |
for(c = m->clients; c; c = c->next) { | |
occ |= c->tags; | |
if(c->isurgent) |
This file contains hidden or 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 "stdlib.h" | |
#include "stdio.h" | |
#include "sqlite/sqlite3.h" | |
int gotmail(void* NotUsed, int colcount, char** qresult, char** colname); | |
sqlite3* db; | |
char * EMSG = NULL; | |
int main(){ |
This file contains hidden or 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/python2 | |
import simplejson, urllib | |
from optparse import OptionParser | |
from sys import argv,exit | |
class URLNotValidError(Exception): | |
pass | |
class Soundcloud(object): |
OlderNewer