Skip to content

Instantly share code, notes, and snippets.

View mroth's full-sized avatar

Matthew Rothenberg mroth

View GitHub Profile
@jeffreytierney
jeffreytierney / tooltip_talk_bubble.css
Created June 22, 2011 21:00
single element tooltips and talk bubbles with pure css
.tooltip {
position: absolute;
text-align: center;
display: inline-block;
background: #FFF;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
-o-border-radius: 5px;
-ms-border-radius: 5px;
border-radius: 5px;
@matb33
matb33 / gist:5322002
Last active December 15, 2015 20:58
Automated server installation for Meteor 0.6.0+ on a fresh AWS EC2 Ubuntu Server 12.10 installation. Although MongoDB is installed, I only tested against having my database remotely on MongoHQ. Let me know if you have issues with a local DB. Moved: https://github.com/matb33/meteor-ec2-install
MOVED: https://github.com/matb33/meteor-ec2-install
@pdl
pdl / ack-blame
Last active April 10, 2017 10:18
ack plus git blame
# ack Module::Load --output='@{[`git blame $_[1] -L $.,$. | perl -e "chomp and print while <STDIN>"`]}'
alias ack-blame="ack --output='@{[\`git blame \$_[1] -L \$.,\$. | perl -e \"chomp and print while <STDIN>\"\`]}'"
@r0l1
r0l1 / copy.go
Last active July 5, 2024 01:48
Copy a directory tree (preserving permissions) in Go.
/* MIT License
*
* Copyright (c) 2017 Roland Singer [roland.singer@desertbit.com]
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions: