Skip to content

Instantly share code, notes, and snippets.

View skorasaurus's full-sized avatar

Will Skora skorasaurus

View GitHub Profile
$search_unique_id = esc_attr( wp_unique_id() );
?>
<form role="search" method="get" class="search-form"
action="<?php echo esc_url( home_url( '/' ) ); ?>">
<label for="search-input-<?php echo ( $search_unique_id ); ?>" class="label-large"> Enter what you want to search for</label>
<input type="search" id="search-input-<?php echo ( $search_unique_id ); ?>" required class="search-field" placeholder="<?php echo '" name="s"'; ?> />
================================
twitter:
username/id_stR
How open cleveland survives without govt support:
minimal open data;
(slide of our open data census ranking)
function search_redirect_form() {
if (is_search() && ! empty( $_GET['simple'] ) ) {
if (isset($_GET['simple']) && $_GET['simple'] == 'dogpile') {
$query = sanitize_text_field($_GET["s"]);
wp_redirect(esc_url('theurl1'. $query));
exit();
}
if (isset($_GET['simple']) && $_GET['simple'] == 'altavista') {
$query = sanitize_text_field($_GET["s"]);
wp_redirect(esc_url('url2'. $query .'/field/all/mode/all/conn/and/order/nosort'));
docker run -it --rm \
-v "$(pwd)/geotagged-images:/code/images" \
-v "$(pwd)/odm_orthophoto:/code/odm_orthophoto" \
-v "$(pwd)/settings.yaml:/code/settings.yaml" \
-v "$(pwd)/odm_texturing:/code/odm_texturing" \
opendronemap/odm --fast-orthophoto | tee 2019-09-01-take8.log
===================
[INFO] Fast orthophoto is turned on, automatically setting --skip-3dmodel
[INFO] Initializing OpenDroneMap app - Sun Sep 01 17:56:43 2019
docker run -it --rm \
> -v "$(pwd)/images:/code/images" \
> -v "$(pwd)/odm_orthophoto:/code/odm_orthophoto" \
> -v "$(pwd)/settings.yaml:/code/settings.yaml" \
> -v "$(pwd)/odm_texturing:/code/odm_texturing" \
> -v "$(pwd)/gcp_list.txt:/code/gcp_list.txt" \
> opendronemap/odm
[INFO] Initializing OpenDroneMap app - Wed Aug 21 20:28:50 2019
[INFO] ==============
[INFO] build_overviews: False
+proj=utm +zone=17 +ellps=WGS84 +datum=WGS84 +units=m +no_defs
449136.64 4595136.63 0 3575.29 2948.44 14124.jpeg
449136.64 4595136.63 0 1354.69 2961.27 14125.jpeg
448974.03 4595297.84 0 3224.75 2645.43 14124.jpeg
448973.95 4595297.87 0 1043.86 2643.96 14125.jpeg
448649.37 4595051.32 0 2618.95 3164.18 14124.jpeg
451416.56 4595960.28 0 1606.01 1494.37 14127.jpeg
451416.56 4595960.28 0 3620.19 1227.36 14126.jpeg
452284.43 4596997.32 0 2680.39 3288.98 15104.jpeg
448645.29 4596207.26 0 352.71 1150.28 14125.jpeg
this is 7.0 ok.
// make child theme inherit all of Tempera's external WP options (header/bg/menus/widgets)
if ( get_stylesheet() !== get_template() ) {
add_filter(
'pre_update_option_theme_mods_' . get_stylesheet(),
function ( $value, $old_value ) {
update_option( 'theme_mods_' . get_template(), $value );
return $old_value; // prevent update to child theme mods
},
10,
.screen-reader-text {
border: 0;
clip: rect(1px, 1px, 1px, 1px);
clip-path: inset(50%);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
she wants to learn;
she wants to know if she could make an appointment for a computer class;
she wants to also know how to code; (she )
(and how );
// searchform;
<input type="radio" name="search-form-source" id="catalog" value="catalog"/>
<label for="catalog">Catalog</label>
<input type="radio" name="search-form-source" id="overdrive" value="overdrive"/>
<label for="overdrive">Ebooks</label>
<input type="radio" name="search-form-source" id="digitalgallery" value="digitalgallery"/>
<label for="digitalgallery">Digital Gallery</label>
<input type="radio" name="search-form-source" id="cpl-dot-org" value="cpl-dot-org"/>
<label for="cpl-dot-org">website</label>