Skip to content

Instantly share code, notes, and snippets.

@mistergraphx
mistergraphx / .editorconfig
Created June 23, 2019 06:15
.editorconfig
# http://editorconfig.org
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
@mistergraphx
mistergraphx / .browserlistrc
Created June 13, 2019 10:33
Browserlist snippet source from Codyhouse framework
>= 1%
last 1 major version
not dead
Chrome >= 45
Firefox >= 38
Edge >= 12
ie 9-11
iOS >= 9
Safari >= 9
Android >= 4.4
@mistergraphx
mistergraphx / .gitattributes
Created April 22, 2019 05:56
gitattributes (ignore files or folders in production environement)
# Path-based git attributes
# https://www.kernel.org/pub/software/scm/git/docs/gitattributes.html
# https://www.reddit.com/r/PHP/comments/2jzp6k/i_dont_need_your_tests_in_my_production/
# Ignore all test and documentation with "export-ignore".
/.editorconfig export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.scrutinizer.yml export-ignore
/.styleci.yml export-ignore
/.travis.yml export-ignore
@mistergraphx
mistergraphx / formulaires_spip.pug
Created April 16, 2019 14:28
Structure html des formulaires
.page.texte
div.formulaire_spip
fieldset.fieldset
legend.legend
.editer-groupe
.editer
label
input.text(type="text", value="")
.editer
.choix
@mistergraphx
mistergraphx / .gitignore-tw5
Created April 14, 2019 16:06
TiddlyWiki5 gitignore
.DS_Store
docs/
output/
@mistergraphx
mistergraphx / .sass_gitignore
Created February 25, 2019 09:18
Sass Gitignore template
.sass-cache/
*.css.map
*.sass.map
*.scss.map
The MIT License (MIT)
Copyright (c) 2000-2018 - xxx, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@mistergraphx
mistergraphx / git_cheatsheet.md
Last active February 24, 2019 06:51 — forked from hofmannsven/README.md
My simply Git Cheatsheet
@mistergraphx
mistergraphx / js_beginner_guid.tw
Created December 12, 2018 15:54
Javascript beginners guide
''Coding rules & styleguides''
Rédiger du code javascript lisible
https://carlanderson.xyz/intro-to-readable-javascript/
Google Javascript Styleguide :
https://google.github.io/styleguide/jsguide.html
<!-- Structured Markup for a blog page
Tools:
https://search.google.com/structured-data/testing-tool
References:
https://schema.org/Blog
https://schema.org/BlogPosting