<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacks on My Notes</title><link>https://harryho.github.io/hacks/</link><description>Recent content in Hacks on My Notes</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 04 Dec 2018 14:59:31 +1100</lastBuildDate><atom:link href="https://harryho.github.io/hacks/index.xml" rel="self" type="application/rss+xml"/><item><title>Windows cmd &amp; hotkey - 1</title><link>https://harryho.github.io/hacks/windows-command-1/</link><pubDate>Wed, 09 Mar 2011 10:59:31 +1100</pubDate><guid>https://harryho.github.io/hacks/windows-command-1/</guid><description>&lt;p&gt;&lt;em&gt;Do you want to make your friends amazed by your computer skill and praise you as genius? Or the hacker as watched in Sci-Fi movies? You don&amp;rsquo;t need Mac, Linux or other operating systems, just Windows, you can show-off and look like hacker and master of Zeroes and Ones, even you have no any idea of it. Here are some tricks by which you can make your friends&amp;rsquo; jaw drop.&lt;/em&gt;&lt;/p&gt;</description></item><item><title>Windows cmd &amp; hotkey - 2</title><link>https://harryho.github.io/hacks/windows-command-2/</link><pubDate>Sat, 24 Mar 2012 10:59:31 +1100</pubDate><guid>https://harryho.github.io/hacks/windows-command-2/</guid><description>&lt;p&gt;&lt;em&gt;This article will continue the topic of Windows command &amp;amp; hotkeys. Part-1 shows you common hotkeys and short command lines for &lt;code&gt;Run&lt;/code&gt; windnow dialog. The rest of this topic will focus on the advanced commands and how to create a batch script with all those commands.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Let me clarify something first. Advanced command here does not mean that commands here are very complicated or much more powerful than common ones, which have been shown in the Part-1. Here we call them advanced, because they are used by experienced users to complete their given tasks, and those commands are used seldom by majority people. Comparing with Part-1, advanced commands have some specific features which allow them to do some special jobs, which usually are done by system admin. Advanced command is known as Admin command as well.&lt;/em&gt;&lt;/p&gt;</description></item><item><title>Windows cmd &amp; hotkey - 3</title><link>https://harryho.github.io/hacks/windows-command-3/</link><pubDate>Sun, 04 May 2014 10:59:31 +1100</pubDate><guid>https://harryho.github.io/hacks/windows-command-3/</guid><description>&lt;p&gt;&lt;em&gt;This article will continue the topic of Windows command &amp;amp; hotkeys. &lt;a href="https://harryho.github.io/hacks/windows-command-1"&gt;Part-1&lt;/a&gt; shows you common hotkeys and short command lines for &lt;code&gt;Run&lt;/code&gt; window dialog. &lt;a href="https://harryho.github.io/hacks/windows-command-2"&gt;Part-2&lt;/a&gt; advanced commands and how to create a batch script with all those commands. Here I am going to show you another secret weapon in Windows system-VBScript/JScript&lt;/em&gt;&lt;/p&gt;
&lt;h2 id="breif-history"&gt;Breif history&lt;a class="anchor" href="#breif-history"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;blockquote class='book-hint '&gt;
&lt;p&gt;VBScript/JScript is an Active Scripting language developed by Microsoft that is modeled on Visual Basic. It allows Microsoft Windows system administrators to generate powerful tools for managing computers with error handling, subroutines, and other advanced programming constructs.&lt;/p&gt;</description></item><item><title>SFTP &amp; GPG</title><link>https://harryho.github.io/hacks/sftp-pgp/</link><pubDate>Tue, 04 Dec 2018 14:59:31 +1100</pubDate><guid>https://harryho.github.io/hacks/sftp-pgp/</guid><description>&lt;h3 id="sftp"&gt;SFTP&lt;a class="anchor" href="#sftp"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;SFTP (SSH File Transfer Protocol) is a secure file transfer protocol. It runs over the SSH protocol. It supports the full security and authentication functionality of SSH.&lt;/p&gt;
&lt;p&gt;SFTP has pretty much replaced legacy FTP as a file transfer protocol, and is quickly replacing FTP/S. It provides all the functionality offered by these protocols, but more securely and more reliably, with easier configuration. There is basically no reason to use the legacy protocols any more.&lt;/p&gt;</description></item><item><title>Git Practices</title><link>https://harryho.github.io/hacks/git-notes/</link><pubDate>Thu, 11 Aug 2016 11:59:31 +1100</pubDate><guid>https://harryho.github.io/hacks/git-notes/</guid><description>&lt;h2 id="push-existing-repository-to-remote"&gt;Push existing repository to remote&lt;a class="anchor" href="#push-existing-repository-to-remote"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Update the remote git url&lt;/p&gt;
&lt;pre&gt;&lt;code&gt; $ git remote set-url origin [your_new_repo_url] 
&lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Push it remote branch master/main&lt;/p&gt;
&lt;pre&gt;&lt;code&gt; $ git push -uf origin [master/main]
&lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="create-a-new-branch-with-git"&gt;Create a new branch with git&lt;a class="anchor" href="#create-a-new-branch-with-git"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;h3 id="create-the-branch-locally"&gt;Create the branch locally&lt;a class="anchor" href="#create-the-branch-locally"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Create the branch on your local machine and switch in this branch&lt;/p&gt;
&lt;pre&gt;&lt;code&gt; $ git checkout -b [name_of_your_new_branch]
&lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="push-the-branch"&gt;Push the branch&lt;a class="anchor" href="#push-the-branch"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Push the branch on git-repository (Github, Bitbucket)&lt;/p&gt;</description></item><item><title>Cassandra Practices</title><link>https://harryho.github.io/hacks/cass-note/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://harryho.github.io/hacks/cass-note/</guid><description>&lt;p&gt;&lt;em&gt;Apache Cassandra is a free open-source database system that is NoSQL based. Meaning Cassandra does not use the table model seen in MySQL, MSSQL or PostgreSQL, but instead uses a cluster model. It’s designed to handle large amounts of data and is highly scalable.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id="install-cassandra-on-ubuntu"&gt;Install Cassandra on Ubuntu&lt;a class="anchor" href="#install-cassandra-on-ubuntu"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;h3 id="install-javajre-8"&gt;Install Java(JRE) 8+&lt;a class="anchor" href="#install-javajre-8"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="background-color:#f7f7f7;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo add-apt-repository ppa:webupd8team/java
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo apt update
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo apt-get install oracle-java8-set-default
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;java -version&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id="install-python-27"&gt;Install Python 2.7+&lt;a class="anchor" href="#install-python-27"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="background-color:#f7f7f7;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo apt install python
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;python --version&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="install-cassandra"&gt;Install Cassandra&lt;a class="anchor" href="#install-cassandra"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;First, we have to add Cassandra repository to source list by running following command. The &lt;code&gt;39x&lt;/code&gt; is the version. Use 40x if Cassandra 4.0 is the newest version:&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="background-color:#f7f7f7;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#6639ba"&gt;echo&lt;/span&gt; &lt;span style="color:#0a3069"&gt;&amp;#34;deb http://www.apache.org/dist/cassandra/debian 39x main&amp;#34;&lt;/span&gt; &lt;span style="color:#1f2328"&gt;|&lt;/span&gt; &lt;span style="color:#0a3069"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo tee -a /etc/apt/sources.list.d/cassandra.sources.list&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ul&gt;
&lt;li&gt;Next, run the cURL command to add the repository keys :&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="background-color:#f7f7f7;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;curl https://www.apache.org/dist/cassandra/KEYS &lt;span style="color:#1f2328"&gt;|&lt;/span&gt; &lt;span style="color:#0a3069"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo apt-key add -&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ul&gt;
&lt;li&gt;We can now update the repositories and install Cassandra:&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="background-color:#f7f7f7;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo apt-get update
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo apt install cassandra
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#57606a"&gt;# optional - It works on MacBook&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo reboot&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ul&gt;
&lt;li&gt;Check Cassandra status&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="background-color:#f7f7f7;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;nodetool status&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="install-cassandra-with-docker"&gt;Install Cassandra with Docker&lt;a class="anchor" href="#install-cassandra-with-docker"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;h3 id="create-node-n1"&gt;Create node n1&lt;a class="anchor" href="#create-node-n1"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;docker run --name n1 -d tobert/cassandra -dc DC1 -rack RAC1
docker ps
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id="get-ip-of-node-n1"&gt;Get IP of node n1&lt;a class="anchor" href="#get-ip-of-node-n1"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;IP=`docker inspect -f '{{ .NetworkSettings.IPAddress }}' n1`
echo $IP
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id="check-status-of-n1"&gt;Check status of n1&lt;a class="anchor" href="#check-status-of-n1"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;docker exec -it n1 nodetool status

