IT |
ITmedia 総合記事一覧 |
[ITmedia News] フロム、ゲーム配信ガイドラインを更新 YouTubeの「Super Thanks」利用に注意喚起 |
https://www.itmedia.co.jp/news/articles/2203/16/news165.html
|
itmedia |
2022-03-16 20:15:00 |
TECH |
Techable(テッカブル) |
食品・日用品を20分以内にお届け! デリバリー専門スーパー立ち上げを目指すMeshに注目 |
https://techable.jp/archives/175413
|
食品 |
2022-03-16 11:00:39 |
AWS |
AWS Startups Blog |
How Emerald Cloud Lab Is Revolutionizing the Laboratory Using AWS |
https://aws.amazon.com/blogs/startups/how-emerald-cloud-lab-is-revolutionizing-the-laboratory-using-aws/
|
How Emerald Cloud Lab Is Revolutionizing the Laboratory Using AWSEmerald Cloud Lab ECL provides access to a highly automated laboratory equipped with over unique pieces of scientific instrumentation to any scientist with a computer and internet connection As their cloud lab expands to meet growing demand they ve faced a growing need for scalable on demand compute To address this growth ECL built Manifold a microservices based architecture that runs on AWS Fargate |
2022-03-16 11:36:33 |
AWS |
AWS Japan Blog |
AWS Week in Review – 2022 年 3 月 14 日 |
https://aws.amazon.com/jp/blogs/news/aws-week-in-review-march-14-2022/
|
この投稿の最後では、その日に発表された興味深い事実とお楽しみを記載しています。 |
2022-03-16 11:13:27 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
IT業界1年目のコーダが使ってみて、作業効率爆上がったと感じたおすすめツール |
https://qiita.com/phpmykiyomin/items/6656f13acc16bc3c0fd3
|
使ってみると喉にささった魚の小骨が取れるくらい、スッキリしながら作業進められますよ参考にしているサイトエラーの英文読めない公式ドキュメントオール英語読めない時はコピペ翻訳です笑google翻訳より好きdeeplflexboxのプロパティについて思い出せない時flexboxチートシートhtmlの入れ子のルールが分からない時HTML入れ子チートシートcssGridLayoutの書き方が分からない時CSSグリッドジェネレーター欲しい情報が個人HPや企業のブログ等でヒットしたら、理解を深めるためにドキュメントで確認するMDNWebDocsおまけ最近やっとJSONに触れる機会が多くなってきたので、、、JSONデータを読みやすくしてくれますjsonformatterツールピクセルパーフェクトを目指すためにXDやAiデータを元におおよその値でマークアップした後、ブラウザ拡張ツール「PerfectPixel」を使うようにしたところマークアップする速度も上がりました素早くスタイルを記述するためにSassを使ってCSSを書くのがメチャクチャ効率的に感じます。 |
2022-03-16 20:36:40 |
Linux |
Ubuntuタグが付けられた新着投稿 - Qiita |
Ubuntu でサウンドデバイスが認識されなくなったときの解決 |
https://qiita.com/ytkt/items/d426e0d12f18cd8be92a
|
easierpulseaudiowikipedia |
2022-03-16 20:40:22 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
【Docker/Docker Compose】no matching manifest for linux/arm64/v8への対処法 |
https://qiita.com/iloveomelette/items/d50bea6d46494b061a24
|
DockerfileFROMmysqlmysqlserverlatest参考DOCKERCOMMUNITYFORUMS上記の違いとしてはdockercomposeymlに記載しているCPUアーキテクチャが異なります。 |
2022-03-16 20:51:53 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
【Rails】 scaffoldを使ってアプリ作成。 |
https://qiita.com/mochi93kou/items/6243424ffdceab6df765
|
【Rails】scaffoldを使ってアプリ作成。 |
2022-03-16 20:54:54 |
技術ブログ |
Mercari Engineering Blog |
Mercari now Sponsoring Python and PHP |
https://engineering.mercari.com/blog/entry/20220315-mercari-now-sponsoring-python-and-php/
|
hellip |
2022-03-16 12:48:22 |
技術ブログ |
Developers.IO |
Elasticsearchをバージョンアップしたら検索結果が変わった話 |
https://dev.classmethod.jp/articles/impact-of-upgrade-to-elasticsearch/
|
elasticsearch |
2022-03-16 11:41:23 |
海外TECH |
DEV Community |
MQTT Mobile App to Pulsar via MQTT |
https://dev.to/tspannhw/mqtt-mobile-app-to-pulsar-via-mqtt-2mdf
|
MQTT Mobile App to Pulsar via MQTT FLiP OwnTracks MQTTMQTT Phone App to Pulsar via MQTT is a cool app you can use to send your location over HTTP or MQTT We will use MQTT which is actually MoP MQTT on Pulsar to my Pulsar cluster For a no code ingest of Location DataSo the cool thing is all you have to do is point to the cluster via the MQTT Port and the app will send location data to a topic Now that it is in Apache Pulsar I can query it with Pulsar SQL Trino Presto SQL Or I can build an Apache Spark app for ETL I can also write continuous SQL in Apache Flink for real time streaming analytics on that location stream Easy Maps of Travel Configure MQTT Settings Runs persistent public default owntracks Fuser FBCBD AF EE BD CBCBC root pulsar opt demo apache pulsar bin pulsar client consume persistent public default owntracks Fuser FBCBD AF EE BD CBCBC s owntrax n T pulsar client io INFO org apache pulsar client impl ConnectionPool id xe L R localhost Connected to server T pulsar client io INFO org apache pulsar client impl ConsumerStatsRecorderImpl Starting Pulsar consumer status recorder with config topicNames persistent public default owntracks Fuser FBCBD AF EE BD CBCBC topicsPattern null subscriptionName owntrax subscriptionType Exclusive subscriptionMode Durable receiverQueueSize acknowledgementsGroupTimeMicros negativeAckRedeliveryDelayMicros maxTotalReceiverQueueSizeAcrossPartitions consumerName null ackTimeoutMillis tickDurationMillis priorityLevel maxPendingChunkedMessage autoAckOldestChunkedMessageOnQueueFull false expireTimeOfIncompleteChunkedMessageMillis cryptoFailureAction FAIL properties readCompacted false subscriptionInitialPosition Latest patternAutoDiscoveryPeriod regexSubscriptionMode PersistentOnly deadLetterPolicy null retryEnable false autoUpdatePartitions true autoUpdatePartitionsIntervalSeconds replicateSubscriptionState false resetIncludeHead false keySharedPolicy null batchIndexAckEnabled false ackReceiptEnabled false poolMessages true maxPendingChuckedMessage T pulsar client io INFO org apache pulsar client impl ConsumerStatsRecorderImpl Pulsar client config serviceUrl pulsar localhost authPluginClassName null authParams null authParamMap null operationTimeoutMs lookupTimeoutMs statsIntervalSeconds numIoThreads numListenerThreads connectionsPerBroker useTcpNoDelay true useTls false tlsTrustCertsFilePath tlsAllowInsecureConnection false tlsHostnameVerificationEnable false concurrentLookupRequest maxLookupRequest maxLookupRedirects maxNumberOfRejectedRequestPerConnection keepAliveIntervalSeconds connectionTimeoutMs requestTimeoutMs initialBackoffIntervalNanos maxBackoffIntervalNanos enableBusyWait false listenerName null useKeyStoreTls false sslProvider null tlsTrustStoreType JKS tlsTrustStorePath tlsTrustStorePassword tlsCiphers tlsProtocols memoryLimitBytes proxyServiceUrl null proxyProtocol null enableTransaction false socksProxyAddress null socksProxyUsername null socksProxyPassword null T pulsar client io INFO org apache pulsar client impl ConnectionPool id xbae L R localhost Connected to server T pulsar client io INFO org apache pulsar client impl ClientCnx id xbae L R localhost Connected through proxy to target broker at T pulsar client io INFO org apache pulsar client impl ConsumerImpl persistent public default owntracks Fuser FBCBD AF EE BD CBCBC owntrax Subscribing to topic on cnx id xbae L R localhost consumerId T pulsar client io INFO org apache pulsar client impl ConsumerImpl persistent public default owntracks Fuser FBCBD AF EE BD CBCBC owntrax Subscribed to topic on localhost consumer T pulsar client io INFO com scurrilous circe checksum CrccIntChecksum SSE CRCC provider initialized got message key null properties content type location acc alt batt bs BSSID d cd a conn w lat lon m p SSID FiOS QHWR G t u tid tst vac vel got message key null properties content type location acc alt batt bs BSSID d cd a conn w lat lon m p SSID FiOS QHWR G t u tid tst vac vel got message key null properties content type location acc alt batt bs BSSID d cd a conn w lat lon m p SSID FiOS QHWR G t u tid tst vac vel got message key null properties content type location acc alt batt bs BSSID d cd a conn w lat lon m p SSID FiOS QHWR G t u tid tst vac vel got message key null properties content type location acc alt batt bs BSSID d cd a conn w created at lat lon m p SSID FiOS QHWR G t t tid tst vac vel T pulsar timer INFO org apache pulsar client impl ConsumerStatsRecorderImpl persistent public default owntracks Fuser FBCBD AF EE BD CBCBC owntrax ebed Prefetched messages Consume throughput received msgs s Mbit s Ack sent rate ack s Failed messages batch messages Failed acks got message key null properties content type location acc alt batt bs BSSID d cd a conn w lat lon m p SSID FiOS QHWR G t u tid tst vac vel got message key null properties content type location acc alt batt bs BSSID d cd a conn w lat lon m p SSID FiOS QHWR G t u tid tst vac vel Not Map |
2022-03-16 11:50:23 |
海外TECH |
DEV Community |
Best programming languages for Blockchain app development |
https://dev.to/asuhel/best-programming-languages-for-blockchain-app-development-4m53
|
Best programming languages for Blockchain app development SolidityInfluenced by JavaScript Powershell and C Solidity is the first blockchain programming language that one must learn Especially when you want to develop dApps or are looking to get into the ICO development game The Solidity blockchain programming language was developed by Vitalik Buterin the mastermind behind Ethereum It serves blockchain development firms with a myriad of benefits such as Developer friendliness Accessibility to JavaScript infrastructures debuggers and other tools Statically typed programming Possibility of inheritance properties in smart contracts Precise accuracy JavaJava the official language of android application development and a preferred option for backend development is also considered one of the top blockchain programming languages used for Blockchain development The language is derived from C syntax and is widely chosen for building sophisticated smart contracts and dApps because of its following properties Robust support for OOP Object Oriented Programming methodology Ease of memory cleaningAvailability of ample librariesPythonBlockchain programming in Python has not only ruled the world of app development IoT app development and network servers development but is also proving to be an asset in the Blockchain as a service arena The language created in is widely used for dApps and Smart Contracts development because of the exceptional features it offers Some of those features of blockchain coding in Python include Blockchain programming in Python language is easy to learnAccess to dynamic architecturePerfect for both base and scripting approaches Open source supportBlockchain coding in python is efficient for prototypingSteem Hyperledger Fabric and NEO are a few popular Python based Blockchain projects that are prevailing in the industry |
2022-03-16 11:39:46 |
海外TECH |
DEV Community |
How Vue Components Work |
https://dev.to/smpnjn/how-vue-components-work-jap
|
How Vue Components WorkComponents let us split parts of our site into reusable pieces which we can then place in multiple places This can be incredibly powerful and ultimately means reduced workload as we can reuse code extensively You can easily imagine a Vue Component tree that looks a little like the image below Here we have a two pages Home and About Within each we have a reusable component MyDropdown which we use twice Since Vue components are so powerful let s take a look at how they work and some things you may not know If you re brand new to Vue start with our guide on getting started first How to create a Component with VueVue components look like any other single file Let s start by making a basic component In this example I ve made a file in our components folder called Hello vue lt template gt lt div id hello main gt Hello lt div gt lt template gt lt script gt export default name Hello lt script gt lt style scoped gt hello main color green font weight lt style gt In this basic example we are creating a component called Hello and it will produce a div containing the text Hello in green Let s now say I have a page called Home vue and want to use this component on that page We need to import our component and assign it to our Javascript Home vue lt template gt lt We can use Hello here since we mentioned it in our components gt lt Hello gt lt Hello gt lt Hello gt lt template gt lt script gt First import our component from Home vue import Hello from components Home vue export default components Then add it to our components list now we can use it in our template tag Home lt script gt Since we imported our component from Hello vue and added it to our components list we can now use it freely as the HTML tag lt Home gt anywhere on our Home vue page Now we know how to create basic components in Vue let s look at how to modify and adjust them Adding Props to your ComponentsJust like regular HTML tags you can add properties to your components Let s add a property to our Hello vue component and use it in our template Below we will add the prop text to our list of props with type String Now we can use it anywhere in our template As such I ve replaced the text of our hello main div with that prop lt template gt lt div id hello main gt text lt div gt lt template gt lt script gt export default name Hello props text String lt script gt lt style gt hello main color green font weight lt style gt Now if we want to use this prop in our Home vue page with a custom prop we can do this by calling the component along with the prop lt template gt lt We can use Hello here since we mentioned it in our components gt lt Hello text Hello gt lt Hello text Guten Tag gt lt Hello text Bonjour gt lt template gt Now each of these Hello components will have different text Hello Guten Tag and Bonjour all in green and in bold TemplatingIf you are brand new to Vue it might help to look at my guide to templating which will help when building new components in Vue Using Slots in your Vue TemplatesSometimes you will want to put content within your components similar to how you might put text between two tags To do that we use slots Let s try adding a slot instead to our Hello vue component lt template gt lt div id hello main gt lt slot gt lt slot gt lt div gt lt template gt lt script gt export default name Hello lt script gt lt style scoped gt hello main color green font weight lt style gt Now that we have placed a slot in our component we can put content within our lt Hello gt tag in our Home vue file lt template gt lt We can use Hello here since we mentioned it in our components gt lt Hello gt Hello lt Hello gt lt Hello gt Guten Tag lt Hello gt lt Hello gt Bonjour lt Hello gt lt template gt Now we have three hello elements all production green bold text saying Hello Guten Tag and Bonjour Using multiple slots in Vue ComponentsWe can have multiple slots in our Vue component we simply have to name them For example instead of writing just lt slot gt we could write lt slot name header gt for a slot named header Let s update our Hello vue component to have two slots lt template gt lt div id hello main gt lt h gt lt slot name header gt lt slot gt lt h gt lt div id hello main content gt lt slot name body gt lt slot gt lt div gt lt div gt lt template gt lt script gt export default name Hello lt script gt lt style scoped gt hello main h color green font weight hello main hello main content font size rem color rgba lt style gt Now we have two slots one called body and another called header If we want to use our component in our Home vue page now we just have to call out which slot we re defining like so lt template gt lt hello gt lt template v slot header gt Welcome lt template gt lt template v slot body gt Welcome to our site lt template gt lt hello gt lt template gt Now our first slot header will contain the text Welcome while our second body will contain the text Welcome to our site Using Kebab Case Components in VueWhen we import a component in Vue we usually do it with PascalCase So if we are importing a component called DropDownMenu we might do this lt script gt import DropDownMenu from components DropDownMenu vue export default components DropDownMenu lt script gt When we use it in our HTML however we can use it either as DropDownMenu or in kebab case i e drop down menu For example both of these would refer to DropDownMenu lt template gt lt DropDownMenu gt lt drop down menu gt lt template gt Dynamic Components in VueAlthough we sometimes want to specify a component in particular it can also be useful to programatically set a component dynamically We can do this in Vue using the lt component gt tag Suppose we have two components Hello and GoodBye and we want to change it based on the variable in our data function First we can change how it looks in our template and use the lt component gt tag instead lt template gt lt component is selectedComponent gt lt component gt lt template gt The above code will refer to the selectedComponent variable in our data function or a prop called selectedComponent Now let s look at our Javascript lt script gt import Hello from components Hello vue import GoodBye from components GoodBye vue export default data return selectedComponent Hello components Hello GoodBye lt script gt selectedComponent is a string but it refers to one of our components Since we are referring to our component in our lt template gt as lt component is selectedComponent gt if we update our selectedComponent variable to GoodBye then the component displayed will change |
2022-03-16 11:39:12 |
海外TECH |
DEV Community |
Fundamentals of Short-circuiting with JavaScript |
https://dev.to/ranjansushant/fundamentals-of-short-circuiting-with-javascript-5cnj
|
Fundamentals of Short circuiting with JavaScriptConditional blocks are an integral part of any programming language The same goes for JavaScript As beginners we are taught to either use if else blocks or switch case statements to control the flow of our program As we move ahead we encounter ternary operators which can be used in place of single if else blocks to write cleaner code But when the code doesn t require an else block using a ternary kind of becomes redundant and the concept of DRY Don t Repeat Yourself kicks in This is where short circuiting comes in Short circuiting is basically using logical operators to write flow control logic or render things conditionally Logical OperatorsLogical Operators are used for connecting two expressions and return true or false depending on the expression The logical operators we are interested in for short circuiting purposes are amp amp and pipe symbol above the Enter key These operations come from Boolean algebra will help us understand why short circuiting works the way it does amp amp The logical AND operatorThe behavior of an AND operator is shown in below truth table InputInputOutputFor our purposes is false and is true If we look closely at the first two rows we can see that AND doesn t really care whether the second input is true or false if the first input is false and the output becomes false For better understanding we can condense the above table as follows InputInputOutputXHere “X denotes that AND doesn t care about the input value so we don t as well Hence if Input is falsy we don t need to check the second and can immediately say that the output will be false However if Input is true then we need to check the Input to decide what the output of our AND operation will be This same logic is used in JavaScript and other programming languages to assign values conditionally using lesser code let allowLogin userExists amp amp passwordIsCorrectIn the above code snippet the passwordIsCorrect will only be checked if the userExists variable has a truthy value If userExists has a falsy value allowLogin will simply be assigned false because the value of passwordIsCorrect doesn t matter anymore The logical OR operatorThe behavior of an OR operator is shown in below truth table InputInputOutputFor our purposes is false and is true If we look closely at the first two rows we can see that OR doesn t really care whether the second input is true or false if the first input is true and the output becomes true For better understanding we can condense the above table as follows InputInputOutputXHere “X denotes that OR doesn t care about the input value so we don t as well Hence if Input is truthy we don t need to check Input and can immediately say that the output will be true However if Input is falsy then we need to check the Input to decide what the output of our OR operation will be This same logic is used in JavaScript and other programming languages to assign values conditionally using lesser code let displayName userName guest In the above code snippet the displayName will be assigned the value of guest if the userName variable has a falsy value If userName has a truthy value displayName will simply be assigned the value of userName |
2022-03-16 11:35:30 |
海外TECH |
DEV Community |
Customizing Codespaces |
https://dev.to/xpirit/customizing-codespaces-4mnl
|
Customizing CodespacesYou ve probably had this situation at least once on your career you join a new team and it takes you at least days to finally get the build to succeed on your local machine the tests to pass the application to launch without issues and for the debugger to work There s a document somewhere or in the projects wiki with a lot of steps and the last person who walked through it did so months ago Situations like this cost precious time and are a big source of frustration Some companies solve this by having you work on a Virtual Machine either locally on Hyper V or remotely in a datacenter or the cloud This solves quite a few problems but the cost is often prohibitive and I ve personally never liked having to work inside a remote desktop often on a machine that was shared with others while my own desktop has twice the power GitHub Codespaces provides a solution for many of these issues What is CodespacesFor most people Codespaces can be described as Visual Studio Code in the browser Yet it s much more It s a cloud based container platform for developers to run their complete development environment When you launch Codespaces from an enabled repository or organization by default it launches a version of Visual Studio Code with all the latest developer tools pre installed for just about every popular programming language And developers can write their code run their tests and even run and debug their application inside the browser And while Codespaces runs in the cloud your editor “runs inside of your browser or inside of a local instance of Visual Studio Code Code Spaces are hosted in Azure and Visual Studio Code uses Remote Containers to connect All changes made to the Codespace s filesystem are automatically captured Even when your Codespace is paused it will resume right where you left off Interesting use casesIn the past few months we have used Codespaces to deliver online interactive workshops where participants could get started with new technology and tools they had never used before without installing anything to their local laptops This greatly simplified the preparations for the workshop and completely took away the need for pre provisioned workstations We ve configured Codespaces for internal projects so that all it takes for a developer to contribute to the project is to start the Codespace and wait a few seconds for the Codespace to start From this point forward they can change the code run the tests and run a local instance without having to configure anything locally and without any interference with any of their ongoing projects I m personally considering adding a Codespace configuration to most of my open source projects to make it much easier for people to contribute We plan to leverage Codespaces for the upcoming Global DevOps Bootcamp so that every participant has access to a fast and pre configured IDE in the cloud regardless of their own hardware and circumstances hopefully enabling many more people to participate in the event Getting StartedTo start using Codespaces you don t need to know how to create your own image There is a large list of starter containers available and the default container has tools for just about every popular programming language pre installed Just click the “New Codespace button in your repository to open the repository in a new instance of Visual Studio Code inside your browser Creating a new CodespaceWhile the default image is convenient it s also a bit big and probably has many tools installed you re unlikely to ever use To pick one of the other available images choose the “Add Development Container Configuration Files… from the command paletteAdd Development Container Configuration Files And choose the container image you want to use When in doubt pick the “GitHub Codespaces Default A complete overview of all the images and what s installed on them can be found on GitHub Choose the container image matching your environmentVisual Studio Code will add several files to your repository and then prompts you to rebuild the Codespace Visual Studio Code will detect when the configuration for your codespace has been updatedNote In case you missed the prompt you can always manually trigger a rebuild from the command palette Ctrl Shift P This can also be useful when you want to make multiple changes and then rebuild the Codespace Rebuild a Codespace after changing its configuration filesYou ll see a new folder in your repository containing these new files devcontainer devcontainer json and devcontainer DockerFile These files are used to store most of the settings of your Codespace Anatomy of a CodespaceThe configuration of your Codespace is stored in several places You ve already seen the first two in the devcontainer folder But there are more Let s go over them to see what they are devcontainer devcontainer jsonThe devcontainer json is the main configuration file for your Codespace It contains environment variables extensions docker volume mounts and a few other settings It also points to the container image used to run your development container The default points to the DockerFile in the same directory but you can also reference any image from a docker repository of your choice The devcontainer json can also be used to run one of many commands after Visual Studio Code has launched At this point your git repository contents will also be available devcontainer DockerFileThe DockerFile is used to select the base image and to optionally install additional tools into your container By default it s a simple pointer to the image you selected when you had Visual Studio Code add the Development Container Configuration Files to your repository Your GitHub profileAdditional settings such as themes keyboard bindings snippets and globally installed extensions can be synced with your GitHub profile into your Codespace by turning on Settings Sync Turn on Settings SyncCodespaces will ask what settings to synchronize and will ask what to do in case there are conflicting settings Merge or replace local settingsSome customizations like keyboard bindings can only be configured through Settings Sync or through Visual Studio Code extensions Your dotfiles repositoryIn your personal GitHub settings you can configure a repository containing your Linux dotfiles These can be used to configure your default shell your preferred editor and many other settings of your Linux user profile Configure your dotfiles repository on GitHub Codespaces SecretsYou may need to access other resources from your Codespace such as a GitHub Container Registry Cloud resources etc To prevent accidentally committing these secrets to your repository it s recommended to not store these credentials on the filesystem Instead store them in Codespaces Secrets When a Codespace starts there secrets are made available as environment variables Secrets can be stored on multiple levels Repository most specific User SettingsOrganization Settings least specific The most specific level will be used by your Codespace Note Whenever a secret is updated you must rebuild your Codespace for these changes to take effect Unfortunately there is no indication this is required from inside your Codespace Note You can t store secrets with a key that starts with GITHUB Which is unfortunate since some tools expect that In that case you ll need to copy the value from a different name to the reserved name after the Codespace has started There are special secrets to allow access to private docker repositories These must be named CONTAINER REGISTRY PASSWORD CONTAINER REGISTRY SERVER CONTAINER REGISTRY USERNAMEWhere is a custom label to identify the container registry e g MYGHCR Common scenariosThe most common reason to customize your Codespace is probably the need to install additional tools that are required for your development process or changing the set of installed extensions Every time you make changes you can immediately test them by rebuilding your Codespace When you are satisfied with your changes commit your changes to the repository to persist them and to share them with the world Installing additional toolsWhile the default Codespace container has many things installed you may need to add something extra to it Either a custom built tool or something that requires a license to run You can add these by editing the DockerFile in the devcontainer folder FROM mcr microsoft com vscode devcontainers universal focalUSER rootRUN apt get update USER CodespaceRUN az extension add name azure devopsYou can run commands at the container level USER root or at the user level USER Codespace Addin g extensionsThe list of extensions to install is stored in the devcontainer json You can manually add extensions to the list and then rebuild then your Codespace Manually add an extension to the devcontainer jsonBut there is an easier way to achieve this When you re inside your Codespace you can add the extension from the Extensions Marketplace Add an extension through the Extension MarketplaceFind the extension you need then add it to the devcontainer json from the cogwheel menu Caching containers inside the CodespaceOne of the great advantages of Codespaces is that you can get started on a project quickly with the click of a button Once the Codespace has started you can pull additional images so they re cached locally postCreateCommand docker pull ghcr io jessehouwing mycustom cli latest amp amp To pull the image from a private repository add the previously mentioned CONTAINER REGISTRY secrets Storing the Codespace container in GitHub Container RegistryIt may not be desirable to build your container from scratch each time it s started up and you may not want to store the container in a publicly accessible location In that case you can store your container in GitHub Container Registry and grant access to Codespaces First build and tag your container image gt docker build Building s FINISHED gt internal load build definition from Dockerfile s gt gt transferring dockerfile B s gt internal load dockerignore s gt gt transferring context B s gt internal load metadata for mcr microsoft com vscode devcontainers universal linux s gt FROM mcr microsoft com vscode devcontainers universal linux s gt CACHED RUN az extension add name azure devops s gt exporting to image s gt gt exporting layers s gt gt writing image sha aadfadeebdfcbbafededebcbbf sTag and publish the image to GitHub Container Registry gt docker tag aadfadeebdfcbbafededebcbbf ghcr io jessehouwing Codespaces demo latest gt docker push ghcr io jessehouwing Codespaces demo latestThe push refers to repository ghcr io jessehouwing Codespaces demo ……latest digest sha dfbefdddeeeffcafddaaeea size Then navigate to the package settings for the container image you just pushed and grant access to GitHub Codespaces Find the newly published Codespace container and open the Package SettingsGrant the repository you want to launch this Codespace image from access to this package Manage Codespace access to add the repositoryNow update the DockerFile in the repository to use this image FROM ghcr io jessehouwing Codespaces demo latestAnd rebuild your Codespace Beyond extending the base imageYour requirements for the Codespace image may go beyond the standard images maybe you need a different Linux distro standard libraries a specific kernel version etc In that case you can also build a Codespace from scratch A nice getting started point could be to take the Codespaces default container and either re use the elements you need or use them as inspiration for your own image To start customizing the image copy the contents of the devcontainer folder of one of the standard images and replace the DockerFile with the base DockerFile You ll find all the scripts used to install the different toolsets in the library scripts folder Either commit the devcontainer folder and its contents directly to your repository or build the container and publish it to a container registry as described above Take the full contents of a Codespace image to customize it ever further SummaryCodespaces enables teams worldwide to contribute to GitHub It drastically reduces the time needed for anyone to open a project and contribute their changes Even when the standard options won t fulfill your needs it s easy to extend and change what is installed and updates can be rolled out to your team effortlessly This article was originally published as part of Xpirit magazine Get your copy today Together we build an Engineering Culture the title of the latest issue of our XPRT Magazine With special thanks to mickey gousset who personally reviewed all of the articles Thank you Download the magazine here engineeringculture pic twitter com cCDaVkaTーXpirit Xpiritbv March |
2022-03-16 11:21:49 |
Apple |
AppleInsider - Frontpage News |
All the Homekit locks that support Apple Home Key |
https://appleinsider.com/articles/22/03/16/all-the-homekit-locks-that-support-apple-home-key?utm_medium=rss
|
All the Homekit locks that support Apple Home KeyAs part of iOS Apple introduced a new smart home feature dubbed Home Key that unlocks your door using NFC Here are all of the HomeKit locks that have come to market thus far that boast support Using HomeKeyHome Key requires hardware support which is why so few locks have adopted it to date As more locks are developed or updated adoption will increase Read more |
2022-03-16 11:23:40 |
海外TECH |
Engadget |
The Morning After: NFTs are coming to Instagram |
https://www.engadget.com/the-morning-after-nfts-are-coming-to-instagram-111503282.html?src=rss
|
The Morning After NFTs are coming to InstagramJust when I thought the NFT chaos had calmed here comes Instagram Speaking at SXSW Mark Zuckerberg confirmed digital collectibles would be arriving on Instagram “in the near term Zuckerberg said NFTs could one day play a role in the company s eventual metaverse “I would hope that the clothing that your avatar is wearing in the metaverse…can be basically minted as an NFT and you can take it between your different places he said SXSW is this week and we re remotely reporting on all the major panels announcements and reveals Just sadly without the Austin food scene on hand ーMat SmithThe biggest stories you might have missedHow to recycle your used and unwanted gadgetsAMD s Ryzen XD CPU will be available April th for Samsung s Odyssey Neo G mini LED gaming monitor returns to an all time lowSamsung will bring Galaxy S features to older phones Lenovo s latest ThinkPad update is bringing fresh CPUs and better connectivityIntel plans to build a billion chip plant in Germany Diamond Hands offers a good if narrow portrait of the GameStop stock squeezePolk s latest soundbar packs Dolby Atmos in an ultra compact designGoogle says Steam is coming to select ChromebooksYou ll need the right hardware to play Google mentioned in its Games Developer Summit keynote that a Steam alpha test for Chrome OS will be available for quot select quot Chromebooks Details weren t available as of this writing but Google pointed would be players to a currently unavailable Chromebook community forum post What about minimum specs According to rumors you might be limited to models with at least an th gen Core i and GB of RAM And hey what about Stadia Continue reading Microsoft s DirectStorage will speed up game loads on Windows and The API is available to game developers right now quot Windows games can ship with DirectStorage quot starting today Microsoft has announced DirectStorage is the tech giant s fast game loading technology that was introduced with the Xbox Series X and S consoles In September Microsoft revealed it ll also make the DirectStorage API available on Windows allowing games for PCs to take advantage of the technology It may take a while for more titles to come with DirectStorage especially since not everyone has upgraded to NVMe SSDs yet Continue reading Tesla raises prices across its entire EV lineupThe base Model now costs TeslaTesla has raised the prices of its electric vehicles for the second time in a month After adding to some long range models last week the automaker has now implemented a much larger price increase across its lineup Prices now start at for the base Model higher than before Although Tesla has quietly raised prices overnight the move didn t come out of left field On Twitter company chief Elon Musk hinted at the possibility of a price hike He said both Tesla and SpaceX are seeing quot significant recent inflation pressure in raw materials and logistics quot Continue reading Watch the first Ms Marvel trailerIt ll premiere June th on Disney MarvelMs Marvel one of several Marvel Cinematic Universe shows coming to Disney this year will premiere on June th It centers around Kamala Khan Iman Vellani a Pakistani American whose idol is Captain Marvel She ll be the MCU s first Muslim superhero and will also appear in The Marvels movie which is scheduled to hit theaters on February th Continue reading Amazon wins EU approval for its billion purchase of MGMThe company s still awaiting the go ahead from US regulators European Union officials have unconditionally OKed Amazon s billion bid to buy famed movie and TV studio MGM The European Commission s antitrust regulators determined there was limited overlap between the companies and said the merger wouldn t severely reduce competition in the movie business Amazon still needs the green light from the Federal Trade Commission before it can close the deal which was announced last May Recent reports suggested the FTC was planning to challenge the merger with an antitrust lawsuit However that requires a majority vote by commissioners Continue reading |
2022-03-16 11:15:03 |
海外TECH |
Engadget |
Audio-Technica's 20-hour earbuds are now available in the US for $149 |
https://www.engadget.com/audio-technica-ath-cks50tw-earbuds-us-pricing-availability-110036253.html?src=rss
|
Audio Technica x s hour earbuds are now available in the US for When Audio Technica introduced its latest true wireless earbuds last month the company only shared UK and EU pricing and availability Starting today though you can purchase the lost lasting ATH CKSTW model in the US For you can expect up to hours of battery life with active noise cancellation ANC disabled and up to hours with it on That s well beyond what most of the competition offers ーwith or without noise canceling abilities nbsp The IPX rated ATH CKSTW supports multipoint Bluetooth pairing so you can be connected to two devices at once and easily switch between the two On board controls give you quick access to music volume calls and enabling ANC or transparency mode A handy sidetone feature will allow you to hear yourself during calls so you don t feel the need to shout nbsp Inside Audio Technica s app you can turn on a low latency mode for streaming or games adjust the EQ locate lost earbuds and change audio codecs For that last item aptX aptX Adaptive AAC and Sony Reality Audio are all supported Google Fast Pair is available for Android devices and a quick charge feature will give you minutes of use with a minute rest inside the included case nbsp |
2022-03-16 11:00:36 |
ニュース |
BBC News - Home |
Nazanin Zaghari-Ratcliffe on way home to UK |
https://www.bbc.co.uk/news/uk-60756870?at_medium=RSS&at_campaign=KARANGA
|
anoosheh |
2022-03-16 11:48:16 |
ニュース |
BBC News - Home |
Zelensky to address Congress as US pledges $800m in military aid |
https://www.bbc.co.uk/news/world-us-canada-60762022?at_medium=RSS&at_campaign=KARANGA
|
assistance |
2022-03-16 11:27:18 |
ニュース |
BBC News - Home |
Wayne Couzens: Met PCs deny sharing offensive messages with killer |
https://www.bbc.co.uk/news/uk-england-london-60763436?at_medium=RSS&at_campaign=KARANGA
|
borders |
2022-03-16 11:39:09 |
サブカルネタ |
ラーブロ |
其ノ891:【YAMACHAN(福島区・海老江)】 |
http://ra-blog.net/modules/rssc/single_feed.php?fid=197321
|
yamachan |
2022-03-16 11:37:18 |
サブカルネタ |
ラーブロ |
権三@西葛西 スタミナ肉そば |
http://ra-blog.net/modules/rssc/single_feed.php?fid=197316
|
三西葛西駐車場無周辺有料 |
2022-03-16 11:10:10 |
サブカルネタ |
ラーブロ |
旭川ラーメン 幸来軒 塩篇 |
http://ra-blog.net/modules/rssc/single_feed.php?fid=197319
|
塩ラーメン |
2022-03-16 11:07:44 |
北海道 |
北海道新聞 |
4回目接種想定し追加購入 首相表明、1億4500万回分 |
https://www.hokkaido-np.co.jp/article/657576/
|
岸田文雄 |
2022-03-16 20:09:04 |
北海道 |
北海道新聞 |
ふるさと納税で緊急支援 ウクライナへ、各自治体 |
https://www.hokkaido-np.co.jp/article/657544/
|
緊急支援 |
2022-03-16 20:20:07 |
北海道 |
北海道新聞 |
ウォルト、日ハムとスポンサー契約 チームの公式グッズ配達 |
https://www.hokkaido-np.co.jp/article/657426/
|
公式グッズ |
2022-03-16 20:10:15 |
北海道 |
北海道新聞 |
新幹線札幌駅、ホームに55メートル「動く歩道」 JR北海道が概要発表 |
https://www.hokkaido-np.co.jp/article/657671/
|
動く歩道 |
2022-03-16 20:02:51 |
北海道 |
北海道新聞 |
ウクライナ、子どもの死者百人超す ロシア外相「NATO問題で合意も」 |
https://www.hokkaido-np.co.jp/article/657617/
|
検察当局 |
2022-03-16 20:04:18 |
北海道 |
北海道新聞 |
バルサが大型スポンサー契約 音楽配信スポティファイと4年間 |
https://www.hokkaido-np.co.jp/article/657431/
|
音楽配信 |
2022-03-16 20:04:22 |
コメント
コメントを投稿