Skip to content

Instantly share code, notes, and snippets.

View vSanjo's full-sized avatar
Focusing

David Woodward vSanjo

Focusing
  • Full Stack Web Developer
  • Perth, Australia
View GitHub Profile
/*
===============================================================
## UTILS
===============================================================
*/
@mixin cover($image) {
background: url($image) no-repeat center center;
-webkit-background-size: cover;
-moz-background-size: cover;
@narze
narze / .laptop.local
Created October 27, 2014 04:02
Laptop customization file
#!/bin/sh
brew install caskroom/cask/brew-cask
brew tap caskroom/versions
brew cask install airmail-beta
brew cask install alfred
brew cask install arduino
brew cask install atom
brew cask install audacity
@octocat
octocat / .gitignore
Created February 27, 2014 19:38
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@larrybotha
larrybotha / A.markdown
Last active February 7, 2024 15:20
Fix SVGs not scaling in IE9, IE10, and IE11

Fix SVG in <img> tags not scaling in IE9, IE10, IE11

IE9, IE10, and IE11 don't properly scale SVG files added with img tags when viewBox, width and height attributes are specified. View this codepen on the different browsers.

Image heights will not scale when the images are inside containers narrower than image widths. This can be resolved in 2 ways.

Use sed in bash to remove width and height attributes in SVG files

As per this answer on Stackoverflow, the issue can be resolved by removing just the width and height attributes.

@richardcornish
richardcornish / git.md
Last active August 11, 2023 08:44
Enough Git for your résumé in 100ish lines
@jed
jed / LICENSE.txt
Created May 20, 2011 13:27 — forked from 140bytes/LICENSE.txt
generate random UUIDs
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Jed Schmidt <http://jed.is>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE