The personal blog of Steve Alex
Gadsden, Alabama
Everyone knows engineers can’t write! I
is
an
engineeer!
But...
I Wish I Could Write!
Home
About This Site
Articles Categories
All
moneypit
code
thoughts
golf
other
rails
food
vfw
Recent Posts
Rails 8 Basic Auth - Missing Pi
March 20, 2025
test 4 col
March 11, 2025
Just a test
March 08, 2025
Bottom of the Ladder
March 08, 2025
Rail Basic Authorization (after
March 07, 2025
Just one line ```nginx server { server_name bingo.example.com; location / { proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass http://10.0.1.x:8765; } } ``` **indented ruby** ```ruby def markdown_text(text) # puts "MD TEXT #{text}" if text[0..10].include?(".slim") render inline: text, type: :slim # x = MarkupSlim.new(text) # Slim::Template.new{ x.results }.render.html_safe else puts "MD TEXT #{text}" options = { :autolink => true, :space_after_headers => true, :fenced_code_blocks => true, :no_intra_emphasis => true } markdown = Redcarpet::Markdown.new(Redcarpet::Render::HTML, options) # markdown.render(text).html_safe end end ```
test marked
February 24, 2025