This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #peterpro@ubuntu1:~$ cat /etc/netplan/50-cloud-init.yaml | |
| # This file is generated from information provided by | |
| # the datasource. Changes to it will not persist across an instance. | |
| # To disable cloud-init's network configuration capabilities, write a file | |
| # /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following: | |
| # network: {config: disabled} | |
| network: | |
| ethernets: | |
| enp0s8: | |
| dhcp4: no |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SELECT t.typname, e.enumlabel, e.enumsortorder | |
| FROM pg_enum e | |
| JOIN pg_type t ON e.enumtypid = t.oid; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| strace: Process 328 attached | |
| epoll_pwait(3, [{EPOLLIN, {u32=11, u64=219644352639533067}}], 1024, -1, NULL, 8) = 1 | |
| accept4(11, NULL, NULL, SOCK_CLOEXEC|SOCK_NONBLOCK) = 10 | |
| futex(0x22151ec, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x22151e8, FUTEX_OP_SET<<28|0<<12|FUTEX_OP_CMP_GT<<24|0x1) = 1 | |
| futex(0x22151c0, FUTEX_WAKE_PRIVATE, 1) = 1 | |
| accept4(11, NULL, NULL, SOCK_CLOEXEC|SOCK_NONBLOCK) = 12 | |
| accept4(11, NULL, NULL, SOCK_CLOEXEC|SOCK_NONBLOCK) = -1 EAGAIN (Resource temporarily unavailable) | |
| epoll_ctl(3, EPOLL_CTL_ADD, 10, {EPOLLIN, {u32=10, u64=219644352639533066}}) = 0 | |
| epoll_ctl(3, EPOLL_CTL_ADD, 12, {EPOLLIN, {u32=12, u64=219644352639533068}}) = 0 | |
| epoll_pwait(3, [{EPOLLIN, {u32=10, u64=219644352639533066}}, {EPOLLIN, {u32=12, u64=219644352639533068}}], 1024, 47, NULL, 8) = 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function getSnap() | |
| { | |
| // !!! change this to multiply width/height! | |
| // на моём компе 8 даёт 15300 * 5000, но вешает файрфокс | |
| var factor = 5; | |
| var engineCanvas = Human.renderer.canvas.canvas; | |
| var engineRect = engineCanvas.getBoundingClientRect(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function getSnap() | |
| { | |
| // !!! change this to multiply width/height! | |
| // на моём компе 8 даёт 15300 * 5000, но вешает файрфокс | |
| var factor = 5; | |
| var engineCanvas = Human.renderer.canvas.canvas; | |
| var engineRect = engineCanvas.getBoundingClientRect(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ln -s /var/www/api/container/ ~/api | |
| ln -s /var/www/web_2.0 ~/web_2.0 | |
| wget -O .gitconfig https://gist.githubusercontent.com/peterpro/a4ca8a52f88a6cccb290211a2b1b543b/raw/419deabf6b7ce5d4e7bd4c1a65db6c523fd77799/.gitconfig |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [core] | |
| autocrlf = input | |
| safecrlf = false | |
| [color] | |
| ui = auto | |
| [alias] | |
| st = status -s | |
| ci = commit | |
| br = branch | |
| co = checkout |