Wednesday, January 18, 2012

SOPA/PIPA related to Wikileaks?

Today is the official internet blackout day for the protest against SOPA and PIPA.

As you should have already noticed Wikipedia, Google, Reddit, Craigslist, EFF, Mozilla (Firefox), Torrentfreak and many, many more have joined in protest against those USA bills by blocking out their main pages and linking to videos and information about the bills. I will not attempt to explain as there's already enough information and you can learn more from the sites listed or simply googling it :)

But what I do want to discuss here is what is the real reason those bills have come about. Although we would all like to believe the reason is for shutting down websites, advertising networks and payment systems that infringe copyrights but when thinking about the payment systems we remember the very recent and very real attempt to shutdown a site like wikileaks. As you would have heard Visa, Mastercard and Paypal have all stopped supporting the payments that wikileaks was supposed to get from the donations that people would give to wikileaks via those services listed. Because of the services that existed in the US it would appear that the government has enough infolence on those in Visa, Mastercard and paypal to force them to shutdown the support for wikileaks.

In reality Wikileaks had done nothing wrong, they simply tell the truth leaked from within the government departments in the united states that should have been made public in the first place. Of course you probably also heard that anonymous hacking group had managed to retaliate at visa, mastercard and paypal because they feel that free speech should remain free on the internet and not censored. So we see these bills being proposed and supported by the most obvious players of the Hollywood entertainment industry, because of the very vague nature of the language used in those bills which is very heavily criticised by the many opposing companies and people I have a very real suspicion that there's something to do with wikileaks and wikileaks type of websites.

What do you think of SOPA/PIPA?
Do you think SOPA/PIPA is this a front for actually shutting down sites like wikileaks and ones that are similar in nature to wikileaks?

Let me know in the comments below.

Monday, December 5, 2011

Speed tests

Here are some speed tests:

This is from a neighbour's open wireless (used two routers to get stronger signal) http://www.speedtest.net/result/1630296616.png

This is the new service from Acanac
http://www.speedtest.net/result/1635914795.png

Saturday, December 3, 2011

Gmail CommandLline

Syntax for emailing from gmail using command line tool (attached below):

mail -f my@gmail.com -d gmail.com -smtp smtp.gmail.com -port 587 -t my@gmail.com -sub "This is the email subject" -from my@gmail.com -cc techsupport@gmail.com +bcc -v -starttls -auth -user USERNAME -pass PASSWORD -M "My email message"

To put into windows script for easy management:

email.bat
---------------------------------------------------
@echo off

if NOT DEFINED m set m="Email test"
if NOT DEFINED sub set sub="Email test subject"

REM --------From, To and CC-----------
SET f=<FROM EMAIL ADDRESSS>
SET cc=<CC EMAIL ADDRESS>

REM ------username/pass-------
SET usr=<GMAIL USERNAME>
SET pass=<GMAIL PASSWORD

REM ------other values----------
SET p=587
SET sm=smtp.gmail.com
SET d=gmail.com
SET v=+bcc-starttls -auth 

echo Emailing To/From:%f% 
echo Subject: %sub%
echo Message: %m%
echo.
mail -f %f% -d %d% -smtp %sm% -port %p% -t %f% -sub %sub% -from %f% -cc %cc% %v% -user %usr% -pass %pass% -M %m%
pause

---------------------------------------------------

Download 231k

Thursday, December 1, 2011

How to make Git ignore files that already exist in your project

http://justaddwater.dk/2009/12/07/how-to-make-git-ignore-files-that-already-exist-in-your-project/

For a project I’m working on, I had to change some files with personal settings, and the files kept showing up with a git status.

Adding files to .gitignore that are already tracked does not work. (and it’s actually pretty well documented in the documentation). In stead, it’s possible to use this command:

git update-index --assume-unchanged [filename(s)]

From git-update-index manual page:

--assume-unchanged
--no-assume-unchanged

