This file contains 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
@import <AppKit/CPWindowController.j> | |
@import "JTSearchBuilderRowView.j" | |
var searchBuilderSharedInstance = nil; | |
@implementation JTSearchBuilderWindowController : CPWindowController | |
{ | |
var border; | |
var elementPadding; | |
var buttonHeight; |
This file contains 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
//In init | |
fileViewController = [[JTFileViewController alloc] initWithFrame:CGRectMakeZero()]; | |
searchMatrixViewController = [[JTSearchMatrixViewController alloc] initWithFrame:CGRectMakeZero()]; | |
documentViewController = [[JTDocumentViewController alloc] initWithFrame:CGRectMakeZero()]; | |
metaViewController = [[JTMetaViewController alloc] initWithFrame:CGRectMakeZero()]; | |
- (void)setViewMode:(int)newViewMode animated:(BOOL)animated | |
{ | |
[[CPNotificationCenter defaultCenter] postNotificationName:"JTApplicationBusy" object:nil]; |
This file contains 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
This file contains any messages produced by compilers while | |
running configure, to aid debugging if configure makes a mistake. | |
It was created by tmux configure 1.5, which was | |
generated by GNU Autoconf 2.64. Invocation command line was | |
$ ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/tmux/1.5 --sysconfdir=/usr/local/etc | |
## --------- ## | |
## Platform. ## |
This file contains 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
This file contains any messages produced by compilers while | |
running configure, to aid debugging if configure makes a mistake. | |
It was created by tmux configure 1.5, which was | |
generated by GNU Autoconf 2.64. Invocation command line was | |
$ ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/tmux/1.5 --sysconfdir=/usr/local/etc | |
## --------- ## | |
## Platform. ## |
This file contains 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
================================================================================ | |
To use the default location, "/usr/local/narwhal", just hit enter/return, or enter another path: | |
Downloading Narwhal from "http://github.com/280north/narwhal/zipball/master"... | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 2258k 100 2258k 0 0 192k 0 0:00:11 0:00:11 --:--:-- 277k | |
Installing Narwhal... | |
Archive: /tmp/narwhal.zip | |
9f4894aaeae8c09078400346b27d0e6d7e80dbef |
This file contains 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
var regex = new RegExp("(\w+)[=] ?\"?(\w+)\"?"); | |
while (match = authHeader.match(regex)) | |
{ | |
console.log(match); | |
words.push(match[1]); | |
} | |
console.log(words); |
This file contains 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
upstream backend { | |
server 127.0.0.1:3031; | |
} | |
server { | |
listen 8080; | |
root /home/vagrant/apps/jame2/static; | |
gzip on; gzip_min_length 1000; | |
gzip_proxied expired no-cache no-store private auth; |
This file contains 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
S0: | |
(20) 20th item | |
(21) 21st item | |
S1: | |
(22) ... | |
(23) ... | |
S2: | |
(24) ... | |
(25) ... | |
S3: |
This file contains 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
//Publisher | |
int zipcode, temperature, relhumidity; | |
// Get values that will fool the boss | |
zipcode = 10001; | |
temperature = 1; | |
relhumidity = 2; | |
// Send message to all subscribers | |
zmq::message_t topic(6); |
This file contains 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 "zhelpers.hpp" | |
using std::string; | |
using std::cout; | |
using std::endl; | |
int main (int argc, char *argv[]) | |
{ |
OlderNewer