This file contains 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
'|****************************************************************** | |
'|*** StockFinder RealCode Indicator - Version 5.0 www.worden.com | |
'|*** Copy and paste this header and code into StockFinder ********* | |
'|*** Indicator:TD D-Wave | |
'|*** Example: plot = price.close - price.close(1) | |
'|****************************************************************** | |
Static Wave As Integer | |
Static MinA As Single |
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
This file contains 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
2015-02-14 11:33:06 | |
2015-02-14 11:29:04 | |
2015-02-14 11:25:04 | |
2015-02-14 09:46:53 | |
2015-02-14 09:40:55 | |
2015-02-14 09:31:07 | |
2015-02-14 09:09:58 | |
2015-02-14 08:51:48 | |
2015-02-14 08:48:22 | |
2015-02-14 08:46:36 |
This file contains 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 logging | |
from pylons import config, request, response, session, tmpl_context as c | |
from pylons.controllers.util import abort, redirect_to, url_for | |
from rpxclock.lib.base import BaseController, render | |
log = logging.getLogger(__name__) | |
import urllib2 |
This file contains 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
from sforce.enterprise import SforceEnterpriseClient | |
h = SforceEnterpriseClient('/home/user/.conf/enterprise.wsdl.xml') | |
h.login('user1@yourdomain.com', 'password', 'securitytoken') | |
lead = h.generateObject('Lead') | |
lead.FirstName = 'Masayoshi' | |
lead.LastName = 'Nakamura' | |
lead.Company = 'Masasushi, Inc.' | |
lead.Email = 'masayang@hogehogehoge.com' | |
result = h.create(lead) |
This file contains 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
Git練習用 | |
Git練習用 | |
Git練習用 | |
Git練習用 | |
Git練習用 | |
Git練習用 | |
Git練習用 | |
Git練習用 | |
Git練習用 | |
Git練習用 |
This file contains 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
sum = 0 | |
for i in range(1, 11): | |
sum = sum + i | |
print sum |
This file contains 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
$ source virtualenvwrapper.sh | |
$ lsvirtualenv | |
bootcamp1 | |
$ workon bootcamp1 | |
(bootcamp1)$ lssitepackages | |
dateutil pylab.pyc | |
easy-install.pth pytz | |
matplotlib scikit_learn-0.12-py2.7.egg-info | |
matplotlib-1.1.1-py2.7.egg-info scipy | |
mpl_toolkits scipy-0.11.0-py2.7.egg-info |
This file contains 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
class Stuffy(object): | |
def __init__(self, s = None): | |
self.buffer = s | |
def eek(self): | |
return self.buffer | |
if __name__ == '__main__': | |
s1 = Stuffy(10) | |
s2 = Stuffy(20) |
This file contains 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 sys | |
if __name__ == '__main__': | |
print sys.argv |
This file contains 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
Irisデータセットの取得 | |
Shellから | |
$ wget http://archive.ics.uci.edu/ml/machine-learning-databases/iris/iris.data | |
GUIから | |
ブラウザで http://archive.ics.uci.edu/ml/machine-learning-databases/iris/iris.data を開き、データをダウンロード |
OlderNewer