AWS |
AWS Security Blog |
How to revoke federated users’ active AWS sessions |
https://aws.amazon.com/blogs/security/how-to-revoke-federated-users-active-aws-sessions/
|
How to revoke federated users active AWS sessionsWhen you use a centralized identity provider IdP for human user access changes that an identity administrator makes to a user within the IdP won t invalidate the user s existing active Amazon Web Services AWS sessions This is due to the nature of session durations that are configured on assumed roles This situation presents a challenge … |
2023-01-16 17:43:34 |
AWS |
AWS Security Blog |
How to revoke federated users’ active AWS sessions |
https://aws.amazon.com/blogs/security/how-to-revoke-federated-users-active-aws-sessions/
|
How to revoke federated users active AWS sessionsWhen you use a centralized identity provider IdP for human user access changes that an identity administrator makes to a user within the IdP won t invalidate the user s existing active Amazon Web Services AWS sessions This is due to the nature of session durations that are configured on assumed roles This situation presents a challenge … |
2023-01-16 17:43:34 |
Linux |
Ubuntuタグが付けられた新着投稿 - Qiita |
actを使ってGitHub Actionsをローカルで実行してみる |
https://qiita.com/h_tyokinuhata/items/5c7a8e2f5aafe8905229
|
github |
2023-01-17 02:56:16 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
actを使ってGitHub Actionsをローカルで実行してみる |
https://qiita.com/h_tyokinuhata/items/5c7a8e2f5aafe8905229
|
github |
2023-01-17 02:56:16 |
海外TECH |
MakeUseOf |
Why Toggling Between Work Applications Is Bad and How to Resolve It |
https://www.makeuseof.com/toggling-work-applications-how-to-resolve/
|
Why Toggling Between Work Applications Is Bad and How to Resolve ItFeeling the effects of constant task switching Learn why toggling between work apps is bad and how to resolve it for improved productivity |
2023-01-16 17:45:16 |
海外TECH |
MakeUseOf |
4 Easy Gaming Mouse Mods You Can Do Yourself |
https://www.makeuseof.com/easy-gaming-mouse-mods-you-can-do-yourself/
|
adjustments |
2023-01-16 17:30:15 |
海外TECH |
MakeUseOf |
How to Find Virtual Races to Motivate Your Running Efforts Anywhere |
https://www.makeuseof.com/virtual-races-motivate-running-how-find-anywhere/
|
How to Find Virtual Races to Motivate Your Running Efforts AnywhereYou don t have to drive hours or book flights to run in some of the most fun and exciting races around the world Participate virtually instead |
2023-01-16 17:16:15 |
海外TECH |
MakeUseOf |
The 3 Best Ways to Boost Your Book's Sales on Amazon With Reedsy’s Help |
https://www.makeuseof.com/best-ways-boost-books-sales-amazon-reedsy/
|
constant |
2023-01-16 17:01:36 |
海外TECH |
DEV Community |
Zero byte favicon markup — Keep the favicons without any of the markup |
https://dev.to/shadowfaxrodeo/zero-byte-favicon-markup-keep-the-favicons-without-any-of-the-markup-47hg
|
Zero byte favicon markup ーKeep the favicons without any of the markupFavicons are the small icons that appear in browser tabs usually next to the title of a website Every website should have a favicon to help differentiate it from websites in other tabs of websites have a tag in the lt head gt letting the browser know where to find the site s favicon Here s a basic favicon link lt link rel icon href favicon ico gt bytes You don t need this code By default all browsers look for a file favicon ico in a site s root directory So you can avoid having any links in your lt head gt by hosting a favicon at the root of your site e g So if your favicon is already hosted at your site s root and is in the ico format ーyou can go ahead and delete that link from your lt head gt What about different favicon sizes Sometimes you ll see links to different favicon sizes in the lt head gt like this lt link rel icon type image png sizes x href favicon x png gt lt link rel icon type image png sizes x href favicon x png gt lt link rel icon type image png sizes x href favicon x png gt bytesThese links let the browser know the location of multiple favicon sizes The browser then picks the size that best suits it the device or the context However you don t need to do this to support multiple icon sizes A single ico file can contain multiple icons with different dimensions ico isn t really an image format It s a container for bmp and png So you can remove all those seperate lt link gt tags and replace them with a single favicon ico in your site s root directory How to make a favicon containing multiple icons using gimpYou can use the free and open source image editor Gimp Here s how you do it Create a new file with the dimensions of your largest icon size Create a new layer with the dimensions of the other sizes In each layer paste your icon and resize it to fit that layer Export your file and select the ico file extension A dialogue box will appear prompting you to select options for your icons Select Compressed png for a smaller file size Click ExportNote that IE and below do not support png favicons To support IE lt make sure any icon smaller than x are not exported as png Icons larger that x can still benefit from compression without effecting IE lt Further optimizationsBy default favicons are cached for a long period of time So any optimization to the favicon itself is ineffective at saving data overall However there s no downside to having an extremely lightweight favicon So consider optimizing your favicon s size anyway Your favicon may not be effectively compressed ーso consider using the online tool Squoosh to compress pngs before turning them into ico files Similar optimizations can also be achieved with apple touch icons and Tiles for Windows |
2023-01-16 17:43:32 |
海外TECH |
DEV Community |
Meme Monday 🌻 |
https://dev.to/ben/meme-monday-59le
|
Meme Monday Meme Monday Today s cover image comes from last week s thread DEV is an inclusive space Humor in poor taste will be downvoted by mods |
2023-01-16 17:37:00 |
海外TECH |
DEV Community |
Automating Advent Calendar with Github Actions and Eleventy |
https://dev.to/eevajonnapanula/automating-advent-calendar-with-github-actions-and-eleventy-4fnp
|
Automating Advent Calendar with Github Actions and EleventyI ve always seen advent Christmas calendars as an interesting technical challenge How to build something that hides content until some specified time And to do that without client side JavaScript And automatically so I don t need to deploy the page daily manually This year I decided to take up the challenge and build an advent calendar After some consideration the concept was clear it would be in Finnish and about accessibility I have a Finnish Instagram account where I talk about accessibility so this combination made the most sense After that there was all the technical decisions and solving the problem above How to keep content hidden until the right time In this blog post I ll share how I solved that problem But first let s look into the stack I chose to use The StackThe calendar is built with Eleventy my go to choice when I want to create something that s not so complicated that I need to break it into smaller components Actually now that I think of it I d still take Eleventy my projects are usually simple Other than that I m using plain CSS and no client side JavaScript I love how you can do that with Eleventy So if you re wondering how I m doing not showing the content before the correct date No it s not with JavaScript It s a combination of Eleventy s features a private repository and Github Actions Let s talk about them next Hiding Content with EleventyI spent quite some time trying to come up with a solution that would solve my problem I could have used client side JavaScript but then again if I could solve that without it it would be great So I started doing some research Is there a way to prevent some pages from getting into the build Eleventy does After searching with some terms that did not give me good results I finally found the solution eleventyignore and having an unpublished directory containing the unpublished content Yes I felt a bit stupid after discovering this ignore file because that was not the first thing I thought I mean every JS project and package has one so why didn t I think about it straight away Well that happens I am sharing this because usually these blog posts are about results not progress Back to the story I now had a way to hide the following days The next thing was to write a script to move the current day s content from one folder unpublished to another As I ve been using Node for many years I used it for that I could have gone with the shell commands but my shell scripting skills are way rustier than Node skills so I went with the easiest solution After a while I had a small function to handle moving the file The function takes the current date as a parameter It checks if the unpublished folder contains a file with that date and moves it to the folder The next thing was to set up Github Action to run the script daily commit it to the main branch and rebuild the site Github ActionsFor the calendar app to work correctly there were three noteworthy aspects of writing the Github Action file Running the workflow dailyRunning the Node script mentioned in the previous sectionCommitting changes to the main branch For running the workflow daily I already had an example of a schedule event with cron in another project so that was a little copy paste Github has good documentation around triggering events on workflows and I wanted to run the workflow every night at UTC so these are the lines I used schedule cron The second task running the Node script was also straightforward Defining the script in package json´s scripts made it effortless to run in the workflow I used the shell scripts for the third task because I had an example of that in another project I first defined the committers email and name withgit config global user email updater bot git config global user name updater bot And after that I added the moved files and committed them withgit add unpublishedgit commit m Move day and finally pushed the branch to the main withgit push origin mainWhen the commit hit the main branch the project got rebuilt and the new changes were published The ContentWriting the content was the most fun and time consuming part of the project I decided to go with three types of content Information task and book recommendation I ended up having days of information seven days of tasks and three book recommendations My goal was to gather material from different sources with different types and mainly in Finnish And as I wanted to provide something new for a wider audience I avoided technical content Sharing the CalendarAt the beginning of December I shared the calendar on my social media accounts Instagram and LinkedIn The initial response was tremendous and showed in analytics there was a clear spike in the visits to the page Looking at the analytics there were shares on assumed work settings as some traffic came from Slack and Teams After the initial sharing I shared daily that day s content on my Instagram account I could have advertised the calendar way more but my December was so busy at work and I didn t have the energy It shows in the analytics most of the traffic came from Instagram Wrapping UpThis project was a fun one to complete It was also the first web project I ve created since switching to Android development so I was interested in seeing if I d totally forgotten how to web I hadn t but I still like Kotlin more than JavaScript Do you have technical challenges you ve been thinking about for a longer time and want to solve Or something seen as an intriguing challenge but not necessarily wanting to solve yourself |
2023-01-16 17:21:38 |
海外TECH |
DEV Community |
An Introduction to Remix IDE |
https://dev.to/shlok2740/an-introduction-to-remix-ide-16io
|
An Introduction to Remix IDE Remix IDERemix IDE is an open source online and desktop application A comprehensive selection of plugins with intuitive GUIs helps speed up development of Smart Contracts in Remix Remix is used for contract development as well as studying and teaching Ethereum Remix IDE is part of the Remix Project a framework for plugin based development tools It includes Remix Plugin Engine Remix Libs and Remix IDE Solidity contracts may be written using Remix IDE a sophisticated open source tool It s developed in JavaScript and works in both the browser and a desktop version Remix IDE offers components for smart contract testing debugging and deployment Remix IDE is used for the entire journey of smart contract development by users at every knowledge level It requires no setup fosters a fast development cycle and has a rich set of plugins with intuitive GUIs The IDE comes in flavors web app or desktop app and as a VSCode extension Use the following hyperlink to open the Remix IDE Remix Plugin Manager Remix IDE only loads required features The Plugin Manager is where you control which plugins are activated This plugin design allowed the Remix team to add technologies from other teams Also Remix or elements of Remix may be merged into other projects Remix File Explorer By default Remix IDE stores files in Workspaces which are folders in your browser s local storage Important Clearing the browser storage will permanently delete all the files stored there Important All the solidity files are stored under the contracts folder in the current workspace To create a new solidity file add a new file inside the contracts folder with sol extension To edit a solidity file click on the required sol file Remix Solidity Compiler The Solidity Compiler may be accessed from the icon panel by clicking the Solidity icon When you click the compile button the program compiles If you want the file to be compiled each time the file is saved or when another file is selected check the auto compile checkbox Deploying Smart Contracts and running transactions Remix IDE is a convenient tool for building and testing your solidity smart contracts online This short tutorial will explain how we can build and deploy our smart contract from Remix SPDX License Identifier GPL pragma solidity gt lt contract Destructor uint public num constructor uint num num num function doWork external selfdestruct payable function getNum public view returns uint return num Above we have a simple Destructor contract which was built and tested using the online Remix IDE To deploy this contract select the Deploy amp Run Transactions tab select injected Web as your environment This will connect to the network that your wallet is connected to Set the input value of the constructor function if your contract has one before deploying it Clicking on deploy will open Metamask which will ask you to confirm the transaction After confirming the transaction the contract will be deployed to the network For more content follow me on |
2023-01-16 17:07:03 |
Apple |
AppleInsider - Frontpage News |
Save up to 43% on memory cards & portable drives from SanDisk, Samsung & more |
https://appleinsider.com/articles/23/01/16/save-up-to-43-on-memory-cards-portable-drives-from-sandisk-samsung-more?utm_medium=rss
|
Save up to on memory cards amp portable drives from SanDisk Samsung amp moreAmazon is offering excellent deals on memory cards and external drives today from Samsung s T TB portable SSD for to a microSD adapter from BaseQi at just BaseQi adapter for MacBook ProMonday s best deals include storage devices and adapters from BaseQi Samsung SanDisk and others Through Amazon s latest sale bargain hunters can find plenty of discounts from microSD cards to solid state storage devices Below are a few of our favorites Read more |
2023-01-16 17:23:19 |
海外TECH |
Engadget |
High-powered lasers can be used to steer lightning strikes |
https://www.engadget.com/laser-guides-lightning-strikes-172716503.html?src=rss
|
High powered lasers can be used to steer lightning strikesLightning rods have been used to safely guide strikes into the ground since Benjamin Franklin s day but their short range roughly the same radius as the height and fixed in place design makes them ineffective for protecting large areas The technology may finally be here to replace them in some situations European researchers have successfully tested a system that uses terawatt level laser pulses to steer lighting toward a foot rod It s not limited by its physical height and can cover much wider areas ーin this case feet ーwhile penetrating clouds and fog The design ionizes nitrogen and oxygen molecules releasing electrons and creating a plasma that conducts electricity As the laser fires at a very quick pulses per second it s considerably more likely to intercept lightning as it forms In the test conducted between June and September lightning followed the beam for nearly feet before hitting the rod Researchers have been exploring laser lightning guides for years However experiments have typically been limited to much shorter distances and relatively slow pulses that were more likely to miss lighting as it formed Dr Aurélien Houard who helped lead the project told the Wall Street Journal that this laser shot times more pulses per second than in previous attempts It could be a long while before lasers are used beyond experiments The University of Glasgow s Matteo Clerici who didn t work on the project noted to The Journal that the laser in the experiment costs about billion dollars The discoverers also plan to significantly extend the range to the point where a foot rod would have an effective coverage of feet If the scientists succeed the breakthrough could make lightning protection viable across large areas This would be particularly useful for safeguarding rocket launchpads where lightning strikes can force mission delays if they re too close to the flight path They could also be helpful for protecting airports power plants forests and other sprawling locations where a strike could prove catastrophic |
2023-01-16 17:27:16 |
ニュース |
BBC News - Home |
UK government to block Scottish gender bill |
https://www.bbc.co.uk/news/uk-politics-64288757?at_medium=RSS&at_campaign=KARANGA
|
scottish |
2023-01-16 17:46:27 |
ニュース |
BBC News - Home |
Met Police officer David Carrick admits to being serial rapist |
https://www.bbc.co.uk/news/uk-england-beds-bucks-herts-64289461?at_medium=RSS&at_campaign=KARANGA
|
multiple |
2023-01-16 17:02:07 |
ニュース |
BBC News - Home |
Teachers from NEU union to strike in England and Wales |
https://www.bbc.co.uk/news/education-64265029?at_medium=RSS&at_campaign=KARANGA
|
strike |
2023-01-16 17:56:15 |
ニュース |
BBC News - Home |
Ukraine yellow kitchen: Shock at image of apartment wrecked by strike |
https://www.bbc.co.uk/news/world-europe-64290696?at_medium=RSS&at_campaign=KARANGA
|
missile |
2023-01-16 17:01:13 |
ニュース |
BBC News - Home |
Nepal plane crash: Briton among dozens who died |
https://www.bbc.co.uk/news/uk-64296707?at_medium=RSS&at_campaign=KARANGA
|
briton |
2023-01-16 17:17:43 |
ニュース |
BBC News - Home |
Italy's most-wanted Mafia boss Matteo Messina Denaro arrested in Sicily |
https://www.bbc.co.uk/news/world-europe-64288928?at_medium=RSS&at_campaign=KARANGA
|
mafia |
2023-01-16 17:45:19 |
ニュース |
BBC News - Home |
Teacher strikes: What parents need to know |
https://www.bbc.co.uk/news/education-64228696?at_medium=RSS&at_campaign=KARANGA
|
strikes |
2023-01-16 17:14:54 |
ニュース |
BBC News - Home |
The hunt for evidence at Andrew Tate's luxury Romanian villa |
https://www.bbc.co.uk/news/world-europe-64285341?at_medium=RSS&at_campaign=KARANGA
|
american |
2023-01-16 17:42:57 |
ニュース |
BBC News - Home |
Alessia Russo: Fifa Puskas award recognition 'huge' for women's game |
https://www.bbc.co.uk/sport/football/64294491?at_medium=RSS&at_campaign=KARANGA
|
Alessia Russo Fifa Puskas award recognition x huge x for women x s gameEngland striker Alessia Russo says it is huge for women s football that her goal is among those to be nominated for the Fifa Puskas award |
2023-01-16 17:02:59 |
ニュース |
BBC News - Home |
Women's Super League: Sam Kerr and Gabby George feature in best goals |
https://www.bbc.co.uk/sport/av/football/64297587?at_medium=RSS&at_campaign=KARANGA
|
Women x s Super League Sam Kerr and Gabby George feature in best goalsWatch the best goals from the latest round of the Women s Super League including a fine finish from Sam Kerr and an outstanding goal from Gabby George |
2023-01-16 17:33:55 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
英語のスピーキングが“一瞬でネイティブ”っぽくなる「たった1つの方法」 - 英語は「インド式」で学べ! |
https://diamond.jp/articles/-/315307
|
英語のスピーキングが“一瞬でネイティブっぽくなる「たったつの方法」英語は「インド式」で学べ英語話者の大半が“非ネイティブになった現代。 |
2023-01-17 02:55:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
「楽譜なしで伴奏が弾ける人」は、なにをどう弾いているのか?【書籍オンライン編集部セレクション】 - 楽譜がよめなくても90分でいきなりピアノが弾ける本 |
https://diamond.jp/articles/-/315970
|
解説 |
2023-01-17 02:50:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
「ニュージーランドってどんな国?」2分で学ぶ国際社会 - 読むだけで世界地図が頭に入る本 |
https://diamond.jp/articles/-/316155
|
|
2023-01-17 02:45:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
【英会話上達】 バカでもペラペラになる! 偏差値38以下からの英会話“上達メソッド” - バカでも英語がペラペラ! 超★勉強法 |
https://diamond.jp/articles/-/314315
|
【英会話上達】バカでもペラペラになる偏差値以下からの英会話“上達メソッドバカでも英語がペラペラ超勉強法英語とは縁遠い新潟の片田舎で生まれ育ち、勉強はからっきし苦手。 |
2023-01-17 02:40:00 |
海外TECH |
reddit |
Dehya Kit via Niana |
https://www.reddit.com/r/Genshin_Impact_Leaks/comments/10dkknu/dehya_kit_via_niana/
|
Dehya Kit via Niana submitted by u iqrar to r Genshin Impact Leaks link comments |
2023-01-16 17:17:17 |
コメント
コメントを投稿