This ballet activity pack is perfect for keeping little hands busy backstage at dance recitals, for summer camps, ballet parties or for use with your regular ballet program. The ballet activity pack includes a set of 12 printable activity sheets that your tiny dancers will love and are perfect to keep kids entertained at dance recitals and dance camps or parties. Print them again and again, print them as a booklet to be used in dressing rooms at dance recitals or choose individual sheets depending on the occasion – never be stuck for a ballet craft activity again. The activities can be used in a number of ways. When using as dance recital activities to keep kids amused when waiting in their dressing rooms all the activities work beautifully as coloring activities. For ballet camps or ballet parties, activities can be used with embellishments for a full ballet craft activity.
Ballet scramble – unscramble the colors and color the bow, tiara, ballet shoes, tutu and leotard.
Place the dancers on stage – a color, cut, paste activity – color the stage and the ballerinas, then cut them out and put them on the stage.
Time to get creative and draw a beautiful tutu, headpiece and makeup for a beautiful ballerina. Works as a colouring activity and also as a ballet craft activity with stick on jewels, tulle and other embellishments.
Kids love this one! Design some stage makeup! This is so popular and can be used again and again.
Choose some colors and decorations to make a beautiful tutu and tiara. Great for coloring and also with other embellishments for a ballet craft activity.
Match the positions and basic ballet steps with the pictures and then trace the names.
Preschool Ballet Colouring Pages – value pack number 2.


Mary took the bus to work while her car was in the shop.
There may be a bus strike next week.
Many large tour buses were parked outside the pyramids.
Their new computer chip has a faster bus than their competitor's chip.
Data transfer over the bus is not as fast as in internal memory.
The fenders finally fell off that old bus.
John didn't want to pick up his date in his rusty old bus.


An easy to use draining bag for draining curds when making cheese and nut milks. The draining bag is made from terylene which is washable and reusable. Stand is made with adjustable feet to ensure it fits nicely on top of all sized pots and bowls.


Our mission is to create and maintain wealth for our clients through long term effective asset management and financial planning. We build client relationships based upon trust, competent professional advice, continual communication and prompt personal service. We assist our clients in setting financial goals, monitoring these goals and keeping them informed of the process and pursuit of these goals. Because we have aligned our business with LPL Financial, we can leverage advanced research and technology to provide our clients with the highly personalized asset analysis, allocation and investment service that is expected from today's financial services industry.


text:
Welcome to the Giant Drag fan site!
Distribution, Home Studio & Youtube.
Having suffered though some hard times, Giant Drags next album is in the process of finding its way into the hands of us here fans though a distribution company. Until then, Annie has hinted that she will be setting up a home studio and treating us all to some tunes while we wait for the main event!
In the meantime, check out Annie's new youtube channel – www.YouTube.com/AnnieHardy – where she answers some of your questions. There is also a little competition going on where you can create your own music video for one of Giant Drags' songs. Annie will pick her favourite and the winner will receive a mysterious 'treat'.
Firstly, apologies, its been a very long time since I posted anything and this isn't because Giant Drag have disappeared off the musical scene but because I have been very lazy. I intend to rectify this today and hopefully bring you all up to date with all the latest goings on with GD.
Firstly back in May Giant Drag performed at L.A.s famous Troubadour, which has also been host to the likes of the Eagles. Well, that night was equally historic, although not quite as published, for it saw Micah rejoining Annie on stage.
Check out this video of the night -
There was talk of Giant Drag heading on tour with the Charlatans, but unfortunately that was cancelled due to their drummer hurting his arm. However the good news is that Giant Drag went into the studio on September 30th to work on songs for the new record. They also posted an awesome music video, 'Stuff to Live For', which you can check out bellow.
Once again sorry for the lack posts! I shall work hard to keep up from now so check back soon!
Swan Song EP
First off – Check out a new song by Giant Drag on this short art film here – www.tankthreegracesfilms.com. Select Commissioned Films then Bella Howard. The film uses the new song 'Stuff to Live For'.
On Giant Drags Myspace page you can now hear 'Swan Song' and 'White Baby', both songs will be appearing on the up and coming Ep. The Ep should have a release date very soon! The artwork of the new Ep will include a collage of all things Giant Drag. This means that anyone wanting to have a picture they took of Giant Drag in the artwork send it in. Also those who donated over $400 to the cause can send in a picture of anything they want! And it will be included.
Giant Drag Relief Fund
So, as some of you may of noticed it's been rather a long time since Giant Drag released their first album 'Hearts and Unicorns', over 2 years in fact! The reason the follow up to their debut album hasn't yet been released yet is due to lack of funds to make it. So, if you want to get hold of a second GD record there's a couple of things you can do – firstly you can make a donation through paypal to go towards recording costs for the album. Those of you who do this will receive prizes, such as having your name on the album sleeve and those very generous people out there will get a prize/gift from Annie. To do so, click on the Paypal button on the right.
Don't like donating but like Giant Drag? Then you can go to Giant Drags new ebay store and buy Giant Drag related items –
Giant Drag eBay Store
Tonight on Indie 103.1
Annie will be on Indie 103.1 tonight playing local music from 6 to 8 pm. You can listen online here. You can also visit Giant Drags Myspace and download Annies version of Silver Bells.
Album on hold
It appears that Giant Drags album is on hold, according to a recent news update by Annie. Also the previous news that Joe Chicarelli (White Stripes, Shins) would be working on the album can now be ignored.
Giant Drags cover of 'wicked game' was recently used on season 5 of Nip/Tuck, though this doesn't seem to be a point of celebration for GD. Nevertheless, heres one of the promos featuring the song – click here to see it.
ArtWalk After Party
Forget the information in the post below as most of its wrong, here is the correct info. about Giant Drags June 2nd gig –
ArtWalk leads members on an afternoon survey of one of L.A.'s hottest
gallery scenes. Enjoy tours of studios and galleries, discover new
talent, learn the art of collecting, and mingle with artists and
fellow members. When the sun goes down, the event culminates in a
reception featuring DJs, live music, performance art, and
complimentary appetizers and cocktails. Now entering its thirteenth
year, this is the "how-to" of "do-it-yourself" arts exploration in Los
Angeles."
Tickets for the event cost $30, you can order them here.
The event includes free drinks, snacks, a whole lot of art and of course a live performance from Giant Drag, which may include some new material. It's your last chance to see them as after this their heading into the studio to record a new album.
The ArtWalk after party is being held on June 2nd from 8pm to 11pm at
H.D. Buttercup ArtWalk After party
3225 Helms Avenue
Gig at the LACMA
Giant Drag are playing on their own at the LACMA (Los Angeles County Museum of Art). The gig costs $30 but it will be long and include songs that have not been played live before from 'Hearts and Unicorns', along with brand new material. Also it's the last chance your get to seem them play for a few months as after this their heading into the studio to work on the new album.
The gigs on June 2nd, it's $30 unless you're a museum member, in which case you get $10 off.
LACMA
5905 Wilshire Blvd,
I Love Movies
Earlier this month Annie appeared on Doug Bensons amusing 'I Love Movies' podcast. Go here to listen.
Annie also announced that she has been meeting with producers in preparation for recording the second Giant Drag album.
Annie on Indie 103.1
Tune in to Indie 103.1 Monday morning to hear Annie judging songs on Jonesy's Jukebox Jury. The show is on at 11am in the LA/OC area and at 7pm in England. You can listen online here.
LA Music
Buy Hearts and Unicorns
Buy Lemona
Buy This Isn't It
Gregory and the Hawk
Cool Music Reviews
Music FB Covers
©2006-2019 giantdrag.org. This is a fan site and is not affiliated with Giant Drag.

redpajama_set_name: RedPajamaCommonCrawl


text:
<?php

namespace Sonata\DeliveryBundle;

use Symfony\Component\HttpKernel\Bundle\Bundle;

class SonataDeliveryBundle extends Bundle
{
}

redpajama_set_name: RedPajamaGithub


text:
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.ui;

import com.intellij.icons.AllIcons;
import com.intellij.jna.JnaLoader;
import com.intellij.openapi.application.Application;
import com.intellij.openapi.application.ApplicationActivationListener;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.util.Pair;
import com.intellij.openapi.util.SystemInfoRt;
import com.intellij.openapi.util.registry.Registry;
import com.intellij.openapi.wm.AppIconScheme;
import com.intellij.openapi.wm.IdeFrame;
import com.intellij.openapi.wm.WindowManager;
import com.intellij.openapi.wm.impl.ProjectFrameHelper;
import com.intellij.openapi.wm.impl.X11UiUtil;
import com.intellij.util.IconUtil;
import com.intellij.util.SystemProperties;
import com.intellij.util.ui.*;
import com.sun.jna.platform.win32.WinDef;
import org.apache.commons.imaging.common.BinaryOutputStream;
import org.jetbrains.annotations.NonNls;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

import javax.imageio.ImageIO;
import javax.swing.*;
import java.awt.*;
import java.awt.geom.Area;
import java.awt.geom.Rectangle2D;
import java.awt.geom.RoundRectangle2D;
import java.awt.image.BufferedImage;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.nio.ByteOrder;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;

/**
 * Class must be accessed from EDT only
 */
public abstract class AppIcon {
  private static final Logger LOG = Logger.getInstance(AppIcon.class);

  private static AppIcon ourIcon;

  @NotNull
  public static AppIcon getInstance() {
    if (ourIcon == null) {
      if (SystemInfoRt.isMac) {
        ourIcon = new MacAppIcon();
      }
      else if (SystemInfoRt.isXWindow) {
        ourIcon = new XAppIcon();
      }
      else if (SystemInfoRt.isWindows && JnaLoader.isLoaded()) {
        ourIcon = new Win7AppIcon();
      }
      else {
        ourIcon = new EmptyIcon();
      }
    }

    return ourIcon;
  }

  public abstract boolean setProgress(Project project, @NonNls Object processId, AppIconScheme.Progress scheme, double value, boolean isOk);

  public abstract boolean hideProgress(Project project, @NonNls Object processId);

  public abstract void setErrorBadge(Project project, String text);

  public abstract void setOkBadge(@Nullable Project project, boolean visible);

  public abstract void requestAttention(@Nullable Project project, boolean critical);

  /**
   * This method requests OS to activate the specified application window. This might cause the window to steal focus from another
   * (currently active) application, which is generally not considered acceptable. So it should be used only in special cases, when we know
   * that the user definitely expects such behaviour. In most cases, requesting focus in the target window via standard AWT mechanism and
   * {@link #requestAttention(Project, boolean)} should be used instead, to request user attention but not switch the focus to it
   * automatically.
   * <p>
   * This method might resort to requesting user attention to target window, if focus stealing is not supported by OS
   * (this is the case on Windows, where focus stealing can only be enabled using {@link WinFocusStealer}).
   */
  public void requestFocus(IdeFrame frame) {
    requestFocus(frame == null ? null : SwingUtilities.getWindowAncestor(frame.getComponent()));
  }

