Skip to content

Instantly share code, notes, and snippets.

View uicoded's full-sized avatar

Jan uicoded

View GitHub Profile
@uicoded
uicoded / .block
Last active November 9, 2017 22:02 — forked from lebek/amzn.csv
Responsive Visualizations: Basic Graph
license: mit
@uicoded
uicoded / README.md
Last active December 3, 2017 04:47 — forked from zanarmstrong/d3formatting.css
d3 time formatting example

Created by: Zan Armstrong This little tool helps you try out d3.time.format specifiers. Documentation for time format specifiers is here.

@uicoded
uicoded / angular-jqlite.adoc
Last active March 15, 2018 22:39 — forked from esfand/angular-jqlite.adoc
Angular jqLite

Angular jqLite

jQuery and Angular

Angular doesn’t depend on jQuery. In fact, the Angular source contains an embedded lightweight alternative: jqLite. Still, when Angular detects the presence of a jQuery version in your page, it uses that full jQuery implementation in lieu of jqLite. One direct way in which this manifests itself is with Angular’s element abstraction.

pdfmake

Use in node.js

The module on npm exposes the pdfmake Printer, which the docs themselves do not cover. Using it is pretty simple though.

var path = require('path');
var Printer = require('pdfmake');
@uicoded
uicoded / macos-recovery-server.md
Last active October 16, 2018 15:52
Fixing "The recovery server could not be contacted" in MacOS High Sierra

Upgrading to High Sierra on older machines

ERROR: The recovery server could not be contacted

It appears that this has to do with the time on the machine not being synchronized, so when the MacBook tries to reach out to the recovery server the certificates do not validate and we get this useless error message.

Solution 1: Update Time

  1. Run in Terminal (possibly with sudo)
@uicoded
uicoded / simpleFileDragAndDrop.js
Created May 29, 2019 21:29 — forked from chfritz/simpleFileDragAndDrop.js
HTML5: simple file drag&drop (without upload).
/*
(MIT License)
Copyright (c) 2012 Christian Fritz
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,
@uicoded
uicoded / tailwind-css-cheat-sheet.md
Created May 31, 2025 15:21 — forked from vigo/tailwind-css-cheat-sheet.md
Tailwind CSS 3 - Cheat Sheet