This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
git pull origin master \ | |
&& ./gradlew build \ | |
&& kill -9 `ps -ef | grep java | grep -v grep | awk '{print $2}'` | |
function isServiceLive { | |
running=0; | |
while [ $running -eq 0 ]; do | |
if [ "$response" != "Web service is working!" ]; then | |
sleep 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// algorithm for creating file tree structure from flat file paths (for kendo table) | |
function createFileTreeStructure(filePaths){ | |
var prefix; | |
var items = { | |
"root" : [] | |
}; | |
if(typeof filePaths === 'undefined' && filePaths.length == 0) { | |
return null; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# upgrade system | |
sudo apt-get update | |
sudo apt-get -y upgrade | |
# disable guest | |
sudo mkdir /etc/lightdm/lightdm.conf.d |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
name = Ivan Aracki | |
email = [email protected] | |
[core] | |
editor = vim | |
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
excludesfile = ~/.gitignore | |
[sendemail] | |
smtpencryption = tls | |
smtpserver = smtp.gmail.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias cd..='cd ..' | |
alias ..="cd .." | |
alias ...="cd ../.." | |
alias ....="cd ../../.." | |
alias .....="cd ../../../.." | |
alias c='clear' | |
alias h='history' | |
alias l='ls -lrth' |
NewerOlder