  protected void requestFocus(@Nullable Window window) {
    requestFocus();
    if (window != null) {
      window.toFront();
    }
  }

  public void requestFocus() {
  }

  private static abstract class BaseIcon extends AppIcon {
    private ApplicationActivationListener myAppListener;
    protected Object myCurrentProcessId;
    protected double myLastValue;

    @Override
    public final boolean setProgress(Project project, Object processId, AppIconScheme.Progress scheme, double value, boolean isOk) {
      if (!isAppActive() && isProgressAppIconEnabled() && (myCurrentProcessId == null || myCurrentProcessId.equals(processId))) {
        return _setProgress(getIdeFrame(project), processId, scheme, value, isOk);
      }
      else {
        return false;
      }
    }

    @Override
    public final boolean hideProgress(Project project, Object processId) {
      if (isProgressAppIconEnabled()) {
        return _hideProgress(getIdeFrame(project), processId);
      }
      else {
        return false;
      }
    }

    @Override
    public final void setErrorBadge(Project project, String text) {
      if (!isAppActive() && Registry.is("ide.appIcon.badge")) {
        _setOkBadge(getIdeFrame(project), false);
        _setTextBadge(getIdeFrame(project), text);
      }
    }

    @Override
    public final void setOkBadge(@Nullable Project project, boolean visible) {
      if (!isAppActive() && Registry.is("ide.appIcon.badge")) {
        _setTextBadge(getIdeFrame(project), null);
        _setOkBadge(getIdeFrame(project), visible);
      }
    }

    @Override
    public final void requestAttention(@Nullable Project project, boolean critical) {
      if (!isAppActive() && Registry.is("ide.appIcon.requestAttention")) {
        _requestAttention(getIdeFrame(project), critical);
      }
    }

    public abstract boolean _setProgress(@Nullable JFrame frame, Object processId, AppIconScheme.Progress scheme, double value, boolean isOk);

    public abstract boolean _hideProgress(@Nullable JFrame frame, Object processId);

    public abstract void _setTextBadge(@Nullable JFrame frame, String text);

    public abstract void _setOkBadge(@Nullable JFrame frame, boolean visible);

    public abstract void _requestAttention(@Nullable JFrame frame, boolean critical);

    private static @Nullable JFrame getIdeFrame(@Nullable Project project) {
      return WindowManager.getInstance().getFrame(project);
    }

    private boolean isAppActive() {
      Application app = ApplicationManager.getApplication();
      if (app == null || myAppListener != null) {
        return app != null && app.isActive();
      }

      myAppListener = new ApplicationActivationListener() {
        @Override
        public void applicationActivated(@NotNull IdeFrame ideFrame) {
          JFrame frame;
          if (ideFrame instanceof JFrame) {
            frame = (JFrame)ideFrame;
          }
          else {
            frame = ((ProjectFrameHelper)ideFrame).getFrame();
          }

          if (isProgressAppIconEnabled()) {
            _hideProgress(frame, myCurrentProcessId);
          }
          _setOkBadge(frame, false);
          _setTextBadge(frame, null);
        }
      };
      app.getMessageBus().connect().subscribe(ApplicationActivationListener.TOPIC, myAppListener);
      return app.isActive();
    }
  }

  private static boolean isProgressAppIconEnabled() {
    return SystemProperties.getBooleanProperty("ide.appIcon.progress", true);
  }

  @SuppressWarnings("UseJBColor")
  static final class MacAppIcon extends BaseIcon {
    private BufferedImage myAppImage;
    private final Map<Object, Pair<BufferedImage, Graphics2D>> myProgressImagesCache = new HashMap<>();

    private BufferedImage getAppImage() {
      EDT.assertIsEdt();

      try {
        if (myAppImage != null) return myAppImage;

        Image appImage = (Image)getAppMethod("getDockIconImage").invoke(getApp());
        if (appImage == null) return null;

        // [tav] expecting two resolution variants for the dock icon: 128x128, 256x256
        appImage = MultiResolutionImageProvider.getMaxSizeResolutionVariant(appImage);
        myAppImage = ImageUtil.toBufferedImage(appImage);
      }
      catch (NoSuchMethodException e) {
        return null;
      }
      catch (Exception e) {
        LOG.error(e);
      }

      return myAppImage;
    }

    @Override
    public void _setTextBadge(@Nullable JFrame frame, String text) {
      EDT.assertIsEdt();

      try {
        getAppMethod("setDockIconBadge", String.class).invoke(getApp(), text);
      }
      catch (NoSuchMethodException ignored) { }
      catch (Exception e) {
        LOG.error(e);
      }
    }

    @Override
    public void requestFocus() {
      EDT.assertIsEdt();

      try {
        getAppMethod("requestForeground", boolean.class).invoke(getApp(), true);
      }
      catch (NoSuchMethodException ignored) { }
      catch (Exception e) {
        LOG.error(e);
      }
    }

    @Override
    public void _requestAttention(@Nullable JFrame frame, boolean critical) {
      EDT.assertIsEdt();

      try {
        getAppMethod("requestUserAttention", boolean.class).invoke(getApp(), critical);
      }
      catch (NoSuchMethodException ignored) { }
      catch (Exception e) {
        LOG.error(e);
      }
    }

    @Override
    public boolean _hideProgress(@Nullable JFrame frame, Object processId) {
      EDT.assertIsEdt();

      if (myCurrentProcessId != null && !myCurrentProcessId.equals(processId)) {
        return false;
      }

      BufferedImage appImage = getAppImage();
      if (appImage == null) {
        return false;
      }

      setDockIcon(appImage);
      myProgressImagesCache.remove(myCurrentProcessId);
      myCurrentProcessId = null;
      myLastValue = 0;
      return true;
    }

    @Override
    public void _setOkBadge(@Nullable JFrame frame, boolean visible) {
      EDT.assertIsEdt();

      BufferedImage appImage = getAppImage();
      if (appImage == null) {
        return;
      }

      Pair<BufferedImage, Graphics2D> img = createAppImage(appImage);

      if (visible) {
        Icon okIcon = AllIcons.Mac.AppIconOk512;
        int w = img.first.getWidth();
        if (w != 128) {
          okIcon = IconUtil.scale(okIcon, frame != null ? frame.getRootPane() : null, w / 128f);
        }

        int x = w - okIcon.getIconWidth();
        int y = 0;

        okIcon.paintIcon(JOptionPane.getRootFrame(), img.second, x, y);
      }

      setDockIcon(img.first);
    }

    // white 80% transparent
    private static final Color PROGRESS_BACKGROUND_COLOR = new Color(255, 255, 255, 217);
    private static final Color PROGRESS_OUTLINE_COLOR = new Color(140, 139, 140);

    @Override
    public boolean _setProgress(@Nullable JFrame frame, Object processId, AppIconScheme.Progress scheme, double value, boolean isOk) {
      EDT.assertIsEdt();

      BufferedImage appImage = getAppImage();
      if (appImage == null) return false;

      myCurrentProcessId = processId;

      if (myLastValue > value) return true;

      if (Math.abs(myLastValue - value) < 0.02d) return true;

      try {
        double progressHeight = (myAppImage.getHeight() * 0.13);
        double xInset = (myAppImage.getWidth() * 0.05);
        double yInset = (myAppImage.getHeight() * 0.15);

        final double width = myAppImage.getWidth() - xInset * 2;
        final double y = myAppImage.getHeight() - progressHeight - yInset;

        Area borderArea = new Area( new RoundRectangle2D.Double(
          xInset - 1, y - 1, width + 2, progressHeight + 2,
          (progressHeight + 2), (progressHeight + 2
          )));

        Area backgroundArea = new Area(new Rectangle2D.Double(xInset, y, width, progressHeight));

        backgroundArea.intersect(borderArea);

        Area progressArea = new Area(new Rectangle2D.Double(xInset + 1, y + 1,(width - 2) * value, progressHeight - 1));

        progressArea.intersect(borderArea);

        Pair<BufferedImage, Graphics2D> appImg = myProgressImagesCache.get(myCurrentProcessId);
        if (appImg == null) myProgressImagesCache.put(myCurrentProcessId, appImg = createAppImage(appImage));

        Graphics2D g2d = appImg.second;
        g2d.setColor(PROGRESS_BACKGROUND_COLOR);
        g2d.fill(backgroundArea);
        g2d.setColor(isOk ? scheme.getOkColor() : scheme.getErrorColor());
        g2d.fill(progressArea);
        g2d.setColor(PROGRESS_OUTLINE_COLOR);
        g2d.draw(backgroundArea);
        g2d.draw(borderArea);

        setDockIcon(appImg.first);

        myLastValue = value;
      }
      catch (Exception e) {
        LOG.error(e);
      }
      finally {
        myCurrentProcessId = null;
      }

      return true;
    }

    private static Pair<BufferedImage, Graphics2D> createAppImage(BufferedImage appImage) {
      @SuppressWarnings("UndesirableClassUsage") BufferedImage current = new BufferedImage(appImage.getWidth(), appImage.getHeight(), BufferedImage.TYPE_INT_ARGB);
      Graphics2D g = current.createGraphics();
      g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
      StartupUiUtil.drawImage(g, appImage, 0, 0, null);
      return new Pair<>(current, g);
    }

    static void setDockIcon(BufferedImage image) {
      try {
        getAppMethod("setDockIconImage", Image.class).invoke(getApp(), image);
      }
      catch (Exception e) {
        LOG.error(e);
      }
    }

    private static Method getAppMethod(String name, Class<?>... args) throws NoSuchMethodException, ClassNotFoundException {
      return getAppClass().getMethod(name, args);
    }

    private static Object getApp() throws NoSuchMethodException, ClassNotFoundException, InvocationTargetException, IllegalAccessException {
      return getAppClass().getMethod("getApplication").invoke(null);
    }

    private static Class<?> getAppClass() throws ClassNotFoundException {
      return Class.forName("com.apple.eawt.Application");
    }
  }

  @SuppressWarnings("UseJBColor")
  private static final class Win7AppIcon extends BaseIcon {
    @Override
    public boolean _setProgress(@Nullable JFrame frame, Object processId, AppIconScheme.Progress scheme, double value, boolean isOk) {
      EDT.assertIsEdt();

      myCurrentProcessId = processId;

      if (Math.abs(myLastValue - value) < 0.02d) {
        return true;
      }

      try {
        if (isValid(frame)) {
          Win7TaskBar.setProgress(frame, value, isOk);
        }
      }
      catch (Throwable e) {
        LOG.error(e);
      }

      myLastValue = value;
      myCurrentProcessId = null;
      return true;
    }

