Skip to content

Instantly share code, notes, and snippets.

View mikewlange's full-sized avatar
💡
The dude abides

Mike Lange mikewlange

💡
The dude abides
View GitHub Profile
@mikewlange
mikewlange / donate.sol
Created February 23, 2018 10:35
Smart Contract for Donations
pragma solidity ^0.4.4;
// TestRPC HD wallet
// warrior minimum breeze raven garden express solar flavor obvious twenty alpha actress
contract Donation {
// Instantiate a variable to hold the account address of the contract administrator
address public owner;
@mikewlange
mikewlange / crypto-prices-ui-ifex.markdown
Created March 1, 2018 03:19
Crypto Prices UI - ifex
@mikewlange
mikewlange / Install Jetbrains Toolbox on Ubuntu
Created June 12, 2018 02:44
Install Jetbrains Toolbox on Ubuntu
Yes - you actually have to do this. Jetbrains DOES not have instructions.
It's not the end of the world - but some people may not know this
$ tar xf /home/mike/Desktop/jetbrains-toolbox-1.8.3868.tar <-whatever version you download
$ chmod -R 777 jetbrains-toolbox-1.8.3868
$ cd jetbrains-toolbox-1.8.3868
% ./jetbrains-toolbox
@mikewlange
mikewlange / 3d-fold-out-reveal.markdown
Created October 22, 2018 23:01
3D Fold out reveal

3D Fold out reveal

Click to reveal more info. Info folds out beneath the card, while the rest of the grid recedes.

A Pen by mike lange on CodePen.

License.

@mikewlange
mikewlange / client-summary-card.markdown
Created October 31, 2018 05:23
Client Summary Card
@mikewlange
mikewlange / better-bootstrap-buttons.markdown
Created December 14, 2018 06:55
Better Bootstrap Buttons

Better Bootstrap Buttons

I've restyled the default Bootstrap buttons and created a SASS Mixin for better maintenance and to keep your SCSS lightweight. Enjoy

A Pen by Matt Litherland on CodePen.

License.

Debouncing

This example demonstrates how to add a 1sec debounce, so that suggestions are retrieved only after user stopped typing for 1sec.

A Pen by mike lange on CodePen.

License.

@mikewlange
mikewlange / pgist.sh
Created March 31, 2019 21:56 — forked from rubo77/create-gist.sh
Post GIST
#!/bin/bash
GITHUB_USERNAME=rubo77
if [ "$1" == "" ]; then
echo 'usage: gistfile-post.sh filename [gistname]'
exit 0
fi
# 0. file name for the Gist
<svg xmlns:xlink="http://www.w3.org/1999/xlink" width="26.5ex" height="11ex" style="vertical-align: -5ex; margin-bottom: 1px; margin-top: 1px;" viewBox="0 -2628.6 11407.7 4757.2" xmlns="http://www.w3.org/2000/svg" role="math" aria-labelledby="MathJax-SVG-1-Title MathJax-SVG-1-Desc">
<title id="MathJax-SVG-1-Title">Equation</title>
<desc id="MathJax-SVG-1-Desc">bold upper V 1 times bold upper V 2 equals Start 3 By 3 Determinant 1st Row 1st Column bold i 2nd Column bold j 3rd Column bold k 2nd Row 1st Column StartFraction normal partial-differential upper X Over normal partial-differential u EndFraction 2nd Column StartFraction normal partial-differential upper Y Over normal partial-differential u EndFraction 3rd Column 0 3rd Row 1st Column StartFraction normal partial-differential upper X Over normal partial-differential v EndFraction 2nd Column StartFraction normal partial-differential upper Y Over normal partial-differential v EndFraction 3rd Column 0 EndDeterminant</desc>
<defs aria-hidden="true">
<path str
@mikewlange
mikewlange / index.html
Created May 25, 2019 06:49
Natural language search styled select menus
<!--[if IE ]>
<div class="ie">
<![endif]-->
<!--[if !IE]>-->
<div>
<!--<![endif]-->
<div class="search-panel open">
<div class="left">
<div class="question">
<span class="text">I’m interested in conversations about</span>