Skip to content

Instantly share code, notes, and snippets.

WoongBi Kim ssinss

Block or report user

Report or block ssinss

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:144c0bb2e4319cb7d0924b89bd837e4b
백엔드 Restful API 개발자 0명
1. 현재 팀에서 사용하는 기술 및 툴
- Typescript
- node.js + express
- Amazon Web Service (EC2, RDS, S3)
- Mysql / sequelize
- Github / Slack
2. 하게 될 일
- 현재 개발되어 있는 API 서버 유지보수 및 새 기능 구현
View keybase.md

Keybase proof

I hereby claim:

  • I am ssinss on github.
  • I am ssinss (https://keybase.io/ssinss) on keybase.
  • I have a public key whose fingerprint is EA7B 24EF D143 1C84 170B 1263 2F06 F1E5 FA4A B545

To claim this, I am signing this object:

@ssinss
ssinss / gist:fb6d292ce52815b4220c
Created Jan 20, 2015
get extended facebook access token
View gist:fb6d292ce52815b4220c
import facebook
SHORT_ACCESS_TOKEN = "SHORT_ACCESS_TOKEN"
APP_ID = "APP_ID"
APP_SECRET = "APP_SECRET"
graph = facebook.GraphAPI(SHORT_ACCESS_TOKEN)
extended_access_token = graph.extend_access_token(APP_ID, APP_SECRET)
print extended_access_token
@ssinss
ssinss / EndlessRecyclerOnScrollListener.java
Last active Sep 20, 2019
Endless RecyclerView OnScrollListener
View EndlessRecyclerOnScrollListener.java
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
public abstract class EndlessRecyclerOnScrollListener extends RecyclerView.OnScrollListener {
public static String TAG = EndlessRecyclerOnScrollListener.class.getSimpleName();
private int previousTotal = 0; // The total number of items in the dataset after the last load
private boolean loading = true; // True if we are still waiting for the last set of data to load.
private int visibleThreshold = 5; // The minimum amount of items to have below your current scroll position before loading more.
int firstVisibleItem, visibleItemCount, totalItemCount;
@ssinss
ssinss / ci_sql_eval.php
Last active Dec 16, 2015
code igniter 에서 sql 문 escape 없이 쓰기
View ci_sql_eval.php
$data = array('name' => $name, 'count' => $count);
$this->db->set('updated_at', 'NOW()', false);
$this->db->insert('mytable');
@ssinss
ssinss / asynctask.java
Last active Dec 16, 2015
loopj async http 오버라이딩폼
View asynctask.java
AsyncHttpClient client = new AsyncHttpClient();
client.get("http://www.google.com", new JsonHttpResponseHandler() {
@Override
public void onStart() {
// Initiated the request
}
@Override
public void onSuccess(JSONObject o) {
// 또는 JSONArray a
@ssinss
ssinss / php_mb_strlen.php
Created Apr 15, 2013
utf-8 일 경우에 글자수 체크
View php_mb_strlen.php
if (mb_strlen($name, 'UTF-8') < 3){
return true;
}
View gist:5308222
<?php die();
/**
* Add you custom models here that you are loading in your controllers
*
* <code>
* $this->site_model->get_records()
* </code>
* Where site_model is the model Class
*
You can’t perform that action at this time.