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
func grid_to_world(position): | |
# (0,8) is the offset to the middle of the tile | |
return map_to_world(position) + Vector2(0, 8) | |
func world_to_grid(position): | |
return world_to_map(position) | |
func get_tile_cost(pos): | |
# placeholder | |
return 1.0 |
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
extern crate core; | |
use std::collections::HashSet; | |
use std::sync::{Mutex, Arc}; | |
use core::cmp::Ordering; | |
use std::thread; | |
struct Emitter { | |
count: Mutex<i32>, | |
maximum: i32 |
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
(&(sAMAccountName=%(user)s)(!(userAccountControl:1.2.840.113556.1.4.803:=2))) |
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
/enable_plugin db_auth_plugin | |
/new_user user password |