-
Open VPN Settings
-
Open the Settings app by pressing
Windows + I
on your keyboard. -
Or go to Network & Internet.
-
This file contains 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
for i in `ps aux | egrep 'ffmpeg|mplayer' | grep foltia | gawk '{print $2}'` | |
do | |
TIME=`ps -o lstart --noheader -p $i`; | |
START=`date +%s -d "$TIME"`; | |
NOW=`date +%s`; | |
PASSTIME=`expr $NOW - $START`; | |
if [ $PASSTIME -gt 12000 ]; then | |
kill $i; | |
echo "kill $i at "`date`; |
This file contains 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
# Interactive RGB Color Hex Convert | |
# usage: | |
# $ ruby rgb_to_hex.rb | |
# r g b > 255 51 234 | |
# hex: #ff33aa | |
# r g b > 0 | |
# ### Please type 3 int values: red green blue | |
# r g b > 132 256 -1 | |
# ### Please type 3 int values: (0 <= x <= 255) | |
# r g b > quit |