TECH |
Techable(テッカブル) |
運動を習慣化するフィットネストラッカー「Fitbit Inspire 3」は健康管理の必須アイテム! |
https://techable.jp/archives/184843
|
fitbit |
2022-08-29 01:01:25 |
AWS |
AWS Japan Blog |
Amazon Rekognition で AI アプリを作ってみよう |
https://aws.amazon.com/jp/blogs/news/lets-create-your-first-ai-app/
|
amazonrekognition |
2022-08-29 01:58:47 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
GitHub と VSCode とターミナルアプリでフォルダ・ファイルの並び順を合わせる |
https://qiita.com/seijinrosen/items/be80d6eedfe09a08ac44
|
github |
2022-08-29 10:36:39 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
React + TypeScript: Apollo Clientで操作エラーを扱う |
https://qiita.com/FumioNonaka/items/de88ace337f70d55f059
|
handlingoperationerrors |
2022-08-29 10:14:46 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
JSでObjectを代入したり、forEachする方法 |
https://qiita.com/yutoun/items/7293e4b9da95e97c9911
|
object |
2022-08-29 10:09:03 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
model作成時に思い出したい 忘却録 |
https://qiita.com/Muragaruhae/items/9f2c3a21af32d7c00c3b
|
devise |
2022-08-29 10:27:56 |
Linux |
Ubuntuタグが付けられた新着投稿 - Qiita |
herokuの無料サービスが終了するので、代替手段としての自前サーバー構築方法 |
https://qiita.com/yuki_kimoto/items/74a6c6b3149a5d2142b8
|
heroku |
2022-08-29 10:05:44 |
Git |
Gitタグが付けられた新着投稿 - Qiita |
gitを用いた開発手順 |
https://qiita.com/kkk777/items/f7f1356cd65593f0eab1
|
gitad |
2022-08-29 10:51:45 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
renderとredirect_toによる画面遷移について |
https://qiita.com/6heouP1HUKGRAJe/items/52c40460d4b596e752d5
|
redirecttorender |
2022-08-29 10:56:04 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
カラム追加、削除コマンド |
https://qiita.com/aya0503/items/7a80a09e0aadf6b4e8f2
|
railsgmigra |
2022-08-29 10:12:07 |
技術ブログ |
Developers.IO |
デザイナーが集まってログイン画面について話し合ってみた |
https://dev.classmethod.jp/articles/loginui_meeting/
|
画面 |
2022-08-29 01:29:22 |
技術ブログ |
Developers.IO |
[GAS]SentinelOne APIを利用して社員PCのアプリケーション脆弱性を取得 |
https://dev.classmethod.jp/articles/get-sentinelone-application/
|
gassentineloneapi |
2022-08-29 01:21:04 |
技術ブログ |
Yahoo! JAPAN Tech Blog |
ヘアスタイルをシミュレーションする独自AIのアプリ導入 〜 Core MLとVision Framework活用事例 |
https://techblog.yahoo.co.jp/entry/2022082930334624/?cpt_n=BlogFeed&cpt_m=lnk&cpt_s=rss
|
coreml |
2022-08-29 11:00:00 |
海外TECH |
DEV Community |
Hosting a Python Discord Bot for Free with Fly.io |
https://dev.to/denvercoder1/hosting-a-python-discord-bot-for-free-with-flyio-3k19
|
Hosting a Python Discord Bot for Free with Fly io IntroAs Heroku is no longer going to be free after November I am sharing another way to host a Discord bot for free You will be able to host any kind of bot on Fly io with few limitations by following the steps below You can also optionally attach a PostgreSQL database for storing data This article was originally a video tutorial which you can check out here Part coming soon August Deploying a Python Discord Bot to Fly io Install the flyctl command line toolIf you have the Homebrew package manager installed flyctl can be installed by running brew install flyctlIf not you can run the install script curl L sh WindowsRun the Powershell install script iwr useb iex Arch LinuxRun the package installer yay S flyctl bin LinuxRun the install script curl L shMore info Create an account by running flyctl auth signup and finishing through the browserAfter installing flyctl you should now be able to use it in the command line Use flyctl auth signup to launch your browser and complete the account creation steps If you already have an account you can use flyctl auth login Add a Dockerfile with the Python version and dependency install method Method requirements txtCreate a list of your dependencies in a requirements txt You can find out what you have installed using pip freeze Discord py example discord py gt lt python dotenv Nextcord example nextcord gt lt python dotenv To tell Fly io to install these dependencies create a file called Dockerfile no file extension with the following contents FROM python WORKDIR botCOPY requirements txt bot RUN pip install r requirements txtCOPY botCMD python bot pyIn this case python bot py is the command used to run the bot If your bot starts in a different file you should change that here Method Using PoetryIf you are using Poetry for dependencies your Dockerfile will look more like this FROM python RUN pip install poetryWORKDIR botCOPY poetry lock pyproject toml bot RUN poetry config virtualenvs create false amp amp poetry install no interaction no ansiCOPY botCMD python bot py Poetry Dockerfile is based on this tutorial by Replicate com flyctl launchIn the project folder run flyctl launchGive your project a name type Y or N depending on if you want a Postgresql database or not type N to not have it deploy This will create a fly toml but you can delete most of it so that it looks similar to this app my bot name kill signal SIGINT kill timeout processes env flyctl deployType flyctl deploy to deploy the first version Once it is completed your bot will be running on Fly io Set the environment varsIf you will be deploying your bot without your env or configuration files you will need to set secrets for fly io to know about This will include all environment variables for example flyctl secrets set DISCORD TOKEN My TOken example LOG CHANNEL ID See setting secretsYou re done To deploy further versions you can run flyctl deploy or see below for automatic deploys from GitHub Continuous deployment from GitHubRun flyctl auth token to get a Fly API tokenGo to your repo s Settings gt Secrets gt Actions and click New repository secretEnter FLY API TOKEN as the name and your token from step as the valueCreate a folder github workflows and inside create a file that uses the flyctl action on push You may name it what you like for example fly yml Example fly yml name Fly Deployon push branches mainenv FLY API TOKEN secrets FLY API TOKEN jobs deploy name Deploy app runs on ubuntu latest steps uses actions checkout v uses superfly flyctl actions setup flyctl master run flyctl deploy remote onlyMake sure the branch name is correct for your default branch More info ConclusionThanks for reading I hope you found this tutorial useful Check out the full video for further explanations and be sure to like and subscribe A video on automatic deployment from GitHub is coming August so be sure to check back later if this interests you Jonah LawrenceGitHub DenverCoderYouTube Jonah Lawrence Dev Pro TipsDiscord server |
2022-08-29 01:11:00 |
医療系 |
内科開業医のお勉強日記 |
Long covidの再考察:ウィルス再活性化? |
https://kaigyoi.blogspot.com/2022/08/long-covid_29.html
|
マッチさせた対照群と比較して、特定の循環骨髄球およびリンパ球の集団に顕著な違いが認められ、また、SARSCoVに対する体液性反応の上昇がLongCOVIDの参加者の間で証明された。 |
2022-08-29 01:01:00 |
ニュース |
@日本経済新聞 電子版 |
インドで100メートルのツインビル爆破解体 違法建築で
https://t.co/JVwHavuGVy |
https://twitter.com/nikkei/statuses/1564061336623280128
|
爆破解体 |
2022-08-29 01:24:16 |
ニュース |
@日本経済新聞 電子版 |
風力発電「中止ドミノ」 関西電力に続きオリックスも
https://t.co/S1qQjUQ8RO |
https://twitter.com/nikkei/statuses/1564059452612915200
|
関西電力 |
2022-08-29 01:16:46 |
ニュース |
@日本経済新聞 電子版 |
勝つスーパーは「製造業」 スイーツや総菜、SPA進化
https://t.co/CnIS9x6ekT |
https://twitter.com/nikkei/statuses/1564056649341407232
|
製造業 |
2022-08-29 01:05:38 |
ニュース |
@日本経済新聞 電子版 |
兵庫・三木市、センサー内蔵靴で子どもの交通事故防止
https://t.co/ZZAZi8K55A |
https://twitter.com/nikkei/statuses/1564055828835213312
|
事故防止 |
2022-08-29 01:02:23 |
海外ニュース |
Japan Times latest articles |
Dried-out farms from China to Iowa will pressure food prices |
https://www.japantimes.co.jp/news/2022/08/29/business/dried-farms-food-prices/
|
Dried out farms from China to Iowa will pressure food pricesThe latest warning flare comes out of the American Midwest where some corn is so parched stalks are missing ears of grain and soybean pods |
2022-08-29 10:30:55 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
米経済、実は縮小していない? - WSJ発 |
https://diamond.jp/articles/-/308786
|
縮小 |
2022-08-29 10:26:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
【社説】パウエル議長の正直な「痛み」発言 - WSJ発 |
https://diamond.jp/articles/-/308787
|
議長 |
2022-08-29 10:15:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
「静かな退職」に賛否、批判の大合唱も - WSJ発 |
https://diamond.jp/articles/-/308788
|
静か |
2022-08-29 10:06:00 |
北海道 |
北海道新聞 |
池部前町長に有罪判決 南富良野汚職 |
https://www.hokkaido-np.co.jp/article/723168/
|
上川管内 |
2022-08-29 10:07:43 |
北海道 |
北海道新聞 |
Rソックス沢村、事実上の戦力外 2年目、今季は49試合に登板 |
https://www.hokkaido-np.co.jp/article/723171/
|
大リーグ |
2022-08-29 10:07:00 |
ビジネス |
東洋経済オンライン |
あなたの情報を抜き取る「監視資本主義」の衝撃 個人のデータを「原材料」にして膨張する経済 | 経済学 | 東洋経済オンライン |
https://toyokeizai.net/articles/-/613761?utm_source=rss&utm_medium=http&utm_campaign=link_back
|
個人情報 |
2022-08-29 10:50:00 |
マーケティング |
MarkeZine |
BEAMS、VRイベント「バーチャルマーケット」に出店 拠点を増設し約50名の社員がバーチャル接客 |
http://markezine.jp/article/detail/39828
|
beams |
2022-08-29 10:15:00 |
コメント
コメントを投稿