Skip to content

Instantly share code, notes, and snippets.

View wikimatze's full-sized avatar
💭
Writing

Matthias Günther wikimatze

💭
Writing
View GitHub Profile
@wikimatze
wikimatze / gist:4a7d12cb130c4fbfce15
Created September 24, 2014 20:51
vim-lexical profiles
command -nargs=0 BookEnglisch call lexical#init({
\ 'spell': 1,
\ 'spelllang': ['en_us'],
\ 'dictionary': ['/usr/share/dict/words'],
\ })
command -nargs=0 BookGerman call lexical#init({
\ 'spell': 1,
\ 'spelllang': ['de_20'],
\ 'dictionary': ['~/.vim/spell/gerspchk.dict'],
@wikimatze
wikimatze / padrino_vs_the_rest.md
Created August 23, 2014 07:22
Draft of the chapter padrino vs the other frameworks
  • Should care about making your decision about the Framework you want to use? There's a lot of folks who insist that people who don't know better should just use Rails for the amount of effort that goes into security in Rails, versus having to know about XSS, CSRF, SQL Injection, etc in Sinatra to add Rack Middleware etc to have those protections ...

  • Is Rails bad?

Many people nowadays say that Rails is bad. But why? The most told problem with is that it is bloated and not easy to learn in the beginning.

// ----
// Sass (v3.3.14)
// Compass (v1.0.0.rc.1)
// ----
// Create a global map of users
$users: ();
// Add a new user to the global map
@mixin user($name, $availability, $infos) {
// ----
// Sass (v3.3.14)
// Compass (v1.0.0.rc.1)
// ----
// Create a global map of users
$users: ();
// Add a new user to the global map
@mixin user($name, $availability, $infos) {
@wikimatze
wikimatze / SassMeister-input.scss
Created August 18, 2014 05:40
Generated by SassMeister.com.
// ----
// Sass (v3.3.14)
// Compass (v1.0.0.rc.1)
// ----
// Create a global map of users
$users: ();
// Add a new user to the global map
@mixin user($name, $availability, $infos) {
@wikimatze
wikimatze / gist:9790374
Created March 26, 2014 18:43
Github Two-Factor Authentication Failed For HTTPS

I heard from GitHub Two-Factor Authentication](https://github.com/blog/1614-two-factor-authentication) nearly a couple of days ago when I was reading my RSS feed. I enabled it and couldn' push to any of my repositories anymore. Learn in this blog post how to fix it.

Two-Factor Authentication

"Is a process involving two stages to verify the identity of an entity trying to access services in a computer or in a network". Github solves this authentication with sending an SMS to a device which wants to push to their platform.

Enabling Two-Factor Authentication

@wikimatze
wikimatze / gist:9648491
Last active August 29, 2015 13:57
Deploy Padrino Apps On Anynines

Let's create a new application:

$ padrino g project hello-world-anynines-mysql -d activerecord -a mysql
    create
    create  .gitignore
    create  config.ru
    create  config/apps.rb
    create  config/boot.rb
@wikimatze
wikimatze / gist:7976591
Last active December 31, 2015 10:59
Book review about the book "The Dream Nightmare" by Portia Tung

I won this book in lucky dip at Agile Tour London 2013 from Portia and it was the right book in the right situation. Remember a very desperate team, who was not performing as a team and who was doing wrong estimations, and had a late schedule.

Portias book explained the nightmare, the team went through in a very entertaining and playfull way. In the book, as an Agile Coach, it is up to you which decision you make to rescue a situation which I was facing at. Depending on which actions you take, the consequences will vary and you have to justify on the right decision.

Even if you are doing SCRUM for a couple of years, you will learn something new in the book or detect a common situation you had and see which different options you have and you may use them to act next time in a different way. It is definitely a book you can read perfectly on your way to work. And it will definitely make you smile because you will encounter similar situations at work, but now, you can react in a more appropriate way.

@wikimatze
wikimatze / gist:6332795
Last active December 21, 2015 16:19
Bring padrino to the next level

I recently had the pleasure to meet Darío at eurucamp 2013 in wonderful Berlin to discuss issues with the further development of Padrino. Here are the following points we need to think over.

Handling Mailing List

As recently posted on our mailing list with the sql problem, we have problems with some posted activities which are not shown up on the page. Apparently, we I can't find the post anymore which mentioned this issue.

Questions needs to be answered:

  • Who is responsible to admin the presence (checking options, help new members with registration)
  • Should all main contributors have access to the settings?
@wikimatze
wikimatze / ctags.md
Last active April 7, 2022 23:46
Browsing Padrino's Code Base With Ctags in Vim

Working effectively with ctags has always been a topic I missed for a long time because I was too lazy to invest time to learn about the it.

I was working on on my application and was constantly consulting Padrino's API doc in the browser. It would have been more effective if I can do the searching directly the Padrino's code on GitHub. Benefit I don't have to leave the terminal and can focus on my task.

What is ctags

ctags is a tool which make it easy for you to shift through in no time.