I hereby claim:
- I am awoodworth on github.
- I am awoodworth (https://keybase.io/awoodworth) on keybase.
- I have a public key whose fingerprint is 633B 8BD7 4013 2020 0AAA AB79 87DD 8E0D 1FDE 9E41
To claim this, I am signing this object:
class Setting < ActiveRecord::Base | |
validates :name, :value, presence: true | |
validates :name, uniqueness: true | |
after_update :reload_classes | |
#.. | |
private |
# NOTE: you will want to change the three attributes at the top | |
require 'csv' | |
require 'seed-fu' | |
# change these | |
@csv_file = 'export.csv' | |
@output_file = 'class.rb' | |
@class_name = 'Class' | |
@seeds = CSV.read("#{@csv_file}", { headers: true } ) |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# searching for callbacks | |
cd /etc | |
grep -ErHn "10.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)" * >> ~/callbacks.txt |