- String Calculator http://osherove.com/tdd-kata-1/
- String Calculator With Interactions http://osherove.com/tdd-kata-2/
- Bowling Game Kata http://butunclebob.com/ArticleS.UncleBob.TheBowlingGameKata
- ThePrimeFactorsKata http://butunclebob.com/ArticleS.UncleBob.ThePrimeFactorsKata
fetch package control install: http://wbond.net/sublime_packages/package_control/installation#ST3
- Package Control -- packet installer
- ApacheConf.tmLanguage -- syntax highliting für apache conf language
For your Ruby, you'll must install this gems:
sudo gem install passenger
sudo passenger-install-apache2-module
At this moment, you'll asked to install some Apache2's deps (three deps):
sudo apt-get install apache2-prefork-dev
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
| <?php | |
| /** | |
| * @param string $domain Pass $_SERVER['SERVER_NAME'] here | |
| * @param bool $debug | |
| * | |
| * @debug bool $debug | |
| * @return string | |
| */ | |
| function get_domain($domain, $debug = false) | |
| { |
There's no shortage of good resources for learning laravel. So instead of the usual introductory tutorial were just gonna learn Laravel by building a project from scratch and that's gonna be a User Management System.
I don't know if my definition of a User Management System is correct but here's my idea of what's it's capable of doing:
- Register Roles
- Register Users
- Update Users
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
| This is a short readme on how to use the template. I'll create a detailed readme later, but for the moment I guess this should be fine. | |
| Information | |
| ########### | |
| Based on Debian 6.0.5 minimal AMD64 | |
| Gitlab 2.8 Stable | |
| Additional packages: bash-completion, nano, fail2ban (preconfigured to block SSH hack attemps) |
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
| <?php | |
| // Resizer and Image Manipulation | |
| // Based on: http://forums.laravel.com/viewtopic.php?id=2648 | |
| public function post_edit_logo($id) | |
| { | |
| $rules = array( | |
| 'image' => 'image', | |
| ); |
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
| aptitude install -y git curl python-dev python-pip redis-server ruby1.9.1-full rubygems1.9.1 | |
| aptitude install -y mysql-server libmysqlclient-dev | |
| adduser --system --shell /bin/sh --gecos 'git version control' --group --disabled-password --home /home/git git | |
| adduser --disabled-login --gecos 'gitlab system' gitlab | |
| usermod -a -G git gitlab | |
| su - gitlab | |
| ssh-keygen -q -N '' -t rsa -f /home/gitlab/.ssh/id_rsa | |
| aptitude install gitolite | |
| cp /home/gitlab/.ssh/id_rsa.pub /home/git/gitlab.pub | |
| su - git |
NewerOlder