# You will see status of Datacenter D1 below

# Datacenter: DC1
# ===============
# Status=Up/Down
# |/ State=Normal/Leaving/Joining/Moving
# -- Address Load Tokens Owns (effective) Host ID Rack
UN 172.17.0.2 51.53 KB 256 100.0% 8965869d-cae8-41a6-bf19-ff69c2605c6c RAC1
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id="create-node-n2-on-rack-rac2"&gt;Create node n2 on rack RAC2&lt;a class="anchor" href="#create-node-n2-on-rack-rac2"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;docker run --name=n2 -d tobert/cassandra -dc DC1 -rack RAC2 --seeds $IP

docker exec -it n1 nodetool status

# You will see status of Datacenter D1 below

# Datacenter: DC1
# ===============
# Status=Up/Down
# |/ State=Normal/Leaving/Joining/Moving
# -- Address Load Tokens Owns (effective) Host ID Rack
# UN 172.17.0.3 72.01 KB 256 100.0% cfa002b0-350c-41b8-9f86-eb8978a43b26 RAC2
# UN 172.17.0.2 51.53 KB 256 100.0% 8965869d-cae8-41a6-bf19-ff69c2605c6c RAC1
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id="check-node-n2-configuration"&gt;Check node n2 configuration&lt;a class="anchor" href="#check-node-n2-configuration"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;docker exec -it n2 cat /data/conf/cassandra.yaml | grep endpoint
docker exec -it n2 cat /data/conf/cassandra-rackdc.properties | grep -e &amp;quot;dc&amp;quot; -e &amp;quot;rack&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id="create-node-n3-on-datacenter-d2-and-rack-rac1"&gt;Create node n3 on Datacenter D2 and rack RAC1&lt;a class="anchor" href="#create-node-n3-on-datacenter-d2-and-rack-rac1"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;docker run --name=n3 -d tobert/cassandra -dc DC2 -rack RAC1 --seeds $IP
docker exec -it n1 nodetool status

