Skip to content

Instantly share code, notes, and snippets.

View anko's full-sized avatar

Antti Korpi anko

View GitHub Profile
@anko
anko / amazing.svg
Created June 17, 2015 16:25
Making a MEGA RAINBOW AMAZING shields.io badge
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@anko
anko / eslsxml.js
Created June 15, 2016 00:39
eslisp SXML macro implementation example
function convertToplevel(node) {
switch (node.type) {
case 'string':
return node.value
case 'list':
var name = node.values[0].value
var rest = node.values.slice(1)
@anko
anko / keybase.md
Created January 9, 2017 19:24
keybase.md

Keybase proof

I hereby claim:

  • I am anko on github.
  • I am anko (https://keybase.io/anko) on keybase.
  • I have a public key ASAurfLcx6TR8uPEapLI3J9Kx_bPtIJvgh8YJMM9pLB3QAo

To claim this, I am signing this object:

@anko
anko / main.c
Created March 13, 2019 03:10
An example of sending a synthetic GdkEvent
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
static gboolean
on_timeout (gpointer user_data)
{
GtkWidget *widget = user_data;
GdkKeymapKey *keys;
gint n_keys;
@anko
anko / slr-latest.log
Created May 6, 2022 19:12
Dota 2 SLR crash on start
pid 10298 != 10290, skipping destruction (fork without exec?)
21:03:53.924164: _v2-entry-point[10290]: argv: /home/anko/.local/share/Steam/steamapps/common/SteamLinuxRuntime/scout-on-soldier-entry-point-v2 -- /home/anko/.local/share/Steam/steamapps/common/dota\ 2\ beta/game/dota.sh +engine_experimental_drop_frame_ticks 1 +@panorama_min_comp_layer_dimension 0 -prewarm_panorama +@panorama_experimental_overdraw_prevention 0 -novid -vulkan -sdl_displayindex 1 -console
21:03:53.931744: pressure-vessel-wrap[10290]: I: pressure-vessel version 0.20220315.0
steam-runtime-tools-Message: Enabled profiling
21:03:53.935136: pressure-vessel-wrap[10290]: D: Original argv:
21:03:53.935175: pressure-vessel-wrap[10290]: D: 0: '/home/anko/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier/pressure-vessel/bin/pressure-vessel-wrap'
21:03:53.935206: pressure-vessel-wrap[10290]: D: 1: '--env-if-host=PATH=/home/anko/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/bin:/home/anko/.local/share/Steam/ubuntu12_32/steam-r
@anko
anko / slr-latest.log
Last active May 7, 2022 15:54
Dota 2 SLR crash on start (shell is `bash --norc`; Dota 2 launch options are empty)
pid 19076 != 19069, skipping destruction (fork without exec?)
17:48:16.089407: _v2-entry-point[19069]: argv: /home/anko/.local/share/Steam/steamapps/common/SteamLinuxRuntime/scout-on-soldier-entry-point-v2 -- /home/anko/.local/share/Steam/steamapps/common/dota\ 2\ beta/game/dota.sh +engine_experimental_drop_frame_ticks 1 +@panorama_min_comp_layer_dimension 0 -prewarm_panorama +@panorama_experimental_overdraw_prevention 0
17:48:16.094112: pressure-vessel-wrap[19069]: I: pressure-vessel version 0.20220315.0
steam-runtime-tools-Message: Enabled profiling
17:48:16.096147: pressure-vessel-wrap[19069]: D: Original argv:
17:48:16.096170: pressure-vessel-wrap[19069]: D: 0: '/home/anko/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier/pressure-vessel/bin/pressure-vessel-wrap'
17:48:16.096188: pressure-vessel-wrap[19069]: D: 1: '--env-if-host=PATH=/home/anko/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/bin:/home/anko/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/bin:/home/anko/.local/share