Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
export SCRIPT_PATH="`dirname \"$0\"`"
echo $SCRIPT_PATH
cd $SCRIPT_PATH
for DIR in */ ;
do
echo $DIR
cd $DIR
git remote update
cd $SCRIPT_PATH
@felipem775
felipem775 / prepareNeogeoRoms.txt
Created November 23, 2017 21:58
Crear un directorio de roms solo con las de neogeo
$ wget https://raw.githubusercontent.com/libretro/fbalpha/master/gamelist.txt
$ cat gamelist.txt |grep "Neo Geo" | sort | awk '{print $2;}' > roms-neogeo.txt
$ xargs -0 -I {} -n 1 ln roms/{}.zip roms-neogeo/ < <(tr \\n \\0 < roms-neogeo.txt )

Keybase proof

I hereby claim:

  • I am felipem775 on github.
  • I am felipem (https://keybase.io/felipem) on keybase.
  • I have a public key ASCRJMebLoMBCJWfls4DK8O-9ZhZMjPxGchyyOIpH224Nwo

To claim this, I am signing this object:

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=5f2d3ad5-9a91-49ee-8df9-cfd6f44a9d04 / ext4 errors=remount-ro 0 1
# /home was on /dev/sda2 during installation

Tienda donde venden piedras de Go:
Hans, es una tienda de comida coreana. Muchas veces tienen la puerta cerrada pero hay un timbre y también tienen un número de teléfono.
El juego de piedras lo venden por 25€ y el tablero también por 25€, si se compran ambas cosas son 45€ pero el tablero no me gusta porque la calidad es baja y tiene bisagras por debajo que pueden rayar la mesa.
Es preferible llamar para preguntar si tienen piedras antes de ir. Piedras de Go o Baduk (el nombre del juego en coreano).
Dirección: https://goo.gl/maps/VSPfKT4rraU2

// Return ihwrfhib/bimep/bimep_2017051700.nc
function get_latest(url) {
return fetch(url)
.then(response => response.text()).then(str => (new window.DOMParser()).parseFromString(str, "text/xml"))
.then(function (xml){
return xml.getElementsByName('Latest bimep')[0].attributes['urlPath'].value;
});
}
@felipem775
felipem775 / js-dev.md
Created April 17, 2017 07:38
Códigos para debug js
@felipem775
felipem775 / DUKE3D.CFG
Created December 23, 2015 20:13
GOG Duken Nuken 3D WASD Config
[Setup]
;Setup File for Duke Nukem 3D
SetupVersion = "1.4"
;
;
[Screen Setup]
;
;
;ScreenMode
; - Chained - 0
#!/bin/bash
FILENAME="private.img";
FILESIZE="100M";
# Create encrypted volume if it doesn't exist
if [ ! -f $FILENAME ]; then
echo "Creating image file...";
dd if=/dev/zero of=$FILENAME bs=$FILESIZE count=0 seek=1