Skip to content

Instantly share code, notes, and snippets.

@Holek
Holek / git-clone.txt
Created March 7, 2011 15:04
How to clone a repository into another repository from a specific point
$ git init
Initialized empty Git repository in .git/
$ git remote add origin git@repository.com:to/copy/to.git
$ git remote add to-clone git@repository.com:to/copy.git
$ git fetch to-clone
remote: Counting objects: 1584, done.
remote: Compressing objects: 100% (1505/1505), done.
remote: Total 1584 (delta 936), reused 0 (delta 0)
Receiving objects: 100% (1584/1584), 843.34 KiB | 623 KiB/s, done.
Resolving deltas: 100% (936/936), done.
### Keybase proof
I hereby claim:
* I am holek on github.
* I am holek (https://keybase.io/holek) on keybase.
* I have a public key ASDyYLw2fQjCrNuRqzA8D2-VZcOj3vgmbdteO7Gt-oIhyQo
To claim this, I am signing this object:
@Holek
Holek / bash-autocomplete-script
Created November 25, 2011 09:16
Git autocomplete for bash on a Mac script
curl https://raw.github.com/git/git/master/contrib/completion/git-completion.bash -o ~/.git-completion.bash
echo "source ~/.git-completion.bash" >> ~/.bash_profile
@Holek
Holek / dabblet.css
Created February 25, 2013 11:33
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
.apple {
display:block;
height: 273px;
width: 1024px;
background-color: #EA294C;
background-image: -webkit-linear-gradient(left, #EA294C, #EA294C 16.6%, #EA6F3C 16.6%,
@Holek
Holek / dabblet.css
Created February 19, 2013 15:15
text-like inputs
/**
* text-like inputs
*/
table input[type="text"] {
border: 1px solid transparent;
background: white;
padding: 3px 5px;
}
table input[type="submit"] {
@Holek
Holek / dabblet.css
Created February 5, 2013 13:56
Filter buttons
/**
* Filter buttons
*/
* {
border: 0;
border-collapse: collapse;
empty-cells: show;
margin: 0;
padding: 0; }
@Holek
Holek / dabblet.css
Created February 5, 2013 13:32
mainNav
/**
* mainNav
*/
* {
border: 0;
border-collapse: collapse;
empty-cells: show;
margin: 0;
padding: 0; }
@Holek
Holek / dabblet.css
Last active December 12, 2015 04:18
CSS3 Flared Borders (on top)
/** CSS3 Flared Borders (on top)
* adapted from: http://orderedlist.com/blog/articles/flared-borders-with-css/
*/
html {
background:#FFF;
}
* {border: 0; border-collapse: collapse; empty-cells: show; margin: 0; padding: 0}
body {font-size: 62.5%; font-family: Arial, Helvetica, sans-serif}
@Holek
Holek / dabblet.css
Created February 4, 2013 19:40
Tabs
/**
* Tabs
*/
.clearfix:before,
.clearfix:after {
content: " "; /* 1 */
display: table; /* 2 */
}
@Holek
Holek / dabblet.css
Created February 4, 2013 14:57
List bar
/**
* List bar
*/
.listbar_wrap {
color: #fff;
background-color: #8E8E8E;
background-image: -webkit-gradient(linear, left top, left bottom, from(#8E8E8E), to(#717171)); /* Chrome, Safari 4+ */
background-image: -webkit-linear-gradient(top, #8E8E8E, #717171); /* Chrome 10+, iOS 5+, Safari 5.1+ */
background-image: -moz-linear-gradient(top, #8E8E8E, #717171); /* Firefox 3.6-15 */