Please see: https://github.com/kevinSuttle/html-meta-tags, thanks for the idea @dandv!
Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/
#301 Redirects for .htaccess | |
#Redirect a single page: | |
Redirect 301 /pagename.php http://www.domain.com/pagename.html | |
#Redirect an entire site: | |
Redirect 301 / http://www.domain.com/ | |
#Redirect an entire site to a sub folder | |
Redirect 301 / http://www.domain.com/subfolder/ |
var getTableDataAJAX = function() { | |
var getTableData = new XMLHttpRequest(); | |
getTableData.onreadystatechange = function() { | |
if(getTableData.readyState === 4) { | |
var tableInfo = JSON.parse(getTableData.responseText); | |
var tableHeading = tableInfo.tableHeading; | |
var tableCellsPets = tableInfo.tableCellsPets; | |
var tableCellsPeople = tableInfo.tableCellsPeople; |
A non-exhaustive list of WebGL and WebGPU frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are wip/outdated/not maintained anymore.
Name | Stars | Last Commit | Description |
---|---|---|---|
three.js | ![GitHub |
console.log("---> Running"); | |
const curl = require("curl"); | |
const jsdom = require("jsdom"); | |
const url = "http://www.imdb.com/list/ls004489992/"; | |
curl.get(url, null, (err,resp,body)=>{ | |
if(resp.statusCode == 200){ | |
parseData(body); | |
} |
class State { | |
constructor(display, actors) { | |
this.display = display; | |
this.actors = actors; | |
} | |
update(time) { | |
/** | |
* provide an update ID to let actors update other actors only once |
del v7.0.0 moved to pure ESM (no dual support), which forced me to move my gulpfile to ESM to be able to continue to use del
.
The author sindresorhus maintains a lot of npm packages and does not want to provides an upgrade guide for each package so he provided a generic guide. But this guide is a bit vague because it's generic and not helping for gulp, hence this guide.
import { generateKeyPair, generateSharedSecret, generateHMAC, KeyPair } from '../utils/crypto.utils'; | |
import axios from 'axios'; | |
let sharedSecret: Buffer; | |
export async function sendAAPublicKey(): Promise<Buffer> { | |
try { | |
const response = await axios.get('http://localhost:3000/init'); | |
const boostPublicKey: Buffer = Buffer.from(response.data.boostPublicKey, 'hex'); |