Skip to content

Instantly share code, notes, and snippets.

View nonylene's full-sized avatar
📶
On vacation

nonylene nonylene

📶
On vacation
View GitHub Profile
@rosylilly
rosylilly / gist:3401612
Created August 20, 2012 06:40
先輩と覚える HTTP ステータスコード

先輩に学ぶ HTTP Status Code

超雑にまとめました。修正してください。

登場人物

  • アプリケーション先輩: いつも忙しい。横に広がるのが得意(デブじゃない)。
  • 後輩: 頼んでばっかしで役に立たない。
  • サーバー先輩: アプリケーション先輩と仲がいい。Unix Socket でつながるくらい仲良し。
  • プロクシ先輩: アプリケーション先輩とかサーバー先輩と後輩の間を取り持って代わりに伝えたりしてくれる。たまに勝手にレスポンスを書き換える。
@niw
niw / Molokai.icls
Last active November 19, 2019 18:56
Molokai color scheme for IntelliJ IDEA. Put this file into ~/Library/Preferences/<Path to each IntelliJ Platforms>/colors.
<scheme name="Molokai" version="142" parent_scheme="Default">
<option name="LINE_SPACING" value="1.0" />
<option name="EDITOR_FONT_SIZE" value="14" />
<option name="EDITOR_FONT_NAME" value="Menlo" />
<colors>
<option name="ADDED_LINES_COLOR" value="a6e22e" />
<option name="ANNOTATIONS_COLOR" value="66d9ef" />
<option name="ANNOTATIONS_MERGED_COLOR" value="a6e22e" />
<option name="CARET_COLOR" value="f8f8f2" />
<option name="CARET_ROW_COLOR" value="232526" />
@nobuoka
nobuoka / java-for-android-app.markdown
Last active May 19, 2024 09:11
Android アプリ開発勉強会のために書いた Java の入門文書

Android アプリ開発のための Java 入門

MEMO

  • declaration は 「宣言」 と訳しているが、「定義」 の方が適しているような気がしなくもない。
  • 「インスタンス」 と 「オブジェクト」 という言葉を使うことがあるが、本文書中ではどちらも同じ意味で使用している。
  • String オブジェクト」 という表現は、「String クラスのインスタンス」 を意味している。 (Java に限らず一般的な表現だと思う。)

はじめに

@mala
mala / seccon2013.md
Last active September 29, 2016 02:32
SECCON2013 北陸大会の前日勉強会の資料 スライド形式のはこちら https://speakerdeck.com/mala/seccon2013-slide

スマートフォンのセキュリティについて

ma.la


自己紹介

http://ma.la

0000000: 545a 6966 3200 0000 0000 0000 0000 0000 TZif2...........
0000010: 0000 0000 0000 0003 0000 0003 0000 0000 ................
0000020: 0000 0009 0000 0003 0000 000c c3ce 8570 ...............p
0000030: d73e 1e90 d7ec 1680 d8f9 1690 d9cb f880 .>..............
0000040: db07 1d10 dbab da80 dce6 ff10 dd8b bc80 ................
0000050: 0201 0201 0201 0201 0200 007e 9000 0000 ...........~....
0000060: 008c a001 0400 007e 9000 0843 5554 0055 .......~...CUT.U
0000070: 4454 0055 5354 0000 0000 0000 0054 5a69 DT.UST.......TZi
0000080: 6632 0000 0000 0000 0000 0000 0000 0000 f2..............
0000090: 0000 0000 0500 0000 0500 0000 0000 0000 ................
@mikesorae
mikesorae / android.sh
Created September 19, 2014 10:00
ansible task for android sdk
export PATH="/opt/android-sdk-linux/tools:${PATH}"
@jasonlong
jasonlong / vimium-styling.md
Last active January 29, 2024 21:37
Nicer Vimium link hint styling. What's Vimium? See http://vimium.github.io. This awesome yellow is courtesy of @mrmrs colors: http://clrs.cc.

@bkurzius
bkurzius / CircularNetworkImageView
Last active September 21, 2020 16:18
Circular NetworkImageView for use with Volley. Creates a circular bitmap and uses whichever dimension is smaller to determine the radius. Also constrains the circle to the leftmost part of that image. Used in the same way as the Volley NetworkImageView, in both code and xml. Of course you'll need to include the Volley Library in you app too.
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.PorterDuffXfermode;
import android.graphics.Rect;
import android.graphics.RectF;
import android.graphics.Bitmap.Config;
import android.graphics.PorterDuff.Mode;
import android.graphics.drawable.BitmapDrawable;
@seanKenkeremath
seanKenkeremath / Android Lollipop Widget Tinting Guide
Last active November 17, 2023 12:40
How base colors in Lollipop apply to different UI elements
Unless specified otherwise, all of the below tinting applies to both Lollipop and pre-Lollipop using AppCompat v21. To use the support version of these attributes, remove the android namespace. For instance, "android:colorControlNormal" becomes "colorControlNormal". These attributes will be propagated to their corresponding attributes within the android namespace for devices running Lollipop. Any exceptions to this will be noted by including the "android:" prefix.
All Clickable Views:
-----------
* ripple effect (Lollipop only) -- "colorControlHighlight"
Status Bar:
------------
* background (Lollipop only) - "colorPrimaryDark"