Skip to content

Instantly share code, notes, and snippets.

Avatar
🐰

Raku raku-cat

🐰
View GitHub Profile
View gist:e77bbd0bf1b12e6e2518199f70f46777
2019-11-18 17:49:49 - TShock: INFO: TShock was improperly shut down. Please use the exit command in the future to prevent this.
2019-11-18 17:49:49 - TextLog: INFO: TShock 4.3.26.0 (Mintaka) now running.
2019-11-18 17:49:49 - TShock: INFO: AutoSave Enabled
2019-11-18 17:49:49 - TShock: INFO: Backups Disabled
2019-11-18 17:49:49 - TShock: INFO: Welcome to TShock for Terraria. Initialization complete.
2019-11-18 17:57:56 - Utils: INFO: Broadcast: Saving world. Momentary lag might result from this.
2019-11-18 17:59:09 - LinuxTcpSocket: ERROR: System.IO.IOException: Unable to read data from the transport connection: Attempted to access a missing method.. ---> System.MissingMethodException: Attempted to access a missing method.
at System.Net.Sockets.SocketAsyncResult.CheckIfThrowDelayedException () [0x00017] in <6c7c03f48a9747c8a644da4f63a34480>:0
at System.Net.Sockets.Socket.EndReceive (System.IAsyncResult asyncResult, System.Net.Sockets.SocketError& errorCode) [0x0003f] in <6c7c03f48a9747c8a644da4f63a34480>
View gist:f4d4a1fed36e111734182e5bb7e008f7
13227 openat(AT_FDCWD, "/opt/wine-staging/bin/../lib64/tls/x86_64/x86_64/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
13227 openat(AT_FDCWD, "/opt/wine-staging/bin/../lib64/tls/x86_64/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
13227 openat(AT_FDCWD, "/opt/wine-staging/bin/../lib64/tls/x86_64/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
13227 openat(AT_FDCWD, "/opt/wine-staging/bin/../lib64/tls/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
13227 openat(AT_FDCWD, "/opt/wine-staging/bin/../lib64/x86_64/x86_64/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
13227 openat(AT_FDCWD, "/opt/wine-staging/bin/../lib64/x86_64/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
13227 openat(AT_FDCWD, "/opt/wine-staging/bin/../lib64/x86_64/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
13227 openat(AT_FDCWD, "/opt/wine-staging/
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
You can’t perform that action at this time.