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
{ | |
// Define o tema do VSCode | |
"workbench.colorTheme": "Shades of Purple", | |
// Configura tamanho e família da fonte | |
"editor.fontSize": 18, | |
"editor.lineHeight": 24, | |
"editor.fontFamily": "Fira Code", | |
"editor.fontLigatures": true, | |
"explorer.compactFolders": false, |
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 e289a7f5e1acf9557e7bc25c6f2642619c310849 Mon Sep 17 00:00:00 2001 | |
From: Pawit Pornkitprasan <p.pawit@gmail.com> | |
Date: Fri, 12 Apr 2013 11:40:15 +0700 | |
Subject: [PATCH] libnetutils: add ifc_set_mtu | |
Change-Id: I3031e9ee38583648350f2c46baa7a9a714b9ea1e | |
--- | |
libnetutils/ifc_utils.c | 16 ++++++++++++++++ | |
1 files changed, 16 insertions(+), 0 deletions(-) |
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 1ad8b5f5d66937b50e38782170b00ef61404633e Mon Sep 17 00:00:00 2001 | |
From: Pawit Pornkitprasan <p.pawit@gmail.com> | |
Date: Wed, 11 Dec 2013 20:47:31 +0700 | |
Subject: [PATCH] chromium: disable HW rendering for capri | |
Change-Id: I16b2c14eb15a3efe4d84d603c132434a5f97530a | |
--- | |
android_webview/browser/in_process_view_renderer.cc | 5 +++++ | |
1 file changed, 5 insertions(+) |
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 6e415ac727a1e323ca430d82e2fb792390c05500 Mon Sep 17 00:00:00 2001 | |
From: Pawit Pornkitprasan <p.pawit@gmail.com> | |
Date: Tue, 17 Dec 2013 13:15:52 +0700 | |
Subject: [PATCH 1/2] OMXCodec: set default input buffer size | |
Broadcom OMX only set the buffer size to 65536 by default which | |
is not enough for higher bitrate video | |
Change-Id: I74372f3d821e41feb38b9bc0cca4ef56aa019493 | |
--- |
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 b8f9e36338d1b7812b9e6a43ca69ec3483aecda2 Mon Sep 17 00:00:00 2001 | |
From: Pawit Pornkitprasan <p.pawit@gmail.com> | |
Date: Tue, 10 Dec 2013 19:38:17 +0700 | |
Subject: [PATCH 1/4] binder: add compat symbols | |
Required for libtvservice_binder.so on I9082 | |
Change-Id: I059e92f19e4c5a911d38faa9c4df549c75c90761 | |
--- | |
libs/binder/Parcel.cpp | 12 ++++++++++++ |
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 9ea34a45b82771a564ba9549752d152fbd529acf Mon Sep 17 00:00:00 2001 | |
From: Pawit Pornkitprasan <p.pawit@gmail.com> | |
Date: Tue, 10 Dec 2013 20:09:12 +0700 | |
Subject: [PATCH] libbt: switch to N_BRCM_HCI line disclipline for userial | |
ioctl | |
Change-Id: I12c297c6b26fc0cb6f0a36ed8f5d04d4d36a4092 | |
--- | |
src/userial_vendor.c | 11 +++++++++++ | |
1 file changed, 11 insertions(+) |
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
#@gwidion code | |
print"".join(u"\x1b[%dm%c%s"%((42+y%2^y>>3&1),((1,3,2,-1,0,2,3,1)+(4,)*8+32*(-9781,)+8*(10,)+(7,9,8,5,6,8,9,7))[y]+9813,(y+1)%8and" "or" \x1b[48m\n")for y in range(64)) |
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
# | |
# API DEPRECATED AT JUNE 2013 | |
# https://dev.twitter.com/docs/faq#17750 | |
# | |
import urllib, json | |
def busca_tweets(texto='python'): | |
url = 'http://search.twitter.com/search.json?q=' + texto | |
resp = urllib.urlopen(url).read() | |
data = json.loads(resp) |
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
# | |
# API DEPRECATED AT JUNE 2013 | |
# https://dev.twitter.com/docs/faq#17750 | |
# | |
import urllib, json | |
def trend_topics(): | |
url = 'https://api.twitter.com/1/trends/1.json' | |
resp = urllib.urlopen(url).read() |
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 urllib | |
import json | |
url = 'https://graph.facebook.com/19292868552' | |
resp = urllib.urlopen(url).read() | |
data = json.loads(resp) | |
url_logo = data['cover']['source'] | |
imagem = urllib.urlopen(url_logo).read() |
NewerOlder