- Install NVM.
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh | bash
- Install node.
nvm install node
- Clone the repo
import { IParade, ParadeElement } from "./parade.d" | |
class Parade implements IParade { | |
participants: ParadeElement[] = []; | |
public addParticipant(participant: ParadeElement) { | |
participant.position = this.participants.length; | |
this.participants.push(participant); | |
} | |
} |
import { | |
BaseEntity, | |
Column, | |
CreateDateColumn, | |
Entity, | |
JoinTable, | |
ManyToMany, | |
PrimaryGeneratedColumn, | |
UpdateDateColumn, | |
} from "typeorm"; |
{ | |
"type": "postgres", | |
"host": "localhost", | |
"port": 5432, | |
"username": "test", | |
"password": "test", | |
"database": "test", | |
"synchronize": true, | |
"entities": [".build/src/**/*.entity.js"] | |
} |
// GravityForms return relative URL from page-type confirmations | |
add_filter( 'gform_pre_confirmation_save', function ($confirmation, $form) { | |
if ($confirmation['type'] === 'page') { | |
$confirmation['url'] = get_page_uri($confirmation['pageId']); | |
} | |
return $confirmation; | |
}, 10, 2 ); |
{ | |
"meta": { | |
"title": "The Template Description", | |
"description": "Explain the template and what it might be useful for" | |
}, | |
"zones": [ | |
{ | |
"x": 1038, | |
"y": 801, | |
"height": 1835, |
// Utilities : Paddings, Margins | |
$spaces: (0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20); | |
$sides: (top, right, bottom, left); | |
// Bootstrap utility classes: | |
// p-0: [padding: 0rem] | |
// ml-0: [margin-left: 0rem] | |
// pl-1 : [ padding-left: 0.25rem ] | |
// mr-2 : [ margin-right: 0.5rem ] |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh | bash
nvm install node
// Bookmarklet Code | |
javascript:(function()%7Bfunction%20callback()%7Bvoid%20function()%20%7Bfunction%20e(e%2C%20r%2C%20a)%20%7Bvar%20n%20%3D%20%22object%22%20!%3D%20typeof%20e%20%3F%20JSON.parse(e)%20%3A%20e%2C%20i%20%3D%20%22%22%3Bif%20(i%20%2B%3D%20r%20%2B%20%22%5Cr%5Cn%5Cn%22%2Ca)%20%7Bvar%20o%20%3D%20%22%22%3Bfor%20(var%20c%20in%20n%5B0%5D)o%20%2B%3D%20c%20%2B%20%22%2C%22%3Bo%20%3D%20o.slice(0%2C%20-1)%2Ci%20%2B%3D%20o%20%2B%20%22%5Cr%5Cn%22%7Dfor%20(var%20t%20%3D%200%3B%20t%20%3C%20n.length%3B%20t%2B%2B)%20%7Bvar%20o%20%3D%20%22%22%3Bfor%20(var%20c%20in%20n%5Bt%5D)o%20%2B%3D%20'%22'%20%2B%20n%5Bt%5D%5Bc%5D%20%2B%20'%22%2C'%3Bo.slice(0%2C%20o.length%20-%201)%2Ci%20%2B%3D%20o%20%2B%20%22%5Cr%5Cn%22%7Dif%20(%22%22%20%3D%3D%20i)return%20void%20alert(%22Invalid%20data%22)%3Bvar%20l%20%3D%20%22MyReport_%22%3Bl%20%2B%3D%20r.replace(%2F%20%2Fg%2C%20%22_%22)%3Bvar%20d%20%3D%20%22data%3Atext%2Fcsv%3Bcharset%3Dutf-8%2C%22%20%2B%20escape(i)%2C%20s%20%3D%20document.createElement(%22a%22)%3Bs.href%20%3D%20d%2Cs.style% |