This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# OSX for Hackers (Mavericks/Yosemite) | |
# | |
# Source: https://gist.github.com/brandonb927/3195465 | |
#!/bin/sh | |
# Some things taken from here | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# Ask for the administrator password upfront |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
------ FILENAME FI_fwid.bin ------- | |
00000000 03 02 42 4d 43 30 30 31 30 1f 00 05 02 00 00 59 |..BMC0010......Y| | |
00000010 ff 5f 00 00 00 00 00 00 00 00 00 00 01 00 c9 00 |._..............| | |
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| | |
* | |
0000003e | |
---------------------- | |
------ FILENAME FT_fl.bin ------- | |
00000000 01 18 00 00 00 00 00 00 01 10 00 00 18 00 00 00 |................| | |
00000010 00 00 00 00 00 00 00 be 00 00 |..........| |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update && sudo apt-get install git bison libopts25 libselinux1-dev autogen m4 autoconf help2man libopts25-dev flex libfont-freetype-perl automake autotools-dev libfreetype6-dev texinfo ia32_libs build_essential | |
git clone git://git.savannah.gnu.org/grub.git | |
cd grub | |
./autogen.sh | |
./configure --target=i386 --program-prefix="" | |
make | |
cd grub-core |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update && sudo apt-get install git bison libopts25 libselinux1-dev autogen m4 autoconf help2man libopts25-dev flex libfont-freetype-perl automake autotools-dev libfreetype6-dev texinfo ia32_libs build_essential | |
git clone git://git.savannah.gnu.org/grub.git | |
cd grub | |
./autogen.sh | |
./configure --target=i386 --program-prefix="" | |
make | |
cd grub-core |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class LibusbDevel < Formula | |
url 'https://github.com/OpenNI/OpenNI/blob/4dbf64bc45b880bfda6aa6bb2a30d1ddd03a8c65/Platform/Linux/Build/Prerequisites/libusb-1.0.8-osx.tar.bz2?raw=true' | |
homepage 'http://www.libusb.org/' | |
sha256 'e9c39943bedba9aca0c776673040602596b1a7ae880d359e25c07f48971372e9' | |
depends_on "automake" => :build | |
depends_on "libtool" => :build |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
====================================================================== | |
ERROR: Failure: ValueError (Attempted relative import in non-package) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/var/lib/jenkins/workspace/checkmate-test-pull-request/.tox/prjenkins/local/lib/python2.7/site-packages/nose/loader.py", line 413, in loadTestsFromName | |
addr.filename, addr.module) | |
File "/var/lib/jenkins/workspace/checkmate-test-pull-request/.tox/prjenkins/local/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath | |
return self.importFromDir(dir_path, fqname) | |
File "/var/lib/jenkins/workspace/checkmate-test-pull-request/.tox/prjenkins/local/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir | |
mod = load_module(part_fqname, fh, filename, desc) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Decorator to quickly add statsd (graphite) instrumentation to Celery | |
task functions. | |
With some slight modification, this could be used to instrument just | |
about any (non-celery) function and be made abstract enough to customize | |
metric names, etc. | |
Stats reported include number of times the task was accepted by a worker | |
(`started`), the number of successes, and the number of times the task | |
raised an exception. In addition, it also reports how long the task took |
NewerOlder