My experimental port of Homebrew to Windows.
(Note: homebrew-mingw is an old repo and should not be used anymore)
#!/bin/bash | |
export PREFIX="/home/amos/Dev/prefix32" | |
export CPPFLAGS="-I${PREFIX}/include" | |
export CFLAGS="-m32" | |
export CXXFLAGS="-m32" | |
export LDFLAGS="-m32 -L${PREFIX}/lib" | |
export PKG_CONFIG_PATH="${PREFIX}/lib/pkgconfig" | |
"$@" --prefix=${PREFIX} |
My experimental port of Homebrew to Windows.
(Note: homebrew-mingw is an old repo and should not be used anymore)
#!/bin/bash | |
# GameName Shell Script | |
# Written by Ethan "flibitijibibo" Lee | |
# Move to script's directory | |
cd "`dirname "$0"`" | |
# Get the kernel/architecture information | |
UNAME=`uname` | |
ARCH=`uname -m` |
#!/usr/bin/python | |
''' | |
Copyright 2009, The Android Open Source Project | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 |
# ------------------------------------------------------------------------------ | |
# Android CMake toolchain file, for use with the Android NDK r5-r8 | |
# Requires cmake 2.6.3 or newer (2.8.5 or newer is recommended). | |
# See home page: http://code.google.com/p/android-cmake/ | |
# | |
# The file is mantained by the OpenCV project. And also can be found at | |
# http://code.opencv.org/projects/opencv/repository/revisions/master/changes/android/android.toolchain.cmake | |
# | |
# Usage Linux: | |
# $ export ANDROID_NDK=/absolute/path/to/the/android-ndk |
libyaml has a weird autotools configuration, and outdated config.guess / config.sub.
If you have a recent autotools, running autoreconf should be enough:
autoreconf --force --install --verbose --symlink
android_configure
make
make install
#!/bin/sh | |
# I put all my dev stuff in here | |
export DEV_PREFIX=$HOME/Dev/ | |
# Don't forget to adjust this to your NDK path | |
export ANDROID_NDK=${DEV_PREFIX}/android-ndk-r8d/ | |
export CROSS_COMPILE=arm-linux-androideabi |
colorscheme jellybeans | |
" tab navigation like firefox | |
nnoremap <C-S-tab> :tabprevious<CR> | |
nnoremap <C-tab> :tabnext<CR> | |
nnoremap <C-t> :tabnew<CR> | |
inoremap <C-S-tab> <Esc>:tabprevious<CR>i | |
inoremap <C-tab> <Esc>:tabnext<CR>i | |
inoremap <C-t> <Esc>:tabnew<CR> |
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'json' | |
require 'faraday' | |
# Script options | |
channel=ARGV[0] | |
stream=ENV['STREAM'] || "live" | |
player=ENV['PLAYER'] || "mplayer -quiet" |