Skip to content

Instantly share code, notes, and snippets.

View agfe2silver's full-sized avatar
🏠
Working from home

silver lee agfe2silver

🏠
Working from home
View GitHub Profile
@agfe2silver
agfe2silver / README.md
Created October 13, 2023 01:29 — forked from rutcreate/README.md
Install Oracle InstantClient and SQL*Plus from source on Ubuntu 20.04

Download InstantClient

mkdir -p /opt/oracle
cd /opt/oracle
wget https://download.oracle.com/otn_software/linux/instantclient/218000/instantclient-basic-linux.x64-21.8.0.0.0dbru.zip
unzip instantclient-basic-linux.x64-21.8.0.0.0dbru.zip

Download SQLPlus

@agfe2silver
agfe2silver / settings.json
Last active October 16, 2023 06:18
i18n ally configuration
{
// Parser options for extracting HTML, see https://github.com/lokalise/i18n-ally/blob/master/src/extraction/parsers/options.ts
"i18n-ally.extract.parsers.html": {
"attributes": ["text", "title", "alt", "placeholder", "label", "aria-label"],
"ignoredTags": ["script", "style"],
"vBind": true,
"inlineText": true
},
// Enables hard-coded strings detection automatically whenever opening supported a file
"i18n-ally.extract.autoDetect": true,
@agfe2silver
agfe2silver / README.md
Created September 23, 2022 09:16 — forked from rubencaro/README.md
Python installation guide

Python installation guide

These are my notes, not a generic solution. They are not meant to work anywhere outside my machines. Update version numbers to whatever are the current ones while you do this.

Install asdf and its python plugin, then install Python

asdf lives in https://github.com/asdf-vm/asdf

Follow its installation instructions, which at the moment of writing were:

@agfe2silver
agfe2silver / WSL2-Net-Fix.ps1
Created September 13, 2022 02:15 — forked from danvy/WSL2-Net-Fix.ps1
Reset your WSL network connection trying to fix WSL2 media disconnected error
# Check these threads before proceeding:
# https://github.com/microsoft/WSL/discussions/5857
# https://github.com/microsoft/WSL/issues/5821
if (-Not ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] 'Administrator')) {
$CmdLine = "-File `"" + $MyInvocation.MyCommand.Path + "`" " + $MyInvocation.UnboundArguments
Start-Process -FilePath PowerShell.exe -Verb Runas -ArgumentList $CmdLine
Exit
}
# Restart the Host Network Service
Restart-Service -Force -Name hns
@agfe2silver
agfe2silver / openssl_commands.md
Created July 8, 2022 05:52 — forked from Hakky54/openssl_commands.md
Some list of openssl commands for check and verify your keys

openssl 🔐

Install

Install the OpenSSL on Debian based systems

sudo apt-get install openssl
@agfe2silver
agfe2silver / P2P_log.json
Last active December 11, 2021 07:43
P2P log analysis - lnav format
{
"ConnectDDHH_log" : {
"title" : "ConnectDDHH log format",
"description" : "Log format used by ConnectDDHH",
"regex" : {
"default" : {
"pattern" : "^\\[(?<timestamp>\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?)\\] MSG_CONNECT_RESULT RCode:{(?<RCode>(?:-)?\\d+)} (?<body>.*)$"
}
},
"level-field" : "RCode",
{"lastUpload":"2021-11-09T05:06:16.427Z","extensionVersion":"v3.4.3"}
@agfe2silver
agfe2silver / vim-lecture-1.org
Created August 20, 2021 10:01 — forked from alvinfrancis/vim-lecture-1.org
Vim Lectures (February 2018)

About

  • Vim (Vi IMproved)
  • created by Bram Moolenaar
  • initial release 1991 (Vi was released 1976)
  • still in active development
@agfe2silver
agfe2silver / http-benchmark.md
Created July 19, 2021 04:07 — forked from denji/http-benchmark.md
HTTP(S) Benchmark Tools / Toolkit for testing/debugging HTTP(S) and restAPI (RESTful)