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
#!/bin/bash | |
gdb -p "$1" -batch -ex 'set {short}$rip = 0x050f' -ex 'set $rax=231' -ex 'set $rdi=0' -ex 'cont' |
- Add
autocomplete="off"
onto<form>
element; - Add hidden
<input>
withautocomplete="false"
as a first children element of the form.
<form autocomplete="off" method="post" action="">
<input autocomplete="false" name="hidden" type="text" style="display:none;">
...
Here's a list of bad things that are related to shapefiles
- There is a 2 GB size limit for any shapefile component file, which translates to a maximum of roughly 70 million point features.
- Shapefiles do not contain an XY tolerance.
- A shapefile may take up three to five times as much space as a file geodatabase or SDE because of shape compression methods.
- Field names cannot be longer than 10 characters.
- The maximum number of fields is 255
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
/**************************************************************************************/ | |
/**************************************************************************************/ | |
/**************************************************************************************/ | |
var cnst_city_selected_zoom_level = 17; | |
function Cacher(url, icon) { | |
var cnst_dictionary = { | |
dict_cmd_choose_city:{bg:"Моля изберете град", en:"Please choose city"}, | |
}; | |
var self = this; |
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
proration cost = (period end - API request time) / (period end - period start) * quantity * plan price |
I'm going to cover a simple, but effective, utility for managing state and transitions (aka workflow). We often need to store the state (status) of a model and it should only be in one state at a time.
- Publishing (Draft->Approved->Published->Expired->Deleted)