This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Helper CKEditor pour CakePHP v1.3.4 | |
* Code Original par Pierre-Emmanuel Fringant | |
* URL : http://www.formation-cakephp.com/388/ckeditor-helper | |
* Modifié par Damien Varron, 09/10/2010 | |
*/ | |
class CkHelper extends AppHelper |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$tests = array( | |
'http://www.facebook.com/page_id' => 'page_id', | |
'https://www.facebook.com/page_id' => 'page_id', | |
'http://www.facebook.com/#!/page_id' => 'page_id', | |
'http://www.facebook.com/pages/Parisé-France/Vanity-Url/123456?v=app_555' => '123456', | |
'http://www.facebook.com/pages/Vanity-Url/45678' => '45678', | |
'http://www.facebook.com/#!/page_with_1_number' => 'page_with_1_number', | |
'http://www.facebook.com/bounce_page#!/pages/Vanity-Url/45678' => '45678', | |
'http://www.facebook.com/bounce_page#!/my_page_id?v=app_166292090072334' => 'my_page_id', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
import React from 'react'; | |
import SwipeViews from 'react-swipe-views'; | |
export default class App extends React.Component { | |
render() { | |
return ( | |
<SwipeViews> | |
<div title="Tab 1"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
G15XYZ-B55D-7122-5A7B 04.03.2015 01.05.2015 Disponible Un .XYZ gratuit | |
G15COMH-9674-D5FA-E122 04.03.2015 01.05.2015 Disponible Un .COM à -50% | |
G15COMH-5F0A-CA9E-C1A3 04.03.2015 01.05.2015 Disponible Un .COM à -50% | |
G15FRH-A96D-314D-9CB4 04.03.2015 01.05.2015 Disponible Un .FR à -50% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Détecter le click | |
// https://developers.google.com/maps/documentation/javascript/events | |
google.maps.event.addListener(map, 'click', function(event) { | |
}); | |
// Objet latLng | |
// https://developers.google.com/maps/documentation/javascript/3.exp/reference#LatLng | |
latLng = new google.maps.LatLng( | |
46.2157467, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from "react"; | |
import { DeviceSizeListener, DeviceSwitch } from "../../src"; | |
const BREAKPOINT = "min-width: 600px"; | |
const example = () => ( | |
<DeviceSizeListener breakpoint={BREAKPOINT}> | |
<DeviceSwitch | |
mobileRender="Mobile!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const App = () => { | |
const [counter, setCounter] = React.useState(0) | |
return ( | |
<div> | |
You clicked me {counter} times! | |
<ClickMe counter={counter} setCounter={setCounter} /> | |
</div> | |
) | |
} |