rvm implode
You should have something like this left from RVM. Delete it from the file. ``[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"```
| # Version key/value should be on his own line | |
| PACKAGE_VERSION=$(cat package.json \ | |
| | grep version \ | |
| | head -1 \ | |
| | awk -F: '{ print $2 }' \ | |
| | sed 's/[",]//g') | |
| echo $PACKAGE_VERSION |
| git shortlog -e -s -n |
| //**dataURL to blob** | |
| function dataURLtoBlob(dataurl) { | |
| var arr = dataurl.split(','), mime = arr[0].match(/:(.*?);/)[1], | |
| bstr = atob(arr[1]), n = bstr.length, u8arr = new Uint8Array(n); | |
| while(n--){ | |
| u8arr[n] = bstr.charCodeAt(n); | |
| } | |
| return new Blob([u8arr], {type:mime}); | |
| } |
| // The polling function | |
| function poll(fn, timeout, interval) { | |
| var endTime = Number(new Date()) + (timeout || 2000); | |
| interval = interval || 100; | |
| var checkCondition = function(resolve, reject) { | |
| var ajax = fn(); | |
| // dive into the ajax promise | |
| ajax.then( function(response){ | |
| // If the condition is met, we're done! |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset=utf-8 /> | |
| <title>Holy Grail</title> | |
| <style> | |
| /* some basic styles. nothing to do with flexbox */ | |
| header, footer, | |
| nav, article, aside { | |
| border: 1px solid black; |
| /** | |
| * | |
| * @author akhmad | |
| */ | |
| public class Application extends javax.swing.JFrame { | |
| private Connection connection; | |
| /** | |
| * Creates new form Application |