# You will see status below. It may take a few seconds to get everything up and run.

# Datacenter: DC1
# ===============
# Status=Up/Down
# |/ State=Normal/Leaving/Joining/Moving
# -- Address Load Tokens Owns (effective) Host ID Rack
# UN 172.17.0.3 134.03 KB 256 66.1% cfa002b0-350c-41b8-9f86-eb8978a43b26 RAC2
# UN 172.17.0.2 102.84 KB 256 64.5% 8965869d-cae8-41a6-bf19-ff69c2605c6c RAC1

# Datacenter: DC2
# ===============
# Status=Up/Down
# |/ State=Normal/Leaving/Joining/Moving
# -- Address Load Tokens Owns (effective) Host ID Rack
UN 172.17.0.4 14.38 KB 256 69.4% 0fad8335-763d-42fa-9934-3ed10c44eaa8 RAC1
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id="setup-replication-strategy"&gt;Setup replication strategy&lt;a class="anchor" href="#setup-replication-strategy"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;docker 
create keyspace csdb with replication = {'class':'NetworkTopologyStrategy','DC1':2,'DC2':1}
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id="check-csdb-status"&gt;Check csdb status&lt;a class="anchor" href="#check-csdb-status"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;docker exec -it n1 nodetool describering csdb

# Run nodetool status and note that the one node in DC2 owns all the data
docker exec -it n1 nodetool status csdb 

# Stop and remove all four docker containers:
docker stop n1 n2 n3 n4; docker rm n1 n2 n3 n4
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id="create-single-datacenter-with-3-nodes"&gt;Create single Datacenter with 3 nodes&lt;a class="anchor" href="#create-single-datacenter-with-3-nodes"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;h3 id="create-3-nodes-with-local-mounted-directory"&gt;Create 3 nodes with local mounted directory&lt;a class="anchor" href="#create-3-nodes-with-local-mounted-directory"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;docker run --name=n1 -v $PWD/ws/ps/cassdev/scripts:/scripts -d tobert/cassandra
docker exec -it n1 nodetool status

IP=`docker inspect -f '{{ .NetworkSettings.IPAddress }}' n1`
echo $IP

docker run --name=n2 -d tobert/cassandra --seeds $IP
docker run --name=n3 -d tobert/cassandra --seeds $IP

