This file contains 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
// CSS | |
body { | |
background: url('../img/bg_dark.jpg'); | |
font-family: Ubuntu, Helvetica, sans-serif; | |
color: #E8E8E8; | |
} | |
a, a:active, a:visited { | |
color: #E8E8E8; | |
text-decoration: none; | |
font-weight: bold; |
This file contains 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
index.php | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Sparkz Design</title> | |
<link rel="stylesheet" type="text/css" href="./assets/css/reset.css" /> | |
<link rel="stylesheet" type="text/css" href="./assets/css/960.css" /> | |
<link rel="stylesheet" type="text/css" href="./assets/css/text.css" /> |
This file contains 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 | |
$connection = mysql_connect('localhost', 'root', '33456zs') or die ("<p class='error'>Sorry, we were unable to connect to the database server.</p>"); | |
$database = "fuelapp"; | |
mysql_select_db($database, $connection) or die ("<p class='error'>Sorry, we were unable to connect to the database.</p>"); | |
function GetBlogPosts($inId=null, $inTagId =null) | |
{ | |
if (!empty($inId)) | |
{ |
This file contains 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/sh | |
# | |
# ~/.xinitrc | |
# | |
# Executed by startx (run your window manager from here) | |
if [ -d /etc/X11/xinit/xinitrc.d ]; then | |
for f in /etc/X11/xinit/xinitrc.d/*; do | |
[ -x "$f" ] && . "$f" | |
done |
This file contains 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 the default wmfs config file, copy it to | |
# ~/.config/wmfs/wmfsrc and edit it. | |
# | |
# Include file to split configuration | |
# @include "~/.config/wmfs/menu-wmfsrc" | |
[misc] | |
use_xft = true |
This file contains 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
source 'http://rubygems.org' | |
gem 'rails', '3.1.0' | |
# Bundle edge Rails instead: | |
# gem 'rails', :git => 'git://github.com/rails/rails.git' | |
gem 'sqlite3' | |
This file contains 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
sadin@sparkzdev:~/Documents/project$ rails server | |
Could not find gem 'sqlite3 (>= 0)' in any of the gem sources listed in your Gemfile. | |
Run `bundle install` to install missing gems. | |
sadin@sparkzdev:~/Documents/project$ gem install sqlite3 | |
Building native extensions. This could take a while... | |
ERROR: Error installing sqlite3: | |
ERROR: Failed to build gem native extension. | |
/home/sadin/.rvm/rubies/ruby-1.9.2-p290/bin/ruby extconf.rb | |
checking for sqlite3.h... no |
This file contains 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
NOTE: | |
As of 1.8.0 RVM once again loads .rvmrc files, by default, after asking your | |
permission to trust it of course. If you do not wish to be enabled, simply set: | |
export rvm_project_rvmrc=0 | |
Within either your /etc/rvmrc or $HOME/.rvmrc file. This will turn off the | |
cd/pushd hooks when sourcing the rvm() function into your shell. | |
Example: echo 'export rvm_project_rvmrc=0' >> $HOME/.rvmrc; | |
(Then close the current shell and open a new one.) |
This file contains 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
sadin@sparkzdev:/var/www/sparksdev$ rails server | |
Could not find gem 'turn (>= 0)' in any of the gem sources listed in your Gemfile. | |
Run `bundle install` to install missing gems. | |
sadin@sparkzdev:/var/www/sparksdev$ |
This file contains 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
sadin@sparkzdev:/var/www/sparksdev$ bundle install | |
Fetching source index for http://rubygems.org/ | |
Using rake (0.9.2) | |
Using multi_json (1.0.3) | |
Using activesupport (3.1.0) | |
Using bcrypt-ruby (3.0.0) | |
Using builder (3.0.0) | |
Using i18n (0.6.0) | |
Using activemodel (3.1.0) | |
Using erubis (2.7.0) |