Skip to content

Instantly share code, notes, and snippets.

@geramirez
geramirez / texttopdftools.md
Created February 9, 2015 20:54
Command Line Text to PDF Tools
@v3l0c1r4pt0r
v3l0c1r4pt0r / txt2pcap.py
Created August 1, 2022 17:08
Convert DSView TXT dump of USB packet fields into valid PCAP file
#!/usr/bin/env python3
# convert DSView TXT dump of USB packet fields into valid PCAP file
import re
import sys
import struct
import os
from enum import IntEnum
class PCAP_Header():
@kenwalger
kenwalger / Program.cs
Last active May 1, 2024 10:38
C# and MongoDB Update Operation
using System;
using MongoDB.Bson;
using MongoDB.Driver;
namespace MongoDBCRUDExample
{
class Program
{
static void Main(string[] args)
@smashah
smashah / proxmox-ubuntu-resize
Last active May 1, 2024 10:36
Resize Ubuntu on proxmox hd size
Based on:
https://gist.github.com/gjrdiesel/4e93d8743b71babb58dcba4ee049247c
https://www.reddit.com/r/Proxmox/comments/hkvl9a/cant_extend_ubuntu_20_lvm_after_expanding_raw_disk/
1.
`lsblk`
@n1snt
n1snt / Oh my ZSH with zsh-autosuggestions zsh-syntax-highlighting zsh-fast-syntax-highlighting and zsh-autocomplete.md
Last active May 1, 2024 10:35
Oh my ZSH with zsh-autosuggestions zsh-syntax-highlighting zsh-fast-syntax-highlighting and zsh-autocomplete.md

Oh my zsh.

Oh My Zsh

Install ZSH.

sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh

Install Oh my ZSH.

@bmaupin
bmaupin / free-database-hosting.md
Last active May 1, 2024 10:34
Free database hosting
@PurpleVibe32
PurpleVibe32 / vmwk17key.txt
Last active May 1, 2024 10:34
Free VMware Workstation Pro 17 full license keys
Install VMWare Workstation PRO 17 (Read it right. PRO!)
Also, these keys might also work with VMWare Fusion 13 PRO. Just tested it.
Sub to me on youtube pls - PurpleVibe32
if you want more keys - call my bot on telegram. @purector_bot (THE BOT WONT REPLY ANYMORE) - Or: https://cdn.discordapp.com/attachments/1040615179894935645/1074016373228978277/keys.zip - the password in the zip is 102me.
---
This gist can get off at any time.
PLEASE, DONT COPY THIS. IF YOU FORK IT, DONT EDIT IT.
*If you have a problem comment and people will try to help you!
*No virus
@Klerith
Klerith / heroes.js
Created May 7, 2020 17:40
Un pequeño arreglo de héroes para hacer ejercicios
const heroes = [
{
id: 1,
name: 'Batman',
owner: 'DC'
},
{
id: 2,
name: 'Spiderman',
owner: 'Marvel'
@gmessner
gmessner / sonarqube-service.sh
Last active May 1, 2024 10:29
This Bash script provides lifecycle management for SonarQube running as a service in a Docker container.
#!/bin/bash
#
# This gist is licensed under the MIT License (MIT), see http://www.messners.com/mit-license.txt
# Copyright (c) 2014-2019 Greg Messner, greg@messners.com
#
#
# This is the service utility script for running SonarQube in a docker container. It is intended
# to be called from upstart or systemd service scripts, but can also be used from the command line
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active May 1, 2024 10:34
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This no longer works in browser!

Note

This no longer works if you're alone in vc! Somebody else has to join you!

How to use this script:

  1. Accept the quest under User Settings -> Gift Inventory