- Http vs Https
- Https terminated at Proxy or Loadbalancer
- Load Balancing
- Sticky session
- Non-sticky session
- Statefull vs Stateless
- Client session timeout
- Server session timeout
- Caching
- static resources
This file contains hidden or 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
apply plugin: PrintTaskExecGraphPlugin | |
import org.gradle.api.Plugin | |
import org.gradle.api.Project | |
import org.gradle.api.execution.TaskExecutionGraph | |
import org.gradle.api.logging.Logger | |
import org.gradle.api.logging.Logging | |
import org.gradle.execution.taskgraph.TaskExecutionPlan | |
import org.gradle.execution.taskgraph.TaskInfo |
This file contains hidden or 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
// npm install k8s --save | |
// npm install js-yaml --save | |
import { Observable } from 'rxjs'; | |
import * as fs from 'fs'; | |
import * as os from 'os'; | |
import * as K8s from 'k8s'; | |
import * as jsyaml from 'js-yaml'; |
This file contains hidden or 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
// Handle click on page action | |
chrome.browserAction.onClicked.addListener(function(tab) { | |
chrome.tabs.executeScript({ | |
code: ` | |
(function(){ | |
var keyDisplayDiv = document.querySelector('#__keydisplay__'); | |
if (keyDisplayDiv) { | |
keyDisplayDiv.parentNode.removeChild(keyDisplayDiv); | |
document.removeEventListener('keyup', document.__keydisplay__, false); | |
return; |
This file contains hidden or 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 { BrowserWindow, Menu, MenuItem } = require("electron"); | |
function createWindow() { | |
: | |
: | |
: | |
win = new BrowserWindow({ | |
width: 800, | |
height: 400 | |
}); |
This file contains hidden or 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
var express = require('express'); | |
var app = express(); | |
var httpProxy = require('http-proxy'); | |
var apiProxy = httpProxy.createProxyServer(); | |
var ias = 'http://localhost:8765'; | |
apiProxy.on('proxyReq', function (proxyReq, req, res) { | |
// console.log('RAW Request headers sent to target:\n', JSON.stringify(proxyReq.getHeaders(), true, 2)); | |
}) | |
This file contains hidden or 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
git checkout --orphan onetime | |
git add -A | |
git commit -m "Initial commit" | |
git branch -D main | |
git branch -m main | |
git gc --aggressive --prune=all | |
git push -f origin main |
This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Layout</title> | |
<style> | |
* { | |
margin: 0; |
This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Layout</title> | |
<style> | |
* { | |
margin: 0; |
This file contains hidden or 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
void org.apache.catalina.connector.Request.parseParameters() |
OlderNewer