Posts

Showing posts with the label editor

Commmand line pluses.

Image
Open source and the command line is a match made in heaven. The command line allows porting of age old rock solid code to nix. Most command line programs survive in the fact they can do one thing well and be used to pipe data from one form to another all without the fancy gui environment. Text based programs port very well. Of gui front ends can always be added later. For example an old spreadsheet program originally written many years ago for cpm using mbasic still lives with the ability for free basic to recompile (with changes) the code.The following flatfile database originally developed in the DOS environment  is being expanded to have the abilities for a relational database.   Lastly there is a text editor developed in the TRS-80 days that can still be easily used in the command line environment when compiled with freebasic. Programs like dosbox can make the conversion easier.     A bit rusty with it but: Native linux version: ...

Make things light.

Image
You have lite beer, lite this, lite that. Why not apply the same idea to your computing. Why do you need a big fancy over bloated piece of software just to edit a web page? Well in some cases it might be required, but in most cases probably not. Available for most platforms Vim a lightweight text editor will fir the job I want to do to a tee. Vim looks simple and possibly not very useful, but it is exactly the opposite. You even have extensive on-line help. Even though vim is text based you can do pasting from the gui into it, so it is not completely guiless. But to get back to what is important, we need a light program to do some editing. In this case we want to edit a web page on a remote system without ever leaving our desk. Because vim is light, it loads in quickly thereby saving time. The server we want to access could be in the next room or even half way around the world. Remote access puts it at our fingertips. Let's log into the remote server and fire up vim...

Tinymce + Simplenote

Image
No install software such as a simple editor, can be a real advantage. Here are two. A no install web editor is tinymce ( http://www.tinymce.com/index.php ) The demo version is nothing to look at, but if you download the development version and change one line of code, it becomes a bit more powerful. Original: <!DOCTYPE html> <html> <head><!-- Hosted --> <script src="tinymce.js"></script> <script>tinymce.init({selector:'textarea'});</script> </head> <body> <textarea>Your content here.</textarea> </body> </html>   With the development package it becomes: <!DOCTYPE html> <html> <head><!-- CDN hosted by Cachefly --> <script src="tinymce.dev.js"></script> <script>tinymce.init({selector:'textarea'});</script> </head> <body>     <textarea>Your content here.</textarea> </body...

C code tidbits.

Image
Just like there are many verbal languages for speaking i.e. English, Spanish, Italian or etc.,  computers have their own languages also. Most people understand a verbal language  without having to do any translation. For computers that can be different. So if you want to use a language on a computer, some translation will need to be done to convert the commands (aka source code) to the ones and zeroes a computer understands. This is called compiling. There are a zillion languages that can be used, but one of the most common is "C" pronounced "see". "C" was made famous by Dennis Ritchie and Brian Kernighan also know and K&R. Even if you are not a programmer, you will get the urge to create your own program. This usually happens when you seen some code on a web page or in a magazine that you just have to try. So then every once in a while you may actually need to create a simple program either for testing a system or just to create a quick utility. M...

Put a little vim in your life.

Image
If you ever take the time to see what vim can do you would be very surprised. At least on Arch linux, there has been an update to vim.

Basically.

Image
BASIC (standing for B eginner's A ll Purpose S ymbolic I nstruction C ode) was written (invented) in 1963, at Dartmouth College, by mathematicians John George Kemeny and Tom Kurtzas as a teaching tool for undergraduates. BASIC has been one of the most commonly used computer programming languages, a simple computer language considered an easy step for students to learn before more powerful languages such as FORTRAN . (formula translation) You can read more about the evolution of BASIC at https://en.wikipedia.org/wiki/BASIC . My first computer language was Fortran running on IBM type big iron. Came home from college and saw that my younger brother had purchased a home computer. It was a TRS-80 and came with built in BASIC. I asked my brother how to use it and he stated read the manual. So the next couple of days I devoured the information from the text. BASIC was very much like Fortran, so the transition to learn it was fairly easily. Ended up with the limited memory of...

Your first web program.

Image
Wanted a no fee and a bit more basic introduction to web programming, So I deleted the previous article.   Hopefully this one is free all the way through. If you are using linux, you can certainly use, gedit, nano, or vim to create a file for the video. They default to the ascii format automatically. These videos use the old style html programming, but it is still a good start. The intro video: Second video: Later.