Skip to content

Instantly share code, notes, and snippets.

View d0zingcat's full-sized avatar
🐈

d0zingcat

🐈
View GitHub Profile
@amunchet
amunchet / noVNCCopyPasteProxmox.user.js
Last active December 18, 2024 18:58
Copy/Paste for noVNC Proxmox
// ==UserScript==
// @name noVNC Paste for Proxmox
// @namespace http://tampermonkey.net/
// @version 0.2a
// @description Pastes text into a noVNC window (for use with Proxmox specifically)
// @author Chester Enright
// @match https://*
// @include /^.*novnc.*/
// @require http://code.jquery.com/jquery-3.3.1.min.js
// @grant none
@apechefnft
apechefnft / eth-node-comparison.js
Created May 17, 2022 21:31
Compare private Ethereum nodes
const Web3 = require('web3');
const SECONDS = 1;
const providers = [];
providers.push({name: 'ApeChef🔪 Zapnode', url: '<ENTER URL HERE>'});
providers.push({name: 'JustCubes Hypernode', url: '<ENTER URL HERE>'});
providers.push({name: 'JustCubes Supernode (Llamaverse)', url: '<ENTER URL HERE>'});
providers.push({name: 'Infura', url: '<ENTER URL HERE>'});
providers.push({name: 'Alchemy', url: '<ENTER URL HERE>'});
@pawl
pawl / cups-orangepi.md
Last active November 30, 2024 17:55
installing CUPS on orangepi zero
  1. download ubuntu image for orangepi zero LTS: http://www.orangepi.org/downloadresources/
  2. flash with etcher
  3. fiddle with USB to TTL, gave up on trying to get that to work
  4. plug ethernet into switch
  5. ssh orangepi@
  6. password orangepi
  7. couldn't successfully apt-get update upgrade, getting E: Unable to acquire the dpkg frontend lock
  8. download armbian image for orangepi zero LTS: http://www.orangepi.org/downloadresources/
  9. flash with etcher
  10. armbian-config
@wangkai2014
wangkai2014 / Service KMS
Created December 27, 2019 07:43 — forked from judero01col/Service KMS
Volume License Activation Key Service - KMS
## Find Available Target Editions
DISM.exe /Online /Get-TargetEditions
## Convert Server Standard 2019 Evaluation to Server Standard 2019
DISM /online /Set-Edition:ServerStandard /ProductKey:N69G4-B89J2-4G8F4-WWYCC-J464C /AcceptEula
## How To Activate
slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
slmgr /skms [server]:[port]
slmgr /ato
@mayneyao
mayneyao / notion2blog.js
Last active September 14, 2024 01:22
Notion.so > Personal Blog | custom domain + disqus comment
const MY_DOMAIN = "agodrich.com"
const START_PAGE = "https://www.notion.so/gatsby-starter-notion-2c5e3d685aa341088d4cd8daca52fcc2"
const DISQUS_SHORTNAME = "agodrich"
addEventListener('fetch', event => {
event.respondWith(fetchAndApply(event.request))
})
const corsHeaders = {
"Access-Control-Allow-Origin": "*",
@mokoshalb
mokoshalb / Office_kms
Created July 4, 2019 05:36 — forked from CHEF-KOCH/KMS_office.cmd
KMS server Windows
cd\Program Files\Microsoft Office\Office16
cd\Program Files (x86)\Microsoft Office\Office16
cscript OSPP.VBS /sethst:kms.digiboy.ir
cscript OSPP.VBS /actcscript OSPP.VBS /dstatus
slmgr.vbs /ckms
@syntaqx
syntaqx / cloud-init.yaml
Last active November 10, 2024 20:04
cloud init / cloud config to install Docker on Ubuntu
#cloud-config
# Option 1 - Full installation using cURL
package_update: true
package_upgrade: true
groups:
- docker
system_info:
@jerodg
jerodg / windows_and_office_kms_setup.adoc
Last active December 21, 2024 13:20
Activate Windows and Office Using KMS Server

Microsoft Windows and Office KMS Setup

@Twolk
Twolk / kms
Created October 27, 2017 22:27 — forked from CHEF-KOCH/KMS_office.cmd
KMS server Windows
Online kms host address:
--------
kms.digiboy.ir
54.223.212.31
kms.cnlic.com
kms.chinancce.com
kms.ddns.net
franklv.ddns.net
k.zpale.com
m.zpale.com

Set rz and sz on Mac

There are a mess of troubles in sending and receiving files from my macbook to dev server, since I had no permission to excute command scp on dev server. Here is a lightweight, quick, and convenience tools which related with ssh, called lrzsz. lrzsz is a unix communication package providing the XMODEM, YMODEM, ZMODEM file transefer protocol which usually has been already installed in most of servers.

Prerequisites

  • iTerm2 is necessary. [Here][] is the official website.