docker exec -it n1 /bin/bash
cd scripts
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id="list-scripts"&gt;List scripts&lt;a class="anchor" href="#list-scripts"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;docker exec -it n1 /bin/bash
cd /scrpts &amp;amp;&amp;amp; ls
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id="create-keyspace-with-simple-replication"&gt;Create keyspace with simple replication&lt;a class="anchor" href="#create-keyspace-with-simple-replication"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;docker exec -it n1 cqlsh
create keyspace csdb with replication = 
{'class':'SimpleStrategy', 'replication_factor':1};
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id="create-table-and-insert-data-with-script"&gt;Create table and insert data with script&lt;a class="anchor" href="#create-table-and-insert-data-with-script"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;docker exec -it n1 cqlsh

&amp;gt; desc keyspaces;
&amp;gt; desc tables;
&amp;gt; use ussdb;
&amp;gt; source '/scripts/courses.cql'
&amp;gt; source '/scripts/users.cql'
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id="cql"&gt;CQL&lt;a class="anchor" href="#cql"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;docker exec -it n1 cqlsh

&amp;gt; use ussdb;
&amp;gt; desc tables;
&amp;gt; select * from users;
&amp;gt; select * from courses;
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id="troubleshoot"&gt;Troubleshoot&lt;a class="anchor" href="#troubleshoot"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Connection error&lt;/p&gt;</description></item><item><title>Debug PHP with Free IDE</title><link>https://harryho.github.io/hacks/php-debug/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://harryho.github.io/hacks/php-debug/</guid><description>&lt;h2 id="pdt-and-netbeans"&gt;PDT and Netbeans&lt;a class="anchor" href="#pdt-and-netbeans"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;blockquote class='book-hint '&gt;
&lt;p&gt;&lt;em&gt;PDT and Netbeans are two most popluar free PHP IDEs. We choose such IDE for productivity, so code intelligence and debug are two key factors, which let us love IDE. Because both are not created for PHP development at the start, there is no built-in server to support the PHP web debug. When we want to use it to debug, we would come across some wierd problems. Here is how to prepare the IDE for PHP debug.&lt;/em&gt;&lt;/p&gt;</description></item><item><title>Docker Practices</title><link>https://harryho.github.io/hacks/docker-note/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://harryho.github.io/hacks/docker-note/</guid><description>&lt;blockquote class='book-hint '&gt;
&lt;p&gt;Docker is an open platform for developing, shipping, and running applications. Docker provides the ability to package and run an application in a loosely isolated environment called a container. The isolation and security allow you to run many containers simultaneously on a given host. Containers are lightweight because they don’t need the extra load of a hypervisor, but run directly within the host machine’s kernel. This means you can run more containers on a given hardware combination than if you were using virtual machines. You can even run Docker containers within host machines that are actually virtual machines!&lt;/p&gt;</description></item><item><title>Qemu &amp; Virtual Machine</title><link>https://harryho.github.io/hacks/qemu-notes/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://harryho.github.io/hacks/qemu-notes/</guid><description>&lt;p&gt;&lt;em&gt;&lt;strong&gt;What is Qemu ?&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://wiki.qemu.org/Main_Page"&gt;QEMU&lt;/a&gt; is free and open source. And is licensed under GPL 2. it has the ability to run under both KVM and XEN models (if you enabled virtualization technology from your BIOS first) and offers a lot of options and virtualization options. In this article, we’ll explain how to use QEMU and install it.&lt;/p&gt;
&lt;p&gt;QEMU is a virtualization technology emulator that allows you to run operating systems and Linux distributions easily on your current system without the need to install them or burn their ISO files. It is like VMware or VirtualBox. You can use it at anytime to emulate running any operating system you want on a lot of devices and architecture.&lt;/p&gt;</description></item><item><title>VirtualBox Notes</title><link>https://harryho.github.io/hacks/vbox-notes/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://harryho.github.io/hacks/vbox-notes/</guid><description>&lt;h2 id="network"&gt;Network&lt;a class="anchor" href="#network"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;h3 id="not-attached"&gt;Not attached.&lt;a class="anchor" href="#not-attached"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;In this mode, Oracle VM VirtualBox reports to the guest that a network card is present, but that there is no connection. This is as if no Ethernet cable was plugged into the card. Using this mode, it is possible to &amp;ldquo;pull&amp;rdquo; the virtual Ethernet cable and disrupt the connection, which can be useful to inform a guest operating system that no network connection is available and enforce a reconfiguration.&lt;/p&gt;</description></item></channel></rss>