When these flags are specified, the object names recorded for the paths are not updated. Instead, these options set and unset the “assume unchanged” bit for the paths.

When the “assume unchanged” bit is on, git stops checking the working tree files for possible modifications, so you need to manually unset the bit to tell git when you change the working tree file. This is sometimes helpful when working with a big project on a filesystem that has very slow lstat(2) system call (e.g. cifs).

Fantastic! my system files are now ignored by git :)

It’s an incredibly useful tip for example if you have files that MUST live in the repository and that servers/editors change. In this particular project, Tomcat keeps changing two files. Furthermore I have changed the log-level from INFO to WARN which I should not commit into the repository.

git update-index --assume-unchanged lets me do exactly that.


Wednesday, November 30, 2011

centos/redhat update php 5.1/5.2 to 5.3

http://iuscommunity.org/Docs/ClientUsageGuide#Configuration
download the files and rpm them, install yum-plugin-replace and replace to the new php package as follows


wget http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/x86_64/epel-release-5-4.noarch.rpm
wget http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/x86_64/ius-release-1.0-9.ius.el5.noarch.rpm

rpm -Uvh ius-release*.rpm 
rpm -Uvh epel-release*.rpm


yum install yum-plugin-replace
yum replace php --replace-with php53

Tuesday, November 1, 2011

Google's mail, reader new look

Recently Google started rolling out a new look for many of its services, this includes but not limited to: gmail, blogger, docs/spreadsheets, reader (rss), websearch and more. I have to give it to them, this really does look, feel and respond much better with modern browsers from my current experience with this new platform. From my understanding it's css and javascript changes and sometimes back-end changes too but overall I think it's great. The look makes their services appear more consistent, they work mostly faster, and changing up the way things look is not new but certainly entertaining to someone that was staring at the same stuff for a while.

http://gmailblog.blogspot.com/2011/11/gmails-new-look.html

Sunday, October 30, 2011

how to get Russian in kodo epub ebook

The best solution is to simply search google the name (title) of the book plus add the keyword "epub" and download the epub which will have the best results.


[if it cannot be found and still need to convert This is a copy from http://www.mobileread.com/forums/showthread.php?t=99820&page=4 with the purpose to archive it since this might be important.]

How to embed fonts in ePub after Calibre
This is my simple step by step guide how to embed fonts in epub files after Calibre convertion. For me the most important advantage is that ADE and my reader device finally show readable Cyrillic letters instead of ???.

1. EPUB Output> check: "No default cover"

2. Right click and open .

3. Add the following Serif fonts to the epub file. Fonts are available at C:\Program Files\Calibre2\resources\fonts\liberation:
---------------
LiberationSerif-Regular.ttf
LiberationSerif-Italic.ttf
LiberationSerif-BoldItalic.ttf
LiberationSerif-Bold.ttf

4. content.opf - insert the <item... > lines after the <manifest> :
---------------

<item href="LiberationSerif-Regular.ttf" media-type="application/octet-stream" id="id1"/>
<item href="LiberationSerif-Italic.ttf" media-type="application/octet-stream" id="id2"/>
<item href="LiberationSerif-BoldItalic.ttf" media-type="application/octet-stream" id="id3"/>
<item href="LiberationSerif-Bold.ttf" media-type="application/octet-stream" id="id4"/>

5. stylesheet.css - insert the following text after the first line:
@namespace h "http://www.w3.org/1999/xhtml";
---------------
@font-face {
font-style: italic;
font-family: 'Liberation', serif, sans-serif;
font-weight: normal;
src: url(LiberationSerif-Italic.ttf);
}
@font-face {
font-style: normal;
font-family: 'Liberation', serif, sans-serif;
font-weight: normal;
src: url(LiberationSerif-Regular.ttf);
}
@font-face {
font-style: italic;
font-family: 'Liberation', serif, sans-serif;
font-weight: bold;
src: url(LiberationSerif-BoldItalic.ttf);
}
@font-face {
font-style: normal;
font-family: 'Liberation', serif, sans-serif;
font-weight: bold;
src: url(LiberationSerif-Bold.ttf);
}

Tried that the following way
1) Convert book with calibre
2) load it up to Kobo SD card
3) open epub in WinRAR 
4) opened files in Notepad++ (using it as an external editor for WinRAR)
5) added fonts and edited css file, closed the epub
6) disconnect Kobo, 
7) read book in Russian





