Skip to content

Instantly share code, notes, and snippets.

@luk-
luk- / reset.css
Created October 10, 2012 22:03
my favorite reset
/* --------------------------------------------------------------
reset.css
* Resets default browser CSS.
-------------------------------------------------------------- */
html {
margin:0;
padding:0;
@luk-
luk- / inset_input.css
Created October 4, 2012 23:00 — forked from nrrrdcore/inset_input.css
The Perfect Inset Input CSS
input {
height: 34px;
width: 100%;
border-radius: 3px;
border: 1px solid transparent;
border-top: none;
border-bottom: 1px solid #DDD;
box-shadow: inset 0 1px 2px rgba(0,0,0,.39), 0 -1px 1px #FFF, 0 1px 0 #FFF;
}
<div class="already">
<p>
Thank you. You have requested private npm beta access, and you're in the
queue. We will email you as soon as possible.
</p>
</div>
#header_bar {
background-color: #424a57;
background-image: -moz-linear-gradient(#424a57, #141e2e);
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#424a57), to(#141e2e));
background-image: -webkit-linear-gradient(#424a57, #141e2e);
background-image: -o-linear-gradient(#424a57, #141e2e); }
#main_window {
background-color: #010203;
background-image: -moz-linear-gradient(#010203, #040506);
@import "mixins";
// colors
$main_bg: rgb(239, 239, 239);
$nav_selected: rgb(86, 95, 107);
@mixin header_bar_bg {
@include background_gradient (rgb(66, 74, 87), rgb(20, 30, 46));
}
@luk-
luk- / _gradients.sass
Created September 20, 2012 23:47 — forked from mihar/_gradients.sass
SASS mixing for CSS3 gradients
=gradient($from, $to)
/* fallback/image non-cover color */
background-color: $from
/* Firefox 3.6+ */
background-image: -moz-linear-gradient($from, $to)
/* Safari 4+, Chrome 1+ */
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from($from), to($to))
info: Welcome to Nodejitsu st_luke
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Analyzing your application dependencies in index.js
info: Checking app availability npm-updates
info: Creating app npm-updates
error: Error creating npm-updates
error: Nodejitsu Error (500): Internal Server Error
error: Error running command deploy
error: Nodejitsu Error (500): Internal Server Error
@luk-
luk- / gist:3744633
Created September 18, 2012 17:52 — forked from mstyne/gist:3744554
couchdb init, from debian
#!/bin/sh -e
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
@luk-
luk- / gist:3703764
Created September 12, 2012 02:11
sensible minimal vim defaults
syntax on
"set cindent
set smartindent
set hlsearch
set ruler
set showcmd
set title
set history=1000
set sw=2
set pastetoggle=<C-l>
@luk-
luk- / gist:3691442
Created September 10, 2012 15:17
best spam email ever
Greetings to you,
This is to officially notify you on the unclaimed fund left by Engineer George, who was burnt to death with his entire
family on 18th August 2008, in when their car collided with a trailer while they are coming back from a holiday in a
resort off the town.
As the personal lawyer of the deceased and the trustee of his estate, all I needed is your honest cooperation in
standing as the only living relation and put claim over the release of this fund to you for our sharing. so if you
response I will present you for the claim of US$3.2 million he left in a bank here in our country. I will inform
you more once I receive positive response from you.