AWS |
lambdaタグが付けられた新着投稿 - Qiita |
microCMSで投稿した画像をS3にも保存する |
https://qiita.com/sho_fcafe/items/14f5806d9af3cc0816d4
|
jamstack |
2023-06-16 21:33:30 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
python on wsl |
https://qiita.com/kykougaku/items/e3804f663443a3213880
|
gitclone |
2023-06-16 21:06:55 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
djangoのtemplateでformset.is_validがTrueでも、formset.errorsの結果が[{}, {}, {}]になる問題について |
https://qiita.com/kon-sato/items/51d25f14e1706cee0d5f
|
django |
2023-06-16 21:06:26 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
tinymce6 いろいろあって頭の<p>タグとおしりの</p>タグを取りたい |
https://qiita.com/Yuumillar/items/7f4bcc551069c8bc0d13
|
ltpgt |
2023-06-16 21:51:26 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
プログラマーへの道 #19 変数宣言とスコープ(プログラミング入門)のメモ |
https://qiita.com/emioiso/items/6d5ccf08ebfafedae982
|
ampamp |
2023-06-16 21:10:04 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
え?!WSL2のホストOSって変えれるの?!じゃあAmazon Linuxにしなくっちゃ!! |
https://qiita.com/moritalous/items/f22096f0079a78142220
|
mazonlinuxunabletofindima |
2023-06-16 21:29:11 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
2023年 夏に向けた勉強の計画 |
https://qiita.com/kohta9521/items/b7a7b0f7428a87ac498e
|
私立大学 |
2023-06-16 21:21:50 |
golang |
Goタグが付けられた新着投稿 - Qiita |
2023年 夏に向けた勉強の計画 |
https://qiita.com/kohta9521/items/b7a7b0f7428a87ac498e
|
私立大学 |
2023-06-16 21:21:50 |
技術ブログ |
Developers.IO |
ベルリンのグリーンテック企業訪問ツアーに参加したレポ #ABS2023 #AsiaBerlinSummit2023 |
https://dev.classmethod.jp/articles/asiaberlin-summit-2023-greentech-guide-tour/
|
asiaberlinsummit |
2023-06-16 12:40:31 |
海外TECH |
MakeUseOf |
Unlock the Secrets of ChatGPT with Our Free eBook: 'Unlocking the Potential of ChatGPT” |
https://www.makeuseof.com/unlock-secrets-of-chatgpt-with-free-ebook-unlocking-the-potential-of-chatgpt/
|
chatgpt |
2023-06-16 12:35:19 |
海外TECH |
MakeUseOf |
How to Schedule Websites to Open at Specified Times in Chrome, Firefox, and Edge |
https://www.makeuseof.com/chrome-firefox-edge-schedule-websites-open/
|
How to Schedule Websites to Open at Specified Times in Chrome Firefox and EdgeRegularly open the same websites Why not schedule them to open at specific times Here s how you can in Chrome Firefox and Edge |
2023-06-16 12:31:18 |
海外TECH |
MakeUseOf |
How to Record Multiple Audio Tracks to One File in OBS Studio |
https://www.makeuseof.com/obs-studio-record-multiple-audio-tracks-to-one-file/
|
audio |
2023-06-16 12:15:18 |
海外TECH |
DEV Community |
I built an Harry Potter⚡ API, so you dont have to |
https://dev.to/acidop/i-built-an-harry-potter-api-so-you-dont-have-to-5an0
|
I built an Harry PotterAPI so you dont have toHello World Now before you scoff and say What on Earth would you need a Harry Potter API for hear me out We Potterheads love the intricate tapestry of spells characters houses books and movies So naturally it got me thinking Wouldn t it be amazing to have an API that provides all this enchanting data days and almost coffees later I have everything ready What we re building Let s create an API that sends data about the following from the franchise CharactersSpellsHousesBooksMoviesAt the end I ll also tell you why I had to bang my head on wall for a mistake this big that caused a bug on production Setting up the projectI used NextJS for this because that is my goto for every web development project Almost everyone knows how to setup a Nextjs project so I m not explaining it however you can follow this if you don t know how to Next I stole open sourced data from KostaSav and Daniel And put them inside a folder called db inside project root Creating API RoutesIn NextJS the way API works has completely changed In order to get APIs working follow the below steps Inside the app dir create a folder called api Not necessarily api you can also use your name for the folder and it will still work unlike Next But for simplicity we will use api Create a folder called characters and finally inside it create a file called route ts The route ts will be the entry to the api characters path It is similar to what index html is entry point Inside characters folder create another folder called characters followed by another route ts This will catch all dynamic routes e g api characters harry potterRepeat the above steps for houses spells books movies Next APIs Important For an API to work in Next we need to follow this syntax For GET requestsexport async function GET return new Response Hello For POST requestsexport async function POST return new Response World To get slug follow thisexport async function GET params params character string const character params return new Response character Check out their documentation here Setting up the APIs api characters This route sends json containing data about characters from the Franchise So we need to read the data from db characters json convert into a JSON string and send it import characters from db characters json export async function GET return new Response JSON stringify characters headers content type application json api characters character This is a bit complicated Dynamic Route which will send data about an individual character For this we need to get the slug from URL So if your folder is named character inside the GET method you need to pass the following parameter import characters from db characters json export async function GET params params character string I totally understand this line I swear const character params Ah finally the slug Next we need to find the character from the slug in our JOSN file if character const characterString characters find c gt c name toLowerCase character toLowerCase if characterString return new Response JSON stringify characterString headers content type application json Finally if no such character exists in the database return a message saying the same return new Response No character with name character So at the end your code will look somewhat like this import characters from db characters json export async function GET request Request params params character string const character params if character const characterString characters find c gt c name toLowerCase character toLowerCase if characterString return new Response JSON stringify characterString headers content type application json return new Response No character with name character Repeat the above steps for houses spells books movies The ErrorAnd about the error I talked about in the first part So I used TailwindCSS for the frontend and for some reason it just wasn t working when pushed on Vercel So I had to spend a good part of my day just to find out that my tailwind config had a misconfiguration So basically I wrote components instead of Components Just letter caused me so much trouble Finally This is just a quick rundown of a days journey and around cups coffee Please checkout the Live Demo and here is the Github RepoIf you enjoyed the API please give a and the Github repo |
2023-06-16 12:29:38 |
海外TECH |
DEV Community |
Details on Appium and It’s Architecture |
https://dev.to/berthaw82414312/details-on-appium-and-its-architecture-47p2
|
Details on Appium and It s Architecture What is Appium Appium is a free and open source suite of testing tools and frameworks that you can use to automate the testing of mobile native hybrid and mobile web desktop Windows Mac and Smart TV apps The Appium PhilosophyLanguage agnostic To avoid being locked into the programming languages of platform vendors Appium allows you to use any language binding you like including Java Kotlin Python JavaScript Ruby and C Eliminates the need to start from scratch To enable effective Appium test automation it provides a simple API that is Web driver protocol compliant which encapsulates vendor automation libraries Google UIAutomator Espresso Apple XCUITest UIAutomation and Windows WinApp allowing you to design tests that run on several platforms There is no need to update the app s SDK or recompile it Appium mobile testing does not necessitate an app compilation phase but can drive the app from a grey box user experience Cross platform Developers can perform effective Appium automation testing because Appium drives applications across several platforms if the applications share the same business logic you can use a single cross platform test to evaluate them Appium ArchitectureAppium is a Node js based HTTP server responsible for managing WebDriver sessions and receiving HTTP requests in JSON format from client libraries The requests are then processed differently based on the application s platform It follows the Client Server Architecture design pattern There are three components to it Appium ClientAppium ServerEnd DeviceAppium ClientThe scripted code for automation is known as Appium Client Developers can write the code in any programming language such as PHP Java or Python This automation script contains the Mobile device and application configuration information and the logic code required to execute the application s test cases Appium ServerDevelopers use the Node js programming language to create the Appium server It receives connection and command requests in JSON format from the Appium client and carries out those commands on mobile devices The server must be installed on the machine and started before executing the automation code The server communicates with multiple platforms including iOS and Android It creates a session to communicate with mobile app endpoints It is a Node js based HTTP server that reads HTTP requests from client libraries and forwards them to the corresponding platform Users must download or install the code from Npm to start the server It also provides the server s GUI interface You can download it from the Appium website End DeviceThe End Device is predominantly a mobile device or an emulator The Appium server executes the automation scripts on the end device in response to commands from the client The Appium Architecture WorkflowThe Appium Client which contains setup information and the test case automation script sends JSON commands to the server Integrated jar files within the client convert the automation script to JSON format Appium Server then recognizes the command and connects to the associated end device Once it establishes the connection it executes test cases on the end device The End Device responds with an HTTP response to the Appium s request Appium populates the log with all actions performed on the device as the testers complete each test case Appium s execution concerning Android and iOS varies slightly Appium on AndroidAppium on Android automates using the UIAutomator framework Android developed the UIAutomator framework for automation reasons So let s see how Appium operates precisely on Android Appium client c Java Python and more establishes a connection with Appium Server and interacts using the JSON Wire Protocol The Appium Server then generates an automation session for the client and verifies the client s desired capabilities It then links to the corresponding frameworks given by the vendor such as UIAutomator UIAutomator will connect with bootstrap jar for client activities which operate on the simulator emulator real device Here bootstrap jar acts as a TCP server through which we can send the test command to the Android device using UIAutomator Appium with iOSAppium leverages Apple s XCUI Test API to interact with UI elements on iOS devices XCUITest is the framework for automation included with Apple s XCode Appium client c Java Python and more establishes a connection with Appium Server and interacts using the JSON Wire Protocol Appium Server then creates an automation session for the client validates the client s needed capabilities and connects to the framework offered by the corresponding vendor such as XCUI Test For client operations XCUI Test will interface with bootstrap js which runs on a simulator emulator real device Bootstrap js will conduct the action on the application under test After executing a command the client returns a message to the Appium server containing the command s log information ConclusionAppium is a comprehensive tool that can help you develop quality apps It gives you the best platform to write test scripts for Android and iOS However trying to work with Appium without help is challenging A mobile app testing platform like HeadSpin that knows the ins and outs of Appium can help you meet your testing needs Reach out Original source |
2023-06-16 12:13:04 |
Apple |
AppleInsider - Frontpage News |
M2 Ultra Mac Studio, 15-inch MacBook Air, Apple Vision Pro experience |
https://appleinsider.com/articles/23/06/16/m2-ultra-mac-studio-15-inch-macbook-air-apple-vision-pro-experience?utm_medium=rss
|
M Ultra Mac Studio inch MacBook Air Apple Vision Pro experienceExamining the M Ultra Mac Studio s performance and design delving into the inch MacBook Air and detailing the hands on experience with Apple Vision Pro all on this week s episode of the AppleInsider podcast Apple Vision Pro on display at WWDCJason Aten takes the reins for this edition of the podcast with regular co host Wesley Hilliard Together they continue the discussion surrounding what Apple revealed during WWDC this time focusing on Macs and Apple Vision Pro Read more |
2023-06-16 12:34:18 |
海外TECH |
Engadget |
Engadget Podcast: Reddit’s revolt, MacBook Air 15 and Mac Studio reviews |
https://www.engadget.com/engadget-podcast-reddit-revolt-macbook-air-15-review-123056098.html?src=rss
|
Engadget Podcast Reddit s revolt MacBook Air and Mac Studio reviewsWhat good is Reddit without the support of its community This week Cherlynn and Devindra discuss the recent subreddit revolts following the company s decision to dramatically increase the cost of its API for third parties They re joined by Ryan Broderick the internet culture reporter behind the must read newsletter Garbage Day Will the protests amount to any sort of change Or will Reddit CEO Steve Huffman prevail and make the company ready for a potential IPO Also we dive into our reviews of the new MacBook Air as well as the M Ultra Mac Studio Who needs a Mac Pro when Apple has such a powerful desktop already Listen below 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 PodcastsTopicsWhy are Redditors protesting Reddit s API changes M Mac Studio and inch MacBook Air reviews U S Federal Trade Commission files injunction to block Microsoft s acquisition of Activision Blizzard Alan Wake South of Midnight and Baby Steps are Summer Games Fest standouts Working on Pop culture picks LivestreamCreditsHosts Cherlynn Low and Devindra HardawarGuest Ryan BroderickProducer Ben EllmanMusic Dale North and Terrence O BrienLivestream producers Julio BarrientosGraphic artist Luke Brooks and Joel ChokkattuThis article originally appeared on Engadget at |
2023-06-16 12:30:56 |
海外TECH |
Engadget |
Sonos’ 25 percent off Father's Day sale ends this weekend |
https://www.engadget.com/sonos-25-percent-off-fathers-day-sale-ends-this-weekend-120529289.html?src=rss
|
Sonos percent off Father x s Day sale ends this weekendEven if you already have a Father s Day gift on lock Sonos sale for the holiday is worth checking out while it s still live The audio gear maker has knocked up to percent off its speakers and home entertainment gadgets through June th meaning you still have a few days to grab things like the Arc soundbar and the Move portable speaker while they re discounted to some of the best prices we ve seen One of our favorite soundbars the Sonos Arc comes in at normally but you can pick one up for in this sale We like it s modern design stellar sound quality and convenient Sonos specific features like being able to automatically calibrate depending on your room s shape ーand adjust accordingly if you add more speakers to your setup It supports Dolby Atmos AirPlay and voice commands and if you pair it with a Sub or Sub Mini you ll already have a solid home theater setup with those two components Of course isn t cheap even if it represents a solid discount those with tighter budgets should consider the Sonos Beam or Ray both of which are on sale now too The new Sonos Era and speakers aren t discounted on their own in this sale but the Sonos Move and Roam are Both portable speakers they allow you to take Sonos generally solid sound quality outdoors with the Move being a more beefy cousin to the Roam The Move is IP rated while the Roam is waterproof with an IP rating and both support AirPlay voice commands and connectivity over Bluetooth and WiFi You can expect stronger louder sound from the Move making it a good option for those with big backyards while the Roam is more backpack friendly If you are itching to get a new Era or they re included in a few home theater sets that are discounted The most affordable option is the Surround Set with Beam which includes the Beam sounder and two Era speakers for just under Considering the Era and the Beam are some of our top picks for smart speakers and soundbars right now that set will go a long way towards upgrading your living room setup Follow EngadgetDeals on Twitter and subscribe to the Engadget Deals newsletter for the latest tech deals and buying advice This article originally appeared on Engadget at |
2023-06-16 12:05:29 |
医療系 |
医療介護 CBnews |
骨太方針 介護ロボットやICT機器導入盛り込む-施設の協働化や有料職業紹介の指導監督も |
https://www.cbnews.jp/news/entry/20230616205247
|
保有資産 |
2023-06-16 21:27:00 |
医療系 |
医療介護 CBnews |
社会保険負担を歳出改革で軽減、骨太方針決定-少子化対策の財源巡り、年末決着 |
https://www.cbnews.jp/news/entry/20230616210016
|
基本方針 |
2023-06-16 21:15:00 |
金融 |
金融庁ホームページ |
「トランジション・ファイナンスにかかるフォローアップガイダンス~資金調達者とのより良い対話に向けて~」の確定について公表しました。 |
https://www.fsa.go.jp/news/r4/singi/20230616.html
|
資金調達 |
2023-06-16 14:00:00 |
海外ニュース |
Japan Times latest articles |
Japan increases support for domestic EV battery output |
https://www.japantimes.co.jp/news/2023/06/16/business/battery-development-boost-japan/
|
Japan increases support for domestic EV battery outputThe move shows Tokyo is confident about ramping up battery production support after the United States and Japan struck a deal on electric vehicle battery |
2023-06-16 21:07:26 |
ニュース |
BBC News - Home |
Tour de Suisse: Gino Mader dies aged 26 after stage five crash |
https://www.bbc.co.uk/sport/cycling/65926606?at_medium=RSS&at_campaign=KARANGA
|
suisse |
2023-06-16 12:44:05 |
ニュース |
BBC News - Home |
Boris Johnson asks allies not to vote against Partygate findings |
https://www.bbc.co.uk/news/uk-politics-65930011?at_medium=RSS&at_campaign=KARANGA
|
conduct |
2023-06-16 12:53:01 |
ニュース |
BBC News - Home |
Kent and Sussex hosepipe ban announced amid water shortage |
https://www.bbc.co.uk/news/uk-england-65927032?at_medium=RSS&at_campaign=KARANGA
|
levels |
2023-06-16 12:43:04 |
ニュース |
BBC News - Home |
Plaid Cymru: Rhun ap Iorwerth takes over as party leader |
https://www.bbc.co.uk/news/uk-wales-politics-65928575?at_medium=RSS&at_campaign=KARANGA
|
iorwerth |
2023-06-16 12:25:33 |
ニュース |
BBC News - Home |
Ryanair apologises for 'Tel Aviv in Palestine' flight row |
https://www.bbc.co.uk/news/business-65927794?at_medium=RSS&at_campaign=KARANGA
|
cabin |
2023-06-16 12:09:36 |
ニュース |
BBC News - Home |
Tesco sees early signs inflation is starting to ease |
https://www.bbc.co.uk/news/business-65925217?at_medium=RSS&at_campaign=KARANGA
|
price |
2023-06-16 12:06:07 |
ニュース |
BBC News - Home |
The Ashes 2023: England's Zak Crawley's dismissed for 61 |
https://www.bbc.co.uk/sport/av/cricket/65929800?at_medium=RSS&at_campaign=KARANGA
|
The Ashes England x s Zak Crawley x s dismissed for England s Zak Crawley s innings come to an end as he is dismissed for and Australia take their third wicket of day one of the first Ashes Test at Edgbaston |
2023-06-16 12:20:04 |
ニュース |
BBC News - Home |
Boris Johnson unveiled as new Daily Mail columnist |
https://www.bbc.co.uk/news/uk-politics-65930008?at_medium=RSS&at_campaign=KARANGA
|
boris |
2023-06-16 12:42:55 |
コメント
コメントを投稿