![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Pry clipboard utility.
Copy history/result to clipboard.
$ gem install pry-clipboard2
Your ~/.pryrc
begin
require 'pry-clipboard2'
# aliases
Pry.config.commands.alias_command 'ch', 'copy-history'
Pry.config.commands.alias_command 'cr', 'copy-result'
rescue LoadError => e
warn "can't load pry-clipboard"
end
require 'pry-clipboard2'
copy-history --help
copy-result --help
paste --help
pry(main)> def fib(n)
pry(main)* n < 2 ? n : fib(n-1) + fib(n-2)
pry(main)* end
> nil
pry(main)> fib(10)
=> 55
pry(main)> copy-history
-*-*- Copy history to clipboard -*-*-
fib(10)
[5] pry(main)> fib(10)
=> 55
[6] pry(main)> copy-history -l
-*-*- Copy history to clipboard -*-*-
fib(10)
#=> 55
pry(main)> 'hello' * 3
=> "hellohellohello"
pry(main)> copy-result
-*-*- Copy result to clipboard -*-*-
hellohellohello
pry(main)> Clipboard.copy '3 * 5'
=> "3 * 5"
pry(main)> paste
=> 15
pry(main)> history --tail 10
4: fib(10)
5: copy-history
6: copy-history -l
7: fib(10)
8: copy-history -l
9: 'hello' * 3
10: copy-result
11: history --tail 10
12: copy-result --tail 3
13: copy-history --tail 3
pry(main)> copy-history 9
-*-*- Copy history to clipboard -*-*-
'hello' * 3
pry(main)> copy-history -tail 5
-*-*- Copy history to clipboard -*-*-
copy-result
history --tail 10
copy-result --tail 3
copy-history --tail 3
history --tail 10
pry(main)> history --head 10
1: def fib(n)
2: n < 2 ? n : fib(n-1) + fib(n-2)
3: end
4: fib(10)
5: copy-history
6: copy-history -l
7: fib(10)
8: copy-history -l
9: 'hello' * 3
10: copy-result
pry(main)> copy-history --range 1..4
-*-*- Copy history to clipboard -*-*-
def fib(n)
n < 2 ? n : fib(n-1) + fib(n-2)
end
fib(10)
pry(main)> copy-history --grep def
-*-*- Copy history to clipboard -*-*-
def fib(n)
def hello
FAQs
Unknown package
We found that pry-clipboard2 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.