js |
JavaScriptタグが付けられた新着投稿 - Qiita |
スプレッド構文(配列のコピーについて) |
https://qiita.com/kingdom0927/items/304845bcaf7c6f4de85b
|
constarr |
2022-09-12 05:33:47 |
海外TECH |
DEV Community |
tsParticles 2.3.0 Released |
https://dev.to/tsparticles/tsparticles-230-released-32np
|
tsParticles Released tsParticles Changelog New FeaturesAdded bounds to particles destroy options if the particle is outside one of the bounds the particle will be destroyedAdded smooth to the options it uses the fpsLimit field as a reference value trying to create a smoother animation on the provided fps value Added canvasMask plugin it uses a canvas an image or a text for positioning particles in the canvas closes Other ChangesMoved out all the external interactors from the engineRemoved support for very old browsers that don t support requestAnimationFrame Bug FixesFixed editor using the v of Object GUIFixed issue with stroke options loading A note on the new smooth optionWith the new smooth option enabled the animation will be affected by the fps on the user s PC so be careful Higher fps higher speed lower fps lower speed ️ Some examples with a fpsLimit of the animation will be twice faster on fps devices with a fpsLimit of the animation will be twice slower on fps devicesThe animation will be always smooth but the behavior could be affected by the user screen refresh rate It s recommended to keep this disabled be careful enabling this Social linksDiscordSlackTelegramReddit matteobruni tsparticles tsParticles Easily create highly customizable JavaScript particles effects confetti explosions and fireworks animations and use them as animated backgrounds for your website Ready to use components available for React js Vue js x and x Angular Svelte jQuery Preact Inferno Solid Riot and Web Components tsParticles TypeScript ParticlesA lightweight TypeScript library for creating particles Dependency free browser ready and compatible withReact js Vue js x and x Angular Svelte jQuery Preact Inferno Riot js Solid js and Web ComponentsTable of Contents️️ This readme refers to vversion read here for v documentation ️️Use for your websiteLibrary installationOfficial components for some of the most used frameworksAngularInfernojQueryPreactReactJSRiotJSSolidJSSvelteVueJS xVueJS xWeb ComponentsWordPressPresetsBig CirclesBubblesConfettiFireFireflyFireworksFountainLinksSea AnemoneSnowStarsTrianglesTemplates and ResourcesDemo GeneratorCharacters as particlesMouse hover connectionsPolygon maskAnimated starsNyan cat flying on scrolling starsBackground Mask particlesVideo TutorialsMigrating from Particles jsPlugins CustomizationsDependency GraphsSponsorsDo you want to use it on your website Documentation and Development references here This library is available… View on GitHub |
2022-09-11 20:37:47 |
海外TECH |
DEV Community |
How to build Reduct Storage on MacOs |
https://dev.to/reduct-storage/how-to-build-reduct-storage-on-macos-2f6d
|
How to build Reduct Storage on MacOsHey all we re going to add support of macOS in the next release of the storage engine However you should be able to build it from sources install build toolsbrew install gcc python cmakepip install conan buildmkdir build amp amp cd buildCC gcc CXX g cmake DCMAKE BUILD TYPE Release cmake build j runRS DATA PATH data bin reduct storageWe use the latest C features like coroutines which clang doesn t support yet What is why you should install GCC and use the CC gcc and CXX g variables for cmake Moreover you should be patient official conan repository doesn t have binaries for macOS with GCC and conan builds it locally on your machine I hope it was helpful thanks |
2022-09-11 20:21:51 |
海外TECH |
DEV Community |
RaspberryPi cloud backup Part 3 |
https://dev.to/mrscripting/raspberrypi-cloud-backup-part-3-1f29
|
RaspberryPi cloud backup Part IntroductionThis is the third article in a series of articles that explain how you can backup an inexpensive NAS solution built with raspberry pi to Azure In the previous posts we ve seen the cloud storage solutions available as well as their pricing We ve decided upon what service we would use Azure Storage and built the secure infrastructure using Terraform In this final article we will focus on the solution used to backup our files to Azure Storage using the Archive tier for reduced costs Backup SolutionEnter Rclone Rclone is a command line program to manage files on cloud storage It is a feature rich alternative to cloud vendors web storage interfaces as it is described in it s web page And that is what we need to automate our backups We don t want to push the button we want our files to backed up for several occasions during the day We also want to focus on security and for that we will have to open and close the firewall on our storage account when the backup occurs So let s start The credentialsFirst we will need to generate a credentials file Open your text editor and paste the following json text appId replaceme displayName replaceme password replaceme tenant replaceme if you followed my previous post you remember we deployed the infrastructure using terraform and that generated some outputs If you stored them then you can replace the values in the text file Changes to Outputs appId known after apply displayName backupapplication password known after apply tenant xxxxxxxxx xxxx xxxx xxxx xxxxxxxxxxxxx If you didn t store the values you can still obtain them either by going to the azure portal or via command line If you don t remember the password then a new password for the service principal may have to be generated Now that we have the file in place let s leave it aside and start with the script The scriptLet s use our friend bash in order to put our solution together Starting with the security part We need to be able to open and close the storage firewall in order to backup our files For that we need to authenticate against azure with our credentials file and add our public ip address to the firewall Getting the public ip Let s use aws You read it correctly AWS provides a free endpoint to discover your public ip address So our function will look like this getPublicIp curl checkip amazonaws com Now that we have a way for retrieving the public ip we need to authenticate Using the service principle credentials we can easily retrieve an access token that will allow us to interact with the azure storage via rest api So let s do it getAzureToken client id client secret tenant scope https A F Fmanagement core windows net F default headers Content Type application x www form urlencoded data client id client id amp scope scope amp client secret client secret amp grant type client credentials data tenant oauth v token curl X POST H headers d data data As you are seeing the parameters we need are available in the file we ve generated We just have to retrieve them from the file and feed them to the function So now that we have the token and the public ip we can start opening and closing the communication in the azure firewall Let s work on the open function We will need to call the api that allows us to interact with our storage account represented by the resource id and pass a json payload that specifies that the storage denies all traffic by default but allows our public ip to communicate addNetworkException token subscriptionId resourceGroupName accountName publicIp headers Content Type application json headers Authorization Bearer token url subscriptionId resourceGroups resourceGroupName providers Microsoft Storage storageAccounts accountName api version data properties networkAcls defaultAction deny ipRules action allow value publicIp curl X PATCH H headers H headers d data url Closing the firewall is similar We just have to remove the ip address from the json and pass an empty array removeNetworkException token subscriptionId resourceGroupName accountName publicIp headers Content Type application json headers Authorization Bearer token url subscriptionId resourceGroups resourceGroupName providers Microsoft Storage storageAccounts accountName api version data properties networkAcls defaultAction deny ipRules curl X PATCH H headers H headers d data url Now that we have taken care of the security functions let s work on the backup itself Let s use our credentials file to add the azure information to our rclone configuration This will run only once rclone config echo Adding configuration rclone config create name azureblob account storageaccountname access tier accesstier service principal file credential file echo Config entry added What are the function parameters name The configuration name storageaccountname The name of the azure account accesstier The Archive access tier will be used to store our files in a cheap way credential file The filesystem path for our manually created credentials fileNow we need the function that executes the backup rclone backup echo Starting backup rclone sync sourcepath name container azureblob archive tier delete v if eq then echo Backup completed else echo Something went wrong exit fi The parameters once again sourcepath The filesystem path to your folder name The rclone configuration name we used in the previous function container The azure storage container nameAnd now let s put this all together getPublicIp curl checkip amazonaws com getAzureToken client id client secret tenant scope https A F Fmanagement core windows net F default headers Content Type application x www form urlencoded data client id client id amp scope scope amp client secret client secret amp grant type client credentials data tenant oauth v token curl X POST H headers d data data addNetworkException token subscriptionId resourceGroupName accountName publicIp headers Content Type application json headers Authorization Bearer token url subscriptionId resourceGroups resourceGroupName providers Microsoft Storage storageAccounts accountName api version data properties networkAcls defaultAction deny ipRules action allow value publicIp curl X PATCH H headers H headers d data url removeNetworkException token subscriptionId resourceGroupName accountName publicIp headers Content Type application json headers Authorization Bearer token url subscriptionId resourceGroups resourceGroupName providers Microsoft Storage storageAccounts accountName api version data properties networkAcls defaultAction deny ipRules curl X PATCH H headers H headers d data url rclone config echo Adding configuration rclone config create name azureblob account storageaccountname access tier accesstier service principal file credential file echo Config entry added rclone backup echo Starting backup rclone sync sourcepath name container azureblob archive tier delete v if eq then echo Backup completed else echo Something went wrong exit fi publicIp getPublicIp credentials cat credential file azureToken jq j access token lt lt lt getAzureToken client id client secret tenant addNetworkException azureToken subscriptionid resourcegroupname storageaccountname publicIp config rclone config dump if z config then rclone config rclone backupelse rclone backupfiTo make it easier I ve compiled it into a bash script available at You can go over the description of each block of code and also read the script parameter description Using the downloaded script we can just make it executable and pass the parameters chmod x linuxFSAzureBackup shAnd then run it with the code bellow this is a dummy example Please replace with your own values linuxFSAzureBackup sh n raspberryazure k home pi azurecredentials json s myspecialstorage r specialresourcegroup i bbe ccfb be d bdacb a Archive p mnt c myspecialcontainer The parameter order n The name that we will assign to the rclone configuration k Path for the azure Cli generated credentials file s The Azure Storage Account Name r The resource Group Name where the Azure Storage Account resides i The Azure subscription id a The desired storage account accesstier for the backed up files p The path where the items to be backed up reside c The Azure Storage account container name These are the results Adding the public ip addressCopying the filesRemoved the ip ruleIn the end I had to create a filter file for rclone because some files were not getting copied So that will be my next contribution for the script But please feel free to modify it as you need And that s it You can now add the script to crontab and have a cloud backup solution on your raspberry pi I hope you enjoyed this series of articles See you soon |
2022-09-11 20:14:37 |
海外TECH |
DEV Community |
NFT marketplace development cost- important factors in 2022 |
https://dev.to/jonathanberg/nft-marketplace-development-cost-important-factors-in-2022-19eo
|
NFT marketplace development cost important factors in With the increasing popularity of NFT marketplaces more and more investors creators and buyers have been involved in purchasing and selling digital assets However like establishing a regular market on the internet creating an NFT marketplace and developing has a cost NFT marketplace development cost depends on different factors This article will discuss different development stages and the cost of development in an NFT marketplace Finally we introduce some of the most popular NFT marketplace examples The main factors affect NFT marketplace development costEach developing company offers different prices for these factors based on the customizations their clients want However in general a company that specializes in NFT development needs to spend money for different stages including Pre NFT marketplace costsOne of the essential steps in an NFT marketplace development process is building a tactic in the documentation that covers all the NFT marketplace development details It is fundamental to the whole project This step needs time and effort which causes pre development costs These costs can be fixed depending on form for example cost per working hour Development blockchain platformThe Blockchain platform you select for your NFT marketplace as well as the NFT marketplace revenue and reach significantly affects your cost For example Ethereum development costs are more than BSC On the contrary the popularity of the Ethereum NFT marketplace is more than BSC However it is worth mentioning that if you choose only one platform you cannot get revenue from other blockchain platforms The best decision is to choose cross chain NFT marketplace development to take advantage of every platform s perks for developing your marketplace you ll need about DesignDesigning an NFT marketplace is a multilayer method In the designing step you can determine your target audience liquidity non interoperability and Tradability Your NFT marketplace may have many bugs and glitches if you don t prepare a correct design Most of the experts participating in the NFT marketplace design and development are UI UX designers architects and blockchain experts The cost of hiring these professionals varies depending on their capacities and experience The overall price for design is about TestingThe testing marketplace is as important as developing since users can t tolerate even a small number of bugs To have a popular NFT marketplace you should ensure that your marketplace runs seamlessly without any problem or bug and provide an excellent user experience To do so you should dedicate a specific budget to your NFT marketplace services The cost you should consider for testing is about Despite the factors mentioned above that affect the NFT marketplace development costs there are other factors you should consider Some of the most important ones include App complexityOne of the most critical factors that affect an NFT marketplace development price is app complexity which means all features you want to have in your application App complexity also involves the third party API integration that offers support Usually these features represent in the white label NFT marketplace development Some of the most popular features are as follows Fashionable itemsOptional search functionalityLive auction specificationsStorefrontWalletBid and buyAccepting a range of paymentsInstant notificationsProviding a hour customer service Tech stackCreating an application requires a tech stack and the NFT marketplace company is no exception The general tech stacks an NFT marketplace company uses are blockchain platforms NFT standards front end platforms and storage platforms Hiring NFT marketplace developers The cost of hiring developers to build and develop an NFT marketplace is essential to the overall cost of developing a marketplace Nonetheless when hiring developers you should consider the below factors Region The geolocation of developers you hire significantly affects your hiring cost More precisely hiring developers who live in the united stated would be more expensive than hiring developers from India Experience Based on developers experience their hiring costs can be significantly varied For example hiring junior intermediate or senior developers have a different cost for you Hiring approach The hiring approach can also have an impact on hiring costs Depending on hiring either in house developers off shore developers or freelance developers your hiring cost can be varied IntegrationBased on what features and the number of features you add to your NFT marketplace you should use a higher possibility of third party tools Supporting several third party APIs for various functionalities is one of the costs you should consider when developing your NFT platform Selected nicheThe NFT market categories you ve chosen as your niche also affect NFT marketplace development services price For example if you want to develop your marketplace for collectibles your app must be more secure than an open market Four main categories of the NFT marketplace based on cost need are as follows Storage platforms NFT standards and mintingThe storage platform costs depend on features types and categories that you ve selected for developing your NFT marketplace To do so you will require selecting the storage platforms NFT standards and NFT minting including storage platformsIFPSFilecoinPinata NFT standardsERC ERC BEP BEP FAdGoodsTRC NFT MintingMinting an NFT means changing digital files into crypto collections or digital assets stored on the blockchain Cost breakdown for NFT marketplace developmentthere is no fixed cost to develop an NFT marketplace since its cost is different from one application to another However it can be said that the cost of a clone script of an NFT marketplace would be about to You can use the below table to estimate the average cost and time as a guide Note that this table doesn t include the costs of Infrastructure which provides for the server itselfTesting and trial to make sure everything works correctlyWith normal and validated staging the customer would be satisfied with the result of the software To fulfill customer satisfaction you may need to change the features a re discovery phase Communication and documentation Considering the points mentioned earlier you should add from to to the specific cost in the table NFT marketplace maintenance costA part of NFT marketplace development cost is related to the maintenance of the platform It is important especially if you are planning to run your application for the long term The maintenance cost of an NFT marketplace development can be breakdown into the below factors Five most popular NFT marketplacesGetting familiar with some of the well known NFT marketplaces helps you in developing your own NFT marketplace Some of the most famous examples of NFT marketplaces include OpenseaThis is one of the most popular NFT marketplaces which offers a wide variety of products and services Different NFTs including art music sports and photography have been bought and sold on this platform This platform supports more than cryptocurrencies making it an ideal option for many people who want to trade their digital assets Another advantage of the open sea is the gas fee which means that users can trade with cryptocurrencies without having to pay a fee Nifty gatewayRegarding big money NFT sales the Nifty gateway can be considered one of the most popular among different NFT marketplace platforms The notable chrematistics of this platform is its ability to create unlimited editions which are priced at a base price Using this feature it can be ensured that no more NFTs are issued after the first edition has been sold Another advantage of the Nifty gateway platform is trading NFTs using fiat currency a government backed currency BinanceThe binance is one of the world s largest cryptocurrency exchanges and NFT marketplaces It benefits from its blockchain which makes it the most stable and long term NFT marketplace With the addition of BNB this platform allows users to access the platform easily and buy or sell NFTs and depositing BNB or ETH into the exchange can ease the selling of their NFTs SuperRareThe NFT ecosystem is positioned as an art gallery that is highly selective with NFT submissions and doesn t accept “meme style NFTs This platform s policy is to spend a lot of time reviewing NFTs before they are available for sale Thereby their investors can be highly confident about the quality of work Due to this time consuming process SuperRare charges the first time an NFT is sold on the primary market and also buyers should pay a flat of every transaction To someone looking for a high end NFT network with classical style pieces the SuperRare NFT marketplace would be a great option RaribleThis platform allows users to buy and sell art collectibles video games and NFTs USING Ethereum Flow and Tezos This platform charges a flat fee on each transaction plus a gas fee One advantage of Rarible is that you can buy NFTs using credit cards and allow transactions in fiat currencies This platform has created its token called RARI and the holders of the token get to vote on company decisions |
2022-09-11 20:07:13 |
海外TECH |
Engadget |
Comcast debuts 2Gbps internet service in four states |
https://www.engadget.com/comcast-gigabit-2x-announced-203440991.html?src=rss
|
Comcast debuts Gbps internet service in four statesAfter nearly two years of testing Comcast is one step closer to offering multi gig symmetrical speeds over cable This week the company began a new deployment that will allow more than million US households to access its new Gbps service by the end of In a press release spotted by The Verge Comcast said it would offer multi gig internet packages in cities across the country before the end of the year with initial rollouts already underway in Augusta Colorado Springs Panama City Beach and Philadelphia Even if you don t sign up for the new Gigabit x service you ll see an improvement in upload speeds For instance in Colorado Springs Comcast says some tiers offer upload speeds up to times faster than previously possible The Gigabit x plan will initially limit customers to uploading files at Mbps However starting in multi gig symmetrical speeds will be possible thanks to a technology called DOCSIS Comcast has been transitioning to the standard for the past few years Once that work is complete it will have the network in place to offer Gbps download speeds and Gbps upload speeds on the same connection In turn that would allow it to provide symmetrical speeds across many of its cable packages That s an area where cable has historically lagged compared to fiber optic internet nbsp |
2022-09-11 20:34:40 |
海外TECH |
CodeProject Latest Articles |
Asynchronous Events in C# |
https://www.codeproject.com/Articles/5341837/Asynchronous-Events-in-Csharp
|
asynchronous |
2022-09-11 20:17:00 |
海外TECH |
CodeProject Latest Articles |
Observer pattern in C# |
https://www.codeproject.com/Articles/5326833/Observer-pattern-in-Csharp
|
observer |
2022-09-11 20:17:00 |
海外ニュース |
Japan Times latest articles |
Rethinking the ancient origins of Japan’s wine industry |
https://www.japantimes.co.jp/life/2022/09/12/food/jomon-wine-origins/
|
Rethinking the ancient origins of Japan s wine industryRecent excavations have uncovered Jomon artifacts that could push back our understanding of the nation s early winemaking techniques by several millennia |
2022-09-12 05:35:32 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
「在宅おひとりさまで機嫌よく死にたい」上野千鶴子氏が語る在宅ひとり死のススメ - ひとり終活大全 |
https://diamond.jp/articles/-/309211
|
意気軒高 |
2022-09-12 05:25:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
JA職員1386人が告発、共済「職員搾取営業」悪質度ランキング【24JA】1位は組合長に報酬700万の闇 - JAと郵政 昭和巨大組織の病根 |
https://diamond.jp/articles/-/309457
|
|
2022-09-12 05:22:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
農協と日本郵政に迫る「老衰危機」、昭和丸出し組織から人材とマネーが大流出! - JAと郵政 昭和巨大組織の病根 |
https://diamond.jp/articles/-/309456
|
|
2022-09-12 05:20:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
「日本郵政×楽天」物流タッグはパンク寸前だった過去、現場大混乱の赤裸々事情 - Diamond Premiumセレクション |
https://diamond.jp/articles/-/309559
|
「日本郵政×楽天」物流タッグはパンク寸前だった過去、現場大混乱の赤裸々事情DiamondPremiumセレクション日本郵政と楽天グループとの物流領域における提携が動きだした。 |
2022-09-12 05:15:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
建設会社「インフレ影響度」ワーストランキング!5位は三井住友建設、1位は? - 沈むゼネコン 踊る不動産 |
https://diamond.jp/articles/-/309051
|
三井住友建設 |
2022-09-12 05:10:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
中国の銀行に迫る不良債権 消えたローン保証 - WSJ発 |
https://diamond.jp/articles/-/309593
|
不良債権 |
2022-09-12 05:08:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
米金利の「適切水準」 FRBが近く到達か - WSJ発 |
https://diamond.jp/articles/-/309594
|
金利 |
2022-09-12 05:06:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
おひとりさまの在宅看取りが「月5万円」で可能!?カリスマ訪問医が在宅ケア費用を徹底解説 - ひとり終活大全 |
https://diamond.jp/articles/-/309210
|
介護保険 |
2022-09-12 05:05:00 |
ビジネス |
不景気.com |
山梨の貸衣装業「友禅丸章」が自己破産申請へ、負債10億円 - 不景気com |
https://www.fukeiki.com/2022/09/yuzen-marusho.html
|
山梨県甲斐市 |
2022-09-11 20:17:37 |
ビジネス |
東洋経済オンライン |
統一教会の日本人女性が「韓国男性に尽くす」謎 韓国農村部の独身男性を結婚勧誘で布教 | 宗教を問う | 東洋経済オンライン |
https://toyokeizai.net/articles/-/617252?utm_source=rss&utm_medium=http&utm_campaign=link_back
|
世界平和統一家庭連合 |
2022-09-12 05:20:00 |
海外TECH |
reddit |
[POST GAME THREAD] BROWNS(26) @ PANTHERS(24) CADE FUCKING YORK EDITION |
https://www.reddit.com/r/Browns/comments/xbsjwf/post_game_thread_browns26_panthers24_cade_fucking/
|
POST GAME THREAD BROWNS PANTHERS CADE FUCKING YORK EDITION BEHAVE YOURSELVES AND REPORT ANYTHING THAT BREAKS THE RULES DO NOT POST STREAMING SITES FANS OF OTHER TEAMS PLEASE SELECT A FLAIR Team Record Home Road Division Conference Streak W L Team Starting QB Baker Mayfield Jacoby Brissett Game Info Location Bank of America Stadium Charlottle NC When Sunday Radio Local Radio Link THE FAN ESPN Weather ° Rain Wind SW mph TV Coverage Map Channel CBS PM Commentary Spero Dedes Jay Feely NFL Game Center Odds Over Under Spread SCOREBOARD st nd rd th TOTAL submitted by u CDtol to r Browns link comments |
2022-09-11 20:18:38 |
コメント
コメントを投稿