names
stringlengths 1
98
| readmes
stringlengths 8
608k
| topics
stringlengths 0
442
| labels
stringclasses 6
values |
---|---|---|---|
ent21-hanafin-nlp | python based natural language processing course 2021 div align right font size 2 color gray python for bigdata font color blue a href https www facebook com jskim kr fb jskim kr a font bigpycraft gmail com font div br hana finance group img src images img main front png notice https github com bigpycraft ent21 hanafin nlp 192 15 206 251 100000100 pw itcampus21 itcampus21 hr w1 python programming practice w2 python packages and modules w3 data modeling and web cralwling w4 natural language processing hr python nlp develop environment hr h3 python h3 table align left tr align left td width 200 a href https www python org img src images python logo png width 150 a td td width 800 div align left b latest python 3 9 0 b br br download https www python org downloads windows br download the latest version br check the os version bit 32bit 64bit div td tr table br hr h3 pycharm h3 table align left tr align left td width 200 a href https www jetbrains com pycharm img src images pycharm logo png width 150 a td td width 800 div align left b latest python 3 9 version release date oct 5 2020 b br br download https www jetbrains com pycharm download br version 2020 3 br build 203 5981 165 br 2 december 2020 br download community version div td tr table br hr h3 jupyter notebook h3 table align left tr align left td width 200 a href https www anaconda com distribution img src images jupyter jpg width 150 a td td width 800 div align left b latest version 2020 11 release date nov 20 2020 b br python 3 8 version br filename anaconda3 2020 11 windows x86 64 exe br download https www anaconda com distribution br check the os version bit 32bit 64bit div br div align left b recommand previous version 5 2 release date may 30 2018 b br filename anaconda3 5 2 0 windows x86 64 exe br download https repo continuum io archive br reason tf requires python 3 4 3 5 or 3 6 br tensorflow https www tensorflow org install pip div td tr table br hr selenium webdriver table align left tr align left td width 200 a href https www seleniumhq org projects webdriver img src images seleniumhq logo png width 150 a td td width 800 div align left b selenium hq b https www seleniumhq org projects webdriver br br os driver br br b 1 chrome webdriver b nbsp nbsp a href http chromedriver chromium org downloads 1 a nbsp nbsp nbsp a href https sites google com a chromium org chromedriver downloads 2 a br br b 2 firefox webdriver b nbsp nbsp nbsp nbsp a href https github com mozilla geckodriver releases a br br b 3 microsoft webdriver b a href https developer microsoft com en us microsoft edge tools webdriver a br br b cf b div td tr table br selenium 1 0 webdriver selenium 2 0 homesite https www seleniumhq org projects webdriver webdriver is designed in a simpler and more concise programming interface along with addressing some limitations in the selenium rc api webdriver is a compact object oriented api when compared to selenium1 0 it drives the browser much more effectively and overcomes the limitations of selenium 1 x which affected our functional test coverage like the file upload or download pop ups and dialogs barrier webdriver overcomes the limitation of selenium rc s single host origin policy hr konlpy install guide table align left tr align left td width 200 a href http konlpy org ko v0 5 0 install img src images konlpy png width 150 a td td width 800 div align left b 1 java b a href https www oracle com technetwork java javase downloads jdk 1 8 a install java environmnmet variable setting br br b 2 ms visual c b a href https www scivision co python windows visual c 14 required build tools for visual studio 2017 14 0 a install br br b 3 jpype b a href https www lfd uci edu gohlke pythonlibs jpype jpype1 0 5 7 a install br nbsp nbsp anaconda prompt c users user b pip install upgrade pip b br nbsp nbsp anaconda prompt c users user b pip install jpype1 1 2 0 cp38 cp38 win amd64 whl b br br b 4 konlpy b br nbsp nbsp anaconda prompt c users user b pip install konlpy b div td tr table br hr jdk install java environment setting table align left tr align left td width 200 a href https www oracle com technetwork java javase downloads img src images java se downloads 1612441 gif width 150 a td td width 800 div align left b download b https www oracle com technetwork java javase downloads br br b b br br b 1 java home b c java jdk1 8 0 br br b 2 path b path java home bin br br b 3 classpath b java home lib div td tr table hr tensorflow table align left tr align left td width 200 a href https www tensorflow org img src images tensorflow logo2 png width 150 a td td width 800 div align left b tensorflow org b https www tensorflow org br br an open source machine learning library for research and production br br b 1 tenforflow install a href https www tensorflow org install a br br b 2 tenforflow develop a href https www tensorflow org tutorials a br br b 3 tensorflow community b a href https www tensorflow org community a br br b cf environment install a python 3 6 x or python 3 7 x 64 bit release for windows b div td tr table br hr microsoft azuer notebooks table align left tr align left td width 200 a href https notebooks azure com img src images microsoft jpg width 100 a td td width 800 div align left b microsoft azure notebooks b https notebooks azure com br br interactive coding in my browser br br free in the cloud powered by jupyter div td tr table br hr marquee font size 3 color brown the bigpycraft find the information to design valuable society with technology craft font marquee div align right font size 2 color gray lt the end gt font div | ai |
|
e-commerce-angular | ecommerceapp this project was generated with angular cli https github com angular angular cli version 1 0 0 rc 4 development server run ng serve for a dev server navigate to http localhost 4200 the app will automatically reload if you change any of the source files code scaffolding run ng generate component component name to generate a new component you can also use ng generate directive pipe service class module build run ng build to build the project the build artifacts will be stored in the dist directory use the prod flag for a production build running unit tests run ng test to execute the unit tests via karma https karma runner github io running end to end tests run ng e2e to execute the end to end tests via protractor http www protractortest org before running the tests make sure you are serving the app via ng serve further help to get more help on the angular cli use ng help or go check out the angular cli readme https github com angular angular cli blob master readme md | front_end |
|
dynamic-cdn | dynamic cdn build status travis image travis url coverage status coveralls image coveralls url contributors ericmann https profiles wordpress org ericmann 10up https profiles wordpress org 10up donate link https eamann com tags cdn images performance requires at least 3 8 1 tested up to 4 5 2 stable tag 0 4 0 license gplv2 or later license uri https github com ericmann dynamic cdn blob master license md dynamic cdn for front end assets description dynamic solution for rewriting image asset urls to a hosted content delivery network cdn with optional domain sharding for concurrent downloads this plugin is based heavily on the cdn dropin from mark jaquith s wp stack https github com markjaquith wp stack installation manual installation 1 upload the entire dynamic cdn directory to the wp content plugins directory 2 activate dynamic cdn through the plugins menu in wordpress frequently asked questions will this work as a mu plugin yes the plugin as designed will work just fine in the mu plugins directory we highly recommend a second mu plugin be added to configure the cdn domains used by the system how do i add a domain in a function wired to dynamic cdn first loaded you ll reference the add domain method of the dynamic cdn object for example function my cdn domains manager domainmanager last manager add cdn0 mydomain com manager add cdn1 mydomain com manager add cdn2 mydomain com add action dynamic cdn first loaded my cdn domains what if i want to add my domains through wp config php simply define a dyncdn domains constant that s a comma delimited list of your cdn domains for example define dyncdn domains cdn0 mydomain com cdn1 mydomain com cdn2 mydomain com what if i don t add any domains will this break my images hopefully not if you haven t added any domains the plugin will not rewrite anything bypassing your images entirely screenshots none at this time changelog 0 4 0 new unit tests for core functionality fix ensure srcsets don t filter in admin views 0 3 0 new add support for wordpress 4 4 srcsets 0 2 0 new cdn domains can be added with a constant fix make domain mapping multisite aware props trepmal 0 1 0 first release upgrade notice 0 4 0 domain management has moved from a general purpose class to a purpose built domainmanager object this object is instantiated with your current site s domain name and can be accessed throught the static domainmanager last helper this method automatically returns the last instantiated domain manager if you weren t manipulating cdn domains programmatically you won t need to change anything at all 0 1 0 first release travis image https travis ci org ericmann dynamic cdn svg branch master travis url https travis ci org ericmann dynamic cdn coveralls image https coveralls io repos ericmann dynamic cdn badge svg branch master service github coveralls url https coveralls io github ericmann dynamic cdn branch master | front_end |
|
Automotive-door-control-system-design | automotive door control system design embedded system design for two ecus communicating together to control car lights according to door state light switch state and car speed state html head meta http equiv content type content text html charset utf 8 meta name generator content cherrytree link rel stylesheet href res styles4 css type text css head body div class page strong h1 automotive door control system design h1 strong br br em span style text decoration underline disclaimer this project is part of quot advanced embedded systems quot nanodegree attended at udacity and fwd program span em br br h2 project mission h2 in the automotive industry ecus are communicating together to provide safety and driver 39 s comfort ecus are microcontrollers connected with input and output devices input devices to sense the surrounding environments and output devices to perform actions according to readings that came from input devices br the project aims to build two ecus communicating together to control car lights according to door state light switch state and car speed state br br br h2 project components h2 h3 1 system schematic for mentioned system requirements h3 strong hardware system requirements strong br two microcontrollers connected via can bus br one door sensor d br one light switch l br one speed sensor s br ecu 1 connected to d s and l all input devices br two lights right rl and left ll br one buzzer b br ecu 2 connected to rl ll and b all output devices br br strong software requirements strong br ecu 1 will send status messages periodically to ecu 2 through the can protocol br status messages will be sent using basic communication module bcm br door state message will be sent every 10ms to ecu 2 br light switch state message will be sent every 20ms to ecu 2 br speed state message will be sent every 5ms to ecu 2 br each ecu will have an os and application sw components br if the door is opened while the car is moving buzzer on lights off br if the door is opened while the car is stopped buzzer off lights on br if the door is closed while the lights were on lights are off after 3 seconds br if the car is moving and the light switch is pressed buzzer off lights on br if the car is stopped and the light switch is pressed buzzer on lights on br br h3 2 static design analysis h3 strong for ecu1 amp ecu2 provided the strong br system layered architecture design br ecu components and modules br full detailed apis for each module br system project folder structure according to the previous points br br h3 3 dynamic design analysis h3 strong for ecu1 amp ecu2 provided the strong br state machine diagram for the ecu component br state machine diagram for the ecu operation br sequence diagram for the ecu br cpu load for the ecu calculated br br strong for the system provide the strong br bus load in the system calculated with what percentage of system bus was busy per 1 second br br br br br div body html | os |
|
pubnub-api | pubnub api repository is deprecated visit sdk landing page http pubnub com docs to see pubnub s 70 sdks and download the latest version support and issues please email us at support pubnub com if you have any questions or issues with the client sdks alternatively you can open an issue in the github repo of the client you have the concern about contact us contact information for support sales and general purpose inquiries can found at http www pubnub com contact us | server |
|
MATRIX_Tutorials | introduction want to go from a z on blockchain here is the place you can find valuable materials on blockchain dev including fabric and ethereum python imlementation of blockchain go deep learning as well as cn version of the way to go here | blockchain |
|
pycon2020 | nlp in python natural language processing nlp in python tutorial given for pycon 2020 remote conference link to video https youtu be vyogwhwumec resources here is a list of resources helpful for items covered throughout the video good libraries for nlp spacy https spacy io api textblob https textblob readthedocs io en dev quickstart html nltk https www nltk org bag of words overview https machinelearningmastery com gentle introduction bag words model br sklearn code https scikit learn org stable modules feature extraction html text feature extraction word vectors overview https medium com jayeshbahire introduction to word vectors ea1d4e4b84bf br spacy info https spacy io usage vectors similarity regexes python overview https docs python org 3 howto regex html br regex cheatsheet https cheatography com davechild cheat sheets regular expressions br regex tester https regex101 com br regex golf to practice https alf nu regexgolf stemming lemmatizing overview nltk code https www guru99 com stemming lemmatization python nltk html br spacy https spacy io api lemmatizer stopwords quick overview code https www geeksforgeeks org removing stop words nltk python parts of speech textblob usage https textblob readthedocs io en dev api reference html br list of tags https www ling upenn edu courses fall 2003 ling001 penn treebank pos html br categorizing and pos tagging https www learntek org blog categorizing pos tagging nltk python transformers attention is all you need https arxiv org pdf 1706 03762 pdf br good overview of these architectures https www youtube com watch v tqqlzhbc5ps br illustrated transfomer http jalammar github io illustrated transformer transformer types bert https arxiv org pdf 1810 04805 pdf br openai gpt https openai com blog better language models | ai |
|
VDK | vdk real time operating system module vdk real time operating system description public port of the vdk real time operating system from analog devices the rtos was originally provided as part of the visualdsp development studio for analog devices sharc blackfin and tigersharc processors licensing please refer to the top level license file for full terms of licensing support this product is provided with no support whatsoever this product is not supported by analog devices building requirements to build this product you will require the following a host system running windows 7 or windows 10 cygwin installation on host pc visualdsp 5 1 2 and a valid license active python tcl version 8 6 building the product the product is built as a microkernel and platform specific support libraries the following architectures processors and silicon revisions are supported these values should be passed into the top level makefile be careful of case in the architecture processor and core fields enterring incorrect uppper lower case will result in the build doing nothing rather than failing blackfin core 10x lowercase x bf512 0 0 bf514 0 0 bf516 0 0 bf522 0 0 bf525 0 0 bf527 0 0 bf531 0 1 0 2 0 3 0 5 bf532 0 1 0 2 0 3 0 5 bf533 0 1 0 2 0 3 0 5 bf534 0 0 0 3 bf535 0 2 1 0 1 1 1 2 1 3 bf536 0 0 0 3 bf537 0 0 0 3 bf539 0 0 0 3 bf561 0 2 0 3 0 4 0 5 any bf542 0 0 bf544 0 0 bf547 0 0 bf548 0 0 bf549 0 0 sharc core 2106x 2116x 2126x 2136x 2137x 2146x 2147x 2148x lowercase x 21060 2 1 3 0 3 1 21061 3 1 21062 2 1 3 0 3 1 21065l 2 1 3 0 3 1 21160 0 0 0 1 1 1 1 2 21161 0 3 1 0 1 1 1 2 21261 0 0 0 1 21262 0 1 21266 0 1 0 2 21267 0 0 0 1 0 2 21362 0 0 21363 0 0 0 1 0 2 21364 0 0 0 1 0 2 21365 0 0 0 2 21366 0 0 0 1 0 2 21367 0 0 21368 0 0 21369 0 0 21371 0 0 21375 0 0 21462 0 0 21465 0 0 21467 0 0 21469 0 0 21472 0 0 21475 0 0 21477 0 0 21478 0 0 21479 0 0 the kernel and libs needs to be built individually to build the kernel 1 edit the top level makefile to configure the location of your toolchain prefered architecture core processor silicon revision output directory 1 make kernel to build the libraries 1 edit the top level makefile to configure the location of your toolchain prefered architecture core processor silicon revision output directory 1 make libs note that by default the release libraries will be built and installed debug libraries can be built by replacing the release command in the top level makefile for a debug command the output will be placed in the output directory out dir in makefile the components in the output directory are structured so that they can be dropped directly on top of the visualdsp toolchain | os |
|
Blockchain-Development-Resources | bdr header https user images githubusercontent com 46662771 132558872 9fb63b1d 5c15 470a 8a84 23464519ff15 jpg awesome https cdn rawgit com sindresorhus awesome d7305f38d29fed78fa85652e3a63e154dd8e8829 media badge svg https github com sindresorhus awesome tweet https img shields io twitter url http shields io svg style social https twitter com intent tweet text blockchain 20development 20resources 20 20a 20collection 20of 20free 20blockchain 20development 20learning 20resources 20by 20 frankiefab100 url https github com frankiefab100 blockchain development resources hashtags blockchaindevelopment web3 ethereum smartcontract blockchaindeveloper solidity twitter follow https img shields io twitter follow frankiefab100 style social https twitter com frankiefab100 blockchain development resources a curated list of free resources for learning blockchain development and web3 in general featuring free learning platforms websites online courses tutorials documentation games project starter templates articles and books useful for blockchain enthusiasts engineers crypto enthusiasts developers designers and stakeholders in the web3 space it comprises of links to a range of topics like introduction to blockchain technology web3 and revolution of the internet deployment of smart contracts on ethereum solana aeternity polygon celo and other evm compatible blockchain networks minting of nfts building decentralized applications dapps lending protocols and tokens creating decentralized autonomous organizations daos fundamentals of cryptography and distributed ledger technology smart contract security zero knowledge proof understanding decentralized finance how to use tutorials on blockchain development tools and technologies remixide metamask hardhat web3js ganache ethersjs web3py truffle openzeppelin infura ipfs including programming languages for writing smart contracts solidity vyper rust golang sophia please carefully read contributing guidelines contributing md before opening a pull request or issue if you really appreciate the content of this repository don t forget to give it a star and or tweet about it table of contents websites websites gamified tutorials gamified tutorials youtube channels youtube channels free online courses free online courses github repositories github repositories tutorial docs tutorial docs development tools development tools node providers node providers project starter project starter articles articles recommended books recommended books websites consensys academy https courses consensys net collections ethereum org https ethereum org en developers tutorials questbook https openquest xyz buildspace https buildspace so web3learn https web3learn io the blockchain school https theblockchainschool io blockchain at berkeley https blockchain berkeley edu protoschool https proto school tutorials dacade https dacade org figment https learn figment io finematics https finematics com near university https www near university learn by yourself kerala blockchain academy https kba ai dapp university https www dappuniversity com ethereum blockchain dev https ethereum blockchain developer com blockchain hub https blockchainhub net ethereumdev https ethereumdev io useweb3 https useweb3 xyz blockchain edu https learn blockchainedu org web3 university https www web3 university zastrin https www zastrin com metaschool https metaschool so learnweb3 dao https www learnweb3 io chainshot https www chainshot com althash university https www althash university colleges schools blockchain internship youth program biyp we teach blockchain https weteachblockchain org courses cadena https cadena dev learn web3 https learnweb3 io tacode https tacode dev nftschool https nftschool dev startonsolana https www startonsolana com blockgeeks https blockgeeks com cryptolectures https cryptolectures teachable com snakecharmers https snakecharmers ethereum org pointer https www pointer gg soldev https soldev app codiesalert https www codiesalert com soliditytips https soliditytips com cryptopedia https www gemini com cryptopedia learn near club https learnnear club teach yourself web3 https www teachyourselfweb3 com web3 freecodecamp https web3 freecodecamp org cryptodappy https www cryptodappy com metamask learn https learn metamask io alchemy university https university alchemy com buidlguidl https buidlguidl com celo academy https celo academy dapp world https dapp world com div align right b a href table of contents back to top a b div gamified tutorials cryptozombies https cryptozombies io ethernaut https ethernaut openzeppelin com damnvulnerable defi https www damnvulnerabledefi xyz vyper fun https vyper fun lessons html capture the ether https capturetheether com space doggos https www bitdegree org course learn solidity space doggos crypto hack https cryptohack org div align right b a href table of contents back to top a b div youtube channels dapp university https www youtube com dappuniversity eat the blocks https www youtube com eattheblocks ivan on tech https www youtube com ivanontech nader dabit https www youtube com naderdabit samarth developer https www youtube com samarthdeveloper6795 austin griffith https www youtube com austingriffith3550 merunas grincalaitis https www youtube com merunasg will it scale https www youtube com willitscale smart contract programmer https www youtube com smartcontractprogrammer alchemy https www youtube com alchemyplatform hashlips nft https www youtube com hashlipsnft patrick collins https www youtube com patrickalphac ethglobal https www youtube com ethglobal finematics https www youtube com finematics moralis web3 https www youtube com moralisweb3 practical blockchain https www youtube com practicalblockchain blockholic https youtube com c blockholic blockchain at berkeley https www youtube com blockholic vlad wulf https www youtube com vladwulf5207 ethereum engineering group https youtube com ethereumengineeringgroup web3 club https www youtube com web3club center for innovative finance https www youtube com centerforinnovativefinance3039 web3 foundation https www youtube com web3foundation learn web3dao https www youtube com learnweb3dao block explorer https www youtube com blockexplorermedia codexpert https www youtube com codexpert web3 learn https youtube com channel ucjl8ig0tfvwylapbplulfkw edureka https www youtube com edurekain code eater https www youtube com codeeater21 mobilefish com https www youtube com mobilefish simplilearn https www youtube com simplilearn crypto white board https www youtube com whiteboardcrypto aeternity blockchain https www youtube com aeternityblockchain chainlink https www youtube com chainlink codiesalert https www youtube com codiesalert4496 web3academy https youtube com web3academy cyfrin audits https www youtube com cyfrinaudits div align right b a href table of contents back to top a b div free online courses solidity blockchain and smart contract course beginner to expert python tutorial https www youtube com watch v m576wgidbdq build and deploy a modern web 3 0 blockchain app solidity smart contracts crypto https www youtube com watch v wn kb3mr cu blockchain development powered by ai https www youtube com watch v umepbfkp5ri learn blockchain solidity and full stack web3 development with javascript https youtu be gymwxujrbjq blockchain theory 101 https www udemy com share 101yjc2 pudkbfpatvmpcubco0hofg blockchain technology https www edx org course blockchain technology smart contracts https www coursera org learn smarter contracts blockchain and deep learning of ai https www udemy com course blockchain and deep learning future of ai understanding blockchain technology https www udemy com course understanding blockchain technology ethereum https www ludu co course ethereum blockchain technology and applications https alison com course diploma in blockchain technology and applications blockchain technology fundamentals https witscad com course blockchain technology fundamentals enterprise blockchains fundamentals https academy 101blockchains com courses enterprise blockchains fundamentals blockchain demo web based demonstration of hash block distributed ledger token public private key pairs and signing https andersbrownworth com blockchain div align right b a href table of contents back to top a b div github repositories full blockchain solidity course javascript https github com smartcontractkit full blockchain solidity course js full blockchain solidity course python https github com smartcontractkit full blockchain solidity course py learn solidity blockchain development smart contracts powered by ai https github com cyfrin foundry full course f23 blockchain for software engineers https github com benstew blockchain for software engineers ethereum developer tools list https github com consensys ethereum developer tools list awesome solidity https github com bkrem awesome solidity awesome ethereum security https github com crytic awesome ethereum security awesome blockchain https github com yjjnls awesome blockchain blockchain learning path https github com protofire blockchain learning path awesome solidity blockchainlabs https github com blockchainlabsnz awesome solidity solidity 101 https github com l henri solidity 101 web3 0 roadmap https github com frankiefab100 web3 0 roadmap web3 terms https github com olanetsoft web3terms smart contract resources https github com erichdylus smart contract resources learning solidity https github com pbrudny learning solidity 2018 solidity notes https github com 0xpranay solidity notes learn solidity with examples https github com james sangalli learn solidity with examples solidity patterns https github com fravoll solidity patterns solidity by examples https github com raineorshine solidity by example blockchain development guide https github com dcbuild3r blockchain development guide solidity cheatsheet https github com manojpramesh solidity cheatsheet awesome list rpc nodes providers https github com arddluma awesome list rpc nodes providers journey to become a blockchain engineer https github com spo0ds journey to become a blockchain engineer defi developer roadmap https github com offciercia defi developer road map web2 to web3 resources https github com decentology web2 to web3 resources blockchain tutorial https github com nosequeldeebee blockchain tutorial awesome blockchains https github com openblockchains awesome blockchains awesome zero knowledge proofs https github com matter labs awesome zero knowledge proofs awesome zk https github com ventali awesome zk awesome zkevm https github com luozhuzhang awesome zkevm awesome cryptoeconomics https github com jpantunes awesome cryptoeconomics building secure contracts https github com crytic building secure contracts ultimate defi research base https github com offciercia ultimate defi research base solidity security https github com rari capital solcurity solidity security blog https github com sigp solidity security blog web3 security library https github com immunefi team web3 security library solidity school https github com aniket engg solidity school crypto list https github com coinpride cryptolist solidity trivias https github com ajsantander trivias practical cryptography for developers book https github com nakov practical cryptography for developers book awesome openzeppelin https github com openzeppelin awesome openzeppelin blockchain dark forest selfguard handbook https github com slowmist blockchain dark forest selfguard handbook the crowdsourced comprehensive ethereum reading list https github com scanate ethlist eat the blocks https github com jklepatch eattheblocks decentralized applications https github com davidjohnstonceo decentralizedapplications decentralized websites https github com unstoppabledomains decentralized websites evm opcodes https github com crytic evm opcodes typechain https github com dethcrypto typechain awesome blockchain rust https github com rust in blockchain awesome blockchain rust awesome rust https github com rust unofficial awesome rust awesome aeternity https github com aeternity awesome aeternity metaschool learning projects https github com 0xmetaschool learning projects solana course https github com unboxed software solana course defihacklabs https github com sunweb3sec defihacklabs defivulnlabs https github com sunweb3sec defivulnlabs div align right b a href table of contents back to top a b div tutorial docs tutorial description blockchain development tutorial https cryptodevhub io wiki blockchain development tutorial getting started with blockchain development by cryptodev hub advanced smart contracts https georgebrowncollege toronto github io advanced smart contracts index html advanced smart contracts by george brown college getting started with blockchain https kauri io collections getting 20started blockchain explained getting started with blockchain by kauri public good blockchain development guide https www devpill me docs blockchain development guide by devpill ethereum blockchain development https docs microsoft com en us learn paths ethereum blockchain development get started with blockchain development by microsoft chainstack web3 decoded https docs chainstack com docs web3 decoded introduction diving into web3 development with chaintack hello world smart contracts https docs alchemy com alchemy tutorials hello world smart contract smart contract tutorial by alchemy learn solidity in y minutes https learnxinyminutes com docs solidity solidity tutorial by learn x in y minutes solidity docs https solidity readthedocs io solidity tutorial openzeppelin docs https ethernaut openzeppelin com openzeppelin tutorials by ethernaut polygon docs https academy polygon technology module 1 getting started join the polygon academy getting started with polygon by polygon academy ethereum docs https studio ethereum org ethereum tutorial decentology docs https docs decentology com ethspring by decentology solana docs https docs solana com solana documentation near docs https docs near org docs tutorials overview near documentation celo docs https docs celo org celo documentation avalanche docs https docs avax network build tutorials avalanche documentation flow docs https developers flow com flow documentation div align right b a href table of contents back to top a b div development tools ethereum evm ecosystem tool description remix ide https remix ethereum org an online integrated development environment used to write compile debug and deploy solidity code for smart contracts ethfiddle https ethfiddle com a solidity browser based development tool solidity https docs soliditylang org an object oriented high level language for implementing smart contracts on ethereum virtual machine metamask https docs metamask io guide a wallet extension for accessing and injecting the ethereum web3 api truffle suite https trufflesuite com doc development environment testing framework and asset pipeline for blockchains using the evm web3 js https web3js readthedocs io a collection of libraries that allow you to interact with a local or remote ethereum node using http ipc or websocket hardhat https hardhat org getting started an ethereum development environment that helps developers manage and automate the recurring tasks inherent to building smart contracts and dapps ethers js https docs ethers io a compact library for interacting with the ethereum blockchain and its ecosystem vyper https vyper readthedocs io en latest vyper by example html a contract oriented pythonic programming language that targets the ethereum virtual machine evm web3 py https web3py readthedocs io a python library for interacting with ethereum inspired by web3 js go ethereum https geth ethereum org docs golang implementation of ethereum protocol brownie https eth brownie readthedocs io a python based development and testing framework for smart contracts targeting the ethereum virtual machine openzeppelin https docs openzeppelin com learn a library for secure smart contract development and community vetted code evm codes https www evm codes an interactive reference to ethereum virtual machine opcodes evm opcodes https www ethervm io ethereum virtual machine opcodes chainlist https chainlist org a list of evm networks with informations used to connect wallets and web3 middleware providers to the appropriate chain and network id web3 type converter https web3 type converter onbrn com convert from a bytes32 hex into a string number or vice versa foundry https getfoundry sh a blazing fast portable and modular toolkit for ethereum application development written in rust solana tool resource description solana cookbook https solanacookbook com developer resource for building on solana blockchain rust https www rust lang org learn programming language for writing smart contracts on solana blockchain solang https solang readthedocs io solidity compiler for solana web3 sdk platforms platform description moralis https moralis io moralis provides a single workflow for building high performance dapps thirdweb https thirdweb com powerful sdk and intuitive tools for developers to implement web3 features div align right b a href table of contents back to top a b div node providers infrastructure services provides instant and reliable infrastructure empowering developers to create dapps and enhance efficiency infrastructure service description nodereal https nodereal io nodereal is a blockchain infrastructure and services provider infura https infura io infura provides infrastructure and tools for developers to build amazing web 3 0 applications alchemy https www alchemy com alchemy provides infrastructure service to build great blockchain applications chainstack https www chainstack com chainstack is the leading suite of services connecting developers with web3 infrastructure quicknode https www quicknode com a single platform for your production staging and testing environments ankr https www ankr com protocol the fastest and most reliable web3 infrastructure provider getblock https getblock io a flexible blockchain rpc provider that offers instant api access to over 50 multiple blockchains div align right b a href table of contents back to top a b div project starter create web3 dapp https github com alchemyplatform create web3 dapp scaffold eth https github com scaffold eth scaffold eth create eth app https github com paulrberg create eth app web3 react https github com noahzinsmeister web3 react web3 ui https github com developer dao web3 ui create web3 frontend https github com dhaiwat10 create web3 frontend wagmi sh https wagmi sh nexth https github com wslyvh nexth create near app https github com near create near app eth hooks https scaffold eth github io eth hooks typescript solidity dev starter kit https github com rhlsthrm typescript solidity dev starter kit dapp scaffold https github com solana labs dapp scaffold ethereum boilerplate https github com ethereum boilerplate ethereum boilerplate solana dapp scaffold https github com swaroopmaddu solana dapp scaffold polygon dapp starter kit https github com polygon academy starter kits nextjs dapp starter ts https github com g3root nextjs dapp starter ts lens protocol frontend https github com dabit3 lens protocol frontend buildspace dao starter https github com buildspace buildspace dao starter solidity hardhat boilerplate https github com defi wonderland solidity hardhat boilerplate solidity foundry boilerplate https github com defi wonderland solidity foundry boilerplate hardhat template https github com paulrberg hardhat template web3ui kit https github com web3ui web3uikit lens api starter https github com womenbuildweb3 lens api starter solidity template https github com mattstam solidity template template web3 app https github com turbo eth template web3 app boilr3 https github com envoy vc boilr3 solidity hardhat typescript boilerplate https github com emretepedev solidity hardhat typescript boilerplate div align right b a href table of contents back to top a b div articles blockchain https www investopedia com terms b blockchain asp what is web3 the decentralized internet of the future explained https www freecodecamp org news what is web3 the meaning of decentralization https medium com vitalikbuterin the meaning of decentralization a0c92b76a274 getting started as an ethereum web developer https hackernoon com getting started as an ethereum web developer 9a2a4ab47baf the complete guide to full stack ethereum development https freecodecamp org the complete guide to full stack ethereum development learn blockchain development by playing games https frankiefab hashnode dev learn blockchain development by playing games an introduction to bitcoin and cryptocurrency https hackernoon com an introduction to bitcoin and cryptocurrency 618c139d1d06 ethereum dapp crash course make an erc20 token faucet frontend https dev to richardmelko ethereum dapp crash course make an erc20 token faucet frontend 2m43 how to create an erc20 token and a solidity vendor contract https dev to stermi how to create an erc20 token and a solidity vendor contract to sell buy your own token 4j1m building on ethereum mainnet https kndrck co posts building on ethereum mainnet an opinionated guide creating deploying and minting your erc1155 token on celo https celo academy t creating deploying minting your erc1155 token on celo 75 ethereum dev speed run https medium com austin 48503 ef b8 8fethereum dev speed run bd72bcba6a4c ethereum for web developers https medium com mvmurthy ethereum for web developers 890be23d1d0c how to deploy your first smart contract on ethereum with solidity and hardhat https stermi medium com how to deploy your first smart contract on ethereum with solidity and hardhat 22f21d31096e create a solana dapp from scratch https lorisleiva com create a solana dapp from scratch ethereum in depth part1 https blog openzeppelin com ethereum in depth part 1 968981e6f833 how the bitcoin protocol actually works https michaelnielsen org ddi how the bitcoin protocol actually works how does ethereum work anyway https medium com preethikasireddy how does ethereum work anyway 22d1df506369 solidity tutorial https blockonomi com solidity tutorial solidity 101 https secureum substack com p solidity 101 how to create an erc 20 token on polygon https blog chain link how to create an erc 20 token on polygon how to get into ethereum crypto web3 as a developer https dev to dabit3 how to get into ethereum crypto web3 as a developer 9l6 building scalable full stack apps on ethereum with polygon https dev to edge and node building scalable full stack apps on ethereum with polygon 2cfb how to make an nft and render on opensea marketplace https www freecodecamp org news how to make an nft and render on opensea marketplace build defi yield farming application with chainlink https blog chain link build defi yield farming application with chainlink how to make contract calls using hardhat https celo academy t how to create and test contract calls with celo and hardhat 42 smart contract unit testing with truffle https celo academy t unit testing with truffle and celo 40 intro security hacking smart contracts ethereum https www notonlyowner com learn intro security hacking smart contracts ethereum how to build a blockchain in rust https blog logrocket com how to build a blockchain in rust web 3 0 and the evolution of the internet https dev to frankiefab100 web 30 and the evolution of the internet 56hk nft deployment cost https blog alchemy com blog nft deployment cost how to code your own cryptokitties style game on ethereum https medium com loom network how to code your own cryptokitties style game on ethereum 7c8ac86a4eb3 how to create run your own dao https medium com bitfwd how to create run your own dao 5e3eadd96962 the ultimate ens and dapp tutorial https www toptal com ethereum ethereum name service dapp tutorial how can a newbie start learning about blockchain https www blockchain council org blockchain how can a newbie start learning about blockchain learn blockchain development by playing games https frankiefab hashnode dev learn blockchain development by playing games understanding blockchain explorers https frankiefab hashnode dev understanding blockchain explorers introduction to blockchain wallet https frankiefab hashnode dev introduction to blockchain wallet how to setup metamask account and add custom blockchain networks https frankiefab hashnode dev how to setup metamask account and add custom blockchain networks a guide to web3 domain naming services https frankiefab hashnode dev a guide to web3 domain naming services 20 web3 developer communities you should join in 2023 https frankiefab hashnode dev 20 web3 developer communities you should join in 2023 the future of science what you need to know about decentralized science desci https frankiefab hashnode dev the future of science what you need to know about decentralized science desci div align right b a href table of contents back to top a b div recommended books bitcoin white paper a peer to peer electronic cash system satoshi nakamoto https bitcoin org bitcoin pdf ethereum yellow paper a secure decentralized generalised transaction ledger dr gavin wood https ethereum github io yellowpaper paper pdf mastering ethereum building smart contracts and dapps andreas antonopoulos dr gavin wood https github com ethereumbook ethereumbook mastering ethereum implement advanced blockchain applications merunas grincalaitis mastering bitcoin programming the open blockchain andreas m antonopoulos https github com bitcoinbook bitcoinbook the infinite machine how an army of crypto hackers is building the next internet with ethereum camila russo mastering bitcoin unlocking digital cryptocurrencies andreas antonopoulos programming bitcoin learn how to program bitcoin from scratch jimmy song bank 4 0 brett king building ethereum dapps decentralized applications on the ethereum blockchain roberto infante mastering the lightning network a second layer blockchain protocol for instant bitcoin payments andreas antonopoulos olaoluwa osuntokun rene pickhardt https github com lnbook lnbook seizing opportunities in the blockchain and digital currency revolution a handbook for enthusiasts chimezie chuta ethereum blockchain developer guide thomas wiesner hands on smart contract development with solidity and ethereum from fundamentals to deployment randall kanna dave hoover the spatial web how web 3 0 will connect humans machines and ai to transform the world gabriel rene how to defi darren lau et al the blockchain developer a practical guide elad elrom token economy how the web3 reinvents the internet shermin voshmgir https github com sherminvo tokeneconomybook wiki div align right b a href table of contents back to top a b div | blockchain smartcontracts dapps decentralized-applications defi nft bitcoin ethereum solidity truffle hardhat metamask awesome-list awesome-readme web3js solana polygon vyper distributed-ledger web3 | blockchain |
System_design | system design lecture videos links https www youtube com c gauravsensei featured https www youtube com playlist list pl12bcqe lp650cg6fzw7sozwn8rw1wji7 https youtube com playlist list plt4ng7rvvk1g lutij8 lve914rie5z4u other resources https github com donnemartin system design primer system design by interviewcamp https www systemdesign org would love if you can add more | os |
|
practNLPTools | practnlptools practical natural language processing tools for humans br practnlptools is a pythonic library over senna and stanford dependency extractor functionality 1 semantic role labeling 2 syntactic parsing 3 part of speech tagging pos tagging 4 named entity recognisation ner 5 dependency parsing 6 shallow chunking features 1 fast senna is written is c so it is fast 2 we use only dependency extractor component of stanford parser which takes in syntactic parse from senna and applies dependency extraction so there is no need to load parsing models for stanford parser which takes time 3 easy to use 4 platform supported windows linux and mac installation requires a computer with 500mb memory java runtime environment 1 7 preferably works with 1 6 too but didnt test installed and python if you are in linux run sudo python setup py install if you are in windows run this commands as administrator python setup py install examples chunk and ner use bios tagging scheme which expands to 1 s tag covers single word 2 b tag begins with the word 3 i word is internal to tag which has begun 4 e tag ends with the word 5 0 other tags example biplab s np is s vp a b np good i np boy e np o means biplab np is vp a good boy np o annotator is the only class you need create an annotator object from practnlptools tools import annotator annotator annotator using function getannoations sentence returns a dictionary of annotations annotator getannotations there are people dying make this world a better place for you and for me dep parse chunk there s np are s vp people s np dying b vp make e vp this b np world e np a b np better i np place e np for s pp you s np and o for s pp me s np pos there ex are vbp people nns dying vbg make vb this dt world nn a dt better jjr place nn for in you prp and cc for in me srl a1 people v dying a1 people this world a2 a better place for you and for me v make syntax tree s1 s np ex there vp vbp are np np nns people sbar s vbg dying vp vb make s np dt this nn world np dt a jjr better nn place pp pp in for np prp you cc and pp in for np me verbs dying make words there are people dying make this world a better place for you and for me ner there o are o people o dying o make o this o world o a o better o place o for o you o and o for o me o using function getannoations sentence dep parse true returns a dictionary of annotations with dependency parse by default it is switched off annotator getannotations there are people dying make this world a better place for you and for me dep parse true dep parse expl are 2 there 1 nroot root 0 are 2 nnsubj are 2 people 3 ndep make 5 dying 4 nrcmod people 3 make 5 ndet world 7 this 6 nnsubj place 10 world 7 ndet place 10 a 8 namod place 10 better 9 nxcomp make 5 place 10 nprep for make 5 you 12 nconj and you 12 me 15 chunk there s np are s vp people s np dying b vp make e vp this b np world e np a b np better i np place e np for s pp you s np and o for s pp me s np pos there ex are vbp people nns dying vbg make vb this dt world nn a dt better jjr place nn for in you prp and cc for in me srl a1 people v dying a1 people this world a2 a better place for you and for me v make syntax tree s1 s np ex there vp vbp are np np nns people sbar s vbg dying vp vb make s np dt this nn world np dt a jjr better nn place pp pp in for np prp you cc and pp in for np me verbs dying make words there are people dying make this world a better place for you and for me ner there o are o people o dying o make o this o world o a o better o place o for o you o and o for o me o you can access individual componets as annotator getannotations biplab is a good boy pos biplab nnp is vbz a dt good jj boy nn annotator getannotations biplab is a good boy ner biplab s per is o a o good o boy o o annotator getannotations biplab is a good boy chunk biplab s np is s vp a b np good i np boy e np o to list the verbs for which semantic roles are found annotator getannotations he created the robot and broke it after making it verbs created broke making srl returns a list of dictionaries identifyinging sematic roles for various verbs in sentence annotator getannotations he created the robot and broke it after making it srl a1 the robot a0 he v created a1 it a0 he am tmp after making it v broke a1 it a0 he v making syntax tree returns syntax tree in penn tree bank format annotator getannotations he created the robot and broke it after making it syntax tree s1 s np prp he vp vp vbd created np dt the nn robot cc and vp vbd broke np prp it pp in after s vp vbg making np prp it dep parse returns dependency relations as a string each relation is in new line you may require some post processing on this print annotator getannotations he created the robot and broke it after making it dep parse true dep parse nsubj created 2 he 1 root root 0 created 2 det robot 4 the 3 dobj created 2 robot 4 conj and created 2 broke 6 dobj broke 6 it 7 prepc after broke 6 making 9 dobj making 9 it 10 if there are many sentences to annotate use batch mode annotator getbatchannotations sentences dep parse true false returns a list of annotation dictionaries annotator getbatchannotations he created the robot and broke it after making it biplab is a good boy dep parse true dep parse nsubj created 2 he 1 nroot root 0 created 2 ndet robot 4 the 3 ndobj created 2 robot 4 nconj and created 2 broke 6 ndobj broke 6 it 7 nprepc after broke 6 making 9 ndobj making 9 it 10 chunk he s np created s vp the b np robot e np and o broke s vp it s np after s pp making s vp it s np pos he prp created vbd the dt robot nn and cc broke vbd it prp after in making vbg it prp srl a1 the robot a0 he v created a1 it a0 he am tmp after making it v broke a1 it a0 he v making syntax tree s1 s np prp he vp vp vbd created np dt the nn robot cc and vp vbd broke np prp it pp in after s vp vbg making np prp it verbs created broke making words he created the robot and broke it after making it ner he o created o the o robot o and o broke o it o after o making o it o dep parse nsubj boy 5 biplab 1 ncop boy 5 is 2 ndet boy 5 a 3 namod boy 5 good 4 nroot root 0 boy 5 chunk biplab s np is s vp a b np good i np boy e np o pos biplab nnp is vbz a dt good jj boy nn srl syntax tree s1 s np nnp biplab vp vbz is np dt a jj good nn boy verbs words biplab is a good boy ner biplab s per is o a o good o boy o o note for illustration purposes we have used annotator getannotations he created the robot and broke it after making it dep parse true dep parse better method is annotation annotator getannotations he created the robot and broke it after making it dep parse true ner annotation ner srl annotation srl issues 1 you cannot give sentence with that is left bracket aor right bracket it will end up in returning no result so please clean sentences before sending to annotator 2 other issue might be senna executable built for various platforms i have not experienced it but its highly probable if you get this issuse go to folder practnlptools cd practnlptools gcc o3 o senna linux64 c for linux 64 bit gcc o3 o senna linux32 c for linux 32 bit gcc o3 o senna senna osx c for mac windows i never compiled c files in windows python setup py install 3 any other you can la la laa la laaaa to biplab12 a t cse d0t iitb d0t ac d0t in 4 issues with pip install practnlptools you might receive following error while running pre traceback most recent call last file test py line 3 in module print a getannotations this is a test file usr local lib python2 7 dist packages practnlptools tools py line 206 in getannotations senna tags self getsennatag sentence file usr local lib python2 7 dist packages practnlptools tools py line 88 in getsennatag p subprocess popen senna executable stdout subprocess pipe stdin subprocess pipe file usr lib python2 7 subprocess py line 679 in init errread errwrite file usr lib python2 7 subprocess py line 1249 in execute child raise child exception oserror errno 13 permission denied pre to fix this you can do chmod r x usr local lib python2 7 dist packages practnlptools | ai |
|
IDS721-Proj1-flask | ci https github com juliajhl ids721 proj1 flask actions workflows ci yml badge svg https github com juliajhl ids721 proj1 flask actions workflows ci yml cd https github com juliajhl ids721 proj1 flask actions workflows main iris species prediction flask yml badge svg https github com juliajhl ids721 proj1 flask actions workflows main iris species prediction flask yml cloud continuous delivery of microservice mlops focused in this project i wrote an iris species prediction model in python and built the microservice using flask github actions and azure app services were applied to build ci cd the containerized version of the project has been published to dockerhub structure https github com juliajhl imgs readme blob main ids721proj1 structure png requirements create a microservice in flask or fast api push source code to github configure build system to deploy changes use iac infrastructure as code to deploy code use either aws azure gcp recommended services include google app engine aws app runner or azure app services containerization is optional but recommended dataset and model i used iris data set load iris in sklearn datasets which is made by ronald fisher in his 1936 paper the data set consists of 50 samples from each of three species of iris iris setosa iris versicolor and iris virginica four features were measured from each sample the length and the width of the sepals and petals in centimeters i applied randomforestclassifier as the model for training and prediction run project locally 1 clone the repo and cd into it git clone https github com juliajhl ids721 proj1 flask git cd ids721 proj1 flask 2 create and source the virtual environment python3 m venv env source env bin activate 3 install packages make install 4 run the app locally python app py ci cd set workflow in github actions ci https github com juliajhl ids721 proj1 flask actions workflows ci yml badge svg https github com juliajhl ids721 proj1 flask actions workflows ci yml do automatically code format lint and test based on makefile and workflows ci yml use iac to deploy code on azure app services cd https github com juliajhl ids721 proj1 flask actions workflows main iris species prediction flask yml badge svg https github com juliajhl ids721 proj1 flask actions workflows main iris species prediction flask yml this is the overview of the project deployment azure https github com juliajhl imgs readme blob main ids721proj1 overview jpg in the deployment center we can check the deployment settings and logs deployment https github com juliajhl imgs readme blob main ids721proj1 deployment png we can directly access the microservice using the url https iris species prediction flask azurewebsites net any changes to the main branch will automatically trigger ci cd examples when you run the project locally or click url https iris species prediction flask azurewebsites net directly you will enter this page start https github com juliajhl imgs readme blob main ids721proj1 start png you need to enter the length and the width of the sepals and petals respectively according to the prompt then click the predict button to get the prediction result of the iris species r1 https github com juliajhl imgs readme blob main ids721proj1 r1 png r2 https github com juliajhl imgs readme blob main ids721proj1 r2 png r3 https github com juliajhl imgs readme blob main ids721proj1 r3 png containerization optional build the image docker build t iris species prediction v1 run the docker container docker run d p 8080 8080 name test iris iris species prediction v1 publish in dockerhub https hub docker com repository docker juliajhl iris species prediction general docker https github com juliajhl imgs readme blob main ids721proj1 docker png references mlops python template https github com nogibjj python template flask docs https flask palletsprojects com en 2 2 x deploy to azure app service using github actions https learn microsoft com en us azure app service deploy github actions tabs applevel docker docs https docs docker com docker hub | cloud |
|
iot-edge-for-iiot | page type sample languages bash products azure iot edge azure iot hub azure sql edge description this sample shows how to simulate an industrial environment and use a hierarchy of iot edge devices to extract data from industrial assets visualize it offline and upload it to the cloud azure iot edge for industrial iot 3 parts 90 mins this sample shows how to simulate an industrial environment and use a hierarchy of iot edge devices to extract data from industrial assets visualize it offline and upload it to the cloud manufacturing networks are often organized in hierarchical layers following the purdue network model purduenetwork md included in the isa 95 https en wikipedia org wiki ansi isa 95 and isa 99 https www isa org standards and publications isa standards isa standards committees isa99 standards in these networks only the top layer has connectivity to the cloud and the lower layers in the hierarchy can only communicate with adjacent north and south layers in a first part we ll simulate in azure a purdue network industrial assets and a hierarchy of iot edge gateways to acquire industrial data and upload it to the cloud securely without compromising the security of the network simulated purdue network with a hierarchy of iot edge devices assets simulatedpurduenetwork svg in a second part we ll remotely deploy workloads to iot edge devices in order to 1 collect data from industrial assets over opc ua https opcfoundation org about opc technologies opc ua with opc publisher https azuremarketplace microsoft com marketplace apps microsoft iot iotedge opc publisher tab overview 2 store this data in a local sql edge https azure microsoft com services sql edge database and 3 visualize this data locally even when offline we ll build these workloads using a ci cd https wikipedia org wiki ci cd pipeline with azure devops https azure microsoft com services devops offline dashboard to monitor iiot assets assets productionataglance png in a third part we ll remotely monitor the health of all our iot edge devices independently from the network location device details dashboard assets monitoringdevicedetailsdashboard png video check out this video https www youtube com watch v rux2s1qql40 to see this demo in action and understand how it was built nested iot edge video assets iotshow png https www youtube com watch v rux2s1qql40 get started 1 simulate an purdue network industial assets and a hierarchy of iot edge devices 1 simulatepurduenetwork md 30 mins 2 deploy workloads to collect store and visualize data from industrial assets 2 deployofflinedashboard md 30 mins 3 monitor your iot edge devices from the cloud 3 monitor md 30 mins br br br br contributing the project welcomes contributions and suggestions most contributions require you to agree to a contributor license agreement cla declaring that you have the right to and actually do grant us the rights to use your contribution for details visit https cla opensource microsoft com when you submit a pull request a cla bot will automatically determine whether you need to provide a cla and decorate the pr appropriately e g status check comment simply follow the instructions provided by the bot you will only need to do this once across all repos using our cla this project has adopted the microsoft open source code of conduct https opensource microsoft com codeofconduct for more information see the code of conduct faq https opensource microsoft com codeofconduct faq or contact opencode microsoft com mailto opencode microsoft com with any additional questions or comments | server |
|
badgy | a href https www tindie com products squarofumi badgy iot badge img src https d2ss6ovg47m0r5 cloudfront net badges tindie larges png alt i sell on tindie width 200 height 104 a img src website img badgytechnical jpg know your badgy since launching the first revision of badgy we have made various updates and fixes to the hardware and design refer to the diagram below to know which revision of badgy you have this is helpful for getting started and troubleshooting img src website img badgy rev jpg rev 2c this is the latest revision of badgy september 2019 with a new display that supports 2 bit 4 color grayscale black dark gray light gray white it can be uniquely identified by the closed solder jumper on the back marked with the asterisk it also has a green tab on the screen protector film rev 2b this revision of badgy may 2019 can be uniquley identified by the small green pcb on the bottom left corner it supports programming over usb updated from ch340 to cp2104 woohoo and wifi ota it fixes the battery issue with rev 2a rev 2a this revision of badgy adds usb programming capability with the ch340 usb uart controller it also has two additional jumper pads 1 adc broken out if you choose to measure the battery voltage 2 jumper pad for driving other e ink displays e g 2 13 flexible e ink this version has a hardware bug that causes badgy to not work on battery power full description with hacks fixes described here https github com sqfmi badgy issues 20 rev 1 this is the original and first revision of badgy it only supports firmware uploading via wifi ota but the programming pads are broken out so you could also use your own usb serial adapter getting started by default your badgy displays the welcome message when powered on to upload new firmware you can simply connect via usb rev 2a 2b or to your wifi network rev 1 2a 2b you will also need a lir2450 rechargeable coin cell battery if you wish to run on battery power only warning make sure you are using a rechargeable battery lir2450 coin cell or 1s lipo other batteries such as the cr2450 or cr2032 are undervoltage 3 0v and will not work the battery charging ic also does not have reverse polarity protection check the polarity before inserting the battery over usb for rev 2a rev 2b 1 download and install the latest version of arduino ide 2 install board support for the esp8266 using the arduino board manager using instructions found here https github com esp8266 arduino installing with boards manager 3 if you are using a windows machine then you need to add support for the cp201x by installing drivers from here https www silabs com community interface knowledge base entry html 2016 12 30 downloading cp210xd ek07 4 the usb serial device should show up on the list of ports e g com8 dev cu dev tty if you don t see it then it is possible that you need to install the drivers for cp2104 on your system 5 from tools board choose nodemcu 1 0 esp 12e module 6 compile and upload one of our code samples or create your own see the compiling section below for some details note that if the esp chip is in a deep sleep then it will not automatically respond to the upload request and you may see something like error espcomm open failed when trying to upload a manual restart of the esp chip using the power slide button just prior to upload gives you a small window of time to upload over wifi 1 power your badgy through usb or a rechargeable battery or both make sure the power switch is in the off position up 2 hold down the center button and slide the power switch on down note on older firmware versions it is not necessary to hold down the center button and ota is on by default 3 the screen should now update letting you know to connect to the badgy ap network you can now let go of the center button 4 using your mobile phone connect to the badgy ap wifi network 5 follow the captive portal instructions to select your desired wifi connection 6 once connected badgy is ready to receive new firmware go to http your ip address 8888 update to upload your new firmware 7 wifi credentials are automatically saved onboard your badgy will automatically connect to your selected network the next time you perform an update check out the examples folders for various code samples we re constantly adding more compiling examples the readme files within the example directories contain specific library and version information for that example at a minimum though you should consider installing the following libraries as they are very useful and or necessary for any real functionality 1 gxepd library you can find the repo here https github com zinggjm gxepd 2 adafruit gfx library installation instructions available here https learn adafruit com adafruit gfx graphics library overview 3 wifimanager library you can find the repo here https github com tzapu wifimanager you can also find this in the library manager under wifimanager by tzapu 4 time library you can find the repo here https github com paulstoffregen time 5 arduinojson library you can find the repo here https github com bblanchon arduinojson you can also find this in the library manager under arduinojson by benoit blanchon make sure that you install a 5 x version since some of the examples require that autoreset some users have reported that badgy doesn t automatically reset after uploading a new sketch via usb this appears to be an issue with the esp8266 arduino library v2 5 0 you can either toggle the power switch to reset or downgrade to v2 4 2 this issue does not affect the operation of badgy | badgy iot esp8266 arduino python micropython | server |
kerberus | kerberus information technologies and security | server |
|
Dairy-Management-System | dairy management system this is my 3rd project of database management system using java and mysql which i have created in 3rd year of it engineering as a mini project | server |
|
Skeleton-Less | skeleton less http getskeleton com skeleton less is the un official less version of dave gamache s https twitter com dhg skeleton framework it currently featues a stable version of skeleton 2 0 4 skeleton is a simple responsive boilerplate to kickstart any responsive project check out http getskeleton com for documentation and details getting started install global dependencies node js http nodejs org bower http bower io sudo npm install bower g grunt js http gruntjs com sudo npm install g grunt cli install local dependencies download zip https github com whatsnewsaes skeleton less archive master zip clone the repo github mac openrepo https github com whatsnewsaes skeleton less or bower install skeleton less from your terminal cd to project folder run sudo npm install first time users run grunt to watch and compile less files what s in the download the download includes skeleton s css normalize css as a reset a sample favicon and an index html as a starting point skeleton index html less skeleton less images favicon png package json gruntfile js readme md contributions the goal of skeleton less is to have a mirrored less repository of skeleton in order to keep the integrity of the original skeleton framework i cannot accept any features or functionality outside the original implementation of dave gamache s https twitter com dhg skeleton framework https github com dhg skeleton if you would like to see features functionality or extensions outside of the original please make a pr or issue on the original skeleton framework if you have less improvements additional mixins or other helpful less techniques that stay within the original codebase feel free to make a pull request why it s awesome skeleton is lightweight and simple it styles only raw html elements with a few exceptions and provides a responsive grid nothing more minified it s less than a kb it s a starting point not a ui framework no compiling or installing just vanilla css browser support chrome latest firefox latest opera latest safari latest ie latest the above list is non exhaustive skeleton works perfectly with almost all older versions of the browsers above though ie certainly has large degradation prior to ie9 license all parts of skeleton less are free to use and abuse under the open source mit license http opensource org licenses mit license php colophon skeleton was built using sublime text 3 http www sublimetext com 3 and designed with sketch http bohemiancoding com sketch the typeface raleway http www google com fonts specimen raleway was created by matt mcinerney http matt cc and pablo impallari http www impallari com code highlighting by google s prettify library https code google com p google code prettify icons in the header of the documentation are all derivative work of icons from the noun project thenounproject com feather http thenounproject com term feather 22073 by zach vandehey pen http thenounproject com term pen 21163 with cap by ed harrison pen http thenounproject com term pen 32847 with clicker by matthew hall and watch http thenounproject com term watch 48015 by julien deveaux acknowledgement skeleton was created by dave gamache https twitter com dhg for a better web skeleton less was created by seth coelen http sethcoelen com for a better skeleton a href https ko fi com i 2446a87jj08cz target blank img style border 0px width 705px src https az743702 vo msecnd net cdn btn1 png border 0 alt buy me a coffee at ko fi com a | skeleton-framework css skeleton-less responsive-layout skeleton-css skeleton | front_end |
Vision-In-The-Loop | embedded systems laboratory the goal of this practical work is to train in practical embedded system design and to perform design space exploration dse to experience consequences of computer architectural choices the focus is on the embedded part of the cyber physical system p align center img src jiwy test jpg alt jiwy setup width 300 p hardware hardware used in the project altera de0 nano with altera cyclone iv fpga gumstix overo fire with arm cortex a8 processor ramstix overo firestorm fpga on one board logitech c250 webcam maxon dc motors motor amplifier h bridge encoder angle sensor technologies languages libraries and versions used in the project c gstreamer 1 0 gstreamer app 1 0 opencv2 vhdl 20 sim authors glen te hofst kilian van berlo s2613352 k vanberlo student utwente nl project link https github com kilianberlo vision in the loop | vhdl c gstreamer opencv control-engineering design-space-exploration embedded computer-architecture fpga computer-vision | os |
llm | saturn cloud llm un framework the saturn cloud llm framework is a set of tools for several application level as well as functional tasks around llms application tasks rag qa text summarization ner automated tagging functional tasks fine tuning batch inference model serving this repository is designed to be a framework for common tasks one often performs with llms this repository is also designed to be easily read so that if your needs go beyond what is provided here that it is easy for you to fork this repository or build your own framework on top of your existing code you should fork this repository or build your own framework as soon as this repository stops making your life easier you can use this framework without using saturn cloud you build llms on saturn cloud without using this framework this framework is offered as an easy and useful way to get started structure of the repository llm module this module contains all the library code to facilitate llm applications as well as llm functional tasks build examples this directory contains scripts used to prepare data used in examples users are not expected to use this directory starting points this directory contains code templates that you can implement in order to apply this repository to your own data examples this directory contains examples of using the framework on sample datasets you can think of examples as the code in starting points implemented for specific datasets concepts this repository uses a few concepts model config we have a registry of common models supported by this framework model configs include common parameters for each model as well as the promptformat for the model prompt format this the format that was used to train the model it is a good idea to use the prompt format for a given model but sometimes not essential for example the llama 2 chat model expects prompts to follow this style s inst sys system message sys input inst response s whereas vicuna expects prompts to follow this style s system message user input assistant response s not all models have a prompt format for example the llama 2 base model was trained on a corpus of text that didn t have system messages or user assistant roles prompts prompts include specific system messages examples for few shot learning and templates for inputs responses and contexts prompts map to the problem you are trying to solve and can be mixed and matched with different promptformats that map to different models note it is important that your prompt or prompt format contain enough information to tell the language model when it should start servicing your request for example let s assume that you ve constructed a prompt object that renders the following piece of data for fine tuning please summarize the following conversation a hi tom are you busy tomorrow s afternoon b i m pretty sure i am what s up a can you go with me to the animal shelter b what do you want to do a i want to get a puppy for my son tom and his friend are going to the animal shelter to get a puppy for tom s son if you fine tuned a model with data like this and then attempted to use it to generate summaries feeding in this prompt please summarize the following conversation a hi tom are you busy tomorrow s afternoon b i m pretty sure i am what s up a can you go with me to the animal shelter b what do you want to do a i want to get a puppy for my son would likely result in the following output b that will make him so happy a yeah we ve discussed it many times i think he s ready now b that s good raising a dog is a tough issue like having a baby a i ll get him one of those little dogs this is because nothing in the input indicated that the conversation was over and that the model should begin producing the summary if you were using a model such as vicuna the inherent promptformat would solve this problem user please summarize the following conversation a hi tom are you busy tomorrow s afternoon b i m pretty sure i am what s up a can you go with me to the animal shelter b what do you want to do a i want to get a puppy for my son assistant tom and his friend are going to the animal shelter to get a puppy for tom s son the presence of the assistant string indicates to the language model that it s time to produce the summary a better approach would be to bake this information into the prompt object so that the format of the model is irrelevant python prompt system message please summarize the following conversation input template conversation text response template summary text this would result in the following piece of training data when used with the base llama 2 model please summarize the following conversation conversation a hi tom are you busy tomorrow s afternoon b i m pretty sure i am what s up a can you go with me to the animal shelter b what do you want to do a i want to get a puppy for my son summary tom and his friend are going to the animal shelter to get a puppy for tom s son or if used with vicuna please summarize the following conversation user conversation a hi tom are you busy tomorrow s afternoon b i m pretty sure i am what s up a can you go with me to the animal shelter b what do you want to do a i want to get a puppy for my son assistant summary tom and his friend are going to the animal shelter to get a puppy for tom s son the user and assistant roles help vicuna identify the components of the prompt while the conversation and summary prompt templating serves as a callback to the task in the system message during inference we can also use the promptformat s roles as early stopping conditions if the model goes on to generate a new user message after the summary then the request is complete and the final output can be cleaned up before being returned to the user configuration we ve written scripts for tasks such as fine tuning batch inference model serving so that you can ideally run these tasks without having to write any code at all to do so we rely on a lightweight yaml configuration to direct the specifics of each task note sometimes the configuration delegates to other code classes for example load datest load from disk for referencing huggingface datasets userassistantformat vicunaformat for promptformats zeroshotqa and fewshotqa classes for prompts these configurations are specified with a method and a kwargs value method is a string that has been registered against an existing python function in code you can also call methods that we haven t registered with the following syntax path to module name the kwargs entry is a dictionary of parameters that the method expects | ai |
|
py-abci | pypi https img shields io pypi v abci svg https pypi python org pypi abci build https travis ci org davebryson py abci svg branch master https https travis ci org davebryson py abci codecoverage https codecov io gh davebryson py abci branch master graph badge svg https codecov io gh davebryson py abci py abci build tendermint blockchain applications in python it s fun this library provides the core functionality needed to create tendermint abci applications supported tendermint version tendermint 0 34 24 abci 0 17 0 installation requires python 3 9 pip install abci you ll need a binary version of the tendermint engine available here https github com tendermint tendermint releases make sure the tendermint version you download matches the current support version of this library quick start demo a very simple demo application is included and available from the command line as counter you can find the code here https github com davebryson py abci blob master src example counter py to try it out 1 make sure you have the tendermint binary setup locally and in your path to test it s working open a terminal window and type text tendermint version it should output your version of tendermint that should match the currently supported version of this library 2 next initialize tendermint by running text tendermint init 3 start the tendermint node text tendermint node the node will start but will be waiting for you application to start 4 open another terminal and start the counter application the counter will be available from within the python environment where you installed abci text counter you ll see the application start and in the tendermint terminal you ll see the output of blocks being produced 5 now open a 3rd terminal window to send some transaction to the blockchain to do this we ll use the curl application to send transaction to the local blockchain over http for example text curl http localhost 26657 broadcast tx commit tx 0x01 curl http localhost 26657 broadcast tx commit tx 0x02 the counter application expects you to send transactions as numbers encoded as hex in order 1 2 3 it will reject and out of order numbers you can always see the latest accepted value by sending the request text curl http localhost 26657 abci query to shut down the application enter ctrl c get started to start building your own application 1 extend the abci application baseapplication class 2 implement the tendermint abci callbacks see https docs tendermint com v0 34 spec abci for details on how they work 3 start it python from abci server import abciserver app abciserver app myapplication app run see the counter py application in the example directory https github com davebryson py abci blob master src example counter py for a full example developing on the code base if you re working directly on the code base install a local editable version pip install editable test updating protobuf code you should only re generate the protobuf code if you re updating the associated protobuf files and or contributing to this code base you do not need to rebuild protos to create apps a note on protobuf the primary code directory is abci but you ll notice additional directories gogoproto tendermint and protos the gogoproto and tendermint directories are the protobuf generated code used by abci it adds proper python modules and preserves all the import statements used by tendermint for the various protobuf files spread across their codebase the protos directory is the source proto files to re build the protobuf files 1 install protoc so it s available in your path as a command 2 run make update proto | tendermint blockchain abci | blockchain |
litmus | img alt litmuschaos src https avatars githubusercontent com u 49853472 s 200 v 4 width 200 align left litmuschaos https litmuschaos io open source chaos engineering platform slack channel https img shields io badge slack join purple https slack litmuschaos io github workflow https github com litmuschaos litmus actions workflows push yml badge svg branch master docker pulls https img shields io docker pulls litmuschaos chaos operator svg https hub docker com r litmuschaos chaos operator github stars https img shields io github stars litmuschaos litmus style social https github com litmuschaos litmus stargazers github issues https img shields io github issues litmuschaos litmus https github com litmuschaos litmus issues twitter follow https img shields io twitter follow litmuschaos style social https twitter com litmuschaos cii best practices https bestpractices coreinfrastructure org projects 3202 badge https bestpractices coreinfrastructure org projects 3202 fossa status https app fossa io api projects git 2bgithub com 2flitmuschaos 2flitmus svg type shield https app fossa io projects git 2bgithub com 2flitmuschaos 2flitmus ref badge shield youtube channel https img shields io badge youtube subscribe red https www youtube com channel uca57pmqmz j0wntera9ncaw br br br br read this in other languages translations translations md translations readme ko md translations readme chn md translations readme pt br md translations readme hi md overview litmuschaos is an open source chaos engineering platform that enables teams to identify weaknesses potential outages in infrastructures by inducing chaos tests in a controlled way developers sres can practice chaos engineering with litmuschaos as it is easy to use based on modern chaos engineering principles community collaborated it is 100 open source a cncf project litmuschaos takes a cloud native approach to create manage and monitor chaos the platform itself runs as a set of microservices and uses kubernetes custom resources to define the chaos intent as well as the steady state hypothesis at a high level litmus comprises of chaos control plane a centralized chaos management tool called chaos center which helps construct schedule and visualize litmus chaos workflows chaos execution plane services made up of a chaos agent and multiple operators that execute monitor the experiment within a defined target kubernetes environment architecture summary images litmus control and execution plane overview png at the heart of the platform are the following chaos custom resources chaosexperiment a resource to group the configuration parameters of a particular fault chaosexperiment crs are essentially installable templates that describe the library carrying out the fault indicate permissions needed to run it the defaults it will operate with through the chaosexperiment litmus supports byoc bring your own chaos that helps integrate optional any third party tooling to perform the fault injection chaosengine a resource to link a kubernetes application workload service node or an infra component to a fault described by the chaosexperiment it also provides options to tune the run properties and specify the steady state validation constraints using probes chaosengine is watched by the chaos operator which reconciles it triggers experiment execution via runners the chaosexperiment chaosengine crs are embedded within a workflow object that can string together one or more experiments in a desired order chaosresult a resource to hold the results of the experiment run it provides details of the success of each validation constraint the revert rollback status of the fault as well as a verdict the chaos exporter reads the results and exposes information as prometheus metrics chaosresults are especially useful during automated runs chaosexperiment crs are hosted on a href https hub litmuschaos io target blank hub litmuschaos io a it is a central hub where the application developers or vendors share their chaos experiments so that their users can use them to increase the resilience of the applications in production chaos operator flow images chaos operator flow png use cases for developers to run chaos experiments during application development as an extension of unit testing or integration testing for ci cd pipeline builders to run chaos as a pipeline stage to find bugs when the application is subjected to fail paths in a pipeline for sres to plan and schedule chaos experiments into the application and or surrounding infrastructure this practice identifies the weaknesses in the deployment system and increases resilience getting started with litmus to get started check out the a href https docs litmuschaos io docs introduction what is litmus target blank litmus docs a and specifically the a href https docs litmuschaos io docs getting started installation prerequisites target blank installation section a of the a href https docs litmuschaos io docs getting started installation target blank getting started with litmus a page contributing to chaos hub check out the a href https github com litmuschaos community charts blob master contributing md target blank contributing guidelines for the chaos hub a community community resources feel free to reach out if you have any queries concerns or feature requests give us a star if you are using litmuschaos or think it is an interesting project we would love a star follow litmuschaos on twitter litmuschaos https twitter com litmuschaos subscribe to the litmuschaos youtube channel https www youtube com channel uca57pmqmz j0wntera9ncaw for regular updates meeting recordings to join our slack community https slack litmuschaos io and meet our community members put forward your questions opinions join the litmus channel on the kubernetes slack https slack k8s io community meetings the litmus community meets on the third wednesday of every month at 10 00pm ist 6 30 pm cest 9 30 am pst sync up meeting link https harness io zoom us j 95100368978 pwd b2vrdctaake5u3dhoelfmujoaxvout09 sync up agenda meeting notes https hackmd io a4zu sh4tzgeih xcimi3q release tracker https github com litmuschaos litmus milestones videos cloud native live litmus chaos engine and a microservices demo app https youtu be hoghvd9qczi chaos engineering hands on an sre ideating chaos experiments and using litmuschaos july 2022 https youtu be x 7siesjf0 achieve digital product resiliency with chaos engineering https youtu be pqrmbhgk0ps how to create chaos experiments with litmus litmus chaos tutorial https youtu be mwu5elgukq4 is it observable https www youtube com c isitobservable cloud native chaos engineering preview with litmuschaos https youtu be pmwqhs f3tq get started with chaos engineering with litmus https youtu be 5ci8d skbfc containers from the couch https www youtube com c containersfromthecouch litmus 2 chaos engineering meets argo workflows https youtu be b8dfyndh2f4 devops toolkit https youtube com c devopstoolkit hands on with litmus 2 0 rawkode live https youtu be d0t3emvllko rawkode academy https www youtube com channel ucrber mfvp fef7d9u8pdea introducing litmuschaos 2 0 dok talks 74 https youtu be 97bicntjbdw dok community https www youtube com channel ucunxjbhq89r2usfksqqwgvq introduction to cloud native chaos engineering https youtu be lk0odlqe4s8 kunal kushwaha https www youtube com channel ucbgouqhnntngcgzvq5rixjw everyonecancontribute cafe litmus chaos engineering for your kubernetes https youtu be iiyreik4stq gitlab unfiltered https www youtube com channel ucmtz0sc1hhntggwzfdrth5a litmus chaos engineering for kubernetes cncfminutes 9 https youtu be rdq9xkbsjic saiyam pathak https www youtube com channel uci 1nnn0ec9nrlexdza6ncg chaos engineering with litmus chaos by prithvi raj hackodisha workshop https youtu be eyag0svcsqa webwiz https www youtube com channel uc9ym pkv0qiispa3qprp and more https www youtube com channel uca57pmqmz j0wntera9ncaw blogs cncf introduction to litmuschaos https www cncf io blog 2020 08 28 introduction to litmuschaos hackernoon manage and monitor chaos via litmus custom resources https hackernoon com solid tips on how to manage and monitor chaos via litmus custom resources 5g1s33m9 observability considerations in chaos the metrics story https dev to ksatchit observability considerations in chaos the metrics story 6cb community blogs daniyal rayn do i need chaos engineering on my environment trust me you need it https maveric systems com blog do i need chaos engineering on my environment trust me you need it livewyer litmuschaos showcase chaos experiments in a helm chart test suite https livewyer io blog 2021 03 22 litmuschaos showcase chaos experiments in a helm chart test suite jessica cherry test kubernetes cluster failures and experiments in your terminal https opensource com article 21 6 kubernetes litmus chaos yang chuansheng kubesphere kubesphere litmus kubernetes https kubesphere io zh blogs litmus kubesphere saiyam pathak civo chaos experiments on kubernetes using litmus to ensure your cluster is production ready https www civo com learn chaos engineering kubernetes litmus andreas krivas container solutions comparing chaos engineering tools for kubernetes workloads https blog container solutions com comparing chaos engineering tools akram riahi wescale chaos engineering litmus sous tous les angles https blog wescale fr 2021 03 11 chaos engineering litmus sous tous les angles prashanto priyanshu lenskart lenskart s approach to chaos engineering part 2 https blog lenskart com lenskarts approach to chaos engineering part 2 6290e4f3a74e devsday ru russian litmuschaos at kubecon eu 21 https devsday ru blog details 40746 ryan pei armory litmuschaos in your spinnaker pipeline https www armory io blog litmuschaos in your spinnaker pipeline david gildeh zebrium using autonomous monitoring with litmus chaos engine on kubernetes https www zebrium com blog using autonomous monitoring with litmus chaos engine on kubernetes adopters check out the a href https github com litmuschaos litmus blob master adopters md target blank adopters of litmuschaos a send a pr to the above page if you are using litmus in your chaos engineering practice license litmus is licensed under the apache license version 2 0 see license license for the full license text some of the projects used by the litmus project may be governed by a different license please refer to its specific license fossa status https app fossa io api projects git 2bgithub com 2flitmuschaos 2flitmus svg type large https app fossa io projects git 2bgithub com 2flitmuschaos 2flitmus ref badge large litmus chaos is part of the cncf projects cncf https github com cncf artwork blob master other cncf horizontal color cncf color png https landscape cncf io selected litmus important links a href https docs litmuschaos io litmus docs img src https avatars0 githubusercontent com u 49853472 s 200 v 4 alt litmus docs height 15 a br a href https landscape cncf io selected litmus cncf landscape img src https landscape cncf io images left logo svg alt litmus on cncf landscape height 15 a | chaos-engineering kubernetes chaos-experiments cloud-native chaoshub hacktoberfest cncf operator-sdk site-reliability-engineering golang chaos-testing fault-injection google-summer-of-code devops fault-simulation litmuschaos reliability-engineering resilience-testing k8s lfx | cloud |
teste-front-end-developer | teste para candidatos vaga de front end developer logo icolabora http www icolabora com br vagas imgs icolabora png https www icolabora com br vagas todos que os interessados que fizerem pull request receber o um feedback da icolabora br essa prova consiste em testar seus conhecimentos com b html css javascript sql b entre outras coisas br o conjunto de interfaces disponibilizado leva em m dia b 6 horas b para ser implementado instru es 1 fa a um fork deste reposit rio 2 estude o modelo de processo i processo teste front png i 3 estude os requisitos para elabora o do formul rio e das m tricas 3 implemente o html css das telas com base no layout dispon vel 4 para a intera o das interfaces utilize preferencialmente jquery 5 ap s terminar seu teste submeta um pull request e aguarde seu feedback ps1 o formul rio n o deve submeter nenhuma url br ps2 a url da p gina n o pode ser recarregada em momento algum br ps3 usamos o mesmo teste para todos os n veis de front junior pleno ou senior mas procuramos adequar nossa exig ncia na avalia o com cada um desses n veis sem por exemplo exigir excel ncia de quem est come ando voc pode utilizar qualquer linguagem de pr processador css ou css puro utilizar um task runner de sua prefer ncia utilizar bibliotecas css como compass bourbon animatecss ou outras esperamos que voc realize as consultas no banco de dados que fornecemos torne din mica as buscas e preenchimentos dos campos do formul rio fa a um visual bacana minifique seu css e deixe o na pasta css minifique seu javascript e deixe o na pasta js fa a commit tamb m dos arquivos n o minificados d suporte a ie10 chrome safari e firefox ganhe pontos extras por desenvolver html sem ntico componentizar seu css ser fiel as especifica es dos arquivos validar os campos do seu formul rio antes de habilitar o bot o de envio ux ui material todos os layouts necess rios est o dispon veis na pasta ra z modelo do processo de neg cio dispon vel com o nome i processo teste front png i na pasta ra z para consultas acerca da bpm acesse o activiti user guide http www activiti org userguide bpmnconstructs utilize o webservice de consulta de cep s https viacep com br modelo do banco de dados relacional pode ser encontrado em i modelo relacional png i na pasta ra z biblioteca para cria o de querys mysql via javascript com o nome i mysql lib js i na pasta ra z especifica o deve ser desenvolvido um conjunto de interfaces formul rio e m tricas para a automa o do processo de shipment of a hardware retailer use a criatividade para preencher os espa os em branco nos arquivos fornecidos para tal implemente o html css js do formul rio associado a tarefa i check if extra insurance is necessary i arquivo i task psd i com os seguintes campos b dados do pedido b devem existir 4 materiais de sua escolha vinculados ao pedido do teste n mero de pedido material marca data de compra quantidade do material pre o total b dados do insumo b devem existir 2 insumos de sua escolha vinculados ao pedido do teste al m disso deve ser poss vel inserir mais insumos marca descri o quantidade pre o b dados do solicitante b use o webservice para a consulta de cep nome completo telefone cpf cep endere o complemento cidade estado b dados da entrega b pode ser utilizado o mesmo endere o presente nos dados do solicitante cep endere o complemento cidade estado b c lculos b total do pedido pre o dos insumos x quantidades pre o do material x quantidades b busca b deve ser permitido inserir um numero de pedido e ap s a consulta preencher automaticamente todos os campos do formul rio implemente o html css js do dashboard com os seguintes gr ficos e tabelas arquivo i dashboard psd i gr fico quantidade de pedidos por dia gr fico pedidos por solicitante tabela pedidos pendentes utilizando a biblioteca i mysql lib js i carregue o arquivo i mysql lib js i no seu html html script src mysql lib js type text javascript script chame a fun o mysqlquery passando como parametro a query que voc deseja realizar em formato sql e uma fun o para a captura do retorno da seguinte forma javascript var mysql query select from solicitantes where id 1 mysqlquery mysql query function result mostra o resultado da query console log result para mais informa es baixe a pasta exemplo query para um exemplo de como utilizar a biblioteca ou acesse o link no jsbin http jsbin com vefeyelofi edit html output submiss o para iniciar o teste fa a um fork deste reposit rio crie uma branch com o seu nome completo e depois envie nos o pull request se voc apenas clonar o reposit rio n o vai conseguir fazer push e depois vai ser mais complicado fazer o pull request boa sorte d | front_end |
|
find-a-coach | find a coach welcome to the find a coach project a platform where users can search for coaches in various fields such as frontend development backend development and career guidance whether you re looking to learn improve your skills or seek guidance in your career this app helps you connect with experienced coaches features search coaches easily search for coaches based on your preferred field including frontend backend and career filter coaches narrow down your search by applying filters to find the perfect coach for your needs view coach profiles access detailed coach profiles to learn about their expertise experience and contact information contact coaches send direct messages to coaches to discuss your learning or career goals user registration register as a user to save your favorite coaches and track your interactions coach registration coaches can register and provide information about their expertise to connect with potential students getting started to get started with the find a coach project follow these steps 1 clone the repository clone this repository to your local machine using the following command bash git clone https github com ftaskoski123 find a coach git 2 navigate to the project directory open a terminal or command prompt and navigate to the project directory 3 install dependencies install the project dependencies by running the following command npm install this command will download and install the necessary packages 4 start the application start the find a coach application on your local machine with this command npm run serve the app will be accessible in your web browser at http localhost 8080 or another port if specified explore and connect use the platform to search for coaches view their profiles and contact them to kickstart your learning journey or career advancement you can access the find a coach platform here https ft find a coach netlify app | firebase firebase-auth javascript vue vuejs | server |
react-router-example | this project was bootstrapped with create react app https github com facebookincubator create react app below you will find some information on how to perform common tasks br you can find the most recent version of this guide here https github com facebookincubator create react app blob master packages react scripts template readme md table of contents updating to new releases updating to new releases sending feedback sending feedback folder structure folder structure available scripts available scripts npm start npm start npm test npm test npm run build npm run build npm run eject npm run eject syntax highlighting in the editor syntax highlighting in the editor displaying lint output in the editor displaying lint output in the editor changing the page title changing the page title installing a dependency installing a dependency importing a component importing a component adding a stylesheet adding a stylesheet post processing css post processing css adding images and fonts adding images and fonts using the public folder using the public folder changing the html changing the html adding assets outside of the module system adding assets outside of the module system when to use the public folder when to use the public folder using global variables using global variables adding bootstrap adding bootstrap adding flow adding flow adding custom environment variables adding custom environment variables can i use decorators can i use decorators integrating with an api backend integrating with an api backend node node ruby on rails ruby on rails proxying api requests in development proxying api requests in development using https in development using https in development generating dynamic meta tags on the server generating dynamic meta tags on the server running tests running tests filename conventions filename conventions command line interface command line interface version control integration version control integration writing tests writing tests testing components testing components using third party assertion libraries using third party assertion libraries initializing test environment initializing test environment focusing and excluding tests focusing and excluding tests coverage reporting coverage reporting continuous integration continuous integration disabling jsdom disabling jsdom snapshot testing snapshot testing editor integration editor integration developing components in isolation developing components in isolation making a progressive web app making a progressive web app deployment deployment serving apps with client side routing serving apps with client side routing building for relative paths building for relative paths firebase firebase github pages github pages heroku heroku modulus modulus netlify netlify now now s3 and cloudfront s3 and cloudfront surge surge advanced configuration advanced configuration troubleshooting troubleshooting npm start doesn t detect changes npm start doesnt detect changes npm test hangs on macos sierra npm test hangs on macos sierra npm run build silently fails npm run build silently fails npm run build fails on heroku npm run build fails on heroku something missing something missing updating to new releases create react app is divided into two packages create react app is a global command line utility that you use to create new projects react scripts is a development dependency in the generated projects including this one you almost never need to update create react app itself it delegates all the setup to react scripts when you run create react app it always creates the project with the latest version of react scripts so you ll get all the new features and improvements in newly created apps automatically to update an existing project to a new version of react scripts open the changelog https github com facebookincubator create react app blob master changelog md find the version you re currently on check package json in this folder if you re not sure and apply the migration instructions for the newer versions in most cases bumping the react scripts version in package json and running npm install in this folder should be enough but it s good to consult the changelog https github com facebookincubator create react app blob master changelog md for potential breaking changes we commit to keeping the breaking changes minimal so you can upgrade react scripts painlessly sending feedback we are always open to your feedback https github com facebookincubator create react app issues folder structure after creation your project should look like this my app readme md node modules package json public index html favicon ico src app css app js app test js index css index js logo svg for the project to build these files must exist with exact filenames public index html is the page template src index js is the javascript entry point you can delete or rename the other files you may create subdirectories inside src for faster rebuilds only files inside src are processed by webpack br you need to put any js and css files inside src or webpack won t see them only files inside public can be used from public index html br read instructions below for using assets from javascript and html you can however create more top level directories br they will not be included in the production build so you can use them for things like documentation available scripts in the project directory you can run npm start runs the app in the development mode br open http localhost 3000 http localhost 3000 to view it in the browser the page will reload if you make edits br you will also see any lint errors in the console npm test launches the test runner in the interactive watch mode br see the section about running tests running tests for more information npm run build builds the app for production to the build folder br it correctly bundles react in production mode and optimizes the build for the best performance the build is minified and the filenames include the hashes br your app is ready to be deployed see the section about deployment deployment for more information npm run eject note this is a one way operation once you eject you can t go back if you aren t satisfied with the build tool and configuration choices you can eject at any time this command will remove the single build dependency from your project instead it will copy all the configuration files and the transitive dependencies webpack babel eslint etc right into your project so you have full control over them all of the commands except eject will still work but they will point to the copied scripts so you can tweak them at this point you re on your own you don t have to ever use eject the curated feature set is suitable for small and middle deployments and you shouldn t feel obligated to use this feature however we understand that this tool wouldn t be useful if you couldn t customize it when you are ready for it syntax highlighting in the editor to configure the syntax highlighting in your favorite text editor head to the relevant babel documentation page https babeljs io docs editors and follow the instructions some of the most popular editors are covered displaying lint output in the editor note this feature is available with react scripts 0 2 0 and higher some editors including sublime text atom and visual studio code provide plugins for eslint they are not required for linting you should see the linter output right in your terminal as well as the browser console however if you prefer the lint results to appear right in your editor there are some extra steps you can do you would need to install an eslint plugin for your editor first a note for atom linter eslint users if you are using the atom linter eslint plugin make sure that use global eslint installation option is checked img src http i imgur com yvnnhjm png width 300 for visual studio code users vs code eslint plugin automatically detects create react app s configuration file so you do not need to create eslintrc json at the root directory except when you want to add your own rules in that case you should include cra s config by adding this line js extends react app then add this block to the package json file of your project js eslintconfig extends react app finally you will need to install some packages globally sh npm install g eslint config react app 0 3 0 eslint 3 8 1 babel eslint 7 0 0 eslint plugin react 6 4 1 eslint plugin import 2 0 1 eslint plugin jsx a11y 2 2 3 eslint plugin flowtype 2 21 0 we recognize that this is suboptimal but it is currently required due to the way we hide the eslint dependency the eslint team is already working on a solution to this https github com eslint eslint issues 3458 so this may become unnecessary in a couple of months changing the page title you can find the source html file in the public folder of the generated project you may edit the title tag in it to change the title from react app to anything else note that normally you wouldn t edit files in the public folder very often for example adding a stylesheet adding a stylesheet is done without touching the html if you need to dynamically update the page title based on the content you can use the browser document title https developer mozilla org en us docs web api document title api for more complex scenarios when you want to change the title from react components you can use react helmet https github com nfl react helmet a third party library finally if you use a custom server for your app in production and want to modify the title before it gets sent to the browser you can follow advice in this section generating dynamic meta tags on the server installing a dependency the generated project includes react and reactdom as dependencies it also includes a set of scripts used by create react app as a development dependency you may install other dependencies for example react router with npm npm install save library name importing a component this project setup supports es6 modules thanks to babel br while you can still use require and module exports we encourage you to use import and export http exploringjs com es6 ch modules html instead for example button js js import react component from react class button extends component render export default button don t forget to use export default dangerbutton js js import react component from react import button from button import a component from another file class dangerbutton extends component render return button color red export default dangerbutton be aware of the difference between default and named exports http stackoverflow com questions 36795819 react native es 6 when should i use curly braces for import 36796281 36796281 it is a common source of mistakes we suggest that you stick to using default imports and exports when a module only exports a single thing for example a component that s what you get when you use export default button and import button from button named exports are useful for utility modules that export several functions a module may have at most one default export and as many named exports as you like learn more about es6 modules when to use the curly braces http stackoverflow com questions 36795819 react native es 6 when should i use curly braces for import 36796281 36796281 exploring es6 modules http exploringjs com es6 ch modules html understanding es6 modules https leanpub com understandinges6 read leanpub auto encapsulating code with modules adding a stylesheet this project setup uses webpack https webpack github io for handling all assets webpack offers a custom way of extending the concept of import beyond javascript to express that a javascript file depends on a css file you need to import the css from the javascript file button css css button padding 20px button js js import react component from react import button css tell webpack that button js uses these styles class button extends component render you can use them as regular css styles return div classname button this is not required for react but many people find this feature convenient you can read about the benefits of this approach here https medium com seek ui engineering block element modifying your javascript components d7f99fcab52b however you should be aware that this makes your code less portable to other build tools and environments than webpack in development expressing dependencies this way allows your styles to be reloaded on the fly as you edit them in production all css files will be concatenated into a single minified css file in the build output if you are concerned about using webpack specific semantics you can put all your css right into src index css it would still be imported from src index js but you could always remove that import if you later migrate to a different build tool post processing css this project setup minifies your css and adds vendor prefixes to it automatically through autoprefixer https github com postcss autoprefixer so you don t need to worry about it for example this css app display flex flex direction row align items center becomes this css app display webkit box display ms flexbox display flex webkit box orient horizontal webkit box direction normal ms flex direction row flex direction row webkit box align center ms flex align center align items center there is currently no support for preprocessors such as less or for sharing variables across css files adding images and fonts with webpack using static assets like images and fonts works similarly to css you can import an image right in a javascript module this tells webpack to include that image in the bundle unlike css imports importing an image or a font gives you a string value this value is the final image path you can reference in your code here is an example js import react from react import logo from logo png tell webpack this js file uses this image console log logo logo 84287d09 png function header import result is the url of your image return img src logo alt logo export default header this ensures that when the project is built webpack will correctly move the images into the build folder and provide us with correct paths this works in css too css logo background image url logo png webpack finds all relative module references in css they start with and replaces them with the final paths from the compiled bundle if you make a typo or accidentally delete an important file you will see a compilation error just like when you import a non existent javascript module the final filenames in the compiled bundle are generated by webpack from content hashes if the file content changes in the future webpack will give it a different name in production so you don t need to worry about long term caching of assets please be advised that this is also a custom feature of webpack it is not required for react but many people enjoy it and react native uses a similar mechanism for images br an alternative way of handling static assets is described in the next section using the public folder note this feature is available with react scripts 0 5 0 and higher changing the html the public folder contains the html file so you can tweak it for example to set the page title changing the page title the script tag with the compiled code will be added to it automatically during the build process adding assets outside of the module system you can also add other assets to the public folder note that we normally encourage you to import assets in javascript files instead for example see the sections on adding a stylesheet adding a stylesheet and adding images and fonts adding images and fonts this mechanism provides a number of benefits scripts and stylesheets get minified and bundled together to avoid extra network requests missing files cause compilation errors instead of 404 errors for your users result filenames include content hashes so you don t need to worry about browsers caching their old versions however there is an escape hatch that you can use to add an asset outside of the module system if you put a file into the public folder it will not be processed by webpack instead it will be copied into the build folder untouched to reference assets in the public folder you need to use a special variable called public url inside index html you can use it like this html link rel shortcut icon href public url favicon ico only files inside the public folder will be accessible by public url prefix if you need to use a file from src or node modules you ll have to copy it there to explicitly specify your intention to make this file a part of the build when you run npm run build create react app will substitute public url with a correct absolute path so your project works even if you use client side routing or host it at a non root url in javascript code you can use process env public url for similar purposes js render note this is an escape hatch and should be used sparingly normally we recommend using import for getting asset urls as described in adding images and fonts above this section return img src process env public url img logo png keep in mind the downsides of this approach none of the files in public folder get post processed or minified missing files will not be called at compilation time and will cause 404 errors for your users result filenames won t include content hashes so you ll need to add query arguments or rename them every time they change when to use the public folder normally we recommend importing stylesheets adding a stylesheet images and fonts adding images and fonts from javascript the public folder is useful as a workaround for a number of less common cases you need a file with a specific name in the build output such as manifest webmanifest https developer mozilla org en us docs web manifest you have thousands of images and need to dynamically reference their paths you want to include a small script like pace js http github hubspot com pace docs welcome outside of the bundled code some library may be incompatible with webpack and you have no other option but to include it as a script tag note that if you add a script that declares global variables you also need to read the next section on using them using global variables when you include a script in the html file that defines global variables and try to use one of these variables in the code the linter will complain because it cannot see the definition of the variable you can avoid this by reading the global variable explicitly from the window object for example js const window this makes it obvious you are using a global variable intentionally rather than because of a typo alternatively you can force the linter to ignore any line by adding eslint disable line after it adding bootstrap you don t have to use react bootstrap https react bootstrap github io together with react but it is a popular library for integrating bootstrap with react apps if you need it you can integrate it with create react app by following these steps install react bootstrap and bootstrap from npm react bootstrap does not include bootstrap css so this needs to be installed as well npm install react bootstrap save npm install bootstrap 3 save import bootstrap css and optionally bootstrap theme css in the src index js file js import bootstrap dist css bootstrap css import bootstrap dist css bootstrap theme css import required react bootstrap components within src app js file or your custom component files js import navbar jumbotron button from react bootstrap now you are ready to use the imported react bootstrap components within your component hierarchy defined in the render method here is an example app js https gist githubusercontent com gaearon 85d8c067f6af1e56277c82d19fd4da7b raw 6158dd991b67284e9fc8d70b9d973efe87659d72 app js redone using react bootstrap adding flow flow is a static type checker that helps you write code with fewer bugs check out this introduction to using static types in javascript https medium com preethikasireddy why use static types in javascript part 1 8382da1e0adb if you are new to this concept recent versions of flow http flowtype org work with create react app projects out of the box to add flow to a create react app project follow these steps 1 run npm install save dev flow bin 2 add flow flow to the scripts section of your package json 3 add flow to any files you want to type check for example to src app js now you can run npm run flow to check the files for type errors you can optionally use an ide like nuclide https nuclide io docs languages flow for a better integrated experience in the future we plan to integrate it into create react app even more closely to learn more about flow check out its documentation https flowtype org adding custom environment variables note this feature is available with react scripts 0 2 3 and higher your project can consume variables declared in your environment as if they were declared locally in your js files by default you will have node env defined for you and any other environment variables starting with react app note you must create custom environment variables beginning with react app any other variables except node env will be ignored to avoid accidentally exposing a private key on the machine that could have the same name https github com facebookincubator create react app issues 865 issuecomment 252199527 these environment variables will be defined for you on process env for example having an environment variable named react app secret code will be exposed in your js as process env react app secret code in addition to process env node env note changing any environment variables will require you to restart the development server if it is running these environment variables can be useful for displaying information conditionally based on where the project is deployed or consuming sensitive data that lives outside of version control first you need to have environment variables defined for example let s say you wanted to consume a secret defined in the environment inside a form jsx render return div small you are running this application in b process env node env b mode small form input type hidden defaultvalue process env react app secret code form div during the build process env react app secret code will be replaced with the current value of the react app secret code environment variable remember that the node env variable will be set for you automatically when you load the app in the browser and inspect the input you will see its value set to abcdef and the bold text will show the environment provided when using npm start html div small you are running this application in b development b mode small form input type hidden value abcdef form div having access to the node env is also useful for performing actions conditionally js if process env node env production analytics disable the above form is looking for a variable called react app secret code from the environment in order to consume this value we need to have it defined in the environment this can be done using two ways either in your shell or in a env file adding temporary environment variables in your shell defining environment variables can vary between oses it s also important to know that this manner is temporary for the life of the shell session windows cmd exe cmd set react app secret code abcdef npm start note the lack of whitespace is intentional linux macos bash bash react app secret code abcdef npm start adding development environment variables in env note this feature is available with react scripts 0 5 0 and higher to define permanent environment variables create a file called env in the root of your project react app secret code abcdef these variables will act as the defaults if the machine does not explicitly set them br please refer to the dotenv documentation https github com motdotla dotenv for more details note if you are defining environment variables for development your ci and or hosting platform will most likely need these defined as well consult their documentation how to do this for example see the documentation for travis ci https docs travis ci com user environment variables or heroku https devcenter heroku com articles config vars can i use decorators many popular libraries use decorators https medium com google developers exploring es7 decorators 76ecb65fb841 in their documentation br create react app doesn t support decorator syntax at the moment because it is an experimental proposal and is subject to change the current specification version is not officially supported by babel if the specification changes we won t be able to write a codemod because we don t use them internally at facebook however in many cases you can rewrite decorator based code without decorators just as fine br please refer to these two threads for reference 214 https github com facebookincubator create react app issues 214 411 https github com facebookincubator create react app issues 411 create react app will add decorator support when the specification advances to a stable stage integrating with an api backend these tutorials will help you to integrate your app with an api backend running on another port using fetch to access it node check out this tutorial https www fullstackreact com articles using create react app with a server you can find the companion github repository here https github com fullstackreact food lookup demo ruby on rails check out this tutorial https www fullstackreact com articles how to get create react app to work with your rails api you can find the companion github repository here https github com fullstackreact food lookup demo rails proxying api requests in development note this feature is available with react scripts 0 2 3 and higher people often serve the front end react app from the same host and port as their backend implementation br for example a production setup might look like this after the app is deployed static server returns index html with react app todos static server returns index html with react app api todos server handles any api requests using the backend implementation such setup is not required however if you do have a setup like this it is convenient to write requests like fetch api todos without worrying about redirecting them to another host or port during development to tell the development server to proxy any unknown requests to your api server in development add a proxy field to your package json for example js proxy http localhost 4000 this way when you fetch api todos in development the development server will recognize that it s not a static asset and will proxy your request to http localhost 4000 api todos as a fallback the development server will only attempt to send requests without a text html accept header to the proxy conveniently this avoids cors issues http stackoverflow com questions 21854516 understanding ajax cors and security considerations and error messages like this in development fetch api cannot load http localhost 4000 api todos no access control allow origin header is present on the requested resource origin http localhost 3000 is therefore not allowed access if an opaque response serves your needs set the request s mode to no cors to fetch the resource with cors disabled keep in mind that proxy only has effect in development with npm start and it is up to you to ensure that urls like api todos point to the right thing in production you don t have to use the api prefix any unrecognized request without a text html accept header will be redirected to the specified proxy the proxy option supports http https and websocket connections br if the proxy option is not flexible enough for you alternatively you can enable cors on your server here s how to do it for express http enable cors org server expressjs html use environment variables adding custom environment variables to inject the right server host and port into your app using https in development note this feature is available with react scripts 0 4 0 and higher you may require the dev server to serve pages over https one particular case where this could be useful is when using the proxy feature proxying api requests in development to proxy requests to an api server when that api server is itself serving https to do this set the https environment variable to true then start the dev server as usual with npm start windows cmd exe cmd set https true npm start note the lack of whitespace is intentional linux macos bash bash https true npm start note that the server will use a self signed certificate so your web browser will almost definitely display a warning upon accessing the page generating dynamic meta tags on the server since create react app doesn t support server rendering you might be wondering how to make meta tags dynamic and reflect the current url to solve this we recommend to add placeholders into the html like this html doctype html html lang en head meta property og title content og title meta property og description content og description then on the server regardless of the backend you use you can read index html into memory and replace og title og description and any other placeholders with values depending on the current url just make sure to sanitize and escape the interpolated values so that they are safe to embed into html if you use a node server you can even share the route matching logic between the client and the server however duplicating it also works fine in simple cases running tests note this feature is available with react scripts 0 3 0 and higher br read the migration guide to learn how to enable it in older projects https github com facebookincubator create react app blob master changelog md migrating from 023 to 030 create react app uses jest https facebook github io jest as its test runner to prepare for this integration we did a major revamp https facebook github io jest blog 2016 09 01 jest 15 html of jest so if you heard bad things about it years ago give it another try jest is a node based runner this means that the tests always run in a node environment and not in a real browser this lets us enable fast iteration speed and prevent flakiness while jest provides browser globals such as window thanks to jsdom https github com tmpvar jsdom they are only approximations of the real browser behavior jest is intended to be used for unit tests of your logic and your components rather than the dom quirks we recommend that you use a separate tool for browser end to end tests if you need them they are beyond the scope of create react app filename conventions jest will look for test files with any of the following popular naming conventions files with js suffix in tests folders files with test js suffix files with spec js suffix the test js spec js files or the tests folders can be located at any depth under the src top level folder we recommend to put the test files or tests folders next to the code they are testing so that relative imports appear shorter for example if app test js and app js are in the same folder the test just needs to import app from app instead of a long relative path colocation also helps find tests more quickly in larger projects command line interface when you run npm test jest will launch in the watch mode every time you save a file it will re run the tests just like npm start recompiles the code the watcher includes an interactive command line interface with the ability to run all tests or focus on a search pattern it is designed this way so that you can keep it open and enjoy fast re runs you can learn the commands from the watch usage note that the watcher prints after every run jest watch mode http facebook github io jest img blog 15 watch gif version control integration by default when you run npm test jest will only run the tests related to files changed since the last commit this is an optimization designed to make your tests runs fast regardless of how many tests you have however it assumes that you don t often commit the code that doesn t pass the tests jest will always explicitly mention that it only ran tests related to the files changed since the last commit you can also press a in the watch mode to force jest to run all tests jest will always run all tests on a continuous integration continuous integration server or if the project is not inside a git or mercurial repository writing tests to create tests add it or test blocks with the name of the test and its code you may optionally wrap them in describe blocks for logical grouping but this is neither required nor recommended jest provides a built in expect global function for making assertions a basic test could look like this js import sum from sum it sums numbers expect sum 1 2 toequal 3 expect sum 2 2 toequal 4 all expect matchers supported by jest are extensively documented here http facebook github io jest docs api html expect value br you can also use jest fn and expect fn tobecalled http facebook github io jest docs api html tobecalled to create spies or mock functions testing components there is a broad spectrum of component testing techniques they range from a smoke test verifying that a component renders without throwing to shallow rendering and testing some of the output to full rendering and testing component lifecycle and state changes different projects choose different testing tradeoffs based on how often components change and how much logic they contain if you haven t decided on a testing strategy yet we recommend that you start with creating simple smoke tests for your components js import react from react import reactdom from react dom import app from app it renders without crashing const div document createelement div reactdom render app div this test mounts a component and makes sure that it didn t throw during rendering tests like this provide a lot value with very little effort so they are great as a starting point and this is the test you will find in src app test js when you encounter bugs caused by changing components you will gain a deeper insight into which parts of them are worth testing in your application this might be a good time to introduce more specific tests asserting specific expected output or behavior if you d like to test components in isolation from the child components they render we recommend using shallow rendering api http airbnb io enzyme docs api shallow html from enzyme http airbnb io enzyme you can write a smoke test with it too sh npm install save dev enzyme react addons test utils js import react from react import shallow from enzyme import app from app it renders without crashing shallow app unlike the previous smoke test using reactdom render this test only renders app and doesn t go deeper for example even if app itself renders a button that throws this test will pass shallow rendering is great for isolated unit tests but you may still want to create some full rendering tests to ensure the components integrate correctly enzyme supports full rendering with mount http airbnb io enzyme docs api mount html and you can also use it for testing state changes and component lifecycle you can read the enzyme documentation http airbnb io enzyme for more testing techniques enzyme documentation uses chai and sinon for assertions but you don t have to use them because jest provides built in expect and jest fn for spies here is an example from enzyme documentation that asserts specific output rewritten to use jest matchers js import react from react import shallow from enzyme import app from app it renders welcome message const wrapper shallow app const welcome h2 welcome to react h2 expect wrapper contains welcome to equal true expect wrapper contains welcome toequal true all jest matchers are extensively documented here http facebook github io jest docs api html expect value br nevertheless you can use a third party assertion library like chai http chaijs com if you want to as described below using third party assertion libraries we recommend that you use expect for assertions and jest fn for spies if you are having issues with them please file those against jest https github com facebook jest issues new and we ll fix them we intend to keep making them better for react supporting for example pretty printing react elements as jsx https github com facebook jest pull 1566 however if you are used to other libraries such as chai http chaijs com and sinon http sinonjs org or if you have existing code using them that you d like to port over you can import them normally like this js import sinon from sinon import expect from chai and then use them in your tests like you normally do initializing test environment note this feature is available with react scripts 0 4 0 and higher if your app uses a browser api that you need to mock in your tests or if you just need a global setup before running your tests add a src setuptests js to your project it will be automatically executed before running your tests for example src setuptests js js const localstoragemock getitem jest fn setitem jest fn clear jest fn global localstorage localstoragemock focusing and excluding tests you can replace it with xit to temporarily exclude a test from being executed br similarly fit lets you focus on a specific test without running any other tests coverage reporting jest has an integrated coverage reporter that works well with es6 and requires no configuration br run npm test coverage note extra in the middle to include a coverage report like this coverage report http i imgur com 5bfhnts png note that tests run much slower with coverage so it is recommended to run it separately from your normal workflow continuous integration by default npm test runs the watcher with interactive cli however you can force it to run tests once and finish the process by setting an environment variable called ci when creating a build of your application with npm run build linter warnings are not checked by default like npm test you can force the build to perform a linter warning check by setting the environment variable ci if any warnings are encountered then the build fails popular ci servers already set the environment variable ci by default but you can do this yourself too on ci servers travis ci 1 following the travis getting started https docs travis ci com user getting started guide for syncing your github repository with travis you may need to initialize some settings manually in your profile https travis ci org profile page 1 add a travis yml file to your git repository language node js node js 4 6 cache directories node modules script npm test npm run build 1 trigger your first build with a git push 1 customize your travis ci build https docs travis ci com user customizing the build if needed on your own environment windows cmd exe cmd set ci true npm test cmd set ci true npm run build note the lack of whitespace is intentional linux macos bash bash ci true npm test bash ci true npm run build the test command will force jest to run tests once instead of launching the watcher if you find yourself doing this often in development please file an issue https github com facebookincubator create react app issues new to tell us about your use case because we want to make watcher the best experience and are open to changing how it works to accommodate more workflows the build command will check for linter warnings and fail if any are found disabling jsdom by default the package json of the generated project looks like this js scripts test react scripts test env jsdom if you know that none of your tests depend on jsdom https github com tmpvar jsdom you can safely remove env jsdom and your tests will run faster br to help you make up your mind here is a list of apis that need jsdom any browser globals like window and document reactdom render https facebook github io react docs top level api html reactdom render testutils renderintodocument https facebook github io react docs test utils html renderintodocument a shortcut https github com facebook react blob 34761cf9a252964abfaab6faf74d473ad95d1f21 src test reacttestutils js l83 l91 for the above mount http airbnb io enzyme docs api mount html in enzyme http airbnb io enzyme index html in contrast jsdom is not needed for the following apis testutils createrenderer https facebook github io react docs test utils html shallow rendering shallow rendering shallow http airbnb io enzyme docs api shallow html in enzyme http airbnb io enzyme index html finally jsdom is also not needed for snapshot testing http facebook github io jest blog 2016 07 27 jest 14 html snapshot testing snapshot testing is a feature of jest that automatically generates text snapshots of your components and saves them on the disk so if the ui output changes you get notified without manually writing any assertions on the component output read more about snapshot testing http facebook github io jest blog 2016 07 27 jest 14 html editor integration if you use visual studio code https code visualstudio com there is a jest extension https github com orta vscode jest which works with create react app out of the box this provides a lot of ide like features while using a text editor showing the status of a test run with potential fail messages inline starting and stopping the watcher automatically and offering one click snapshot updates vs code jest preview https cloud githubusercontent com assets 49038 20795349 a032308a b7c8 11e6 9b34 7eeac781003f png developing components in isolation usually in an app you have a lot of ui components and each of them has many different states for an example a simple button component could have following states with a text label with an emoji in the disabled mode usually it s hard to see these states without running a sample app or some examples create react app doesn t include any tools for this by default but you can easily add react storybook https github com kadirahq react storybook to your project it is a third party tool that lets you develop components and see all their states in isolation from your app react storybook demo http i imgur com 7ciawpb gif you can also deploy your storybook as a static app this way everyone in your team can view and review different states of ui components without starting a backend server or creating an account in your app here s how to setup your app with storybook first install the following npm package globally sh npm install g getstorybook then run the following command inside your app s directory sh getstorybook after that follow the instructions on the screen learn more about react storybook screencast getting started with react storybook https egghead io lessons react getting started with react storybook github repo https github com kadirahq react storybook documentation https getstorybook io docs snapshot testing https github com kadirahq storyshots with react storybook making a progressive web app you can turn your react app into a progressive web app https developers google com web progressive web apps by following the steps in this repository https github com jeffposnick create react pwa deployment npm run build creates a build directory with a production build of your app set up your favourite http server so that a visitor to your site is served index html and requests to static paths like static js main hash js are served with the contents of the static js main hash js file for example python contains a built in http server that can serve static files sh cd build python m simplehttpserver 9000 if you re using node https nodejs org and express http expressjs com as a server it might look like this javascript const express require express const path require path const app express app use express static build app get function req res res sendfile path join dirname build index html app listen 9000 create react app is not opinionated about your choice of web server any static file server will do the build folder with static assets is the only output produced by create react app however this is not quite enough if you use client side routing read the next section if you want to support urls like todos 42 in your single page app serving apps with client side routing if you use routers that use the html5 pushstate history api https developer mozilla org en us docs web api history api adding and modifying history entries under the hood for example react router https github com reacttraining react router with browserhistory many static file servers will fail for example if you used react router with a route for todos 42 the development server will respond to localhost 3000 todos 42 properly but an express serving a production build as above will not this is because when there is a fresh page load for a todos 42 the server looks for the file build todos 42 and does not find it the server needs to be configured to respond to a request to todos 42 by serving index html for example we can amend our express example above to serve index html for any unknown paths diff app use express static build app get function req res app get function req res res sendfile path join dirname build index html now requests to todos 42 will be handled correctly both in development and in production building for relative paths by default create react app produces a build assuming your app is hosted at the server root br to override this specify the homepage in your package json for example js homepage http mywebsite com relativepath this will let create react app correctly infer the root path to use in the generated html file serving the same build from different paths note this feature is available with react scripts 0 9 0 and higher if you are not using the html5 pushstate history api or not using client side routing at all it is unnecessary to specify the url from which your app will be served instead you can put this in your package json js homepage this will make sure that all the asset paths are relative to index html you will then be able to move your app from http mywebsite com to http mywebsite com relativepath or even http mywebsite com relative path without having to rebuild it firebase install the firebase cli if you haven t already by running npm install g firebase tools sign up for a firebase account https console firebase google com and create a new project run firebase login and login with your previous created firebase account then run the firebase init command from your project s root you need to choose the hosting configure and deploy firebase hosting sites and choose the firebase project you created in the previous step you will need to agree with database rules json being created choose build as the public directory and also agree to configure as a single page app by replying with y sh project setup first let s associate this project directory with a firebase project you can create multiple project aliases by running firebase use add but for now we ll just set up a default project what firebase project do you want to associate as default example app example app fd690 database setup firebase realtime database rules allow you to define how your data should be structured and when your data can be read from and written to what file should be used for database rules database rules json database rules for example app fd690 have been downloaded to database rules json future modifications to database rules json will update database rules when you run firebase deploy hosting setup your public directory is the folder relative to your project directory that will contain hosting assets to uploaded with firebase deploy if you have a build process for your assets use your build s output directory what do you want to use as your public directory build configure as a single page app rewrite all urls to index html yes wrote build index html i writing configuration info to firebase json i writing project information to firebaserc firebase initialization complete now after you create a production build with npm run build you can deploy it by running firebase deploy sh deploying to example app fd690 i deploying database hosting database rules ready to deploy i hosting preparing build directory for upload uploading 75 hosting build folder uploaded successfully hosting 8 files uploaded successfully i starting release process may take several minutes deploy complete project console https console firebase google com project example app fd690 overview hosting url https example app fd690 firebaseapp com for more information see add firebase to your javascript project https firebase google com docs web setup github pages note this feature is available with react scripts 0 2 0 and higher step 1 add homepage to package json the step below is important br if you skip it your app will not deploy correctly open your package json and add a homepage field js homepage https myusername github io my app create react app uses the homepage field to determine the root url in the built html file step 2 install gh pages and add deploy to scripts in package json now whenever you run npm run build you will see a cheat sheet with instructions on how to deploy to github pages to publish it at https myusername github io my app https myusername github io my app run sh npm install save dev gh pages add the following scripts in your package json js scripts predeploy npm run build deploy gh pages d build the predeploy script will run automatically before deploy is run step 3 deploy the site by running npm run deploy then run sh npm run deploy step 4 ensure your project s settings use gh pages finally make sure github pages option in your github project settings is set to use the gh pages branch img src http i imgur com hujer9l png width 500 alt gh pages branch setting step 5 optionally configure the domain you can configure a custom domain with github pages by adding a cname file to the public folder notes on client side routing github pages doesn t support routers that use the html5 pushstate history api under the hood for example react router using browserhistory this is because when there is a fresh page load for a url like http user github io todomvc todos 42 where todos 42 is a frontend route the github pages server returns 404 because it knows nothing of todos 42 if you want to add a router to a project hosted on github pages here are a couple of solutions you could switch from using html5 history api to routing with hashes if you use react router you can switch to hashhistory for this effect but the url will be longer and more verbose for example http user github io todomvc todos 42 k yknaj read more https github com reactjs react router blob master docs guides histories md histories about different history implementations in react router alternatively you can use a trick to teach github pages to handle 404 by redirecting to your index html page with a special redirect parameter you would need to add a 404 html file with the redirection code to the build folder before deploying your project and you ll need to add code handling the redirect parameter to index html you can find a detailed explanation of this technique in this guide https github com rafrex spa github pages heroku use the heroku buildpack for create react app https github com mars create react app buildpack br you can find instructions in deploying react with zero configuration https blog heroku com deploying react with zero configuration resolving module not found error cannot resolve file or directory sometimes npm run build works locally but fails during deploy via heroku with an error like this remote failed to create a production build reason remote module not found error cannot resolve file or directory mydirectory in tmp build 1234 src this means you need to ensure that the lettercase of the file or directory you import matches the one you see on your filesystem or on github this is important because linux the operating system used by heroku is case sensitive so mydirectory and mydirectory are two distinct directories and thus even though the project builds locally the difference in case breaks the import statements on heroku remotes modulus see the modulus blog post http blog modulus io deploying react apps on modulus on how to deploy your react app to modulus netlify to do a manual deploy to netlify s cdn sh npm install netlify cli netlify deploy choose build as the path to deploy to setup continuous delivery with this setup netlify will build and deploy when you push to git or open a pull request 1 start a new netlify project https app netlify com signup 2 pick your git hosting service and select your repository 3 click build your site support for client side routing to support pushstate make sure to create a public redirects file with the following rewrite rules index html 200 when you build the project create react app will place the public folder contents into the build output now see this example https github com xkawi create react app now for a zero configuration single command deployment with now https zeit co now s3 and cloudfront see this blog post https medium com omgwtfmarc deploying create react app to s3 or cloudfront 48dae4ce0af on how to deploy your react app to amazon web services s3 https aws amazon com s3 and cloudfront https aws amazon com cloudfront surge install the surge cli if you haven t already by running npm install g surge run the surge command and log in you or create a new account you just need to specify the build folder and your custom domain and you are done sh email email domain com password project path path to project build size 7 files 1 8 mb domain create react app surge sh upload 100 eta 0 0s propagate on cdn 100 plan free users email domain com ip address x x x x success project is published and running at create react app surge sh note that in order to support routers that use html5 pushstate api you may want to rename the index html in your build folder to 200 html before deploying to surge this ensures that every url falls back to that file https surge sh help adding a 200 page for client side routing advanced configuration you can adjust various development and production settings by setting environment variables in your shell or with env adding development environment variables in env variable development production usage browser white check mark x by default create react app will open the default system browser favoring chrome on macos specify a browser https github com sindresorhus opn app to override this behavior or set it to none to disable it completely host white check mark x by default the development web server binds to localhost you may use this variable to specify a different host port white check mark x by default the development web server will attempt to listen on port 3000 or prompt you to attempt the next available port you may use this variable to specify a different port https white check mark x when set to true create react app will run the development server in https mode public url x white check mark create react app assumes your application is hosted at the serving web server s root or a subpath as specified in package json homepage building for relative paths normally create react app ignores the hostname you may use this variable to force assets to be referenced verbatim to the url you provide hostname included this may be particularly useful when using a cdn to host your application ci large orange diamond white check mark when set to true create react app treats warnings as failures in the build it also makes the test runner non watching most cis set this flag by default troubleshooting npm start doesn t detect changes when you save a file while npm start is running the browser should refresh with the updated code br if this doesn t happen try one of the following workarounds if your project is in a dropbox folder try moving it out if the watcher doesn t see a file called index js and you re referencing it by the folder name you need to restart the watcher https github com facebookincubator create react app issues 1164 due to a webpack bug some editors like vim and intellij have a safe write feature that currently breaks the watcher you will need to disable it follow the instructions in working with editors supporting safe write https webpack github io docs webpack dev server html working with editors ides supporting safe write if your project path contains parentheses try moving the project to a path without them this is caused by a webpack watcher bug https github com webpack watchpack issues 42 on linux and macos you might need to tweak system settings https webpack github io docs troubleshooting html not enough watchers to allow more watchers if none of these solutions help please leave a comment in this thread https github com facebookincubator create react app issues 659 npm test hangs on macos sierra if you run npm test and the console gets stuck after printing react scripts test env jsdom to the console there might be a problem with your watchman https facebook github io watchman installation as described in facebookincubator create react app 713 https github com facebookincubator create react app issues 713 we recommend deleting node modules in your project and running npm install or yarn if you use it first if it doesn t help you can try one of the numerous workarounds mentioned in these issues facebook jest 1767 https github com facebook jest issues 1767 facebook watchman 358 https github com facebook watchman issues 358 ember cli ember cli 6259 https github com ember cli ember cli issues 6259 it is reported that installing watchman 4 7 0 or newer fixes the issue if you use homebrew http brew sh you can run these commands to update it watchman shutdown server brew update brew reinstall watchman you can find other installation methods https facebook github io watchman docs install html build install on the watchman documentation page if this still doesn t help try running launchctl unload f library launchagents com github facebook watchman plist there are also reports that uninstalling watchman fixes the issue so if nothing else helps remove it from your system and try again npm run build silently fails it is reported that npm run build can fail on machines with no swap space which is common in cloud environments if the symptoms are matching https github com facebookincubator create react app issues 1133 issuecomment 264612171 consider adding some swap space to the machine you re building on or build the project locally npm run build fails on heroku this may be a problem with case sensitive filenames please refer to this section resolving module not found error cannot resolve file or directory something missing if you have ideas for more how to recipes that should be on this page let us know https github com facebookincubator create react app issues or contribute some https github com facebookincubator create react app edit master packages react scripts template readme md | react react-router javascript front-end single-page-app | front_end |
blockchain-tutorial | h1 align center a href https github com liuchengxu blockchain tutorial wiki opinioned blockchain reading list a h1 p align center a collection of blockchain resources p wiki opinioned blockchain reading list https github com liuchengxu blockchain tutorial wiki blockchain tutorial point right content summary md point right gitbook https liuchengxu gitbooks io blockchain tutorial content jeiwan blockchain go https github com jeiwan blockchain go liuchengxu https www jianshu com u daf68451f175 csdn liuchengxu http blog csdn net simple the best segmentfault liuchengxu https segmentfault com u liuchengxu donation btc 1flctna5irqba3cuc1xuacuaaavwkqjuwr bch qp2vp4ev0aygatuv4mnxnhc5vevu5susjsj6f8wwp6 eth 0xbe5d431e7d2273340f6e76061c05bb42bc39103d contributions resources python jeiwan blockchain go https github com jeiwan blockchain go blockchain py https github com yummybian blockchain py python write your own blockchain https bigishdata com 2017 10 17 write your own blockchain part 1 creating storing syncing displaying mining and proving work golang gocoin https github com piotrnar gocoin gochain https github com crisadamo gochain blockchain https github com izqui blockchain naivechain https github com kofj naivechain credits blockchain go https github com jeiwan blockchain go | blockchain tutorial bitcoin cryptocurrency blockchain-tutorial | blockchain |
Designing-Advanced-Data-Architectures-for-Business-Intelligence | designing advanced data architectures for business intelligence every assignemnt has it s own readme for detailed explanation assignment1 sakila database description 1 formulated advanced sql queries on sakila database 2 implemented data visualizations on power bi assignment 2 chinook database description 1 converted er model to dimensional model listed facts dimensions made a list of tables to be combined created date and calendar dimensions applied scd s slowly changing dimension on respective tables created tables with surrogate sks nks fks determined table attributes and performed source to target mappings 2 created data model in er studio data architect 3 generated ddl created tables and uploaded data in the target database viz sql server mysql postgresql and oracle 11g 4 implemented visualization reports and dashboards in power bi assignment 3 nypd description 1 created dimensional data model using er studio data architect 2 generated ddl and created schema in nypd database mysql 3 performed data profiling and cleansing processes 4 loaded data into data model from respective csv s using talend 5 implemented visualization reports in power bi and tableau using nypd database project1 adventure works purchasing dw description 1 analyzed data for source target mappings and performed data profiling on adventure works 2017 database 2 created dimensional data model in er studio data architect and performed ddl operations on the target database 3 implemented error handling and inserted the unwanted data into reject tables along with their respective reject codes and reject reasons 4 performed data cleansing and loaded data into adventure works purchasing dw using alteryx and talend 5 implemented visualization reports and interactive dashboards on power bi and tableau answering business questions to gain better insights final project imdb data and analysis description 1 designed dimensional data models in er studio data architect 2 created staging tables using sql scripts on microsoft sql server 3 maintained sor system of record table to maintain authorized sources for a particular data subject 4 performed data profiling and loaded data from tsv csv files into the staging tables using talend 5 used these staging tables to populate the dimensional tables using talend 6 implemented dashboards and visualizations on tableau and power bi for answering business questions and to gain better insights | server |
|
vocabulary | p align center a href https creativecommons github io vocabulary class readme vocabulary logo img alt vocabulary logo src https raw githubusercontent com creativecommons vocabulary master readme assets vocabulary logo svg sanitize true height 40px a p creative commons vocabulary notice 09 19 22 this repository is currently unstable the vocabulary project as a whole is undergoing major changes related to vocabulary roadmap 2022 q4 2023 q1 work in progress 1081 https github com creativecommons vocabulary issues 1081 objectives if you are using this repository in a project it is strongly recommended that you lock your version to the latest stable release for the time being as new releases at the moment are not guaranteed to be non breaking and will likely require manual intervention to correct and or upgrade the following repos are directly affected by this work creativecommons vocabulary https github com creativecommons vocabulary creative commons vocabulary components https github com creativecommons vocabulary components creativecommons vocabulary fonts https github com creativecommons vocabulary fonts creativecommons vocabulary styles https github com creativecommons vocabulary styles creativecommons cc assets https github com creativecommons cc assets the following repos may be indirectly affected by this work creativecommons creativecommons certificate https github com creativecommons creativecommons certificate creativecommons vocabulary 1 0 0 beta 16 creativecommons wp theme openglam https github com creativecommons wp theme openglam https unpkg com creativecommons fonts css fonts css ver 5 5 calculates to v1 0 0 beta 2 https openglam org wp content themes wp theme openglam master assets js script js ver 2020 04 1 id vocabulary js creativecommons creativecommons github io source https github com creativecommons creativecommons github io source https unpkg com creativecommons fonts 2020 9 3 css fonts css https unpkg com creativecommons vocabulary 2020 7 2 js vocabulary js creativecommons wp theme summit https github com creativecommons wp theme summit creativecommons vocabulary 2020 8 7 in front package json https unpkg com creativecommons fonts 1 0 0 beta 2 css fonts css ver 5 5 9 calculates to v1 0 0 beta 2 https summit creativecommons org wp content themes wp theme summit assets js vocabulary js ver 2020 06 1 creativecommons cc global components https github com creativecommons cc global components https unpkg com creativecommons fonts 2020 9 3 css fonts css https unpkg com creativecommons vocabulary 2020 11 3 css vocabulary css creativecommons cc legal tools data https github com creativecommons cc legal tools data https unpkg com creativecommons vocabulary fonts 0 1 1 dist css fonts css https unpkg com creativecommons vocabulary styles 0 3 0 dist css vocabulary styles css creativecommons cc legal tools app https github com creativecommons cc legal tools app https unpkg com creativecommons vocabulary fonts 0 1 1 dist css fonts css https unpkg com creativecommons vocabulary styles 0 3 0 dist css vocabulary styles css creativecommons creativecommons base https github com creativecommons creativecommons base https unpkg com creativecommons vocabulary fonts 0 x x dist css fonts css https unpkg com creativecommons vocabulary styles 0 x x dist css vocabulary styles css creativecommons chooser https github com creativecommons chooser creativecommons cc assets 0 1 0 creativecommons vocabulary components 0 2 0 creativecommons vocabulary fonts 0 1 1 creativecommons vocabulary styles 0 2 1 known versions of vocabulary family repositories in use on active cc projects cc archive fonts https github com cc archive fonts downstream 1 0 0 beta 2 creativecommons wp theme openglam https github com creativecommons wp theme openglam 2020 9 3 creativecommons creativecommons github io source https github com creativecommons creativecommons github io source creativecommons cc global components https github com creativecommons cc global components creativecommons vocabulary https github com creativecommons vocabulary downstream 1 0 0 beta 16 creativecommons creativecommons certificate https github com creativecommons creativecommons certificate 2020 04 1 creativecommons wp theme openglam https github com creativecommons wp theme openglam 2020 06 1 creativecommons wp theme summit https github com creativecommons wp theme summit 2020 7 2 creativecommons creativecommons github io source https github com creativecommons creativecommons github io source 2020 11 3 creativecommons cc global components https github com creativecommons cc global components creativecommons wp theme summit https github com creativecommons wp theme summit creativecommons vocabulary fonts https github com creativecommons vocabulary fonts downstream 0 1 1 creativecommons chooser https github com creativecommons chooser creativecommons cc legal tools app https github com creativecommons cc legal tools app creativecommons cc legal tools data https github com creativecommons cc legal tools data creativecommons creativecommons base https github com creativecommons creativecommons base creativecommons vocabulary styles https github com creativecommons vocabulary styles downstream 0 3 0 creativecommons chooser https github com creativecommons chooser creativecommons cc legal tools app https github com creativecommons cc legal tools app creativecommons cc legal tools data https github com creativecommons cc legal tools data creativecommons creativecommons base https github com creativecommons creativecommons base creative commons vocabulary components https github com creativecommons vocabulary components downstream 0 3 0 creativecommons chooser https github com creativecommons chooser creativecommons cc assets https github com creativecommons cc assets downstream 0 1 0 creativecommons chooser https github com creativecommons chooser scroll down to suspension and redistribution suspension and redistribution section for more details and links vocabulary is a cohesive design system to unite the web facing creative commons p align center all contributors badge start do not remove or modify this section all contributors https img shields io badge all contributors 22 orange svg style flat square contributors all contributors badge end a href https github com creativecommons vocabulary blob master license style margin right 1em img alt mit license src https img shields io github license creativecommons vocabulary svg color brightgreen a a href https github com creativecommons vocabulary blob master contributing md style margin right 1em img alt prs welcome src https img shields io badge prs welcome brightgreen svg a a href https github com creativecommons vocabulary actions style margin right 1em img alt github actions src https img shields io github workflow status creativecommons vocabulary vocabulary ci master label vocabulary ci a a href https cc vocabulary netlify com style margin right 1em img alt netlify src https img shields io netlify fcee0dba 9c91 450d 96e5 82494e6b3af9 a p vocabulary is the code implementation of creative commons design language vocabulary makes it easier to develop creative commons apps while ensuring a consistently familiar experience suspension and redistribution this vocabulary package has been suspended to be redistributed and divided into vocabulary components vocabulary fonts vocabulary styles they are now accessible at vocabulary components https github com creativecommons vocabulary components vocabulary fonts https github com creativecommons vocabulary fonts vocabulary styles https github com creativecommons vocabulary styles included packages vocabulary is a monorepo containing three packages package description creativecommons vocabulary the main css component library install size https packagephobia com badge p creativecommons vocabulary https packagephobia com result p creativecommons vocabulary creativecommons fonts a collection of typefaces and icon fonts install size https packagephobia com badge p creativecommons fonts https packagephobia com result p creativecommons fonts creativecommons vue vocabulary vue component library powered by the main css library install size https packagephobia com badge p creativecommons vue vocabulary https packagephobia com result p creativecommons vue vocabulary installation to setup you will need to have node js https nodejs org en and npm https www npmjs com installed instailling with npm is lightweight tweakable and much more performant as the code runs very close to the operating system on the other hand all dependencies must be manually resolved and each developer has a different setup project dependencies if you have the system dependencies installed you can install the project dependencies via npm bash npm install legacy peer deps running the project once the project dependencies are installed run the following command to start the project bash npm run serve building the packages to build the files for an individual package run the relevant build command build fonts build vocabulary build vue vocabulary for example to build the fonts package run the following commands bash npm install legacy peer deps npm run build fonts sometimes on windows environments you may get an error about linebreaks fix that by running the command as bash npm run build fonts fix important note the serve command has the s flag for static assets serving using to use vocabulary in your projects refer to this document https cc vocabulary netlify com path docs vocabulary usage page contributing we re always looking for contributors to help us find and fix bugs build new features help us improve the project documentation or translate the project to another language vocabulary is continuously evolving and improving you can contribute to the project in a number of ways what how code if you are a developer feel free to resolve open issues raise prs add new features to existing components or add new components altogether design if you are a designer your inputs on making every component more intuitive aesthetic and joyful will reverberate through the entire ecosystem test if you are a user of these components your feedback bug reports and feature requests will drive the project forward so that we can meet your needs write if you have a knack for writing technical articles you could be the voice of the library s documentation making it easy to use and understand share if you can t contribute in these ways you can refer the project to a friend who might be able to spreading the word is the easiest way to help out interested the following instructions are in addition to the processes in our general contribution https opensource creativecommons org contributing code and pull request https opensource creativecommons org contributing code pr guidelines guidelines on the creative common open source website if you haven t read them already read them first these instructions are a port of the general guidelines tailored specifically for vocabulary discussing changes for bug reports and feature requests use github issues https github com creativecommons vocabulary issues new choose with the appropriate labels we can discuss the possibility of that change or new feature being implemented and released in the future this lets us come to an agreement about the proposed idea before any work is done assigning work if the issue is already assigned to somebody it is considered polite to give the last assignee a week s time to attempt it before you do you can express an intention to work on it nonetheless so that it can be reassigned to you if the last assignee bails submitting prs without commenting your intent to solve an issue is risky because if someone else does ask to work on it before your pr comes in your pr will be put on hold for a week making changes do all work on its own branch use meaningful branch names examples bash broken links readme typo misspelled use clean commit messages as imperative sentences in the present tense examples bash remove the broken links from the readme md file fix the typo on line 12 where misspelled was misspelled as mispelled update your fork from time to time see github help pages for instructions on how to do that write new tests and update existing ones for the changes you make testing while our husky https www npmjs com package husky setup will prevent you from committing poorly linted code it cannot catch logical problems for that we have some tests unit running unit tests is easy bash npm run test unit running this command will run a general test test can also be run for individual packages by running their respective commands bash npm run test vue vocabulary ci cd we use github actions https github com features actions to automate some parts of our ci cd pipeline when contributing code rather than having to commit push every time a check fails it will be useful to automate this process on your development environment to be sure all checks done will be successful setting up ci testing on your development environment we recommend using the cross platform package nektos act https github com nektos act it requires docker to run workflows install dependencies docker if you don t have docker installed you can follow the links below to set it up depending on your environment x mac docker for mac https docs docker com desktop mac install x linux docker for linux https docs docker com engine install x windows docker for windows https docs docker com desktop windows install nektos act install using any of the methods below depending on your environment package method command homebrew https brew sh linux macos brew install act macports https www macports org macos sudo port install act chocolatey https chocolatey org windows choco install act cli scoop https scoop sh windows scoop install act aur https aur archlinux org packages act linux yay s act nix https nixos org linux macos nix recipe https github com nixos nixpkgs blob master pkgs development tools misc act default nix go https golang org linux windows macos any other platform supported by go go install github com nektos act latest manual download https github com nektos act releases latest github download the latest release https github com nektos act releases latest and add the path to your binary into your path running workflows once you have downloaded and installed the package with its dependencies it will automatically read the ci scripts from your github workflows https github com creativecommons vocabulary tree main github workflows folder trigger all workflows to trigger all the ci workflows cd into the root folder of this project vocabulary and run the command bash act if you have permission errors you run it as a sudo user bash sudo act nb when you run it for the first time it will ask you to choose a docker image to be used as default trigger a specific workflow to run a specific workflow for example the build workflow you can specify it by running bash act j build if you want to see all the workflows available you run the command bash act l currently we have four ci workflows namely build lint test update release draft we recommended that you run these workflows on your development environment so that if any errors occur you can identify and resolve them before opening a pr you can refer the netktos act documentation https github com nektos act blob master readme md for more commands and configuration options versioning vocabulary uses calver https calver org for version numbering in the yyyy m micro format micro is bumped whenever there are multiple releases in a month for example 2020 7 1 is the first release in july 2020 while 2020 7 2 is the second license licensed under the expat mit http www opensource org licenses mit license contributors thanks goes to these wonderful people emoji key https allcontributors org docs en emoji key all contributors list start do not remove or modify this section prettier ignore start markdownlint disable table tr td align center a href https github com akpjunior94 img src https avatars githubusercontent com u 56775903 v 4 s 100 width 100px alt br sub b akpan abraham b sub a br a href https github com creativecommons vocabulary commits author akpjunior94 title code a td td align center a href https anik live img src https avatars githubusercontent com u 16396161 v 4 s 100 width 100px alt br sub b anik das b sub a br a href https github com creativecommons vocabulary commits author sadn1ck title code a td td align center a href https github com arushivii img src https avatars githubusercontent com u 43967251 v 4 s 100 width 100px alt br sub b arushi verma b sub a br a href https github com creativecommons vocabulary commits author arushivii title code a td td align center a href http brenoferreira github io img src https avatars githubusercontent com u 707019 v 4 s 100 width 100px alt br sub b breno ferreira b sub a br a href https github com creativecommons vocabulary commits author brenoferreira title code a a href https github com creativecommons vocabulary pulls q is 3apr reviewed by 3abrenoferreira title reviewed pull requests a td td align center a href https conye netlify app img src https avatars githubusercontent com u 25040059 v 4 s 100 width 100px alt br sub b chidiebere onyegbuchulem b sub a br a href https github com creativecommons vocabulary commits author chidexebere title code a td td align center a href https dhruvkb github io img src https avatars githubusercontent com u 16580576 v 4 s 100 width 100px alt br sub b dhruv bhanushali b sub a br a href https github com creativecommons vocabulary commits author dhruvkb title code a a href mentoring dhruvkb title mentoring a a href https github com creativecommons vocabulary pulls q is 3apr reviewed by 3adhruvkb title reviewed pull requests a td td align center a href http dhruvi16 me img src https avatars githubusercontent com u 34674462 v 4 s 100 width 100px alt br sub b dhruvi butti b sub a br a href https github com creativecommons vocabulary commits author dhruvi16 title code a a href design dhruvi16 title design a td tr tr td align center a href https github com bob160 img src https avatars githubusercontent com u 58000961 v 4 s 100 width 100px alt br sub b efio esien efiom b sub a br a href https github com creativecommons vocabulary commits author bob160 title code a td td align center a href https github com krhitesh img src https avatars githubusercontent com u 25616334 v 4 s 100 width 100px alt br sub b hitesh b sub a br a href infra krhitesh title infrastructure hosting build tools etc a a href https github com creativecommons vocabulary commits author krhitesh title tests a a href platform krhitesh title packaging porting to new platform a a href https github com creativecommons vocabulary commits author krhitesh title code a td td align center a href http hugo solar img src https avatars githubusercontent com u 894708 v 4 s 100 width 100px alt br sub b hugo solar b sub a br a href https github com creativecommons vocabulary commits author hugosolar title code a a href https github com creativecommons vocabulary pulls q is 3apr reviewed by 3ahugosolar title reviewed pull requests a td td align center a href https github com jahnvigupta img src https avatars githubusercontent com u 43217070 v 4 s 100 width 100px alt br sub b jahnvi gupta b sub a br a href design jahnvigupta title design a a href https github com creativecommons vocabulary commits author jahnvigupta title code a a href https github com creativecommons vocabulary commits author jahnvigupta title tests a td td align center a href http kritigodey com img src https avatars githubusercontent com u 287034 v 4 s 100 width 100px alt br sub b kriti godey b sub a br a href projectmanagement kgodey title project management a td td align center a href https github com krysal img src https avatars githubusercontent com u 9145885 v 4 s 100 width 100px alt br sub b krystle salazar b sub a br a href https github com creativecommons vocabulary commits author krysal title documentation a td td align center a href https github com megha070 img src https avatars githubusercontent com u 40516822 v 4 s 100 width 100px alt br sub b megha varshney b sub a br a href https github com creativecommons vocabulary commits author megha070 title code a a href design megha070 title design a td tr tr td align center a href https github com waridrox img src https avatars githubusercontent com u 58583793 v 4 s 100 width 100px alt br sub b mohammad warid b sub a br a href infra waridrox title infrastructure hosting build tools etc a a href https github com creativecommons vocabulary commits author waridrox title code a td td align center a href https github com muluhgodson img src https avatars githubusercontent com u 40151808 v 4 s 100 width 100px alt br sub b muluhgodson b sub a br a href https github com creativecommons vocabulary commits author muluhgodson title documentation a td td align center a href https nilshah98 me img src https avatars githubusercontent com u 22821480 v 4 s 100 width 100px alt br sub b neel shah b sub a br a href https github com creativecommons vocabulary commits author nilshah98 title code a td td align center a href https blackcipher101 github io portfolio img src https avatars githubusercontent com u 33775493 v 4 s 100 width 100px alt br sub b nehal nevle b sub a br a href https github com creativecommons vocabulary commits author blackcipher101 title code a td td align center a href https silvinabt87 github io img src https avatars githubusercontent com u 57196258 v 4 s 100 width 100px alt br sub b silvina tamburini b sub a br a href https github com creativecommons vocabulary commits author silvinabt87 title tests a a href https github com creativecommons vocabulary commits author silvinabt87 title code a td td align center a href https tanuj22 github io img src https avatars githubusercontent com u 42486853 v 4 s 100 width 100px alt br sub b tanuj agarwal b sub a br a href https github com creativecommons vocabulary commits author tanuj22 title documentation a td td align center a href https github com clasick img src https avatars githubusercontent com u 13066221 v 4 s 100 width 100px alt br sub b vignesh kumar b sub a br a href https github com creativecommons vocabulary commits author clasick title code a td tr tr td align center a href https kushaggarwal github io me img src https avatars githubusercontent com u 44523552 v 4 s 100 width 100px alt br sub b kush aggarwal b sub a br a href https github com creativecommons vocabulary commits author kushaggarwal title code a td tr table markdownlint restore prettier ignore end all contributors list end this project follows the all contributors https github com all contributors all contributors specification contributions of any kind welcome | ui ux design-system creative-commons vue storybook hacktoberfest | os |
awesome-llm-engineering | img src icon png align right awesome llm engineering awesome https cdn jsdelivr net gh sindresorhus awesome d7305f38d29fed78fa85652e3a63e154dd8e8829 media badge svg https github com sindresorhus awesome readme a curated list for large language model engineering on the application layer includes but is not limited to articles documentation papers etc nlp books natural language processing with transformers revised edition https www amazon com natural language processing transformers revised dp 1098136799 gpt 3 building innovative nlp products using large language models https www amazon com gpt 3 building innovative products language dp 1098113624 tools chatgpt https openai com blog chatgpt chatbot developed by openai gpt 3 a i coding assistant https marketplace visualstudio com items itemname arrendy gpt3 vscode extension vscode extension utilizing gpt3 chatgpt helper https marketplace visualstudio com items itemname kiranshah chatgpt helper vscode extension utilizing gpt3 fine tuning fine tuning docs huggingface fine tuning docs https huggingface co docs transformers training openai fine tuning docs https beta openai com docs guides fine tuning fine tuning articles sam altman on ai for the next era https greylock com greymatter sam altman ai for the next era security related fine tuning papers fine mixing mitigating backdoors in fine tuned language models https arxiv org pdf 2210 09545 pdf adversarial fine tuning for backdoor defense https arxiv org pdf 2202 06312v1 pdf fine tuning mitigate backdoor attacks https www researchgate net publication 366423678 fine tuning is all you need to mitigate backdoor attacks prompt engineering articles openai best practices for prompt engineering https help openai com en articles 6654000 best practices for prompt engineering with openai api how to give clear and effective instructions to gpt 3 and codex 3 principles for prompt engineering https www linkedin com pulse 3 principles prompt engineering gpt 3 ben whately learnings from using and working with language models prompt engineering tips and tricks https blog andrewcantino com blog 2021 04 21 prompt engineering tips and tricks what prompt engineering is why it matters and some tips and tricks to help you do it well prompt engineering in gpt3 https www analyticsvidhya com blog 2022 05 prompt engineering in gpt 3 prompting gpt3 openai gpt3 and prompt engineering https medium com swlh openai gpt 3 and prompt engineering dcdc2c5fcd29 deep dive into the prompts prompt engineering approaches https arize com blog course llmops operationalizing llms at scale prompt engineering covers few shot instructor based chain of thought automatic prompting and prompt templates papers promptsource https arxiv org pdf 2202 01279 pdf survey of prompting methods https arxiv org pdf 2107 13586 pdf prefix tuning optimizing continuous prompts for generation https aclanthology org 2021 acl long 353 pdf contribute contributions are always welcome please read the contribution guidelines contributing md first | gpt-3 machine-learning nlp prompt-engineering | ai |
GUIDE-Walk-v2.0 | guide walk v2 0 alle relevanten dateien die f r das projekt guide walk v2 0 autonomes blindenf hrersystem mit ki entstanden sind sind hier organisiert erstellt f r den bundeswettbewerb jugend forscht 2021 https www jugend forscht de allgemeines 1 der quellcode wird auf fremden rechnern vielleicht kompilierbar aber nicht ausf hrbar sein da es auf spezifische hardware sensoren zugreift f r demo videos und visualisierung der funktionsweise siehe demo video 2 der quellcode dient lediglich zu zwecken der veranschaulichung und nachvollziehbarkeit das ver ndern oder weiterverbreiten des codes ist untersagt diese bedingungen gelten zus tzlich zur angegebenen lizenz legende die dateien sind in folgenden ordnern organisiert src c quellcode mit header dateien dateien mit fremden code sind eindeutig gekennzeichnet andernfalls kann der code als eigenarbeit betrachtet werden model modell konfiguration prototxt mit gewichten caffemodel audio voicelines f r die sprachausgabe demo video beispielvideos rohe und ausgewertete testaufnahmen der internen kamera python python code zum bearbeiten und organisieren des datasets downloads verwendete datasets dataset download download ms coco https cocodataset org home und pascalvoc host robots ox ac uk pascal voc images https drive google com file d 1cwuxg9agklxlxmittofha1 ptpuzofeu view usp sharing labels https drive google com file d 1q oksegidyyqttax7crgtfizllcy8zm8 view usp sharing ampelpilot https github com patvlnta ampel pilot images https drive google com file d 10getrhlre jtrddpcw0vnrqejte gv7u view usp sharing labels https drive google com file d 10rgl02u1t 5gyq2no2 girez tjrk9 p view usp sharing eigene aufnahmen images https drive google com file d 1irkagkqdrib97vfsxgqv2koymvyhsk9f view usp sharing labels https drive google com file d 1a30w06y9maws8e8dqi4thvxofuic8dgu view usp sharing eigene aufnahmen test images https drive google com file d 1gj htiwcqtb t3hbrtvzn6dooiu1gb9i view usp sharing labels https drive google com file d 12a9dqehyzyznv0h8e5nwmcaciklsdrfi view usp sharing datasheets der verwendeten sensoren ordner download datasheets google drive https drive google com drive folders 1u44wp62fzvbdbpkoajvggmubzeesvxff usp sharing danksagungen vielen dank an all diejenigen die mich bei der planung und verwirklichung des projekts unterst tzten und weiterhalfen diese sind insbesondere mama und papa ren gr nbauer manfred hofmann christine lohse rainer schliermann rudolf pichlmeier ulrike weimer moritz walker christoph h gl yannick rittner soller patrick paul kutzer simondlevy for crossplatformdatabus https github com simondlevy crossplatformdatabus library and usfs https github com simondlevy usfs library garmin for lidarlite raspberrypi library https github com garmin lidarlite raspberrypi library mit freundlicher unterst tzung von a href https www bbsb org img src https bbsb org wp content uploads 2020 01 bbsb logo 100jahre rgb png width 200 a a href https www blindeninstitut de de regensburg rund ums institut begruessung img src https upload wikimedia org wikipedia commons d d4 blindeninstitutsstiftung logo jpg width 200 a a href https www oth regensburg de img src https upload wikimedia org wikipedia commons c c2 logo oth regensburg png width 300 a a href https www domspatzen de img src https upload wikimedia org wikipedia de thumb 4 44 regensburger domspatzen logo blau svg 1200px regensburger domspatzen logo blau svg png width 130 a a href http www sponsorpool bayern de img src https www jugend forscht bayern de media sponsorpool sponsorpool sticker 2021 jpg width 200 a a href http www edisys hu de img src http www edisys hu images logoproba png width 200 a | os |
|
Full-Stack-Web-Development-with-Go | full stack web development with go a href https www packtpub com product becoming a full stack go developer 9781803234199 img src https static packt cdn com products 9781803234199 cover smaller alt web development with julia and genie height 256px align right a this is the code repository for full stack web development with go https www packtpub com product web development with julia and genie 9781801811132 published by packt build your web applications quickly using the go programming language and vue js what is this book about go is a modern programming language with capabilities to enable high performance app development with its growing web framework ecosystem go is a preferred choice for building complete web apps this practical guide will enable you to take your go skills to the next level building full stack apps this book covers the following exciting features discover how to quickly scaffold structure and build your golang applications design and build databases using postgresql and sqlc to generate type safe sql code monitor applications with centralized logging and metrics collection for high performance explore frontend frameworks and libraries like vuetify buefy and tailwind css to build a responsive frontend for your app communicate securely between the frontend and backend with cookies and session handling with middleware if you feel this book is for you get your copy https www amazon com dp 1803234199 today a href https www packtpub com utm source github utm medium banner utm campaign githubbanner img src https raw githubusercontent com packtpublishing github master github png alt https www packtpub com border 5 a instructions and navigations all of the code is organized into folders for example chapter02 the code will look like the following go func s setattributes attribute string sleep done s setattributes attribute string go func 1 following is what you need for this book this book is for go programmers who want to combine the power of the go language with modern web development technologies to build complete web apps from frontend to backend the book assumes beginner level knowledge of html css and the web with the following software and hardware list you can run all code files present in the book chapter 1 8 software and hardware list chapter software required os required 1 14 golang 1 16 and above macos linux windows via wsl2 1 14 docker macos linux windows via wsl2 1 14 an ide visual studio code or goland macos linux windows via wsl2 we also provide a pdf file that has color images of the screenshots diagrams used in this book click here to download it https packt link eo4sg related products other books you may enjoy network automation with go packt https www packtpub com product network automation with go 9781800560925 amazon https www amazon com dp 1800560923 microservices with go packt https www packtpub com product rust web programming 9781800560819 amazon https www amazon com dp 1804617008 get to know the authors nanik tolaram is based in sydney and is a big fan of open source technologies and projects he has developed software using many different programming languages assembler c c java go and many others he is passionate about building products and teams from the ground up and loves to share his knowledge through meetup presentations and tutorials he would like to thank his wife jessie and sons rahul and manav for being supportive in allowing him to spend weekends and countless hours sharing his passion for writing this book nick glynn is a sydney based tech and product focused entrepreneur and cto with long experience building software projects used by thousands of people daily formerly nick was a technical consultant and trainer on android embedded linux security c and c but now works to help teams create and ship meaningful products after successfully exiting his previous company quickapay which his current employer acquired nick would like to thank kate his supportive friends and family and his incredible daughter inara download a free pdf i if you have already purchased a print or kindle version of this book you can get a drm free pdf version at no cost br simply click on the link to claim your free pdf i p align center a href https packt link free ebook 9781803234199 https packt link free ebook 9781803234199 a p | front_end |
|
Evade-GPT-Detector | large language models can be guided to evade ai generated text detection source code for paper large language models can be guided to evade ai generated text detection https arxiv org abs 2305 10847 introduction we introduce sico a s ubstitution based i n c ontext example o ptimization method which automatically build prompt that guide large language models llms such as chatgpt to generate human like texts sico successfully evades all exisiting ai generation text detectors including gptzero and openai official detector run sico requirements create environment by conda conda env create f environment yml llm setup for chatgpt you need to set openai api keys in the environment export openai api key your openai api key for vicuna please follow the instruction here https github com lm sys fastchat and set the local url in sico llm api py detectors setup gptzero set the gptzero api key in environment export gptzero api key your gptzero api key key can be obtained from gptzero website https gptzero me openai detector set the openai api in environment export openai api key your openai api key chatgpt detector gpt2 detector detectgpt log rank required models will be automatically download model from huggingface datasets all datasets we used are listed in datasets folder containing squad eli5 yelp each subfolder has three tsv files eval tsv for evaluation during training test tsv for final test and incontext tsv for initialization and building in context examples run training run sico train py to start training procedure here we explain each required argument in details llm base llm used for training including chatgpt vicuna dataset dataset we use including squad eli5 yelp detector proxy detector we use for training including chatdetect gpt2detect gptzero openai detectgpt logrank task the task type of training including essay qa rev gen paraphrase notice that paraphrase task matches all dataset but essay qa rev gen tasks only match squad eli5 yelp respectively incontext size size of in context examples eval size size of evaluation data during training train iter maximum training iteration examples reimplement of sico gen on essay writing task of squad dataset python sico train py dataset squad llm chatgpt detector chatdetect task essay incontext size 8 eval size 32 train iter 6 reimplement of sico para for open ended question answering task python sico train py dataset yelp llm chatgpt detector chatdetect task paraphrase incontext size 8 eval size 32 train iter 6 after training the optimized prompt is stored in outputs results and training log is stored in outputs logs run testing run sico test gen py to use trained prompt to generate texts the arguments are the same as sico train py extra parameter test size show the number of cases you want to test after running sico test gen py the generated texts are stored in test results dataset sico dataset task llm proxy detector folder then run run test detection py to get the ai generated probability from different detectors which is stored in same folder named test detector score tsv examples test sico gen on essay writing task of squad dataset where the prompt is trained using chatgpt and chatgpt detector python sico test gen py dataset squad llm chatgpt detector chatdetect task essay incontext size 8 eval size 32 train iter 6 test size 100 test the performance of optimized prompt against detectgpt detector python run test detection py dataset squad method sico squad essay chatgpt chatdetect detector detectgpt to do list here is our planned roadmap for future developments x open source code share effective prompts share benchmark stay tuned for further updates and developments on these tasks we encourage community engagement and welcome any form of feedback or contributions to our project | ai |
|
RMTutorialF103 | for windows refer to the wiki https github com robomasterhkust rmtutorialf103 wiki 1 0 setup chibistudio windows pages for unix system tested on ubuntu 16 04 mac os sierra 10 12 6 by yang shaohui alex au on 2018 09 13 getting started on unix run the following commands in the project directory 1 for linux ubuntu to be exact sudo apt get install openocd gcc arm none eabi for mac osx do the following install homebrew first via https brew sh then install the xcode command line toolchain xcode select install brew cask install xquartz java brew install open ocd brew tap px4 px4 brew install px4 dev 2 git clone https github com robomasterhkust rmtutorialf103 and cd rmtutorialf103 in your preferred directory 4 make or make j4 where 4 is the thread count 5 run openocd f openocd start st link flash cfg with board connected via st link to flash the program optional for debugging run openocd f openocd start st link debug cfg followed by a gdb connection with you own ide editor the vscode configuration is provided and is used with the cortex debug extension of course you can always use telnet localhost 4444 and use terminal to interface with the openocd debug server directly submitting assignments this part will come up later on | chibios rtos robomaster embedded-systems tutorial | os |
sku | npm https img shields io npm v sku svg style flat square https www npmjs com package sku br img src https github com seek oss sku raw master docs logo logo png raw true alt sku title sku width 147 height 79 br front end development toolkit powered by webpack https webpack js org babel https babeljs io vanilla extract https vanilla extract style css modules https github com css modules css modules less http lesscss org eslint http eslint org prettier https prettier io jest https facebook github io jest and storybook https storybook js org quickly get up and running with a zero config development environment or optionally add minimal config when needed designed for usage with braid design system https github com seek oss braid design system although this isn t a requirement this tool is heavily inspired by other work most notably facebookincubator create react app https github com facebookincubator create react app insin nwb https github com insin nwb nytimes kyt https github com nytimes kyt warning while this software is open source its primary purpose is to improve consistency cross team collaboration and code quality at seek as a result it s likely that we will introduce more breaking api changes to this project than you ll find in its alternatives getting started create a new project and start a local development environment bash npx sku init my app cd my app yarn start by default a new project s dependencies will be installed with the first supported package manager detected on your system package managers are detected in the following order yarn pnpm npm this can be overridden via the packagemanager flag bash pnpm dlx sku init packagemanager pnpm my app cd my app pnpm start documentation https seek oss github io sku contributing refer to contributing md contributing md if you re planning to change the public api please open a new issue https github com seek oss sku issues new license mit license | front-end toolkit build-tool webpack babel css-modules less eslint | front_end |
blockchainlittlebook.com | http lixiaolai com copy 2019 10 25 http www xinhuanet com politics 2019 10 25 c 1125153665 htm 10 24 2019 9 1 2 https github com selfteaching the craft of selfteaching blob master part 1 f deal with forward references ipynb 3 mixin messenger https mixin one messenger 7000102093 1 qwert dvorwk colemak workman qwert http lixiaolai com bitcoin whitepaper cn en translation bitcoin whitepaper en cn html 2 2009 https bitcoin org 10 bitcoin btc bitcoin btc 3 fiat money 4 https github com xiaolai bitcoin whitepaper chinese translation double spending https zh wikipedia org zh hans e9 9b 99 e9 87 8d e6 94 af e4 bb 98 5 blockchain double spending block block computing a large piece of text processed as a unit blockchain block blockchain 6 7 10 10 bitcoin 142 10 50 btc 4 50 25 12 5 6 25 btc 2 100 mining miners mining pool https poolin com 10 000 2 images hash rate png https www blockchain com charts hash rate timespan all cpu gpu asic 128 7 5 8 btc bitcoin btc images market price usd png https www blockchain com charts market price timespan all bitcoin 2019 3000 9 51 51 51 10 mixin messenger https mixin one messenger mixin ios itunes mixin https apps apple com cn app mixin e5 af 86 e4 bf a1 e7 95 85 e8 81 8a e7 89 88 id1457938019 itunes mixin messenger https apps apple com app mixin id1322324266 android https a app qq com o simple jsp pkgname one mixin messenger http app mi com details id one mixin messenger google play store https play google com store apps details id one mixin messenger ios mixin https apps apple com cn app mixin e5 af 86 e4 bf a1 e7 95 85 e8 81 8a e7 89 88 id1457938019 id 7000101425 images miniwallet png mixin otc exin id 7000101276 https big one https big one https b1 run https b1 run usdt otc https otc b1 run trade big one mixin id 7000101910 https onregularinvesting com 11 2020 6 app 99 https ri firesbox com cn https ri firesbox com cn 3 5 kaina app images shuilongtou png 1 app xhcxre 2 app 3 kaina 4 app 5 6 1 2009 2017 10 2 5 litecoin 2 2015 https www ethereum org zh 2016 2017 public chain pow https en wikipedia org wiki proof of work pow 10 10 solidity bug dao etc ethereum classic eth pow dpos 1 2 dpos eos https eos io 2018 6 3 pow proof of work pow pow dpos delegated proof of stake https en wikipedia org wiki proof of stake delegated proof of stake pos proof of stake https en wikipedia org wiki proof of stake pos dpos pow dpos eos dan larimer pos 2014 bitshares https bitshares org dpos dpos pow 4 2017 po a z pox proof of something eos eos 5 mixin network hengxin network tee trusted execution environment tee dag directed acyclic graph abft asynchronous byzantine fault tolerance tee trusted execution environment https en wikipedia org wiki trusted execution environment mixin network 2019 2 2019 11 9 a dag directed acyclic graph https en wikipedia org wiki directed acyclic graph abft asynchronous byzantine fault https en wikipedia org wiki byzantine fault tolerance tps transaction per second b eos ripple 50 5 6 c eos intel sgx 6 dpos eos dag tee mixin network https zh wikipedia org wiki e6 8b 9c e5 8d a0 e5 ba ad e5 b0 86 e5 86 9b e9 97 ae e9 a2 98 10 distributed ledge technology 1 bigone https b1 run foxone https fox one mixin messenger 1password https 1password com 1password 2 xxx 50 3 1 2 btc eos https onregularinvesting com 4 5 https onregularinvesting com cn 6 1 2 btcmex https www btcmex com github https github com xiaolai blockchainlittlebook com https blockchainlittlebook com pull request readme md en readme md jp readme md github fork images fork1 png fork settings images fork2 png github pages source master branch images fork3 png custom domain name com https www name com https www net cn images fork4 png 4 a 1 cname a 185 199 108 153 185 199 109 153 185 199 110 153 185 199 111 153 cname host www answer your github username github io images custom domain png github fork bash git clone https github com gitbasictutorial blockchainlittlebook com cd blockchainlittlebook com git remote add upstream https github com xiaolai blockchainlittlebook com git pull upstream master git push u origin master http lixiaolai com http lixiaolai com xiaolai github https github com xiaolai toefl 21 toefl http lixiaolai com twe185 http lixiaolai com befriending time http lixiaolai com the self cultivation of leeks cn english http lixiaolai com the self cultivation of leeks en http lixiaolai com the craft of selfteaching https onregularinvesting com http lixiaolai com i have a say http lixiaolai com everyone can use english http lixiaolai com ji inblockchain http lixiaolai com inb principles cn english http lixiaolai com inb principles en bitcoin http lixiaolai com bitcoin whitepaper cn en translation bitcoin whitepaper en cn html https blockchainlittlebook com | blockchain |
|
google-palm-sdk | build and test solution https github com veerashayyagari google palm sdk actions workflows build and test yml badge svg https github com veerashayyagari google palm sdk actions workflows build and test yml publish nugets https github com veerashayyagari google palm sdk actions workflows publish nuget yml badge svg https github com veerashayyagari google palm sdk actions workflows publish nuget yml codeql https github com veerashayyagari google palm sdk actions workflows codeql yml badge svg https github com veerashayyagari google palm sdk actions workflows codeql yml google palm sdk c client sdk unofficial for google palm large language models https developers generativeai google guide currently google does not provide a dotnet client library for accessing google palm models inspired by the official google palm python client sdk https developers generativeai google api python google generativeai goal is to provide performant efficient and flexible sdk for dotnet developers building llm apps using google palm sdk is built on top of the grpc endpoints for palm2 models v1beta2 models install dotnet add package llmsharp google palm usage quickstart copy your google palm api key from https makersuite google com app apikey create google palm client instance csharp using llmsharp google palm if you want to explicitly pass the api key googlepalmclient client new googlepalmclient your palm api key or csharp using llmsharp google palm set api key as an environment variable with key google api key googlepalmclient client new googlepalmclient get text completions for your prompt csharp var response await client generatetextasync what is a large language model get chat completions for your messages csharp list palmchatmessage messages new new hello world 0 var response await client chatasync messages null null get chat completions for your messages with some context csharp list palmchatmessage messages new new hello world 0 string context you are tim a friendly alien that lives on europa one of jupiter s moons var response await client chatasync messages context null get chat completions for your messages with some context and examples csharp list palmchatexample examples new new palmchatexample input new hi 0 output new hi my name is tim and i live on europa one of jupiter s moons brr it s cold down here 1 string context you are tim a friendly alien that lives on europa one of jupiter s moons list palmchatmessage messages new new what s the weather like 0 var response await client chatasync messages context examples available features googlepalmclient methods chatasync get chat completions returns a palmchatcompletionresponse object with possible completion candidates it has two overloaded methods takes chronological conversation history of the messages optional context included in the message optional examples included as part of the message takes palmchatcompletionrequest that has more options like choosing temperature topp topk in addition to messages context and examples generatetextasync generate text completions returns a palmtextcompletionresponse object with possible completion candidates it has two overloaded methods takes the text prompt for generating completion takes the palmtextcompletionrequest that has additional options like temperature topp topk safetysettings in addition to the text prompt countmessagetokensasync counts total number of message tokens given a message with optional context and examples generateembeddingsasync generates embeddings for a given text using embedding gecko 001 model listmodels fetches the list of supported palmmodels by page listmodelsasync fetches the list of supported palmmodels as a stream getmodelasync gets the palm model info for the given model name advanced usage i want to control additional attributes like temperature topp topk and safetysettings use palmtextcompletionrequest and palmchatcompletionrequest for textcompletions and chatcompletions respectively csharp text completion request palmtextcompletionrequest request new prompt can you suggest me a prescription for headache temperature 0 8f topk 40 candidatecount 2 maxoutputtokens 1024 safetysettings new list palmsafetysetting new harmcategory medical safetysetting types harmblockthreshold blocknone var response await client generatetextasync request chat completion request list palmchatexample examples new new palmchatexample input new hi 0 output new hi my name is tim and i live on europa one of jupiter s moons brr it s cold down here 1 string context you are tim a friendly alien that lives on europa one of jupiter s moons list palmchatmessage messages new new what s the weather like 0 var response await client chatasync new palmchatcompletionrequest messages messages examples examples context context temperature 0 8f topk 40 i want more control when creating googlepalmclient customize clientoptions csharp using llmsharp google palm clientoptions options new clientoptions apikey apikey baseurl a different baseurl other than default customheaders new dictionary string ienumerable string header1 new string val1 val2 logger new customimplementedlogger your own custom implementation of ilogger useragent myapp useragent a custom user agent to specify in the channel metadata scopes new string scope1 the scopes to use or null to use the default scopes quotaproject projectid the gcp project id that should be used for quota and billing purposes googlepalmclient client new googlepalmclient options i want to override timeout or maxretries on a per request basis use requestoptions csharp googlepalmclient client new string text explain an large language model to a 5 year old var reqoptions new requestoptions timeout timespan frommilliseconds 1 var response await client generatetextasync text reqoptions timeout in request options will override the default timeout contribute got a pull request open it and i ll review it as soon as possible | csharp dotnet google-palm google-palm-ai llm sdk makersuite palm2 generative-ai | ai |
go-ethereum | go ethereum official golang execution layer implementation of the ethereum protocol api reference https camo githubusercontent com 915b7be44ada53c290eb157634330494ebe3e30a 68747470733a2f2f676f646f632e6f72672f6769746875622e636f6d2f676f6c616e672f6764646f3f7374617475732e737667 https pkg go dev github com ethereum go ethereum tab doc go report card https goreportcard com badge github com ethereum go ethereum https goreportcard com report github com ethereum go ethereum travis https travis ci com ethereum go ethereum svg branch master https travis ci com ethereum go ethereum discord https img shields io badge discord join 20chat blue svg https discord gg nthxnev automated builds are available for stable releases and the unstable master branch binary archives are published at https geth ethereum org downloads building the source for prerequisites and detailed build instructions please read the installation instructions https geth ethereum org docs getting started installing geth building geth requires both a go version 1 19 or later and a c compiler you can install them using your favourite package manager once the dependencies are installed run shell make geth or to build the full suite of utilities shell make all executables the go ethereum project comes with several wrappers executables found in the cmd directory command description geth our main ethereum cli client it is the entry point into the ethereum network main test or private net capable of running as a full node default archive node retaining all historical state or a light node retrieving data live it can be used by other processes as a gateway into the ethereum network via json rpc endpoints exposed on top of http websocket and or ipc transports geth help and the cli page https geth ethereum org docs fundamentals command line options for command line options clef stand alone signing tool which can be used as a backend signer for geth devp2p utilities to interact with nodes on the networking layer without running a full blockchain abigen source code generator to convert ethereum contract definitions into easy to use compile time type safe go packages it operates on plain ethereum contract abis https docs soliditylang org en develop abi spec html with expanded functionality if the contract bytecode is also available however it also accepts solidity source files making development much more streamlined please see our native dapps https geth ethereum org docs developers dapp developer native bindings page for details bootnode stripped down version of our ethereum client implementation that only takes part in the network node discovery protocol but does not run any of the higher level application protocols it can be used as a lightweight bootstrap node to aid in finding peers in private networks evm developer utility version of the evm ethereum virtual machine that is capable of running bytecode snippets within a configurable environment and execution mode its purpose is to allow isolated fine grained debugging of evm opcodes e g evm code 60ff60ff debug run rlpdump developer utility tool to convert binary rlp recursive length prefix https ethereum org en developers docs data structures and encoding rlp dumps data encoding used by the ethereum protocol both network as well as consensus wise to user friendlier hierarchical representation e g rlpdump hex ce0183ffffffc4c304050583616263 running geth going through all the possible command line flags is out of scope here please consult our cli wiki page https geth ethereum org docs fundamentals command line options but we ve enumerated a few common parameter combos to get you up to speed quickly on how you can run your own geth instance hardware requirements minimum cpu with 2 cores 4gb ram 1tb free storage space to sync the mainnet 8 mbit sec download internet service recommended fast cpu with 4 cores 16gb ram high performance ssd with at least 1tb of free space 25 mbit sec download internet service full node on the main ethereum network by far the most common scenario is people wanting to simply interact with the ethereum network create accounts transfer funds deploy and interact with contracts for this particular use case the user doesn t care about years old historical data so we can sync quickly to the current state of the network to do so shell geth console this command will start geth in snap sync mode default can be changed with the syncmode flag causing it to download more data in exchange for avoiding processing the entire history of the ethereum network which is very cpu intensive start the built in interactive javascript console https geth ethereum org docs interacting with geth javascript console via the trailing console subcommand through which you can interact using web3 methods https github com chainsafe web3 js blob 0 20 7 documentation md note the web3 version bundled within geth is very old and not up to date with official docs as well as geth s own management apis https geth ethereum org docs interacting with geth rpc this tool is optional and if you leave it out you can always attach it to an already running geth instance with geth attach a full node on the g rli test network transitioning towards developers if you d like to play around with creating ethereum contracts you almost certainly would like to do that without any real money involved until you get the hang of the entire system in other words instead of attaching to the main network you want to join the test network with your node which is fully equivalent to the main network but with play ether only shell geth goerli console the console subcommand has the same meaning as above and is equally useful on the testnet too specifying the goerli flag however will reconfigure your geth instance a bit instead of connecting to the main ethereum network the client will connect to the g rli test network which uses different p2p bootnodes different network ids and genesis states instead of using the default data directory ethereum on linux for example geth will nest itself one level deeper into a goerli subfolder ethereum goerli on linux note on osx and linux this also means that attaching to a running testnet node requires the use of a custom endpoint since geth attach will try to attach to a production node endpoint by default e g geth attach datadir goerli geth ipc windows users are not affected by this note although some internal protective measures prevent transactions from crossing over between the main network and test network you should always use separate accounts for play and real money unless you manually move accounts geth will by default correctly separate the two networks and will not make any accounts available between them configuration as an alternative to passing the numerous flags to the geth binary you can also pass a configuration file via shell geth config path to your config toml to get an idea of how the file should look like you can use the dumpconfig subcommand to export your existing configuration shell geth your favourite flags dumpconfig note this works only with geth v1 6 0 and above docker quick start one of the quickest ways to get ethereum up and running on your machine is by using docker shell docker run d name ethereum node v users alice ethereum root p 8545 8545 p 30303 30303 ethereum client go this will start geth in snap sync mode with a db memory allowance of 1gb as the above command does it will also create a persistent volume in your home directory for saving your blockchain as well as map the default ports there is also an alpine tag available for a slim version of the image do not forget http addr 0 0 0 0 if you want to access rpc from other containers and or hosts by default geth binds to the local interface and rpc endpoints are not accessible from the outside programmatically interfacing geth nodes as a developer sooner rather than later you ll want to start interacting with geth and the ethereum network via your own programs and not manually through the console to aid this geth has built in support for a json rpc based apis standard apis https ethereum github io execution apis api documentation and geth specific apis https geth ethereum org docs interacting with geth rpc these can be exposed via http websockets and ipc unix sockets on unix based platforms and named pipes on windows the ipc interface is enabled by default and exposes all the apis supported by geth whereas the http and ws interfaces need to manually be enabled and only expose a subset of apis due to security reasons these can be turned on off and configured as you d expect http based json rpc api options http enable the http rpc server http addr http rpc server listening interface default localhost http port http rpc server listening port default 8545 http api api s offered over the http rpc interface default eth net web3 http corsdomain comma separated list of domains from which to accept cross origin requests browser enforced ws enable the ws rpc server ws addr ws rpc server listening interface default localhost ws port ws rpc server listening port default 8546 ws api api s offered over the ws rpc interface default eth net web3 ws origins origins from which to accept websocket requests ipcdisable disable the ipc rpc server ipcapi api s offered over the ipc rpc interface default admin debug eth miner net personal txpool web3 ipcpath filename for ipc socket pipe within the datadir explicit paths escape it you ll need to use your own programming environments capabilities libraries tools etc to connect via http ws or ipc to a geth node configured with the above flags and you ll need to speak json rpc https www jsonrpc org specification on all transports you can reuse the same connection for multiple requests note please understand the security implications of opening up an http ws based transport before doing so hackers on the internet are actively trying to subvert ethereum nodes with exposed apis further all browser tabs can access locally running web servers so malicious web pages could try to subvert locally available apis operating a private network maintaining your own private network is more involved as a lot of configurations taken for granted in the official networks need to be manually set up defining the private genesis state first you ll need to create the genesis state of your networks which all nodes need to be aware of and agree upon this consists of a small json file e g call it genesis json json config chainid arbitrary positive integer homesteadblock 0 eip150block 0 eip155block 0 eip158block 0 byzantiumblock 0 constantinopleblock 0 petersburgblock 0 istanbulblock 0 berlinblock 0 londonblock 0 alloc coinbase 0x0000000000000000000000000000000000000000 difficulty 0x20000 extradata gaslimit 0x2fefd8 nonce 0x0000000000000042 mixhash 0x0000000000000000000000000000000000000000000000000000000000000000 parenthash 0x0000000000000000000000000000000000000000000000000000000000000000 timestamp 0x00 the above fields should be fine for most purposes although we d recommend changing the nonce to some random value so you prevent unknown remote nodes from being able to connect to you if you d like to pre fund some accounts for easier testing create the accounts and populate the alloc field with their addresses json alloc 0x0000000000000000000000000000000000000001 balance 111111111 0x0000000000000000000000000000000000000002 balance 222222222 with the genesis state defined in the above json file you ll need to initialize every geth node with it prior to starting it up to ensure all blockchain parameters are correctly set shell geth init path to genesis json creating the rendezvous point with all nodes that you want to run initialized to the desired genesis state you ll need to start a bootstrap node that others can use to find each other in your network and or over the internet the clean way is to configure and run a dedicated bootnode shell bootnode genkey boot key bootnode nodekey boot key with the bootnode online it will display an enode url https ethereum org en developers docs networking layer network addresses enode that other nodes can use to connect to it and exchange peer information make sure to replace the displayed ip address information most probably with your externally accessible ip to get the actual enode url note you could also use a full fledged geth node as a bootnode but it s the less recommended way starting up your member nodes with the bootnode operational and externally reachable you can try telnet ip port to ensure it s indeed reachable start every subsequent geth node pointed to the bootnode for peer discovery via the bootnodes flag it will probably also be desirable to keep the data directory of your private network separated so do also specify a custom datadir flag shell geth datadir path to custom data folder bootnodes bootnode enode url from above note since your network will be completely cut off from the main and test networks you ll also need to configure a miner to process transactions and create new blocks for you running a private miner in a private network setting a single cpu miner instance is more than enough for practical purposes as it can produce a stable stream of blocks at the correct intervals without needing heavy resources consider running on a single thread no need for multiple ones either to start a geth instance for mining run it with all your usual flags extended by shell geth usual flags mine miner threads 1 miner etherbase 0x0000000000000000000000000000000000000000 which will start mining blocks and transactions on a single cpu thread crediting all proceedings to the account specified by miner etherbase you can further tune the mining by changing the default gas limit blocks converge to miner targetgaslimit and the price transactions are accepted at miner gasprice contribution thank you for considering helping out with the source code we welcome contributions from anyone on the internet and are grateful for even the smallest of fixes if you d like to contribute to go ethereum please fork fix commit and send a pull request for the maintainers to review and merge into the main code base if you wish to submit more complex changes though please check up with the core devs first on our discord server https discord gg invite nthxnev to ensure those changes are in line with the general philosophy of the project and or get some early feedback which can make both your efforts much lighter as well as our review and merge procedures quick and simple please make sure your contributions adhere to our coding guidelines code must adhere to the official go formatting https golang org doc effective go html formatting guidelines i e uses gofmt https golang org cmd gofmt code must be documented adhering to the official go commentary https golang org doc effective go html commentary guidelines pull requests need to be based on and opened against the master branch commit messages should be prefixed with the package s they modify e g eth rpc make trace configs optional please see the developers guide https geth ethereum org docs developers geth developer dev guide for more details on configuring your environment managing project dependencies and testing procedures contributing to geth ethereum org for contributions to the go ethereum website https geth ethereum org please checkout and raise pull requests against the website branch for more detailed instructions please see the website branch readme https github com ethereum go ethereum tree website readme or the contributing https geth ethereum org docs developers geth developer contributing page of the website license the go ethereum library i e all code outside of the cmd directory is licensed under the gnu lesser general public license v3 0 https www gnu org licenses lgpl 3 0 en html also included in our repository in the copying lesser file the go ethereum binaries i e all code inside of the cmd directory are licensed under the gnu general public license v3 0 https www gnu org licenses gpl 3 0 en html also included in our repository in the copying file | go blockchain ethereum p2p geth | blockchain |
acm-dec-2020-nlp | natural language processing with pytorch instructors yash a shroff phd lead ai ecosystem gpu planner intel ravi ilango lead data scientist stealth startup | ai |
|
template-node-react | p align center a href http kitura io img src https landscape cncf io logos ibm member svg height 100 alt ibm cloud a p p align center a href https cloud ibm com img src https img shields io badge ibm 20cloud powered blue svg alt ibm cloud a img src https img shields io badge platform node lightgrey svg style flat alt platform img src https img shields io badge license apache2 blue svg style flat alt apache 2 p react ui patterns with node js react is a popular framework for creating user interfaces in modular components in this sample application you will create a web application using express and react to serve web pages in node js complete with standard best practices including a health check and application metric monitoring this code pattern contains 12 popular ui patterns that make it very easy to construct a dashboard application this app contains an opinionated set of components for modern web development including react https facebook github io react webpack https webpack github io sass http sass lang com gulp http gulpjs com carbon https www carbondesignsystem com deploying after you have created a new git repo from this git template remember to rename the project edit package json and change the default name to the name you used to create the template make sure you are logged into the ibm cloud using the ibm cloud cli and have access to you development cluster if you are using openshift make sure you have logged into openshift cli on the command line bash npm install g ibmgaragecloud cloud native toolkit cli use the ibm garage for cloud cli to register the git repo with tekton or jenkins bash oc sync project dev oc pipeline ensure you have the cloud native toolkit installed in your cluster to make this method of pipeline registry quick and easy cloud native toolkit https cloudnativetoolkit dev native application development install the latest node js https nodejs org en download 6 lts version once the node toolchain has been installed you can download the project dependencies with bash npm install cd client npm install cd npm run build npm run start modern web applications require a compilation step to prepare your es2015 javascript or sass stylesheets into compressed javascript ready for a browser webpack is used for bundling your javascript sources and styles into a bundle js file that your index html file can import webpack for development mode use webpack d to leave the sources uncompress and with the symbols intact for production mode use webpack p to compress and obfuscate your sources for development usage gulp gulp is a task runner for javascript you can run the above webpack commands in by running bash gulp to run your application locally bash npm run start your application will be running at http localhost 3000 you can access the health and appmetrics dash endpoints at the host ibm cloud developer tools install ibm cloud developer tools https cloud ibm com docs cli topic cloud cli getting started on your machine by running the following command curl sl https ibm biz idt installer bash your application will be compiled with docker containers to compile and run your app run bash ibmcloud dev build ibmcloud dev run this will launch your application locally when you are ready to deploy to ibm cloud on cloud foundry or kubernetes run one of the following commands bash ibmcloud dev deploy t buildpack ibmcloud dev deploy t container you can build and debug your app locally with bash ibmcloud dev build debug ibmcloud dev debug session store you may see this warning when running ibmcloud dev run warning connect session memorystore is not designed for a production environment as it will leak memory and will not scale past a single process when deploying to production it is best practice to configure sessions to be stored in an external persistence service next steps learn more about augmenting your node js applications on ibm cloud with the node programming guide https cloud ibm com docs node topic nodejs getting started explore other sample applications https cloud ibm com developer appservice starter kits on ibm cloud license this sample application is licensed under the apache license version 2 separate third party code objects invoked within this code pattern are licensed by their respective providers pursuant to their own separate licenses contributions are subject to the developer certificate of origin version 1 1 https developercertificate org and the apache license version 2 https www apache org licenses license 2 0 txt apache license faq https www apache org foundation license faq html whatdoesitmean | os |
|
IT_notes | it notes useful it notes and code snippets for new members of the group pls follow these instructions to connect to the it infrastructure new member md new member md general using conda environment manager conda md conda md using jupyter notebook lab hub jupyter md jupyter md configuring working python environment using sublime text anaconda and conda subl conda md subl conda md using git git md git md new mac configuration mac conf md mac conf md molecular modeling installing vmd see vmd vmd newton rules newton rules md quick instructions newton cheatsheet md using slurm running tasks on cluster nodes slurm cheatcheet md supercomputing instructions on using lomonosov lomonosov 2 supercomputer in russian here lomonosov md quick instructions here lomo quick md running gromacs on lomonosov here gmx lomo md running gromacs with plumed on lomonosov here gmx lomo plumed md compiling gromacs with plumed on lomonosov here gmx compile lomo plumed md web technologies how to create web site using github pages and jekyll gh jekyll gh jekyll md | server |
|
16-720B | 16 720b assignments for computer vision 16 720b cmu all the assignments are solved using python 3 6 5 anaconda distribution if you are currently taking the 16 720b course i encourage you to try the assignments on your own and preferably not use the code snippets here since this is a violation of the academic integrity policy of the institute if you are here for learning different concepts please go ahead and refer any snippets that you may not understand assignment 1 spatial pyramidal matching practicum python pytorch assignment 2 feature matching image stitching practicum python assignment 3 lucas kanade lk tracking correlation filters practicum python assingment 4 3d geometry and reconstruction practicum python assignment 5 ocr using neural networks practicum python pytorch | ai |
|
Authentication-Secrets | authentication secrets to inspect the code for the module you can clone this repository and use git checkout to see the completed code for each lesson if you don t remember how to do this be sure to revisit the git and github module in the course | front_end |
|
OlindaApp | olindaapp mobile development | front_end |
|
robocup-pcb | img src https dl dropboxusercontent com s ao3pe3n8npuxrfo robobuzz header svg height 100px width 100px style float left robocup pcb repository welcome to the georgia tech robojackets repository for management and storage of robocup s hardware files additional information about the team and current projects can be found on the robojackets website http www robojackets org teams robocup and the robojacket wiki http wiki robojackets org w robocup if you are a new member to the robocup electrical team and have never used git version control http git scm com before we highly recommend that you familiarize yourself with it by reading this guide https github com robojackets robocup firmware blob master doc git md sponsor thank you maxon discount of ec45 and ec16 motors pcbway donation of pcb fabrication runs texas instruments donation of ics prerequisites a computer configured with git windows https windows github com mac https mac github com an installation of eagle http www cadsoftusa com using this repository most cad files found here are eagle http www cadsoftusa com files however very few older archived files were created using pcb http pcb geda project org a program that is part of the geda project http www geda project org users will find the following items here control kicker and radio files robocup libraries dru rulesets for checking for errors setup libraries in eagle 1 downloading the libraries once your computer is setup with git the following lines can be used on any operating system within a terminal http en wikipedia org wiki computer terminal configured with git users who are using a gui interface for git should simply add the respective repositories through the interface download the initial files git clone https github com robojackets robocup pcb go into our new directory cd robocup pcb download additional mtrain pcbs git submodule update init 2 add the new directory locations to eagle from eagle s control panel navigate to the directories window options directories find the libraries text box and add the directory paths where the repositories were cloned from step 1 don t forget to also include the path for the robojackets libraries https github com robojackets robocup pcb tree master lib updating repository check which files will removed git clean d x n after being sure which files are deleted git clean d x f download additional mtrain pcbs git submodule update init license this project is licensed under the apache license v2 0 see the license license file for more information | robocup robojackets robotics eagle | os |
A2 | a2 cosc1078 introduction to information technology assessment 2 team project | server |
|
StocksProject | predicting stock market returns this repository contains the code for the portfolio project i m working on at data science retreat berlin the project aim is to build a model to predict stock market prices using a combination of machine learning algorithms the output of the prediction are the daily returns of s p 500 index i m exploring two possible different problems binary classification problem predict positive up or negative down return respect to the previous day regression problem predict the exact return more useful to feed an hypothetical trading algorithm the language i picked to implement the analysis is python numpy scipy pandas matplotlib scikit although the first exploratory stuff has been done in r the main file is stocks py the script calls several functions contained in the functions py i m actively working on the project meaning that the repo is going to be updated quite often | ai |
|
gatsby-remark-design-system-example | gatsby remark design system example example project showing the gatsby remark design system plugin for gatsby js see it live in action https gatsby remark design system netlify com plugin visit the plugin repository https github com lekoarts gatsby remark design system to install and use it | gatsby gatsby-plugin remark design system | os |
dbt_northwind_engineering | welcome to my project using google cloud dbt in this project i ve used google cloud as a data warehouse and dbt to do transformations into my dataset you can see all phases of data transformations at aebootcamp models warehouse staging analytics obt i ve used the northwind database by microsoft to learn and practice my dbt skills resources learn more about dbt in the docs https docs getdbt com docs introduction check out discourse https discourse getdbt com for commonly asked questions and answers join the chat https community getdbt com on slack for live discussions and support find dbt events https events getdbt com near you check out the blog https blog getdbt com for the latest news on dbt s development and best practices | cloud |
|
DoraOS | doraos doraos rtos freertos ucos rt thread liteos fork star dora a a 2577 os operating system m3 bit map 8 byte 16 byte icp doraos common lwip lwip lwip salof fifo c format c salof c demo stm32f103 doc readme txt project stm32f103 uvprojx stm32f429 doc readme txt project stm32f429 uvprojx example app event c app mem c app memp c app mutex c app queue c app sem c app swtmr c include common salof fifo h format h salof h config debug h dos config h dos def h event h list h log h mem mem h memp h mutex h port arm cortex m3 arm cmsis h port h cortex m4 port h cmsis arm cmsis h queue h sem h swtmr h sys h task h license mem mem c memp c port arm cortex m3 port c port s cortex m4 port c port s readme md src event c list c log c mutex c queue c sem c swtmr c sys c task c | rtos embedded-systems c cortex-m | os |
iota.lib.cpp | iota logo iota logo iota c library travis build status travis badge travis appveyor build status appveyor badge appveyor coveralls status coveralls badge coveralls codacy status codacy badge codacy codefactor status codefactor badge codefactor documentation documentation badge documentation iota api coverage iota api badge iota api mit license license badge license this is not yet an official c client library for the iota reference implementation iri https github com iotaledger iri it implements both the official api https iota readme io docs getting started as well as newly proposed features https github com iotaledger wiki blob master api proposal md proposed api calls table of contents 1 disclaimer disclaimer 1 documentation documentation 1 installation installation 1 getting started getting started 1 doxygen doxygen 1 wiki wiki 1 examples examples 1 technologies tools dependencies technologies dependencies 1 technologies technologies 1 dependencies dependencies 1 community community 1 resources resources 1 contributing contributing 1 donating donating disclaimer this is an early beta release expect unexpected results there may be performance and stability issues this library is still in early development and there may be breaking changes in the near future you may lose all your money documentation installation git clone recursive git github com thibault martinez iota lib cpp git cd iota lib cpp mkdir build cd build cmake make getting started cpp iota api core api node iotawallet info 14265 auto res api gettransactionstoapprove 27 std cout res gettrunktransaction std endl std cout res getbranchtransaction std endl doxygen a doxygen documentation https thibault martinez github io iota lib cpp html is available and provides full api documentation for the library wiki a wiki https github com thibault martinez iota lib cpp wiki is available and provides full documentation for the library as well as installation explanations https github com thibault martinez iota lib cpp wiki installation examples there s an extensive list of test cases on the test folder https github com thibault martinez iota lib cpp tree master test source that can be used as reference when developing apps with iota technologies tools dependencies technologies this library currently uses c 11 tools xsltproc http xmlsoft org xslt xsltproc html needed in keccak toolchain dependencies c requests https github com whoshuu cpr json for modern c https github com nlohmann json keccak code package https github com gvanas keccakcodepackage community resources if you want to get involved in the community need help with getting setup have any issues related with the library or just want to discuss blockchain distributed ledgers and iot with other people feel free to visit one of our resources website https iota org discord https discordapp com invite fngzxvh forum https forum iota org stack exchange https iota stackexchange com contributing please report any issues using the issue tracker https github com thibault martinez iota lib cpp issues donating ozctdhtfcb9ptazwgycgoa9xkdkpshwvszdjkzcoinnqtpnneangpbbdlsngkdgcaakbdvbovcptrlhtanmirgffgd iota logo https raw githubusercontent com iotaledger documentation master source images iota logo png travis https travis ci org thibault martinez iota lib cpp travis badge https travis ci org thibault martinez iota lib cpp svg branch master appveyor https ci appveyor com project thibault martinez iota lib cpp branch master appveyor badge https ci appveyor com api projects status lp9awde5sykw16u0 branch master svg true coveralls https coveralls io github thibault martinez iota lib cpp branch master coveralls badge https coveralls io repos github thibault martinez iota lib cpp badge svg branch master codacy https www codacy com app thibault martinez 30 iota lib cpp utm source github com amp utm medium referral amp utm content thibault martinez iota lib cpp amp utm campaign badge grade codacy badge https api codacy com project badge grade a7c3070bcf4f4bc2bfff8f266208634a codefactor https www codefactor io repository github thibault martinez iota lib cpp codefactor badge https www codefactor io repository github thibault martinez iota lib cpp badge documentation https thibault martinez github io iota lib cpp html documentation badge https img shields io readthedocs pip stable svg iota api https iota readme io reference iota api badge https img shields io badge iota 20api 20coverage 15 15 20commands green svg license https github com thibault martinez iota lib cpp blob master license license badge https img shields io apm l vim mode svg | iota iota-library api internet-of-things tangle cryptocurrency | server |
stm32h7-nucleo-h743zi-ethernet-lwip | nucleo h743zi ethernet lwip without rtos about a working tested example of lwip stack usage without rtos adapted from https github com mx master stm32h7 nucleo h743zi ethernet lwip cubemx project modified to generate a makefile instead of a sw4stm32 project requies gnu arm toolchain and openocd installed build flash from a shell run make flash openocd testing power up the nucleo h743zi board connect to usb port or use external 5v 3 3v build and flash firmware to the stm32h743zit6 using st link connect nucleo h743zi board to your pc or router using ethernet cable setup ip network mask for the pc as 192 168 1 xxx 255 255 255 0 xxx 1 99 or 99 254 open console terminal window and use commad ping 192 168 1 100 remarks pay attention to the code lines below it will help you to understand how to configure h7 for the correct ethernet lwip work stm32h743zitx flash ld stm32h743zitx flash ld l35 l39 stm32h743zitx flash ld l35 l39 stack heap size l134 stm32h743zitx flash ld l134 l151 stm32h743zitx flash ld l151 l162 stm32h743zitx flash ld l162 data bss heap location l166 l175 stm32h743zitx flash ld l166 l175 lwip rx tx data location main c src main c l133 l141 src main c l133 l141 hal delay mx lwip process usage l237 l262 src main c l237 l262 mpu configuration ethernetif c src ethernetif c l189 src ethernetif c l189 l196 src ethernetif c l196 l203 src ethernetif c l203 l210 src ethernetif c l210 ethernet gpios speed | os |
|
Awesome-Causality-in-CV | awesome causality in computer vision awesome https awesome re badge svg https awesome re a curated list of causality in computer vision inspired by awesome deep vision https github com kjw0612 awesome deep vision awesome adversarial machine learning https github com yenchenlin awesome adversarial machine learning awesome deep learning papers https github com terryum awesome deep learning papers and awesome nas https github com d x y awesome nas please feel free to pull requests https github com he y awesome pruning pulls or open an issue https github com he y awesome pruning issues to add papers table of contents type of causality in cv type of causality in cv 2021 venues 2021 2020 venues 2020 before 2020 before 2020 arxiv arxiv type of causality in cv type it cf cr o explanation intervention counterfactual causal representation other types 2021 title venue type code transporting causal mechanisms for unsupervised domain adaptation https arxiv org abs 2107 11055 iccv o pytorch author https github com yue zhongqi tcm causal attention for unbiased visual recognition https arxiv org abs 2108 08782 iccv it pytorch author https github com wangt cn caam learning causal representation for training cross domain pose estimator via generative interventions https openaccess thecvf com content iccv2021 papers zhang learning causal representation for training cross domain pose estimator via generative iccv 2021 paper pdf iccv it cr human trajectory prediction via counterfactual analysis https arxiv org abs 2107 14202 iccv cf pytorch author https github com chengy12 causalhtp counterfactual attention learning for fine grained visual categorization and re identification https arxiv org abs 2108 08728 iccv cf pytorch author https github com raoyongming cal counterfactual vqa a cause effect look at language bias https arxiv org abs 2006 04315 cvpr cf pytorch author https github com yuleiniu cfvqa counterfactual zero shot and open set visual recognition https arxiv org abs 2103 00887 cvpr cf pytorch author https github com yue zhongqi gcm cf distilling causal effect of data in class incremental learning https arxiv org pdf 2103 01737 cvpr cf pytorch author https github com joyhuyy1412 dde cil causal attention for vision language tasks https arxiv org abs 2103 03493 cvpr it pytorch author https github com yangxuntu lxmertcatt the blessings of unlabeled background in untrimmed videos https arxiv org abs 2103 13183 cvpr cf affect2mm affective analysis of multimedia content using emotion causality https arxiv org abs 2103 06541 cvpr o pytorch author https gamma umd edu researchdirections affectivecomputing affect2mm causalvae disentangled representation learning via neural structural causal models https arxiv org abs 2004 08697 cvpr cr generative interventions for causal learning https arxiv org abs 2012 12265 cvpr cr pytorch author https github com cvlab columbia genint acre abstract causal reasoning beyond covariation https arxiv org abs 2103 14232 cvpr o pytorch author https github com wellyzhang acre towards robust classification model by counterfactual and invariant data generation https arxiv org abs 2106 01127 cvpr cf pytorch author https github com wellyzhang acre interventional video grounding with dual contrastive learning https arxiv org abs 2106 11013 cvpr it representation learning via invariant causal mechanisms https arxiv org abs 2010 07922 iclr cr counterfactual generative networks https arxiv org abs 2101 06046 iclr cf pytorch author https github com autonomousvision counterfactual generative networks 2020 title venue type code counterfactual contrastive learning for weakly supervised vision language grounding https papers nips cc paper 2020 file d27b95cac4c27feb850aaa4070cc4675 paper pdf neurips cf a causal view of compositional zero shot recognition https arxiv org abs 2006 14610 neurips it counterfactual vision and language navigation unravelling the unseen https papers nips cc paper 2020 hash 39016cfe079db1bfb359ca72fcba3fd8 abstract html neurips cf causal intervention for weakly supervised semantic segmentation https arxiv org abs 2009 12547 neurips it pytorch author https github com zhangdong njust conta interventional few shot learning http arxiv org abs 2009 13000 neurips it pytorch author https github com yue zhongqi ifsl long tailed classification by keeping the good and removing the bad momentum causal effect https arxiv org abs 2009 12991 neurips cf pytorch author https github com kaihuatang long tailed recognition pytorch traffic accident benchmark for causality recognition https arxiv org abs 1911 07308 eccv o pytorch author https github com tackgeun causalityintrafficaccident towards causal benchmarking of bias in face analysis algorithms https arxiv org abs 2007 06570 eccv o pytorch author https github com balakg transects eccv2020 learning what makes a difference from counterfactual examples and gradient supervision https arxiv org abs 2004 09034 eccv cf counterfactual vision and language navigation via adversarial path sampling https arxiv org abs 1911 07308 eccv cf visual commonsense r cnn https arxiv org abs 2002 12204 cvpr cr it pytorch author https github com wangt cn vc r cnn unbiased scene graph generation from biased training https arxiv org abs 2002 11949 cvpr cf pytorch author https github com kaihuatang scene graph benchmark pytorch two causal principles for improving visual dialog https arxiv org abs 1911 10496 cvpr it pytorch author https github com simpleshinobu visdial principles counterfactual samples synthesizing for robust visual question answering https openaccess thecvf com content cvpr 2020 papers chen counterfactual samples synthesizing for robust visual question answering cvpr 2020 paper pdf cvpr cf pytorch author https github com yanxinzju css vqa towards causal vqa revealing and reducing spurious correlations by invariant and covariant semantic editing https arxiv org abs 1912 07538 cvpr cf pytorch author https github com agarwalvedika causalvqa counterfactuals uncover the modular structure of deep generative models https arxiv org abs 1912 07538 iclr cf exploratory not explanatory counterfactual analysis of saliency maps for deep reinforcement learning https arxiv org abs 1912 05743 iclr cf before 2020 title venue type code counterfactual visual explanations https arxiv org abs 1904 07451 icml2019 cf causalgan learning causal implicit generative models with adversarial training https arxiv org abs 1912 07538 iclr2018 o pytorch author https github com mkocaoglu causalgan discovering causal signals in images https openaccess thecvf com content cvpr 2017 papers lopez paz discovering causal signals cvpr 2017 paper pdf cvpr2017 o tensorflow 3rd https github com kyrs ncc experiments arxiv title venue type code learning causal semantic representation for out of distribution prediction https arxiv org abs 2011 01681 arxiv cr ecinn efficient counterfactuals from invertible neural networks https arxiv org abs 2103 13701 arxiv cf a structural causal model for mr images of multiple sclerosis https arxiv org abs 2103 03158 arxiv cf counterfactual variable control for robust and interpretable question answering https arxiv org abs 2010 05581 arxiv cf pytorch author https github com pluviophileyu cvc qa deconfounded image captioning a causal retrospect https arxiv org abs 2003 03923 arxiv it latent causal invariant model https arxiv org abs 2011 02203 arxiv o br related repo awesome causality algorithms https github com rguo12 awesome causality algorithms causal reading group https github com fulifeng causal reading group awesome causality https github com napsternxg awesome causality | ai |
|
AutoGL | auto graph learning chinese introduction readme cn md an automl framework toolkit for machine learning on graphs actively under development by thumnlab feel free to open a href https github com thumnlab autogl issues issues a or contact us at a href mailto autogl tsinghua edu cn autogl tsinghua edu cn a if you have any comments or suggestions code style black https img shields io badge code 20style black 000000 svg https github com psf black documentation status http mn cs tsinghua edu cn autogl documentation badge latest http mn cs tsinghua edu cn autogl documentation badge latest news 2023 10 29 new version v0 4 1 is here we have simplified the dataset module so that users can build their own datasets more easily we have developed an extended library autogl light https github com thumnlab autogl light which is a lightweight version of autogl users can customize their own automl pipeline for graphs more easily minor bugs fixed 2022 12 30 new version v0 4 0 pre is here we have proposed nas bench graph paper https openreview net pdf id bbff294gqlp code https github com thumnlab nas bench graph tutorial http mn cs tsinghua edu cn autogl documentation docfile tutorial t nas bench graph html the first nas benchmark for graphs published in neurips 22 by using autogl together with nas bench graph the performance estimation process of graphnas algorithms can be greatly speeded up we have supported the graph robustness algorithms in autogl including graph structure engineering robust gnns and robust graphnas see robustness tutorial http mn cs tsinghua edu cn autogl documentation docfile tutorial t robust html for more details we have supported graph self supervised learning see self supervised learning tutorial http mn cs tsinghua edu cn autogl documentation docfile tutorial t ssl trainer html for more details 2021 12 31 version v0 3 0 pre is released support deep graph library dgl https www dgl ai backend including homogeneous node classification link prediction and graph classification tasks autogl is also compatible with pyg 2 0 now support heterogeneous node classification see hetero tutorial http mn cs tsinghua edu cn autogl documentation docfile tutorial t hetero node clf html the module model now supports decoupled to two additional sub modules named encoder and decoder under the decoupled design one encoder can be used to solve all kinds of tasks enrich nas algorithms http mn cs tsinghua edu cn autogl documentation docfile tutorial t nas html such as autoattend https proceedings mlr press v139 guan21a html gasso https proceedings neurips cc paper 2021 hash 8c9f32e03aeb2e3000825c8c875c4edd abstract html hardware aware algorithm http mn cs tsinghua edu cn autogl documentation docfile documentation nas html autogl module nas estimator oneshotestimator hardwareaware etc 2021 07 11 version 0 2 0 pre is released which supports neural architecture search nas http mn cs tsinghua edu cn autogl documentation docfile tutorial t nas html to customize architectures sampling http mn cs tsinghua edu cn autogl documentation docfile tutorial t trainer html node classification with sampling to perform tasks on large datasets and link prediction 2021 04 16 our survey paper about automated machine learning on graphs is accepted by ijcai see more here http arxiv org abs 2103 00742 2021 04 10 our paper autogl a library for automated graph learning https arxiv org abs 2104 04987 is accepted by iclr 2021 workshop on geometrical and topological representation learning you can cite our paper following methods here cite introduction autogl is developed for researchers and developers to conduct automl on graph datasets and tasks easily and quickly see our documentation for detailed information the workflow below shows the overall framework of autogl img src resources workflow svg autogl uses datasets to maintain datasets for graph based machine learning which is based on dataset in pytorch geometric or deep graph library with some functions added to support the auto solver framework different graph based machine learning tasks are handled by different autogl solvers which make use of five main modules to automatically solve given tasks namely auto feature engineer neural architecture search auto model hyperparameter optimization and auto ensemble currently the following algorithms are supported in autogl table tbody tr valign top td feature engineer td td model td td nas td td hpo td td ensemble td tr tr valign top td b generators b br graphlet br eigen br pagerank br pyglocaldegreeprofile br pygnormalizefeatures br pygonehotdegree br onehot br br b selectors b br sefilterconstant br gbdt br br b subgraph b br nxlargecliquesize br nxaverageclusteringapproximate br nxdegreeassortativitycoefficient br nxdegreepearsoncorrelationcoefficient br nxhasbridge br nxgraphcliquenumber br nxgraphnumberofcliques br nxtransitivity br nxaverageclustering br nxisconnected br nxnumberconnectedcomponents br nxisdistanceregular br nxlocalefficiency br nxglobalefficiency br nxiseulerian td td b generators b br graphlets br eigengnn br a href http mn cs tsinghua edu cn autogl documentation docfile tutorial t fe html more a br br b selectors b br sefilterconstant br gbdt br br b graph b br netlsd br nxaverageclustering br a href http mn cs tsinghua edu cn autogl documentation docfile tutorial t fe html more a td td b homo encoders b br gcnencoder br gatencoder br sageencoder br ginencoder br br b decoders b br logsoftmaxdecoder br dotproductdecoder br sumpoolmlpdecoder br jksumpooldecoder td td b algorithms b br random br rl br evolution br gasso br a href http mn cs tsinghua edu cn autogl documentation docfile documentation nas html more a br br b spaces b br singlepath br graphnas br autoattend br a href http mn cs tsinghua edu cn autogl documentation docfile documentation nas html more a br br b estimators b br oneshot br scratch br td td grid br random br anneal br bayes br cames br mocames br quasi random br tpe br autone td td voting br stacking td tr tbody table this toolkit also serves as a framework for users to implement and test their own automl or graph based machine learning models installation requirements please make sure you meet the following requirements before installing autogl 1 python 3 6 0 2 pytorch 1 6 0 see https pytorch org for installation 3 graph library backend you will need either pytorch geometric pyg or deep graph library dgl as the backend you can select a backend following here http mn cs tsinghua edu cn autogl documentation docfile tutorial t backend html if you install both 3 1 pytorch geometric 1 7 0 see https pytorch geometric readthedocs io en latest notes installation html for installation 3 2 deep graph library 0 7 0 see https dgl ai for installation installation install from pip run the following command to install this package through pip pip install autogl install from source run the following command to install this package from the source git clone https github com thumnlab autogl git cd autogl python setup py install install for development if you are a developer of the autogl project please use the following command to create a soft link then you can modify the local package without install them again pip install e documentation please refer to our a href http mn cs tsinghua edu cn autogl documentation documentation a to see the detailed documentation you can also make the documentation locally first please install sphinx and sphinx rtd theme pip install u sphinx pip install sphinx rtd theme then make an html documentation by cd docs make clean make html the documentation will be automatically generated under docs build html cite please cite our paper https openreview net forum id 0yhwpleindn as follows if you find our code useful inproceedings guan2021autogl title auto gl a library for automated graph learning author chaoyu guan and ziwei zhang and haoyang li and heng chang and zeyang zhang and yijian qin and jiyan jiang and xin wang and wenwu zhu booktitle iclr 2021 workshop on geometrical and topological representation learning year 2021 url https openreview net forum id 0yhwpleindn you may also find our survey paper http arxiv org abs 2103 00742 helpful article zhang2021automated title automated machine learning on graphs a survey author zhang ziwei and wang xin and zhu wenwu booktitle proceedings of the thirtieth international joint conference on artificial intelligence ijcai 21 year 2021 note survey track license we follow apache license license across the entire codebase from v0 2 | graph-neural-networks automl pytorch pytorch-geometric hyper-parameter-optimization machine-learning deep-learning neural-architecture-search | ai |
hyperledger-fabric-kubernetes | blockchain solution with hyperledger fabric hyperledger explorer on kubernetes maintainers feitnomore https github com feitnomore this is a simple guide to help you implement a complete blockchain solution using hyperledger fabric v1 3 https hyperledger fabric readthedocs io en release 1 3 whatsnew html with hyperledger explorer v0 3 7 https www hyperledger org projects explorer on top of a kubernetes https kubernetes io platform this solution uses also couchdb http couchdb apache org as peer s backend apache kafka https kafka apache org topics for the orderers and a nfs server network file system to share data between the components note kafka zookeeper are running outside kubernetes warning use it at your own risk background a few weeks back i ve decided to take a look at hyperledger fabric solution to blockchain as it seems to be a technology that has been seeing an increase use and also is supported by giant tech companies like ibm and oracle for example when i started looking at it i ve found lots of scripts like start sh stop sh byfn sh and eyfn sh for me those seems like magic and everyone that i ve talked to stated that i should use those while using those scripts made me start fast i had lots of trouble figuring out what was going on behind the scenes and also had a really hard time trying to customize the environment or run anything different from those samples at that point i ve decided to start digging and started building a complete blockchain environment step by step in order to see the details of how it works and how it can be achieved this github repository is the result of my studies introduction we re going to build a complete hyperledger fabric v1 3 environment with ca orderer and 4 organizations in order to achieve scalability and high availability on the orderer we re going to be using kafka each organization will have 2 peers and each peer will have it s own couchdb instance we re also going to deploy hyperledger explorer v0 3 7 with its postgresql database as well architecture infrastructure view for this environment we re going to be using a 3 node kubernetes cluster a 3 node apache zookeeper cluster for kafka a 4 node apache kafka cluster and a nfs server all the machines are going to be in the same network for kubernetes cluster we ll have the following machines sh kubenode01 local parisi biz kubenode02 local parisi biz kubenode03 local parisi biz note this is a home kubernetes environment however most of what is covered here should apply to any cloud provider that provides kubernetes compatible services for apache zookeeper we ll have the following machines sh zookeeper1 local parisi biz zookeeper2 local parisi biz zookeeper3 local parisi biz note zookeeper is needed by apache kafka note apache kafka should be 1 0 for hyperledger compatibility note check this link https dzone com articles how to setup kafka cluster for a quick guide on kafka zookeeper cluster note we re using 3 zookeeper nodes as the minimum stated in hyperledger fabric kafka documentation https hyperledger fabric readthedocs io en release 1 3 kafka html for apache kafka we ll have the following machines sh kafka1 local parisi biz kafka2 local parisi biz kafka3 local parisi biz kafka4 local parisi biz note we re using kafka 1 0 version for hyperledger compatibility note check this link https dzone com articles how to setup kafka cluster for a quick guide on kafka zookeeper cluster note we re using 4 kafka nodes as the minimum stated in hyperledger fabric kafka documentation https hyperledger fabric readthedocs io en release 1 3 kafka html for the nfs server we ll have sh storage local parisi biz note check this link https www howtoforge com nfs server and client on centos 7 for a quick guide on nfs server setup note crypto materials configuration files and some scripts will be saved on this shared filesystem note each peer will have its own couchdb as ledger meaning the data will be saved there and not on this nfs server the image below represents the environment infrastructure slide1 jpg https github com feitnomore hyperledger fabric kubernetes raw master images slide1 jpg note it s important to have all the environment with the time in sync as we re dealing with transactions and shared storage please make sure you have all the time in sync i encourage you to use ntp on your servers on my environment i have ntpdate running in a cron job note kafka zookeeper and nfs server are running outside kubernetes fabric logical view this environment will have a ca and a orderer as kubernetes deployments sh blockchain ca blockchain orderer we ll also have 4 organizations with each organization having 2 peers organized in the following deployments sh blockchain org1peer1 blockchain org1peer2 blockchain org2peer1 blockchain org2peer2 blockchain org3peer1 blockchain org3peer2 blockchain org4peer1 blockchain org4peer2 the image below represents this logical view slide2 jpg https github com feitnomore hyperledger fabric kubernetes raw master images slide2 jpg explorer logical view we re going to have hyperledger explorer as a webui for our environment hyperledger explorer will run in 2 deployments as below sh blockchain explorer db blockchain explorer app the image below represents this logical view slide3 jpg https github com feitnomore hyperledger fabric kubernetes raw master images slide3 jpg detailed view hyperledger fabric orderer will connect itself to the kafka servers as image below slide4 jpg https github com feitnomore hyperledger fabric kubernetes raw master images slide4 jpg each hyperledger fabric peer will have it s own couchdb instance running as a sidecar and will connect to our nfs shared storage slide5 jpg https github com feitnomore hyperledger fabric kubernetes raw master images slide5 jpg note although its not depicted above ca orderer and explorer deployments will also have access to the nfs shared storage as they need the artifacts that we re going to store there implementation step 1 checking environment first let s make sure we have kubernetes environment up running sh kubectl get nodes step 2 setting up shared storage now assuming the nfs server is up running and with the correct permissions we re going to create our persistentvolume first lets create the file kubernetes fabric pv yaml like the example below yaml kind persistentvolume apiversion v1 metadata name fabric pv labels type local name fabricfiles spec capacity storage 10gi volumemode filesystem accessmodes readwritemany persistentvolumereclaimpolicy retain nfs path nfs fabric server storage local parisi biz readonly false note nfs server is running on storage local parisi biz and the shared filesystem is nfs fabric we re using fabricfiles as the name for this persistentvolume now let s apply the above configuration sh kubectl apply f kubernetes fabric pv yaml after that we ll need to create a persistentvolumeclaim to do that we ll create file kubernetes fabric pvc yaml as below yaml kind persistentvolumeclaim apiversion v1 metadata name fabric pvc spec accessmodes readwritemany resources requests storage 10gi selector matchlabels name fabricfiles note we re using our previously created fabricfiles as the selector here now let s apply the above configuration sh kubectl apply f kubernetes fabric pvc yaml step 3 launching a fabric tools helper pod in order to perform some operations on the environment like file management peer configuration and artifact generation we ll need a helper pod running fabric tools for that we ll create file kubernetes fabric tools yaml yaml apiversion v1 kind pod metadata name fabric tools spec volumes name fabricfiles persistentvolumeclaim claimname fabric pvc name dockersocket hostpath path var run docker sock containers name fabrictools image hyperledger fabric tools amd64 1 3 0 imagepullpolicy always command sh c sleep 48h env name tz value america sao paulo name fabric cfg path value fabric volumemounts mountpath fabric name fabricfiles mountpath host var run docker sock name dockersocket note it s important to have the same timezone accross all network check tz environment variable after creating the file let s apply it to our kubernetes cluster sh kubectl apply f kubernetes fabric tools yaml make sure the fabric tools pod is running before we continue sh kubectl get pods now assuming fabric tools pod is running let s create a config directory on our shared filesystem to hold our files sh kubectl exec it fabric tools mkdir fabric config step 4 loading the config files into the storage 1 configtx now we re going to create the file config configtx yaml with our network configuration like the example below yaml organizations ordererorg name ordererorg id orderermsp mspdir crypto config ordererorganizations example com msp adminprincipal role member org1 name org1msp id org1msp mspdir crypto config peerorganizations org1 example com msp adminprincipal role member anchorpeers host blockchain org1peer1 port 30110 host blockchain org1peer2 port 30110 org2 name org2msp id org2msp mspdir crypto config peerorganizations org2 example com msp adminprincipal role member anchorpeers host blockchain org2peer1 port 30110 host blockchain org2peer2 port 30110 org3 name org3msp id org3msp mspdir crypto config peerorganizations org3 example com msp adminprincipal role member anchorpeers host blockchain org3peer1 port 30110 host blockchain org3peer2 port 30110 org4 name org4msp id org4msp mspdir crypto config peerorganizations org4 example com msp adminprincipal role member anchorpeers host blockchain org4peer1 port 30110 host blockchain org4peer2 port 30110 orderer ordererdefaults orderertype kafka addresses blockchain orderer 31010 batchtimeout 1s batchsize maxmessagecount 50 absolutemaxbytes 99 mb preferredmaxbytes 512 kb kafka brokers kafka1 local parisi biz 9092 kafka2 local parisi biz 9092 kafka3 local parisi biz 9092 kafka4 local parisi biz 9092 organizations application applicationdefaults organizations profiles fourorgsorderergenesis orderer ordererdefaults organizations ordererorg consortiums sampleconsortium organizations org1 org2 org3 org4 fourorgschannel consortium sampleconsortium application applicationdefaults organizations org1 org2 org3 org4 note the file reflects the topology discussed on the architecture presented before note pay attention to the kafka brokers urls note its important to have anchor peers configuration here as it impacts hyperledger fabric service discovery note batchtimeout and batchsize impacts directly in the performance of your environment in terms of quantity of transactions that are processed now let s copy the file we just created to our shared filesystem sh kubectl cp config configtx yaml fabric tools fabric config 2 crypto config now lets create the file config crypto config yaml like below yaml ordererorgs name orderer domain example com specs hostname orderer peerorgs name org1 domain org1 example com template count 2 users count 1 name org2 domain org2 example com template count 2 users count 1 name org3 domain org3 example com template count 2 users count 1 name org4 domain org4 example com template count 2 users count 1 let s copy the file to our shared filesystem sh kubectl cp config crypto config yaml fabric tools fabric config 3 chaincode it s time to copy our example chaincode to the shared filesystem in this case we ll be using balance transfer example sh kubectl cp config chaincode fabric tools fabric config step 5 creating the necessary artifacts 1 cryptogen time to generate our crypto material sh kubectl exec it fabric tools bin bash cryptogen generate config fabric config crypto config yaml exit now we re going to copy our files to the correct path and rename the key files sh kubectl exec it fabric tools bin bash cp r crypto config fabric for file in find fabric iname sk do echo file dir dirname file mv dir sk dir key pem done exit 2 configtxgen now we re going to copy the artifacts to the correct path and generate the genesis block sh kubectl exec it fabric tools bin bash cp fabric config configtx yaml fabric cd fabric configtxgen profile fourorgsorderergenesis outputblock genesis block exit 3 anchor peers lets create the anchor peers configuration files using configtxgen sh kubectl exec it fabric tools bin bash cd fabric configtxgen profile fourorgschannel outputanchorpeersupdate org1mspanchors tx channelid channel1 asorg org1msp configtxgen profile fourorgschannel outputanchorpeersupdate org2mspanchors tx channelid channel1 asorg org2msp configtxgen profile fourorgschannel outputanchorpeersupdate org3mspanchors tx channelid channel1 asorg org3msp configtxgen profile fourorgschannel outputanchorpeersupdate org4mspanchors tx channelid channel1 asorg org4msp exit note the generated files will be used later to update channel configuration with the respective anchor peers this step is important for hyperledger fabric service discovery to work properly 4 fix permissions we need to fix the files permissions on our shared filesystem now sh kubectl exec it fabric tools bin bash chmod a rx fabric r exit step 6 setting up fabric ca create the kubernetes blockchain ca deploy yaml file with the following deployment description yaml apiversion extensions v1beta1 kind deployment metadata name blockchain ca spec replicas 1 template metadata labels name ca spec volumes name fabricfiles persistentvolumeclaim claimname fabric pvc containers name ca image hyperledger fabric ca amd64 1 3 0 command sh c fabric ca server start b admin adminpw d env name tz value america sao paulo name fabric ca server ca name value ca1 name fabric ca server ca certfile value fabric crypto config peerorganizations org1 example com ca ca org1 example com cert pem name fabric ca server ca keyfile value fabric crypto config peerorganizations org1 example com ca key pem name fabric ca server debug value true name fabric ca server tls enabled value false name fabric ca server tls certfile value certs ca0a cert pem name fabric ca server tls keyfile value certs ca0a key pem name godebug value netdns go volumemounts mountpath fabric name fabricfiles note the ca uses our shared filesystem note the timezone configuration is important for certificate validation and expiration now let s apply the configuration sh kubectl apply f kubernetes blockchain ca deploy yaml create the file kubernetes blockchain ca svc yaml with the following service description yaml apiversion v1 kind service metadata name blockchain ca labels run blockchain ca spec type clusterip selector name ca ports protocol tcp port 30054 targetport 7054 name grpc protocol tcp port 7054 name grpc1 now apply the configuration sh kubectl apply f kubernetes blockchain ca svc yaml step 7 setting up fabric orderer create the file kubernetes blockchain orderer deploy yaml with the following deployment description yaml apiversion extensions v1beta1 kind deployment metadata name blockchain orderer spec replicas 3 template metadata labels name orderer spec volumes name fabricfiles persistentvolumeclaim claimname fabric pvc containers name orderer image hyperledger fabric orderer amd64 1 3 0 command sh c orderer env name tz value america sao paulo name orderer cfg path value fabric name orderer general ledgertype value file name orderer fileledger location value fabric ledger orderer name orderer general batchtimeout value 1s name orderer general batchsize maxmessagecount value 10 name orderer general maxwindowsize value 1000 name configtx general orderertype value kafka name configtx orderer kafka brokers value kafka1 local parisi biz 9092 kafka2 local parisi biz 9092 kafka3 local parisi biz 9092 kafka4 local parisi biz 9092 name orderer kafka retry shortinterval value 1s name orderer kafka retry shorttotal value 30s name orderer kafka verbose value true name configtx orderer addresses value blockchain orderer 31010 name orderer general listenaddress value 0 0 0 0 name orderer general listenport value 31010 name orderer general loglevel value debug name orderer general localmspdir value fabric crypto config ordererorganizations example com orderers orderer example com msp name orderer general localmspid value orderermsp name orderer general genesismethod value file name orderer general genesisfile value fabric genesis block name orderer general genesisprofile value initial name orderer general tls enabled value false name godebug value netdns go name orderer general ledgertype value ram volumemounts mountpath fabric name fabricfiles note because we re dealing with transactions timezones needs to be in sync everywhere note the orderer also uses our shared filesystem note orderer is using kafka note kafka brokers previoulsy set on configtx are now listed under configtx orderer kafka brokers environment variable note we re using a deployment with 3 orderers let s apply the configuration sh kubectl apply f kubernetes blockchain orderer deploy yaml create the file kubernetes blockchain orderer svc yaml with the following service description yaml apiversion v1 kind service metadata name blockchain orderer labels run blockchain orderer spec type clusterip selector name orderer ports protocol tcp port 31010 name grpc note this service will load balance between the 3 orderer pods created in the previous deployment now apply the configuration sh kubectl apply f kubernetes blockchain orderer svc yaml step 8 org1msp create org1msp peer1 deployment create the file kubernetes blockchain org1peer1 deploy yaml with the following deployment yaml apiversion extensions v1beta1 kind deployment metadata name blockchain org1peer1 spec replicas 1 template metadata labels name org1peer1 spec volumes name fabricfiles persistentvolumeclaim claimname fabric pvc name dockersocket hostpath path var run docker sock containers name peer image hyperledger fabric peer amd64 1 3 0 command sh c peer node start env name tz value america sao paulo name core peer addressautodetect value true name core peer networkid value nid1 name core peer id value blockchain org1peer1 name core peer address value blockchain org1peer1 30110 name core peer listenaddress value 0 0 0 0 30110 name core peer events address value 0 0 0 0 30111 name core peer gossip bootstrap value blockchain org1peer1 30110 name core peer gossip endpoint value blockchain org1peer1 30110 name core peer gossip externalendpoint value blockchain org1peer1 30110 name core peer gossip orgleader value false name core peer gossip skiphandshake value true name core peer gossip useleaderelection value true name core peer committer enabled value true name core peer profile enabled value true name core vm endpoint value unix host var run docker sock name core peer localmspid value org1msp name core peer mspconfigpath value fabric crypto config peerorganizations org1 example com peers peer0 org1 example com msp name core peer validator consensus plugin value pbft name core pbft general mode value classic name core pbft general n value 4 name core logging level value debug name core logging peer value debug name core logging cauthdsl value debug name core logging gossip value debug name core logging ledger value debug name core logging msp value info name core logging policies value debug name core logging grpc value debug name core peer tls enabled value false name core ledger state statedatabase value couchdb name core ledger state couchdbconfig couchdbaddress value localhost 5984 name core ledger state couchdbconfig username value hyperledgeruser name core ledger state couchdbconfig password value hyperledgerpass name fabric cfg path value etc hyperledger fabric name orderer url value blockchain orderer 31010 name godebug value netdns go name core vm docker attachstdout value true volumemounts mountpath fabric name fabricfiles mountpath host var run docker sock name dockersocket name couchdb image hyperledger fabric couchdb amd64 0 4 14 env name tz value america sao paulo name couchdb user value hyperledgeruser name couchdb password value hyperledgerpass note because we re dealing with transactions its important that every pod is running in the same timezone pay attention to the tz environment variable note core peer gossip bootstrap core peer gossip endpoint and core peer gossip externalendpoint are critical for the hyperledger fabric service discovery to work note volume dockersocket is used in order for the peer to have access to the docker daemon running on the host the peer is running to be able to launch the chaincode container note the chaincode container will be launched directly into docker daemon and will not show up in kubernetes note there is a sidecar container running couchdb there are environment variables setting the peer to use this couchdb instance create org1msp peer2 deployment create the file kubernetes blockchain org1peer2 deploy yaml with the following deployment yaml apiversion extensions v1beta1 kind deployment metadata name blockchain org1peer2 spec replicas 1 template metadata labels name org1peer2 spec volumes name fabricfiles persistentvolumeclaim claimname fabric pvc name dockersocket hostpath path var run docker sock containers name peer image hyperledger fabric peer amd64 1 3 0 command sh c peer node start env name tz value america sao paulo name core peer addressautodetect value true name core peer networkid value nid1 name core peer id value blockchain org1peer2 name core peer address value blockchain org1peer2 30110 name core peer listenaddress value 0 0 0 0 30110 name core peer events address value 0 0 0 0 30111 name core peer gossip bootstrap value blockchain org1peer2 30110 name core peer gossip endpoint value blockchain org1peer2 30110 name core peer gossip externalendpoint value blockchain org1peer2 30110 name core peer gossip orgleader value false name core peer gossip useleaderelection value true name core peer gossip skiphandshake value true name core peer committer enabled value true name core peer profile enabled value true name core vm endpoint value unix host var run docker sock name core peer localmspid value org1msp name core peer mspconfigpath value fabric crypto config peerorganizations org1 example com peers peer1 org1 example com msp name core peer validator consensus plugin value pbft name core pbft general mode value classic name core pbft general n value 4 name core logging level value debug name core logging peer value debug name core logging cauthdsl value debug name core logging gossip value debug name core logging ledger value debug name core logging msp value info name core logging policies value debug name core logging grpc value debug name core peer tls enabled value false name core ledger state statedatabase value couchdb name core ledger state couchdbconfig couchdbaddress value localhost 5984 name core ledger state couchdbconfig username value hyperledgeruser name core ledger state couchdbconfig password value hyperledgerpass name fabric cfg path value etc hyperledger fabric name orderer url value blockchain orderer 31010 name godebug value netdns go name core vm docker attachstdout value true volumemounts mountpath fabric name fabricfiles mountpath host var run docker sock name dockersocket name couchdb image hyperledger fabric couchdb amd64 0 4 14 env name tz value america sao paulo name couchdb user value hyperledgeruser name couchdb password value hyperledgerpass note the peer uses our shared filesystem note because we re dealing with transactions its important that every pod is running in the same timezone pay attention to the tz environment variable note core peer gossip bootstrap core peer gossip endpoint and core peer gossip externalendpoint are critical for the hyperledger fabric service discovery to work note volume dockersocket is used in order for the peer to have access to the docker daemon running on the host the peer is running to be able to launch the chaincode container note the chaincode container will be launched directly into docker daemon and will not show up in kubernetes note there is a sidecar container running couchdb there are environment variables setting the peer to use this couchdb instance create org1msp peer1 service create the file kubernetes blockchain org1peer1 svc yaml with the service below yaml apiversion v1 kind service metadata name blockchain org1peer1 labels run blockchain org1peer1 spec type clusterip selector name org1peer1 ports protocol tcp port 30110 name grpc protocol tcp port 30111 name events protocol tcp port 5984 name couchdb create org1msp peer2 service create the file kubernetes blockchain org1peer2 svc yaml with the service below yaml apiversion v1 kind service metadata name blockchain org1peer2 labels run blockchain org1peer2 spec type clusterip selector name org1peer2 ports protocol tcp port 30110 name grpc protocol tcp port 30111 name events protocol tcp port 5984 name couchdb apply configuration now we re going to apply the previously created files sh kubectl apply f kubernetes blockchain org1peer1 deploy yaml kubectl apply f kubernetes blockchain org1peer2 deploy yaml kubectl apply f kubernetes blockchain org1peer1 svc yaml kubectl apply f kubernetes blockchain org1peer2 svc yaml step 9 org2msp create org2msp peer1 deployment create the file kubernetes blockchain org2peer1 deploy yaml with the following deployment yaml apiversion extensions v1beta1 kind deployment metadata name blockchain org2peer1 spec replicas 1 template metadata labels name org2peer1 spec volumes name fabricfiles persistentvolumeclaim claimname fabric pvc name dockersocket hostpath path var run docker sock containers name peer image hyperledger fabric peer amd64 1 3 0 command sh c peer node start env name tz value america sao paulo name core peer addressautodetect value true name core peer id value blockchain org2peer1 name core peer networkid value nid1 name core peer address value blockchain org2peer1 30110 name core peer listenaddress value 0 0 0 0 30110 name core peer events address value 0 0 0 0 30111 name core peer gossip bootstrap value blockchain org2peer1 30110 name core peer gossip endpoint value blockchain org2peer1 30110 name core peer gossip externalendpoint value blockchain org2peer1 30110 name core peer gossip orgleader value false name core peer gossip useleaderelection value true name core peer gossip skiphandshake value true name core peer committer enabled value false name core peer profile enabled value true name core vm endpoint value unix host var run docker sock name core peer localmspid value org2msp name core peer mspconfigpath value fabric crypto config peerorganizations org2 example com peers peer0 org2 example com msp name core peer validator consensus plugin value pbft name core pbft general mode value classic name core pbft general n value 4 name core logging level value debug name core logging peer value debug name core logging cauthdsl value debug name core logging gossip value debug name core logging ledger value debug name core logging msp value debug name core logging policies value debug name core logging grpc value debug name core peer tls enabled value false name core ledger state statedatabase value couchdb name core ledger state couchdbconfig couchdbaddress value localhost 5984 name core ledger state couchdbconfig username value hyperledgeruser name core ledger state couchdbconfig password value hyperledgerpass name fabric cfg path value etc hyperledger fabric name orderer url value blockchain orderer 31010 name godebug value netdns go name core vm docker attachstdout value true volumemounts mountpath fabric name fabricfiles mountpath host var run docker sock name dockersocket name couchdb image hyperledger fabric couchdb amd64 0 4 14 env name tz value america sao paulo name couchdb user value hyperledgeruser name couchdb password value hyperledgerpass note the peer uses our shared filesystem note because we re dealing with transactions its important that every pod is running in the same timezone pay attention to the tz environment variable note core peer gossip bootstrap core peer gossip endpoint and core peer gossip externalendpoint are critical for the hyperledger fabric service discovery to work note volume dockersocket is used in order for the peer to have access to the docker daemon running on the host the peer is running to be able to launch the chaincode container note the chaincode container will be launched directly into docker daemon and will not show up in kubernetes note there is a sidecar container running couchdb there are environment variables setting the peer to use this couchdb instance create org2msp peer2 deployment create the file kubernetes blockchain org2peer2 deploy yaml the following deployment yaml apiversion extensions v1beta1 kind deployment metadata name blockchain org2peer2 spec replicas 1 template metadata labels name org2peer2 spec volumes name fabricfiles persistentvolumeclaim claimname fabric pvc name dockersocket hostpath path var run docker sock containers name peer image hyperledger fabric peer amd64 1 3 0 command sh c peer node start env name tz value america sao paulo name core peer addressautodetect value true name core peer id value blockchain org2peer2 name core peer networkid value nid1 name core peer address value blockchain org2peer2 30110 name core peer listenaddress value 0 0 0 0 30110 name core peer events address value 0 0 0 0 30111 name core peer gossip bootstrap value blockchain org2peer2 30110 name core peer gossip endpoint value blockchain org2peer2 30110 name core peer gossip externalendpoint value blockchain org2peer2 30110 name core peer gossip orgleader value false name core peer gossip useleaderelection value true name core peer gossip skiphandshake value true name core peer committer enabled value false name core peer profile enabled value true name core vm endpoint value unix host var run docker sock name core peer localmspid value org2msp name core peer mspconfigpath value fabric crypto config peerorganizations org2 example com peers peer1 org2 example com msp name core peer validator consensus plugin value pbft name core pbft general mode value classic name core pbft general n value 4 name core logging level value debug name core logging peer value debug name core logging cauthdsl value debug name core logging gossip value debug name core logging ledger value debug name core logging msp value debug name core logging policies value debug name core logging grpc value debug name core peer tls enabled value false name core ledger state statedatabase value couchdb name core ledger state couchdbconfig couchdbaddress value localhost 5984 name core ledger state couchdbconfig username value hyperledgeruser name core ledger state couchdbconfig password value hyperledgerpass name fabric cfg path value etc hyperledger fabric name orderer url value blockchain orderer 31010 name godebug value netdns go name core vm docker attachstdout value true volumemounts mountpath fabric name fabricfiles mountpath host var run docker sock name dockersocket name couchdb image hyperledger fabric couchdb amd64 0 4 14 env name tz value america sao paulo name couchdb user value hyperledgeruser name couchdb password value hyperledgerpass note the peer uses our shared filesystem note because we re dealing with transactions its important that every pod is running in the same timezone pay attention to the tz environment variable note core peer gossip bootstrap core peer gossip endpoint and core peer gossip externalendpoint are critical for the hyperledger fabric service discovery to work note volume dockersocket is used in order for the peer to have access to the docker daemon running on the host the peer is running to be able to launch the chaincode container note the chaincode container will be launched directly into docker daemon and will not show up in kubernetes note there is a sidecar container running couchdb there are environment variables setting the peer to use this couchdb instance create org2msp peer1 service create the file kubernetes blockchain org2peer1 svc yaml with the service below yaml apiversion v1 kind service metadata name blockchain org2peer1 labels run blockchain org2peer1 spec type clusterip selector name org2peer1 ports protocol tcp port 30110 name grpc protocol tcp port 30111 name events protocol tcp port 5984 name couchdb create org2msp peer2 service create the file kubernetes blockchain org2peer2 svc yaml with the service below yaml apiversion v1 kind service metadata name blockchain org2peer2 labels run blockchain org2peer2 spec type clusterip selector name org2peer2 ports protocol tcp port 30110 name grpc protocol tcp port 30111 name events protocol tcp port 5984 name couchdb apply configuration now we re going to apply the previously created files sh kubectl apply f kubernetes blockchain org2peer1 deploy yaml kubectl apply f kubernetes blockchain org2peer2 deploy yaml kubectl apply f kubernetes blockchain org2peer1 svc yaml kubectl apply f kubernetes blockchain org2peer2 svc yaml step 10 org3msp create org3msp peer1 deployment create the file kubernetes blockchain org3peer1 deploy yaml with the following deployment yaml apiversion extensions v1beta1 kind deployment metadata name blockchain org3peer1 spec replicas 1 template metadata labels name org3peer1 spec volumes name fabricfiles persistentvolumeclaim claimname fabric pvc name dockersocket hostpath path var run docker sock containers name peer image hyperledger fabric peer amd64 1 3 0 command sh c peer node start env name tz value america sao paulo name core peer addressautodetect value true name core peer id value blockchain org3peer1 name core peer networkid value nid1 name core peer address value blockchain org3peer1 30110 name core peer listenaddress value 0 0 0 0 30110 name core peer events address value 0 0 0 0 30111 name core peer gossip bootstrap value blockchain org3peer1 30110 name core peer gossip endpoint value blockchain org3peer1 30110 name core peer gossip externalendpoint value blockchain org3peer1 30110 name core peer gossip orgleader value false name core peer gossip useleaderelection value true name core peer gossip skiphandshake value true name core peer committer enabled value false name core peer profile enabled value true name core vm endpoint value unix host var run docker sock name core peer localmspid value org3msp name core peer mspconfigpath value fabric crypto config peerorganizations org3 example com peers peer0 org3 example com msp name core peer validator consensus plugin value pbft name core pbft general mode value classic name core pbft general n value 4 name core logging level value debug name core logging peer value debug name core logging cauthdsl value debug name core logging gossip value debug name core logging ledger value debug name core logging msp value debug name core logging policies value debug name core logging grpc value debug name core peer tls enabled value false name core ledger state statedatabase value couchdb name core ledger state couchdbconfig couchdbaddress value localhost 5984 name core ledger state couchdbconfig username value hyperledgeruser name core ledger state couchdbconfig password value hyperledgerpass name fabric cfg path value etc hyperledger fabric name orderer url value blockchain orderer 31010 name godebug value netdns go name core vm docker attachstdout value true volumemounts mountpath fabric name fabricfiles mountpath host var run docker sock name dockersocket name couchdb image hyperledger fabric couchdb amd64 0 4 14 env name tz value america sao paulo name couchdb user value hyperledgeruser name couchdb password value hyperledgerpass note the peer uses our shared filesystem note because we re dealing with transactions its important that every pod is running in the same timezone pay attention to the tz environment variable note core peer gossip bootstrap core peer gossip endpoint and core peer gossip externalendpoint are critical for the hyperledger fabric service discovery to work note volume dockersocket is used in order for the peer to have access to the docker daemon running on the host the peer is running to be able to launch the chaincode container note the chaincode container will be launched directly into docker daemon and will not show up in kubernetes note there is a sidecar container running couchdb there are environment variables setting the peer to use this couchdb instance create org3msp peer2 deployment create the file kubernetes blockchain org3peer2 deploy yaml with the following deployment yaml apiversion extensions v1beta1 kind deployment metadata name blockchain org3peer2 spec replicas 1 template metadata labels name org3peer2 spec volumes name fabricfiles persistentvolumeclaim claimname fabric pvc name dockersocket hostpath path var run docker sock containers name peer image hyperledger fabric peer amd64 1 3 0 command sh c peer node start env name tz value america sao paulo name core peer addressautodetect value true name core peer id value blockchain org3peer2 name core peer networkid value nid1 name core peer address value blockchain org3peer2 30110 name core peer listenaddress value 0 0 0 0 30110 name core peer events address value 0 0 0 0 30111 name core peer gossip bootstrap value blockchain org3peer2 30110 name core peer gossip endpoint value blockchain org3peer2 30110 name core peer gossip externalendpoint value blockchain org3peer2 30110 name core peer gossip orgleader value false name core peer gossip useleaderelection value true name core peer gossip skiphandshake value true name core peer committer enabled value false name core peer profile enabled value true name core vm endpoint value unix host var run docker sock name core peer localmspid value org3msp name core peer mspconfigpath value fabric crypto config peerorganizations org3 example com peers peer1 org3 example com msp name core peer validator consensus plugin value pbft name core pbft general mode value classic name core pbft general n value 4 name core logging level value debug name core logging peer value debug name core logging cauthdsl value debug name core logging gossip value debug name core logging ledger value debug name core logging msp value debug name core logging policies value debug name core logging grpc value debug name core peer tls enabled value false name core ledger state statedatabase value couchdb name core ledger state couchdbconfig couchdbaddress value localhost 5984 name core ledger state couchdbconfig username value hyperledgeruser name core ledger state couchdbconfig password value hyperledgerpass name fabric cfg path value etc hyperledger fabric name orderer url value blockchain orderer 31010 name godebug value netdns go name core vm docker attachstdout value true volumemounts mountpath fabric name fabricfiles mountpath host var run docker sock name dockersocket name couchdb image hyperledger fabric couchdb amd64 0 4 14 env name tz value america sao paulo name couchdb user value hyperledgeruser name couchdb password value hyperledgerpass note the peer uses our shared filesystem note because we re dealing with transactions its important that every pod is running in the same timezone pay attention to the tz environment variable note core peer gossip bootstrap core peer gossip endpoint and core peer gossip externalendpoint are critical for the hyperledger fabric service discovery to work note volume dockersocket is used in order for the peer to have access to the docker daemon running on the host the peer is running to be able to launch the chaincode container note the chaincode container will be launched directly into docker daemon and will not show up in kubernetes note there is a sidecar container running couchdb there are environment variables setting the peer to use this couchdb instance create org3msp peer1 service create the file kubernetes blockchain org3peer1 svc yaml with the service below yaml apiversion v1 kind service metadata name blockchain org3peer1 labels run blockchain org3peer1 spec type clusterip selector name org3peer1 ports protocol tcp port 30110 name grpc protocol tcp port 30111 name events protocol tcp port 5984 name couchdb create org3msp peer2 service create the file kubernetes blockchain org3peer2 svc yaml with service below yaml apiversion v1 kind service metadata name blockchain org3peer2 labels run blockchain org3peer2 spec type clusterip selector name org3peer2 ports protocol tcp port 30110 name grpc protocol tcp port 30111 name events protocol tcp port 5984 name couchdb apply configuration now we re going to apply the previously created files sh kubectl apply f kubernetes blockchain org3peer1 deploy yaml kubectl apply f kubernetes blockchain org3peer2 deploy yaml kubectl apply f kubernetes blockchain org3peer1 svc yaml kubectl apply f kubernetes blockchain org3peer2 svc yaml step 11 org4msp create org4msp peer1 deployment create the file kubernetes blockchain org4peer1 deploy yaml the following deployment yaml apiversion extensions v1beta1 kind deployment metadata name blockchain org4peer1 spec replicas 1 template metadata labels name org4peer1 spec volumes name fabricfiles persistentvolumeclaim claimname fabric pvc name dockersocket hostpath path var run docker sock containers name peer image hyperledger fabric peer amd64 1 3 0 command sh c peer node start env name tz value america sao paulo name core peer addressautodetect value true name core peer id value blockchain org4peer1 name core peer networkid value nid1 name core peer address value blockchain org4peer1 30110 name core peer listenaddress value 0 0 0 0 30110 name core peer events address value 0 0 0 0 30111 name core peer gossip bootstrap value blockchain org4peer1 30110 name core peer gossip endpoint value blockchain org4peer1 30110 name core peer gossip externalendpoint value blockchain org4peer1 30110 name core peer gossip orgleader value false name core peer gossip useleaderelection value true name core peer gossip skiphandshake value false name core peer committer enabled value true name core peer profile enabled value true name core vm endpoint value unix host var run docker sock name core peer localmspid value org4msp name core peer mspconfigpath value fabric crypto config peerorganizations org4 example com peers peer0 org4 example com msp name core peer validator consensus plugin value pbft name core pbft general mode value classic name core pbft general n value 4 name core logging level value debug name core logging peer value debug name core logging cauthdsl value debug name core logging gossip value debug name core logging ledger value debug name core logging msp value debug name core logging policies value debug name core logging grpc value debug name core peer tls enabled value false name core ledger state statedatabase value couchdb name core ledger state couchdbconfig couchdbaddress value localhost 5984 name core ledger state couchdbconfig username value hyperledgeruser name core ledger state couchdbconfig password value hyperledgerpass name fabric cfg path value etc hyperledger fabric name orderer url value blockchain orderer 31010 name godebug value netdns go name core vm docker attachstdout value true volumemounts mountpath fabric name fabricfiles mountpath host var run docker sock name dockersocket name couchdb image hyperledger fabric couchdb amd64 0 4 14 env name tz value america sao paulo name couchdb user value hyperledgeruser name couchdb password value hyperledgerpass note the peer uses our shared filesystem note because we re dealing with transactions its important that every pod is running in the same timezone pay attention to the tz environment variable note core peer gossip bootstrap core peer gossip endpoint and core peer gossip externalendpoint are critical for the hyperledger fabric service discovery to work note volume dockersocket is used in order for the peer to have access to the docker daemon running on the host the peer is running to be able to launch the chaincode container note the chaincode container will be launched directly into docker daemon and will not show up in kubernetes note there is a sidecar container running couchdb there are environment variables setting the peer to use this couchdb instance create org4msp peer2 deployment create the file kubernetes blockchain org4peer2 deploy yaml with the following deployment yaml apiversion extensions v1beta1 kind deployment metadata name blockchain org4peer2 spec replicas 1 template metadata labels name org4peer2 spec volumes name fabricfiles persistentvolumeclaim claimname fabric pvc name dockersocket hostpath path var run docker sock containers name peer image hyperledger fabric peer amd64 1 3 0 command sh c peer node start env name tz value america sao paulo name core peer addressautodetect value true name core peer id value blockchain org4peer2 name core peer networkid value nid1 name core peer address value blockchain org4peer2 30110 name core peer listenaddress value 0 0 0 0 30110 name core peer events address value 0 0 0 0 30111 name core peer gossip bootstrap value blockchain org4peer2 30110 name core peer gossip endpoint value blockchain org4peer2 30110 name core peer gossip externalendpoint value blockchain org4peer2 30110 name core peer gossip orgleader value false name core peer gossip useleaderelection value true name core peer gossip skiphandshake value false name core peer committer enabled value true name core peer profile enabled value true name core vm endpoint value unix host var run docker sock name core peer localmspid value org4msp name core peer mspconfigpath value fabric crypto config peerorganizations org4 example com peers peer1 org4 example com msp name core peer validator consensus plugin value pbft name core pbft general mode value classic name core pbft general n value 4 name core logging level value debug name core logging peer value debug name core logging cauthdsl value debug name core logging gossip value debug name core logging ledger value debug name core logging msp value debug name core logging policies value debug name core logging grpc value debug name core peer tls enabled value false name core ledger state statedatabase value couchdb name core ledger state couchdbconfig couchdbaddress value localhost 5984 name core ledger state couchdbconfig username value hyperledgeruser name core ledger state couchdbconfig password value hyperledgerpass name fabric cfg path value etc hyperledger fabric name orderer url value blockchain orderer 31010 name godebug value netdns go name core vm docker attachstdout value true volumemounts mountpath fabric name fabricfiles mountpath host var run docker sock name dockersocket name couchdb image hyperledger fabric couchdb amd64 0 4 14 env name tz value america sao paulo name couchdb user value hyperledgeruser name couchdb password value hyperledgerpass note the peer uses our shared filesystem note because we re dealing with transactions its important that every pod is running in the same timezone pay attention to the tz environment variable note core peer gossip bootstrap core peer gossip endpoint and core peer gossip externalendpoint are critical for the hyperledger fabric service discovery to work note volume dockersocket is used in order for the peer to have access to the docker daemon running on the host the peer is running to be able to launch the chaincode container note the chaincode container will be launched directly into docker daemon and will not show up in kubernetes note there is a sidecar container running couchdb there are environment variables setting the peer to use this couchdb instance create org4msp peer1 service create the file kubernetes blockchain org4peer1 svc yaml with the service below yaml apiversion v1 kind service metadata name blockchain org4peer1 labels run blockchain org4peer1 spec type clusterip selector name org4peer1 ports protocol tcp port 30110 name grpc protocol tcp port 30111 name events protocol tcp port 5984 name couchdb create org4msp peer2 service create the file kubernetes blockchain org4peer2 svc yaml with the service below yaml apiversion v1 kind service metadata name blockchain org4peer2 labels run blockchain org4peer2 spec type clusterip selector name org4peer2 ports protocol tcp port 30110 name grpc protocol tcp port 30111 name events protocol tcp port 5984 name couchdb apply configuration now we re going to apply the previously created files sh kubectl apply f kubernetes blockchain org4peer1 deploy yaml kubectl apply f kubernetes blockchain org4peer2 deploy yaml kubectl apply f kubernetes blockchain org4peer1 svc yaml kubectl apply f kubernetes blockchain org4peer2 svc yaml step 12 create channel now its time to create our channel sh kubectl exec it fabric tools bin bash export channel name channel1 cd fabric configtxgen profile fourorgschannel outputcreatechanneltx channel name tx channelid channel name export orderer url blockchain orderer 31010 export core peer addressautodetect false export core peer networkid nid1 export core peer localmspid org1msp export core peer mspconfigpath fabric crypto config peerorganizations org1 example com peers peer0 org1 example com msp export fabric cfg path etc hyperledger fabric peer channel create o orderer url c channel name f fabric channel name tx exit step 13 join channel org1msp let s join org1msp to our channel sh kubectl exec it fabric tools bin bash export channel name channel1 export core peer networkid nid1 export orderer url blockchain orderer 31010 export fabric cfg path etc hyperledger fabric export core peer localmspid org1msp export core peer mspid org1msp export core peer mspconfigpath fabric crypto config peerorganizations org1 example com users admin org1 example com msp export core peer address blockchain org1peer1 30110 peer channel fetch newest o orderer url c channel name peer channel join b channel name newest block rm rf channel name newest block export core peer address blockchain org1peer2 30110 peer channel fetch newest o orderer url c channel name peer channel join b channel name newest block rm rf channel name newest block exit org2msp let s join org2msp to our channel sh kubectl exec it fabric tools bin bash export channel name channel1 export core peer networkid nid1 export orderer url blockchain orderer 31010 export fabric cfg path etc hyperledger fabric export core peer localmspid org2msp export core peer mspid org2msp export core peer mspconfigpath fabric crypto config peerorganizations org2 example com users admin org2 example com msp export core peer address blockchain org2peer1 30110 peer channel fetch newest o orderer url c channel name peer channel join b channel name newest block rm rf channel name newest block export core peer address blockchain org2peer2 30110 peer channel fetch newest o orderer url c channel name peer channel join b channel name newest block rm rf channel name newest block exit org3msp let s join org3msp to our channel sh kubectl exec it fabric tools bin bash export channel name channel1 export core peer networkid nid1 export orderer url blockchain orderer 31010 export fabric cfg path etc hyperledger fabric export core peer localmspid org3msp export core peer mspid org3msp export core peer mspconfigpath fabric crypto config peerorganizations org3 example com users admin org3 example com msp export core peer address blockchain org3peer1 30110 peer channel fetch newest o orderer url c channel name peer channel join b channel name newest block rm rf channel name newest block export core peer address blockchain org3peer2 30110 peer channel fetch newest o orderer url c channel name peer channel join b channel name newest block rm rf channel name newest block exit org4msp let s join org4msp to our channel sh kubectl exec it fabric tools bin bash export channel name channel1 export core peer networkid nid1 export orderer url blockchain orderer 31010 export fabric cfg path etc hyperledger fabric export core peer localmspid org4msp export core peer mspid org4msp export core peer mspconfigpath fabric crypto config peerorganizations org4 example com users admin org4 example com msp export core peer address blockchain org4peer1 30110 peer channel fetch newest o orderer url c channel name peer channel join b channel name newest block rm rf channel name newest block export core peer address blockchain org4peer2 30110 peer channel fetch newest o orderer url c channel name peer channel join b channel name newest block rm rf channel name newest block exit step 14 install chaincode org1msp let s install our chaincode on org1msp peers sh kubectl exec it fabric tools bin bash cp r fabric config chaincode gopath src export chaincode name cc export chaincode version 1 0 export fabric cfg path etc hyperledger fabric export core peer mspconfigpath fabric crypto config peerorganizations org1 example com users admin org1 example com msp export core peer localmspid org1msp export core peer address blockchain org1peer1 30110 peer chaincode install n chaincode name v chaincode version p chaincode example02 export core peer address blockchain org1peer2 30110 peer chaincode install n chaincode name v chaincode version p chaincode example02 exit org2msp let s install our chaincode on org2msp peers sh kubectl exec it fabric tools bin bash cp r fabric config chaincode gopath src export chaincode name cc export chaincode version 1 0 export fabric cfg path etc hyperledger fabric export core peer mspconfigpath fabric crypto config peerorganizations org2 example com users admin org2 example com msp export core peer localmspid org2msp export core peer address blockchain org2peer1 30110 peer chaincode install n chaincode name v chaincode version p chaincode example02 export core peer address blockchain org2peer2 30110 peer chaincode install n chaincode name v chaincode version p chaincode example02 exit org3msp let s install our chaincode on org3msp peers sh kubectl exec it fabric tools bin bash cp r fabric config chaincode gopath src export chaincode name cc export chaincode version 1 0 export fabric cfg path etc hyperledger fabric export core peer mspconfigpath fabric crypto config peerorganizations org3 example com users admin org3 example com msp export core peer localmspid org3msp export core peer address blockchain org3peer1 30110 peer chaincode install n chaincode name v chaincode version p chaincode example02 export core peer address blockchain org3peer2 30110 peer chaincode install n chaincode name v chaincode version p chaincode example02 exit org4msp let s install our chaincode on org4msp peers sh kubectl exec it fabric tools bin bash cp r fabric config chaincode gopath src export chaincode name cc export chaincode version 1 0 export fabric cfg path etc hyperledger fabric export core peer mspconfigpath fabric crypto config peerorganizations org4 example com users admin org4 example com msp export core peer localmspid org4msp export core peer address blockchain org4peer1 30110 peer chaincode install n chaincode name v chaincode version p chaincode example02 export core peer address blockchain org4peer2 30110 peer chaincode install n chaincode name v chaincode version p chaincode example02 exit step 15 instantiate chaincode now its time to instantiate our chaincode sh kubectl exec it fabric tools bin bash export channel name channel1 export chaincode name cc export chaincode version 1 0 export fabric cfg path etc hyperledger fabric export core peer mspconfigpath fabric crypto config peerorganizations org1 example com users admin org1 example com msp export core peer localmspid org1msp export core peer address blockchain org1peer1 30110 export orderer url blockchain orderer 31010 peer chaincode instantiate o orderer url c channel name n chaincode name v chaincode version p and org1msp member org2msp member org3msp member org4msp member c args init a 300 b 600 exit note the policy p is set using and this will set the policy in a way that at least 1 peer from each org will need to endorse the transaction note because of this policy every transaction sent to the network will have to be sent to at least 1 peer from each organization note as we re using balance transfer example we re starting a with 300 and b with 600 step 16 anchorpeers now we need to update our channel configuration to reflect our anchor peers sh pod kubectl get pods grep blockchain org1peer1 awk print 1 kubectl exec it pod peer channel update f fabric org1mspanchors tx c channel1 o blockchain orderer 31010 pod kubectl get pods grep blockchain org2peer1 awk print 1 kubectl exec it pod peer channel update f fabric org2mspanchors tx c channel1 o blockchain orderer 31010 pod kubectl get pods grep blockchain org3peer1 awk print 1 kubectl exec it pod peer channel update f fabric org3mspanchors tx c channel1 o blockchain orderer 31010 pod kubectl get pods grep blockchain org4peer1 awk print 1 kubectl exec it pod peer channel update f fabric org4mspanchors tx c channel1 o blockchain orderer 31010 note this step is very important for the hyperledger fabric service discovery to work properly note for each organization we only need to execute the peer channel update once note the command is executed on a peer that is on the same organization as the anchor file step 17 deploy hyperledger explorer fabric explorer needs a postgresql database as its backend in order to deploy we ll create the file kubernetes blockchain explorer db deploy yaml with the following deployment yaml apiversion extensions v1beta1 kind deployment metadata name blockchain explorer db spec replicas 1 template metadata labels name explorer db spec volumes name fabricfiles persistentvolumeclaim claimname fabric pvc containers name postgres image postgres 10 4 alpine env name tz value america sao paulo name database database value fabricexplorer name database username value hppoc name database password value password volumemounts mountpath fabric name fabricfiles note the timezone is also important here note this pod will need internet access now we re going to apply the configuration sh kubectl apply f kubernetes blockchain explorer db deploy yaml after that we need to create the service entry for our database to do that let s create the file kubernetes blockchain explorer db svc yaml as below yaml apiversion v1 kind service metadata name blockchain explorer db labels run explorer db spec type clusterip selector name explorer db ports protocol tcp port 5432 targetport 5432 name pgsql now we re going to apply the configuration sh kubectl apply f kubernetes blockchain explorer db svc yaml now before proceeding make sure the postgresql pod is running we need to create the tables and artifacts for hyperledger explorer in our database sh pod kubectl get pods grep blockchain explorer db awk print 1 kubectl exec it pod bin bash mkdir p fabric config explorer db mkdir p fabric config explorer app cd fabric config explorer db wget https raw githubusercontent com hyperledger blockchain explorer master app persistence fabric postgresql db createdb sh wget https raw githubusercontent com hyperledger blockchain explorer master app persistence fabric postgresql db explorerpg sql wget https raw githubusercontent com hyperledger blockchain explorer master app persistence fabric postgresql db processenv js wget https raw githubusercontent com hyperledger blockchain explorer master app persistence fabric postgresql db updatepg sql apk update apk add jq apk add nodejs apk add sudo rm rf var cache apk chmod x createdb sh createdb sh exit now we re going to create the config file with our hyperledger network description to use on hyperledger explorer in order to do that we ll create the file config explorer app config json with the following configuration json network configs network 1 version 1 0 clients client 1 tlsenable false organization org1msp channel channel1 credentialstore path tmp credentialstore org1 credential cryptostore path tmp credentialstore org1 crypto channels channel1 peers blockchain org1peer1 blockchain org2peer1 blockchain org3peer1 blockchain org4peer1 blockchain org1peer2 blockchain org2peer2 blockchain org3peer2 blockchain org4peer2 orderers blockchain orderer connection timeout peer endorser 6000 eventhub 6000 eventreg 6000 organizations org1msp mspid org1msp fullpath false adminprivatekey path fabric crypto config peerorganizations org1 example com users admin org1 example com msp keystore signedcert path fabric crypto config peerorganizations org1 example com users admin org1 example com msp signcerts org2msp mspid org2msp fullpath false adminprivatekey path fabric crypto config peerorganizations org2 example com users admin org2 example com msp keystore signedcert path fabric crypto config peerorganizations org2 example com users admin org2 example com msp signcerts org3msp mspid org3msp fullpath false adminprivatekey path fabric crypto config peerorganizations org3 example com users admin org3 example com msp keystore signedcert path fabric crypto config peerorganizations org3 example com users admin org3 example com msp signcerts org4msp mspid org4msp fullpath false adminprivatekey path fabric crypto config peerorganizations org4 example com users admin org4 example com msp keystore signedcert path fabric crypto config peerorganizations org4 example com users admin org4 example com msp signcerts orderermsp mspid orderermsp adminprivatekey path fabric crypto config ordererorganizations example com users admin example com msp keystore peers blockchain org1peer1 tlscacerts path fabric crypto config peerorganizations org1 example com peers peer0 org1 example com tls ca crt url grpc blockchain org1peer1 30110 eventurl grpc blockchain org1peer1 30111 grpcoptions ssl target name override peer0 org1 example com blockchain org2peer1 tlscacerts path fabric crypto config peerorganizations org2 example com peers peer0 org2 example com tls ca crt url grpc blockchain org2peer1 30110 eventurl grpc blockchain org2peer1 30111 grpcoptions ssl target name override peer0 org2 example com blockchain org3peer1 tlscacerts path fabric crypto config peerorganizations org3 example com peers peer0 org3 example com tls ca crt url grpc blockchain org3peer1 30110 eventurl grpc blockchain org3peer1 30111 grpcoptions ssl target name override peer0 org3 example com blockchain org4peer1 tlscacerts path fabric crypto config peerorganizations org4 example com peers peer0 org4 example com tls ca crt url grpc blockchain org4peer1 30110 eventurl grpc blockchain org4peer1 30111 grpcoptions ssl target name override peer0 org4 example com blockchain org1peer2 tlscacerts path fabric crypto config peerorganizations org1 example com peers peer1 org1 example com tls ca crt url grpc blockchain org1peer2 30110 eventurl grpc blockchain org1peer2 30111 grpcoptions ssl target name override peer1 org1 example com blockchain org2peer2 tlscacerts path fabric crypto config peerorganizations org2 example com peers peer1 org2 example com tls ca crt url grpc blockchain org2peer2 30110 eventurl grpc blockchain org2peer2 30111 grpcoptions ssl target name override peer1 org2 example com blockchain org3peer2 tlscacerts path fabric crypto config peerorganizations org3 example com peers peer1 org3 example com tls ca crt url grpc blockchain org3peer2 30110 eventurl grpc blockchain org3peer2 30111 grpcoptions ssl target name override peer1 org3 example com blockchain org4peer2 tlscacerts path fabric crypto config peerorganizations org4 example com peers peer1 org4 example com tls ca crt url grpc blockchain org4peer2 30110 eventurl grpc blockchain org4peer2 30111 grpcoptions ssl target name override peer1 org4 example com orderers blockchain orderer url grpc blockchain orderer 31010 configtxgentoolpath fabric path workspace fabric samples bin license apache 2 0 after creating the file its time to copy it to our shared filesystem sh kubectl cp config explorer app config json fabric tools fabric config explorer app create the config explorer app run sh as below sh bin sh mkdir p opt explorer app platform fabric mkdir p tmp mv opt explorer app platform fabric config json opt explorer app platform fabric config json vanilla cp fabric config explorer app config json opt explorer app platform fabric config json cd opt explorer node explorer app path main js tail f dev null after creating the file its time to copy it to our shared filesystem sh chmod x config explorer app run sh kubectl cp config explorer app run sh fabric tools fabric config explorer app now its time to create our hyperledger explorer application deployment by creating the file kubernetes blockchain explorer app deploy yaml as below yaml apiversion extensions v1beta1 kind deployment metadata name blockchain explorer app spec replicas 1 template metadata labels name explorer spec volumes name fabricfiles persistentvolumeclaim claimname fabric pvc containers name explorer image hyperledger explorer latest command sh c fabric config explorer app run sh env name tz value america sao paulo name database host value blockchain explorer db name database username value hppoc name database password value password volumemounts mountpath fabric name fabricfiles note again setting up the timezone as the reports might get impacted note this deployment will have access to the shared filesystem as the startup script and config files are store there note there are 3 environment variables here pointing our application to the previously created postgresql service now its time to apply our deployment sh kubectl apply f kubernetes blockchain explorer app deploy yaml cleanup now to leave our environment clean we re going to remove our helper pod sh kubectl delete f kubernetes fabric tools yaml validating now we re going to run 2 transactions the first one we ll move 50 from a to b the second one we ll move 33 from b to a sh pod kubectl get pods grep blockchain org1peer1 awk print 1 kubectl exec it pod bin bash peer chaincode invoke peeraddresses blockchain org1peer1 30110 peeraddresses blockchain org2peer1 30110 peeraddresses blockchain org3peer1 30110 peeraddresses blockchain org4peer1 30110 o blockchain orderer 31010 c channel1 n cc c args invoke a b 50 peer chaincode invoke peeraddresses blockchain org1peer1 30110 peeraddresses blockchain org2peer1 30110 peeraddresses blockchain org3peer1 30110 peeraddresses blockchain org4peer1 30110 o blockchain orderer 31010 c channel1 n cc c args invoke b a 33 exit note the invoke command is using peeraddresses parameter four times in order to send the transaction to at least one peer from each organization note the first transaction might take a little bit to go through note we re executing transaction on org1msp peer1 now we re going to check our balance as stated before we ve started a with 300 and b with 600 sh pod kubectl get pods grep blockchain org1peer1 awk print 1 kubectl exec it pod bin bash peer chaincode query c channel1 n cc c args query a peer chaincode query c channel1 n cc c args query b exit note a should return 283 and b should return 617 note we re executing transaction on org1msp peer1 we can also check the network status as well as the transactions on hyperledger explorer sh pod kubectl get pods grep blockchain explorer app awk print 1 kubectl port forward pod 8080 8080 now open your browser to http 127 0 0 1 8080 http 127 0 0 1 8080 in the first window you can see your network status and transactions as below slide6 jpg https github com feitnomore hyperledger fabric kubernetes raw master images slide6 jpg you can also click on transactions tab and check for a transaction as below slide7 jpg https github com feitnomore hyperledger fabric kubernetes raw master images slide7 jpg note you can see here that the transaction got endorsed by all the 4 organizations reference links hyperledger fabric https hyperledger fabric readthedocs io en release 1 3 hyperledger explorer https www hyperledger org projects explorer apache couchdb http couchdb apache org apache kafka https kafka apache org kubernetes concepts https kubernetes io docs concepts | blockchain |
|
kissui | p align center img src https raw githubusercontent com usablica kissui master images logo png br simple easy to use modern web development framework p philosophy everything should be as simple as possible but not simpler albert einstein https en wikipedia org wiki albert einstein we believe this world is full of sophisticated things and as the time goes by it is getting more and more complicated thus we created this repository to make developers life much simpler the kiss principle https en wikipedia org wiki kiss principle states that most systems work best if they are kept simple rather than made complicated therefore simplicity should be a key goal in design and unnecessary complexity should be avoided kissui or kiss ui kiss stands for keep it simple stupid is a html5 and css3 framework for desktop and mobile to make a beautiful and simple user interface it is free and will be free and it is based on skeleton https github com dhg skeleton the first objective of kissui is to the life easier for web mobile developers and their users key features simple lightweight and easy to use responsive ready for developing web mobile and desktop apps retina display ready free and open source and alive build in order to be able to build the kissui you should install some dependencies first if you don t have them already installing main dependancies node js http nodejs org bower http bower io sudo npm install bower g grunt js http gruntjs com sudo npm install g grunt cli installing local dependancies clone the project cd to the project folder run sudo npm install first time run grunt to watch and compile files versioning kissui will be maintained under the semantic versioning guidelines releases will be numbered with the following format major minor patch for more information on semver visit http semver org author s afshin mehrabani afshin meh gmail com thanks to dave gamache https github com dhg for developing skeleton seth coelen https github com whatsnewsaes for making the sass files daniel eden https github com daneden for animate css dave gandy https github com davegandy for fontawesome anton https thenounproject com parkasever for making the phoenix icon license mit see license https github com usablica kissui blob master license | front_end |
|
CloudDataWarehouses | modeling sparkify database with postgres project summary this project models transforms the song user data for the sparkify company using redshift so that it can be analyzed by their analytical team it uses a star schema with dimension fact tables to make it easy to write analytical sql queries on the database it uses a python script to etl the data from the song log files to a couple of staging tables then eventually to the final tables in the redshift database how to run the project please run the following python scripts 1 create tables py it creates the staging the final tables for the sparkify database 1 etl py it loads the data into the database from the song log files explanation of files you ll find the following files in the repo 1 create tables py drops and creates the tables you run this file to reset your tables before each time you run your etl scripts 1 etl py reads and processes files from song data and log data and loads them into the tables 1 sql queries py contains all the sql queries to create drop tables insert data and is imported into the files above 1 readme md provides discussion on your project | cloud |
|
nlp-class | this repository contains code i wrote in the class empirical methods in natural language processing http www isi edu natural language teaching cs562 hopefully this can be useful to other people who are also learning nlp techniques the code that i wrote is licensed under wtfpl version 2 the details are described in the report pdf files in each sub folder here s a brief summary of what they are about 1 hw1 restore vowels to vowelless text using finite state machines 2 hw2 trigram language model with improved kneser ney smoothing best performance in class 3 hw3 unsupervised part of speech tagging using baum welch algorithm 4 hw4 part of speech tagging using conditional random fields 3rd best performance in class 5 hw5 context free grammar parsing using cky algorithm with vertical markovization 6 final project a modern chinese to classical chinese machine translation system most code is written in scala http www scala lang org except for hw5 which is written python the professor kindly provided a few hundred lines of useful code in python and i was too lazy to reimplement them so i just learnt the language instead you may need sbt http www scala sbt org or sbt script runner http www scala sbt org release docs detailed topics scripts to execute them | ai |
|
Hello_New_World | hello new world welcome to the world of ios engineering hi programmer and software engineers i am made of objective c c c swift and ios sdks i have tons of apps and libraries and apis in the apple world | os |
|
End-to-End-Data-Engineering | end to end data engineering this data engineering project involves retrieving a csv file creating a postgresql table modifying data frames and writing them back into the postgresql database using airflow docker and pandas | server |
|
ComputerVision | computervision computer vision programs using opencv | ai |
|
Analytics_dbt | welcome to your new dbt project using the starter project try running the following commands dbt run dbt test resources learn more about dbt in the docs https docs getdbt com docs introduction check out discourse https discourse getdbt com for commonly asked questions and answers join the dbt community http community getbdt com to learn from other analytics engineers find dbt events https events getdbt com near you check out the blog https blog getdbt com for the latest news on dbt s development and best practices | cloud |
|
Hands-On-High-Performance-Web-Development-with-JavaScript | 5 tech unlocked 2021 buy and download this book for only 5 on packtpub com https www packtpub com product hands on javascript high performance 9781838821098 if you have read this book please leave a review on amazon com https www amazon com gp product 1838821090 potential readers can then use your unbiased opinion to help them make purchase decisions thank you the 5 campaign runs from december 15th 2020 to january 13th 2021 hands on high performance web development with javascript hands on high performance web development with javascript published by packt download a free pdf i if you have already purchased a print or kindle version of this book you can get a drm free pdf version at no cost br simply click on the link to claim your free pdf i p align center a href https packt link free ebook 9781838821098 https packt link free ebook 9781838821098 a p | front_end |
|
blog-profile | blog profile a personal website showcasing the cloud engineering epersonal website showcasing deepesh s cloud engineering expertise aws knowledge and devops skills explore cloud insights best practices and resources hosted on github pages | cloud |
|
plasma-mobile-dev | manjaro plasma mobile developer edition iso build https github com manjaro pinephone plasma mobile dev workflows image build badge svg https github com manjaro pinephone plasma mobile dev actions description development branch for plasma mobile of manjaro linux for the pinephone where can i download an iso images are build and uploaded in a relatively regular interval to github releases https github com manjaro pinephone plasma mobile dev releases sources image profile https github com manjaro pinephone arm profiles building 1 check out the arm profiles 2 sudo buildarmimg d pinephone e plasma mobile v 20211003 b unstable k kde unstable | front_end |
|
OAK-blockchain | div a href https github com w3f open grants program pull 268 img src https user images githubusercontent com 1693789 156277834 ed433b60 9e82 4267 8b4f e30438dbec54 png alt oak web3 open grant style width 40 a div oak onchain autonomous framework is a unique blockchain built on substrate framework with an event driven execution model autonomous transactions and on chain scheduling introduction oak or onchain automation framework is equipped with a novel smart contract virtual machine that supports an event driven execution model enabling developers to build fully autonomous decentralized application by extending the current set of atomic operations namely opcodes of evm oak introduces an innovative way for contracts to interact with each other contracts can emit signal events on which other contracts can listen once an event is triggered corresponding handler functions are automatically executed as a new type of transaction signal transaction applications implemented with this new approach will eliminate dependency of unreliable components such as off chain relay servers and in return significantly simplify execution flow and avoid security risks such as man in the middle attacks benefits of oak technology secure automation easy integration built in private oracle live networks turing staging rococo parachain jan 2022 turing network kusama parachain april 2022 oak network polkadot parachain target launch q1 2023 documentation website https oak tech documentation https docs oak tech community general discussion telegram https t me oak announcements technical discussion discord https discord gg 7w9udvsbwh follow us on twitter https twitter com oak network subscribe to medium newsletter https medium com oak blockchain run the blockchain binaries of turing network can be found on releases https github com oak foundation oak blockchain releases page of this repo for instructions of setting up a turing network collator please refer to our documentation on docs oak tech https docs oak tech docs setup collator node develop the best way to run our blockchain and debug its code is via building from source in this chapter we will explain the method to set up a local rococo network with turing and other parachains build from source ensure you have rust and the support software see shell nix for the latest functional toolchain curl https sh rustup rs ssf sh on windows download and run rustup init exe from https rustup rs instead rustup update nightly rustup target add wasm32 unknown unknown toolchain nightly important make sure the rustup default is compatible with your machine for example if you are building using apple m1 arm you need to run rustup install stable aarch64 apple darwin rustup default stable aarch64 apple darwin you will also need to install the following dependencies linux sudo apt install cmake git clang libclang dev build essential mac brew install cmake git llvm windows download and install the pre build windows binaries of llvm from http releases llvm org download html install additional build tools cargo nightly install git https github com alexcrichton wasm gc clone oak blockchain code from github git clone git github com oak foundation oak blockchain git then build the code into binary bash cargo build release features turing node features dev queue in order to make local testing easy use a dev queue flag which will allow for putting a task directly on the task queue as opposed to waiting until the next hour to schedule a task this works when the execution times passed to schedule a task equals 0 at this point the binary of turing dev is built and located at target release oak collator build the relay chain turing dev is a parachain and doesn t produce block without a relay chain so next we will need to clone polkadot s code and build a local rococo relay chain first find out a compatible version of the relay chain s code from this repo s polkadot parachain reference in runtime turing cargo toml https github com oak foundation oak blockchain blob master runtime turing cargo toml for example polkadot parachain git https github com paritytech polkadot default features false branch release v0 9 29 release v0 9 29 is the version of relay chain to run so let s build its source with the below commands bash git clone branch release v0 9 29 https github com paritytech polkadot cd polkadot cargo build release build another parachain here we are using a copy of mangata s code https github com oak foundation mangata node tree automation demo as an example of another parachain first clone and compile the code with mangata rococo feature for a parachain git clone branch automation demo https github com oak foundation mangata node cd mangata node cargo build release features mangata rococo the binary file is located at target release mangata node quickstart run local networks with zombienet we have configured a network of 2 relay chain nodes 1 turing node and 1 mangata node in zombienets turing mangata toml https github com oak foundation oak blockchain blob master zombienets turing mangata toml so the easiest way to spin up a local network is through below steps 1 clone and build source of zombienet 1 git clone https github com paritytech zombienet git it s recommended to check out a stable release version instead of using the code on master branch for example the latest stable version tested is v1 3 63 https github com paritytech zombienet releases tag v1 3 63 and you sync to the tip of by calling git fetch tags git checkout v1 3 63 1 cd zombienet javascript 1 make sure your node version is compatible with that in javascript package json https github com paritytech zombienet blob main javascript package json for example node 16 1 npm install 1 npm run build 2 after a successful build you should be able to test run npm run zombie 3 create an alias to the zombie program on macos since the actual command of npm run zombie is node packages cli dist cli js we can add an alias to it by editing the bash profile file simply run vim bash profile add one line alias zombienet node your absolute path zombienet javascript packages cli dist cli js to it 4 run source bash profile this will load the new bash profile 5 cd into oak blockchain folder cd oak blockchain 6 spawn zombienet with our config file zombienet spawn zombienets turing mangata toml note that if you encounter issue with the above source code build approach and running it on macos try to download the zombienet macos binary from its release page and run zombienet macos spawn zombienets turing mangata toml the zombie spawn will run 2 relay chain nodes 1 turing node and 1 mangata node and set up an hrmp channel between the parachains slo mo manually run local networks in this section we will walk through the steps of manually running a local network with a rococo relay chain a turing parachain and a mangata parachain 1 launch a rococo relay chain first navigate to under polkadot repo s local folder with the binary built in target release polkadot open up two terminal windows to run two nodes separately 1 run node alice in the first terminal window bash target release polkadot alice validator tmp chain oak blockchain resources rococo local json port 30333 ws port 9944 1 run node bob in the second terminal window bash bob in a separate terminal target release polkadot bob validator tmp chain oak blockchain resources rococo local json port 30334 ws port 9945 at this point your local relay chain network should be running next we will launch a turing network node and connect it to the relay chain as a parachain 2 launch turing network as a parachain navigate to under oak blockchain repo s local folder the binary built is located at target release oak collator then prepare two files genesis state and genesis wasm for parachain registration bash generate a genesis state file target release oak collator export genesis state chain turing dev genesis state generate a genesis wasm file target release oak collator export genesis wasm chain turing dev genesis wasm third run the oak collator binary bash target release oak collator alice collator force authoring tmp chain turing dev port 40333 ws port 9946 execution wasm chain resources rococo local json port 30335 ws port 9977 after this command you should be able to see the stream output of the node register turing parachain on rococo 1 navigate to local relay sudo extrinsic https polkadot js org apps rpc ws 3a 2f 2f127 0 0 1 3a9944 sudo 2 register your local parachain on the local relay chain by calling parassudowrapper sudoscheduleparainitialize see the screenshot below 3 parameters 1 id 2114 2 genesishead switch on file upload and drag in the above generated genesis state file 3 validationcode switch on file upload and drag in the genesis wasm file 4 parachain yes image media readme parachain registration png 1 once submitted you should be able to see the id 2114 from the parathread https polkadot js org apps rpc ws 3a 2f 2f127 0 0 1 3a9944 parachains parathreads tab and after a short period on the parachains https polkadot js org apps rpc ws 3a 2f 2f127 0 0 1 3a9944 parachains tab image media readme parachain post registration png 2 once turing is onboarded as a parachain you should see block number start to increase on turing explorer https polkadot js org apps rpc ws 3a 2f 2f127 0 0 1 3a9946 explorer 3 launch mangata as a parachain this step is optional as you can spin up another project or turing network as the second parachain but for testing xcm functionality we use another parachain mangata as an example here navigate to under mangata node repo s local folder the binary built is located at target release mangata node second prepare two files genesis state and genesis wasm for parachain registration bash generate a genesis state file target release mangata node export genesis state chain mangata rococo local testnet genesis state generate a genesis wasm file target release mangata node export genesis wasm chain mangata rococo local testnet genesis wasm lastly start up the build target release mangata node alice collator force authoring tmp chain mangata rococo local testnet port 50333 ws port 9947 execution wasm chain oak blockchain resources rococo local json port 30336 ws port 9978 note that chain mangata rococo local testnet is necessary for the chain config the relay chain config is the same as that of turing as in from the file oak blockchain resources rococo local json port numbers need to be different from those of turing otherwise there will be port collisions up to this point the mangata node is up and running but not producing blocks yet we will repeat the parachain onboarding process below to connect it to rococo register mangata on rococo 1 navigate to local relay sudo extrinsic https polkadot js org apps rpc ws 3a 2f 2f127 0 0 1 3a9944 sudo 2 register mangata on the local rococo by calling parassudowrapper sudoscheduleparainitialize 3 parameters 1 id 2110 2 genesishead switch on file upload and drag in the above generated genesis state file 3 validationcode switch on file upload and drag in the genesis wasm file 4 parachain yes great at this point you have completed all steps of setting up local networks of rococo turing and mangata in order to test xcm functionality next refer to our guid on docs oak tech https docs oak tech docs developer guide overview contacts maintainers oak development team https github com orgs oak foundation people if you have any questions please ask our devs on discord https discord gg 7w9udvsbwh oak blockchain is licensed under the gplv3 0 by the oak network team | blockchain substrate polkadot parachain smart-contract-platform oak-blockchain | blockchain |
HackCloudMM | project ci cd deployment on gcp on gke step 0 docker image creation with app and its dependencies for testing create a gcp artifacts repo gcloud beta artifacts repositories create my docker repo repository format docker location us central1 clone frontend project that the mediamarkt developer team has designated mediamarkt github link https github com nuwe io mms cloud skeleton create the image with all app dependencies in the dockerfile path docker build t my app image v1 0 in the dockerfile path docker build t my app image v2 0 to validate the new created image run a container with our image docker run p host port container port image name step 1 image creation and upload with cloudbuild yaml sign in to gcp gcloud auth login configure the project gcloud config set project project id example gcloud config set project aiimdxghbalyvvw0ahpt6kz3uciv7i configure the artifact repository gcloud auth configure docker location docker pkg dev donde location es la regi n a usar example gcloud auth configure docker us central1 docker pkg dev generate the cloudbuild yaml cloudbuild yaml file steps name gcr io cloud builders docker args build t us central1 docker pkg dev project id my docker repo my app image name gcr io cloud builders docker args push us central1 docker pkg dev project id my docker repo my app image run the build and upload command gcloud builds submit config cloudbuild yaml important the command must be launched from the path where the dockerfile is located step 2 generate terraform files to deploy a gke cluster and deploy the app sign in to gcp gcloud auth login configure the project gcloud config set project project id example gcloud config set project aiimdxghbalyvvw0ahpt6kz3uciv7i generate the terraform file create the main tf terraform main tf file which contains the logic for creating the gke cluster and deploying the application create the file for deploying the app my app yml terraform my app yml run the terraform flow terraform init terraform plan terraform apply step 3 answer the iam privileges roles question as we didn t have privileges to create accounts in iam we had to respond theoretically the devops team should be granted the kubernetes engine cluster admin role provides access to management of clusters the finance team should be granted the billing account viewer role it provides access to spend information but does not confer the right to link or unlink projects or otherwise manage the properties of the billing account | cloud |
|
Flask-_-memes-.- | flask memes embark on a flask project develop a dynamic web app using python flask simplifies backend tasks enabling url routing handling forms and more create interactive web pages connect with databases and deploy your app easily unleash your web development potential with flask | server |
|
FreeRTOS-Sim | freertos sim freertos simulator for posix linux os x and maybe other posix os based on the linux simulator originally developed by william davy the goal of this work is to keep freertos posix simulator in a clean seperate package and up to date with the latest freertos releases directory description source freertos kernel and posix simulator source files project the project directory that includes main and freertos settings for the posix port demo demo tasks from the official freertos release note v10 is added to the master branch without extensive tests feel free to report or fix bugs | os |
|
picolibc | picolibc copyright 2018 2023 keith packard picolibc is library offering standard c library apis that targets small embedded systems with limited ram picolibc was formed by blending code from newlib http sourceware org newlib and avr libc https www nongnu org avr libc build status linux https github com picolibc picolibc workflows linux badge svg branch main zephyr https github com picolibc picolibc workflows zephyr badge svg branch main mac os x https github com picolibc picolibc workflows mac 20os 20x badge svg license picolibc source comes from a variety of places and has a huge variety of copyright holders and license texts while much of the code comes from newlib none of the gpl related bits used to build the library are left in the repository so all of the source code uses bsd like licenses a mixture of 2 and 3 clause bsd itself and a variety of other mostly older licenses with similar terms there are two files used for testing printf test printf tests c and test testcases c which are licensed under the gpl version 2 or later there is also a shell script generatepicolibccrossfile sh which is licensed under the agpl version 3 or later which is provided as a helper for people building the library but not used by picolibc otherwise the file copying picolibc contains all of the current copyright and license information in the debian standard machine readable format it was generated using the make copyrights and find copyright scripts supported architectures picolibc has integrated testing support for many architectures which is used to validate the code for all patch integration arc 32 and 64 bit arm 32 and 64 bit i386 native and linux hosted for testing motorola 68000 m68k mips msp430 nios ii power9 risc v both 32 and 64 bit sparcv8 32 bit x86 64 native and linux hosted for testing there is also build infrastructure and continuous build validation but no integrated testing available for additional architectures microblaze 32 bit big and little endian powerpc big and little endian sparc64 xtensa esp8266 esp32 supporting architectures that already have newlib code requires 1 newlib libc machine architecture meson build to build the architecture specific libc bits this should at least include setjmp longjmp support as these cannot be performed in architecture independent code and are needed by libstdc 2 checking for atomic support for tinystdio tinystdio requires atomics for ungetc to work correctly in a reentrant environment by default it stores them in 16 bit values but some architectures only have 32 bit atomics to avoid abi issues the size selected isn t detected automatically instead it must be configured in newlib libc tinystdio stdio h 3 newlib libm machine architecture meson build to build any architecture specific libm bits 4 picocrt machine architecture source code and build bits for startup code needed for the architecture useful in all cases but this is necessary to run tests under qemu if your platform can do that 5 cross gcc triple txt to configure the meson cross compilation mechanism to use the right tools 6 do architecture configure to make testing the cross compilation setup easier 7 newlib libc picolib support this should include whatever startup helpers are required like arm interrupt vector and tls support if your compiler includes this 8 run architecture script to run tests under qemu look at the arm and risc v examples to get a sense of what this needs to do and how it gets invoked from the cross gcc triple txt configuration file relation to newlib picolibc is mostly built from pieces of newlib and retains the directory structure of that project while there have been a lot of changes in the build system and per thread data storage the bulk of the source code remains unchanged to keep picolibc and newlib code in sync newlib changes will be regularly incorporated to ease integration of these changes into picolibc some care needs to be taken while editing the code files should not be renamed fixes that also benefit users of newlib should also be sent to the newlib project changes where possible should be made in a way compatible with newlib design for example instead of using errno which is valid in picolibc use errno r r even when r is not defined in the local context the bulk of newlib changes over the last several years have been in areas unrelated to the code used by picolibc so keeping things in sync has not been difficult so far documentation introductory documentation read these first building picolibc doc build md explains how to compile picolibc yourself using picolibc doc using md shows how to compile and link applications once you have picolibc built and installed linking with picolibc ld doc linking md provides more details about the linking process hello world hello world readme md build and run a stand alone c application by following step by step instructions detailed documentation use these to learn more details about how to use picolibc picolibc initialization doc init md operating system support doc os md printf and scanf in picolibc doc printf md thread local storage doc tls md re entrancy and locking doc locking md picolibc as embedded source doc embedsource md releasing picolibc doc releasing md copyright and license information copying picolibc releases picolibc version 1 8 5 detect clang multi lib support correctly by passing compiler flags thanks to xbjfk for identifying the problem create a new long long printf variant this provides enough variety to satisfy the zephyr cbprintf options without needing to build the library from scratch adjust use of custom binary to decimal conversion code so that it is only enabled for types beyond the register size of the target this avoids the cost of this code when the application is already likely to be using the soft division routines picolibc version 1 8 4 make math overflow and underflow handlers respect rounding modes add full precision fma fmaf fallbacks by adapting the long double code which uses two floats doubles and some careful exponent management to ensure that only a single rounding operation occurs fix more m68k 80 bit float bugs fix m68k asm abi by returning pointers in a0 and d0 use an m68k unknown elf toolchain for m68k testing including multi lib to check various fpu configurations on older and more modern 68k targets improve ci speed by using ccache on zephyr and mac tests compressing the docker images and automatically canceling jobs when the related pr is updated thanks to peter jonsson move a bunch of read only data out of ram and into flash by adding const attributes in various places add a new linker symbol heap size min which specifies a minimum heap size the linker will emit an error if this much space is not available between the end of static data and the stack fix a bunch of bugs on targets with 16 bit int type thanks to peter jonsson for many of these work around a handful of platform bugs on msp430 i think these are compiler bugs as they occur using both the binutils simulator and mspsim run tests on msp430 using the simulator that comes with gdb thanks to peter jonsson for spliting tests apart to make them small enough to link in under 1mb this requires a patch adding primitive semihosting to the simulator provide a division free binary to decimal conversion option for printf at friends this is useful on targets without hardware divide as it avoids pulling in a usually large software implementation this is controlled with the printf small ultoa meson option and is false by default add minimal printf and scanf variants these reduce functionality by removing code that acts on most data modifers including width and precision fields and alternate presentation modes a new config variable minimal io long long controls whether that code supports long long types add a assert verbose option which controls whether the assert macro is chatty by default it is true by default which preserves the existing code but when set to false then a failing assert calls assert no msg with no arguments saving the memory usually occupied by the filename function name and expression fix arm asm syntax for mrc mcr instructions to make clang happy thanks to radovan bla ek for this patch picolibc version 1 8 3 fix bugs in floor and ceil implementations use fanalyzer to find and fix a range of issues add ubsan handle out of bounds implementation this enables building applications with fsanitize bounds and fno sanitize undefined trap on error validate exception configuration on targets with mixed exception support where some types have exceptions and others don t right now that s only arm platforms where any soft float implementations don t build with exception support fix bugs in nexttowards nextafter on clang caused by the compiler re ordering code and causing incorrect exception generation use the small slow string code when fsanitize address is used while building the library this avoids reading beyond the end of strings and triggering faults handle soft float on x86 and sparc targets that mostly required disabling the hardware exception api along with a few other minor bug fixes add runtime support for arc mips nios2 and m68k this enables ci testing on these architectures using qemu fix 80 bit floating math library support for m68k targets fix arm testing infra to use various qemu models that expand testing to all standard multi lib configurations adjust floating exception stubs to return success when appropriate instead of always returning enosys make sure snan raises fe invalid and is converted to qnan in truncl frexpl and roundl avoid nan result from fmal caused by multiply overflow when addend is infinity inf inf results in nan in that case picolibc version 1 8 2 support zephyr source macro which like posix source et al controls whether the library expresses the zephyr c library api this is also automatically selected when the zephyr macro is defined and no other source macro is defined add another cross compile property libgcc which specifies the library containing soft float and other compiler support routines fix a couple of minor imprecisions in pow and 80 bit powl merge newlib changes that included an update to the arm assembly code replace inexact float string conversion code with smaller code that doesn t use floating point operations to save additional space on soft float targets more cmake fixes including making the inexact printf and locale options work picolibc version 1 8 1 fix cmake build system to auto detect compiler characteristics instead of assuming the compiler is a recent version of gcc this allows building using cmake with clang fix cmake build system to leave out tls support when tls is disabled on the cmake command line replace inline asm with attributes for weak reference macro add allocation attributes to malloc and stdio functions this allows the compiler to detect allocation related mistakes as well as perform some additional optimizations bugs found by this change were also addressed add wchar t support to tinystdio eliminating the last missing feature compared with the legacy stdio bits from newlib with this libstdc can be built with wide char i o support eliminating the last missing feature there as well eliminate use of command line tools when building with a new enough version of meson thanks to michael platings add microblaze support thanks to alp sayin switch semihosting to use binary mode when opening files thanks to hardy griech build and install static library versions of the crt0 startup code these allows developers to reference them as libraries on the command line instead of needing special compiler support to locate the different variants which is useful when using clang thanks to simon tatham simplify the signal raise implementation to use a single global array of signal handlers and to not use getpid and kill instead raise now directly invokes exit this makes using assert and abort simpler and doesn t cause a large tls block to be allocated thanks to joe nelson for discovering the use of a tls variable here picolibc version 1 8 with the addition of nearly complete long double support in the math library it seems like it s time to declare a larger version increment than usual improve arc and xtensa support adding tls helpers and other build fixes fix fpscr state for arm8 1 m low overhead loops thanks to david green add werror double promotion to default error set and fix related errors thanks to ryan mcclelland fix locking bug in malloc out of memory path and freeing a locked mutex in the tinystdio bufio code these were found with lock debugging code in zephyr add some missing functions in tinystdio strto l l remove tmpname tmpfile which were published in stdio h but not included in the library switch read write functions to use posix types instead of legacy cygwin types this makes mapping to existing an posix api work right add b support to tinystdio printf and scanf these are disabled by default as they aren t yet standardized fix avr math function support the avr version of gcc has modes where double and long double are 32 or 64 bits so the math library code now detects all of that at compile time rather than build time and reconfigures the functions to match the compiler types add nearly complete long double support from openlibm for 80 bit intel and 128 bit ieee values in addition to supporting 64 bit long doubles still missing are bessel functions and decimal printf scanf support add limited long double support for ibm double double form this is enough to run some simple tests but doesn t have any significant math functions yet get power9 code running under qemu with opal this was mostly needed to validate the big endian and exception code for 128 bit long doubles but was also used to validate the double double support provide times and sysconf implementations in semihosting you can now build and run the dhrystone benchmark without any further code fix use of tls variables with stricter alignment requirements in the default linker script and startup code thanks to joakim nohlg rd and alexander richardson who found this issue while working on lld support picolibc version 1 7 9 support all zephyr sdk targets support relocating the toolchain by using gcc exec prefix for sysroot install when compiler doesn t use sysroot add mips sparc and arc support deal with risc v changes in gcc that don t reliably include zicsr support picolibc as default c library with dsystem libc option with this you can use picolibc without any extra compiler options merge current newlib bits to get code that doesn t use struct reent get rid of struct reent in legacy stdio code support 16 bit int targets by fixing a few places assuming sizeof int 4 object sizes not using size t wint t for ucs 4 values add msp430 support fix a couple of clang bugs one on cortex m0 support libc by adding non standard mbstate t h merge i686 and x86 64 code to allow x86 multilib builds merge xtensa newlib bits support xtensa esp32 targets add nios ii support picolibc version 1 7 8 1 fix el ix level 4 code type errors 2 fix out of source cmake build thanks max behensky 3 improve build md docs thanks kalle raiskila 4 fix cmake build for various architectures 5 initialize lock in fdopen 6 remove m from linker paths in single arch builds 7 shrink tinystdio vfprintf and vfscanf a bit 8 use fno builtin malloc fno builtin free gcc 12 compat 9 use fno builtin copysignl gcc 12 compat 10 add zicsr to march for risc v picocrt binutils 2 38 compat 11 add no warn rwx segments to link spec binutils 2 38 compat picolibc version 1 7 7 1 fix semihost gettimeofday add a test 2 fix config option documentation thanks to rdiez 3 document how re entrant locking apis are used thanks to rdiez 4 fix some 16 bit int issues in tinystdio thanks to ayke van laethem 5 make header files a bit more posix compliant installing rpc headers moving byte swapping macros to arpa inet h 6 fix some stdio bugs found by zephyr test suite snprintf return value on buffer overflow add ftello fseeko fputc return value 0a formatting clear eof status after ungetc fseek 7 re do buffered i o support to handle mixed read write files correctly this adds setbuf setbuffer setlinebuf setvbuf 8 add fmemopen and freopen 9 add enough cmake support to allow zephyr to build picolibc as a module using that rather than meson 10 merge current newlib bits 11 fix p printf scanf on ilp64 targets picolibc version 1 7 6 1 fix use with c applications caused by a syntax error in picolibc specs 2 automatically include nostdlib to options used while evaluating build rules to ensure tests work as expected 3 publish aarch64 inline math functions ensure that inline fma functions work in installed applications for arm and risc v picolibc version 1 7 5 1 fix build on big endian systems thanks to thomas daede 2 add m68k support thanks to thomas daede 3 fix build issues with arm cortex a9 target thanks to ilia sergachev 4 fix fwrite x 0 y z in both tinystdio and legacy stdio tinystdio returned the wrong value and legacy stdio caused a divide by zero fault 5 update ryu code to match upstream minor fixes 6 fix various newlib and picolibc macros they were using a single leading underscore instead of two thanks to vincent palatin 7 fix tinystdio error handling bugs 8 merge recent newlib changes fixed ltdoa in legacy stdio 9 speed improvements for github ci system 10 big endian powerpc support 11 fail builds if most run command uses fail thanks to johan de claville christiansen 12 positional parameters in tinystdio with this i think tinystdio is feature complete 13 support for multiple build styles of picolibc minsize release in one binary package this still requires separate meson runs 14 testing with glibc test code this uncovered numerous bugs mostly math errno exception mistakes but also a few serious bugs including a couple of places where the nano malloc failed to check for out of memory picolibc now passes all of the glibc math tests except for jn yn lgamma and tgamma the picolibc versions of those functions are too inaccurate picolibc also passes most other relevant glibc tests including stdio string and stdlib areas 15 tinystdio version of fcvt now has a static buffer large enough to hold the maximum return size 16 tinystdio versions of ecvtbuf and fcvtbuf have been replaced with ecvt r and fcvt r equivalents which take a len parameter to prevent buffer overruns 17 add the generatepicolibccrossfile sh script which provides a way to isolate picolibc build scripts from the vagaries of meson version shifts thanks to r diez 18 add semihost version of crt0 that calls exit after main returns the arm and risc v versions of this also include trap handlers for exceptions that print out information and exit when an exception occurs picolibc version 1 7 4 1 clean up meson build bits including use of fs module thanks to yasushi shoji 2 speed up github actions by sharing debian docker image thanks to yasushi shoji 3 reduce use of intermediate static libraries during build 4 use standard meson architecture names everywhere thanks to yasushi shoji 5 support building with d fortify source enabled 6 clean up 32 bit arm assembly code eliminating aeabi wrappers where possible 7 add basename dirname and fnmatch back 8 fix all old style k r function definitions 9 enable lots more compiler warning flags 10 remove last uses of alloca in legacy stdio code 11 add tests from musl libc testsuite there aren t many tests but these identified a few bugs 12 add lots more exception and errno tests for the math functions 13 restructure math library to always use the math err functions to raise exceptions and set errno this removes the w c wrapper functions and eliminates the ieee names this centralizes compiler work arounds to ensure run time evaluation of expressions intended to raise exceptions in the process all of the libm math files were reformatted with clang format 14 make tinystdio a compatible with glibc including supporting rounding and trimming trailing zeros when possible 15 remove floating point exception generation code on targets without floating point exception support this reduces code size on soft float machines without affecting results picolibc version 1 7 3 1 add wall wextra to default builds fixed warnings this raised 2 add htonl and friends based on htonl thanks to johan de claville christiansen 3 set errno in scalbn and scalbnf patch forwarded to newlib 4 merge newlib recent changes which includes a couple of libm fixes picolibc version 1 7 2 1 fix picolibc ld to split c exceptions back apart thanks to khalil estell 2 add vsscanf to tinystdio required for libstdc 3 also stick isystem in c compile command to try and get picolibc headers to be used instead of newlib picolibc version 1 7 1 1 add cxa atexit implementation to picoexit path as required by c 2 fix lack of hh support in integer only tinystdio printf path 3 fix tinystdio file flag initialization for c apps picolibc version 1 7 1 merge libc and libm into a single library having them split doesn t offer any advantages while requiring that applications add lm to link successfully having them merged allows use of libm calls from libc code 2 add hex float format to printf scanf and strto d f ld this is required for c99 support 3 unify strto d f ld and scanf floating point parsing code this ensures that the library is consistent in how floats are parsed 4 make strto d f ld set errno to erange on overflow underflow including when the result is a subnormal number picolibc version 1 6 2 1 change restrict keyword in published headers to restrict to restore compatibility with applications building with std c18 2 additional cleanups in time conversion funcs thanks to r riez picolibc version 1 6 1 1 code cleanups for time conversion funcs thanks to r diez 2 add fno stack protector when supported by the c compiler to avoid trouble building with native ubuntu gcc 3 bug fix for converting denorms with sscanf and strto d f ld 4 use asm for inline asm code to allow building applications with std c18 5 fix exit code for semihosting abort call to make it visible to the hosting system 6 add strfromf and strfromd implementations these are simple wrappers around sscanf but strfromf handles float conversions without requiring a pass through double or special linker hacks picolibc version 1 6 1 bugfix for snprintf buf 0 and vsnprintf buf 0 to avoid smashing memory 2 support building libstdc on top of picolibc 3 add hosted crt0 variant that calls exit when main returns this makes testing easier without burdening embedded apps with unused exit processing code 4 add minimal crt0 variant that skips constructors to save space on systems known to not use any 5 fix hw floating point initialization on 32 bit arm processors to perform dsb and isb instructions to ensure the fpu enabling write is complete before executing any fpu instructions 6 create a new picolibc prefix gcc command line parameter that sets the base of all picolibc file names 7 add bare metal i386 and x86 64 initializatiton code thanks to mike haertel these initalize the processor from power up to running code without requiring any bios 8 merge newlib as of late april 2021 9 add timegm function thanks to r diez 10 fix a number of tinystdio bugs handle fread with size 0 parse nan and inf in fscanf in a case insensitive manner fix negative precision to arguments in printf fix handling of j z and t argument size specifiers thanks to sebastian meyer 11 make the fenv api more consistent and more conformant with the spec all architectures now fall back to the default code for soft float versions which avoids having the various exception and rounding modes get defined when not supported picolibc version 1 5 1 1 make riscv crt0 exit symbol weak to allow linking without this function picolibc version 1 5 1 make picolibc more compatible with c compilers 2 add gcc specs file and linker script for building c applications with g that enable exception handling by linking in call stack information 3 a few clang build fixes including libm exception generation 4 nano malloc fixes especially for unusual arguments 5 merge in newlib 4 1 0 code 6 more libm exception errno infinity fixes mostly in the gamma funcs 7 add tests for all semihost v2 0 functions 8 a few risc v assembly fixes and new libm code 9 build fixes to reliably replace generic code with architecture specific implementations with a patch which is pending for gcc 11 we ll be able to build c applications that use picolibc with exceptions and iostream picolibc version 1 4 7 1 fix numerous libm exception and errno bugs the math functions are all now verified to match the c19 and posix standards in this area 2 change behavior of gamma function to match glibc which returns lgamma for this function applications should not use this function they should pick either lgamma or tgamma as appropriate 3 fix fma fmaf on arm and risc v so that the machine specific versions are used when the hardware has support also fix the math library to only use fma fmaf when it is supported by the hardware 4 fix numerous nano malloc bugs especially with unusual parameters 5 change nano malloc to always clear returned memory 6 improve nano realloc to perform better in various ways including merging adjacent free blocks and expanding the heap 7 add malloc tests both a basic functional test and a stress test 8 improve build portability to windows picolibc should now build using mingw 9 use hardware tls register on arm when available 10 support clang compiler thanks to denis feklushkin denis feklushkin gmail com and joakim nohlg rd joakim nohlgard se 11 avoid implicit float double conversions check this by having clang builds use wdouble promotion werror double promotion flags 12 have portable code check for machine specific overrides by matching filenames this avoids building libraries with duplicate symbols and retains compatibility with newlib which uses a different mechanism for this effect 13 patches to support building with compcert http compcert inria fr a formally verified compiler thanks to sebastian meyer meyer absint com picolibc version 1 4 6 1 install ssp stack smashing protection header files this fixes compiling with d fortify source 2 make getc ungetc re entrant this feature which is enabled by default uses atomic instruction sequences that do not require os support 3 numerous iconv fixes including enabling testing and switching external ccs file loading to use stdio by default iconv provides built in ccs data for all of the supported encodings which takes a fairly large amount of read only memory iconv is now always included in picolibc as it isn t included in applications unless explicitly referenced by them 4 add getauxval stub implementation to make picolibc work with gcc version 10 compiled for aarch64 linux gnu 5 change how integer and float only versions of printf and scanf are selected instead of re defining the symbols using the c preprocessor picolibc now re defines the symbols at link time this avoids having applications compiled with a mixture of modes link in multiple versions of the underlying functions while still preserving the smallest possible integer only implementation 6 document how to use picolibc on a native posix system for testing check out the os md doc os md file for details 7 merge current newlib bits in this includes better fenv support for which tests are now included in the picolibc test suite picolibc version 1 4 5 1 fix section order in picolibc ld to give applications correct control over the layout of preserve init and fini regions 2 add startup and tls support for aarch64 and non cortex m 32 bit arm picolibc version 1 4 4 1 fix floating point g format output in tinystdio e g for 10 0 print 10 instead of 1e 01 there are tests which verify a range of g cases like these now 2 merge current newlib bits the only thing which affects picolibc is the addition of fenv support for arm picolibc version 1 4 3 1 make fix for cve 2019 14871 cve 2019 14878 in original newlib stdio code not call abort allocation failures are now reported back to the application 2 add exact floating point print scan code to tinystdio thanks to sreepathi pai for pointing me at the ryu code by ulf adams 3 add regular expression functions from newlib these were removed by accident while removing posix filesystem specific code 4 make tinystdio versions of efg cvt functions this means that the default tinystdio version of picolibc no longer calls malloc from these functions 5 more clang compatibility fixes thanks to denis feklushkin 6 remove stdatomic h and tgmath h they should not be provide by picolibc picolibc version 1 4 2 1 clang source compatibility clang should now be able to compile the library thanks to denis feklushkin for figuring out how to make this work 2 aarch64 support this enables the existing aarch64 code and provides an example configuration file for getting it built thanks for anthony anderson for this feature 3 testing on github on push and pull request for now this is limited to building the library due to a bug in qemu 4 get newlib stdio working again you can now usefully use newlib s stdio this requires a working malloc and is substantially larger than tinystdio but has more accurate floating point input this requires posix functions including read write and a few others 5 fix long double strtold the working version is only available when using tinystdio if using newlib stdio strtold is simply not available 6 improve tinystdio support for c99 printf scanf additions 7 check for correct prefix when sysroot install option is selected the value of this option depends on how gcc was configured and alas meson won t let us set it at runtime so instead we complain if the wrong value was given and display the correct value 8 sync up with current newlib head picolibc version 1 4 1 this release contains an important tls fix for arm along with a few minor compatibility fixes 1 make aeabi read tp respect arm abi register requirements to avoid clobbering register contents during tls variable use 2 use cpu family instead of cpu in meson config which is more correct when building for a single cpu instead of multilib 3 make arm sample interrupt vector work with clang 4 use inline instead of inline in published headers to allow compiling with ansi 5 make naked risc v start function contain only asm statements as required by clang and recommended by gcc 6 use msave restore in sample risc v cross compile configuration this saves text space picolibc version 1 4 this release was focused on cleaning up the copyright and license information 1 copyright information should now be present in every source file 2 license information where it could be inferred from the repository was added to many files 3 4 clause bsd licenses were changed with permission to 3 clause 4 fix risc v ieeefp h exception bits 5 merge past newlib 3 2 0 6 add picolibc tls preprocessor define when the library has tls support picolibc version 1 3 this release now includes tests and fixes bugs found by them 1 esp8266 support added thanks to jonathan mcdowell 2 numerous test cases from newlib have been fixed and precision requirements adjusted so that the library now passes its own test suite on x86 risc v and arm 3 string number conversion bug fixes this includes fcvt ecvt gcvt shared with newlib and tinystdio printf scanf 4 a few risc v abi fixes including setting the tls base correctly compiling with mcmodel medany and enabling the fpu for libraries built to use it 5 semihosting updates including adding unlink kill and getpid which are used by some tests picolibc version 1 2 this release includes important fixes in picolibc ld and more semihosting support 1 file i o and clock support for semihosting this enables fopen fdopen support in tinystdio along with an api to fetch a real time clock value 2 fix picolibc ld to not attempt to use redefined symbols for memory space definitions these re definitions would fail and the default values be used for system memory definitions instead just use the operators each place the values are needed linker scripts continue to mystify 3 expose library definitions in picolibc h instead of newlib h and newlib version h 4 define have semihost when semihosting support is available this lets the hello world example do some semihost specific things picolibc version 1 1 a minor update from 1 0 this release includes 1 semihost support this adds console i o and exit 3 support on arm and risc v hosts using the standard semihosting interfaces 2 posix i o support in tinystdio when dposix io true is included in the meson command line which is the default tinystdio adds support for fopen and fdopen by using malloc open close read write and lseek if dposix console true is also passed to meson then picolibc will direct stdin stdout stderr to the posix standard file descriptors 0 1 2 3 merge recent upstream newlib code this brings picolibc up to date with current newlib sources 4 hello world example this uses a simple makefile to demonstrate how to us picolibc when installed for arm and risc v embedded processors the resulting executables can be run under qemu 5 remove newlib libm mathfp directory this experimental code never worked correctly anyways picolibc version 1 0 this is the first release of picolibc major changes from newlib include 1 remove all non bsd licensed code none of it was used in building the embedded library and removing it greatly simplifies the license situation 2 move thread local values to native tls mechanism 3 add smaller stdio from avr libc which is enabled by default 4 switch build system to meson this has two notable benefits the first is that building the library is much faster the second is that it isolates build system changes from newlib making merging of newlib changes much easier 5 add simple startup code this can be used in environments that don t have complicated requirements allowing small applications to avoid needing to figure this out | os |
|
awesome-large-audio-models | maintenance https img shields io badge maintained 3f yes green svg https github com naereen strapdown js graphs commit activity pr s welcome https img shields io badge prs welcome brightgreen svg style flat http makeapullrequest com awesome https cdn rawgit com sindresorhus awesome d7305f38d29fed78fa85652e3a63e154dd8e8829 media badge svg https github com sindresorhus awesome llms audioai jpg p align center this repo supplements our survey sparks of large audio models a survey and outlook https arxiv org abs 2308 12792 authors siddique latif https scholar google com citations user scq5adcaaaaj moazzam shoukat https scholar google com citations user uu550yyaaaaj hl en fahad shamshad https scholar google com pk citations user d7ql4wkaaaaj hl en muhammad usama https scholar google com citations user ungwvymaaaaj hl en yi ren https scholar google com citations user 4fa6c0aaaaaj hl zh cn heriberto cuayahuitl https scholar google com citations user zdlqndgaaaaj hl en xulong zhang https scholar google com citations hl en user 1xklpoaaaaaj roberto togneri https scholar google com au citations user upeluscaaaaj hl en wenwu wang https scholar google co uk citations user jqfnv5iaaaaj hl en bjorn schuller https scholar google com citations user txkncsoaaaaj hl en p p align justify abstract this survey paper provides a comprehensive overview of the recent advancements and challenges in applying large language models to the field of audio signal processing audio processing with its diverse signal representations and a wide range of sources from human voices to musical instruments and environmental sounds poses challenges distinct from those found in traditional natural language processing scenarios nevertheless large audio models epitomized by transformer based architectures have shown marked efficacy in this sphere by leveraging massive amounts of data these models have demonstrated prowess in a variety of audio tasks spanning from automatic speech recognition and text to speech to music generation among others notably recently these foundational audio models like seamlessm4t have started showing abilities to act as universal translators supporting multiple speech tasks for up to 100 languages without any reliance on separate task specific systems this paper presents an in depth analysis of state of the art methodologies regarding foundational large audio models their performance benchmarks and their applicability to real world scenarios we also highlight current limitations and provide insights into potential future research directions in the realm of large audio models with the intent to spark further discussion thereby fostering innovation in the next generation of audio processing systems p timeline audioai png hr p align center awesome large language models in audio ai p llms timeline jpg a curated list of awesome large ai models in audio signal processing inspired by the other awesome initiatives we intend to regularly update the relevant latest papers and their open source implementations on this page overview popular large audio models popular large audio models automatic speech recognition asr automatic speech recognition asr neural speech synthesis neural speech synthesis speech translation st speech translation st other speech applications other speech applications large audio models in music large audio models in music audio datasets audio datasets survey papers a review of deep learning techniques for speech processing 2023 br ambuj mehrish navonil majumder rishabh bharadwaj rada mihalcea soujanya poria br pdf https www sciencedirect com science article abs pii s1566253523001859 br a survey on deep reinforcement learning for audio based applications 2023 br latif siddique and cuay a huitl heriberto and pervez farrukh and shamshad fahad and ali hafiz shehbaz and cambria erik br pdf https link springer com article 10 1007 s10462 022 10224 2 br a survey of large language models 2023 br wayne xin zhao kun zhou junyi li tianyi tang xiaolei wang yupeng hou yingqian min beichen zhang junjie zhang zican dong yifan du chen yang yushuo chen zhipeng chen jinhao jiang ruiyang ren yifan li xinyu tang zikang liu peiyu liu jian yun nie ji rong wen br pdf https arxiv org abs 2303 18223 br survey on evaluation of large language models 2023 br yupeng chang xu wang jindong wang yuan wu linyi yang kaijie zhu hao chen xiaoyuan yi cunxiang wang yidong wang wei ye yue zhang yi chang philip s yu qiang yang xing xie br pdf https arxiv org abs 2307 03109 br challenges and applications of large language models 2023 br kaddour jean and harris joshua and mozes maximilian and bradley herbie and raileanu roberta and mchardy robert br pdf https arxiv org abs 2307 10169 br aligning large language models with human a survey 2023 br yufei wang wanjun zhong liangyou li fei mi xingshan zeng wenyong huang lifeng shang xin jiang qun liu br pdf https arxiv org abs 2307 12966 br a comprehensive survey on segment anything model for vision and beyond 2023 br zhang chunhui and liu li and cui yawen and huang guanjie and lin weilin and yang yiqian and hu yuehong br pdf https arxiv org abs 2305 08196 br vision language models for vision tasks a survey 2023 br zhang jingyi and huang jiaxing and jin sheng and lu shijian br pdf https arxiv org abs 2304 00685 br foundational models defining a new era in vision a survey and outlook 2023 br awais muhammad and naseer muzammal and khan salman and anwer rao muhammad and cholakkal hisham and shah mubarak and yang ming hsuan and khan fahad shahbaz br pdf https arxiv org abs 2307 13721 br performance of chatgpt on usmle potential for ai assisted medical education using large language models 2023 br tiffany h kung morgan cheatham arielle medenilla czarina sillos lorie de leon camille elepa o maria madriaga rimel aggabao giezel diaz candido james maningo victor tseng br pdf https journals plos org digitalhealth article id 10 1371 journal pdig 0000198 br engineering education in the era of chatgpt promise and pitfalls of generative ai for education 2023 br junaid qadir br pdf https ieeexplore ieee org abstract document 10125121 br chatgpt bullshit spewer or the end of traditional assessments in higher education 2023 br j rgen rudolph samson tan shannon tan br pdf https journals sfu ca jalt index php jalt article download 689 539 3059 br foundation models for generalist medical artificial intelligence 2023 br moor michael and banerjee oishi and abad zahra shakeri hossein and krumholz harlan m and leskovec jure and topol eric j and rajpurkar pranav br pdf https www nature com articles s41586 023 05881 4 br large ai models in health informatics applications challenges and the future 2023 br jianing qiu lin li jiankai sun jiachuan peng peilun shi ruiyang zhang yinzhao dong kyle lam frank p w lo bo xiao wu yuan dong xu benny lo br pdf https arxiv org abs 2303 11568 br the shaky foundations of large language models and foundation models for electronic health records 2023 br michael wornow yizhe xu rahul thapa birju patel ethan steinberg scott fleming michael a pfeffer jason fries nigam h shah br pdf https www nature com articles s41746 023 00879 8 br on the challenges and perspectives of foundation models for medical image analysis 2023 br shaoting zhang dimitris metaxas br pdf https arxiv org abs 2306 05705 br survey of protein sequence embedding models 2023 br chau tran siddharth khadkikar aleksey porollo br pdf https www mdpi com 1422 0067 24 4 3775 br a short survey of viewing large language models in legal aspect 2023 br zhongxiang sun br pdf https arxiv org abs 2303 09136 br large language models as tax attorneys a case study in legal capabilities emergence 2023 br john j nay david karamardian sarah b lawsky wenting tao meghana bhat raghav jain aaron travis lee jonathan h choi jungo kasai br pdf https arxiv org abs 2306 07075 br foundation models for decision making problems methods and opportunities 2023 br sherry yang ofir nachum yilun du jason wei pieter abbeel dale schuurmans br pdf https arxiv org abs 2303 04129 br transformers in speech processing a survey 2022 br siddique latif aun zaidi heriberto cuayahuitl fahad shamshad moazzam shoukat junaid qadir br pdf https arxiv org abs 2303 11607 br on the opportunities and risks of foundation models 2022 br rishi bommasani drew a hudson ehsan adeli russ altman simran arora sydney von arx et al br pdf https arxiv org abs 2108 07258 br vision language pre training basics recent advances and future trends 2022 br zhe gan linjie li chunyuan li lijuan wang zicheng liu jianfeng gao br pdf https www nowpublishers com article details cgv 105 br chatgpt for good on opportunities and challenges of large language models for education 2022 br enkelejda kasneci kathrin sessler stefan k chemann maria bannert daryna dementieva frank fischer urs gasser georg groh stephan g nnemann eyke h llermeier stephan krusche gitta kutyniok tilman michaeli claudia nerdel j rgen pfeffer oleksandra poquet michael sailer albrecht schmidt tina seidel matthias stadler jochen weller jochen kuhn gjergji kasneci br pdf https www sciencedirect com science article pii s1041608023000195 br protein language models and structure prediction connection and progression 2022 br bozhen hu jun xia jiangbin zheng cheng tan yufei huang yongjie xu stan z li br pdf https arxiv org abs 2211 16742 br a human being wrote this law review article gpt 3 and the practice of law 2022 br amy b cyphert br pdf https researchrepository wvu edu cgi viewcontent cgi article 1099 context law faculty br a comparative study on transformer vs rnn in speech applications 2019 br shigeki karita nanxin chen tomoki hayashi takaaki hori hirofumi inaguma ziyan jiang masao someki nelson enrique yalta soplin ryuichi yamamoto xiaofei wang shinji watanabe takenori yoshimura wangyou zhang br pdf https ieeexplore ieee org abstract document 9003750 br popular large audio models speechgpt empowering large language models with intrinsic cross modal conversational abilities 2023 br zhang dong shimin li xin zhang jun zhan pengyu wang yaqian zhou and xipeng qiu br pdf https arxiv org pdf 2305 11000 pdf br audiopalm a large language model that can speak and listen 2023 br rubenstein paul k chulayuth asawaroengchai duc dung nguyen ankur bapna zal n borsos f lix de chaumont quitry peter chen et al br pdf https arxiv org abs 2306 12925 br audiolm a language modeling approach to audio generation 2023 br zal n borsos rapha l marinier damien vincent eugene kharitonov olivier pietquin matt sharifi dominik roblek olivier teboul david grangier marco tagliasacchi neil zeghidour br pdf https ieeexplore ieee org abstract document 10158503 br listen think and understand 2023 br yuan gong hongyin luo alexander h liu leonid karlinsky james glass br pdf https arxiv org abs 2305 10790 br viola unified codec language models for speech recognition synthesis and translation 2023 br tianrui wang long zhou ziqiang zhang yu wu shujie liu yashesh gaur zhuo chen jinyu li furu wei br pdf https arxiv org abs 2305 16107 br audiogen textually guided audio generation 2022 br felix kreuk gabriel synnaeve adam polyak uriel singer alexandre d fossez jade copet devi parikh yaniv taigman yossi adi br pdf https arxiv org abs 2209 15352 br simple and controllable music generation 2023 br jade copet felix kreuk itai gat tal remez david kant gabriel synnaeve yossi adi alexandre d fossez br pdf https arxiv org abs 2306 05284 br musiclm generating music from text 2023 br andrea agostinelli timo i denk zal n borsos jesse engel mauro verzetti antoine caillon qingqing huang aren jansen adam roberts marco tagliasacchi matt sharifi neil zeghidour christian frank br pdf https arxiv org abs 2301 11325 br seamlessm4t massively multilingual multimodal machine translation 2023 br seamless communication loic barrault andy chung david dale ning dong ai paul ambroise duquenne hady elsahar et al br pdf https ai meta com research publications seamless m4t br br automatic speech recognition asr on decoder only architecture for speech to text and large language model integration 2023 br jian wu yashesh gaur zhuo chen long zhou yimeng zhu tianrui wang jinyu li shujie liu bo ren linquan liu yu wu br pdf https arxiv org abs 2307 03917 br adapting large language model with speech for fully formatted end to end speech recognition 2023 br shaoshi ling yuxuan hu shuangbei qian guoli ye yao qian yifan gong ed lin michael zeng br pdf https arxiv org abs 2307 08234 br semantic segmentation with bidirectional language models improves long form asr 2023 br w ronny huang hao zhang shankar kumar shuo yiin chang tara n sainath br pdf https arxiv org abs 2305 18419 br prompting large language models with speech recognition abilities 2023 br yassir fathullah chunyang wu egor lakomkin junteng jia yuan shangguan ke li jinxi guo wenhan xiong jay mahadeokar ozlem kalinli christian fuegen mike seltzer br pdf https arxiv org abs 2307 11795 br br neural speech synthesis investigating the utility of surprisal from large language models for speech synthesis prosody 2023 br sofoklis kakouros juraj imko martti vainio antti suni br pdf https arxiv org abs 2306 09814 br neural codec language models are zero shot text to speech synthesizers 2023 br chengyi wang sanyuan chen yu wu ziqiang zhang long zhou shujie liu zhuo chen yanqing liu huaming wang jinyu li lei he sheng zhao furu wei br pdf https arxiv org abs 2301 02111 br speak read and prompt high fidelity text to speech with minimal supervision 2023 br eugene kharitonov damien vincent zal n borsos rapha l marinier sertan girgin olivier pietquin matt sharifi marco tagliasacchi neil zeghidour br pdf https arxiv org abs 2302 03540 br speechlmscore evaluating speech generation using speech language model 2023 br soumi maiti yifan peng takaaki saeki shinji watanabe br pdf https ieeexplore ieee org abstract document 10095710 br lm vc zero shot voice conversion via speech generation based on language models 2023 br zhichao wang yuanzhe chen lei xie qiao tian yuping wang br pdf https arxiv org abs 2306 10521 br assessing phrase break of esl speech with pre trained language models and large language models 2023 br zhiyi wang shaoguang mao wenshan wu yan xia yan deng jonathan tien br pdf https arxiv org abs 2306 04980 br br speech translation st seamlessm4t massively multilingual multimodal machine translation 2023 br seamless communication loic barrault andy chung david dale ning dong ai paul ambroise duquenne hady elsahar hongyu gong kevin heffernan john hoffman christopher klaiber peng jen chen daniel licht jean maillard alice rakotoarison kaushik ram sadagopan guillaume wenzek abinesh ramakrishnan alexandre mourachko amanda kallet ann lee anna sun bapi akula benjamin peloquin bernie huang bokai yu brian ellis can balioglu carleigh wood changhan wang christophe ropers cynthia gao daniel li fair elahe kalbassi ethan ye gabriel mejia gonzalez hirofumi inaguma holger schwenk igor tufanov ilia kulikov janice lam jeff wang pm ai juan pino justin haaheim justine kao prangthip hasanti kevin tran maha elbayad marta r costa jussa mohamed ramadan naji el hachem onur elebi paco guzm n paden tomasello pengwei li pierre andrews ruslan mavlyutov russ howes safiyyah saleem skyler wang somya jain sravya popuri tuan tran vish vogeti xutai ma yilin yang br pdf https ai meta com research publications seamless m4t br polyvoice language models for speech to speech translation 2023 br qianqian dong zhiying huang qiao tian chen xu tom ko yunlong zhao siyuan feng tang li kexin wang xuxin cheng fengpeng yue ye bai xi chen lu lu zejun ma yuping wang mingxuan wang yuxuan wang br pdf https arxiv org abs 2306 02982 br audiopalm a large language model that can speak and listen 2023 br paul k rubenstein chulayuth asawaroengchai duc dung nguyen ankur bapna zal n borsos f lix de chaumont quitry peter chen dalia el badawy wei han eugene kharitonov hannah muckenhirn dirk padfield james qin danny rozenberg tara sainath johan schalkwyk matt sharifi michelle tadmor ramanovich marco tagliasacchi alexandru tudor mihajlo velimirovi damien vincent jiahui yu yongqiang wang vicky zayats neil zeghidour yu zhang zhishuai zhang lukas zilka christian frank br pdf https arxiv org abs 2306 12925 br br other speech applications speechx neural codec language model as a versatile speech transformer 2023 br xiaofei wang manthan thakker zhuo chen naoyuki kanda sefik emre eskimez sanyuan chen min tang shujie liu jinyu li takuya yoshioka br pdf https arxiv org abs 2308 06873 br audiogpt understanding and generating speech music sound and talking head 2023 br rongjie huang mingze li dongchao yang jiatong shi xuankai chang zhenhui ye yuning wu zhiqing hong jiawei huang jinglin liu yi ren zhou zhao shinji watanabe br pdf https arxiv org abs 2304 12995 br can large language models aid in annotating speech emotional data uncovering new frontiers 2023 br siddique latif muhammad usama mohammad ibrahim malik bj rn w schuller br pdf https arxiv org abs 2307 06090 br llasm large language and speech model 2023 br yu shu siwei dong guangyao chen wenhao huang ruihua zhang daochen shi qiqi xiang yemin shi br pdf https arxiv org abs 2308 15930 br br large audio models in music musicgen simple and controllable music generation 2023 br jade copet felix kreuk itai gat tal remez david kant gabriel synnaeve yossi adi alexandre d fossez br pdf https arxiv org abs 2306 05284 br jen 1 text guided universal music generation with omnidirectional diffusion models 2023 br peike li boyu chen yao yao yikai wang allen wang alex wang br pdf https arxiv org abs 2308 04729 br vampnet music generation via masked acoustic token modeling 2023 br hugo flores garcia prem seetharaman rithesh kumar bryan pardo br pdf https arxiv org abs 2307 04686 br text to audio generation using instruction tuned llm and latent diffusion model 2023 br deepanway ghosal navonil majumder ambuj mehrish soujanya poria br pdf https arxiv org abs 2304 13731 br wavjourney compositional audio creation with large language models 2023 br xubo liu zhongkai zhu haohe liu yi yuan meng cui qiushi huang jinhua liang yin cao qiuqiang kong mark d plumbley wenwu wang br pdf https arxiv org abs 2307 14335 br musicldm enhancing novelty in text to music generation using beat synchronous mixup strategies 2023 br ke chen yusong wu haohe liu marianna nezhurina taylor berg kirkpatrick shlomo dubnov br pdf https arxiv org abs 2308 01546 br exploring the efficacy of pre trained checkpoints in text to music generation task 2022 br shangda wu maosong sun br pdf https arxiv org abs 2211 11216 br singsong generating musical accompaniments from singing 2023 br chris donahue antoine caillon adam roberts ethan manilow philippe esling andrea agostinelli mauro verzetti ian simon olivier pietquin neil zeghidour jesse engel br pdf https arxiv org abs 2301 12662 br loaf m2l joint learning of wording and formatting for singable melody to lyric generation 2023 br longshen ou xichu ma ye wang br pdf https arxiv org abs 2307 02146 br efficient neural music generation 2023 br max w y lam qiao tian tang li zongyu yin siyuan feng ming tu yuliang ji rui xia mingbo ma xuchen song jitong chen yuping wang yuxuan wang br pdf https arxiv org abs 2305 15719 br musecoco generating symbolic music from text 2023 br peiling lu xin xu chenfei kang botao yu chengyi xing xu tan jiang bian br pdf https arxiv org abs 2306 00110 br launchpadgpt language model as music visualization designer on launchpad 2023 br siting xu yunlong tang feng zheng br pdf https arxiv org abs 2307 04827 br br music understanding llama advancing text to music generation with question answering and captioning 2023 br shansong liu atin sakkeer hussain chenshuo sun ying shan br pdf https arxiv org abs 2308 11276 github https github com crypto code mu llama br br audio datasets title full name size link commonvoice 11 commonvoice a massively multilingual speech corpus 58250 voices of 2508 hours download https voice mozilla org en datasets libri light libri light a benchmark for asr with limited or no supervision 60000 hours download https ai facebook com tools libri light wenetspeech wenetspeech a 10000 hours multi domain mandarin corpus for speech recognition 10000 hours download https github com wenet e2e wenetspeech gigaspeech gigaspeech an evolving multi domain asr corpus with 10 000 hours of transcribed audio 50000 hours download https github com speechcolab gigaspeech must c must c a multilingual speech translation corpus 3600 hours download https aclanthology org n19 1202 pdf voxpopuli voxpopuli a large scale multilingual speech corpus for representation learning semi supervised learning and interpretation 400k hours download https github com facebookresearch voxpopuli covost covost a large scale multilingual speech to text translation corpus 2280 hours download https github com facebookresearch covost cvss cvss a massively multilingual speech to speech translation corpus 3909 hours download https github com google research datasets cvss emime the emime bilingual database download https www emime org participate emime bilingual database html audiocaps audiocaps generating captions for audios in the wild 46000 audios download https github com cdjkim audiocaps clotho clotho an audio captioning dataset 4981 audios 24905 captions download https zenodo org record 3490684 audio set audio set an ontology and human labeled dataset for audio events 5 8k hours download g co audioset emopia emopia a multi modal pop piano dataset for emotion recognition and emotion based music generation 387 piano solo sounds download https zenodo org record 5090631 metamidi building the metamidi dataset linking symbolic and audio musical data 436631 midi files download dali2 creating dali a large dataset of synchronized audio lyrics and notes 7756 songs download https github com gabolsgabs dali millionmidi million midi dataset mmd 100k songs download vggsound vggsound a large scale audio visual dataset 200k videos download https www robots ox ac uk vgg data vggsound fsd50k fsd50k an open dataset of human labeled sound events 51197 sound clips download https zenodo org record 4060432 symphony symphony generation with permutation invariant language model 46359 midi files download https symphonynet github io musiccaps musiclm generating music from text 5521 music text pairs download https www kaggle com datasets googleai musiccaps jamendo the mtg jamendo dataset for automatic music tagging 55525 tracks download https github com mtg mtg jamendo dataset citation if you find the listing and survey useful for your work please cite the paper article latif2023sparks title sparks of large audio models a survey and outlook author latif siddique and shoukat moazzam and shamshad fahad and usama muhammad and cuay a huitl heriberto and schuller bj o rn w journal arxiv preprint arxiv 2308 12792 year 2023 | audio-ai audio-processing foundational-models large-language-models music-processing speech-to-text large-audio-models large-language-model-speech speech-llms music-information-retrieval automatic-speech-recognition music-ai speech-ai | ai |
cvkit | computer vision toolkit cvkit cvkit is available for linux as well as for windows it offers useful tools for viewing and analyzing images and 3d models sv is a simple scientific image viewer that can display monochrome and color images with 8 and 16 bit integer as well as 32 bit float values as data types per color channel functions include showing monochrome images with color encoding defining radiometric ranges zooming and automatically reloading images linux only for image comparison settings like zoom radiometric range etc can be kept while switching between images depth images full or parts with associated camera parameter files can be visualized on the fly in 3d sv natively supports the pgm ppm and pfm image formats as well as tiff with 8 and 16 bit integer and 32 bit float values tiff jpg png gif and many other raster data formats are supported through optional libraries like gdal plyv is a simple but pretty fast viewer for colored point clouds and meshes with per vertex coloring shading and texture images it also supports on the fly conversion and visualization of depth images and cameras plyv is based on opengl and can cope with big data sets that consist of many million vertices and triangles mainly the ply format is supported which has been invented at stanford university as an extendable format for storing vertices and polygons together with additional information it is especially useful for scanned real world data a live 3d viewer for examining the point clouds of roboception 3d stereo sensors is part of the sgm producer package that can be downloaded free of charge from the roboception download page https roboception com en support download see install md install md and usage md usage md for more information acknowledgments the initial version of cvkit has been developed while i was working for the institute of robotics and mechatronics of the german aerospace center dlr it has been published under the bsd license for supporting version 3 of the middlebury stereo evaluation i am now with the roboception gmbh which is a dlr spin off company i would like to thank daniel scharstein for testing the tools giving me feedback and motivating me to make the tools publicly available thanks to daniel scharstein also for the code for the jet and rainbow color coding as well as testing it on mac this software includes software developed by the university of chicago as operator of argonne national laboratory contact dr heiko hirschmueller roboception gmbh kaflerstrasse 2 81241 muenchen germany email heiko hirschmueller roboception de | ai |
|
course_bus303 | course bus303 bus303 strategic information technology | server |
|
generative-api | generative apis with large language models join us on discord https discord com invite y934qshe model readme backend model readme md backend readme backend readme md check out our blog on generative apis with large language models https medium com ch3njust1n generative apis with large language models 987108f52d1f for more details on how we integrated llm to create this lui initial llm powered lui with text demo https user images githubusercontent com 3211697 228732388 f92f3da0 3e1a 4d8b ac9d c8ac9fd2e514 mp4 speech to text llm powered lui demo https user images githubusercontent com 3211697 229305091 a363b114 dd13 4d8b 8713 b09c000b3997 mp4 api initially generated with the help of gpt 3 5 and further refined by gpt 4 llm to mobile control api command syntax component subcomponent action parameters component subcomponent action parameters example bluetooth bt audio connect device id bluetooth bt audio connect device id bluetooth bt device pair device id bluetooth bt device pair device id bluetooth bt device unpair device id bluetooth bt device unpair device id bluetooth bt device list bluetooth bt device list camera cam fr photo photo params camera cam fr photo photo params camera cam rr photo photo params camera cam rr photo photo params camera cam fr video duration s video params camera cam fr video duration s video params camera cam rr video duration s video params camera cam rr video duration s video params call dial phone number call dial phone number call end call end call mute call mute call unmute call unmute call hold call hold call unhold call unhold contact add name phone number contact add name phone number contact delete contact id contact delete contact id contact edit contact id new info contact edit contact id new info contact list contact list contact search query contact search query file read file path file read file path file write file path contents file write file path contents file delete file path file delete file path file move src path dst path file move src path dst path info device get info device get info battery get info battery get info connectivity get info connectivity get info bluetooth get info bluetooth get info active apps get info active apps get info contacts get info contacts get info permissions get app id info permissions get app id info files get file type info files get file type info notifications get info notifications get location get location get location start tracking location start tracking location stop tracking location stop tracking media play file path media play file path media pause media pause media stop media stop media next media next media example prompt to openai api note that the object should be stringified before being sent json command take a selfie and send it to x and upload it to instagram and twitter state device model phone model os version os version hardware specs hardware specifications battery level battery level charging status charging status connectivity wifi status wi fi status cellular status cellular status signal strength signal strength network type network type bluetooth status bluetooth status paired devices list of paired devices active apps list of currently running apps contacts list of contacts permissions list of app permissions files list of file paths and metadata notifications list of recent notifications example json response to mobile interface json actions component camera subcomponent cam fr action photo parameters photo params component text action send parameters phone number photo component app app id com instagram android action upload photo parameters photo component app app id com twitter android action upload photo parameters photo | android deep-learning generative-api gpt-4 large-language-models machine-learning language-user-interface | ai |
blockchain-and-cryptocurrency | table of contents module 1 introduction to blockchains module 1 md module 2 understanding tokens module 2 md module 3 implementing payment channels module 3 md module 4 more payment channels off chain transactions module 4 md about in this course students will learn about the fundamentals of blockchain technology as well as the cryptocurrencies built on top of it module 1 serves as an intro to the concept of blockchains cryptocurrencies limitations of these services and payment channels module 2 explains tokens and gives students the opportunity to experiment with an erc 20 style token built on motoko in module 3 students begin their own implementation of a payment channel in motoko and in module 4 they finish this implementation each module builds upon concepts learned and activities completed in the prior modules content the provided content was developed in collaboration with the following students nick zoghb https www linkedin com in nickzoghb a graduate of university of california berkeley 2018 with a focus on computer science and bioengineering connor solimano https www linkedin com in connor solimano a student at harvard college 2022 pursuing a degree in computer science and economics | payment-channel blockchain motoko internet-computer | blockchain |
openremote | openremote v3 ci cd https github com openremote openremote workflows ci cd badge svg open source yes https badgen net badge open 20source 20 3f yes 21 blue icon github https github com naereen badges tests https github com openremote openremote workflows tests badge svg source https github com openremote openremote documentation https github com openremote openremote wiki forum https forum openremote io issues https github com openremote openremote issues docker images https hub docker com u openremote openremote inc https openremote io welcome to openremote an intuitive user friendly 100 open source iot platform you can build a complete iot device management solution including device management and auto provisioning customisation of asset types automation via when then flow javascript and groovy rules data analytics connectivity via several protocol agents and manager apis e g mqtt broker http rest ws multi tenancy realms users and roles management edge gateway front end ui web components and consoles and an insights dashboard builder as the code base is 100 open source applications are limitless here s an architecture overview img src https openremote io wp content uploads 2023 09 openremote architecture scaled jpg width 900 quickstart you can quickly try the online demo with restricted access login credentials are smartcity smartcity online demo https demo openremote app manager realm smartcity the quickest way to get your own environment with full access is to make use of our docker images both amd64 and arm64 are supported 1 make sure you have docker desktop https www docker com products docker desktop installed v18 2 download the docker compose file openremote stack https raw githubusercontent com openremote openremote master docker compose yml right click save link as 3 in a terminal cd to where you just saved the compose file and then run docker compose pull docker compose p openremote up if all goes well then you should now be able to access the openremote manager ui at https localhost https localhost you will need to accept the self signed certificate see here https www technipages com google chrome bypass your connection is not private message for details how to do this in chrome similar for other browsers login credentials username admin password secret changing host and or port the url you use to access the system is important the default is configured as https localhost if you are using a vm or want to run on a different port then you will need to set the or hostname and or ssl port environment variables so if for example you will be accessing using https 192 168 1 1 8443 then use the following startup command bash or hostname 192 168 1 1 or ssl port 8443 docker compose p openremote up d or cmd cmd c set or hostname 192 168 1 1 set or ssl port 8443 docker compose p openremote up d what next try creating assets agents rules users realms etc using the manager ui please refer to the wiki https github com openremote openremote wiki for more information some things to try manager ui guide https github com openremote openremote wiki user guide manager ui learn more about the user interface creating an http agent tutorial https github com openremote openremote wiki tutorial 3a open weather api using http agent connect to an online weather service custom deployment https github com openremote openremote wiki user guide 3a custom deployment style the manager to your brand setting up an ide https github com openremote openremote wiki developer guide 3a setting up an ide set up your development environment working on the ui https github com openremote openremote wiki developer guide 3a ui apps and components create a web application compatible with openremote creating a custom project https github com openremote openremote wiki developer guide 3a creating a custom project create a project with custom protocols asset types and setup code where s the data stored persistent data is stored in a postgresql db which is stored in the openremote postgresql data docker volume which is durably stored independently of the running containers see all with docker volume ls if you want to create a backup of your installation just make a copy of this volume contributing to openremote for information and how to set up a development environment see the developer guide https github com openremote openremote wiki we work with java groovy typescript gradle docker and a wide range of apis and protocol implementations we follow the github flow https docs github com en get started quickstart github flow workflow with tags and releases for published versions of our components when working on the codebase create descriptive branch names e g feature cool feature x hotfix flux capacitor issue 123 etc when your changes are complete then create a pull request ensuring that your branch is up to date with the source branch and that code changes are covered by tests and that the full test suite passes discuss openremote join us on the community forum https forum openremote io | iot-projects iot-platform openremote iot energy building mqtt websocket smartcity dashboard platform asset-management mqtt-broker dataplatform rules-engine knx fleet-management energy-monitor bluetooth-mesh | server |
dev-mobile-android | dev mobile android mobile development | front_end |
|
Front-End-Alpha-To-Omega | h1 align center br img src source images fe title png alt front end alpha to omega width 400 br br front end alpha to omega br h1 h4 align center front end alpha to omega 14 h4 p align center a href http makeapullrequest com img src https img shields io badge prs welcome brightgreen svg style flat square alt prs welcome a a href https gitpod io https github com thedaviddias front end checklist img src https img shields io badge gitpod ready to code blue logo gitpod alt gitpod ready to code a a href https creativecommons org publicdomain zero 1 0 img src https img shields io badge license cc0 green svg style flat square alt cc0 a p star table of contents 1 start here here 2 html html 3 css css 4 javascript javascript 5 security security 6 performance performance 1 7 seo seo 8 tools tools 9 tools 10 tools 11 tools 12 interview https developer mozilla org zh cn docs learn how the internet works https www youtube com watch v 7 lpdttkxpc front end back end http https developer mozilla org zh cn docs web http overview url https segmentfault com a 1190000006879700 html dom element attribute css selector priority specificity box model css architecture bem oocs smacss css preprocessore sass postcss less javascript framework react https zh hans reactjs org redux https cn redux js org mobx https mobx js org readme html vue https cn vuejs org index html vuex https vuex vuejs org zh angularjs https angularjs org rxjs ngr security https https http hsts http strict transport security csrf csrf xss xss content type options google chrome internet explorer x frame options xfo content security policy performance jpg png svg base64 webp cookie localstorage sessionstorage indexeddb cdn dom evvent loop seo google analytics headings logic sitemap xml robots txt structured data sitemap html pagination link tags tools package managers npm yarn version control git ide visual studio code atom sublime text webstorm vim emacs brackets firebug firebug lite web inspector yslow smushit iedevelopertoolbar ietester superpreview jsbeautifier fiddler wireshark tcpdump code quality jscs eslint stylelint htmlhint webpack gulp grunt code climate jasmine mocha protractor karma jest ui taro wepy mpvue | front_end |
|
DevOps-cloud-engineer | devops cloud engineer for all devops cloud engineering projects | cloud |
|
geist-ui | p align center height 370 img align center height 370 src https user images githubusercontent com 11304944 91128466 dfc96c00 e6da 11ea 8b03 a96e6b98667d png p p align center img alt codecov src https img shields io codecov c github geist org geist ui style for the badge labelcolor 000000 img alt circleci src https img shields io circleci build github geist org geist ui style for the badge labelcolor 000000 img alt npm scoped src https img shields io npm v geist ui core style for the badge labelcolor 000000 p modern and minimalist react ui library originating from vercel s design note this is a community project not associated with vercel https github com geist org geist ui issues 635 br quick start 1 run yarn add geist ui core or npm i geist ui core install it 2 import into project jsx import geistprovider cssbaseline from geist ui core const application geistprovider cssbaseline normalize styles appcomponent your app component geistprovider documentation document site https geist ui dev https geist ui dev zh cn development contributing guide https github com geist org geist ui blob master github contributing md showcases secret https secret gl article view count https views docs unix bio tree viewer for cdn https cdn unix bio better social image https img unix bio sentineo near earth objects viewer https sentineo app dashboard design https github com ofekashery react dashboard design regex vis regex visualizer editor https github com bowen7 regex vis add here https github com geist org geist ui issues new license mit license | react-components react geist design-system geist-ui design-systems hacktoberfest | os |
PostgreSQL-Sparkify-Database-Creation | date created this project was created on 1 21 2022 project title postgres database schema and etl pipeline creation for sparkify description i used python to create a database schema and etl pipeline for a fictional startup company called sparkify i defined fact and dimension tables for a star schema and wrote an etl pipeline that transfers data from files in two local directories into these tables in postgres using python and sql instructions run the python files in the terminal in the following order 1 sql queries py 2 create tables py 3 etl py file descriptions sql queries py contains all of the queries to drop tables create tables and insert rows into those tables it also contains a song select query used to find the song id and artist id for songs to match to the rows in the dataframe and subsequently insert the relevant data in the songplays table lastly it creates a list containing all of the create table queries as well as a list of all the drop table queries create tables py defines the following functions create database which creates and connects to the sparkifydb and also returns the connection and cursor to sparkifydb drop tables cur conn which drops each table using the queries in the drop table queries list create tables cur conn which creates each table using the queries in the create table queries list and main which drops if necessary and creates the sparkify database establishes connection with the sparkify database and gets cursor to it drops all the tables creates all tables needed and closes the connection if name main it will run main which utilizes all of the previously defined functions etl py defines the following functions process song file cur datafile which opens the song file inserts the song record and inserts the artist record process log file cur datafile which opens and filters the log file inserts time data records inserts user records and inserts songplay records process data cur conn filepath func which gets all files matching extension from directory get total number of files found and iterates over files and process and main which creates the connection and cursor processes all the data files and closes the connection if name main it will run main sparkifydb erd png entity relationship diagram for the newly created sparkify database song data a subset of real data from the million song dataset http millionsongdataset com each file is in json format and contains metadata about a song and the artist of that song the files are partitioned by the first three letters of each song s track id log data dataset that consists of log files in json format generated by an event simulator https github com interana eventsim based on the songs in the song data dataset these simulate activity logs from a music streaming app based on specific configurations the log files in this dataset are partitioned by year and month credits this project was created for the udacity data engineering nanodegree i referenced content presented in this course for this project additionally i referenced the postgresql documentation data from the million song dataset was used in addition to data generated by an event simulator developed by interana inc | server |
|
polyworld | welcome to the modern version of polyworld an artificial life system designed as an approach to artificial intelligence documentation is hosted on our wiki https github com polyworld polyworld wiki for installation instructions please refer to the wiki page for your os linux installation https github com polyworld polyworld wiki installing on linux mac installation https github com polyworld polyworld wiki installing on mac note that the github repository at https github com polyworld polyworld is the official home of the polyworld project which was formerly hosted at http sourceforge net projects polyworld http sourceforge net projects polyworld | os |
|
dsk | design system kit abstract using the design system kit you quickly define and organize design aspects into a browsable and live searchable design system hierarchies between design aspects are established using plain simple directories creating documentation is as easy as adding a markdown https guides github com features mastering markdown formatted file to a directory inside the design definitions tree visit the official website https rundsk com to get started with our step by step guide https rundsk com tree getting started step by step dsk promotional image https rundsk com api v2 tree dsk promo list jpg sponsors fielmann https fielmann com is a german eye wear company and market leader in germany as our first sponsor fielmann has been extremely supportive in building significant features i e versioning as well as taking an important role in the bootstrapping phase of dsk deutsche presse agentur https dpa com is the german news agency founded in 1949 the agency is primarly sponsoring content creation features like individual documentation components as well as infrastructure related ones dsk is used at dpa to drive one of its a href https developerdocs dpa id de public documentation platforms a atelier disko https atelierdisko de is a german design and software studio developing future oriented solutions for humans and businesses alike atelier disko provides services around creating and maintaining top of the industry design systems atelier disko funded the intial development of dsk quickstart 1 visit the github releases page https github com rundsk dsk releases and download one of the quickstart packages for your operating system for macos use dsk darwin amd64 zip for linux use dsk linux amd64 tar gz 2 the package is an archive that contains the dsk executable and an example design system double click on the downloaded file to unarchive both 3 you start dsk by double clicking on the executable on first use please follow these instructions https support apple com kb ph25088 for macos to skip the developer warning 4 you should now see dsk starting in a small terminal window open the web application in your browser http localhost 8080 to browse through the design system too quick follow the alternative step by step guide https rundsk com tree getting started step by step to get started the design definitions tree one of the fundamental ideas in dsk was to use the filesystem as the interface for content creation this enables direct manipulation of the content and frees us from tedious administration interfaces screenshot of finder showing a design aspect folder https rundsk com api v2 tree the design definitions tree aspects folder jpg the design definitions tree ddt for short is a tree of directories and subdirectories each of these directories stands for a design aspect in the hierarchy of your design system these might be actual components when you are documenting the user interface or chapters of your company s guide into its design culture each directory may hold several files to document these design aspects a configuration file to add meta data or supporting assets that can be downloaded through the frontend example authors txt authors database see authors below dataentry button button design aspect textfield textfield design aspect password nested password design aspect readme md api md document exploration sketch asset meta yml meta data file explain md document unmask svg asset read more about the design definitions tree https rundsk com tree the design definitions tree and how to add meta data assets and authors help combining great new ideas with experience will help us create the best possible features for dsk likewise talking through a bug with a team member will help us ensure the best possible fix we re striving to maintain a lean clean core and want to avoid introducing patches for symptoms of an underlying flaw found a bug open an issue in our tracker https github com rundsk dsk issues new and label it as a bug have an idea for a new killer feature open an issue in our tracker https github com rundsk dsk issues new and use the enhancement label just want to say thank you or need help getting started send us a mail mailto thankyou rundsk com | design-system direct-manipulation versioned-api selfhosted | os |
Vision | vision cross framework cross platform computer vision library for haxe structure https github com shaharms vision blob main readme md structure tutorials https github com shaharms vision blob main readme md tutorials versioning https github com shaharms vision blob main readme md versioning about https github com shaharms vision blob main readme md about roadmap https github com shaharms vision blob main roadmap md changelog https github com shaharms vision blob main changelog md define list https github com shaharms vision blob main readme md define list structure this library is organized into 5 subfolders and one important file ds https github com shaharms vision tree main src vision ds contains vision s data structures types some functions and features require different return types which aren t basic such as lines rays or points those can be found inside this folder tools https github com shaharms vision tree main src vision tools contains classes that extend the functionality of certain aspects of the library for example mathtools is a superset of the math class from the standard library and also adds many features related to finding data related to lines rays and points algorithms https github com shaharms vision tree main src vision algorithms contains every complex algorithm this library uses they re all contained in one folder to help you learn from them if you feel like some algorithms are lacking have unclear documentation please open an issue about it exceptions https github com shaharms vision tree main src vision exceptions contains the errors usually thrown by vision notice those errors are present just to let you know if you did something unexpected if you want to get rid of them define vision quiet helpers https github com shaharms vision tree main src vision helpers contains some helper classes that may be used by vision theres nothing preventing you from using them yourself though vision hx https github com shaharms vision tree main src vision vision hx contains all image manipulation computer vision methods after 1 0 0 this class should always remain backwards compatible it is always recommended to use the methods from this class instead for using the ones in the wanted algorithm s class since the ones in vision are much less likely to break compatibility are usually simpler to use and have much better documentation tutorials for more tutorials or further details about the tutorials here check out the links below vision tutorials on the haxe learning center https spacebubble io haxe name vision creating an image create a blank image for drawing haxe var image new image 200 300 color white creates a new 200x300 image with a white background drawing haxe image setpixel 10 35 0xff3204 image drawline 1 1 34 67 color lime create an image from a url haxe var image image imagetools loadfromfile https upload wikimedia org wikipedia commons thumb f f0 valve original 281 29 png 300px valve original 281 29 png data image data add that image to the screen available on platforms libraries that support drawing on screen haxe using vision tools imagetools image addtoscreen 0 0 alternatively you can do imagetools addtoscreen image 0 0 basic image manipulation haxe vision grayscale image vision sharpen image vision convolve image boxblur or haxe using vision vision image grayscale image sharpen image convolve boxblur implicit conversions from to framework specific graphical types haxe import openfl display bitmapdata import vision ds image var future bitmapdata loadfromfile https upload wikimedia org wikipedia commons thumb f f0 valve original 281 29 png 300px valve original 281 29 png future oncomplete bitmapdata var image image bitmapdata converts the given openfl display bitmapdata to vision ds image the conversions are lossless so you never lose data addchild new bitmap image converts back to a bitmapdata using mathtools haxe import vision tools mathtools using vision tools mathtools var ray new ray2d x 0 y 0 1 f x x trace ray distancefromraytopoint2d 1 0 function from mathtools sqrt 2 2 trace mathtools median 12 123 321 4 333 12 123 145 321 4 12 123 264 321 4 12 123 234 321 4 flatten 123 you can even chain calls trace 1 2 3 4 5 6 7 flatten flatten flatten flatten median 4 versioning vision s versioning will try to follow semver s specifications as accuratly as possible here is a list of what can change across version types this type of modification is allowed this type of modification is disallowed this type of modification may occur from time to time table tr th version type th th changes allowed th tr tr td patch x x y td td table tr td code changes td td td tr tr td documentation td td td tr tr td deprecation notices td td td tr tr td implementation overhauls td td td tr tr td api additions td td td tr tr td api changes td td td tr tr td major api changes td td td tr table td tr tr td minor x y x td td table tr td code changes td td td tr tr td documentation td td td tr tr td deprecation notices td td td tr tr td implementation overhauls td td td tr tr td api additions td td td tr tr td api changes td td td tr tr td major api changes td td td tr table td tr tr td major y x x td td table tr td code changes td td td tr tr td documentation td td td tr tr td deprecation notices td td td tr tr td implementation overhauls td td td tr tr td api additions td td td tr tr td api changes td td td tr tr td major api changes td td td tr table td tr table about vision is a cross framework cross platform computer vision image manipulation library for haxe https haxe org this library exists to provide cv im capabilities to haxe projects naturally what does that mean basically if you re using haxeflixel for example you should be able to easily use an flxsprite as an image to process or if you re using openfl you should be able to use bitmaps and sprites to process why does this library exist one of the problems i have with haxe is the lack of non game utilities and libraries my goal is to provide those utilities and make app development in haxe easier contributions are welcomed i m not the best at everything i do especially in fields like computer vision with which im not the most familiar that means there are bound to be mistakes bugs because of that every issue pull request or code review is welcomed help me make this library bigger and better for everyone about documentation one of the things i can t stand with libraries similar to this one is the lack of docs and unclear obfuscated code if you see some code that you think is not understandable or some place that lacks documentation or even inaccurate unclear documentation please open an issue about it and i d try to resolve it asap define list define meaning versions vision disable point alloc optimization enabling this makes every intpoint2d allocate two integers as a class instance instead of working as an abstract over a 64 bit integer the allocation optimization is enabled by default to reduce allocations but you can flip this flag if your e capped to 32bit integers 1 0 0 now vision better grayscale when enabled grayscaling is done a bit differently to get an image that more closely resembles the original image if you re noticing problems with grayscaling turn this off 1 0 0 1 1 1 vision quiet when enabled no errors are thrown from this library s components and an effort is made to return the expected value for example gaussian kernal s size would be incremented if even and a getpixel call outside the bounds of the image should return the closest pixel to that point 1 0 0 now vision allow resize when enabled you can resize an image by directly setting its width height property bilinear interpolation is used by default if you wish to change this change defaultresizealgorithm in imagetools 1 0 0 now vision multithread attempts to use multithreaded versions of some algorithms might boost performance available on both web sys 1 0 0 now vision higher width cap allows using images wider than 65535 pixels but makes the image byte offset bigger 11 to 21 bytes for more information about the byte offset click here https github com shaharms vision blob ed042871963e7456161c00017e4c2bf79a1f26cc src vision ds image hx l37 also allows image views to be wider taller than 65535 pixels 1 2 0 now | ai |
|
ws22 | cloud computing in this repository the content for the course cloud computing is maintained in this course we will cover the journey from code to a scalable application running in the cloud therefore we will learn how to build applications using continuous integration pipelines after building a state of the art cloud technology to operate applications namely kubernetes is explained then ways to deploy applications into a kubernetes environment are explored finally we will learn how to operate an application in a production environment table of contents this part of the course consists of five topic areas building a microservice 1 20building 20a 20microservice continuous integration 2 20continuous 20integration kubernetes 3 20kubernetes continuous deployment 4 20continuous 20deployment operations maintainers johannes br uer octocat johannes b andreas grimmer octocat agrimmer | cloud |
|
cv | cv of wenli zhang web front end engineer https raw githubusercontent com ovilia cv gh pages img cv png designed and implemented by wenli zhang online version third party library pagepiling js https github com alvarotrigo pagepiling js tools scss bower gulp pdf version source indesign source file https raw githubusercontent com ovilia cv gh pages res cv indd tools indesign about permission the project is open sourced under mit license you can use either online or pdf version without an explicit statement or link to this project but since my cv got quite popular recently it s recommended that you do so for your own convenience license the mit license mit copyright c 2015 ovilia permission is hereby granted free of charge to any person obtaining a copy of this software and associated documentation files the software to deal in the software without restriction including without limitation the rights to use copy modify merge publish distribute sublicense and or sell copies of the software and to permit persons to whom the software is furnished to do so subject to the following conditions the above copyright notice and this permission notice shall be included in all copies or substantial portions of the software the software is provided as is without warranty of any kind express or implied including but not limited to the warranties of merchantability fitness for a particular purpose and noninfringement in no event shall the authors or copyright holders be liable for any claim damages or other liability whether in an action of contract tort or otherwise arising from out of or in connection with the software or the use or other dealings in the software | front_end |
|
awesome-ml | machine learning awesome list maintainer sdukshis https github com sdukshis table of contents code code courses courses videos videos conferences conferences papers papers thesis thesis books books journals journals datasets datasets blogposts blogposts competitions competitions code neural networks theano http www deeplearning net software theano python tensorflow https www tensorflow org python c lasagne http lasagne readthedocs io en latest python keras http keras io python mxnet https github com dmlc mxnet python c r scala julia go matlab js caffe http caffe berkeleyvision org python c cudnn https developer nvidia com cudnn c requests for research https github com openai requests for research scikit learn http scikit learn org python rodeo https www yhat com python bigartm http bigartm org python courses machine learning http www machinelearning ru wiki index php title d0 9c d0 b0 d1 88 d0 b8 d0 bd d0 bd d0 be d0 b5 d0 be d0 b1 d1 83 d1 87 d0 b5 d0 bd d0 b8 d0 b5 28 d0 ba d1 83 d1 80 d1 81 d0 bb d0 b5 d0 ba d1 86 d0 b8 d0 b9 2c d0 9a d0 92 d0 92 d0 be d1 80 d0 be d0 bd d1 86 d0 be d0 b2 29 https www coursera org learn vvedenie mashinnoe obuchenie machine learning andrew ng https www coursera org learn machine learning advanced statistical computing https github com fonnesbeck bios8366 neural networks cs231n convolutional neural networks for visual recognition by andrej karpathy http cs231n github io http www machinelearning ru wiki index php title 28 29 videos recurrent neural networks recurrent neural networks by y bengio http videolectures net deeplearning2016 bengio neural networks conferences neural information processing systems nips site http nips cc international conference on learning representations iclr site http www iclr cc international conference on machine learning icml site http www icml cc papers neural networks feed forward networks approximation by superpositions of a sigmoidal function g cybenko paper http deeplearning cs cmu edu pdfs cybenko pdf deep learning learning multiple layers of representation geoffrey hinton 2007 paper http www cs toronto edu fritz absps tics pdf learning deep architectures for at yoshua bengio paper http people cs pitt edu huynv research deep nets learning 20deep 20architectures 20for 20ai pdf dropout a simple way to prevent neural networks from overfitting n srivastava g hinton a krizhevsky i sutskever r salakhutdinov paper https www cs toronto edu hinton absps jmlrdropout pdf reducing the dimensionality of data with neural networks g e hinton and r r salakhutdinov paper http www cs toronto edu hinton science pdf a theoretical framework for deep transfer learning t galanti l wolf and t hazan paper http imaiai oxfordjournals org content early 2016 04 28 imaiai iaw008 full pdf comparative study of deep learning software frameworks soheil bahrampour naveen ramakrishnan lukas schott moh ak shah paper http arxiv org abs 1511 06435 batch normalization accelerating deep network training by reducing internal covariate shift sergey ioffe christian szegedy paper sergey ioffe christian szegedy recurrent networks long short term memory s hochreiter j schmidhuber 1997 paper http deeplearning cs cmu edu pdfs hochreiter97 lstm pdf long short term memory networks for anomaly detection in time series p malhotra l vig g shroff p agarwal 2015 paper https www elen ucl ac be proceedings esann esannpdf es2015 56 pdf a clockwork rnn jan koutnik klaus greff faustino gomez j rgen schmidhuber 2014 paper http arxiv org pdf 1402 3511v1 pdf sequence labelling in structured domains with hierarchical recurrent neural networks santiago fernandez alex graves jurgen schmidhuber 2007 paper ftp ftp idsia ch pub juergen ijcai07sequence pdf connectionist temporal classification labelling unsegmented sequence data with recurrent neural networks alex graves santiago fernandez faustino gomez jurgen schmidhuber 2006 paper http machinelearning wustl edu mlpapers paper files icml2006 gravesfgs06 pdf learning long term dependencies with gradient descent is difficult y bengio p simard and p frasconi 1994 paper http www dsi ing unifi it paolo ps tnn 94 gradient pdf character aware neural language models yoon kim yacine jernite david sontag alexander m rush paper http www people fas harvard edu 7eyoonkim data aaai 2016 pdf leaning longer memory in recurrent neural networks tomas mikolov armand joulin sumit chopra michael mathieu marc aurelio ranzato paper https arxiv org pdf 1412 7753 pdf recurrent neural network regularization wojciech zaremba ilya sutskever oriol vinyals paper https arxiv org pdf 1409 2329v5 pdf learning to forget continual prediction with lstm felix gers jurgen schmidhuber 1999 paper https pdfs semanticscholar org 1154 0131eae85b2e11d53df7f1360eeb6476e7f4 pdf unitary evolution recurrent neural networks martin arjovsky amar shah yoshua bengio 2015 paper https arxiv org abs 1511 06464 visualizing and understanding recurrent networks andrej karpathy justin johnson li fei fei paper https arxiv org pdf 1506 02078 pdf deep recurrent neural networks for time series prediction sharat c prasad piyush prasad paper https arxiv org abs 1407 5949 synthesis of recurrent neural networks for dynamical system simulation adam trischler gabriele mt d eleuterio paper https arxiv org abs 1512 05702 a recurrent neural network for modelling dynamical systems coryn a l bailer jones david j c mackay paper http www mpia de calj dynet paper pdf approximation of dynamical time variant systems by continuous time recurrent neural networks xiao dong li john k l ho and tommy w s chow paper http www ee cityu edu hk twschow pubs papers 74 pdf approximation of discrete time state space 12 ajectories using dynamic recurrent neural networks liang jin peter n nikiforuk and madan m gupta paper http homepage usask ca mmg864 paper rj rj 089 pdf predictive business process monitoring with lstm neural networks niek tax1 ilya verenich2 3 marcello la rosa2 and marlon dumas paper https arxiv org pdf 1612 02130 pdf convolutional neural networks time series classification using multi channels deep convolutional neural networks yi zheng qi liu enhong chen yong ge and j lean zhao 2014 paper http staff ustc edu cn cheneh paper pdf 2014 yi zheng waim2014 pdf convolutional networks for images speech and time series yann lecun yoshua bengio paper http yann lecun com exdb publis pdf lecun bengio 95a pdf understanding convolutional neural networks jayanth koushik paper https arxiv org pdf 1605 09081v1 pdf deep learning yann lecun yoshua bengio andgeoffrey hinton paper http www cs toronto edu hinton absps naturedeepreview pdf time series anomaly detection sax hot sax finding the most unusual time series subsequence algorithms and applications eamonn keogh jessica lin ada fu 2005 paper http www cs ucr edu eamonn discords hot 20sax 20 20long ver pdf materials http www cs ucr edu eamonn discords lstm lstm based encoder decoder for multi sensor anomaly detection pankaj malhotra anusha ramakrishnan gaurangi anand lovekesh vig puneet agarwal gautam shroff 2016 paper https drive google com file d 0b8dg3pbx90knqwrwmelkvkq0afgzzgpzogqtuu5dewzyulvv view credit card transactions fraud detection and machine learning modelling time with lstm recurrent neural networks b nard wiese and christian omlin 2009 springer http link springer com chapter 10 1007 2f978 3 642 04003 0 10 long short term memory recurrent neural network classifier for intrusion detection jihyun kim jaehyun kim huong le thi thu and howon kim paper https www google ru url sa t rct j q esrc s source web cd 3 cad rja uact 8 ved 0ahukewieokcepvjqahueqyykhzg ajyqfggomai url http 3a 2f 2fisi dl com 2fdownloadfile 2f32576 usg afqjcnhbxmuxdaqvw4f7ulsmefukuhx85g deep recurrent neural network based autoencoders for acoustic novelty detection erik marchi fabio vesperini stefano squartini and bjo rn schuller paper http www fim uni passau de fileadmin files lehrstuhl schuller publications marchi16 drn pdf a novel approach for automatic acoustic novelty detection using a denoising autoencoder with bidirectional lstm neural networks erik marchi fabio vesperini florian eyben stefano squartini bjo rn schuller paper http www fim uni passau de fileadmin files lehrstuhl schuller publications marchi15 ana up tum uk pdf transfer learning transfer representation learning for anomaly detection jerone t a andrews thomas tanay edward j morton lewis d griffin 2016 paper https drive google com file d 0b8dg3pbx90knefrou3bdt1zhtxlsv3rsb3jfvwntwkpltuhj view anomaly detection based on sensor data in petroleum industry applications luis mart 1 nayat sanchez pi jos manuel molina and ana cristina bicharra garcia paper http www ncbi nlm nih gov pmc articles pmc4367333 anomaly detection in aircraft data using recurrent nueral networks rnn anvardh nanduri lance sherry paper http catsr ite gmu edu pubs icns 2016 anomalydetectionrnn 01042015 pdf bayesian online changepoint detection ryan prescott adams david j c mackay paper http hips seas harvard edu files adams changepoint tr 2007 pdf anomaly detection in aviation data using extreme learning machines vijay manikandan janakiraman david nielsen paper https c3 nasa gov dashlink static media publication pid4205935 pdf clustering consistent algorithms for clustering time series azadeh khaleghi daniil ryabko jeremie mary philippe preux 2016 paper http jmlr csail mit edu papers volume17 khaleghi16a khaleghi16a pdf thesis statistical language models based on neural networks by tomas mikolov http www fit vutbr cz imikolov rnnlm thesis pdf time series prediction using neural networks by karol kuna 2015 http is muni cz th 410446 fi b thesis pdf training recurrent neural networks by ilya sutskever 2013 http www cs utoronto ca ilya pubs ilya sutskever phd thesis pdf anomaly detection of time series http conservancy umn edu bitstream handle 11299 92985 sequence 1 unsupervised anomaly detection in sequences using long short term memory recurrent neural networks http mars gmu edu handle 1920 10250 books machine learning a bayesian and optimization perspective by sergios theodoridis amazon http www amazon com machine learning optimization perspective developers dp 0128015225 ref pd sim 14 3 ie utf8 dpid 51vpyhmstvl dpsrc sims prest ac ul160 sr128 2c160 refrid 12knby7vj04smybxkqq7 safari https www safaribooksonline com library view machine learning 9780128015223 fundamentals of deep learning nikhil buduma safari https www safaribooksonline com library view fundamentals of deep 9781491925607 rank based anomaly detection algorithms book http surface syr edu cgi viewcontent cgi article 1335 context eecs etd deep learning by ian goodfellow yoshua bengio and aaron courville book http www deeplearningbook org foundations of data science avrim blum john hopcroft and ravindran kannan book http www cs cornell edu jeh book2016june9 pdf journals journal of machine learning research http jmlr csail mit edu machine learning and data analysis http jmlda org machine learning http www springer com computer ai journal 10994 international journal of machine learning and cybernetics http www springer com engineering computational intelligence and complexity journal 13042 pse data mining and knowledge discovery http www springer com computer database management 26 information retrieval journal 10618 intelligent data analysis http www iospress nl journal intelligent data analysis http www intsys msu ru magazine artificial intelligence https www elsevier com journals artificial intelligence 0004 3702 description artificial intelligence review http www springer com computer ai journal 10462 engineering applications of artificial intelligence https www elsevier com journals engineering applications of artificial intelligence 0952 1976 description datasets physiobank http www physionet org cgi bin atm atm ucr time series classification archive http www cs ucr edu eamonn time series data nasa shuttle valve data http cs fit edu pkc nasa data yahoo labeled anomaly detection dataset https webscope sandbox yahoo com catalog php datatype s did 70 awesome public datasets https github com caesar0301 awesome public datasets the numenta anomaly benchmark competition for real time anomaly detection http numenta org nab an archive of datasets distributed with r https vincentarelbundock github io rdatasets datasets html list of datasets for machine learning research https en wikipedia org wiki list of datasets for machine learning research disk defect data https c3 nasa gov dashlink resources 314 hard drive data and stats https www backblaze com b2 hard drive test data html fma a dataset for music analysis https arxiv org abs 1612 01840 blogposts estimating rainfall from weather radar readings using recurrent neural networks http simaaron github io estimating rainfall from weather radar readings using recurrent neural networks theoretical motivations for deep learning http rinuboney github io 2015 10 18 theoretical motivations deep learning html cmu graphics lab motion capture database http mocap cs cmu edu common objects in context http mscoco org neural network architectures https culurciello github io tech 2016 06 04 nets html building powerful image classification models using very little data http blog keras io building powerful image classification models using very little data html understanding stateful lstm recurrent neural networks in python with keras http machinelearningmastery com understanding stateful lstm recurrent neural networks python keras written memories understanding deriving and extending the lstm http r2rt com written memories understanding deriving and extending the lstm html time series prediction with deep learning in keras http machinelearningmastery com time series prediction with deep learning in python with keras competitions senior data science safe aging with sphere https www drivendata org competitions 42 page 71 ml boot camp http mlbootcamp ru | ai |
|
bottos | bottos blockchain go report card https goreportcard com badge github com bottos project bottos https goreportcard com report github com bottos project bottos license https img shields io badge licence gpl 3 blue svg https opensource org licenses gpl 3 0 bottos is building the infrastructure for ai development through blockchain technology in order to create a new decentralized ai ecosystem bottos blockchain architecture is shown below bottosarchitecture png deveplopers forum english https gitter im bottos project bottos chinese http forum botfans org develop doc https www bottos org features of bottos chain on bottos blockchain you have the newly designed basic blockchain services hybrid consensus high performance transactions microservices chain core horizontally scalable node cluster nodes one click deployment script dynamic node model multi value system smart contracts domain and you also have multiple services below which are dedicated designed for ai ecosystem multi data service adaptive distributed storage distributed digital identification hierarchical qos service agile dapps deployment contracts management service following the instructions below you can build and deploy your own test node one click deploy a bottos node one click deployment script https github com bottos project magiccube tree master service node scripts startup sh install login as root and execute startup sh deploy update source code create user bottos and switch to bottos and execute startup sh update run execute startup sh buildstart to build the source code and run bottos chain stop execute start stop to stop deploy a bottos node manually to build a bottos single node environment originally following steps need to be done precondition root account should be available in order to install all the required packages user account bottos should be pre created in order to apply the bottos node install basic packages and modules all required packages will be installed through this step packages to be installed include golang git jq libssl curl gcc installation commands apt get update apt get install gcc apt get install curl apt get install git apt get install jq apt get install pkg config libssl dev libsasl2 dev apt get install linuxbrew wrapper brew install consul cp consul home bottos opt go bin brew install protobuf cd home bottos opt go bin go get u github com golang protobuf proto go get u github com protoc gen go go get u github com micro protoc gen micro go get u github com micro micro curl o https dl minio io server minio release linux amd64 minio usr local bin chmod a x usr local bin minio useradd r minio user s sbin nologin chown minio user minio user usr local bin minio r mkdir usr local share minio chown minio user minio user usr local share minio r mkdir etc minio chown minio user minio user etc minio r rm rf etc default minio echo minio opts c minio cof address 10 10 10 189 9000 etc default minio echo minio opts c minio cof address 10 10 10 189 9000 etc default minio source etc default minio curl o https raw githubusercontent com minio minio service master linux systemd minio service cp minio service etc systemd system systemctl daemon reload systemctl enable minio ufw allow 9000 systemctl restart ufw wget https storage googleapis com golang go1 10 1 linux amd64 tar gz directory prefix home bottos tar xzvf home bottos go1 10 1 linux amd64 tar gz c usr local tar xzvf home bottos go1 10 1 linux amd64 tar gz c usr lib golang s system environment variable setting write down following syntax into file home bottos bashrc export gopath mnt bottos export goroot usr lib go then do source home bottos bashrc to activate the setting check whether command go take effect after your setting note login system as root is a must during this step to avoid no enough permissions during installing basic packages after basic packages are installed you can download the bottos codes from github and build run the bottos services later please replace the address 10 10 10 189 by your external ip address the external ip address can be found via command ifconfig nbsp download bottos codes from this step on user can choose to login system either as root or bottos account to do codes downloading or run services then for the safety reason we suggest user to use bottos account to continue following steps download code commands mkdir p home bottos mnt bottos src github com bottos project git clone https github com bottos project magiccube git home bottos mnt bottos src github com bottos project magiccube cd home bottos mnt bottos src github com bottos project magiccube service node keystore git clone https github com bottos project crypto go git git clone https github com bottos project bottos git home bottos mnt bottos src github com bottos project bottos nbsp bottos services configuration the bottos configuration includes node configuration chain configuration and genesis configuration the node configuration file config json describes all the service names that supported by this node and service file stored path service ip address etc the configuration file chainconfig json and genesis json describe the essential parameters to initializing the blockchain generate config json file create the file named as config json and put the file onto directory home bottos opt go bin the sample contents of files are shown as following sample for config json node nodename node1 ipaddr 10 10 10 189 username password btoport btouser produser btopath home bto walletip 10 10 10 189 keypath home bto dbuser dbpass storagesize 1t storagepath media servpath home bottos opt go bin servlst storage ideapi identity reqapi requirement assapi asset excapi exchange dasapi dashboard note fill your system external ip address according to sample case and others keep same as the sample the external ip address can be found via command ifconfig for the empty items we aims to extend the usages in future nbsp prepare chainconfig json and genesis json the chainconfig json and genesis json files are the essential parts of block chain they are at code directory of home bottos src github com bottos project bottos please copy the two json files onto home bottos opt go bin cp home bottos mnt bottos src github com bottos project bottos chainconfig json home bottos opt go bin cp home bottos mnt bottos src github com bottos project bottos genesis json home bottos opt go bin nbsp build codes start all services build services all codes will be built and all services will be brought up through this step following operations can be done in this procedure after user build and run all the services generate node s keystore file home bto bto keystore if file does not exist bring up all the services according to node s configuration file home bottos opt go bin config json create bottos account and deploy bottos contract on bottos chain commands cp home bottos mnt bottos src github com bottos project magiccube vendor home bottos opt go bin cd home bottos opt go bin go build github com bottos project magiccube service node go build github com bottos project magiccube service storage go build github com bottos project magiccube service ideapi go build github com bottos project magiccube service identity go build github com bottos project magiccube service reqapi go build github com bottos project magiccube service requirement go build github com bottos project magiccube service assapi go build github com bottos project magiccube service asset go build github com bottos project magiccube service excapi go build github com bottos project magiccube service exchange go build github com bottos project magiccube service dasapi go build github com bottos project magiccube service dashboard go build github com bottos project bottos bcli note this command only needs try once when a node is original be built to start cp home bottos mnt bottos src github com bottos project magiccube vendor home bottos opt go bin user can choose to login system either as root or bottos during this step no other users are allowed to avoid no permissions repetitive execution of this step is also supported the script always stop all services by first then bring up them one by one again nbsp start all services commands list cd home bottos opt go bin consul agent dev micro api systemctl start minio minio server c etc minio address 10 10 10 189 9000 node cp home bottos mnt bottos src github com bottos project bottos bcli bcli home bottos opt go bin core cmd dir note the node program will bring all the services in servlst that configured in config json license gplv3 licensed | blockchain infrastructure | blockchain |
Technonomicon-Daemon | technonomicon daemon technonomicon logo artwork logowithwords svg technonomicon logo https github com enarclabs technonomicon daemon base server code for the technonomicon reverse engineering grimoire | net-core asp-net-core asp-net-mvc rest-api | server |
awesome-chinese-llm | awesome chinese llm a curated list of chinese large language model datasets belle https github com lianjiatech belle tree main data 10m 10m chinese book https github com jiangyanting chinese book dataset chinese scientific literature dataset https github com ydli ai csl a large scale chinese scientific literature dataset chinese poetry https github com chinese poetry chinese poetry 5 5 26 1564 21050 cluecorpus2020 https github com cluebenchmark cluecorpus2020 common crawl 100gb mnbvc massive never ending bt vast chinese corpus https github com esbatmop mnbvc chatgpt 40t mnbvc mnbvc wiki moss https github com openlmlab moss e6 95 b0 e6 8d ae moss news commentary v13 https github com dbiir uer py wiki e9 a2 84 e8 ae ad e7 bb 83 e6 95 b0 e6 8d ae news commentary v13 nkcorpus https gitee com lidongwen1997 nkunlp preprocessing pretrain zh https github com tigerresearch tigerbot e5 bc 80 e6 ba 90 e6 95 b0 e6 8d ae e9 9b 86 55g thucnews http thuctc thunlp org rss 2005 2011 74 14 wudaocorpora text https data baai ac cn details wudaocorporatext https www luge ai https tianchi aliyun com dataset nlp http thuocl thunlp org pre trained llm model size architecture repo chkpt paper 13b decoder github https github com huawei noah pretrained language model paper https arxiv org pdf 2104 12369 pdf glm 130b decoder github https github com thudm glm 130b paper https arxiv org pdf 2210 02414 pdf moss github https github com openlmlab moss tigerbot a multi language multi task llm tigerbot 7b tigerbot 7b base tigerbot 180b github https github com tigerresearch tigerbot baichuan 7b a large scale 7b pretraining language model developed by baichuan inc 7b github https github com baichuan inc baichuan 7b instruction finetuned llm model owner backbone repo chkpt chatglm 6b thudm https github com thudm glm github https github com thudm chatglm 6b chinese vicuna facico https github com facico llama github https github com facico chinese vicuna belle ke technologies https github com lianjiatech llama github https github com lianjiatech belle chinese llama alpaca ymcui llama github https github com lc1332 luotuo chinese llm luotuo glm 6b github https github com ymcui chinese llama alpaca huatuo llama llama github https github com scir hi huatuo llama med chinese phoenix bloomz github https github com freedomintelligence llmzoo linly computer vision institute szu https github com cvi szu llama github https github com cvi szu linly lawgpt chinese llama chatglm github https github com pengxiao song lawgpt chatlaw pku ziya llama 13b v1 anima 33b github https github com pku yuangroup chatlaw | awesome-list chinese datasets finetune large-language-models llm nlp pretrained-models | ai |
AI_Writer | overview this code will generate a story based on an image that you input more information can be found in the original repo https github com ryankiros neural storyteller this the code for build an ai writer on youtube https youtu be x24veueph0q img src https github com ryankiros neural storyteller blob master images ex1 jpg height 220px align left we were barely able to catch the breeze at the beach and it felt as if someone stepped out of my mind she was in love with him for the first time in months so she had no intention of escaping the sun had risen from the ocean making her feel more alive than normal she s beautiful but the truth is that i do n t know what to do the sun was just starting to fade away leaving people scattered around the atlantic ocean i d seen the men in his life who guided me at the beach once more samim http samim io has made an awesome blog post with lots of results here https medium com samim generating stories about images d163ba41e4ed dependencies python 2 7 https www python org downloads theano instructions here http deeplearning net software theano install html lasagne instructions here http lasagne readthedocs io en latest user installation html scipy pip install scipy numpy pip install numpy for running on your cpu you will need to install caffe and its python interface use pip https pypi python org pypi pip to install any missing dependencies basic usage simply create a new python file in this repo or run this code from the python command line shell import generate z generate load all generate story z images ex1 jpg sample output shell i let the woman in her eyes and i had no idea what to say to her it was a small group of people both of them as soon as the taxi arrived he gave me a hug it was the first time i d spent so much time in new york in fact it was almost as if he were going to be the only man in his life and he made a mental note to pin her down on either side of her body she loved those men a little less than ten minutes and i am stunned by someone see more at http www somatic io examples 4wdnbdm0 sthash tvsdmyru dpuf credits credit for the vast majority of code here goes to ryan kiros https github com ryankiros i ve merely created a wrapper around some of the important functions to get people started | ai |
|
solent_MAD | solent mad exercises for solent university mobile application development swd504 the course material for each session is available here https edward2 solent ac uk course mad only available for logged in solent students example answers my examples are listed below do not look at until you try for yourself topic 1 introduction master topic1 topic 2 layouts and event handling master topic2 topic 3 mapping master topic3 topic 4 menus and multiple activities master topic4 topic 5 preferences master topic5 topic 6 lists master topic6 topic 7 exceptions master topic7 topic 8 file i o master topic8 topic 9 asynctask and network communication master topic9 topic 10 json parsing master topic10 topic 11 further mapping markers master topic11 topic 12 location and gps master topic12 topic 13 fragments master topic13 getting started using git you can choose to save your work on a usb stick but it will be better practice and less chance of loosing anything if you use github to store your work as you go along you should check all of your class work into the folder aaa myclasswork master aaa myclasswork for conveniencec the aaa is to make sure it is alphabetically the top folder in your directory note only make changes in your aaa myclasswork master aaa myclasswork project directory to avoid clashes with upstream repo creating your repository 1 if you do not have one create a new account on github and or sign into your account 2 the easiest way to get started will be to fork my repository navigate to my repo https github com gallenc solent mad and click fork on top right hand side you will now have a copy or clone of this repo in your own github account alternatively if you are creating a new empty repo for android development on github create a new repository for the class name is something like cm504 or solent mad important initialise the repository with the android gitignore file you may also select to create a readme md file this will prevent you checking in intelij android specific build files which will filling up your repo with junk 3 check out your new repository onto your local machine first create a new folder in a user accessable location near the root of c drive or in your c users your username folder call it something like gitrepos make sure it has no spaces in the classpath name e g c users gallenc gitrepos right click in the folder and open a git bash terminal get the url of the repository by right clicking on clone or download copy the https url not the git url and in the git terminal type git clone https your repository url cd your repository cd c users gallenc gitrepos solent mad modify for your folder git status this will check you have correctly checked out the repo important you will need to clone your every session as the c drive will be wiped when you log out using your repository instead of creating a new repository for every exercise in class you should use the same repo for multiple projects but place each project in a seperate folder to get started copy my example session1 folder into your aaa myclasswork master aaa myclasswork directory now open android studio in that folder e g in c users gallenc gitrepos aaa myclasswork session1 helloworld create a new folder called session1 use this folder to create your new android project as explained in nicks notes in https edward2 solent ac uk course mad part1 xhtml however you should create the project in the folder you have just created in your repo as below alt text master images createproject png figure createproject png note that if you have checked out your project into c gitrepos solent mad and created a new session1 folder then your helloworld project should be created in c gitrepos solent mad aaa myclasswork session1 helloworld important do not have any spaces in your class path checking in your work you should regularly commit changes as you go along and at the end of your class you should push your changes back up to your repository add all of the changew to the latest commit git add all commit your changes git commit m this is my first commit check all is ok git status push your changes git push important make sure you can see your files in your github repository after you have checked them in next time checking out your work the next time you want to work on your project you will need to point android studio to the checked out project 1 check out your project again using git clone etc 2 open android studio and select your project as below c gitrepos solent mad aaa myclasswork session1 helloworld alt text master images welcomeopenproject png figure welcomeopenproject png alt text master images openproject png figure openproject png your project will be imported into android studio and built alternatively you can create a new folder for the next session c gitrepos solent mad aaa myclasswork session2 | front_end |
|
gradle-ios-plugin | gradle ios plugin beta gradle plugin for ios mobile development there is an android plugin for gradle why isn t there one for ios please see the example ios gradle example https github com jaredsburrows gradle ios plugin example requirements xcode ios sdk cocoapods dependencies ios deploy deploying to devices install xcode https developer apple com xcode install cocoapods http cocoapods org sudo gem install cocoapods install ios deploy https github com phonegap ios deploy devices ios sim https github com phonegap ios sim emulator and or the original fruitstrap https github com ghughes fruitstrap devices ios 6 1 ios deploy brew install ios deploy ios sim brew install ios sim fruitstrap git clone https github com ghughes fruitstrap git cd fruistrap make install plugin setup add the plugin to your buildscript s dependencies section buildscript dependencies classpath com github jaredsburrows tools build ios gradle 0 0 1 apply the com ios application plugin apply plugin com ios application example build gradle buildscript repositories jcenter dependencies classpath com github jaredsburrows tools build ios gradle 0 0 1 apply plugin com ios application ios compilesdkversion 8 1 ios sdk version buildtoolsversion 6 1 xcode version defaultconfig minsdkversion 8 minimum ios sdk version targetsdkversion 19 target ios sdk version versioncode 1 optional versionname 1 0 optional cocoa pods pods pod google mobile ads sdk pod googleanalytics ios sdk dependencies please see the example ios gradle exmaple https github com jaredsburrows gradle ios plugin example license copyright c 2014 gradle ios plugin by jared burrows licensed under the apache license version 2 0 the license you may not use this file except in compliance with the license you may obtain a copy of the license at http www apache org licenses license 2 0 unless required by applicable law or agreed to in writing software distributed under the license is distributed on an as is basis without warranties or conditions of any kind either express or implied see the license for the specific language governing permissions and limitations under the license | front_end |
|
handson-ml2 | machine learning notebooks the 3rd edition of my book will be released in october 2022 the notebooks are available at ageron handson ml3 https github com ageron handson ml3 and contain more up to date code this project aims at teaching you the fundamentals of machine learning in python it contains the example code and solutions to the exercises in the second edition of my o reilly book hands on machine learning with scikit learn keras and tensorflow https www oreilly com library view hands on machine learning 9781492032632 img src https images na ssl images amazon com images i 51aqyc1qyrl sx379 bo1 204 203 200 jpg title book width 150 note if you are looking for the first edition notebooks check out ageron handson ml https github com ageron handson ml for the third edition check out ageron handson ml3 https github com ageron handson ml3 quick start want to play with these notebooks online without having to install anything use any of the following services i recommended colab or kaggle since they offer free gpus and tpus warning please be aware that these services provide temporary environments anything you do will be deleted after a while so make sure you download any data you care about a href https colab research google com github ageron handson ml2 blob master target parent img src https colab research google com assets colab badge svg alt open in colab a a href https homl info kaggle img src https kaggle com static images open in kaggle svg alt open in kaggle a a href https mybinder org v2 gh ageron handson ml2 head filepath 2findex ipynb img src https mybinder org badge logo svg alt launch binder a a href https homl info deepnote img src https deepnote com buttons launch in deepnote small svg alt launch in deepnote a just want to quickly look at some notebooks without executing any code a href https nbviewer jupyter org github ageron handson ml2 blob master index ipynb img src https raw githubusercontent com jupyter design master logos badges nbviewer badge svg alt render nbviewer a github com s notebook viewer https github com ageron handson ml2 blob master index ipynb also works but it s not ideal it s slower the math equations are not always displayed correctly and large notebooks often fail to open want to run this project using a docker image read the docker instructions https github com ageron handson ml2 tree master docker want to install this project on your own machine start by installing anaconda https www anaconda com distribution or miniconda https docs conda io en latest miniconda html git https git scm com downloads and if you have a tensorflow compatible gpu install the gpu driver https www nvidia com download index aspx as well as the appropriate version of cuda and cudnn see tensorflow s documentation for more details next clone this project by opening a terminal and typing the following commands do not type the first signs on each line they just indicate that these are terminal commands git clone https github com ageron handson ml2 git cd handson ml2 next run the following commands conda env create f environment yml conda activate tf2 python m ipykernel install user name python3 finally start jupyter jupyter notebook if you need further instructions read the detailed installation instructions install md faq which python version should i use i recommend python 3 8 if you follow the installation instructions above that s the version you will get most code will work with other versions of python 3 but some libraries do not support python 3 9 or 3 10 yet which is why i recommend python 3 8 i m getting an error when i call load housing data make sure you call fetch housing data before you call load housing data if you re getting an http error make sure you re running the exact same code as in the notebook copy paste it if needed if the problem persists please check your network configuration i m getting an ssl error on macosx you probably need to install the ssl certificates see this stackoverflow question https stackoverflow com questions 27835619 urllib and ssl certificate verify failed error if you downloaded python from the official website then run applications python 3 8 install certificates command in a terminal change 3 8 to whatever version you installed if you installed python using macports run sudo port install curl ca bundle in a terminal i ve installed this project locally how do i update it to the latest version see install md install md how do i update my python libraries to the latest versions when using anaconda see install md install md contributors i would like to thank everyone who contributed to this project https github com ageron handson ml2 graphs contributors either by providing useful feedback filing issues or submitting pull requests special thanks go to haesun park and ian beauregard who reviewed every notebook and submitted many prs including help on some of the exercise solutions thanks as well to steven bunkley and ziembla who created the docker directory and to github user superyorio who helped on some exercise solutions | ai |
|
NLP_Basics | nlp basics in the deep learning for nlp ipynb file i have tried to cover basics of nlp and followed the book titled deep learning for natural language processing i will keep updating the current repo basic nlp models like count vectorizer tf idf word2vec embedding sentiment analysis text classification lstm bilstm new nlp library basics topic modeling etc seq2seq modeling multi class text classification model comparison and selection https towardsdatascience com multi class text classification model comparison and selection 5eb066197568 about natural language processing performance metrics ppt https github com gulabpatel nlp basics blob main nlp performance metrics april6th2018 pdf p align center img src assets nlp metrics png width 300 alt nlp metrics timeline p evaluation metrics quick notes average precision macro average of sentence scores micro corpus sums numerators and denominators for each hypothesis reference s pairs before division machine translation 1 bleu bilingual evaluation understudy papineni 2002 https www aclweb org anthology p02 1040 pdf measures how many words overlap in a given translation when compared to a reference translation giving higher scores to sequential words recall limitation doesn t consider different types of errors insertions substitutions synonyms paraphrase stems designed to be a corpus measure so it has undesirable properties when used for single sentences 2 gleu google bleu wu et al 2016 http arxiv org pdf 1609 08144v2 pdf minimum of bleu recall and precision applied to 1 2 3 and 4grams recall number of matching n grams number of total n grams in the target precision number of matching n grams number of total n grams in generated sequence correlates well with bleu metric on a corpus metric but does not have its drawbacks for per sentence reward objective not to be confused with generalized language evaluation understanding or generalized bleu also known as gleu napoles et al 2015 s acl paper ground truth for grammatical error correction metrics http www aclweb org anthology p15 2097 napoles et al 2016 gleu without tuning https arxiv org abs 1605 02592 minor adjustment required as the number of references increases simple variant of bleu it hews much more closely to human judgements in mt an untranslated word or phrase is almost always an error but in gec this is not the case gleu computes n gram precisions over the reference but assigns more weight to n grams that have been correctly changed from the source python code https github com cnap gec ranking 3 wer word error rate levenshtein distance edit distance for words minimum number of edits insertion deletions or substitutions required to change the hypotheses sentence into the reference range greater than 0 ref hyp no max range as automatic speech recognizer asr can insert an arbitrary number of words wer frac s d i n frac s d i s d c s number of substitutions d number of deletions i number of insertions c number of the corrects n number of words in the reference n s d c wacc word accuracy or word recognition rate wrr 1 wer limitation provides no details on the nature of translation errors different errors are treated equally even thought they might influence the outcome differently being more disruptive or more difficult easier to be corrected if you look at the formula there s no distinction between a substitution error and a deletion followed by an insertion error possible solution proposed by hunt 1990 use of a weighted measure wer frac s 0 5d 0 5i n problem metric is used to compare systems so it s unclear whether hunt s formula could be used to assess the performance of a single system how effective this measure is in helping a user with error correction see more info https martin thoma com word error rate calculation 4 meteor metric for evaluation of translation with explicit ordering banerjee 2005 s paper meteor an automatic metric for mt evaluation with high levels of correlation with human judgments https www cs cmu edu alavie meteor pdf lavie agarwal 2007 meteor pdf about based on the harmonic mean of unigram precision and recall weighted higher than precision includes exact word stem and synonym matching designed to fix some of the problems found in the bleu metric while also producing good correlation with human judgement at the sentence or segment level unlike bleu which seeks correlation at the corpus level python jar wrapper https github com tylin coco caption tree master pycocoevalcap meteor 5 ter translation edit rate snover et al 2006 s paper a study of translation edit rate with targeted human annotation https www cs umd edu snover pub amta06 ter amta pdf number of edits words deletion addition and substitution required to make a machine translation match exactly to the closest reference translation in fluency and semantics ter frac e r minimum number of edits average length of reference text it is generally preferred to bleu for estimation of sentence post editing effort source http opennmt net opennmt tools scorer pyter https pypi python org pypi pyter 0 2 2 1 char ter character level ter summarization 1 rouge recall oriented understudy for gisting evaluation lin 2004 rouge a package for automatic evaluation of summaries http www aclweb org anthology w w04 w04 1013 pdf package for automatic evaluation of summaries image caption quality 1 cider consensus based image description evaluation vedantam et al 2015 cider consensus based image description evaluation https arxiv org abs 1411 5726 used as a measurement for image caption quality | nlp topic-modeling sentimentanalysis deep-learning ner tf-idf word2vec textblob spacy stanza lstm texthero gensim parrot regex speech-to-text styleformer gramformer langauge-detector | ai |
AdafruiMP3PlayerFinalProject | adafruit mp3 player final project simple mp3 player using arduino uno and adafruit music maker shield check out the wiki for more information | os |
|
lisk-core | logo docs assets banner core png lisk core license apache 2 0 https img shields io badge license apache 202 0 blue svg http www apache org licenses license 2 0 github tag latest by date https img shields io github v tag liskhq lisk core github repo size https img shields io github repo size liskhq lisk core deepscan grade https deepscan io api teams 6759 projects 8870 branches 113510 badge grade svg https deepscan io dashboard view project tid 6759 pid 8870 bid 113510 github issues https img shields io github issues raw liskhq lisk core github closed issues https img shields io github issues closed raw liskhq lisk core code coverage https codecov io gh liskhq lisk core branch development graph badge svg token u0cu1xqz52 https codecov io gh liskhq lisk core lisk is a next generation crypto currency and decentralized application platform written entirely in javascript the official documentation about the entire ecosystem can be found at https lisk com docs lisk core https lisk com documentation lisk core v4 index html is the program that implements the lisk protocol https lisk com documentation beta introduction html the lisk protocol in other words lisk core is what every machine needs to set up to run a node that allows for participation in the network this document details how to install lisk core from source and from npm registry but there are two other ways to participate in the network binaries https lisk com documentation lisk core v4 setup binary html and docker images https lisk com documentation lisk core v4 setup docker html if you have satisfied the requirements from the pre installation section you can jump directly to the next section installation steps installation index installation installation managing lisk node managing lisk node configuring lisk node configuring lisk node tests tests license license installation dependencies the following dependencies need to be installed in order to run applications created with the lisk sdk dependencies version nodejs 18 16 python for development 2 7 18 you can find further details on installing these dependencies in our pre installation setup guide https lisk com documentation lisk core setup source html source pre install clone the lisk core repository using git and initialize the modules from source bash git clone https github com liskhq lisk core git cd lisk core git checkout main nvm install npm i g yarn yarn install frozen lockfile npm run build bin run help from npm usage sh session npm install g lisk core lisk core command running command lisk core v version version lisk core 4 0 0 rc 6 darwin arm64 node v18 16 1 lisk core help command usage lisk core command usagestop commands command topics lisk core autocomplete docs commands autocomplete md display autocomplete installation instructions lisk core block docs commands block md commands relating to lisk core blocks lisk core blockchain docs commands blockchain md commands relating to lisk core blockchain data lisk core config docs commands config md commands relating to lisk core node configuration lisk core console docs commands console md lisk interactive repl session to run commands lisk core endpoint docs commands endpoint md invokes the provided endpoint lisk core generator docs commands generator md disable block generation for given validator address lisk core genesis block docs commands genesis block md creates genesis block file lisk core hash onion docs commands hash onion md create hash onions to be used by the forger lisk core help docs commands help md display help for lisk core lisk core keys docs commands keys md return keys corresponding to the given passphrase lisk core passphrase docs commands passphrase md commands relating to lisk core passphrases lisk core sdk docs commands sdk md commands relating to lisk sdk development lisk core start docs commands start md start blockchain node lisk core system docs commands system md commands relating to lisk core node lisk core transaction docs commands transaction md commands relating to lisk core transactions lisk core version docs commands version md commandsstop managing lisk node system requirements the following system requirements are recommended for validator nodes memory machines with a minimum of 4 gb ram for the mainnet machines with a minimum of 2 gb ram for the testnet storage machines with a minimum of 40 gb hdd os ubuntu 22 ubuntu 20 macos 13 to start a lisk core node as a background process we recommend using a process management tool such as pm2 https pm2 keymetrics io example using pm2 nvm install npm i g pm2 pm2 start lisk core start name lisk mainnet pm2 status pm2 logs lisk mainnet for a more advanced options refer to pm2 documentation https pm2 keymetrics io docs usage pm2 doc single page configuring lisk node lisk core start docs commands start md supports flag and environment variable options to configure a node in addition custom configuration through the json file can be made available through the config c flag note as a security measure access to all the methods on the node over the ipc and http api by default are disabled to allow access the system allowedmethods property within the custom node config file may be configured as shown below rpc allowedmethods system getnodeinfo expose specific methods rpc allowedmethods system token expose all the registered methods under the specified namespaces rpc allowedmethods expose all available registered methods under all the namespaces example with custom config file custom config json below system datapath lisk loglevel debug keepeventsforheights 1 rpc modes ipc port 7887 host 127 0 0 1 allowedmethods generator keys fromfile config dev validators json network port 7667 transactionpool maxtransactions 8096 maxtransactionsperaccount 1024 plugins reportmisbehavior encryptedprivatekey kdf argon2id cipher aes 256 gcm version 1 ciphertext fb564e463ce46efab010f21b06d01acc62f705049563b58628d4ca23053ba6bdce5be39cb5c0624bd75735ee10a8a12b9c7876d86fc3646d036b414701dc6b01217102480cd327f5eec31b2cf209ea8b6c64505ab8bab81ed315c12c33feaaef982facec63c876def26eeefd1c0d9a5b7dce5e604622c704106a64c27b71eff7 mac 429c65daf7f6e9dba5e105be55fb7a450c74e424ff9a20cd5cb614c31fb8b010 salt 19a15ea6d5925d7104b4db0c8b0ca73a iv b5ec03e61586b202a1f4e9aa tag 82ca4b682f89daa642a13edae085feea iterations 1 parallelism 4 memorysize 2024 chainconnector receivingchainipcpath lisk sidechain ccufee 5000000 encryptedprivatekey kdf argon2id cipher aes 256 gcm version 1 ciphertext f962147c16450604456db731156a31b5fa07bc1a55c32f243f59795414b75fbfcbe13a54426976c98fe21c0a9d918b80fb956d280ceff8a7ca35db29eb77ecfd0afbd359233a863425766815c84d5d20ba17ca0edd07e0eacaa3324e53ade573f7f647097dffaf64368cf40be05636bee58318389843d1f29b587d58c71e34ab mac bbe4120b758ba7c541cfb39d1ea9b6a781054cdaffbd4b5e724d375fc5367543 salt 20fdfa08a8e6d158fc1f8b70672f43aa iv 22cb20bdf0a9f06124a7b53a tag 37cbecb09493581e476dd4439e8ef1fc iterations 1 parallelism 4 memorysize 2024 password lisk running a command will overwrite the default config and use the specified options bash lisk core start n devnet c custom config json overwrite config for a more detailed understanding of configuration read this online documentation https lisk com documentation lisk core v4 management configuration html tests automated tests all automated tests will run with the below command npm test running a local development node in order to run a node for a local test in a root folder of lisk core run below command bin run start n devnet data path devnet data port 3333 api ipc enable forger plugin this command will start a lisk core node using data path devnet data with forger plugins data on the node can be obtained by commands like bin run endpoint invoke system getnodeinfo pretty bin run system node info data path devnet data bin run block get 3 data path devnet data contributors https github com liskhq lisk core graphs contributors license copyright 2016 2024 lisk foundation licensed under the apache license version 2 0 the license you may not use this file except in compliance with the license you may obtain a copy of the license at http www apache org licenses license 2 0 unless required by applicable law or agreed to in writing software distributed under the license is distributed on an as is basis without warranties or conditions of any kind either express or implied see the license for the specific language governing permissions and limitations under the license lisk documentation site https lisk com documentation lisk core | lisk core blockchain platform javascript blockchain-application cryptocurrency nodejs typescript | blockchain |
ai-saturdays-workshop-8 | ai saturdays workshop 8 the materials for ai saturdays workshop 8 by aidevnepal this workshop is solely dedicated to kickstart natural language processing nlp | ai |
|
enterprise-wc | infor design system web components beta library license https img shields io badge license apache 202 0 blue svg https opensource org licenses apache 2 0 npm version https badge fury io js ids enterprise svg https badge fury io js ids enterprise wc build check https github com infor design enterprise wc actions workflows ci yml badge svg https github com infor design enterprise wc actions workflows ci yml coverage status https coveralls io repos github infor design enterprise wc badge svg branch main https coveralls io github infor design enterprise wc infor design system enterprise web components library is a framework independent ui library consisting of css and js that provides infor product development teams partners and customers the tools to create user experiences that are approachable focused relevant and perceptive key features three themes including a wcag 2 0 aaa compatible high contrast theme and ability to theme anything responsive components patterns and layouts touch friendly interactions svg based iconography for high dpi screens and scaling built in extendible localization system built in mitigation of xss exploits 85 100 functional test coverage passes all code security scans and is fully csp compliant well documented in md format contains an extensive change log doc changelog md which lists any and all breaking changes fully linted code doc linting md follows wai aria authoring practices https www w3 org tr wai aria practices 1 1 keyboard interaction 12 with a focus on accessibility fully namespaced with an ids namespace we follow the gold standard for making web components https github com webcomponents gold standard wiki includes types for typescript users every component has the css and dom encapsulation 100 components includes visual code and standard schemas https github com webcomponents custom elements manifest browser support we support the latest release and the release previous to the latest r 1 for browsers and os versions markdownlint disable md013 md033 img src https raw githubusercontent com alrra browser logos master src edge edge 48x48 png alt ie edge width 24px height 24px http godban github io browsers support badges br ie edge img src https raw githubusercontent com alrra browser logos master src firefox firefox 48x48 png alt firefox width 24px height 24px http godban github io browsers support badges br firefox img src https raw githubusercontent com alrra browser logos master src chrome chrome 48x48 png alt chrome width 24px height 24px http godban github io browsers support badges br chrome img src https raw githubusercontent com alrra browser logos master src safari safari 48x48 png alt safari width 24px height 24px http godban github io browsers support badges br safari img src https raw githubusercontent com alrra browser logos master src safari ios safari ios 48x48 png alt ios safari width 24px height 24px http godban github io browsers support badges br ios safari r 1 r 1 r 1 r 1 r 1 markdownlint enable md013 md033 installation the components are available via npm yarn sh npm install save ids enterprise wc latest to clone and run this repo locally requires node 18 16 or 17 sh mkdir enterprise wc cd enterprise wc git clone git github com infor design enterprise wc git npm i npm run start documentation for each component see the md file in the relevant component folder https github com infor design enterprise wc tree main src see the change log doc changelog md for info on breaking changes as well more info in each individual component see the examples in popular frameworks https github com infor design enterprise wc examples for examples and notes on using these in several frameworks usage for code hinting the npm package ships with a file called vscode html custom data json the file describes the custom elements and their settings for use in visual studio code to provide intellisense to enable it you just need to tell vs code where the file is 1 as per above install with npm install save ids enterprise wc latest 1 create a folder called vscode at the root of your project 1 create a file inside that folder called settings json 1 add the following setting to the file json html customdata node modules ids enterprise wc vscode html custom data json you may need to restart vs code for the changes to take affect most popular editors support custom code completion with different configurations please submit a feature request and or pull request https github com infor design enterprise wc issues new choose if you want to add your editor contributing articles about web components doc articles md things to consider for each component doc checklist md how to make a new component doc components md info on which linters we use doc linting md info on running and debugging tests doc testing md use github issues https github com infor design enterprise wc issues to report all requests bugs questions and feature requests review source code changes https github com infor design enterprise wc pulls roadmap and sprint board https github com orgs infor design projects | webcomponents infor javascript component-library | os |
Galvanize_Classified_2 | galvanize classified part 2 read the entire readme before beginning commit often project description this is a simple angular front end for your galvanize classified api part 3 will involve styling so keep it as simple as possible we want to evaluate the angular skills outside of styling getting started copy your files from part 1 into your project directory this is important make sure you don t edit the part 1 files so we can evaluate each part independently this also allows you to redo pieces of this assessment individually requirements you are responsible for forking and cloning this github repo creating a simple angular front end deployment of the app on heroku functionality the app should do the following display all of the ads post a new ad edit existing ads delete an ad filter ads titles and descriptions sort ads based on posting date and price | front_end |
|
aos_core_zephyr | ci https github com aoscloud aos core zephyr workflows build badge svg https github com aoscloud aos core zephyr actions query workflow 3abuild codecov https codecov io gh aoscloud aos core zephyr branch main graph badge svg token obqrd8aaac https codecov io gh aoscloud aos core zephyr aoscore zephyr application overview this project contains code of the aos core application for zephyr os prerequisites zephyr sdk is required to fetch and build this project follow getting started guide https docs zephyrproject org latest getting started index html to install mentioned dependencies and sdk install protobuf compiler from pre compiled binaries https grpc io docs protoc installation install pre compiled binaries any os the verified protobuf compiler version is v22 3 https github com protocolbuffers protobuf releases tag v22 3 fetch use zephyr west tool to fetch required repos sh west init m https github com aoscloud aos core zephyr mr main aos zephyr sdk cd aos zephyr sdk west update west zephyr export build sh cd aos core zephyr west build b board p auto west build t run for test and debug purpose native posix 64 or native posix board can be used for simulation qemu x86 or qemu x86 64 board can be used for xen based system xenvm qemu board can be used sh west build b board p auto dshield xenvm dom0 supported board rcar spider and rcar salvator xs m3 run sh west build t run unit tests unit tests are implemented using zephyr test framework https docs zephyrproject org latest develop test ztest html use the following commands to run the application unit tests sh west twister c v t tests all test reports will be saved in twister out folder code coverage use the following command to calculate unit tests code coverage sh zephyr scripts twister c v coverage coverage basedir src coverage tool gcovr p unit testing t tests open twister out coverage index html with your browser to see the code coverage result to see summary sh gcovr twister out unit testing f src | os |
|
SchoolLibrary | schoollibrary olympiad in information technologies | server |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.