Instantly share code, notes, and snippets.

View export-microsoft-to-do-list.js
/*
Paste this in your javascript console at https://todo.microsoft.com
The texts will then land on your clipboard, so you can paste them into
another todo app like todoist, that will pickup multiple tasks based on the new lines
*/
var nodes = document.querySelectorAll('.taskItem-title');
var list = [].slice.call(nodes);
View gist:eb53261e1c5dc1ac8fbcbf8e536daf8e
{
"editor.fontSize": 15,
"workbench.sideBar.location": "left",
"workbench.activityBar.visible": true,
"workbench.colorTheme": "One Monokai",
// "editor.fontFamily": "Source Code Pro, Menlo, Monaco, 'Courier New', monospace",
"editor.fontFamily": "Fira Code",
"editor.fontLigatures": true,
"editor.minimap.enabled": false,
"editor.scrollbar.horizontal": "hidden",
View css-svg-data-bg.css
a.nav-social-link.-facebook {
background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M11.133 6h-2.09V4.718c0-.482.342-.593.582-.593H11.1V2.008L9.07 2C6.816 2 6.303 3.58 6.303 4.59V6H5v2.18h1.303v6.172h2.74v-6.17h1.85L11.134 6z" fill="%231D1C1B" fill-rule="evenodd"/></svg>');
}
View active-media-query-helper.scss
// Set visual-grid in _grid-settings.scss for a nice grid overlay
@if ($visual-grid) {
body:after {
display: block;
position: fixed;
bottom: 0;
right: 0;
font-size: 12px;
background-color: darkred;
color: white;
View 0-react-hello-world.md
View searchform.php
<?php
/*
*
* Roots.io searchform.php template hack to fix Polylang search
*
* Note: Polylang setting 'Hide URL language info for default language' should be enabled for this to work.
* Soil-nice-search disabled in Roots.
*
*/
View Run project script
tell application "Terminal"
do script "open /Users/bram/Dropbox/Projecten/Stagewerkt.nl && open /Users/bram/Sites/stagewerkt.nl/wp-content/themes/stagewerkt-2 && http start && cd /Users/bram/Sites/stagewerkt.nl/wp-content/themes/stagewerkt-2 && subl --project stagewerkt && grunt watch"
end tell
tell application "Google Chrome"
open location "http://www.stagewerkt.dev/"
end tell