Skip to content

Instantly share code, notes, and snippets.

View KoMinkyu's full-sized avatar
🐢
working

KoMinkyu KoMinkyu

🐢
working
View GitHub Profile
@KoMinkyu
KoMinkyu / SimplePullToRefreshTwoWayView.java
Last active August 28, 2015 04:57
TwoWayView PullToRefresh simple implementation
package com.handmark.pulltorefresh.library;
import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import org.lucasr.twowayview.widget.TwoWayView;
public class SimplePullToRefreshTwoWayView extends PullToRefreshBase<TwoWayView> {
public SimplePullToRefreshTwoWayView(Context context) {
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#333333"
android:orientation="vertical"
tools:context=".LoadingActivity">
<TextView
@KoMinkyu
KoMinkyu / 경하누나 2월 6일자 숙제
Last active August 29, 2015 13:56
아이디 비밀번호 입력창이 없어서 만들었음
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/ee"
tools:context=".MainActivity$PlaceholderFragment">
<EditText
android:layout_width="200dp"
android:layout_height="43dp"
android:layout_marginTop="350dp"
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center_horizontal"
android:orientation="vertical"
tools:context=".MainActivity"
android:layout_margin="10dp"
android:background="#FFFFFF" >
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/screen2"
tools:context=".MainActivity$PlaceholderFragment">
<EditText
android:layout_width="290dp"
android:layout_height="43dp"
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="#ff22965c">
<ImageView
android:layout_height="150dp"
android:layout_width="120dp"
android:layout_marginTop="100dp"
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/bg"
android:gravity="center_horizontal"
android:orientation="vertical" >
<EditText
android:id="@+id/editText1"
@KoMinkyu
KoMinkyu / User.py
Last active August 29, 2015 13:57
User.py and UserTest.py
#coding:utf8
__author__ = 'yd'
import datetime
from sqlalchemy import or_, Table, ForeignKey
from sqlalchemy import Sequence
from sqlalchemy.orm import relationship
from sqlalchemy import Column, Integer, String, Boolean, DateTime
from database import Base, session
@KoMinkyu
KoMinkyu / AboutPopup
Last active August 29, 2015 14:13
최다은 2015년 1월 16일 첫 번째 숙제
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="#aa000000"
android:padding="50dp"
tools:context=".MainActivity">
<ImageView
@KoMinkyu
KoMinkyu / Interface.gs
Last active December 29, 2015 08:53
이화앱센터 새 이름 공모전 Google sheet apps script
var PASSPHRASE = "";
function onRegisterNewNameIdeaClicked() {
var sheet = SpreadsheetApp.getActiveSheet();
var newName = getNewNameIdeaFromInputBox();
if (newName == null || newName == "") {
alertInputCorrectNameIdea();
return;
}