This file contains hidden or 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
/** top 100% vs bottom 0 **/ | |
div { | |
position: relative; | |
display: inline-block; | |
height: 200px; | |
width: 200px; | |
background: rgba(0,0,0,.5); | |
margin: 5px 0; | |
} |
This file contains hidden or 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
/** top 100% vs bottom 0 **/ | |
div { | |
position: relative; | |
display: inline-block; | |
height: 200px; | |
width: 200px; | |
background: rgba(0,0,0,.5); | |
margin: 5px 0; | |
} |
This file contains hidden or 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
.header1{ | |
text-align: center; | |
border-bottom: 2px solid #009; | |
font-family:verdana; | |
margin: 0; | |
background-color: #ABC; | |
} | |
body, .PackagedDealsSub, .FlightSub, .AccommodationSub, .navbar { | |
margin:0; |
This file contains hidden or 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
.dates { | |
list-style: none; | |
margin: 0; | |
padding: 0; | |
} | |
.dates li { | |
position: relative; | |
padding-left: 5.75em; | |
} | |
.dates li + li { |
This file contains hidden or 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
h3 { | |
text-indent: 25px; | |
outline: 1px solid #f00; | |
} | |
div { | |
background: url(http://e.thumbs.redditmedia.com/6symwJZ1QOQXvB9R.png) no-repeat; | |
height: 50px; | |
} | |
div + div { |
This file contains hidden or 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
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
import praw | |
# PRAW ident | |
ua = '/u/someone for /r/somesub' | |
r = praw.Reddit(user_agent=ua) | |
# Fetch thread contents where submission_id is found at |
This file contains hidden or 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
import praw | |
username = 'someuser' | |
password = 'somepassword' | |
user_agent = '/u/someuser for /r/yoursub' | |
client_id = 'abc123' | |
client_secret = 'xyz789' | |
reddit = praw.Reddit(user_agent=user_agent, |
This file contains hidden or 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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
span { | |
background: #f00; | |
} | |
span[c] { background: green; } |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
i> 00001990 Successfully created OpenGL context: | |
i> 00001990 GL_VENDOR: NVIDIA Corporation | |
i> 00001990 GL_VERSION: 4.5.0 NVIDIA 358.50 | |
i> 00001990 GL_RENDERER: GeForce GTX 760/PCIe/SSE2 | |
i> 00001990 GL_SHADING_LANGUAGE_VERSION: 4.50 NVIDIA | |
i> 00000C04 XThread00000004 (1) Stack: 40010000-40030000 | |
i> 00000C04 XThread00000008 (2) Stack: 40040000-40060000 | |
K> 00000004 XThread::Execute thid 1 (handle=00000004, 'GL4 Worker', native=00000814, <host>) | |
K> 00000008 XThread::Execute thid 2 (handle=00000008, 'GL4 Vsync', native=00001A24, <host>) | |
i> 00000C04 XThread0000000C (3) Stack: 40070000-40090000 |
This file contains hidden or 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
"""Python subreddit utils.""" | |
import os | |
import sys | |
import argparse | |
import shutil | |
from configparser import ConfigParser | |
from time import sleep | |
from urllib.request import (Request, urlopen, urlretrieve) | |
from zipfile import ZipFile | |
import praw |
OlderNewer