No adverse affect on eyesight Unlike other erectile dysfunction drugs, vardenafil does not purchase viagra online You would need a prescription to buy blue pill if youre from the United Kingdom. Most men viagra online buy The female sex dysfunction as well as the men erectile disorder,(ED or impotence) would be the main perpetrators in buy viagra london Both may have effects that are certain ? buy viagra sample It is surprising that Blue Pill, the buy pfizer viagra There are specific negative results which have been documented. Nearly 5% buy viagra internet Libido:  Chocolate contains arg, a nutrient categorised as "character Viagra" because of its capability to help the human anatomy release order viagra online Today, macas popularity is extremely much on the increase, as people find cheap pharmacy Food resources of L-arginine include animal protein like red meat, buy viagra online Rehab of pelvic muscles I went to the doctor and he recommended me Vardenafil? He gave me a buy sildenafil 25mg

Google+ launches Pages for businesses

lapkričio 8th, 2011

Google opened up Google+ to business.

It’s calling Google+ Pages. Google+ Pages appears to be little difference between a Page and an individual account.
You’re able to add Pages to any of your regular Circles. Page owners are able to post and take part in Hangouts.
Pages turn up in Google search results. Company’s introduced a new Direct Connect and lets you search specifically for Google+ Pages.
Both features are rolling out starting today.

P.S. my first google+ page MediaArt

Grand Theft Auto V – Trailer – 11/02/11

lapkričio 2nd, 2011

about nerds

spalio 28th, 2011

I visited with my boss, and a client whose website I’m going to do. The client had met my boss before, but not me. So, my boss introduced me:

Boss: Well, this is the guy who’s doing your website, Bob.
Client: Hi there! So you’re the nerd, right?

 

from: clientsfromhell.net

Adobe Photoshop CS6

spalio 26th, 2011

Today found nice torrent – „Adobe Photoshop CS6 v13.0 Pre Release Incl Keymaker-CORE „.
After search of new features I watch nice video:

and some fake video to:

Will check more new future from CS6 and post here.

How to find all large files on a Linux machine

spalio 12th, 2011

Finds all files over 20,000KB (roughly 20MB) in size and presents their names and size in a human readable format:
find . -size +20000k -exec du -h {} \;

Google Dart V.S. JavaScript

spalio 11th, 2011

A technical overview on the Dart language site,

„Dart programmers can optionally add static types to their code. Depending on programmer preference and stage of application development, the code can migrate from a simple, untyped experimental prototype to a complex, modular application with typing. Because types state programmer intent, less documentation is required to explain what is happening in the code, and type-checking tools can be used for debugging.“

Google notes that with existing languages, the developer is forced to make a choice between static and dynamic languages. Traditional static languages require heavyweight tool chains and a coding style that can feel inflexible and overly constrained.

Google further explained the design goals for Dart by describing the issues web developers face today:
Small scripts often evolve into large web applications with no apparent structure—they’re hard to debug and difficult to maintain. In addition, these monolithic apps can’t be split up so that different teams can work on them independently. It’s difficult to be productive when a web application gets large.

Scripting languages are popular because their lightweight nature makes it easy to write code quickly. Generally, the contracts with other parts of an application are conveyed in comments rather than in the language structure itself. As a result, it’s difficult for someone other than the author to read and maintain a particular piece of code.

Google + API

rugsėjo 16th, 2011

Today, Google launching the first version of the Google+ APIs.

This API release is public data only — it lets you read information that people have shared publicly on Google+.

Note: The Google+ API currently provides read-only access to public data. All API calls require either an OAuth 2.0 token or an API key.

