Skip to content

Instantly share code, notes, and snippets.

View ultim8k's full-sized avatar
🛠️
Rock & roll!

Kostas Kapenekakis ultim8k

🛠️
Rock & roll!
View GitHub Profile
@ultim8k
ultim8k / dabblet.css
Created January 1, 2012 17:24
linear gradient test
/**
* linear gradient test
*/
background: #ccc;
background: linear-gradient(180deg, #ccc, #999);
border-radius:15px;
border:1px solid #777;
box-shadow:0px 7px 7px 7px rgba(0,0,0, 0.7);
min-height:95%;
@ultim8k
ultim8k / install-passenger-nginx.sh
Created January 30, 2012 18:29 — forked from geoffgarside/install-passenger-nginx.sh
Script to install passenger using www/nginx FreeBSD port
#!/bin/sh
#
# Pre-requisites:
# FreeBSD
# Passenger installed as a gem
# Optional:
# Ruby Enterprise Edition instead of lang/ruby18
#
make -C /usr/ports/www/nginx clean patch apply-slist install-rc-script
@ultim8k
ultim8k / post-receive
Created February 23, 2012 20:15 — forked from yortz/post-receive
Basic git post-receive hook file to deploy a Rails app.
#!/bin/bash
APP_NAME="your-app-name-goes-here"
APP_PATH=/home/deploy/${APP_NAME}
# Production environment
export RAILS_ENV="production"
# This loads RVM into a shell session. Uncomment if you're using RVM system wide.
# [[ -s "/usr/local/lib/rvm" ]] && . "/usr/local/lib/rvm"
@ultim8k
ultim8k / more.md
Created April 21, 2012 01:17 — forked from vasilisvg/more.md
This is my backup script which syncs my server to my dropbox every day.

The script below is triggered every day from my Mac. I use Hazel to move the tar.gz to an external hard disk once it's finished. This happens every day without me noticing.

You should have a similar script.

@ultim8k
ultim8k / dabblet.css
Created August 3, 2012 12:16 — forked from anonymous/dabblet.css
pdf Download box
/**
* pdf Download box
*/
html {
background: url('http://subtlepatterns.com/patterns/purty_wood.png');
}
.pdf-carier{
margin: 10%;
@ultim8k
ultim8k / dabblet.css
Created August 21, 2012 12:04
responsive inline menu
/**
* responsive inline menu
*/
body{
padding:0;
margin:0;
}
nav {
width: 100%;
text-align: center;
@ultim8k
ultim8k / dabblet.css
Created August 22, 2012 14:11
spinning cogs :)
/**
* spinning cogs :)
*
* img: https://dl.dropbox.com/u/31132753/hcogs.png
*
*/
.cnt{width:900px; height:450px; position:relative; background-color:grey;}
.cog{
display:block;
width:182px;
@ultim8k
ultim8k / dabblet.css
Created August 22, 2012 15:29
spinning cogs :)
/**
* spinning cogs :)
*
* img: https://dl.dropbox.com/u/31132753/hcogs.png
*
*/
.cnt{width:900px; height:450px; position:relative; background-color:grey;}
.cog{
display:block;
width:182px;
@ultim8k
ultim8k / dabblet.css
Created August 22, 2012 15:34
spinning cogs last :)
/**
* spinning cogs last :)
*
* img: https://dl.dropbox.com/u/31132753/hcogs.png
*
*/
.cnt{width:900px; height:450px; position:relative; background-color:grey;}
/* --------------------- *\
@ultim8k
ultim8k / dabblet.css
Created August 28, 2012 09:31
spinning cogs retina
/**
* spinning cogs retina
*
* img: https://dl.dropbox.com/u/31132753/hcogs.png
*
*/
.cnt{width:900px; height:450px; position:relative; background-color:grey;}
/* --------------------- *\