Skip to content

Instantly share code, notes, and snippets.

View dewwwald's full-sized avatar

dewald dewwwald

View GitHub Profile
@dewwwald
dewwwald / _A.md
Last active August 29, 2015 14:01
Pagination for Processwire

##Simple Pagination For Processwire

###ProcessWire Requirements

On the template you want pagination. Go to the url's tab where you will have to:

  • Activate Allow Page Numbers.
  • Activate Allow URL Segments.
ProcessWire Webpage Workflow
1. Setup v-hosts, database and install processwire (usually fixate's boilerplate generator)
a. the generator already does bower install.
2. Determine project structure and install all required modules.
3. Setup all required fields and templates in PW admin.
4. Program the logic of the web page. All php that handles dynamic data. Site specific and contact controller.
5. Use styleguide to program initial css.
6. Program site css that was not done in styleguide.
7. finalize by adding javascripts that are used.
@dewwwald
dewwwald / gist:9706829
Created March 22, 2014 13:03
Setup SSH
To set up use this tutorial ==>
https://help.github.com/articles/generating-ssh-keys
______________________________________________
Now be carefull to use ssh on a repo that is set to use an https url.
Fix => Run the following from project dirr
@dewwwald
dewwwald / readme
Last active August 29, 2015 13:57
Ubuntu 12.0.4 => rbenv install
Firstly rbenv like other dev tools should be installed on your home directory not your root. (Dont sudo install it)
##Installing rbenv
follow the commands on the github repo
=> https://github.com/sstephenson/rbenv
- install ruby env
- install ruby build
=> sudo apt-get install g++ gcc make libc6-dev patch openssl ca-certificates libreadline6 libreadline6-dev curl zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev autoconf libc6-dev libgdbm-dev libncurses5-dev automake libtool bison pkg-config libffi-dev
@dewwwald
dewwwald / Bashhr example
Created March 11, 2014 08:01
For a cool Ubuntu .bashrc (Terminal Profile)
https://github.com/trisweb/dotfiles/blob/master/.bash_profile