text:
  Terny-Sorny est
       un village
       géographiquement positionné dans le département de l'Aisne en Picardie. On dénombrait 312 habitants en 2008.

Le nombre d'habitations, à Terny-Sorny, se décomposait en 2011 en sept appartements et 123 maisons soit
 un marché plutôt équilibré.

Si vous envisagez de venir habiter à Terny-Sorny, vous pourrez facilement trouver une maison à vendre.

À proximité de Terny-Sorny sont localisées les villes de
Clamecy localisée à 2 km, 237 habitants,
Leuilly-sous-Coucy située à 3 km, 420 habitants,
Leury à 3 km, 107 habitants,
Margival située à 2 km, 323 habitants,
Laffaux localisée à 3 km, 122 habitants,
Juvigny située à 3 km, 291 habitants,
 entre autres. De plus, Terny-Sorny est située à seulement sept km de Soissons.

redpajama_set_name: RedPajamaGithub


text:
#import "MPUSettingsMainController.h"
#import "MPUSettingsContainerViewController.h"

NSString* const MPUSegueIdentifierSettingsContainer = @"embedSettingsContainer";

@interface MPUSettingsMainController ()

@property (nonatomic, strong) MPUSettingsContainerViewController *settingsContainer;

@end

@implementation MPUSettingsMainController

#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {

    if ([segue.identifier isEqualToString:MPUSegueIdentifierSettingsContainer]) {
        self.settingsContainer = segue.destinationViewController;
        self.settingsContainer.completed = self.completed;
        self.settingsContainer.delegate = self;
    }
}

#pragma mark - Navigation buttons handling

- (void)closeButtonPressed {
    [self.settingsContainer closeButtonPressed];
}

@end


text:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
Uses of Interface org.apache.commons.logging.Log (SLF4J 1.5.2 API)
</TITLE>

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">

      Overview
      Package
      Class
    Use
      Tree
      Deprecated
      Index
      Help

 PREV
 NEXT

  FRAMES
 NO FRAMES

  All Classes

Uses of Interface
org.apache.commons.logging.Log

Packages that use Log

org.apache.commons.logging
Jakarta Commons Logging implemented over SLF4J.

org.apache.commons.logging.impl
SLF4J based implementation of commons-logging wrapper APIs.

Uses of Log in org.apache.commons.logging

Methods in org.apache.commons.logging that return Log

abstract  Log
LogFactory.getInstance(Class clazz)

          Convenience method to derive a name from the specified class and call
 getInstance(String) with it.

abstract  Log
LogFactory.getInstance(String name)

 Construct (if necessary) and return a Log instance, using
 the factory's current set of configuration attributes.

static Log
LogFactory.getLog(Class clazz)

          Convenience method to return a named logger, without the application having
 to care about factories.

static Log
LogFactory.getLog(String name)

          Convenience method to return a named logger, without the application having
 to care about factories.

Uses of Log in org.apache.commons.logging.impl

Classes in org.apache.commons.logging.impl that implement Log

 class
NoOpLog

          Trivial implementation of Log that throws away all messages.

 class
SimpleLog

          Simple implementation of Log that sends all enabled log messages,
 for all defined loggers, to System.err.

 class
SLF4JLocationAwareLog

          Implementation of org.apache.commons.logging.Log interface which
 delegates all processing to a wrapped org.slf4j.Logger instance.

 class
SLF4JLog

          Implementation of org.apache.commons.logging.Log interface which
 delegates all processing to a wrapped org.slf4j.Logger instance.

Methods in org.apache.commons.logging.impl that return Log

 Log
SLF4JLogFactory.getInstance(Class clazz)

          Convenience method to derive a name from the specified class and call
 getInstance(String) with it.

 Log
SLF4JLogFactory.getInstance(String name)

 Construct (if necessary) and return a Log instance, using
 the factory's current set of configuration attributes.

      Overview
      Package
      Class
    Use
      Tree
      Deprecated
      Index
      Help

 PREV
 NEXT

  FRAMES
 NO FRAMES

  All Classes

Copyright © 2005-2008 QOS.ch. All Rights Reserved.


text:
package Paws::EMR::EbsConfiguration;
  use Moose;
  has EbsBlockDeviceConfigs => (is => 'ro', isa => 'ArrayRef[Paws::EMR::EbsBlockDeviceConfig]');
  has EbsOptimized => (is => 'ro', isa => 'Bool');
