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
serialize: function serialize(form) | |
{ | |
if (!form || form.nodeName !== "FORM") { | |
return; | |
} | |
var i, j, | |
obj = {}; | |
for (i = form.elements.length - 1; i >= 0; i = i - 1) { | |
if (form.elements[i].name === "") { | |
continue; |
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
function bubbleSort(arr) { | |
for (let outer = 0; outer < arr.length; outer++) { | |
for (let i = 0; i < arr.length - 1 - outer; i++) { | |
if (arr[i] > arr[i + 1]) { | |
[arr[i], arr[i + 1]] = [arr[i + 1], arr[i]]; | |
} | |
} | |
} | |
return 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
version: "3" | |
services: | |
sockd: | |
image: stamm/docker-dante:1.0 | |
env_file: socks.env | |
ports: | |
- "8088:8088" | |
restart: always | |
vpn: | |
image: "hwdsl2/ipsec-vpn-server" |
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
serialize: function serialize(form) | |
{ | |
if (!form || form.nodeName !== "FORM") { | |
return; | |
} | |
var i, j, | |
obj = {}; | |
for (i = form.elements.length - 1; i >= 0; i = i - 1) { | |
if (form.elements[i].name === "") { | |
continue; |