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 | |
| export path=$1:$path |
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
| Check and see if the system has the latest MySql, PHP and APACHE | |
| Unzip and untar the file Epiware-***.tar.gz tar xvfz Epiware-***.tar.gz | |
| Change into the Epiware-*** directory cd Epiware* | |
| Login as root su | |
| Run the install script ./install | |
| ** After the installation copy or move the extracted Epiware directory to your /var/www in the system. |
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
| You can upload documents by navigating into the library section in the tabs. | |
| Replacing or editing a document can be done by right clicking the document and selecting edit/replace. | |
| To its previous version revision history, right click the document and select version/history | |
| You can keep track of multiple document projects. This is done by the root user when he adds a new folders and give read/write access to the corresponding users. | |
| There is also a forum that can be utilized to discuss any issues dealing with the current project in hand. |
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
| for alphabet in alphabets: | |
| encrypt_table[alphabet] = chr(ord(alphabet) + 3) |
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
| path = raw_input() | |
| f = open(path) # open the file from the given path using open | |
| temp = "" #let temp be an empty string | |
| for line in f: # add the contents of the file in temp | |
| temp += line |
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
| encrypted_message = "" | |
| for letter in temp: | |
| if letter in alphabets: #if letter in temp lies in alphabet store itshash value in encypted message | |
| encrypted_message += encrypt_table[letter] | |
| #else store the letter as it is | |
| else: | |
| encrypted_message += letter | |
| # encrypt the key |
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
| ciphertext = encrypted_key + "#" | |
| ciphertext += encrypted_message | |
| sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) | |
| sock.sendto(ciphertext + "\n",(HOST, PORT)) |
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
| import django | |
| import httplib2 | |
| import time,urlparse,urllib | |
| from django.conf import settings | |
| import oauth2 as oauth | |
| from django.test.client import Client |
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
| set pastetoggle=<f1> |
OlderNewer