    @Override
    public boolean _hideProgress(@Nullable JFrame frame, Object processId) {
      EDT.assertIsEdt();
      if (myCurrentProcessId != null && !myCurrentProcessId.equals(processId)) {
        return false;
      }

      try {
        if (isValid(frame)) {
          Win7TaskBar.hideProgress(frame);
        }
      }
      catch (Throwable e) {
        LOG.error(e);
      }

      myCurrentProcessId = null;
      myLastValue = 0;
      return true;
    }

    private static byte[] writeTransparentIco(BufferedImage src)
      throws IOException {

      LOG.assertTrue(BufferedImage.TYPE_INT_ARGB == src.getType() || BufferedImage.TYPE_4BYTE_ABGR == src.getType());

      int bitCount = 32;

      try (ByteArrayOutputStream os = new ByteArrayOutputStream();
           BinaryOutputStream bos = new BinaryOutputStream(os, ByteOrder.LITTLE_ENDIAN)) {
        int scan_line_size = (bitCount * src.getWidth() + 7) / 8;
        if ((scan_line_size % 4) != 0)
          scan_line_size += 4 - (scan_line_size % 4); // pad scan line to 4 byte size.
        int t_scan_line_size = (src.getWidth() + 7) / 8;
        if ((t_scan_line_size % 4) != 0)
          t_scan_line_size += 4 - (t_scan_line_size % 4); // pad scan line to 4 byte size.
        int imageSize = 40 + src.getHeight() * scan_line_size + src.getHeight() * t_scan_line_size;

        // ICONDIR
        bos.write2Bytes(0); // reserved
        bos.write2Bytes(1); // 1=ICO, 2=CUR
        bos.write2Bytes(1); // count

        // ICONDIRENTRY
        int iconDirEntryWidth = src.getWidth();
        int iconDirEntryHeight = src.getHeight();
        if (iconDirEntryWidth > 255 || iconDirEntryHeight > 255) {
          iconDirEntryWidth = 0;
          iconDirEntryHeight = 0;
        }
        bos.write(iconDirEntryWidth);
        bos.write(iconDirEntryHeight);
        bos.write(0);
        bos.write(0); // reserved
        bos.write2Bytes(1); // color planes
        bos.write2Bytes(bitCount);
        bos.write4Bytes(imageSize);
        bos.write4Bytes(22); // image offset

        // BITMAPINFOHEADER
        bos.write4Bytes(40); // size
        bos.write4Bytes(src.getWidth());
        bos.write4Bytes(2 * src.getHeight());
        bos.write2Bytes(1); // planes
        bos.write2Bytes(bitCount);
        bos.write4Bytes(0); // compression
        bos.write4Bytes(0); // image size
        bos.write4Bytes(0); // x pixels per meter
        bos.write4Bytes(0); // y pixels per meter
        bos.write4Bytes(0); // colors used, 0 = (1 << bitCount) (ignored)
        bos.write4Bytes(0); // colors important

        int bit_cache = 0;
        int bits_in_cache = 0;
        int row_padding = scan_line_size - (bitCount * src.getWidth() + 7) / 8;
        for (int y = src.getHeight() - 1; y >= 0; y--) {
          for (int x = 0; x < src.getWidth(); x++) {
            int argb = src.getRGB(x, y);

            bos.write(0xff & argb);
            bos.write(0xff & (argb >> 8));
            bos.write(0xff & (argb >> 16));
            bos.write(0xff & (argb >> 24));
          }

          for (int x = 0; x < row_padding; x++)
            bos.write(0);
        }

        int t_row_padding = t_scan_line_size - (src.getWidth() + 7) / 8;
        for (int y = src.getHeight() - 1; y >= 0; y--) {
          for (int x = 0; x < src.getWidth(); x++) {
            int argb = src.getRGB(x, y);
            int alpha = 0xff & (argb >> 24);
            bit_cache <<= 1;
            if (alpha == 0)
              bit_cache |= 1;
            bits_in_cache++;
            if (bits_in_cache >= 8) {
              bos.write(0xff & bit_cache);
              bit_cache = 0;
              bits_in_cache = 0;
            }
          }

          if (bits_in_cache > 0) {
            bit_cache <<= (8 - bits_in_cache);
            bos.write(0xff & bit_cache);
            bit_cache = 0;
            bits_in_cache = 0;
          }

          for (int x = 0; x < t_row_padding; x++)
            bos.write(0);
        }

        return os.toByteArray();
      }
    }

    private static final Color errorBadgeShadowColor = new Color(0, 0, 0, 102);
    private static final Color errorBadgeMainColor = new Color(255, 98, 89);
    private static final Color errorBadgeTextBackgroundColor = new Color(0, 0, 0, 39);

    @Override
    public void _setTextBadge(@Nullable JFrame frame, String text) {
      EDT.assertIsEdt();
      if (!isValid(frame)) {
        return;
      }

      WinDef.HICON icon = null;

      if (text != null) {
        try {
          int size = 16;
          BufferedImage image = UIUtil.createImage(frame.getRootPane(), size, size, BufferedImage.TYPE_INT_ARGB);
          Graphics2D g = image.createGraphics();

          int shadowRadius = 16;
          g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
          g.setPaint(errorBadgeShadowColor);
          g.fillRoundRect(0, 0, shadowRadius, shadowRadius, size, size);

          int mainRadius = 14;
          g.setPaint(errorBadgeMainColor);
          g.fillRoundRect(size / 2 - mainRadius / 2, size / 2 - mainRadius / 2, mainRadius, mainRadius, size, size);

          Font font = g.getFont();
          g.setFont(new Font(font.getName(), Font.BOLD, 9));
          FontMetrics fontMetrics = g.getFontMetrics();

          int textWidth = fontMetrics.stringWidth(text);
          int textHeight = UIUtil.getHighestGlyphHeight(text, font, g);

          g.setPaint(errorBadgeTextBackgroundColor);
          g.fillOval(size / 2 - textWidth / 2, size / 2 - textHeight / 2, textWidth, textHeight);

          g.setColor(Color.white);
          g.drawString(text, size / 2 - textWidth / 2, size / 2 - fontMetrics.getHeight() / 2 + fontMetrics.getAscent());

          byte[] bytes = writeTransparentIco(image);
          icon = Win7TaskBar.createIcon(bytes);
        }
        catch (Throwable e) {
          LOG.error(e);
        }
      }

      try {
        Win7TaskBar.setOverlayIcon(frame, icon, icon != null);
      }
      catch (Throwable e) {
        LOG.error(e);
      }
    }

    private WinDef.HICON myOkIcon;

    @Override
    public void _setOkBadge(@Nullable JFrame frame, boolean visible) {
      EDT.assertIsEdt();
      if (!isValid(frame)) {
        return;
      }

      WinDef.HICON icon = null;

      if (visible) {
        synchronized (Win7AppIcon.class) {
          if (myOkIcon == null) {
            try {
              BufferedImage image = ImageIO.read(Objects.requireNonNull(AppIcon.class.getResourceAsStream("/mac/appIconOk512.png")));
              byte[] bytes = writeTransparentIco(image);
              myOkIcon = Win7TaskBar.createIcon(bytes);
            }
            catch (Throwable e) {
              LOG.error(e);
              myOkIcon = null;
            }
          }

          icon = myOkIcon;
        }
      }

      try {
        Win7TaskBar.setOverlayIcon(frame, icon, false);
      }
      catch (Throwable e) {
        LOG.error(e);
      }
    }

    @Override
    public void _requestAttention(@Nullable JFrame frame, boolean critical) {
      EDT.assertIsEdt();
      try {
        if (isValid(frame)) {
          Win7TaskBar.attention(frame);
        }
      }
      catch (Throwable e) {
        LOG.error(e);
      }
    }

    @Override
    public void requestFocus() {
      try {
        // This is required for the focus stealing mechanism to work reliably,
        // see WinFocusStealer.setFocusStealingEnabled javadoc for details
        Thread.sleep(Registry.intValue("win.request.focus.delay.ms"));
      }
      catch (InterruptedException e) {
        LOG.error(e);
      }
    }

    private static boolean isValid(@Nullable JFrame frame) {
      return frame != null && frame.isDisplayable();
    }
  }

  private static final class XAppIcon extends BaseIcon {
    @Override
    public boolean _setProgress(@Nullable JFrame frame, Object processId, AppIconScheme.Progress scheme, double value, boolean isOk) {
      return false;
    }

    @Override
    public boolean _hideProgress(@Nullable JFrame frame, Object processId) {
      return false;
    }

    @Override
    public void _setTextBadge(@Nullable JFrame frame, String text) {}

    @Override
    public void _setOkBadge(@Nullable JFrame frame, boolean visible) {}

    @Override
    public void _requestAttention(@Nullable JFrame frame, boolean critical) {
      if (frame != null) X11UiUtil.requestAttention(frame);
    }

    @Override
    public void requestFocus(Window window) {
      if (window != null) X11UiUtil.activate(window);
    }
  }

  private static final class EmptyIcon extends AppIcon {
    @Override
    public boolean setProgress(Project project, Object processId, AppIconScheme.Progress scheme, double value, boolean isOk) {
      return false;
    }

    @Override
    public boolean hideProgress(Project project, Object processId) {
      return false;
    }

    @Override
    public void setErrorBadge(Project project, String text) { }

    @Override
    public void setOkBadge(Project project, boolean visible) { }

    @Override
    public void requestAttention(@Nullable Project project, boolean critical) { }
  }
}


