Skip to content

Instantly share code, notes, and snippets.

View arthurhoch's full-sized avatar
📌

Arthur Hoch arthurhoch

📌
View GitHub Profile
@arthurhoch
arthurhoch / MANUAL.md
Created March 6, 2020 14:44 — forked from kimyvgy/MANUAL.md
Deploy nodejs app with gitlab.com and pm2

Deploy nodejs app with gitlab.com and pm2

This manual is about setting up an automatic deploy workflow using nodejs, PM2, nginx and GitLab CI. It is tested on:

  • Target server: Ubuntu 16.04 x64. This is suitable for Ubuntu 14.x.
  • Windows 10 on my PC to work.
@arthurhoch
arthurhoch / extract android kernel.md
Created July 30, 2019 18:36 — forked from azureru/extract android kernel.md
How to Extract Android Kernel And Modify The Boot Ramdisk (Android 4.4)

Extracting Existing Kernel + Ramfs

Enter the machine using adb shell

Run cat /proc/partitions

  #  Path                     Purpose        Size
  0 /dev/block/mmcblk0                       7761920
  1 /dev/block/mmcblk0p1      data           6085631

(a gist based on the old toolmantim article on setting up remote repos)

To collaborate in a distributed development process you’ll need to push code to remotely accessible repositories.

This is somewhat of a follow-up to the previous article setting up a new rails app with git.

For the impatient

Set up the new bare repo on the server: