Skip to content

Instantly share code, notes, and snippets.

@Bicet
Bicet / Flash_custom_on_raviole.md
Last active June 25, 2022 09:09
Come flashare una custom rom sul Pixel 6 (Pro)

A Sblocco del bootloader:

Si perderanno tutti i dati contenuti nel telefono

  1. Attivare le opzioni sviluppatore Aprire Impostazioni -> Informazioni Telefono -> Tappare 7 volte su Numero build (verrà richiesto il PIN o la password di sblocco, se impostate)

  2. Attivare Sblocco OEM Aprire Impostazioni -> Sistema -> Opzioni sviluppatore Attivare Sblocco OEM (deve essere su ON)

@Bicet
Bicet / Activate Office 2019 for macOS VoL.md
Created November 11, 2021 11:50 — forked from itsrajverma/Activate Office 2019 for macOS VoL.md
crack activate office on mac with license file

Activate MS Office 2019/2016 for macOS - Microsoft_Office_2019_VL_Serializer

Office 2019 above

2019-06-03

Note that Office2019 DO NOT support activate via simple copy/paste plist license file which is the simplest way to activate Office 2016. Fortunately, you can also use the VL Serializer tool, just install Office 2019 and Serializer, then run Serializer to activate.

Ref

#!/bin/bash
#set -e
## Copy this script inside the kernel directory
KERNELDIR=/home/bicet/kernel_oneplus_sm8250
KERNEL_DEFCONFIG=neutrino_defconfig
ANYKERNEL3_DIR=$PWD/AnyKernel3/
FINAL_KERNEL_ZIP=Neutrino.zip
export PATH="$KERNELDIR/prebuilts/proton-clang/bin:${PATH}"
@Bicet
Bicet / ConvertAndroidVectorDrawable2png.md
Created February 1, 2021 22:27 — forked from qinshulei/ConvertAndroidVectorDrawable2png.md
Convert Android VectorDrawable to png

转换方法:

  1. Convert Android VectorDrawable to SVG:

使用附件中的java程序。命令如下:

cp Vector2Svg.java path/to/xml_dir
javac Vector2Svg.java
java Vector2Svg ./*.xml
mkdir svg_dir
@Bicet
Bicet / ubuntu-MBP-16.md
Created November 4, 2020 12:08 — forked from gbrow004/ubuntu-MBP-16.md
Ubuntu on Apple Macbook Pro 16-inch (2019)

Acknowledgements

This gist is just a compilation of the hard work that others have put in. I'm not a software developer, so if there are any mistakes or better ways of doing things, I'd appreciate any suggestions. Here's a list of the real heroes who made this possible:

Kernel Patches: aunali (https://github.com/aunali1/)

T2 security chip bypass to allow access to the SSD, keyboard, and trackpad: MCMrARM (https://github.com/MCMrARM)

Audio: kevineinarsson

#!/bin/bash
#Macoook 14.3
[ "$UID" -eq 0 ] || exec sudo bash "$0" "$@" #request root permission
readonly sysfs_efi_vars='/sys/firmware/efi/efivars'
readonly efi_gpu='gpu-power-prefs-fa4ce28d-b62f-4c99-9cc3-6815686e30f9'
usage(){
@Bicet
Bicet / announcements-box.html
Created April 23, 2020 13:49
Announcements Box - GCHR Syle
<style>
.announcements-box {
padding: 20px;
background-color: #f44336;
color: white;
transition: opacity 0.6s;
margin-bottom: 15px;
min-height: 50px;
border-radius: 4px;
font-size: 18px;
@Bicet
Bicet / announcements-box.html
Created April 23, 2020 13:49
Announcements Box - GCHR Syle
<style>
.announcements-box {
padding: 20px;
background-color: #f44336;
color: white;
transition: opacity 0.6s;
margin-bottom: 15px;
min-height: 50px;
border-radius: 4px;
font-size: 18px;
@Bicet
Bicet / skylake-tuning-linux.md
Created March 10, 2020 10:07 — forked from Brainiarc7/skylake-tuning-linux.md
This gist will show you how to tune your Intel-based Skylake, Kabylake and beyond Integrated Graphics Core for performance and reliability through GuC and HuC firmware usage on Linux.

Tuning Intel Skylake and beyond for optimal performance and feature level support on Linux:

Note that on Skylake, Kabylake (and the now cancelled "Broxton") SKUs, functionality such as power saving, GPU scheduling and HDMI audio have been moved onto binary-only firmware, and as such, the GuC and the HuC blobs must be loaded at run-time to access this functionality.

Enabling GuC and HuC on Skylake and above requires a few extra parameters be passed to the kernel before boot.

Instructions provided for both Fedora and Ubuntu (including Debian):

Note that the firmware for these GPUs is often packaged by your distributor, and as such, you can confirm the firmware blob's availability by running:

# Install Dupes
brew tap homebrew/dupes
# Install nano
brew install nano
# Check .bash_profile
# it should include