text:
Posted on October 10, 2018 December 29, 2020 by Peter Rowland
Australia's Birdwatching Megaspots Book Release
Peter Rowland and Chris Farrell are very proud to announce the release of their new book "Australia's Birdwatching Megaspots" (published by John Beaufoy Publishing, Oxford in association with Australian Geographic). The culmination of over 30 years of individual research and four years of collaborative effort to produce this portable yet informative aid to both domestic and international travellers who want to maximise their birding experience in Australia.
Front and rear cover of the book
The book gives in depth information on Australia's 55 Birdwatching Megaspots, the 55 sites that typically rank highest in each state or territory for species richness or are home to the more uncommon species. Summaries of a further 40 sites have also been included to provide the reader with the opportunity to visit additional sites as they travel and see Australian bird species that do not typically occur elsewhere. The book includes 120 individual bird species accounts, over 500 colour images and detailed site specific information, including birding tracks and trails, GPS coordinates, access details and directions, facilities, contact information, transport information, other nearby sites of interest and detailed accommodation options in each area. There are also ethical birding guidelines, an overview of Australia's modern bird families, safety and emergency guidelines and a handy checklist of all bird species and subspecies recorded to date in Australia for the reader to record their sightings as they travel. All designed to provide visitors with the essential information they need to plan a successful birding trip.
There are ten sites on mainland New South Wales, four in the Australian Capital Territory, six in Victoria (including Phillip Island), four in Tasmania, five in South Australia (including Kangaroo Island), seven in Western Australia, five in the Northern Territory, nine in Queensland and five remote offshore islands. There are also details of nine (current at the time of writing) pelagic trips run by individuals and organisations around Australia.
As a bit of a taster of what to expect in the book, here are some screenshots:
Our group, Australia's Wildlife, is dedicated to the conservation of our natural world, including our wonderful and unique birdlife, and the promotion of Australia as an ecotourism destination. We feel that this book will help attract international visitors to our country and encourage domestic travel, providing valuable revenue to our economy (especially in regional Australia), which can be used to support conservation efforts at both local and national levels.
Chris and Peter are extremely grateful to all of the people who contributed their images, text and/or time to the project and are also very thankful to Birdlife Australia and WWF Australia for their endorsements of the book. A special thank you goes to Aniket Sardana, who founded the Australia's Wildlife Group with Peter Rowland in 2014 and without whom this book would not have been realised.
On our recent trip to the Britain Birdfair at Oakham, UK, Peter and Aniket were delighted to show the book off to some of the wonderful people who work so hard to promote the areas and accommodation/tour companies that are featured in the book. Some of the people they met up with included Fleur and Steve from TourismNT, Luke from NT Bird Specialists, Linda from Christmas Island Tourism, Cat from Inala Nature Tours, Susie from Tasmanian Odyssey, Sue and Phil from Cassowary House (and Sicklebil Safaris) and Steve from Bellbird Tours. Aniket and Peter also caught up with Rosemary and John from John Beaufoy Publishing, the people who turned the words and pictures into a physical book!
(left to right) Peter, Aniket, Rosemary and John showing off the Australia's Birdwatching Megaspots book at the Australia stand at Birdfair
Copies can be purchased through most major retailers or directly from Australia's Wildlife Group (Birdlife Australia members receive a 10% discount if they buy from us). More information here.
Author contact details:
Peter Rowland (e: peter@australiaswildlife.com) | Chris Farrell (e: chris@fazshot.com.au)
CategoriesAustralia, Birds, Books, Tourism TagsAniket Sardana, Birds, Birdwatching, books, Chris Farrell, Megaspots, Peter Rowland, photography, tourism, travel
2 Replies to "Australia's Birdwatching Megaspots Book Release"
Rachel Lowry says:
This is a terrific, easy to navigate book that made me want to start planning my next holiday around the recommended sites. I love the checklist at the back, for it makes it easy to engage the kids. Australia is home to some wildlife gems, and this book is now one of them. Congratulations and thanks to the authors.
Peter Rowland says:
So glad you like it and thank you so much for leaving a comment ?
Previous PostPrevious Strzelecki Track Expedition (remote) South Australia
Next PostNext Avoiding Dangerous Encounters


The United States has offered a $3 million bounty for information which leads to the capture of Abdelkadir Mohamed Abdilkadir, the 'Norwegian Somali' believed to have played a role in planning the terror attack on Nairobi's Westgate Mall.
Abdilkadir, also known as Ikrima, lived in Norway as an aylsum seeker from 2004 to 2008 but left the country before he received citizenship.
The page for the 34-year-old also notes that he is missing three fingers from his left hand.
It said that al-Shabaab was classed as terrorist operation by the US in 2008, and later announced a formal alliance with al-Qaida in February 2012.
The Rewards for Justice programme, established in 1984, claims to have been responsible for the tracking down and killing of Uday and Qasir Hussein, Saddam Hussein's two sons, as well as ten other wanted terrorists and criminals.


text:
The four-member crew of Inspiration4 went through a full rehearsal of launch day on September 12 | Image credit: SpaceX
SpaceX has performed a full dress rehearsal with the four members of the Inspiration4 crew ahead of their launch this week.
The September 12 dress rehearsal was conducted at the Kennedy Space Center's Pad 39A. Inspiration4 crew Jared Isaacman, Sian Proctor, Hayley Arceneaux, and Christopher Sembroski went through every step they'll follow on launch day up to and including strapping into their seats.
With the completion of the dress rehearsal, the crew is now ready for launch. The five-hour launch window for the Inspiration4 mission is currently slated to open at 00:02 UTC on September 16 (20:02 EDT on September 15).
The mission has been dubbed the first "all-civilian" spaceflight in history. However, this is a little misleading.
NASA is not a part of the armed forces. Although some members of the agency's astronaut corps have served in various branches of the military, many others have civilian backgrounds. As a result, there have been many all-civilian spaceflights.
A more accurate description of the mission would be the first all-amateur spaceflight. This better describes how the mission is made up of four people who have not been through the rigorous selection and training that professional astronauts are required to undergo.
Just hours after the four-member crew disembarked from the Crew Dragon spacecraft, SpaceX successfully performed a static fire test of the Falcon 9 launch vehicle. This is the last major milestone before launch day.
Both the Falcon 9 booster and the Crew Dragon spacecraft that will be utilised for Inspiration4 are flight-proven have previously supported missions to space.
The Falcon 9 booster had previously supported two Space Force missions that deployed a pair of GPS-III satellites. The Crew Dragon spacecraft, which was given the name Resilience by her maiden crew, previously supported Crew-1, the first operational mission of the Crew Dragon spacecraft.
SpaceX set blistering launch cadence in first half of 2021


Over the years some of our residents have struggled to pay for their basic utilities. The City has developed a fair and reasonable program that will allow some relief for utility bills.This will be in addition to the Home Energy Assistance Program (HEAT). The City will allow for a one-time payment each winter season, November to May, based on qualifications for each applicant. There are limited funds available, so once the City's budgeted amount is gone, the program will end for that year.
Individuals or families first must qualify with the Home Energy Assistance Program (HEAT). Once qualified with HEAT, they are required to bring in their verification form with the HEAT grant amount awarded to the applicant noted, to the Murray City Utility Billing Division at 5025 South State Street, room 118. The HEAT Program qualifies those who need assistance with Murray Power or Rocky Mountain Power and Dominion Energy.
Those who have already qualified as of November, 2018 with the HEAT Program and have an approved application form noting the grant amount award given to them though the HEAT program process needs to bring that form to the above address to receive the Murray City award as soon as the program is implemented.
*Murray City Award is credited at the beginning of the each month following the month the HEAT award verification form is submitted by the applicant to the billing office.
If you have any questions, please call Murray City Utility Billing at 801-264-2626.
Additionally, you may call 801-521-6107 to apply for the HEAT Program.


text:
Q: Facebook Connect login failing after logout, something to do with cookies I'm using the PHP SDK for facebook connect.
Now, I can log people in fine using this:
# active session
$session = $facebook->getSession();

