IT |
ITmedia 総合記事一覧 |
[ITmedia Mobile] Nothing、「Phone (1)」に独自UI「Nothing OS 2.0」を提供 |
https://www.itmedia.co.jp/mobile/articles/2308/30/news184.html
|
ITmediaMobileNothing、「Phone」に独自UI「NothingOS」を提供英NothingTechnologyが「Phone」に独自UI「NothingOS」の提供を始めた。 |
2023-08-30 21:40:00 |
TECH |
Techable(テッカブル) |
仮想スクリーンでウェブ表示、高精度カメラ・ブレ補正機能搭載。多様な分野で役立つスマートグラス3選 |
https://techable.jp/archives/218503
|
連携 |
2023-08-30 12:00:48 |
Git |
Gitタグが付けられた新着投稿 - Qiita |
Git 基本コマンド |
https://qiita.com/Godfrey920/items/cf229b93573b85690f06
|
開発 |
2023-08-30 21:30:33 |
技術ブログ |
Developers.IO |
[レポート] SPTL204 Google Cloud データベースのアップデートまとめ #GoogleCloudNext |
https://dev.classmethod.jp/articles/sptl204-whats-next-for-google-cloud-databases/
|
cloud |
2023-08-30 12:39:05 |
技術ブログ |
Developers.IO |
[レポート] Postman Fukuoka Meetup 2023.8 #PostmanMeetup |
https://dev.classmethod.jp/articles/report-postman-fukuoka-meetup-2023-8/
|
postman |
2023-08-30 12:07:16 |
技術ブログ |
Developers.IO |
中国リージョンのEC2インスタンス料金リストを確認してみた |
https://dev.classmethod.jp/articles/aws-cn-region-ec2-pricing/
|
govcloud |
2023-08-30 12:06:45 |
海外TECH |
MakeUseOf |
5 Hidden New Safari Features in macOS Sonoma |
https://www.makeuseof.com/hidden-safari-features-macos-sonoma/
|
additions |
2023-08-30 12:56:34 |
海外TECH |
MakeUseOf |
10 Reasons Why Your iPhone Automatically Dims the Screen |
https://www.makeuseof.com/iphone-screen-dimming-automatically/
|
brightness |
2023-08-30 12:45:25 |
海外TECH |
MakeUseOf |
The Best Record Players for All Budgets |
https://www.makeuseof.com/tag/best-record-players/
|
players |
2023-08-30 12:30:24 |
海外TECH |
MakeUseOf |
AMD Announces FSR 3, But Will It Compete With NVIDIA's DLSS 3.5? |
https://www.makeuseof.com/amd-announces-fsr-3-but-will-it-compete-with-dlss-35/
|
AMD Announces FSR But Will It Compete With NVIDIA x s DLSS AMD just announced the latest version of its upscaling tech But is it actually worth its weight against what NVIDIA just announced |
2023-08-30 12:05:25 |
海外TECH |
MakeUseOf |
How to Extract Text From Images in Web Browsers |
https://www.makeuseof.com/browser-extract-image-text/
|
browsersneed |
2023-08-30 12:00:26 |
海外TECH |
DEV Community |
How To Build Custom, Reusable Web Components From Scratch |
https://dev.to/ubahthebuilder/how-to-build-custom-reusable-web-components-from-scratch-fbn
|
How To Build Custom Reusable Web Components From ScratchIn HTML there are so many elements we can use to mark up our web page But do you know that you can also create your own custom web component The biggest benefit of creating your own custom web components is that you get to define its own built in styling and functionality In addition you can easily reuse it at various places on your web page This article talks about the basics of creating a web component By the end of this article you ll have all the information you need to start creating your own web component from scratch Sidenote If you re new to learning web development and you re looking for the best resource to help with that I strongly recommend HTML to React The Ultimate Guide Setting up the web pageCreate a file named index html in an empty directory Then open it with a file editor and paste in the following code lt DOCTYPE html gt lt html lang en gt lt head gt lt meta charset UTF gt lt meta name viewport content width device width initial scale gt lt title gt Document lt title gt lt link rel stylesheet href main css gt lt script type module src main js gt lt script gt lt script type module src bigbang js gt lt script gt lt head gt lt body gt lt header gt lt h gt Basic Web Component lt h gt lt header gt lt main gt lt h gt Main area lt h gt lt h gt Web component below lt h gt lt main gt lt body gt lt html gt This is a web page with a header section and a main section with each section housing different levels of title headings Each one of these tags has a semantic meaning behind it In other words they clearly describe their meaning to both the browser and the developer These elements all have built in functionality and styling associated with them by the browser Web components on the other hand are your very own HTML elements When you re creating a custom element you have to define how you want to element to look and behave Let s see how Creating a basic web componentIf you check the section of your HTML markup in index html you can see that we re importing a JavaScript module named bigbang js This file is going to contain all the code responsible for creating our custom web component element Now open the file in a text editor and paste in the following code class BigBang extends HTMLElement constructor super window customElements define big bang BigBang Here defining a class that extends the HTMLElement class Inside this class is where you ll place all the code responsible for building the element On the last line we passed this class as the nd argument to the define method of customElements with the first argument being the tag name of the element This means that you could now use the custom element in HTML like this lt big bang gt lt big bang gt Keep in mind that there has to be a hyphen in your web component s tag name This helps to make it stand out as a custom component Now inside the constructor method of the BigBang class one of the things that you ll need is a shadow root This is like a container that s going to hold your component class BigBang extends HTMLElement constructor super const shadowRoot this attachShadow mode closed Because custom components can contain styling scripts and functionality we don t want those things spilling out and impacting the rest of the page In other words we don t want to define CSS here and have it change the way that the rest of the page looks The other way is fine though The rest of the page can have its styles cascade down into our component The shadow root creates some sort of sandbox around our element The open value means that the parent script i e main js can actually do things like document querySelector get inside of our custom component and see what the actual tags we re using inside it are If it s closed they can t Next inside the constructor create a div element with some text in it then attach the div to the shadow root class BigBang extends HTMLElement constructor super const shadowRoot this attachShadow mode closed const div document createElement div div textContent Big Bang Theory shadowRoot append div With this code you have just created a custom element To use the element in your markup go into index html and add the following element inside the H tag and under the main tag lt big bang gt lt big bang gt If you open the index html document in a web browser you ll find the custom element rendered on the page which renders the text Big Bang Theory The component also has text built into it so you don t have to pass anything between opening and closing tags as you would with most other HTML elements This leads to the next question How do we get things nested inside our custom web element The answer is slots Introducing SlotsSlots allow you to “slot content into your custom element by nesting it within the opening and closing tags of your element in HTML Let s see a bit of a demonstration At the top of the bigbang js file let s first create a template element const template document createElement template template innerHTML lt div gt lt h gt Big Bang Theory lt h gt lt div gt Then inside the constructor replace the entire code for creating and inserting the div element with that of the template class BigBang extends HTMLElement constructor super const shadowRoot this attachShadow mode closed Remove this const div document createElement div div textContent Big Bang Theory shadowRoot append div let clone template content cloneNode true shadowRoot append clone We basically cloned everything in the template and appended it to the shadow root If you check your browser you should find the text appearing on the page as an H Now is the time to slot in some actual content Inside the markup in index html put the following content between the lt big bang gt tags lt big bang gt lt h slot title gt Characters lt h gt lt ul slot list gt lt li gt Leonard lt li gt lt li gt Kingsley lt li gt lt li gt Sarah lt li gt lt li gt John lt li gt lt ul gt lt big bang gt If you want to be able to use nested content you need to give them a slot name as we did above Now back in your template in order to include these elements inside the template you need to add the tag for each of them const template document createElement template template innerHTML lt div gt lt h gt Big Bang Theory lt h gt lt slot name title gt Default text if no title slot lt slot gt lt slot name list gt lt slot gt lt div gt We also added a default title in case none is provided in the HTML This is the result slots highlighted in red ConclusionThat s all Just with HTML and a few lines of JavaScript you were able to create your very own web component Now there is more to this We can define styles behaviors and functionality I ll be tackling each of these in the coming articles So make sure to subscribe so you don t miss them If you re new to learning web development and you re looking for the best resource to help with that check out HTML to React The Ultimate Guide |
2023-08-30 12:31:06 |
海外TECH |
DEV Community |
5 types of fonts |
https://dev.to/stokry/5-types-of-fonts-5d20
|
types of fontsThere are many different types of fonts available each with their own unique style and purpose Here are five common types of fonts Serif Fonts Serif fonts have small lines or feet at the ends of each letter These fonts are often used in print materials such as books and newspapers because they are easy to read Playifair Source Serif Pro Garamond Noto serif PT Serif MerriweatherSans Serif Fonts Sans serif fonts do not have the small lines at the ends of each letter They are often used for digital materials such as websites and presentations because they are easy to read on screens Inter SF Pro Roboto Source sans pro General sans SupremeScript Fonts Script fonts mimic handwriting and are often used for invitations greeting cards and other formal documents They can be difficult to read in large blocks of text so they are typically used sparingly Figma hand Caveat Pacifico Great vibes Dancing script SatisfyDisplay Fonts Display fonts are designed to be eye catching and attention grabbing They are often used for headlines posters and logos Lobster Bangers Shrikhand Monoton Rametto one KnewaveMonospace Fonts Monospace fonts have the same width for every letter which makes them useful for coding and programming Each character takes up the same amount of space which makes it easier to read code and ensure that everything lines up correctly IBM Plex Mono Roboto Mono Andale Mono PT Mono Ubutnu MOno Jetbrains Mono ConclusionIn the diverse world of design fonts play a vital role in shaping how we perceive and interact with written content Each type of font brings its own personality and purpose to the table allowing designers to evoke emotions enhance readability and capture attention in unique ways Whether it s the timeless elegance of serif fonts the modern clarity of sans serif fonts the handcrafted charm of script fonts the bold statements of display fonts or the precision of monospace fonts the choices are limitless Your selection of fonts can transform a piece of text into an expressive masterpiece |
2023-08-30 12:19:24 |
海外TECH |
DEV Community |
Getting Started with Angular: A Step-by-Step Guide |
https://dev.to/doctdev/getting-started-with-angular-a-step-by-step-guide-3bce
|
Getting Started with Angular A Step by Step GuideHello there aspiring Angular developers Whether you re just stepping into the world of web development or looking to expand your skill set you ve come to the right place Welcome to the Angular Mastery Series where we re embarking on an exciting journey through the ins and outs of one of the most potent front end frameworks Angular This is the first article in this series Angular is more than just a framework it s a way to create dynamic and sophisticated web applications In this series I ll take you from the very basics of Angular to building real world projects that showcase your newfound skills My goal is to help you become a confident and skilled Angular developer capable of creating modern interactive and efficient applications Let s get started Tutorial OutlineIntroductionPrerequsitesSetting up our development environmentCreating a new angular projectBuilding the UI Creating ComponentsData Binding Connecting UI and DataHandling User Input Event BindingStyling the Application Adding Basic CSSRunning and Testing the ApplicationConclusion IntroductionAs I have explained at the beginning of this post angular is a popular framework used for building web applications It is primarily written in Typescript open source and provides single page transitions for web apps Why you should consider using Angular For your next projectAngular allows you to build scalable web apps So if you re thinking of a framework that has the capacity to handle heavier workloads as time goes on Angular is a goto Angular basically provides most of the libraries that you ll need to build your app This reduces the use of third party libraries These libraries have features that covers routing client server communication styling animations and so on Lastly for this article angular comes with development tools you ll need as you progress on your web app development stages From the development phase to the testing phase PrerequsitesTo successfully follow along I recommend you have a foundational knowledge of HTMLJavaScriptTypeScriptRecommended softwares are An IDE VS code Sublime text etc Node jsNPM Setting Up the Development EnvironmentYou can code your project in an online environnment like StackBlitz or CodeSandBox For this tutorial and subsequent ones I will be using my local environment setup You can follow along either way you prefer Configuring your local development environmentAfter installing Node js and NPM Node Package Manager the next thing is to set up your Angular workspace Install the CLI Command Line Interface npm install g angular cliThis would install the Angular CLI globally Creating a new angular projectFor this tutorial we re going to be building a todo app Sounds like a good place to start We ll tackle advanced projects as we progress in this series Open your code editor and then open the terminal Create a new folder for angular projects in your preferred location with the mkdir command mkdir Angular projectsThis would create a new folder Still in your terminal cd into the new folder you created and type the commandng new TodoAppThis would start creating our angular application ng is the command keyword for performing Angular operations It is used with other keywords We would use it a lot in our project To see the list of all available commands in your terminal run ng help You will be prompted with some questions Would you like to add Angular routing NoFor our basic todo app we would not be using angular routing Which stylesheet format would you like to use CSSClick enter to select an option Down arrow and up arrow keys for movement For this project I ll be using CSS but you can select your preferred option After these prompts Angular would start creating our todo app project If this was successful you should see a message that says packages successfully installed Open the folder you just created in a new window You should see the basic folder structure of an angular project Next we re going to start our application so that it runs in the browser Open a new terminal and run ng serve or npm start Either of them would run your appication Go to http localhost to see it We have successfully created our Angular project Building the UI Creating ComponentsIts time to create the components for our app Components are like building blocks for an application Instead of having a central component the app implementation is split into units This is one advantage of using Angular Our Todo application will have three components and the default app component making it four The first component would be the header The second is the todo list component where the app logic would be and the last is a footer component Below is a wireframe showing the way the components are divided cd into your src directory and then into your app directory Create a components folder mkdir components Next cd into the components folder you just created To create the first component run the commandng generate component headerThis would generate the Header component Similarly runng generate component todolistng generate component footerng generate component can be shortened to ng g c If you check your components folder you should see the new components You may have noticed that each of the components have four files file component css This is where your CSS code will be file component html This is where the content that would be displayed on the webpage would be file component spec ts This is the test file for this component You don t need to edit it file component ts This is the typescript file where the logic of the component would be Your CSS file should be blank Your HTML file should show a p tag and your ts file should show be like this import Component from angular core Component selector app header templateUrl header component html styleUrls header component css export class HeaderComponent The first line just imports the Component decorator from the angular core module It is used to define Angular components You ll see it in every component We re going to start by clearing out the default files |
2023-08-30 12:00:46 |
Apple |
AppleInsider - Frontpage News |
Early iPhone 15 Pro production problems appear to have been solved |
https://appleinsider.com/articles/23/08/30/early-iphone-15-pro-production-problems-appear-to-have-been-solved?utm_medium=rss
|
Early iPhone Pro production problems appear to have been solvedAs the September iPhone event draws closer analyst Ming Chi Kuo spells out what production problems the Pro models faced and what are still challenges for Apple iPhone Pro could come in blueThe report by Ming Chi Kuo published on Wednesday morning details that Apple had some initial issues with nearly every aspect of the new design Main issues are said to be stacked CIS panels batteries and titanium frames Read more |
2023-08-30 12:54:30 |
Apple |
AppleInsider - Frontpage News |
This may be the best look yet at the iPhone 15 color assortment |
https://appleinsider.com/articles/23/08/30/this-is-the-best-look-yet-at-the-iphone-15-color-assortment?utm_medium=rss
|
This may be the best look yet at the iPhone color assortmentA new set of images shown by a leaker with an excellent track record appear to show the regular iPhone in five quite muted colors Leak claims five colors for the new iPhone range Source Sonny Dickson It s previously been reported that the iPhone will be available in green and one of the five shown in the new images could be a particularly light green Read more |
2023-08-30 12:47:53 |
海外TECH |
Engadget |
Apple's Mac Mini M2 falls back to $499 |
https://www.engadget.com/apples-mac-mini-m2-falls-back-to-499-122043112.html?src=rss
|
Apple x s Mac Mini M falls back to If you re looking to up your Mac s processing power by forking out now s your chance Apple s Mac Mini M is marked down percent right now at B amp H dropping its price to This is about the best price we ve seen since it went on sale back in January The Mac Mini M is a top performing addition to any Apple computer we gave it an in our review coming a long way since the first Mini debuted back in The first big upgrade came via the Mini M in but the M took things to another level with eight CPU cores GB of RAM and ten graphic cores Its aluminum box frame mirrors its predecessor but it has a slightly lifted base to allow for greater airflow The processor is also loaded with usable ports including two USB A two Thunderbolt USB C HDMI a headphone jack and gigabit Ethernet However it is lacking any front facing options You have a couple of days to decide whether to make the leap and pick up a Mac Mini M as the sale is on through Friday September st 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-08-30 12:20:43 |
海外TECH |
Engadget |
How to take a screenshot on an iPad |
https://www.engadget.com/how-to-take-a-screenshot-on-ipad-120059001.html?src=rss
|
How to take a screenshot on an iPadIf you ve recently bought an iPad and now use it for everything you probably have run into a case where you ve needed to take a screenshot You can do that on any iPad but the steps are different depending on the model you have If your iPad has a home button or not there are a couple of tricks to remember for taking screenshots If you have an Apple Pencil it s easy to take a screenshot with it and quickly edit the image ーand there s even a virtual home button that can help you too Here are all of the ways you can take a screenshot on an iPad How to take a screenshot on an iPad without a home buttonLike the latest iPhones most of the newest iPad models like the iPad mini don t have a home button So how do you take a screenshot You can still use the physical buttons on the iPad to do this press the power button and either of the volume buttons at the same time The screen will flash and a preview of the screenshot will appear in the bottom left corner of the screen To edit the image tap on the preview and work from there Otherwise you can find the screenshot in your Photos app How to take a screenshot with a home buttonOlder iPads come with a physical home button so taking a screenshot on these devices is a little different Press the power and home buttons at the same time the screen will flash and the screenshot will appear in your Photos app How to take a screenshot with AssistiveTouchThere s also a way to take a screenshot on an iPad without using any buttons Go into Settings gt Accessibility gt Touch and turn Assistive Touch on Click on Double Tap and customize that setting to take a screenshot A virtual home button will then appear on the right side of your screen Quickly tap that button twice to take a screenshot Photo by Julia Mercado EngadgetA bonus for Apple Pencil usersWith an Apple Pencil swipe up from the bottom left corner of your screen to take a screenshot An editing menu will open automatically and from there you can annotate and mark up the image with the Pencil using several brush options Tap Done and Save to finish editing This article originally appeared on Engadget at |
2023-08-30 12:00:59 |
ニュース |
BBC News - Home |
Criminals to be forced to attend sentencing hearings after Lucy Letby calls |
https://www.bbc.co.uk/news/uk-66660136?at_medium=RSS&at_campaign=KARANGA
|
ensure |
2023-08-30 12:49:29 |
ニュース |
BBC News - Home |
Girl, two, dies after being hit by car at Littleport holiday park |
https://www.bbc.co.uk/news/uk-england-cambridgeshire-66656773?at_medium=RSS&at_campaign=KARANGA
|
daughter |
2023-08-30 12:22:27 |
ニュース |
BBC News - Home |
It's not credible for UK to disengage with China, says Cleverly |
https://www.bbc.co.uk/news/uk-politics-66656443?at_medium=RSS&at_campaign=KARANGA
|
approach |
2023-08-30 12:43:18 |
ニュース |
BBC News - Home |
Police officer killed on railway was 'everything you want in an officer' |
https://www.bbc.co.uk/news/uk-england-nottinghamshire-66655129?at_medium=RSS&at_campaign=KARANGA
|
colleague |
2023-08-30 12:13:16 |
ニュース |
BBC News - Home |
Families worry over cancelled flight expense costs |
https://www.bbc.co.uk/news/business-66657176?at_medium=RSS&at_campaign=KARANGA
|
travel |
2023-08-30 12:43:27 |
ニュース |
BBC News - Home |
England women's match fees increased to equal men's by England and Wales Cricket Board |
https://www.bbc.co.uk/sport/cricket/66653971?at_medium=RSS&at_campaign=KARANGA
|
effect |
2023-08-30 12:11:57 |
ニュース |
BBC News - Home |
PFA awards: Lauren James feels 'privileged' to win young player award |
https://www.bbc.co.uk/sport/av/football/66660187?at_medium=RSS&at_campaign=KARANGA
|
PFA awards Lauren James feels x privileged x to win young player awardChelsea and England forward Lauren James says she feels privileged to win the PFA women s young player of the year award |
2023-08-30 12:11:55 |
コメント
コメントを投稿