$ django-admin.py startproject steelrumors
$ git init
$ git add .
$ git commit -m 'Initial Commit'
$ chmod +x manage.py
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
#-*- coding: utf-8 -*- | |
from math import * | |
import sys | |
def sigmoid(x): | |
return (1 / (1+exp(-x))) | |
def main(): | |
argvs = 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
#include <algorithm> | |
#include <string> | |
#include <iostream> | |
using namespace std; | |
int main() | |
{ | |
string s1("UNIQLO"); | |
string s2("apple"); |
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
#include <iostream> | |
#include <string> | |
#include <windows.h> | |
int main() | |
{ | |
WIN32_FIND_DATA FindDirData; | |
std::string targets = "C:\\*"; | |
HANDLE hFind = FindFirstFile(targets.c_str(), &FindDirData); |
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
J(¥Theta) = | |
- ¥frac{1}{m} | |
¥left[ | |
¥sum_{i=1}^{m} | |
¥sum_{k=1}^{K} | |
y_{k}^{(i)} ¥rm{log} ¥, (h_¥Theta (x^{(i)}))_{k} + | |
(1-y_{k}^{(i)}) ¥rm{log} ¥, (1-(h_¥Theta (x^{(i)}))_{k}) | |
¥right] + | |
¥frac{¥lambda}{2m} | |
¥sum_{l=1}^{L-1} |
海外旅行に行く時に使ったサービスでクレジットカード情報流出というニュースを聞く。
該当者メールがGmailに届いていることを確認する。
不正アクセスによるお客様情報流出に関するお知らせとお詫び
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 os | |
# Given | |
class Banner(object): | |
def __init__(self, text): | |
self.text = text | |
def show_with_paren(self): | |
print '(%s)' % self.text |
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 os | |
# Given | |
class Banner(object): | |
def __init__(self, text): | |
self.text = text | |
def show_with_paren(self): | |
print '(%s)' % self.text |
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
#include <iostream> | |
using namespace std; | |
int fact(int k) | |
{ | |
if( k == 0 ) return 1; | |
return k * fact(k-1); | |
} |
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
\newcommand{\argmax}{\mathop{\rm arg¥,max}\limits} | |
¥hat{¥theta} = ¥argmax L(¥theta) |