All,
I'm considering writing a small application that will decrypt files on the fly but unsure what approach/library to take and would like some advise on this.
Basically the concept is that I have a directory with a series of config files in it. These will be encrypted with some algorithm...
See post #2 for my final script. I'm sure there are more elegant ways to handle the duplicate file names but my hands were tied with busybox's limited argument input. So to get around this I just appended all file names with the current epoch datetime.
Always looking for improvements, thanks!
I'm sure this need some tweaking, any improvements welcome. I've landed on this. I will test once my last archive is done extracting.
WORKING SCRIPT
#!/bin/sh
DIR="."
function list_files()
{
if !(test -d "$1")
then echo $1; return;
fi
cd "$1"
for i in *
do
if test -d "$i" #if dictionary...
Hi all, I was wondering if anyone could help me figure out a way to efficiently solve a problem.
I've just preformed a large data migration from my old system to a new dedicated NAS. In doing this, I created one large (nearly 1TB) compressed file of the root share.
As you can imagine, after...
First of all, I'm sure this is a total newbie question so bare with me :)
I have a domain name that redirect to my box with www/apache22 on it. I found a super cheap SSL provider and wanted to learn more about it beyond self signed certificates. So I bought one. The problem is since I have...
Solved, I thought I could put the port in there.... I can't.
192.168.1.201 tomcat tomcat
Then tomcat:8080/ from the browser works fine. Thanks again for the help @fonz!
Thanks! I only ask because I made changes to /etc/hosts and it seems to have not taken effect on it's user error :OOO
edit:
Here's my /etc/hosts entry:
192.168.1.201:8080 tomcat tomcat
For the life of me I can't remember where to put this. I have a jail on my PC-BSD system and from the base system I want to set up an internal alias for it so I can just type "tomcat7" in my browser instead of the IP and port, where would I put this?
I'll take my own bait here....I have this conversation with my wife all the time. You don't NEED to know how your car works. But it sure is a lot cheaper to know how to change your own oil or know how to fix your car with a quick and dirty hack when you're on the side of the highway so you can...
Re: Where is JavaFX?!
Well dang. I appreciate the information! I have Swing and have been doing a lot of JavaFX development lately. I was hoping to be able to code on my desktop and not my Windows machine/VM. I'll have to look into this more or I'll have to go back to Swing, I mean the...
My wife got me a makey-makey for my birthday a while ago and I haven't had a chance to play with it yet. It's essentially a USB keyboard/mouse that works out of the box on most systems. It allows me to turn anything that will conduct a current into a touch device. By default it just supports...
Re: Where is JavaFX?!
Well, it's solved, kind of. I just copied over the jar needed, included it into my build path, and then got the error that FreeBSD is not supported. Lame.
I've installed openjdk7 and I'm working on a JavaFX application. I figured openjdk7 wouldn't have everything I needed and as I expected it did not. I then installed linux-sun-jdk17 from the ports. According to Oracle's website Java 7 update 4 should have everything I need to develop a JavaFX...
I'm running FreeBSD 9.2 and I'd like to use a second hard drive for /home. I know I can use something like this:
zpool create someName ada1
zfs create storage/Name
My question is two parts. If I'm wanting to use this second drive as my home what would the command's be? I would assume it...
Hi everyone! I was wondering what the deal is with installing Eclipse plugins from help > install new software. Some of these packages such as java/eclipse-cdt and java/eclipse-webtools are in the ports tree but some aren't. I've tried to install several of these from help > install new...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.