Saturday, April 7, 2012

Get contact info with custom analytics to database

Had a need to get more details about the contacts leads (contact us page) and created this custom analytics that might be interesting for someone out there.

This code is valuable and I will not release it to the public unless there's huge demand for it but I will explain what is going into building it.

First there is the usual database connections but some tricks required to create multiple connections, which can work for off-site and different hosts (outside of the current one) - this is mainly done for backup but also because the internal website software managing the leads is on a separate host (done mainly because it's heavy enough to slow down the public site).

Next we have the part that tracks the landing page along with medium, browser and OS (inspired by Google analytics), I use a cookie that expires after about a month.

The data is stored in a table, database dedicated for this (specially since an avarage traffic site will gain a few thousands of new visitors per month/few weeks) the table will grow pretty rapidly and clean up can be scheduled for older entries that are over a month, but overall mysql can take a lot of entries and I didn't have to do that yet without seeing any slowdown (we are on a VPS mind you).

This part translates to getting a line of code at the top of every page you want tracked and it will have to be converted to php (if it isn't already) but it's easy for CMS type software like wordpress since it's as simple as going to the index and adding it to the top.

Finally the code needs to be added to the contact us page when being submitted. This will vary depending on your method of contact page if it's custom or if it's CMS type like wordpress plugin, specifically the popular "contact form 7" explanation can be found here.

The result is receiving leads in specific software which helps keeping track, and following up to convert (this is also software I have built) and when you get the lead it will have keywords, medium (referral, google or other search, or direct hit - just like google analytics). Helping you figure out how people find you and investing in the good methods that convert into real money for your business.

And that should do it for the brief, if you have interest in this software or even in my help setting it up for you please let me know in the comments, by email (found at the bottom) and we can talk something out.

Contact Form 7 send contact to database

UPDATE: Aug, 2016 -  There's a better solution using an add-on plugin for wordpress.



For archive purpose:

I noticed since Sept 23, 2014 (but maybe the change was made earlier since we didn't update the plugin until now) There are structure and code changes made in the new version which means this will not work. If you don't see the classes.php file you know you have the newer version (4.0 for me). New solution: modify the contact-form.php file around line 560 after:
if ( $submission->is( 'mail_sent' ) ) {
if ( $this->in_demo_mode() ) {
$result['status'] = 'demo_mode';
}
add:
require_once (getcwd().'/wsdl/func.php');
webRequest2($submission->get_posted_data());

on your own code you might need to add [0] at the end of the array fetching for each field.


Otherwise if you have an older version read the original solution:

If you use the quick form creation on wordpress with the popular Contact Form 7 while sending the data (not only to email) to a database of your CRM or related software to help manage the leads, this should help.

Although I am aware of the database extension I couldn't spend time to figure it out because we already had a database solution from a custom site that didn't use wordpress prior, so it was very simple once I found where the data is being sent:

Found the location in our install to be under /your-domain/wordpress/wp-content/plugins/contact-form-7/includes/classes.php

In this file you edit the part which is around line 278 in the submit function under the code
} elseif ( $this->mail() ) {

add your code, in my case it's two lines:
$cid=webRequest2($this->setup_posted_data());
sendAnalytics($cid);

I covered more on the analytics software here.

As simple as this you have the data and can send it to your database (which could and probably should be on different host).

Let me know what you think!

Saturday, March 31, 2012

Capitalism and Technology vs Zeitgeist

After much thought as can be found by previous articles about zeitgeist and other thoughts it's pretty easy to see when looking outside the box (the box being where we are) that how we got here is clearly affected by the capitalistic society that we run.

How can we see this? it's simple to see that the technological advancements come from many needs to continue the same life of capitalistic civilization. Where it gets radical is from the near present, with the space age technology which was really cold war's weapons. And this is great because there are none or very few sacrifices of life happening to advance technology.

The space race was really equal to the cold war in a sense that the war had no weapons of conventional means but it was to see who can advance the technology further to get to the goal, at the time, space and moon, travel and exploration.

There's many that believe this to be one of the best times in history for technology, space and science. Exploration was happening everywhere, and not just in outer-space but also in the spirits of the youth movement at the time, which used the now outlawed plants and chemicals ingested to help achieve hallucinations and great experiences was had by the population of North America.

But it seems once the space age and cold war was over many problems occurred and now we see a shift of freedoms and economic value, which is preciseness better in Asia.

But how all this relates to zeitgeist? one might think, the relation is once you look at the way technology has been both used and abused to continue the capitalistic society. Look at your technology right now, what do you have and what do you use it for? from you cell smart phone to your laptop/desktop and the tablets but also on what you use inside such as software for "productivity" you are just a piece of the puzzle which keeps cycling through the goods and services of the world around you.

Buying, selling, using and doing it all again and again, over and over for many, many times - this is the cycle of products and usage of services. There's much undercutting for example when culture is available for free we see a huge backlash by the media companies to stop it from happening, specially when they are the ones cut out of the equation.

Each job in the current is related in one way or another to this cycle and to continue this cycle. If you read the other articles I'm sure this point is repeated but this is why the occupy movement is so powerful and so important. It is there to disrupt the cycle and the fun those conspirators having at the top or those who simply don't know and are sheep following the herd. The wake up is here and has already awaken many millions like those youth in the '70s and it really didn't happen since the '70s which is why it's so challenging now that those in power feel so comfortable in their place. Are able to lie right in the public's face and continue like nothing happens....

Monday, March 26, 2012

How to get to mobile setup in Google Calendar


1. In Gmail click on the Calendar button at the top row of buttons

 2. Click on the Gears button which opens up the Settings button within the calendar

 3. Click on Mobile Setup


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!

Wednesday, June 29, 2011

Social Engineering - New way of hacking

Social Engineering is the new way of hacking and getting into systems, here's my case.

Got a phone call today at 2:24PM from an unknown caller. They asked for the person's name (whom the number is listed under) I continued to speak as if I am them as they explained that "your computer was generating errors" or messages or something rather "when browsing the internet and downloading..." of course being in this field I know what they are saying is completely bogus but I wanted to find out more about what they doing, suggesting and their intentions and goals (as I always do with phone calls to me).

I asked who are they, where they calling from and what is the problem. They answered (something like) 'windows department' (I don't remember the exact answer), 'New York' and the problem is 'the errors' (or similar answer) in that order. I got somewhat fed up with the lack of information in the answers and said I am a system administrator and what they are saying is bullshit so they said "it's not bullshit" and that was the last I heard from them as they hung up unfortunately. I do regret ending the conversation short and wish I could get more information that would help in future mitigation of such attackers (training my staff accordingly) and ultimately to convict these criminals.

What I wish to have learned:
What exactly they wanted to do and how did they want to do it?
For example; did they want me to download something on my computer to help 'solve the problem'? (probably a virus or other malicious type of software that would most likely log what I have potentially email username/passwords and bank account numbers and passwords, spreading itself to other computers that mine would be in contact with) or did they want to sell me something (which would be like a scam or fraud) or maybe their intention is to have my computer infected from the conversation of let's say download something and then they would offer whatever they sell to fix it.

Whether they are scamming to get into the computer and have control over it or they just want to make a quick buck is still unclear but from the clues I do have they most likely want access directly into my computer since they did identify as a windows department of sorts.

Many questions still unanswered and I still working on making a recording system because I feel recording phone conversations is important these days to both protect myself and also everyone else as I could report them to authorities to help stop such criminal defrauders.

As always give me your opinions, comments and thoughts. If you have encountered such security threats or have ideas as to how to record conversations automatically when answering my phone.

Thanks for visiting EduBoris blog! 

Monday, June 27, 2011

Video host script project php mysql

After the massive popularity of youtube there were many niche video hosts created and so here's my take on it with a friend's idea and my programming skills...the website is called www.ranland.com (defunct) and since we didn't have the funds after getting over 100s of hits/day in first week it went down to a steady 5/day so I decided to put out the source code in hopes that someone will find it useful, as always feel free to improve, remix, re-use!

If there's enough demand may place this on sourceforge and continue development.

Features:
-Flash player (flowplayer) with controls (pause play, full screen and seek)
-Video page with description, title, date posted, count views, thumbnail (image) and the flash video
-Share video on Twitter
-Share video on Facebook
-Share video on Google plus one
-Commenting on videos with Disqus
-Next and previous videos buttons
-Random Video button
-Pages (pagination)
-Featured page with thumbnail images, title and short description, order by newest first
-Most viewed page, same as featured but ordered by most viewed
-Search videos (with google custom search)
-auto tweet to twitter when new video added/uploaded
-auto generate sitemap when new video added (great for Google web and custom search)

Instructions:
-Unzip the contents and upload to your root directory
-modify the db.php with your database info (database info will be added soon)
-modify the index.php with contact info (email, facebook and twitter if you have it) and about info
-if you want twitter status updated when new videos added follow the twitter developer instructions (will be provided later)
-database structure (sql download) provided at the bottom, upload it to your mysql database host

How to use:
To post video go to post.php (no login authentication yet) upload via ftp (no browser upload yet) the flash video (.flv -- no conversion yet) to videos directory, upload the image thumbnail to images directory, past the name of image, name of flash file, add title and description, choose date or leave the existing and click to post the video.

The rest will sort it self and work on it's own, featured goes by latest page, most viewed or popular by most views on individual pages. Share them and enjoy!

There's many features that I would like to have done for this project but the development has been halted as the project came to an end and no further videos have been added, if someone is interested in helping with posting new videos I may continue the development with the following being ideas for new features:
-Add html5 video player support (so videos can be viewed on iDevices-ipod,iphone,etc)
-Add tags and keywords to videos for better SEO
-Ability to upload from browser (now it's only text addition in browser, upload files via FTP)

videohost.sql  Download 1k
video-host.zip Download 847k

Let me know what you think theborisedu@gmail.com

Thursday, June 9, 2011

Print another webpage or image from this page javascript

Pretty simple solution for this I found with slight modifcation.

Place this code with 'otherpage.jpg' as the one you want to print, whether an image or webpage (could even be pdf) and it will prompt for printing when clicked on the button below the code

<script type="text/javascript" >
function printExternal() {
printWindow = window.open(  "otherpage.jpg","mywindow");
setTimeout('printWindow.print()', 2000);
setTimeout('printWindow.close()', 2000);
}
</script>

As you see the first step is to open the page (can be html,  pdf, jpg or other image, etc).
Second step (after short wait of 2 seconds) start the print built-in javascript function.
Third and final is to close that window after print or canceled.

Now here's how to trigger the external print:
<input type='button' value='print' onclick="printExternal()">


The code can also be modified to have much more customized pages (this is how I use it):
<script type="text/javascript" >
function printExternal(str) {
printWindow = window.open(  str,"mywindow");
setTimeout('printWindow.print()', 2000);
setTimeout('printWindow.close()', 2000);
}
</script>

As you see there is now str instead of direct image or file, this allows the function to take it dynamically from page code, now using your favourite server side language you can generate the files from a database (which is what I do in my case with php):

<?php
//this function to get the files
$files = files();

//loop through them
foreach($files as $file){ ?>
<input type='button' value='print' onclick="printExternal(<?php  echo $file ?>)">
<?php } ?>

anyway hope this php didn't confuse you but should help in basic scenarios too.

Comment and let me know if you have questions, comments etc.

Wednesday, May 25, 2011

Wiki of the Future

We all seen these really cool futuristic movies where the character talks to the computer and gets responses with information of various things, whether about something they try to learn or if it's just waking up and hearing the time, weather, news... etc.
Well Sci-fi is really becoming a reality today, everyday something new, and today I discovered something amazing I want to share with everyone reading this blog or just stumbling here somehow or another...

It's called QWiki - pronounced QuickWiki (or watch the video for right pronunciation), here's the Alpha version as of the time of writing: http://www.qwiki.com/about-us

Read or watch their video and try it yourself, it's pretty amazing!


Qwiki at TechCrunch Disrupt from Qwiki on Vimeo.

Tuesday, May 3, 2011

What program can modify hosts file?

I was puzzled to find that one of my favourite torrent sites 'thepiratebay.org' was pointing to localhost. Knowing that hosts file could do this, I looked and found the following under "%SystemRoot%\system32\drivers\etc\" folder/directory which is where host file resides.
It appears the hosts file was modified on 4/22/2011 which was later matched to my installation of a program called blender. Here's what it looked like:

127.0.0.1       localhost
127.0.0.1       localhost127.0.0.1       localhost127.0.0.1       localhost127.0.0.1       thepiratebay.org
127.0.0.1       www.thepiratebay.org
127.0.0.1       mininova.org
127.0.0.1       www.mininova.org
127.0.0.1       forum.mininova.org
127.0.0.1       blog.mininova.org
127.0.0.1       suprbay.org
127.0.0.1       www.suprbay.org

If you are not aware this file should not have any domain names (localhost is accepted) all those domains would be blocked and redirected back to the localhost (127.0.0.1).

Obviously someone or something does't want me to visit those sites, so I started looking through installed programs that may have done it but I'm not sure where to look if you have notes comment below!

I noticed only a few things in 'add or remove programs' last used around this date only shows a program called 'blender' and one called 'Avidemux', could they be involved?

I think it has to do with blender  whcih is a "free open source 3D content creation suite, available for all major operating systems under the GNU General Public License"

I find it really strange that a free GNU public license software would do such a thing to modify hosts file and I really hope I am wrong but it looks like this program was installed on that day, I will followup some tests and hope to report this somewhere, somehow (outside this blog)

If you can help in any way, such as testing and reporting that would be great!

thanks for visiting eduboris

Sunday, April 24, 2011

Zeitgeist: is it possible?

The simple answer to the questions "is zeitgeist possible?" keeps staring at me every time I deeply think about it and specially talk about it with certain people.

First, for those who don't know what I mean by zeitgeist, as defined by Wikipedia  "the spirit of the times" or "the spirit of the age." but I am actually talking about the ideas of both Peter Joseph of which ideas he learned from Jacque Fresco. Anyways all the information is out there and I wrote about it so I hope you know what I'm talking about by now (ask in the comments if you are unclear).

Second, I see that the answer is no and I'll try my best to explain why I don't see it possible in the very near future although plausible and I really do hope it happens, I will help it happen in all the ways possible by me and of course I am a big believer in this Resource Based Economy ideas brought forth by the two I discussed above.

It comes down to a few variables in my opinion that are still far from being solved, there's much more then money at stake for the ones with money and why they would not give it up for anything else in the world, even a better world for them. This would of course mean a better world for everyone else also. They are in control, they feel in control and they really are for the most part. I'm not suggesting that they want to be a dictator like the many violent ones in the past but to be honest it is not much all that different from those dictators that we have seen in history killing millions of innocent people.

You see all people are not made equal. This is a fact. Some people have a much higher drive for certain different things. Others have various things that make them 'tick'. The top one percent is the one that is in certain power, they have been for many years, in fact probably decades or centuries that had power passed down from generation to generation in secret societies.

But there's some people whom only more recently came into 'power', this power is brought forth by the money, ownership or wealth that they acquire(d). There is certain control in our modern societies, the western civilization is run by control, and by no means am I talking about monarchy or socialism of any type, we are not living in a prison state (yet) but it is very similar in the way we have control above us, there are at least 3 levels of police everywhere in north america. this is easy to show as we are all very aware of this: there is local police which is normally the city or town (if it's big enough) then we have the provincial police (yes I'm in Canada) or State police if you live in the US, and finally there's the federal police or national type of police (RCMP for us in Canada).

So you really have to be fully blind to the fact that you are in control. When you shift your thinking your eyes really open (as it did for me recently and why I'm writing this). Of course there's a need for this in THIS society, and in this environment and economy it is very necessary and this is how things run right now, the problem is because they run like this and they are well enough for us this will continue. Let's explore this further and see if you can follow; we have lots of freedoms, they mostly consist of certain choice, the choice to do or not do things and choose between things that sometimes considered good or bad. The police follow the control system, they obey the laws that were set forth by the other entities, they certainly don't make them. being as they are followers, they will blindly obey those laws and their job is to enforce them upon us, the citizens.

We are full of controllers that enforce things upon us as we see above and in real life all the time. And knowing that this form of control would not happen at all in the zeitgeist or RBE system this is probably one of the biggest fears that people will have; if there is no control who will protect them, but you are truly blinded if you think the police protect; in reality you are much better off not having police at all. I'm not suggesting to fend for yourself in the current system but in the RBE based system the ideas that spawn from it are very promising. There will be a much better way to deal with issues, for example rather then cuffing, and imprisoning people we would have intuitions to deal with the problematic people (if there will be such people out there), it is most likely that there will be issues and so the solutions should be based on real science and real psychology and real research instead of what the current system deems as inappropriate, illegal or intolerable for whatever reason they decided these laws which are not based on scientific facts or research or psychology or in fact any research of anything.

The laws are molded to help society remain functional, productive (but in a monetary sense) and meet the bottom line while remaining as civilized as possible to the big medias of the world. They are essentially heartless and just try to have good PR there is no real care in such people, millions will die and they wouldn’t know about it. We can see that by the wars that we wage, let’s not go into any conspiracy we do know for a FACT that people, American and Canadian people, die from these wars in the middle east. This is a true fact and we can see that they have no care in the world to stop these wars in a peaceful and graceful way, because this is still acceptable by the citizens and until there will be a huge uprising there will be no action to change this. Take action and invest your money in changing the way the world works, all controlling civilizations have too much power of the rest of the world, not only their own people and citizens.

Why do you think there are 3 levels of police for YOU? the answer is: It is for YOU, to control YOU. If you get out of line, as we see in the big protests where they harmless people that have no weapons, no protection stand against armed police with full body and head protection, yet they shoot at the people that have nothing. This is happening in our own backyard and we can’t seem to do a damn thing about it. Let’s re-evaluate everything we are used to and change this for a better world we can all enjoy, not just the top one percent or the rest of the 90 percent that either blind on purpose because they don’t want to care and don’t want to think about the way things are or are really too dumb (which I refuse to believe).

Finally I’d like to leave you with a quote but before I find a good one, here’s mine. You need to learn and action what you see with the time and money that you have simply invest it into getting the truth out there, educate your friends and your family get everyone around you to agree that things must change so we can all do it together.

Let me know your thoughts in the comments or email theborisedu at gmail dot com