Skip to content

Instantly share code, notes, and snippets.

@fkrauthan
fkrauthan / TLSSocketFactory.java
Last active January 7, 2023 04:09
Custom SSLSocketFactory Implementation to enable tls 1.1 and tls 1.2 for android 4.1 (16+)
package net.cogindo.ssl;
import java.io.IOException;
import java.net.InetAddress;
import java.net.Socket;
import java.net.UnknownHostException;
import java.security.KeyManagementException;
import java.security.NoSuchAlgorithmException;
import javax.net.ssl.SSLContext;
@ikaruce
ikaruce / Svn2Git.md
Created February 3, 2015 08:06
SVN์—์„œ Git์œผ๋กœ ์ „ํ™˜ํ•˜๊ธฐ(๋ธŒ๋žœ์น˜์™€ ํƒœ๊ทธ ๋ณด์ „ํ•˜๋ฉด์„œ)

SVN์—์„œ Git์œผ๋กœ ์ „ํ™˜ํ•˜๊ธฐ

(์›๋ฌธ http://www.sailmaker.co.uk/blog/2013/05/05/migrating-from-svn-to-git-preserving-branches-and-tags-3/ )

๋ธŒ๋žœ์น˜์™€ ํƒœ๊ทธ ๋ณด์ „ํ•˜๋ฉด์„œ

git svn ์„ ์‚ฌ์šฉํ•ด์„œ SVN์—์„œ ๋ธŒ๋žœ์น˜์™€ ํƒœ๊ทธ๋ฅผ ๋ณด์กดํ•˜๋ฉด์„œ Git์œผ๋กœ ์ „ํ™˜ํ•˜๋Š” ๊ฒƒ์„ ์„ค๋ช…ํ•œ๋‹ค.

๋กœ์ปฌ ์Šคํ…Œ์ด์ง• ๋ฆฌํŒŒ์ง€ํ† ๋ฆฌ๋กœ import

๋กœ์ปฌ ์Šคํ…Œ์ด์ง• ํด๋” ์ƒ์„ฑ
$ mkdir staging
@chrisbanes
chrisbanes / FloatLabelLayout.java
Last active September 4, 2024 05:58
FloatLabelLayout
/*
* Copyright 2014 Chris Banes
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software