This file contains hidden or 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
// Weapon "movement" (behavior of your weapon, reduce gun and scope shifting) | |
cl_bobamt_lat 0.1 | |
cl_bobamt_vert 0.1 | |
cl_bobcycle 2 // 0.98 is enforced by ESEA/ESL | |
cl_viewmodel_shift_left_amt 0.5 // Reduce gun shifting when crouching | |
cl_viewmodel_shift_right_amt 0.5 // Reduce gun shifting when crouching | |
cl_bob_lower_amt 0 | |
// Position the weapon closer to center to get a better view | |
viewmodel_offset_x 2 |
This file contains hidden or 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
import socket | |
import os | |
def make_local_sock_path(sock: socket.socket): | |
return '/tmp/wpa_ctrl_{}-{}'.format(os.getpid(), sock.fileno()) | |
def prepare_wpa_ctrl_socket(ctrl_path: str, local_sock_path=make_local_sock_path): | |
sock = socket.socket(socket.AF_UNIX, socket.SOCK_DGRAM, 0) | |
bind_path = local_sock_path(sock) |
This file contains hidden or 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
http://ftp.gnu.org/gnu/binutils/binutils-2.24.tar.bz2 | |
http://ftp.gnu.org/gnu/gcc/gcc-4.8.2/gcc-4.8.2.tar.bz2 | |
http://www.multiprecision.org/mpc/download/mpc-1.0.2.tar.gz | |
http://www.mpfr.org/mpfr-3.1.2/mpfr-3.1.2.tar.xz | |
http://ftp.gnu.org/gnu/gmp/gmp-6.0.0a.tar.xz | |
https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.14.tar.xz | |
http://ftp.gnu.org/gnu/glibc/glibc-2.19.tar.xz | |
http://prdownloads.sourceforge.net/tcl/tcl8.6.1-src.tar.gz | |
http://prdownloads.sourceforge.net/expect/expect5.45.tar.gz | |
http://ftp.gnu.org/gnu/dejagnu/dejagnu-1.5.1.tar.gz |
This file contains hidden or 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
// | |
// NSArray+firstObject.h | |
// | |
// Created by Pontus Carlsson on 2013-10-02. | |
// | |
#import <Foundation/Foundation.h> | |
@interface NSArray (firstObject) |
NewerOlder