- Image Fupload: When Vertical Tabs enabled Image FUpload upload progress not shown
- Fix: In vertical_tabs.js after
var fieldset = $(‘<fieldset></fieldset>’); //line 29
add
fieldset.attr(‘id’, $(‘.vertical-tabs-’ + k).attr(‘id’)); (Ref: http://drupal.org/node/778866) - Page not found after clicking “Next Step”
- Solution: Go to settings / image / fupload and resave this settings page. (Ref: http://drupal.org/node/399644)
- Fix: In vertical_tabs.js after
- IMCE Wysiwyg Bridge: allow to use IMCE module with Wysiwyg module (enable Browse Server button in image properties dialog box of Wysiwyg)
- (read README.txt file in the module package on how to configure)
- Editor & Image Browser
- FCKeditor (not CKEditor) & Image Assist work fine together with the following versions:
- fckeditor-6.x-2.x-dev (with FCKeditor_2.6.5)
- img_assist-6.x-2.0-alpha4
- IMCE vs. Image Assist: http://groups.drupal.org/node/7771
- FCKeditor (not CKEditor) & Image Assist work fine together with the following versions:
Filed under: Uncategorized | Leave a Comment
If you want to do cross-domain scripting with XMLHttpRequest, e.g. fetching data from a remote location but you’re on a local page or local XUL application (file:///), you need to tell Mozilla/Firefox about that, otherwise you get the infamous error:
Error: uncaught exception: Permission denied to call method XMLHttpRequest.open
Always remember: XMLHttpRequest needs UniversalBrowserRead!
If the page with the XMLHttpRequest is on a http:// URI (on a webserver), it is not possible to fetch data from another domain!!! This is a security measure of Mozilla/Firefox.
cross-domain-xmlhttprequest.html
<script type="text/javascript" language="javascript">
// Error: uncaught exception: Permission denied to call method XMLHttpRequest.open
var http_request = false;
function makeRequest(url, parameters) {
try {
netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead");
} catch (e) {
alert("Permission UniversalBrowserRead denied.");
}
http_request = false;
http_request = new XMLHttpRequest();
if (http_request.overrideMimeType) {
http_request.overrideMimeType('text/xml');
}
if (!http_request) {
alert('Cannot create XMLHTTP instance');
return false;
}
http_request.onreadystatechange = alertContents;
http_request.open('GET', url + parameters, true);
http_request.send(null);
}
function alertContents() {
if (http_request.readyState == 4) {
if (http_request.status == 200) {
var string = http_request.responseText;
alert(string);
} else {
alert('There was a problem with the request.');
}
}
}
function updateweather() {
makeRequest('http://www.wunderground.com/auto/rss_full/global/stations/16239.xml', '');
}
</script>
<input type="button" name="button" value="GET XML"
onclick="javascript:updateweather();">
Source: http://www.captain.at/howto-ajax-permission-denied-xmlhttprequest.php
Filed under: Research, Tips | 2 Comments
What if you want to post data to Solr instance whose http port is different from 8983 using post.jar which comes along Solr package?
For example, your Solr http address is : http://localhost:8080/solr
To post data to this Solr index: java -Durl=http://localhost:8080/solr/update -jar post.jar *.xml
That’s all…
Filed under: Search Engines, Solr | 6 Comments
Some historical books..
Filed under: Book | 3 Comments
Do Not Believe..
Do not believe in anything simply because you have heard it.
Do not believe in anything simply because it is spoken and rumored by many.
Do not believe in anything simply because it is found written in your religious books.
Do not believe in anything merely on the authority of your teachers and elders.
Do not believe in traditions because they have been handed down for many generations.
But after observation and analysis, when you find that anything agrees with reason and is conducive to the good and benefit of one and all, then accept it and live up to it.
[Buddha]
Filed under: Food for Thought, Personal Development | 1 Comment
Express Yourself
Expressing How You Feel Can Release a Lot of Tension
Expressing yourself can help you keep in touch with how you are feeling. It can also release a lot of tension that you may be carrying around with you. Sometimes when people get out of touch with how they feel, their feelings burst out in situations or ways that are embarrassing or inappropriate.
Everyone needs some time to themselves to reflect on their feelings. Being able to express how you feel may help you make better decisons about what is right for you now.
Ways of Expressing Yourself
Finding out the best way for you to express yourself can be rewarding. You may find that you enjoy expressing yourself in a particular way, such as painting, playing sport, singing, drumming, or even doing something like kicking ball or yelling at a tree. If you don’t know what way suits you, try some of the following suggestions.
Write About How you Feel
Writing may be a useful way to explore your feelings. Some people keep diaries, others just write down whatever comes into their head. You may want to write a story about whatever is happening in your life now (try ‘Scream it Dream it’), or even make up a story based on some past event in your life. Writing poetry works for some people so you might like to try that. You can use the “Journal” in the members section of Reach Out! to record your thoughts and feelings in a way that is confidential.
Play Sport
Playing sport lets you express yourself in a physical way. There are plenty of opportunities to yell or curse or feel elated when things go well. Team sports allow you to express yourself and combine your energy with others both in verbal and non-verbal ways.
Draw or Paint
Even if you don’t think of yourself as artistic, drawing and painting are useful ways of expressing yourself. No one else has to see what you do. You may just want to experiment with drawing lines, sketching, colours and so on.
Sing, Play Music, or Shout
Singing along to your favourite songs or playing a musical instrument is another way to express yourself. Sing in the shower or out in a park. If you play an instrument or sing regularly you may find that you even start writing your own songs or music to express how you feel.
Dance
Dance is a form of self-expression. Put on some music at home or go out and dance as much as you like.
Filed under: Food for Thought, Personal Development | Leave a Comment
How to Express Yourself
Being creative helps you achieve your goals more effectively. It leads you to new pathways, and you will hardly believe what you find out about yourself. It’s also a way of venting, and for teenagers, a way of finding yourself.
STEPS
- Never think of yourself too seriously. Don’t put pressure on yourself to be perfect! If you don’t have restrictions on yourself, it gives you more room to just let yourself flow creatively. Don’t worry about being perfect. Perfection is boring anyway, and it’s also kind of…unoriginal.
- Find a place that inspires you and that will help spark your creativity. Maybe you like a place that is quiet and feels private to you, such as the outdoors – calm, serene, and beautiful. Or maybe you have a bright colorful room that makes you feel artistic. Maybe you like starry nights – whatever it is, revel in it!
- Experiment with different mediums. Never be afraid to try something new. If you want to try sculpting, go for it! If you don’t like it, you can always just stop. But how will you know whether or not you’re a secret writing/painting/sewing genius is you never try it?
- Meditate. Relax. Get away from the outside world. Forget about the grocery shopping you have to do. You are in your own personal space — be with yourself.
- Find examples. If you think you might be interested in art, go to an art museum or find artists online. If you like writing, read a variety of books and investigate classical authors. It’s a type of self-education, and it’s what seperates the true intelectuals from everybody else: a willingness to explore, learn, and discover.
- Consider starting a journal to use everyday. It doesn’t even have to be the kind of journal that you write in. It could be a doodle journal, or a sketch journal, or a poetry journal. Just use it to record your emotions day-to-day, in a place where no one can see them if you don’t want them to.
TIPS
WARNING
Filed under: Food for Thought, Personal Development | Leave a Comment
Search
-
Blogroll
- 4Khmer
- Anie
- Borey Sovannaphume
- Borort
- Chamroeun
- Chantheng
- Chantra
- Chouly
- ChyUy
- Da
- Daravuth
- Deedee
- Gajan
- Ijajaja
- Kalyan
- Keoun
- KhmerAK
- KhmerBird
- Kunthy
- Leeda
- Mongkol
- My old site
- Narath
- NheanPiseth
- Pagna
- Piseth DV
- Piseth.K
- Rachna
- Samphors
- Sokun
- Sony May
- Sophat
- Sophea
- Sopheak
- Sopheap
- soun sophea
- Tharum
- TraJoke
- Vanna Kruy
- VeasnaPeter
- Vitou
- VuthaSurf
- Wanna
Links
Useful Links
Recent Entries
- Some Drupal Problems & Solutons (1)
- Error: uncaught exception: Permission denied to call method XMLHttpRequest.open
- Freebase Paralax
- reading for this month…
- Solr Post.jar – post to different Solr port other than 8983
- Some historical books..
- Do Not Believe..
- Express Yourself
- How to Express Yourself
- Learning Python
- Another New Stage of My Life
Categories
- AIT (11)
- Book (4)
- Cambodia (3)
- CMS (2)
- Environment (1)
- Facet Browsing (2)
- Food for Thought (8)
- Game (1)
- GIS (1)
- Health (1)
- Holiday (1)
- Leadership (1)
- Metadata (1)
- My Life (16)
- Ontology (3)
- Personal Development (11)
- Plone (2)
- Puzzle (1)
- Quotes (1)
- Research (10)
- Search Engines (8)
- Semantic Web (8)
- Social (6)
- Solr (2)
- Song (4)
- Story (1)
- Tech Fun (2)
- Theories (1)
- Tips (2)
- Travel (1)
- Uncategorized (2)
- Useful Tip (1)
- Web2.0 (1)
- XML (1)


