Pages

Wednesday, September 10, 2014

Using GIMP, easiest way to repeat an image in a tiled fashion

  • Filters → Map → Tile...
  • Disconnect vertical and horizontal scales (break the "chain" between them).
  • Switch the units to percentage (%).
  • Enter 500 % for the width, 100 % for the height.
screenshot

How to bypass trial restrictions with vmware thinapp (Use it forever)

Disclaimer :- I don't support cracking/bypassing any software in any way. The information is for educational purpose only, use at your own risk. 

This post will explain how we can use vmware thinapp and run any trial application forever with little hassle and outside help. 

You will need Vmware Thinapp (and Vmware Workstation/Player for using this). There me be other free alternatives but i have not explored them as of now. I'll give example of using SSH Explorer  for demonstration.Please see disclaimer, and buy this software if you like, it will help fund many software engineers around the world.

I have windows 7 installed in Vmware Workstation, with Vmware thinapp installed on the same.
Although you can see guides for Thinapp for Virtualizing SW, i l illustarate settings for ssh explorer here in Section 1. you can off course modify many stages using other tutorials on thinapp.


The applications are tested on Vmware workstation as well on the real system, I'll show the illustration on workstation only.

The main point that enables use trial SW for ever is that Thinapp allows us to store all the information that the application needs, wither registry/programfiles/settings etc in single directory. It is in a way similar to trick application that its still running in past by changing system date/using SW that makes it run in particular date. But many SW which synchronize with internet wont work in this fashion.


Section 1: Make the Single EXE for application using Thinapp.I'll illustrate for SSH Explorer only

  1. Using Thinapp, do a prescan of the system, please keep the installer of your application in the OS before doing prescan. As thinapp compares prescan and postscan to package the data into single exe (you dont want your installer to be included in package as well :)



  2. Install the application (in this case ssh explorer), don't close the thinapp window. 
  3. Do a post scan

  4. Select the entry point, off course for simple application you only want the application itself not the uninstaller and stuff. Entry point is the Exe that will be run when click the generated EXE. For products like adobe CS 4, you'll use multiple entry points. Here i use only one.


  5. Enable all groups to run package (Or use a particular group if you want to).



  6. You dont want your application to write data here and there (offcourse for using trial unlimited), so use restricted write access.

  7. Now select same directory as application, this is again for the same reason, you will delete the application data folder as illustrated below (after saving settings).


  8. Helping Vmware or not, is your choice (Popup to send data to vmware on usage pop)
  9. Inventory name is the folder were the generated Exe will be stored, and the application specific data will be kept of the final generated exe. Choose accordingly.


  10. Primary data container is read only file, so keeping it within exe does no harm. MSI is not generated in this case neither the package is compressed (might affect later performance also).




  11. Warnings are usually for files that are not copied (like log files etc, you can skip those or retry if the application fails in the end) (click next here)
  12. Click build to generate  final single exe of entire application.

  13. Click finish to open folder to see the generated application and other files if you choosed them (here only single exe is shown).



  14. Copy these exe for using the SW forever :) See Section 2 for how to
Section 2:  How to make the application run forever 

Now each application has its own data (like personal preferences, connection settings etc). You will need to look for the generated folder for the settings.

In this case settings are stored in the folder SSH Explorer\%ProgramFilesDir%\SSH Explorer


Copy the files conn.ini ,settings.ini and snippets.ini for later use (you dont want to reconfigure the SW again). 


Delete the folder "SSH Explorer" , the folder you provided for Inventory name. All the registry and other settings will be erased. 


Start SSH Explorer again and you will have your folder recreated, replace the files we copied earlier. and voila you are done :). 

Similar procedure is to be followed for all other SW. 

Delete All Wordpress Comments at Once

The can use phpMyAdmin to execute this SQL
DELETE FROM wp_comments WHERE comment_approved = 0
Of course if your comments table is prefixed with wp_ you will need to use the correct table name.

Tuesday, September 9, 2014

