Goal: how to find the big tables in the oracle database Just a quick way to localize the monsters in the database. Of course you need dba rights. If you see the monsters, you can start thinking about the solution. And the indexes: more selects: 1. list of schema vs. size 2. list of object […]
find the monsters
10:31 |
oracle
|
1183 views
post editor with TAB support and ctrl+s to update post
20:00 |
javascript
, wordpress
|
1287 views
Goal: to use the TAB key in the post editor 1. The following code catching the TAB key and replace it with 2 spaces. The second effect is to replace all the TAB occurences (hold the SHIFT key while press a TAB down). 2. You can update your post with alt+p (this is the default), […]
Goal: to use the TAB key in the post editor 1. The following code catching the TAB key and replace it with 2 spaces. The second effect is to replace all the TAB occurences (hold the SHIFT key while press a TAB down). 2. You can update your post with alt+p (this is the default), […]
wp loaded javascript files – absolute path to relative one
23:28 |
wordpress
|
1111 views
Goal: convert all the javascript file references to relative The main problem appeared when I tried to check my blog from a virtual machine. In the machine my local blog address started with an IP like this http://192.168.0.100/… and the absolute links were like this: http://localhost/… – crash To solve this problem I need a […]
Goal: convert all the javascript file references to relative The main problem appeared when I tried to check my blog from a virtual machine. In the machine my local blog address started with an IP like this http://192.168.0.100/… and the absolute links were like this: http://localhost/… – crash To solve this problem I need a […]
hosts – how can I save this
22:29 |
tricky
|
1187 views
Goal: to save a file without extension from notepad.exe For example sometimes we need to edit the hosts file. From notepad this is easy, but to save it without .txt or .other extension is a little bit tricky. In the save as panel just put the name “hosts”, and that’s all. Don’t forget to open […]
Goal: to save a file without extension from notepad.exe For example sometimes we need to edit the hosts file. From notepad this is easy, but to save it without .txt or .other extension is a little bit tricky. In the save as panel just put the name “hosts”, and that’s all. Don’t forget to open […]
chromium – full screen javascript control lose after F11 pressed
20:28 |
javascript
|
1357 views
During my work I’ve came across a strange issue in chrome (the situation is the same strange in other browsers…). Here is the ticket for the chromium team. The story is: I try to use the full screen from javascript code. It’s working but we need to say this is like marshland in every browser. […]
During my work I’ve came across a strange issue in chrome (the situation is the same strange in other browsers…). Here is the ticket for the chromium team. The story is: I try to use the full screen from javascript code. It’s working but we need to say this is like marshland in every browser. […]
no more cache – force the reload
21:13 |
javascript
, web trick
|
1115 views
Goal: to avoid the cache provided old file versions If I load an external javascript or css file from js code like this: First time is ok, but second time may be I will receive the file from the cache. To avoid the cache just put some fake parameter to the end of the file […]
Goal: to avoid the cache provided old file versions If I load an external javascript or css file from js code like this: First time is ok, but second time may be I will receive the file from the cache. To avoid the cache just put some fake parameter to the end of the file […]
server side js/css concatenation
20:44 |
php
|
1096 views
Goal: combine js files on the server side I like to work with independent files. One javascript object one file. This is easy, but to get these files is not. Here is a simple server side script to create one js file from the many. For example the name is main.php. 1. for js files […]
Goal: combine js files on the server side I like to work with independent files. One javascript object one file. This is easy, but to get these files is not. Here is a simple server side script to create one js file from the many. For example the name is main.php. 1. for js files […]
simple horizontal css menu
10:13 |
css
|
1145 views
Goal: Create a simple horizontal menu menu 1 menu 2 menu 3 | menu 4 html code style
Goal: Create a simple horizontal menu menu 1 menu 2 menu 3 | menu 4 html code style
show the function call chain
14:07 |
javascript
|
1119 views
Goal: catch the call chains in javascript I want to see my program’s footprint. So the hard way is to build a log mechanism… The easier is to use my _trace utility. _chain function. To achieve my goal I need to watch all my functions. This is not a complicated task if I use the […]
Goal: catch the call chains in javascript I want to see my program’s footprint. So the hard way is to build a log mechanism… The easier is to use my _trace utility. _chain function. To achieve my goal I need to watch all my functions. This is not a complicated task if I use the […]
number with ordinal suffix
21:58 |
php
|
1171 views
Goal: to show the english ordinal number I’ve found a very simle solution: a simple test and the result source: php-display-number-with-ordinal-suffix
Goal: to show the english ordinal number I’ve found a very simle solution: a simple test and the result source: php-display-number-with-ordinal-suffix

