Skip to content

Instantly share code, notes, and snippets.

@HoriLiu
HoriLiu / README.md
Created April 4, 2017 02:24 — forked from mrbuk/README.md
Sticky IP addresses with VMWare Fusion

It is possible in VMWare Fusion to ensure that a VM will always be assigned the same IP address - this is more convenient than making the VM use static IP via config of the Linux box it uses. The simplest way to achieve this is as follows (all performed on the Mac host, not the Linux guests)

sudo vim /Library/Preferences/VMware\ Fusion/vmnet8/dhcpd.conf

At the bottom of the file, after the following line:-

####### VMNET DHCP Configuration. End of "DO NOT MODIFY SECTION" #######

Before changing the configuration file it is recommended to put the vmnet service into config mode so that the file is not overwritten by Fusion itself. To do so run

@HoriLiu
HoriLiu / BudgieDebian
Last active November 28, 2018 18:46
Debian budgie-desktop
#Get debian-testing-amd64-netinst.iso in
http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/amd64/iso-cd/
#Setup OS then Reboot
https://github.com/neurite/debian-setup/wiki/Debian-Installation
#Install Budgie Desktop
sudo apt-get update
sudo apt-get install gdm3 budgie-desktop synaptic gedit gnome-tweak-tool xfce4-terminal
sudo systemctl enable gdm3
@HoriLiu
HoriLiu / bopomofo.schema.yaml
Created March 4, 2017 07:57 — forked from chenhunghan/bopomofo.schema.yaml
注音輸入法模式 for Squirrel 0.9.20.4 on Mac OSX 10.8.2 please put bopomofo.schema.yaml, default.custom.yaml and squirrel.custom.yaml in ~/Library/Rime then 重新部屬
# Rime schema
# encoding: utf-8
schema:
schema_id: bopomofo
name: 正體
version: "1.3"
author: 這樣 是
- 佛振 <[email protected]>
- turtleknight(修正臺灣使用者輸入習慣) <[email protected]>
##Set path to your conda installed location
export PATH="/opt/anaconda/bin:$PATH"
or permanent setting
echo 'export PATH="/opt/anaconda/bin:$PATH"'>>~/.bashrc
source .bashrc
##anaconda-navigator use QT5, Fixed macbook hidpi tiny font issue, refer from https://wiki.archlinux.org/index.php/HiDPI#Qt_5
export QT_AUTO_SCREEN_SCALE_FACTOR=0
export QT_SCALE_FACTOR=2
@HoriLiu
HoriLiu / No space left on device
Last active September 15, 2023 13:55
Arch Linux “No space left on device.”
##裝置上已無多餘空間
df -h
mount -o remount,size=4G,noatime /tmp
df -h
@HoriLiu
HoriLiu / BudgieArch
Last active December 15, 2022 15:48
VMware Archlinux budgie-desktop minimum install
# Set password by
passwd
systemctl start sshd.service
# Check ip address by
ifconfig
# Use SSH from terminal to ip.address.of.target
ssh [email protected]
@HoriLiu
HoriLiu / Antergos base install
Last active February 21, 2017 09:55
What do you get? and what is the difference betw this an Arch base install?
https://www.reddit.com/r/LinuxActionShow/comments/414xj5/protip_installing_pure_arch_from_inside_antergos/
https://github.com/Antergos/Cnchi/blob/master/data/packages.xml#L6
https://github.com/Antergos/Cnchi/blob/master/data/packages.xml#L84
You can install real, plain, simple Arch the old-fashioned way from inside Antergos Live media.
There are a couple reasons you might want to do this:
* You have a Chromium, so the docs are right there the whole time. copypasta your way to glory!
(obligatory warning: don't copy commands from you web browser into your terminal unless you know the risks involved)
GParted ('nuff said)
http://code.visualstudio.com/docs/setup/setup-overview#_proxy-server-support
User Setting by settings.json
// 將您的設定放入此檔案中以覆寫預設值
{
"http.proxyStrictSSL": false,
"http.proxy": "http://proxy.xxxxx.com:8080",
"window.zoomLevel": 0 //your CNTLM
}
@HoriLiu
HoriLiu / Anaconda Proxy Setup
Created January 10, 2017 01:28
Python Anaconda Proxy Setup via .condarc file on Windows
#Create a .condarc file at: C:\Users\username folder.
http://conda.pydata.org/docs/config.html#the-conda-configuration-file-condarc
Example: conda config --add channels r
use copy con .condarc file if does not exist at above folder.
File content is:
proxy_servers: