Error
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.

user

CuteClips 3.1
Friday, 07 May 2010 07:00
About CuteClips
The new major release of this simple clipboard history. It is the perfect comanion for Mac OS X’s native clipboard. It integrates perfect with the look of Mac OS X and completely stays out of the users way. CuteClips sits in the background and continuously records changes to the clipboard in order to provide access to them when the user needs it.

CuteClips 3 is a complete rewrite, which we used to focus on what’s most important: simplicity. The simple but highly efficient user interface allows the user to quickly find the clip that he/she is looking for. This is achieved providing a textual list of all clips for a perfect overview in addition to a huge preview for a detailed view of a clip.

To activate CuteClips 3 the user can either use the the menu item or the HotKey, which defaults to Command/Shift-V, the shortcut for pasting but with a pressed shift key. CuteClips can either be controlled by mouse, but also via keyboard, which makes it useful also for seasoned users who prefer speed and efficient usability. Many more features.

Read more: http://www.apple.com/downloads/macosx/productivity_tools/cuteclips.html

 
S-Rscript: Implementing a basic session service
Sunday, 25 April 2010 21:54
The following example is a possible alternative to the Rack::Session.

def new_session(user_id)
Thread.new{Thread.current[:name] = user_id; puts 'hi'; sleep 40; puts 'beep'}
end

def renew_session(user_id)
Thread.list.detect {|x| x[:name] == user_id}.kill
new_session(user_id)
end

# initialise a memory store for user g234
# ...
# then start the timer
new_session('g234')

# initialise a memory store for user g238
# ...
# then start the timer
new_session('g238')

# ... 30 seconds later the user g234 makes another request which means
# we need to keep this session alive
renew_session('g234')

# user has already disconnected which means their session will
# automatically timeout and their memory store will erased.


Note: The 'puts "beep"' would be replaced by the storage clean-up code.

Read more: http://feeds.dzone.com/~r/dzone/snippets/~3/FH4i7F6sAuk/11151

 
Transform a Dynarex file to a dynarex-chart file using xsltproc
Tuesday, 30 March 2010 21:06
In this example we want to transform a dynarex file to a dynarex-chart using the following mappings:


* user <= row
* title <= twitter_name
* value <= price


file: users.xml



aaaabbbccccddddeee



aaaaaa
50


bbbbb
55


cccccc
30


dddddd
70


eeeeeee
80


fffffff
65





file: dynarex-chart.xsl















































xsltproc --stringparam row "user" --stringparam title "twitter_name" --stringparam value "price" dynarex-chart.xsl users.xml


output:



</summary> <br /> <records> <br /> <row><title>Page-2 | user | tag50
Page-2 | user | tag55
Page-2 | user | tag30
Page-2 | user | tag70
Page-2 | user | tag80
Page-2 | user | tag65


Read more: http://feeds.dzone.com/~r/dzone/snippets/~3/F9d6p5HHzNE/10811

 
S-Rscript: Detecting an admin user
Tuesday, 16 March 2010 18:20
The following script demonatrates how to check for an admin user in S-Rscript.

First of all we need to register the admin user:
file: james.reg

[user/james]
"name"="james"
"group"="admin"
"from"="192.168.1."


Then we execute the script to test the user privilege level:
rsf file: r job: p225







file: hub.rb (extract)

def admin?
raw_caller_ip = request.env['HTTP_X_FORWARDED_FOR']
caller_ip = raw_caller_ip.split(',')[0]
addresses = run_projectx('registry', 'get-keys', :path => 'user/*[group="admin"]/from/text()')
r = addresses.detect do |address|
caller_ip[/#{Regexp.escape(address.to_s)}/]
end
r ? true : false
end



Tested observed
------ --------
http://rscript.rorbuilder.info/do/r/p225 admin
http://mowser.com/web/http%3A%2F%2Frscript.rorbuilder.info%2Fdo%2Fr%2Fp225 guest

Read more: http://feeds.dzone.com/~r/dzone/snippets/~3/2g2pA2uqNqM/10551

 
Configuring Active Directory Or LDAP Authentication And Defining User Or Group Based Access With SafeSquid
Tuesday, 26 January 2010 08:57

Configuring Active Directory Or LDAP Authentication And Defining User Or Group Based Access With SafeSquid

This tutorial explains how you can integrate an Active Directory or LDAP with SafeSquid for user authentication, and create granular user or group based access policies. This tutorial applies to both, Linux and Windows editions.

Read more: http://howtoforge.com/configuring-active-directory-or-ldap-authentication-and-defining-user-or-group-based-access-with-safesquid

 
2
Next
End


Page 2 of 2
Taxonomy by Zaragoza Online