Skip to content

Instantly share code, notes, and snippets.

@vgarrido
vgarrido / bash_ping_scan.sh
Last active July 4, 2022 19:54
shell ping scan
for i in {1..254} ;do (ping -c 1 192.168.0.$i | grep "bytes from" &) ;done|cut -d " " -f4|tr -d “:”
@vgarrido
vgarrido / logmein-hamachi-workaround-macbook-m1-arm.txt
Created January 26, 2022 12:27
LogMeIn Hamachi Workaround on Macbook M1 ARM CPU.
# LogmeIn Hamachi Macbook M1 (ARM) Workaround
Solución a los problemas para conectarse a redes Hamachi usando chip Apple M1.
Para lograrlo, básicamente debemos agregar nuestro Mac como si se tratara de un móvil o tablet, para ello:
1. Agregar cliente móvil, ir a: [https://secure.logmein.com/central/Central.aspx](https://secure.logmein.com/central/Central.aspx) -> Add Client -> Add mobile client -> Client name (M1_Mac) -> Create
2) -> My Networks -> (Network_name) -> Clients -> Members -> Add/Remove Members (M1_Mac)
3) -> My Networks -> (Network_name) -> (M1_Mac) -> Edit -> Mobile
@vgarrido
vgarrido / gist:b16b5d33d351aa462dcf95531e4d6ccf
Created September 22, 2021 23:01
Git GUI Clients.... Authentication required but no callback set
# Workaround for " Authentication required but no callback set "
$ ssh-add -K ~/.ssh/id_rsa
@vgarrido
vgarrido / Windows 10 Optimization Script.ps1
Created July 7, 2021 02:44
Windows 10 Optimization Script
##########
# Win10 Optimization Script With Extra GPD Win Tweaks
# Adapted version of https://github.com/Disassembler0/Win10-Initial-Setup-Script by Disassembler <[email protected]>
# Author: BlackDragonBE
# Version: v2.2.1 (2017-12-02)
# Copied from https://www.reddit.com/r/gpdwin/comments/6ipa6c/windows_10_optimization_script_for_gpd_win/
##########
# As a workaround for disabled script execution, run this command (without #) in an elevated PowerShell windows first and choose "all" if you're asked where to apply this:
# Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
# Batch convert all .doc/.docxx files encountered in folder and all its subfolders
# The produced PDF files are stored in the invocation folder
# Adapted from : https://gist.github.com/mp4096/1a2279ec7b3dfec659f58e378ddd9aee
# Adapted from http://stackoverflow.com/questions/16534292/basic-powershell-batch-convert-word-docx-to-pdf
# Thanks to MFT, takabanana, ComFreek
#
# If PowerShell exits with an error, check if unsigned scripts are allowed in your system.
# You can allow them by calling PowerShell as an Administrator and typing
# ```
# Set-ExecutionPolicy Unrestricted

Keybase proof

I hereby claim:

  • I am vgarrido on github.
  • I am vgarrido (https://keybase.io/vgarrido) on keybase.
  • I have a public key ASCpDWSrriipcWZ47TqhXM6CSXbvF6s9ocjbMkVEg7Ul2Ao

To claim this, I am signing this object: