python |
Pythonタグが付けられた新着投稿 - Qiita |
fastapiとngrokを使って爆速でオウム返しLINEbotを作る |
https://qiita.com/inchoXD/items/5923cd34c11ad8e0f5d7
|
fastapi |
2022-04-07 03:33:58 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
【Docker】Docker for macのコンテナに他端末からアクセスする方法【Rails】【React】 |
https://qiita.com/P-man_Brown/items/9646ddfbbc463815d124
|
docker |
2022-04-07 03:40:26 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
【Docker】Docker for macのコンテナに他端末からアクセスする方法【Rails】【React】 |
https://qiita.com/P-man_Brown/items/9646ddfbbc463815d124
|
docker |
2022-04-07 03:40:26 |
海外TECH |
Ars Technica |
Today’s best deals: Apple Watches, iPads, “buy 2, get 1 free” game sales, and more |
https://arstechnica.com/?p=1845834
|
cards |
2022-04-06 18:20:47 |
海外TECH |
Ars Technica |
Ubisoft’s first NFT experiment was a dumpster fire |
https://arstechnica.com/?p=1846253
|
dumpster |
2022-04-06 18:10:36 |
海外TECH |
DEV Community |
iOS Auto Code Signing: How Mobile DevOps Can Simplify Your Life |
https://dev.to/probablyrealrob/ios-auto-code-signing-how-mobile-devops-can-simplify-your-life-463h
|
iOS Auto Code Signing How Mobile DevOps Can Simplify Your LifeLook there s no sugar coating it code signing or the process of proving an app has been created by a known source for iOS can be painful Like really painful There are several assets and moving parts that you need to remember and along the way it s easy to miss or flat out forget to do something But surely there has to be a way to simplify things In this guide you ll learn how to use a Bitrise an end to end mobile DevOps solution to automatically code sign an iOS app What is automatic code signing Signing an application allows the system to identify who signed the application and to verify that the application has not been modified since it was signed So automatic code signing in this context means automatically managing the provisioning profiles that are available on your Apple Developer Portal account This is done by setting up some form of authentication to your Apple account and then using Bitrise to download and install the provisioning profile for your app during the build process So from a high level to use auto code signing with Bitrise you will need to Upload the code signing certificates to Bitrise Connect your Apple Developer Portal account to Bitrise either via Apple ID or via the App Store Connect API Use one of the Bitrise steps that support automatically managing code signing assets How do you auto code with Bitrise Recently as detailed in this article Bitrise has simplified the code signing process The gist is that there are now two ways to automate code signing on Bitrise using Xcode Build Archive Step with iOS Auto Provision Step merged into it and not using these steps but the Manage iOS Code Signing Step instead In this tutorial we ll be specifically looking at the process of using the “Xcode Archive amp Export for iOS step to automatically sign assets for an iOS application Xcode Archive amp Export for iOSAs I previously mentioned the “Xcode Archive amp Export for iOS step automatically manages your code signing assets archives and then exports an ipa file It accomplishes this by utilizing xcodebuild a command line tool that allows you to build query analyze test and archive operations on your Xcode projects and workspaces Alright let s dive in Creating codeFirst things first in order to be able to sign an app you re going to need to have some assets like certificates app identifiers and provisioning profiles already created and ready to use If you don t already have the necessary code signing files ready you can generate new files by following the instructions here It s important to note that before you can proceed all Bitrise iOS code signing methods require you to export and upload your iOS code signing certificates directly to Bitrise Provide access to App Store ConnectNext Bitrise requires access to App Store Connect to be able to access your app s signing assets So to do this log into the Apple Developer Portal and navigate to App Store Connect Then from there click “Users and Access Within “Users and Access in App Store Connect you ll have the ability to configure two different approaches that Bitrise will use later on in this tutorial to connect Using an API KeyUsing an Apple ID Configure Bitrise for App Store ConnectAfter configuring your desired approach for establishing an Apple Service connection within the Apple Developer Portal it s time to jump into Bitrise to hook everything up Once you ve logged into your Bitrise account navigate to your “Profile settings within your user context menu Within your profile settings select the “Apple Service Connection in the left navigation menu There you ll have the ability to configure your Apple Service connection using an API Key recommended or Apple ID Set up Apple Service connection within your appAssuming you have an existing iOS project within Bitrise head back to the Bitrise Dashboard and select your app Tip If you haven t added an iOS project yet be sure to check out this guide to walk you through the process Click the “Teams and scroll down to the “Apple Service connection where you can select the connection you d like to use Set up the Bitrise workflowFinally it s time to configure our project workflow Start by navigating to the “Workflow tab If you ve created a new iOS project your workflow will look the same or similar to the following by default To set up auto code signing for our iOS app we re going to be modifying the workflow by adding and configuring one additional step Xcode Archive amp Export for iOS Xcode Archive amp Export for iOSStart by adding the “Xcode Archive amp Export for iOS Step after the “Bitrise io Cache Push Step This Step will be used to code sign the previously built assets and then export the ipa and other assets Add the “Xcode Archive amp Export for iOS Step by clicking the button and searching for “Xcode Archive amp Export for iOS Easy enough right After targeting the “Xcode Archive amp Export for iOS step and loading the details in the panel scroll to the Input variables section There you ll notice three key configuration settings Project path the path to the Xcode Workspace within your project Scheme defines a collection of targets to build a configuration to use when building and a collection of tests to execute Distribution method defines how Xcode should export the archive The distribution options are development ad hoc app store and enterprise The great news here is that these values have already been added for you as part of the initial iOS project setup You can see what s already been configured by clicking and displaying the Env Vars tab Next you need to choose the automatic code signing method which defines which Bitrise Apple Service connection e g API Key or Apple ID option will be used And finally if you scroll down just a bit within the Automatic code signing section you ll see two required fields Code signing certificate URL and Code signing certificate passphrase which have already been configured due to you adding the code signing certificates earlier in this walk through I point this out so you know why you were required to do that step before Build amp output artifactsAnd that s it that s all there is to it Now that you ve finished the workflow configuration save the changes and navigate back to the project landing page to start a new build Once the build has completed hopefully successfully navigate into the build and view the output within the Artifacts tab Next stepsThank you for reading this article As you can see the process of signing your iOS app is simplified with Bitrise and the Xcode Archive amp Export for iOS Step Now all that s left to do is try it out for yourself If you have any questions or comments please reach out to me on Twitter or LinkedIn Happy building |
2022-04-06 18:44:33 |
海外TECH |
DEV Community |
Customizing radio buttons and checkboxes with CSS |
https://dev.to/hiddencilantro/customizing-radio-buttons-and-checkboxes-with-css-5b6g
|
Customizing radio buttons and checkboxes with CSSDisclaimer There s an unnecessarily long introduction that I couldn t stop myself from writing I had no intention of baiting so feel free to skip to the TL DR section below if you re just here for the examples How much CSS do front end developers have to know I ve heard arguments for both sides ranging anywhere from it s an absolute must since CSS is directly related to what the user sees and interacts with which is ultimately all things front end to I ve been a front end developer for over years and I ve never had to write a single line of CSS during my entire career But despite which end of the spectrum your opinion aligns with I think most of us can agree that having an additional skill under your belt never hurt anyone and if not anything it will add to your list of developer traits than take away from it Having said that it s also probably worth mentioning that CSS unfortunately seems to be one of those things that are often neglected and end up being self taught It was covered very briefly in my bootcamp curriculum and the little amount that was introduced was kept to the basics It is also rarely included in any of the project requirements nor is it held to a high standard during an assessment For a newbie programmer like myself I d say the primary motivation behind learning and practicing more CSS usually stems from self fulfillment and the desire to make your final product look as professional grade as possible Furthermore I think the technical side of CSS can sometimes feel disjointed from the ability to make a web application look aesthetic because it shares close boundaries with the creative artistic realm of web design which requires a different skillset like knowing which shades of colors to use and how to make something look visually appealing to the user TL DRSo if you re at all interested in this post it must mean you re looking to customize your input type radios and checkboxes purely using CSS Let s start with radio buttons because they re slightly simpler Radio ButtonsThe first step is to change the radio buttons to our desired size input type radio width px height px BOOM Big radio buttons Next we set the appearance property which controls the native appearance of UI controls to none Then we set a border or a background color or an image or a combination of all three just anything to help us actually see something appear on the page I also got rid of the Yes and No text because we want these to show up inside the button and not beside it Then I added a border radius to round the edges and a cursor pointer to bring back the pointer effect when we hover input type radio width px height px appearance none border solid px d background color fff border radius px cursor pointer Finally I had a decision to make about how I wanted to handle the inner text as well as the checkmark graphic when the button is selected For this particular example it felt easy enough to simply use CSS pseudo classes and different images to achieve the desired effect I concluded that there were essentially four different states that I needed to account for and thus four different images Yes unselected Yes selected No unselected No selected input type radio first of type background image url images yes unselected svg input type radio first of type checked background image url images yes selected svg background color dee input type radio last of type background image url images no unselected svg input type radio last of type checked background image url images no selected svg background color dee You can also use different pseudo selectors or any other way that s appropriate to your code as long as you are able to grab the correct elements in applying these styles The key is to make the images the exact size you need so that they are a perfect fit but even if they weren t you d be able to add properties like background size background repeat no repeat and background position center to ensure they show up nicely And lastly since I use a different background color for the checked state I also added the same color to the hover effect for a better UX input type radio hover background color dee CheckboxesSo what about checkboxes then Can we just do the same thing Almost but not quite The gist of it is the same but checkboxes behave differently in that you re unable to add a background image This means you lose a lot of flexibility and it creates a challenge in designing the checkbox to your desired look What you can do however is hide its display give it an id and point to that id from a label tag which can set background images Take the following example I ve got several checkboxes that each have an image text and an additional input field that appears in the same box once clicked The HTML for one of these checkboxes looks like this lt div gt lt input type checkbox name beer id beer checked checked beer onChange handleCheckbox gt lt label htmlFor beer gt lt span gt Beer lt span gt lt label gt checked beer lt input type number gt null lt div gt It s actually JSX but you get the idea I m using some local state in React to keep the form controlled and using a ternary statement to render the number field conditionally but that s a whole another topic so we ll dial that back and stick to just the CSS portion Just note that the htmlFor property above is the JSX equivalent to using the for attribute in HTML labels So the div here is representing our checkbox so to speak and inside I ve got the actual checkbox input which we will use CSS to hide the label which wraps a span of the text and then the lt input type number gt field which again will render depending on whether the checkbox is checked Then I apply the following CSS div width px min height px border solid px d border radius px div hover background color rgb input type checkbox display none label width px height px display inline block background repeat no repeat background position cursor pointer label gt span display inline block margin top px label for beer background image url images icon beer svg input type checkbox checked label background image url images icon checkmark svg Okay so let s break this down We set the width and height on the div that will act as our container but only use min height so that it can expand if we need to display the number field below it We then set a different color on hover to give the user some feedback like we did with the radio buttons this part s not so important Then we hide the actual checkbox using display none and instead fill the entire div with the label by using the same width and height We also set its display to inline block in order to use a block element box but without the line breaks so that it flows with surrounding content Then we make sure to prevent the image from its default behavior which is to repeat in both directions and use background position to define the X and Y values using for the X value to center the image but for the Y value to leave some space underneath for the span And of course we mustn t forget to bring back the mouse pointer with the cursor property Then for the span of text we use display inline block again and set a top margin to properly position it under the image And finally we set two background images on the label the default image we want to display and a different image when the checkbox is checked Pro tip Placing the label right after the hidden checkbox in the HTML makes it easy to use the adjacent sibling combinator CSS selector to target the label when the checkbox is in its checked state Again as with most things in the land of programming there s likely more than one approach to produce the same results sometimes with subtle differences between them So I m certain that my examples are not the only way to customize these fields they are merely one implementation that has worked for me and I share them here hoping someone might find them useful Final ThoughtsTo be fair I tend to put off CSS until the very end in all of my personal projects and I would argue that a significant amount of people probably do as well or maybe it s just me But one thing I noticed is that the more familiar I become with styling in CSS and utilizing certain patterns determining how I should structure the application does become slightly more instinctive In other words it becomes much easier to code for the future knowing that I will probably want certain containers in certain places to hold certain class names and so forth Next I think I ll explore with some of the popular CSS frameworks that we might encounter in the industry and see how they compare Feel free to leave me comments or suggestions |
2022-04-06 18:30:39 |
海外TECH |
Engadget |
THQ Nordic will host a digital game showcase on August 12th |
https://www.engadget.com/thq-nordic-august-12-showcase-184531622.html?src=rss
|
THQ Nordic will host a digital game showcase on August thTHQ Nordic will host its second annual digital showcase on August th the publisher announced on Wednesday The company said it would announce new games as well as share updates on previously announced ones during the event with the entire proceedings available to watch via Twitch Steam and YouTube starting at PM ET nbsp Based on the trailer the company shared fans can look forward to updates on SpongeBob SquarePants The Cosmic Shake and Destroy All Humans Reprobed among other titles With the Entertainment Software Association not moving forward with an E this year it s likely more publishers will soon announce similar events timed for the summer months of the year In announcing its showcase so early and months after the traditional start of E it s likely the company wants to create a space for itself where it doesn t have to compete with bigger publishers like Microsoft and Sony for attention |
2022-04-06 18:45:31 |
海外TECH |
Engadget |
Meta won't host its F8 developer conference this year |
https://www.engadget.com/meta-facebook-f8-2022-cancelled-182029608.html?src=rss
|
Meta won x t host its F developer conference this yearMeta still isn t keen on reviving its F conference but this time it s not due to the pandemic The Facebook parent firm revealed that it quot will not hold quot F in as it retools for quot building the metaverse quot Instead Meta will lean on Conversations its first business messaging event Connect and other developer presentations throughout the rest of the year The company hasn t held a live F since Both F and were online only due to COVID This isn t the first time Meta skipped F altogether though It didn t hold conferences in and A move like this isn t shocking Facebook only rebranded itself as Meta in October and the company is still in the early days of defining its metaverse vision and creating relevant tools The F no show could give Meta more time to present a clearer strategy not to mention create more augmented reality and virtual reality technology it can pitch to creators |
2022-04-06 18:20:29 |
海外TECH |
Engadget |
Twitter appears to have quietly altered a key way deleted tweets can be preserved |
https://www.engadget.com/deleted-tweets-no-longer-appear-in-embeds-on-third-party-websites-181059917.html?src=rss
|
Twitter appears to have quietly altered a key way deleted tweets can be preservedTwitter might finally be delivering an edit button but the company appears to have quietly altered a key way deleted tweets can be preserved As writer Kevin Marks first pointed out the company changed its embedded javascript so that the text of deleted tweets is no longer visible in embeds on outside websites Previously the text of a deleted tweet was still visible on web pages on which it had been embedded but now Twitter is using javascript to render the tweet as a blank white box Overall it might not seem like a major change on Twitter s part but it s one that has significant implications Tweets from public officials celebrities and the general public are frequently embedded into news stories Even if those tweets were later deleted there was a clear record of what had been said Now there are untold numbers of old articles where instead of a tweet there s just a blank box without context For example tweets from former President Donald Trump were routinely cited by media organizations Even after his account was permanently suspended the text of those missives was still viewable on the sites where it had been embedded Now that s no longer the case In Trump s case there are extensive archives of those tweets But that s not the case for the majority of Twitter users or even many public officials And while it s still technically possible to view the text by disabling javascript in your browser it s not the kind of step most people would know how to do even if they knew the option existed Twitter product manager Eleanor Harding told Marks the change was made “to better respect when people have chosen to delete their Tweets A spokesperson for Twitter declined to comment further on the change nbsp Hey Kevin We re doing this to better respect when people have chosen to delete their Tweets Very soon it ll have better messaging that explains why the content is no longer available my DMs are open if you d like to chat more about thisーEleanor Harding tweetanor March Still it s a curious move because as Marks points out in his post Twitter s original choice to maintain the text of deleted tweets was an intentional choice on the part of Twitter engineers “If it s deleted or years in the future the text remains former Twitter engineer Ben Ward wrote in when embedding tweets was first announced That s in line with statements from other twitter executives over the years about the importance of Twitter as a kind of “public record For example former CEO Jack Dorsey said in he was hesitant to build an edit button because it could erode Twitter s ability to function as a public record “It s really critical that we preserve that he said at the time |
2022-04-06 18:10:59 |
海外科学 |
NYT > Science |
Inside a Campaign to Get Medicare Coverage for a New Alzheimer’s Drug |
https://www.nytimes.com/2022/04/06/health/aduhelm-alzheimers-medicare-patients.html
|
Inside a Campaign to Get Medicare Coverage for a New Alzheimer s DrugThe Alzheimer s Association has pushed relentlessly to get broad access to Aduhelm despite safety risks and uncertain evidence that it helps patients |
2022-04-06 18:43:00 |
金融 |
金融庁ホームページ |
金融庁職員の新型コロナウイルス感染について公表しました。 |
https://www.fsa.go.jp/news/r3/sonota/20220406.html
|
新型コロナウイルス |
2022-04-06 18:15:00 |
ニュース |
BBC News - Home |
I haven't seen UK government feuding over refugees, says minister |
https://www.bbc.co.uk/news/uk-politics-61010746?at_medium=RSS&at_campaign=KARANGA
|
ukrainians |
2022-04-06 18:14:37 |
ニュース |
BBC News - Home |
Lions and Scotland great Smith dies aged 50 |
https://www.bbc.co.uk/sport/rugby-union/61014702?at_medium=RSS&at_campaign=KARANGA
|
smith |
2022-04-06 18:20:14 |
ニュース |
BBC News - Home |
Man Utd move closer to appointing Ajax's Ten Hag as new manager |
https://www.bbc.co.uk/sport/football/61015509?at_medium=RSS&at_campaign=KARANGA
|
manager |
2022-04-06 18:34:45 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
マスク氏のツイッター取締役就任 早わかりQ&A - WSJ PickUp |
https://diamond.jp/articles/-/301128
|
qampampawsjpickup |
2022-04-07 03:50:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
米株はFRB「利上げ加速」でもリバウンド、先行きを楽観視する市場に見落しはないか - マーケットフォーカス |
https://diamond.jp/articles/-/301127
|
景気減速 |
2022-04-07 03:45:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
「オイシイ」イチゴも、米国で高級果物ブーム - WSJ PickUp |
https://diamond.jp/articles/-/301129
|
wsjpickup |
2022-04-07 03:40:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
アマゾンの衛星打ち上げ事業、高リスクの賭け - WSJ PickUp |
https://diamond.jp/articles/-/301130
|
wsjpickup |
2022-04-07 03:35:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
【採用担当者必見】就活中の学生38人のホンネ「企業はここを改善してほしい!」 - 親と子の「就活最前線」 |
https://diamond.jp/articles/-/301071
|
歯に衣着せぬ |
2022-04-07 03:30:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
アントレプレナーの誇りと不安――なぜ、彼女はフリーランスになったのか - キャンパス・インクルージョン |
https://diamond.jp/articles/-/299976
|
|
2022-04-07 03:25:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
ひろゆきが呆れる「田舎の男尊女卑な家庭との付き合い方」 - 1%の努力 |
https://diamond.jp/articles/-/300963
|
youtube |
2022-04-07 03:20:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
【精神科医が教える】 ストレスを解消するたった1つの方法 - 精神科医Tomyが教える 心の荷物の手放し方 |
https://diamond.jp/articles/-/300914
|
voicy |
2022-04-07 03:18:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
「優秀でフラットな人ほど、苦労する」投資家が語る、起業に向かない人の特徴とは - 起業家の思考法 |
https://diamond.jp/articles/-/300885
|
「優秀でフラットな人ほど、苦労する」投資家が語る、起業に向かない人の特徴とは起業家の思考法この月に『起業家の思考法「別解力」で圧倒的成果を生む問題発見・解決・実践の技法』を出版した株式会社じげん代表取締役社長の平尾丈氏。 |
2022-04-07 03:15:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
「一流になれなくても成功できる人」の特徴 - 東大金融研究会のお金超講義 |
https://diamond.jp/articles/-/300938
|
「一流になれなくても成功できる人」の特徴東大金融研究会のお金超講義年月に発足した東大金融研究会。 |
2022-04-07 03:10:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
「評価されやすい人」と「されにくい人」 の決定的な違い - だから、この本。 |
https://diamond.jp/articles/-/300875
|
付加価値 |
2022-04-07 03:05:00 |
北海道 |
北海道新聞 |
米、核開発阻止へ本腰 高官「核実験するかも」 |
https://www.hokkaido-np.co.jp/article/666617/
|
大陸間弾道ミサイル |
2022-04-07 03:26:04 |
北海道 |
北海道新聞 |
ロシア軍のキーウ周辺撤退確認 チェルニヒウからも退却 |
https://www.hokkaido-np.co.jp/article/666618/
|
国防総省 |
2022-04-07 03:12:15 |
コメント
コメントを投稿