This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(eval-and-compile | |
(customize-set-variable | |
'package-archives '(("org" . "https://orgmode.org/elpa/") | |
("melpa" . "https://melpa.org/packages/") | |
("gnu" . "https://elpa.gnu.org/packages/"))) | |
(package-initialize) | |
(unless (package-installed-p 'use-package) | |
(package-refresh-contents) | |
(package-install 'use-package))) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
.... | |
"scripts": { | |
"run-android": "gnome-terminal -e \"react-native start\" && react-native run-android" | |
}, | |
.... | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
class OutlinedCard extends StatefulWidget { | |
const OutlinedCard({ | |
Key? key, | |
required this.child, | |
}) : super(key: key); | |
final Widget child; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew services start d12frosted/emacs-plus/emacs-plus@28 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
part of 'url_cubit.dart'; | |
enum ErrorType { defaultError, urlAlreadyExists, none } | |
class UrlState extends Equatable { | |
const UrlState({ | |
this.isLoading, | |
this.url, | |
this.urlList, | |
this.hasError, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SPC | |
SPC: find file | |
, switch buffer | |
. browse files | |
: MX | |
; EX | |
< switch buffer | |
` eval | |
u universal arg | |
x pop up scratch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"terminal.integrated.shell.osx": "/bin/zsh", | |
"workbench.colorTheme": "Dracula Pro", | |
"workbench.iconTheme": "vscode-icons", | |
"workbench.startupEditor": "newUntitledFile", | |
"terminal.integrated.rendererType": "dom", | |
"terminal.integrated.fontFamily": "Fira Code", | |
"editor.fontFamily": "Fira Code", | |
"editor.fontLigatures": true, | |
"window.title": "${activeEditorLong}${separator}${rootName}", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// This interceptor is simplified because is doesn't contemplate | |
/// a refresh token, which you should take care of. | |
/// I haven't tested this code, but I believe it should work. | |
/// If you have some feedback, please leave a comment and I'll review it :) Thanks. | |
class AuthInterceptor extends InterceptorsWrapper { | |
final Dio loggedDio; | |
final Dio tokenDio; |