Published 15 January 2014
      
        in archive
      
      
        with tags
        
          aws
          , 
        
           ec2
          , 
        
           linux
          
        
      
    
    One problem I have faced with Amazon Web Services EC2 instances is binding to a public IP or hostname. When you get an EC2 instance, you will have access to your local IP, and to your local hostname, but if you want to connect to the instance from an external source, you have to bind to a public interface.
    
      Continue reading …
    
  
  
    
    
      Published 14 January 2014
      
        in archive
      
      
        with tags
        
          javascript
          , 
        
           ajax
          
        
      
    
    Just a snippet today, a reblog, of an article on how to Hijack AJAX Requests Like A Terrorist by Daniel Huckstep.
    
      Continue reading …
    
  
  
    
    
      Published 9 January 2014
      
        in archive
      
      
        with tags
        
          git
          
        
      
    
    You  have a file which you now want to ignore, such as a compiled css file, but git is already tracking it. 
    
      Continue reading …
    
  
  
    
    
      Published 2 January 2014
      
        in archive
      
      
        with tags
        
          javascript
          
        
      
    
    Something I learnt just now is that JavaScript is funny about arrays. Unless you're using numerical indexes, your array elements will actually become properties of the underlying object. It sucks, but it also kind of makes sense. 
    
      Continue reading …
    
  
  
    
    
      Published 19 December 2013
      
        in archive
      
      
        with tags
        
          css
          
        
      
    
    A trend which, while it has been around for a while, seems to be showing up more and more these days is circular images. These are quite easy to do using border-radius, and below you can see how. You can either use a background-image in CSS, or add the border-radius to an img tag, which I prefer.
    
      Continue reading …