Skip to content

Instantly share code, notes, and snippets.

View piraces's full-sized avatar
Developing

Raúl Piracés Alastuey piraces

Developing
View GitHub Profile
@piraces
piraces / openpgp.md
Created November 17, 2022 19:52
openpgp.md

openpgp4fpr:84BF523F3F3EFA760C3E2C0C0C1A484B87269CD7

@piraces
piraces / Update-Force-Test-.md
Last active February 5, 2021 22:03
Update Force Test Report #powershell #chocolatey
@piraces
piraces / Update-AUPackages.md
Last active April 24, 2024 05:06
Update-AUPackages Report #powershell #chocolatey
@piraces
piraces / drive-format-ubuntu.md
Created January 15, 2021 14:40 — forked from keithmorris/drive-format-ubuntu.md
Partition, format, and mount a drive on Ubuntu
@piraces
piraces / somethingToGif.sh
Last active November 19, 2019 18:32
Simple script to convert a batch of videos to GIFs
#!/bin/bash
if [ $# -eq 0 ]
then
echo "Please provide a video extension as argument"
fi
for f in *.$1;
do ffmpeg -i "$f" "${f%.*}_out.gif";
rm "$f"; done
@piraces
piraces / renameBranch.ps1
Created June 18, 2019 13:39
Powershell script to rename a branch in Git
$oldName = "feature/fix"
$newName = "feature/fixes"
$directory = "C:\Projects\Folder"
Set-Location -Path $directory
git fetch
git checkout $oldName
git pull
git branch -m $newName
git branch -m $oldName $newName

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@piraces
piraces / dropboxFix.sh
Last active August 29, 2015 14:23
Fix dropbox problem with max_user_watches (compatible with several linux distros).
#!/bin/bash
# Autor: Raul Piraces.
# This script requires "sudo" to be installed.
# Fix dropbox problem with max_user_watches.
# Working on several linux distros (based on ArchLinux, Debian, Ubuntu, Fedora, CentOS, etc.).
FILE="/usr/lib/sysctl.d/50-default.conf"
FILE2="/etc/sysctl.conf"
if [ -f $FILE ];