move wordpress from http to https

Details

shortcuts

– fold or unfold functions

Details

useful commands

– prune unused docker objects

Details

resize image

module: python-resize-image

Details

jwt authentication

Extends the WP REST API using JSON Web Tokens Authentic

Details

json handling

module: json

Details

lsof

– find processes using a specific port

Details

ssh

– ssh without password
– ssh to specific directory

Details

randomize a choice

– make a random choice from a list

Details

directory

– get script’s running directory

Details

dirname

– get current path

Details

netstat

– get process & port mapping

Details

types

– get typename

Details

customize

– page template
– colorful tag cloud

Details

basename

– remove path, keep name

Details

media elements

– audio player

Details

shortcut

– delete whole line backward
– delete one word backward
– delete one character backward

Details

git commands

– get file list in recent commits
– check commit history of a specific file
– check changes of a specific commit

Details

admin

– backup mysql database

Details

tips

– path to iCloud drive
– change hostname of system
– enable airdrop with ethernet

Details

commands

– alias
– redirect stderr to stdout

Details

rsync

– tutorial
– run as a daemon

Details

crontab

– crontab format

Details

sublime text

– config
– packages

Details

string operation

– remove a certain character from a string
– replace a certain character inside the string

Details

find info

– check distribution version
– check memory
– check cpu
– check dns

Details

config

– installation

Details

modules

– parse parameters easily
– enrich keyboard interaction
– print colorful text

Details

centos

– setup yum repo
– yum usage
– delete yum repo
– disable firewall
– localectl usage
– systemctl usage
– ntfs support

Details

config

– config maximum upload size
– remove debugging warnings
– remove the toolbar for all users
– configure a site in localhost
– fix the “Error: The password field is empty”

Details

rpm

– check files inside the rpm file
– check the pre / post scripts

Details

firefox

– open multiple tabs
– set default page to current date

Details

arguments

– command itself
– input arguments
– skip the 1st param
– judge if argument exists

Details

config

– configure system locale
– configure hosts

Details

mail

– sending mails using mail command

Details

array

– define an array
– get the length of the array
– put lines into an array

Details

while read

– extract text line by line

Details

tools

– create isolated Python environments
– specify version for pip to install a package
– specify a customized pip repo
– setup proxy for pip

Details

arguments

– check if an argument exists

Details

clearcase

– remove a dynamic view
– remove a version
– find currently used view

Details

simplify routines

– save security credentials
– auto login into user account

Details

tcpdump

– basic usages
– references

Details

uname

– check 32 or 64 bit kernel

Details

eval

– run command from a string

Details

du

– print total size of a directory
– print sizes of all sub-directories

Details

config

– multiple domain names
– virtual servers

Details

ubuntu

– change apt-get repository
– check release version

Details

config

– rc file

Details

cut

– print specific field

Details

advanced comparison

– check variable in a list

Details
X