Skip to content

Instantly share code, notes, and snippets.

@plucena24
plucena24 / keyevents.json
Created July 27, 2023 19:16 — forked from arjunv/keyevents.json
All Android Key Events for usage with adb shell
{
"key_events": {
"key_unknown": "adb shell input keyevent 0",
"key_soft_left": "adb shell input keyevent 1",
"key_soft_right": "adb shell input keyevent 2",
"key_home": "adb shell input keyevent 3",
"key_back": "adb shell input keyevent 4",
"key_call": "adb shell input keyevent 5",
"key_endcall": "adb shell input keyevent 6",
"key_0": "adb shell input keyevent 7",
@plucena24
plucena24 / kaios_a405dl.js
Created July 27, 2023 18:56 — forked from zhuowei/kaios_a405dl.js
from /system/b2g/webapps/launcher.gaiamobile.org/application.zip, dist/vendors.js
if ("TRACFONE" === r) {
n.instantDialNumbers = ["*#06#", "*#07#", "*#2886#", "*#837837#", "*#16#", "###232#", "*#7810#", "##4382#", "*#4636#", "*#3228#", "*#22384#*", "*#*#33284#*#*", "*#*#3646633#*#*", "*#7260#", "*#7265#", "#83865625#", "#83782887#", "*#*#05743424#*#*"];
"FRM" === navigator.engmodeExtension.getPropertyValue("ro.operator.name.tf.frm") && m.default.get("debugger.remote-mode").then(function(e) {
"disabled" !== e && (n.debuggerRemoteMode = !0, n.instantDialNumbers = n.instantDialNumbers.concat(["*#8378269#"]))
}), o = !1
} else n.instantDialNumbers = ["*#06#", "*#07#", "*#2886#", "*#228378#", "##4382#", "*#*#33284#*#*", "*#*#3646633#*#*", "*#4636#", "*#*#825364#*#*", "*#3228#", "##258#", "*#7977767#", "*#7810#", "*#837837#", "*#16#", "*#22384#*", "*#*#123321#*#*", "*#6626625#", "*#*#0574#*#*", "###232#", "*#*#9328378#*#*", "##3424#"], m.default.get("debugger.remote-mode").then(fun
@plucena24
plucena24 / gist:9d96a6e828d2a951fff74feb2ea45d5f
Created July 4, 2023 16:34
Free Windows Server 2022 Product Key
Free Windows Server 2022 Standard Product Key
HP9DJ-NK2X6-4QPCH-8HY8H-6X2XY
RRNMT-FP29D-CHKCH-GWQP2-DDDVB
44QN4-X3R72-9X3VK-3DWD6-HFWDM
Free Windows Server 2022 Datacenter Product Key
WX4NM-KYWYW-QJJR4-XV3QB-6VM33
Download windows Sever 2022 Evaluation edition:
Windows Server 2022 Evaluation English
@plucena24
plucena24 / server2019.md
Created July 4, 2023 16:34
Windows Server 2019 download and DISM
@plucena24
plucena24 / bootstrap2019DC.ps1
Created July 4, 2023 16:34 — forked from phillhocking/bootstrap2019DC.ps1
Microsoft Windows Server 2019 Standard - Golden Image
# provision2019DC.ps1
# Flat Server 2019 1909.4 install to use in creating other 2019 images with Boxstarter
# 1.3 - 5/3/2020
# Author: Phillip Hocking [email protected]
#
# Purpose: This script provisions a base install Microsoft Windows Server 2019 VM Gen 2 Hyper-V instance for the purpose
# of further configuring as a PDC (Primary Domain Controller) or AAD DS (Azure Active Directory Domain Services) connector.
#
# Caveats: When the Hyper-V bootloader comes up it will say that boot timed out because the amount of time it takes for the
# Hyper-V connection terminal to connect is longer than the amount of time it gives to you 'press any key to install from cd'
@plucena24
plucena24 / Convert Evaluation Edition to Volume.txt
Created July 4, 2023 16:34 — forked from amit213/Convert Evaluation Edition to Volume.txt
Windows Server LTSC 2019 RTM Evaluations 180 days
Open PowerShell and type:
Standard Edition:
DISM /online /Set-edition:ServerStandard /ProductKey:N69G4-B89J2-4G8F4-WWYCC-J464C /AcceptEula
DataCenter Edition:
DISM /online /Set-edition:ServerDatacenter /ProductKey:WMDGN-G9PQG-XVVXX-R3X43-63DFG /AcceptEula
File Name: en_windows_server_2019_x64_dvd_4cb967d8.iso
SHA256: 4C5DD63EFEE50117986A2E38D4B3A3FBAF3C1C15E2E7EA1D23EF9D8AF148DD2D
***This is not the evaluation version ***
What versions include in the ISO file :
Windwos Server 2019 standard, Windows Server 2019 datacenter,Windwos Server 2019 Standard 16/24 Core, Windows server 2019 Datacenter 16/24 core!
It can be also used to upgrade from Windows Server 2012 R2 to Server 2019 Version
Windows Server 2019 Retail ISO Download:
https://ln5.sync.com/dl/8354d2270/fcek48hp-txasa859-nmascbm8-gnvfjr27
@plucena24
plucena24 / unifi.md
Created June 7, 2023 13:53 — forked from rosco-pc/unifi.md
Unifi commands.md

Unifi AP useful commands

using SSH:

  • log in to AP: $ ssh ubnt@<IP>
  • default username & password: ubnt & ubnt

Generic

Command Example Function
Action Center.{BB64F8A7-BEE7-4E1A-AB8D-7D8273F7FDB6}
Backup and Restore.{B98A2BEA-7D42-4558-8BD1-832F41BAC6FD}
Credential Manager.{1206F5F1-0569-412C-8FEC-3204630DFB70}
Devices and Printers.{A8A91A66-3A7D-4424-8D24-04E180695C7A}
Display.{C555438B-3C23-4769-A71F-B6D3D9B6053A}
HomeGroup.{67CA7650-96E6-4FDD-BB43-A8E774F73A57}
Notification Area Icons.{05d7b0f4-2121-4eff-bf6b-ed3f69b894d9}
Recovery.{9FE63AFD-59CF-4419-9775-ABCC3849F861}
RemoteApp and Desktop Connections.{241D7C96-F8BF-4F85-B01F-E2B043341A4B}
Speech Recognition.{58E3C745-D971-4081-9034-86E34B30836A}