Skip to content

Instantly share code, notes, and snippets.

Raku raku-cat

View GitHub Profile
View gist:683a0b4447f2cb5ff8224d32f732e2bd
location /abt/ {
proxy_set_header Host $host;
proxy_pass http://127.0.0.1:6969/;
proxy_set_header X-Forwarded-Host $server_name:$server_port;
proxy_hide_header Referer;
proxy_hide_header Origin;
proxy_set_header Referer '';
proxy_set_header Origin '';
add_header X-Frame-Options "SAMEORIGIN";
}
View PKGBUILD
# Contributor: judd <jvinet@zeroflux.org>
pkgname=alsa-lib
pkgver=1.1.7
pkgrel=2
pkgdesc="An alternative implementation of Linux sound support"
arch=('x86_64')
url="http://www.alsa-project.org"
depends=('glibc')
optdepends=('python2: for python smixer plugin')
View gist:7221ee2e1b2f035b94f477cb5e7d16b4
Python 3.6.6 (default, Jun 27 2018, 14:44:17)
[GCC 8.1.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from cffi import FFI
>>> ffi = FFI()
>>> ffi.cdef("""
... char* crypt(const char*, const char*);
... """)
>>> C = ffi.dlopen(None)
>>> ffi.string(C.crypt("流れる".encode("sjis"), b"ab"))
View gist:de5b3e9d3bca5abccaf15ac131a808cd
Python 2.7
--------------
>> crypt.crypt(u"流れる".encode("sjis"), "ab")
'abPIB/We4mESk'
>>>
Python 3
--------------
>>> crypt.crypt("流れる".encode("sjis"), "ab")
Traceback (most recent call last):
View PKGBUILD
# $Id$
# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Contributor: Allan McRae <allan@archlinux.org>
# toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc
# NOTE: libtool requires rebuilt with each new gcc version
pkgname=(gcc7 gcc7-libs)
pkgver=7.3.1+20180406
_majorver=${pkgver:0:1}
View log
This file has been truncated, but you can view the full file.
==> Making package: gcc7 7.3.1+20180406-1 (Tue 14 Aug 2018 01:32:55 PM CDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found gcc-7.3.1-20180406.tar.xz
-> Found gcc-7.3.1-20180406.tar.xz.sig
-> Found isl-0.18.tar.bz2
-> Found c89
-> Found c99
View xtrace.log
+ export TEXTDOMAIN=pacman-scripts
+ TEXTDOMAIN=pacman-scripts
+ export TEXTDOMAINDIR=/usr/share/locale
+ TEXTDOMAINDIR=/usr/share/locale
+ export COMMAND_MODE=legacy
+ COMMAND_MODE=legacy
+ unset CDPATH
+ unset GREP_OPTIONS
+ declare -r makepkg_version=5.1.1
+ declare -r confdir=/etc
View steamlog
Generating new string page texture 112: 128x256, total string texture memory is 2.11 MB
Installing breakpad exception handler for appid(streaming_client)/version(20180724182646)
Installing breakpad exception handler for appid(streaming_client)/version(1.0)
Installing breakpad exception handler for appid(streaming_client)/version(1.0)
Installing breakpad exception handler for appid(streaming_client)/version(1.0)
Installing breakpad exception handler for appid(streaming_client)/version(1.0)
libva info: VA-API version 0.40.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib32/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_40
View gist:bf7e60a3457711a51fd47cf662fce46d
i5k_amb-isa-0000
Adapter: ISA adapter
Ch. 0 DIMM 0: +93.0°C (low = +92.0°C, high = +124.0°C)
Ch. 0 DIMM 1: +101.0°C (low = +92.0°C, high = +122.0°C)
Ch. 1 DIMM 0: +108.5°C (low = +99.0°C, high = +124.0°C)
Ch. 1 DIMM 1: +97.5°C (low = +101.0°C, high = +124.0°C)
Ch. 2 DIMM 0: +115.0°C (low = +127.5°C, high = +127.5°C)
Ch. 2 DIMM 1: +101.0°C (low = +102.0°C, high = +124.0°C)
Ch. 3 DIMM 0: +104.0°C (low = +99.0°C, high = +124.0°C)
Ch. 3 DIMM 1: +82.5°C (low = +101.5°C, high = +124.0°C)
View gist:7c1607c429094b222d0cd35ce5b6b638
Killed old client process
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/eth1/00:30:48:32:d9:9f
Sending on LPF/eth1/00:30:48:32:d9:9f
Sending on Socket/fallback
DHCPRELEASE on eth1 to 192.168.1.50 port 67
You can’t perform that action at this time.