Skip to content

Instantly share code, notes, and snippets.

Avatar

Zaman Bhuiyan shohagbhuiyan

View GitHub Profile
View README.md

Font Face

A mixin for writing @font-face rules in SASS.

Usage

Create a font face rule. Embedded OpenType, WOFF2, WOFF, TrueType, and SVG files are automatically sourced.

@include font-face(Samplino, fonts/Samplino);
View CSS3 Media Queries Template
/*
* Author: http://stuffandnonsense.co.uk/blog/about/hardboiled_css3_media_queries/
*/
/* Smartphones (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
/* Styles */
}
@shohagbhuiyan
shohagbhuiyan / australian-postcodes.csv
Last active Sep 6, 2019 — forked from randomecho/australian-postcodes.sql
Australian postcodes (with states and suburb names) geocoded with latitude and longitude. SQL, JSON, CSV format.
View australian-postcodes.csv
We can't make this file beautiful and searchable because it's too large.
Postcode, Suburb, State, Lat, Lan
200, Australian National University, ACT, -35.280, 149.120
221, Barton, ACT, -35.200, 149.100
800, Darwin, NT, -12.800, 130.960
801, Darwin, NT, -12.800, 130.960
804, Parap, NT, -12.430, 130.840
810, Alawa, NT, -12.380, 130.880
810, Brinkin, NT, -12.380, 130.880
810, Casuarina, NT, -12.380, 130.880
810, Coconut Grove, NT, -12.380, 130.880
@shohagbhuiyan
shohagbhuiyan / .gitignore
Created Dec 8, 2017 — forked from octocat/.gitignore
Some common .gitignore configurations
View .gitignore
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@shohagbhuiyan
shohagbhuiyan / svg.js
Last active Jul 27, 2017 — forked from Bloggerschmidt/svg.js
Replace all SVG images with inline SVG using jQuery
View svg.js
/*
* Replace all SVG images with inline SVG
*/
//if img has svg, change it!
jQuery('img').filter(function() {
return this.src.match(/.*\.svg$/);
}).each(function(){
var $img = jQuery(this);
var imgID = $img.attr('id');