The sed command p prints. For example, print lines 3 through 7 of a file: sed -n '3,7p' somefile

@theartofmadeline

Discoholic 🪩

No title available
Sweet Seals For You, Always

★
The Stonewall Inn
tumblr dot com
Stranger Things
TVSTRANGERTHINGS
Noah Kahan

Kiana Khansmith
Jules of Nature

No title available
hello vonnie
Xuebing Du

titsay
🩵 avery cochrane 🩵
occasionally subtle
Monterey Bay Aquarium

Love Begins
seen from Spain
seen from United States

seen from United States

seen from United States
seen from Malaysia
seen from United States
seen from United States
seen from United States
seen from United States
seen from United States

seen from Italy

seen from United States

seen from United States
seen from United States
seen from United States
seen from United States
seen from United States
seen from United States
seen from United States
seen from Malaysia
@pythonweb-blog
The sed command p prints. For example, print lines 3 through 7 of a file: sed -n '3,7p' somefile
Show how many times each line in a sorted file is repeated: uniq -c
if you have to refer to the documentation of a module, find a new module.
list files order by size.
list files order by size.
ls --sort=size -hl
Limit find's depth of search with the -maxdepth option.
python -x foo.py will ignore the first line of foo.py. Useful for running scripts on Windows that were written on Unix.
Count the number of matches of a regex in each file: grep -c
Reverse a 1-D array
import numpy as np a = np.arange(10) print a[::-1]
Python: How to get UTC time given TIMEZONE
from datetime import datetime
a=datetime.utcnow()+timedelta(hours=-4)
print time.strftime("%m%d%y%H%M",a.timetuple())
Another package to note is
pytz - World Timezone Definitions for Python¶
Backbone.js gives structure to web applications by providing models
Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions,views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface
More: http://backbonejs.org/
jTouch- Javascript gesture for Touch Screen
A linux command line cheat sheet
Suppress file name when searching over multiple files: grep -h
convert integer to and from string with radix:
int("60", 7)
python rational construction:
python rational construction:
from fractions import Fraction x = Fraction(22, 7)
Change the third 'apple' in each record to 'orange': sed 's/apple/orange/3' somefile