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
if isinstance(cleaned_data, list): | |
cleaned_data = [self.process_cleaned_data(form_data) for form_data in cleaned_data] | |
else: | |
cleaned_data = self.process_cleaned_data(cleaned_data) |
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 os | |
import lxml.html | |
import urllib | |
import BeautifulSoup | |
from pprint import pprint | |
from wordpress_xmlrpc import Client, WordPressPage | |
from wordpress_xmlrpc.methods.posts import GetPosts, NewPost | |
from wordpress_xmlrpc.methods.users import GetUserInfo |
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
<?php | |
function my_opengraph_image_size() { | |
return 'large'; | |
} | |
add_filter( 'wpseo_opengraph_image_size', 'my_opengraph_image_size', 10, 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
videos.each(function () { | |
var video = $(this).get(0); | |
video.addEventListener('loadedmetadata', function () { | |
console.log(video.duration); | |
}); | |
}); | |
skrollr.init({ | |
render: function(data) { |
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
from threading import Thread | |
import requests ## pip install requests | |
import time | |
import smtplib | |
## email sending function | |
def email_sender(input_message, email_to, client): | |
''' function to send email ''' | |
to = email_to | |
gmail_user = '' ## email of sender account |
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
initComposer = function() { | |
if (window.XMLHttpRequest) { | |
httpRequest = new XMLHttpRequest(); | |
} else if (window.ActiveXObject) { | |
try { | |
httpRequest = new ActiveXObject("Msxml2.XMLHTTP"); | |
} | |
catch (e) { | |
try { | |
httpRequest = new activeXObject("Microsoft.XMLHTTP"); |
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
- Even when logged in, the homepage shows the signup form. This would be much more useful if it showed the current issue. | |
- On the current issue on mobile, there is 3 full screens of navigation cruft before you get to the first post. | |
- Fix broken layouts on mobile. | |
- Ability to attach pictures or other media to posts. | |
- Ability to reply to a post. | |
- Ability to see replies to a post. | |
- Fewer posts about cats ;) |
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
Today.page_turn_forward = function () { | |
var y = 322, | |
i = 0, | |
frame_count = 27, | |
frame = $('.anim-frame'), | |
interval; | |
frame.show() | |
// Start position |
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
Category | Type | Name | Address | City | Zip Code | Phone Number | URL | |
---|---|---|---|---|---|---|---|---|
General | Bank | Chase Bank | 36132 Hidden Springs Rd | Wildomar | 92595 | (951) 678-9231 | https://www.chase.com/ | |
Public Services | Fire Station | Station 61 | 32637 Gruwell St. | Wildomar | 92595 | 951-246-2337 | http://cityofwildomar.org | |
Entertainment | Museum | Temecula Valley Museum | 28314 Mercedes St | Temecula | 92592 | (951) 694-6450 | http://temeculavalleymuseum.com/ |