Skip to content

Instantly share code, notes, and snippets.

View wikimatze's full-sized avatar
💭
Writing

Matthias Günther wikimatze

💭
Writing
View GitHub Profile
# About your project
Your project name: padrino
Your project blurb:
Links to places we can find out more about your project:
- http://padrinorb.com/
- https://github.com/padrino
# About you and your staff
Your nick: wikimatze
@wikimatze
wikimatze / blog_tutorial_admin_creation.sh
Last active May 10, 2018 05:44
Example output for the blog-tutorial of Padrino for admin creation (http://padrinorb.com/guides/getting-started/blog-tutorial/)
$ padrino g admin
force .components
create admin
exist admin
create admin/controllers/base.rb
create admin/controllers/sessions.rb
create public/admin
create public/admin/images/favicon.ico
create public/admin/images/font/FontAwesome.otf
create public/admin/images/font/fontawesome-webfont.eot
@wikimatze
wikimatze / blog-tutorial.sh
Last active May 9, 2018 21:25
Example output for the blog-tutorial of Padrino (http://padrinorb.com/guides/getting-started/blog-tutorial/)
$ padrino g project blog-update -t rspec -e haml -c scss -s jquery -d sequel -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
@wikimatze
wikimatze / why_padrino.md
Last active March 27, 2017 16:02
Why Padrino

Before you dig into a new framework you ask yourself: "Why should I invest time in learning a new framework?". I will not answer this with "it depends" (of course it depends on your situation) but rather provide you with all the information so that you can decide.

First let's have a brief look at Rack, Sinatra, Padrino, Rails.

What is Rack?

ALBUM_PATH=/$(cmus-remote -Q | grep file | cut -d'/' --complement -s -f1 | rev | cut -d'/' --complement -s -f1 | rev | sed -e 's/\s/\\ /g' | sed -e 's/(/\\(/g' | sed -e 's/)/\\)/g')/cover.jpg
ALBUM_NAME=$(cmus-remote -Q | grep 'tag album' | cut -d'~' --complement -f1)
echo "$ALBUM_PATH"
notify-send -i "$ALBUM_PATH" summary "$ALBUM_NAME"
@wikimatze
wikimatze / cmus.md
Created January 5, 2017 20:10
Vimberlin talk

cmus and vim

author : Matthias Günther date : 2017/01/19

cmus

  • small, fast and powerful console music player for Unix-like operating systems
@wikimatze
wikimatze / vimtex.md
Last active February 23, 2019 02:21
Article about vimtex

See context under

Installing

First start and basic setup

Starting weechat

06:18:26 | ___ __ ______________ _____
$ 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