Notes from Advanced Python Workshop conducted on 24th - 26th May 2013 in Bangalore.
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 web | |
web.config.debug = False | |
urls = ( | |
"/", "hello", | |
) | |
app = web.application(urls, globals()) | |
class hello: |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
// | |
// My dotjs extension for amazon.com | |
// - Adds link to OL when an entry is available in OL | |
// | |
function find_isbn() { | |
// URL is of the form .../dp/$isbn/ref=.. | |
var parts = window.location.pathname.split("/"); | |
var patterns = [ | |
"^/[^/]*/dp/([0-9Xx]{10})(?:/.*)?$", |
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
# Option 1 - rebuild the cluster | |
# This will delete alle existing data | |
pg_dropcluster --stop 9.2 main | |
pg_createcluster --start -e UTF-8 9.2 main | |
# Option 2 - rebuild the template1 database | |
# All the database created after this will have UTF-8 encoding |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
The video will have noise and we need to listen to the video and pick the section which have only noise so that we can remove that from the video.
ffmpeg -i input.mp4 -ss 00:00:13.000 -t 00:00:02 noise.wav
The same noise file can be used for cleaning all the videos taken in the that room.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Notes from Advanced Python Workshop by Anand Chitipothu conducted on Nov 14-16, 2013 |