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
| #!/usr/bin/python | |
| print "Hello, Python!" |
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
| #!/usr/bin/env python | |
| #the above just indicates to use python to intepret this file | |
| # --------------------------------------------------------------- | |
| #This mapper code will input a line of text and output <word, 1> | |
| # | |
| # --------------------------------------------------------------- | |
| import sys #a python module with system functions for this OS |
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
| able,991 | |
| about,11 | |
| burger,15 | |
| actor,22 |
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
| yum list java* | |
| sudo yum -y remove java* | |
| java -version | |
| cd | |
| mkdir tmp | |
| cd tmp | |
| curl -u uftp:uftp ftp://192.168.2.115/path/developer/jdk-8u151-linux-x64.tar.gz -o jdk-8u151-linux-x64.tar.gz | |
| tar zxvf jdk-8u151-linux-x64.tar.gz | |
| sudo mv jdk1.8.0_151 /usr/share/ | |
| sudo vim /etc/profile |
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 | |
| ## Author: Jeff Higham <jeff@f3code.com>, <jeffhigham@gmail.com> | |
| ## Gist: https://gist.github.com/jeffhigham-f3/3b94d508269e614f1f2e701ada8239cc | |
| ## | |
| ## Usage: mysqlbackup | |
| ## | |
| ## BEGIN EDITING | |
| # timestamp for backups |