30-secods-of-code-texteditorsippets
Icludedithisrepositoryarethefilesyoueedtoimportallthesippetsfromtheamazigresource30-secods-of-codeitoyoutexteditorofchoice(VSCode,Atom+Sublime).
Makesureyou⭐️theorigialrepohere!
Thefilesithisrepocotaithe30-secods-of-codeSippetsasofFebruary1st,2018'srelease.Theprojectisstilluderactivedevelopmetadotallthesippetscotaiedhereiareproductioready.You'vebeewared.
HowtoimportthesippetsVSCode:Goto'Prefereces'>'Usersippets'adselectthelaguage'Javascript',thepasteiallthecodefromthejavascript.jsofile.FormoreiformatiocheckouttheVSCodesippetsdocs.
Atom:Copythecodeithesippets.csofileitoyourowsippets.csofilelocatedi~./atomdirectory.FormoreiformatiocheckouttheAtomsippetsdocs.
Sublime:Moveallthe*.sublime-sippet'sitoyourPackages/Userfolder(techicallyyoucastore*.sublime-sippet'siaypackage'sfolderbutforsimplicitiessakePackages/Userwillbeeasiesttofid).IfyourstuckmakesureyoucheckouttheSublimesippetsdocs.
Alfred:Ifyou'reaAlfredpowerpackuseryouriluck,thereisaeasywaytoimportthesippetsusigthefileithisrepo.
NPM:Youcaofcourseaccessallofthesesippetsadmorewiththe30-secods-of-codepmpackagebyruigpmistall30-secods-of-codeorthetsocpmpackagebyruigpmistalltsoc.
Afterthepackageisistalledyoumayaccessasippet(s)withthefollowigotatioforode.js:import{sippetName,otherSippet}from'_30s'ad/orjavascript:cost{sippetName,otherSippet}=require('_30s')
SpecialthaksMadpropsgoouttothecoreteamadallthecotributorsat30-secods-of-codewhohaveworkedhardputtigthesesippetstogether.







评论