Updates from admin RSS Toggle Comment Threads | Keyboard Shortcuts

  • admin 5:56 pm on October 19, 2010 Permalink | Reply  

    Ruby Imap foo 

    How to tell if a message has been read or not with ruby net/imap

    flags=imap.uid_fetch(uid,'FLAGS')[0].attr["FLAGS"]
    seen=true if flags.include? :Seen || false

    Spent a while looking for that one, and well, I learned the hard way : Stop googling and read the code

     
  • admin 8:12 pm on August 9, 2010 Permalink | Reply  

    Brickd 

    Check out my friend Max’s new blog: Brickd. All sorts of Lego awesomeness.

     
  • admin 9:16 pm on August 3, 2010 Permalink | Reply  

    Fun With Unicode 

    Try this link: http://www.google.com/search?q=%26%238238%3B

    this unicode character flips the direction of the text after it. ‮

    Like so: ‮ this text is now backwards!!!

     
  • admin 5:44 pm on July 29, 2010 Permalink | Reply  

    Openvbx and nginx howto: 

    Well, you just need a few rewrite rules to deal with openvbx on nginx:

    Inside of the server block, add this.

    location / {
    #root /var/www/nginx-default;
    root /www/virtual/vbx.example.com;

    index index.html index.htm index.php;
    if (-f $request_filename) {
    break;
    }

    if (-d $request_filename) {
    break;
    }
    rewrite ^(.*)$ /index.php?vbxsite=$1 last;

    }

    ———–UPDATE————-
    In trying to upgrade to the new hotness 0.84, I ran into two problems.
    1) don’t forget to copy over your /OpenVBX/OpenVBX/config/database.php and /OpenVBX/OpenVBX/config/openvbx.php files from the old directory and into the new hotness directory.

    2)”PHP Fatal error: Call to undefined function get_instance() in /OpenVBX/libraries/MY_Config.php on line 43″

    Apparently, others are also having this problem. The installer wants you to use vbx.example.com/index.php/install but that will cause everything to break too. You should be able to drop the index.php and go directly to vbx.example.com/upgrade all will be well in the world.

     
  • admin 10:01 pm on July 19, 2010 Permalink | Reply  

    A place to mess around 

    Ideally, a bunch of eclectic, funky, potentially useful or useless stuff

     
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
esc
cancel