Skip to content

Instantly share code, notes, and snippets.

👾

Ashley Towns aktowns

👾
Block or report user

Report or block aktowns

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View locale.gen
# Configuration file for locale-gen
#
# lists of locales that are to be generated by the locale-gen command.
#
# Each line is of the form:
#
# <locale> <charset>
#
# where <locale> is one of the locales given in /usr/share/i18n/locales
# and <charset> is one of the character sets listed in /usr/share/i18n/charmaps
View patch-src_log_c.patch
$OpenBSD: patch-src_log_c,v 1.8 2019/03/18 11:20:04 akt Exp $
HAproxy:
Patch the log function to avoid vfprintf receiving a NULL value.
Index: src/log.c
--- src/log.c.orig
+++ src/log.c
@@ -984,11 +984,12 @@
View wah.hs
renderCandleAt :: CandleStick -> Candle -> Double -> String
renderCandleAt candlestick candle heightUnit =
if ((fromIntegral $ ceiling ts) >= heightUnit) && heightUnit >= (fromIntegral $ floor bc) then
if (tc - heightUnit) > 0.75 then symbolCandle
else if (tc - heightUnit) > 0.25 then
if (ts - heightUnit) > 0.75 then symbolHalfTop
else symbolHalfCandleTop
else
if (ts - heightUnit) > 0.75 then symbolStick
else if (ts - heightUnit) > 0.25 then symbolHalfStickTop
View urho-sharp.diff
diff --git a/MakeLinux b/MakeLinux
new file mode 100644
index 0000000..8003e53
--- /dev/null
+++ b/MakeLinux
@@ -0,0 +1,34 @@
+URHO3D_SRC_DIR=Urho3D/Source
+URHO3D_LINUX_DIR=Urho3D/Urho3D_Linux
+OUTPUT_DIR=Bin/Desktop
+
View keybase.md

Keybase proof

I hereby claim:

  • I am aktowns on github.
  • I am ashleyis (https://keybase.io/ashleyis) on keybase.
  • I have a public key ASBLMNk5K7dy-Wf2nwiObJp13vWiWiqdRF7QdzvcMLvRxQo

To claim this, I am signing this object:

View headerpaths.diff
diff --git a/stdlib/public/Glibc/module.map b/stdlib/public/Glibc/module.map
index b08485d..704e2b4 100644
--- a/stdlib/public/Glibc/module.map
+++ b/stdlib/public/Glibc/module.map
@@ -184,7 +184,7 @@ module SwiftGlibc [system] {
export *
}
module ioctl {
- header "/usr/include/x86_64-linux-gnu/sys/ioctl.h"
+ header "/usr/include/sys/ioctl.h"
View repl.diff
diff --git a/lib/Immediate/REPL.cpp b/lib/Immediate/REPL.cpp
index 740b315..86e1ff2 100644
--- a/lib/Immediate/REPL.cpp
+++ b/lib/Immediate/REPL.cpp
@@ -33,11 +33,7 @@
#include "llvm/Support/PrettyStackTrace.h"
#include "llvm/Support/Process.h"
-#if defined(__APPLE__)
-// FIXME: Support REPL on non-Apple platforms. Ubuntu 14.10's editline does not
View gist:cc2617084df714537d82
#!/bin/sh
while true; do
inotifywait -r -e close_write,moved_to,create "./src"
if [ -f ./server.pid ]; then kill $(cat server.pid); fi
crystal build $@
target=$(basename $@ | sed s/\.cr//)
echo "Executing $target"
./$target &
View gc.spec
Summary: A garbage collector for C and C++
Name: gc
Version: 7.4.2
Release: 2%{?dist}
License: BSD
Url: http://www.hboehm.info/gc/
Source0: http://www.hboehm.info/gc/gc_source/gc-%{version}%{?pre}.tar.gz
View keybase.md

Keybase proof

I hereby claim:

  • I am aktowns on github.
  • I am ashleyis (https://keybase.io/ashleyis) on keybase.
  • I have a public key whose fingerprint is E2B9 2B41 0E6E DCD0 A4D1 2118 CADB 53B1 ABE9 F350

To claim this, I am signing this object:

You can’t perform that action at this time.