- 法人化のメリット:
- 法人税は、利益が多くなるほど得
- 役員報酬にを抑えれば、社保がかなり安くなる
- 所得保障にも法人は有効 → ?
- 法人化のデメリット:
- 自分でやったら24万 → 司法書士なら28万 (ざっくり30万)
- ランニング: 確定申告が個人ではできない (ざっくり月2万、決算時に10万)
- 赤字でも税金(均等割)
- 税務調査が多くなる
This file contains hidden or 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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>EnvironmentVariables</key> | |
| <dict> | |
| <key>XAPIAN_CJK_NGRAM</key> | |
| <string>1</string> | |
| <key>TERMINAL_NOTIFIER</key> | |
| <string>/Users/tai2/Applications/terminal-notifier.app/Contents/MacOS/terminal-notifier</string> |
This file contains hidden or 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
| <html> | |
| <head> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| </head> | |
| <body> | |
| <h1>SPEED TEST</h2> | |
| <div id="results"> | |
| </div> | |
| </body> | |
| <script> |
This file contains hidden or 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 <stdio.h> | |
| #include "a.h" | |
| int main() { | |
| printf("%d\n", a); | |
| } |
This file contains hidden or 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 <stdio.h> | |
| int a = 1; | |
| int main() { | |
| printf("%d\n", a); | |
| } |
This file contains hidden or 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
| const a = [1,2,3,4,5] | |
| const b = a.reduce((acc, v, i, a) => { | |
| const [left, right] = acc | |
| if (i % 2 == 0) { | |
| left.push(v) | |
| if (i === a.length - 1) { | |
| right.push(null) | |
| } | |
| } else { | |
| right.push(v) |
This file contains hidden or 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
| # This script requires pypng. | |
| # You may need such command like `pip install pypng`. | |
| import png | |
| WIDTH = 512 | |
| HEIGHT = 512 | |
| LINE_WIDTH = 10 | |
| with open('stripe.png', 'wb') as f: | |
| data = [[255] * WIDTH * 3] * HEIGHT |
bundle update webpacker
yarn upgrade @rails/webpacker --latest- Gemfile更新(Rails更新&bootsnap追加)
bundle update railsbin/rails app:update
https://whimsical.co/SJK9Qzo733f6jkw1Tfk4dT
- サーバーインスタンス(dyno)、ワーカーインスタンス(dyno)はそれぞれ1つずつ
- Sidekiqジョブは毎回DB接続を要求する
