Jump to content

phkninja

Member
  • Posts

    465
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Ireland

Posts posted by phkninja

  1. create an icon follwoing the info in this site. must be called favicon

    add the icon to the root of the web directory (beside index.html etc)

    add the belwo code to the <head> part of the web pages

    <link rel="shortcut icon" href="favicon.ico">
    <link rel="icon" href="favicon.ico">

    For creating icons you can use

    GIMP for Windows (or GIMP on *nix)

    IcoFX - Windows Software (pretty good)

  2. Python Tutorials

    Page 1

    Page 2

    Image related

    Downloadable Guide

    Page 3

    As stated before I have learned alot of languages by teaching myself and think python is great.

    It doesnt have as many constraints on variables etc, is easier to write and debug and is extremely modular. It teaches good programmng from the outset because it encourages code thats easily readable and is also OOP if you really get working on it. Its a good language to show the basics of programming, allowing alot of functionality, without worrying about the lower level system calls etc and how they are implemented. After starting with this the cross-over to C or C++ (hence Java, and .Net are also included here) is alot easier.

    I dont like VB because its slow, and requires DLL's to make the program function correctly. This added with learning a language that is not cross-compatible. Like learning C++ and only learning MFC or WTL. you learn to program on a single platform but cant transfer the programs easily to another platform. Python, C, C++, Java and .Net (with the help of Mono) can be used on any platfrom.

  3. Actually Python is a great language to learn from

    Its open source

    its cross-platform

    its has a rapid development time

    its got alot of fuctionality

    its got alot of users (with alot of easily accessable code).

    Can be extended with C/C++ (or Java or .NET) when the user knows how to progranm correctly (or just download an extention by someone else)

    It may not be good for programming games but it is a great place to start.

    Ive started with BASIC and learned a few more languages (teaching myself). Im only starting to learn Python myself but i find it great to use. There is alot of documentation available for it too.

    Also Basic and Pascal (in my opinion) are not very good to learn as a first language, they were the first two i started with :) but require alot of code to do a simple task

  4. give us an example of code that doesnt work.

    in php you must have <?php before any code otherwise it wont recognise it as php information. Also are you creating a page dynaically using the php?

    e.g. are you trying to create a standard page using php scripting

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
    ......

    in php this would be

    <?php
    echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">'
    echo '\r\n<html>\r\n<head>\r\n'
    ....
    ?>

    or

    <?php
    print "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\">"
    print "\r\n<html>\r\n<head>\r\n"
    ....
    ?>

    echo and print are interchangable in this application, and in the second one ive used only double quotes and \" for any internate double quotes for the printed string.

  5. For those who use this EXE Packer, Version 3.00 has been released.

    Here

    Some of the new features (since the previous stable relaese V2.03) include

    *LZMA is now also supported for 16-bit dos/exe. Use se new option '--lzma' to enable. Please note that you have to explicitly use '--lzma' even for '--ultra-brute' here because runtime decompression is about 30 times slower than NRV -

    which is really noticeable on old machines.

    * win32/pe & arm/pe: better icon compression handling

    * new option '--ultra-brute' which tries even more variants

    * slightly improved compression ratio for some files when using '--brute' or '--ultra-brute'

    * new format: BSD/elf386 supporting FreeBSD, NetBSD and OpenBSD via auto-detection of PT_NOTE or EI_OSABI

    * arm/pe: all the NRV compression methods are now supported (only NRV2D is missing in thumb mode)

    * linux/elf386, linux/ElfAMD: remember /proc/self/exe in environment

    * major source code changes: the runtime decompression stubs are now built from internal ELF objects

    Sorry if its a repost, couldnt find it when i ran a search.

  6. Look here for kernel info

    it shouldnt take too long if the image is the same.

    Process.

    Copy the ntoskrnl.exe to another folder for editing (or copy the ntoskrnl.ex_ from the i386 folder of your unatended disk and expand it)

    1) Open resource editor (like reshacker)

    2) open kernel file

    3) click on bitmaps->1->1033

    4) Richt click and select replace

    5) select the bitmap to use and save

    6) run modifype and makecab (as in Unattended Guide)

    7) Add to your i386 folder for your disk

    if running on current machine rename the kernel OEMkrnl.exe and place in the system32 folder

    edit the boot ini file. (like method 1 in the first link)

  7. I use Virtual PC and Virtual Box

    Virtuial PC works fine but can be a bit slow on lading the information etc.

    Virtual Box works faster, but i still havent gotten drag&drop to work or been able to connect a usb device to it.

    Both have their benefits, but it also helps to run an isop etc in 2 virtual machines to check it.

    I have used qemu befoe as well and found its ok (its used by the guys in Winbuilder for testing their Win Live/ Win PE disks)

  8. ntoskrnl.exe would be the file to edit for the boot image (If im not mistaken)

    ntkrnlpa.exe - Bitmap 1

    ntkrnlmp.exe - Bitmap 1

    ntoskrnl.exe - Bitmap 1

    This will edit the boot image for single and multi-processor machines

  9. ill answer the question now, but in future try searching the forum. This question is asked alot.

    copy winntbbu.dl_ to somewhere other than where the cd files are stored( eg. d:\winntbbu.dl_).

    copy modifype.exe to the same directory (unless its already in your system32 directory)

    open a command window and navigate to the drive

    type

    expand winntbbu.dl_ winntbbu.dll

    use reshacker or another resource editor to open the file for editing

    replace the picture (bitmap 103) with the one you want. (restrict to 8 bit or 16 bit colours to stop errors)

    close resource editor.

    in command prompt type

    modifype winntbbu.dll -c
    makecab /D CompressionType=LZX /D CompressionMemory=21 winntbbu.dll

    copy winntbbu.dl_ to i386 directory.

  10. Thanks Patches :) Didnt realise i forgot to fix his original error (just copied and pasted the code)

    Like IceMan says svcpack calls the programs from the system or system32 directory. By using a directory like the one i suggested above it means the apps install from cd and dont need to be copied to the hard drive at all. Either way its just a personal preference.

    e.g.

    my way

    CD Layout

    I386
    Install
    |_(Apps)
    ........

    using svcpack alone

    i386
    |_SVCPACK
    |__(Apps)

    ou can fix the problem by adding the apps into the svcpack folder on the disk, or do as i said above and add them to the Install folder onm the disk, making the changes to the apps.bat to make the installers run from the cd.

  11. yes. it cancels the effect of the extra EM. its only needed close to the connector to cancel at the last minute so the EM isnt added to the siganl at the computer etc.

    You will also find that usually only long cables have these "extra" bits, as the lenght of the cable directly effets the amount of EM and signals from other sources.

  12. the only other problem i could see is that you dont have the exe's in the correct path.

    so create a folder on the disk for install, then

    @echo off
    title Batch File Applications Installer
    for %%i in (c d e f g h i j k l m n o p q r s t u v w x y z) do if exist %%i:\win51ip.SP2 set CDROM=%%i:
    SET InstallPath=%CDROM%\Install

    echo.
    echo Begin Installation:

    echo.
    echo Mozilla Firefox 2
    echo Please wait...
    start "Firefox" /wait "%InstallPath%\Firefox Setup 2.0.0.1.exe" /S

    echo.
    echo Adobe Reader 8
    echo Please wait...
    start "Adobe Reader" /wait "%InstallPath%\AdbeRdr80_en_US.exe" /sAll
    echo Deleting Desktop Shortcut
    DEL "&ALLUSERSPROFILE&\Desktop\Adobe Reader 8.Ink"

    echo.
    echo WinSCP
    echo Please wait...
    start "WinSCP" /wait "%InstallPath%\winscp382setup.exe" /sp- /silent /norestart

    echo.
    echo Putty
    echo Please wait...
    copy %InstallPath%\putty.exe "&ALLUSERSPROFILE&\Desktop\"

    echo.
    echo Installation Finished

    echo.
    echo Restarting in 60 seconds
    shutdown.exe /r /f /t:60 /c "Restarting to finish application installation"

    exit

  13. this is set up with subdomains. I have never configured them but here are some links that might help

    Apache Site

    Easy Explaination

    from cross referencing I think this is what you need

    in httpd.conf

    <VirtualHost *:80>
    ServerName thempire.sytes.net
    DocumentRoot /www
    </VirtualHost>

    <VirtualHost *:80>
    ServerName thedugg.sytes.net/
    DocumentRoot /www/thedugg
    </VirtualHost>

    so the main site is in thge www directory, and thedugg is in www/thedugg as a sub folder

×
×
  • Create New...