I am playing with the JDK Javascript API (JSR 223) and I wanted to check out the replacement of variables in a String. Then I suddenly got this error:
javax.script.ScriptException: sun.org.mozilla.javascript.internal.EvaluatorException: missing ; before statement (<Unknown source>#1) in <Unknown source> at line number 1
After some reseach I found out, that my variables did contain invalid characters in my case the variable contained a -.
So the Regular Expression for valid Javascript variable names is:
[a-zA-Z_$][0-9a-zA-Z_$]*
It is also possible to use any unicode characters for variables, but of course this is not recommended.
I am playing with the JDK Javascript API (JSR 223) and I wanted to check out the replacement of variables in a String. Then I suddenly got this error:
javax.script.ScriptException: sun.org.mozilla.javascript.internal.EvaluatorException: missing ; before statement (<Unknown source>#1) in <Unknown source> at line number 1
After some reseach I found out, that my variables did contain invalid ...
Since I am a developer, I need a terminal very often. I prefer using on my MacOSX System. I use many tabs in iTerm and obviously all terminals point to different locations. I was tired of switching to all relevant locations everytime I start up iTerm. So I decided to give the bookmark feature of iTerm a try.
My goal was to just click on a bookmark and a new tab should appear which has the right folder as default workspace.
Mehr…
I use many tabs in iTerm and obviously all terminals point to different locations. I was tired of switching to all relevant locations everytime I start up iTerm. So I decided to give the bookmark feature of iTerm a try.
Ich nutze seit geraumer Zeit für eine DrupalInstanz Fastgallery um Bildergallerien auf dieser Drupal Webseite zu realisieren. Das Modul ist recht nützlich, wenn man viele Bilder hochladen will, jedoch auf Features wie Kommentare, Bewertungen oder Ähnliches verzichten kann.
Es hat mich jedoch schon immer ein bisschen gestört, dass bei jedem Upgrade das Modul nicht mehr wirklich abwärtskompatibel ist und ich deshalb schon öfter meine Backups einspielen musste weil es mir dann meine Bildergallerien zerschossen hat
Ein Feature was ich bei den alten Version spitze fand ist, dass man Bilder als Gallerieordnerbilder verwenden konnte. Ich dachte immer, dass das Feature verschwunden ist, mit ein bisschen mehr Aufwand geht das ganze jedoch doch:
Mehr…
Ich nutze seit geraumer Zeit für eine DrupalInstanz Fastgallery um Bildergallerien auf dieser Drupal Webseite zu realisieren. Das Modul ist recht nützlich, wenn man viele Bilder hochladen will, jedoch auf Features wie Kommentare, Bewertungen oder Ähnliches verzichten kann.
Es hat mich jedoch schon immer ein bisschen gestört, dass bei jedem Upgrade das Modul nicht mehr ...
By default only a few areas of the ntop webinterface have restricted access. To secure the whole ntop webinterface follow these instructions:
- Navigate to “Admin -> Configure -> Protect URLs”.
- Click “Add URL”.
- Leave the field empty and klick “Add URL”
Now your whole webinterface of ntop is secured and only your defined users have access to the webinterface.
By default only a few areas of the ntop webinterface have restricted access. To secure the whole ntop webinterface follow these instructions:
Today it took me the whole day to check out this small dirty trick:
If you are using the Drupal Theme Pixture Reloaded, all changes in your style.css are not applied automatically. Like every other Drupal Theme, which supports the Colour Module, you have to klick “Save Configuration” in your theme configuration dialog. Only after klicking it, your style.css gets read out. Otherwise your old cached css file is used.
After that i had another problem: My Theme was broken after reading the style.css out. I just had to delete the /sites/default/files/color folder and everything worked fine again.
Today it took me the whole day to check out this small dirty trick:
If you are using the Drupal Theme Pixture Reloaded, all changes in your style.css are not applied automatically. Like every other Drupal Theme, which supports the Colour Module, you have to klick "Save Configuration" in your theme configuration dialog. Only ...
If you want to start Apache via XAMPP, but it won’t start, most likely another application listens to port 80. Very often this “problem-application” is Skype. There are two possible approaches:
- You start Apache before you start the Skype client.
- You deactivate Skypes feature to listen to port 80 and 443. You can do this via the settings dialog. Just uncheck “Use port 80 and 443 as alternatives for incoming connections.
Now everything should be fine.
If you want to start Apache via XAMPP, but it won't start, most likely another application listens to port 80. Very often this "problem-application" is Skype. There are two possible approaches: