I love the Verbosa theme. It's very flexible and looks great no matter what device the visitor is using.
One thing I don't like, however, is the inability to remove the menu from the aide bar. Sure, you can create a custom menu, amke it empty, and assign it, but that still leaves the MENU header there.
I tried using CSS to set it to display:none, but no go. Dunno why.....
Ultimately, I ended up commenting out the function that calls the menu.
The function is called in the file:
content-- themes--verbosa--includes--core.php
Look around line 150+ for this section:
And comment it out.
No more menu.
Remember that whenever you update the theme, you'll have to go back in and comment it out again.
Retro Web Development
Some Classic ASP in VBScript and SQL Server tips, flavored with rhetorical rants, commentary and other useless blather.
Sunday, January 29, 2017
Friday, July 01, 2016
Code Free Tools
- Make a mobile game by dragging + dropping: http://gamesalad.com
- Build a website and collect emails for a new project: http://weld.io
- Drag and drop a gorgeous blog: http://webflow.com
- Build a mobile app without programming: http://configure.it
- Build a course platform: https://teachable.com/
- Mobile app builder: http://elasticode.com
- Make web-apps mobile without code: https://gonative.io/examples
- Another mobile app builder: http://www.viziapps.com/
- Another one: http://www.apparchitect.com/
- Backend web-app builder: https://treeline.io
- Visual publishing platform: http://tilda.cc/
Wednesday, June 01, 2016
Still at it - FastFoodMacros.com!
Yes, I'm still here and still coding web sites in Classic ASP, although most of the site I launch now I launch using the Wordpress platform.
It's a few months old now, but I'd like to present FastFoodMacros.com.
I call it the Fast Food Macros Database, and what I'm doing is gather the macro nutrition information on fast food offerings. You choose your restaurant and then tick off the items you want to eat. It keeps a running total of the fat, protein, carbohydrates and calories.
There's a diet plan out there that has gotten pretty popular called If It Meets Your Macros, which is a plan where you figure out your macros and pretty much eat whatever you want. As long as you hit your macros, you are good to go.
I built a pretty cool form for calculating you Total Daily Energy Expenditure too, since you need to have a starting point for calories to figure out your macro values.
I've been (slowly) adding restaurants and will keep pecking away.
For the technically minded, it's running on a virtual machine (Virtual Box). I have a pretty robust workstation running Windows 7 with 32 gigs of memory and dual processor quad core processors.
I set up a 4 gig/2 core virtual machine and installed an old copy of Windows 2003 to be the Internet Information Server.
I set up another 4 gig/2 core virtual machine also with Windows 2003 and installed SQL Server 2008 Express edition that runs as the back end. SQL Server is the last MS SQL Server that runs on Windows 2003 BTW....
So check it out, let me know what you think!
It's a few months old now, but I'd like to present FastFoodMacros.com.
I call it the Fast Food Macros Database, and what I'm doing is gather the macro nutrition information on fast food offerings. You choose your restaurant and then tick off the items you want to eat. It keeps a running total of the fat, protein, carbohydrates and calories.
There's a diet plan out there that has gotten pretty popular called If It Meets Your Macros, which is a plan where you figure out your macros and pretty much eat whatever you want. As long as you hit your macros, you are good to go.
I built a pretty cool form for calculating you Total Daily Energy Expenditure too, since you need to have a starting point for calories to figure out your macro values.
I've been (slowly) adding restaurants and will keep pecking away.
For the technically minded, it's running on a virtual machine (Virtual Box). I have a pretty robust workstation running Windows 7 with 32 gigs of memory and dual processor quad core processors.
I set up a 4 gig/2 core virtual machine and installed an old copy of Windows 2003 to be the Internet Information Server.
I set up another 4 gig/2 core virtual machine also with Windows 2003 and installed SQL Server 2008 Express edition that runs as the back end. SQL Server is the last MS SQL Server that runs on Windows 2003 BTW....
So check it out, let me know what you think!
Friday, November 01, 2013
Showing Detailed Errors with Classic ASP
Many hosting companies had detailed errors turned off, as information in the error messages can often provide hacker with clues that allow them to hack web sites. But as developers, we all know that just because everything worked great in the development environment, doesn't mean it all works when we upload to production. And those error messages are essential when debugging Classic ASP.
So you FTP your site up, go and get the 500 Internal error, with no clue as to what it is. Here's how to get those detailed error messages back so you can debug.
Create a web.config file
In that file enter:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<httpErrors errorMode="Detailed" />
</system.webServer>
</configuration>
Save the file and upload it to the web server. Viola! Now you can get a detailed error so you can see just where the where the error is happening and what it is.
I suggest that once you solve the issue, that you turn detailed errors back off again. Every little bit of security helps when it comes to keeping your site secure.
So you FTP your site up, go and get the 500 Internal error, with no clue as to what it is. Here's how to get those detailed error messages back so you can debug.
Create a web.config file
In that file enter:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<httpErrors errorMode="Detailed" />
</system.webServer>
</configuration>
Save the file and upload it to the web server. Viola! Now you can get a detailed error so you can see just where the where the error is happening and what it is.
I suggest that once you solve the issue, that you turn detailed errors back off again. Every little bit of security helps when it comes to keeping your site secure.
Tuesday, August 27, 2013
Newest Website Launched
Yeah, I just completed a new website for aficionados of tactical tomahawks, hand axes and hatchets called TomahawkDB.If you've ever considered buying a tomahawk, hand axe, or hatchet, this site will give you all the information you need to make an informed buying decision. Stats include weight, length, blade width, blade length, steel type, steel hardness, handle type and pricing. So check it out, that's an order!
Wednesday, June 05, 2013
Using SQL to Replace Smart Quotes and Other Special Characters
UPDATE [table_name] SET [column_name] = REPLACE( [column_name], '’', '''')
UPDATE [table_name] SET [column_name] = REPLACE( [column_name], '–', '--')
UPDATE [table_name] SET [column_name] = REPLACE( [column_name], '“', '"')
UPDATE [table_name] SET [column_name] = REPLACE( [column_name], '”', '"')
UPDATE [table_name] SET [column_name] = REPLACE( [column_name], '…', '...')
UPDATE [table_name] SET [column_name] = REPLACE( [column_name], '–', '--')
UPDATE [table_name] SET [column_name] = REPLACE( [column_name], '“', '"')
UPDATE [table_name] SET [column_name] = REPLACE( [column_name], '”', '"')
UPDATE [table_name] SET [column_name] = REPLACE( [column_name], '…', '...')
Monday, December 10, 2012
Must Have Free and Open Source Software
All of the applications are free to use, freeware or open-source. A couple of them have a trial period (you can still use the software after the trial has run out) or there's a purchasable version as well. I've also listed several similar applications (like Firefox and Chrome for browsers or Foxit Reader and Sumatra PDF for PDF readers) so that you can find your your own personal favorite. You don't need both, but it's nice to have something to chose from.
Video:
Video:
- VLC - Open source video player.
- Media Player Classic - Home Cinema - Light-weight media player for Windows. I personally like MPC-HC much better than VLC. Supports more codecs/formats and video looks better.
- Combined Community Codec Pack - A simple playback pack for Windows with the goal of supporting the majority of video formats in use today. Must have if you watch certain tv-shows or anime.
- Foobar 2000 - Extremely lightweight and customizable free audio player for Windows. Supports a wide array of different audio formats.
- Audacity - Free, open source, cross-platform software for recording and editing sounds.
- Spotify - Listen to music for free.
- Grooveshark - Listen to music and radio stations for free.
- Firefox
- Chrome
- Waterfox - 64bit browser based upon the Mozilla Firefox source code.
- Pale Moon - Open Source, full-featured, speed optimized browser based on the popular Firefox browser.
- Reddit Enhancement Suite - Make surfing Reddit so much more enjoyable. Highly customizable and easy to set up.
- Adblock Plus - Blocks annoying ads on webpages and in videos. Surf faster and safer.
- Ghostery - Anti ad/tracking extension.
- ProxTube - Circumvent blocked Youtube videos.
- Speed Dial - Allows fast access to your most visited websites. Extremely useful if you visit or want to keep track off a lot of different websites.
- NoScript - Open source add-on (for Firefox) which allows JavaScript, Java, Flash and other plugins to be executed only by trusted web sites of your choice.
- ScriptNo - Similar to NoScript only for Chrome instead.
- Search by Image for Google (Firefox) - Fast way to reverse search an image. Very handy if you're looking for a source, more information or if anyone posts "original content".
- Search by Image for Google (Chrome)
- Microsoft Security Essentials - Lightweight antivirus software.
- Avast! Free Antivirus - Antivirus software.
- Malwarebytes - Anti-malware software.
- TrueCrypt - Free open-source disk encryption software for Windows 7/Vista/XP, Mac OS X, and Linux.
- Keepass - Free, open source, light-weight and easy-to-use password manager.
- LastPass - Another password manager that makes web browsing easier and more secure.
- CCleaner - A freeware system optimization, privacy and cleaning tool.
- Deffragler - Defragmentation software.
- Recuva - File recovery software.
- Speccy - Give you detailed statistics on every piece of hardware in your computer.
- Skype - Call friends/family on their computers or phones.
- Pidgin - Open source chat client which is compatible with several different chat networks.
- Trillian - A fully featured, stand-alone chat client that supports several different chat networks.
- HexChat - IRC chat program for both Linux and Windows.
- Foxit Reader - Free PDF reader.
- Sumatra PDF - Free PDF reader.
- Open Office - Open source personal productivity suite.
- Libre Office - Open source personal productivity suite for Windows, Mac and Linux.
- GIMP - Free image manipulation software.
- IrfanView - The best freeware image/graphic viewer for Windows. Extremely lightweight and supports a wide arrange of different formats.
- WinRAR - File archiver (You can still use the software after the trial period has run out).
- 7-Zip - Open source file archiver.
- uTorrent 2.2.1 - uTorrent became extremely bloated after they released version 3.0 and on. Version 2.2.1 has everything you need without using many resources or having any ads.
- Transmission - Extremely lightweight BitTorrent client for Mac and Linux. There's an unofficial Windows version which you can get here: http://sourceforge.net/projects/trqtw/
- Deluge - Lightweight, cross-platform BitTorrent client.
- qBittorrent - Free, lightweight cross-platform BitTorrent client.
- ImgBurn - Good, lightweight burning application.
- CDburnerXP - Another good, lightweight burning application.
- Virtual Clonedrive - Free media emulation software.
- DAEMON Tools Lite - Free media emulation software.
- PowerISO - Media emulation software.
- Dropbox - Cloud storage.
- Google Drive - Google's cloud storage solution similar to Dropbox.
- Skydrive - Microsoft's cloud storage solution.
- Steam - PC-game client for PC, Mac and Linux (Linux version is still in closed beta).
- f.lux - Makes the color of your computer's display adapt to the time of day, warm at night and like sunlight during the day. Must have if you have problems with going to sleep or have problems with eyes or headaches.
- Open Broadcaster Software - Free and open source software for media streaming.
- Sublime Text 2 - A great text editor for code, markup and prose.
- Notepad++ - Free source code editor and Notepad replacement that supports several languages.
- Rainlendar - A lightweight customizable calendar.
- Hamachi - A hosted VPN service that lets you create LAN-like networks. Very useful if you want to play older pc-games with friends.
- Tunngle - A p2p VPN tool somewhat similar to Hamachi.
Wednesday, November 14, 2012
If Programming Languages were Transportation
Language | Transportation | Comment |
Perl
|
Muscle car
|
Old school, still pretty awesome
|
C
|
Shoes
|
Get EXACTLY where you want to be
|
C++
|
Airplane
|
Complicated enough yet?
|
Go
|
Hydraplane
|
Like C++, but the landing is easier
|
Lua
|
Roller blades
|
Whip this out anywhere
|
C#
|
Car
|
Fast, comfortable and convenient
|
Lisp
|
Vostok rocket
|
Amazingly futurist, and yet strangely outdated
|
Haskell
|
Segway
|
A curiosity not fit for practical use
|
COBOL
|
Flintstones car
|
Your grandparents thought it was obsolete
|
Python
|
Bike
|
Fun but slow
|
Ruby
|
BMX
|
Python for cool kids
|
Brainfuck
|
Slinky
|
Well TECHNICALLY it can go anywhere
|
Prolog
|
Zeppelin
|
slow, useless and outdated, but still awesome
|
Pascal
|
Antique Bentley
|
Fond memories
|
Bash
|
Elevator
|
Not hip, but practical
|
Javascript
|
Subway
|
You're not anything special
|
Typescript
|
Tramway
|
At least the view is nicer
|
VHDL
|
Steamroller
|
A vehicle that enables other vehicles!
|
Objective-C
|
Hummer
|
In some places it's the only thing you'll see - and you'll only see it there
|
Java
|
Astronaut suit
|
Will run ANYWHERE, but damned inconvenient to do anything with
|
PHP
|
Motorized wheelchair
|
hurr durr
|
Monday, October 29, 2012
Free Computer Games
Action:
- Black Mesa - Remake of the first Half Life game.
- Warsow - Fast paced multiplayer FPS.
- Quake Live
- OpenArena - Quake III Arena clone.
- Mech Warrior 4
- Ace of Spades - Multiplayer Minecraft inspired game with guns.
- Grand Theft Auto 1
- Grand Theft Auto 2
- Soldat - 2D Counter Strike with jetpacks.
- Marathon Trilogy - Bungie made this game series before Halo. It's considered to be the spiritual predecessor of Halo.
- Alien Swarm - Top down multiplayer shooter made by Valve.
- F.E.A.R. Combat - Online multiplayer FPS.
- Hidden & Dangerous
- Wild Metal - Action/strategy game made by Rockstar.
- Xonotic - Fast paced multiplayer FPS.
- Red Eclipse - Fast paced multiplayer FPS.
- Wolfenstein: Enemy Territory
- America's Army
- Noitu Love - Great action filled adventure game made by Konjak.
- Assault Cube - Fast paced multiplayer FPS.
- N
- Super Crate Box is a fast paced and addictive arcade game.
- Probability 0 - Platformer with roguelike elements.
- Tyrian 2000 - Classic Shoot 'em Up. There's also an open source project of the game here: http://code.google.com/p/opentyrian/
- Stealth Bastard - Stealth based platformer.
- Hyper Princess Pitch - Smash TV clone.
- Hydorah - R-Type/Gradius clone.
- Virax
- Verminest - Arcade shoot em up.
- Hurrican - Remake of the old Amiga classic.
- Super Smash Land - Super Smash Brothers demake.
- Shoot First - The Binding of Isaac meets Smash TV.
- Open Liero X - Real time Worms clone.
- Frozen Bubble
- Little Fighter 2 - Great beat 'em up with both single player, co-op and battle mode.
- Dwarf Fortress
- Command & Conquer - The first C&C game.
- Command & Conquer: Red Alert
- Command & Conquer: Tiberian Sun + Firestorm Expansion
- Open Transport Tycoon Deluxe
- Hedge Wars - Worms clone.
- FreeCiv - Civilization clone.
- FreeCol - Colonization clone.
- 0 A.D. - Age of Empires 2 clone.
- OpenRA - Red Alert Open Source Project.
- The Battle of Wesnoth
- Scorched 3D - Scorched Earth clone.
- Atomic Tanks - Scorched Earth clone.
- FreeOrion - Master of Orion clone.
- Ufo Alien Invasion
- Warzone 2100
- A Nation of Wind
- The Wager
- S.W.I.N.E.
- Advance Strategic Command
- Black Market HD
- Transcendence - Transendence is a real time space exploration game with some roguelike elements.
- [King Arthur's Gold (http://kag2d.com/en/download) - Aka. KAG. Takes the building aspect from Dwarf Fortress, the strategy from Age of Empires and the class system from TF2 and mixes it with online multiplayer mayhem.
- Dungeon Crawl Stone Soup
- Brogue
- ToME
- ADOM
- NetHack
- Angband
- DoomRL
- Cataclysm
- Rogue Survivor
- Desktop Dungeons
- POWDER
- The Slimy Lichmummy
- Mercury
- IVAN
- Castle of the Winds
- System Shock 1 - The old classic. Works on newer systems and has mouse look.
- The Elder Scrolls: Arena - The first game in the Elder Scrolls series.
- The Elder Scrolls: Daggerfall
- Dink Smallwood - Old PC adventure/rpg with a lot of extra fan made stories.
- Magebane 2
- Arkoss
- The Spirit Engine
- The Spirit Engine 2
- Ultima 4
- Ultima: Savage Empire
- Ultima: Worlds of Adventure
- Delver - First person dungeon crawler with roguelike elements.
- Beneath a Steel Sky
- Octodad
- King's Quest 1
- King's Quest 2
- King's Quest 3
- Quest for Glory 2
- Flight of the Amazon Queen - You've got to emulate it through ScummVM.
- Dreamweb - You've got to emulate it through ScummVM.
- Broken Sword 2.5
- A Tale of Two Kingdoms
- Trackmania Nations Forever - One of the best free racing games out there.
- Death Rally - Old classic. Weaponized cars on the race track. Cheat, kill and annihilate your way to victory.
- Nitronic Rush
- VDrift
- TORCS
- Racer
- Team Fortress 2
- Tribes: Ascend
- Super MNC
- Gotham City Impostors
- Battlefield Heroes
- Age of Empires Online
- Dungeons & Dragons Online
- Lord of the Rings Online
- Everquest 2
- DC Universe Online
- World of Tanks
- Realm of the Mad God - MMO with permadeath.
- Bloodline Champions
- League of Legends
- Heroes of Newerth
- Spiral Knights
- Savage 2
- Ao Oni - Horror Exploration.
- Yume Nikki - Horror Exploration.
- .flow - Horror Exploration.
- Ib - Horror Exploration.
- SCP Containment Breach - Horror/survival game based upon the SCP Foundation stories.
- Slender - Based upon the Something Awful creepy pasta.
- Katawa Shoujo - Visual Novel (NSFW). Supports Windows Mac and Linux. Cached mirror to download page: http://webcache.googleusercontent.com/search?q=cache:7FoQ8A8MeVEJ:katawa-shoujo.com/download.php+&cd=1&hl=en&ct=clnk&gl=no&client=firefox-a
- Digital A love Story
- Don't take it personally, babe, it just ain't your story - Visual Novel. Spiritual successor of Digital A Love story.
- Frets on Fire - Guitar Hero clone.
- FlightGear - Flight Simulator
- Moonbase Alpha - Aeiou!
- Under the Garden - A sequel named Under the Ocean is in development.
- Which - Short horror game.
- Spring Engine - Many different games made for the Spring Engine.
- Gravity Bone
- Osu! - Osu closely resembles Elite Beat Agents and other rythm games. Highly customizable and many different songs.
- StepMania - StepMania is a dance and rhythm game. Highly customizable and many different songs.
- La Mulana
- Cave Story
- Iji
- Spelunky is a roguelike inspired platformer made by Derek Yu. The Xbox remake heavily expands upon the original game in every single way. The PC version has also a lot of different mods which you can download. If you're going to download the original PC version, then I highly recommend you download the unofficial 1.3 version of the game. It fixes a lot of bugs and it also runs much smoother.
- Eternal Daughter is a metroidvania released by Derek Yu.
- Treasure Adventure Game. You can even add the game to your GOG-catalogue.
- Hero is the first game in the "Hero" series. It's only in black and white and it's inspired by old games from the Commodore 64 and Atari era.
- Hero Core is a minimalistic metroidvania. This is the second game in the "Hero" series and it's a full fledged metroidvania (compared to the first game). It's available on both PC and Mac.
- Hydra Castle Labyrinth is a Japanese metroidvania developed by E. Hashimoto (aka. Buster). Here are some mirrors if the original link doesn't work: http://jayisgames.com/archives/2012/01/hydra_castle_labyrinth.php http://vsrecommendedgames.wikia.com/wiki/Hydra_Castle_Labyrinth
- Lyle in Cube Sector
- An Untitled Story
- Within a Deep Forrest
- Knytt
- Knytt Stories
- Poacher is a game created by Yahtzee Croshaw. Yes, that Yahtzee.
- Frogatto & Friends
- L'Abbaye des Morts ZX-Spectrum graphics with Manic Miner/Jet Set Willy gameplay.
- You Have to Win This Game - Retro exploration platformer.
- I Wanna be the Guy
- I Wanna be the Guy Gaiden: Act 1
- suteF
- Arvoesine - Short and hard platfomer which closely resembles Ghosts'n Goblins.
- Phenomenon 32 - Phenomenon 32 is a really hard exploration based platformer. It somewhat resembles Zelda 2.
Friday, October 26, 2012
Must Have Free Computer Software
Here's the good free stuff (may want to look into F.lux as well):
- Microsoft Office Beta - It's a full version of MSOffice that's working well for me, this one's the same as the rest except it has useful cloud features. You'll need a Microsoft account, but no credit card is required
- Mufin - Great for putting metadata on music
- Avidemux - Free video editor
- CCleaner - "Cleaner" for your PC
- Camstudio - Screencapture
- Avira - Antivirus. Best success rate, but has annoying popups at times (not always)
- Jahshaka - Open source video editor... very advanced. Like CS
- Peerblock - Blocks nosy computers probing into your stuff
- Soluto - Easy way to speed up boot times
- VirtualCloneDrive - Mounts .iso files virtually (no CD necessary)
- VideoPad - Yet another video editor. Also good.
- Chrome - If you're not looking at this using Chrome, you're probably not looking at this
- Skype - Video chat
- VLC - Video player. Supports EVERY file type.
- Audacity - Audio editor
- K-Lite - Codec pack. VLC now supports EVERY EVERY file type
- MediaMonkey - Music manager. There are tons. I can't recommend just one... this one's good, but not necessarily the best.
- Gimp - Image editor like photoshop
- LibreOffice - Like OpenOffice, but this one has support. Free (and best) alternative to Microsoft Office.
- Foxit - Views PDF
- uTorrent - Light and easy torrenter
- Dropbox - Online file storage
- EverNote - Note taking software
- TeamViewer - Lets you view others' and others view your computer and navigate. Secure. It's like troubleshooting software. Don't let just anyone connect, though.
- TeraCopy - Copies files more efficiently
- Revo Uninstaller - AMAZING. Uninstalls programs COMPLETELY. Seriously... get this
- WinDirStat - Shows (using boxes) what is taking up space on your hard drive. Great for cleaning your hard drive... just don't delete windows files. Hard to delete files using this, though.
- 7-zip - Opens .zip, .rar, and almost every other similar type of compresses file. Better than WinRAR
- NotePad++ - AMAZING NOTEPAD. If you're a programmer... GET THIS. If you work with other languages... GET THIS. Heck... just get it.
Here are some more good ones:
- CDBurnerXP - if you still burn CDs or DVDs, this is probably the best free option.
- Inkscape - as close to Illustrator as you're going to get for free.
- Paint.Net - GIMP pissing you off? Try this.
- FileZilla - if you're using FTP at all, you want this.
- wget - if you're comfortable with the command line, this is one of your best friends for downloading stuff.
- Calibre Got a few ebooks? You probably want this.
- HandBrake For all your DVD ripping needs.
- Rootkit Revealer detecting them rootkits.
Subscribe to:
Posts (Atom)