Skip to content

Instantly share code, notes, and snippets.

View danielpradilla's full-sized avatar

Daniel Pradilla danielpradilla

View GitHub Profile
@danielpradilla
danielpradilla / table.html
Created October 16, 2013 07:22
Table rows side by side with css
<style>
table{
width:100%;
}
table tr {display:inline}
table tr:nth-child(1){
position:relative;
}
table tr:nth-child(1) td{
position:absolute;
@danielpradilla
danielpradilla / gist:5933205
Created July 5, 2013 09:16
remove from version control
find . -iname ".svn" -print0 | xargs -0 rm -r
svn export /path/to/old/working/copy /path/to/plain/code
#!/usr/bin/env perl
=head1 Examples
$ tail -f access_log | perl colorize.pl
$ plackup app.psgi 2>&1 | perl colorize.pl
=cut
use strict;
@danielpradilla
danielpradilla / index.html
Last active August 27, 2020 11:40
HTML5 skeleton
<!DOCTYPE html>
<html>
<head>
<title>title</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.min.css">
</head>
<body>
<h1>Hello, world</h1>
<script src="http://code.jquery.com/jquery.js"></script>