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 bpy | |
# 1. Purge unused data (materials, textures, meshes) | |
bpy.ops.outliner.orphans_purge(do_local_ids=True, do_linked_ids=True, do_recursive=True) | |
# 2. Apply Decimate Modifier to all selected objects with high-polygon meshes | |
def apply_decimate(threshold=10, ratio=0.0001): | |
# Loop through all mesh objects in the scene | |
for obj in bpy.data.objects: | |
if obj.type == 'MESH': |
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
package com.greenrobot.speedometer | |
import android.Manifest | |
import android.annotation.SuppressLint | |
import android.os.Bundle | |
import android.support.v7.app.AppCompatActivity | |
import com.google.android.gms.location.LocationCallback | |
import com.google.android.gms.location.LocationRequest | |
import com.google.android.gms.location.LocationResult | |
import com.google.android.gms.location.LocationServices |
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
Verifying that +andytriboletti is my blockchain ID. https://onename.com/andytriboletti |
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
2011-04-03 13:16:20:000000 -> Query: | |
SELECT c20110403,c20110402,c20110401,c20110331,c20110330 | |
FROM pz_impressions | |
WHERE id='22' | |
AND aid='1' | |
ErrNo:1054 Message:Unknown column 'c20110403' in 'field list' | |
2011-04-03 13:16:31:000000 -> Query: | |
SELECT c20110403,c20110402,c20110401,c20110331,c20110330 | |
FROM pz_impressions | |
WHERE id='22' |
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
{"result":{"status":"success","responsedata":{"campaigns":{"campaign":[{"id":8854,"title":"Fantapper","description":"Fantapper is a free web download that adds interactive apps to online images & test of celebrities. The Fantapper apps give people access to celebrity YouTube videos, Twitter & Facebook feeds, news and more.Demographics:We have found that the top age range of people downloading is 18-45. And, our highest conversion rates from promotions targeting to celebrity and avid sport fans, as you would expect given the product. ","launched":"2010-11-15","epc":0,"verticals":{"vertical":["Downloads","Mobile"]},"currency":"USD","allowedpromotions":{"allowedpromotion":["Web","Paid Search","Downloadable Software","Social Network"]},"incentivized":"false","exitpopup":"false","zipsubmit":"false","emailsubmit":"false","exclusive":"false","redirectlink":"http://qdmil.com/click/?s=8039&o=8854&c=0&subid=","allowedcountries":{"allowedcountry":["US"]},"creativedownloadurl":"http://api.neverblue |
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 oauth2 as oauth | |
import imaplib | |
consumer = oauth.Consumer("your_consumer_key", "your_consumer_secret") | |
token = oauth.Token("the_users_oauth_key_from_3_legged_auth", | |
"the_users_oauth_key_from_3_legged_auth") | |
class GmailClient(imaplib.IMAP4_SSL): |