본문 바로가기

전체 글

(1186)
linux sync time utc linux sync time utc $sudo date --set "5 Aug 2015 12:54"
작업관리자 응용프로그램 목록 열거 #define WIN32_LEAN_AND_MEAN#include #include BOOL CALLBACK EnumWindowsProc(HWND hwnd, LPARAM lParam){TCHAR windowName[MAX_PATH] = {0,};TCHAR className[MAX_PATH] = {0,}; if(!GetWindowText(hwnd, windowName, sizeof(windowName)) && GetLastError() != ERROR_SUCCESS)return FALSE; if(!GetClassName(hwnd, className, sizeof(className)) && GetLastError() != ERROR_SUCCESS)return FALSE; DWORD exStyle = GetWin..
django ajax post data and view.py ajax (javascirpt) var SendInfo= [];var data = { date:$("#datetimepicker").val(), time:$("#time").val(), people:$("#people").val()}SendInfo.push(data); $.ajax({ url: YOUR_URL, dataType: "json", data: JSON.stringify(SendInfo), type: 'POST', success: function(data){ console.log(data.data) }}); view.py data = json.loads(request.body)print data[0]["date"]print data[0]["time"]print data[0]["people"]
인터스텔라가 최고라고? 난 반댈세! 그냥 CG좋은 영화 하나 본. 시간이 아까운 영화.(차라리 코스모스를 다시 보는게 더 좋은듯)스토리? 사랑으로 시간을 뛰어넘어???????????ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ예고편만 봐도 어떤 스토리로 이어질지 대충 예상했는데 영화에서 나온 몇가지 새로운 단서를 더하면 정말 정말 뻔한 스토리를 예상가능(물론 무슨 반전있는 스릴러 물이 아니기 때문에 이건 그냥 넘어가도 상관없을뜻) 저놈저놈 죽겠구나 생각하면 몇분후에 죽어나고~ 예상치 못한건 로봇의 유머와 마지막까지 의리(로봇에게 의리?) 정도 겠다.근데 이런 가족영화가 피한번 안튀기는데 18세로 관람되는건 무슨 기준인지 이해가 안간다. 정말정말정말 감독판이 따로 있길 빈다.(영화사에서 마지막 엔딩이 맘에 안들어서 이렇게 ..
uwsgi logger disable option Add uwsgi.ini or uwsgi setting file option disable-logging = true It's worked!
JetBrains edit font size control JetBrains edit is do not have font size control in that menu. so YOU use keymap font size and that contorl font size. 1 . menu->preferences->keymap 2. search font and Editor Actions->Decrease Font Size / Increase Font Size setting(double click) Add Keyboard Shortcut. 3. and YOU setting key it worked!
How do I kill all screens? $pkill -15 screen or $killall -15 screen
django.db.utils.IntegrityError: Can't DROP 'XXXX'; check that column/key exists if you see the to error that 'django.db.utils.IntegrityError: Can't DROP 'XXXX'; check that column/key exists' you must migrate that colum to remove.and one more migrate that colum to insert than have migrate option to '--fake'$ python ./manage.py migrate YOUR_APP --fake than table is worked to normal behavior.