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
#include <SPI.h> | |
#define DATAOUT 11//MOSI | |
#define DATAIN 12//MISO | |
#define SPICLOCK 13//sck | |
#define SLAVESELECT 10//ss | |
#define CMD_DATA 9 | |
void setup() | |
{ |
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
#!/bin/bash | |
# Install build dependencies | |
yum install -y gcc libpng libjpeg libpng-devel libjpeg-devel ghostscript libtiff libtiff-devel freetype freetype-devel | |
# Get GraphicsMagick source | |
wget ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/1.3/GraphicsMagick-1.3.9.tar.gz | |
tar zxvf GraphicsMagick-1.3.9.tar.gz | |
# Configure and compile |
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
Feb 14 01:31:26 db1 postgres[28366]: [2-1] LOG: entering standby mode | |
Feb 14 01:31:26 db1 postgres[28366]: [3-1] LOG: redo starts at 1D3/1429E4D8 | |
Feb 14 01:31:26 db1 postgres[28366]: [4-1] WARNING: specified item offset is too large | |
Feb 14 01:31:26 db1 postgres[28366]: [4-2] CONTEXT: xlog redo insert: rel 417820/417822/421965; tid 44758/79 | |
Feb 14 01:31:26 db1 postgres[28366]: [5-1] PANIC: btree_insert_redo: failed to add item | |
Feb 14 01:31:26 db1 postgres[28366]: [5-2] CONTEXT: xlog redo insert: rel 417820/417822/421965; tid 44758/79 | |
Feb 14 01:31:26 db1 postgres[28365]: [1-1] LOG: startup process (PID 28366) was terminated by signal 6: Abort trap | |
Feb 14 01:31:26 db1 postgres[28365]: [2-1] LOG: terminating any other active server processes | |
Feb 14 01:31:28 db1 postgres[28369]: [1-1] LOG: database system was interrupted while in recovery at log time 2015-02-13 23:43:57 CST | |
Feb 14 01:31:28 db1 postgres[28369]: [1-2] HINT: If this has occurred more than once some data might be corrupted and you might need |
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
> Symbol.all_symbols.size | |
#> 1781 | |
> def testertester123 | |
> end | |
> Symbol.all_symbols.size | |
#> 1782 |
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
# Rake task to launch multiple Resque workers in development/production with simple management included | |
require 'resque/tasks' # Require Resque tasks | |
namespace :workers do | |
# = $ rake workers:start | |
# | |
# Launch multiple Resque workers with the Rails environment loaded, | |
# so they have access to your models, etc. |