Skip to content

Instantly share code, notes, and snippets.

View LtdJorge's full-sized avatar
:octocat:

Jorge López Tello LtdJorge

:octocat:
View GitHub Profile
@geerlingguy
geerlingguy / sbc-general-benchmark.sh
Last active July 28, 2025 20:51
SBC Benchmark Suite - Phoronix
#!/bin/bash
#
# Benchmark script for SBCs (Debian or Ubuntu).
#
# WARNING: This script is meant to be run as the root user.
# This script should never be run on a system/partition you
# care about. You should only run this on a system that you
# intend to use only for benchmarking and can reinstall or
# re-flash easily.
#
@kticka
kticka / initializer.js
Last active August 7, 2020 14:21
Init script to mount multiple vue instances in non-spa projects
import Vue from "vue";
import Store from './some_vuex_store.js'
import Component1 from './some_comp.vue'
import Component2 from './some_comp2.vue'
window.addEventListener('load', () => {
const components = {Component1, Component2};
Object.keys(components).forEach((key) => {
components[key] = Vue.extend(Object.assign(components[key], {
@dlaehnemann
dlaehnemann / flamegraph_rust.md
Last active February 14, 2024 14:14
flamegraphing rust binaries' cpu usage with perf
@giordanocardillo
giordanocardillo / README.MD
Last active July 20, 2025 23:07
Remove Office 2016 Product Key

Caution

Due to the subject of this Gist there are a lot of spam/scam comments. I try to remove them all as soon as possible. I don't recommend you to click on any link in the comments

How to remove Microsoft Office 2016 Product Key

  1. Open a command prompt as Administrator
  2. In the command prompt, type the following:
  • Office 2016 (32-bit) on a 32-bit version of Windows

cscript "C:\Program Files\Microsoft Office\Office16\OSPP.VBS" /dstatus

@rahilwazir
rahilwazir / vmdk_vhdx.md
Last active July 1, 2025 16:04
Convert VMWare to Hyper-V (vmdk to vhdx)
@TomCan
TomCan / gist:9644966
Last active July 5, 2025 13:54
Inject drivers in Windows installation after motherboard change
Today, after working with Windows for over 15 years now, I finally came across the solution to the
dreadfull BSOD STOP 0x0000007B after replacing the motherboard of a computer, or after moving the
harddrive to another computer, or after doing a P2V, or after ... you get the point.
Requirements:
- Windows install / boot CD
- Chipset / Mobo / Storage drivers of the new motherboard or storage controller
Steps:
- extract all the drivers to a USB thumb drive
@codification
codification / server.py
Created November 25, 2011 10:16
Python HTTP PUT test server
import sys
import signal
from threading import Thread
from BaseHTTPServer import HTTPServer, BaseHTTPRequestHandler
class PUTHandler(BaseHTTPRequestHandler):
def do_PUT(self):
print "----- SOMETHING WAS PUT!! ------"
print self.headers
length = int(self.headers['Content-Length'])