Skip to content

Instantly share code, notes, and snippets.

View jpruiz114's full-sized avatar
:shipit:
Kindness begets kindness

Jean Paul Ruiz jpruiz114

:shipit:
Kindness begets kindness
View GitHub Profile
@jpruiz114
jpruiz114 / setup_cursor_ubuntu.md
Created August 24, 2025 17:32 — forked from evgenyneu/setup_cursor_ubuntu.md
Install Cursor AI code editor on Ubuntu 24.04 LTS

Install Cursor AI editor on Ubuntu 24.04

  1. Use the Download button on www.cursor.com web site. It will download the NAME.AppImage file.

  2. Copy the .AppImage file to your Applications directory

cd ~/Downloads
mkdir -p ~/Applications
mv NAME.AppImage ~/Applications/cursor.AppImage
@jpruiz114
jpruiz114 / WordMatrixCombinations.java
Created May 23, 2022 22:24
Generate all the combinations of words from character in a matrix using Java
package com.derp;
import java.util.ArrayList;
import java.util.Collections;
public class Main {
public static ArrayList<String> combineCharWithWords( String character,
ArrayList<String> words ) {
ArrayList<String> result = new ArrayList<>();
@jpruiz114
jpruiz114 / HeidiDecode.js
Last active September 15, 2015 20:13 — forked from jpatters/HeidiDecode.js
Decodes a password from HeidiSQL. HeidiSQL passwords can be found in the registry. Use File -> Export Settings to dump all settings. Great for if you forget a password.
function heidiDecode(hex) {
var str = '';
var shift = parseInt(hex.substr(-1));
hex = hex.substr(0, hex.length - 1);
for (var i = 0; i < hex.length; i += 2)
str += String.fromCharCode(parseInt(hex.substr(i, 2), 16) - shift);
return str;
}
document.write(heidiDecode('755A5A585C3D8141786B3C385E3A393'));