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
<DT><H3 FOLDED>iPhones</H3> | |
<DL><p> | |
<DT><A HREF="javascript:open(location,'iPhone:portrait','innerWidth='+(640+15)+',innerHeight='+(1136+15)+',scrollbars=yes');">iPhone 5 - Portrait</A> | |
<DT><A HREF="javascript:open(location,'iPhone:landscape','innerWidth='+(1136+15)+',innerHeight='+(640+15)+',scrollbars=yes');">iPhone 5 - Landscape</A> | |
<DT><A HREF="javascript:open(location,'iPhone:portrait','innerWidth='+(640+15)+',innerHeight='+(960+15)+',scrollbars=yes');">iPhone 4 - Portrait</A> | |
<DT><A HREF="javascript:open(location,'iPhone:landscape','innerWidth='+(960+15)+',innerHeight='+(640+15)+',scrollbars=yes');">iPhone 4 - Landscape</A> | |
<DT><A HREF="javascript:open(location,'iPhone:portrait','innerWidth='+(320+15)+',innerHeight='+(480+15)+',scrollbars=yes');">iPhone 3 - Portrait</A> | |
<DT><A HREF="javascript:open(location,'iPhone:landscape','innerWidth='+(480+15)+',innerHeight='+(320+15)+',scrollbars=yes');">iPhone 3 - Landscape</A> | |
<DT><A HREF="http://www.iphoneresolution.com/">What's the iPhone Screen Resolut |
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
ActionMailer::Base.mail(to: "your_email@provider.com", from: "from@provider.com", subject: "Test", body: "Test", ).deliver! |
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
LC_ALL=C find . -type f -exec sed -i '' 's/search/replace/g' {} + |
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 | |
relid::regclass AS table, | |
indexrelid::regclass AS index, | |
pg_size_pretty(pg_relation_size(indexrelid::regclass)) AS index_size, | |
idx_tup_read, | |
idx_tup_fetch, | |
idx_scan | |
FROM | |
pg_stat_user_indexes | |
JOIN pg_index USING (indexrelid) |
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
loop do | |
begin | |
sleep 1 | |
rescue Exception => e | |
puts "I'm STRONGER. Give up!" | |
end | |
end | |
# Run and try CTRL+C |
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
Host my-webserver | |
HostName ec2-##-###-##-##.location-east-1.compute.amazonaws.com | |
User ec2-user | |
IdentityFile /path_to/private_key.pem |
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 initializer creates a local proxy server that makes the local web server accessible | |
# via a public host generated by ProxyLocal service - http://www.proxylocal.com | |
Rails.application.config.after_initialize do | |
server_running = defined?(WEBrick) || defined?(Rails::Server) || defined?(PhusionPassenger) ? true : false | |
next unless Rails.env.development? && server_running | |
Thread.new do | |
ProxyLocal::Client.run({ | |
server_host: 'proxylocal.com', |
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
ack -l identifier | xargs -L1 sed -i '' "s/identifier/code/g" |
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDBmH6hVyGPPyQ4E7YtrBPWfhGlvNQs1lzBsQRi4L1U2VoaH+/jO4YipCT7vEFh6TH9RUsobQTjrTHhDdRqXDj3s1c9ZEV5OE6rE4PYEIYFcZFZJz0NZfvHMicKePJ0rrgjRVpCyaoxSdYHikQxcyLfFvyvv/cf6UYc9NvC6nUYqXcnmauEsduYVL7KGX6ba49cIbXfi+zkBverdlWaDV3yADFlaM0PGzVsEZglAiLFNg3nsNP61vVXB9UlxnQfl6s/bVfs+LlHWi2QjHZwMjE5HEyX8xhmPAtnczfwpKV8zxWmF+dhYQJwkffWeYPGvXd+tV5oIc2vwJPaJ57KoXUb sales@desktop |
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
Jenkins retest this please |
OlderNewer