Skip to content

Instantly share code, notes, and snippets.

Avatar
👨‍💻

Raphael DDL Oliveira RaphaelDDL

👨‍💻
View GitHub Profile
@RaphaelDDL
RaphaelDDL / install.md
Created Feb 4, 2020 — forked from floehopper/install.md
Installing OSX Catalina from scratch
View install.md

List & install software updates

softwareupdate --list
sudo softwareupdate --verbose --install --all

Set computer name

COMPUTER_NAME="<computer-name>"
sudo scutil --set ComputerName $COMPUTER_NAME
@RaphaelDDL
RaphaelDDL / Preferences.sublime-settings
Last active Aug 29, 2015
RaphaelDDL's Preferences.sublime-settings
View Preferences.sublime-settings
{
"atomic_save": false,
"auto_complete_commit_on_tab": false,
"auto_complete_with_fields": true,
"bold_folder_labels": false,
"caret_extra_width": 1,
"color_scheme": "Packages/Theme - Flatland/Flatland Monokai.tmTheme",
"default_line_ending": "unix",
"detect_indentation": false,
"detect_slow_plugins": false,
@RaphaelDDL
RaphaelDDL / Default (OSX).sublime-keymap
Last active Aug 29, 2015
RaphaelDDL's Default (OSX).sublime-keymap
View Default (OSX).sublime-keymap
[{
"keys": ["f12"],
"command": "reindent"
}, {
"keys": ["f10"],
"command": "js_format",
"context": [{
"key": "selector",
"operator": "equal",
"operand": "source.js,source.json"
View gist:7249129
// selectorSupported lovingly lifted from the mad italian genius, diego perini
// http://javascript.nwbox.com/CSSSupport/
function selectorSupported(selector){
var support, link, sheet, doc = document,
root = doc.documentElement,
head = root.getElementsByTagName('head')[0],
impl = doc.implementation || {
View key-bindings.json
[
{
"keys": ["ctrl+w"],
"command": "run_multiple",
"args": {
"commands": [
{"command": "find_under_expand", "args": null, "context": "window"},
{"command": "show_panel", "args": {"panel": "find"}, "context": "window"}
]
}
View gist:5620685
// selectorSupported lovingly lifted from the mad italian genius, diego perini
// http://javascript.nwbox.com/CSSSupport/
function selectorSupported(selector){
var support, link, sheet, doc = document,
root = doc.documentElement,
head = root.getElementsByTagName('head')[0],
impl = doc.implementation || {