Skip to content

Instantly share code, notes, and snippets.

View hipertracker's full-sized avatar

Jaroslaw Zabiello hipertracker

View GitHub Profile
smart.json:
{
"packages": {
"iron-router": {
"git": "https://github.com/EventedMind/iron-router.git",
"branch": "blaze-integration"
},
"iron-router-progress": {},
"q": {},
"npm": {},
{
"packages": {
"iron-router": {
"git": "https://github.com/EventedMind/iron-router.git",
"branch": "blaze-integration"
},
"iron-router-progress": {},
"q": {},
"npm": {},
"spin": {},
$ mrt remove iron-router-progress
✓ iron-router
branch: https://github.com/EventedMind/iron-router.git#blaze-integration
✓ blaze-layout
branch: https://github.com/EventedMind/blaze-layout.git#devel
Problem installing iron-router
✘ [latest] conflicts with [branch: https://github.com/EventedMind/iron-router.git#blaze-integration]
Can't resolve dependencies! Use --force if you don't mind mrt taking a wild guess and running your app anyway.
$ mrt
Stand back while Meteorite does its thing
✓ iron-router
branch: https://github.com/EventedMind/iron-router.git#blaze-integration
✓ blaze-layout
branch: https://github.com/EventedMind/blaze-layout.git#devel
✓ q
tag: https://github.com/frozeman/q-meteor.git#v0.9.7
✓ npm
@hipertracker
hipertracker / gist:9589479
Created March 16, 2014 20:34
rails-api broken
$ ruby -v
ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-darwin13.0]
$ rails -v
Rails 4.1.0.rc1
$ rails-api new contacts-server --skip-sprockets --database=postgresql
create
create README.rdoc
create Rakefile
@hipertracker
hipertracker / BT5 vs BT4 vs BT2.txt
Last active August 29, 2015 13:57
Różnice w numeracji
BT5:
Joe 2:28 (3,1) I wyleję potem Ducha mego na wszelkie ciało, synowie wasi i córki wasze prorokować będą, starcy wasi będą mieć sny, a młodzieńcy wasi będą mieć widzenia.
Joe 2:29 Nawet na sługi i służebnice wyleję Ducha mego w owych dniach.
Joe 2:30 I uczynię znaki na niebie i na ziemi: krew i ogień, i słupy dymne.
Joe 2:31 Słońce zmieni się w ciemność, a księżyc w krew, gdy przyjdzie dzień Pański, dzień wielki i straszny.
Joe 2:32 Każdy jednak, kto wezwie imienia Pańskiego, będzie zbawiony, bo na górze Syjon i w Jeruzalem będzie wybawienie, jak przepowiedział Pan, i wśród ocalałych będą ci, których wezwał Pan.
Joe 3:1 (4,1) I oto w owych dniach i w owym czasie, gdy odmienię los jeńców Judy i Jeruzalem,
Joe 3:2 zgromadzę też wszystkie narody i zaprowadzę je do Doliny Joszafat, i tam sąd nad nimi odbędę w sprawie mojego ludu i dziedzictwa mego, Izraela, które wśród narodów rozproszyli, a ziemię moją podzielili;
Joe 3:3 o lud mój los rzucali i chłopca wymieniali za nierządnicę, a dziewczę sprzedawali za wi
@hipertracker
hipertracker / gist:10242633
Created April 9, 2014 08:42
git - https:// instead of git://
http://stackoverflow.com/questions/15903275/git-is-blocked-how-to-install-npm-modules
git config --global url."https://".insteadOf git://
This simply adds the following two lines to ~/.gitconfig:
[url "https://"]
insteadOf = git://
Now, as if by magic, all git commands will perform a substitution of git:// to https://
@hipertracker
hipertracker / gist:11134419
Created April 21, 2014 06:56
ember-app-kit error
$ git clone https://github.com/stefanpenner/ember-app-kit.git
Cloning into 'ember-app-kit'...
remote: Reusing existing pack: 2871, done.
remote: Counting objects: 8, done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 2879 (delta 1), reused 0 (delta 0)
Receiving objects: 100% (2879/2879), 1.69 MiB | 488.00 KiB/s, done.
Resolving deltas: 100% (1303/1303), done.
Checking connectivity... done.
@hipertracker
hipertracker / extension-example.swift
Created July 17, 2014 10:29
Problem with extension
extension Int {
func times(block: () -> ()) {
for _ in 0..self { block() }
}
func times(block: (Int) -> ()) -> Int {
for i in 0..self { block(i) }
return self
}
}
@hipertracker
hipertracker / ember-bootstrap-problem.html
Created July 24, 2014 13:06
ember and active class
...
<li class="dropdown active">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Administration <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li>{{#link-to 'admin/users/other'}}Manage Users{{/link-to}}</li>
<li>{{#link-to 'admin/resources'}}Manage Resources{{/link-to}}</li>
</ul>
</li>
...