For homebrew version 0.9.5.
brew -v # => Homebrew 0.9.5
Install the current version of mysql.
# Install current mysql version
brew install mysql
<h1>Hi There :wave:</h1> | |
Today is: <%= Date.current %> |
# DR 5.2 | |
def tick(args) | |
enemies = [ | |
{ | |
name: "Dragon", | |
x: 110, | |
y: 110, | |
h: 25, | |
w: 25 |
# module GTK | |
# class Runtime | |
# def __sdl_tick__ sdl_tick | |
# @sdl_tick = sdl_tick | |
# tick_argv | |
# return if @no_tick | |
# __sdl_tick__simulation__ | |
# rescue Exception => e | |
# @last_tick_exception_global_at = Kernel.global_tick_count | |
# pretty_print_exception_and_export! e |
asdf |
I hereby claim:
To claim this, I am signing this object:
require "net/http" | |
require "uri" | |
require "active_support" | |
require "active_support/hash_with_indifferent_access" | |
event_data = ActiveSupport::JSON.decode(json).deep_symbolize_keys | |
input_uri = event_data[:inputs].first[:uri] | |
filename = input_uri.split("/").last | |
puts "+++++++++++++++++++++++++++++ RUNNING SCRIPT ++++++++++++++++++++++++++++" |
## ADDED. | |
require 'net/http' | |
## What they gave me. | |
# Get the job-related command line arguments. FOR DEMO | |
params = Hash.new | |
if ARGV[0].is_int? | |
jobId = ARGV.shift | |
input = ARGV.shift |
tell application "System Events" | |
set activeApp to name of first process whose frontmost is true | |
end tell | |
if application "Slack" is running and activeApp is not equal to "Slack" then | |
tell application "Notifications Scripting" | |
# set show event handler results to true | |
set event handlers script path to (path to me) | |
display notification "Slack is running" message "Are you waiting on an @mention?" action button "No" other button "Yes" |