IT |
気になる、記になる… |
Twitter、「よくないね」ボタンのテストを拡大へ |
https://taisy0.com/2022/02/04/151655.html
|
twitter |
2022-02-04 13:23:47 |
AWS |
lambdaタグが付けられた新着投稿 - Qiita |
AWS Lambda 内容整理 |
https://qiita.com/haruki_uejima/items/089caa50e9bdab81a259
|
AWSLambda内容整理【AWSLambda内容整理】実務でLambda×Pythonでコードを書くことになりました。 |
2022-02-04 22:10:27 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
GCSトリガーによるBigQueryへのインポート |
https://qiita.com/KoheiEbara/items/2bb39fb601468b9badb6
|
GCSトリガーによるBigQueryへのインポートやりたいことCloudStorageにcsvファイルを配置したことをトリガーにBigqueryにデータインポートする取り込むファイルをファイル名で判定する方法GoogleCloudのCloudFunctionsのGCSトリガー言語python以下コードfrom googlecloud import bigqueryclient bigqueryClientdef maindata context gcsファイル情報の取得 bucketname databucket filename dataname uri gsformatbucketname filename 取得するcsvファイル名に含まれる文字列を指定 csvfile ファイル名 データ更新先のbq内データセット名・テーブル名を指定ファイル名が違う場合は処理終了 datasetid 取込先のBQのデータセット名 if csvfilein filename tableid テーブル名 else printend return datasetref clientdatasetdatasetid スキーマ定義列が取込先のBQのカラム jobconfig bigqueryLoadJobConfig schema bigquerySchemaField列 STRING bigquerySchemaField列 STRING bigquerySchemaField列 STRING jobconfigsourceformat bigquerySourceFormatCSV jobconfigskipleadingrows←ヘッダーとばす jobconfigwritedisposition WRITETRUNCATE←テーブルをrepalaceする BQへのロードJOB loadjob clientloadtablefromuri uri datasetreftabletableid jobconfigjobconfig loadjobresult printsuccess loadこんな感じでございました。 |
2022-02-04 22:56:33 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
Google Calendar APIのQuick StartをUTC(協定世界時)ではなくてJST(日本標準時)で使う |
https://qiita.com/devtoku/items/037a5cae7fad0f2c4149
|
どうしたらよかったかここだけ見たら解決します↓UTCではなくローカルタイムを取得するようにして、最後のZを日本標準時を表すものに置き換えればOKです。 |
2022-02-04 22:28:21 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
AWS Lambda 内容整理 |
https://qiita.com/haruki_uejima/items/089caa50e9bdab81a259
|
AWSLambda内容整理【AWSLambda内容整理】実務でLambda×Pythonでコードを書くことになりました。 |
2022-02-04 22:10:27 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
【JavaScript】モダンJavascript基礎まとめ |
https://qiita.com/P-man_Brown/items/924d77274b968ca5c912
|
テンプレート文字列を用いた方法の中のの中に変数を記述することができるconstmessage私の名前はnameです。 |
2022-02-04 22:44:22 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
【AWS】Django環境をDockerで構築してみた |
https://qiita.com/zeems/items/75ca9b232ada905aca76
|
directoryhomeecuserdockerdjango├ーdockercomposeyml├ーdjango│├ーDockerfileltGunicornコンテナのDockerfile│├ーsettingssecretpy│└ーmysiteltDjangoアプリケーション│├ーmanagepy│├ーrequirementspy│└ーmysite│└ーsettingspy└ーnginx├ーDockerfileltNginxコンテナのDockerfile└ーmysiteconf環境変数ファイル作成Gunicornコンテナで使用する環境変数を定義するファイルを作成します。 |
2022-02-04 23:00:16 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
AWS Lambda 内容整理 |
https://qiita.com/haruki_uejima/items/089caa50e9bdab81a259
|
AWSLambda内容整理【AWSLambda内容整理】実務でLambda×Pythonでコードを書くことになりました。 |
2022-02-04 22:10:27 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
【AWS】Django環境をDockerで構築してみた |
https://qiita.com/zeems/items/75ca9b232ada905aca76
|
directoryhomeecuserdockerdjango├ーdockercomposeyml├ーdjango│├ーDockerfileltGunicornコンテナのDockerfile│├ーsettingssecretpy│└ーmysiteltDjangoアプリケーション│├ーmanagepy│├ーrequirementspy│└ーmysite│└ーsettingspy└ーnginx├ーDockerfileltNginxコンテナのDockerfile└ーmysiteconf環境変数ファイル作成Gunicornコンテナで使用する環境変数を定義するファイルを作成します。 |
2022-02-04 23:00:16 |
golang |
Goタグが付けられた新着投稿 - Qiita |
Homebrewでバージョンを指定してGoをインストールする方法 |
https://qiita.com/CoGee/items/23d10cc00f93f101acd1
|
Homebrewでバージョンを指定してGoをインストールする方法Homebrewでバージョンを指定してGoをインストールする方法をご紹介します。 |
2022-02-04 22:42:11 |
golang |
Goタグが付けられた新着投稿 - Qiita |
# GoでSQLiteに接続してレコードを取得する |
https://qiita.com/endo-yuki/items/32a4eb147c5dafb724d1
|
GoでSQLiteに接続してレコードを取得する少し間が空きましたが、以前学習していたGoに再入門します。 |
2022-02-04 22:19:43 |
GCP |
gcpタグが付けられた新着投稿 - Qiita |
GCSトリガーによるBigQueryへのインポート |
https://qiita.com/KoheiEbara/items/2bb39fb601468b9badb6
|
GCSトリガーによるBigQueryへのインポートやりたいことCloudStorageにcsvファイルを配置したことをトリガーにBigqueryにデータインポートする取り込むファイルをファイル名で判定する方法GoogleCloudのCloudFunctionsのGCSトリガー言語python以下コードfrom googlecloud import bigqueryclient bigqueryClientdef maindata context gcsファイル情報の取得 bucketname databucket filename dataname uri gsformatbucketname filename 取得するcsvファイル名に含まれる文字列を指定 csvfile ファイル名 データ更新先のbq内データセット名・テーブル名を指定ファイル名が違う場合は処理終了 datasetid 取込先のBQのデータセット名 if csvfilein filename tableid テーブル名 else printend return datasetref clientdatasetdatasetid スキーマ定義列が取込先のBQのカラム jobconfig bigqueryLoadJobConfig schema bigquerySchemaField列 STRING bigquerySchemaField列 STRING bigquerySchemaField列 STRING jobconfigsourceformat bigquerySourceFormatCSV jobconfigskipleadingrows←ヘッダーとばす jobconfigwritedisposition WRITETRUNCATE←テーブルをrepalaceする BQへのロードJOB loadjob clientloadtablefromuri uri datasetreftabletableid jobconfigjobconfig loadjobresult printsuccess loadこんな感じでございました。 |
2022-02-04 22:56:33 |
Azure |
Azureタグが付けられた新着投稿 - Qiita |
Azure Functions ( TypeScript ) から Mongo DB on Azure Cosmos DB へ接続する方法 |
https://qiita.com/Futo_Horio/items/f3fc7c06108dd2eae475
|
ルートディレクトリに戻り、以下コマンドを実行するとローカル関数を起動することができます。 |
2022-02-04 22:52:25 |
Azure |
Azureタグが付けられた新着投稿 - Qiita |
【Azure】AZ-303/AZ-304合格体験記 |
https://qiita.com/fufufuryu/items/6bda6bd4efbe61d0b09e
|
AZで勉強した部分も範囲に入っているので、AZ合格後は忘れないうちにAZAZの勉強をしてみるのも良いと思います。 |
2022-02-04 22:06:37 |
技術ブログ |
Developers.IO |
デバッグやトラブルシューティングにうれしいアップデート!IoT CoreのログレベルがクライアントID、ソースIP、プリンシパルIDごとに個別設定可能になりました |
https://dev.classmethod.jp/articles/iotcore-support-per-device-logging-setting/
|
awsiot |
2022-02-04 13:21:17 |
技術ブログ |
Developers.IO |
レビュアーの心構え。コード以外のレビューの質と効率に関する6つの Tips |
https://dev.classmethod.jp/articles/review-tips-by-tb/
|
組織開発 |
2022-02-04 13:05:41 |
海外TECH |
MakeUseOf |
Everything You Need to Know About Your Mac’s Dock |
https://www.makeuseof.com/tag/everything-need-know-macs-dock/
|
dockthe |
2022-02-04 13:45:22 |
海外TECH |
DEV Community |
Wikipedia Python Tutorial |
https://dev.to/moumen404/wikipedia-36bc
|
Wikipedia Python Tutorial Created By Moumenimport wikipediaimport jsonimport time Created By Moumenprint f Welcome To Wikipedia lan input str Language test file open log txt w Created By Moumenwhile True question input Question wikipedia set lang lan question question replace What is Created By Moumen test file open log txt a test file write f n question test file close answer question replace What is search wikipedia page answer info search content Created By Moumen new file open f answer txt w new file write info print Created By Moumen |
2022-02-04 13:35:09 |
海外TECH |
DEV Community |
Git Cheatsheet for 2022 |
https://dev.to/mursalfk/git-cheatsheet-for-2022-11m6
|
Git Cheatsheet for Hello Awesome DevelopersI know it had been a long gap since my last article but I was prepping an even better thing for you all Here I present the Git Cheatsheet for A must have know guide for all developers programmers Basic Conceptsmain default development branchorigin default upstream repositoryHEAD current branchHEAD parent of EHADHEAD great great grandparent of HEAD and so on Setupgit config global user name Mursal Furqan git config global user email mursalfurqan gmail com Start a project git init lt directory gt Clone a Repo git clone lt url gt Make a ChangeAdd a file to staging git add lt file gt Stage all files git add Commit all staged files to git with a message git commit m Message goes here Commit all changes made to tracked files and commit git commit am Message Goes Here BranchesAdd r flag to show all remove branches Add a flag for all branches git branchCreate a new branch git branch lt branch name gt Switch to a new branch and update the working directory git checkout lt branch gt Create a new branch and switch to it git checkout b lt new branch gt Delete a merged branch git branch d lt branch gt Delete a branch whether merged or now git branch D lt branch gt Add a tag to current commit often used for new version releases git tag lt tag name gt MergingMerge branch a into branch b Add no ff option for no fast forward mergeMergegit checkout bgit merge aMerge and squash all commits into one new commit git merge squash a RebasingRebase feature branch onto main to incorporate new changes made to main Prevents unnecessary merge commits into feature keeping history clean git checkout featuregit rebase mainInteractively clean up a branch s commits before rebasing onto main git rebase i mainInteractively rebase the last commits on current branch git rebase i Head Undoing ThingsMove amp or rename a file amp stage move git mv lt existing path gt lt new path gt Remove a file from working directory amp staging area then stage the removal git rm lt file gt Remove from staging area only git rm cached lt file gt View a Previous Commit READ ONLY git checkout lt commit ID gt Create a new commit reverting the changes from a specified commit git revert lt commit ID gt Go back to a previous commit amp delete all commits ahead of it revert is safer Add hard flag to also delete workspace changes BE VERY CAREFUL git reset lt commit ID gt Review your RepositoryList new or modified files not yet committed git statusList commit history with respective IDs git log onlineShow changes to unstaged files add cached option git diffShow changes between two commit git diff commit ID commit ID StashingStore modified amp staged changes To include untracked files add u flag For untracked amp ignored files add a flag git stashAs above but add a comment git stash save comment Partial stash Stash just a single file a collection of files or individual changes from within files git stash pList all stashes git stash listRe Apply the stash without deleting it git stash applyRe Apply the stash at index then delete it from the stash list Omit stash n to pop the most recent stash git stash pop stash Show the difference summary of stash Pass the p flag to see the full difference git stash show stash Delete stash at index Omit stash n to delete last stash made git stash drop stash Delete all stashes git stash clear SynchronizingAdd a remote Repo git remote add lt alias gt lt url gt View all remote connections Add v flag to view URLs git remoteRename a Connection git remote rename lt old gt lt new gt Fetch all branches from remote repo no merge git fetch lt alias gt Fetch a specific branch git fetch lt alias gt lt branch gt Fetch a remote repo s copy of the current branch then merge git pullMove rebase your local changes onto the top of new changes made to the remote repo for clean linear history git pull rebase lt alias gt Upload local content to remote repo git push lt alias gt Upload to a branch can then pull request git push lt alias gt lt branch gt |
2022-02-04 13:18:35 |
海外TECH |
DEV Community |
Developing a platform where programmers can practice solving problems |
https://dev.to/zakariamaaraki/developing-a-platform-where-programmers-can-practice-solving-problems-4pfe
|
Developing a platform where programmers can practice solving problemsSource Code The idea of the platform is to let programmers to practice algorithms and data structures problems So the user can read the problem think about the solution and write the code then submit it The platform needs to run the code on some test cases then return the verdict to the user Accepted Wrong answer Runtime error Compilation error Time limit excceded or Memory limit excceeded Architecture Remote Code CompilerThere are two main components microservices the first one is the remote code compiler it s an online code compiler written using Java Spring Boot for Java C C and Python for competitive programming and coding interviews Supports Rest Calls Apache Kafka and Rabbit MQ Messages This service execute your code remotely using docker containers to separate the different environements of executions Example of an input input expectedOutput sourceCode public class Test npublic static void main String args nint i nwhile i lt nSystem out println i n language JAVA timeLimit memoryLimit Example of an ouput output expectedOutput status Accepted date Problem Solving PlatformThe second Microservice is written using C Net core and Razor as a template engine for the UI This component communicates with the Remote code compiler to run the user solution on test cases It uses MongoDB as its document database I chose MongoDB as a database because of it s scalability and because it s a CP system it provides Consistency and Partition Tolerence For dev envThe service provides a Swagger page How to run itFirst you ll need to build the docker image of the project cd RemoteCodeCompilerdocker build t compilerThen clone the Platform source code and run the following commanddocker compose up build Some screens Problems Submissions verdict |
2022-02-04 13:13:35 |
Apple |
AppleInsider - Frontpage News |
iMac Pro, AirPods Pro 2, and hands-on with Universal Control on the AppleInsider podcast |
https://appleinsider.com/articles/22/02/04/imac-pro-airpods-pro-2-and-hands-on-with-universal-control-on-the-appleinsider-podcast?utm_medium=rss
|
iMac Pro AirPods Pro and hands on with Universal Control on the AppleInsider podcastOn this week s episode of the AppleInsider podcast your hosts discuss Apple s new iMac Pro maybe not arriving until the summer AirPods Pro launching soon how to use Universal Control and we discuss Spotify s podcast fumble Display analyst Ross Young reports that Apple s iMac Pro refresh with mini LED display is likely coming this summer instead of Spring The high end inch iMac is one of the last Mac computers to make the transition to Apple Silicon alongside the Mac Pro AirPods Pro will be a major update over the first generation according to a recent report The new model may remove the stems and include features such as lossless audio on device Siri case tracking and health sensors Renders of the updated AirPods Pro can be seen on AppleInsider Read more |
2022-02-04 14:00:01 |
海外TECH |
Engadget |
Blizzard confirms 'Warcraft' is coming to mobile this year |
https://www.engadget.com/blizzard-warcraft-mobile-135033765.html?src=rss
|
Blizzard confirms x Warcraft x is coming to mobile this yearIn its press release for its fourth quarter financial results Activision Blizzard has revealed that it has plans to release Warcraft for mobile sometime this year Company CEO Bobby Kotick told investors a year ago that the developer made quot multiple mobile free to play Warcraft experiences quot that were already in advanced development back then Blizzard has yet to reveal more detailed information about the games and a more concrete timeline so it s unclear if its release plans include all those experiences or just few nbsp The only part of the company s earnings results that mentions the franchise on mobile reads quot Blizzard is planning substantial new content for the Warcraft franchise in including new experiences in World of Warcraft and Hearthstone and getting all new mobile Warcraft content into players hands for the first time quot There have been rumors about a Warcraft mobile game since at least In reports came out that Blizzard was working on a mobile entry for the franchise that will be similar to Pokémon Go which presumably means that it s an augmented reality title According to a Kotaku report it was being developed by an quot incubation quot team that was formed when co founder Allen Adham returned to the company The team was also behind mobile game Diablo Immortal nbsp that s coming out this year as well nbsp |
2022-02-04 13:50:33 |
海外TECH |
Engadget |
Engadget Podcast: Sony buys Bungie, Spotify’s Joe Rogan dilemma |
https://www.engadget.com/engadget-podcast-sony-bungie-spotify-joe-rogan-133014207.html?src=rss
|
Engadget Podcast Sony buys Bungie Spotify s Joe Rogan dilemmaThis week Cherlynn and Devindra chat with Senior Editor Jessica Conditt about Sony s surprising billion Bungie acquisition It s too soon for it to be a direct response to the Microsoft Activision deal but clearly Sony sees the need for new blood Also they dive into Spotify s weak response to protests around the Joe Rogan podcast Should Spotify be using a stronger editorial hand And yes they discuss the whole New York Times Wordle acquisition too Engadget ·Sony buys Bungie Spotify s Joe Rogan dilemmaListen above or subscribe on your podcast app of choice If you ve got suggestions or topics you d like covered on the show be sure to email us or drop a note in the comments And be sure to check out our other podcasts the Morning After and Engadget News Subscribe iTunesSpotifyPocket CastsStitcherGoogle PodcastsTopicsSony buys Bungie for billion More artists leave Spotify over Joe Rogan COVID misinformation New York Times buys Wordle Alphabet Google and Apple post huge earnings Working on Picks Video livestreamCreditsHosts Cherlynn Low and Devindra HardawarGuests Jessica CondittProducer Ben EllmanMusic Dale North and Terrence O BrienLivestream producers Julio Barrientos and Luke BrooksGraphic artists Luke Brooks Kyle Maack nbsp |
2022-02-04 13:30:14 |
Cisco |
Cisco Blog |
The White House Memo on Adopting a Zero Trust Architecture: Top Four Tips |
https://blogs.cisco.com/security/the-white-house-memo-on-adopting-a-zero-trust-architecture-top-four-tips
|
The White House Memo on Adopting a Zero Trust Architecture Top Four TipsLearn more about the new deadline and where federal agencies and businesses can build a resilient zero trust architecture strategy |
2022-02-04 13:00:56 |
金融 |
RSS FILE - 日本証券業協会 |
新型コロナウイルス感染症への証券関係機関等・各証券会社の対応について(リンク集) |
https://www.jsda.or.jp/shinchaku/coronavirus/link.html
|
新型コロナウイルス |
2022-02-04 14:40:00 |
金融 |
金融庁ホームページ |
ジャパンフィンテック株式会社に対する行政処分について公表しました。 |
https://www.fsa.go.jp/news/r3/shouken/20220204.html
|
株式会社 |
2022-02-04 15:00:00 |
ニュース |
@日本経済新聞 電子版 |
ガソリン補助金、上限到達 原油高で1リットルあたり5円
https://t.co/SWKmLAO0uW |
https://twitter.com/nikkei/statuses/1489588480220930048
|
補助金 |
2022-02-04 13:15:43 |
ニュース |
BBC News - Home |
No 10 denies Boris Johnson has lost control after raft of resignations |
https://www.bbc.co.uk/news/uk-politics-60261455?at_medium=RSS&at_campaign=KARANGA
|
downing |
2022-02-04 13:38:34 |
ニュース |
BBC News - Home |
Backlash after Bank boss says don't ask for big pay rise |
https://www.bbc.co.uk/news/business-60252340?at_medium=RSS&at_campaign=KARANGA
|
andrew |
2022-02-04 13:13:31 |
ニュース |
BBC News - Home |
Southend West by-election: Anna Firth wins seat for Tories |
https://www.bbc.co.uk/news/uk-england-essex-60254176?at_medium=RSS&at_campaign=KARANGA
|
amess |
2022-02-04 13:06:16 |
ニュース |
BBC News - Home |
Third day of effort to rescue boy stuck in well |
https://www.bbc.co.uk/news/world-africa-60244091?at_medium=RSS&at_campaign=KARANGA
|
tamorot |
2022-02-04 13:49:09 |
ニュース |
BBC News - Home |
Read the pundits' view and make your prediction about who will win the 2022 Six Nations |
https://www.bbc.co.uk/sport/rugby-union/60246917?at_medium=RSS&at_campaign=KARANGA
|
final |
2022-02-04 13:18:36 |
ニュース |
BBC News - Home |
Winter Olympics: Olympic rings are revealed in spectacular opening ceremony |
https://www.bbc.co.uk/sport/av/winter-olympics/60257716?at_medium=RSS&at_campaign=KARANGA
|
Winter Olympics Olympic rings are revealed in spectacular opening ceremonyWatch the spectacular moment the Olympic rings are revealed during the opening ceremony for the Winter Olympics in Beijing |
2022-02-04 13:07:17 |
LifeHuck |
ライフハッカー[日本版] |
1万円台で買えるSanDiskの1TBポータブルSSDがタフで高性能だった【今日のライフハックツール】 |
https://www.lifehacker.jp/article/2202_lht_sandisk_portable_ssd_1_tb/
|
sandisk |
2022-02-04 13:05:00 |
北海道 |
北海道新聞 |
対中国、北朝鮮で緊密連携 駐日米大使、広島訪問伝達 |
https://www.hokkaido-np.co.jp/article/642094/
|
岸田文雄 |
2022-02-04 22:13:00 |
北海道 |
北海道新聞 |
複合のフレンツェルがコロナ陽性 ドイツ代表、五輪2連覇中 |
https://www.hokkaido-np.co.jp/article/642093/
|
陽性 |
2022-02-04 22:11:00 |
北海道 |
北海道新聞 |
学校、子どもにコロナ対策重点 保育園児のマスクは修正 |
https://www.hokkaido-np.co.jp/article/642092/
|
新型コロナウイルス |
2022-02-04 22:07:00 |
北海道 |
北海道新聞 |
41都道府県で大規模接種 現役ら対象9割、加速狙う |
https://www.hokkaido-np.co.jp/article/642091/
|
新型コロナウイルス |
2022-02-04 22:01:00 |
コメント
コメントを投稿