Skip to content

Instantly share code, notes, and snippets.

View chemmyone's full-sized avatar

Some guy chemmyone

View GitHub Profile
Verifying my Blockstack ID is secured with the address 1MJHTodJ6GxSi9qEZkcVyJXZvjL1im928C https://explorer.blockstack.org/address/1MJHTodJ6GxSi9qEZkcVyJXZvjL1im928C
@chemmyone
chemmyone / .htaccess
Created April 23, 2018 00:11 — forked from Zodiac1978/.htaccess
Make your Website faster - a safe htaccess way
#
# Sources:
# http://stackoverflow.com/questions/7704624/how-can-i-use-gzip-compression-for-css-and-js-files-on-my-websites
# http://codex.wordpress.org/Output_Compression
# http://www.perun.net/2009/06/06/wordpress-websites-beschleuinigen-4-ein-zwischenergebnis/#comment-61086
# http://www.smashingmagazine.com/smashing-book-1/performance-optimization-for-websites-part-2-of-2/
# http://gtmetrix.com/configure-entity-tags-etags.html
# http://de.slideshare.net/walterebert/die-htaccessrichtignutzenwchh2014
# http://de.slideshare.net/walterebert/mehr-performance-fr-wordpress
#

Keybase proof

I hereby claim:

  • I am chemmyone on github.
  • I am chemmyone (https://keybase.io/chemmyone) on keybase.
  • I have a public key ASDPCPV0h8lsu5t7kwMszOvmOLe0yp2-8QrxcDcUJnjR3go

To claim this, I am signing this object:

#!/usr/bin/env ruby
#
# Usage:
# cd /git/project/directory
# git hub-diff 223d60f5486075e74851075fcfeb366d45c17d8b 13c86f00cbfe820c415b46bfd19268284db2a274
# Future features:
# * generate SHAs from refs
# * launchy support
require 'rubygems'
CXX Spell.o
../../../src/game/Spell.cpp: In member function ‘void Spell::SetTargetMap(SpellEffectIndex, uint32, std::list<Unit*, std::allocator<Unit*> >&)’:
../../../src/game/Spell.cpp:1987: error: no matching function for call to ‘std::list<Unit*, std::allocator<Unit*> >::erase(std::_List_const_iterator<Unit*>)’
/usr/include/c++/4.4/bits/list.tcc:107: note: candidates are: std::_List_iterator<_Tp> std::list<_Tp, _Alloc>::erase(std::_List_iterator<_Tp>) [with _Tp = Unit*, _Alloc = std::allocator<Unit*>]
/usr/include/c++/4.4/bits/stl_list.h:1092: note: std::_List_iterator<_Tp> std::list<_Tp, _Alloc>::erase(std::_List_iterator<_Tp>, std::_List_iterator<_Tp>) [with _Tp = Unit*, _Alloc = std::allocator<Unit*>]
make[3]: *** [Spell.o] Error 1