Every element in current Baseline
browsers
that would need a margin or padding removing in a reset stylesheet:
| Element | Chrome | Chrome for Android | Edge | Firefox | Firefox for Android | Safari | Safari for iOS |
|---|---|---|---|---|---|---|---|
body |
✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
h1 |
✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
Every element in current Baseline
browsers
that would need a margin or padding removing in a reset stylesheet:
| Element | Chrome | Chrome for Android | Edge | Firefox | Firefox for Android | Safari | Safari for iOS |
|---|---|---|---|---|---|---|---|
body |
✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
h1 |
✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
| %define BOCHS_HD_IMAGE ;define this when booting in Bochs as a hard drive image | |
| %define CONSOLE_WIDTH 0x4E | |
| %define RTC_DIVIDER 0xF | |
| %define PADDLE_WIDTH 0x08 | |
| %define PADDLE_SPEED 0x2 | |
| BITS 16 ;we are running in real mode, so 16 bit only | |
| [org 0x7C00] ;set origin address to 0x7C00. This is where BIOS drops us off in RAM |
| // a very minimal instruction set. | |
| // it has just enough operations to implement a recursive | |
| // fibonacci function - what a coincidence :D | |
| // NOTE: in my VM, i don't use an `enum`. | |
| // this is just for simplicity. | |
| #[derive(Clone, Copy, Debug)] | |
| enum Instruction { | |
| LoadInt { dst: u8, value: i16 }, | |
| Copy { dst: u8, src: u8 }, | |
| Add { dst: u8, src1: u8, src2: u8 }, |
| #Before running script give permission using "chmod +x DynamicMOTD.sh" | |
| #Install Homebrew | |
| /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
| #Install Lolcat, Cowsay and Fortune | |
| brew install lolcat | |
| brew install cowsay | |
| brew install fortune | |
| #Configuring .bash_profile and .bashrc |
| { pkgs ? import <nixpkgs> { } }: | |
| let | |
| kernel_version = "4.4.52"; | |
| kernel-sha256 = "e8d2ddaece73e1a34e045bbdcdcc1383f658e24537797f8d8e0dd520cf1b1f06"; | |
| nix_version = "1.11.9"; | |
| nix-sha256 = "0e943e277f37843f9196b0293cc31d828613ad7a328ee77cd5be01935dc6e7e1"; | |
| in rec | |
| { | |
| linux-tarball = pkgs.fetchurl { |
| # The initial version | |
| if [ ! -f .env ] | |
| then | |
| export $(cat .env | xargs) | |
| fi | |
| # My favorite from the comments. Thanks @richarddewit & others! | |
| set -a && source .env && set +a |
| let # /home/jamie/imp/src/Query.jl, line 340: | |
| local index_2 = index($(Expr(:escape, :playlist)),[2,1]) | |
| local index_2_2 = index_2[2] | |
| local index_2_1 = index_2[1] | |
| local lo_2_0 = 1 | |
| local hi_2_0 = 1 + length(index_2_2) | |
| local index_3 = index($(Expr(:escape, :playlist_track)),[1,2]) | |
| local index_3_1 = index_3[1] | |
| local index_3_2 = index_3[2] | |
| local lo_3_0 = 1 |