Skip to content

Instantly share code, notes, and snippets.

View ryanpager's full-sized avatar
Turning coffee into code...

Ryan Page ryanpager

Turning coffee into code...
View GitHub Profile
@ryanpager
ryanpager / .hyper.js
Created December 13, 2016 01:08
Hyper Config
module.exports = {
config: {
// add in the overlay plugin settings
overlay: {
alwaysOnTop: true,
animate: false,
hasShadow: false,
hideDock: true,
hideOnBlur: false,
hotkeys: ['Cmd+`'],
@ryanpager
ryanpager / cordova-socket-notification-example.coffee
Created August 13, 2015 14:46
Cordova Socket Notifications Example
###
Setup
###
# ...in the app.config
SocketProvider.setLocation url
# ... in the app.boostrap
Socket.connect()
@ryanpager
ryanpager / application-session-management-with-oauth.md
Last active July 26, 2020 22:54
Application Session Management With OAuth -- Ionic & AngularJS

Application Session Management With OAuth

Fun with AngularJS & Ionic

I don't know about other developers -- but one of the most frustrating things in my mind to get going when starting a new hybrid application is session/authorization management. Do you use OAuth 1, OAuth 2, generic email login, facebook...even thinking about it stresses me out. Unfortunately, no good hybrid (or mobile for that matter) application can escape the need for good authorization (unless it is a stateless app, like a calculator, or something easy).

Personally -- I have come to love the OAuth 2 standard for its simplicity, and standards of operation. It takes some of the stress out of the decision making process when coming up with how to manage application state flow -- something which is especially necessary in [most] mobile (or native) applications. This article is going to focus on one of those pain points -- hybrid mobile app state management, and how to solve it with regards to the marriage of AngularJS & Ion

@ryanpager
ryanpager / practical-application-branding-angular.md
Last active August 22, 2016 03:55
Practical Application Branding 101 -- AngularJS & ngMaterial Magic

Practical Application Branding 101

Fun with AngularJS & ngMaterial [ Ionic Optional ]

Branding is one of the more important aspects of business to business application development. In specific, nothing is more powerful then walking into a business meeting with a client whom you are trying to sell you application to; then showing them a completely redesigned application -- specifically the way they would want it to look (their assets, logos, color pallete, etc). Whether its a mobile app (iOS, Android, whatever), or desktop application -- personalizing an application can make the difference between landing a deal versus having the client walk out the door. It makes it "their" experience rather than your own.

While branding isn't necessarily used and/or useful for every application -- I believe a great deal of applications can benefit from basic branding. After all, "branding" is just another way of saying "personalization"...and who doesn't like to personalize an application to their tastes.