Thursday, December 4, 2014

Airdroid desktop client download alternative

Since just released there could be server issues with everyone trying to get the client, so here's an alternative download link: http://www.mediafire.com/download/wbgx872lznrk47w/AirDroid_Desktop_Client_3.0.0.exe

I wouldn't recommend running any file you download without double checking with a virus scanner first: such as https://www.virustotal.com/ca/

Let me know how it goes!

All credits to: www.airdroid.com

Tuesday, November 11, 2014

Monday, October 27, 2014

lexmark 6200 driver windows 8 install download

If you still have this all in one printer, fax and scanner (I only use it for scanning) you might want to install it on windows 8 or 8.1 computers there's a simple way to do it using the windows vista (64 bit edition driver download: http://support.lexmark.com/index?productCode=LEXMARK_P6250&page=product&locale=en&userlocale=EN_US#1

find a backup of it here: http://www.mediafire.com/download/dc8zb07wuwd2wtf/cjs6200EN.exe


If you have any feedback leave in the comments below.
Thank you for visiting.

Friday, October 17, 2014

Contact form 7 telephone number digits restriction modification

If you use the contact form 7 plugin (version 4.0) for contact information gathering on your wordpress site and want to restrict the minimum and maximum digits a user enters but without sacrificing the brackets, spaces or plus sign here's how I found out to do this.

In the file: formatting.php line 153 (found under /your/host/wordpressdir/wp-content/plugins/contact-form-7/includes )
comment out the original line like so (in case you want to revert the changes):
//$result = preg_match( '/^[+]?[0-9() -]*$/', $tel );

and add the following:
$pattrn = array( " ", "\r", "\n", "-", ".", "(", ")", "_", "'", "`", "+");
$newphone = str_replace( $pattrn , '' , $tel );
if( strlen( $newphone ) == 10 && preg_match( '/^[0-9]*$/', $newphone )) $result = true;
else $result = false;

Now the user must enter 10 digits no matter if the formatting is +(123) 123 - 1231 with or without spacing and brackets and even underscore or plus sign.

In case anyone is wondering why this is required is because sometimes users might omit their area code (the first three digits) and it becomes very hard to guess what it might be to dial it.

I'm sure this part can be improved because the digits are hard coded and there might be other countries that require more or less so if this was setup from admin and input it there but I don't know how to do this yet and don't require so if someone wants to improve or any feedback let me know in the comments below.

Also check out my previous article if you need to send the data to a database of your own here.

Thanks for visiting.

Wednesday, August 20, 2014

script to copy user files to flash usb drive silently and automatically

Came across an interesting request recently and though I'd have to do my own batch scripting but quick search found me this site: http://www.instructables.com/id/How-to-make-flash-drive-that-copys-users-files-si/ so there's really not much more to explain, they did an excellent job I will just provide you with the files.

download this: archive.zip , extract and place all the files at the root (right at the top) of the USB flash or hard drive you want to use to gather your data. As an added bonus you can easily rename instead of the default name (usually the drive's manufacturer's name) to something like MARIO.

