Skip to content

Instantly share code, notes, and snippets.

@coolreader18
Last active November 1, 2021 04:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coolreader18/c1a14e212679dd38927dcb2cf7b5500d to your computer and use it in GitHub Desktop.
Save coolreader18/c1a14e212679dd38927dcb2cf7b5500d to your computer and use it in GitHub Desktop.
git clone https://gist.github.com/c1a14e212679dd38927dcb2cf7b5500d google_solitaire && cd google_solitaire && ./dl_google_solitaire.sh
#!/bin/bash
cd "$(dirname "$0")"
wget -B https://www.google.com/logos/fnbx/solitaire/ -x -nH --cut-dirs 3 -i files.txt -nv
mv standalone*.html index.html
rm -rf files.txt dl_google_solitaire.sh .git
./standalone.3.html
./solitaire_compiled.4.js
./default.2.css
./mobile_portrait.css
./ipad.css
./ribbon_no_text.png
./card-sprite.2.png
./audio/flip.mp3
./audio/flip.ogg
./audio/shuffle.mp3
./audio/shuffle.ogg
./audio/winscreen.mp3
./audio/winscreen.ogg
#!/bin/bash
exec miniserve -p 3040 --index index.html -i 127.0.0.1 "$(dirname "$0")"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment