I hereby claim:
- I am pablox-cl on github.
- I am pablox (https://keybase.io/pablox) on keybase.
- I have a public key whose fingerprint is F2B8 496B 3564 8F06 6F2B B525 CE25 98BB 753A 09F9
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| # Maintainer: Tom Richards <[email protected]> | |
| # Contributor: Andy Weidenbaum <[email protected]> | |
| pkgname=telegram-cli-git | |
| pkgver=r1043.160231b | |
| pkgrel=1 | |
| pkgdesc="Telegram messenger CLI" | |
| arch=('i686' 'x86_64') | |
| url="https://github.com/vysheng/tg" | |
| license=('GPL2') |
In this article, I'll walk through a basic Rails (3.2.x) setup for creating a nested resource for two models. Nested resources work well when you want to build out URL structure between two related models, and still maintain a RESTful convention. This code assumes you are running RVM to manage Ruby/Gem versions, and Git for version control.
$ mkdir family # create rvm gemset
$ echo "rvm use --create ruby-1.9.2@family" > family/.rvmrc
$ cd family # install rails
$ gem install rails # create new rails project
$ rails new . # version control | ==================================== | |
| rcm 1.2.2: test/test-suite.log | |
| ==================================== | |
| # TOTAL: 17 | |
| # PASS: 14 | |
| # SKIP: 0 | |
| # XFAIL: 0 | |
| # FAIL: 3 | |
| # XPASS: 0 |
| ~ ❯❯❯ draft longest_line | |
| +set-titles-preexec:1> zstyle -t :prezto:module:terminal auto-title | |
| +set-titles-preexec:2> set-titles-with-command 'draft longest_line' | |
| +set-titles-with-command:3> [[ '' == Apple_Terminal ]] | |
| +set-titles-with-command:7> emulate -L zsh | |
| +set-titles-with-command:8> setopt EXTENDED_GLOB | |
| +set-titles-with-command:11> [[ draft == (fg|%*)(;|) ]] | |
| +set-titles-with-command:26> local 'cmd=draft' | |
| +set-titles-with-command:27> local 'truncated_cmd=draft' | |
| +set-titles-with-command:28> unset MATCH |
| doctype html | |
| html lang="en" | |
| head | |
| meta charset="utf-8" | |
| title Page not found :( | |
| css: | |
| ::-moz-selection { | |
| background: #b3d4fc; | |
| text-shadow: none; | |
| } |
| doctype html | |
| <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> | |
| <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> | |
| <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> | |
| <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> | |
| head | |
| meta charset="utf-8" | |
| meta http-equiv="X-UA-Compatible" content="IE-edge" | |
| title | |
| meta name="description" content="" |
| // Generated on 2013-10-13 using generator-webapp 0.4.3 | |
| 'use strict'; | |
| // # Globbing | |
| // for performance reasons we're only matching one level down: | |
| // 'test/spec/{,*/}*.js' | |
| // use this if you want to recursively match all subfolders: | |
| // 'test/spec/**/*.js' | |
| module.exports = function (grunt) { |
| # ignore everything | |
| * | |
| !.gitignore | |
| # except PKGBUILD needed files | |
| !PKGBUILD | |
| !*.install | |
| !ChangeLog | |
| # common wing-man files |
| # Adjust Rxvt to suit your terminal emulator | |
| # Created with | |
| # ITERM_COLOR_MULTIPLIER=2.5 ./itermcolors2Xdefaults.rb Jellybeans.itermcolors | |
| # https://github.com/richo/jellybeans.vim/blob/c7ff7e9555881a5671fcc8753b381ba142b5ea82/Xdefaults/jellybeans.Xdefaults | |
| Rxvt*color0: #393939 | |
| Rxvt*color1: #ca674a | |
| Rxvt*color2: #96a967 | |
| Rxvt*color3: #d3a94a | |
| Rxvt*color4: #5778c1 | |
| Rxvt*color5: #9c35ac |