Convert mac-os-el-capitan-pkg-to-iso.sh
from using hdiutil
and asr
to using Linux utilities.
Important: You will need about 30GB of free disk space.
echo "" | |
echo "************ Github Dork Links (must be logged in) *******************" | |
echo "" | |
echo " password" | |
echo "https://github.com/search?q=%22$1%22+password&type=Code" | |
echo "https://github.com/search?q=%22$without_suffix%22+password&type=Code" | |
echo "" | |
echo " npmrc _auth" |
Convert mac-os-el-capitan-pkg-to-iso.sh
from using hdiutil
and asr
to using Linux utilities.
Important: You will need about 30GB of free disk space.
A step-by-step guide for running a headless Raspbian 64bit kernel and OS on Raspberry Pi. The provided configuration has been tested on models 3B, 3B+ and 4B.
Download the Raspberry Pi Imager application.
Use the application to download Raspbian Lite (under Raspbian (other)) and write the image on your SD card.
Setup wireless connection configuration by creating wpa_supplicant.conf
file in the boot folder:
<?php | |
// Safely Remove CPT slugs from your CPT permalinks. | |
// Note: Replace CPT_NAME with your CPT name. | |
/** | |
* Remove the slug from published post permalinks. Only affect our custom post type, though. | |
*/ | |
function m3_remove_cpt_slug( $post_link, $post ) { | |
if ( 'CPT_NAME' === $post->post_type && 'publish' === $post->post_status ) { |
DigitalOcean does not provide a way to download a snapshot of your droplet locally. You can use rsync to accomplish this instead.
On your local machine, assuming you have added your-server
in your SSH config:
rsync -aAXHv --append-verify --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} your-server:/
-a
: archive mode (all files, with permissions, etc.)-A
: preserve ACLs/permissions (not included with -a)echo "" | |
echo "************ Github Dork Links (must be logged in) *******************" | |
echo "" | |
echo " password" | |
echo "https://github.com/search?q=%22$1%22+password&type=Code" | |
echo "https://github.com/search?q=%22$without_suffix%22+password&type=Code" | |
echo "" | |
echo " npmrc _auth" |
UPDATED: 2025-07-01
I ran into the battle of running all of my VMs and the host node under a single public IP address. Luckily, the host is just pure Debian, and ships with iptables.
What needs to be done is essentially to run all the VMs on a private internal network. Outbound internet access is done via NAT. Inbound access is via port forwarding.
Here’s how it’s done:
Linux high IOwait is a common Linux performance issue. Today we will look at what iowait means and what contributes to this problem. Hope this can give you more ideas about high IOwait issue.
IO wait is related to the CPU resource on the server.
The iowait column on top command output shows the percentage of time that the processor was waiting for I/O to complete. It indicates that the system is waiting on disk or network IO. Because the system is waiting on those resources, it can not fully utilize the CPU.
# Add your real IPv4 subnet settings here | |
IPV4=X.X.X.X | |
CIDR=X.X.X.X/28 | |
GATEWAY=X.X.X.X | |
DNS=1.1.1.1 | |
# Add your real Interface settings here | |
INTERFACE_NAME="enp2s0" | |
VLAN_ID=4000 | |
VLAN_INTERFACE_NAME="$INTERFACE_NAME.$VLAN_ID" |