Skip to content

Instantly share code, notes, and snippets.

HanWool Lee fregmented

Block or report user

Report or block fregmented

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 -.-
/usr/bin/python /Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/dev_appserver.py --host 0.0.0.0 .
INFO 2015-04-06 15:17:37,262 sdk_update_checker.py:229] Checking for updates to the SDK.
INFO 2015-04-06 15:17:37,563 sdk_update_checker.py:257] The SDK is up to date.
INFO 2015-04-06 15:17:37,706 api_server.py:172] Starting API server at: http://localhost:57443
INFO 2015-04-06 15:17:37,709 dispatcher.py:186] Starting module "default" running at: http://0.0.0.0:8080
INFO 2015-04-06 15:17:37,710 admin_server.py:118] Starting admin server at: http://localhost:8000
{'client_id': 'HGlten1t_vx4x6EhtSvO', 'callback': 'http://shiro.eth9.net:8080/login/naver/callback', 'client_secret': 'oqaSyP0b0_'}
HGlten1t_vx4x6EhtSvO
oqaSyP0b0_
http://shiro.eth9.net:8080/login/naver/callback
View 실제 업로드
function upload(url, formdata, status){
console.log("upload");
console.log(url);
console.log(formdata);
var extraData ={}; //Extra Data.
var jqXHR=$.ajax({
xhr: function() {
var xhrobj = $.ajaxSettings.xhr();
if (xhrobj.upload) {
View 여러 인풋
console.log("Droped!");
var files = e.originalEvent.dataTransfer.files;
console.log(files)
//We need to send dropped files to Server
//handleFileUpload(files,obj);
var urls = [];
for(var i = 0; i<files.length; i++){
var fd = new FormData();
fd.append('musics', files[i]);
$.ajax({
View login
@module.route('/naver/callback')
def naverCallback():
result = naver.getAuth(request.args)
print('result', type(result), result)
if(type(result) is dict):
print('tokeType', result.get('token_type'))
print('access_toke', result.get('access_token'))
userUnique = naver.getUserInfo(result.get('token_type'), result.get('access_token')).get('data').get('response')
print('userUniq', userUnique)
user = isNaverLogined(userUnique.get('enc_id'))
View yobi warn sup
[warn] /home/seyriz/yobiNext/activator-1.2.12-minimal/yobi/app/views/search/partial_search.scala.html:39: match may not be exhaustive.
[warn] It would fail on the following input: AUTO
[warn] search_type match {
[warn] ^
[warn] /home/seyriz/yobiNext/activator-1.2.12-minimal/yobi/app/views/search/partial_search.scala.html:53: match may not be exhaustive.
[warn] It would fail on the following input: AUTO
[warn] search_type match {
[warn] ^
model contains 536 documentable templates
[info] Main Scala API documentation successful.
You can’t perform that action at this time.