Skip to content

Instantly share code, notes, and snippets.

View radekwilczak's full-sized avatar

Radek radekwilczak

View GitHub Profile
@ispern
ispern / gist:5675447
Last active December 17, 2015 21:29
show FPS - Sencha Touch 2.2
Ext.Viewport.add([
{
id : 'currentFPS',
xtype : 'component',
bottom: 0,
right : 0,
width : 50,
height: 50,
style : 'background-color: red; color: white;'
},
@kharrison
kharrison / RSSFeed.swift
Last active September 1, 2021 01:59
Swift Decodable With Multiple Custom Dates
import Foundation
extension DateFormatter {
static let iso8601Full: DateFormatter = {
let formatter = DateFormatter()
formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ"
formatter.calendar = Calendar(identifier: .iso8601)
formatter.timeZone = TimeZone(secondsFromGMT: 0)
formatter.locale = Locale(identifier: "en_US_POSIX")
return formatter