Sunday, October 23, 2011

3 Trends that Apple (Steve Jobs) Started

1. Portable MP3 player
The first popular product that put Apple on the map of the mainstream media - or technology world  was the iPod. The first generation was much simpler than the second, third and fourth etc. naturally but they were certainly not the first MP3 player on the market, so why was their success so much better than their competition? I guess there could be many factors and depending on who you ask it's a different answer - I think it's interface is/was not great and the restriction of the music sucked! but they seemed to have much more space in terms of GB than anyone else and thanks to using hard drive technology, yes that's right and you can actually feel the platter spin up if you have the older ones!
This was the case even up to the 4th generation ipod video which now had a color screen (never before seen) and could play videos (formated to their desire of mp4 of course). Now with the newer touch making the ipod simply an older iPhone minus the phone. ipod touch can install apps and make skype or gmail phone calls (with video whichnNorth America seems slow to adopt) but we still require wifi for that which is no good if you have a data plan. Which brings us to the next trend.

2. Touch Screen Mobile Phones
In the case of the iPhone it started with 2G and went to 3G, later 3GS. S is for speed I guess being a faster processor as it is with the 4 and the new 4S being faster then the last. There were not many phones that had a great touch screen ability before the iPhone and this is where blackberry hoped they would remain key competitor but touch is so simple and fun that it seemed to have cought on and most modern phones have this capability. Android is now a serious competitor as the hardware gets better the OS is also great from the search engine giant Google.
And with this new touch screen technology as it was adopted in iPods it is also made into the larger screen of the tablet bringing us to the next trend.

3. Tablets (touch screen too)
Ah the tablets, this old friend to many designers and artists of all sorts, even laptops with touch screens are not uncommon before the iPad came out. But once the iPad came out suddenly there appeared to double the amount of competition for this market of tablets from HP to Acer all the computer manufacturers started producing direct and indirect (different specs and price ranges) competitors. Of course with new android OS it became clear that Google has something great going on with their software. Remember though that the first iPad was actually lacking many of the new features iPad 2 has such as two cameras (back and front), speed and apps which didn't work well (if you remember other features comment below).

This is why Apple was important in the technology industry, even going back to the first computer - the macintosh which was the competitor to the first PCs, later the mac and macbook to compete with laptops which are in fact very popular with certain people such as designers and DJs seem to have as well.

It's clear that whatever Apple does, the rest of technology companies will follow but the fact that they make the trends does not mean they have the best products for me. In fact I can't wait for the next OS from Google which is supposed to be called Chrome OS but is yet to be made available.

Apple's success is directly related to the marketing of their products and in fact the brand which Steve Jobs helped build. They focus on the non-technical, regular people middle to higher middle class people that would find the ease-of-use and fun factor of the products. But this is where technical people are not benefited from their products and to me, being tech-savvy I find their products lack the flexibly I require and the restrictive nature is always a huge turn down problem that I tend to not like about them and I have never owned any of their products nor will I feel the need to get it. Of course I was always able to use their products when friends and family have them so the ease of use is a plus.

Do you own Apple products?
What do you like/dislike about Apple products?
Leave a comment and let me know what you think.

Saturday, October 15, 2011

How to find out legitimate website from fake one

I saw someone post a facebook link with timhortonsgiveaway.org and checked it out.
There's nothing phishy about it but it claims to give away $25 gift cards if you share the link on facebook.
How would they know you shared it to even give you the gift card? this got me a little suspicious and I decided to check if it's real by doing the usual investigation as follows.

