- Implement delete selected (@dariocravero).
- Fix issue with delete popover's positioning on FF (@dariocravero).
- Put the footer always to the bottom of the page (@waydotnet).
- Upgrade to bootstrap's v3 (@waydotnet).
- Implement I18n.
- ...?
This file contains hidden or 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
| <IfModule mod_fastcgi.c> | |
| AddHandler fastcgi-script .fcgi | |
| </IfModule> | |
| <IfModule mod_fcgid.c> | |
| AddHandler fcgid-script .fcgi | |
| </IfModule> | |
| Options +FollowSymLinks +ExecCGI | |
| RewriteEngine On |
This file contains hidden or 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
| authorization do | |
| role :guest do | |
| has_permission_on :users, :to => :create | |
| end | |
| role :user do | |
| includes :guest | |
| has_permission_on :users, :to => :manage do | |
| if_attribute :id => is {user.id} | |
| end |
This file contains hidden or 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
| # coding: utf-8 | |
| from weasyprint import HTML, CSS | |
| def get_page_body(boxes): | |
| for box in boxes: | |
| if box.element_tag == 'body': | |
| return box |
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.
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?
This file contains hidden or 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
| #!/usr/bin/env ruby | |
| progress = 'Progress [' | |
| 1000.times do |i| | |
| # i is number from 0-999 | |
| j = i + 1 | |
| # add 1 percent every 10 times | |
| if j % 10 == 0 |
This file contains hidden or 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
| #!/bin/bash | |
| sudo kextunload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport | |
| sudo kextload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport |
This file contains hidden or 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
| -- Get Max ID from table | |
| SELECT MAX(id) FROM table; | |
| -- Get Next ID from table | |
| SELECT nextval('table_id_seq'); | |
| -- Set Next ID Value to MAX ID | |
| SELECT setval('table_id_seq', (SELECT MAX(id) FROM table)); |
This file contains hidden or 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
| import * as fb from "firebase"; | |
| import { computed, observable, runInAction } from "mobx"; | |
| type Query = fb.firestore.Query; | |
| type DocumentReference = fb.firestore.DocumentReference; | |
| type DocumentSnapshot = fb.firestore.DocumentSnapshot; | |
| type LoadingDocumentSnapshot = DocumentSnapshot | undefined; | |
| type Dictionary<T> = { [key: string]: T }; | |
| // type QuerySnapshot = fb.firestore.QuerySnapshot; | |
| // type LoadingCollectionSnapshot = QuerySnapshot | undefined; |