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
Header set X-Robots-Tag "noindex, nofollow" |
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
perl -pi -e 's/:([\w\d_]+)(\s*)=>/\1:/g' **/*.rb |
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
curl https://raw.github.com/gist/3342482/57d1f618104185aa89044f934c4f86cb74e11553/rbenv-openshift.sh | bash |
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 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
()~() | |
(-___-) | |
==`-'== | |
< Arch Linux > |
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
:~# dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync | |
16384+0 records in | |
16384+0 records out | |
1073741824 bytes (1.1 GB) copied, 13.7857 s, 77.9 MB/s | |
:~# wget -O /dev/null http://cachefly.cachefly.net/100mb.test | |
--2012-09-18 13:09:12-- http://cachefly.cachefly.net/100mb.test | |
Resolving cachefly.cachefly.net (cachefly.cachefly.net)... 205.234.175.175 | |
Connecting to cachefly.cachefly.net (cachefly.cachefly.net)|205.234.175.175|:80... connected. | |
HTTP request sent, awaiting response... 200 OK |
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
systemctl enable xinit.service |
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
diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb | |
index e69156d..6b328d3 100644 | |
--- a/config/initializers/devise.rb | |
+++ b/config/initializers/devise.rb | |
@@ -56,6 +56,7 @@ Devise.setup do |config| | |
# If http headers should be returned for AJAX requests. True by default. | |
# config.http_authenticatable_on_xhr = true | |
+ config.http_authenticatable_on_xhr = false | |
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
require 'redcarpet' | |
desired_result = "<p>This is should be <strong>strong</strong> and <em>italics</em>!</p>\n" | |
markdown = Redcarpet::Markdown.new(Redcarpet::Render::HTML) | |
result = markdown.render("This is should be **strong** and *italics*!") | |
puts "Desired Result : #{desired_result}" | |
puts "Actual Result : #{result}" |
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
#!/usr/bin/env python | |
from sixpack import __version__ | |
try: | |
from setuptools import setup | |
except ImportError: | |
from distutils.core import setup | |
setup( |
OlderNewer