Skip to content

Instantly share code, notes, and snippets.

View gerarldlee's full-sized avatar
:octocat:

Gerard Lee gerarldlee

:octocat:
  • gerarldlee
  • Vancouver, BC
View GitHub Profile
@gerarldlee
gerarldlee / Experimenting with ChromeOS on VirtualBox.md
Last active March 24, 2024 23:51
Installing ChromeOS on VirtualBox using the NeverWare build

Installing ChromeOS on VirtualBox

  1. Download the NeverWare's ChromeOS build from http://www.neverware.com/freedownload

  2. Extract the *.bin.zip

  3. Convert it to VDI. vboxmanage convertdd chromiumos_image.bin chromiumos_image.vdi

  4. mv chromiumis_image.vdi C:\t\v\chromeos\

Story:
My hdd is 1tb but i bought a 256gb ssd. I partitioned it accordingly:
140gb windows
50gb ubuntu
50gb fedora
1gb linux boot
250mb efi system
I want to move operating system files to ssd to make my development env faster, and my documents to hdd.
@gerarldlee
gerarldlee / conda.sh
Created February 20, 2022 07:23 — forked from rexlow/conda.sh
Install miniconda, tensorflow, keras, theano
bash Miniconda3-latest-MacOSX-x86_64.sh
// append env path
conda install jupyter matplotlib pandas scipy Pillow scikit-learn
conda install -c conda-forge keras tensorflow
// for some reasons tensorflow installed = 1.0.0, update here
Nero Linux 4 Serial
S/N: 9M1K-0098-P3HL-PK6P-T6UA-1E5X-E557-8X41
@gerarldlee
gerarldlee / Installing Kali Linux as a Windows 10 Subsystem for Linux
Created January 21, 2018 01:15
Installing Kali Linux as a Windows 10 Subsystem for Linux
Installing Kali Linux as a Windows 10 Subsystem for Linux
Powershell (Admin)
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
lxrun /install
git clone https://github.com/RoliSoft/WSL-Distribution-Switcher.git
cd WSL-Distribution-Switcher
python get-prebuilt.py kalilinux/kali-linux-docker
Font=Powerline Consolas
ForegroundColour=131,148,150
BackgroundColour=0,43,54
CursorColour=220,50,47
Black=7,54,66
BoldBlack=0,43,54
Red=220,50,47
BoldRed=203,75,22
Green=133,153,0
BoldGreen=88,110,117
@gerarldlee
gerarldlee / Ubuntu 16.04 for Development.md
Last active March 15, 2021 11:01
Development Setup on Ubuntu 16.04 Linux
Bumblebee on Ubuntu 16.04
Remove the default Nvidia driver:
sudo apt-get remove xserver-xorg-video-nouveau
Install Bumblebee, primus, and nvidia drivers
sudo add-apt-repository ppa:graphics-drivers/ppa
Prerequisites:
On Fedora 25 Workstation
------------------------
sudo dnf install @developer-workstation-environment
On Ubuntu 16.04 LTS
------------------------
sudo apt-get install build-essential curl git m4 ruby texinfo libbz2-dev libcurl4-openssl-dev libexpat-dev libncurses-dev zlib1g-dev
https://fpira.com/blog/2016/04/install-php-raspberry-pi/
#!/bin/bash
# credits: http://stackoverflow.com/questions/31280912/how-to-install-php-5-6-on-raspbian-wheezy
### VARIABLES ###
# type here the specific php 5.x version you want to install
PHP_VERSION="5.6.20"