I hereby claim:
- I am neingeist on github.
- I am neingeist (https://keybase.io/neingeist) on keybase.
- I have a public key whose fingerprint is CB77 0FCD B4AA 5FB0 108F 82B4 DB21 F68B 4A5D BB9F
To claim this, I am signing this object:
#---------------------------------------------------------------------- | |
# add a task to taskwarrior | |
#---------------------------------------------------------------------- | |
if (/^From:.*VALIDSENDER@EXAMPLE.COM/ && /^To:.*taskwarrior@/) | |
{ | |
# save a copy | |
cc "$MAILDIR/.task/" | |
# extract subject and add task |
#!/usr/bin/perl | |
# Upload a file to a recent MediaWiki using the API. | |
use strict; | |
use MediaWiki::API 0.39; | |
my $wikiuser = $ARGV[0]; | |
my $wikipass = $ARGV[1]; | |
my $file = $ARGV[2]; | |
my $comment = $ARGV[3]; |
# HTML COLOR NAME COL A N T STRING or REGULAR EXPRESSION | |
#################### ### # # # ################################################################ | |
Red red (^E/.*) | |
Yellow yel (^W/.*) |
<html><body> | |
<?php | |
require_once '../includes/htmlpurifier-4.5.0-lite/library/HTMLPurifier/Bootstrap.php'; | |
spl_autoload_register(array('HTMLPurifier_Bootstrap', 'autoload')); | |
$config = HTMLPurifier_Config::createDefault(); | |
$config->set('HTML.Allowed', 'p,b,a[href],i,br,img[src]'); | |
$config->set('URI.Base', 'http://www.example.com'); |
#!/usr/bin/perl | |
# Check PTR for every IP in the given block. | |
use 5.010; | |
use strict; | |
use warnings; | |
use Readonly; | |
use Net::Netmask; | |
use Socket; |
<?xml version="1.0"?> | |
<stylesheet version="1.0" xmlns="http://www.w3.org/1999/XSL/Transform"> | |
<output method="text" indent="no" /> | |
<template match="/"> | |
<for-each select="//item"> | |
<text>== Title: </text><value-of select="title"/><text> == </text> | |
<for-each select="enclosure"> | |
<text>* </text><value-of select="@url"/><text> </text> |
#!/bin/sh | |
# mark old articles in owncloud news as read. | |
DAYS=14 | |
sqlite3 /var/www/owncloud/data/owncloud.db "update oc_news_items set status=0 where status=2 and pub_date<cast(strftime('%s','now', '-$DAYS days') as integer);" |
$ make epub | |
pandoc -f latex -t epub -o applied-crypto-hardening.epub applied-crypto-hardening.tex | |
pandoc: | |
Error: | |
"source" (line 2660, column 1): | |
unexpected end of input | |
expecting "}", "\\", "\\}", "\\{", "\\\\" or "{" | |
make: *** [epub] Error 1 |
#include "SDL.h" | |
#include <complex.h> | |
#include <stdbool.h> | |
/* The maximum iteration count. */ | |
const int max_it = 170; | |
/* Compute the out-coloring based on the iteration counter. */ | |
Uint32 outcolor(int it) { | |
return 0x00010001 * ((it * 0xff) / max_it); |
I hereby claim:
To claim this, I am signing this object: