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/sh | |
while getopts ":a :b" opt; do | |
case $opt in | |
a) | |
cd /System/Library/Frameworks/Ruby.framework/Versions/ | |
sudo rm Current | |
sudo ln -sf /System/Library/Frameworks/Ruby.framework/Versions/1.8 Current | |
sudo rm -rf /usr/bin/ruby | |
sudo ln -sf /System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby /usr/bin/ruby |
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/sh | |
while getopts ":a :b" opt; do | |
case $opt in | |
a) | |
cd /System/Library/Frameworks/Ruby.framework/Versions/ | |
sudo rm Current | |
sudo ln -sf /System/Library/Frameworks/Ruby.framework/Versions/1.8 Current | |
sudo rm -rf /usr/bin/ruby | |
sudo ln -sf /System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby /usr/bin/ruby |
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
/opt/solr-tomcat/tomcat/conf/Catalina/localhost/solr-4.8.1.xml |
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
du -sh ./*/ |
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 'test_helper' | |
class RailsadminFlowsTest < ActionDispatch::IntegrationTest | |
include Warden::Test::Helpers | |
test "login as admin" do | |
login_as_admin | |
get "/admin" | |
assert_response :success |
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
dir = "/var/customers/mail/wimsnel/aan@wimsnel.nl" | |
#p Dir.glob(dir) | |
dirs =Dir.entries(dir).select {|entry| | |
File.directory? File.join(dir,entry) and !(entry =='.' || entry == '..') | |
} | |
dirs.each do |d| | |
p dir + ':' + d | |
#p d | |
sd =Dir.entries(File.join(dir,d)).select {|entry| |
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
options.clearCache.all=1 | |
options.clearCache.pages=1 |
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
plugin.tx_powermail_pi1 { | |
email.sender_mail.sender.email = TEXT | |
email.sender_mail.sender.email.value = no-reply@ravasnews.com | |
email.sender_mail.sender.name = TEXT | |
email.sender_mail.sender.name.value = RAVAS | |
email.recipient_mail.sender.email = TEXT | |
email.recipient_mail.sender.email.value = no-reply@ravasnews.com | |
email.recipient_mail.sender.name = TEXT | |
email.recipient_mail.sender.name.value = RAVAS |
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
page{ | |
meta{ | |
keywords.field = keywords | |
description.field = description | |
copyright = China | |
copyright.override.field = copyright | |
author = Confucius | |
author.override.field = author | |
url = http://domain.com | |
url.override.field = url |
OlderNewer