I hereby claim:
- I am elobato on github.
- I am elobato (https://keybase.io/elobato) on keybase.
- I have a public key whose fingerprint is 8A87 6381 BE8E 4B07 C357 5475 7A92 D6DD 38D6 DE30
To claim this, I am signing this object:
on config/initializers/session_store.rb | |
require 'action_dispatch/middleware/session/dalli_store' | |
Rails.application.config.session_store :dalli_store, :memcache_server => ['host1', 'host2'], :namespace => 'sessions', :key => '_foundation_session', :expire_after => 20.minutes |
{ | |
"id": 1, | |
"login": "admin", | |
"firstname": "Admin", | |
"lastname": "User", | |
"mail": "admin@admin.ch", | |
"admin": true, | |
"auth_source_id": 1, | |
"auth_source_name": "Internal", | |
"last_login_on": "2013-11-15T12:14:24Z", |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# Delay before starting | |
DELAY=10 | |
# Sound notification to let one know when recording is about to start (and ends) | |
beep() { | |
paplay /usr/share/sounds/KDE-Im-Irc-Event.ogg & | |
} |
Usergroup.all.each do |usergroup| | |
external = ExternalUsergroup.new(:auth_source_id => AuthSource.find_by_name('CERN').id, | |
:name => usergroup.name, | |
:usergroup_id => usergroup.id) | |
if external.save | |
puts "Usergroup #{usergroup.name} associated with external usergroup #{external.name}" | |
else | |
puts "Usergroup #{usergroup.name} could not be associated with external usergroup #{external.name}" | |
puts " -- #{external.errors}" | |
end |
<html> | |
<script type="text/javascript" src="jquery-1.7.2.js"></script> | |
<script language="javascript"> | |
function foremanLogout(){ | |
$.post("http://localhost:3000/users/logout", { } ); | |
} | |
</script> | |
<body> | |
<img src='http://localhost:3000/users/logout?method=post'/> <!-- log out without user clicking --> | |
<a href="javascript:foremanLogout()">Spoof logout link via js</a> |
def handle_unverified_request | |
raise(ActionController::InvalidAuthenticityToken) | |
end |
HOWTO Maintain 1.6-stable | |
Check all redmine issues daily | |
- If it can be a blocker, mark it. | |
- On merge, decide in which release something will land in. | |
Cherry-pick at least two days after it's merged to develop, to see if tests are green and immediate issues. | |
Make sure no i18n strings have been changed for minor releases - those are moved to the next major release. (unless security bugs) | |
- Example: https://github.com/theforeman/foreman/commit/1d939ec0c3f985e3f8827efe49fc3a0941b05381 |
Foreman (find help on IRC: #theforeman-dev on Freenode, http://github.com/theforeman/foreman) | |
- Standardize api/v2/hosts/power response across all compute resources. This requires learning what are the response codes for Openstack, EC2, VMware, etc.. and homogenize it to a standard response. More info in the PR discussion. | |
- Force Chef runs through Foreman UI. Possibly expand the Smart-proxy for this. | |
- Add location to discovery plugin. Discover hosts by MAC and use some software to get the location before retrieving facts | |
- Refactor app/observers and app/validators. They should either go away or move more logic into them. In particular my opinion is app/validators could get more custom validators and app/observers should go away. | |
- DigitalOcean Compute Resource plugin - discussion here | |
- Improve interactions like Kyle suggested. Basically move away from the "+ interface" -> child menu pattern (everywhere), and load by AJAX a whole new menu that creates a new object and saves it without leaving the current ed |
daniel::localhost { ~ }-> sudo time docker search centos | |
NAME DESCRIPTION STARS OFFICIAL AUTOMATED | |
centos The official build of CentOS. 514 [OK] | |
tianon/centos CentOS 5 and 6, created using rinse instea... 28 | |
.............. tons. | |
0.06user 0.04system 0:26.32elapsed 0%CPU (0avgtext+0avgdata 13828maxresident) | |
0inputs+0outputs (0major+1414minor)pagefaults 0swaps | |
daniel::localhost { ~ }-> sudo time docker search -s 500 centos | |
NAME DESCRIPTION STARS OFFICIAL AUTOMATED |