Goal: to find all the rows with invalid order number. We have a process where some outsider application send orders to a web page and read the answer from the server. The answer sometimes is incorrect. The page structure is seemingly good, but we have incorrect data. For example the place of order number contains […]
Archive for June, 2014
select all rows where we have non numeric characters in the column
17:26 |
oracle
|
1085 views
make a smarter Enlighter Syntax Highlighter
10:25 |
wordpress
|
1407 views
Goal: to add some usefull functionality to the Enlighter plugin In my blog I use the Enlighter plugin to colorize my code sections. The plugin is great, but have some defect. My extender/customzier is the following: 1. the code block height maximized to 140px and added to div style 2. I’ve added 2 controller to […]
Goal: to add some usefull functionality to the Enlighter plugin In my blog I use the Enlighter plugin to colorize my code sections. The plugin is great, but have some defect. My extender/customzier is the following: 1. the code block height maximized to 140px and added to div style 2. I’ve added 2 controller to […]
animated funny mushroom on the date brick
21:17 |
javascript
|
1066 views
This is a funny post… 2 June 2014 1 June 2014 this post is about he and his brothers. Yes, he is not alone… Click on the date block on the left side. The mushroom jumping on from the far. Twinkling, bored, jumping, for a while waiting and jumping down to nowhere. Let’s check the […]
This is a funny post… 2 June 2014 1 June 2014 this post is about he and his brothers. Yes, he is not alone… Click on the date block on the left side. The mushroom jumping on from the far. Twinkling, bored, jumping, for a while waiting and jumping down to nowhere. Let’s check the […]
bindable none DOM objects
17:52 |
javascript
|
990 views
Goal: to build an effective handshake mechanism between objects In jQuery we have the very useful bind/trigger logic. I want to use some similar on my objects. What I will do I will extend the Object class with 3 methods, like _bind, _unbind, _trigger _bind: to attach a function to my object _unbind: to detach […]
Goal: to build an effective handshake mechanism between objects In jQuery we have the very useful bind/trigger logic. I want to use some similar on my objects. What I will do I will extend the Object class with 3 methods, like _bind, _unbind, _trigger _bind: to attach a function to my object _unbind: to detach […]
shrink an array
17:06 |
javascript
|
985 views
When you drop an element from an array by The second item will be there with value. Let’s delete more than one item from the array and there will be many holes in the line. Here is a simple shrink function to solve this problem. This is a simple Array extension. var shrink = function() […]
When you drop an element from an array by The second item will be there with value. Let’s delete more than one item from the array and there will be many holes in the line. Here is a simple shrink function to solve this problem. This is a simple Array extension. var shrink = function() […]
extender – Array
16:52 |
javascript
|
1018 views
Goal: give some additional function to the Array type // 1. remove the specified element TypeExtend(Array, ‘remove’, function(from, to) { try{ var rest = this.slice((to || from) + 1 || this.length); this.length = from < 0 ? this.length + from : from; return this.push.apply(this, rest); } catch(e){ return false; } }); // 2. remove all […]
Goal: give some additional function to the Array type // 1. remove the specified element TypeExtend(Array, ‘remove’, function(from, to) { try{ var rest = this.slice((to || from) + 1 || this.length); this.length = from < 0 ? this.length + from : from; return this.push.apply(this, rest); } catch(e){ return false; } }); // 2. remove all […]
arrange text to the center of a container div (single or multiline)
10:21 |
web trick
|
1067 views
Goal: show text in a div like in a table cell That’s all. Add some additional styles to the container (size, decoration) and… I’m on the centerof my parent Here is a small extra: center a div in a div. The old technik play with the margins.
Goal: show text in a div like in a table cell That’s all. Add some additional styles to the container (size, decoration) and… I’m on the centerof my parent Here is a small extra: center a div in a div. The old technik play with the margins.