To install Meteor with the Homebrew formula [below][3], run:
brew install https://gist.github.com/raw/4317935/05084353d3cd50acad7e88e01c3f6463b42c0ed3/meteor.rb
This Homebrew Meteor Formula is based on https://install.meteor.com.
{ | |
"bold_folder_labels": true, | |
"color_scheme": "Packages/User/Espresso Soda.tmTheme", | |
"ensure_newline_at_eof_on_save": true, | |
"file_exclude_patterns": | |
[ | |
".DS_Store", | |
".gitkeep", | |
"dump.rdb" | |
], |
#!/bin/bash | |
# | |
# script to create new symfony2 project | |
# | |
# assumes composer is in the path. to use with homebrew, run: | |
# | |
# ln -s /usr/local/Cellar/composer/1.0.0-alpha5/bin/composer /usr/local/bin/composer | |
# | |
# you may need to edit the composer path to match your installed version of composer |
To install Meteor with the Homebrew formula [below][3], run:
brew install https://gist.github.com/raw/4317935/05084353d3cd50acad7e88e01c3f6463b42c0ed3/meteor.rb
This Homebrew Meteor Formula is based on https://install.meteor.com.
This bookmarklet works on pages such as http://5by5.tv/systematic/1 and grabs the show links and gets them ready for a quick ⌘C to grab a Markdown list. It adds next/prev navigation to the resulting overlay for quickly drilling through a show's episode link history.
Create a new bookmarklet with the Bookmarklet version below to try it out.
Meteor.publish('bike', function(id) { | |
return Meteor.publishWithRelations({ | |
handle: this, | |
collection: Bikes, | |
filter: id, | |
mappings: [ | |
{ | |
key: 'userId', | |
options: { fields: config.users.publicFields }, | |
collection: Meteor.users |
#!/bin/sh | |
# Proper function of this script on Mac requires: | |
# install tiff 3.6.1 or newer http://www.libtiff.org/ | |
# brew install ghostscript | |
# brew install imagemagick | |
timer() | |
{ | |
if [[ $# -eq 0 ]]; then |
I use tmux splits (panes). Inside one of these panes there's a Vim process, and it has its own splits (windows).
In Vim I have key bindings C-h/j/k/l
set to switch windows in the given direction. (Vim default mappings for windows switching are the same, but prefixed with C-W
.) I'd like to use the same keystrokes for switching tmux panes.
An extra goal that I've solved with a dirty hack is to toggle between last active panes with C-\
.
Here's how it should work:
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2012 Brandon B. [email protected]
Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
<?php | |
/** | |
* An implementation of the AES cipher (CBC mode). | |
* For reference http://csrc.nist.gov/publications/fips/fips197/fips-197.pdf | |
* | |
* @author Stephen Harris ([email protected]) | |
* @license GPL | |
* | |
* Example usage: |
BEFORE YOU CONTINUE:
mrt
is no longer used with Meteor 1.0These days some people were discussing at meteor-talk group about running Meteor at Windows and I’ve recommended them using Vagrant. It’s a very developer-friendly piece of software that creates a virtual machine (VM) which let you run any operating system wanted and connect to it without big efforts of configuration (just make the initial installation and you have it working).
Many packages (I've tested) for running Meteor+Vagrant fails because Meteor writes its mongodb file and also other files inside local build folder into a shared folder between the Windows host and the Linux guest, and it simply does not work. So I've put my brain to work and found a solution: do symlinks inside the VM (but do not use ln. Use mount so git can follow it). It’s covered on