date | author | categories | tags | title | |
---|---|---|---|---|---|
2016-01-13 |
Matthias Guenther |
matthias@wikimatze.de |
ruby update |
padrino sinatra ruby website |
History of Padrinos website redesign |
- wikimatze has adapted "mucks" in his fork and make it possible to run several tmux session at ones without using the sockets option
- lervag/vimtex: A vim plugin that provides support for writing LaTeX. Nice toggling, nice support for various PDF viewer and continous building
- clever-f.vim: Extended f, F, t, and T mappings - results will be highlighted and press the buttons again to repeat the search clever-f plugin neoyank
- Shougo/neoyank.vim: add documentation for the action-append option
- teamviewer.com/: is great when Mac machines forget their MiniDisplay-Port so that they can display their screen on the machine, which is connected to the beamer
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
hello_world_get: | |
request: | |
path: /hello/world | |
methods: ['GET'] | |
headers: | |
Content-Type: text/html | |
Cookie: userId: 4080837 | |
response: | |
content: | | |
Hello4080837 {{ request.query.get('name') }}! |
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
hello_world_get: | |
request: | |
path: /hello/world | |
methods: ['GET'] | |
headers: | |
Content-Type: text/html | |
Cookie: @string@.isEmpty() | |
response: | |
content: | | |
Hello4080837 {{ request.query.get('name') }}! |
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
http://padrinorb.com/blog/addressing-concerns-about-padrino/,http://padrinorb.com/blog/addressing-concerns-about-padrino/ | |
http://padrinorb.com/blog/fikus-cms/,http://padrinorb.com/blog/fikus-cms/ | |
http://padrinorb.com/blog/hosting-our-first-padrino-meetup-in-san-francisco/,http://padrinorb.com/blog/hosting-our-first-padrino-meetup-in-san-francisco/ | |
http://padrinorb.com/blog/json-gem-vulnerability/,http://padrinorb.com/blog/json-gem-vulnerability/ | |
http://padrinorb.com/blog/looking-at-projects-using-padrino/,http://padrinorb.com/blog/looking-at-projects-using-padrino/ | |
http://padrinorb.com/blog/new-website/,http://padrinorb.com/blog/new-website/ | |
http://padrinorb.com/blog/o-reilly-sinatra-up-and-running-book/,http://padrinorb.com/blog/o-reilly-sinatra-up-and-running-book/ | |
http://padrinorb.com/blog/padrino-0-10-0-routing-upgrades-rbx-and-jruby-support-and-minor-breaking-changes/,http://padrinorb.com/blog/padrino-0-10-0-routing-upgrades-rbx-and-jruby-support-and-minor-breaking-changes/ | |
http://padrinorb.com/blog/padr |
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
project :test => :shoulda, :renderer => :haml, :stylesheet => :sass, :script => :jquery, :orm => :activerecord | |
#default routes | |
APP_INIT = <<-APP | |
get "/" do | |
"Hello World!" | |
end | |
get :about, :map => '/about_us' do | |
render :haml, "%p This is a sample blog created to demonstrate the power of Padrino!" |
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
$ padrino g admin | |
WARN: Unresolved specs during Gem::Specification.reset: | |
activesupport (>= 3.1) | |
sinatra (~> 1.4.6) | |
mustermann19 (>= 0) | |
thor (~> 0.18) | |
rack (>= 0) | |
WARN: Clearing out unresolved specs. | |
Please report a bug if this causes problems. | |
force .components |
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
$ padrino-gen project sample_blog -t shoulda -e haml -c sass -s jquery -d activerecord -b | |
create | |
create .gitignore | |
create config.ru | |
create config/apps.rb | |
create config/boot.rb | |
create public/favicon.ico | |
create public/images | |
create public/javascripts | |
create public/stylesheets |
See context under