V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  hei1000  ›  全部回复第 43 页 / 共 103 页
回复总数  2041
1 ... 39  40  41  42  43  44  45  46  47  48 ... 103  
2017-12-04 12:27:02 +08:00
回复了 eccstartup 创建的主题 问与答 v2 有没有推荐电动剃须刀的帖子
@Elix #40 没看到有 5 折的相关信息啊
2017-12-04 12:16:20 +08:00
回复了 eccstartup 创建的主题 问与答 v2 有没有推荐电动剃须刀的帖子
@ADragon3 #2 一天两刮是不是有点过了,我十一出门旅游一星期剃须刀都没带
现在迅雷会员还有加速?
2017-12-04 12:05:55 +08:00
回复了 dearth4866 创建的主题 问与答 为啥要吐槽某些手机不方便刷机?
> 而且,有哪个人买这种手机,第一动力不是系统而是外观或配置?正常来说,选择买某些,第一需求应该是系统,第二才是外观,硬件配置吧?

按照这样说,不正常的人有很多很多,有些人只关心外观,系统和性能什么的无所谓;有些人只关心牌子,系统 /外观 /配置什么都无所谓,有些人只关心价格,其他的凑活就行

有些人听说什么牌子的某个机型很好,买了之后才发现不能刷机,有些人一直用那个牌子的手机,升级了型号,或由于机型或由于系统版本而导致无法刷机了,吐槽下也无可厚非
2017-12-01 16:28:27 +08:00
回复了 lurenw 创建的主题 Steam 免费领:《调查局:幽浮解密》
上次免费领了 Humble Bundle 的一个免费游戏,下载半天,没完几分钟就卸载了
2017-12-01 16:17:43 +08:00
回复了 xujunhao 创建的主题 程序员 Linux 越用越卡,何解?
为何不 top 一下看看 mem 和 cpu 有没有占用过高的异常进程
2017-12-01 16:16:24 +08:00
回复了 sensui7 创建的主题 分享创造 又双叒叕一个终端英中词典
楼主听说过 sdcv 吗
2017-12-01 16:13:27 +08:00
回复了 fantianmi 创建的主题 Linux Linux 上查看并关闭进程
我平时使用 fishshell, 为了精确方便的杀进程,写了个脚本函数

