Skip to content

Instantly share code, notes, and snippets.

View SergioEstevao's full-sized avatar

Sérgio Estêvão SergioEstevao

View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:cc="http://web.resource.org/cc/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:media="http://search.yahoo.com/mrss/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:podcast="https://podcastindex.org/namespace/1.0" xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<channel>
<atom:link href="https://tothebatpoles.libsyn.com/rss" rel="self" type="application/rss+xml"/>
<title>To The Batpoles! Batman 1966</title>
<pubDate>Thu, 01 Feb 2024 13:00:00 +0000</pubDate>
<lastBuildDate>Sat, 10 Feb 2024 23:38:44 +0000</lastBuildDate>
<generator>Libsyn WebEngine 2.0</generator>
<link>http://tothebatpoles.libsyn.com/podcast</link>
<language>en</language>
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:cc="http://web.resource.org/cc/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:media="http://search.yahoo.com/mrss/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:podcast="https://podcastindex.org/namespace/1.0" xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<channel>
<atom:link href="https://tothebatpoles.libsyn.com/rss" rel="self" type="application/rss+xml"/>
<title>To The Batpoles! Batman 1966</title>
<pubDate>Thu, 01 Feb 2024 13:00:00 +0000</pubDate>
<lastBuildDate>Sat, 10 Feb 2024 23:38:44 +0000</lastBuildDate>
<generator>Libsyn WebEngine 2.0</generator>
<link>http://tothebatpoles.libsyn.com/podcast</link>
<language>en</language>
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:cc="http://web.resource.org/cc/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:media="http://search.yahoo.com/mrss/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:podcast="https://podcastindex.org/namespace/1.0" xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<channel>
<atom:link href="https://tothebatpoles.libsyn.com/rss" rel="self" type="application/rss+xml"/>
<title>To The Batpoles! Batman 1966</title>
<pubDate>Thu, 01 Feb 2024 13:00:00 +0000</pubDate>
<lastBuildDate>Sat, 10 Feb 2024 23:38:44 +0000</lastBuildDate>
<generator>Libsyn WebEngine 2.0</generator>
<link>http://tothebatpoles.libsyn.com/podcast</link>
<language>en</language>
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:cc="http://web.resource.org/cc/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:media="http://search.yahoo.com/mrss/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:podcast="https://podcastindex.org/namespace/1.0" xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<channel>
<atom:link href="https://tothebatpoles.libsyn.com/rss" rel="self" type="application/rss+xml"/>
<title>To The Batpoles! Batman 1966</title>
<pubDate>Thu, 01 Feb 2024 13:00:00 +0000</pubDate>
<lastBuildDate>Sat, 10 Feb 2024 23:38:44 +0000</lastBuildDate>
<generator>Libsyn WebEngine 2.0</generator>
<link>http://tothebatpoles.libsyn.com/podcast</link>
<language>en</language>
<!-- wp:video {"guid":"GRlnOHUa","id":3870,"src":"https://sergioestevaosales.files.wordpress.com/2019/05/ams-boat-low.mp4"} -->
<figure class="wp-block-video wp-block-embed is-type-video is-provider-videopress"><div class="wp-block-embed__wrapper">
https://videopress.com/v/GRlnOHUa
</div></figure>
<!-- /wp:video -->
@SergioEstevao
SergioEstevao / loadJSONClassic.swift
Created April 23, 2016 00:02
Load JSON with no lib
do {
guard let url = NSBundle.mainBundle().URLForResource("sample", withExtension: "json"),
let JSONData = NSData(contentsOfURL: url),
let json = try NSJSONSerialization.JSONObjectWithData(JSONData, options: NSJSONReadingOptions()) as? Array<AnyObject> else
{
print("Sample.json not found")
return
}
for item in json {
import XCTest
import cloudup
class JSONObjectTest: XCTestCase {
override func setUp() {
super.setUp()
// Put setup code here. This method is called before the invocation of each test method in the class.
}
import Foundation
/// Class for handling errors related to the parent class.
///
public enum JSONValidationErrors: ErrorType, CustomDebugStringConvertible, CustomStringConvertible {
case ExpectedDictionary
case ExpectedArray
case MissingKey(String)
case MissingIndex(Int)
case ConversionFailed(String)
@SergioEstevao
SergioEstevao / JSONObject.swift
Created January 15, 2016 12:53
A simpe JSONObject in swift to wrap around objective c return objects.
import Foundation
/// Class for handling errors related to the parent class.
///
enum JSONValidationErrors: ErrorType, CustomDebugStringConvertible, CustomStringConvertible {
case ExpectedDictionary
case ExpectedArray
case MissingKey(String)
case MissingIndex(Int)
@SergioEstevao
SergioEstevao / .clang-format
Created March 18, 2015 10:26
clang-format configuration for WordPress coding guidelines for iOS
---
Language: Cpp
# BasedOnStyle: WebKit
AccessModifierOffset: -4
ConstructorInitializerIndentWidth: 4
AlignEscapedNewlinesLeft: false
AlignTrailingComments: false
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false