#How to compile
Type make
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# On branch stable-v2 | |
nothing to commit (working directory clean) | |
The previous cherry-pick is now empty, possibly due to conflict resolution. | |
If you wish to commit it anyway, use: | |
git commit --allow-empty | |
Otherwise, please use 'git reset' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AppendText(text) { | |
; appends text to the end without changing the entire contents or scrolling to the top | |
; thanks TheGood http://www.autohotkey.com/forum/topic56717.html | |
editHWND := ?? | |
SendMessage, 0x000E, 0, 0,, ahk_id %editHWND% ;WM_GETTEXTLENGTH | |
SendMessage, 0x00B1, ErrorLevel, ErrorLevel,, ahk_id %editHWND% ;EM_SETSEL | |
SendMessage, 0x00C2, False, &text,, ahk_id %editHWND% ;EM_REPLACESEL | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void savevox (char *filnam) | |
{ | |
FILE *fil; | |
long i, x, y, z; | |
voxtype *vptr, *vptr2; | |
optimizexdimen(); | |
optimizeydimen(); | |
optimizezdimen(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Adds the ability to 'trust' certain players, i.e. they cannot be votekicked | |
or rubberbanded. | |
Maintainer: mat^2 / hompy | |
""" | |
from commands import add, admin, get_player | |
import votekick |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (c) Mathias Kaerlev 2011-2012. | |
# This file is part of pyspades. | |
# pyspades is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# pyspades is distributed in the hope that it will be useful, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (c) Mathias Kaerlev 2011-2012. | |
# This file is part of pyspades. | |
# pyspades is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# pyspades is distributed in the hope that it will be useful, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
table t1 contains 4 rows, with id = 1, 2, 3, 5 | |
SELECT X, Y | |
FROM ( | |
SELECT A.id as X, (SELECT MIN(b.id) FROM t1 AS B WHERE B.id > A.id) as Y | |
FROM t1 AS B | |
) C | |
WHERE Y IS NOT NULL | |
id1 | id2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cls := new TeeClasses(MyClass, MyOtherClass) | |
inst := new cls() | |
inst.MyMethod("a","b") ; this calls MyMethod from *both* classes | |
class MyClass | |
{ | |
MyMethod(arg1, arg2) | |
{ | |
msgbox % A_ThisFunc " called with: " arg1 ", " arg2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main |
OlderNewer