1;

### main pod documentation begin ###

=head1 NAME

Paws::EMR::EbsConfiguration

=head1 USAGE

This class represents one of two things:

=head3 Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::EMR::EbsConfiguration object:

  $service_obj->Method(Att1 => { EbsBlockDeviceConfigs => $value, ..., EbsOptimized => $value  });

=head3 Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::EMR::EbsConfiguration object:

  $result = $service_obj->Method(...);
  $result->Att1->EbsBlockDeviceConfigs

=head1 DESCRIPTION

The Amazon EBS configuration of a cluster instance.

=head1 ATTRIBUTES

=head2 EbsBlockDeviceConfigs => ArrayRef[L<Paws::EMR::EbsBlockDeviceConfig>]

  An array of Amazon EBS volume specifications attached to a cluster
instance.

=head2 EbsOptimized => Bool

  Indicates whether an Amazon EBS volume is EBS-optimized.

=head1 SEE ALSO

This class forms part of L<Paws>, describing an object used in L<Paws::EMR>

=head1 BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues

=cut


text:
namespace ExampleApp
{
    namespace Search
    {
        namespace SdkModel
        {
            namespace MyPins
            {
                class ISearchResultMyPinsService
                {
                public:
                    virtual ~ISearchResultMyPinsService() { }

                    virtual bool IsSearchResultPinned(const Search::SdkModel::SearchResultModel& seachResult) const = 0;

                    virtual bool TryGetPinForSearchResult(const Search::SdkModel::SearchResultModel& searchResult,
                                                          ExampleApp::MyPins::SdkModel::MyPinModel& out_myPinModel) const = 0;

                    virtual bool TryGetPinTitleForSearchResultIdentifier(const std::string& identifier,
                                                                         std::string& out_pinTitle) const = 0;

                    virtual bool ContainsPinWithId(ExampleApp::MyPins::SdkModel::MyPinModel::TPinIdType pinId) const = 0;

                    virtual void InsertSearchResultPinnedCallback(Eegeo::Helpers::ICallback1<Search::SdkModel::SearchResultModel>& callback) = 0;

                    virtual void RemoveSearchResultPinnedCallback(Eegeo::Helpers::ICallback1<Search::SdkModel::SearchResultModel>& callback) = 0;

                    virtual void InsertSearchResultUnpinnedCallback(Eegeo::Helpers::ICallback1<Search::SdkModel::SearchResultModel>& callback) = 0;

                    virtual void RemoveSearchResultUnpinnedCallback(Eegeo::Helpers::ICallback1<Search::SdkModel::SearchResultModel>& callback) = 0;
                };
            }
        }
    }
}


text:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<title>GridComponent</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="date" content="2018-03-12">
<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../../../jquery/jquery-ui.css" title="Style">

JavaScript is disabled on your browser.

Skip navigation links

Overview

Package

Class

Use

Tree

Deprecated

Index

Help

Prev Class

Next Class

Frames

No Frames

All Classes

SEARCH:
<input type="text" id="search" value=" " disabled="disabled">
<input type="reset" id="reset" value=" " disabled="disabled">

JavaScript is disabled on your browser.

Summary:

Nested |

Field |

Constr |

Method

Detail:

Field |

Constr |

Method

Package edu.ucsb.cs56.projects.games.minesweeper.gamelogic

Class GridComponent

java.lang.Object

edu.ucsb.cs56.projects.games.minesweeper.gamelogic.GridComponent

All Implemented Interfaces:

java.io.Serializable

public class GridComponent
extends java.lang.Object
implements java.io.Serializable

A class to represent a cell in the minesweeper grid

Author:

Ryan Wiener

See Also:

Serialized Form

Constructor Summary

Constructors

Constructor
Description

GridComponent()

Creates default grid element
 sets open to false, flagged to false ans symbol to '0'

Method Summary

All Methods Instance Methods Concrete Methods

Modifier and Type
Method
Description

void
decrement()

decrement the symbol of the cell.

boolean
getIsFlagged()

Get whether cell is flagged

boolean
getIsMarked()

boolean
getIsMine()

Get whether cell is a mine

boolean
getIsOpen()

get whether cell is open

char
getSymbol()

get symbol of cell (will give symbol even if opened or flagged)

int
getX()

returns xCor

int
getY()

return yCor

void
iterate()

increment the symbol of the cell.

boolean
makeMine()

