IT |
気になる、記になる… |
米Microsoft、1,500個以上の3D絵文字をオープンソース化 |
https://taisy0.com/2022/08/11/160056.html
|
fluent |
2022-08-11 02:51:51 |
IT |
気になる、記になる… |
【セール】Amazonも「AirPods Pro」の24%オフセールを開催中 |
https://taisy0.com/2022/08/11/160053.html
|
airpods |
2022-08-11 02:20:30 |
IT |
ITmedia 総合記事一覧 |
[ITmedia ビジネスオンライン] ファミマで「ミニカー」を発売 第1弾は「トヨタ」の4車種 |
https://www.itmedia.co.jp/business/articles/2208/11/news058.html
|
itmedia |
2022-08-11 11:46:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia ビジネスオンライン] 崎陽軒、初の「冷凍自販機」を設置 扱っている商品は? |
https://www.itmedia.co.jp/business/articles/2208/11/news055.html
|
itmedia |
2022-08-11 11:02:00 |
TECH |
Techable(テッカブル) |
植物の成長エネルギーで点灯する「ボタニカルライト」、デニーズ調布店を照らす |
https://techable.jp/archives/184069
|
株式会社 |
2022-08-11 02:00:45 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
FAST API |
https://qiita.com/futu1005/items/0fa329b5b31aad595a48
|
fastapi |
2022-08-11 11:43:19 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
【強化学習】MuZeroを解説・実装 |
https://qiita.com/pocokhc/items/190779b4ff2e51cbeceb
|
alpha |
2022-08-11 11:39:40 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
本番環境でBootstrapが反映されない時に解決した方法 |
https://qiita.com/kkarimata/items/796a4b3fe5710ed1a699
|
bootstrap |
2022-08-11 11:33:36 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
AWSでMFAの設定 |
https://qiita.com/MotoyaWakiyama/items/a467d9b9e2d57cd3d70c
|
選択 |
2022-08-11 11:36:05 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
本番環境でBootstrapが反映されない時に解決した方法 |
https://qiita.com/kkarimata/items/796a4b3fe5710ed1a699
|
bootstrap |
2022-08-11 11:33:36 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
モデルのカラムを日本語化するときに書く activerecord attributesについて(自分用) |
https://qiita.com/aono1234/items/0a3e3c717cbfdbbd540c
|
activerecordattributes |
2022-08-11 11:05:59 |
技術ブログ |
Developers.IO |
【書評】「ザ・ダーク パターン」そのデザイン顧客の信頼を失ってませんか? |
https://dev.classmethod.jp/articles/the-dark-pattern/
|
thedar |
2022-08-11 02:46:17 |
海外TECH |
DEV Community |
Run README.md in your terminal |
https://dev.to/sourishkrout/run-readmemd-in-your-terminal-19i
|
Run README md in your terminalDocumentation has always been a crucial part of onboarding onto a non trivial system For this reason developers of packaged software started including README files as part of their distribution documentation dating back to the mid s Today the readme is still around but has morphed into a markdown based README md file that lives in your repo s version control It has become part of modern development culture and you will find them everywhere Swordfish s Apple retro terminal viewing rdme s README md Lowering entry barriers for developersAt Stateful we want to lower development onboarding barriers and make prerequisites setup and workflows as approachable as possible Source code hosting platforms such as GitHub have already elevated the README md as a repo s primary entry point in their UX but they still diverge from code and documentation and we want to see more Run README commands straight from my terminal Primarily born out of the annoyance of never ending README copy amp paste our teammate Adam Babik decided to utilize a Markdown Abstract Syntax Tree parser to generate a naive digest of README snippets and make them easily runnable This is a prototype take the happy path but we are pleased with the initial results Illustrated here using Husky a popular solution to manage git hooks We skipped rdme run npm install for brevityRunning through husky s example with ease Let s run through itThe parsing is still far from perfect but with best effort pattern matching of the AST into a data structure of command snippet pairs we are often able to capture commands and their implied description The outputted list tries to maintain the order initially defined in the README md Feel free to copy amp paste the following step by step breakdown You really shouldn t have to though now that you have rdme Simply list all commands rdme list Prepare package json s scripts for git pre commit hook rdme run npm pkg Now install example pre commit husky hook rdme run npx husky Trigger the pre commit hook rdme run git commitUsing a simple rdme run lt name gt you can run command blocks check out the tab completion too without much fuzz as illustrated above making a sample commit to trigger the git pre commit hook For a simple CLI tool we have been pleasantly surprised at how natural the experience feels for interacting with tasks if you like the terminal You can find some additional examples inside of rdme s repo Maybe in the future we will employ automation to execute the README s commands continuously and detect outdated docs but for now let s catch those issues by running them regularly with rdme Go ahead and take rdme for a spinIf you are on MacOS and using homebrew it s as easy as installing rdme from our tap brew install stateful tap rdmeYou can use scoop to install a version of rdme on Windows However please note that currently only shell environments PowerShell is not supported yet are supported scoop bucket add stateful amp amp scoop install stateful rdmeFor all other platforms please check out the install section in rdme s README md Much more rdme could doUsing rdme internally has led to a lengthy list of possible improvements but we ve intentionally decided to keep it simple and release rdme s codebase as alpha Here s a list of possible improvements more robust parsing configurability and or ML AIannotating markdown to achieve deterministic snippetsintroducing interactivity and “color into CLI experienceembedding run controls amp output in README markdown viewerautomated ENV resolution injection of user runtime configC I testability as in “always know when you are breaking docs deterministic order of commands without building Makefile inside of READMEswhat else Check out rdme s GitHub issues to get a better sense of what projects are on the agenda Let us know how it goesIf rdme struck the same cord with you or if you have strong feelings in one way or another we would love to hear about it Using the tool you will likely uncover edge cases Please don t be shy to tell us about them on Discord or just drop a line in the comments below |
2022-08-11 02:21:04 |
海外TECH |
DEV Community |
CRUD with Google Calendar API & Python |
https://dev.to/nelsoncode/crud-with-google-calendar-api-python-3jbc
|
CRUD with Google Calendar API amp PythonInstall dependenciesrequirements txtgoogle api python client google auth httplib google auth oauthlibpip install r requirements txtget service pyfrom os import pathimport picklefrom google auth transport requests import Requestfrom google auth oauthlib flow import InstalledAppFlowfrom googleapiclient discovery import build IF YOU MODIFY THE SCOPE DELETE THE TOKEN TXT FILESCOPES THE TOKEN TXT FILE STORES THE USER S UPGRADE AND ACCESS TOKENS creds json gt Credentials in Oauthdef get crendetials google OPEN THE BROWSER TO AUTHORIZE flow InstalledAppFlow from client secrets file creds json SCOPES creds flow run local server port SAVE CREDENTIALS pickle dump creds open token txt wb return credsdef get calendar service creds None if path exists token txt creds pickle load open token txt rb IF IT EXPIRED WE REFRESH THE CREDENTIALS if not creds or not creds valid if creds and creds expired and creds refresh token creds refresh Request else creds get crendetials google service build calendar v credentials creds return service Template JSON summary Important event location virtual event Slack description this is a description start dateTime T timeZone America El Salvador end dateTime T timeZone America El Salvador attendees email email gmail com reminders useDefault false overrides method email minutes method popup minutes CRUD Google Calendarcalendar pyfrom functions get service import get calendar servicefrom responses response json import response jsonservice get calendar service def create event template dict try response service events insert calendarId primary body template execute return response except Exception as e return e messagedef get event eventId str try response service events get calendarId primary eventId eventId execute return response except Exception as e return e messagedef delete event eventId str try response service events delete calendarId primary eventId eventId execute return response except Exception as e return e messagedef update event eventId str template dict try response service events update calendarId primary eventId eventId body template execute return response except Exception as e return e message |
2022-08-11 02:02:00 |
金融 |
ニュース - 保険市場TIMES |
アフラック、新商品『「生きる」を創るがん保険 WINGS 』を8月22日発売 |
https://www.hokende.com/news/blog/entry/2022/08/11/120000
|
|
2022-08-11 12:00:00 |
海外ニュース |
Japan Times latest articles |
Japan’s new industry minister vows to boost use of nuclear power amid energy challenges |
https://www.japantimes.co.jp/news/2022/08/11/business/economy-business/yasutoshi-nishimura-nuclear-power/
|
Japan s new industry minister vows to boost use of nuclear power amid energy challenges In order to secure stable energy supply we will explore all necessary options including taking advantage of nuclear power after safety is assured Yasutoshi Nishimura |
2022-08-11 11:27:42 |
海外ニュース |
Japan Times latest articles |
Kishida’s Cabinet reshuffle indicates Bank of Japan easing will continue |
https://www.japantimes.co.jp/news/2022/08/11/business/economy-business/boj-easing-cabinet-reshuffle/
|
Kishida s Cabinet reshuffle indicates Bank of Japan easing will continueAs a result of the reshuffle economists expect the BOJ to keep rock bottom interest rates to support the economy while a resurgence of the coronavirus |
2022-08-11 11:09:48 |
ニュース |
BBC News - Home |
North Korea leader Kim Jong-un 'suffered fever' during Covid outbreak, says sister |
https://www.bbc.co.uk/news/world-asia-62501152?at_medium=RSS&at_campaign=KARANGA
|
country |
2022-08-11 02:23:15 |
北海道 |
北海道新聞 |
盗難被害の公園の蛇口復旧 帯広管工事業組合が無償設置 |
https://www.hokkaido-np.co.jp/article/716569/
|
帯広市内 |
2022-08-11 11:32:18 |
北海道 |
北海道新聞 |
首相、大谷選手に祝意 「新たな歴史切り開いた」 |
https://www.hokkaido-np.co.jp/article/716726/
|
大リーグ |
2022-08-11 11:29:00 |
北海道 |
北海道新聞 |
バイデン氏、夏休み入り 南部のゴルフリゾート |
https://www.hokkaido-np.co.jp/article/716725/
|
米大統領 |
2022-08-11 11:21:00 |
北海道 |
北海道新聞 |
元米高官の暗殺計画容疑で男訴追 イラン革命防衛隊員、身柄不拘束 |
https://www.hokkaido-np.co.jp/article/716724/
|
高官 |
2022-08-11 11:18:00 |
北海道 |
北海道新聞 |
お盆の帰省、混雑ピークに 3年ぶり行動制限なく |
https://www.hokkaido-np.co.jp/article/716718/
|
帰省ラッシュ |
2022-08-11 11:04:00 |
ビジネス |
東洋経済オンライン |
日航機墜落現場を写した私が伝え続けたい記憶 37年前の御巣鷹山を取材したカメラマンの写真 | 災害・事件・裁判 | 東洋経済オンライン |
https://toyokeizai.net/articles/-/610696?utm_source=rss&utm_medium=http&utm_campaign=link_back
|
御巣鷹山 |
2022-08-11 11:32:00 |
ビジネス |
東洋経済オンライン |
DJ KOOさん、60歳過ぎてからも人生を楽しむ極意 YouTubeからTikTokLIVE、盆踊りのDJまで | ワークスタイル | 東洋経済オンライン |
https://toyokeizai.net/articles/-/610235?utm_source=rss&utm_medium=http&utm_campaign=link_back
|
djkoo |
2022-08-11 11:01:00 |
マーケティング |
MarkeZine |
顧客体験を超える体験とは?ブランドと顧客につながりを作る仕組みを解説【参加無料】 |
http://markezine.jp/article/detail/39676
|
参加無料 |
2022-08-11 11:30:00 |
コメント
コメントを投稿