text:
/// <reference path="../../../typings/jquery/jquery.d.ts" />

import {SiteMap} from 'content/home/SiteMap';

export class siteMapService {

    public getSiteMaps(url: string, successCallBack, errorCallBack) {
        console.log('siteMapService getSiteMaps url value: ' + url);
        var self = this;
        $.ajax({
            //url: 'http://localhost:8080/rest/sitemaps',
            url: url,
            headers: { 'Accept': 'application/json' },
            success: function (data, textStatus, jqXHR) {
                self.extractSiteMaps(data, textStatus, jqXHR, successCallBack, errorCallBack)
            },
            error: errorCallBack
        });
    }

    public extractSiteMaps(data: any, textStatus: string, jqXHR, successCallBack, errorCallBack) {
        var siteMapList: SiteMap[];
        if (!data || (!data.sitemap && !data.sitemaps)) {
            errorCallBack(jqXHR, 'parserError', 'Sitemap data was empty');
            return;
        }

        if (data.sitemap) {
            var siteMap = new SiteMap();
            siteMap.Label = data.sitemap.label;
            siteMap.Name = data.sitemap.name;
            if (!data.sitemap.homepage || !data.sitemap.homepage.link) {
                errorCallBack(jqXHR, 'parserError', 'homepage data was empty');
                return;
            }
            siteMap.Url = data.sitemap.homepage.link;
            siteMapList = [siteMap];
            console.log('single sitemap with label: ' + siteMap.Label);
            successCallBack(siteMapList);
            return;
        }

        if (!data.sitemaps.length || (data.sitemaps.length < 1)) {
            errorCallBack(jqXHR, 'parserError', 'Sitemap collection was empty');
            return;
        }

        console.log('number of sitemaps: ' + data.sitemaps.length);
        siteMapList = [];
        for (var i = 0; i < data.sitemaps.length; i += 1) {
        //for (var openHabSiteMap in data.sitemaps) {
            var siteMap = new SiteMap();
            siteMap.Label = data.sitemaps[i].label;
            siteMap.Name = data.sitemaps[i].name;
            siteMap.Url = data.sitemaps[i].link;
            siteMapList.push(siteMap);
            //console.log('sitemap pushed onto List with label: ' + siteMap.Label);
        }
        console.log('sitemap list formed with length: ' + siteMapList.length);
        successCallBack(siteMapList);
        return;
    }

    public getSiteMap(name: string, url: string, successCallBack, errorCallBack) {
        var self = this;
        $.ajax({
            url: url,
            headers: { 'Accept': 'application/json' },
            success: function (data, textStatus, jqXHR) {
                var siteMap = self.setSingleSiteMap(data);
                successCallBack(siteMap);
            },
            error: errorCallBack
        });
        return;
    }

    public setSingleSiteMap(data: any): SiteMap {
        var siteMap = new SiteMap();
        siteMap.Label = data.sitemap.label;
        siteMap.Name = data.sitemap.name;
        if (!data.sitemap.homepage || !data.sitemap.homepage.link) {
            //errorCallBack(jqXHR, 'parserError', 'homepage data was empty');
            return;
        }
        siteMap.Url = data.sitemap.homepage.link;
        //console.log('single sitemap with label: ' + siteMap.Label);
        return siteMap;
    }

}


text:
Friesenheim település Franciaországban, Bas-Rhin megyében.   Átfolyik rajta a Rajna–Rhône-csatorna.

Népesség
A település népességének változása:

Templomok és kápolnák
 Szent Miklós-templom, 1737 körül épült
 Notre-Dame (Neunkirch), 1752 körül
 Szent Anna-kápolna (Neunkirch), 1891 körül

Jegyzetek

Fordítás

További információk

Bas-Rhin megye települései
Bottal létrehozott francia település cikkek

redpajama_set_name: RedPajamaWikipedia


