Skip to content

Instantly share code, notes, and snippets.

View bbookman's full-sized avatar

Bruce Bookman bbookman

View GitHub Profile
@bbookman
bbookman / findThree.py
Created December 26, 2018 21:41
Python List Comprehension: Find all of the numbers from 1-1000 that have a 3 in them
'''
Find all of the numbers from 1-1000 that have a 3 in them
'''
three = [n for n in range(0,1000) if '3' in str(n)]
print(three)
@bbookman
bbookman / div7
Created December 26, 2018 21:39
Python List Comprehension: Find all of the numbers from 1-1000 that are divisible by 7
'''
Find all of the numbers from 1-1000 that are divisible by 7
'''
div7 = [n for n in range(1,1000) if n % 7 == 0]
print(div7)
@bbookman
bbookman / Info.plist
Last active September 5, 2018 17:52
Snapchat Snap Kit Properties List Requirements
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>