Skip to content

Instantly share code, notes, and snippets.

View kazmiali's full-sized avatar
:electron:
Focusing

Muhammad Ali Kazmi kazmiali

:electron:
Focusing
View GitHub Profile
@aheckmann
aheckmann / storeImgInMongoWithMongoose.js
Created April 17, 2012 19:14
store/display an image in mongodb using mongoose/express
/**
* Module dependencies
*/
var express = require('express');
var fs = require('fs');
var mongoose = require('mongoose');
var Schema = mongoose.Schema;
// img path
@primaryobjects
primaryobjects / css-comparison.csv
Last active June 26, 2024 17:18
A comparison of CSS library sizes.
Name Version Size (uncompressed) Size (minified) Size (gzipped) URL
Bootstrap v3.3.7 143 KB 117 KB 20 KB http://getbootstrap.com/css/
Bootstrap v4.0.0 187 KB 147 KB 20 KB https://v4-alpha.getbootstrap.com/
Materialize v3.0 114 KB 90 KB 18 KB http://materializecss.com/
Material Design Lite v1.3.0 350 KB 137 KB 21 KB https://getmdl.io/
mini.css v2.1 47 KB 36 KB 7 KB https://chalarangelo.github.io/mini.css/
Semantic UI v2.2.6 730 KB 550 KB 95 KB https://semantic-ui.com/
Foundation v3.0 90 KB 64 KB 12 KB http://foundation.zurb.com/
Pure CSS v0.6.2 80 KB 17 KB 3.8 KB https://purecss.io/
Picnic CSS v6.3.2 55 KB 38 KB 7 KB https://picnicss.com
@davidwalter0
davidwalter0 / stash-pop-recover
Created August 10, 2017 17:42
Undoing accidental git stash pop
# https://stackoverflow.com/questions/6543519/undoing-accidental-git-stash-pop
# https://stackoverflow.com/questions/89332/how-to-recover-a-dropped-stash-in-git
accepted
If you have only just popped it and the terminal is still open, you will still have the hash value printed by git stash pop on screen (thanks, Dolda).
Otherwise, you can find it using this for Linux and Unix:
git fsck --no-reflog | awk '/dangling commit/ {print $3}'
and for Windows:
@taleymirza
taleymirza / ReactKHI_03.md
Last active June 8, 2019 22:37
Resources of ReactKHI Meetup # 03

ReactKHI Meetup # 03 - Resources

Feedback Form

Thank you for participating in our event. We hope you had as much fun attending as we did organizing it. We want to hear your honest feedback so we can keep improving ourselves. Please fill this quick survey and let us know your thoughts (your answers will be confidential).
It will take only two minutes to fill our feedback form

Talk Resources

Here are the slides, codes and videos of the talk from each of our awesome speakers