if an install using pip
is giving errors/exceptions then
$ sudo pip install PACKAGE_NAME --ignore-installed six
should work
<!--- | |
Sample.html file used with the AWS example located at: https://aws.amazon.com/developers/getting-started/browser/ | |
Working sample with facebook app integration. | |
---> | |
<!DOCTYPE html> | |
<html> | |
<head> |
if an install using pip
is giving errors/exceptions then
$ sudo pip install PACKAGE_NAME --ignore-installed six
should work
from flask import Flask, url_for | |
from flask import request, render_template, flash, redirect | |
from forms import BizForm, AddBiz | |
from flask.ext.sqlalchemy import SQLAlchemy | |
from flask.ext.security import Security, utils | |
from contextlib import closing | |
from datetime import date | |
import forms |
# | |
# code snippet from python docs: https://docs.python.org/2/library/email-examples.html | |
# | |
# Prerequisites | |
# - install MailCatcher <http://mailcatcher.me> | |
# - set me and you email addresses | |
# - create a mail-file.txt with some text content | |
# | |
# Import smtplib for the actual sending function |
# Go through all files with extension .rar. | |
# create a folder with DIR_FileName | |
# Unrar each rar file and keep them in the respective directory | |
# install unrar using "brew" on mac | |
# | |
for filename in *.rar; | |
do echo "put ${filename}"; | |
mkdir RAR_${filename} | |
unrar ${filename} RAR_${filename} | |
done |
<html> | |
<head> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js" type="text/javascript"></script> | |
<script src="http://www.skulpt.org/static/skulpt.min.js" type="text/javascript"></script> | |
<script src="http://www.skulpt.org/static/skulpt-stdlib.js" type="text/javascript"></script> | |
</head> | |
<body> |
I hereby claim:
To claim this, I am signing this object:
# remove columns from a file | |
#http://stackoverflow.com/questions/13446255/how-to-remove-the-first-two-columns-in-a-file-using-shell-awk-sed-whatever | |
cut -d " " -f 3- input_filename > output_filename |