Tag: tools
Org mode has an amazing feature - org-capture. I only started using it recently but it's really awesome.
What took me so long?
Probably that the manual seemed a little intimidating.
It really isn't hard, though. Combined with what I'll go over in the next video and post (and a future one for Google calendar sync) it's what I use for:
recording blog ideas managing bookmarks taking short Notes managing my calendar.
# COMMENTSQuick post today.
The video goes over web-mode - my preferred weapon for html and all the goodies you embed in an html file.
It's multi-modal so it acts sensibly regardless of wether you're editing html, css, javascript or even templates in a single file.
Note: In the video, web-mode wasn't automatically inserting quotes. I had to set hte following variable to fix this:
(setq web-mode-enable-auto-quoting t) Giving the final configuration I'm currently using:
# COMMENTSAnother quick hit today.
This video is really setting the stage for hte next two, where I talk about org-mode capturing.
Today, we're demoing the use of the emacs server and client.
Back in the old days, emacs took a LOOONG time to load. A complex conviguration could take on the order of 10 to 20 seconds. This resulted in people loading emacs at the start of the day and leaving it up forever.
# COMMENTSToday's video is a bit of a follow up on the last one as well as a few miscillaneous configuration.
We got some comments on alternate ways to load a file if it exists - it's always cool to see how different people end up doing similar things.
We then talk about three little configurations. Two I found out about reading Jon Sander's (jcs) blog Irreal. Jon's blog is a terrific source of emacs info - if you don't subscribe, you should.
# COMMENTSSome of the videos I want to make are going to be much easier to do if I'm working in my own account where my whole file tree is available.
It's also a little annoying changing between my full emacs config and the one I'm developing here.
So, I decided to move to this config for my real config and as I make more videos move parts of my old configuration over to this new one.
# COMMENTSThis post points to the next three videos in the Flask series.
The first covers setting up a droplet (virtual server) on DigitalOcean. The second, deploying a flask application using Green Unicorn, and the third, using sshfs to remotely mount your files from your DO box to your local machine and how to set up DNS using FreeDNS.
To help you on your way with DigitalOcean, here are links to a few of their tutorials
# COMMENTSI meant to cover these last time but decided not to so as to keep the videos to about 10 minutes each.
First up this time round is iedit - a really cool mode that lets you select all the instances of the marked selection at the same time and edit them all at once. By default it's bound to C-l.
For example, let's say you had the following code:
# COMMENTSI'm working on getting enough of my real configuration into this series so that I can dump my current one and use this one all them time and grow it back up an episode at a time.
I think we're almost there.
This time, we're looking at a few small packages that I use all the time.
Highlight line Mode (global-hl-line-mode t) this turns on highlight line mode. It makes it easy to see the line the cursor's on.
# COMMENTSThose laptops that my Hunter students were supposed to get have finally arrived. We're distributing them on Monday. Each student will have a Dell laptop running Ubuntu 16.04 for as long as they're in the program.
This means we can finally start using the web as a way of displaying and sharing our projects.
For this type of web development, I'm a big fan of using Flask. Flask is a Python microframework.
# COMMENTSIf you use emacs, you should keep an eye on Jon Snader's blog, irreal.org. A few days he posted on Undo Tree - a package that extends Emacs's built in undo functionality.
Basic emacs has undo, bound to C-/ or C-_ but that's about it. Undo tree, which you can set up with:
(use-package undo-tree :ensure t :init (global-undo-tree-mode)) adds two key features. First is redo, which you get by adding the shift key to the undo keychords.
# COMMENTS