Skip to content

Instantly share code, notes, and snippets.

@renandf
renandf / reset-safari
Created November 5, 2016 05:47
Fix for Safari CPU consumption (in my case it was consuming over 100% CPU)
// 1) Backup bookmarks:
cp ~/Library/Safari/Bookmarks.plist ~/Desktop/
// 2) Delete some Safari specific files:
rm -rf ~/Library/Caches/com.apple.Safari \
~/Library/Caches/com.apple.Safari.SearchHelper \
~/Library/Caches/Metadata/Safari \
~/Library/Cookies/Cookies.binarycookies \
~/Library/Cookies/Cookies.plist \
~/Library/Preferences/com.apple.Safari.plist \
@renandf
renandf / SketchSystems.spec
Last active August 1, 2018 07:02
Suggestions
Suggestions
Has Suggestions
improve template -> No Suggestions
No Suggestions
worsen template -> Has Suggestions
@renandf
renandf / keyboard-symbols.txt
Created August 29, 2018 23:39
List of keys and their symbols
⎋ Escape
⇥ Tab forward
⇤ Tab back
⇪ Capslock
⇧ Shift
⌃ Control
⌥ Option (Alt, Alternative)
⌘ Command
␣ Space
⏎ Return
@renandf
renandf / SketchSystems.spec
Last active June 21, 2024 01:23
Provisory state*
Provisory state*
requester cancels -> Cancelled
check expires -> Expired
system error -> System error
missing info -> Attention required
Requested*
candidate accesses link -> Received
Received
candidate starts process -> In progress
In progress

Keybase proof

I hereby claim:

  • I am renandf on github.
  • I am renandf (https://keybase.io/renandf) on keybase.
  • I have a public key ASB3u7uMNhlCmZ_QurPNFfmQ5HXDJUpev_P5_1k5XRd6yAo

To claim this, I am signing this object:

function render(model){
let current_state_name = model.active_states[0].name;
return $("h1",
{style: {color: "darkBlue"}},
`The current state is: ${current_state_name}`);
}
@renandf
renandf / SketchSystems.spec
Last active June 21, 2024 00:38
New engagement*
New engagement*
Create engagement -> Draft
Engagement status
Draft
manual trigger -> Launching
Launching
pause -> Lauch paused
manual trigger -> In progress
In progress
function render(model){
let current_state_name = model.active_states[0].name;
return $("h1",
{style: {color: "darkBlue"}},
`The current state is: ${current_state_name}`);
}
@renandf
renandf / SketchSystems.spec
Created June 21, 2024 01:15
Traffic light
Traffic light
power outage -> Power outage
Green*
tick -> Yellow
Yellow
tick -> Red
Red
tick -> Green
Power outage
function render(model){
let current_state_name = model.active_states[0].name;
return $("h1",
{style: {color: "darkBlue"}},
`The current state is: ${current_state_name}`);
}