-
In
~/.ssh/config, include the lines:Host * ControlPath ~/.ssh/sockets/%r@%h-%p
| #@yasinkuyu 08/09/2017 | |
| # install luminati (https://luminati.io) proxy manager & run | |
| from selenium import webdriver | |
| from selenium.webdriver.common.proxy import Proxy, ProxyType | |
| from selenium.webdriver.chrome.options import Options | |
| from selenium.webdriver.common.proxy import * | |
| PROXY = '127.0.0.1:24000' |
| import macros | |
| macro match(head, body: untyped): untyped = | |
| result = newNimNode nnkStmtList | |
| var casenode = newNimNode nnkCaseStmt | |
| casenode.add head | |
| for node in body: | |
| node.expectKind nnkInfix |
| // FP Lenses | |
| const lens = get => set => ({ get, set }); | |
| const view = lens => obj => lens.get(obj); | |
| const set = lens => val => obj => lens.set(val)(obj); | |
| const over = lens => fn => obj => set(lens)(fn(view(lens)(obj)))(obj); | |
| const lensProp = key => lens(prop(key))(assoc(key)); |
| ### KERNEL TUNING ### | |
| # Increase size of file handles and inode cache | |
| fs.file-max = 2097152 | |
| # Do less swapping | |
| vm.swappiness = 10 | |
| vm.dirty_ratio = 60 | |
| vm.dirty_background_ratio = 2 |
| Number of files that imports the module (~15000 files total) | |
| 1 oswalkdir | |
| 1 rstgen | |
| 1 ftpclient | |
| 1 distros | |
| 1 strmisc | |
| 2 rlocks | |
| 2 lenientops | |
| 2 unidecode | |
| 3 httpserver |
| package bill.boottest; | |
| import org.slf4j.Logger; | |
| import org.slf4j.LoggerFactory; | |
| import org.springframework.boot.CommandLineRunner; | |
| import org.springframework.boot.SpringApplication; | |
| import org.springframework.boot.autoconfigure.SpringBootApplication; | |
| import org.springframework.cloud.aws.messaging.listener.annotation.SqsListener; | |
| import com.fasterxml.jackson.annotation.JsonCreator; |