Skip to content

Instantly share code, notes, and snippets.

View iamcaleberic's full-sized avatar
🤖
I'm not a teapot

Eric Caleb iamcaleberic

🤖
I'm not a teapot
View GitHub Profile
@iamcaleberic
iamcaleberic / AUR.md
Last active September 17, 2024 01:20
Installing packages from Arch User Repsitory(AUR)

Installing packages from AUR

  • Search for the package here

  • Acquire build files

    There are two methods:

  • Clone the git repository that is labeled as the "Git Clone URL" in

@iamcaleberic
iamcaleberic / drive.md
Last active April 11, 2017 15:13
Recovering corrupted disks drive with chkdsk
  • Use original boot media(DVD, USB) Its important you have this
  • Restart the computer with the original installation media (that’s either the DVD or the USB flash drive)

  • Click Repair your computer

  • At the Choose an option screen, click Troubleshoot

  • Click Advanced options

  • Click Command Prompt

  • Type this command:

chkdsk C: /f /x /r

@iamcaleberic
iamcaleberic / arch-install.md
Last active November 3, 2017 18:53
Installing Arch Linux with UEFI support

Requirements

  • Not recommended for absolute beginners
  • Sufficient disk space
  • RAM atleast 500 MB
  • Arch linux bootbale media

Pre-Install

  • create bootable usb or cd

Post Boot

@iamcaleberic
iamcaleberic / NodeEnv.md
Last active April 18, 2017 09:27
Setting up a Node.js Environment Production

Method 1

  • Download node archive from https://nodejs.org
    • wget https://nodejs.org/dist/v6.10.1/node-v6.10.1-linux-x64.tar.xz
  • Extract tarball
    • mkdir node
    • tar xvf node-v*.tar.?z --strip-components=1 -C ./node
  • Configure prefix & symlinks for npm
    • mkdir node/etc
    • echo 'prefix=/usr/local' > node/etc/npmrc
  • Moving binaries to installation loaction
@iamcaleberic
iamcaleberic / install.sh
Last active December 10, 2016 13:56
Installing node v6+ & npm using node source
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - && sudo apt-get install -y nodejs
@iamcaleberic
iamcaleberic / gist:7cd6c7c748b7eb5220b99443f12f71ed
Last active September 7, 2016 10:09
Ruby openssl patch to fix __rvm_make_j4 or failed compile error
curl https://github.com/ruby/ruby/commit/801e1fe46d83c856844ba18ae4751478c59af0d1.diff > openssl.patch
rvm install --patch ./openssl.patch ["ruby version you want to install"]