Skip to content

Instantly share code, notes, and snippets.

View clementgpro's full-sized avatar
👋

Clément clementgpro

👋
  • U TECH x CREATIVE
  • France
  • 15:56 (UTC -12:00)
View GitHub Profile
#!/bin/bash
# Désactiver d'abord si déjà existant
swapoff /dev/zram0 2>/dev/null
zramctl --reset 0 2>/dev/null
# Charger le module et configurer à 1 Go (1024M) en lz4
modprobe zram
zramctl --find --size 1024M --algorithm lz4
# Formater et activer la ZRAM avec une priorité haute
wget -qO - https://raw.githubusercontent.com/linux-surface/linux-surface/master/pkg/keys/surface.asc \
| gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/linux-surface.gpg > /dev/null
echo "deb [arch=amd64] https://pkg.surfacelinux.com/debian release main" \
| sudo tee /etc/apt/sources.list.d/linux-surface.list
sudo apt update
sudo apt install linux-image-surface linux-headers-surface surface-iptsd -y
{
"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