Skip to content

Instantly share code, notes, and snippets.

View travisdmathis's full-sized avatar
🏠
Working from home

Travis Mathis travisdmathis

🏠
Working from home
View GitHub Profile
template "/tmp/registration.rb" do
source "host_registration.erb"
owner "root"
group "root"
mode "755"
end
script "configure_host" do
interpreter "bash"
user "root"
execute "configure_host" do
cwd "/tmp"
command "./registration.rb"
action :run
end
<!-- row 2 -->
59 <div class="row">
60 <div class="span5">
61 <div class="widget">
62 <div class="widget-header">
63 <i class="icon-book large"></i>
64 <h3>Blog</h3>
65 </div> <!-- widget-header -->
66 <div class="widget-content">
67 <div class="feed">
ip = JSON.parse('client_ip_data')
IP_ADDRESS = ip['client_ip']
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>The First Cloud Based Database for Hold'em Manager &amp; Poker Tracker - CloudPokerDB</title>
<meta content="authenticity_token" name="csrf-param" />
<meta content="B4OB/aUXeX8cN/sVP6cHgoilwnpTRFCkh/mr6otOgOA=" name="csrf-token" />
<script src="https://js.stripe.com/v1/" type="text/javascript"></script>
100 <% end %>
101 </div> <!-- row -->
102 </div> <!-- container -->
103 </div> <!-- /main-inner -->
104 </div> <!-- /main -->
105
cgminer version 2.8.7 - Started: [2012-11-02 01:39:44]
--------------------------------------------------------------------------------
(5s):319.2K (avg):309.1Kh/s | Q:10 A:0 R:0 HW:0 E:0% U:0.0/m
TQ: 0 ST: 3 SS: 0 DW: 1 NB: 1 LW: 0 GF: 0 RF: 0 WU: 0.0
Connected to lc.ozco.in with LP as user bassclef.1
Block: 636637194afbd842ef78f12c... Started: [01:39:44] Best share: 0
--------------------------------------------------------------------------------
[P]ool management [G]PU management [S]ettings [D]isplay options [Q]uit
GPU 0: 307.4K/309.1Kh/s | A:0 R:0 HW:43 U:0.00/m I:18
--------------------------------------------------------------------------------
root@bamt-miner:/opt/miners/cgminer# cat /etc/bamt/bamt.conf
# Big A Miner Thing configuration
# /etc/bamt/bamt.conf
#
# When done editing, restart mining to make changes here take effect
# If you're just setting up BAMT, be sure to edit pools as well.
#
# As of 0.5, many less common options have been removed from this
# default config to make it easier on the noobs.
#
<% @recent_posts.each_with_index do |post| %>
<li class="list-group-item">
<% @title = post.title %>
<%= link_to @title, :action => "show", :id => post.id %>
</li>
<% end %>
@travisdmathis
travisdmathis / categories show.html.erb
Last active December 28, 2015 06:29
Blog, w/ Categories using Categorization
<p id="notice"><%= notice %></p>
<p>
<strong>Name:</strong>
<%= @category.name %>
</p>
<%= link_to 'Edit', edit_category_path(@category) %> |
<%= link_to 'Back', categories_path %>