Skip to content

Instantly share code, notes, and snippets.

View clementgpro's full-sized avatar
👋

Clément clementgpro

👋
  • U TECH x CREATIVE
  • France
View GitHub Profile
{
"name": "front",
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"prod": "ng build --prod --delete-output-path=false",
"test": "ng test",
"lint": "ng lint --fix --force=true --typeCheck=true",
@clementgpro
clementgpro / sufix materialize
Created March 28, 2016 20:04
sufix materialize
<!DOCTYPE html>
<html>
<head>
<!--Import Google Icon Font-->
<link href="http://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!--Import materialize.css-->
<link type="text/css" rel="stylesheet" href="css/materialize.min.css" media="screen,projection" />
<!--Let browser know website is optimized for mobile-->
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!DOCTYPE html>
<html>
<head>
<!--Import Google Icon Font-->
<link href="http://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!--Import materialize.css-->
<link type="text/css" rel="stylesheet" href="css/materialize.min.css" media="screen,projection" />
<!--Let browser know website is optimized for mobile-->
<!DOCTYPE html>
<html>
<head>
<!--Import Google Icon Font-->
<link href="http://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!--Import materialize.css-->
<link type="text/css" rel="stylesheet" href="css/materialize.min.css" media="screen,projection" />
<!--Let browser know website is optimized for mobile-->
Fonctionnalités à implementer
==============================
Contacts
Camera
Stockage
Noter les sessions
Ajouter des commentaires
Refactoring Code
Evaluation
<!DOCTYPE html>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
/**
* @see IActionDelegate#run(IAction)
*/
public void run(IAction action) {
IStructuredSelection selection = (IStructuredSelection) targetPart
.getSite().getSelectionProvider().getSelection();
EObject object = (EObject) selection.getFirstElement();
EList<EReference> references = object.eClass().getEAllReferences();
@clementgpro
clementgpro / calendar
Created January 5, 2015 14:27
calendar
calendar{
event DSL tutorial{
on 2009/11/8
from 09:00
to 16:00
at Aarhus Music Hall
}
event Making use of Patterns{
at Aarhus Music Hall
from 14:15
@clementgpro
clementgpro / ContactDaoObjectify
Last active August 29, 2015 14:09
TPGoogleAppEngine
package com.zenika.restx.persistence.objectify;
import com.googlecode.objectify.Key;
import com.googlecode.objectify.ObjectifyService;
import com.zenika.restx.domain.ZenUser;
import java.util.List;
/**
* Created by Clement on 18/11/2014.
uint8_t *pSource = process_data->source_bitmap + ((process_data->y0 * process_data->source_header.width) + process_data->x0);
uint8_t *pDestination = process_data->destination_bitmap;
uint32_t counterLine = process_data->y1 - process_data->y0;
uint32_t counterColumn = process_data->x1 - process_data->x0;
uint32_t reste = (process_data->source_header.width - process_data->x1) + process_data->x0;
while(counterLine--){
while(counterColumn--){
*pDestination++ = *pSource++;
}