Download Files from Scribd for Free Without an Account

 In this article we will be seeing how to download PDF documents from Scribd without having an account, paying or uploading documentsScribd is considered to be one of the best place of resource containing valuable documents and files covering almost all fields. It allows user to view documents online with the need of any account. But at times you might prefer to download docs for later or offline access. It does provides you an option of downloading files in PDF format but with some restrictions like you need to have an account to login or should connect via Facebook ,then to download the file you should either pay subscription fee or upload some document. Previously you can by pass this restriction by printing files using virtual PDF printer and saving it to your disk. But now Scribd changed the way in which you can print, as of now you have to download the document to get it printed hence the download restriction automatically comes into picture. When you are in a hurry these restrictions are sure to bring you frustration. So lets see how to by pass them.
download from scribd without paying or uploading

How To Download Files from Scribd for Free Without Having an Account or Uploading Documents:

You can use any of the following methods
  • Greasemonkey Scribd Downloader Script:

  • 1. If you are a Firefox user, first install Greasemonkey add-on on your browser. If you are a chrome user you need not install this add-on you can proceed to next step.
    2. Install this Scribd Downloader Script .
    3. Now as usual view the documents in Scribd and click the download button available at the bottom right. You will be prompted to open or save the file, rename and save it as you wish.
  • Scribd Mobile Site to Download Documents:

  • If you are not comfortable with installing scripts use this manual method. Actually above script internally does this.
    1. Note down the unique ID of the document from the url.
    Eg:
    http://www.scribd.com/doc/60232123/abcdef
    2. Go to Scribd mobile optimized site.
    3. Enter the ID you noted down and click search.
    4. Now save the file by clicking on Download Now button.
    [Update- May 05,2012]
    One of our reader’s Tony has mentioned that his browser is being redirecting back to original URL of the eBook on clicking Download Now button. This is probably because of late Scribd has changed it’s way of handling different user agents. So here is a new fix for it.
    1. Install User Agent Switcher add-on and restart your browser.
    2. Follow the above steps till step 3. Just do a search and keep, don’t click the download button.
    3. Now go to Tools-> Default User Agent-> iPhone 3.0. Now click the button. You will be able to download as usual again.
    Changing user agent in Firefox
    [Update- May 28,2012]
    Biblio has mentioned that the updated user agent fix has stopped working. Here is a new fix. Just an additional step to the latest fix. This time you need to change form method attribute to get rid of the error message.
    1. Install Firebug add-on and restart your browser.
    2. Follow the above method till step 2.
    3. Press Ctrl+Shift+C to open Firebug HTML inspect mode.
    4. Hover over the download button. You will find that form tag is highlighted in the code section below. Click post and change it to get i.e. method=”post” to method=”get”
    Change scribd form method attribute
    5. Now as before change the user agent and click download.
    [Update- July 08,2012]
    Yet again there has been an update to existing system. Here is the updated version.
    1. First change the user agent string to Android then go to mobile site and search for the doc using the unique ID or directly go to the concerned document.
    2. Now directly hit the download button.
    [Update- Sept 29,2012]
    This time after a long wait, I was able to find a workaround. Here’s how it goes.
    1. Download and install any PDF printer. For e.g. PrimoPDF
    2. Go to the appropriate document you need. From URL note the unique ID as usual.
    3. Right click on the page and select View Page Source. And search for access_key and note down the string which is between the quotes.
    E.g. key-13davbcdewnewn9m5w02
    4. Now modify ID, access key and replace it with one’s you have noted down. Then paste it in address bar and hit enter.
    http://d1.scribdassets.com/ScribdViewer.swf?document_id=108992419&access_key=key-13davbcdewnewn9m5w02
    5. Click on the print link in top left corner. In the pop up that comes up select print which is under standard quality.
    Download from scribd for free by printing
    6. Now you need to select primo as name of your printer. And click OK.
    7. In the PrimoPDF window that comes up, click create PDF then select a location and save it.
    *Note: Above trick is not guaranteed to work against all documents though.
    [Update- March 01,2014]
    1. Go to the concerned document and click Download or Print button on the right.
    2. You will be redirected to a page which asks you to pay or contribute to get the document.
    Download from Scribd for free by uploading new files
    3. Click on upload and select any valid text file with some content in it. Preferably type your own content, because the system checks for duplication. Or if you have some helpful document which might be useful to others, well and good you can upload that.
    5. Give some title, description and click on save and continue. You will be getting a success message as below.
    download from Scribd for free by uploading documents