Make this cell a mine
 Won't work if already a mine

void
open()

open the cell
 Won't work if flagged

void
setFlagged(boolean val)

set the flagged boolean of the cell
 Won't work if already opened

void
setSymbol(char symbol)

Changes the symbol of the cell

void
setXCor(int x)

sets the xCor of cell on the grid

void
setYCor(int y)

sets the yCor of cell on the grid

java.lang.String
toString()

Get string representation of cell

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail

GridComponent

public GridComponent()

Creates default grid element
 sets open to false, flagged to false ans symbol to '0'

Method Detail

iterate

public void iterate()

increment the symbol of the cell.
 Won't work if a mine

decrement

public void decrement()

decrement the symbol of the cell.

setXCor

public void setXCor(int x)

sets the xCor of cell on the grid

Parameters:

x - xCor

setYCor

public void setYCor(int y)

sets the yCor of cell on the grid

Parameters:

y - yCor

getX

public int getX()

returns xCor

Returns:

xCor

getY

public int getY()

return yCor

Returns:

yCor

makeMine

public boolean makeMine()

Make this cell a mine
 Won't work if already a mine

Returns:

boolean indicating whether the function was successful

open

public void open()

open the cell
 Won't work if flagged

setFlagged

public void setFlagged(boolean val)

set the flagged boolean of the cell
 Won't work if already opened

Parameters:

val - value to set flagged as

getIsOpen

public boolean getIsOpen()

get whether cell is open

Returns:

boolean indicating whether cell has been opened

getIsFlagged

public boolean getIsFlagged()

Get whether cell is flagged

Returns:

boolean indicating whether cell is flagged

getIsMarked

public boolean getIsMarked()

Returns:

If the cell is flagged or open then return true (meaning it has been traversed before). Else return false.

getIsMine

public boolean getIsMine()

Get whether cell is a mine

Returns:

boolean indicating whether cell is a mine

getSymbol

public char getSymbol()

get symbol of cell (will give symbol even if opened or flagged)

Returns:

symbol of cell

setSymbol

public void setSymbol(char symbol)

Changes the symbol of the cell

Parameters:

symbol - Symbol to be changed to.

toString

public java.lang.String toString()

Get string representation of cell

Overrides:

toString in class java.lang.Object

Returns:

Symbol if opened, "F" if flagged or "?" if neither opened nor flagged

Skip navigation links

Overview

Package

Class

Use

Tree

Deprecated

Index

Help

Prev Class

Next Class

Frames

No Frames

All Classes

JavaScript is disabled on your browser.

Summary:

Nested |

Field |

Constr |

Method

Detail:

Field |

Constr |

Method


text:
<!DOCTYPE html>

    <meta charset="UTF-8" />
    <title>function-target</title>
    <meta name="viewport" content="width=device-width, initial-scale=1" />

    <button class="btn">Copy</button>

hello


text:
<?php namespace Arcanedev\NoCaptcha\Exceptions;

/**
 * Class Exception
 * @package Arcanedev\NoCaptcha\Exceptions
 */
class Exception extends \Exception {}


text:
ActiveRecord::Base.establish_connection(:adapter => 'sqlite3', :database => ':memory:')

ActiveRecord::Migration.class_eval do

  create_table :models do |t|
    t.string :string_field
    t.references :associated_model
  end

  create_table :sti_models do |t|
    t.string :type
    t.string :string_field
  end

end


text:
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

/**
*
* Clase que representa un Modelo para Enlazar las Estadisticas de las aplicaciones.
*
* Esta clase mapea la tabla ethas_applications de  la base de datos no relacional de DynamoDB.
*
* @author Andres Felipe Herrera <anfho93@gmail.com>
*  @version 1.1
*/
include_once 'BaseStatistics.php';
class Screenstatistics extends BaseStatistics {

    //private $otherdb;

    private $separador ="-";
    /**
    * Metodo constructor del modelo.
    */
    function __construct()
    {
      parent::__construct();

      //$this->otherdb->query("invalidate metadata");

    }

