Updates from April, 2013 Toggle Comment Threads | Keyboard Shortcuts

  • Mads Madsen 23:08 on April 30, 2013 Permalink | Reply
    Tags: nginx, rewrite, TYPO3 Flow   

    TYPO3 Flow nginx rewrite rules. 

    Tested on nginx 1.4 and nginx 1.2.

  • Mads Madsen 21:46 on April 27, 2013 Permalink | Reply
    Tags: , Hyper-V, , Port forwarding,   

    Port forwarding in Windows 8 

    One of the drawbacks of Hyper-V on Windows 8 Pro, is that lack of NAT. Luckily Windows 8’s networking supports port proxies in netsh.

    Source: http://technet.microsoft.com/en-us/library/cc776297(v=ws.10).aspx

  • Mads Madsen 22:51 on April 17, 2013 Permalink | Reply
    Tags: , , , , udev   

    Fixing eth numbering 

    While moving virtual machines around, it will usually mean a change on MAC addresses on the networking interfaces, which will create new eth nodes on the machine.
    Reasons for the renaming of eth nodes on the machine, is due to the persistent mapping on Linux systems using udev.
    Fixing this is done by removing the entities in the /etc/udev/rules.d/70-persistent-net.rules and reboot the machine.

  • Mads Madsen 01:20 on April 16, 2013 Permalink | Reply
    Tags: , , WoL   

    Simple WoL script 

    Simple wake-on-lan script, to wake up a WoL enabled computer when it receives a connection. This script is currently running on an old router.

    It requires the wol command.

  • Mads Madsen 00:56 on April 16, 2013 Permalink | Reply
    Tags: Multicast, Namespaces, , , Sockets, Threading   

    WIP: “Simulated” auto scaling with PHP 

    Source: AutoScale on BitBucket

    General idea:
    Use a locale memcached database to keep an eye on load for the current server, using data from processes using resources on the node. (Eg. not connection time to database server, only pure processing power used on current node).

    Edit config.php.
    execute agent.php


    • Allow possibility to change testing to “loadavg”, as a source for determine load.
  • Mads Madsen 00:42 on April 16, 2013 Permalink | Reply
    Tags: JavaScript, Terminal, WIP   

    WIP: Terminal emulator written in JavaScript 


  • Mads Madsen 00:36 on April 16, 2013 Permalink | Reply
    Tags: Class, Mumble, ,   

    Mumble Class 

  • Mads Madsen 08:33 on April 15, 2013 Permalink | Reply
    Tags: , command line, DNS, , , powershell, static ip,   

    Controlling Windows networking from command line 

    Listing all interfaces (IPv4):

    Setting a static IP adresse:

    Setting to DHCP:

    Add additional IP adresses:

    Add DNS servers:

  • Mads Madsen 15:22 on April 13, 2013 Permalink | Reply
    Tags: Context Menu, Sublime Text 2,   

    Sublime Text 2, Windows context menu, Folder as Project 

    Download: sublime-text-2-context-menus.reg

Compose new post
Next post/Next comment
Previous post/Previous comment
Show/Hide comments
Go to top
Go to login
Show/Hide help
shift + esc