Now all you have to do is run launch.bat if the auto run doesn't do it's job (windows 7 and 8 probably don't do it automatically any more)

Of course as the site warns you shouldn't use this for anything illegal, this is informational use only and goes to show that you should have good physical security of your hardware at all times if you have important data on your computer or disable the USB connections on your computer.

Leave comments about any feedback.

Thank you for visiting!

Thursday, May 29, 2014

Questions about Google self driving car

As all the fuss is about the new two passenger Google driver-less car there are many questions yet to be answered.

I thought I'd ask them now and search for answers later:

  • Who will get the first one hundred cars? 
  • What are the specs? I.e horsepower, range on battery, any air bags or other safety? Etc 
  • How does calling and setting locations work? Is Google maps involved? Maybe the new ubr integration? where can the car go? i.e. drivethrough? 
  • Is there going to be more apps connected? i.e. can you listen to music or watch youtube or netflix, etc
  • How does payment work? And pretty important how much does it cost? Assuming less than traditional taxis would be good competitive edge. 
  • Payment methods? maybe cryptocurrencies like bitcoin, etc
  • What kind of regulation is there or will there be? Does it simply pass a driver license to say it works? 
  • How many rides or how long can a customers retain the car? for example if I want to run errands could I stop and go in to the store and the car will wait? etc



Any more questions that should be interesting?

Wednesday, April 2, 2014

Tuesday, February 11, 2014

Future time in gmail from yahoo.com ?

So I have strange problem, got an email from a yahoo.com (got many emails before) and it shows a future date for some reason, as you can see the current time (I checked other times) are correct. Not sure what the problem is or if it showed up for anyone else. Where to report this? please advise. 

Monday, February 10, 2014

PHP Month Number to Month Name the Easy Way


Very simple solution from here (posted for archive purposes):
<?php
$monthNum = 5;
$monthName = date("F", mktime(0, 0, 0, $monthNum, 10));
echo $monthName; //output: May
?>

searched "get month name from number php"

Saturday, January 25, 2014

hyperdesktop free screenshot software for imgur.com apps gethyperdesktop.com

For some odd reason I have not been able to get to the site: http://gethyperdesktop.com/ now inactive - here is an archived view: http://web.archive.org/web/20131221033354/http://gethyperdesktop.com/
which provided the download link for the very useful software for the http://imgur.com site for image sharing. It essentially allows to capture a screen shot and uploads to imgur. very quick, simple, easy capture and sharing of screen. like this: http://i.imgur.com/peBaZ19.png

Anyway here are the file version I found, they seem to work on windows xp, windows 7 and 8 (64 or 32)

Version 1.0.3.9 http://www.mediafire.com/download/ze50ue51ag1hm7d/hyperdesktop%283%29.exe
Version 1.0.0.8 http://imgur.com/tools/hyperdesktop.exe

Also the shortcuts/hotkeys.
Take screenshot: Ctrl + Shift + 3
Take selective screenshot: Ctrl + Shift + 4
Take window screenshot: Ctrl + Shift + 5

Let me know in the comments what you think of the software and if the site is back up yet.

Update 03/12/2015: Looks like the site is done, hopefully the software is still useful as above, I am now using more Ubuntu and found a good alternative called shutter.

Thanks for visiting

Tuesday, December 31, 2013

acer aspire 5253-bz848

seems to only start when the computer is warmed up.
strange.

The laptop is fairly decent, it has windows 7 64bit, 15.6'' HD LED LCD screen, AMD dual-core prorecessor E-350, 350GB HDD DVD-Super multi DL drive Acer Nplify 802.11b/g/n 6 celll li-ion battery

Watch the video: http://youtu.be/dV5Z9Jy2QBU


Thursday, December 12, 2013

How to fix svchost.exe high cpu usage

When getting 100% CPU processor usage cause by svchost.exe (viewed in task manager)
There's a fairly simple solution that takes a long time to find when viewing the videos (in the source) and other links found from google. Here's the solution:

Right click My computer > manage > services > find "Automatic updates" stop and turn off or to manual.

This will stop the service from running when windows is turned on.

It's a risk which must be taken at this point (not updating) but if you have some simple machines that have windows XP (or vista too?) and since the support will be stopped for them soon anyway (which means no more updates after sometime in 2014).

Let me know if this helped you, comments, problems, questions, etc.
[source]

Monday, November 25, 2013

Push up an existing repository [bitbucket.org]

You already have a Git repository on your computer. Let's push it up to Bitbucket.
cd /path/to/my/repo
git remote add origin https://username@bitbucket.org/username/test.git
git push -u origin --all # pushes up the repo and its refs for the first time
git push -u origin --tags # pushes up any tags
[source]

Simple linux bash script to commit and push git updates

This assumes you have setup the git on dev directory (replace as needed), it was fairly simple thanks to bitbucket instructions

Here is the code:
#!/bin/bash
cd /var/www/vhosts/dev
echo "Please enter commit comment: "
read input_variable
git commit -am "$input_variable"
git push -u origin master

Let me know if you have question, comments, etc

Monday, March 18, 2013

Developing useful software applications catch 22 paradox

Just wanted to vent about frustrations of my experience in useful business software application development paradox:
- It's important to set out rules and standards BEFORE software is ready for production use
- It's hard to know which rules and standards are required for software UNTIL it goes into production
- It's hard to change rules and standards ONCE software is in production

Therefore it's a catch 22 when it comes to developing software that is standardized and easy to manage and maintain while continuing daily development with new features because the software didn't get those rules and standards BEFORE going into production.

So the software is always in a "beta" form and will take very long to come out of it, in fact probably impossible because it is always being developed and never standardized. Mainly my issues seems that there's so much code and database entries that are hard to change once a new standard is deemed more appropriate for the job. This is because the software is already in production use and now cannot be taken offline all the while remaining hard to adapt old data and code to the new standards and rules ideas which tend to change overtime.

Probably very confusing for someone who is not familiar  with the issues described, or anyone for that matter.

But if you are reading this and understand my frustration, maybe you can comment or even have possible tips or solutions!

Please comment below.

Monday, January 28, 2013

adBrite Operations Update


Got an email from adBrite:

Dear adBrite Publisher,

Over the last few weeks, adBrite and its management have been evaluating the go-forward plan for the business. Given market conditions and certain financial liabilities, in working with our lenders, we have decided to cease operations on Feb 1, 2013.

This is a difficult decision for all of us at adBrite. However, after much deliberation this seems to be the best course of action despite the impact it will have on all the employees, clients and partners who helped build this business. There will be a team in place as needed to assist with winding down.  Thank you for being part of the adBrite community.The adBrite Team



Why are they ceasing operations?
Who should I switch to now?

Friday, November 16, 2012

How to check if picture photoshopped real or fake?


So I came across 4 pictures that look like they have "ghosts" in them, immediately I want to find out if they are photoshopped or edited in anyway, shape or form.

Original pictures I was given, told they are "unedited" and "right from the camera"






First step: check the metadata.
Looking at the above pictures (download original) you can see that the sizes are extremly small. Which is first suspicious part since most modern cameras have at least 1mb in size. But overlooking this data we can open the properties of the file:
A place where you would have information about which type of camera took this pictures, but sure there's some that might exclude this information.

Second step: find tools to analyse the photo.
First tool I found was web based online tool at www.pskiller.com:
As you can see it indicates that color balance is adjusted and there is no make/model information.
But I want to be sure so I keep looking.

Second tool I found is called jpeg-snoop:
This is probably the best proof so far, there is clear indication that adobe has left a mark on this picture.

The third tool is called Error level analysis but was discontinued "After two years, this image forensics analysis service has been turned off." so I found a secondary site hosting this: 29a.ch/sandbox/2012/imageerrorlevelanalysis/:
I'll be honest, I really don't know much about how this part works so this is not very meaningful to me but hopefully with a little more knowledge (or some expertise) this tool is probably very useful.

Finally: use common sense.
After we analyse it's pretty clear that the pictures are not original photos from a camera of any type. I know that the best experts could fool us pretty easy but these guys were sloppy enough to leave us clues and evidence that this is not real.

Personally I never believed the supernatural but I like to think of myself as very open minded and if there's good proof out there I will reassess my beliefs.
I was critical as soon as I got word of these pictures but I carried out the investigation as it would be anything else and the proof is in the pudding.

------------
What do you think of these pictures? do you have any images you would like me to analyse?
Do you believe in supernatural entities (like poltergeist)?

Put your thoughts in the comments below.

Friday, August 24, 2012

escape single quote javascript sanitize clean encode

found here http://stackoverflow.com/questions/2195568/how-do-i-add-slashes-to-a-string-in-javascript after searching for the solution:
str = str.replace(/'/g, "\\'")

But I went ahead and improved the concept with a simple function:

function backslash(str){
var str = encodeURIComponent(str.replace(/'/g, "\\'"));
return str;
}

Named it backslash for simplicity but it actually will clean up # $ % ^ &() and anything else like single quote ' and doble quote (normally worked already)

Now you just plug this in where you need to clear up, i.e.:
var note = window.document.ordrfrm.note.value;
..."&note="+backslash(note);

or simpler
var note = backslash(window.document.ordrfrm.note.value);

Which ever will work even with getElementById and now it's easy to play with the note, user input taken like a champ nothing is screwed up when encounters strange characters (strange for javascript at least)!

hope it helps someone, if you like it or have questions post a comment.

thanks for visiting Edu Boris blog.

Monday, August 13, 2012

how to fix bad avi image or picture of video in windows movie maker

Great solution for windows xp (pro/home) windows movie maker if your trying to import avi divx (even xvid codec didn't seem to work)

from: http://www.moviecodec.com/solutions/movie-maker-codec-for-avi-41952/

1-open movie maker 
2-go to the tools > options menu. 
3-go to the compatibility at the above of window. 
4- at the filter box, check the "ffdshow mpeg-4 video decoder"

5- push &#147;ok&#148; bottom. 
6-import your .avi video and enjoy it. 


(if you do not have this option to check you can download this codec from “http://www.free-codecs.com/FFDShow_download.htm”)

worked great!