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
'use strict'; | |
const https = require('https'); | |
const http = require('http'); | |
const $url = require('url'); | |
const querystring = require('querystring'); | |
const CORS_HEADERS = { | |
'Access-Control-Allow-Methods': 'OPTIONS,POST', | |
'Access-Control-Allow-Headers': 'Content-Type,Authorization,X-Amz-Date,X-Api-Key,X-Amz-Security-Token', |
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
DefaultSwidProcessor processor = new DefaultSwidProcessor(); | |
processor.setGenerator(new SequentialIdGenerator(0, 1, "e", null)); | |
processor.setName("NetLicensing") | |
.setVersion("2.1.0") | |
.setVersionScheme(VersionScheme.UNKNOWN) | |
.setSupplemental(true) | |
.addEntity(new EntityBuilder().name("Labs64") | |
.role("softwareCreator") | |
.role("softwareLicensor") | |
.role("tagCreator") |
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
// 1) Open website | |
// e.g. https://netlicensing.io | |
// 2) Open browser console | |
// - Firefox: Tools > Web Developer > Web Console | |
// - Chrome: More Tools > Developer Tools | |
// - Safari: Develop > Show JavaScript Console | |
// 3) Load GuideChimp scripts and styles | |
fetch('https://io.labs64.com/GuideChimp/docs/samples/bootstrap-browser-console.js') |
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
# Use browser developer console to verify DOM element selector | |
document.querySelector('section#stay-up-to-date-with-netlicensing-platform-news p.change-description') |
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
<?php | |
/** | |
* @package Creating Tables Boilerplate WordPress Plugin | |
* @version 1.0 | |
*/ | |
/* | |
Plugin Name: Creating Tables Boilerplate WordPress Plugin | |
Plugin URI: https://praison.com/ | |
Description: Creating Tables Boilerplate WordPress Plugin | |
Author: Mervin Praison |
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
#!/bin/sh | |
# Сlear containers: | |
docker rm -f $(docker ps -a -q) | |
# Сlear images: | |
docker rmi -f $(docker images -a -q) | |
# Remove all the dangling images: | |
docker rmi $(docker images -q -f dangling=true) |
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
# install Homebrew | |
$ su ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
# show brew commands | |
$ brew help | |
# check current user | |
$ echo $(whoami) | |
# grant access to the folders |
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
<VirtualHost netlicensing.labs64.com:443> | |
... | |
<Location /core> | |
# CORS withCredentials=false (without cookies) | |
Header always set Access-Control-Allow-Origin "*" | |
Header always set Access-Control-Allow-Methods "GET, POST, PUT, DELETE, OPTIONS" | |
Header always set Access-Control-Allow-Headers "Content-Type, Accept, Authorization" | |
Header always set Access-Control-Max-Age: "3600" |
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
Customer -> Manager > calculate 1 + 2 = ? | |
Manager -> Developer > FYI | |
Developer -> Manager > 3 | |
Manager -> Lead > FYA | |
Lead -> Manager > how 3 why 3 what 3 ? | |
Manager -> Developer > FYI | |
Developer -> Manager > '+' is addition, 1 and 2 are integers | |
Manager -> Lead > FYA | |
Lead -> Manager > OK | |
Manager -> All > calls for a meeting |
NewerOlder