Skip to content
Permalink
Browse files

Small fixes

  • Loading branch information...
Kapeli committed Sep 29, 2019
1 parent 0baea45 commit c5e54ad83fd37d089a066300ca90b3497c139713
Showing with 13 additions and 8 deletions.
  1. +2 −2 cheatsheets/Scrivener.rb
  2. +11 −6 cheatsheets/openssl.rb
@@ -143,12 +143,12 @@
category do
id 'Structuring Text'
entry do
command 'CMD+CTRL+RightArrow'
command 'CMD+CTRL+Arrow Right'
name 'Group text'
notes 'Make selected text(s) children of text or folder above.'
end
entry do
command 'CMD+CTRL+LeftArrow'
command 'CMD+CTRL+Arrow Left'
name 'Ungroup text'
notes 'Bring selected text(s) on same hierarchy level as their current parent.'
end
@@ -165,9 +165,9 @@
end

category do
id 'encode / decode'
id 'Encode or Decode'
entry do
name 'to encode to base64'
name 'Encode to base64'
notes '
```
openssl enc -base64 <<< "Hello, World!"
@@ -177,27 +177,32 @@
end

entry do
name 'to decode from base64'
name 'Decode from base64'
notes '
```
openssl enc -base64 -d <<< SGVsbG8sIFdvcmxkIQo=
openssl base64 -d -in <infile> -out <outfile>
```
'
end
end

category do
id 'Utilities'


entry do
name 'to generate rand'
name 'Generate random'
notes '
```
openssl rand -base 10
openssl rand -base64 10
openssl rand -hex 10
```
'
end

entry do
name 'to get a list of available ciphers'
name 'Get a list of available ciphers'
notes '
```
openssl list-cipher-algorithms

0 comments on commit c5e54ad

Please sign in to comment.
You can’t perform that action at this time.