Download Embedded HTML5 Scribd Document with access key

    Biblio has mentioned that the updated user agent fix has stopped working. Here is a new fix. Just an additional step to the latest fix. This time you need to change form method attribute to get rid of the error message.
    1. Install Firebug add-on and restart your browser.
    2. Follow the above method till step 2.
    3. Press Ctrl+Shift+C to open Firebug HTML inspect mode.
    4. Hover over the download button. You will find that form tag is highlighted in the code section below. Click post and change it to get i.e. method=”post” to method=”get”
    Change scribd form method attribute
    5. Now as before change the user agent and click download.
    [Update- July 08,2012]
    Yet again there has been an update to existing system. Here is the updated version.
    1. First change the user agent string to Android then go to mobile site and search for the doc using the unique ID or directly go to the concerned document.
    2. Now directly hit the download button.
    [Update- Sept 29,2012]
    This time after a long wait, I was able to find a workaround. Here’s how it goes.
    1. Download and install any PDF printer. For e.g. PrimoPDF
    2. Go to the appropriate document you need. From URL note the unique ID as usual.
    3. Right click on the page and select View Page Source. And search for access_key and note down the string which is between the quotes.
    E.g. key-13davbcdewnewn9m5w02
    4. Now modify ID, access key and replace it with one’s you have noted down. Then paste it in address bar and hit enter.
    http://d1.scribdassets.com/ScribdViewer.swf?document_id=108992419&access_key=key-13davbcdewnewn9m5w02
    5. Click on the print link in top left corner. In the pop up that comes up select print which is under standard quality.
    Download from scribd for free by printing
    6. Now you need to select primo as name of your printer. And click OK.
    7. In the PrimoPDF window that comes up, click create PDF then select a location and save it.
    *Note: Above trick is not guaranteed to work against all documents though.

Using the RSS Downloader Plugin in ruTorrent Web Interface

