Skip to content

Instantly share code, notes, and snippets.

View raku-cat's full-sized avatar
🐕

Raku raku-cat

🐕
View GitHub Profile
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";
}
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"))
Python 2.7
--------------
>> crypt.crypt(u"流れる".encode("sjis"), "ab")
'abPIB/We4mESk'
>>>
Python 3
--------------
>>> crypt.crypt("流れる".encode("sjis"), "ab")
Traceback (most recent call last):
# $Id$
# Maintainer: Bartłomiej Piotrowski <[email protected]>
# Contributor: Allan McRae <[email protected]>
# 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}
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
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)
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
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
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 8
DHCPREQUEST of 192.168.1.36 on eth1 to 255.255.255.255 port 67
# Maintainer: Raku <[email protected]>
# Original compton-git PKGBUILD and aur package maintained by WorMzy Tykashi <[email protected]>
# Based of compton-blackcapcoder-git PKGBUILD by VerruckteFuchs <[email protected]>
pkgname=glendale-develop-gl3.2
_gitname=compton
pkgver=0.1_beta2.166.g057a194
pkgrel=1
pkgdesc="Compton fork by DelusionalLogic, renamed to glendale so they can coexist for the time being."
arch=(i686 x86_64)
url="https://github.com/DelusionalLogic/compton"
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
auto eth1
allow-hotplug eth1
iface eth1 inet dhcp
iface eth1 inet6 dhcp