Skip to content

Instantly share code, notes, and snippets.

View robertorb21's full-sized avatar
🏠
🧑🏽‍💻

Robert Rodríguez robertorb21

🏠
🧑🏽‍💻
View GitHub Profile
#!/bin/bash -e
function get_module() {
local path=$1
while true; do
path=$(dirname $path)
if [ -f "$path/pom.xml" ]; then
echo "$path"
return
elif [[ "./" =~ "$path" ]]; then
return
@robertorb21
robertorb21 / 0_reuse_code.js
Created August 11, 2014 16:05
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console