text:
Home Local News Nearly one-third of LA students absent on first day back from winter...
Nearly one-third of LA students absent on first day back from winter break amid COVID surge
Nearly a third of public school students in Los Angeles were absent Tuesday on their first day back from winter break, officials said, as the district requires each child to be tested for COVID-19 on a weekly basis.
The 68.8 percent of students at Los Angeles Unified School District that did make it to class were forced to stand in long lines as school officials made sure each child had proof of a negative coronavirus test before entering the building.
As of late Tuesday, there was a 15 percent COVID-19 positivity rate among employees and 17 percent for students.
LAUSD will keep on testing students and staff weekly through January as Omicron cases continue to surge in Los Angeles County.
Students who showed up to school on Tuesday without a negative result were tested on-site.
Students in Los Angeles are required to be subject to COVID-19 testing on a weekly basis.
The district had handed out about 300,000 take-home antigen tests in preparation for the spring classes, said LAUSD Board Member Tanya Ortiz Franklin. Another 150,000 are expected to be distributed in the coming days.
In the meantime, LAUSD also will continue to provide PCR testing for students at the 12 district locations throughout LA County.
While there were some issues on Tuesday with loading and accessing information from the district's Daily Pass system, Ortiz Franklin told the Post school officials were ready to deal with any first-day snafus.
"There were some glitches in the Daily Pass system, which happened last semester as well, but we always plan for contingencies," Franklin said.
"Our schools printed the list of kids who were cleared to enter the campus. It took a little bit longer than we would've liked, but we anticipated that."
Los Angeles County will continue testing its students for COVID-19 through January.
Kids who tested positive and have to quarantine for at least five days are communicating with teachers and attending classes online.
On Monday, teachers prepared assignments and lesson plans for students who would have to start their first day of school virtually.
Franklin told the Post that teacher shortages were already an issue before the pandemic, but with the latest COVID surge, the district is doing whatever it can to make sure classes are staffed. Some classrooms might have to mix students from different classes, she said.
Eighth-grade student Isabella Gonzalez waits by a classroom door as students return to in-person learning at Olive Vista Middle School on Jan. 11, 2022.
"With close to 15 percent of our staff being positive out this week, we deployed folks from the central office and asked local school districts if they have a teaching credential if they could cover a class," Ortiz Franklin said.
"The students could get dispersed into another classroom, or a teacher will cover a class during their conference period. So rather than the teacher grading papers or planning, they have to step in and substitute. There is a real team spirit, and I would say that's not just because of the pandemic, but it really has taught us that we are all in this together."

redpajama_set_name: RedPajamaCommonCrawl


Smartphones: what is the Pro version of the Xiaomi Mi 8?
Towards smartphones with … 16 photographic sensors?
Smartphone 4 inches vs 6 inches: which screen should I choose?
Palm: A phone to get rid of an addiction to phones?
Top smartphone 2019: which model to choose?


text:
#include <cmath>
#include <limits>
#include <string>
#include "stop_watch.hpp"    // includes <ctime>

