29Jun/103

Cialis Neutropenia Leukopenia

Cialis neutropenia leukopenia Ever wanted a quick/easy/automated way to get syntax highlighted code from your editor of choice into PowerPoint?

Cialis neutropenia leukopenia EVERY time I do a technical presentation I need this.  Usually I resort to taking a screenshot, cialis neutropenia leukopenia or finding an “export to html” type plugin for the editor I’m using at the time (Visual Studio, cialis neutropenia leukopenia Vim, cialis neutropenia leukopenia IntelliJ IDEA, cialis neutropenia leukopenia etc.) and then try to get that somehow into my slides.

Cialis neutropenia leukopenia The problem I usually run into, cialis neutropenia leukopenia is that while I like coding on a dark background with a 14pt font, cialis neutropenia leukopenia that’s not usually that great for presentations.  So I switch to my “presentation settings” that has a light background and bigger font size, cialis neutropenia leukopenia and then switch back once I’m done taking screenshots or outputting to html. Cialis neutropenia leukopenia [ugh, cialis neutropenia leukopenia what a pain… terribly manual].

Cialis neutropenia leukopenia Then what happens when I spot a bug in code that’s in PowerPoint, cialis neutropenia leukopenia or I want to add a comment, cialis neutropenia leukopenia or I need to change the syntax highlighting theme of the entire presentation because it doesn’t go well with the lighting in the room.  UGH!  What a disaster.

Cialis neutropenia leukopenia Basically, cialis neutropenia leukopenia it’s always an uphill struggle, cialis neutropenia leukopenia and it really bothered me… so I decided to fix it once and for all.

Solution

Cialis neutropenia leukopenia I’m going to solely discuss PowerPoint (for Windows or Mac) here.  I don’t have a copy of iWork, cialis neutropenia leukopenia and I’m too cheap to buy one.  The reason I have Office for the Mac, cialis neutropenia leukopenia is because I got it for free… KeyNote/Mac zealots: feel free to be zealous, cialis neutropenia leukopenia but don’t hate on me because I’m frugal… unless you want to buy me a copy of iWork.

Cialis neutropenia leukopenia First, cialis neutropenia leukopenia download: http://www.andre-simon.de/doku/highlight/en/highlight.html

Windows Solution

Cialis neutropenia leukopenia The highlight tool can output many formats, cialis neutropenia leukopenia but the important one for Windows is RTF.

Cialis neutropenia leukopenia So something like:

Cialis neutropenia leukopenia highlight < infile > outfile –-rtf --syntax=rb  --style=vim --font=”Lucida Console” --font-size=18

Cialis neutropenia leukopenia This will  take the source code file ‘infile’ and syntax color it as Ruby to an RTF file and output it to ‘outfile’.  The text will be 18pt Lucida Console and syntax highlighted with the “vim” color scheme.

Cialis neutropenia leukopenia There are lots of themes included, cialis neutropenia leukopenia you can ask highlight for help (highlight --help), cialis neutropenia leukopenia and it’ll tell you all the options available, cialis neutropenia leukopenia as well as all the options available for output, cialis neutropenia leukopenia and for languages that it supports.

Cialis neutropenia leukopenia Next, cialis neutropenia leukopenia in PowerPoint, cialis neutropenia leukopenia do “Insert Object” on your target slide, cialis neutropenia leukopenia and choose “Create from file”.  Make sure you check the “Link” checkbox before pressing OK.

Cialis neutropenia leukopenia Now, cialis neutropenia leukopenia whenever your source changes, cialis neutropenia leukopenia re-run your command line, cialis neutropenia leukopenia then you can choose “Update Link” on your embedded object in PowerPoint, cialis neutropenia leukopenia or if you close and then re-open PowerPoint, cialis neutropenia leukopenia it’ll give you the option to update all your links.

Mac Solution

Cialis neutropenia leukopenia My version of PowerPoint for Mac doesn’t like being able to link to RTF files, cialis neutropenia leukopenia but it does allow linking to images.

Cialis neutropenia leukopenia Highlight can output to SVG, cialis neutropenia leukopenia but my PowerPoint doesn’t like that either.

