- Download the installer available at https://www.python.org/downloads/windows/
- Add Python/ and Python/Scripts to $PATH
- Go to https://pip.pypa.io/en/stable/installing/
- Download get-pip.py
- Execute "python get-pip.py"
| # Change for the correct partition | |
| set root=(hd1,3) | |
| set partiton=/dev/sda3 | |
| # Boot Machine | |
| linux /vmlinuz root=$partition | |
| initrd /initrd.img | |
| boot |
| ARCH = x86_64 | |
| EFIROOT = /usr | |
| HDDRROOT = $(EFIROOT)/include/efi | |
| INCLUDES = -I. -I$(HDDRROOT) -I$(HDDRROOT)/$(ARCH) -I$(HDDRROOT)/protocol | |
| CRTOBJS = $(EFIROOT)/lib/crt0-efi-$(ARCH).o | |
| CFLAGS = -O2 -fPIC -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -mno-red-zone | |
| ifeq ($(ARCH),x86_64) | |
| CFLAGS += -DEFI_FUNCTION_WRAPPER | |
| endif |
| Pan Docs | |
| -------- | |
| Overview | |
| --> About the Pan Docs | |
| --> Game Boy Technical Data | |
| --> Memory Map | |
| I/O Ports | |
| --> Video Display |
| LD SP,$fffe ; $0000 Inizializza Stack- copia $fffe in SP (Stack Pointer) | |
| XOR A ; $0003 Setta a 0 la memoria da $8000-$9FFF (VRAM) (xor tra A e se stesso=tutti 0 essendo bit uguali) | |
| LD HL,$9fff ; $0004 Setta HL- puntatore per pulire la VRAM | |
| Addr_0007: | |
| LD (HL-),A ; $0007 Setta HL a 0 (essendo A tutti bit 0), decrementa HL portandolo a $9ffe | |
| BIT 7,H ; $0008 Bit piu significante di H=$9f= 10011111 ossia 1 - zero flag del registro F viene pulito | |
| JR NZ, Addr_0007 ; $000a jump if not zero to address 0x000C-0x0005=0x0007 | |
| questa procedura qui sopra continua in loop scrivendo 0 in $9FFE,$9FFD...fintanto che | |
| il jump viene annullato=condizione 'not zero' vera. |
| -module(solution). | |
| main() -> to_implement. |
| 1. Open RegEdit | |
| 2. Create a Registry Key: "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Debug Print Filter" | |
| 3. Create a DWORD Entry Called "DEFAULT" (You have to create it, not confuse it with "(Default)" entry) | |
| 4. Change Value to 0x8 | |
| Source: https://www.osronline.com/article.cfm?article=295 |
| " Author: Emiliano Carlos de Moraes Firmino | |
| " Contact: emiliano.firmino@gmail.com | |
| " Description: gvim configuration | |
| set encoding=utf-8 | |
| if has("win32") | |
| set guifont=Consolas_for_Powerline_FixedD:h12:cDEFAULT | |
| let g:Powerline_symbols="fancy" | |
| let g:Powerline_mode_V="V·LINE" |
| adb shell setprop debug.checkjni 1 |
| # Work | |
| sleep 25m && notify-send "break" | |
| # Break | |
| sleep 5m && notify-send "back to work" |