VirtualTam's bookmarks

  1. Useful when you don't want to pull the LibreOffice suite:

    $ unzip -qc "$1" ppt/slides/slide*.xml | grep -oP '(?<=&lt;a:t&gt;).*?(?=&lt;/a:t&gt;)'

  2. Audacity themes 2016-08-30

    To enable theming, append the following section to ~/.audacity-data/audacity.cfg

    [Theme] LoadAtStart=1

    This will load any theme resource located under ~/.audacity-data/Theme/ImageCache.png

    Some themes:

  3. Ed, man! !man ed 2016-08-18

    ED(1) Unix Programmer's Manual ED(1)

    NAME ed - text editor

    SYNOPSIS ed [ - ] [ -x ] [ name ] DESCRIPTION Ed is the standard text editor.

    1. Understand user needs
    2. Do ongoing user research
    3. Have a multidisciplinary team
    4. Use agile methods
    5. Iterate and improve frequently
    6. Evaluate tools and systems
    7. Understand security and privacy issues
    8. Make all new source code open
    9. Use open standards and common platforms
    10. Test the end-to-end service
    11. Make a plan for being offline
    12. Make sure users succeed first time
    13. Make the user experience consistent with GOV.UK
    14. Encourage everyone to use the digital service
    15. Collect performance data
    16. Identify performance indicators
    17. Report performance data on the Performance Platform
    18. Test with the minister
  4. item = Jenkins.instance.getItemByFullName(&quot;your-job-name-here&quot;)
    
    // THIS WILL REMOVE ALL BUILD HISTORY
    item.builds.each() { build -&gt;
      build.delete()
    }
    item.updateNextBuildNumber(1)
    
  5. Literate DevOps 2016-03-29

    """ Instead of opening up a terminal to my virtual machine, I pop into Emacs and load this sprint’s /note file/1, create a new header, and enter the shell and ruby commands in this text file.

    What good is this? Unlike a traditional terminal, this allows me to log, document and execute each command.

    As an old bear with very little brains, my prose can explain the background and purpose of each command. Clicking the hyperlink refreshes my memory of previous discoveries. A keychord executes the code block… """

  6. (1) If it should exist, it doesn't. (2) If it does exist, it's out of date. (3) Only documentation for useless programs transcends the first two laws.

  7. Context: replace spaces by dashes in a script-generated HTML file's links

    1awk -F\' 'm = /a href/ { gsub(/ /,'-',$2); print$1'\''$2'\''$3} !m {print $0}'
    
  8. Pro: no need to setup a DNS server to test virtualhosts Con: keep in mind that all "fake" hosts will point to 127.0.0.1!

    1. Use /etc/hosts to declare test hosts / domains / subdomains
    #&lt;ip-address&gt;	&lt;hostname.domain.org&gt;	&lt;hostname&gt;
    127.0.0.1	localhost.localdomain	localhost
    127.0.0.1	host.localdomain	host
    127.0.0.1	sub.host.localdomain	sub.host
    ::1		localhost.localdomain	localhost
    
    1. Allow per-user virtualhost definition in either (depending on your distro)
    • /etc/httpd/conf/httpd.conf
    • /etc/apache2/apache2.conf

    Include /home/albert/.httpd/*.conf

    1. Profit! Create virtualhosts with local hostnames :)
  9. Unboxing Minitel 1 2015-05-26

    Trve Minitel 1.0 build #3615