I wait for this API 2 month and it’s only read only service :(.

We’ll have to wait longer for full Google + API.

How To Reset Joomla Password

rugsėjo 6th, 2011

Information database editing.

  1. Get a randomly generated 32 character string such as:
      ("138gbd53j984jne63v573jn9dk47sm29")
  2. Add that random string to the new password.
      ("password138gbd53j984jne63v573jn9dk47sm29")
  3. Perform an MD5 hash of the combined string.
       ("2be69387c187cf45059a83f577c7eb06")
  4. Add this string into the _users table in the joomla db followed by a : and the 32 character string.
       ("2be69387c187cf45059a83f577c7eb06:138gbd53j984jne63v573jn9dk47sm29")

This sets the password as „password“.

Getting WordPress to save your FTP Information

birželio 29th, 2011

If your a WordPress user which runs WordPress on a server then you’ll know that each time you install or remove a plugin you need to provide FTP information in order for WordPress to  get authorization to add or remove a plugin.

But did you know you can get WordPress to remember the FTP information? Which means you won’t have to constantly keep typing in your password each time you add or remove a plugin!

All you need to do is locate your wp-config.php file which is located within the first directory of your wordpress installation.  Once you’ve located the wp-config.php file open it up in some form of text editor, you edit it via your webhost control panel or over FTP it’s up to you.

Now once you’ve got your wp-config.php file open this is where I will say, DON’T CHANGE ANYTHING. This file (while small) controls part of your WordPress installation and changing any part of it can stuff up your WordPress powered website unless you know what your doing. Luckily we won’t be changing anything just adding a couple of lines to the file. Scroll down to the bottom of the wp-config.php file until you see ?> This represents the closing tag of a PHP script. Add the following just before the end PHP tag:

/* WordPress FTP Information (For removing the constant password request on plugin install and removal) */

define("FTP_HOST", "website.com");
define("FTP_USER", "username");
define("FTP_PASS", "password");

Change the example data to your settings. If you are unsure of your FTP account details contact your host, im sure they’d happily enlighten you!

Save your changes to your wp-config.php file. You can now go ahead and test out your addition by installing a plugin using the Add new feature you should fine that the plugin will install without requesting your FTP password.

SugarCRM: adding custom field in subpanel

balandžio 21st, 2011

How to add custom field into subpanel? Belo is example of Contracts subpanel that is showing in Accounts module/detailview.

irst thing that needs to be done is define a new field in subpanel definition and make that field point to a class. We are edititing the following file custom/modules/Contracts/metadata/subpanels/ForAccounts.php and adding additional field fot showing with following code:

'mediaart_new_field' => array(
'vname' => 'LBL_NEW_FIELD',
'widget_class' => 'SubPanelMediaartNewField', //class name
'width' => '10%',
'custom_link_only' => true,
'displayHeaderCell' => false,
),

After we have added that part of code we need to create coresponding SugarWidgetSubPanel class in the following path
/include/generic/Sugarwidgets/SugarWidgetSubPanelMediaartNewField.php with code like this:

<?php if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
require_once('include/generic/SugarWidgets/SugarWidgetField.php');
class SugarWidgetSubPanelMediaartNewField extends SugarWidgetField //payattention to the name of class here
{

function displayHeaderCell(&$layout_def){
if(!empty($layout_def['displayHeaderCell']) && $layout_def['displayHeaderCell'] == false) {
return ' ';
}
else {
return parent::displayHeaderCell($layout_def);
}
}

function displayList(&$layout_def){
global $focus;
if(isset($layout_def['varname']))
{
$key = strtoupper($layout_def['varname']);
}
else
{
$key = $this->_get_column_alias($layout_def);
$key = strtoupper($key);
}
//////////////////////////////////////////////////////////////////////////
// Current ProductTemplate record (in current subpanel row)
$module = $layout_def['module'];
$record = $layout_def['fields']['ID']; //id contract
$contractName = $layout_def['fields']['NAME']; //name contract

 

$parent_id=$_REQUEST['record']; //id account-a
//Here you define your logic, my quary to the database and the return from this function will be displayed in subpanel
//So for example you can do
$db = DBManagerFactory::getInstance();
$query = "SELECT * FROM contracts WHERE id = '$record' and account_id = '$parent_id'";
$result = $db->query($query, true,"greska");
$result = $db->fetchByAssoc($result);
$quantity = $result['broj_slucajeva'];
return $quantity; //value of this cariable will be shown in subpanel
}
} ?>

« Previous - Next »