Spent some time trying to figure out why mouse scrolling was so awkward in the default terminal on Kali. Turns out, if you move the mouse while using the scroll wheel, the scrolling stops. And so I...
Spent some time trying to figure out why mouse scrolling was so awkward in the default terminal on Kali. Turns out, if you move the mouse while using the scroll wheel, the scrolling stops. And so I...
1.只修改字段长度 修改 pg_attribute通过修改 pg_attribute 基表的方式来绕开这个限制pg_attribute (详情)2.BEGIN select deps_save_and_drop_dependencies('public', 'a'); alter table a alter name type varchar(30); select deps_rest...
1.查看数据库的进程。SELECT * FROM pg_stat_activity WHERE datname='死锁的数据库ID ';检索出来的字段中,【wating 】字段,数据为t的那条,就是死锁的进程,找到对应的【procpid 】列的值。例如:SELECT procpid FROM pg_stat_activity WHERE datname='数据库ID' and waiti...
If you have Nginx in front of another webserver that's running on port 8108 and serve its content by proxy_pass of everything from a subdir, e.g. /subdir, then you might have the issue that the ser...
Lets say for python package spacy. (1)set CONDA_PKGS_DIRS=<location where I want to download package> (2)conda install -c conda-forge spacy --download-only --> it will download to folder s...