    /**
     * Cantidad de pantallas visitadas durante el dia en la aplicacion
     * @param string $idApp  identificador de la aplicacion.
     * @param string $initialDate  fecha inicial del rango
     * @param string $finalDate  fecha final del rango
     * @return array Cantidad de pantallas visitadas indexadas por fecha.
     */
    function getScreensData($idApp, $initialDate, $finalDate){
       @list($d1, $m1, $y1) = explode( $this->separador, $initialDate,3);
       @list($d2, $m2, $y2) = explode( $this->separador, $finalDate, 3);
        $c=$this->getConector($y1, $y2);
        $db = null;
        $segmentquery = $this->getSegmentQuery();
        if($this->getSegmentQuery()==null){
           // echo "entre";
            $db = $this->db;
            $db->select("year, month, day , sum(cant) as pantallas ");

        }
        else{
            $db = $this->otherdb;
            $db->select("screen.year, month, screen.day , count(screen) as pantallas ");

        }
        //$db->select("screen.year, screen.month, screen.day , count(screen) as pantallas ");
        $db->from("screen");
        $db->where("id_app", $idApp);
        $db->where("((year = $y1 and ( $m1 < month or ($m1=month and day >= $d1 and day <= 31 ) ))  $c
                      (year = $y2 and ( $m2 > month or ($m2=month and day >= 01 and $d2 >= day ))))");
        $db->group_by(" year, month, day ");
        if($this->getSegmentQuery()!=null)
        {
            $db->join("(select id_download from downloads where downloads.id_app='$idApp' and $segmentquery  group by id_download) as tabla ", " screen.id_download = tabla.id_download");
        }
        $result = $db->get();
        $titles = array("Pantallas");
        $labels = $this->prepareResultSet($titles, $initialDate, $finalDate,  $result->result_array());
        return $labels;
    }

    /**
     * Metodo que permite ver un conteo de las pantallas visitadas
     * por los usuarios durante un rango de fechas en una aplicacion.
     * @param String $idApp Nombre de la aplicacion.
     * @param string $initialDate fecha inicial
     * @param String $finalDate fecha final
     */
    public function getScreenViews($idApp, $initialDate, $finalDate){
       @list($d1, $m1, $y1) = explode( $this->separador,$initialDate,3);
       @list($d2, $m2, $y2) = explode( $this->separador,$finalDate,3);
        $c=$this->getConector($y1, $y2);
        $segmentquery = $this->getSegmentQuery();
        if($segmentquery!=null){
            $this->otherdb->select(" screen.year, screen.month, screen.day, count(screen) as Pantallas");
            $this->otherdb->from("screen");
            $this->otherdb->join("(select id_download from downloads where id_app='$idApp' and $segmentquery  group by id_download) as tabla ", " screen.id_download = tabla.id_download");
            $this->otherdb->where("id_app", $idApp);
            $this->otherdb->where("((screen.year = $y1 and ( $m1 < screen.month or ($m1=screen.month and screen.day >= $d1 and screen.day <= 31 ) ))  $c
                                    (screen.year = $y2 and ( $m2 > screen.month or ($m2=screen.month and screen.day >= 01 and $d2 >= screen.day ))))");
            $this->otherdb->group_by("screen.year, screen.month, screen.day");

        }else{
            $this->otherdb->select(" year, month, day, count(screen) as Pantallas");
            $this->otherdb->from("screen");
            $this->otherdb->where("id_app", $idApp);
            $this->otherdb->where("((year = $y1 and ( $m1 < month or ($m1=month and day >= $d1 and day <= 31 ) ))  $c
                                    (year = $y2 and ( $m2 > month or ($m2=month and day >= 01 and $d2 >= day ))))");
            $this->otherdb->group_by("year, month, day");

        }
        $result = $this->otherdb->get();
        $titles = array("Pantallas");
        return  $this->prepareResultSet($titles, $initialDate, $finalDate, $result->result_array());

    }
     /**
     * Metodo que permite ver un conteo de visitas de una pantalla especifica
     * por los usuarios durante un rango de fechas en una aplicacion.
     * @param String $idApp Nombre de la aplicacion.
     * @param string $initialDate fecha inicial
     * @param String $finalDate fecha final
     * @param String  $screen Nombre de  la pantalla
     */
    public function getSpecificScreenData($idApp, $initialDate, $finalDate, $screen){
       @list($d1, $m1, $y1) = explode( $this->separador,$initialDate,3);
       @list($d2, $m2, $y2) = explode( $this->separador,$finalDate,3);
       $name=str_replace(' ', '', $screen);
        $c=$this->getConector($y1, $y2);
        $segmentquery = $this->getSegmentQuery();

           $this->otherdb->select("year, month, day, count(screen) as $name");
           $this->otherdb->from("screen");

           $this->otherdb->where("id_app", $idApp);
           $this->otherdb->where("screen", $screen);
           $this->otherdb->where("((year = $y1 and ( $m1 < month or ($m1=month and day >= $d1 and day <= 31 ) ))  $c
                                   (year = $y2 and ( $m2 > month or ($m2=month and day >= 01 and $d2 >= day ))))");
           $this->otherdb->group_by("year, month, day");
         if( $segmentquery!=null){
               $this->otherdb->join("(select id_download from downloads where id_app='$idApp' and $segmentquery  group by id_download) as tabla ", " screen.id_download = tabla.id_download");
         }
        $result = $this->otherdb->get();
        $titles = array($name);

       // $labels =  $result->result_array();
        return  $this->prepareResultSet($titles, $initialDate, $finalDate, $result->result_array());
    }

