Technalogist computer forum linux
News
your current security settings does not allow this file to be downloaded
MicrosoftHow to enable file download in Windows Server family.

1. Open Internet Options
2. Click on Security Tab
3. Click on Custome button
4. Scroll down to Download Settings
5. Enable File Downloads and Automatic Prompt for File Downloads.



This settings will allow file downloads in Windows Server Family Operating Systems!
· artem on November 12 2008 17:22:36 · 0 Comments · 5 Reads · Print
A+ practice questions for 2006 -2007
A+ practice questions for 2006 -2007
This zipped folder included about 1000 practice questions for:
Comptia 220-601
Comptia 220-602
Comptia 220-603
Comptia 220-301
Comptia 220-302

I purchusted it on ebay so download it and use it.
Download here
· artem on October 23 2008 17:04:07
0 Comments · 10 Reads · Print
Disabled Background Menu in Display Properties
MicrosoftOn the desktop tab in Display properties, my
background menu is diabled. Here is how to solve it >>

1. Press "start" button
2. Run
3. Type gpedit.msc (This is group policy)
4. user configuration
5. administrative templates
6. Control Panel
7. display

Then enable all options

OR

click Start, Run and enter REGEDIT Go to:

HKEY_CURRENT_USER\Software\Microsoft\Windows
\CurrentVersion\Policies\ActiveDesktop

Look in the right pane for a value called
NoChangingWallPaper. If it exists, its probably
set to 1. Double click it and change it to 0
(zero). If it doesn't exist, right click in a blank
area of the right
pane and select, New, DWord value and name it
NoChangingWallPaper.
Leave it set at 0.


OR

click Start, Run and enter REGEDIT Go to:

HKEY_CURRENT_USER\Software\Microsoft\Windows\
CurrentVersion\Policies\System

Look in the right pane for a value called Wallpaper.
If it exists, right click it and select Delete.
· artem on October 22 2008 19:02:43
0 Comments · 11 Reads · Print
Political funnny pictures


Go to photo gallery to see all images.

· artem on October 22 2008 13:28:04
0 Comments · 10 Reads · Print
Rename files in a folder as numbered files
python programming
#!/usr/bin/python
"""
Just a small script that renames all the JPEG files
in a folder as 0000.jpg, 0001.jpg etc. Initial order
is retained.
vsbabu AT hotmail DOT com

This is intended as a recipe script, though I use it
way too often to arrange my digital files.

Note that this has possible error conditions that
are not handled at all:
- what if the folder has files already numbered?
- while renaming, it fails if the target file exists
"""
import glob
import string
import os

#get all the jpg file names in the current folder
files = glob.glob("*.jpg") 
#sort the list
files.sort()
count = 0
# and rename each file
for f in files:
    count = count + 1
    n = string.zfill(count,4) + ".jpg"
    print f, n, 
    try:
        os.rename(f, n)
        print
    except:
        print "error: didn't rename"
Found it on http://vsbabu.org/webdev/pydev/rename_number.html
· artem on October 21 2008 15:33:55
0 Comments · 14 Reads · Print
Replacing spaces in file names python example
python programmingThis code will look for file in current or given directory and rename all file that have spaces replacing spaces with underscores. It’s very usefully for example if you want to upload like a 1000 images to your web site.

import os
print \
""" This program renames file names by replacing
spaces in file with _ underscore. If you want to
work with current directory just type cur."

"""
space = " "
dash = "_"
dirrname = raw_input("Enter path to directory that you want to work on: ")

if dirrname == "cur":
cwd = os.getcwd()
dirr = os.listdir(cwd)
for filename in dirr:
if space in filename:
filename1 = filename.replace(space,dash)
os.rename(filename, filename1)
print filename1

else:
# gets current directory
dirr = os.listdir(dirrname)
for filename in dirr:
if space in filename:
filename1 = filename.replace(space,dash)
os.rename(filename, filename1)
print filename1


