Skip to content

Instantly share code, notes, and snippets.

@skoqaq
skoqaq / build4123.sublime4.key
Last active March 29, 2024 10:01
Sublime Text 4 License Key
—– BEGIN LICENSE —–
Mifeng User
Single User License
EA7E-1184812
C0DAA9CD 6BE825B5 FF935692 1750523A
EDF59D3F A3BD6C96 F8D33866 3F1CCCEA
1C25BE4D 25B1C4CC 5110C20E 5246CC42
D232C83B C99CCC42 0E32890C B6CBF018
B1D4C178 2F9DDB16 ABAA74E5 95304BEF
9D0CCFA9 8AF8F8E2 1E0A955E 4771A576
@flbuddymooreiv
flbuddymooreiv / passgitgpg.md
Last active March 29, 2024 10:00
Setting up pass on git with a gpg key

The following shell transcript shows how to:

  • Create a GPG key
  • Create a pass database
  • Add git support to the pass database
  • Create a remote git repository
  • Push the pass database to the remote git repository
  • Fetch and display your passwords from another host

It is assumed that the pass package has been installed on both the first and second computers.

@mndambuki
mndambuki / officeActivator.bat
Created June 7, 2020 03:41
Activate Microsoft Office 2019
@echo off
title Activate Microsoft Office 2019 !
cls
echo ============================================================================
echo #Project: Activating Microsoft software products
echo ============================================================================
echo.
echo #Supported products:
echo - Microsoft Office Standard 2019
echo - Microsoft Office Professional Plus 2019
@psbaltar
psbaltar / hue_tap_dial_switch.yaml
Created February 17, 2024 23:55
Home Assistant blueprint for handling ZHA events from Hue Tap Dial Switch
blueprint:
name: Hue Tap Dial Switch handler (ZHA)
description: >
Home Assistant blueprint for handling ZHA events from Hue Tap Dial Switch
Available variables:
command
args
params
@octocat
octocat / .gitignore
Created February 27, 2014 19:38
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@giovanni-d
giovanni-d / allinonemigration.md
Last active March 29, 2024 09:57
All-in-One WP Migration - Restore From Server (without PRO version) - Restore

All-in-One WP Migration Restore From Server (without pro version)

If you don't want to pay for the PRO version of this plugin, and you want to use the "Restore from Server" functionally that was present in the version 6.77, follow the instructions below:

  1. Open the js file: wp-content/plugins/all-in-one-wp-migration/lib/view/assets/javascript/backups.min.js
  2. On line 1208, replace the code below:
$('.ai1wm-backup-restore').click(function (e) {
@mbinic
mbinic / cy-fixtures-command.ts
Last active March 29, 2024 09:54
Cypress - load multiple fixtures
function loadFixtures<Contents = unknown>(remainingPaths: string[], loadedContents: Contents[]): Chainable<Contents[]> {
return cy.fixture<Contents>(remainingPaths[0]).then((contents) => {
loadedContents.push(contents);
if (remainingPaths.length > 1) {
return loadFixtures(remainingPaths.slice(1), loadedContents);
}
return cy.wrap(loadedContents);
});
}
@joseluisq
joseluisq / terminal-git-branch-name.md
Last active March 29, 2024 09:51
Add Git Branch Name to Terminal Prompt (Linux/Mac)

Add Git Branch Name to Terminal Prompt (Linux/Mac)

image

Open ~/.bash_profile in your favorite editor and add the following content to the bottom.

# Git branch in prompt.

parse_git_branch() {
@b0gdanw
b0gdanw / DisableBigSur.sh
Last active March 29, 2024 09:50
Disable Big Sur services
#!/bin/zsh
#Credit: Original idea and script disable.sh by pwnsdx https://gist.github.com/pwnsdx/d87b034c4c0210b988040ad2f85a68d3
#Disabling unwanted services on macOS 11 Big Sur (11) and macOS Monterey (12)
#Disabling SIP is required ("csrutil disable" from Terminal in Recovery)
#Modifications are written in /private/var/db/com.apple.xpc.launchd/ disabled.plist and disabled.501.plist
# user
TODISABLE=()
@bluewalk
bluewalk / GetNordVPNWireGuardDetails.md
Last active March 29, 2024 09:48
Getting NordVPN WireGuard details

About

Instructions to obtain WireGuard details of your NordVPN account. These can be used to setup a WireGuard tunnel on your router to NordVPN.

Source: https://forum.gl-inet.com/t/configure-wireguard-client-to-connect-to-nordvpn-servers/10422/27

Prerequisites

If you have any linux machine, use that or install a vm if you don't have one.

Get their official linux app installed. Make sure you have wireguard installed too. And set the used technology to Nordlynx by running nordvpn set technology nordlynx