Skip to content

Instantly share code, notes, and snippets.

View comiclandapp's full-sized avatar
💭
Resurrecting and Liquid Glass-ifying ComicLand

Antonio Montes comiclandapp

💭
Resurrecting and Liquid Glass-ifying ComicLand
View GitHub Profile
@comiclandapp
comiclandapp / CoreDataController.h
Created April 9, 2018 00:55 — forked from kharrison/CoreDataController.h
Objective-C wrapper for NSPersistentContainer - Easy Core Data setup with iOS 10
//
// CoreDataController.h
//
// Created by Keith Harrison http://useyourloaf.com
// Copyright (c) 2016 Keith Harrison. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright
@comiclandapp
comiclandapp / CoreDataController.swift
Created April 7, 2018 13:52 — forked from kharrison/CoreDataController.swift
Swift wrapper for NSPersistentContainer - Easy Core Data Setup with iOS 10
//
// CoreDataController.swift
//
// Created by Keith Harrison http://useyourloaf.com
// Copyright (c) 2017 Keith Harrison. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright
@comiclandapp
comiclandapp / remove_stop_words.py
Created April 18, 2017 21:08 — forked from glenbot/remove_stop_words.py
Test various ways of removing stop words in python.
"""
Demonstration of ways to implement this API:
sanitize(user_input, stop_words)
Related discussions:
- Modifying a list while looping over it:
- http://stackoverflow.com/questions/1207406/remove-items-from-a-list-while-iterating-in-python
- Remove all occurences of a value in a list:
- http://stackoverflow.com/questions/1157106/remove-all-occurences-of-a-value-from-a-python-list