###SSH into a remote machine###
ssh user@mydomain.com
#or by ip address
ssh user@192.168.1.1
exit: exit
###Install Something###
#If it's a new server, update apt-get first thing
| console.reset = function () { | |
| return process.stdout.write('\033c'); | |
| } |
###SSH into a remote machine###
ssh user@mydomain.com
#or by ip address
ssh user@192.168.1.1
exit: exit
###Install Something###
#If it's a new server, update apt-get first thing
| # Compiled source # | |
| ################### | |
| *.com | |
| *.class | |
| *.dll | |
| *.exe | |
| *.o | |
| *.so | |
| # Packages # |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script src="https://code.jquery.com/jquery-1.11.3.js"></script> | |
| <script src="https://code.jquery.com/jquery.min.js"></script> | |
| <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet" type="text/css" /> | |
| <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script> | |
| <meta charset="utf-8"> | |
| <title>JS Bin</title> | |
| </head> |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Medium Animation Experiment</title> | |
| <link rel='stylesheet' href='//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css'> | |
| <link rel='stylesheet' href='//fonts.googleapis.com/css?family=Open+Sans' type='text/css'> | |
| <style> | |
| body { | |
| padding: 100px; | |
| font-size: 60px; |
| (function adjustImages(){ | |
| /* variables */ | |
| var wrapper = document.getElementsByClassName('wrapper')[0], | |
| image = document.getElementsByClassName('variable-image')[0], | |
| hiddenDiv = document.getElementsByClassName('hidden-div')[0], | |
| neededWidth = 450, | |
| neededHeight = 300, | |
| neededRatio = neededHeight / neededWidth, | |
| newImgRatio, | |
| scaleRatio, |