Skip to content

Instantly share code, notes, and snippets.

View gvJaime's full-sized avatar
🤔
Focusing

Jaime García gvJaime

🤔
Focusing
View GitHub Profile
@gvJaime
gvJaime / script.sh
Created June 4, 2018 17:19
REMOVE GIT LFS
git filter-branch -f --prune-empty --tree-filter '
if [ -f .gitattributes ]; then
git rm -f .gitattributes
fi
find * -type f | while read FILE; do
while head -2 "$FILE" | grep -q "^oid sha256"; do
ref=$(cat "$FILE")
echo -n "$ref" | git lfs smudge > "$FILE"
git add "$FILE"
done
@gvJaime
gvJaime / liquid.sh
Last active July 6, 2018 17:12
Script for making content aware scale gifs
mkdir tmp
for i in `seq 1 100`;
do
let "owo=100-$i"
echo $owo
/usr/local/bin/convert -liquid-rescale $owo% original.png ./tmp/$i.png
/usr/local/bin/convert -scale 300x300 ./tmp/$i.png ./tmp/$i.png
done
/usr/local/bin/convert -delay 1 -loop 0 ./tmp/{1..100}.png liquid.gif
rm -rf ./tmp
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86_64 3.5.7-dma32+2gb-2 Kernel Configuration
#
CONFIG_64BIT=y
# CONFIG_X86_32 is not set
CONFIG_X86_64=y
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_OUTPUT_FORMAT="elf64-x86-64"
@gvJaime
gvJaime / Strictly Open Source License
Created March 7, 2017 17:14
Open Source license that allows you to read the software and NOTHING ELSE
Copyright (c) <2017> <Jaime García Villena "[email protected]">
STRICTLY OPEN SOURCE LICENSE
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
strictly read the software and gaze at it.
The user is not granted any other rights to deal in the Software in any other way,
including the rights to use, copy, modify, merge, publish, distribute, sublicense,
aalib 1.4rc5-12
accountsservice 0.6.43-1
acl 2.2.52-3
acpi_call 1.1.0-58.parabola1.basekernel4.9
adwaita-icon-theme 3.22.0+1+g58cd459e-1
alsa-lib 1.1.3-1
alsa-plugins 1.1.1-1
apache 2.4.25-1
appstream-glib 0.6.5-1
apr 1.5.2-1
@gvJaime
gvJaime / Usable.sh
Last active March 5, 2017 13:53
Parabola Install until usable state
pacman -S nano xorg gnome gdm gnome-tweak-tool patch make gcc pkg-config tlp gnome-keyring xf86-video-intel gedit xinit openssh
#Bluetooth audio
pacman -S dbus alsa-plugins pulseaudio pulseaudio-bluetooth pulseaudio-alsa bluez-utils bluez
#Cancel GDM's pulseaudio instance.
mkdir -p ~gdm/.config/systemd/user
ln -s /dev/null ~gdm/.config/systemd/user/pulseaudio.socket
#Install apacman