Skip to content

Instantly share code, notes, and snippets.

View zdravkok's full-sized avatar

Zdravko Karanovic zdravkok

  • Ecommistry
  • Novi Sad
View GitHub Profile
@jamis
jamis / grid.txt
Created August 4, 2015 22:25
A program for solving Sam Lloyd's "Back from the Klondike" puzzle.
__________xxx__________
_______xxx477xxx_______
_____xx544833463xx_____
____x1451114517135x____
___x494967555876685x___
__x37298356739187585x__
__x14784292711822763x__
_x7218553113133428613x_
_x4267252422543281773x_
_x4165111914344319827x_
@markshust
markshust / gist:2cee3dd991bafc90e161
Created July 30, 2014 14:44
Search Magento local codePool for invalidly formatted XML
find app/code/local/ -type f -name "*.xml" -exec xmllint --noout {} \;
@willurd
willurd / web-servers.md
Last active April 26, 2024 18:00
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000