Skip to content

Instantly share code, notes, and snippets.

@Shamaoke
Shamaoke / nginx.conf
Created April 13, 2024 12:20 — forked from denisoster/nginx.conf
Nginx+RoR(Puma)+Nuxt.js(node.js)+SSL+redirect
upstream icon {
server unix:/home/icon/web/site.ru/icon/shared/sockets/puma.sock fail_timeout=0;
}
server {
listen 80;
server_name site.ru www.site.ru;
rewrite ^(.+)$ https://site.ru$uri permanent;
}
@Shamaoke
Shamaoke / nginx.conf
Created April 13, 2024 12:17 — forked from denisoster/nginx.conf
Nginx+RoR(Puma)+SSL+redirect
upstream site {
server unix:/home/site/web/site.com.ua/site/shared/sockets/puma.sock fail_timeout=0;
}
server {
listen 80;
server_name site.com.ua www.site.com.ua;
rewrite ^(.+)$ https://site.com.ua$uri permanent;
}
@Shamaoke
Shamaoke / .config
Created December 17, 2023 16:03
`net/ipv4/xfrm4_tunnel.o: failed` when building the kernel [attachment]
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.9.228 Kernel Configuration
#
CONFIG_64BIT=y
CONFIG_X86_64=y
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_OUTPUT_FORMAT="elf64-x86-64"
CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig"
@Shamaoke
Shamaoke / fzf-numbers.vim
Last active August 17, 2023 09:37
Display a list of numbers to choose from. Version 2.0.
vim9script
## ##
# ::: Fzf Numbers 2.0 ::: #
## ##
#
# Display a list of numbers to choose from.
#
#
@Shamaoke
Shamaoke / fzf-numbers.vim
Last active August 16, 2023 06:04
Display a list of numbers to choose from.
vim9script
## ##
# ::: Fzf Numbers ::: #
## ##
#
# Display a list of numbers to choose from.
#
#
@Shamaoke
Shamaoke / about_support_webrender
Created June 2, 2021 00:34
about:support WebRender
Graphics
--------
Features
Compositing: WebRender
Asynchronous Pan/Zoom: wheel input enabled; scrollbar drag enabled; keyboard enabled; autoscroll enabled; smooth pinch-zoom enabled
WebGL 1 Driver WSI Info: GLX 1.4 GLX_VENDOR(client): NVIDIA Corporation GLX_VENDOR(server): NVIDIA Corporation Extensions: GLX_EXT_visual_info GLX_EXT_visual_rating GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGI_video_sync GLX_SGI_swap_control GLX_EXT_swap_control GLX_EXT_swap_control_tear GLX_EXT_texture_from_pixmap GLX_EXT_buffer_age GLX_ARB_create_context GLX_ARB_create_context_profile GLX_EXT_create_context_es_profile GLX_EXT_create_context_es2_profile GLX_ARB_create_context_robustness GLX_NV_delay_before_swap GLX_EXT_stereo_tree GLX_ARB_multisample GLX_NV_float_buffer GLX_ARB_fbconfig_float GLX_EXT_framebuffer_sRGB GLX_NV_multisample_coverage GLX_ARB_get_proc_address IsWebglOutOfProcessEnabled: 0
WebGL 1 Driver Renderer: NVIDIA Corporation -- GeForce 410M/PCIe/SSE2
WebGL 1 Driver Version: 4.4.0 NVIDIA 340.108
WebGL 1 Driver Exte
@Shamaoke
Shamaoke / tmux-server-71971.log
Last active January 27, 2020 14:55
tmux-server-71971.log [ncdu]
1580125292.060782 server started (71971): version 3.0a, socket /tmp/tmux-1000/sample, protocol 8
1580125292.060810 on Linux 5.4.15-arch1-1 #1 SMP PREEMPT Sun, 26 Jan 2020 09:48:50 +0000; libevent 2.1.11-stable (poll)
1580125292.060860 yylex_token: bind
1580125292.060867 yylex_token: C-b
1580125292.060872 yylex_token: send-prefix
1580125292.060885 cmd_parse_build_commands: 0 bind
1580125292.060890 cmd_parse_build_commands: argv[0]=C-b
1580125292.060894 cmd_parse_build_commands: argv[1]=send-prefix
1580125292.060900 cmd_parse: bind-key: argv[0]=bind
1580125292.060904 cmd_parse: bind-key: argv[1]=C-b
@Shamaoke
Shamaoke / tmux-out-71971.log
Last active January 27, 2020 14:55
tmux-out-71971.log [ncdu]
[?1049h=[?12l[?25h[?1000l[?1002l[?1006l[?1005l(B[?12;25h[?12l[?25h[?1003l[?1006l[?2004l[?25l









@Shamaoke
Shamaoke / tmux-client-71969.log
Last active January 27, 2020 14:55
tmux-client-71969.log [ncdu]
1580125292.060230 client started (71969): version 3.0a, socket /tmp/tmux-1000/sample, protocol 8
1580125292.060264 on Linux 5.4.15-arch1-1 #1 SMP PREEMPT Sun, 26 Jan 2020 09:48:50 +0000; libevent 2.1.11-stable (poll)
1580125292.060278 socket is /tmp/tmux-1000/sample
1580125292.060289 trying connect
1580125292.060306 connect failed: Connection refused
1580125292.060315 lock file is /tmp/tmux-1000/sample.lock
1580125292.060328 flock succeeded
1580125292.060332 got lock (6)
1580125292.060340 trying connect
1580125292.060348 connect failed: Connection refused