- Python 3 Documentation and Tutorial: https://docs.python.org/3/tutorial/
- Python 3 Tutorial: http://python-course.eu/python3_course
- Beginners Guide to Python: https://wiki.python.org/moin/BeginnersGuide
- Audio / Video Instructional Materials for Python:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.video-responsive { | |
position: relative; | |
padding-bottom: 56.25%; /* 16:9 */ | |
height: 0; | |
iframe { | |
position: absolute; | |
top: 0; | |
left: 0; | |
width: 100%; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- SEARCH FOR EMPTY STRING | |
-- REGEX RECIPES: http://regexr.com/ | |
SELECT column_name | |
FROM table_name | |
WHERE ( | |
column_name | |
REGEXP '^$' | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Sources: | |
* http://reference.sitepoint.com/css | |
* http://developer.mozilla.org/en/CSS | |
* https://github.com/peteboere/css-crush/blob/master/misc/initial-values.ini */ | |
.default-values { | |
animation : none; | |
animation-delay : 0; | |
animation-direction : normal; | |
animation-duration : 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.select { | |
position: relative; | |
overflow: hidden; | |
width: 100%; | |
} | |
.select select { | |
width: 130%; | |
padding: .4em .8em; | |
border: none; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set architecture flags | |
export ARCHFLAGS="-arch x86_64" | |
# Ensure user-installed binaries take precedence | |
export PATH=/usr/local/bin:$PATH | |
export PATH="/usr/local/mysql/bin:$PATH" | |
export PATH="/usr/local/git/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:$PATH" | |
# Load .bashrc if it exists | |
test -f ~/.bashrc && source ~/.bashrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Some things taken from here | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# Set the colours you can use | |
black='\033[0;30m' | |
white='\033[0;37m' | |
red='\033[0;31m' | |
green='\033[0;32m' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$mysqli = @new mysqli('host', 'user', 'password', 'dabatase'); | |
if ($mysqli->connect_errno) { | |
die('Connect Error: ' . $mysqli->connect_errno); | |
} | |
echo "Connected successfully" | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html><title>Looping…</title><script>window.history.go(0);</script> |