Category: Misc


Editing CSV’s in PHPStorm

I was looking for a CSV plugin for PHPStorm, but it turns out there is no need. Open your CSV (which you associate with a plain text file), right click, and select edit as table!

Notice how much better that looks!

table

Advertisements

Just a quick one! We all know and love Firebug, but you might get annoyed when you right click to inspect element, only to find you clicked on ‘Inspect Element (Q)’ instead of ‘Inspect Element with Firebug’. So lets get rid of the one we don’t use!

inspect

It’s real easy. Browse to about:config, and proceed past the warning.

config

Set extensions.firebug.hideDefaultInspector to true.
Set devtools.inspector.enabled to false.
Problem solved!

inspect

DO NOT BUY Disk Sensei, or TRIM Enabler!

Apple have included a command line tool in one of their updates, so don’t fork out when you DON’T NEED TO!

Open the terminal, and type:

sudo trimforce enable

That’s it! The machine reboots, and your hard disk is now using TRIM and should be nice and optimised!

Totally Free Bitcoin!

I went to buy a Bitcoin. At £20. But I had to set up a transfer from the bank and wait for paperwork. Eventually it came. Bitcoin was now £60! Looks like I missed my boat. And I’m still missing the boat, it’s now at £92 and climbing!

Anyway, I then thought about it. If Bitcoin really is the future, then we should try and get some. Market analysts have speculated that Bitcoin could possibly capture up to a tenth of the world market! Remembering that there are only ever going to be 21 million Bitcoins in circulation, that would price a single Bitcoin between £100,000 and £1,000,000 !!! A million quid? Per Bitcoin?

So given that these darn things are rarer than hens teeth, it really is surprising to me that there are these things called Bitcoin Faucets, which are still operating!

Originally conceived as a way for miners to distribute wealth in order that more people adopt Bitcoin, these sites offer you Satoshis in exchange for you viewing a webpage full of adverts! Usually the vibe is to fill in a captcha, paste in your Bitcoin address, post the form and wait for your free money!

