Skip to content

Instantly share code, notes, and snippets.

View mircealungu's full-sized avatar

Mircea Filip Lungu mircealungu

View GitHub Profile
6,7d5
< roots = sys.path[:]
<
29,31d26
< if os.path.isdir(fileName):
< fileName = fileName.rstrip('/\\') + os.path.sep
<
33c28
< # because of django took advantage of module name
---
import threading
from goose import Goose
import time
urls = [
'http://www.derbund.ch/schweiz/standard/davon-profitieren-die-schlimmsten-gauner/story/25657350',
'http://www.derbund.ch/kultur/kino/der-soll-mein-land-verlassen/story/29603044',
'http://www.derbund.ch/kultur/kino/sie-will-fuehlen-nicht-verharren/story/29651519',
'http://www.derbund.ch/kultur/kino/Ihre-Koepfe-sind-ausgehoehlt/story/24473164',
'http://www.derbund.ch/kultur/kino/Ein-Schuss-der-alles-veraendert/story/16568277',
@mircealungu
mircealungu / personal.st
Created May 15, 2014 12:53
Pharo startup settings
StartupLoader default executeAtomicItems: {
StartupAction
name: 'Accounts'
code: [
Author fullName: 'MirceaLungu'.
MCRepository class compile: 'settings ^Settings ifNil: [ Settings := Dictionary new.]'.
MCRepository settings
at: 'account1'
put: '*smalltalkhub.com* MirceaLungu:password' ]
runOnce: true