Skip to content

Instantly share code, notes, and snippets.

View Yasir-siddiqui's full-sized avatar

Yasir Siddiqui Yasir-siddiqui

View GitHub Profile
@ghostrider-reborn
ghostrider-reborn / Jenkins setup in Ubuntu.txt
Last active June 13, 2019 15:06 — forked from SilverShades02/Jenkins setup in Ubuntu.txt
Jenkins setup in Ubuntu - GCE, DigitalOcean or AWS instance
What is Jenkins?
Jenkins is an open source automation server written in Java. Jenkins helps to automate the non-human part of the software development process, with continuous integration and facilitating technical aspects of continuous delivery. (Wikipedia)
1. Install required packages
wget -q -O - https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add -
sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'
sudo apt update
sudo apt install -y jenkins
@Yash089610
Yash089610 / git_remember_password.md
Created January 9, 2019 17:24 — forked from ankurk91/git_remember_password.md
Git credential cache, why type password again and again

Git tip: Tired of entering password again and again ?

Run this command to remember your password:

git config --global credential.helper 'cache --timeout 28800'

Above command will tell git to cache your password for 8 hours.

@merothh
merothh / repack-kernel.txt
Created December 6, 2018 15:09
repack android boot image
./mkbootimg --kernel ./boot.img-zImage --ramdisk ./boot.img-ramdisk.gz --cmdline "$(cat ./boot.img-cmdline)" --base "$(cat ./boot.img-base)" --pagesize "$(cat ./boot.img-pagesize)" --ramdisk_offset "$(cat ./boot.img-ramdiskoff)" --second_offset "$(cat ./boot.img-secondoff)" --tags_offset "$(cat ./boot.img-tagsoff)" --kernel_offset "$(cat ./boot.img-kerneloff)" --os_version "$(cat ./boot.img-osversion)" --os_patch_level "$(cat ./boot.img-oslevel)" --header_version "$(cat ./boot.img-headerversion)" --hash "$(cat ./boot.img-hash)" --output ./boot-new.img
@SwapnilSoni1999
SwapnilSoni1999 / Buildbot-Guide.txt
Created November 28, 2017 16:48
[GUIDE] ROM Compiling from source [Buildbot]
First of all have a brief look at xda threads about compiling rom from source dont follow all stuff from there tho.. just have a look on those threads specially that jackeagle thread.
now first what you need :
If on local
-> Fast internet connection (fast enough to download 50GB rom source without waiting for a day or two xD )
-> 4core cpu(or higher)
-> 8gb minimum ram
-> Linux (Ubuntu for this guide)