To setup your computer to work with *.dev domains, e.g. project.dev, awesome.dev and so on, without having to add to your hosts file each time.
- Homebrew
- Mountain Lion
| # Make sure ghdl and gtkwave is in your PATH | |
| SRCS = design.vhd | |
| TB = design_tb.vhd | |
| CC = ghdl | |
| SIM = gtkwave | |
| ARCHNAME=$(shell grep architecture $(TB) | cut -f 4 -d ' ') | |
| SIMNAME = wave.vcd |
To setup your computer to work with *.dev domains, e.g. project.dev, awesome.dev and so on, without having to add to your hosts file each time.
Via brew or other method
In order to work on every connection and on any TLD, dnsmasq needs to be the first DNS resolver receving the query.
And since dnsmasq is a local process, all DNS queries need to go to 127.0.0.1
On macOS, /etc/resolv.conf is automaticaly created, depending on a variety of things (network settings, etc), so it cannot be edited.
| set disassembly-flavor intel | |
| define hook-stop | |
| x/16wx $esp | |
| x/i $pc | |
| x/8x $ebp | |
| end |
| wget \ | |
| --recursive \ | |
| --no-clobber \ | |
| --page-requisites \ | |
| --html-extension \ | |
| --convert-links \ | |
| --restrict-file-names=windows \ | |
| --domains domain.name \ | |
| --no-parent \ | |
| http://domain.name |
| #define int32_t int | |
| #define int16_t short | |
| #define int8_t char | |
| #define uint32_t unsigned int | |
| #define uint16_t unsigned short | |
| #define uint8_t unsigned char | |
| #define PERIPH_BASE ((uint32_t) 0x40000000) | |
| #define GPIOD_BASE (PERIPH_BASE + 0x11400) // GPIOD base address is 0x40011400 | |
| #define RCC_BASE (PERIPH_BASE + 0x21000) // RCC base address is 0x40021000 |
| #!/bin/sh | |
| echo Install all AppStore Apps at first! | |
| # no solution to automate AppStore installs | |
| read -p "Press any key to continue... " -n1 -s | |
| echo '\n' | |
| echo Install and Set San Francisco as System Font | |
| ruby -e "$(curl -fsSL https://raw.github.com/wellsriley/YosemiteSanFranciscoFont/master/install)" | |
| echo Install Homebrew, Postgres, wget and cask | |
| ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" |
| apt-get install kernel-package libncurses5-dev fakeroot wget bzip2 build-essential | |
| cd /usr/src | |
| wget http://www.kernel.org/pub/linux/kernel/XX.bz2 | |
| make clean && make mrproper | |
| cp /boot/config-`uname -r` ./.config | |
| make-kpkg clean | |
| fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers |
| bootsect /nt60 ALL /mbr |
| ; | |
| ; Netatalk 3.x configuration file | |
| ; | |
| [Global] | |
| hostname = crazy_hostname.domain | |
| afp interfaces = em0 em1 | |
| afp listen = 10.0.0.1 1.2.3.4 | |
| cnid listen = 127.0.0.1 | |
| vol preset = default_for_all |