namespace phycas
{

/*----------------------------------------------------------------------------------------------------------------------
|	Constructor sets ...
*/
StopWatch::StopWatch()
	{
    reset();
    max_ticks = std::numeric_limits<std::clock_t>::max();
    min_ticks = std::numeric_limits<std::clock_t>::min();
    ticks_per_sec = (double)CLOCKS_PER_SEC;
	}

/*----------------------------------------------------------------------------------------------------------------------
|	Destructor clears ...
*/
StopWatch::~StopWatch()
	{
	}

/*----------------------------------------------------------------------------------------------------------------------
|
*/
void StopWatch::reset()
	{
    running = false;
    elapsed_seconds = 0.0;
    last_split_time = 0.0;
    start_ticks = (clock_t)0;
    stop_ticks = (clock_t)0;
    start_time = (time_t)0;
    stop_time = (time_t)0;
	}

/*----------------------------------------------------------------------------------------------------------------------
|
*/
void StopWatch::start()
	{
    start_time = time(NULL);
    stop_time = start_time;
    start_ticks = clock();
    stop_ticks = start_ticks;
    elapsed_seconds = 0.0;
    last_split_time = 0.0;
    running = true;
	}

/*----------------------------------------------------------------------------------------------------------------------
|   Stops the StopWatch object and updates `elapsed_seconds'.
*/
void StopWatch::stop()
	{
    stop_time = time(NULL);
    stop_ticks = clock();
    normalize();
    running = false;
	}

/*----------------------------------------------------------------------------------------------------------------------
|   Returns number of seconds that have elapsed since start() was called. Does not call stop().
*/
double StopWatch::elapsedSeconds()
	{
    normalize();
    return elapsed_seconds;
	}

/*----------------------------------------------------------------------------------------------------------------------
|   Returns number of seconds that have elapsed since split() was last called. Does not call stop().
*/
double StopWatch::split()
	{
    normalize();
    double split_seconds = elapsed_seconds - last_split_time;
    last_split_time = elapsed_seconds;
    return split_seconds;
	}

/*----------------------------------------------------------------------------------------------------------------------
|   Updates `elapsed_seconds' data member by computing the difference between a clock() call made now and the one made
|   when timing was started. Overflow in the result from clock() is NOT taken into account.
*/
void StopWatch::normalize()
	{
    if (running)
        {
        stop_ticks = clock();
        //if (stop_ticks < 0 && start_ticks > 0)    // needs work: stop_ticks is unsigned and thus is never negative
        //    {
        //    double a = (double)(max_ticks - start_ticks);
        //    double b = (double)(stop_ticks - min_ticks);
        //    elapsed_seconds += (a + b + 1)/ticks_per_sec;
        //    }
        //else
        //    {
            elapsed_seconds += (double)(stop_ticks - start_ticks)/ticks_per_sec;
        //    }

        // sanity check
        stop_time = time(NULL);
        //double crude_elapsed_seconds = (double)(stop_time - start_time);
        //if (crude_elapsed_seconds > 0.0)
        //    {
        //    double diff = std::fabs(elapsed_seconds - crude_elapsed_seconds);
        //    //PHYCAS_ASSERT(diff < 1.0);   // allow up to 1 sec. difference between clock() and time(NULL) estimates
        //    }

        start_ticks = stop_ticks;
        }
	}

long StopWatch::stopTicks()
	{
    return stop_ticks;
	}

std::string StopWatch::tobinary(long x)
	{
    std::string s;
    long unity = 1L;
    unsigned nbytes = (unsigned)sizeof(long);
    unsigned nbits = 8*nbytes;
    for (unsigned i = 0; i < nbits; ++i)
        {
        if (x & unity)
            s.push_back('1');
        else
            s.push_back('0');
        x >>= 1;
        }
    std::string revs;
    for (std::string::reverse_iterator it = s.rbegin(); it != s.rend(); ++it)
        {
        revs.push_back(*it);
        }
    return revs;
    }

}	// namespace phycas

redpajama_set_name: RedPajamaGithub


