Skip to content

Instantly share code, notes, and snippets.

@ushis
ushis / curve25519-chacha20poly1305.go
Last active February 20, 2022 19:17
golang curve25519 chacha20poly1305
package main
import (
"crypto/cipher"
"crypto/rand"
"encoding/base64"
"fmt"
"golang.org/x/crypto/chacha20poly1305"
"golang.org/x/crypto/curve25519"
<!DOCTYPE html>
<html>
<body>
<iframe src="https://veranstaltungen.aboutsource.demo.krautbuster.org/widget.html#!/containers/energiewende-mai-spaziergang?visibility=private" width="600", height="600"></iframe>
<iframe src="https://veranstaltungen.aboutsource.demo.krautbuster.org/widget.html#!/containers/energiewende-mai-spaziergang?visibility=public" width="600", height="600"></iframe>
<iframe src="https://veranstaltungen.aboutsource.demo.krautbuster.org/widget.html#!/containers/energiewende-mai-spaziergang" width="600", height="600"></iframe>
</body>
</html>
+ aclocal
+ autoheader
+ autoconf
+ libtoolize --no-warn
libtoolize: putting auxiliary files in `.'.
libtoolize: linking file `./ltmain.sh'
+ '[' -d config-aux ']'
+ mkdir config-aux
+ automake -a -c
configure.ac:29: installing './compile'
@ushis
ushis / log
Created January 16, 2014 00:43
whitedb 7.2 clang 3.4 build log
configure: ====== initialising ======
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
@ushis
ushis / PKGBUILD
Created January 14, 2014 14:59
jabberd2-2.3.1 PKGBUILD
# Submitter: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Moritz Rudert (helios) <helios@planetcyborg.de>
# Maintainer: Janusz Lewandowski <lew21@enves.pl>
pkgname=jabberd2
pkgver=2.3.1
pkgrel=1
pkgdesc='Scalable, architecturally sound, and extensible XMPP server'
arch=('i686' 'x86_64')
url='http://jabberd2.org/'
@ushis
ushis / PKGBUILD
Last active December 21, 2015 03:09
# Contributor: Guillermo Garcia |AhIoRoS| < ahioros@gmail.com >
pkgname=pidgin-extprefs
pkgver=0.7
pkgrel=5
pkgdesc="Plugin adds additional preferences for pidgin "
url="http://gaim-extprefs.sourceforge.net/"
depends=('pidgin' 'glibc')
makedepends=('pkgconfig')
@ushis
ushis / put.zsh
Last active March 31, 2017 00:19
# Uploads files to honkgong.
#
# Specify some files like so:
#
# put <file> [<file> ...]
#
# Or pipe some data into it:
#
# cat file1 file2 | put
#
@ushis
ushis / nginx.conf
Created April 9, 2013 23:55
Nginx proxy_pass filtered by HTTP verbs.
# From http://stackoverflow.com/questions/8591600/nginx-proxy-pass-based-on-whether-request-method-is-post-put-or-delete
server {
location / {
# This proxy_pass is used for requests that don't
# match the limit_except
proxy_pass http://127.0.0.1:8080;
# For requests that *aren't* a PUT, POST, or DELETE,
# pass to :9080
#!/usr/bin/env ruby
puts "ruby #{RUBY_VERSION}"
class A
def a
if respond_to?(:b)
puts "I am responding to b."
else
puts "I am not responding to b."
#!/usr/bin/env ruby
require 'terminfo'
system('clear')
y, x = TermInfo.screen_size.map { |d| (d / 2) - 1 }
$stdout.write("#{"\n" * (y - 3)}#{" " * (x - 10)}Man Blowing A Bubble\n\n\n")