Amisha Budhirajahttps://amisha2016.wordpress.com
Just Do It.Tue, 30 Jan 2018 10:05:54 +0000enhourly1http://wordpress.com/https://s2.wp.com/i/buttonw-com.pngAmisha Budhirajahttps://amisha2016.wordpress.com
Playing with Osmosishttps://amisha2016.wordpress.com/2018/01/27/playing-with-osmosis/
https://amisha2016.wordpress.com/2018/01/27/playing-with-osmosis/#respondSat, 27 Jan 2018 15:16:22 +0000http://amisha2016.wordpress.com/?p=4433Continue reading Playing with Osmosis→]]>Command to filter the file with tag amenity=school and write the filtered data in second file.

Bitcoin is a new currency that was created in 2009 by an unknown person using the alias Satoshi Nakamoto and released as open-source software. It is a cryptocurrency and worldwide payment system. It is the first decentralized digital currency .

Transactions are made with no middle men – meaning, no banks! The price of bitcoin skyrocketed into the thousands in 2017.

Why Bitcoins?

With the help of bitcoins, international payments are easy and cheap because they are not tied to any country or subject to regulation.

Some people just buy bitcoins as an investment, hoping that they’ll go up in value.

Owning Bitcoins

Bitcoins are stored in a “digital wallet,” which exists either in the cloud or on a user’s computer. Bitcoins are traded from one personal ‘wallet’ to another ( peer to peer communication).

Anonymity

Though each bitcoin transaction is recorded in a public log, names of buyers and sellers are never revealed – only their wallet IDs. That’s why it has become the currency of choice for people online buying drugs or other illicit activities.

Why bitcoins in demand?

1. It does not rely on a central bank.

2. Due to limited supply, people will pay more to get the coins they think have value.

3. It can be used for investment.

Future in question

No one knows what will become of bitcoin. It is mostly unregulated, but some countries like Japan, China and Australia have begun weighing regulations. Governments are concerned about taxation and their lack of control over the currency.

]]>https://amisha2016.wordpress.com/2018/01/16/bitcoins/feed/2amisha2016Daily Dosehttps://amisha2016.wordpress.com/2017/12/21/daily-dose/
https://amisha2016.wordpress.com/2017/12/21/daily-dose/#commentsThu, 21 Dec 2017 15:13:13 +0000http://amisha2016.wordpress.com/?p=5157Continue reading Daily Dose→]]>After so long, I got a time to publish this draft. They are general things a developer should know.

What if you want to copy the file from one branch to other in git. Think think…

Congratulations if you know, but still I will explain here in detail.

Let’s say we have two branches A and B. I am currently in branch A and I want to copy one file from branch B to A. Remember, the file you want to copy should be committed. If not, then first go to branch B and commit it using below commands.

Virtualenv

virtualenv <name>

The above command will create a new directory with <name> which create new python executable path, set up tools like pip, wheel etc through which we can install new python packages even without sudo power and independent of global python packages.

source /<name>/bin/activate

It will activate the virtualenv you have created now. Make sure to activate before you install new package under it.

deactivate //deactivate the virtualenv.

pip freeze //list all the packages installed under that environment.

Before the installation of any package under it, it should output none. But in my it was listing global python packages installed.

On browsing the error, I came to know that there was one file existing named “pip.conf”

[global]
target=/usr/local/lib/python3.4/dist-packages

Either you can remove the file or move it at other place. This seems to be a small problem but in actual it was destroying the real power of having virtualenv. So, solve it ASAP otherwise it gonna create chaos.

Here “public_profile” means to view your post to public. This permission is must. This is obtain when we click “get access token” it ask for to show the post to [public, friends, only me]. Select Public. It took complete one day to debug the problem.:P

Now check the Page_id of the page in which you want to publish. It is displayed in URL or you also see in the “About” Section of the page.

Create the new object just like “graph” object created with new access token.

Likewise, an admin of the page can also publish the post. Rather an admin can select any option among [public, friends, only me].

Make sure in the General settings of the page there is no bar for a normal user and everything is set to public(if applicable).

Now check post to the page Community section. You will be able to see the post.:)

For any kind of doubt feel free to comment.

]]>https://amisha2016.wordpress.com/2017/10/31/publish-post-on-page-through-facebook-api/feed/0amisha2016Integralhttps://amisha2016.wordpress.com/2017/10/31/integral/
https://amisha2016.wordpress.com/2017/10/31/integral/#respondTue, 31 Oct 2017 21:01:25 +0000http://amisha2016.wordpress.com/?p=4736Continue reading Integral→]]>This blog is an integration of small small tasks done few days back.

Source code

]]>https://amisha2016.wordpress.com/2017/10/31/integral/feed/0amisha2016Common Ubuntu Commandshttps://amisha2016.wordpress.com/2017/10/29/common-ubuntu-commands/
https://amisha2016.wordpress.com/2017/10/29/common-ubuntu-commands/#respondSun, 29 Oct 2017 07:33:00 +0000http://amisha2016.wordpress.com/?p=4735Continue reading Common Ubuntu Commands→]]>The purpose of this blog is to inculcate the readers with some of the important network related commands and other command used on daily basis.

Rename multiple files in the same directory with extension phps to php.

$ rename ‘s/.phps$/.php/’ *.phps

History Command in Ubuntu

$history //This command maintains history of the commands you applied

The output of this command displays serial number and command only. What if you want to know when that command is applied and at what time? What to do so that your history command always display date and time also?