.left-column[
.footnote[.red.bold[] Table of Contents] ]
.right-column[ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ - o 0 o - ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
https://discord.com/channels/907722916697878559/1088742675097858099 | |
https://www.blobomatic.2dmedia.co.uk/images/gallery/0c85891e5ff21b5f2f8febe4edac9bb9.png | |
!Lex7w6rRyzqec3E | |
https://mailfence.com/flatx/index.jsp#tool=mail&folderoid=96405144 | |
ReadyForExtras2304241600 | |
apt202304241145 |
#!/bin/bash | |
# | |
# ############################################################################# | |
# Create new SSH user (Ubuntu) | |
# I use this script whenever I need to add a new SSH user to an Ubuntu machine. | |
# Usage: | |
# 1) Download the "raw" with - wget -O createNewSSHUser.sh https://gist.github.com/raw/4223476 | |
# 2) Make it executable with - chmod a+x createNewSSHUser.sh | |
# 3) Uncomment the last line and edit the user & pwd values | |
# 4) Execute it with : sudo ./createNewSSHUser.sh |
#!/usr/bin/env bash | |
# | |
export MYPWD=""; # MySQL password | |
export ADMPWD=""; # Administrator password | |
export THESITE="my site"; # Site name | |
export USERCTX=".profile"; | |
source ${HOME}/${USERCTX}; | |
if [ "${BASH_SOURCE[0]}" -ef "$0" ] |
# ----------------------------------------------------------------------- | |
# Alias configuration: 'erpls' «begins» | |
# Alias 'erpls' binds to remote user 'erpadm@erp.logichem.solutions' | |
Host erpls | |
User erpadm | |
HostName erp.logichem.solutions | |
ServerAliveInterval 120 | |
ServerAliveCountMax 20 | |
IdentityFile /home/hasan/.ssh/erpadm_logichem_solutions | |
# Alias configuration: 'erpls' «ends» |
.left-column[
.right-column[ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ - o 0 o - ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
{ | |
"info": { | |
"_postman_id": "d7e3ee8c-fc3b-4aca-bc0b-3f4afc890eb6", | |
"name": "Kraken", | |
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | |
}, | |
"item": [ | |
{ | |
"name": "Private", | |
"item": [ |
#!/bin/bash | |
# | |
DROP_ROWCOUNTS="\"DROP TABLE IF EXISTS rowcounts;\"" | |
MAKE_ROWCOUNTS="\"CREATE TABLE rowcounts | |
( | |
name_server character varying(64) NOT NULL | |
, name_table character varying(64) NOT NULL | |
, count integer | |
);\"" | |
# |
snyk wizard --debug | |
snyk wizard { _: [ [Circular] ], debug: true } +0ms | |
snyk ~~~~ LIVE RUN ~~~~ +0ms | |
snyk sending request to: https://snyk.io/api/v1/verify/token +0ms | |
snyk request body size: 2 +0ms | |
snyk gzipped request body size: 22 +0ms | |
snyk not using proxy +1ms | |
snyk not using proxy +2s | |
Snyk's wizard will: |
#!/bin/bash | |
# | |
# ################### ################### ################### | |
# | |
# OpenERP admins can use this bash script to learn how to | |
# prepare a pair of Ubuntu 12.04 Postgres hosts for | |
# master-master replication with Bucardo. | |
# | |
# * * * Caution : Work In Progress. * * * | |
# IT DOES NOT WORK YET |
primary = eth.accounts[0]; | |
balance = web3.fromWei(eth.getBalance(primary), "ether"); | |
miner.setEtherbase(primary) | |
console.log(" -Starting mining."); | |
miner.start(8); admin.sleepBlocks(3); miner.stop() ; | |
console.log(" - Mined 3 blocks "); | |
balance = web3.fromWei(eth.getBalance(primary), "ether"); |