Skip to content

Instantly share code, notes, and snippets.

@Kingtous
Kingtous / dsdt.dsl
Last active January 30, 2024 12:25
Thinkbook 14p patched DSDT for enabling S3 suspend state and fixing ACPI Error for \.SB_.LID0 (Based on BIOS version 39WW)
/*
* Intel ACPI Component Architecture
* AML/ASL+ Disassembler version 20211217 (64-bit version)
* Copyright (c) 2000 - 2021 Intel Corporation
*
* Disassembling to symbolic ASL+ operators
*
* Disassembly of dsdt.dat, Fri Apr 8 00:35:05 2022
*
* Original Table Header:
@baldrailers
baldrailers / Arch Linux ARM on Crostini.md
Last active February 11, 2024 15:36 — forked from rstacruz/Arch Linux ARM on Crostini.md
Arch Linux ARM on Crostini

Arch Linux ARM on Crostini

Screenshot

I got Arch Linux ARM installed on a Lenovo Chromebook Duet! I mostly used the instructions from the Arch Wiki as reference.

0. Before we begin

# Maintainer: Ignat Harczuk: ignathe -at- gmail com
# Previous Maintainer: Mark Wells: mwellsa -at- gmail com
# Contributor: simone riva: siomone.rva -a- gmail com
# Intel Parallel Studio XE 2017 for Linux - ( Intel compiler icc suite )
##########################################################################
# this PKGBUILD splits the main Parallel Studio XE package in 9 sub-packages:
#
# intel-compiler-base: Intel C/C++ compiler and base libs
# intel-fortran-compiler: Intel Fortran compiler and base libs"
# intel-ipp: Intel Integrated Performance Primitives
@zthxxx
zthxxx / Activate Office 2019 for macOS VoL.md
Last active March 27, 2024 21:24
crack activate Office on mac with license file
@ivan
ivan / install_all_fonts.bat
Last active January 10, 2024 23:59
Install all supplemental fonts on Windows 10
DISM.exe /Online /Add-Capability /CapabilityName:Language.Fonts.Arab~~~und-ARAB~0.0.1.0
DISM.exe /Online /Add-Capability /CapabilityName:Language.Fonts.Beng~~~und-BENG~0.0.1.0
DISM.exe /Online /Add-Capability /CapabilityName:Language.Fonts.Cans~~~und-CANS~0.0.1.0
DISM.exe /Online /Add-Capability /CapabilityName:Language.Fonts.Cher~~~und-CHER~0.0.1.0
DISM.exe /Online /Add-Capability /CapabilityName:Language.Fonts.Deva~~~und-DEVA~0.0.1.0
DISM.exe /Online /Add-Capability /CapabilityName:Language.Fonts.Ethi~~~und-ETHI~0.0.1.0
DISM.exe /Online /Add-Capability /CapabilityName:Language.Fonts.Gujr~~~und-GUJR~0.0.1.0
DISM.exe /Online /Add-Capability /CapabilityName:Language.Fonts.Guru~~~und-GURU~0.0.1.0
DISM.exe /Online /Add-Capability /CapabilityName:Language.Fonts.Hans~~~und-HANS~0.0.1.0
DISM.exe /Online /Add-Capability /CapabilityName:Language.Fonts.Hant~~~und-HANT~0.0.1.0
@schrader
schrader / Copy Classic Link (Evernote).scpt
Last active July 22, 2019 13:15 — forked from JMichaelTX/Copy EN Note Link (Classic) AS.applescript
Evernote Mac - Put Classic Note Link on Clipboard -- AppleScript
@Explorare
Explorare / com.google.Chrome.mobileconfig
Last active November 28, 2022 05:54
Add local chrome extensions to whitelist in MacOS. https://hencolle.com/2016/10/16/baidu_exporter/
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>PayloadContent</key>
<dict>
<key>com.google.Chrome</key>
@romanlevin
romanlevin / bash_prompt.sh
Last active May 25, 2022 02:35 — forked from insin/bash_prompt.sh
Set color bash prompt according to active pyenv, git branch and return status of last command.
#!/bin/bash
#
# DESCRIPTION:
#
# Set the bash prompt according to:
# * the active virtualenv
# * the branch/status of the current git repository
# * the return value of the previous command
# * the fact you just came from Windows and are used to having newlines in
# your prompts.
@cvan
cvan / set-up-chromium-keys.md
Last active March 19, 2024 10:44
Launch Chromium with API Keys on Mac OS X and Windows

Last Updated: March 2023

IMPORTANT: Ignore the out-of-date steps below for getting Chromium keys.

Instead, read this up-to-date guide (Jan 2023) written by @LearningToPi.

P.S. Thank you to every contributor below who provided tips over the years on what should be a straightforward process: setting up Chromium for local development.

Long live the web!

跨区安装锁区play应用

需要的东西

  1. 出口节点为锁区国家的隧道
  2. [APK Downloader][]
  3. google帐号
  4. 一台可以正常使用GMS的Android设备

操作步骤

  1. 在设备上登入google帐号