Follow this instruction to install vncsrver step by step
https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-14-04
if copy paste can't work u can do this:
install autocutsel
server { | |
listen 80; | |
listen [::]:80; | |
root /var/www/html; | |
# Add index.php to the list if you are using PHP | |
index index.html index.htm index.nginx-debian.html; | |
server_name _; |
#AND | |
<b:if cond='data:blog.pageType == "index"'> | |
<b:if cond='data:blog.searchQuery'> | |
<!--search_page AND index_page--> | |
</b:if> | |
</b:if> | |
#OR |
Follow this instruction to install vncsrver step by step
https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-14-04
if copy paste can't work u can do this:
install autocutsel
To quickly and easily remove all unwanted comments when using Sublime text, perform a search and replace (CMD, ALT & D) and enter the following. Make sure that regex search is enabled by clicking the small icon in the bottom left that looks like an astrix.
For example, to remove all HTML comments:
(?s)<!--.*?-->
search and replace with blank
Or to remove all CSS comments:
#STEP 1 Create a new laravel project. For more info, check the laravel docs page, on the laravel website
composer create-project laravel/laravel --prefer-dist my-laravel-app
#STEP 3 Install heroku toolbelt, on your machine. Assuming its ubuntu, just follow the following instructions Heroku toolbelt is a command line client, for heroku
#Steps to install latest Laravel, LEMP on AWS Ubuntu 16.4 version. This tutorial is the improvised verision of this tutorial on Digitalocean based on my experience.
Run the following commands in sequence.
sudo apt-get install -y language-pack-en-base
sudo LC_ALL=en_US.UTF-8 add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install zip unzip
<?php if (!defined('IS_IN_SCRIPT')) { die(); exit; } ?> | |
<?php get_header(); ?> | |
<div class="smart_content col-9-12"> | |
<?php if (have_posts()) :?> | |
<?php while (have_posts()) : the_post(); ?> | |
<?php endwhile; ?> | |
<div class="box-checkout ongkircek"> | |
<h2><?php the_title(); ?></h2> | |
<span class="meta-dt">Kategori <a href="<?php bloginfo('url');?>/blog" title="blog">Blog</a></span> | |
<?php the_content(); ?> |
<!-- | |
How to use: | |
1.Create a facebook application here https://developers.facebook.com/apps/ | |
- Open https://developers.facebook.com/tools/explorer , select your Application , select your FB Page, and copy access token : | |
This is called as the short lived access token, and will be valid for 30min or 1 hour | |
- Then open https://graph.facebook.com/oauth/ac...=<app_secret>&fb_exchange_token=<short_token> (replace the values correctly) . | |
This will give out another access token. Copy that token correctly from the response. It will be something like: | |