Skip to content

Instantly share code, notes, and snippets.

View jensfranke's full-sized avatar
💛

Jens Franke jensfranke

💛
View GitHub Profile
@bastianallgeier
bastianallgeier / inuit-widths.css
Created February 11, 2014 15:08
I always forget the available widths selectors for the inuit grid
/**
* Whole
*/
.one-whole
/**
* Halves
*/
.one-half
@xles
xles / davis-amd.js
Created August 21, 2013 12:22
AMD wrapped Davis.js https://github.com/olivernn/davis.js/ Will try to make UMD work shortly...
/*!
* Davis - http://davisjs.com - JavaScript Routing - 0.9.9
* Copyright (C) 2011 Oliver Nightingale
* MIT Licensed
*
* Convinience method for instantiating a new Davis app and configuring it to use the passed
* routes and subscriptions.
*
* @param {Function} config A function that will be run with a newly created Davis.App as its context,
* should be used to set up app routes, subscriptions and settings etc.
@daniellevass
daniellevass / 0_hierarchical_apps.md
Last active August 19, 2017 23:40
Hierarchical Apple Watch Apps

#Hierarchical Apple Watch Apps

##Introduction

Now we've got our project set up we can start to write some code! Today we're going to take a look at creating a heirarchical Apple Watch App using tables and segues.

###1. Storyboard

Firstly, we're going to start by removing whatever we had on our app interface. We then want to drag out a Table from the UI object items - this should automtically create you a "row" and a "group". The row is like a UITableCell in a UITableVIew, however the group will hold all the UI items for us. Next, we want to drag out a Label on to our table - I positioned mine to go horizontally and vertically central.

@ivi-admin
ivi-admin / Kirby CMS nginx config for Laravel Forge
Last active May 13, 2018 19:00
Adds the removal of the trailing slash, Kirby config lines and panel redirection. Don't change the SSL certificate lines from what is auto-generated by Forge!
# FORGE CONFIG (DOT NOT REMOVE!)
include forge-conf/www.domain.com/before/*;
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name www.domain.com;
root /home/forge/www.domain.com/;
# FORGE SSL (DO NOT REMOVE!)
@mbecher
mbecher / figure.php
Last active August 1, 2019 11:33
getkirby tags/figure.php with srcset and thumbnail creation
<?php
kirbytext::$tags['figure'] = array(
'attr' => array(
'width',
'height',
'alt',
'text',
'title',
'class',
@KatieMFritz
KatieMFritz / craft3-ax.md
Last active November 15, 2019 14:13
Craft 3 plugins for author experience

Craft 3 plugins for better author experience

Annotated Notes: For admin notes with automatic timestamps.

Control Panel Body Classes: Add body classes to various Control Panel screens for easier styling (in combination with Control Panel CSS).

Control Panel CSS: To make style tweaks to the control panel. See web/cp.css for styles.

Control Panel Nav: Custom navigation menus for each user type, for easier navigation.

@bastianallgeier
bastianallgeier / kirby2.md
Last active August 17, 2020 08:57
An overview of changes and new features for Kirby 2 – Toolkit, CMS and Panel (work in progress)

I've moved this doc to:

@BenMorel
BenMorel / viewport-units-ios.scss
Last active March 11, 2022 13:15
SCSS mixin to support vh and vw units on all iOS Safari versions. Based on an idea by Patrick Burtchaell's: https://gist.github.com/pburtchaell/e702f441ba9b3f76f587
/**
* Fix for vw, vh, vmin, vmax on iOS 7.
* http://caniuse.com/#feat=viewport-units
*
* This fix works by replacing viewport units with px values on known screen sizes.
*
* iPhone 6 and 6 Plus cannot run iOS 7, so are not targeted by this fix.
* Target devices running iOS 8+ will incidentally execute the media query,
* but this will still produce the expected result; so this is not a problem.
@MengTo
MengTo / gist:11280811
Created April 25, 2014 07:34
Gitignore for Xcode/Cocoapods
# Created by http://www.gitignore.io
### Xcode ###
build
*.xcodeproj/*
!*.xcodeproj/project.pbxproj
!*.xcworkspace/contents.xcworkspacedata
### Objective-C ###
@stursby
stursby / README.md
Last active May 13, 2022 07:41
Vue + Firebase + Auth Demo

Vue + Firebase + Auth Demo

A simple App using Vue.js & Firebase with Auth.

See the DEMO.