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
private void createDialog(){ | |
progressDialog = new ProgressDialog(this); | |
//progressDialog.vis | |
progressDialog.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL); | |
progressDialog.setCancelable(false); | |
progressDialog.setMessage(getString(R.string.pager_wait_record)); | |
progressDialog.show(); | |
} |
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
java.lang.NullPointerException: Attempt to invoke virtual method 'int android.view.View.getImportantForAccessibility()' on a null object reference | |
at android.widget.AbsListView.obtainView(AbsListView.java:2363) | |
at android.widget.ListView.makeAndAddView(ListView.java:1864) | |
at android.widget.ListView.fillDown(ListView.java:698) | |
at android.widget.ListView.fillFromTop(ListView.java:759) | |
at android.widget.ListView.layoutChildren(ListView.java:1673) | |
at android.widget.AbsListView.onLayout(AbsListView.java:2151) | |
at android.view.View.layout(View.java:15689) | |
at android.view.ViewGroup.layout(ViewGroup.java:5040) | |
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1703) |
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
{'to': REGISTRATION_ID, | |
'message_id': random_id(), | |
'notification': { | |
'body' : 'El body de la notificacion', | |
'title' : 'El titulo de la notificacion', | |
'icon' : 'myicon'}, | |
'data': {'action':'sync', | |
'object': {'formId':'101', | |
'recordId':'45gfteu4', | |
'user':{ 'id': '453', |
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
{ | |
"meta": { | |
"limit": 1000, | |
"next": null, | |
"offset": 0, | |
"previous": null, | |
"total_count": 1 | |
}, | |
"objects": [ | |
{ |
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
#!/usr/bin/python | |
#Autor | |
#Sandra Cecilia Urbina Coronado | |
#---------------------------------------------------------- | |
import pygame | |
from pygame.locals import * | |
import random, math, sys | |
import time | |
import random | |
import numpy |
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
#!/usr/bin/python | |
import math | |
import sys | |
import filtros | |
import random | |
from math import sqrt, atan2, pi, atan | |
from collections import defaultdict | |
from PIL import ImageDraw | |
import Image | |
import glob |
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
import random | |
import bpy#blender libreria | |
from math import pi | |
bpy.ops.object.delete() | |
add_cube = bpy.ops.mesh.primitive_cube_add | |
mylayers = [False]*20 | |
mylayers[0] = True | |
obj = bpy.data.objects['Camera'] | |
obj.location.x = 0.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
#!/usr/bin/python | |
import math | |
from pylab import * | |
from matplotlib.patches import Ellipse | |
def localizacion(a,b,c): | |
"""se localiza el dispositivo por medio de las | |
fuerzas de las senales captadas y de la ubicacion de | |
las antenas |
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
for i in contornos: | |
dic = defaultdict(list) | |
for punto in i: | |
x,y,angulo= gradiente_sobel(punto, imagen) | |
dic[angulo].append((x,y)) | |
listas.append(dic) | |
for i in listas: | |
print "*************************************" | |
for j in i: | |
r = int(random.random()*250) |
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
#!/usr/bin/python | |
from Tkinter import * | |
from PIL import Image, ImageTk | |
import math | |
import sys | |
import filtros | |
import random | |
import ImageFont, ImageDraw | |
import Image | |
from math import sqrt, atan2, pi, atan |
NewerOlder