Skip to content

Instantly share code, notes, and snippets.

@felixkosmalla
felixkosmalla / git-pull-all
Created May 16, 2022 08:50 — forked from grimzy/git-pull-all
Git pull all remote branches
#!/usr/bin/env bash
git branch -r | grep -v '\->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done
git fetch --all
git pull --all
@felixkosmalla
felixkosmalla / gist:1c143c6bc6bc22c817ea
Last active January 20, 2021 20:49
Bootstrap Screen Size Indicator. Use this to debug your responsive design.
<div class="size-indicator" style="position:absolute; z-index:100; top:10px; left:10px;">
<span class="label label-default visible-xs-inline">Extra Small (<768px)</span>
<span class="label label-primary visible-sm-inline">Small (≥768px)</span>
<span class="label label-success visible-md-inline">Medium (≥992px)</span>
<span class="label label-info visible-lg-inline">Large (≥1200px)</span>
</div>
@felixkosmalla
felixkosmalla / index.html
Created August 29, 2014 21:41
DIVs with CSS powered aspect ratio. Based on the following stackoverflow answer http://stackoverflow.com/a/12121309/1337100
<div class="wrapper">
<div class="content">
</div>
</div>