Skip to content

Instantly share code, notes, and snippets.

View elieux's full-sized avatar

David Macek elieux

View GitHub Profile
@elieux
elieux / mingw32.cmd
Last active December 26, 2021 23:36
MSYS2 start scripts
@echo off
set MSYSTEM=MINGW32
"%~dp0msys2.cmd" %*
set MSYSTEM=
@elieux
elieux / Makefile
Last active April 2, 2017 14:56
DLL troubles
all: main.exe
foo.o: foo.c
gcc -c foo.c -o foo.o
libfoo.a: foo.o
ar sr libfoo.a foo.o
bar.o: bar.c
gcc -c bar.c -o bar.o
libbar.dll: bar.o libfoo.a
@elieux
elieux / 10morespace
Last active April 2, 2017 14:56
morespace.sh
#!/system/bin/sh
#
# MORESPACE - init script to use an ext4-formatted sdcard for both app installations and user data
# Revision: 3
# Author: github.com/elieux
# Device: Huawei Ascend G300 [U8815] with CM11
#
# Warning: The script does not reformat your sdcard. That needs to be done manually before installing the script.
# Warning: The script is not designed for multiple-partition sdcards (sd-ext).
#
@elieux
elieux / pacman.conf
Created November 16, 2014 14:21
pacman config
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives
#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.