Skip to content

Instantly share code, notes, and snippets.

View nrlozdemir's full-sized avatar
🎯
Focusing

Nurullah Ozdemir nrlozdemir

🎯
Focusing
View GitHub Profile
sudo amazon-linux-extras install epel
sudo yum -y install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
sudo amazon-linux-extras install postgresql14
sudo yum -y install libxslt httpd-mmn libXpm libraqm gd3php ncurses-compat-libs
sudo yum -y install php php-cli php-common php-gd php-mbstring php-mysqlnd php-pdo php-pecl-zip php-xml php-pgsql php-pecl-redis --enablerepo=epel,remi,remi-php82 --disablerepo=amzn2-core,amzn2extra-php8.0
sudo yum -y install redhat-indexhtml gperftools-libs
sudo yum -y install nginx php-fpm --enablerepo=epel,remi,remi-php82 --disablerepo=amzn2-core,amzn2extra-php8.0
@ahmadsoe
ahmadsoe / README.md
Last active February 12, 2024 07:24 — forked from rishubil/README.md
VPNGate Python script

#VPNGate for OS X This script is a simple script for using to connect vpn server list provided VPNGate through OpenVPN on OS X environment.

It inspired by VPNGate Python script wrtten by Andrea Lazzarotto.

##Requirements If you use the script, Tunnelblick needs to be installed first.

##Installation Open terminal app and copy & paste the command below.

@Warry
Warry / Article.md
Created December 11, 2012 00:11
How to make faster scroll effects?

How to make faster scroll effects?

  • Avoid too many reflows (the browser to recalculate everything)
  • Use advanced CSS3 for graphic card rendering
  • Precalculate sizes and positions

Beware of reflows

The reflow appens as many times as there are frames per seconds. It recalculate all positions that change in order to diplay them. Basically, when you scroll you execute a function where you move things between two reflows. But there are functions that triggers reflows such as jQuery offset, scroll... So there are two things to take care about when you dynamically change objects in javascript to avoid too many reflows: