Skip to content

Instantly share code, notes, and snippets.

{
"basics": {
"name": "Manu Chardonnens",
"label": "Software developer @ QoQa Services SA",
"picture": "",
"email": "me@elmanou.ch",
"phone": "",
"website": "",
"summary": "15 years experience in web development.\nSoftware Engineering, Development, and Project Management in a wide variety of e-Commerce applications.\nAlways interested in new challenges and technologies.\nWith a strong focus on quality and usability.\n\nHIGHLIGHTS\nGood interaction and communication skills in heterogeneous groups\nPatient and reliable under all conditions\nStrong sense and knowledge of both responsibility and business\n\nSPECIALITIES\nProject Management, Scrum, Design Sprint\nRoR, React, HTML5, SCSS\nSEO, Marketing, Analytics, GTM\nWeb Design, UI, UX, Adobe PS & The Gimp",
"location": {
const loadingState = {
PENDING: 'pending',
LOADED: 'loaded',
FAILED: 'failed'
};
const delay = t => new Promise(resolve => setTimeout(resolve, t));
/**
Loads a resource using a promise, can call then after
Ex: ResourceUtils.load(url, options).then(this.someInitFunction);
@ElManouche
ElManouche / index.html
Created June 7, 2018 06:55
React 16.2.0 Materialize Autocomplete Chips
<div class="container modified">
<h2>React 16.2.0 Materialize Autocomplete Chips</h2>
<div id="app" />
</div>
@ElManouche
ElManouche / merge_tags_parser.rb
Last active April 26, 2017 17:49
SiRuMeT - Simple Ruby Merge Tags Parser - created by ElManouche - https://repl.it/HWwM/25
# SiRuMeT - Simple Ruby Merge Tags Parser
## Code
def parse_merge_tags(text, params)
pattern = {
placeholder: /(\*\|(?:MC:)?([A-Za-z0-9_]+)\|\*)/,
condition: %r{
(
\*\|IF:
([A-Za-z0-9_]+) # match[1] 2nd Capturing Group - merge_tag
def combinations(lengths)
return nil if lengths.nil?
(0..lengths.reduce(:*) - 1).map do |line|
(0..lengths.count - 1).map do |row|
sub_pos = lengths.slice(row + 1, lengths.count).reduce(:*) || 1
line / sub_pos % lengths[row]
end
end
end
@ElManouche
ElManouche / ElementQueries.js
Created April 23, 2015 15:06
CSS Element Queries
/**
* Copyright Marc J. Schmidt. See the LICENSE file at the top-level
* directory of this distribution and at
* https://github.com/marcj/css-element-queries/blob/master/LICENSE.
*/
;
(function() {
/**
*
* @type {Function}