Step 1: Check the who is records (there's at least hundreds of them - my favourite is who.is)
1. Registrar: eNom, Inc. while timhortons.com appears to be NAMESCOUT CORP
2. Contact Information: WhoisGuard Protected while timhortons.com has the full information [ The TDL Marks Corp. Chris De Jaham and TDL Group Corp Tim Davidson ]

Step 2: Google search
So it's clear there isn't anything about this website anywhere, those links are older and include nothing about it. Trying site:timhortonsgiveaway.org - just add the "site:" has 0 results meaning this site is not yet on google also seeing that it was recently registered from the who is info (Creation Date: 2011-10-15 22:16:31).

Finally a quick check on timhortons.com shows nothing of this deal at all, so either this is a super secret and super recent deal which leaves no trace back to Tim Horton's itself or it's a fake. Most likley the latter but I will update if I see anything new or unusual about it. Leave a comment below if you have any information or if you are indeed from Tim Horton's or even this promotional website to confirm or deny the website claim of giving away $25 gift card.

Thanks for visiting!

Thursday, October 13, 2011

restart apache and mysql linux

Just had some issues with services stopping in my virtual private server (vps) of godaddy (strange) but those two commands get it up and running again:

apache - http (httpd)
/etc/init.d/httpd restart

mysql (mysqld)
/etc/init.d/mysqld restart

First you must ssh into the server (I prefer putty), second you escalate your privilege with "su" command

If you have any host suggestions leave them in the comments below and I will post here - I require a powerful virtual private server that can match the performance (or outperform) godaddy, that means to have a powerful processor for plenty of requests and queries and at least 100Mb/s up/down connection and 100GB transfer per month should suffice.

Saturday, October 8, 2011

Occupy Wall Street (and other cities) Zeitgeist

This is great to see the progress Occupy wall st has achieved in the last few weeks. This finally seems like the people there are awaking and protesting for much more. They understand that corporate greed is what runs this society and they want to make a revolution. This is Zeitgeist in that it is a time of new era and things are changing, but also in connection to the zeitgeist movement in that it is what seeded the beginings of this types of movements. Amazing to see that it's growing all over the US and moving to Canada as well!

Glad this is happaning, and specially now at a time when we see problems are just piling up and we are here to solve them.

I was always sure this will happened after watching the Zeitgeist moving forward movie and now more then ever. One day in the near future things will change to the 99% benefit and there will only be 1% (or hopefully not even that) suffering - unlike the way it is today. This is why there are movements and this is why it's happening.

Makes me very happy that the changes are starting as soon as I expected and there will be a great and positive future in the time we all have left on this planet. One day we can look back in our history books (probably digital) and teach our kids: "the world was once ran by *greed* and *fear*, there was a population of over 6 billion controlled by a few hundred or less people with a huge amount of currency we called money. These people had no souls because they didn't care about suffering and dying or dead people, they only cared for themselves. The rest (99%) of the people were oppressed and human rights were stricken, but they rose up and fought for the world you have today. They may have not had the combined money or perceived power but they had the numbers because everyone was there and this is how we got to where we are now." And we can watch the movie wall street to site the greedy corporations and the famous line: "Greed is good" which is total fiction. Along with the rest of the Free Education our children will be given.

Watching the true democracy unfold before our eyes, because we all know what is now a time of change from the past ways of thinking where inherited billionaires control too much for their own good.

Let me know what you think!

Sunday, September 25, 2011

Drive (2011) movie review

First, the movie starts slow but kind of cool, old school cars are shown and the character is wearing gloves. Interesting but very slow moving. Of course there's many movies starting fairly slow and pick up quickly and this movie seems to do it, but then slows down again, and again, and again, to be very, very slow.

I wanted to see this movie because it seemed it would only come out in theaters around Novemeber. The trailer was actually looking very good. And in that I would say it was very misleading. The action in the movie does come in and is very nice, I would compare it to any hollywood action flick in that sense but the slowness between each action sections of the movie simply make it unbearable. Somehow I did end up seeing it to the end and I am surprised by this as I thought I would turn it off, and I even questioned why I didn't but ended up seeing it through (I guess I like to finish things).

I only want to call the slow parts of the movie a huge wast of time, I really wish this 100 minute movie was edited to be 50 minutes, in fact I really want to do this myself and hope to find a nice video editing software and do this (if copyright didn't restrict me this would probably be floating around the internet for anyone to download). I would take out all the slow and non-plot related parts of the movie, and/or speed up the ones that are necessary for understand the rest of the movie. I actually thing with the right editing, and scene tweaking this movie can be great.

There is great potential in many of the scenes and I just wish it could be shortened in those long drawn out silence scenes that are simply not needed.

Let me know what you think:
Have you seen the movie?
if so do you think a cutting room floor would help and should I attempt to edit it? (if there's no demand I will not bother)

If you have not seen it, will you? how are other reviews if you read any?

Use the comments below or email theborisedu at gmail.com

Tuesday, September 20, 2011

why I closed my google+ plus account

Of course I was one of the first to hear about Google+ the new social network attempt from the search giant. As with anyone in this field (of internet and technology) I signed u,p and it was very simple, quick and easy since I already love using my gmail account for just about everything; from youtube, hosted sites, web analytics, webmaster tools, search alerts, even this blogger account along with other experimental "labs".

So it was probably under a year and now I am shutting it down completely. Some may say it's too quick others may understand in today's world of fast paced technology innovation it's a proper time to evaluate and now I see this service has no use for me. I am sure when I signed up for Facebook I didn't use it as much and yet I remained on it (beside a brief disabling when I wanted to see what life was like without it again). I also got twitter and didn't use it, in fact I still rarely post I just subscribe to the community and reply or post to either have a global conversation or a more local one. In that sense Google+ has no place in the social network it's like a combination of the two but none because they do exist (facebook and twitter).

And this is why I closed my Google plus account.

So I want to ask you the reader, do you use facebook, twitter and/or google+ and how do you feel they fit into your life together or separately from each other?
[Feedback or comments below or theborisedu at gmail.com]

Friday, September 16, 2011

Chrome screen capture

for my previous post I used this screen capture add-on or extention for google chrome https://chrome.google.com/webstore/detail/cpngackimfmofbokmjmljamhdncknpmg

it's pretty cool!

Facebook Ads.... or Photo rumors?

Was just checking out the new settings and such that facebook as been developing over time (sometimes making it harder to find what you're looking for but thats for another post) and under the unrelated topic of facebook ads there was a funny notice about a photo rumor: "There is a false rumor circulating that Facebook is changing who owns your private photos. You own all of the content and information you post on Facebook. Learn More"

Tuesday, September 6, 2011

Zeitgeist possibility

Just had more thoughts about the possibility of zeitgeist and wanted a quick note, summary on the topic of it.
Is it possible? if so then how?

Simply one of two options (or both):

1. The whole system of money needs to collapse on itself, and the only way this would be possible is if people running the show wanted it to collapse. So the issues that occur on a quarterly bases with economies these days are probably because the population is growing and the amount of money is being consumed quicker and saved by more and more people (mostly the greedy ones whom want much more than they need). So since this is probably never going to happen (as we can see from Bush to Obama the bailouts will continue and federal reserves will make more money when the economy needs it = or as they say is running out of it.)

2. The majority or whole of the citizen population turns their thoughts around (wakes up) and decided that money doesn't work for them so they switch it together.

Outside of these two options (or both) I don't see either of those two options happening (not anytime soon at least). So for now we will all live in a greedy, capitalistic way of life and enjoy it while we can.
Clearly this will last long and I don't mean those above options will occur but rather the life of our species will prematurely end probably because of the way we treat the planet, as our playground by "raping and polluting" it like there's no tomorrow.

Comment your thoughts.

Friday, September 2, 2011

Analutious Calendar? A.L. Calendar?

UPDATE: correction it's spelled Anno Lucius and there's Wikipedia article about it.

What is this and why is there absolutely no results for this search keyword?
I mean how often do you come across this page on Google "No standard web pages containing all your search terms were found.

Your search - analutious - did not match any documents." ? screen shot:

So I was watching this video which I found from my fav docu site truththeory.org (The Freeman Perspective) then decided to search this up and see more in depth (since it does look like an aged or old video) the only relevant search was this page from liveleak.com which asked the same question I am asking!
"What is the Freemason A.L. Calendar System?"

OK so this post is totally not answering anything, in fact asking more questions. Such as: is there any connection with Google having no results for this term (since we know that freemasions are high and mighty in many important places), do they have a hand in this information being blocked/suppressed or removed?

All that and more is yet to be found out and seen as more information comes in about the secret society and connection to the people in the highest places... and Jews thought they had power, LOL it's very laughable because clearly the masons have much more!

Good luck out there, and comment or email any and all information you have!
Thanks for visiting.
Eduboris

Friday, August 26, 2011

Mickey's fine malt liquor under the cap answers

So on this site: http://www.mickeys.com/Caps.aspx although there's many answers but its not all the caps, check out http://mickeysbeercappuzzles.blogspot.com for the rest of the answers.
Here's some that if I couldn't find elsewhere (or didn't bother to look?):
"Hey, Big Tipper"

"Go for second(s) [base]"





New project to combine all my caps!
(send them in if you have more, if you are interested in this piece I can start selling them!)
[if you have any corrections comment or email. if you want to put your cap and answer here send the cap (upload the image to http://imageshack.us send the direct link if possible) to theborisedu at gmail.com]

Monday, August 22, 2011

WinSCP synchronize scripting example

depending on how automated you need this script to be (I need very much to do it daily on it's own) so in my case I created this file example.txt:

option batch abort
option confirm off
open ftp://username:password@ftphost
synchronize local c:\local\path /path/on/server
exit
 Now this is the first part for local, so downloading everything new on the server to the local directory, next we have to put either in same file between the synchronize command and exit or I tried in new file example2.txt:
option batch abort
option confirm off
open ftp://username2:password2@ftphost2
synchronize remote c:\local\path /path/on/server2
exit
Note: If you need it to be SFTP instead of ftp:/ simply take that part out to look like this: open username2:password2@ftphost2
Getting the same thing to a secondary server with different username and pass of course,  this means we are replicating not only locally but also on a second server (for maximum redundant and backup if you have an important application like I do).

And for automation purpose I have a script called ftp.bat with following:
"progs\WinSCP.exe" /script=c:\path\to\example.txt /log=c:\path\to\logs\sftplog.txt
"progs\WinSCP.exe" /script=c:\path\to\example2.txt /log=c:\path\to\logs\sftplog.txt

Finally it's pretty easy to create a scheduled task (instructions will be coming soon if there's demand for this, leave a comment below) simply to point to ftp.bat and start it daily when you wish to do it!

Leave any feedback please

Wednesday, August 17, 2011

Wikipedia Image filter referendum

Just wanted to throw my two cents to the issue raised by Wikipedia about hiding images. [http://meta.wikimedia.org/wiki/Image_filter_referendum]

It seems very easy to me, when non-logged in users open an article with images that have been flagged by the community (for whatever reason) and this reason could be shown (i.e. nudity or disturbing image has been hidden) and after it's hidden from distracting the reader, they will have the option to click to view the image anyway. I think this because of the nature of wikipedia it is open and should remain this way, so anyone can view anything at any time, the hiding part sounds interesting because it can also distract from the text in the article which is usually more important at first, images are secondary.

And of course for those logged-in users, can filter and choose which images you want to see or not, but this is not very important to me because I only logging if I want to make important edits. Otherwise for reading and minor edits I don't bother...

Let me know what you think in the comments below and also be sure to let wikipedia know what you think too!

Thanks for visiting!