Two awsome things were released yesterday :
- bittorrent sync aka btsync
- backupsy
Compare this to the pricing of : dropbox pro
| # -*- coding: utf-8 -*- | |
| # Check and change redirection status of a telefon number via the | |
| # website of my telephone network service provider TNG.de | |
| # Python Script for iOS Pythonista App (Vers. 1.4) | |
| from bs4 import BeautifulSoup | |
| import requests, console, re, sys, time, exceptions | |
| try: |
| import multiprocessing | |
| import pandas as pd | |
| import numpy as np | |
| def _apply_df(args): | |
| df, func, kwargs = args | |
| return df.apply(func, **kwargs) | |
| def apply_by_multiprocessing(df, func, **kwargs): | |
| workers = kwargs.pop('workers') |
| from numpy.random import rand | |
| import matplotlib.pyplot as plt | |
| import pandas as pd | |
| # 2 columns produces an array of 2 matplotlib.axes.AxesSubplot objects | |
| df2 = pd.DataFrame(rand(10,2), columns=['Col1', 'Col2'] ) | |
| df2['X'] = pd.Series(['A','B','A','B','A','B','A','B','A','B']) | |
| #1 column produces a single matplotlib.axes.AxesSubplot object | |
| df1 = pd.DataFrame(rand(10), columns=['Col1'] ) |
| """ | |
| (C) August 2013, Mathieu Blondel | |
| # License: BSD 3 clause | |
| This is a Numba-based reimplementation of the block coordinate descent solver | |
| (without line search) described in the paper: | |
| Block Coordinate Descent Algorithms for Large-scale Sparse Multiclass | |
| Classification. Mathieu Blondel, Kazuhiro Seki, and Kuniaki Uehara. | |
| Machine Learning, May 2013. |
| import re, hashlib, uuid, json, random, os, urllib2, os.path, time, sys, SimpleHTTPServer, SocketServer, string, console, webbrowser, shutil, zipfile | |
| class SmarterHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler): | |
| server_version = 'SimpleHTTP/0.6' | |
| file_name = '' | |
| def do_GET(self): | |
| if self.path.startswith('/transfer'): | |
| self.get_transfer() | |
| else: | |
| f = self.send_head() |
Two awsome things were released yesterday :
Compare this to the pricing of : dropbox pro
| """ | |
| Usage: python remove_output.py notebook.ipynb [ > without_output.ipynb ] | |
| Modified from remove_output by Minrk | |
| """ | |
| import sys | |
| import io | |
| import os | |
| from IPython.nbformat.current import read, write |
| GNU GENERAL PUBLIC LICENSE | |
| Version 3, 29 June 2007 | |
| Copyright (C) 2007 Free Software Foundation, Inc. {http://fsf.org/} | |
| Everyone is permitted to copy and distribute verbatim copies | |
| of this license document, but changing it is not allowed. | |
| Preamble | |
| The GNU General Public License is a free, copyleft license for |
| import os | |
| import sys | |
| import pickle | |
| import console | |
| # I moved 'dropboxlogin' into a sub folder so it doesn't clutter my main folder | |
| sys.path += [os.path.join(os.path.dirname(os.path.abspath(__file__)), 'lib')] | |
| import dropboxlogin # this code can be found here https://gist.github.com/4034526 | |
| STATE_FILE = '.dropbox_state' |