Skip to content

Instantly share code, notes, and snippets.

View manolenso's full-sized avatar

Laurent Rémy manolenso

  • TV Magazine
  • Paris IX
View GitHub Profile
@manolenso
manolenso / app.coffee
Created October 17, 2014 05:58
verification loading jquery
$ -> alert "jQuery est chargée!"
@manolenso
manolenso / untitled
Created October 17, 2014 06:18
jquery1.7.2 cnd & fallback
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.
js"></script>
<script>window.jQuery || document.write('<script src="js/lib/
jquery.js"><\/script>')
</script>
@manolenso
manolenso / untitled
Created October 20, 2014 20:36
compass html start
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" />
<link href="/stylesheets/print.css" media="print" rel="stylesheet" type="text/css" />
<!--[if IE]>
<link href="/stylesheets/ie.css" media="screen, projection" rel="stylesheet" type="text/css" />
<![endif]-->
<title>compass</title>
@manolenso
manolenso / jsx: if no document open
Created December 9, 2014 18:21
jsx: if no document open
if(app.documents.length < 1){
alert("Il n'y a pas de document ouvert! ");
}else{
var document = app.activeDocument;
}
@manolenso
manolenso / designer.html
Last active August 29, 2015 14:11
designer
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-animated-pages/core-animated-pages.html">
<link rel="import" href="../core-animated-pages/transitions/hero-transition.html">
<link rel="import" href="../core-animated-pages/transitions/cross-fade.html">
<link rel="import" href="../core-animated-pages/transitions/slide-down.html">
<link rel="import" href="../core-animated-pages/transitions/slide-up.html">
<link rel="import" href="../core-animated-pages/transitions/tile-cascade.html">
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
@manolenso
manolenso / my.css
Last active August 29, 2015 14:12 — forked from anonymous/my.css
css background
background: linear-gradient(64deg, #4ee1bb, #38a3df);
background-size: 400% 400%;
-webkit-animation: AnimationName 12s ease infinite;
-moz-animation: AnimationName 12s ease infinite;
-o-animation: AnimationName 12s ease infinite;
animation: AnimationName 12s ease infinite;
@-webkit-keyframes AnimationName {
    0%{background-position:0% 46%}
    50%{background-position:100% 55%}
    100%{background-position:0% 46%}
@manolenso
manolenso / jetbrain-compass-watcher.xml
Last active August 29, 2015 14:27
Here is the xml windows config if you want to paste it into .idea/watcherTasks.xml
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectTasksOptions">
<TaskOptions isEnabled="true">
<option name="arguments" value="compile $FileParentDir$" />
<option name="checkSyntaxErrors" value="true" />
<option name="description" value="Compiles .scss files into .css files" />
<option name="exitCodeBehavior" value="ERROR" />
<option name="fileExtension" value="scss" />
<option name="immediateSync" value="true" />
Windows Registry Editor Version 5.00
;Created by Manolenso
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\AdobeCC]
"MUIVerb"="Creative Cloud 2015"
"SubCommands"="Photoshop;Illustrator;inDesign;lightroom;EdgeAnimate;Dreamweaver;Muse;Flash"
"icon"="C:\\Program Files (x86)\\Adobe\\Adobe Creative Cloud\\ACC\\Creative Cloud.exe"
"Position"="Top"
@manolenso
manolenso / icon-git.reg
Last active September 3, 2015 19:37
for git since 2.5 version icon on contextuel menu
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\git_shell]
@="Git Ba&sh Here"
"Icon"="%SystemDrive%\\Program Files\\Git\\mingw64\\share\\git\\git-for-windows.ico"
[HKEY_CLASSES_ROOT\Directory\shell\git_shell]
@="Git Ba&sh Here"
"Icon"="%SystemDrive%\\Program Files\\Git\\mingw64\\share\\git\\git-for-windows.ico"
@manolenso
manolenso / WebStorm10.0.4.reg
Last active September 22, 2015 13:04
contex menu handler webstorm
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\WebStorm]
"Icon"="C:\\Program Files (x86)\\JetBrains\\WebStorm 10.0.4\\bin\\WebStorm64.exe"
@="Open WebStorm project"
[HKEY_CLASSES_ROOT\Directory\shell\WebStorm\command]
@="C:\\Program Files (x86)\\JetBrains\\WebStorm 10.0.4\\bin\\WebStorm64.exe \"%1\""