Skip to content

Instantly share code, notes, and snippets.

View jypweb's full-sized avatar

Trevor Taylor jypweb

View GitHub Profile
@TheAlexPorter
TheAlexPorter / ionic-tips.md
Last active April 19, 2018 16:17
Ionic 2/3 Tips

Ionic Quirks

Fix Stray Pixel under ion-header:

Remove the content prop from the the element.

Ion Header:

The Ion Header component can cause some irregular behavior. It's often better to delete it and use a regular <header> tag. Put it inside of the <ion-content> component at the top.

@cdeskins
cdeskins / Deploy_rails_with_puma_and_apache.md
Last active January 28, 2025 21:31
Deploy Rails App with puma

Add puma to you Gemfile:

gem "puma"

Install Puma Gem

change to project directory
bundle install
@SleepWalker
SleepWalker / swipe.js
Created September 30, 2015 04:59
A simple swipe detection on vanilla js
var touchstartX = 0;
var touchstartY = 0;
var touchendX = 0;
var touchendY = 0;
var gesuredZone = document.getElementById('gesuredZone');
gesuredZone.addEventListener('touchstart', function(event) {
touchstartX = event.screenX;
touchstartY = event.screenY;
@kevin-smets
kevin-smets / iterm2-solarized.md
Last active March 30, 2026 03:50
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k

@dmglab
dmglab / git_bible.md
Last active March 9, 2024 02:59
how to git

Note: this is a summary of different git workflows putting together to a small git bible. references are in between the text


How to Branch

try to keep your hacking out of the master and create feature branches. the [feature-branch workflow][4] is a good median between noobs (i have no idea how to branch) and git veterans (let's do some rocket sience with git branches!). everybody get the idea!

Basic usage examples