Skip to content

Instantly share code, notes, and snippets.

View FoxNeo's full-sized avatar
👨‍💻
Focusing

Miguel Caceres FoxNeo

👨‍💻
Focusing
  • Germany
View GitHub Profile
@FoxNeo
FoxNeo / tkstar-tk915.adoc
Created May 1, 2024 17:49 — forked from gmarfjan/tkstar-tk915.adoc
Commands for managing a tk-start tk915 GPS tracker

TKSTAR-TK915 SMS Commands

Nota

  • <space> means space character

  • <phone number> like 00330612345678 (prefer international format)

Table 1. Admin commands

Debug Spring Boot application

To Start a JAR with debug remote port:

$ java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8001 -jar app.jar

Then connect to remote JVM at port 8001 from your IDE (InteliJ or Eclipse)

@FoxNeo
FoxNeo / create-mvn-project.md
Created April 22, 2024 13:18
Generate a mvn project struct

create a maven project

$ mvn archetype:generate -DgroupId=com.mycompany.app -DartifactId=my-app -DarchetypeArtifactId=maven-archetype-quickstart -DarchetypeVersion=1.4 -DinteractiveMode=false

Maven Commands

Check las version dependencies:

$ mvn versions:display-dependency-updates
@FoxNeo
FoxNeo / git-commands.md
Last active March 6, 2024 20:31
Command to sign commit or other configuration

Git commands

show global confg

$ git config --global --list

sign commits local repository

$ git config commit.gpgsign true
@FoxNeo
FoxNeo / python-clicker.py
Created June 8, 2023 17:37
To click automaticaly on web pages
import time
import threading
import sys
from pynput.mouse import Controller, Button
from pynput.keyboard import Listener, KeyCode
TOOGLE_KEY = KeyCode(char="t")
EXIT_KEY = KeyCode(char="q")

SSH key gen rsa

ssh-keygen -t rsa -b 4096

SSH key gen github

$ ssh-keygen -t ed25519 -C "your_email@example.com"
@FoxNeo
FoxNeo / run-typescript-in-terminal.md
Last active June 13, 2022 15:26
A short tutorial, how to run TypeScript in Terminal

Run TypeScript code from terminal

Create a node project:

$ npm init

Add to your node project:

$ npm install typescript --save-dev

Add TypeScript config