Skip to content

Instantly share code, notes, and snippets.


Artem Russakovskii archon810

View GitHub Profile
archon810 / samsung_id
Created May 31, 2012 16:03
A real email we got - everyone, stop the presses!
View samsung_id
Hi Androidpolice,
I dont know if you want to post it on your blog, but honestly me and some other samsung android phone users in Indonesia are quite furious that Samsung Indonesia's official twitter account, @samsung_id repeatedly used non android devices (iphones, blackberry) to post twit/promotion about android.
What annoys us the most, that when we informed the account about issue, they simply deleted the twit without any apology, or even a simple explanation. And this happens not only one or two times, but quite often and the way the account handled these incidents only by deleting the twit as if nothing ever happened.
So, I would like for you to run this story on your blog, because apparently our voices to the company (PT. Samsung Indonesia) through their twitter account (@samsung_id) it seems that they never take us seriously.
Thank you.
View gist:2913587
spire:/tmp/hubot/bin # ./hubot
npm http GET
npm http 304
npm http GET
npm http 304
npm http GET
npm http GET
npm http 304
npm http 304
npm http GET
View gist:3172922
Server loaded out of process
Unspecified error
File listing failed for \ with error System.AggregateException: One or more errors occurred. ---> System.Net.Sockets.SocketException: The system detected an invalid pointer address in attempting to use a pointer argument in a call
Server stack trace:
at System.Net.Sockets.Socket.BeginConnectEx(EndPoint remoteEP, Boolean flowContext, AsyncCallback callback, Object state)
at System.Net.Sockets.Socket.BeginConnect(EndPoint remoteEP, AsyncCallback callback, Object state)
at AdbByClr.Communication.AdbSocket.BeginConnect(IPEndPoint address, AsyncCallback callback, Object state)
at AdbByClr.Communication.AdbChannel..(AsyncCallback , Object )
View gist:3196409
View gist:3200265
Index: embed-github-gist.php
--- embed-github-gist.php (revision 641938)
+++ embed-github-gist.php (working copy)
@@ -35,11 +35,13 @@
* Build a cache key
* @param int $id GitHub Gist ID
* @param string $bump Bump value to force cache expirey.
+ * @param int $height Height of the box
archon810 / gist:3223672
Created August 1, 2012 04:28
Android Market Developer Program Policies before 7/31/12
View gist:3223672
Android Market Developer Program Policies
The policies listed below play an important role in maintaining a positive experience for everyone using Android Market. Defined terms used here have the same meaning as in the Android Market Developer Distribution Agreement. Be sure to check back from time to time, as these policies may change.
Content Policies
Our content policies apply to any content your application displays or links to, including any ads it shows to users and any user-generated content it hosts or links to. In addition to complying with these policies, the content of your app must be rated in accordance with our Content Rating Guidelines.
Sexually Explicit Material: We don't allow content that contains nudity, graphic sex acts, or sexually explicit material. Google has a zero-tolerance policy against child pornography. If we become aware of content with child pornography, we will report it to the appropriate authorities and delete the Google Accounts of those involved with the distributio
View gist:3339020
Version: 3 (0x2)
Serial Number:
Signature Algorithm: sha1WithRSAEncryption
Issuer: C=TW, ST=Taiwan, L=Taoyuan City, O=HTC Corporation, OU=SSD, CN=HTC Cert/
Not Before: Sep 1 08:50:56 2008 GMT
Not After : Jan 18 08:50:56 2036 GMT
View gist:3339035
View billing_redeem_gift_card_frame.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"
<include layout="@layout/action_bar" />
<FrameLayout android:id="@id/content_frame" android:layout_width="fill_parent" android:layout_height="fill_parent" />
View redeem_gift_card.xml
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:background="@color/title_background" android:layout_width="fill_parent" android:layout_height="fill_parent"
<ScrollView android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:fillViewport="true">
<LinearLayout android:orientation="vertical" android:id="@id/content_frame" android:paddingTop="8.0dip" android:paddingBottom="8.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content">
<include layout="@layout/redeem_gift_card_main_content" />
<Button android:id="@id/redeem_gift_card_button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:minWidth="160.0dip" android:text="@string/redeem_gift_card" style="@style/DetailsPage_MainBuyButton" />
<Button android:id="@id/continue_button" android:visibility="gone" android:layout_width="wrap_content" andr