Re: Fixing ICMS Style Smarty delimiters in SublimeText

Great and thank you! I installed SublimeText on my Ubuntu machine yesterday

/usr/lib/sublime-text-2/Pristine Packages/HTML.sublime-package.zip

Replace the file HTML.tmLanguage.txt and restart SublimeText, finish.

Works as well!

Topic


Fixing ICMS Style Smarty delimiters in SublimeText

  • 2012/11/26 12:11:46
  • Will

If you use sublimetext2 or textmate - no doubt you have seen that these editors register the icms style smarty delimiters as erroneous with the standard html syntax highlighter, and the smarty syntax highlighter available online is useless.


Good news! You can easily fix the smarty delimiters issue, and here is how.

Please note that I am a mac user - you will have to translate to windows if you use that OS :)

Steps:
1. Open /Users/<you>/Library/Application Support/Sublime Text 2/Packages/HTML/HTML.tmLanguage

Here you can either find the references to smarty and uncomment them - then update them to use the icms delimiters - or just copy this in.

http://mrtheme.com/files/HTML.tmLanguage.txt

Save - restart your editor and you are done.

Topic


Re: Coursera: Free online courses from top unis

Just completed the first week. I am very much impressed with the quality of the lessons, and the assessment is quite challenging. I think we are seeing the beginning of a major disruption to traditional education. They've created a monster :)



Re: Coursera: Free online courses from top unis

Interesting site. I'll have to keep it in mind for next year. Our firstborn has just arrived, so I'll have some additional time constraints from now on.



Re: Coursera: Free online courses from top unis

  • 2012/9/11 7:52:45
  • QM-B

Nice site.. thanks for sharing



Coursera: Free online courses from top unis

I recommend checking out Coursera.org if you have some time. They offer a large range of FREE online courses, many of which are from top universities.

The courses include video lecturers and online tests/assignments. Some will give you a certificate at the end, but not all. Of particular interest, there are quite a few IT courses. I've enrolled in one on cryptography, the quality of the lessons is very high (but also quite fast paced). If you are quick, I think they are still taking enrollments for this one.

Also some upcoming courses on electronic engineering and robotics, among other things. Seriously, try one out its quite impressive.



Re: Vale Neil Armstrong

yeah, sad news.

and as far as 1969 tech is concerned, no US astronaut ever got killed on a mission in space until they started using modern technology, starting with challenger & then columbia.

not counting those that died during the apollo 1 launchpad fire, because that hadn't actually launched. & i haven't included training missions.

just goes to show, modern doesn't mean safer.

Live as if you were to die tomorrow, Learn as if you were to live forever

The beauty of a living thing is not the atoms that go into it, but the way those atoms are put together!


Vale Neil Armstrong

I don't usually go in for this sort of thing, but so sad to see Neil Armstrong has passed away.

The first person to set foot on the moon...man that must have taken quite some guts...and with 1969 technology!!!



Re: Check out my new toys...

I can't wait to get my hands on it. Although the Arduino is damn cool, in some ways its like going back to the 1980's.

32KB of RAM. The pi has 256MB.



Re: Check out my new toys...

yeah, DVI is HDMI compatible, I have an DVI to HDMI adapter. they're fairly cheap. it's just a simple connecter like the dvi to vga adapters. no electronics involved.

if you get your kid to order a pi, they could probably order it through their school with RS or farnell, & get it far quicker. ask them to ask their ICT or computer teacher.

Live as if you were to die tomorrow, Learn as if you were to live forever

The beauty of a living thing is not the atoms that go into it, but the way those atoms are put together!


Re: Check out my new toys...

Apparently if you (can) order a pi through Farnell, the delivery time is only 3 weeks. Avoid RS components if you can (you might not have a choice, depending on where you live).



Re: Check out my new toys...

I've seen a DVI-HDMI adaptor around.



Re: CMSDay Paris Next year?

  • 2012/8/25 12:08:15
  • david

Certainly a possibility.



Re: Check out my new toys...

  • 2012/8/25 12:06:07
  • david

I think a RasPi + the Gert Board would probably allow the same degree of connectability you need Madfish.

Hope to be getting one soon to use as an emulation platform ... but unfortunately that means I need to replace my trusty LG monitor as it has every input except HDMI (unless someone knows how to plug a Pi into other video inputs?)



Re: CMSDay Paris Next year?

I'm pretty sure that the language will be mostly English. If not, I can be your guide/interpreter/annoying person



Re: Check out my new toys...

Yep, I've thought about ordering a pi as well (it seems to be quite a blast as a media player), but the waiting time put me off. I can't help but think that the success of the pie and the fact that they obviously have trouble to meet the demand will lead to others offering alternatives in due time.

I would like to play with one though, let's see if I can order one before christmas



Re: Check out my new toys...

I've ordered a pi, but the waiting time is 17 weeks :(



Re: Check out my new toys...

i bet with a little ingenuity you could easily link it to the raspberry pi & let the pie do the math & functions whilst the arduino handles the control of the electronic devices.

Live as if you were to die tomorrow, Learn as if you were to live forever

The beauty of a living thing is not the atoms that go into it, but the way those atoms are put together!


Re: Check out my new toys...

My latest toy is a Freetronics Eleven microcontroller (basically an improved Arduino Uno). I'm not sure what I'm going to do with it yet, but I still want to build UAVs. Might take a few years :)



I've stuck an internet shield on it and managed to get it to talk to ImpressCMS via an experimental module "Straylight". There's quite a few different types of sensor you can wire up, including temperature, humidity, barometric pressure, ultrasonic rangefinders, infrared motion sensors, GPS, cameras, microphones, light, acceleration, RFID readers, gas sensors, force sensors, tilt sensors, magnetic field sensors and you name it. So there's quite a few possibilities in terms of using it to log data or control things in the physical or virtual world. You can feed real world data to your ImpressCMS site and make it respond to real time events in meat space!

While looking into how to secure the communication (Arduino can't handle SSL) I came across hash-based message authentication codes (HMAC), which are quite interesting and maybe have some applications for ImpressCMS. The idea is that you can verify the authenticity and integrity of a communication by combining a hashing process with a preshared key.

The great thing about using a HMAC as opposed to a signature is that its dead simple - there's none of the hassle associated with setting up OpenSSL or whatever. It's just another function (hash_hmac), and worth looking at for things where you need authentication but not privacy.



Re: CMSDay Paris Next year?

  • 2012/8/24 14:52:28
  • david

Would certainly like to go if I could manage the language.




 Top