User Profile
Collapse
-
I found the way! I used Clonezilla, and made an image of my whole HDD and partitions. when the system fails, all I have to do is boot clonezilla's CD and add my USB with the image, select it, and then it will copy all to the HDD I want. -
Not crashing, but sometimes I do mess up with a few coding or pen tests.Leave a comment:
-
Thank you, sure I will, I will try this this week and I will let you know.
Thanks again.Leave a comment:
-
You should check the docs. It helps, maybe a few Regex cheat sheet.Leave a comment:
-
-
Tired of reinstalling
I have a quick question. When my system crashes (Arch linux) I hate the fact I have to reinstall everything again. All the DE, Login Manager, browser bookmarks etc.
Is there anyway I can make an iso file of my system (including all partitions etc) and put it on a CD, and when my system crashes, all I need to do is put the CD and it will install everything back again?
Thanks in advance -
-
I wrote a piece of code, it will save my passwords and you can only open the file with a password. It's encryptedLeave a comment:
-
-
I'll give you one tip about your code, try not to mix Javascript with HTML. It makes a mess. separate things.Leave a comment:
-
Question about how to solve this problem (Change char)
Hey all,
I am a beginner, and I would like to code a Python script which it will change the string to lower if the string is upper and change the upper to lower if the string is upper.
I've been trying to write this way (it might look horrible)
Code:import re def changeCharacters(stringToChange): string = ''.join(stringToChange).split(' ') regex_uppers
-
-
I use Python 3.1 in Ubuntu 10.10 and on my Ipad 2 I use a text editorLeave a comment:
-
Python 2.5 long
I have this bit of code, which I copied from my book;
Code:def checkIndex(key): if not isinstance(key,(int, long)): raise TypeError if key < 0: raise IndexError
-
Understanding __call__ in Python 3
I am reading a Python book for Pyton 2.5 (But I am doing Python 3). I am at the chapter classes and I got this part;
"You can check whenever the function attribute was callable."
Code:callable(tc,'talk',None)
Code:hasattr(anything, '__call__')
-
How to use filter() and map()
I am using Python 3.1.2, and I am having difficults understanding how the map() and filter() works, could anybody give me any help? what do they really do?
Thanks in advance -
It's a good idea, but a little advance for a beginner, but hey, you can always try, right? Use the module os, there you can do what you are willing for.Leave a comment:
-
You can make a dictionary, the key will be the name and the value the address withing a list.Leave a comment:
-
How to display Python code with code tags on blogspot?
I've been searching the whole internet for it, but I couldn't find anything, I have a blogspot Blog, and I am willing to write Python code examples there, does anyone know how the code tags work? I was willing something like this;
http://img51.imageshack.us/i/screenshotle.png/
But then on blogspot, does anyone know how to do this? Thanks in advance....
No activity results to display
Show More
Leave a comment: