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
wget https://github.com/bitcoin/bitcoin/commit/018ec85ff7ab422846f1d8b0bfb27a8d6c70eada.patch && mv 018ec85ff7ab422846f1d8b0bfb27a8d6c70eada.patch macdockiconhandler.patch && patch src/qt/macdockiconhandler.h < macdockiconhandler.patch |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant::Config.run do |config| | |
config.vm.box = 'precise64' | |
config.vm.host_name = 'canvas-dev' | |
config.vm.customize [ | |
"modifyvm", :id, | |
"--memory", 4096, |
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
wget -O init-deb.sh http://library.linode.com/assets/1139-init-deb.sh | |
mv init-deb.sh /etc/init.d/nginx | |
chmod +x /etc/init.d/nginx | |
/usr/sbin/update-rc.d -f nginx defaults | |
sudo service nginx start or sudo /etc/init.d/nginx start | |
sudo service nginx restart or sudo /etc/init.d/nginx restart | |
sudo service nginx reload or sudo /etc/init.d/nginx reload | |
sudo service nginx stop or sudo /etc/init.d/nginx stop |
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
cat ~/.ssh/id_rsa.pub | ssh user@server_name "cat >> ~/.ssh/authorized_keys" |
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
virsh qemu-monitor-command --hmp Stoma 'hostfwd_add ::2222-:22' |
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
virt-install --name centos-server1 --ram 512 --vcpus=1 --check-cpu --os-type=linux -c /home/luxurioust/CentOS-6.4-x86_64-LiveCD.iso --disk path=/opt/centos.img,device=disk,bus=ide,format=qcow2 --bridge=br0 --vnc --vncport=5901 --vnclisten=0.0.0.0 |
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
330 openssl x509 -noout -nomodule -in ssl.globalsign.com.crt | |
331 openssl rsa -noout -nomodule -in ssl.globalsign.com.crt | |
332 openssl x509 -noout -nomodulus -in ssl.globalsign.com.crt | |
333 openssl x509 -noout -modulus -in ssl.globalsign.com.crt | |
334 openssl x509 -noout -modulus -in ssl.globalsign.com.crt -dates | |
339 openssl x509 -noout -modulus -in ssl.globalsign.com.crt -dates |
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
def show | |
@assignment = @context.assignments.active.find(params[:assignment_id]) | |
if @context_enrollment && @context_enrollment.is_a?(ObserverEnrollment) && @context_enrollment.associated_user_id | |
id = @context_enrollment.associated_user_id | |
else | |
id = @current_user.try(:id) | |
end | |
@user = @context.all_students.find(params[:id]) rescue nil | |
if !@user | |
flash[:error] = t('errors.student_not_enrolled', "The specified user is not a student in this course") |
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
rvmsudo passenger start -a 0.0.0.0 -p 80 --max-pool-size 1 --spawn-method conservative -e development --user=canvas |
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
Delayed::Job.delete_all |
OlderNewer