I hereby claim:
- I am jefflarkin on github.
- I am jefflarkin (https://keybase.io/jefflarkin) on keybase.
- I have a public key whose fingerprint is 13D8 BCCC 1A50 57D3 FB4F E33A 950C 167F 0C1A 041D
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
| "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| <html> | |
| <head> | |
| <style type="text/css"> | |
| #sortable ul { | |
| list-style: none; | |
| display: inline; | |
| padding: 0; | |
| margin-left: 0; |
| http://chart.apis.google.com/chart?cht=lc&chs=400x250&chd=t:24.4,28.1,25.6,24.3|26,26&chds=23.0,30.0&chco=ff0000,0000ff&chxt=y&chxr=0,23,30&chdl=Economy|Average&chf=bg,lg,90,888888,0.5,dddddd,0&chxs=0,ffffff&chma=25,25,25,25 |
| # Sanitizing/Escaping HTML in the view is inefficient because it | |
| # happens every time the view is rendered. This module forces | |
| # text and string fields to be sanitized every time they are | |
| # modified and saved to the database. | |
| module Sanitizer | |
| def sanitize_fields | |
| columns = self.class.columns_hash | |
| changes.each do |key,value| | |
| if columns[key].type == :text | |
| Sanitize.clean! value[1], Sanitize::Config::TEXTAREA |
| $ make foo | |
| ... | |
| $ ^foo^bar | |
| make bar |
| <?xml version="1.0" encoding="UTF-8" ?> | |
| - <apiresponse> | |
| - <character name="Mathrid" world="Crickhollow" monster="0" race="Race of Man" race_id="23" class="Champion" class_id="172" level="30" origin="Dale" origin_id="16"> | |
| - <vocation name="Woodsman" vocation_id="1879062814"> | |
| - <professions> | |
| <profession name="Woodworker" profession_id="1879055941" proficiency="2" mastery="1" icon_profession="http://lorebook.lotro.com/icon.php?type=profession&id=1879055941" /> | |
| <profession name="Farmer" profession_id="1879062816" proficiency="0" mastery="0" icon_profession="http://lorebook.lotro.com/icon.php?type=profession&id=1879062816" /> | |
| <profession name="Forester" profession_id="1879062817" proficiency="2" mastery="2" icon_profession="http://lorebook.lotro.com/icon.php?type=profession&id=1879062817" /> | |
| </professions> | |
| </vocation> |
| module dtmod | |
| implicit none | |
| private | |
| integer, public, parameter :: N = 64 | |
| type, public :: mytype | |
| sequence | |
| real(8) :: a(N,N) | |
| real(8) :: b(N,N) | |
| end type mytype | |
| end module |
| #!/bin/bash | |
| # USAGE: Add between aprun options and executable | |
| # For Example: aprun -n 16 -N 1 ./foo arg1 arg2 | |
| # Becomes: aprun -n 16 -N 1 ./profile.sh ./foo arg1 arg2 | |
| # Enable command-line profiler | |
| export COMPUTE_PROFILE=1 | |
| # Set output to CSV (optional) | |
| export COMPUTE_PROFILE_CSV=1 |