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
((nil | |
(require-final-newline . t) | |
(indent-tabs-mode) | |
(eval . (add-hook 'before-save-hook 'delete-trailing-whitespace nil t)) | |
)) | |
;; (setq vue-html-tab-width 2) | |
;; (setq vue-html-tab-width 2) | |
;; (setq js-indent-level 2) | |
;; (setq css-indent-offset 2) |
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 -*- | |
import requests | |
recog_data = { | |
"visual_recognition": [ | |
{ | |
"name": "Visual Recognition-1o", | |
"label": "visual_recognition", | |
"plan": "free", | |
"credentials": { | |
"url": "https://gateway.watsonplatform.net/visual-recognition-beta/api", |
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 -*- | |
import os | |
import sys | |
import json | |
import argparse | |
import itertools | |
import requests | |
from pit import Pit |
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 -*- | |
import os | |
import sys | |
import json | |
import argparse | |
import itertools | |
import requests | |
from pit import Pit |
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
#! /usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import os | |
import sys | |
import argparse | |
import numpy as np | |
import matplotlib as plt | |
from PIL import ( | |
Image, |
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
*.elc |
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
#! /usr/bin/env python | |
# -*- coding: utf-8 -*- | |
"""大谷のデータ取得 | |
""" | |
import sys | |
import argparse | |
import requests | |
def main(argv=sys.argv[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
#! /usr/bin/env python | |
# -*- coding: utf-8 -*- | |
"""4/25 西武/ソフトバンク | |
""" | |
import sys | |
import argparse | |
import requests | |
def main(argv=sys.argv[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
#! /usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import json | |
import requests | |
url = 'INCOMING WEB HOOK URL' | |
data = { | |
'channel': '#channel', | |
'icon_emoji': ':baby_chick:', | |
'username': u'username', |
OlderNewer