text:
Org. development (2) Apply Org. development filter
(-) Remove Ontario filter Ontario
Arkansas Utah Minnesota Ontario Alabama Remove All
BackOffice Thinking
BackOffice Thinking is the creator of LOCATE, the premier land trust database built on Salesforce. Besides LOCATE, we also design, built, and support websites as well as implement and support nonprofit CRMs ( Salesforce, NeonCRM, and CiviCRM ) and provide technology assessments to help guide nonprofits to right decisions.
Although we work with a variety of nonprofits, we have particular expertise with conservation-focused organizations and cultural destination nonprofits such as land trusts, botanical gardens, and smaller museums. Last year we worked with over 50 conservation-based organizations.
Online fundraising Databases Website design
790 East Market Street
West Chester, Pennsylvania 19382
Conservation Impact
Conservation Impact and Nonprofit Impact are client-centered practices of our mission-driven company dedicated to helping organizations become more impactful, successful, and sustainable.
501 S Cherry Street
Dietrich & Associates, P.C.
404 North 31st Street
Billings, Montana 59101
Fidelity Foundation
The Fidelity Foundations are a group of private, non-operating foundations that fund a diverse set of programs on a national scale, with particular focus on Boston and New England. In addition, the Foundations fund nonprofit organizations that strengthen the primary communities in which Fidelity Investments employees live and work. The Foundations' values of responsibility, integrity, compassion, and expertise guide its investments in education, arts and culture, health, conservation, and community services.
Community Conservation education
Boston, Massachusetts 02109
Finite Carbon
With offices in Pennsylvania, Florida, and Oregon and America's largest portfolio of compliance forest offset projects from Maine to Alaska, we offer landowners a single-source solution for creating and monetizing their forest carbon assets. Combining unparalleled project development experience with extensive carbon market knowledge, our in-house team offers the most comprehensive forest carbon project development and commercialization service in the United States.
435 Devon Park Drive
Wayne, Pennsylvania 19087
James Wyse, Esq. Coughlin Duffy LLP
Founded in March 2004 by a group of partners who had practiced together for many years at another major law firm, Coughlin Duffy LLP is a diverse, full-service firm committed to providing legal services of exceptional quality and superior value.
Litigation Trial Mediation Dispute resolution
350 Mount Kemble Avenue
Lyme Timber Company
The Lyme Timber Company LP is a private timberland investment manager that focuses on the acquisition and sustainable management of lands with unique conservation values. Since its founding in 1976, the Company has followed a disciplined and value-oriented approach to investing in forestland and rural real estate in the U.S. and Canada.
23 S Main Street
Hanover, New Hampshire 03755
The Nature Conservancy of Canada (NCC) protects areas of natural diversity for their intrinsic value and for the benefit of our children and grandchildren.
Toronto, Ontario M4P 3J1
North Country Trail Association
The North Country Trail Association is the non-profit partner of the National Park Service, in managing the North Country National Scenic Trail, the nation's longest National Scenic Trail stretching from New York to North Dakota. Together, NPS and NCTA administer, plan, design, construct, manage, maintain, protect and promote the trail with the support of over 1,200 volunteers, and state, federal, local and private partners and affiliates across seven states.
Community engagement Trail maintenance
Lowell, Michigan 49331
Partnership for Gulf Coast Land Conservation
The Partnership for Gulf Coast Land Conservation (the Gulf Partnership) is a coalition of more than 20 local, regional and national conservation organizations that work in the Gulf Coast region within the five Gulf of Mexico states – Alabama, Florida, Louisiana, Mississippi and Texas. Our mission is to increase the pace, quality and permanence of voluntary land and water conservation within the coastal region.
Biloxi, Mississippi 39533
Pheasants Forever
In 1982, a group of pheasant hunters saw the connection between upland habitat loss and declining pheasant populations. An organization dedicated to wildlife habitat conservation was needed, and Pheasants Forever was formed. Pheasants Forever's mission work quickly garnered it a reputation as "The Habitat Organization," a tagline the nonprofit conservation group uses proudly to this day. Pheasants Forever is dedicated to the conservation of pheasants, quail and other wildlife through habitat improvements, public awareness, education, and land management policies and programs. Unique among national conservation organizations, chapters of Pheasants Forever retain 100 percent decision-making control over their locally-raised funds. This allows chapter volunteers to develop wildlife habitat projects and conduct youth conservation events in their communities, while belonging to a national organization with a voice regarding state and federal conservation policy.
1783 Buerkle Circle
Regional Planning Commission of Greater Birmingham
The Regional Planning Commission of Greater Birmingham (RPCGB) provides planning services, economic development services and multiple initiatives for six counties and 84 communities throughout central Alabama. Annual dues provided by the member governments of these counties and communities make it possible for the RPCGB to provide valuable resources. Funding for the Commission is obtained through federal matching grants, member government dues, annual appropriations from the state, and contract fees.
2 20th Street North
Stites & Harbison, PLLC
A full-service law firm representing clients across the United States and internationally, Stites & Harbison, PLLC is known as a preeminent firm managing sophisticated transactions, challenging litigation, and complex regulatory matters on a daily basis. The firm represents a broad spectrum of clients including multinational corporations, financial institutions, pharmaceutical companies, health care organizations, private companies, nonprofit organizations, family-owned businesses and individuals.
Transactions Litigation
250 W Main Sreet
Lexington, Kentucky 40507