paypal plugin

This blog are helpful for you???? So please Donate! :)





domingo, 20 de agosto de 2017

bash replace a string in all projects


replace:
 request.env.REMOTE_ADDR

for:
request.env.HTTP_X_FORWARDED_FOR


find . -type f -print0 | xargs -0 grep "request.env.REMOTE_ADDR"


find . -type f -print0 | xargs -0 grep "request.env.REMOTE_ADDR" | awk '{print $1}' | uniq

 for i in $(find . -type f -print0 | xargs -0 grep "request.env.REMOTE_ADDR" | awk '{print $1}' | uniq); do echo ${i::-1};done



sábado, 12 de agosto de 2017

Linux mint + amd r7 265m and CSGO 80 FPS NO lag





install padoka drivers

https://launchpad.net/~paulo-miguel-dias/+archive/ubuntu/mesa

sudo add-apt-repository ppa:paulo-miguel-dias/mesa
sudo apt-get update

set steam start configuration as following command:

sh -c 'STEAM_FRAME_FORCE_CLOSE=1 MESA_GL_VERSION_OVERRIDE=4.3COMPAT DRI_PRIME=1 steam' %U



And now I can play csgo smoothly without lag.

some options
-novid -high +cl_showfps 1 +cl_righthand 0 +rate 128000 +cl_cmdrate 128 +cl_updaterate 128 +cl_interp 0 +cl_interp_ratio 1 +cl_lagcompensation 1 -tickrate 128