Skip to content

Instantly share code, notes, and snippets.

View Akaricchi's full-sized avatar

Andrei Alexeyev Akaricchi

View GitHub Profile
@Akaricchi
Akaricchi / gist:1494679
Created December 18, 2011 22:31
CRA profile
^7server Profile:
^7[CallCount] [Statement] [BuiltinCt] [StmtTotal] [BltnTotal] [self]
^7 147920 75028679 9296509 148979951 17894325 50.53% UpdateSelectedPlayer
^7 2936712 67530968 5578412 67530968 5578412 100.00% shownames_customize
^7 3092755 59358412 0 59358412 0 100.00% Client_customizeentityforclient
^7 170576 59046648 1941592 74246164 4121671 77.82% SV_PlayerPhysics
^7 3092755 52327960 0 52327960 0 100.00% entcs_customize
^7 1082287 43360655 10828106 43360655 10828106 100.00% SendEntity_ShowNames
^7 2690372 43073715 2304671 66028350 7405701 61.79% UpdateSelectedPlayer_canSee
^7 2663215 39620207 0 66088138 0 59.95% ArrayGet*scores_flags
@Akaricchi
Akaricchi / gitignore
Created August 7, 2011 08:38
.gitignore for windoze
#ignore thumbnails created by windows
Thumbs.db
#Ignore files created by Visual Studio and/or Mono
*.obj
*.exe
*.pdb
*.user
*.aps
*.pch
*.vspscc
@Akaricchi
Akaricchi / fuu.txt
Created July 28, 2011 14:50 — forked from anonymous/fuu.txt
tralalalalala
sv_motd ""
maxplayers 16
minplayers 2 //bots
port 26000
log_file "nexuiz-server.log"
sv_friction_on_land 0.3
Assertion failed: S > 0.0f at line 302 of panda/src/linmath/lquaternion_src.cxx
Traceback (most recent call last):
File "/data/home/build/openlancer/client/odeSpace.py", line 651, in worldTask
self.camHandler.update(dx, dy)
File "/data/home/build/openlancer/client/odeSpace.py", line 84, in update
base.camera.lookAt(self.targetNode)
AssertionError: S > 0.0f at line 302 of panda/src/linmath/lquaternion_src.cxx
:task(error): Exception occurred in PythonTask spaceWorldTask
Traceback (most recent call last):
File "game.py", line 150, in <module>
#!/usr/bin/env bash
usage() {
cat << _EOF_
usage: $_app [option] <file|code>
options:
-p create a private gist
-g get gist specified by its code
-c clone gist specified by its code