Skip to content

Instantly share code, notes, and snippets.

<div class="layout--onecol layout-container py-section">
<div class="container-fluid">
<div class="row">
<div class="col-12 layout__region--content">
<div class="tab ">
@ssirois
ssirois / building_a_string.py
Created May 18, 2018 16:43
Python string builder ?
class ConfigurationFile():
def __init__(self, config1, config2):
self._config1 = config1
self._config2 = config2
def output_file(self):
print(
"configuration-group={\n"
" config1=\"" + self._config1 + "\"\n"
" config2=\"" + self._config2 + "\"\n"
@ssirois
ssirois / README.md
Created January 27, 2017 22:01 — forked from aaronk6/README.md
launchUri

Cross-browser implementation of navigator.msLaunchUri

Microsoft’s navigator.msLaunchUri method only works in Internet Explorer on Windows 8. Therefore I came up with a (nearly) cross-browser implementation that uses the native msLaunchUri when it’s available and falls back to adventurous hacks when running in other browsers.

Description

launchUri (uri, successCallback, noHandlerCallback, unknownCallback)
@ssirois
ssirois / SassMeister-input-HTML.html
Last active August 26, 2015 19:22
Zen Grids Two Columns Issue
<ul>
<li>Item&nbsp;1</li>
<li>Item&nbsp;2</li>
<li>Item&nbsp;3</li>
<li>Item&nbsp;4</li>
<li>Item&nbsp;5</li>
<li>Item&nbsp;6</li>
</ul>
@ssirois
ssirois / test-scenario-a.html
Last active August 29, 2015 14:13
Testing image title as alternative content for an image in a hyperlink
<!doctype html>
<!--
test-scenario-a.html &mdash; Test page implementing scenario a.
Copyright 2014 Samuel Sirois (sds) &lt;samuel@sirois.info&gt;
This file is part of a11yexperiments.com test 0001.
a11yexperiments.com test 0001 is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by