function pk --description 'kill processes containg a pattern'
set result (psg $argv[1] | wc -l)
if test $result = 0
echo "No '$argv[1]' process is running!"
else if test $result = 1
set -l pid (psg $argv[1] | awk '{print $3}')
kill -9 $pid
if test $status != 0 # Operation not permitted
psg $pid | ag $argv[1] # list the details of the process need to be sudo kill
read -n 1 -p 'echo "Use sudo to kill it? [Y/n]: "' -l arg
if test "$arg" = "" -o "$arg" = "y" -o "$arg" = " "
sudo kill -9 $pid
end
end
else
while test 1
psg $argv[1]
if test (psg $argv[1] | wc -l) = 0
return
end
read -p 'echo "Kill all of them or specific PID? [y/N/index/pid/m_ouse]: "' -l arg2
if test $arg2 # it is not Enter directly
if not string match -q -r '^\d+$' $arg2 # if it is not integer
if test "$arg2" = "y" -o "$arg2" = " "
set -l pids (psg $argv[1] | awk '{print $3}')
for i in $pids
kill -9 $i
if test $status != 0 # Operation not permitted
psg $i | ag $argv[1]
read -n 1 -p 'echo "Use sudo to kill it? [Y/n]: "' -l arg3
if test "$arg3" = "" -o "$arg3" = "y" -o "$arg3" = " "
sudo kill -9 $i
end
end
end
return
else if test "$arg2" = "m" # Use mouse the click the opened window
# This may be used for frozen emacs specifically, -usr2 or -SIGUSR2
# will turn on `toggle-debug-on-quit`, turn it off once emacs is alive again
# Test on next frozen Emacs
# kill -usr2 (xprop | grep -i pid | grep -Po "[0-9]+")
# kill -SIGUSR2 (xprop | grep -i pid | grep -Po "[0-9]+")
set -l pid_m (xprop | grep -i pid | grep -Po "[0-9]+")
echo Pid is: $pid_m
if test (psg $pid_m | grep -i emacs)
kill -SIGUSR2 $pid_m
else
kill -9 $pid_m
end
return
else if test "$arg2" = "n"
return
else
echo Wrong Argument!
end
else # if it is digital/integer
if test $arg2 -lt 20 # index number, means lines of searching result
# The "" around $arg2 is in case of situations like 10 in 1002
set -l pid_of_index (psg $argv[1] | awk 'NR == n' n=" $arg2 " | awk '{print $3}')
if not test $pid_of_index
echo $arg2 is not in the index of the list.
else
# return
kill -9 $pid_of_index
if test $status != 0 # kill failed
psg $pid_of_index | ag $argv[1] # list the details of the process need to be sudo kill
read -n 1 -p 'echo "Use sudo to kill it? [Y/n]: "' -l arg4
if test $arg4 = "" -o "$arg4" = "y" -o "$arg4" = " "
# the first condition is to check Return key
sudo kill -9 $pid_of_index
end
end
end
else # pid
# The $arg2 here can be part of the real pid, such as typing only 26 means 126
if test (psg $argv[1] | awk '{print $3}' | grep -i $arg2)
set -l pid_part (psg $argv[1] | awk '{print $3}' | grep -i $arg2)
kill -9 $pid_part
if test $status -eq 1 # kill failed
psg $pid_part | ag $argv[1] # list the details of the process need to be sudo kill
read -n 1 -p 'echo "Use sudo to kill it? [Y/n]: "' -l arg5
if test $arg5 = "" -o "$arg5" = "y" -o "$arg5" = " "
sudo kill -9 $pid_part
end
end
else
echo "PID '$arg2' is not in the pid of the list!"
echo
end
end
end
else # Return goes here, means `quit` like C-c or no nothing
return
end
sleep 1
end
end
end
2017-12-01 13:43:31 +08:00
回复了 shellfly 创建的主题 分享创造 做了一个更好用的日语在线词典
@shellfly #21

Your connection is not secure

The website tried to negotiate an inadequate level of security.

soukaapp.com uses security technology that is outdated and vulnerable to attack. An attacker could easily reveal information which you thought to be safe. The website administrator will need to fix the server first before you can visit the site.

Error code: NS_ERROR_NET_INADEQUATE_SECURITY
2017-12-01 10:34:25 +08:00
回复了 shellfly 创建的主题 分享创造 做了一个更好用的日语在线词典
墙内墙外都打不开
2017-12-01 09:23:54 +08:00
回复了 AzureTT 创建的主题 问与答 近视矫正手术
@f2f2f #4 上次我去中大眼科医院配 RGP,医生也建议说可以考虑激光手术,我说激光手术不是很好吧,你看你也戴了眼镜,那么多医生都戴眼镜,她说她喜欢带眼镜 https://ws2.sinaimg.cn/bmiddle/62e721e4gw1et00rujyz4j200k00k3y9.jpg
2017-12-01 09:19:08 +08:00
回复了 viso1998 创建的主题 问与答 怎么下载优酷的广告?
@Telegram #8 傲游浏览器还活着?
2017-11-30 16:36:34 +08:00
回复了 wvc 创建的主题 程序员 哎,好压也开始弹东西了。
1. 可以禁止联网
2. 可以用修改版
2017-11-30 09:09:24 +08:00
回复了 liv11d 创建的主题 程序员 身体到处都出毛病?
“然后暴饮暴食睡一觉”这也能成为你的解决方案之一?
2017-11-29 18:30:40 +08:00
回复了 nullcoder 创建的主题 程序员 有人看了美剧《硅谷》吗?
看标题我还以为新的一季出来了
1 ... 39  40  41  42  43  44  45  46  47  48 ... 103  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   3763 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 54ms · UTC 00:13 · PVG 08:13 · LAX 16:13 · JFK 19:13
Developed with CodeLauncher
♥ Do have faith in what you're doing.