Skip to content

Instantly share code, notes, and snippets.

View krisives's full-sized avatar
🤣

Kristopher krisives

🤣
  • United States
View GitHub Profile
"cl_crosshair_drawoutline" = "0" ( def. "1" ) client archive ss - Draws a black outline around the crosshair for better visibility
"cl_crosshair_dynamic_maxdist_splitratio" = "0.35" min. 0.000000 max. 1.000000 client archive ss - If using cl_crosshairstyle 2, this is the ratio used to determine how long the i
"cl_crosshair_dynamic_splitalpha_innermod" = "1" min. 0.000000 max. 1.000000 client archive ss - If using cl_crosshairstyle 2, this is the alpha modification that will be used f
"cl_crosshair_dynamic_splitalpha_outermod" = "0.5" min. 0.300000 max. 1.000000 client archive ss - If using cl_crosshairstyle 2, this is the alpha modification that will be used f
"cl_crosshair_dynamic_splitdist" = "7" client archive ss - If using cl_crosshairstyle 2, this is the distance that the crosshair pips will
"cl_crosshair_outlinethickness" = "1" min. 0.100000 max. 3.000000 client archive ss - Set how thick you want your crosshair outline to draw (0.1-3)
"cl_crosshairalpha" = "100
@krisives
krisives / ks.cfg
Created October 22, 2015 07:42
Files used when creating fully automated installations of Ubuntu Server using Kickstart
lang en_US
langsupport en_US
keyboard us
mouse
timezone America/Los_Angeles
rootpw --disabled
user farmer --fullname "farmer" --password "changeme"
reboot
text
install
#!/usr/bin/perl -w
use strict;
use Cwd;
use Digest::MD5 qw(md5);
use Dumpvalue;
use File::Compare qw(compare);
use File::Copy qw(cp);
use File::Find;
use File::Temp qw(tempfile);
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDckvYlnDHsNewCkVEvsMy1pJiyiGazZK8CDTNsbtPE25A6n7fZmBaMRVb93MhaZN6xqQ7jBzK6NSTHVzkqq/yZbsfU7YytaGFnFziQ/GYaqH0h1eaHd65UgVb3hfV/Oe8q89Wqn9bUaF+rRnu0wYW+mFpTfHqsxvsJc9SYrfIosKNfcj4N5OYOGOPdn7r+7/Yuhv21S0ixdHgs20K5MzHgkeN//Zcn3Wqfqo1wV5LRLBlZNMIbGD8wDsRyVto8R2emup2xROOHp+pckSKLAPd3EerJSaHSGc7ScNn4AScjGR2mUr8tBRzgOBffsB3Soc7etnsUWAbN/JZJlXfl0qsr krisives
push8 #20
push8 #IO_OVERCLOCK
io
start:
; Read beam sensor
push8 #IO_SENSOR
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- WARNING: Eclipse auto-generated file.
Any modifications will be overwritten.
To include a user specific buildfile here, simply create one in the same
directory with the processing instruction <?eclipse.ant.import?>
as the first entry and export the buildfile again. --><project basedir="." default="build" name="asmcup">
<property environment="env"/>
<property name="debuglevel" value="source,lines,vars"/>
<property name="target" value="1.8"/>
<property name="source" value="1.8"/>
BNAaee2osD78/K9jkE8oNEPNBTkGlBRLiOSOBH3PxCi+Bl4lUdxnfUOQ+aGab36ZS3lkpsWBVqiw0DzIcXTt8teWKF8JAETPdyXw9IXrLO0wBDDYBLEUzwUQFNc5/JQtPiUqox4xgKwsvu7ikHeuhznoPDz60Mh/YakFWuTi/wlODvz9BgpRvl6IweQK5P0exXEz3b5pJQTRr0g5ZWvDnLglJUywLHxsdqn81PzN5DQlLVr86B0BFprYMf6K+ck8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==

IP4 Header

Offset Length Notes
0 1 Version & Header Length
1 1 Type of Service (ToS)
2 2 Total Length
4 2 Packet ID
6 2 Fragment Offset
8 1 TTL
package citydoku;
public class BoardFitness {
public double evaluate(Board board) {
double error = 0;
for (int i = 0; i < 9; i++) {
error += evaluateCell(board, i);
error += evaluateRow(board, i);
error += evaluateColumn(board, i);
Y I 1C 53 62 7E 56
C C 4B 4C 59 49 46
O E 2 4E 23 7F 5D
M D 0D 48 45 4A 4E
E A C B E 18 4A 6A 56 34
K T H S R 37 46 34 42 22
E O P P B 7B 2E 4E 55 75
Y C R O Y 75 43 29 41 70
C T O N C 6C 70 54 4C 54
A F U S O 59 37