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/env python3 | |
| """ | |
| Export COMPLETE message history from Tlon channels with pagination. | |
| This script works on both hosted and local ships. | |
| """ | |
| import argparse | |
| import requests | |
| from datetime import datetime |
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 colorsys | |
| import re | |
| def hex_to_rgb(hex_color): | |
| """Convert hex color to RGB values (0-1 range)""" | |
| hex_color = hex_color.lstrip('#') | |
| rgb = tuple(int(hex_color[i:i+2], 16) for i in (0, 2, 4)) | |
| return tuple(x/255 for x in rgb) | |
| def rgb_to_hsl(rgb): |
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
| #!/bin/bash | |
| source=$1 | |
| dest=${source::-4}_wp.jpg | |
| colors=($(convert $source +dither -colors 2 -define histogram:unique-colors=true -format "%c" histogram:info: | awk '//{print $3}')) | |
| convert $source \ | |
| -gravity center \ | |
| -resize 1280x1280 \ | |
| -bordercolor ${colors[1]} \ |
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
| Post | |
| author posts new standard -> New & Default | |
| author posts new special -> New & Enhanced | |
| Standard | |
| New & Default | |
| user revisits home page -> Default | |
| Default* | |
| Special | |
| New & Enhanced | |
| user revisits home page -> Enhanced |
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
| Application | |
| Logged Out | |
| log in -> Logged In | |
| Logged In | |
| log out -> Logged Out | |
| Presentation& | |
| Title | |
| Untitled* |
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
| Name | Address | City | State | ZIP | |
|---|---|---|---|---|---|
| 76 | 8615 W Flamingo Rd | Las Vegas | NV | 89147 | |
| 76 | 3670 Paradise Rd | Las Vegas | NV | 89109 | |
| 76 | 4708 W Charleston Blvd | Las Vegas | NV | 89102 | |
| 76 | 9111 S Las Vegas Blvd | Las Vegas | NV | 89123 | |
| 76 | 7690 S Durango Dr | Las Vegas | NV | 89113 | |
| 76 | 4120 W Desert Inn Rd | Las Vegas | NV | 89102 | |
| 76 | 1571 N Buffalo Dr | Las Vegas | NV | 89128 | |
| 76 | 804 E Flamingo Rd | Las Vegas | NV | 89119 | |
| 76 | 5660 Boulder Hwy | Las Vegas | NV | 89122 |
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
| # Block Twitter | |
| 0.0.0.0 twitter.com | |
| # Block Facebook IPv4 | |
| 127.0.0.1 www.facebook.com | |
| 127.0.0.1 facebook.com | |
| 127.0.0.1 login.facebook.com | |
| 127.0.0.1 www.login.facebook.com | |
| 127.0.0.1 fbcdn.net | |
| 127.0.0.1 www.fbcdn.net |
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
| {"meta":{"status":200,"msg":"OK"},"response":{"blog":{"title":"T A T I V I L L E","name":"facteur","posts":20,"url":"http:\/\/taticycles.com\/","updated":1428118700,"description":"","is_nsfw":false,"ask":false,"ask_page_title":"Ask me anything","ask_anon":false,"share_likes":false},"posts":[{"blog_name":"facteur","id":113722580794,"post_url":"http:\/\/taticycles.com\/post\/113722580794\/1-fits","slug":"1-fits","type":"text","date":"2015-03-15 20:56:26 GMT","timestamp":1426452986,"state":"published","format":"html","reblog_key":"g7a2KBt1","tags":["Serotta","Fits","Blackstone","Velosmith"],"short_url":"http:\/\/tmblr.co\/ZmWRCl1fwPDyw","summary":"$1 Fits","recommended_source":null,"recommended_color":null,"highlighted":[],"note_count":7,"title":"$1 Fits","body":"\u003Cp\u003EWe now live in the age of the $400 fit session. Let that sink in.\u003C\/p\u003E\u003Cp\u003EThere is a lot to cover, and a lot to talk about, when it comes to the business and science of properly fitted bicycles. But there are plenty of pl |
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
| <script> | |
| /* Pulls images with alt text out of paragraphs, puts them into <figure> elements with <figcaption>s */ | |
| var imgs = document.querySelectorAll('article p img'); | |
| [].forEach.call(imgs, function(e){ | |
| var d = document.createElement('figure'); | |
| d.innerHTML = '<img src="' + e.src + '" alt="' + e.alt + '"><figcaption>' + e.alt + '</figcaption>'; | |
| e.parentNode.insertBefore(d, e); | |
| e.parentNode.removeChild(e); | |
| }); | |
| </script> |
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
Show hidden characters
| { | |
| "auto_complete": true, | |
| "auto_complete_delay": 50, | |
| "auto_complete_selector": "source - comment", | |
| "auto_complete_size_limit": 4194304, | |
| "auto_complete_with_fields": true, | |
| "bh_toggle_enable": true, | |
| "binary_file_patterns": | |
| [ | |
| "*.jpg", |
NewerOlder