Skip to content

Instantly share code, notes, and snippets.

View fasterthanlime's full-sized avatar
🌌
4 oreos from heaven

Amos Wenger fasterthanlime

🌌
4 oreos from heaven
View GitHub Profile
@fasterthanlime
fasterthanlime / install-glibc-debug.sh
Created January 9, 2021 20:10 — forked from nbulischeck/install-glibc-debug.sh
Install glibc debug symbols on Arch Linux for pwndbg heap analysis
#!/bin/bash
# Install Dependencies
sudo pacman -S git svn gd lib32-gcc-libs patch make bison fakeroot
# Checkout glibc source
svn checkout --depth=empty svn://svn.archlinux.org/packages
cd packages
svn update glibc
cd glibc/repos/core-x86_64
@ChristophShyper
ChristophShyper / wsl2-docker.md
Last active January 10, 2023 20:36
Instruction how to set up WSL2 to work with Docker in Windows 10

On Windows 10 build 18917 or higher

Win / Enable WSL and VMP

PowerShell:

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform

Win / Set WSL 2 as default

@nbulischeck
nbulischeck / install-glibc-debug.sh
Last active January 16, 2024 12:06
Install glibc debug symbols on Arch Linux for pwndbg heap analysis
#!/bin/bash
# Install Dependencies
sudo pacman -S git svn gd lib32-gcc-libs patch make bison fakeroot
# Checkout glibc source
svn checkout --depth=empty svn://svn.archlinux.org/packages
cd packages
svn update glibc
cd glibc/repos/core-x86_64
  • first-class transpiler support (pick your syntax sugar of choice, have it be sourcemapped easily in debuggers/stack traces/etc.)
  • easy & accurate code coverage tools (with sourcemaps too)
  • integrated console, debugger, memory, CPU profiler, network inspector (a key shortcut away, even in the production version of the app)
  • remote debugging too (renderer and main process - with the UI showing remotely in a way you can interact with)
  • great support for integration tests (aka webdriver - you basically send mouse/keyboard events and inspect the DOM to make sure what you expect to happen on screen happens)
@fasterthanlime
fasterthanlime / cron.daily
Created August 2, 2016 19:13
(BSD-licensed)
#!/bin/sh
#
# Copyright (c) 2015 Slack Technologies. Original version from Google Chrome,
# license is below.
#
# Copyright (c) 2009 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
#
# It creates the repository configuration file for package updates, and it
#!/usr/bin/env ruby
layouts = %w(us ch(fr))
current = `setxkbmap -query`.split("\n")[-1].split(':')[-1].strip
next_layout = layouts[(layouts.index(current) + 1) % layouts.size]
`setxkbmap '#{next_layout}'`
`notify-send '#{next_layout}'`
@fasterthanlime
fasterthanlime / keymap.cson
Created March 16, 2016 12:14
My Atom keymap
'atom-text-editor':
'f4': 'change-case:camel'
'atom-text-editor.vim-mode:not(.insert-mode)':
't j': 'pane:show-next-item'
't k': 'pane:show-previous-item'
't w': 'core:close'
't o': 'fuzzy-finder:toggle-file-finder'
@fasterthanlime
fasterthanlime / itchio-browse.md
Last active August 29, 2015 14:24
unofficial itch.io browse url cheat sheet
@fasterthanlime
fasterthanlime / taleoftales_sunset_farewell.md
Last active August 29, 2015 14:23
Mirror of taleoftales' farewell article

And the sun sets…

After the barrage of sad tales about depression caused by indies turning into millionaires overnight, allow us to raise your spirits with a story about the liberating and energizing effects of complete commercial failure.

Having a sale is fun. Many people get to play your games who normally wouldn’t and you receive a lot of positive feedback. But of course that’s not the reason for having a sale. The reason is always a need for money. And in our current economy, money tends to be collected from large amounts of tiny sources. It was a desperate move for us. An attempt to pay the debts caused by the production of Sunset and stay afloat while we figure out what to do with the rest of our lives.

Reaching out

Getting illegal instructions? Build OpenAL with:

cmake .. -DALSOFT_CPUEXT_SSE=OFF -DALSOFT_CPUEXT_SSE2=OFF -DALSOFT_CPUEXT_SSE4_1=OFF