This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
terraform { | |
required_providers { | |
okta = { | |
source = "okta/okta" | |
} | |
} | |
} | |
locals { | |
users = csvdecode(file("./users.csv")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Gemfile.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Paperclip | |
class Watermark < Processor | |
## | |
# A Paperclip::Processor for watermarking images with imagemagick's | |
# composite command. | |
# | |
# Place this code in lib/paperclip_processors/watermark.rb or into a Rails initializer. | |
# | |
# Example: All orginal files are resized to be at most 480 pixels in |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// this is in the process of being rewritten and optimized | |
/** | |
* Copyright (c) 2011 Nick Kwiatek <http://nkwiatek.com> | |
* | |
* Permission is hereby granted, free of charge, to any person | |
* obtaining a copy of this software and associated documentation | |
* files (the "Software"), to deal in the Software without | |
* restriction, including without limitation the rights to use, | |
* copy, modify, merge, publish, distribute, sublicense, and/or sell | |
* copies of the Software, and to permit persons to whom the |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'http://rubygems.org' | |
gem 'tumblr_client' | |
gem 'oauth' | |
gem 'sinatra' | |
gem 'json' | |
gem 'twitter' | |
gem 'capgun' | |
gem 'activesupport' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
App.DelayedTextField = Ember.TextField.extend({ | |
// FIXME | |
// double check that init in Ember.TextSupport / Ember.TextSupport | |
// isn't handling this.on("paste"...) and the internal variable is still | |
// this._elementValueDidChange | |
init: function() { | |
this.on("propertychange", this, this._elementValueDidChange); | |
this.on("keyup", this, this._elementValueDidChange); | |
this.on("input", this, this._elementValueDidChange); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% irb | |
irb(main):001:0> IRB.conf | |
=> CONF[:AP_NAME]="irb" | |
CONF[:AT_EXIT]=[] | |
CONF[:AUTO_INDENT]=false | |
CONF[:BACK_TRACE_LIMIT]=16 | |
CONF[:CONTEXT_MODE]=3 | |
CONF[:DEBUG_LEVEL]=1 | |
CONF[:ECHO]=nil | |
CONF[:EVAL_HISTORY]=nil |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
"hello", | |
"world", | |
"teapot", | |
"hello", | |
"world", | |
"teapot", | |
"hello", | |
"world", | |
"teapot", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Description | |
# Grab web screens/thumbs of URLs using the capgun.io service | |
# | |
# Requires a CapGun API token to be set in the env var HUBOT_CAPGUN_TOKEN | |
# | |
# Dependencies: | |
# none | |
# | |
# Configuration: | |
# HUBOT_CAPGUN_TOKEN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# for Rails place in config/initializers/honeybadger_resque.rb | |
%w( resque honeybadger ).each do |gem| | |
begin | |
require gem | |
rescue LoadError | |
raise "Can't find '#{gem}' gem. Please add it to your Gemfile or install it." | |
end | |
end |
NewerOlder