28 May 2014

wordpress remove admin bar top margin

17:22 | wordpress | 1256 views

After exit from admin mode I’ve reaized that the page have an unwanted top margin. The reason is in the the admin-bar.php file function _admin_bar_bump_cb() { ?>


28 May 2014

open editor in new window

15:11 | wordpress | 1071 views

The editor link generated by a function named with the following command: So this function generate a structure. There is no target attribute defined. We need to change this manually. Open the ..wp-includes/link-template.php file and find this row: Just add the target attribute and done.


28 May 2014

enable jquery in wordpress

14:26 | jquery, wordpress | 1174 views

1. include the jquery into your theme Find the file in the theme directory and include one line above like this


28 May 2014

javascript extender (TypeExtend)

12:28 | javascript | 1122 views

I have read on many pages that this is evil like eval. Everything is evil if you can’t use that. Unsafe extend. In this sample I aggree with the evli idea. This is simple and dangerous. Safe version. Better but not the best. the skeleton and the code instead of this almost nice solution do […]


27 May 2014

string contains other or not

22:39 | javascript | 1042 views

in c# we can use to check a string So I need a similar function in javascript. Here is:


27 May 2014

replace all linkable url in a string to real link

22:38 | javascript | 1050 views

As earlier to solve this is easy to extend the string object.


27 May 2014

cut the unwanted tail

22:37 | javascript | 1049 views

There is a big array and the items joined by comma like this: I don’t need the end with the many unwanted comma. I try to cut the string at the last real value. Let’s extend the string object with the followings: to call this:


27 May 2014

extend the console

22:37 | javascript | 1064 views

The javascript console is a very important part of a developer life. Here is a small reshape of the console.


27 May 2014

instead of conditional call

22:36 | javascript | 1097 views

I want to create an easy adjustable command processor class with some implemented callable commands. The command definition like this: In a conditional world we can do the following: Be careful we need to edit this statement every time when we want to put new command into the collection. So we can avoid this if […]


27 May 2014

Send email with bcc from Oracle SP

22:32 | oracle | 1897 views

There is a general problem to send an invisible copy of email from oracle stored procedure. Let’s start with a simple mailer propcedure and add a new recipient (second one) to the connection – that will be BCC! This second one recipient is missing from the header “To:” section and will be invisible. and here […]


#sidebar a { color:#fff; } #sidebar ul ul li { color: #DEF585; } #sidebar h2 { color: #fff; } #sidebar ul p, #sidebar ul select { color: #BEDDBE; } #backfly { background: url(images/golfBallWallPaper.jpg) left bottom fixed repeat-x #65a51d; }