Skip to content

Instantly share code, notes, and snippets.

View wikimatze's full-sized avatar
💭
Writing

Matthias Günther wikimatze

💭
Writing
View GitHub Profile
date author email categories tags title
2016-01-13
Matthias Guenther
matthias@wikimatze.de
ruby update
padrino sinatra ruby website
History of Padrinos website redesign

History of Padrinos website redesign

@wikimatze
wikimatze / recap.md
Last active February 21, 2016 16:51
Recap of vimberlin meetup February 2016 (http://vimberlin.de/february-2016-meetup)
  • 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
hello_world_get:
request:
path: /hello/world
methods: ['GET']
headers:
Content-Type: text/html
Cookie: userId: 4080837
response:
content: |
Hello4080837 {{ request.query.get('name') }}!
hello_world_get:
request:
path: /hello/world
methods: ['GET']
headers:
Content-Type: text/html
Cookie: @string@.isEmpty()
response:
content: |
Hello4080837 {{ request.query.get('name') }}!
@wikimatze
wikimatze / csv
Created March 13, 2016 16:25
CSV for mapping old padrinorb entries to new website
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
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!"
$ 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
$ 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

Installing

First start and basic setup

Starting weechat

06:18:26 | ___ __ ______________ _____
@wikimatze
wikimatze / vimtex.md
Last active February 23, 2019 02:21
Article about vimtex

See context under