ruTorrent is a web-based user interface (webUI) for the popular bittorrent client rTorrent. You access it through your browser from any computer connected to the internet. Apart from having an excellent, very much uTorrent-like user interface, it extends rTorrent's functionality considerably through the use of plugins. You will be able to create torrents, use rss feeds, delete torrents with data, choose custom locations for data, use labels, sort your torrents by label, tracker, ratio, name, state, peers, seeds, creation date, etc, and more.
Plugins
On Feral servers ruTorrent is autoinstalled (using the Software Manager page) with a recommended set of plugins.
Explore all the available plugins. Should you wish to try any of them apart from those that came preinstalled with your ruTorrent, just upload them to rutorrent/plugins that is located inside your Default WWW location.
~/www/**username**.**servername**.feralhosting.com
IMPORTANT: there should be a separate directory for each plugin inside [b]rutorrent/plugins. To uninstall a plugin, just delete the whole dir with the plugin in it.[/b]
Currently available plugins (Feral recommended plugins appear in bold):
1: RPC — plugin for linking rtorrent and a web server (required for Feral); 2: erasedata — adds the "Delete with data" option to the context menu in the downloads area; 3: darkpal — a dark interface theme; 4: choose — adds a button to the new downloads dialog for comfortable navigation through the server file system; 5: сreate — adds a command for making torrents; 6: trafic — traffic registration subsystem; 7: RSS — RSS-feeds; 8: edit — real-time trackers list editing;9: throttle — separate speed limits for download groups; 10: retrackers — automatically adds required re-trackers for new downloads; 11: cookies — allows to configure a set of cookies for trackers that require cookie-based authentication;12: search — allows to customize search engines; [May give error "error: [21.01.2010 21:29:30] Error: torrent is doesn't passed to rTorrent."] 13: scheduler — configurable speed limits for downloading/uploading depending on hour of day and day of week; 14: autotools — automation functions (autolabel, automove); 15: datadir — allows to change data location on per torrent basis; 16: tracklabels — adds tracker autolabels to the categories pane; 17: ratio — separate ratio limits for download groups (requires rtorrent 0.8.5+); 18: seedingtime — additional column in the main view — shows date/time when a particular torrent finished downloading and started seeding (requires rtorrent 0.8.5+):
Using the RSS Downloader Plugin
**Please be very careful with this plugin**. Filters need to be setup correctly for it to download only 
what you want, and not everything in the feed. Errors in the setup may harm your ratio or, in the worst 
scenario, destroy it completely.

**Do test your setup properly before configuring the plugin to autodownload!**
Set up your filters and leave the plugin running for about a day, then examine the results and verify that 
your filters are actually filtering out the right stuff!
Click on the RSS Downloader button in the top toolbar. Add the URL of your feed. Add an alias for the feed — your feed will show up under this name in the RSS section of the left sidebar.
Click OK. If your feed contains a pass key in its URL and your tracker does not require a cookie to access the feed, RSS Downloader will connect to the feed and display the most recent items. It will not download any .torrents at this point.
Right-click on the feed alias in the left sidebar and choose RSS Manager.
We need to configure at least one filter for the plugin to use with the feed. Click the Add button and give your filter a name. Let's say, we want to download everything in the feed.
Copy and paste the following line into the Filter field:
/()/i
Leave the Exclude field empty. From the RSS dropdown choose the alias of the feed the filter will be applied to (SCC in our case). Leave the directory field empty — RSS Downloader will download .torrents to the default location —/rutorrent/torrents — and load them from there. Be sure to tick "Don't start the download automatically" — at this moment we are just testing our filters. The Label field is optional — if filled out, downloaded .torrents will be auto-labeled using this value (useful for sorting jobs by label).
The ? button allows you to test your filter in real time against the items in the feed. Click it, and RSS Downloader will respond with a number of matches, and highlight all matching items in the list.
Our filter correctly matched 15 items out of the 15 currently available in the feed. Press OK. RSS Downloader should download all .torrents in the feed and add them as stopped to the queue. Verify it, and if everything is working as it should, return to RSS Manager and untick the "Don't start the download automatically" setting. Reload ruTorrent in your browser for the new settings to take effect.
Do test your setup properly before configuring the plugin to autodownload! Set up your filters and leave the plugin running for about a day, then examine the results and verify that your filters are actually filtering out the right stuff!
ADVANCED SCENARIOS
Download only .torrents with VA- in the name:
Download only .torrents with the words Pepe or Strict or Gypsy in the name (use the pipe sign | to separate tokens):
Download only .torrents with the words Pepe or Strict or Gypsy in the name, but exclude anything with 2006 in the file name:
Download only .torrents with the words weeds OR (prison AND break) OR (rescue AND me) OR heroes in the file name:
/(weeds|prison.*break|rescue.*me|heroes)/i
Please consult this tutorial for a more detailed overview of the syntax and usage examples (thanks to user drunkpitbull).
OTHER OBSERVATIONS
If you auto-installed ruTorrent from the software manager page, the default feed update interval is set to 30 min. Should you wish to change this setting, connect to your slot via FTP/SFTP and edit the following file:
/home/username/www/.../rutorrent/plugins/rss/conf.php
Consult with your tracker regarding the minimum allowed rss poll interval on this specific tracker (the tracker's forum would be a good place to ask). Do not joke with it — your IP will most likely get banned by the tracker if you request the feed way too frequently.
WAFFLES.FM
Until further notice, Waffles.FM banned OVH IP ranges from accessing the website, while still allowing access to the tracker. You will thus be able to use your Feral box to download/upload stuff from/to Waffles.FM, but you won't be able to access Waffles.FM website using Feral VPN / SSH tunnel or use Waffles.FM RSS feeds directly on your Feral box. See this guide for a possible workaround.

Pidgin Install Spell-checking support manually

Versions 2.7.0 and newer use the dictionaries available from the openoffice extension download site. You need to download the appropriate language extension file(s) (files are openoffice extensions *.oxt, which are just zip files that contain additional data). Once you have downloaded a dictionary extension file, you can rename it so it has a .zip extension and then extract the *.dicand *.aff files in it to <Pidgin Installation Directory>\spellcheck\share\enchant\myspell\ (create the directories if they don't exist already).
If Pidgin is running, it will need to be restarted for new dictionaries to be recognized.
Versions older than 2.7.0 use Aspell; you can download both the Aspell core and a dictionary from the win32 Aspell website.

Using Google Earth to zone your farm

Using Google Earth to zone your farm is a great planning tool.

Google Earth is a wonderful tool for planning your farm permaculture zones.  Its simple to use, yet powerful interface, can be mastered in a few steps and provide you with a map you can print or share online.

To start ….

Permaculture zones (0-5) are a great way to divide your farm up into “use” zones.    If you are not familiar with the zones, you can find my take on them here.
Google Earth is a free mapping tool that you can download for your computer or mobile device from here.


Using Google Earth to zone your farm – the steps!

Step 1. Finding your farm
Open Google Earth.  In the search box in the upper left hand corner, type in the address of your farm….then click search and watch it zoom in!  Google Earth will place a red pin and display the address of your search on the image.  You can zoom in and out and change the orientation using the zoom bar tools on the right hand side of the image.   To remove the red pin (which I find annoying) and address you just click the blue X under the search results box on the left hand side.  For now, zoom to a level so you can see the entire outline of your farm in the image.
Using Google Earth to zone your farm
Search your farm address
Step 2. Adding the farm boundaries.
Google Earth has a tool bar that sits at the very top of the image.  You can hover over each of the tools and it will tell you what they are.  Find the Add a polygon tool and click on it.  A box appears in which you describe what feature you are adding.  In this case type ‘Farm Boundaries” in where it says Name (you may be over typing the words ‘untitled polygon’).  Click the box called Style,Color.  This is where you can change the color of your lines.  If you click the color box it will bring up a pallet that allows you to select the line color.  You can also change the line thickness etc.  You can come back and make changes later – so don’t worry if you don’t get it right at first.  I like to use yellow as my boundary lines as it shows up well against the image for my area.  In other drier and sandy areas, red is a better selection.   Change the Area box so it says just ‘Outlined”.
Using Google Earth to zone your farm
Setting the polygon name, color and outline
When you are ready to draw the farm boundary lines don’t click ok on the box!   Drag this box away from your farm image….just to the side so you can see the entire outline of your farm.   Click on any corner of your farm boundary on the image.  A small blue box will mark where you have clicked.   Move to the next corner of your farm and click.  A line will now appear between those two points.  Click the next corner and so on until your boundaries are complete.
Using Google Earth to zone your farm
Boundaries now complete. I used yellow and changed the line thickness to 2.
When you are finished, you can change the color and thickness of the lines.  When you are happy with your boundaries, then click OK on the box in the bottom right corner.
The boundaries you just added is a data layer that is now added to your image and you can see it in the Places box on the left hand side navigation.  You can turn it on and off by clicking the little box next to its name.  If you right click on the name you have some more options.   Get Info brings back the box so you can change the name, color etc.  If you want to do it again, you can delete the old one here too.
Step 3. Adding a zone.
To add a ‘zone’ is almost the same as adding the boundaries.  The difference is you want a shape rather than a series of lines.  It is still a polygon (so we use the same tool), but we set it up to be filled with a color.
So select the Add a polygon tool again.  This time change the name to the zone you are adding like “Zone 5″.  You could also use your own zone names or descriptions.  Select theStyle/Color button and change the color of the lines AND the color of the area.  I use a different color for each area.  Make sure the Area option is set for “Filled+Outlined” and set the Opacity to 50%.  That will allow the zone to have a color, but you can still see through it and see features on the image underneath.
Using Google Earth to zone your farm
Zone 4 (purple) and Zone O (orange) on my farm image.
Just like before, drag the box to the side then outline the shape of the zone you want to add.  If you have a zone that is spilt  – that is two or more areas that are separate but you want them in the same zone, you can set treat them as separate and just label them Zone 1 (A) and Zone 1 (B) etc and use the same colors and fills.
You will end up with a list of zones for your farm on the left-hand side navigation under the Places category – like this:
Using Google Earth to zone your farm
Zones listed under Places

Using Google Earth to zone your farm – the final product.

Your final farm plan using the zones with Google Earth may look like this:
Using Google Earth to zone your farm
Final farm zone map
You can keep this in your Google Earth program and can turn on and off the zones just by clicking on the little ticks next to the Zones.
Using Google Earth to zone your farm
A few zones turned off!
Once you are happy with your map, you can print it off, email it of save it as an image using the tools at the top of the image.
The super thing about this tool is that you can add more information as you go.  You can add detailed descriptions in the Zone boxes as well as small images that you have uploaded to the web.    You can even create an interactive tour video of your farm….but now we are talking fun rather than planning :)
I hope this has been a useful tutorial for using Google Earth to zone your farm using permaculture zones.

If you like this sort of information, maybe you would also like other topics covered in ourFarm science category – all found here!
You can also click on the “FOLLOW” button at the bottom right of the screen to recieve notices of new posts.