Using Python's built-in defaultdict we can easily define a tree data structure:
def tree(): return defaultdict(tree)
That's it!
Using Python's built-in defaultdict we can easily define a tree data structure:
def tree(): return defaultdict(tree)
That's it!
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |
When the directory structure of your Node.js application (not library!) has some depth, you end up with a lot of annoying relative paths in your require calls like:
const Article = require('../../../../app/models/article');
Those suck for maintenance and they're ugly.
import asyncio | |
import aiohttp | |
import bs4 | |
import tqdm | |
@asyncio.coroutine | |
def get(*args, **kwargs): | |
response = yield from aiohttp.request('GET', *args, **kwargs) | |
return (yield from response.read_and_close(decode=True)) |
This is a short article on how we integrate stash and slack in openmind
First of all i assume you have:
@echo off | |
if "%1" == "" goto x86 | |
if not "%2" == "" goto usage | |
if /i %1 == x86 goto x86 | |
if /i %1 == amd64 goto amd64 | |
if /i %1 == x64 goto amd64 | |
if /i %1 == ia64 goto ia64 | |
if /i %1 == x86_amd64 goto x86_amd64 | |
if /i %1 == x86_ia64 goto x86_ia64 |
Free O'Reilly books and convenient script to just download them.
Thanks /u/FallenAege/ and /u/ShPavel/ from this Reddit post
How to use:
download.sh
file and put it into a directory where you want the files to be saved.cd
into the directory and make sure that it has executable permissions (chmod +x download.sh
should do it)./download.sh
and wee there it goes. Also if you do not want all the files, just simply comment the ones you do not want.EDINET CODE | 証券コード | 会社名 | 33業種区分 | 17業種区分 | 規模区分 | |
---|---|---|---|---|---|---|
E01631 | 64800 | 日本トムソン株式会社 | 機械 | 機械 | 6 | |
E04768 | 85840 | 株式会社ジャックス | その他金融業 | 金融(除く銀行) | 6 | |
E25551 | 28820 | イートアンド株式会社 | 食料品 | 食品 | 7 | |
E00645 | 38650 | 北越紀州製紙株式会社 | パルプ・紙 | 素材・化学 | 6 | |
E01092 | 51950 | バンドー化学株式会社 | ゴム製品 | 自動車・輸送機 | 7 | |
E00815 | 41820 | 三菱瓦斯化学株式会社 | 化学 | 素材・化学 | 4 | |
E00871 | 42420 | 株式会社タカギセイコー | 化学 | 素材・化学 | ||
E02986 | 33740 | 内外テック株式会社 | 卸売業 | 商社・卸売 | ||
E30863 | JA三井リース株式会社 |