Skip to content

Instantly share code, notes, and snippets.

echo $METEOR_TOKEN > deployment_token.json
echo $METEOR_SETTINGS > deployment_settings.json
DEPLOY_HOSTNAME=galaxy.meteor.com METEOR_SESSION_FILE=deployment_token.json meteor deploy $METEOR_TARGET --settings deployment_settings.json
@nate-strauser
nate-strauser / Materialize CSS - Modal Fixed Header
Created May 18, 2016 19:49
How to have a fixed modal header with materializecss
Modal Markup:
<div class="modal modal-fixed-header">
<div class="modal-header">
HEADER CONTENT
</div>
<div class="modal-content">
MAIN CONTENT
</div>
</div>
Verifying that +natestrauser is my blockchain ID. https://onename.com/natestrauser
@nate-strauser
nate-strauser / 0xbtc-hive.txt
Last active April 25, 2018 14:47
0xBitcoin Mining on HiveOS
#from hive console
stop all miners on rig
disable hashrate watchdog #don't want the last miner starting back up on it's own
#from terminal
ssh [email protected] #the local ip of the rig
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
uploadImageCordova = function (callback, progressCallback, localPreviewCallback) {
var fail = function (error) {
callback(error);
};
var cameraSuccess = function (imageURI) {
if (_.isFunction(localPreviewCallback)) {
window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, function (fileSystem) {
// console.log('image URI');