Skip to content

Instantly share code, notes, and snippets.

@daxxog
daxxog / hamachi-ubuntu.sh
Last active June 26, 2023 12:53
install hamachi on ubuntu 18.04
#!/bin/bash
#curl -L tinyurl.com/gothamachi | sh
cd ~/Downloads
wget https://www.vpn.net/installers/logmein-hamachi_2.1.0.198-1_amd64.deb
sudo apt -y install ./logmein-hamachi_2.1.0.198-1_amd64.deb
sudo hamachi check-update
sudo hamachi login
echo now run ->>
echo sudo hamachi attach [email]
@rise-worlds
rise-worlds / For Mac 4.2.6 unlimited trial.md
Last active May 23, 2024 10:25 — forked from satish-setty/trial.md
Beyond Compare 4 license for Windows, Mac, Linux

for 4.2.4 or higher, 4.2.5,4.2.6,4.3.7, it's works, this is the way which makes Always in evaluation mode.

  1. open Terminal, go to the dir : cd /Applications/Beyond Compare.app/Contents/MacOS
  2. change the name BCompare to BCompare.bak: mv BCompare BCompare.bak
  3. touch a file name BCompare , and chmod a+ux BCompare : touch BCompare && chmod a+ux BCompare
  4. open BCompare with text editor, insert the script :
#!/bin/bash
rm "/Users/$(whoami)/Library/Application Support/Beyond Compare/registry.dat"
"`dirname "$0"`"/BCompare.bak $@
@bmcminn
bmcminn / fs.js
Last active January 7, 2021 03:25
This is a custom "build" of my favorite FS utility methods from `grunt.file` and the native Node `fs` object
const gruntFS = require('grunt').fs
const nodeFS = require('fs')
// init exported fs object
const fs = {}
// Map Grunt.file methods
fs.copy = gruntFs.copy
fs.delete = gruntFs.delete
// fs.exists = gruntFs.exists
@GregLando113
GregLando113 / SteamAntiAntiDebug.h
Created October 22, 2017 02:21
Steam Anti Anti Debug - Load this into game at launch to be able to breakpoint and catch exceptions for 64-bit games using steam
#pragma once
#define WIN32_LEAN_AND_MEAN
#include <Windows.h>
// At least 12 bytes required for this jump
void* Detour64(void* source, void* destination, DWORD64 length) {
DWORD dwOld;
//mov rax,0xABABABABABABABAB
//jmp rax
@darkguy2008
darkguy2008 / UDPSocket.cs
Last active May 20, 2024 19:01
Simple C# UDP server/client in 56 lines
using System;
using System.Net;
using System.Net.Sockets;
using System.Text;
namespace UDP
{
public class UDPSocket
{
private Socket _socket = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp);
@shanky061
shanky061 / WinRE.md
Last active May 10, 2023 13:53
Create WinRE USB manually

#Create WinRE USB manually from windows files

This is a Gist to creating a bootable Recovery Drive - USB disk that boots right into Windows Recovery Environment.

You just have to format the USB disk in FAT32, make it active. And copy files in following hierarchy.

###WinRE Files

  • boot/
    • fonts/