So since the normal bank took too long for me to buy some bitcoin at a reasonable price, I messed around with these sites to check it out? The result? My Bitcoin account now has 0.039BTC. Highly unimpressive looking, until you realise that this is actually £3.61! Just imagine, if the entire world ran on nothing but Bitcoin, then 1 BTC would equal one twenty-one millionth of the entire worlds wealth! So it’s the wild west and theres a Bitcoin Rush! Download yourself a wallet from MultiBit (https://multibit.org) and then visit these sites to get completely free Bitcoin!

totally free bitcoin

Free Bitcoin Galore!

12 Hour Faucet
Awesome payout! But doesn’t pay you until you have visited enough times to collect 0.01 BTC (89p at time of posting this)
http://www.bitcoinfaucet.at?ref=1Cu6X3c716CCKU3Bi2jfHv8kZ2QCor8uXm

24hr BitVisitor
Good payouts.Visit 5 websites for 5 mins each (play guitar or something between).
http://www.bitvisitor.com/?ref=1Cu6X3c716CCKU3Bi2jfHv8kZ2QCor8uXm

24hr NetLookup
Good Payouts again. Paste in your address!
http://netlookup.se/free-bitcoins/311510

24hr Bitcoin Addict
Another good one, jackpot prizes of 0.01!
https://bitcoinaddict.com?r=ndqyymrj

24hr BitHits
Submit your address! Then go back a page and do it another twice! (3 in a row max per day)
http://www.BitHits.info/index.php?ref=1Cu6X3c716CCKU3Bi2jfHv8kZ2QCor8uXm

24hr Bunny Run
This one gives better prizes away if you can guess the Winning Bunny, 1st place 0.0001
http://boklund.nu/bunnyrun/

1 hr Daily Bitcoins
Dishes out 0.00001 unless you check coming prizes then refresh the page like a madman on that particular minute! The you can win up to 0.01!
Also gives random PeerBet credits out, which you can gamble and withdraw winnings to your account!
http://dailybitcoins.org/index.php

1 hr Coinad
Exactly the same vibe as Daily Bitcoins, minus the Peerbet credits
https://coinad.com

1 hr El Bitcoin Gratis
En Espanol! Hourly Faucet
http://www.elbitcoingratis.es

1 hr El Bitcoin Gratis
Same as above, in English
http://www.bitcoins4.me

24hr BitCoiner
Best thing to do is save up then send all at once to save on transaction fees
http://bitcoiner.net

1 BTC Faucet
Be Fast or Be Last! This thing takes ages to fill up, then its fastest finger 1st to withdraw! Currently sitting at 0.3something BTC
http://bitcoinfaucet.blogspot.it

24hr Cointicket
Paste n Go!
http://cointicket.org

24hr CoinReaper
Sort out a captcha and get your daily hit of BTC
http://www.coinreaper.com

All about Bitcoin

Ever heard of Bitcoin? A lot of  folk haven’t yet, but now is the time to know! Bitcoin is a new digital currency with low transaction fees, designed to challenge and compete with existing the currencies we already use. Unlike our dollar and pound though, there is a finite supply of bitcoins and so the currency won’t devalue through printing more notes, bailing out criminal bankers, etc!

How does it work? Well there’s some fancy cryptology happening around something called a block chain, which records all the financial transactions. According to those who’ve examined the workings of the software (it’s completely open source), it’s beautifully designed and works really well. We don’t need to know how, but it’s good to know.

So where can we spend bitcoins? Well apparently more and more people are strarting to accept bit coin, and of course IT is one of the first industries that are helping bitcoin gain traction. There are even hosting companies who accept all payment in Bitcoin! And BitPay, who are a payment provider for either Amazon or eBay (I can’t remember which) have started accepting Bitcoin. So it’s starting to hit the mainstream.

So how much is a bitcoin worth? Well, that’s the crazy thing. Bitcoin has been designed to act like Gold! There is a finite supply of the stuff, and you need to mine it! So how does that work in a software sense? Like the SETI project (Search for Extra Terrestrial Intelligence) connected computers join forces to perform some mega calculations in order to mine the next block in the chain. With every block mined, the next block’s encryption becomes even more complex and takes even more energy to decode. Overall there are 21 million bitcoins in existence, and so far only 10.5 million have been mined. The remaining bitcoins are expected to be mined by 2030, based on computers becoming faster and the encryption algorithm becoming more complex.

But back to what we were asking: How much are the darn things worth? Okay, brace yourself. Right now the current market price for 1 bitcoin is around £34 / $50!
In other words, if this stuff gains enough traction, and criminal bankers and politicians continue to abuse the system for their own ends, then we can expect a full blown financial apocalypse! And we should take action! Right now the Bitcoin economy is worth half a billion dollars (i’m guessing, but i’m sure its around about there). If Bitcoin were the entire economy, then one Bitcoin would equal one twenty-one millionth of the worlds wealth! In other words, we should ALL get involved NOW!

Okay, so lets get started.
  • Grab a USB pocket drive ! This will now be your digital wallet.
  • Download Truecrypt (http://www.truecrypt.org) and copy the file to your usb drive.
  • Open Truecrypt and create a new Truecrypt volume on your USB drive. This acts like a separate drive with password protected encryption, keeping your wallet safe inside it.
  • Download a Bitcoin Wallet program. There are a few to choose from, but on the Mac I chose MultiBit (https://multibit.org). Copy this into your Truecrypt drive.
  • Open Multibit. It creates a default wallet. Make sure it's stored on the protected drive and not in your user folder or wherever else on your hard drive. If it is, do the following (from the multibit website) :
  • On a Mac, copy the entire MultiBit application onto your USB drive. The name of the application file will be MultiBit-[version].app. Then go to where your wallets are stored and copy the files multibit.properties and multibit.blockchain onto your USB drive into the same directory. You can then double click the MultiBit-[version].app on your USB drive to run MultiBit

Okay now you are all set to send and receive some digital Cash! To get started, lets get some FREE coinage! Yes, some people are literally giving away money! Okay, it’s not much, but just you watch the global economy CRASH and see how Bitcoin shall stand strong and gain value. Bitcoin is seriously performing! Click on the receive tab, and then copy the string of numbers (that’s your account no). To get you started, some sites are offering fractions of Bitcoin for just pasting in your bitcoin address, visiting a web page, or filling out a captcha! Visit http://www.freebitcoin.nl, which contains links to sites which offer free bitcoins. Great to get you interested and started.

Some important sites then. Blockchain (https://blockchain.info) gives info on all transactions completed and pending, and contains various financial graphs such as value in dollars etc. There are also links for developers. To see your own account, the address is http://blockchain.info/address/YOUR-ACCOUNT-NO-HERE

Mount Gox (https://mtgox.com) is the largest bitcoin exchange, and if you decide to invest some money in bitcoin then this is place to go!

Wow. Just looked at Mount Gox there. Bitcoin now sitting at $58. That didn’t take long!
Next time I’ll have a look to see how easy it is to start accepting Bitcoin from a PHP programmers perspective.
But in the meantime, get yer cowboy hat and boots on, it’s the Bitcoin Gold Rush! Yeehah!