Download python script: dirr.py
· artem on October 20 2008 17:08:17
0 Comments · 8 Reads · Print
Another set of funny pictures
Check out another set of funny images at photoalbums.
· artem on October 17 2008 21:36:07
0 Comments · 10 Reads · Print
The power of Automation!
python programmingPython search change attribute and write.
Here is my project for today! One guy at work was spending 1-2 hours fixing some reports so i decided that this is a big waste of time here is a code that will look for UNC path in huge report and it will change attribute and write some data to file that it found in report.

import re
import os, sys, stat
print "To make this script work save report as super.txt file on drive C:"
raw_input("Press Enter if you sure that you are ready:")


text = open("C:\super.txt", "r")
text2 = open("log.txt", "a")
joke = "\n"
string1 = 'The file'
supertext = '91919191919324234983750847523750

for line in text:

#only looks for lines that have the file string
if string1 in line:

#assign path to string
#search for strings that starts with \\ and ends with .ctx extension

su = re.search(r'\\\\IMG.*?.ctx', line).group()

#removes read only attribute
os.chmod(su, stat.S_IWRITE)

#writes log file for all path that was found
text2.writelines(su)
text2.writelines(joke)

#open every file
man = open(su, "a")

#add data to file
man.writelines(supertext)

print re.search(r'\\\\IMG.*?.ctx', line).group()
text.close()
text2.close()
man.close()
· artem on October 17 2008 17:42:07
0 Comments · 12 Reads · Print
Python quiz example
python programmingThis is a little script that will work like a quiz no GUI only shell. It will randomly questions from the list and grade your answers. You can try this one buy clicking on Iquiz link and see how it works.

# -*- coding: cp1252 -*-
#A+ Essensials
print \
"""
Iquiz ver 1.1
This is non GUI version of Iquiz.
This test will test your knowledge about
A+ Essentials 2006-2007.

"""
import random
q = ""
total = int(raw_input("How many questions?: "))
kak = []
kak.append(total)


Read more to see complete code.
· artem on October 16 2008 20:11:36
Read More · 0 Comments · 11 Reads · Print
Just funny image!
Its just funny image if you want to see more go to photo gallery!
· artem on October 12 2008 01:02:34
0 Comments · 20 Reads · Print
How to make installer?



Wondering how to make installer for your software or application you can do it with utility that been used for years. The most coolest thing about it its completely free, this guys did a really good job.



Key features:

Support for all versions of Windows in use today: Vista, XP, 2008, 2003, 2000, Me, 98, 95, and NT 4.0. (No service packs are required.)
Extensive support for installation of 64-bit applications on the 64-bit editions of Windows. Both the x64 and Itanium architectures are supported. (On the Itanium architecture, Service Pack 1 or later is required on Windows Server 2003 to install in 64-bit mode.)
Supports creation of a single EXE to install your program for easy online distribution. Disk spanning is also supported.
Standard Windows 2000/XP-style wizard interface.
Customizable setup types, e.g. Full, Minimal, Custom.
Complete uninstall capabilities.

Installation of files:
Includes integrated support for "deflate", bzip2, and 7-Zip LZMA file compression. The installer has the ability to compare file version info, replace in-use files, use shared file counting, register DLL/OCX's and type libraries, and install fonts.
Creation of shortcuts anywhere, including in the Start Menu and on the desktop.
Creation of registry and .INI entries.
Integrated Pascal scripting engine.
Support for multilingual installs.
Support for passworded and encrypted installs.
Silent install and uninstall.
Full source code is available (Borland Delphi 2.0-5.0).

Go here to download: http://www.jrsoftware.org/isdl.php
· artem on October 10 2008 22:34:58
0 Comments · 19 Reads · Print
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Navigation
Download

firefox logo

phpfusion logo

ubuntu logo

pclinuxos logo

mandriva logo

awasp logo

backtrack 3 logo

open suse logo

knoppix logo

fedora logo

gentoo logo

slackware logo

debian logo