Tips, Tricks and Tools

... and Thoughts

▼
Sunday, May 28, 2023

Golang: selenium test with Google Chrome browser

›
package main   import (   "errors"   "fmt"   "log"   "os"     "github.com/tebeka/selenium"...
Monday, March 20, 2023

golang: sftp connecting to a remote server

›
package main import (   "github.com/pkg/sftp"   "golang.org/x/crypto/ssh"   "log" ) func main() {     // for d...
Sunday, March 19, 2023

golang: compute PBKDF2 of a password

›
  package main import (   "bytes"   "crypto/rand"   "crypto/sha256"   "encoding/hex"   "fmt...
Saturday, March 18, 2023

golang: example of query and update with MySQL DB

›
package main   import {   "database/sql"   "log"   _ "github.com/go-sql-driver/mysql" }   func dbConn() *sql.D...
Friday, March 17, 2023

Debug SSL connection with ssltap

›
1. Run ssltap on port 19240:   $ ssltap -s -p 19240 <remote host>:<remote port>  2. In a browser, access the remote-host:remote-...
Thursday, March 16, 2023

Oracle: dump stored procedure

›
SELECT text FROM sys.all_source   WHERE owner = 'schema-owner'    AND name = 'package-name'    AND type = 'PACKAGE BODY...
Wednesday, March 15, 2023

How to stop Google Chrome from automatically redirecting to HTTPS

›
1. In a new browser tab, enter URL: chrome://net-internals/#hsts 2. Scroll down to "Delete domain security policies" and enter the...
Tuesday, March 14, 2023

nginx configuration example for a simple proxy

›
Build nginx from source code: $ ./configure --prefix=/path/to/install --with-http_ssl_module --without-http_rewrite_module --with-debug $ ma...
Wednesday, November 30, 2022

Windows: Force WiFi to work only on 5GHz

›
1. From Control Panel, open Device Manager as Administrator; 2. Expand Network Adapters; 3. Double click on the WiFi device you want to chan...
Monday, October 10, 2022

Windows VirtualBox VM Downloads

›
Windows (with IE8/9/10/11/Edge) Virtual Machine Download URLs: Official: https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/ Git...
›
Home
View web version
Powered by Blogger.