Jump to content
xisto Community

ignite

Members
  • Content Count

    36
  • Joined

  • Last visited

Everything posted by ignite

  1. There is pascal version of lexx/yacc. I personally did exactly same thing: wrote simple pascal-like interpreter in Delphi 5. Not too hard, really.
  2. It's best to use ssh. By default ssh uses tcp protocol 22 port, so you should DNAT or forward traffic to this port.On server side you should check if ssh daemon up and running. Simplest way to do so - sit on the server console and type ssh localhost Definitly. This is simplest method. AFAIK XP has't ssh client, so you end up with two options: use XP telnet client (not recommended for security reason), or download some third party ssh client (Putty is most known free one). I'am not a debian guru. AFAIK:apt get sshd chkconfig --add sshd /etc/init.d/sshd start
  3. I use python to program kiosks: music automat, BlackJack game and so on. To access low level devices i use SWIG to easely build wrappers around C code. As for now i don't use any IDE, but heard about eclips python plugin.
  4. It's common to use ssh as remote command line client only but ssh can do much much more. Here two possibilities which i use frequently: 1) -X option. Server instalations often don't have functional X11 or even if have one they located at dedicated room, so you have to go maybe another stage to reach them. When i need to run GUI program on server i just start ssh session from my linux workstation: ssh -Xl root server After login i type command line mozilla & and get mozilla window on my desktop, but running at server! 2) If you want to transfer files to/from server, but don't want or can't install ftp server, use secure ssh ftp client - sftp. You don't need any additional server support except sshd. Enjoy! Let's add more ssh tips.
  5. Best practice to learn some topic is to explore existing implementations. Start by reading sources. I can recommend MnoGoSearch and AspSeek. First written in perl AFAIK, second C++ and MySQL. Happy hacking!
  6. I think python is just for you. It simple, fast and reliable. There is a huge library of bindings to different libraries. For example PyGame - binding to SDL, for multimedia programming. As you know blender is a 3D modelling program, it uses python as embedded automation language. For web programming there is exellent platform - django. Productivity is ovesome.
  7. The preffered way, used by distro, is to create start script and locate it in /etc/init.d/Simpest method is to copy one of existing one and edit to suit your needs. Then run chkconfig --add name You now can activate\deactivate your sirvice at any time by setup utility or any other standart method.
  8. If you can boot from CD, simplest method is to mount linux partitions, then chroot to it, then run grub-install.TIP: fdisk -l will display all partitions at all drives. In general, for any distro, even you havn't live CD, restoring can be done in such steps: 1) Find any working linux sustem 2) Create GRUB boot floppy: # cd /usr/share/grub/i386-pc # dd if=stage1 of=/dev/fd0 bs=512 count=1 1+0 records in 1+0 records out # dd if=stage2 of=/dev/fd0 bs=512 seek=1 153+1 records in 153+1 records out 3) Boot from that floppy, then (quote from GRUB info page): Once started, GRUB will show the command-line interface (*note Command-line interface:. First, set the GRUB's "root device"(1) (*note Installing GRUB natively-Footnote-1: to the partition containing the boot directory, like this: grub> root (hd0,0) If you are not sure which partition actually holds this directory, use the command `find' (*note find:, like this: grub> find /boot/grub/stage1 This will search for the file name `/boot/grub/stage1' and show the devices which contain the file. Once you've set the root device correctly, run the command `setup' (*note setup:: grub> setup (hd0) For more information type info grub
  9. Try Python (python.org), it very good for beginers.For game developing there is good library PyGame, which is a wrapper around SDL, and responsive comunity.This is a really good start.
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.