Skip to content

Instantly share code, notes, and snippets.

View P1N2O's full-sized avatar
💭
brainstorming

Manuel Pinto P1N2O

💭
brainstorming
View GitHub Profile
@P1N2O
P1N2O / config.md
Created June 3, 2022 16:48 — forked from eneajaho/config.md
Angular ESLint & Prettier Configuration

Install Angular ESLint

ng add @angular-eslint/schematics

Install Prettier and Prettier-ESLint dependencies

npm install prettier prettier-eslint eslint-config-prettier eslint-plugin-prettier --save-dev

ESLint configuration

Filename: .eslintrc.json

@P1N2O
P1N2O / Environment_Setup.md
Last active June 28, 2022 22:16
Environment Setup

Setup WSL Development Environment

Method 1: Interactive

curl -o- https://raw.githubusercontent.com/p1n2o/wsl-env-setup/master/wsl-env-setup.sh | bash

Method 2: Manual Install

00. System Update

@P1N2O
P1N2O / changelog
Last active March 2, 2020 23:40
Delta Kernel - Changelog
# Delt Kernel To-Do's
~ Might be Adding CPU Input Boost
~ Might be Adding Dev Freq. Boost
~ Might be Adding Dynamic Stune Boost
## Want something? Let me know in the Telegram Support Group ASAP!
----------
@P1N2O
P1N2O / build.sh
Last active March 8, 2020 15:31
Delta Kernel - Build Script
#!/bin/bash
# Clone Clang (latest)
HOME_DIR=$(pwd)
echo "- Cloning Clang"
git clone --depth=1 https://github.com/crDroidMod/android_prebuilts_clang_host_linux-x86_clang-6207600 prebuilt/clang
# Clone GCC (aarch64)
echo "- Cloning GCC (aarch64)"
git clone --depth=1 https://github.com/P1N2O/aarch64-linux-android-4.9 prebuilt/aarch64
# Clone GCC (arm)
@P1N2O
P1N2O / delta-kernel.json
Last active May 12, 2020 16:59
Delta Kernel - Release Data
{
"Poco": {
"F1 (beryllium)": {
"2.1": {
"info": {
"date": "2020-05-12",
"changelog": "• Upstreamed to latest Linux Stable 4.9.223\n• Merged latest CAF tagb LE.UM.2.3.2-10100-SDX24\n• Added MAPLE I/O Scheduler\n• Fixed BBR TCP Cong. Algorithm\n• Fixed CPU Cores being stuck\n• Fix Boeffla Wakelock Blocker\n• Built with Clang Link-Time Optimizations (LTO)\n\n⚠ IMPORTANT\nIt is recommended to dirty flash your current ROM zip before flashing Delta Kernel"
},
"10": {
"Latest": {
@P1N2O
P1N2O / README.md
Last active April 18, 2024 16:55
Guide to Compile an Android Kernel with Clang

Android Kernel Compilation Guide

This gist is intended to assist beginners, like myself, in getting started with Android Kernel Compilation. Please note that while I'm sharing my setup and process, this guide may not be entirely accurate, and I welcome suggestions from experienced developers to improve it.

Installing Build Tools

I am on Arch, so I will be using pacman to install the base-devel package group.

sudo pacman -S base-devel

On a Debian based distro, you can use apt and install the build-essential package.

@P1N2O
P1N2O / data.json
Created August 5, 2019 11:36
Stock List Sample
[
{
"partnumber": "7206VXRG2/VSAVPNK9",
"quantity": "5",
"condition": "Brand New Sealed (Clean)",
"description": "Cisco 7206VXR System Bundle for G2 and VSA"
},
{
"partnumber": "C3900-SPE250/K9",
"quantity": "1",
@P1N2O
P1N2O / notepad-replacer-windows.md
Last active February 20, 2024 12:45
Replacing Notepad with Notepad++ in Windows 10

Replacing Notepad with Notepad++ in Windows 10

  1. Start an elevated or administrator Command Prompt.

  2. Copy the following command and paste it in the Command Prompt window:

reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe" /v "Debugger" /t REG_SZ /d "\"%ProgramFiles%\Notepad++\notepad++.exe\" -notepadStyleCmdline -z" /f

To undo (reverse) the replacement, use the following command:

@P1N2O
P1N2O / git-cheat-sheet.md
Last active April 18, 2020 19:18
Git Cheat Sheet

1. Clone your fork:

git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
@P1N2O
P1N2O / core-libs-cdn.md
Last active January 27, 2020 21:43
Core CSS/JS Lib's CDN

Core Lib's CDN

This is a handy gist of most used CSS/JS Frameworks & Libraries used by me for all my projects.

  • Fetch the specified / latest version directly from original GitHub repo.
  • Add ".min" to any JS/CSS file to get a minified version.
  • Powered by jsDeliver - A Free, Fast, Reliable & Open Source CDN