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
rvm use ruby-1.9.2@redis-pubsub-demo --create |
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 URGENT. Our domains are non-responsive to end-users. | |
After adjusting the DNS for the three domains listed above (bhrsc.com, bhrsc.info, bhrsc.org) I can't seem to get anything to work for these domains. I've created a new DNS account with Namecheap.com and would really love to have them manage DNS. | |
I've tried clicking the "Modify" link under the "Use Other Nameservers" section inside the "Web Settings" tab for all three domains. Even when I fill out the proper name server domains (the IPs fill out properly, etc...) there is no indication that anything has changed. I've tried this UI as well as another one. | |
The bulk edit feature I also tried. I clicked "View my account" next to the main navigation. I checked the proper websites (I tried one, I tried all three, etc...) and I clicked the "Edit DNS" button. I then properly selected the radio buttons, filled in the NameServer column and IP address column and yet ... nothing happens when I click "Submit". | |
Output looks like this: |
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
{ | |
"phases": [ | |
{ | |
"type": "reduce", | |
"assets": ["/wanelo/stor/s3tomanta-logfiles"], | |
"exec": "head -n 10 $MANTA_INPUT_FILE | mpipe" | |
}, | |
{ | |
"type": "map", | |
"exec": "echo 'input object:' $(cat $MANTA_INPUT_FILE)" |
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
#!/bin/bash | |
shut_down_slack() { | |
RELAUNCH_SLACK=0 | |
local process_pattern='[S]lack.app' | |
local process_identifier='Slack' | |
ps -e | grep "$process_pattern" > /dev/null | |
if [ $? -eq 0 ]; then |
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
Error 1: | |
changed WindowMaximize.cpp | |
Also changed something to include QApplication because QApplication does not exist by default. | |
error: incomplete type ‘QApplication’ used in nested name specifier | |
#include <QApplication> | |
Error 2: | |
Changed the WebPage.h page to add |
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 'https://rubygems.org' | |
gem 'fluentd' | |
gem 'fluent-plugin-td' | |
gem 'fluent-plugin-elasticsearch' |
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
recipients = ['james', 'stephanie', 'lauren', 'james k', 'brittany', 'lyrica', 'dad', 'mom'] | |
senders = recipients.dup | |
results = recipients.map do |recipient| | |
sender = senders.sample | |
while(sender == recipient) | |
sender = senders.sample | |
end | |
senders.delete(sender) | |
[recipient, sender] |
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
select substr(query, 0, 250), calls, | |
to_char(total_time/(60*60), '999,999,9999,999') as "Cumulative Time (hrs)", rows, | |
to_char(total_time/calls, '999.999') as per_call_ms | |
from pg_stat_statements | |
order by total_time desc | |
limit 12; |
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
# On image: 08589eda-d64e-11e6-89a3-0b55371be927 # base-64-lts 16.4.0 | |
pkgin -y install ruby-2.3.3 gmake build-essential ; | |
pushd /root | |
gem install bundler --no-ri --no-rdoc | |
gem install omnibus --no-ri --no-rdoc | |
# Until this PR is merged: https://github.com/chef/dep-selector-libgecode/pull/41 |
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
# Change any of these versions | |
gem 'private_repo', git: '[email protected]:hjhart/private_repo.git', branch: :master | |
gem 'private_repo', github: 'hjhart/private_repo' | |
# Into this version | |
gem 'private_repo', git: "https://github.com/hjhart/private_repo" |
OlderNewer