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 30, 2011
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.
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
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.
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!
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
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]
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!
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.
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
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?):
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:
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:
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
option batch abortNow 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 confirm off
open ftp://username:password@ftphost
synchronize local c:\local\path /path/on/server
exit
option batch abortNote: If you need it to be SFTP instead of ftp:/ simply take that part out to look like this: open username2:password2@ftphost2
option confirm off
open ftp://username2:password2@ftphost2
synchronize remote c:\local\path /path/on/server2
exit
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!
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!
Monday, July 18, 2011
Sunday, July 17, 2011
Saturday, July 16, 2011
jekis 5u DAT702 Databases - MySQL and Oracle
Download DAT.zip
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!
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)
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
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
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.
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.
Subscribe to:
Posts (Atom)


