python |
Pythonタグが付けられた新着投稿 - Qiita |
python-pptxでパワポ作成自動化1 |
https://qiita.com/kirin123kirin/items/4506e5623fd52f147db1
|
frompptximpo |
2022-07-31 22:52:30 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
GANの訓練ループでよく見るdetachは何をしている? |
https://qiita.com/bear_montblanc/items/8e3abef61a4cd482870c
|
optimizerdtorchopt |
2022-07-31 22:20:27 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
【プログラミング不要】オススメのノーコードAI開発ツール ベスト3を紹介【最新版】 |
https://qiita.com/umapyoi/items/59a006cd8dbbdb8de7e4
|
開発 |
2022-07-31 22:12:54 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
SlackのBot通知を任意の条件の日で実装させてみる Part.1 JavaScriptでの通知日時設定の実装 |
https://qiita.com/icchy_sh33p/items/068d450735029d95adc4
|
partjavascript |
2022-07-31 22:45:21 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
JavaScript_よく使われるイベント(onclick,onchange,onmouseover,onmouseout,onkeydown,onload) |
https://qiita.com/ouka_/items/a459dfdbee0088726823
|
javascript |
2022-07-31 22:25:32 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
簡単にサブスクリプションできるheadless CMSのホームページを作った話 supabase・stripe 技術選定編 3 |
https://qiita.com/edegp/items/5732dce702460a28aa03
|
headlesscms |
2022-07-31 22:13:48 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
【プログラミング不要】オススメのノーコードAI開発ツール ベスト3を紹介【最新版】 |
https://qiita.com/umapyoi/items/59a006cd8dbbdb8de7e4
|
開発 |
2022-07-31 22:12:54 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
簡単にサブスクリプションできるheadless CMSのホームページを作った話 supabase・stripe 技術選定編 3 |
https://qiita.com/edegp/items/5732dce702460a28aa03
|
headlesscms |
2022-07-31 22:13:48 |
golang |
Goタグが付けられた新着投稿 - Qiita |
[Go] `context.Context` が `ctx` という名前で、関数の第一引数に渡されているかを調べる静的解析ツールを作った |
https://qiita.com/kanata333/items/5571c7bbd3c6817b4c29
|
ontextsinsideastructtypei |
2022-07-31 22:26:24 |
Azure |
Azureタグが付けられた新着投稿 - Qiita |
新しくなったMicrosoft Cost Details APIを試してみた |
https://qiita.com/Yosuke_Sakaue/items/404a6868dec06e0cc582
|
micro |
2022-07-31 22:50:26 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
rails モデルとは何か 初心者向け |
https://qiita.com/kuramoto30/items/bb7594ef5c6fc660f878
|
model |
2022-07-31 22:54:21 |
技術ブログ |
Developers.IO |
Zendeskの「エンドユーザーへのダッシュボードの配信」を試してみる |
https://dev.classmethod.jp/articles/zendesk-scheduling-dashboards-with-end-users/
|
zendesk |
2022-07-31 13:48:55 |
技術ブログ |
Developers.IO |
Puppeteerでクライアント証明書とパスフレーズが必要なサイトにアクセスする |
https://dev.classmethod.jp/articles/puppeteer-access-to-sites-client-certificates/
|
syntheticmonit |
2022-07-31 13:45:08 |
技術ブログ |
Developers.IO |
AWS Budgets : クラウドにかかる費用を気にする必要はありません |
https://dev.classmethod.jp/articles/aws-budgets-stop-worrying-about-expenses-of-cloud-japanese/
|
awsbudgetaws |
2022-07-31 13:36:02 |
技術ブログ |
Developers.IO |
Lambdaでpython-oracledbをThickモードで利用する |
https://dev.classmethod.jp/articles/python-oracledb-enable-thick-mode/
|
lambda |
2022-07-31 13:30:37 |
技術ブログ |
Developers.IO |
Privateサブネットに構築した踏み台経由でDBクライアントツールからRDSに接続してみた(SSMリモートポートフォーワーディング編) |
https://dev.classmethod.jp/articles/db-client-through-ssm-remote-port-forwarding/
|
private |
2022-07-31 13:07:54 |
海外TECH |
MakeUseOf |
The Top 5 Projects to Upcycle Your Old Kindle |
https://www.makeuseof.com/upcycle-your-kindle/
|
awesome |
2022-07-31 13:45:14 |
海外TECH |
MakeUseOf |
How to Play GameCube Games on Your Wii U With Nintendont |
https://www.makeuseof.com/tag/play-gamecube-games-wii-u-nintendont/
|
gamecube |
2022-07-31 13:30:14 |
海外TECH |
MakeUseOf |
The 7 Best Cryptos to Buy and Hold For Later |
https://www.makeuseof.com/the-best-cryptos-to-buy-and-hold/
|
crypto |
2022-07-31 13:30:13 |
海外TECH |
DEV Community |
Basic terms and JavaScript syntax |
https://dev.to/hannaha88/basic-terms-and-javascript-syntax-1m0j
|
Basic terms and JavaScript syntax Request a user s name and display the response “Hello name let name prompt enter name alert hello name alert hello name Request a user s year of birth count his age and display the result Store the current year as a constantlet ageInput prompt enter birth year const YEAR alert YEAR parseFloat ageInput Request a length of a side of a square from a user and display the perimeter of the squarelet squereSide prompt enter squere side length alert squereSide Request a radius of a circle and display the area of such a circleconst PI let radius prompt circle radius alert PI radius Request a distance in km between the two cities from a user and the time they want to cover it within Count the speed needed to be on timelet distanceCovered prompt distance km let timeBetween prompt time hrs alert distanceCovered timeBetween Create a currency converter A user types in USD and the program converts them to EUR The exchange rate should be stored as a constantconst RATE let USD prompt USD exchange into EUR alert USD The user types in a sum of bank deposits for months with a yearly interest rate of The program counts the sum of interestconst RATE let sum prompt input sum of your bank deposits alert sum RATE |
2022-07-31 13:17:00 |
海外TECH |
DEV Community |
Speed up your Website by Converting your Images to WebP from Terminal |
https://dev.to/smpnjn/speed-up-your-website-by-converting-your-images-to-webp-from-terminal-4el2
|
Speed up your Website by Converting your Images to WebP from TerminalThe webp format is a broadly supported compressed image format that is becoming more and more common across the web Storing your images as webp can reduce the size of your web pages while still maintaining the image quality you need The image size savings can be quite significant meaning your pages will load a lot faster If you want to convert an image to webp you can do it in many apps like Photoshop but a faster way is to do it right from terminal Let s look at how it works Support for webp files webp is broadly supported by all browsers except Internet Explorer You can see the full support below Installing WebP and cwebpTo start converting files to webp the first thing we need to do is install a tool called cwebp which is part of the webp package provided by Google This is easy if you have homebrew installed where it can be installed from terminal like this brew install webpIf you don t you can find more instructions on installing this package via Google After installing we can run the command cwebp from terminal to get the following output cwebpUsage cwebp options q quality input png o output webpSo now if we want to change a png file to webp with a quality of we can run the following command cwebp q image png o image webpThis will convert image png to a file called image webp with quality Changing this quality number will change the size outputted with a lower quality making smaller files but balancing it so the image still looks OK is also important The original image will still be kept so we ll have two versions of our file Since some older browsers like Internet Explorer do not support webp having both versions is actually useful In HTML we can use our webp file with a fallback to the original png file using the lt picture gt tag lt picture gt lt source srcset image webp type image webp gt lt img src image png alt Image for Article gt lt picture gt That means for users on more modern browsers they ll get the added benefit of faster load times while those on older browsers will still see the image if their browser doesn t support webp Converting all your images to webp webp is so fast it makes sense to make webp copies of all your images so you have them available should you want to use them Since cwebp maintains the original file too there s no risk you might lose original copies of images Since most servers have a lot of images though this can be very time consuming Fortunately we can use cwebp to convert all of our png jpg and jpeg files to webp using a for loop The below code will find all images within the directory you run it in and create webp versions for each Since it works recursively it will convert any image found on your server That means it can sometimes be time consuming to run depending on how many images you have You can learn more about the find command here echo Converting all png jpg and jpeg files to webp for f in find name png or name jpg or name jpeg do if f f webp then cwebp q f o f webp fidone |
2022-07-31 13:14:00 |
海外TECH |
DEV Community |
How to use Teleport in Vue to Move Parts of Templates |
https://dev.to/smpnjn/how-to-use-teleport-in-vue-to-move-parts-of-templates-i6d
|
How to use Teleport in Vue to Move Parts of TemplatesNormally when we create components in Vue they naturally appear within the DOM structure where we d expect them to be However sometimes this doesn t make sense A good example of this is a modal normally a modal should appear on top of everything on the page so if we create it within a component where it logically makes sense it may appear behind certain HTML elements or require some weird CSS styling to get it to the top Fortunately there is an easy way to solve for this problem in Vue called lt Teleport gt The lt Teleport gt tag lets us define something within a component and then teleport it anywhere we want in the code Let s look at how it works How Teleport works in VueSuppose we have a simple component in Vue called Modal vue which contains a modal It looks a little like this lt script gt export default data return display false lt script gt lt template gt lt button id show modal click display true display false display true gt Show Modal lt button gt lt div class modal v if display gt My Modal lt div gt lt template gt In our structure this modal sits quite deep in our application structure Since Modal vue is so deep in our structure it may not appear on top of the rest of our content as we want As such we d ideally want it to be a direct child of the body tag Using lt Teleport gt We can adjust our component to teleport it to be a direct child of the body tag like so lt script gt export default data return display false lt script gt lt template gt lt button id show modal click display true display false display true gt Show Modal lt button gt lt Teleport to body gt lt div class modal v if display gt My Modal lt div gt lt Teleport gt lt template gt The to attribute of Teleport is expected to be a valid CSS selector Now our modal div will be teleported to be a direct child of the body so it will always appear on top rather than being deeply nested within our Vue structure Disabling a Teleport tagWe can disable a Teleport tag based on certain logic using the disabled attribute For example we could check for the value of myToggle being set to true by using the following code lt Teleport disabled myToggle gt lt Teleport gt Above if myToggle is set to true the Teleport simply won t work meaning we can only enable it when we want to As such Teleport is a very useful tag in Vue for adjusting where and when we see certain content It s also OK to use multiple Teleport tags within the same Vue template |
2022-07-31 13:08:26 |
海外TECH |
DEV Community |
Loops and conditions |
https://dev.to/hannaha88/loops-and-conditions-2i79
|
Loops and conditions Request two numbers and find only their largest common divisorlet numberOne prompt input the first number let numberTwo prompt input the second number let smaller let bigger let LCD if numberOne gt numberTwo smaller numberTwo bigger numberOne else smaller numberOne bigger numberTwo for let i i lt smaller i if smaller i amp amp bigger i LCD i console log LCD LCD |
2022-07-31 13:07:00 |
Apple |
AppleInsider - Frontpage News |
Daily deals July 31: $120 Apple TV 4K, $159 Bose Home Speaker 300, $125 Cuisinart Smoker, more |
https://appleinsider.com/articles/22/07/31/daily-deals-july-31-120-apple-tv-4k-159-bose-home-speaker-300-125-cuisinart-smoker-more?utm_medium=rss
|
Daily deals July Apple TV K Bose Home Speaker Cuisinart Smoker moreSunday s best deals include the Meta Portal TV for off the Klipsch Cinema Sound Bar and inch Wireless Subwoofer for and much more Best deals for July On a daily basis AppleInsider checks online stores to uncover discounts on products including Apple hardware mobile devices hardware upgrades smart TVs and accessories The best offers are compiled into our daily deals post for you to enjoy Read more |
2022-07-31 13:12:35 |
Linux |
OMG! Ubuntu! |
Linux Mint 21 Released, This is What’s New |
https://www.omgubuntu.co.uk/2022/07/linux-mint-21-download-and-new-features
|
Linux Mint Released This is What s NewThe stable release of Linux Mint Vanessa is now available to download This is the latest version of the Ubuntu based distro and it carries a sizeable set of changes compared to the Linux Mint release we saw at the start of the year In this post I show you what s new in Linux Mint where to download download it and recap how to upgrade to Linux Mint from an earlier version should you be running one As ever Linux Mint is available in three distinct distillations the flagship Cinnamon edition which uses the Cinnamon desktop environment by This post Linux Mint Released This is What s New is from OMG Ubuntu Do not reproduce elsewhere without permission |
2022-07-31 13:44:16 |
ニュース |
BBC News - Home |
Commonwealth Games: England cyclist Matt Walls and spectators injured in horrifying crash |
https://www.bbc.co.uk/sport/commonwealth-games/62369932?at_medium=RSS&at_campaign=KARANGA
|
Commonwealth Games England cyclist Matt Walls and spectators injured in horrifying crashEngland cyclist Matt Walls is taken to hospital after a terrifying crash in which both he and his bike flew into the crowd |
2022-07-31 13:23:21 |
ニュース |
BBC News - Home |
Ukraine grain tycoon killed in Russian shelling of Mykolaiv |
https://www.bbc.co.uk/news/world-europe-62367356?at_medium=RSS&at_campaign=KARANGA
|
mykolaiv |
2022-07-31 13:47:42 |
ニュース |
BBC News - Home |
Prince Charles accepted £1m from Osama Bin Laden's family - report |
https://www.bbc.co.uk/news/uk-62366487?at_medium=RSS&at_campaign=KARANGA
|
charitable |
2022-07-31 13:18:51 |
ニュース |
BBC News - Home |
Rishi Sunak pledges NHS no-show fines as Liz Truss vows school reform |
https://www.bbc.co.uk/news/uk-politics-62366197?at_medium=RSS&at_campaign=KARANGA
|
fines |
2022-07-31 13:10:24 |
北海道 |
北海道新聞 |
神2―4ヤ(31日) 村上3打席連発で逆転勝利 |
https://www.hokkaido-np.co.jp/article/712421/
|
逆転勝ち |
2022-07-31 22:20:31 |
北海道 |
北海道新聞 |
吉田がシャルケ初戦フル出場 ドイツ杯1回戦 |
https://www.hokkaido-np.co.jp/article/712424/
|
回戦 |
2022-07-31 22:34:00 |
北海道 |
北海道新聞 |
縄文遺跡、戦略立て観光利用を 世界遺産登録1周年を記念しシンポ |
https://www.hokkaido-np.co.jp/article/712422/
|
世界遺産登録 |
2022-07-31 22:19:00 |
北海道 |
北海道新聞 |
札幌市制100周年、今後のまちづくりは 記念式典で市長、タカトシら意見交換 |
https://www.hokkaido-np.co.jp/article/712404/
|
意見交換 |
2022-07-31 22:01:27 |
コメント
コメントを投稿