Skip to content

Instantly share code, notes, and snippets.

View aktowns's full-sized avatar
👾

Ashley Towns aktowns

👾
View GitHub Profile
# 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
$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 @@
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
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
+

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:

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"
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
#!/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 &
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

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: