What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-01-29 13:00:32
transpiler Babel
<!-- v6 <script src="https://unpkg.com/babel-standalone@6/babel.min.js"></script> --> <script src="https://unpkg.com/@babel/standalone/babel.min.js"></script> <!-- Your custom script here --> <scr... Add solution -
Javascript 2022-01-29 07:30:50
javascript push object into array with variable key
//Normal Javascript var key = "happyCount"; var obj = {}; obj[key] = someValueArray; myArray.push(obj); //OR //If you're able to use ES6 and Babel, you can use this new feature: { [yourKeyVariable]: someValueArray, } Add solution -
Javascript 2022-01-23 05:01:01
babel cmd
npm i -D @babel/core @babel/preset-env babel-loader Add solution -
Other 2021-11-20 07:38:23
multicolumn and multirow in tabularx
\documentclass{article} \usepackage[utf8]{inputenc} \usepackage[russian]{babel} \usepackage{multirow,tabularx} \begin{document} \begin{tabularx}{\textwidth}{|X|X|X|X|c|c|} \hline \multirow{2}*{N} & \multirow{2}*{номер} & \m... Add solution -
Other 2021-11-19 01:08:14
__typename remove graphql
There are three ways of doing this **First way** Update the client parameter like this it will omit the unwanted fields in graphql. <!-- begin snippet: js hide: false console: true babel: false --> <!-- language: lang-js --> apollo.cr... Add solution -
TypeScript 2021-11-15 01:54:14
typescript config
//type config configuration { "compilerOptions": { "outDir": "dist", "target": "ESNext", "module": "CommonJS", "moduleResolution": "node", "esModuleI... Add solution -
Html 2021-11-13 20:45:10
HTML to react
<!DOCTYPE html> <html> <script src="https://unpkg.com/react@16/umd/react.production.min.js"></script> <script src="https://unpkg.com/react-dom@16/umd/react-dom.production.min.js"></script> <... Add solution -
Other 2021-11-11 15:00:20
define multiple authors LateX
\documentclass[11pt,english]{article} \usepackage[T1]{fontenc} \usepackage{babel} \author{ LastName1, FirstName1\\ \texttt{[email protected]} \and LastName2, FirstName2\\ \texttt{[email protected]} } \title{Usage of the \texttt{\textb... Add solution