매년 하는 것도 귀찮네..
우비도 좀 2~3년 결제 하는거 있으면 좋겠다..

'개소리 왈왈 > 블로그' 카테고리의 다른 글
| 카테고리 500개가 많을줄 알았는데... (2) | 2019.08.24 |
|---|---|
| 항상 그렇지만 피곤하고 지치고 (0) | 2019.08.02 |
| 저작권 협상(?) 메일 (3) | 2019.03.25 |
| Copy of: 온라인 명예훼손 출석통지서 - 피싱메일 (4) | 2019.03.08 |
| 간만에 해피빈 기부 (0) | 2019.03.08 |
매년 하는 것도 귀찮네..
우비도 좀 2~3년 결제 하는거 있으면 좋겠다..

| 카테고리 500개가 많을줄 알았는데... (2) | 2019.08.24 |
|---|---|
| 항상 그렇지만 피곤하고 지치고 (0) | 2019.08.02 |
| 저작권 협상(?) 메일 (3) | 2019.03.25 |
| Copy of: 온라인 명예훼손 출석통지서 - 피싱메일 (4) | 2019.03.08 |
| 간만에 해피빈 기부 (0) | 2019.03.08 |
UI 상에서 기본값이 변경되지 않는 버그(?)가 있는지
수동으로 설정 파일을 바꾸어 주어야 한다.
기본값은 0 인데 2로 바꾸면 획 삭제로 설정된다.
|
$ vim ~/.xournal/config 120 # default eraser mode (standard = 0, whiteout = 1, strokes = 2) |
[링크 : http://xournal.sourceforge.net/manual.html]
+
2020.01.08
귀찮으니 전체 내용 백업
| $ cat config # Xournal configuration file. # This file is generated automatically upon saving preferences. # Use caution when editing this file manually. # [general] # the display resolution, in pixels per inch display_dpi=96.00 # the initial zoom level, in percent initial_zoom=100.00 # maximize the window at startup (true/false) window_maximize=false # start in full screen mode (true/false) window_fullscreen=false # the window width in pixels (when not maximized) window_width=1000 # the window height in pixels window_height=700 # scrollbar step increment (in pixels) scrollbar_speed=30 # the step increment in the zoom dialog box zoom_dialog_increment=1 # the multiplicative factor for zoom in/out zoom_step_factor=1.500 # continuous view (false = one page, true = continuous, horiz = horizontal) view_continuous=true # use XInput extensions (true/false) use_xinput=true # discard Core Pointer events in XInput mode (true/false) discard_corepointer=false # ignore events from other devices while drawing (true/false) ignore_other_devices=true # do not worry if device reports button isn't pressed while drawing (true/false) ignore_btn_reported_up=true # always map eraser tip to eraser (true/false) use_erasertip=true # always map touchscreen device to hand tool (true/false) (requires separate pen and touch devices) touchscreen_as_hand_tool=false # disable touchscreen device when pen is in proximity (true/false) (requires separate pen and touch devices) pen_disables_touch=false # name of touchscreen device for touchscreen_as_hand_tool touchscreen_device_name=Touchscr # buttons 2 and 3 switch mappings instead of drawing (useful for some tablets) (true/false) buttons_switch_mappings=false # automatically load filename.pdf.xoj instead of filename.pdf (true/false) autoload_pdf_xoj=false # enable periodic autosaves (true/false) autosave_enabled=false # delay for periodic autosaves (in seconds) autosave_delay=5 # default path for open/save (leave blank for current directory) default_path= # use pressure sensitivity to control pen stroke width (true/false) pressure_sensitivity=true # minimum width multiplier width_minimum_multiplier=0.00 # maximum width multiplier width_maximum_multiplier=1.25 # interface components from top to bottom # valid values: drawarea menu main_toolbar pen_toolbar statusbar interface_order=menu main_toolbar pen_toolbar drawarea statusbar # interface components in fullscreen mode, from top to bottom interface_fullscreen=main_toolbar pen_toolbar drawarea # interface has left-handed scrollbar (true/false) interface_lefthanded=false # hide some unwanted menu or toolbar items (true/false) shorten_menus=false # interface items to hide (customize at your own risk!) # see source file xo-interface.c for a list of item names shorten_menu_items=optionsProgressiveBG optionsLeftHanded optionsButtonSwitchMapping # highlighter opacity (0 to 1, default 0.5) # warning: opacity level is not saved in xoj files! highlighter_opacity=0.50 # auto-save preferences on exit (true/false) autosave_prefs=true # force PDF rendering through cairo (slower but nicer) (true/false) poppler_force_cairo=false # prefer xournal's own PDF code for exporting PDFs (true/false) exportpdf_prefer_legacy=false [paper] # the default page width, in points (1/72 in) width=612.00 # the default page height, in points (1/72 in) height=792.00 # the default paper color color=white # the default paper style (plain, lined, ruled, or graph) style=lined # apply paper style changes to all pages (true/false) apply_all=false # preferred unit (cm, in, px, pt) default_unit=cm # include paper ruling when printing or exporting to PDF (true/false) print_ruling=true # when creating a new page, duplicate a PDF or image background instead of using default paper (true/false) new_page_duplicates_bg=false # just-in-time update of page backgrounds (true/false) progressive_bg=false # bitmap resolution of PS/PDF backgrounds rendered using ghostscript (dpi) gs_bitmap_dpi=144 # bitmap resolution of PDF backgrounds when printing with libgnomeprint (dpi) pdftoppm_printing_dpi=150 [tools] # selected tool at startup (pen, eraser, highlighter, selectregion, selectrect, vertspace, hand, image) startup_tool=pen # Use the pencil from cursor theme instead of a color dot (true/false) pen_cursor=false # default pen color pen_color=black # default pen thickness (fine = 1, medium = 2, thick = 3) pen_thickness=0 # default pen is in ruler mode (true/false) pen_ruler=false # default pen is in shape recognizer mode (true/false) pen_recognizer=false # default eraser thickness (fine = 1, medium = 2, thick = 3) eraser_thickness=2 # default eraser mode (standard = 0, whiteout = 1, strokes = 2) eraser_mode=2 # default highlighter color highlighter_color=yellow # default highlighter thickness (fine = 1, medium = 2, thick = 3) highlighter_thickness=2 # default highlighter is in ruler mode (true/false) highlighter_ruler=false # default highlighter is in shape recognizer mode (true/false) highlighter_recognizer=false # button 2 tool (pen, eraser, highlighter, text, selectregion, selectrect, vertspace, hand, image) btn2_tool=eraser # button 2 brush linked to primary brush (true/false) (overrides all other settings) btn2_linked=true # button 2 brush color (for pen or highlighter only) btn2_color=white # button 2 brush thickness (pen, eraser, or highlighter only) btn2_thickness=2 # button 2 ruler mode (true/false) (for pen or highlighter only) btn2_ruler=false # button 2 shape recognizer mode (true/false) (pen or highlighter only) btn2_recognizer=false # button 2 eraser mode (eraser only) btn2_erasermode=2 # button 3 tool (pen, eraser, highlighter, text, selectregion, selectrect, vertspace, hand, image) btn3_tool=selectregion # button 3 brush linked to primary brush (true/false) (overrides all other settings) btn3_linked=true # button 3 brush color (for pen or highlighter only) btn3_color=white # button 3 brush thickness (pen, eraser, or highlighter only) btn3_thickness=0 # button 3 ruler mode (true/false) (for pen or highlighter only) btn3_ruler=false # button 3 shape recognizer mode (true/false) (pen or highlighter only) btn3_recognizer=false # button 3 eraser mode (eraser only) btn3_erasermode=2 # thickness of the various pens (in points, 1 pt = 1/72 in) pen_thicknesses=0.42;0.85;1.41;2.26;5.67 # thickness of the various erasers (in points, 1 pt = 1/72 in) eraser_thicknesses=2.83;8.50;19.84 # thickness of the various highlighters (in points, 1 pt = 1/72 in) highlighter_thicknesses=2.83;8.50;19.84 # name of the default font default_font=Sans # default font size default_font_size=12.0 minimonk@mini2760p:~/.xournal$ |
| xournal++ 는 반드시 PPA로 설치하자? (0) | 2020.10.22 |
|---|---|
| xournal++ (0) | 2020.09.16 |
판매자에게 쪽지는 보내놨는데 언제 연락오려나..
청축이 시끄럽다니까 집이나 회사에서 쓰긴 힘들꺼고
그냥 기계식 이라는 느낌만 받은 다음
딸래미 키보드 누르는 느낌을 즐기라고 줘버릴 가능성이 농후 ㅋㅋ
| 망할 서버 지름신.. (2) | 2019.06.05 |
|---|---|
| 키보드 도착 (6) | 2019.06.04 |
| 먼가 갑작스런 현자타임 (4) | 2019.06.02 |
| 혹시나 그래픽 카드를 달려고 했는데 (0) | 2019.05.26 |
| CPU 가 문제인가.. (0) | 2019.05.25 |
서버 매물 보면서
3.5인치 8베이는 적어 보이고 12베이 정도는 되어야지 하면서도
cpu 사양을 보면 전기를 쳐먹쳐먹 할 것 같은데
그렇게 많은 하드를 채우려면 그것 역시 돈이고
소음에 전기세를 고려하면 결국에 난 대용량 스토리지를 갖추지 못할 운명인가 싶기도 하다.
RAID 카드 하나에 18W 먹는다는데
라즈베리가 2W 정도 겨우 먹었던거 같은데(idle시에)
심장에 떨려서 서버 기반의 NAS는 절대 무리일 듯..
4베이도 20W 이상 먹는데 가능한 날이 오려나? ㅠㅠ
(회사 차려서 회사 전기로 돌리면 모를까...)
| 키보드 도착 (6) | 2019.06.04 |
|---|---|
| 고민하다 일단 기계식 키보드 (청축) 하나 지름 (6) | 2019.06.03 |
| 혹시나 그래픽 카드를 달려고 했는데 (0) | 2019.05.26 |
| CPU 가 문제인가.. (0) | 2019.05.25 |
| 다이소 5천원 모니터 받침대 (10) | 2019.05.14 |
답답해서 뜯어보는중 ㅋㅋ
왜 이런 생각을 안했었지?
근데 본다고 이해할수 있는건 또 별개의 문제네 ㅋㅋㅋ
|
#define __glPi 3.14159265358979323846
void GLAPIENTRY gluPerspective(GLdouble fovy, GLdouble aspect, GLdouble zNear, GLdouble zFar) { GLdouble m[4][4]; double sine, cotangent, deltaZ; double radians = fovy / 2 * __glPi / 180;
deltaZ = zFar - zNear; sine = sin(radians); if ((deltaZ == 0) || (sine == 0) || (aspect == 0)) { return; } cotangent = COS(radians) / sine;
__gluMakeIdentityd(&m[0][0]); m[0][0] = cotangent / aspect; m[1][1] = cotangent; m[2][2] = -(zFar + zNear) / deltaZ; m[2][3] = -1; m[3][2] = -2 * zNear * zFar / deltaZ; m[3][3] = 0; glMultMatrixd(&m[0][0]); } |
|
void GLAPIENTRY gluLookAt(GLdouble eyex, GLdouble eyey, GLdouble eyez, GLdouble centerx, GLdouble centery, GLdouble centerz, GLdouble upx, GLdouble upy, GLdouble upz) { float forward[3], side[3], up[3]; GLfloat m[4][4];
forward[0] = centerx - eyex; forward[1] = centery - eyey; forward[2] = centerz - eyez;
up[0] = upx; up[1] = upy; up[2] = upz;
normalize(forward);
/* Side = forward x up */ cross(forward, up, side); normalize(side);
/* Recompute up as: up = side x forward */ cross(side, forward, up);
__gluMakeIdentityf(&m[0][0]); m[0][0] = side[0]; m[1][0] = side[1]; m[2][0] = side[2];
m[0][1] = up[0]; m[1][1] = up[1]; m[2][1] = up[2];
m[0][2] = -forward[0]; m[1][2] = -forward[1]; m[2][2] = -forward[2];
glMultMatrixf(&m[0][0]); glTranslated(-eyex, -eyey, -eyez); } |
| glEnable(), glPushAttrib() (0) | 2020.04.04 |
|---|---|
| openGL superbible 3rd ed. 읽기 시작 (0) | 2020.04.03 |
| gl glx glu glut 소스코드 (0) | 2019.05.31 |
| glulookat / gluperspective / glfrustrum / glortho (0) | 2019.05.30 |
| gl model view projection mat (0) | 2019.05.29 |
일단은 소스도 분석을 좀 해봐야지 이해가 잘되려나?
[링크 : https://www.mesa3d.org/download.html]
[링크 : https://mesa.freedesktop.org/archive/] gl glx
[링크 : http://ftp://ftp.freedesktop.org/pub/mesa/glu/] glu
[링크 : http://ftp://ftp.freedesktop.org/pub/mesa/glut/] glut
| openGL superbible 3rd ed. 읽기 시작 (0) | 2020.04.03 |
|---|---|
| gluPerspective / gluLookat 소스코드 (0) | 2019.06.01 |
| glulookat / gluperspective / glfrustrum / glortho (0) | 2019.05.30 |
| gl model view projection mat (0) | 2019.05.29 |
| gluPerspective() (0) | 2019.05.28 |
솔찍히 잘 모르겠네
location 안에 넣으라는데 안되는거 같기도 하고..
| try_files $uri $uri/ /index.html; |
[링크 : https://wkdtjsgur100.github.io/react-router-deploy/]
+
이상한 짓이 되는 느낌인데
react나 angular.js 에서 링크로 되는 부분을 아래처럼 reverse proxy를 통해 돌려주면 되긴 한다.
좀 깔끔하게.. 여러가지 경로에 대해서 보내는 법을 찾아야 할 듯 한데.. 어떻게 해야 하려나?
| proxy_pass http://127.0.0.1:4200/index.html?link; |
+
변수가 있는데 영 안되네.. 후...
[링크 : http://nginx.org/en/docs/http/ngx_http_core_module.html]
[링크 : https://ohgyun.com/622]
+
2019.10.11
$args 로 하위 url을 넘겨 줄수 있는 것으로 보임
| nginx - 413 Request Entity Too Large (0) | 2024.06.13 |
|---|---|
| nginx 리버스 프록시 와 ckeidtor upload 413 에러 (0) | 2019.04.03 |
| nginx 502 bad gateway와 audit (0) | 2019.03.20 |
| nginx rever proxy with virtual host(+ subdomain) (0) | 2019.03.07 |
| nginx load balance (0) | 2019.03.05 |
다른 유틸리티를 같은 레벨로 봤군...
gluLookAt과 gluPerspective는 카메라를 조작하는 방법인데
glu로 시작하듯 gl Utility 계열이고
gl로 시작하는 glFrustum 과 glOrtho는
프로젝션 뷰를 perspective와 orthogonal로 설정하도록 한다.
| Name gluLookAt — define a viewing transformation C Specification void gluLookAt( GLdouble eyeX, GLdouble eyeY, GLdouble eyeZ, GLdouble centerX, GLdouble centerY, GLdouble centerZ, GLdouble upX, GLdouble upY, GLdouble upZ); |
[링크 : https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/gluLookAt.xml]
| Name gluPerspective — set up a perspective projection matrix C Specification void gluPerspective( GLdouble fovy, GLdouble aspect, GLdouble zNear, GLdouble zFar); |
[링크 : https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/gluPerspective.xml]
| Name glFrustum — multiply the current matrix by a perspective matrix C Specification void glFrustum( GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble nearVal, GLdouble farVal); |
[링크 : h]ttps://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glFrustum.xml]
| Name glOrtho — multiply the current matrix with an orthographic matrix C Specification void glOrtho( GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble nearVal, GLdouble farVal); |
[링크 : https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glOrtho.xml]
| gluPerspective / gluLookat 소스코드 (0) | 2019.06.01 |
|---|---|
| gl glx glu glut 소스코드 (0) | 2019.05.31 |
| gl model view projection mat (0) | 2019.05.29 |
| gluPerspective() (0) | 2019.05.28 |
| glfw3 in ubuntu 19.04 (0) | 2019.05.10 |
[링크 : https://www.raspberrypi.org/forums/viewtopic.php?t=181792]
| $ hciconfig -a hci0: Type: Primary Bus: USB BD Address: 40:2C:F4:DB:D9:97 ACL MTU: 1021:8 SCO MTU: 64:1 UP RUNNING PSCAN ISCAN RX bytes:697 acl:0 sco:0 events:55 errors:0 TX bytes:5299 acl:0 sco:0 commands:53 errors:0 Features: 0xff 0xff 0x8f 0xfe 0x9b 0xff 0x79 0x83 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: RSWITCH HOLD SNIFF PARK Link mode: SLAVE ACCEPT Name: 'mini2760' Class: 0x1c010c Service Classes: Rendering, Capturing, Object Transfer Device Class: Computer, Laptop HCI Version: 2.1 (0x4) Revision: 0x132 LMP Version: 2.1 (0x4) Subversion: 0x4203 Manufacturer: Broadcom Corporation (15) |
[링크 : https://www.instructables.com/id/Turn-the-Raspberry-Pi-into-a-Bluetooth-Device/] <<
[: https://www.instructables.com/id/Install-Bluetooth-in-Linux-System/]
[링크 : https://raspberrypi.stackexchange.com/questions/47708/setup-raspberry-pi-3-as-bluetooth-speaker]
+
Setting Up Bluetooth Serial Port Profile on Raspberry Pi using sdptool
[링크 : https://scribles.net/setting-up-bluetooth-serial-port-profile-on-raspberry-pi/]
app
[링크 : https://play.google.com/store/apps/details?id=de.kai_morich.serial_bluetooth_terminal&hl=en_US]
| sd formatter 바뀌었네? (0) | 2019.07.23 |
|---|---|
| 라즈베리 파이 2 lakka 설정 (1) | 2019.07.23 |
| 라즈베리 파이 3.5인치 모니터(SPI) (0) | 2019.04.17 |
| rpi bt (0) | 2019.04.08 |
| 라즈베리 파이 3b 외장 안테나 부품 실장 관련 (0) | 2019.04.05 |
아무생각이 없으니 이렇게 했겠지만..
docker create를 통해서 다운로드 받은 이미지를
컨테이너로 생성하는데 아무생각 없이 계속 create를 하니 계속 생겨날줄 알았는데 하나만 생겨난다.
| $ sudo docker create atmoz/sftp 0eccda7b1d98f8a1c0330eaa6c8a507c7e4f8a52b65bc9667425be0b1b26dc94 $ sudo docker container ls CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES $ sudo docker create atmoz/sftp 1ff507e5604be9a49cc235137eef12accfe8385c098b5a980089b6badc5398aa $ sudo docker container ls -all CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 1ff507e5604b atmoz/sftp "/entrypoint" 9 seconds ago Created suspicious_colden $ sudo docker create atmoz/sftp cbc11639cbb8263621b2106ecd9c50e265924052f620245a477e00e08c30cdbb $ sudo docker container ls -all CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES cbc11639cbb8 atmoz/sftp "/entrypoint" 2 seconds ago Created xenodochial_goldstine |
그래서 테스트 하고 나서 삭제하려는데 어라?
지워도 지워도 계속 생겨난다 -ㅁ-?
| $ sudo docker ps -all CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 1ff507e5604b atmoz/sftp "/entrypoint" 7 minutes ago Created suspicious_colden $ sudo docker rm 1ff507e5604b 1ff507e5604b $ sudo docker ps -all CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 0eccda7b1d98 atmoz/sftp "/entrypoint" 8 minutes ago Created hopeful_hugle $ sudo docker rm 0eccda7b1d98 0eccda7b1d98 $ sudo docker ps -all CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES |
의도된 작동인지 버그인지 내가 착각하는건지 모르겠네 -ㅁ-?
요약)
1. create로 container 생성시 계속 생겨나지만 가장 최신 녀석만 목록에 나옴
2. rm으로 container 삭제시에도 fifo 처럼 마지막에 생성된 녀석들의 이름만 나옴
| docker ps 옵션 차이 (0) | 2019.06.11 |
|---|---|
| docker 컨테이너 이미지 이름으로 검색하기 (0) | 2019.06.10 |
| docker 자원 제한하기 (0) | 2019.05.17 |
| docker exited (0) | 2019.05.17 |
| docker start run attach (0) | 2019.05.17 |