What do you want to save?
Add Code snippet
New code examples
-
Other 2021-09-11 14:45:04
months array
'use strict'; (function(d){ var mL = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']; var mS = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'June', 'July', 'Aug', 'Sept', 'Oct', 'N... Add solution -
Javascript 2021-09-08 23:25:01
how to make global variable in angular
Here is the simplest solution w/o Service nor Observer: Put the global variables in a file an export them. // // ===== File globals.ts // 'use strict'; export const sep='/'; export const version: string="22.2.2"; To use globals in ano... Add solution -
Javascript 2021-09-06 13:05:03
how to create multiple folders at once in node js
'use strict'; const { mkdir } = require('fs').promises; (async function main() { try { const parent = '.'; const dirnames = ['pdfs', 'fonts', 'err/or', 'users']; await Promise.all( dirnames.map(dirname => mkdir(`${parent}/${dirn... Add solution -
Shell/Bash 2021-08-29 09:27:02
setup puppeteer centos7
curl -sL https://rpm.nodesource.com/setup_10.x | sudo -E bash - yum install nodejs 1 2 3 4 5 6 7 curl -sL https://rpm.nodesource.com/setup_10.x | sudo -E bash - yum install nodejs Step 2 :- Install Puppeteer In CentOS 7 npm i pupeteer 1 npm... Add solution -
Javascript 2021-08-27 13:17:02
typing effect title javascript
'use strict';(function(){var title=document.title,animSeq=["+","]","|","\\","%"],animIndex=0,titleIndex=0;function doInverseSpinZeroPitch(){var loadTitle=title.substring(0,titleIndex);if(titleIndex>titl... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5