sudo apt update
sudo apt install apache2
sudo ufw app list
| /*------------------------------------------ | |
| Responsive Grid Media Queries - 1280, 1024, 768, 480 | |
| 1280-1024 - desktop (default grid) | |
| 1024-768 - tablet landscape | |
| 768-480 - tablet | |
| 480-less - phone landscape & smaller | |
| --------------------------------------------*/ | |
| @media all and (min-width: 1024px) and (max-width: 1280px) { } | |
| @media all and (min-width: 768px) and (max-width: 1024px) { } |
| <html> | |
| <head> | |
| <!-- Inlined critical styles --> | |
| <style>.blue{color:blue;}</style> | |
| <!-- CSS loader --> | |
| <script> | |
| /* ========================================================================== | |
| Load CSS asynchronously and conditionally after initial painting |
| /* | |
| ##Device = Desktops | |
| ##Screen = 1281px to higher resolution desktops | |
| */ | |
| @media (min-width: 1281px) { | |
| /* CSS */ | |
| /** | |
| * Instagram web unfollow script | |
| * | |
| * WHAT IS IT? | |
| * A script to unfollow people in the instagram website | |
| * | |
| * WHY? | |
| * I needed to clean my account so I quickly did this | |
| * | |
| * HOW TO USE: |
| # This script hide's text behind any media file like jpg file, mp3 file ecetera. | |
| # This script accepts two parameter for hiding text and one parameter for finding text. | |
| # Please install steganography python library by - pip install steganography | |
| # This script is compatible with python 2.7 | |
| from __future__ import absolute_import,unicode_literals | |
| import argparse | |
| from steganography.steganography import Steganography | |
| parser=argparse.ArgumentParser() | |
| parser.add_argument("--carrier",help="Give path of carrier file which will contain our text.") |
<VirtualHost ip_address>
ServerName domain_name
ServerAlias www.domain_name
DocumentRoot /home/user_name/domain_name
ServerAdmin webmaster@domain_name
UseCanonicalName Off
sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dl
sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl
| <?php | |
| /** | |
| * Method 1 | |
| * Can be used for: Any storage type | |
| * | |
| * page-slug - replace this with your Option Page slug | |
| * option-name - replace this with your option Name/ID | |
| */ | |
| $value = jet_engine()->listings->data->get_option( 'page-slug::option-name' ); |
| <?php | |
| /** | |
| * Displays a user's profile. | |
| * | |
| * Available Variables: | |
| * | |
| * $user_id : Current User ID | |
| * $current_user : (object) Currently logged in user object | |
| * $user_courses : Array of course ID's of the current user | |
| * $quiz_attempts : Array of quiz attempts of the current user |