Tagged: howto Toggle Comment Threads | Keyboard Shortcuts

  • diegor 10:57 pm on January 6, 2013 Permalink | Reply
    Tags: howto,   

    HOWTO: yolk, manage your python modules 

    Installing pyhton modules is very easy and straightforward. The problem is keep the up to date, list the installed modules, etc. For all these tasks there is Yolk.

    Examples:

    #> yolk -l   # List all installed  packages
    #> yolk -U   # Checks PyPI to see if any packages have updates available
    #> yolk -a   # List only the activated packages installed

    Just go to the PyPy page, download it and manage your python modules in a pythonic way :)

     
  • diegor 5:23 pm on October 12, 2012 Permalink | Reply
    Tags: apache, howto, htaccess   

    HOWTO: allow Apache access from IP without password using htaccess 

    Very straightforward. Just write these lines in your VirtualHost, Location or Directory configuration.

    Order deny,allow
    Deny from all
    AuthName " password prompt"
    AuthUserFile /path/to/.htpasswd
    AuthType Basic
    Require valid-user
    Allow from 172.17.10.1
    Satisfy Any

    Easy, isn’t it? Anyway If you have any problem, drop me a comment or a mail. :)

     
    • stefano11 3:47 pm on October 19, 2012 Permalink | Reply

      it works correctly also if you write only:

      Deny from all
      Allow from 172.17.10.1

      Ciao boro! :-)

  • diegor 12:19 pm on September 15, 2012 Permalink | Reply
    Tags: howto   

    HOWTO: linux terminal cheat sheet 

    Without spending too many words, here you go the image to set as background for your desktop :)

    PS: most of them work also in OSX

     
  • diegor 4:05 pm on August 10, 2012 Permalink | Reply
    Tags: howto,   

    HOWTO: Italian gestures 

    Gestures have been always very important in communication. They preceded the spoken language and human beings used gestures to communicate with their fellows.

    I think that gestures are the oldest way of communication. OK, what about gestures today? Are they still used? Short answer: yes. Long answer: yes, but depends on the country and culture.

    As Italian, I like to show you how we use gestures to communicate with other people. Following there are three images with the most popular Italian gestures.

    What do you prefer?

    Which one is ambiguous (that has another meaning in you culture)?

    What’s the funniest?

    What’s an offence (for you)?

    So, now you are aware about Italian gestures and before to plan your trip to Italy, be sure to study Italian gestures! :)

     
  • diegor 10:29 am on August 3, 2012 Permalink | Reply
    Tags: howto   

    HOWTO: RAID 0, RAID 1, RAID 5, RAID 10 

    Check it out in this post.

     
  • diegor 10:12 am on July 18, 2012 Permalink | Reply
    Tags: howto,   

    HOWTO: backup a MYSQL database 

    Backup a database is simple as to dump it. From a Unix shell:

    #> mysqldump --opt -uUSER -pDBPASSWD -hHOSTNAME DBNAME > DUMPED_TEXTFILE

    Ok, now you can dump it following this post. :)

     
  • diegor 5:29 pm on July 17, 2012 Permalink | Reply
    Tags: howto,   

    HOWTO: dump data into MYSQL 

    From a Unix shell:

    #>  -hHOSTNAME -uUSER -pDBPASSWD DBNAME < DUMPED_TEXTFILE

    Simple eh :)

     
c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
shift + esc
cancel

Switch to our mobile site

%d bloggers like this: