Posts marked with "Posts" in posts

How To Use Hard Disk As RAM In Ubuntu Linux

I heard that it is possible to use a portion of hard disk as RAM in Windows. I wondered if this trick is available for Ubuntu, so I googled about it and couldn’t find anything related to it. But I found out an AskUbuntu answer of using USB sticks as RAM. I did the same trick on Hard Disk and it works !!
This trick can be accomplished with the use of some small commands in Terminal. The RAM memory increase can’t be noted in the System Monitor application.So, Let’s begin.
Create a file of 512 MB (The 512 indicates the RAM memory to be added):

... [READ MORE]

GoDaddy WorldWide 99 cents for new or transfer domain of .COM

Here is the ultimate coupon code you were waiting for : 99 Cents for .COM buying or transferring domain worldwide. This offer is applicable to every country. Here are the conditions for this coupon :

Plus ICANN fee of $0.18 per domain name per year. $0.99 price for the first year for one new or transfer .COM purchases only; not valid for renewals. Additional years or .COMs may be purchased for $9.99* per year. Discounts cannot be used in conjunction with any other offer or promotion. After the initial year, discounted domains will renew at the then-current renewal list price. Customers may not use gift cards, Store credit, PayPal® or AliPay to redeem this offer. Your discount will be applied in your shopping cart. Go Daddy reserves the right to deny use of this offer and/or cancel domains purchased using this offer if the offer is abused or used fraudulently, as determined by Go Daddy in its sole discretion.

... [READ MORE]

Loading A Window Created Using GLADE in Python

If you have created a window using Glade and want to display this window on your Python program containing the event handlers of the Window, then you should follow this tutorial.
This small code will load the Glade file and displays the window.
Note : The Glade Project file format should be GtkBuilder.
Now, let’s get down to the code. Create a Python file named window.py in the folder containing the glade file and put in the following contents :

... [READ MORE]

GoDaddy .COM domain for just 0.99$ Worldwide

Want to buy a .COM domain for just 0.99 US Dollars ?
This coupon is valid for everyone in the world.
Here is a table of price of .COM domain using this coupon :

Indian Rupee                : 65
Australian Dollar          : 1.07
British Pound Sterling  : 0.62
Chinese Yuan               : 6.06
Kuwaiti Dinar               : 0.28

Just type in the following coupon in GoDaddy and you’re good to go.

... [READ MORE]

Add Floating Like Box to Blogger Blog

Every Success Blog was popularized with the social integration such as Like Box, Share Box, Commenting and others. The social sharing widget will help other users to reach your blog. So, In this tutorial I’m going to tell you how to add a Floating Like Box. I made the like box floating, because wherever the user goes the like box will also go with him. Hence the user will notice the like box all the time and he will click sometime during his visit. The liking action will be posted to his Facebook Wall or Google + page or his Twitter and his friends who sees this post will also visit. That friends too like your post if it is good and thus your post will pass along a lot of people.

... [READ MORE]

Automatically Redirect A Blogger Blog To Another URL

You can redirect your blog to another URL. This redirection can be done using JavaScript or by adding a special meta tag. This redirection is useful when you want to redirect your old blog users to your new blog. The function we use in JavaScript is window.location and the meta tag has http-equiv attribute.

So Let’s begin.

Go to Blogger -> Blog to be redirected -> Template -> Edit HTML.
You will get a box with a lot of text. Use one of the following methods to redirect :

... [READ MORE]

Send Email using GMail SMTP server in PHP

This tutorial was suggested by SWDS. To send an e-mail using GMail’s SMTP server, you need extra help. Download the latest version of Swift Mailer Package from here.
This mailing class is simple, that’s why I recommend you to use Swift Mailer.
If you have enabled application specific password feature on Google Accounts, you may have to generate a new application password and use that password for SMTP authentication. Otherwise the example won’t be able to login to your google account.

... [READ MORE]

Setting up Google DNS in Ubuntu

Google‘s DNS service is spreading rapidly. It’s time for you to use it. I used it and noticed some great speed changes even though my internet is just a dial up connection. Here is how to set up Google‘s DNS on your Ubuntu Linux.
Open Network Settings (network-admin) by going to System -> Preferences -> Network Connections. Go to your default net connection and click on Edit button.

You will get a window like below :

... [READ MORE]

Execute Command Without Waiting For It To Finish

If you just execute a terminal command using exec or system in PHP, the page will only load completely until the command has been finished. If you are running commands to run a websocket server, the page will not load, because the start server command won’t terminate. So to avoid this problem you should just do a simple trick, Just add > /dev/null & after the command you’re running.
Here is a quick example :

... [READ MORE]

Upload Image To Remote Server With PHP cURL & Handle File in Remote Server

If you want to upload images to an external server which is uploaded to your site by a client, you are at the right tutorial.
For this submission we will use 2 files :

  1. form.php – The Page Where we will show the client the form. This file also sends the uploaded data to the external server.
  2. handle.php – The Page on the external server which receives the uploaded data from form.php using cURL.

We won’t copy the uploaded file by the client to our server, instead we will directly send the file to the external server. For sending we will encrypt the file with base64.
OK. Lets’ Start. First, Let’s create the FORM page :

... [READ MORE]

Follow/Subscribe

Telegram 

Mastodon  Twitter

GitHub GitLab

Subdomains

Demos  Lab

Past

This blog was once on WordPress. Now a static site. See source code on

GitLab