if(!empty($session)) {
    # Active session,  try getting the user id (getUser()) and user info (api->('/me'))
    try{
        $uid = $facebook->getUser();
        $user = $facebook->api('/me');

    } catch (Exception $e){}

    if(!empty($user)){

GET USER DETAILS FROM DATABASE, SET SESSIONS FOR MY SITE ETC

} else {

        die("There was an error.");
    }

However, when I log out of my site (which is just a simple logout script destroying the sessions) and then try to log in again using the same facebook script, it triggers the error, indicating that $user is empty. This happens if I stay logged into facebook or someone else tries it and carries on triggering the error until I clear cookies.
There must be something that I am supposed to clear when I log out or before someone logs in with facebook. But the documentation for Facebook is laughably bad and the forum is a complete shambles.
Note, I do not want to log the user out of facebook, only my site. But I obviously cant have the user have to clear their cookies whenever they want to log back in again.
Any help?

A: In case anyone is searching for this (as the facebook documentation and forum are so absolutely terrible) I just changed the setcookie value to false when you set up your secret key etc.
This means that the user would have to log in again if they left your site, but only if you are not setting your own session/cookie values. So it works perfectly for what I needed.

redpajama_set_name: RedPajamaStackExchange


text:
'use strict';

var config = require('../config');

var _ = require('lodash');
var Uuid = require('node-uuid');
var db = require('./db');

var internals = {};

module.exports = internals.Base = function(attr) {
  this.attr = attr;
  this.id = attr.id || Uuid.v4();
};

internals.Base.prototype.save = function() {
  var _this = this;

  var promise = new Promise(function(resolve, reject) {

    db.save(_this.id, _this.toJSON(), function(err, res) {
      if (err) {
        return internals.errorHandler(reject, err);
      }

      resolve(_.extend(res, _this.toJSON()));
    });

  });

  return promise;

};

internals.Base.update = function(model, attr) {

  const id = model.id || model._id;
  delete model.id;

  return new Promise(function(resolve, reject) {

    db.merge(id, attr, function(err, res) {
      if (err) {
        return internals.errorHandler(reject, err);
      }

      resolve(_.extend(model, attr));
    });

  });
};

internals.Base.delete = function(id) {
  return new Promise(function(resolve, reject) {
    db.remove(id, function(err, res) {
      if (err && err.error != 'not_found') {
        return reject(err);
      }
      resolve(res);
    });
  });
};

internals.errorHandler = function(reject, err) {
  if (err.error === 'not_found') {
    reject({
      notFound: true
    });
  } else {
    reject(err);
  }
};

internals.Base.get = function(id) {
  var Model = this;
  return new Promise(function(resolve, reject) {

    db.get(id, {
      cacheEnabled: false
    }, function(err, res) {
      if (err) {
        return internals.errorHandler(reject, err);
      }

      resolve(new Model(res));
    });

  });

};

internals.Base.view = function(view, key) {
  var options;

  if (key) {
    options = {key};
  }

  return new Promise(function(resolve, reject) {
    db.view(view, options, function(err, doc) {
      if (err) {
        return reject(err);
      }

      doc = doc.length ? doc : null;

      resolve(doc);
    });
  });
};


text:
Confounding Founding
USA Today, 2020
What American Democracy owes to the Ancients
By David Holahan
The presidential election of 2016 inspired Thomas Ricks, as it did many other Americans, to ponder existential questions. The Pulitzer Prize-winning author gets right to the point in the prologue to his seventh book: "What kind of nation do we have now? Is this what was designed or intended by the nation's founders?"
To find the answers, Ricks embarked on a four-year intellectual odyssey to determine whether the current state of our nation is what George Washington, Thomas Jefferson, John Adams and James Madison had in mind some 240 years ago.
What he determined is that there were few political role models for America's founding fathers to draw on, certainly not in recent history. To guide themselves through the creation of an unprecedented form of government, they frequently traveled as far back in time as two millennia, to ancient democracies and early republics. Governance, it seemed fair to conclude, had been backsliding ever since the glory days of Greece and Rome.
In "First Principles: What America's Founders Learned from the Greeks and Romans and How That Shaped Our Country," Ricks masterfully documents how two thousand-year-old examples of city states like Athens and the Roman Republic, (before Julius Caesar crossed the Rubicon) informed the four aforementioned founding fathers and their fellow travellers (Alexander Hamilton, among others, drifts in and out of the narrative).
Forget about philosophers-come-lately like Locke and Montesquieu, the founders, according to Ricks, were fixated on old-school thinkers and doers such as Cicero, Cato, and Epicurus. It's a small wonder because education circa 1776 required scholars to master Greek and Latin, and the writings of the ancients were part of the core curriculum. Of America's four first presidents, only George Washington couldn't read Latin.
A cursory architectural tour of public buildings in Washington, D.C., like the U.S. Capitol, reflects the founders' reverence for ancient Greece and Rome.
So the question lurking in the shadows throughout this engaging political peregrination is: "Did the founders anticipate Donald Trump?"
Madison did, according to Ricks, who quotes the key architect of the U.S. Constitution thusly: "Enlightened statesmen will not always be at the helm." The founders had one such example right before their eyes: Aaron Burr, who almost became president when, as Thomas Jefferson's running mate, he received the same number of electoral votes but did not do the honorable thing and concede the election to the head of the ticket.
It is worth noting that Burr, a prolific philanderer, was the only vice president in American history to serve while being under indictment for murder—he could never go home again, to New York, where he would have been arrested. In 1807, he went on trial for treason.
Even iconic political figures behaved in sometime disturbing ways. For example, Ricks writes of America's third president: "[T]hough raised by my parents to revere Thomas Jefferson, I increasingly found myself disturbed by his habitual avoidance of reality." Sound familiar?
The author thoroughly explores the ancient definition of "virtue," originally denoting putting the common good ahead of one's own interests. George Washington, the least educated of the first four presidents, had it, but other founders struggled with living up to his example. Faction, or what is known today as partisanship, soon overtook virtue in the embryonic days of the nation.
For example, Hamilton and Madison, who together had teamed up to convince to the original 13 states to adopt the Constitution, subsequently went at one another every bit as vehemently— arguably more so—than Mitch McConnell and Chuck Schumer do today. The document was eminently more perfect than the men who created it.


text:
layout: post
title: Le projet Bascan climat 2015
excerpt: "Une occasion unique pour réinventer notre façon de vivre."
modified: 2014-06-21 12:15:15 +0200
categories: articles
tags: [article, projet, video]
image:
  feature: terre_nasa.jpg
  credit: NASA Goddard Space Flight Center
  creditlink: https://www.flickr.com/photos/gsfc/4390436850/
comments:  true
share:  true
---
###Une occasion unique pour réinventer notre façon de vivre.

##Le contexte

En décembre 2015, c'est au parc des expositions du Bourget (en Seine-Saint-Denis) que Paris accueillera la 21ème conférence internationale sur le réchauffement climatique (ou conférence des parties - COP)[^1].

Ministre des Affaires étrangères et du Développement international, Laurent Fabius a été nommé président de ce sommet par le chef de l'Etat, François Hollande.

**Les enjeux de la conférence « Paris climat 2015 » tiennent en deux chiffres :** alors que la communauté internationale veut réduire ses émissions de dioxyde de carbone (CO2) afin de limiter la hausse de température planétaire à +2°C d'ici 2100, les rejets actuels dans l'atmosphère nous mènent tout droit à un accroissement de +5°C.

Vingt-deux ans après de « chaudes » négociations climatiques à Rio de Janeiro (Brésil) en 1992, puis Kyoto (Japon) en 1997, Bali (Indonésie) en 2007, Copenhague (Danemark) en 2009, Cancún (Mexique) en 2010, Durban (Afrique-du-Sud) en 2011, Doha (Qatar) en 2012, Varsovie (Pologne) en 2013, Lima (Pérou) en 2014, **c'est à Paris (France) en 2015 que, parmi 195 négociateurs représentant tous les pays de la convention, devra émerger un consensus autour d'un texte d'accord général, assorti de contributions nationales, pour stabiliser les émissions de gaz à effet de serre (GES).**

A l'occasion de la publication du rapport 2014 du GIEC[^3], retrouvez l'interview de Jean Jouzel, climatologue français, sur les dangers des changements climatiques et les enjeux de la COP 21 et la conférence sur le climat.

En France, dans la loi dite « Grenelle 1 », l'un des objectifs est de diviser par quatre les émissions de GES[^2] à l'horizon 2050.

Notre pays s'est également engagé dans une politique du climat qui vise à améliorer son efficacité énergétique de 20% et d'atteindre 23% d'énergies renouvelables dans sa consommation d'énergie finale d'ici à 2020.

C'est dans ce contexte que la France a récemment réaffirmé son engagement politique en faveur de l'Education à l'environnement et au développement durable (EDD).

##La naissance du projet

Dans notre région, l'Ile-de-France, l'une des priorités en matière de climat est la réduction de 20% des émissions de GES du trafic routier, combinée à une forte baisse des émissions de polluants atmosphériques (particules fines, dioxyde de carbone).

C'est ainsi qu'est né le projet éducatif inter-académique (Paris - Créteil - Versailles) « Lycéens franciliens, notre COP 21 » dont les objectifs principaux sont :

- **éduquer** aux enjeux climatiques et aux enjeux de la gouvernance internationale dans ce domaine ;
- **préparer** l'accueil en 2015 de la 21ème conférence des parties à la convention climat en impliquant des lycéens.

**C'est dans ce cadre qu'une équipe de six enseignants du lycée Louis Bascan s'est portée volontaire pour participer à ce projet.**

##La démarche envisagée dans notre lycée

Nous avons fait le choix d'une approche pluridisciplinaire impliquant les Sciences économiques et sociales (SES), l'Histoire-Géographie (HG), l'Education civique juridique et sociale (ECJS), la Physique-Chimie (PC) et les Sciences de la vie et de la Terre (SVT) prolongeant ainsi une démarche de développement durable déjà en cours dans notre établissement (E3D - en voie de labellisation écoresponsable[^5]) où viennent s'ajouter à l'équipe pédagogique des équipes technique et de direction.

Le projet cible l'année scolaire 2014-2015, avec

- **des activités pédagogiques** en groupes d'élèves de Seconde (en enseignement d'exploration[^4] - EE - ainsi qu'en accompagnement personnalisé - AP) et de Première (en Travaux personnels encadrés - TPE) ;
- **une simulation de conférence internationale** regroupant en interacadémique l'ensemble des lycées engagés dans le projet (une demi-journée en mai 2015).

Il devrait également se poursuivre après, notamment au premier semestre de l'année scolaire 2015-2016, en valorisant les travaux des lycéens lors de la période de la conférence internationale (COP 21) en décembre 2015.

**En savoir plus :** [consultez la maquette du projet « Bascan climat 2015 »](http://moniliformopse.github.io/la-maquette-bascan-climat-2015/)

---
**Quelques repères en ligne :**

[Liens de référence](https://unfccc.int/portal_francophone/liens_et_references/items/6588.php "Lien externe") sur le site de la Convention-cadre des Nations Unies sur les changements climatiques (CCNUCC)

Dérèglement climatique : les engagements de la France en quelques dates - [version animée](http://webapps.france-diplomatie.info/cop21/ "Lien externe") - [version imprimable](http://www.diplomatie.gouv.fr/fr/IMG/pdf/infographie_parallaxe_PRINT_cle0f89be.pdf "Document destiné à l'impression, au format pdf - 502,3 Ko"), infographie réalisée par France diplomatie, le site du Ministère des Affaires étrangères et du Développement international.

[Questions réponse « COP climat »](http://www.ac-paris.fr/portail/upload/docs/application/x-octetstream/2014-05/annexe_i_-_fiche_medde_presentation_cop_2015.pdf "Document destiné à l'impression, au format pdf - 70,96 Ko"), par le Ministère de l'Ecologie, du Développement durable et de l'Energie (MEDDE)

[Conférence Paris Climat 2015](http://www.diplomatie.gouv.fr/fr/politique-etrangere-de-la-france/environnement-et-developpement/conference-paris-climat-2015-cop21/ "Lien externe") (COP 21)

[Lancement du projet « Lycéens franciliens, notre COP 21 »](http://www.driee.ile-de-france.developpement-durable.gouv.fr/lancement-du-projet-lyceens-a1862.html "Lien externe") sur le site de la DRIEE Idf.

**Partenaires :**

Académies de [Créteil](http://www.ac-creteil.fr "Lien externe"), [Paris](https://www.ac-paris.fr "Lien externe") et [Versailles](http://www.ac-versailles.fr "Lien externe")

[Conseil régional d'Ile-de-France](http://www.iledefrance.fr "Lien externe")

[DRIEE IdF](http://www.driee.ile-de-france.developpement-durable.gouv.fr "Lien externe") : direction régionale et interdépartementale de l'environnement et de l'énergie d'Ile-de-France.

Les partenaires du projet « Lycéens franciliens, notre COP 21 ».

**Mots clés :**

EE : enseignement d'exploration (en classe de Seconde)

AP : accompagnement personnalisé.

TPE : travaux personnels encadrés (en classe de Première)

SES : sciences économiques et sociales.

ECJS : éducation civique juridique et sociale.

HG : histoire et géographie.

PC : physique et chimie.

SVT : sciences de la vie et de la Terre.

**Notes de bas de page :**

[^1]: COP 21 : 21ème conférence des parties signataires de la convention cadre des Nations unies sur les changements climatiques (CCNUCC).

[^2]: GES : gaz à effet de serre.

[^3]: GIEC : groupe d'experts intergouvernemental sur l'évolution du climat.

[^4]: EDD : éducation à l'environnement et au développement durable.

[^5]: E3D : établissement en démarche de développement durable.


Tequila-Boom is the finest Mexican restaurant in Saint Petersburg. Its head chef prepares a delectable array of Mexican cuisine for you: Fajitas , Burrito, Gringa, flat cakes and steaks, while our barman will mix cocktails, such as Strawberry Margarita, Mexican flag , Mojito and Caipirina.
From noon to 4 p.m. Monday to Friday a business launch is available at the restaurant.
The waiters are excellent, speaking fluent English. A real alive Latin American serves you, will make you doubt if you are really in Saint Petersburg or may be you are in Mexico or Acapulco.
Our restaurant is ideal for Bussiness apoinments, Business launch, Family dinner, Fun party, Happy Hanging around, Late dinner , Romance dates, Latin American dance party, nice weekends.


Returns, cancellations or changes are not available. If the delivered items are different from what you order or the delivered items are broken and damaged by reasonable reasons, please report to us within five business days after you receive the items. We will handle your claims for returns, cancellations or changes with the merchants.
The merchants ship out within five business days. We will contact you if the merchant delays the shipment due to issues with the merchant or postal service.


Tyrese Campbell is in the goals again, and that is throwing up an interesting scenario for Stoke City boss Gary Rowett.
For once, the first team are also scoring goals this season, but Rowett will be delighted to see his under-23s hitman putting pressure on established strikers such as Benik Afobe, Peter Crouch and Saido Berahino. Even better news is Campbell's acknowledgment that he is working hard to improve his all round game.
Welsh Stokies Joe Allen and Ashley Williams won the club's in-house international honours last night. They were part of the Wales team who inflicted a 1-0 Nations League defeat on James McClean's Republic of Ireland in Dublin. There were even some special words of praise for veteran defender Williams from Wales boss Ryan Giggs after the game.
Geoff Scott, who helped Stoke City win promotion in one of the club's most exciting seasons, has died at the age of 61.
Scott was a fixture in Alan Durban's defence alongside Denis Smith, Mike Doyle and Jackie Marsh when the club won promotion to the top flight in 1979, via a dramatic final day win at Notts County.
That season was the highlight of his playing career. They lost only six games during the campaign and conceded just 10 league goals after December 30.
At least 15,000 Stokies made the trip across to Nottingham for the climax, outnumbering the home fans two to one and swelling the crowd to just over 21,500.
Scott cleared off his own line to save his side from disaster as they chased a win - which was eventually sealed by Paul Richardson.
It was one of the biggest parties there has ever been for Stoke City. Rest in peace, Geoff.
The story of Carlos Babington, who sounds and looks like he would have been one of Stoke City's all-time heroes (if only his grandad had done his paperwork).
150 years to the day since Stoke's first game, we're still going through the most weird and wonderful pieces of memorabilia.
It was the award presented to linesman Bob Matthewson by Stoke supporters' club in the aftermath of the 1972 FA Cup semi-final replay against Arsenal at Goodison Park: a horse's backside.
Stoke's goalmouth looking like a battlefield after John Radford's controversial winning goal in the Goodison Park FA Cup semi-final replay against Arsenal in 1972. He was kept onside by a man in a white coat.
What's your favourite (or most unusual) piece of Stoke memorabilia?
Stoke players have been out for a club golf day at Mere, up near Knutsford.
150 years to the day since Stoke's first recorded game, here are 13 of the club's best wins.
We've picked out thrashings of Chelsea, Arsenal and West Brom, nerve-janglers and glory days at Wembley.
"I'm ready for next step..."
Stoke are anticipating an attendance of around 27,000 for Saturday's game against Birmingham City, comfortably bettering the highest so far of 25,673 against Blackburn last month. The figure will be swelled by a sell-out Blues following of 3,200 in the South Stand. However, tickets remain available to Stoke fans, with prices starting at £25 for adults and £8 for under-11s. They can be bought from from the bet365 Stadium Ticket Office, online at scfcdirect.com or by calling (01782) 367599.


Air Horns & Air Systems. Now you can; start, warm, front defrost or cool your car from the comfort of your home or office. This complete remote car start kit comes with all the components you will need for a successful installation. A link will be provided to download MPC's exclusive copyrighted step-by-step installation tip sheet made by MPC's professional technicians to help you through the installation process. This kit is compatible with the following vehicle. Complete instructions for all components, wiring chart that shows the color and location of all the wires you'll need to connect to, PLUS a complete step-by-step installation tip sheet created by our professional technicians. We do not include installation instructions in the box. Once you receive your remote start kit you will be given a link to download the latest set of instructions.
Selectable Engine Speed Sensing, Tach or "Smart" Tachless Operation. Programmable Run Time of 12 to 48 Minutes. 2-Vehicle Operation with extended range antenna (requires a remote a Crimestopper RS3 remote start system installed in each vehicle). Built in timer - can start vehicle every 4 hours on cold nights. Prevents Accidental Key Grinding and Provides the Security of an Immobilizer Controlled through the Remote Keyless Entry.
Disable Factory Alarm before Remote Starting and when Unlocking with Keyless Entry. Re-Arms Factory Alarm after Aborted or Timed Out Remote Start. Gas or Diesel Engine Operation.
About the brands we carry.. We sell only name brand, first quality remote starts. Because we support every sale and every customer, we need to sell products that work! We need to sell products from reputable manufacturers that offer real tech support and have things like replacement remote fobs readily available.
Between our main brands (Crimestopper, Firstech, Fortin, and Omega Research) we have a combined 40 years of business partnership. Each actuator is QC tested before it leaves our facility. MyPushcart is not liable for any installation charges, loss or damage of any kind incurred in the replacement, repair of any warranted product. A Return Authorization Number is required. We have a fulltime tech support staff available to assist you with any technical or installation questions. The item "Complete Remote Start with Keyless Entry Kit For 1998-2000 Ford Explorer -withBypass" is in sale since Wednesday, October 10, 2018. This item is in the category "eBay Motors\Parts & Accessories\In-Car Technology, GPS & Security\Dash Cams, Alarms & Security\Remote Start System Kits". The seller is "mypushcart" and is located in Tucson, Arizona.


text:
Tags UK
M23's creators and commanders are in Rwanda and Uganda
The Congolese army, with the help of the UN Force Intervention Brigade, decisively defeated the M23 militia in the Democratic Republic of the Congo's eastern Kivu Provinces this week, but many Congolese, Rwandans, and Ugandans, are asking why the Democratic Republic of the Congo is now engaged in peace talks with the M23, and not with Rwandan President Paul Kagame and Ugandan President Yoweri Museveni.
United States withholds military aid from Rwanda
On Saturday, July 21, 2012, the United States officially announced that it was withholding $200,000 in military aid from the Rwandan government. Although a materially insignificant sum, the symbolism has serious implications for Rwanda's image and reputation in the global community.
U.S. cuts aid to Rwanda for destabilizing Congo
The State Department announced today that the U.S. "has cut this year's planned military assistance to Rwanda amid concerns that the government in Kigali is supporting rebel movements in neighboring Congo," according to the Washington Post. A three-year campaign by advocates for peace in the Congo and an end to the plundering of its mineral riches culminates successfully in today's announcement. They have been pressing for implementation of the only law sponsored by then Sen. Obama allowing denial of aid to Congo's neighbors that destabilize the Congo.
MLK Injustice Index 2011: Racism, materialism and militarism in the U.S.
"We as a nation must undergo a radical revolution of values … when machines and computers, profit motives and property rights are considered more important than people, the giant triplets of racism, materialism and militarism are incapable of being conquered." – Martin Luther King Jr., April 4, 1967
Learning from shattered Haiti's year of struggle
A year ago this month, Haiti was flattened by a seismic catastrophe. It was hardly the only tragedy that the tiny nation has faced in its 220-year history as the first republic born of a slave revolt.


Edition of 1905. Written by George W. Kirchwey. See also Public administration on Wikipedia, and the disclaimer.
CIVIL ADMINISTRATION. In the most general sense, equivalent to public administration — the conduct of the affairs of the State, or Government, or of any subordinate division thereof. In a more restricted sense, the term is frequently employed to describe the management of the municipal or non-military concerns of the State; and sometimes, more narrowly, as referring to the executive and judicial departments of the Government, as distinguished from the legislative. See Administration; and compare Administrative Law.
The principles and the methods of civil administration vary greatly, from the simplicity and flexibility of patriarchal government or other personal autocracy, to the rigidity of a modern bureaucratic system, like that of France and Russia, and the complexity of a highly developed political system, like that of Great Britain and the United States. There is a general similarity among modern civilized States in the organization and working of the central administration. The great departments of State — those having to do with foreign affairs, with the army and navy, with the collection and disbursement of national revenue, with commerce and industry, and with the post-office — present no great diversity, either in functions or in organization. The chiefs of these departments are ministers of State, the principal and authorized advisers of the Executive, or, as in Great Britain, constitute the real Executive. (See Cabinet.) Usually these chiefs are political and therefore temporary officers, who may come and go without greatly modifying the organization and methods of their departments. Their influence is great while it lasts, but is short-lived: the permanent policy of the administration, as well as its methods and personnel, being for the most part determined by permanent officials of great experience, known as under-secretaries, assistant secretaries, bureau chiefs, etc. As these permanent officials are the persons who really conduct the work of administration, so they are, in everything but the political sense of the term, responsible for the proper conduct of the affairs of their respective departments, and, being so, they are usually unfettered in the choice of their subordinates.
In other matters, however, especially in those of purely domestic concern — as the administration of justice; the maintenance of the public peace; the supervision and control of religion, of morals, and of public education; the levying and collection of taxes, direct and indirect; the conduct of elections, and the 'internal affairs' generally of the community — there is as great diversity in the organization and methods of administration as there is in the political character and ideals of the several States. In those countries in which the feudal and monarchical tradition is strongest, whatever the form of the government may be, not only is the civil administration most highly centralized, but it is much further-reaching, more searching and obtrusive than in those countries which have more completely emancipated themselves from that tradition. This is as true of republican France as of monarchical Germany and autocratic Russia. In the free governments, on the other hand — as in the United States, Great Britain, and her self-governing colonies — not only is the administration decentralized, and left, as largely as possible, in the hands of local self-governing groups, but the general administration is rigidly confined to matters of general or national concern, and is not permitted to trench upon the local concerns of the subordinate political groups of the State. In these countries, accordingly, such matters as the building and repair of roads and bridges, and the maintenance of an adequate constabulary or police force, are dealt with by the borough, parish, town, or city, and not by the State; while, in the United States, even the matter of public education, which is conceded to be an affair of State, and is usually governed by State statutes, is, for the most part, turned over to the locality concerned — the city or school district — for administration.
While in no modern civilized State is the administration wholly centralized, or, on the other hand, wholly decentralized, the two systems are, in their principles and methods, if not in their actual embodiment in practice, so sharply discriminated as to call for a few words of comparison. Doubtless a centralized administration is capable of a much higher degree of efficiency than is attainable under the other system. For matters of great moment, requiring time for their maturing, and, when ripe, calling for prompt and decisive action, it is indispensable. No govenment would think of employing any other system in its military and international affairs. Then, too, it achieves a certain uniformity and regularity of action, and thus tends to strengthen the established government by giving its administration an impersonal effect of permanence and solidity. On the other hand, these very qualities of regularity and uniformity of action tend to harden into the inflexibility and routine of bureaucratic system, which, being lifted above public opinion and free from any effective criticism, crystallizes its abuses in the form of hallowed customs, and lends itself too easily to oppression.
The virtues of the system of decentralization are political rather than administrative. It is only under this system that a free government has free play for its varied activities and experiments. And, though its potential efficiency is not to be compared with that of the system of centralization, it has much to recommend it from the purely administrative point of view. While not adapted to the regulation of international relations, or the carrying out of far-reaching measures of policy, its responsiveness to public opinion makes it an efficient agency for supervising and controlling the far more numerous and important private and local interests of the community. Being local and familiar, it is vigilant and sympathetic; and though some of the affairs committed to it may be badly administered, it is probable that the sum-total of its achievement is greater than that of a centralized administration, with its limited knowledge and its indifference to criticism.
The character of the public administration — whether efficient or inefficient, economical or wasteful, pure or corrupt — depends fundamentally on the conception of the proper aim and purpose of government which prevails. Extravagance and corruption, and, with them, the inefficiency they engender, flourish under any government, whether popular or autocratic in form, which is maintained for the benefit of the ruler, whether that be a king, an aristocracy, or a political party. And, on the other hand, the honest acceptance of the principle that government is instituted for the benefit of the governed tends to produce clean and efficient administration, whatever the external form of the State. It is doubtless to the persistence of the feudal conception of the State that we owe the long era of corrupt and, upon the whole, inefficient administration of public affairs which has marked the history of modern States. So long as the executive head of the State is at once the supreme land-owner and the lord paramount, from whom all honor and protection are derived, so long will the offices of administration be regarded as his perquisites, and the treasure derived from taxation of the people be expended for the gratification of his ambitions and those of his favorites. He may, of his favor, or for his own purposes, grant a certain measure of efficient administration; but the extravagance and corruption which are inseparable from that system will destroy the efficiency of the government as well.
The profound modification of the theory of government effected by the democratic movement of the eighteenth and nineteenth centuries, in substituting the welfare of the people at large for that of the governing classes as the end and aim of government, has brought about a corresponding revolution in its administration. This change became apparent in England upon the accession of William of Orange to the throne in 1688, and in France a hundred years later, in the Revolution; but owing to the development of party government in the former country, and the excesses to which that system led, it did not become effective there until the middle of the last century. It is true that more than one administrative reform had been accomplished in Great Britain — as in the provision of Magna Charta, requiring all justices, constables, sheriffs, and bailiffs to have knowledge of the laws of the realm; the statute of Edward VI. (1552) forbidding the sale of offices (except the higher judicial offices); and the extraordinary law enacted in the twelfth year of Richard II. (1388), declaring that "none shall obtain office by suit, or for reward, but upon desert;" yet as late as the period of the American Revolution the 'spoils system' of the distribution of public office as the reward of party service flourished unchecked. In the United States that vicious system did not come into existence until the administration of President Jackson, and it is only now giving place to the system prefigured in the statute of Richard II., above referred to. (See Civil-Service Reform; Merit System.) The more recent development of party government in France has lately fastened the spoils system on the administration of that country; but, upon the whole, in Europe as well as in America, civil administration has been enormously improved, in purity and economy as well as in efficiency, during the last hundred years; while in England and many of the English colonies, and in considerable portions of the administrative system of the United States, it has completely emancipated itself from the taint of corruption and extravagance. (See Government.) For a comparison of administrative systems and methods of controlling officers of administration, see Goodnow, Comparative Administrative Law (2 vols., New York, 1893). Consult, also, Eaton, Civil Service in Great Britain (New York, 1880).
This page was last edited on 12 June 2012, at 15:21.


text:
angular.module('MeetlyApp.invites', [])
.controller('Invites', function($scope, $location, Data, validateFormFactory, httpRequestsFactory, storeData){
  $scope.invite = {};
  $scope.selectedCat = '-- Select Category --';   // DEFAULT CATEGORY

//****** CHANGE below to get invite data *******//
//probably very similar. difference is gonna be on
//server side
  Data.getInvites()
    .success(function(data){
      console.log('DATA!!',data)
      $scope.invite = data[0]; //just use first invite for now
    })
    .error(function(error){
      console.log(error);
    });

  $scope.submitForm = function(formSubmissionObj) {
    console.log('submitFrom data:')
    console.log(formSubmissionObj);

    httpRequestsFactory.postReqEvent(formSubmissionObj) //should validate this info first
  };

  $scope.selectedTypes = {
      selected:{}
  };

   $scope.toggleCheckbox = function(friend) {
    console.log('selected: ', $scope.selectedTypes)
  }

})

 // // HANDLE FORM SUBMISSION AND VALIDATE DATA =====================================================
 //  $scope.submitForm = function(formSubmissionObj) {
 //    $scope.postRequest = validateFormFactory.toValidate(formSubmissionObj);

 //    if ($scope.postRequest) {
 //      // DATA IS VALID AND CAN CALL YELP API POST REQUEST
 //      initMeetSearch();
 //    } else {
 //      // HANDLE VALIDATION ERROR
 //    };
 //  };

 //  // SEND FORM DATA TO SERVER API ROUTER ==========================================================
 //  $scope.data = {};
 //  var initMeetSearch = function () {
 //    httpRequestsFactory.postRequest($scope.postRequest.obj)
 //      .then(function (searchResults) {
 //        $scope.data.results = searchResults;

 //        // STORE DATA
 //        storeData.set('apiResults', $scope.data.results);

 //        // REDIRECT TO RESULTS PAGE
 //        $location.path('/map-view');
 //      })
 //      .catch(function (error) {
 //        console.error(error);
 //      });
 //  };

 //  // SET AND STORE GEO LOCATION ===================================================================
 //  var geoLocator = function() {
 //    var options = {
 //      enableHighAccuracy: true,
 //      timeout: 5000,
 //      maximumAge: 0
 //    };

 //    var geoLoc = {};

 //    function success(pos) {
 //      var crd = pos.coords;
 //      geoLoc.lat = parseFloat(crd.latitude);
 //      geoLoc.lng = parseFloat(crd.longitude);
 //      storeData.set('geoLocation', geoLoc);
 //    };

 //    function error(err) {
 //      console.warn('ERROR(' + err.code + '): ' + err.message);
 //    };

 //    navigator.geolocation.getCurrentPosition(success, error, options);
 //  };


text:
package org.apache.jackrabbit.oak.plugins.commit;

import static org.apache.jackrabbit.oak.api.Type.STRINGS;
import static org.apache.jackrabbit.oak.commons.PathUtils.concat;
import static org.apache.jackrabbit.oak.spi.nodetype.NodeTypeConstants.MIX_REP_MERGE_CONFLICT;

import org.apache.jackrabbit.JcrConstants;
import org.apache.jackrabbit.oak.api.CommitFailedException;
import org.apache.jackrabbit.oak.api.PropertyState;
import org.apache.jackrabbit.oak.api.Tree;
import org.apache.jackrabbit.oak.api.Type;
import org.apache.jackrabbit.oak.spi.nodetype.NodeTypeConstants;
import org.apache.jackrabbit.oak.spi.commit.DefaultValidator;
import org.apache.jackrabbit.oak.spi.commit.Validator;
import org.apache.jackrabbit.oak.spi.state.ChildNodeEntry;
import org.apache.jackrabbit.oak.spi.state.ConflictType;
import org.apache.jackrabbit.oak.spi.state.NodeState;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.google.common.base.Joiner;

/**
 * {@link Validator} which checks the presence of conflict markers
 * in the tree in fails the commit if any are found.
 *
 * @see AnnotatingConflictHandler
 */
public class ConflictValidator extends DefaultValidator {
    private static Logger log = LoggerFactory.getLogger(ConflictValidator.class);

    /**
     * Current processed path, or null if the debug log is not enabled at the
     * beginning of the call. The null check will also be used to verify if a
     * debug log will be needed or not
     */
    private final String path;

    private NodeState after;

    @Deprecated
    public ConflictValidator(Tree parentAfter) {
        this();
    }

    ConflictValidator() {
        this.path = "/";
    }

    private ConflictValidator(String path, String name) {
        this.path = concat(path, name);
    }

    @Override
    public void enter(NodeState before, NodeState after)
            throws CommitFailedException {
        this.after = after;
    }

    @Override
    public void leave(NodeState before, NodeState after)
            throws CommitFailedException {
        this.after = null;
    }

    @Override
    public void propertyAdded(PropertyState after) throws CommitFailedException {
        failOnMergeConflict(after);
    }

    @Override
    public void propertyChanged(PropertyState before, PropertyState after)
            throws CommitFailedException {
        failOnMergeConflict(after);
    }

    @Override
    public Validator childNodeAdded(String name, NodeState after) {
        return new ConflictValidator(path, name);
    }

    @Override
    public Validator childNodeChanged(String name, NodeState before,
            NodeState after) {
        return new ConflictValidator(path, name);
    }

    @Override
    public Validator childNodeDeleted(String name, NodeState before) {
        return null;
    }

    private void failOnMergeConflict(PropertyState property) throws CommitFailedException {
        if (JcrConstants.JCR_MIXINTYPES.equals(property.getName())) {
            assert property.isArray();
            for (String v : property.getValue(STRINGS)) {
                if (MIX_REP_MERGE_CONFLICT.equals(v)) {

                    CommitFailedException ex = new CommitFailedException(
                            CommitFailedException.STATE, 1, "Unresolved conflicts in " + path);

                    //Conflict details are not made part of ExceptionMessage instead they are
                    //logged. This to avoid exposing property details to the caller as it might not have
                    //permission to access it
                    if (log.isDebugEnabled()) {
                        log.debug(getConflictMessage(), ex);
                    }
                    throw ex;
                }
            }
        }
    }

    private String getConflictMessage() {
        StringBuilder sb = new StringBuilder("Commit failed due to unresolved conflicts in ");
        sb.append(path);
        sb.append(" = {");

        for (ChildNodeEntry conflict : after.getChildNode(NodeTypeConstants.REP_OURS).getChildNodeEntries()) {
            ConflictType ct = ConflictType.fromName(conflict.getName());
            NodeState node = conflict.getNodeState();
            sb.append(ct.getName()).append(" = {");
            if (ct.effectsNode()) {
                sb.append(getChildNodeNamesAsString(node));
            } else {
                for (PropertyState ps : node.getProperties()) {
                    PropertyState ours = null, theirs = null;
                    switch (ct) {
                        case DELETE_CHANGED_PROPERTY:
                            ours = null;
                            theirs = ps;
                            break;
                        case ADD_EXISTING_PROPERTY:
                        case CHANGE_CHANGED_PROPERTY:
                            ours = ps;
                            theirs = after.getProperty(ps.getName());
                            break;
                        case CHANGE_DELETED_PROPERTY:
                            ours = ps;
                            theirs = null;
                            break;
                    }

                    sb.append(ps.getName())
                            .append(" = {")
                            .append(toString(ours))
                            .append(',')
                            .append(toString(theirs))
                            .append('}');

                    sb.append(',');
                }
                sb.deleteCharAt(sb.length() - 1);
            }

            sb.append("},");
        }

        sb.deleteCharAt(sb.length() - 1);
        sb.append('}');
        return sb.toString();
    }

    private static String getChildNodeNamesAsString(NodeState ns) {
        return Joiner.on(',').join(ns.getChildNodeNames());
    }

    private static String toString(PropertyState ps) {
        if (ps == null) {
            return "<N/A>";
        }

        final Type<?> type = ps.getType();
        if (type.isArray()) {
            return "<ARRAY>";
        }
        if (Type.BINARY == type) {
            return "<BINARY>";
        }

        String value = ps.getValue(Type.STRING);

        //Trim the value so as to not blowup diff message
        if (Type.STRING == type && value.length() > 10) {
            value = value.substring(0, 10) + "...";
        }

        return value;
    }

}


text:
LATEST SITUATION IN THAILAND AFTER THE DEATH OF KING BHUMIBOL
Source: http://www.richardbarrow.com/2016/10/latest-situation-in-thailand-after-the-death-of-king/
October 17, 2016 Richard Barrow
It was with great sadness that I heard the news about the death of King Bhumibol. I was with a group of Thai friends at the time and it was very emotional. We all knew this time was coming, but it hit everyone hard. Thais and foreigners alike. Everyone had tears in their eyes for a great man that had done so many great things for the country. The initial mourning period will last for 30 days, but funeral rites will last for one year. This will then be followed by the royal cremation.
Ever since the announcement of His Majesty's death last Thursday shortly before 7 p.m. I have been tweeting live updates on @RichardBarrow to inform people of the situation. At times like this, it is difficult to get accurate information, and that is when Twitter become invaluable. Even more so in a foreign country where you don't speak the local language. The majority of my tweets are translated from the Thai media to help foreigners better understand the latest situation.
I decided to start this page after I saw a lot of misinformation being put out on social media and the international press. I was also getting a lot of questions about what it is like in Thailand at this moment and what, if anything is open. So, this is a guide to my observations so far. Please come back as I will constantly update this page. Also, I suggest you follow me on Twitter @RichardBarrow for any breaking news and updates.
THE SITUATION DURING THE FIRST THREE DAYS:
King Bhumibol died at 3:52 p.m. on Thursday 13th October 2016. The announcement was made to the nation shortly before 7 p.m.
Flags to be flown at half staff for 30 days. Most Thais expected to wear black, grey or white for 30 days. Government officials to wear black for one year.
Over the first few days, people were in shock. Entertainment venues were asked to close or at least turn off the lights and music, and shut the doors. Many places also stopped selling alcohol over the weekend.
Quite a few events scheduled over the first three days were cancelled or were toned down. Some cinemas shut their doors on the day after the death of His Majesty. Local Immigration offices shut for one day.
There were no advertisements on the electronic billboards and on the skytrain. Mannequins in the shops were all dressed in black.
On Saturday, the annual Buffalo Racing in Chonburi was cancelled, though the Buddhist boat parade in Bang Phli went ahead. It was confusing to know what would be acceptable.
On Sunday, the malls were packed. Cinemas open as normal. People eating in the restaurants. Life goes on.
All airports continued to operate as normal. All transportation networks, buses, trains and boats, continued as normal.
LATEST UPDATE (17th OCTOBER 2017):
Nightclubs are allowed to open and sell beer, but they mustn't organize any special activities or play loud music. Basically, they are allowed to continue as long as they keep it behind close doors and are respectful.
Shows aimed at tourists are all open as normal, this includes Siam Niramit, Alcazar Cabaret, Tiffany's Show, Calypso, Muay Thai Live etc.
The government said that Loy Krathong can continue though any entertainment should be toned down or excluded
Cinemas, ice rinks, zoos, tourist attractions are all open as normal. Night markets in Bangkok opened as normal at the weekend. In Chiang Mai, the famous Night Bazaar and Walking Street opened as well.
Shopping malls are all open as normal. Local markets in Chinatown, Pratunam, and Bo Bae were all packed over the weekend. Chatuchak Weekend Market was open as well, but as shops are individually owned, some chose not to open as they wanted to go to the Grand Palace. We expect them to be fully open next weekend.
The Temple of the Emerald Buddha and The Grand Palace is closed to tourists until at least 20th October. Every other temple around the country is open as normal. This includes the historical parks in Ayutthaya and Sukhothai.
Dinner Cruises on Chaophraya River are continuing though they won't play any music and will dim the lights
WHAT IS CANCELLED?
Full Moon Party cancelled on 17th October
Hellfire Pass Memorial and Walking Trail will be closed from 14-16 October
The Sound of Heritage concert scheduled for 21 October is cancelled
Lumpinee Boxing Stadium and other Muay Thai rings in Bangkok are closed for one month. Lumpinee will re-open on 15th November
Bangkok Street Show, scheduled for 10-12 December has been postponed
Pattaya International Fireworks Festival, scheduled for 25-26 November, has been cancelled
The Illuminated Boat Procession, scheduled for 9-17 October, has been cancelled
Chiang Mai Yi Peng Lantern Festival at Tha Phae Gate on 13-15 November has been cancelled
Naga Fireball World Festival in Nong Khai, scheduled for 15-24 October, has been cancelled
Bangkok International Festival of Dance and Music is cancelled
Morrissey Live in Bangkok scheduled for 18 October is cancelled
Scorpions 50th Anniversary Tour, scheduled for 26 October, is cancelled
Pattaya Loy Krathong Festival, scheduled for 25-26 November, is cancelled
New Year celebrations in Pattaya are cancelled
It is expected more will be added and possibly some cancellations rescinded. Come back as I will update the above list daily to make changes. New additions will be added to the top of the list.
Tourists are not expected to wear black for the next 30 days. However, if you are able, I am sure the Thais would appreciate it if you wore muted colours. If not, it is possible to buy a black ribbon to pin on your shirt. Please be respectful at all times when around Thais. They are in deep mourning. But, life goes on. For Thais too. The King himself said that he didn't want people to weep at his passing. So enjoy your holiday.
Please follow me on Twitter @RichardBarrow for all the latest breaking news and updates.
Your conclusion on current situation is very helpful and rather clever. My given Wishbeer T-shirt serves well for the qccasion. It comes in handy for frequent short distance workarounds from home.


Millions of ladies are continuously looking for Dresses For A Special Occasion. Golden Goose Sale Presented here I outline some dynamic Style Tips For Women on How To Select That Special Dress to cause the occasion truly unforgettable. Haven't adorned a dress in a Golden Goose while and you require one for Friday night's dinner date? Do not stress, together with a little aid and a plan, you are able to find that perfect dress for Friday night. You can also use recycled paper to create a craft pattern for making the holiday greeting card. The best way to do this is to design characters with separate pieces in a graphics software program, but drawing it directly on the recycled paper will do. Then cut out the various pieces from the pattern and place them over recycled construction paper scraps. You might not expect to find real deal matzo ball soup in the middle of Colorado, but this Denverbased deli has been serving up traditional Jewish delicacies for 44 years. Guy stopped in just for a bowl of their originalrecipe soup, which is so popular that the kitchen churns out 15 to 20 gallons of broth a day. The matzo balls are "super light and tender with a great texture" and complement the comforting gingerinfused chicken soup. When you look http://www.goldengooseworld.com/ in online shoe stores, you will notice that there are a few differences between men's and women's shoes for sale. The most obvious differences are the designs, styles, and colors of shoes. Women's shoes tend to be more colorful and may have more embellishments such as buckles, buttons, gems, long laces, glitter, and gold.


Comfort and education are important when choosing your dental practice. Since 1997, Albany Dental Care has made it our mission to provide patients with comprehensive cosmetic dental services that enhance patient comfort while yielding the most functional and aesthetic results. From deep cleanings to dental implants, we are prepared to aid you in your journey towards a beautiful smile.
From your first visit, Dr. McCrady and our team strive to educate patients on their individual oral health needs and how to best achieve a healthier, more beautiful smile. It is our belief that by helping you to understand the benefits of your various treatment options, you can make the choice of cosmetic restoration that best suits your personal needs and satisfaction.
With modern tools like our Omnicam® digital imaging camera and our in-office CEREC® machine, we provide patients with new insight into the health of their smiles, allowing them to better understand their dental needs. By coupling these innovative technologies with educational videos, we help patients take charge of their smile and choose the procedures that work best for their needs.
While much of our practice' efforts to maximize patient comfort focus primarily on using education to eliminate unknowns, some individuals remain anxious to receive dental treatment.
Oral and inhalation conscious sedation options like nitrous oxide and valium are safe, ADA-approved ways for our Albany dentist to ensure that even highly fearful patients can enjoy the tranquility of our office and comfortable, successful treatments.
Our Albany dentist serves patients with the cutting edge in equipment, procedures, and a hygienic environment. Whether you are in need of a single tooth dental implant, or a crown made in-office, Dr. McCrady keeps up to date on all of the treatment options and technologies available in modern dentistry.
In an effort to enhance patients' ever-changing experience, our office also adheres to the strictest standards set by the American Dental Association, the Occupational Safety and Health Administration, and the Center for Disease Control.
If you are looking for high quality cosmetic restorations, call or schedule an appointment with Dr. McCrady and our team at Albany Dental Care. We are committed to serving patients of Albany and the surrounding areas.


Oregon drivers soon could pay up to $2,000 if they're caught texting while driving.
Both the state Senate and House are considering bills to toughen anti-texting laws. Despite the 2009 Oregon law that currently charges a $500 maximum fine, accidents involving cell phones have crept up. Senate President Peter Courtney, D-Salem, said the higher penalty will be very severe for violators "the one time you get caught." Read The Oregonian article.


text:
Tomar - Portugal holiday guide
Although a small town, Tomar plays a large role in a very important stage of Portuguese history, with links to the Knights Templar and the Discoveries, and remains an attractive and interesting place to visit.
Tomar Castle
Its story begins in the eleven hundreds when much land in the area was donated to the Knights of the Temple of Jerusalem by the then Queen Dona Teresa and her son Dom Alfonso Henriques. Upon this land the Master of the Order of the Temple, Gualdim Pais, instigated the building of a castle which would continue to grow in size and grandeur throughout the ages until the 17th century. Legend tells us that the position of the castle, and indeed its name, came to the Templars in a vision upon their arrival in the area.
Convento de Cristo
The castle and the Knights of the Order served to defend the centre of Portugal from attack and invasion, and often they were besieged, but by the 14th century there was a movement throughout Europe to ban the Templars and so came about the extinction of the Order. However, they continued to be supported by the Portuguese royals and so in 1319 Dom Dinis eventually succeeded in negotiating with the Catholic powers the establishment of the new Order of Christ, which would basically take over from where the Templars left off, with the same people, property and privileges. It was this Order which worked alongside Henry the Navigator in the 15th century and whose knowledge and financial backing aided his voyages of discovery. The knights became explorers in their own right with a remit to extend Portuguese influence in the world and to spread Christianity to these new lands.
These voyages and discoveries over the ages are represented in the enormous variety of architectural styles which adorn the castle and convent.
Tomar Guided Tours & Excursions
Beber a bica! - Visita com um local à cidade de Tomar
From Lisbon Tomar and Almourol Castle Private Tour Full Day
Private Tour Route Castles and Caves, Santarem Almourol and Tomar
Tomar Templar full day group tour from Lisbon
Show all Tomar tours & excursions »
Things to do in Tomar
Beaches near Tomar
Tomar photos
Tomar accommodation
Tomar apartments
Tomar hotels
Tomar villas
Tomar guest houses
Convent of the Order of Christ
Accommodation booking widget
Images of tomar
Charola Rotunda (Round Church) - Tomar
Tomar Roof Tops
Judas Blossom - Tomar
Sao Joao Baptista Church - Tomar
Tomar Town Square
Other Towns