Convert dates to ISO 8601
value.toDate('mm/dd/yyyy').toString('yyyy-mm-dd')
Combine date / time columns
cells["arrestDate"].value + "T" + cells["arrestTime"].value + ":00-05:00"
Capitalize CDS abbrieve
import arcpy | |
from arcpy import env | |
env.workspace = "c:/workspace" | |
# variables | |
in_features = "soils.shp" | |
clip_features = "study_boundary.shp" |
int x; // example input variable | |
cout << "Enter x: " | |
// Get the input and validate it, check if outside of range | |
while ((!(cin >> x)) || /* && could be used here too, on nothing else */ (x < 999)) | |
{ | |
cin.clear(); // Clear the error flags | |
cin.ignore(100, '\n'); // Remove unwanted characters from buffer | |
cout << "\aEnter x: "; // Sound alert and re-issue the prompt | |
} |
Convert dates to ISO 8601
value.toDate('mm/dd/yyyy').toString('yyyy-mm-dd')
Combine date / time columns
cells["arrestDate"].value + "T" + cells["arrestTime"].value + ":00-05:00"
Capitalize CDS abbrieve
biggie
refine slides
carto slides
big is by Tom MacWright
public class node { | |
int data; | |
node next; | |
public node() | |
{data = 0; next = null;} | |
public node(int x, node n) | |
{data = x; next =n;} |
public class MyLinkedList { | |
private static node head; | |
public void DisplayList(node q) | |
{if (q != null) { | |
System.out.println(q.data); | |
DisplayList(q.next);}} | |
public void Buildlist() throws IOException | |
{node q = new node(0,null); | |
node head = q; | |
String oneLine; |
replace( "DNRNAME",'SF','State Forest') | |
replace( "DNRNAME",'FMA','Fish Management Area') | |
replace( "DNRNAME",'FT','Fire Tower') | |
replace( "DNRNAME",'SP','State Park') | |
replace( "DNRNAME",'CFL','Chesapeake Forest Lands') | |
replace( "DNRNAME",'NRMA','Natural Resource Management Area') | |
replace( "DNRNAME",'NEA','Natural Environment Area') | |
replace( "DNRNAME",'WMA','Wildlife Management Area') | |
replace( "DNRNAME",'HCF','Heritage Conservation Fund Site') |
net stop spooler | |
rundll32.exe setupapi.dll,InstallHinfSection AdobePDFPortMonitor 128 C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\Xtras\AdobePDF\AdobePDF.inf | |
net start spooler | |
rundll32.exe printui.dll,PrintUIEntry /if /b "Adobe PDF" /f "C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\Xtras\AdobePDF\AdobePDF.inf" /r "Documents\*.pdf" /m "Adobe PDF Converter" |
CASE WHEN name = 'SF' THEN 'State Forest' | |
WHEN name = 'FMA' THEN 'Fish Management Area' | |
WHEN name = 'FT' THEN 'Fire Tower' | |
WHEN name = 'SP' THEN 'State Park' | |
WHEN name = 'CFL' THEN 'Chesapeake Forest Lands' | |
WHEN name = 'NRMA' THEN 'Natural Resource Management Area' | |
WHEN name = 'NEA' THEN 'Natural Environment Area' | |
WHEN name = 'WMA' THEN 'Wildlife Management Area' | |
WHEN name = 'HCF' THEN 'Heritage Conservation Fund Site' | |
END |