What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-09-06 06:39:01
javascript css animation
Personally https://animejs.com/ Add solution -
Javascript 2021-09-05 16:43:02
express authorization middleware
const express = require('express'); const jwt = require('jsonwebtoken'); app.set('view engine', 'ejs'); // Simple page that a user must be authorized to access // using JSON web tokens: app.get('/lockedpage', authToken, (req, res) => { res.render('lo... Add solution -
PHP 2021-09-04 19:41:01
string json format to object in php
<?php // JSON string $someJSON = '[{"name":"Jonathan Suh","gender":"male"},{"name":"William Philbin","gender":"male"},{"name":"Allison McKinnery",&q... Add solution -
Javascript 2021-09-04 17:50:02
angular.json to war
<properties> <angular.project.location>angular-project</angular.project.location> <angular.project.nodeinstallation>node_installation</angular.project.nodeinstallation> </properties> <plugin> ... Add solution -
TypeScript 2021-09-04 17:37:02
coldfusion check if key exists and not empty
<cfset arrayOfStructs = deserializeJson(jsonJobsOpen)> <cfloop array="#arrayOfStructs#" index="thisValue"> <!--- Now you can use this condition to check for empty values ---> <cfif StructKeyExists(thisValue... Add solution -
Javascript 2021-09-04 05:26:02
angular json to file and download
constructor(private sanitizer: DomSanitizer){} generateDownloadJsonUri() { var theJSON = JSON.stringify(this.resJsonResponse); var uri = this.sanitizer.bypassSecurityTrustUrl("data:text/json;charset=UTF-8," + encodeURICompon... Add solution -
Javascript 2021-09-03 02:35:02
node js version 14
sudo apt update curl -sL https://deb.nodesource.com/setup_14.x | sudo bash - sudo apt -y install nodejs node -v # Install Node Development tools sudo apt -y install gcc g++ make # Install Yarn curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo ap... Add solution -
Other 2021-09-01 08:15:01
vue component template by id
<script type="text/x-template" id="hello-world-template"> <p>Hello hello hello</p> </script> Vue.component('hello-world', { template: '#hello-world-template' }) https://vuejs.org/v2/guide/components-edge-ca... Add solution