Generated from List of CS:GO Cvars on 2020-12-07.
Protocol version 13752 [1105/1105]
Exe version 1.37.5.2 (csgo)
Exe build: 16:34:06 May 7 2020 (7852) (730)
1941 convars total.
Generated from List of CS:GO Cvars on 2020-12-07.
Protocol version 13752 [1105/1105]
Exe version 1.37.5.2 (csgo)
Exe build: 16:34:06 May 7 2020 (7852) (730)
1941 convars total.
| function k-enabled() { | |
| if [ ! -z "$PS1_LAST" ]; then | |
| return 0 | |
| fi | |
| return 1 | |
| } | |
| # show current context | |
| function k-on() { | |
| if k-enabled; then |
| import importlib | |
| m = importlib.import_module('mypackage.mymodule') | |
| def foo(): | |
| return 42 | |
| m.foo = foo |
| #!/usr/bin/env python | |
| # Clean up tagged/untagged ECR images by age | |
| # You need to set AWS_DEFAULT_REGION environment variable if you're deleting from an ECR | |
| # repository outside your configured default region | |
| # | |
| # python cleanup_ecr.py --registry-id 123456789000 --repository-name ecr-foobar \ | |
| # --untagged-age 1 --tagged-age 30 --dry-run | |
| import argparse |
| import logging | |
| # more verbose %(asctime)s %(levelname)s [%(module)s.%(funcName)s():%(lineno)d] %(message)s | |
| logging.basicConfig(format='%(asctime)s %(levelname)s %(message)s') | |
| logger = logging.getLogger(__name__) | |
| logger.setLevel(logging.INFO) |
| extern crate kiss3d; | |
| extern crate nalgebra; | |
| extern crate rand; | |
| extern crate serde; | |
| #[macro_use] | |
| extern crate serde_derive; | |
| extern crate serde_json; | |
| use kiss3d::camera::ArcBall; | |
| use kiss3d::scene::SceneNode; |
| extern crate kiss3d; | |
| extern crate nalgebra; | |
| extern crate rand; | |
| extern crate serde; | |
| #[macro_use] | |
| extern crate serde_derive; | |
| extern crate serde_json; | |
| use kiss3d::camera::ArcBall; | |
| use kiss3d::scene::SceneNode; |
| { | |
| "player_id": 0, | |
| "turn": 0, | |
| "map": [ | |
| [{ | |
| "occupants": [{ | |
| "target": null, | |
| "hit": 1, | |
| "posy": 0, | |
| "type": "Fort", |
| # this original one uses values returned from 'brew info' | |
| brew list --formula | xargs -n1 -P8 -I {} \ | |
| sh -c "brew info {} | egrep '[0-9]* files, ' | sed 's/^.*[0-9]* files, \(.*\)).*$/{} \1/'" | \ | |
| sort -h -r -k2 - | column -t | |
| # faster alternative using 'du' | |
| du -sch $(brew --cellar)/*/* | sed "s|$(brew --cellar)/\([^/]*\)/.*|\1|" | sort -k1h |
| import asyncore | |
| import socket | |
| import sys | |
| class EchoHandler(asyncore.dispatcher_with_send): | |
| def handle_read(self): | |
| data = self.recv(8192) | |
| if data: | |
| self.send(data) |