tag:blogger.com,1999:blog-43699958309280197332024-02-22T10:35:45.929+07:00Paper 4ShareFree for share Programming, Windows, Linux, and Tips n Trick.Anonymoushttp://www.blogger.com/profile/00080147742249972721noreply@blogger.comBlogger80125tag:blogger.com,1999:blog-4369995830928019733.post-45142721826421542642017-04-04T15:14:00.003+07:002017-04-04T15:14:48.431+07:00Error: Unable to delete directory in Android Studio IDE<a href="http://paperforshare.blogspot.com/2017/04/error-unable-to-delete-directory-in-android-studio-ide.html" target="_blank">Error: Unable to delete directory in Android Studio</a> - Too long I'm not publish a post :D hahaha maybe I'm realy busy. No just kid guys.<br />
<br />
Some days ago, in my Android Studio IDE I getting an error every <b>Clean Project</b>, <b>Build Project</b>, or <b>Clean and Rerun'app'</b>. The errors shown like below<br />
<br />
<blockquote class="tr_bq">
Error:FAILURE: Build failed with an exception.<br />
<br />
* What went wrong:<br />
Execution failed for task ':app:clean'.<br />
> Unable to delete directory: /mnt/mydata/AndroidStudioProjects/DatePickerDialog/app/build/intermediates/exploded-aar/com.android.support/animated-vector-drawable/24.2.1/jars<br />
<br />
* Try:<br />
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.</blockquote>
<br />
In my opinion, this error happen when the directory package have different permission with Android Studio IDE. In this case, I using Linux with Ubuntu OS, and the place of directory package is on mount of second partition using NTFS partition.<br />
<br />
The Some of the ways that I have tried, and I think this is a good ways. How it ways?<br />
<br />
First, you need to open <b>build.gradle</b> in <b>app</b> package. And than copy and paste this small script on below of <b>apply plugin: 'com.android.application'</b><br />
<br />
<pre style="background-color: #21282d; color: #e0e2e4; font-family: 'DejaVu Sans Mono'; font-size: 9.0pt;">task clean<span style="color: white;">(</span><span style="background-color: #2b2b2b; color: green;">type</span>: <span style="color: #85b5c7;">Delete</span><span style="color: white;">) </span><span style="color: #e8e2b7;">{</span><span style="color: #e8e2b7;">
</span>delete <span style="color: #4cd656;">"</span>$<span style="color: #9876aa;">rootProject</span><span style="color: #4cd656;">/app/build/intermediates/exploded-aar"</span><span style="color: #e8e2b7;">
}</span></pre>
<br />
Okay, the script will help Android Studio IDE to delete some files in the directory, now you can try to clean project.<br />
<br />
Paper 4Share - <a href="http://paperforshare.blogspot.com/2017/04/error-unable-to-delete-directory-in-android-studio-ide.html" target="_blank">Error: Unable to delete directory in Android Studio</a>Anonymoushttp://www.blogger.com/profile/00080147742249972721noreply@blogger.comtag:blogger.com,1999:blog-4369995830928019733.post-15081340515470453102016-09-26T14:37:00.001+07:002016-09-26T14:37:56.334+07:00How to solved Error proxychains LD_PRELOAD cannot be preloaded [ERROR: ld.so: object 'libproxychains.so.3' from LD_PRELOAD ...]<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj37JEUIzEfquBKkctE9OEzdKMBPOTmc-yKSRg8W1E84q94sPtL9oRgRNIhHKCuCAqERdekpfgJ9i3QcsHRYVDVOOTSbShOLRt4-w-qYB_W9KvhyRmiern6GQ384oy8_qkHrQrZnKyOEsc8/s1600/adduser-ubuntu-server.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj37JEUIzEfquBKkctE9OEzdKMBPOTmc-yKSRg8W1E84q94sPtL9oRgRNIhHKCuCAqERdekpfgJ9i3QcsHRYVDVOOTSbShOLRt4-w-qYB_W9KvhyRmiern6GQ384oy8_qkHrQrZnKyOEsc8/s320/adduser-ubuntu-server.png" width="263" /></a></div>
<a href="http://paperforshare.blogspot.com/2016/09/how-to-solved-error-proxychains-error-libproxychains.so.3-from-ldpreload.html">How to solved Error proxychains LD_PRELOAD cannot be preloaded</a> - After you installed proxychains in your ubuntu or linux, when you do update aptitude using command <i>sudo apt-get update</i>, and than you look error message like <b>ERROR: ld.so: object 'libproxychains.so.3' from LD_PRELOAD cannot be preloaded: ignored.</b> so you should do this step.<br />
<br />
Open your terminal, press this key<br />
<blockquote class="tr_bq">
Ctrl+Alt+t</blockquote>
Open proxychains config for load library in <b>/usr/bin/proxychains</b>. In this section we are use <b>nano</b> editor<br />
<blockquote class="tr_bq">
sudo nano /usr/lib/libproxychains</blockquote>
And than you should change this script<br />
<blockquote class="tr_bq">
export LD_PRELOAD=libproxychains.so.3 </blockquote>
to be this script<br />
<blockquote class="tr_bq">
export LD_PRELOAD=/usr/lib/libproxychains.so.3</blockquote>
Save it, by press <b>Ctrl+X</b> and than <b>Y</b> and last is <b>Enter</b>.<br />
<br />
Finish, restart your computer ;)<br />
<br />
Paper 4Share - <a href="http://paperforshare.blogspot.com/2016/09/how-to-solved-error-proxychains-error-libproxychains.so.3-from-ldpreload.html" target="_blank"><i>How to solved Error proxychains LD_PRELOAD cannot be preloaded</i></a>Anonymoushttp://www.blogger.com/profile/00080147742249972721noreply@blogger.comtag:blogger.com,1999:blog-4369995830928019733.post-78712059822305347662016-06-09T09:55:00.000+07:002016-06-09T09:55:04.537+07:00How To Remove Message Caches in iPhone using iBackupbot<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsapZCXjrdTbzWDE_D-o9YLpIJvpgGvns7ey3Cf_0qLmwVqB3aNRgFvtK-GKZoN5XZ3mafc2RatQ3_MH1L5S8Dolr0JzMO6IK2MO6_UgHJ_mx8EH2RWU3IhlF3uqd7Ig1IcSafqA-2g1hT/s1600/How+To+Free+Up+Space+in+iPhone.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsapZCXjrdTbzWDE_D-o9YLpIJvpgGvns7ey3Cf_0qLmwVqB3aNRgFvtK-GKZoN5XZ3mafc2RatQ3_MH1L5S8Dolr0JzMO6IK2MO6_UgHJ_mx8EH2RWU3IhlF3uqd7Ig1IcSafqA-2g1hT/s1600/How+To+Free+Up+Space+in+iPhone.jpg" /></a></div>
<br />
<a href="http://paperforshare.blogspot.com/2016/06/how-to-remove-message-caches-in-iphone-using-ibackupbot.html" target="_blank"><strong>How To Remove Message Caches in iPhone using <b><i>iBackupbot</i></b></strong></a> - If you rely on messaging a lot with your iPhone, strong chance that your storage will be occupied by “Other” data made up of message cache. Because, iMessage provides you with more than just text messaging but also communicating using pictures, videos, and other media. You can clear up some spaces that have been occupied by these caches using <b>iBackupbot</b> and these simple steps:<br />
<br />
<br />
<ol>
<li>Backup your iPhone through iTunes. Connect your device to PC/Mac, right click on your device under iTunes, and click Backup Now.</li>
<li>Open up iBackupbot, navigate to System Files => Mediadomain => Library => SMS => Attachments.</li>
<li>All folders within Attachments are message caches from all media you sent and received. Simply clear it by delete all folders.</li>
<li>Click Restore. Your iPhone will be restored to the backup without message cache.</li>
<li>If you already have iCloud backup, go to Settings iCloud Storage and Backup to remove all backup exist.</li>
</ol>
<br /><br />
Paper 4Share - <a href="http://paperforshare.blogspot.com/2016/06/how-to-remove-message-caches-in-iphone-using-ibackupbot.html" target="_blank"><i><strong>How To Remove Message Caches in iPhone using iBackupbot</strong></i></a>Anonymoushttp://www.blogger.com/profile/00080147742249972721noreply@blogger.comtag:blogger.com,1999:blog-4369995830928019733.post-72590502685565094882016-06-06T00:07:00.000+07:002016-06-09T09:58:38.379+07:00How To Free Up Space in iPhone<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiG9dX2JsxjQzU0aVSB8Bd59o7-NgwVOdpRh9Sz8BeJ7eeWAgFqqhzVdWb9BOzxXztcApUexHb_O14vdbDaA0xuANnY2c7a207554J8bgK3mWUsxP_N040S4uG-etlqYUTWpiZT3BGKP3H-/s1600/How+To+Free+Up+Space+in+iPhone.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiG9dX2JsxjQzU0aVSB8Bd59o7-NgwVOdpRh9Sz8BeJ7eeWAgFqqhzVdWb9BOzxXztcApUexHb_O14vdbDaA0xuANnY2c7a207554J8bgK3mWUsxP_N040S4uG-etlqYUTWpiZT3BGKP3H-/s1600/How+To+Free+Up+Space+in+iPhone.jpg" /></a></div>
<div class="separator" style="clear: both; text-align: justify;">
<br /></div>
<i style="font-weight: bold;"><a href="http://paperforshare.blogspot.com/2016/06/how-to-free-up-space-in-iphone.html" target="_blank"><u>How To Free Up Space in iPhone</u></a></i> - Most of the time, iPhone users never experience lag, unlike Android users. But sure, iPhone’s storage isn’t extendable and sometimes, we need to reclaim free space in the storage.<br />
<br />
If you use iPhone for mostly browsing, the first place to look to regain more free space is Settings. Tap on Safari, then tap on Clear History, and tap on Clear Cookies and Data. This will remove your browsing history and your login details.<br />
<br />
iMessage is also one of the biggest occupiers in your storage. Backup to iCloud also includes message cache, which means if you try to backup, clear message, and restore messages, the cache will also restored and you still don’t have your free space return. To solve this, <b><i>you can remove it using <a href="http://paperforshare.blogspot.com/2016/06/how-to-remove-message-caches-in-iphone-using-ibackupbot.html">iBackupBot</a></i></b>.<br />
<br />
Paper 4Share - <i><a href="http://paperforshare.blogspot.com/2016/06/how-to-free-up-space-in-iphone.html" target="_blank"><strong>How To Free Up Space in iPhone</strong></a></i>Anonymoushttp://www.blogger.com/profile/00080147742249972721noreply@blogger.comtag:blogger.com,1999:blog-4369995830928019733.post-39709050864096713972016-04-17T10:27:00.002+07:002016-05-03T11:08:54.351+07:00Facebook Releasing Username for Business Page<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsD9sVHWv9f2QAewCnAHjaAeMiVY2hehBS5JE27JwjNlLHPapxye4lYDcLTcD2u9saAlpgOOnXj7wT5EJBCqKO9zktyqjUtiSbMfdHKKDsQt5Dgs4huR8vrOZ2d9uhLgnwzepWiw1rI1Qt/s1600/Facebook-create.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Facebook Releasing Username for Business Page" border="0" height="112" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsD9sVHWv9f2QAewCnAHjaAeMiVY2hehBS5JE27JwjNlLHPapxye4lYDcLTcD2u9saAlpgOOnXj7wT5EJBCqKO9zktyqjUtiSbMfdHKKDsQt5Dgs4huR8vrOZ2d9uhLgnwzepWiw1rI1Qt/s320/Facebook-create.png" title="Facebook Releasing Username for Business Page" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><i><span style="font-size: x-small;">Image: blog.storyful.com</span></i></td></tr>
</tbody></table>
<br />
<a href="http://paperforshare.blogspot.com/2016/04/facebook-releasing-username-for-bussiness-page.html" target="_blank"><strong>Facebook Releasing Username for Business Page</strong></a> - Simplest username can help customers to find a business in social media, including Facebook. In a short time, Facebook will release username with “@” symbol in front of it. This kind of username use by Facebook is similar to Line@ username, a business application made by Line Corporation. Therefore, if you have “Coffee and Tea” business, then you may have “@coffeeandtea” username. Remember that every username is unique so business owner have to explain and introduce their business in a better, unique way.<br />
<br />
This username helps business owner to communicate better with customers. Using Messenger Links, users can start chatting with business easier and faster. Messenger links using business’ username in a short link, for example "m.me/username".<br />
<br />
<b>Crosslink for you</b><br />
<br />
<ul>
<li><a href="http://paperforshare.blogspot.com/2015/04/how-to-accept-all-friend-requests-on-facebook.html" target="_blank">How to Accept All Friend Requests On Facebook</a></li>
<li><a href="http://paperforshare.blogspot.com/2016/03/how-to-turn-on-wi-fi-hotspot-in-windows-10-8-7-using-cmd-command-prompt.html" target="_blank">Create WIFI Hotspot Using Your Laptop or Computer</a></li>
<li><a href="http://paperforshare.blogspot.com/2014/10/how-to-test-speed-memory-ram-tools.html" target="_blank">How to Test Speed of RAM Computer</a></li>
</ul>
<br />
<br />
If you already have Vanity Link for your Facebook Page, you don’t have to worry by the change that is planned to launch mid-2016. Your vanity link will be the same with your username!. Very awesome features from Facebook.<br />
<br />
<h4>
You Need To Know About Linux:</h4>
<ol>
<li><a href="http://paperforshare.blogspot.com/2015/09/axel-download-manager-for-linux-ubuntu.html" target="_blank">Axel, Download Manager For Linux</a></li>
<li><a href="http://paperforshare.blogspot.com/2015/08/how-to-install-libreoffice-on-all-linux-version-ubuntu-kali-centos-opensuse-fedora-backtrack.html" target="_blank">How to Install LibreOffice on Linux</a></li>
<li><a href="http://paperforshare.blogspot.com/2013/05/linus-torvalds-to-join-microsoft-to-head-windows-9-project.html" target="_blank">Linus Torvalds to Join Microsoft to Head Windows 9</a></li>
<li><a href="http://paperforshare.blogspot.com/2013/02/open-ekstract-rar-within-linux.html" target="_blank">Open or Extract RAR Within Linux</a></li>
</ol>
<br />
Paper 4Share - <a href="http://paperforshare.blogspot.com/2016/04/facebook-releasing-username-for-bussiness-page.html" target="_blank"><strong><em>Facebook Releasing Username for Business Page</em></strong></a>Anonymoushttp://www.blogger.com/profile/00080147742249972721noreply@blogger.comtag:blogger.com,1999:blog-4369995830928019733.post-58404100080385611732016-04-13T23:34:00.003+07:002016-05-03T12:37:26.507+07:00DNI Revision to Support E-Commerce in Indonesia<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg35C8asszLM4-an86g-qehDA_dDNCrcVHEZaoMrnJh7vAaiGw_MGIjQf4cnjU_ZlSIhetu1ok-2MXlf5P9vTrv8-t0ytBw86Dwsumx05WejlUBYFbs829lI966TYp-ORaMAEB2jW8H_gIo/s1600/DNI-Revision-to-Support-E-Commerce-in-Indonesia.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="DNI Revision to Support E-Commerce in Indonesia" border="0" height="214" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg35C8asszLM4-an86g-qehDA_dDNCrcVHEZaoMrnJh7vAaiGw_MGIjQf4cnjU_ZlSIhetu1ok-2MXlf5P9vTrv8-t0ytBw86Dwsumx05WejlUBYFbs829lI966TYp-ORaMAEB2jW8H_gIo/s320/DNI-Revision-to-Support-E-Commerce-in-Indonesia.jpg" title="DNI Revision to Support E-Commerce in Indonesia" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><i>Image: en.hukumonline.com</i></td></tr>
</tbody></table>
<br />
<a href="http://paperforshare.blogspot.com/2016/04/dni-revision-to-support-e-commerce-in-indonesia.html" target="_blank"><strong>DNI Revision to Support E-Commerce in Indonesia</strong></a> - The hype of e-commerce and online transaction leads the government of Indonesia to revise <b><u>Daftar Negatif Investasi (DNI)</u></b>. DNI is a list contains business fields closed and open for investors. On February 2016, DNI revised to provide opportunities for foreigners to acquire 100 percent of ownership in several business fields, one of which includes e-commerce.<br />
<br />
Furthermore, Minister of Communication and Information explains that there are three stages of e-commerce related to foreign investment. First, the e-commerce with valuation less than 10 billion rupiahs cannot be acquired by foreign investment. Second, e-commerce with valuation from 10 billion up to 100 billion rupiahs can be acquired by foreign investor with 49% of ownership. Last, e-commerce with valuation number more than 100 billion rupiahs may be acquired 100% by foreign investor.<br />
<br />
<b>READ MORE</b>: <a href="http://paperforshare.blogspot.com/2015/04/nokia-power-ranger-is-dual-boot-smartphone-512-gb-24.2-mp-and-ram-4-gb.html" target="_blank">Nokia Power Ranger is Dual Boot Smartphone 512 GB 24 2 MP and Ram 4 GB</a><br />
<br />
E-commerce which is includes in<b><i> DNI is only for marketplace</i></b>. The government wants to assure that local business owners can compete with foreign investors. The foreign investors should have partnership with local business owners and provide opportunities for local to supply products for the marketplace.<br />
<br />
<h4>
RECOMMENDED TOPICS:</h4>
<ol>
<li><a href="http://paperforshare.blogspot.com/2015/04/did-you-know-run-linux-kernel-on-canon-dslr-camera.html" target="_blank">Did You Know ?? Run Linux Kernel On Canon DSLR Camera</a></li>
<li><a href="http://paperforshare.blogspot.com/2016/03/how-to-turn-on-wi-fi-hotspot-in-windows-10-8-7-using-cmd-command-prompt.html">Create WIFI Hotspot Using Laptop</a></li>
<li><a href="http://paperforshare.blogspot.com/2015/04/how-to-accept-all-friend-requests-on-facebook.html" target="_blank">How to Accept All Friend Requests on Facebook Quickly</a></li>
<li><a href="http://paperforshare.blogspot.com/2014/10/how-to-test-speed-memory-ram-tools.html" target="_blank">How to Test Speed of Computer RAM</a></li>
</ol>
<br />
<br />
Paper 4Share - <a href="http://paperforshare.blogspot.com/2016/04/dni-revision-to-support-e-commerce-in-indonesia.html" target="_blank"><i><strong>DNI Revision to Support E-Commerce in Indonesia</strong></i></a>Anonymoushttp://www.blogger.com/profile/00080147742249972721noreply@blogger.comtag:blogger.com,1999:blog-4369995830928019733.post-69190482629079452632016-04-11T22:39:00.001+07:002016-05-03T12:40:00.849+07:00How to Fix "DNS Probe Finished No Internet" Error<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeK2EYVfGFsGQt1GfO-F0OmVoalwbTf3bitQOVwELT8AO7IpXX8gJKYKYhil0p3JlH91n95zO9-9u7eAl9YfRIoWmCKePLXQ8f3OGr_loG10WZflopwCFc04mvt8Dfv640sr5aAXPfjx98/s1600/dns-probe-finished-no-internet-error.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="How to Fix "DNS Probe Finished No Internet" Error" border="0" height="208" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeK2EYVfGFsGQt1GfO-F0OmVoalwbTf3bitQOVwELT8AO7IpXX8gJKYKYhil0p3JlH91n95zO9-9u7eAl9YfRIoWmCKePLXQ8f3OGr_loG10WZflopwCFc04mvt8Dfv640sr5aAXPfjx98/s320/dns-probe-finished-no-internet-error.jpg" title="How to Fix "DNS Probe Finished No Internet" Error" width="320" /></a></div>
<br />
<a href="http://paperforshare.blogspot.com/2016/04/how-to-fix-dns-probe-finished-no-internet-error.html" target="_blank"><strong>How to Fix "DNS Probe Finished No Internet" Error</strong></a> - Have you ever receive "<u>DNS Probe Finished No Internet</u>" error message on your browser while trying to connect to internet? It probably caused by several reasons, but you may try these solutions to fix it.<br />
<br />
Below are some sollutions that might usefull for you:<br />
<br />
<h3>
1. Using public DNS</h3>
Your ISP already have one, but there may be several error in your default DNS so you can always try public DNS. <a href="http://paperforshare.blogspot.com/2016/03/automatically-obtain-domain-name-service-using-public-dns-open-dns-ip-and-google-dns-ip.html" target="_blank"><b>Read more in this article</b></a>.<br />
<br />
<h3>
2. Renewing IP address</h3>
Connecting to public connection and obtain IP address automatically may cause to have IP crash. Renewing it may solve the problem, so here’s how to do it:<br />
<br />
<ol>
<li>Open Command Prompt by typing cmd in windows search box, then hit enter.</li>
<li>Type "<b>ipconfig /release</b>" then hit enter.</li>
<li>Continue by typing "<b>ipconfig /renew</b>" then hit enter.</li>
</ol>
<br />
<h4>
3. Flush DNS</h4>
<br />
In most cases, flushing DNS is the solution you needed. Follow this steps<br />
<br />
<ol>
<li>Open up Command Prompt, type in "<b style="background-color: #e69138;">ipconfig /flushdns</b>" and hit enter. </li>
<li>Once done, type in "<b style="background-color: #e69138;">netsh winsock reset</b>" and press enter. After that, you can restart your computer.</li>
</ol>
<br />
<h4>
4. Reboot your router</h4>
<br />
If none of above solution works, try to reboot your router from the router setting.<br />
<br />
Okay, that's four ways you can try to solve about <u style="font-weight: bold;">DNS Probe Finished No Internet</u>. I hope it useful and thanks for your visit.<br />
<br />
<b>YOU NEED TO KNOW</b><br />
<br />
<ul>
<li><a href="http://paperforshare.blogspot.com/2014/07/how-to-offline-browsing-in-google-chrome.html" target="_blank">How to Offline Browsing in Google Chrome</a></li>
<li><a href="http://paperforshare.blogspot.com/2014/07/microsoft-microsoft-stopping-nokia-x.html" target="_blank">[Microsoft] Microsoft Stopping Nokia X</a></li>
<li><a href="http://paperforshare.blogspot.com/2013/02/how-to-create-usb-bootable-using-rufus.html" target="_blank">How to Create USB Bootable Using Rufus</a></li>
<li><a href="http://paperforshare.blogspot.com/2014/09/advanced-for-hiding-files-or-folders-on-windows-using-easy-file-locker.html" target="_blank">Advanced for Hiding Files or Folder on Windows</a></li>
</ul>
<br />
<br />
Paper 4Share - <a href="http://paperforshare.blogspot.com/2016/04/how-to-fix-dns-probe-finished-no-internet-error.html" target="_blank"><strong>How to Fix "DNS Probe Finished No Internet" Error</strong></a>Anonymoushttp://www.blogger.com/profile/00080147742249972721noreply@blogger.comtag:blogger.com,1999:blog-4369995830928019733.post-32835256828486197992016-04-10T10:34:00.000+07:002016-05-03T12:41:44.009+07:00Getting Started with Accelerated Mobile Pages (AMP) HTML<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiSw1LavJiqlcfsEej31M72saeDu0JX4_RNLfha6fDJcYSgPTvQv0rEd8L-Cn73E6j1FjOyvyodG9inJgaAx4lbS5K0T2ZMZIKWE7MUJxaZ_T_mxLMfuSoad-D5qcAuV6szWaYuf_l4Cqu/s1600/AMP-Accelerated-Mobile-Pages.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="179" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiSw1LavJiqlcfsEej31M72saeDu0JX4_RNLfha6fDJcYSgPTvQv0rEd8L-Cn73E6j1FjOyvyodG9inJgaAx4lbS5K0T2ZMZIKWE7MUJxaZ_T_mxLMfuSoad-D5qcAuV6szWaYuf_l4Cqu/s320/AMP-Accelerated-Mobile-Pages.png" width="320" /></a></div>
<br />
<a href="http://paperforshare.blogspot.com/2016/04/getting-started-with-accelerated-mobile-pages-amp-html.html" target="_blank"><strong>Getting Started with Accelerated Mobile Pages (AMP) HTML</strong></a> - AMP is the technology from google developer for optimizing a web mobile. For the overview of AMP, you can read this post <b style="background-color: lime;"><a href="http://paperforshare.blogspot.com/2016/03/optimize-website-with-accelerated-mobile-pages-amp-html.html" target="_blank">Optimize Website Using Accelerated Mobile Pages (AMP) HTML</a></b><br />
<br />
<h3>
Create First Code AMP HTML</h3>
Open your text edit. You can use a Notepad or sublime<br />
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<table><tbody>
<tr><td><pre style="line-height: 125%; margin: 0;"> 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25</pre>
</td><td><pre style="line-height: 125%; margin: 0;"><span style="color: #557799;"><!doctype html></span>
<span style="color: #007700;"><html</span> <span style="color: #0000cc;">amp</span> <span style="color: #0000cc;">lang=</span><span style="background-color: #fff0f0;">"en"</span><span style="color: #007700;">></span>
<span style="color: #007700;"><head></span>
<span style="color: #007700;"><meta</span> <span style="color: #0000cc;">charset=</span><span style="background-color: #fff0f0;">"utf-8"</span><span style="color: #007700;">></span>
<span style="color: #007700;"><title></span>Hello World with AMP<span style="color: #007700;"></title></span>
<span style="color: #007700;"><link</span> <span style="color: #0000cc;">rel=</span><span style="background-color: #fff0f0;">"canonical"</span> <span style="color: #0000cc;">href=</span><span style="background-color: #fff0f0;">"http://www.paperforshare.tk/article-with-amp.html"</span> <span style="color: #007700;">/></span>
<span style="color: #007700;"><meta</span> <span style="color: #0000cc;">name=</span><span style="background-color: #fff0f0;">"viewport"</span> <span style="color: #0000cc;">content=</span><span style="background-color: #fff0f0;">"width=device-width,minimum-scale=1,initial-scale=1"</span><span style="color: #007700;">></span>
<span style="color: #007700;"><script </span><span style="color: #0000cc;">type=</span><span style="background-color: #fff0f0;">"application/ld+json"</span><span style="color: #007700;">></span>
{
<span style="background-color: #fff0f0;">"@context"</span><span style="color: #333333;">:</span> <span style="background-color: #fff0f0;">"http://schema.org"</span>,
<span style="background-color: #fff0f0;">"@type"</span><span style="color: #333333;">:</span> <span style="background-color: #fff0f0;">"NewsArticle"</span>,
<span style="background-color: #fff0f0;">"headline"</span><span style="color: #333333;">:</span> <span style="background-color: #fff0f0;">"My first Website with AMP HTML"</span>,
<span style="background-color: #fff0f0;">"datePublished"</span><span style="color: #333333;">:</span> <span style="background-color: #fff0f0;">"2016-04-10T10:02:41Z"</span>,
<span style="background-color: #fff0f0;">"image"</span><span style="color: #333333;">:</span> [
<span style="background-color: #fff0f0;">"logo-amp.jpg"</span>
]
}
<span style="color: #007700;"></script></span>
<span style="color: #007700;"><style </span><span style="color: #0000cc;">amp-boilerplate</span><span style="color: #007700;">>body</span>{<span style="color: #333333;">-</span>webkit<span style="color: #333333;">-</span>animation<span style="color: #333333;">:-</span>amp<span style="color: #333333;">-</span>start <span style="color: #6600ee; font-weight: bold;">8s</span> steps(<span style="color: #6600ee; font-weight: bold;">1</span><span style="color: #333333;">,</span>end) <span style="color: #6600ee; font-weight: bold;">0s</span> <span style="color: #6600ee; font-weight: bold;">1</span> <span style="color: #008800; font-weight: bold;">normal</span> <span style="color: #008800; font-weight: bold;">both</span>;<span style="color: #333333;">-</span>moz<span style="color: #333333;">-</span>animation<span style="color: #333333;">:-</span>amp<span style="color: #333333;">-</span>start <span style="color: #6600ee; font-weight: bold;">8s</span> steps(<span style="color: #6600ee; font-weight: bold;">1</span><span style="color: #333333;">,</span>end) <span style="color: #6600ee; font-weight: bold;">0s</span> <span style="color: #6600ee; font-weight: bold;">1</span> <span style="color: #008800; font-weight: bold;">normal</span> <span style="color: #008800; font-weight: bold;">both</span>;<span style="color: #333333;">-</span>ms<span style="color: #333333;">-</span>animation<span style="color: #333333;">:-</span>amp<span style="color: #333333;">-</span>start <span style="color: #6600ee; font-weight: bold;">8s</span> steps(<span style="color: #6600ee; font-weight: bold;">1</span><span style="color: #333333;">,</span>end) <span style="color: #6600ee; font-weight: bold;">0s</span> <span style="color: #6600ee; font-weight: bold;">1</span> <span style="color: #008800; font-weight: bold;">normal</span> <span style="color: #008800; font-weight: bold;">both</span>;animation<span style="color: #333333;">:-</span>amp<span style="color: #333333;">-</span>start <span style="color: #6600ee; font-weight: bold;">8s</span> steps(<span style="color: #6600ee; font-weight: bold;">1</span><span style="color: #333333;">,</span>end) <span style="color: #6600ee; font-weight: bold;">0s</span> <span style="color: #6600ee; font-weight: bold;">1</span> <span style="color: #008800; font-weight: bold;">normal</span> <span style="color: #008800; font-weight: bold;">both</span>}<span style="color: #008800; font-weight: bold;">@-webkit-keyframes</span> <span style="color: #007700;">-amp-start</span>{<span style="color: #007700;">from</span>{<span style="color: #008800; font-weight: bold;">visibility</span><span style="color: #333333;">:</span><span style="color: #008800; font-weight: bold;">hidden</span>}<span style="color: #007700;">to</span>{<span style="color: #008800; font-weight: bold;">visibility</span><span style="color: #333333;">:</span><span style="color: #008800; font-weight: bold;">visible</span>}}<span style="color: #008800; font-weight: bold;">@-moz-keyframes</span> <span style="color: #007700;">-amp-start</span>{<span style="color: #007700;">from</span>{<span style="color: #008800; font-weight: bold;">visibility</span><span style="color: #333333;">:</span><span style="color: #008800; font-weight: bold;">hidden</span>}<span style="color: #007700;">to</span>{<span style="color: #008800; font-weight: bold;">visibility</span><span style="color: #333333;">:</span><span style="color: #008800; font-weight: bold;">visible</span>}}<span style="color: #008800; font-weight: bold;">@-ms-keyframes</span> <span style="color: #007700;">-amp-start</span>{<span style="color: #007700;">from</span>{<span style="color: #008800; font-weight: bold;">visibility</span><span style="color: #333333;">:</span><span style="color: #008800; font-weight: bold;">hidden</span>}<span style="color: #007700;">to</span>{<span style="color: #008800; font-weight: bold;">visibility</span><span style="color: #333333;">:</span><span style="color: #008800; font-weight: bold;">visible</span>}}<span style="color: #008800; font-weight: bold;">@-o-keyframes</span> <span style="color: #007700;">-amp-start</span>{<span style="color: #007700;">from</span>{<span style="color: #008800; font-weight: bold;">visibility</span><span style="color: #333333;">:</span><span style="color: #008800; font-weight: bold;">hidden</span>}<span style="color: #007700;">to</span>{<span style="color: #008800; font-weight: bold;">visibility</span><span style="color: #333333;">:</span><span style="color: #008800; font-weight: bold;">visible</span>}}<span style="color: #008800; font-weight: bold;">@keyframes</span> <span style="color: #007700;">-amp-start</span>{<span style="color: #007700;">from</span>{<span style="color: #008800; font-weight: bold;">visibility</span><span style="color: #333333;">:</span><span style="color: #008800; font-weight: bold;">hidden</span>}<span style="color: #007700;">to</span>{<span style="color: #008800; font-weight: bold;">visibility</span><span style="color: #333333;">:</span><span style="color: #008800; font-weight: bold;">visible</span>}}<span style="color: #007700;"></style><noscript><style </span><span style="color: #0000cc;">amp-boilerplate</span><span style="color: #007700;">>body</span>{<span style="color: #333333;">-</span>webkit<span style="color: #333333;">-</span>animation<span style="color: #333333;">:</span><span style="color: #008800; font-weight: bold;">none</span>;<span style="color: #333333;">-</span>moz<span style="color: #333333;">-</span>animation<span style="color: #333333;">:</span><span style="color: #008800; font-weight: bold;">none</span>;<span style="color: #333333;">-</span>ms<span style="color: #333333;">-</span>animation<span style="color: #333333;">:</span><span style="color: #008800; font-weight: bold;">none</span>;animation<span style="color: #333333;">:</span><span style="color: #008800; font-weight: bold;">none</span>}<span style="color: #007700;"></style></noscript></span>
<span style="color: #007700;"><script </span><span style="color: #0000cc;">async</span> <span style="color: #0000cc;">src=</span><span style="background-color: #fff0f0;">"https://cdn.ampproject.org/v0.js"</span><span style="color: #007700;">></script></span>
<span style="color: #007700;"></head></span>
<span style="color: #007700;"><body></span>
<span style="color: #007700;"><h1></span>Paper 4Share<span style="color: #007700;"></h1></span></pre>
<pre style="line-height: 125%; margin: 0;"> <p>Welcome to article with AMP HTML</p>
<span style="color: #007700;"></body></span>
<span style="color: #007700;"></html></span>
</pre>
</td></tr>
</tbody></table>
</div>
<br />
Copy than paste to you text editor the code at above. After it save as html document. Our doccument are saved with <b>article-with-amp.html</b><br />
<br />
<h3>
Testing and Validation</h3>
<div>
In this section, Paper 4Share using local webserver (localhost). Open your document using your Chrome browser. After it open inspect element tool (Ctrl+Shift+i). And than look in the console box. Look at pictures below.</div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWauuNWHOrMLTeBxn6FZjZs_B6qOcOj-dpRZB8UuPPj8WdlG_h0UB2iqkEOozYgnphVl93qcnaOLPoEPbgcZySZ4c6dyxgKtp6CdKh6jJ8qLMrYXXsmvBUJiG5giLJ2qyGQY1teofkbtfC/s1600/amp-html-1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Getting Started with Accelerated Mobile Pages (AMP) HTML" border="0" height="178" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWauuNWHOrMLTeBxn6FZjZs_B6qOcOj-dpRZB8UuPPj8WdlG_h0UB2iqkEOozYgnphVl93qcnaOLPoEPbgcZySZ4c6dyxgKtp6CdKh6jJ8qLMrYXXsmvBUJiG5giLJ2qyGQY1teofkbtfC/s320/amp-html-1.png" title="Getting Started with Accelerated Mobile Pages (AMP) HTML" width="320" /></a></div>
<div>
<br /></div>
<div>
Look at to the red box on above pictures. If the results is looks like <b style="background-color: lime;">Powered by AMP ⚡ HTML – Version 1459447315826</b><span style="background-color: white;"> so your document is success loaded with technology Accelerated Mobile Pages (AMP) HTML.</span></div>
<div>
<span style="background-color: white;"><br /></span></div>
<div>
<span style="background-color: white;">Okay, now you must checking the doccument. Is it valid doccument or not? How to check it for valid AMP Doccument?? Please follow this article.</span></div>
<div>
<span style="background-color: white;"><br /></span></div>
<div>
<span style="background-color: white;">Still on the your browser, give the parameter on your URL address in address bar of AMP Doccument. For example, our URL is </span><b>http://localhost/test/article-with-amp.html</b>, add paramaters <b>#development=1</b> at the last our URL, so you URL looks like this http://localhost/test/article-with-amp.html<span style="background-color: lime;">#development=1</span><span style="background-color: white;">. Look at below.</span></div>
<div>
<span style="background-color: white;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkEXf-gz4KqPc7DNNWf2JL5FnWb-TZ7pYIfVXgRr6kz6o-0j_mLe0-CqzDC5ydSyBzgUM2IQP4pbdmUTF4OTNH-aWrnPlpAO_CeE8yiQoEpPxOJzIVt_Y0XJBqithN2iTHnCN3EbsDSA-l/s1600/amp-html-2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Getting Started with Accelerated Mobile Pages (AMP) HTML" border="0" height="178" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkEXf-gz4KqPc7DNNWf2JL5FnWb-TZ7pYIfVXgRr6kz6o-0j_mLe0-CqzDC5ydSyBzgUM2IQP4pbdmUTF4OTNH-aWrnPlpAO_CeE8yiQoEpPxOJzIVt_Y0XJBqithN2iTHnCN3EbsDSA-l/s320/amp-html-2.png" title="Getting Started with Accelerated Mobile Pages (AMP) HTML" width="320" /></a></div>
<div>
<span style="background-color: white;"><br /></span></div>
<div>
<span style="background-color: white;"><b>Notes:</b></span></div>
<div>
<ul>
<li>First greenbox is the parameter that given.</li>
<li>Second green box is the result of validation</li>
</ul>
<div>
I hope, your first doccument working properly and successful for validation. Keep on this article, on the next article, we can explain how to load image on AMP html doccuments. Thanks for your visit.</div>
</div>
<div>
<br /></div>
<div>
Paper 4Share - <a href="http://paperforshare.blogspot.com/2016/04/getting-started-with-accelerated-mobile-pages-amp-html.html" target="_blank"><i><strong>Getting Started with Accelerated Mobile Pages (AMP) HTML</strong></i></a></div>
Anonymoushttp://www.blogger.com/profile/00080147742249972721noreply@blogger.comtag:blogger.com,1999:blog-4369995830928019733.post-77185264455789335282016-04-09T09:44:00.000+07:002016-05-03T12:42:47.281+07:00What is C++ Language??<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHiXEQFnxok8KuUex3oObRNOUTuCkX5MuJmBhIs-zFWFzXPu5ri6h0Jtj8TIxTCrE1lWxWqxOOVRpD74sgUl9zngqv8G0z11Irm5x4mDJbO0Z_q9YgG4mrtLg3SUtmiSkX8R71whi5TCm5/s1600/Dev-C-Portable.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="What is C++ Language??" border="0" height="241" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHiXEQFnxok8KuUex3oObRNOUTuCkX5MuJmBhIs-zFWFzXPu5ri6h0Jtj8TIxTCrE1lWxWqxOOVRpD74sgUl9zngqv8G0z11Irm5x4mDJbO0Z_q9YgG4mrtLg3SUtmiSkX8R71whi5TCm5/s320/Dev-C-Portable.png" title="What is C++ Language??" width="320" /></a></div>
What is that?? <img border="0" src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/7.gif" height="18" width="18" /><br />
C++ is one of the most popular programming languages. How did that happen??<br />
it is because C++ is a development of the C language made by Bell Labs (Dennis Ritchie) in 1970.<br />
<br />
Who is C++ language developers??<br />
Do you know Bjarne Stroustrup ?? <img border="0" src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/4.gif" height="18" width="18" /><br />
If you ask to me, I dont know, hehehe....<br />
Bjarne Stroustrup is developer of C++ Language. Bjarne Stroustrup was starting development it in 1980.<br />
Wooww.... amazing people bro....<br />
<br />
C++ has greatly influenced many other popular programming languages, most notably C#<sup class="reference" id="cite_ref-influenceSharp_2-1"><a href="http://en.wikipedia.org/wiki/C%2B%2B#cite_note-influenceSharp-2"></a></sup> and Java. Other successful languages such as Objective-C use a very different syntax and approach to adding classes to C. Like Java Programming, C++ is also used to Software application bassed Grapich User Interface (GUI). <span class="" id="result_box" lang="en"><span class="hps">In addition,</span> <span class="hps">C</span> <span class="hps">+ +</span> <span class="hps">is a programming language</span> <span class="hps">that</span> <span class="hps">has the</span> <span class="hps">properties of</span> <span class="hps">Object</span><span class="">-Oriented Programming</span><span class=""> (OOP).</span></span><br />
<br />
How to compare C with C++??<br />
if you are one of programmer C or C++, certainly you can compare C or C++. From the sintax of C or C++, it is very different. For example, in the C Language, the sintax to use displaying text is using <i style="color: #0b5394;"><span style="color: #3d85c6;">printf("text here")</span>;</i><span style="color: #0b5394;"> </span>and if the C++ Languange, the sintax is using <i style="color: #0b5394;">cout<<"text here";</i>. And also you can see in the start script, the Preprocessor directives used C Language is <i style="color: #3d85c6;">#include<stdio.h>;</i> and if in C++ language, the Preprocessor directives of C++ is <i style="color: #3d85c6;">#include<iostream.h></i>.<br />
<br />
Okay, it is a little knowladge about <a href="http://paperforshare.blogspot.com/2013/02/what-is-c-language.html" target="_blank"><span style="color: cyan;">C++</span></a> Language.<span class="short_text" id="result_box" lang="en"><span class="hps alt-edited"> I hope useful <img border="0" src="http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/1.gif" height="18" width="18" /> </span></span><br />
<span class="short_text" id="result_box" lang="en"><span class="hps alt-edited">Happy <a href="http://paperforshare.blogspot.com/" target="_blank"><span style="color: red;"><blink>Paper 4Share</blink></span></a> !! </span></span>Anonymoushttp://www.blogger.com/profile/00080147742249972721noreply@blogger.comtag:blogger.com,1999:blog-4369995830928019733.post-5289659265798391412016-04-08T08:40:00.000+07:002016-05-03T12:44:19.115+07:00List of Online Regex Tester<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGLP7DwyD4o8c9IOuNPoexzY399BAh4b3Jrs6VuLHb0O5kNQKane7CpHNmfRlMzZUyGll9-MqUJWNEdjbwjWIWRzn2Loc4NKSx8DO-pnjftpBw7tktvFrdE9eT-5mKpoFPsn8f7yHn_xpj/s1600/online-regex-tester.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="List of Online Regex Tester" border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGLP7DwyD4o8c9IOuNPoexzY399BAh4b3Jrs6VuLHb0O5kNQKane7CpHNmfRlMzZUyGll9-MqUJWNEdjbwjWIWRzn2Loc4NKSx8DO-pnjftpBw7tktvFrdE9eT-5mKpoFPsn8f7yHn_xpj/s320/online-regex-tester.png" title="List of Online Regex Tester" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><i>Images:itunes.apple.com</i></td></tr>
</tbody></table>
<br />
<a href="http://paperforshare.blogspot.com/2016/04/list-of-online-regex-tester.html" target="_blank">List of Online Regex Tester</a> - what is regex? and what is the fuction of regex in programming? Today Paper 4Share share a little knowladge about <u>regex</u>.<br />
<br />
<h3>
About Regex </h3>
The long name of <u><b>regex is Regular Expression</b></u> it a technique for matching a string in a strings. For example we can use a regex technique for mathcing a specific characters, words, and the word with specific patterns.<br />
<br />
Regex has implemented in many <u>programming language</u> like PHP, CPP, C#, JAVASCRIPT, etc. Using regex, programmers will be easy to solve the problems based on text string. For example like the text below<br />
<br />
Example text string:<br />
<blockquote class="tr_bq">
Edit the Expression & Text to see matches. Roll over matches or the expression for details. Undo mistakes with ctrl-z. Save Favorites & Share expressions with friends or the Community. Explore your results with Tools. A full Reference & Help is available in the Library, or watch the video Tutorial. paper 4share</blockquote>
Based on the text string above, we just need a words with a capital letter at the beginning of the word. So the pattern of the regex needed is below.<br />
<br />
Pattern Regex:<br />
<blockquote class="tr_bq">
([A-Z])\w+</blockquote>
Using it pattern you will get all the words with a capital letter at the begingging of the word.<br />
<br />
<h3>
List of Free Online Regex Tester</h3>
<ol>
<li>RegEkr: Learn, Build & Test RegEx. <a href="http://regexr.com/" rel="nofollow" target="_blank">http://regexr.com/</a></li>
<li>Regex Tester - Javascript, PCRE, PHP. <a href="http://www.regexpal.com/" rel="nofollow" target="_blank">http://www.regexpal.com/</a></li>
<li>Online regex tester and debugger: JavaScript, Python, PHP, and PCRE. <a href="https://regex101.com/" rel="nofollow" target="_blank">https://regex101.com/</a></li>
<li>.NET Regex Tester - Regex Storm. <a href="http://regexstorm.net/tester" rel="nofollow" target="_blank">http://regexstorm.net/tester</a></li>
<li> Myregesterter.com. <a href="https://myregextester.com/" rel="nofollow" target="_blank">https://myregextester.com/</a></li>
<li>RegexPlanet: online regular expression testing for Java. <a href="http://www.regexplanet.com/advanced/java/index.html" rel="nofollow" target="_blank">http://www.regexplanet.com/advanced/java/index.html</a></li>
</ol>
Okay, above is list of online tester. You can choose one of the tester above for your experiment. If you have questions about regex (regular expression), you can leave the comment below. Thanks for your visit.<br />
<br />
Paper 4Share - <a href="http://paperforshare.blogspot.com/2016/04/list-of-online-regex-tester.html" target="_blank">List of Online Regex Tester</a>Anonymoushttp://www.blogger.com/profile/00080147742249972721noreply@blogger.comtag:blogger.com,1999:blog-4369995830928019733.post-10386709858451006892016-03-27T09:43:00.002+07:002016-05-03T12:46:42.794+07:00Automatically Obtain Domain Name Service Using Public DNS Open DNS IP and Google DNS IP<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSyTZ3ofXSSW3r6mAYqZxZe3CrcdceRhletP0WxdQwXli9XW70LOG-YlbnuYhcVytL5HrIvXpsfQefPQE76G1OIMqbhd9re_owvO4gQlUHFfk_P47bLP3Oxl7vUTVUhLm2HUSU4QE5frAA/s1600/automatically-obtain-domain-name-service-using-public-dns-open-dns-ip-and-google-dns-ip.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Automatically Obtain Domain Name Service Using Public DNS Open DNS IP and Google DNS IP" border="0" height="224" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSyTZ3ofXSSW3r6mAYqZxZe3CrcdceRhletP0WxdQwXli9XW70LOG-YlbnuYhcVytL5HrIvXpsfQefPQE76G1OIMqbhd9re_owvO4gQlUHFfk_P47bLP3Oxl7vUTVUhLm2HUSU4QE5frAA/s320/automatically-obtain-domain-name-service-using-public-dns-open-dns-ip-and-google-dns-ip.jpg" title="Automatically Obtain Domain Name Service Using Public DNS Open DNS IP and Google DNS IP" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-size: x-small;">Image: vpnexpress.net</span></td></tr>
</tbody></table>
<br />
<strong><a href="http://paperforshare.blogspot.com/2016/03/automatically-obtain-domain-name-service-using-public-dns-open-dns-ip-and-google-dns-ip.html" target="_blank">Automatically Obtain Domain Name Service Using Public DNS Open DNS IP and Google DNS IP</a></strong>- Internet service providers (ISPs) already have DNS server for you, but you might getting troubles such as "<a href="http://paperforshare.blogspot.com/2016/04/how-to-fix-dns-probe-finished-no-internet-error.html" target="_blank">DNS Probe Finished No Internet</a>". You can always try public DNS as well such as <b>Google Public DNS IP</b> or <b>OpenDNS IP</b>. Most of experts in internet stated that third-party DNS Server can be faster than your ISP’s DNS Server. Also, some third-party DNS Server features web content filtering, bypassing censorship, and even security and phishing protection!<br />
<br />
<b>READ</b> : <b><a href="http://paperforshare.blogspot.com/2014/09/6-tips-for-how-to-bypass-limited-access-local-network-internet-block.html" target="_blank">6 tips for how to Bypass Limited Access an Internet</a></b><br />
<br />
The best part is you don’t necessarily needs third-party tools to start using public DNS (<u><strong>Open DNS IP</strong></u> and <i>Google Public DNS IP</i>)! Here are simple steps to do it.<br />
<br />
<ol>
<li>Go to windows task bar and right click your network icon then click on "<span style="background-color: lime;">Network and Sharing Center</span>".</li>
<li>Afterwards, click on "<span style="background-color: lime;">Local Area Connection"</span> (if your connection using LAN) or "<span style="background-color: lime;">Wireless Connection"</span> (if your connection using HostSpot WIFI) to access a new window then click Properties.</li>
<li>Select "<b>Internet Protocol Version 4</b>" and hit "<b>Properties</b>".</li>
<li>A new window will show up and you can click the radio button "<span style="background-color: orange;">Use the following DNS server addresses</span>".</li>
<li>Type in "Preferred DNS server" and "Alternate DNS server" and proceed to click OK on all the windows opened. <u>Here are the lists of open DNS server you can use Open DNS IP or Google DNS</u>:</li>
</ol>
<ul>
<li>208.67.222.222 (OpenDNS IP)</li>
<li>208.67.220.220 (Open DNS IP)</li>
<li>8.8.8.8 (Google Public DNS)</li>
<li>8.8.4.4 (Google Public DNS)</li>
</ul>
<blockquote class="tr_bq">
<b>RECOMMENDED</b> </blockquote>
<blockquote class="tr_bq">
*) <a href="http://paperforshare.blogspot.com/2016/03/how-to-turn-on-wi-fi-hotspot-in-windows-10-8-7-using-cmd-command-prompt.html" target="_blank">How to turn on Wi-Fi Hotspot in Windows 10 / 8 / 7 Using Command Prompt (CMD)</a> </blockquote>
<blockquote class="tr_bq">
*) <a href="http://paperforshare.blogspot.com/2014/09/simple-ways-how-to-hide-files-or-folders-on-windows.html" target="_blank">Simple Ways How to Hide a Files or Folders on Windows</a> </blockquote>
<blockquote class="tr_bq">
*) <a href="http://paperforshare.blogspot.com/2014/09/simple-ways-how-to-hide-files-or-folders-on-windows.html" target="_blank">How to Disable windows update in Windows 10</a></blockquote>
Paper 4Share - <i><a href="http://paperforshare.blogspot.com/2016/03/automatically-obtain-domain-name-service-using-public-dns-open-dns-ip-and-google-dns-ip.html" target="_blank"><strong>Automatically Obtain Domain Name Service Using Public DNS Open DNS IP and Google DNS IP</strong></a></i><br />
<br />Anonymoushttp://www.blogger.com/profile/00080147742249972721noreply@blogger.comtag:blogger.com,1999:blog-4369995830928019733.post-6054350719194879912016-03-12T09:02:00.000+07:002016-05-03T12:47:19.025+07:00Optimize Website with Accelerated Mobile Pages (AMP) HTML<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTsiQ5dk4OWyLey0jnA-QFWMAhQFX-R_RAltXC8j5xyk3xiDoZhErR9Hp6nWv-SwPDhkHwiZWD17St_vRYXaWl16RcvGpo1pvJAa33EJZ54VxQ5nPtdg346ma0o3Wv0TU_rv86PO-bYuEj/s1600/AMP-Accelerated-Mobile-Pages.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Optimize Website with Accelerated Mobile Pages (AMP)" border="0" height="179" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTsiQ5dk4OWyLey0jnA-QFWMAhQFX-R_RAltXC8j5xyk3xiDoZhErR9Hp6nWv-SwPDhkHwiZWD17St_vRYXaWl16RcvGpo1pvJAa33EJZ54VxQ5nPtdg346ma0o3Wv0TU_rv86PO-bYuEj/s320/AMP-Accelerated-Mobile-Pages.png" title="Optimize Website with Accelerated Mobile Pages (AMP)" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-style: italic;">Image: creativeg.gr</span></td></tr>
</tbody></table>
<a href="http://paperforshare.blogspot.com/2016/03/optimize-website-with-accelerated-mobile-pages-amp-html.h" target="_blank"><strong>Optimize Website with Accelerated Mobile Pages (AMP) HTML</strong></a> - Did you know what is AMP? AMP is Accelerated Mobile Pages, that is a technology from Google Developers. Using AMP, the speed of web pages will be faster up to 80%.<br />
<br />
To use AMP, we can't use the Javascript Library other than the AMP Library. This makes the web pages use AMP Technology will be faster. Priority of the AMP Technology is used to Mobile Pages, but its no problem if used to Desktop pages.<br />
<br />
The web pages that use AMP, it have custom HTML tag for example <span style="color: blue;"><img></span> changed to <span style="color: blue;"><amp-img></span> or <span style="color: blue;"><video></span> changed to <span style="color: blue;"><amp-video></span>. And than if you wanna embed some video using <span style="color: blue;"><iframe></span> so you must load the iframe library for AMP.<br />
<br />
Make web pages use AMP based, we can not use inline CSS like <p <span style="color: red;"><b>style="padding: 10px"</b></span>>. Okay, the next article, <a href="http://paperforshare.blogspot.com/2016/04/getting-started-with-accelerated-mobile-pages-amp-html.html" target="_blank">Getting Started with <b><u>Accelerated Mobile Pages (AMP) HTML</u></b></a>.<br />
<br />
Paper 4Share - <a href="http://paperforshare.blogspot.com/2016/03/optimize-website-with-accelerated-mobile-pages-amp-html.h" target="_blank"><i><strong>Optimize Website with Accelerated Mobile Pages (AMP) HTML</strong></i></a>Anonymoushttp://www.blogger.com/profile/00080147742249972721noreply@blogger.comtag:blogger.com,1999:blog-4369995830928019733.post-9268895830796443792016-03-04T13:28:00.000+07:002016-05-03T12:48:27.605+07:00Compile C/C++ Using Dev C++ PortableCompile is the progress to translating the script to be read by the machine. While "Compiler" is the activity of compile using tools. In Programer World, compile is the daily activities. The compiler is the needed by programers to create a software or application.<br />
<br />
With the Dev C++ Portable tool, the programmers C/C++<span class="short_text" id="result_box" lang="en"><span class="hps"></span> <span class="hps">more easily</span> <span class="hps">to</span> <span class="hps">work.</span></span> Below is a screenshoot of <a href="http://paperforshare.blogspot.com/2013/02/compiler-cc-dengan-dev-c-portable.html" style="color: red;">Dev C++ Portable</a> tool.
<br />
<br />
<div style="text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgb5fmnbOA0TJ4rLuRVYx85wJg5t9QF4w3GizFMZUwM2iPx9cwh6_liyc_VOw7KUXpNXqrOSPgDJO1NBiWS1lKxDgeVkQh2epPszPRN7Ag2xNE-6cN8G-irGgsKL1OK-7ohJijvg8rWizit/s1600/Dev-C-Portable.png" imageanchor="1"><img border="0" height="241" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgb5fmnbOA0TJ4rLuRVYx85wJg5t9QF4w3GizFMZUwM2iPx9cwh6_liyc_VOw7KUXpNXqrOSPgDJO1NBiWS1lKxDgeVkQh2epPszPRN7Ag2xNE-6cN8G-irGgsKL1OK-7ohJijvg8rWizit/s320/Dev-C-Portable.png" width="320" /></a>
</div>
<br />
This tool runs on Windows Operating Systems (OS). Minimum of Windows OS is Windows XP and higher.<br />
To download this tools, please klik here<span style="color: red;"> </span><a href="http://adf.ly/J2sHk" style="color: red;" target="_blank">Here</a><span style="color: cyan;">.</span>
<br />
Hopefully useful <!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:TrackMoves/>
<w:TrackFormatting/>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:DoNotPromoteQF/>
<w:LidThemeOther>EN-US</w:LidThemeOther>
<w:LidThemeAsian>X-NONE</w:LidThemeAsian>
<w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
<w:SplitPgBreakAndParaMark/>
<w:DontVertAlignCellWithSp/>
<w:DontBreakConstrainedForcedTables/>
<w:DontVertAlignInTxbx/>
<w:Word11KerningPairs/>
<w:CachedColBalance/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
<m:mathPr>
<m:mathFont m:val="Cambria Math"/>
<m:brkBin m:val="before"/>
<m:brkBinSub m:val="--"/>
<m:smallFrac m:val="off"/>
<m:dispDef/>
<m:lMargin m:val="0"/>
<m:rMargin m:val="0"/>
<m:defJc m:val="centerGroup"/>
<m:wrapIndent m:val="1440"/>
<m:intLim m:val="subSup"/>
<m:naryLim m:val="undOvr"/>
</m:mathPr></w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
DefSemiHidden="true" DefQFormat="false" DefPriority="99"
LatentStyleCount="267">
<w:LsdException Locked="false" Priority="0" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Normal"/>
<w:LsdException Locked="false" Priority="9" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="heading 1"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/>
<w:LsdException Locked="false" Priority="39" Name="toc 1"/>
<w:LsdException Locked="false" Priority="39" Name="toc 2"/>
<w:LsdException Locked="false" Priority="39" Name="toc 3"/>
<w:LsdException Locked="false" Priority="39" Name="toc 4"/>
<w:LsdException Locked="false" Priority="39" Name="toc 5"/>
<w:LsdException Locked="false" Priority="39" Name="toc 6"/>
<w:LsdException Locked="false" Priority="39" Name="toc 7"/>
<w:LsdException Locked="false" Priority="39" Name="toc 8"/>
<w:LsdException Locked="false" Priority="39" Name="toc 9"/>
<w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/>
<w:LsdException Locked="false" Priority="10" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Title"/>
<w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/>
<w:LsdException Locked="false" Priority="11" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/>
<w:LsdException Locked="false" Priority="22" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Strong"/>
<w:LsdException Locked="false" Priority="20" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/>
<w:LsdException Locked="false" Priority="0" Name="HTML Code"/>
<w:LsdException Locked="false" Priority="59" SemiHidden="false"
UnhideWhenUsed="false" Name="Table Grid"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>
<w:LsdException Locked="false" Priority="1" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 1"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 1"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 1"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/>
<w:LsdException Locked="false" Priority="34" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/>
<w:LsdException Locked="false" Priority="29" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Quote"/>
<w:LsdException Locked="false" Priority="30" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 1"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 1"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 2"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 2"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 2"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 2"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 2"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 3"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 3"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 3"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 3"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 3"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 4"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 4"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 4"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 4"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 4"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 5"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 5"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 5"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 5"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 5"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 6"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 6"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 6"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 6"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 6"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>
<w:LsdException Locked="false" Priority="19" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/>
<w:LsdException Locked="false" Priority="21" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/>
<w:LsdException Locked="false" Priority="31" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/>
<w:LsdException Locked="false" Priority="32" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/>
<w:LsdException Locked="false" Priority="33" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Book Title"/>
<w:LsdException Locked="false" Priority="37" Name="Bibliography"/>
<w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/>
</w:LatentStyles>
</xml><![endif]--><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
</style>
<![endif]--><code>:)</code><span class="fullpost"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> </span></span> Happy <a href="http://paperforshare.blogspot.com/" style="color: red;">Paper 4Share</a><br />
<br />
<b>Recommended:</b><br />
<br />
<ol>
<li><a href="http://paperforshare.blogspot.com/2013/03/c-simple-calculator.html" target="_blank">Examples: Simple Calculator with C</a></li>
<li><a href="http://paperforshare.blogspot.com/2013/02/c-compiler-for-windows-7.html" target="_blank">C Compiler for Windows 7</a></li>
<li><a href="http://paperforshare.blogspot.com/2016/04/list-of-online-regex-tester.html" target="_blank">List of Online Regex Tester</a></li>
<li><a href="http://paperforshare.blogspot.com/2016/04/getting-started-with-accelerated-mobile-pages-amp-html.html" target="_blank">Getting Started with Accelerated Mobile Pages (AMP) HTML</a></li>
</ol>
Anonymoushttp://www.blogger.com/profile/00080147742249972721noreply@blogger.comtag:blogger.com,1999:blog-4369995830928019733.post-69017128320294546552016-03-02T11:05:00.004+07:002016-05-03T12:50:09.352+07:00How to turn on Wi-Fi Hotspot in Windows 10 / 8 / 7 Using Command Prompt (CMD)<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJgl_qCs6b1LBCO4z2LobqUIWlU0hH8ejdCOgLnlajYqU0jgc-oHsYUfFx2hYEVmzpkgePA-2nnvo426K6Tymp9gwOfpz9vo0UX-K45u4ID8rI8_ReDChdrvj84W7WMLWdt_5c8Glrmqe9/s1600/how-to-turn-on-wifi-hotspot-windows.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="How to turn on Wi-Fi Hotspot in Windows 10 / 8 / 7 Using Command Prompt (CMD)" border="0" height="131" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJgl_qCs6b1LBCO4z2LobqUIWlU0hH8ejdCOgLnlajYqU0jgc-oHsYUfFx2hYEVmzpkgePA-2nnvo426K6Tymp9gwOfpz9vo0UX-K45u4ID8rI8_ReDChdrvj84W7WMLWdt_5c8Glrmqe9/s320/how-to-turn-on-wifi-hotspot-windows.png" title="How to turn on Wi-Fi Hotspot in Windows 10 / 8 / 7 Using Command Prompt (CMD)" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><i><span style="font-size: x-small;">Image source: www.howtogeek.com</span></i></td></tr>
</tbody></table>
<div>
<br /></div>
<a href="http://paperforshare.blogspot.com/2016/03/how-to-turn-on-wi-fi-hotspot-in-windows-10-8-7-using-cmd-command-prompt.html" target="_blank"><strong>How to create Wi-Fi Hotspot in Windows 10 / 8 / 7 Using Command Prompt (CMD)</strong></a> - Using Wi-FI Hotspot, we can connect to networks without cables. More people has know it. But today, <a href="http://paperforshare.blogspot.com/" target="_blank">Paper 4Share</a> will share how to create a Wi-FI Hotspot without third party software in your computer/laptop.<br />
<div>
<br /></div>
<div>
Windows 10, 8, and 7 have a feature for create Wi-Fi Hotspot portable it called <u style="font-style: italic;">Mini Virtual Wi-Fi</u>. Now, let's read this section for create virtual wifi hostspot from your windows.</div>
<div>
<br /></div>
<div>
1. Click right from your start menu, and than choose "<b><u>Command Prompt (Admin)</u></b>". You can look at the pictures below.</div>
<div>
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBSGd-H64NjzRIcoBOLgulq6HGTZ1uPsP-NMFSxnfaQG0uzay_rpyviobtneOYq6TdMa9pOkn4imvujZKuXHfdU5LmvPqRW7P0X8w07C6HrGVh-Mwdi0Vk5UHCg9ZVA-LSxu_72-quPEEU/s1600/virtual-wifi-1.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="How to turn on Wi-Fi Hotspot in Windows 10 / 8 / 7 Using Command Prompt (CMD)" border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBSGd-H64NjzRIcoBOLgulq6HGTZ1uPsP-NMFSxnfaQG0uzay_rpyviobtneOYq6TdMa9pOkn4imvujZKuXHfdU5LmvPqRW7P0X8w07C6HrGVh-Mwdi0Vk5UHCg9ZVA-LSxu_72-quPEEU/s200/virtual-wifi-1.png" title="How to turn on Wi-Fi Hotspot in Windows 10 / 8 / 7 Using Command Prompt (CMD)" width="140" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><br /></td></tr>
</tbody></table>
2. Type this command for activate the wifi portable feature<br />
<blockquote class="tr_bq">
netsh wlan set hostednetwork mode=allow ssid=HOSTSPOTNAME key=PASSWORD8DIGITS</blockquote>
Notes:<br />
HOSTSPOTNAME = the name for your WiFi Hotspot<br />
PASSWORD8DIGITS = the password for your Hotspot, <b>more than 8 digits</b><br />
<b><br /></b>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1tegymVAhC_DhTKF7gZfHLh1-y-_Np2e4srnBczQzFbBuQtjKX6fLswexFOHJhmEsTE4lkfUQA_uEJk3Jqf2Vsu1CUOZqGQNa59lBM86bCsxhQ8tQrLSqDewhrDXl7rXbJeVELnPiSFLS/s1600/virtual-wifi-2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="share internet connection windows" border="0" height="166" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1tegymVAhC_DhTKF7gZfHLh1-y-_Np2e4srnBczQzFbBuQtjKX6fLswexFOHJhmEsTE4lkfUQA_uEJk3Jqf2Vsu1CUOZqGQNa59lBM86bCsxhQ8tQrLSqDewhrDXl7rXbJeVELnPiSFLS/s320/virtual-wifi-2.png" title="share internet connection windows" width="320" /></a></div>
<b><br /></b>
<b><br /></b>
3. Now start the network, type and Enter this command.<br />
<blockquote class="tr_bq">
netsh wlan start hostednetwork</blockquote>
4. After it, you need to <b style="text-decoration: underline;">sharing internet connection you have</b> . Open the <b>Network Connections</b>. (Type network connection from search windows box).<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-RNuJSI4DVO9vZq1EKt63JhxjGfZdyqJECnPF_SFeZ0QUCCXEvKpYyIluxV7tbIr-GIkjNgurzWX4oNxrlhBjkAC-Oetk4ltFBi82q7UmBc9h9PYB1L03aeWEAY1ywf6a1PbhlW4uG10I/s1600/cara+membuat+wifi+di+windows+8.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="share internet connection windows" border="0" height="264" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-RNuJSI4DVO9vZq1EKt63JhxjGfZdyqJECnPF_SFeZ0QUCCXEvKpYyIluxV7tbIr-GIkjNgurzWX4oNxrlhBjkAC-Oetk4ltFBi82q7UmBc9h9PYB1L03aeWEAY1ywf6a1PbhlW4uG10I/s320/cara+membuat+wifi+di+windows+8.jpg" title="share internet connection windows" width="320" /></a></div>
<br />
5. On the adapter that have internet connection, click right => properties => click to Tab Sharing => check "Allow other network users to connect through this computers Internet connection". And on the "home networking connection", choose the name of Microsoft Hosted Network Virtual adapter. Look at below.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVrasvUhNn2_OocR70fnI47Dh_Hkp27O2TaAXvaOFGLgaoAHe90Uj9s5eWHtCYeVGHZ_m9WSFzCHOFx-0kPD3x705IrO33z8ParqI8ydfe4ANmAd8FYKD-MeNcUgSbd-DL4mgtbzP77tDP/s1600/cara+membuat+wifi+di+windows+8+%25281%2529.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="share internet connection windows" border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVrasvUhNn2_OocR70fnI47Dh_Hkp27O2TaAXvaOFGLgaoAHe90Uj9s5eWHtCYeVGHZ_m9WSFzCHOFx-0kPD3x705IrO33z8ParqI8ydfe4ANmAd8FYKD-MeNcUgSbd-DL4mgtbzP77tDP/s320/cara+membuat+wifi+di+windows+8+%25281%2529.jpg" title="share internet connection windows" width="252" /></a></div>
<br />
6. After it, click "OK".<br />
<br />
<blockquote class="tr_bq">
<b>Read more:</b><br />
<a href="http://paperforshare.blogspot.com/2015/11/how-to-disable-windows-update-in-windows-10.html" target="_blank">How to disable windows update Windows 10</a><br />
<a href="http://paperforshare.blogspot.com/2014/09/simple-ways-how-to-hide-files-or-folders-on-windows.html" target="_blank">Simple Ways How to Hide a Files or Folders on Windows</a></blockquote>
<br />
Finish, and now you can <b><a href="http://paperforshare.blogspot.com/2016/03/how-to-turn-on-wi-fi-hotspot-in-windows-10-8-7-using-cmd-command-prompt.html" target="_blank">share internet connection using your laptop</a></b> for your smartphone or other device.<br />
<br />
Paper 4Share - <a href="http://paperforshare.blogspot.com/2016/03/how-to-turn-on-wi-fi-hotspot-in-windows-10-8-7-using-cmd-command-prompt.html" target="_blank"><i><strong>How to turn on Wi-Fi Hotspot in Windows 10 / 8 / 7 Using Command Prompt (CMD)</strong></i></a>Anonymoushttp://www.blogger.com/profile/00080147742249972721noreply@blogger.comtag:blogger.com,1999:blog-4369995830928019733.post-61725985987891662622016-01-22T09:27:00.003+07:002016-03-03T11:28:30.307+07:00Redirect post to Nokia Power Ranger is a Dual Boot Smartphone : 512 GB, 24.2 MP and RAM 4 GB This article has been moved to <a href="http://paperforshare.blogspot.com/2015/04/nokia-power-ranger-is-dual-boot-smartphone-512-gb-24.2-mp-and-ram-4-gb.html" target="_blank">Nokia Power Ranger is a Dual Boot Smartphone : 512 GB, 24.2 MP and RAM 4 GB here </a><div>
<br /></div>
<div>
<br /></div>
Anonymoushttp://www.blogger.com/profile/00080147742249972721noreply@blogger.comtag:blogger.com,1999:blog-4369995830928019733.post-78329112905527253902016-01-17T16:19:00.000+07:002016-05-03T13:18:42.268+07:00[PHP] How to Replace String in PHP<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7ucmAJx5tr5WMMO8LtDVKxhdGAjut1L2ZXgJchj4sioP2M6V1uA30VUDIGYgPqfL6CxZbky69Z0LDf9PXWOGrzCfV2mRkra5cnCMUyBgIwq6XNPrQs0QR1efyQwrQzCUQnI4ZoUGqtmXD/s1600/php-get-site-url-protocol-http-or-https.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="[PHP] How to Replace String in PHP" border="0" height="160" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7ucmAJx5tr5WMMO8LtDVKxhdGAjut1L2ZXgJchj4sioP2M6V1uA30VUDIGYgPqfL6CxZbky69Z0LDf9PXWOGrzCfV2mRkra5cnCMUyBgIwq6XNPrQs0QR1efyQwrQzCUQnI4ZoUGqtmXD/s320/php-get-site-url-protocol-http-or-https.png" title="[PHP] How to Replace String in PHP" width="320" /></a></div>
<br />
<a href="https://paperforshare.blogspot.com/2016/01/php-how-to-replace-string-in-php.html" target="_blank"><strong>[PHP] How to Replace String in PHP</strong></a> - Hello developers, in this article will explained how to replace string in PHP. In PHP Programming, there is a special function to do it. This function is <b>str_replace</b>.<br />
<br />
str_replace() function is has 3 parameters, it is <span style="background-color: yellow;">str_replace(<b style="font-style: italic;">find</b>, <b style="font-style: italic;">replace</b>, <i style="font-weight: bold;">object</i>)</span><span style="background-color: white;">. For explample, look at below:</span><br />
<span style="background-color: white;"><br /></span>
<br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<table><tbody>
<tr><td><pre style="line-height: 125%; margin: 0;">1
2
3
4
5</pre>
</td><td><pre style="line-height: 125%; margin: 0;"><span style="color: #557799;"><?php</span>
<span style="color: #996633;">$object</span> <span style="color: #333333;">=</span> My name is Aji;
<span style="color: #996633;">$after_replace</span> <span style="color: #333333;">=</span> <span style="color: #007020;">str_replace</span>(<span style="background-color: #fff0f0;">"Aji"</span>, <span style="background-color: #fff0f0;">"Paper 4Share"</span>, <span style="color: #996633;">$object</span>);
<span style="color: #008800; font-weight: bold;">echo</span> <span style="color: #996633;">$after_replace</span>;
<span style="color: #557799;">?></span>
</pre>
</td></tr>
</tbody></table>
</div>
<br />
and the output is<br />
<blockquote class="tr_bq">
My name is Paper 4Share</blockquote>
<h3>
The Explanation About str_replace() PHP Functions</h3>
<div>
str_replace() function is the function that needed for replace a string or a text. Using this function we are able to replace anyting the words in a long text. Based on the example script above, we are able to replacing a words that contains "<span style="background-color: lime;">Aji</span>".</div>
<div>
<br /></div>
<div>
<h4>
How this function works?</h4>
str_replace() function have a three parameters. All the parameters must be filled in correctly for getting a good result. The parameters of str_replace() functions is <span style="background-color: lime;">str_replace(<b><i>find</i></b>, <b><i>replace</i></b>, <b><i>string</i></b>)</span><span style="background-color: white;">. Below is the explanation about the paramaters:</span><br />
<br />
<ul>
<li><b>find</b>, is the parameters to find a search string.</li>
<li><b>replace</b>, is the parameters that used to replacing a string, if the string that searched is found.</li>
<li><b>string</b>, this parameter is used for base of the string that will searched</li>
</ul>
Okay, its an explanation about <u>str_replace() function in PHP Programming</u>. The parameters must be filled sequentially, because you will get an error message and the function is not working.<br />
<br />
In the next article, we will explain about <b>preg_replace()</b>.</div>
<h4>
You need read this:</h4>
<ul>
<li><a href="http://paperforshare.blogspot.com/2016/01/php-get-site-url-protocol-http-or-https.html" target="_blank">[PHP] Get Site URL Protocol "HTTP or HTTPS"</a> </li>
</ul>
<br />
<br />
Paper 4Share - <i><a href="https://paperforshare.blogspot.com/2016/01/php-how-to-replace-string-in-php.html" target="_blank"><strong>[PHP] How to Replace String in PHP</strong></a></i>Anonymoushttp://www.blogger.com/profile/00080147742249972721noreply@blogger.comtag:blogger.com,1999:blog-4369995830928019733.post-45671316221743419302016-01-08T17:26:00.000+07:002016-05-03T13:32:08.975+07:00Notepadqq Is The Best Sollution Text Editor for Ubuntu/Linux Mint Like Notepad++ on Windows<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7gEADJyweWw1ZJfWPJvPRx50vqp6D99xXY5zLe7CrMrac7SnCaX97Z7V5gzYFKcVjDaeAWAo5vvZdSNHHQAcNromVwWdbQBNmU4nDCF6gcUP59QTSwYeff66gITqD8Coj__yZ1Hd2QoJ8/s1600/Notepadqq+Is+The+Best+Sollution+Text+Editor+for+Ubuntu+Linux+Mint+Like+Notepad%252B%252B+on+Windows.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Notepadqq Is The Best Sollution Text Editor for Ubuntu/Linux Mint Like Notepad++ on Windows" border="0" height="179" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7gEADJyweWw1ZJfWPJvPRx50vqp6D99xXY5zLe7CrMrac7SnCaX97Z7V5gzYFKcVjDaeAWAo5vvZdSNHHQAcNromVwWdbQBNmU4nDCF6gcUP59QTSwYeff66gITqD8Coj__yZ1Hd2QoJ8/s320/Notepadqq+Is+The+Best+Sollution+Text+Editor+for+Ubuntu+Linux+Mint+Like+Notepad%252B%252B+on+Windows.jpg" title="Notepadqq Is The Best Sollution Text Editor for Ubuntu/Linux Mint Like Notepad++ on Windows" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><i>http://www.noobslab.com/</i></td></tr>
</tbody></table>
<br />
<a href="http://paperforshare.blogspot.com/2016/01/notepadqq-is-best-sollution-text-editor-for-ubuntu-linux-mint-like-notepad-on-windows.html" target="_blank"><strong>Notepadqq Is The Best Sollution Text Editor for Ubuntu/Linux Mint Like Notepad++ on Windows</strong></a> - Notepad++ is a Text Editor tools that only available on Windows Operating System. Now, there is the alternative tools like Notepad++ is Notepadqq.<br />
<br />
<h3>
How to install Notepadqq for Ubuntu/Linux Mint</h3>
Open your terminal/shell. And type this commands.<br />
<div>
<blockquote class="tr_bq">
sudo add-apt-repository ppa:notepadqq-team/notepadqq </blockquote>
<blockquote class="tr_bq">
sudo apt-get update</blockquote>
<blockquote class="tr_bq">
sudo apt-get install notepadqq</blockquote>
<blockquote class="tr_bq">
sudo apt-get install notepadqq-gtk</blockquote>
<br />
I hope it usefull.<br />
<br />
Paper 4Share - <i><a href="http://paperforshare.blogspot.com/2016/01/notepadqq-is-best-sollution-text-editor-for-ubuntu-linux-mint-like-notepad-on-windows.html" target="_blank"><strong>Notepadqq Is The Best Sollution Text Editor for Ubuntu/Linux Mint Like Notepad++ on Windows</strong></a></i></div>
Anonymoushttp://www.blogger.com/profile/00080147742249972721noreply@blogger.comtag:blogger.com,1999:blog-4369995830928019733.post-40522868833537922302016-01-06T11:18:00.001+07:002016-04-16T23:03:34.226+07:00[PHP] Get Site URL Protocol "HTTP or HTTPS"<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSnzRNvYrK7CacK0JtFcaCmMimxwocIBpGW4FvjlwOaYGIbFPrRik6YSt7xsDJ9CohZkQXF6EIVGWVnooe2djQelGaw-r1tBM_b50bJkCPQNMmmPF9GqoOhfQFcq0hwYjvBSt6YwVWAbAh/s1600/php-get-site-url-protocol-http-or-https.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="[PHP] Get Site URL Protocol "HTTP or HTTPS"" border="0" height="100" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSnzRNvYrK7CacK0JtFcaCmMimxwocIBpGW4FvjlwOaYGIbFPrRik6YSt7xsDJ9CohZkQXF6EIVGWVnooe2djQelGaw-r1tBM_b50bJkCPQNMmmPF9GqoOhfQFcq0hwYjvBSt6YwVWAbAh/s200/php-get-site-url-protocol-http-or-https.png" title="[PHP] Get Site URL Protocol "HTTP or HTTPS"" width="200" /></a></div>
<br />
<br />
<strong><a href="http://paperforshare.blogspot.com/2016/01/php-get-site-url-protocol-http-or-https.html" target="_blank">[PHP] Get Site URL Protocol "HTTP or HTTPS"</a></strong> - In this case, some PHP developers need to check the protocol of the site is using HTTP or HTTPS. For example: on local server still using HTTP protocol while on the online server is using HTTP protocol.<br />
<br />
So, the developers need to determine a variables that need <b>HTTP</b> or <b>HTTPS</b>. Below is the sample code for determine it.<br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<table><tbody>
<tr><td><pre style="line-height: 125%; margin: 0;"> 1
2
3
4
5
6
7
8
9
10</pre>
</td><td><pre style="line-height: 125%; margin: 0;"><span style="color: #557799;"><?php</span>
<span style="color: #888888;">// checking $protocol in HTTP or HTTPS</span>
<span style="color: #008800; font-weight: bold;">if</span> (<span style="color: #007020;">isset</span>(<span style="color: #996633;">$_SERVER</span>[<span style="background-color: #fff0f0;">'HTTPS'</span>]) <span style="color: #333333;">&&</span> <span style="color: #996633;">$_SERVER</span>[<span style="background-color: #fff0f0;">'HTTPS'</span>] <span style="color: #333333;">!=</span> <span style="background-color: #fff0f0;">'off'</span>) {
<span style="color: #888888;">// this is HTTPS</span>
<span style="color: #996633;">$protocol</span> <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">"https"</span>;
} <span style="color: #008800; font-weight: bold;">else</span> {
<span style="color: #888888;">// this is HTTP</span>
<span style="color: #996633;">$protocol</span> <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">"http"</span>;
}
<span style="color: #557799;">?></span>
</pre>
</td></tr>
</tbody></table>
</div>
<br />
Done, it is a sample code for [PHP] Get Site URL Protocol "HTTP or HTTPS".<br />
<br />
<b>You need to know:</b><br />
<br />
<ol>
<li><a href="http://www.paperforshare.tk/2016/04/getting-started-with-accelerated-mobile-pages-amp-html.html" target="_blank">Getting Started With Accelerated Mobile Pages (AMP) HTML</a></li>
<li><a href="http://www.paperforshare.tk/2016/01/php-how-to-replace-string-in-php.html" target="_blank">[PHP] How to Replace a String in PHP</a></li>
</ol>
<br />
<br />
Paper 4Share - <i><a href="http://paperforshare.blogspot.com/2016/01/php-get-site-url-protocol-http-or-https.html" target="_blank"><strong>[PHP] Get Site URL Protocol "HTTP or HTTPS"</strong></a></i>Anonymoushttp://www.blogger.com/profile/00080147742249972721noreply@blogger.comtag:blogger.com,1999:blog-4369995830928019733.post-66508110981194260112015-11-07T21:53:00.000+07:002016-04-16T23:04:27.999+07:00How to Disable windows update in Windows 10<a href="http://paperforshare.blogspot.com/2015/11/how-to-disable-windows-update-in-windows-10.html" target="_blank"><strong>Disable windows update in Windows 10</strong></a> - Btw, windows 10 was realesed, it looks nicer. By the design and management memory, windows 10 is more better than more windows. But I think windows 10 more looks like a not Operating System, but it looks a online service.<br />
<div>
<br /></div>
<div>
Windows 10 makes my internet quota was quickly exhausted. Why not? every time windows 10 updating in automatically. Very very not good for some people like me. :D. And that makes me sad, in Windows 10 can't turned off easily. So, Paper 4Share will share <b><u>how to disable windows update in Windows 10</u></b>.</div>
<div>
<br /></div>
<div>
Step by step to disable windows update in windows 10</div>
<div>
<br /></div>
<div>
Open services tools, how we do it? type <b>services</b> in the search box, and than choose the Services. Look at below.</div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhN0Sy_ZVcZcd5BPhzfpLAjt1poOCqhbTGrTmIc2BBWzA1pe6Hh_myXCrEqP1O-BUHftNbwe91dOc04u7NxX_3nDi-fBNgm6qIPohAcl2-PD6WArwNpbQ6oKD-q1sv1gQuB7CAZ9chTswLu/s1600/disable-windows-update-in-windows-10.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Disable windows update in Windows 10" border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhN0Sy_ZVcZcd5BPhzfpLAjt1poOCqhbTGrTmIc2BBWzA1pe6Hh_myXCrEqP1O-BUHftNbwe91dOc04u7NxX_3nDi-fBNgm6qIPohAcl2-PD6WArwNpbQ6oKD-q1sv1gQuB7CAZ9chTswLu/s200/disable-windows-update-in-windows-10.png" title="Disable windows update in Windows 10" width="195" /></a></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
After it, you will look a Services window. And than find and open (by double clicks) a windows update.</div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsgiFe_uOaFhCdtrfJxgkLB_ggcWJXqKSAS1Lsqnr6N72qCxA48t76eJOug5WDmc0eKbamFvm15-ZyyxQHlNVxh3YKwyz_kz7cgomzjLJhmmYaxD1JQl3lx_sgiclIUd9OGSpAfy_s4wJe/s1600/disable-windows-update-in-windows-10-7.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Disable windows update in Windows 10" border="0" height="145" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsgiFe_uOaFhCdtrfJxgkLB_ggcWJXqKSAS1Lsqnr6N72qCxA48t76eJOug5WDmc0eKbamFvm15-ZyyxQHlNVxh3YKwyz_kz7cgomzjLJhmmYaxD1JQl3lx_sgiclIUd9OGSpAfy_s4wJe/s200/disable-windows-update-in-windows-10-7.png" title="Disable windows update in Windows 10" width="200" /></a></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
In the Windows Update Properties window, Change the startup type to "<b><u>Disabled</u></b>", Click <b><u>stop</u></b> button. Than click <b><u>Apply</u></b> button. And click "<b><u>OK</u></b>".</div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjrIJ4qZdaxDuH7JMEUt4_kSUS4mrPNF9UNVk2saz_k3RratExX7ChRRw-WSVfpGbMkUIyusLl5IrUhVxFfUepGJIkt5uqvv5i1KD7tiRVv02JAh4BjROWjvM4wh6MLduE5K679rh4r_R3/s1600/disable-windows-update-in-windows-10-8.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjrIJ4qZdaxDuH7JMEUt4_kSUS4mrPNF9UNVk2saz_k3RratExX7ChRRw-WSVfpGbMkUIyusLl5IrUhVxFfUepGJIkt5uqvv5i1KD7tiRVv02JAh4BjROWjvM4wh6MLduE5K679rh4r_R3/s200/disable-windows-update-in-windows-10-8.png" width="173" /></a></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
Finish, now your windows update service has stopped. To check the service, you can follow this article.</div>
<div>
<br /></div>
<div>
Open Windows PowerShell. Using the search box, type <b>powershell</b>. Choose and open Windows PowerShell.</div>
<div>
<br /></div>
<div>
Type and ENTER this commad:</div>
<blockquote class="tr_bq">
get-wmiobject win32_service –filter "name='wuauserv'"</blockquote>
if the results is like below, so your windows update service has stopped.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmhhHI5f_UUhroG10SI4T1lJ8OepNn1aOuEmAGHdv4VbGEtnBHZqGyozj6IQL9fECqJyldAS1HmH4xIDUg1fDBKcthT0Y3dh3PIe3flza86WOB9in9FI9Si3nqIc8EzLD-_gThSmrQ3c8x/s1600/disable-windows-update-in-windows-10-xp.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="70" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmhhHI5f_UUhroG10SI4T1lJ8OepNn1aOuEmAGHdv4VbGEtnBHZqGyozj6IQL9fECqJyldAS1HmH4xIDUg1fDBKcthT0Y3dh3PIe3flza86WOB9in9FI9Si3nqIc8EzLD-_gThSmrQ3c8x/s200/disable-windows-update-in-windows-10-xp.png" width="200" /></a></div>
<br />
<br />
I hope this useful, and you can leave a comment if you have a problems. Thanks for your visit.<br />
<br />
Paper 4Share - <i><a href="http://paperforshare.blogspot.com/2015/11/how-to-disable-windows-update-in-windows-10.html" target="_blank"><strong>How to Disable windows update in Windows 10</strong></a></i>Anonymoushttp://www.blogger.com/profile/00080147742249972721noreply@blogger.comtag:blogger.com,1999:blog-4369995830928019733.post-51233898564456881042015-09-13T23:54:00.002+07:002016-04-16T23:04:58.947+07:00Axel, Download Manager for Linux Ubuntu<a href="http://paperforshare.blogspot.com/2015/09/axel-download-manager-for-linux-ubuntu.html" target="_blank"><u><strong>Axel, Download Manager for Linux Ubuntu</strong></u></a> - Axel ? what is that? :D axel is Download Manager for Linux. The axel running in terminal. It is like <i><b>wget</b></i> command in your terminal. If in Windows Operating System, you will meet many download manager tools, it is like IDM (Internet Download Manager), Free Download Manager, FlashGet, and etc.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCSah8wymgI2JQiMXmcGem4sO0xnwVGo15JGzqusPrJ71iYwKCUTdT0YiFIIpOwgfUDso06mwOQN7lbC8I_J1VSWx6YiDKh9aqKDurhfnmXRN0hlBfq7oCWeW7-_dDXiGUb0hgQ66WnlEY/s1600/axel+download+manager.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Axel, Download Manager for Linux Ubuntu" border="0" height="143" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCSah8wymgI2JQiMXmcGem4sO0xnwVGo15JGzqusPrJ71iYwKCUTdT0YiFIIpOwgfUDso06mwOQN7lbC8I_J1VSWx6YiDKh9aqKDurhfnmXRN0hlBfq7oCWeW7-_dDXiGUb0hgQ66WnlEY/s200/axel+download+manager.png" title="Axel, Download Manager for Linux Ubuntu" width="200" /></a></div>
<br />
Now, Paper 4Share will give some information about <b><u>axel as Download Manager for Linux Ubuntu or Debian Family</u></b>. In the default Linux Operating System, we can download files using HTTP protocol using <b><i>wget</i></b> command. The following is an example for <b>wget</b> command.<br />
<blockquote class="tr_bq">
wget http://www.domain.com/filesdownload</blockquote>
Its also if you are use axel for download manager. You must open your terminal and than typing commands for starting download. But, in the default Ubuntu Operating System, the axel package is not available. So, you must download it first.<br />
<br />
<h3>
How to <i>Install Axel Download Manager</i></h3>
<ol>
<li>Open your terminal.</li>
<li>Update your repository using this command. <br /><blockquote class="tr_bq">
sudo apt-get update</blockquote>
</li>
<li> Than download and install that package. <br /><blockquote class="tr_bq">
sudo apt-get install axel</blockquote>
</li>
<li>Finish</li>
</ol>
Okay, you can check the axel package has been installed on your linux or not. Check using command below:<br />
<blockquote class="tr_bq">
dpkg --get-selections | grep axel</blockquote>
If you are look a axel in that result of command, so your axel is already can be used.<br />
<br />
<h4>
How to Use Axel Download Manager</h4>
Like wget command, the axel running in terminal. The following are examples for downloading files using axel.<br />
<br />
Download files with max speed of bit rates set to 102,400 bytes/sec (100Kb/s)<br />
<blockquote class="tr_bq">
axel -s 102400 http://www.paperforshare.blogspot.com/downloadfiles.zip</blockquote>
Download files with max number of connections set to 5<br />
<blockquote class="tr_bq">
axel -n 5 http://www.paperforshare.blogspot.com/downloadfiles.zip</blockquote>
<br />
I think it is enough, if you are need more options for axel download manager, you can run this command for more information.<br />
<blockquote class="tr_bq">
axel --help</blockquote>
Thanks for your visit. <br />
<blockquote class="tr_bq">
Read more download manager for linux, <a href="http://paperforshare.blogspot.com/2014/12/xtreme-download-manager-xdm-for-ubuntu-mint-kali-linux-debian-based-linux.html" target="_blank">Xtreme Download Manager (XDM) for Ubuntu / Mint / Kali Linux / Debian based Linux</a></blockquote>
<br />
Paper 4Share - <a href="http://paperforshare.blogspot.com/2015/09/axel-download-manager-for-linux-ubuntu.html" target="_blank"><i><strong>Axel, Download Manager for Linux Ubuntu</strong></i></a>Anonymoushttp://www.blogger.com/profile/00080147742249972721noreply@blogger.comtag:blogger.com,1999:blog-4369995830928019733.post-75499349806473966502015-08-28T22:38:00.000+07:002016-04-16T23:05:21.248+07:00How to Install LibreOffice on All Linux Version<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGR0j1fn-lL-ZElV5cshSFZ-AWBCVorwfSq5wDiCX9CKOkUbagORZUPTbIqAqSBVX7G7HbH2mncaWIfCgIWhQhSVEJjVuL-VP6xZQStVaIIB0SCLb09CEbguui4wrPYYZgY1Ml6Oj78rX-/s1600/blog.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="How to Install LibreOffice on All Linux Version" border="0" height="102" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGR0j1fn-lL-ZElV5cshSFZ-AWBCVorwfSq5wDiCX9CKOkUbagORZUPTbIqAqSBVX7G7HbH2mncaWIfCgIWhQhSVEJjVuL-VP6xZQStVaIIB0SCLb09CEbguui4wrPYYZgY1Ml6Oj78rX-/s200/blog.jpg" width="200" /></a></div>
<br />
<a href="http://paperforshare.blogspot.com/2015/08/how-to-install-libreoffice-on-all-linux-version-ubuntu-kali-centos-opensuse-fedora-backtrack.html" target="_blank"><strong>How to Install LibreOffice on All Linux Version</strong></a> - In the last post, Paper 4Share have post an arcticle for <a href="http://paperforshare.blogspot.com/2014/09/how-to-install-libreoffice-on-kali-linux-backtrack-debian-ubuntu.html" target="_blank">install libre office on Kali Linux</a>, based on linux version there are derivatives of Debian, Red Hat, and etc.<br />
<br />
Now, we will explain simple way for installing LibreOffice on your Linux System.<br />
<br />
<h3>
Install LibreOffice on Debian Families </h3>
(Debian, Ubuntu, Linux Mint, Backtrack, Kali Linux, Lubuntu, Xubuntu, Backbox, and etc.).<br />
Based on debian families, you are need package installer in (.deb) format. So you must download LibreOffice in (.deb) format. Below step by step for install LibreOffice:<br />
<br />
1. Download deb installer LibreOffice. <br />
Download .deb installer file here <a href="https://www.libreoffice.org/download/libreoffice-fresh/">https://www.libreoffice.org/download/libreoffice-fresh/</a>. Choose based on your linux system, <b>Linux x86 (deb)</b> for 32 bit and <b>Linux x64 (deb)</b> for 64 bit.<br />
<br />
2. Install That Installer of LibreOffice.<br />
Open your terminal, and than change your active directory in directory of .deb file. Install using command below :<br />
<blockquote class="tr_bq">
dpkg -i <span style="color: red;"><i>[name of deb file]</i></span>.deb </blockquote>
3. Finish. If that command is aborting, be SUPER USER / root, and try that command again. :)<br />
<br />
<h3>
Install LibreOffice on RedHat Families</h3>
(RedHat, Fedora, CentOS, OpenSUSE, and etc.)<br />
The same way with install on debian families. But the different is on format of package is (.rpm) format.. Below step by step for install LibreOffice for RedHat Families:<br />
<br />
1. Download rpm installer <br />
You can download rpm installer from here <a href="https://www.libreoffice.org/download/libreoffice-fresh/">https://www.libreoffice.org/download/libreoffice-fresh/</a> . And choose Linux x86 (rpm) for 32 bit or Linux x64 (rpm) for 64 bit.<br />
<br />
2. Install via command<br />
After download that file, open your terminal (shell), and than change your active directory of the .rpm file. Than run this command:<br />
<blockquote class="tr_bq">
rpm -ivh <i><span style="color: red;">[name of rpm file]</span></i>.rpm</blockquote>
3. Finish. If that command is aborting, be SUPER USER / root, and try that command again. :)<br />
<br />
Paper 4Share - <a href="http://paperforshare.blogspot.com/2015/08/how-to-install-libreoffice-on-all-linux-version-ubuntu-kali-centos-opensuse-fedora-backtrack.html" target="_blank"><i><strong>How to Install LibreOffice on All Linux Version</strong></i></a>Anonymoushttp://www.blogger.com/profile/00080147742249972721noreply@blogger.comtag:blogger.com,1999:blog-4369995830928019733.post-48879600547878050832015-06-12T00:13:00.003+07:002016-04-16T23:07:24.518+07:00PHP Connect to MySQL<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKeu0TJf90X_Y2RfE3N-q09ZNSdJmvHxW8m-3PlA8ktz3UsIdxmm6oBrym1VGWUlvhb9anGCPnRONm92YQ_cDyJ5iN6hZcQTPnlaHHK4N1oqYEVXex0fXVAEoxUzOr8gWfX0oWOnPNtfwi/s1600/php-get-site-url-protocol-http-or-https.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="100" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKeu0TJf90X_Y2RfE3N-q09ZNSdJmvHxW8m-3PlA8ktz3UsIdxmm6oBrym1VGWUlvhb9anGCPnRONm92YQ_cDyJ5iN6hZcQTPnlaHHK4N1oqYEVXex0fXVAEoxUzOr8gWfX0oWOnPNtfwi/s200/php-get-site-url-protocol-http-or-https.png" width="200" /></a></div>
<br />
<strong><a href="http://paperforshare.blogspot.com/2015/06/php-connect-to-mysql-how-to.html" target="_blank">PHP Connect to MySQL</a></strong> - Now, we will explain about connection PHP to MySQL. Before you do anithing with PHP Programming and MySQL database, you must create a connection.<br />
<br />
If the connection are established, you can create databases, tables, or insert data and anything with MySQL database. The PHP syntax which use to create connection is <span style="color: blue;">mysql_connect( <i>host, user, pass</i> )</span> . Below the example script for <u>create connection to MySQL databases</u>.<br />
<br />
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<table><tbody>
<tr><td><pre style="line-height: 125%; margin: 0;"> 1
2
3
4
5
6
7
8
9
10</pre>
</td><td><pre style="line-height: 125%; margin: 0;"><span style="color: #557799;"><?php</span>
<span style="color: #996633;">$host</span> <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">"localhost"</span>; <span style="color: #888888;">// if your host is localhost</span>
<span style="color: #996633;">$user</span> <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">"root"</span>; <span style="color: #888888;">// if your user in MySQL is root</span>
<span style="color: #996633;">$pass</span> <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">""</span>; <span style="color: #888888;">// if your MySQL without password</span>
<span style="color: #888888;">// create connection</span>
<span style="color: #007020;">mysql_connect</span>(<span style="color: #996633;">$host</span>, <span style="color: #996633;">$user</span>, <span style="color: #996633;">$pass</span>) <span style="color: #008800; font-weight: bold;">or</span> <span style="color: #008800; font-weight: bold;">die</span> (<span style="color: #007020;">mysql_error</span>());
<span style="color: #008800; font-weight: bold;">echo</span> <span style="background-color: #fff0f0;">"Connection established"</span>
<span style="color: #557799;">?></span>
</pre>
</td></tr>
</tbody></table>
</div>
<br />
Save and access that script. If the display is "Connection established" without error, so your connection is successfull.<br />
<br />
Paper 4Share - <a href="http://paperforshare.blogspot.com/2015/06/php-connect-to-mysql-how-to.html" target="_blank"><i><strong>PHP Connect to MySQL</strong></i></a>Anonymoushttp://www.blogger.com/profile/00080147742249972721noreply@blogger.comtag:blogger.com,1999:blog-4369995830928019733.post-12530908027442025792015-05-07T15:57:00.001+07:002016-04-16T23:07:46.860+07:00How to activate / enable curl in XAMPP<a href="http://paperforshare.blogspot.com/2015/05/how-to-activate-enable-curl-in-xampp.html" target="_blank"><strong>How to activate / enable curl in XAMPP</strong></a> - CURL is the function in PHP (Programmable HyperText Processor). Now on this article we will explain step by step how to active curl function in XAMPP.<br />
<br />
<i>Below is the step for <u>active curl in XAMPP</u></i> :<br />
<ol>
<li>Open the directory of "php" where XAMPP installed. Example : <b>C:\xampp\php</b></li>
<li>Search for file of <b>php.ini</b> and than open using text editor like notepad or sublime</li>
<li>Search the line of <b>;extension=php_curl.dll</b></li>
<li>And than remove the tag of <b>;</b> in front of line <b>;extension=php_curl.dll</b> so in that line look like <b>extension=php_curl.dll</b></li>
<li>Save that file (<b>php.ini</b>)</li>
<li>Restart your apache service. It is a stoping and than starting again.</li>
</ol>
For knowing is the function of CURL is active, you can check using create a file <b>info.php</b>. Save in your <i>htdocs</i> directory (Ex : C:\xampp\htdocs\ ). write a script in <b>info.php</b>, using this script.<br />
<blockquote class="tr_bq">
<?php<br />
phpinfo();<br />
?></blockquote>
After it, access that script using your browser so like this <b>http://localhost/info.php</b>. Find the curl section, and if the function of <a href="http://paperforshare.blogspot.com/2015/05/how-to-activate-enable-curl-in-xampp.html" target="_blank"><strong>PHP CURL is active in XAMPP</strong></a>, So you will look like this.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8qx_5lDDblSBJlbq1p6ASlPcAIUSFSCf9u9iIaZGDR273l4V7CU7RtAT3ge9ati4vB7JDwcKCndTXEJn7Brrbex8EanuvflMTs3StWuz9sU4dcAsu6As5bf8L05R2OQCmx-JDXXQ1UQ_k/s1600/active-curl-php.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="How to activate / enable curl in XAMPP" border="0" height="171" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8qx_5lDDblSBJlbq1p6ASlPcAIUSFSCf9u9iIaZGDR273l4V7CU7RtAT3ge9ati4vB7JDwcKCndTXEJn7Brrbex8EanuvflMTs3StWuz9sU4dcAsu6As5bf8L05R2OQCmx-JDXXQ1UQ_k/s200/active-curl-php.png" title="How to activate / enable curl in XAMPP" width="200" /></a></div>
<br />
Happy coding :)<br />
Paper 4Share - <a href="http://paperforshare.blogspot.com/2015/05/how-to-activate-enable-curl-in-xampp.html" target="_blank"><i><strong>Tips n Trick How to activate / enable curl in XAMPP</strong></i></a><br />
<ol>
</ol>
Anonymoushttp://www.blogger.com/profile/00080147742249972721noreply@blogger.comtag:blogger.com,1999:blog-4369995830928019733.post-77044185065133451042015-04-22T22:56:00.003+07:002016-04-16T23:08:22.554+07:00Nokia Power Ranger is a Dual Boot Smartphone : 512 GB, 24.2 MP and RAM 4 GB<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbjrgPxbSt6l_BuU7nCsnQcXgYRlLDzx3Y_384ZuPotlvOiM-kqzujB07casCr_IZP4i4IWGsV0h6qItwYLQB1MaUzjIVclhEy_mTUWIUC0XAS5v6vtSMaUrFkJyvLhPoHUTu_ZkCK59Rf/s1600/Nokia-Power-Ranger-phone-design-has-mouthwatering-specs-b.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Nokia Power Ranger is a Dual Boot Smartphone : 512 GB, 24.2 MP dan RAM 4 GB" border="0" height="111" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbjrgPxbSt6l_BuU7nCsnQcXgYRlLDzx3Y_384ZuPotlvOiM-kqzujB07casCr_IZP4i4IWGsV0h6qItwYLQB1MaUzjIVclhEy_mTUWIUC0XAS5v6vtSMaUrFkJyvLhPoHUTu_ZkCK59Rf/s200/Nokia-Power-Ranger-phone-design-has-mouthwatering-specs-b.jpg" title="Nokia Power Ranger is a Dual Boot Smartphone : 512 GB, 24.2 MP dan RAM 4 GB" width="200" /></a></div>
<br />
<a href="http://paperforshare.blogspot.com/2015/04/nokia-power-ranger-is-dual-boot-smartphone-512-gb-24.2-mp-and-ram-4-gb.html" target="_blank"><strong>Nokia Power Ranger is a Dual Boot Smartphone</strong></a> -The consept will never die because all peoples like with a new idea. The latest concept nokia for the future would has been launched. And maybe it making much people interest.<br />
<br />
After has been aquired by Nokia and Alcatel on April 15, We are hope for having the next generation of smarftphone of Nokia. Nokia was called this <i>genertion is Nokia Power Ranger</i>.<br />
<br />
<h3>
Nokia Power Ranger Specs</h3>
Nokia Power Ranger were increase Operating System on Window Phone 8.1 and Android 4.4 Kitkat. The processor of this smartphone is snapdragon 805 with speed in 2.5 GHz, Andreno 420 who handled the graphic. The resolutions of Nokia Power Ranger is 2560 1440 pixels.<br />
<br />
And than, this smartphone will coming also offer capasity of RAM on RAM 4GB. Using this RAM, the smartphone also will stable when run many applications. So your smartphone don't worry for having <i>lag</i>. The storage of Internal is up to 512 GB slot Micro SD. And than the resolution of camera is 24.2 MP, and the front camera just in 5 MP. <u>Nokia Power Ranger</u> was designed with pholycarbonat and bezel body which ultra thin.<br />
<br />
Paper 4Share - <a href="http://paperforshare.blogspot.com/2015/04/nokia-power-ranger-is-dual-boot-smartphone-512-gb-24.2-mp-and-ram-4-gb.html" target="_blank"><strong>Review Nokia Power Ranger</strong></a>Anonymoushttp://www.blogger.com/profile/00080147742249972721noreply@blogger.comtag:blogger.com,1999:blog-4369995830928019733.post-80135309929121195012015-04-15T23:04:00.000+07:002016-04-16T23:08:52.433+07:00How to accept all friend requests on facebook<a href="http://paperforshare.blogspot.com/2015/04/how-to-accept-all-friend-requests-on-facebook.html" target="_blank">How to accept all <b>friend requests on facebook</b></a> - who don;t know facebook? Billion people have an facebook account, boys, girls, students, employees, or president, they have a facebook account. On the article now, Paper 4Share will explain the tips n trick for <u>how to confirm all friend requests on facebook at once</u>.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhN1GpJ3Sye9r4hmU_xqbHxaBjoebLcTCoM_kUVn7Kl0ZYnqoyKGAvHOTnmbjKH2n8eDWjkgE9qkJYL8Yj6uKke8bf3QQgcjZsbANpTmaRIkmk19oj0TpdFyXhDiqJpB3p99W-MaqJ38d7S/s1600/friend-requests-on-facebook.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="friend requests on facebook" border="0" height="74" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhN1GpJ3Sye9r4hmU_xqbHxaBjoebLcTCoM_kUVn7Kl0ZYnqoyKGAvHOTnmbjKH2n8eDWjkgE9qkJYL8Yj6uKke8bf3QQgcjZsbANpTmaRIkmk19oj0TpdFyXhDiqJpB3p99W-MaqJ38d7S/s200/friend-requests-on-facebook.png" title="friend requests on facebook" width="200" /></a></div>
<br />
<h3>
Tips n trick how to accept all <strong>friends request on facebook</strong> :</h3>
First, open your Mozilla Firefox browser, than click a menu of <b>View => Toolbars</b> => and than give checked the Bookmarks Toolbar.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYIGx7M8Tz3ZQZGIQdGR1ibKgSJz8eqAW5WwXaLT_8t-QO8A5CmNt-InJwdZpBCxU6F37l2t6kZJF6eHK3XZ0WK22rPyUmvqo3r819acOs_tcn9iozbt2ZBDcPekbJiCexAz-C7qOp9zmT/s1600/friend-requests-on-facebook-1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="friend requests on facebook" border="0" height="105" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYIGx7M8Tz3ZQZGIQdGR1ibKgSJz8eqAW5WwXaLT_8t-QO8A5CmNt-InJwdZpBCxU6F37l2t6kZJF6eHK3XZ0WK22rPyUmvqo3r819acOs_tcn9iozbt2ZBDcPekbJiCexAz-C7qOp9zmT/s200/friend-requests-on-facebook-1.png" title="friend requests on facebook" width="200" /></a></div>
<br />
Second, it will showing the bookmarks toolbars on your browser. On the toolbars posision, <b>click right</b> => and then select <b>New Bookmark...</b><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi27KMWcN-PJGRM6SeOLCbt4muAfTSQ4xavRC6hsNhed6nrU_o99aZsxmfaHJMgYK0gVUVRvpGz1rPEt7zBhpVj8HQLExOUy_EeFy1PVdoo23iTQvnusfLbDij2PE_Ivwk11K6o53otAqDJ/s1600/friend-requests-on-facebook-2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="friend requests on facebook" border="0" height="148" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi27KMWcN-PJGRM6SeOLCbt4muAfTSQ4xavRC6hsNhed6nrU_o99aZsxmfaHJMgYK0gVUVRvpGz1rPEt7zBhpVj8HQLExOUy_EeFy1PVdoo23iTQvnusfLbDij2PE_Ivwk11K6o53otAqDJ/s200/friend-requests-on-facebook-2.png" title="friend requests on facebook" width="200" /></a></div>
<br />
Third, <b> </b>On the New Bookmark window, in the field on <b>Name</b>, you can give the name, for example "Confirm Facebook", and in the field of <b>Location</b>, copy and paste the script at below<br />
<br />
<blockquote class="tr_bq">
javascript:for(i=%201;i<document.getElementsByName("actions[accept]").length;i++){document.getElementsByName("actions[accept]")[i].click();}void(0);</blockquote>
After you copy and paste that script, and than click <b>Add.</b><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFD7jnwqRbkI8xurDjUehi_YsrSMKuqQQ1Nah9qTXLiMw_Wtt6QPD9UK12iB-9T0ILNYmJw4EzZP2R0LK2yaeokYxyfDWUqixRCVgG1Jlh1f2PCQngjqQSZDz3bHBYaQa93Pgd04TvLxv1/s1600/friend-requests-on-facebook-3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="friend requests on facebook" border="0" height="142" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFD7jnwqRbkI8xurDjUehi_YsrSMKuqQQ1Nah9qTXLiMw_Wtt6QPD9UK12iB-9T0ILNYmJw4EzZP2R0LK2yaeokYxyfDWUqixRCVgG1Jlh1f2PCQngjqQSZDz3bHBYaQa93Pgd04TvLxv1/s200/friend-requests-on-facebook-3.png" title="friend requests on facebook" width="200" /></a></div>
<br />
Until this step, you will see a toolbar with the title is Confirm Facebook. Okay, how to confirm friend request on facebook??<br />
<br />
<ol>
<li>Login on your facebook account.</li>
<li>Open this URL <a href="https://www.facebook.com/reqs.php">https://www.facebook.com/reqs.php</a>.</li>
<li>Need to know, this script will active on the view is open, so if you wanna automatically confirm all of friend request, click <b>More Request</b>.</li>
<li>Click the toolbar of <b>Confirm Facebook</b> above.</li>
</ol>
Finish, wait and that script will work. Just one click your friend requests on facebook will confirmed. Thanks for your visit, dont forget to share if this acticle are usefull.<br />
<br />
Paper 4Share - <a href="http://paperforshare.blogspot.com/2015/04/how-to-accept-all-friend-requests-on-facebook.html" target="_blank"><i><strong>How to confirm all friend requests on facebook</strong></i></a>Anonymoushttp://www.blogger.com/profile/00080147742249972721noreply@blogger.com