     /**
     * Metodo que permite ver un promedio de las pantallas visitadas por sesion
     * de los usuarios durante un rango de fechas en una aplicacion.
     * @param String $idApp Nombre de la aplicacion.
     * @param string $initialDate fecha inicial
     * @param String $finalDate fecha final
     */
    public function getInteraction($idApp, $initialDate, $finalDate){
         $this->otherdb->query("refresh sessions");
        @list($d1, $m1, $y1) = explode( $this->separador,$initialDate,3);
        @list($d2, $m2, $y2) = explode( $this->separador,$finalDate,3);
        $c=$this->getConector($y1, $y2);
        $segmentquery = $this->getSegmentQuery();
        $this->otherdb->select(" year, month, day, count(screen) as Pantallas");
        $this->otherdb->from("screen");
        $this->otherdb->where("id_app", $idApp);
        $this->otherdb->where("((year = $y1 and ( $m1 < month or ($m1=month and day >= $d1 and day <= 31 ) ))  $c
                                (year = $y2 and ( $m2 > month or ($m2=month and day >= 01 and $d2 >= day ))))");
        $this->otherdb->group_by("year, month, day");
        if( $segmentquery!=null){
          $this->otherdb->join("(select id_download from downloads where id_app='$idApp' and $segmentquery  group by id_download) as tabla ", " screen.id_download = tabla.id_download");
        }
        $result = $this->otherdb->get();

        $titles = array("Pantallas");

        $datos =  $this->prepareResultSet($titles, $initialDate, $finalDate, $result->result_array());

        $this->otherdb->select(" year, month, day, count(id_session) as Sesiones");
        $this->otherdb->from("sessions");
        $this->otherdb->where("id_app", $idApp);
        $this->otherdb->where("((year = $y1 and ( $m1 < month or ($m1=month and day >= $d1 and day <= 31 ) ))  $c
                                (year = $y2 and ( $m2 > month or ($m2=month and day >= 01 and $d2 >= day ))))");
        $this->otherdb->group_by("year, month, day");
        if( $segmentquery!=null){
          $this->otherdb->join("(select id_download from downloads where id_app='$idApp' and $segmentquery  group by id_download) as tabla ", " sessions.id_download = tabla.id_download");
        }
        $result2 = $this->otherdb->get();
        for($i = 0; $i < count($datos);$i++ ){
            foreach ($result2->result_array() as $row) {
                $day =$row['day'];
                $month = $row['month'];
                if($day<10)
                    $day = '0'.$day;
                if($month<10)
                    $month = '0'.$month;

                $date = $row['year']."-".$month."-".$day;
                if($datos[$i][0]== $date )
                {

                    if($datos[$i][1] ==0 || $row['sesiones'] ==0){
                        $datos[$i][1] =0;
                    }
                    else{
                        $datos[$i][1] =  (double)($datos[$i][1] / $row['sesiones']);
                    }
                    break;
                }
            }
        }
        return ($datos);
    }

}
?>


text:
<!DOCTYPE html><meta charset="UTF-8"><meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"><title>画多边形例子</title><link rel="stylesheet" href="../css/main.css"><link rel="stylesheet" href="../css/fontello.css"><link rel="stylesheet" href="../css/style.css">

Jeff Zhong's Demo

← effect list
画多边形例子

鼠标单击画布,然后移动鼠标,回车确认图形

下边清除按钮
<canvas id="canvas" width="800" height="500"></canvas><button id="btn">清除</button>

 Copyright © 2017 Jeff Zhong