Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# Prerequisites: http://wiki.openwrt.org/doc/howto/buildroot.exigence
# Additionally JDK is needed
generate_buildenv() {
# Prepare build enviroment
mkdir lede_build
cd lede_build
git clone https://github.com/lede-project/source.git
#
# Automatically generated file; DO NOT EDIT.
# LEDE Configuration
#
CONFIG_MODULES=y
CONFIG_HAVE_DOT_CONFIG=y
# CONFIG_TARGET_arm64 is not set
# CONFIG_TARGET_sunxi is not set
# CONFIG_TARGET_apm821xx is not set
# CONFIG_TARGET_ath25 is not set

Keybase proof

I hereby claim:

  • I am amq on github.
  • I am amq (https://keybase.io/amq) on keybase.
  • I have a public key whose fingerprint is 211A FB0C 5340 9131 65E0 93A5 BE5E 1069 2478 06AA

To claim this, I am signing this object:

#!/bin/bash
# Prerequisites: http://wiki.openwrt.org/doc/howto/buildroot.exigence
# Additionally JDK is needed
generate_buildenv() {
# Prepare build enviroment
mkdir openwrt_build
cd openwrt_build
git clone --depth=1 git://git.openwrt.org/15.05/openwrt.git
#
# Automatically generated file; DO NOT EDIT.
# OpenWrt Configuration
#
CONFIG_MODULES=y
CONFIG_HAVE_DOT_CONFIG=y
# CONFIG_TARGET_ppc44x is not set
# CONFIG_TARGET_realview is not set
# CONFIG_TARGET_arm64 is not set
# CONFIG_TARGET_sunxi is not set
@amq
amq / mysql-backup.sh
Last active August 29, 2015 14:20
Create separate MySQL db dumps and use hot-backup for InnoDB-only dbs
#!/bin/bash
# set your user and password in ~/.my.cnf
# [client]
# user=root
# password=pass
#
# otherwise change to
# MYSQL_USER="-u user"
# MYSQL_PASSWORD="-pPASS"
%define hhvm_dir %{_var}/hhvm
%define hhvm_group hhvm
%define hhvm_user hhvm
%global _enable_debug_package 0
%global debug_package %{nil}
%global __os_install_post /usr/lib/rpm/brp-compress %{nil}
Name: hhvm
Version: 3.3.0
Release: 1%{?dist}
%define hhvm_dir %{_var}/hhvm
%define hhvm_user hhvm
%global _enable_debug_package 0
%global debug_package %{nil}
%global __os_install_post /usr/lib/rpm/brp-compress %{nil}
Name: hhvm
Version: 3.3
Release: 0.1%{?dist}
Summary: HipHop VM (HHVM) is a virtual machine for executing programs written in PHP