This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="block-title">Block Title</div> | |
<div class="block"> | |
<div class="block-header">Block Header</div> | |
<p>Block content</p> | |
<div class="block-footer">Block Footer</div> | |
</div> | |
<div class="card card-outline"> | |
<div class="card-header">Header</div> | |
<div class="card-content card-content-padding"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.jams { | |
background: #015488; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require('fs'); | |
var pdf = require("pdf-creator-node"); | |
var moment = require('moment'); | |
var appRoot = require('app-root-path'); | |
// read html file | |
var html = fs.readFileSync('./includes/orderpdf.html', 'utf8'); | |
var options = { | |
format: "A4", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Kill all open processes | |
// Kill method 2 | |
ps -ef | grep node | |
2617 u0_a171 0:04 /data/data/com.termux/files/usr/bin/node app.js | |
3341 u0_a171 0:00 grep node | |
kill 2617 | |
// Upgrade node mac using home-brew |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
const NeoData = { user: '5defc7bf5e3ae312e40d75ac', site: '5df368d93b1f3c743b1b3239', track: [], tempaction: {} } | |
</script> | |
<script src="https://app.neoonline.live/v1/neo.js" type="text/javascript"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
prfs.sendmessage(subject, type, html, text, to); | |
const mailOptions = { | |
from: 'dne.life <[email protected]>', | |
// replyTo: frommail, | |
to: inbound.nr.email, | |
subject: `${slottype} confirmation`, | |
text: textm, | |
html: cn7, | |
attachments: [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// all queries require the auth token to be sent | |
// get all parent goals | |
const parentgoals = this.axiosget("/goals/parents"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const oldPackage = JSON.parse(JSON.stringify(this.package)); // copy object | |
setTimeout(() => {}, 1000); | |
// Arrays | |
array.splice(pos, 1); // Removes the first element of the array | |
// clone array | |
let arr2 = [...arr]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
const NeoData = { user: 'neouser', site: 'siteid', track: [], tempaction: {} } | |
</script> | |
<script src="https://app.neoonline.live/v1/neo.js" type="text/javascript"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// router | |
this.$router.push({ name: 'analytics' }); | |
this.$router.push({ path: '/path' }); | |
const currentroute = this.$router.currentRoute; | |
const currentroute = this.$router.currentRoute.path; | |
@click="(var) ? var=false:var=true" | |
<template v-html="html_text"></template> |