Cialis neutropenia leukopenia Now download inkscape, cialis neutropenia leukopenia if you haven’t already.  It will allow you to rasterize the SVG into a PNG, cialis neutropenia leukopenia which PowerPoint does like.  You can export your PNG from inkscape from the command line like this:

Cialis neutropenia leukopenia <path to inkscape> –export-png=<png file> <svg file>

Cialis neutropenia leukopenia The path to my inkscape command line runner is at:

Cialis neutropenia leukopenia /Applications/Inkscape.app/Contents/Resources/bin/inkscape

Cialis neutropenia leukopenia It turns out that inkscape doesn’t like external CSS files, cialis neutropenia leukopenia which is what highlight gives you with your SVG, cialis neutropenia leukopenia so you can merge your CSS file into your SVG file with a little script.  The other cool bit about SVG, cialis neutropenia leukopenia is you can tweak it, cialis neutropenia leukopenia if you want, cialis neutropenia leukopenia since it’s just XML.

Cialis neutropenia leukopenia Now, cialis neutropenia leukopenia in PowerPoint, cialis neutropenia leukopenia choose “Insert Picture” and browse to your newly generated PNG.  Make sure the “Link to File” checkbox is checked.

Cialis neutropenia leukopenia I wrote a script to do this for the latest presentation I did on dependency injection.  You can take a look at the script here [source.rb].   It’s Ruby, cialis neutropenia leukopenia and you can see where I merge the CSS and SVG files together, cialis neutropenia leukopenia and where I mess with the line spacing as well (I wasn’t happy with the default line spacing, cialis neutropenia leukopenia so I tweaked it to my preference).  All the source/images/PowerPoint for that presentation are available here [dependencies presentation] if you want to check them out to see how the whole process works.

Cialis neutropenia leukopenia Now, cialis neutropenia leukopenia when I need to change the font and syntax theme throughout my entire presentation because it doesn’t match the lighting in the room, cialis neutropenia leukopenia it’s super-simple: I change the configuration, cialis neutropenia leukopenia re-run my script, cialis neutropenia leukopenia update PowerPoint, cialis neutropenia leukopenia and chill.

Average Rating: 4.4 out of 5 based on 186 user reviews.

Tagged as: , , 3 Comments
26May/100

Gnc Viagra

Gnc viagra IndyTechFest is teh awesome!

Gnc viagra I was privileged enough to be a speaker alongside some other ridiculously awesome regional speakers (and even had a few of them IN my presentation!)… star struck having @dburton, gnc viagra @timwingfield, gnc viagra @skimedic, gnc viagra and other community leaders like @myotherpants and @maggielongshore in the audience.  I am truly humbled.  Thanks to the organizers for allowing me to practice my teaching, gnc viagra and thanks to those that sat through my talk for supporting me (and also, gnc viagra thanks for the positive feedback from those I talked to afterwards!).  [Side note: If you want to see my slides:  http://github.com/jonfuller/presentations/tree/master/mongo/]

Gnc viagra The best part, gnc viagra however, gnc viagra had nothing do with any presentation at the event.  It had to do with the amazing conversations we had in the Open Spaces area hosted by @alanstevens.  I hung out there ALL day (except for when I was presenting), gnc viagra and got more out of any one open space topic than I have at entire conferences before.

Gnc viagra We talked about Ruby on Rails, gnc viagra IronRuby, gnc viagra Public Speaking, gnc viagra Technical Speaking, gnc viagra Running a User Group, gnc viagra Linchpins, gnc viagra Alt.Net, gnc viagra Software Craftsmanship, gnc viagra DVCS (hg and git specifically)…

Gnc viagra I’ll pause and let that list of topics sink in.  For me, gnc viagra that list is like a holy grail of a developer conference.

Gnc viagra Most of this was deep discussion about the topic at hand by some great minds/leaders in the area.  All of the aforementioned folks plus @jayharris, gnc viagra @alanbarber, gnc viagra @jademason, gnc viagra @garrinmf, gnc viagra@arktronic, gnc viagra @browniepoints were together having these conversations, gnc viagra and it was really exciting (at least for me) hanging out with these guys and learning so much from them.

Gnc viagra For me, gnc viagra this year, gnc viagra IndyTechFest was about the people and the interactions I had with them.  What was it for you?

Gnc viagra I can’t wait for next year.

Average Rating: 4.6 out of 5 based on 246 user reviews.