Discover gists
Inspired by this
More of my guides: Debloating LDPlayer - Debloating Nox (Updated)
Edit 22/8/2021: I have updated MEmu and it seems like it reinstalls the apps and re-enables the services. Repeat steps 5, 7, 8, and 9 if you update MEmu.
In my experience, Nox can be quite slow and choppy, and looks like I'm not the only person with this problem. A lot of people say that MEmu performs better than Nox, and I could agree with that. I have no chopping issues with it so far. But like Nox, there are kinda shady stuff going on.
/target/ | |
!.mvn/wrapper/maven-wrapper.jar | |
### STS ### | |
.apt_generated | |
.classpath | |
.factorypath | |
.project | |
.settings | |
.springBeans |
var index = 0; | |
if (confirm(`Are you sure you want to DELETE ALL your entries in this section?`)) { | |
$("a.animetitle").each(function () { | |
var animeLink = $(this).attr("href"); | |
var animeId = animeLink.substring( | |
animeLink.lastIndexOf("anime/") + 6, | |
animeLink.lastIndexOf("/") | |
); | |
var deleteUrl = `/ownlist/anime/${animeId}/delete`; | |
setTimeout(function () { |
#!/bin/bash | |
# 將用戶密碼用作此次腳本的變量,免於後續多次重覆輸入密碼 | |
read -s -p "輸入用戶密碼: " user_password | |
echo | |
# 解除唯讀模式 | |
if echo "$user_password" | sudo -S steamos-readonly disable; then | |
echo | |
echo "唯讀模式已解除" | |
else | |
echo -e "\e[93m密碼輸入錯誤,腳本終止。\e[0m" |
# import config. | |
# You can change the default config with `make cnf="config_special.env" build` | |
cnf ?= config.env | |
include $(cnf) | |
export $(shell sed 's/=.*//' $(cnf)) | |
# import deploy config | |
# You can change the default deploy config with `make cnf="deploy_special.env" release` | |
dpl ?= deploy.env | |
include $(dpl) |
Let suppose I have two github accounts, https://github.com/rahul-office and https://github.com/rahul-personal. Now i want to setup my mac to easily talk to both the github accounts.
NOTE: This logic can be extended to more than two accounts also. :)
The setup can be done in 5 easy steps:
const algoliasearch = require('algoliasearch'); | |
const { createClient } = require('@supabase/supabase-js'); | |
// Initialize Algolia client | |
const algoliaClient = algoliasearch('ALGOLIA_APP_ID', 'ALGOLIA_API_KEY'); | |
const index = algoliaClient.initIndex('INDEX_NAME'); | |
// Initialize Supabase client | |
const supabaseUrl = 'SUPABASE_URL'; | |
const supabaseKey = 'SUPABASE_SERVICE_KEY'; |
let styles: [UIFont.TextStyle] = [ | |
// iOS 17 | |
.extraLargeTitle, .extraLargeTitle2, | |
// iOS 11 | |
.largeTitle, | |
// iOS 9 | |
.title1, .title2, .title3, .callout, | |
// iOS 7 | |
.headline, .subheadline, .body, .footnote, .caption1, .caption2, | |
] |