#Create bitbucket branch
##Create local branch
$ git checkout -b sync
Switched to a new branch 'sync'
$ git branch
master
* sync
| { | |
| "tree" : { | |
| "nodeName" : "NODE NAME 1", | |
| "name" : "NODE NAME 1", | |
| "type" : "type3", | |
| "code" : "N1", | |
| "label" : "Node name 1", | |
| "version" : "v1.0", | |
| "link" : { | |
| "name" : "Link NODE NAME 1", |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| //Load auction data from Firebase (FB) | |
| thisAuction.on('value', function(snapshot) { | |
| var setTime = snapshot.val().times; | |
| var setIncrement = snapshot.val().increment; | |
| var setItemImage = snapshot.val().image; | |
| var setItem = snapshot.val().item; | |
| var setItemDescription = snapshot.val().description; |
| var authClient = new FirebaseAuthClient(db, function(error, user) { | |
| if (error) { | |
| alert(error); | |
| } else if (user) { | |
| $(body).removeClass("noAuth").addClass("auth"); | |
| #!/bin/bash | |
| # herein we backup our indexes! this script should run at like 6pm or something, after logstash | |
| # rotates to a new ES index and theres no new data coming in to the old one. we grab metadatas, | |
| # compress the data files, create a restore script, and push it all up to S3. | |
| TODAY=`date +"%Y.%m.%d"` | |
| INDEXNAME="logstash-$TODAY" # this had better match the index name in ES | |
| INDEXDIR="/usr/local/elasticsearch/data/logstash/nodes/0/indices/" | |
| BACKUPCMD="/usr/local/backupTools/s3cmd --config=/usr/local/backupTools/s3cfg put" | |
| BACKUPDIR="/mnt/es-backups/" | |
| YEARMONTH=`date +"%Y-%m"` |
#Create bitbucket branch
##Create local branch
$ git checkout -b sync
Switched to a new branch 'sync'
$ git branch
master
* sync
| # install 1.3.1 ( stable version ) | |
| cd ~ | |
| sudo apt-get update | |
| sudo apt-get install openjdk-7-jre-headless -y | |
| ### Check http://www.elasticsearch.org/download/ for latest version of ElasticSearch and replace wget link below | |
| # NEW WAY / EASY WAY | |
| wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.1.1.deb | |
| sudo dpkg -i elasticsearch-1.1.1.deb |
| <?xml version="1.0"?> | |
| <root> | |
| <appdef> | |
| <appname>INTELLIJ</appname> | |
| <equal>com.jetbrains.intellij</equal> | |
| </appdef> | |
| <replacementdef> | |
| <replacementname>MY_IGNORE_APPS</replacementname> | |
| <replacementvalue>VIRTUALMACHINE, TERMINAL, REMOTEDESKTOPCONNECTION, VNC, INTELLIJ</replacementvalue> |