Inspired from Jguer's dotfile
TO set kitty as default terminal on gnome(make it work when doing right click -> open in terminal on nautilus):
gsettings set org.gnome.desktop.default-applications.terminal exec kitty
import { | |
mobile, | |
backend, | |
creator, | |
web, | |
javascript, | |
typescript, | |
html, | |
css, | |
reactjs, |
import 'dart:developer'; | |
import 'package:bloc/bloc.dart'; | |
import 'package:sentry/sentry.dart'; | |
class SentryBlocObserver extends BlocObserver { | |
SentryBlocObserver({Hub? hub}) : _hub = hub ?? HubAdapter(); | |
final Hub _hub; |
import { people01, people02, people03, facebook, instagram, linkedin, twitter, airbnb, binance, coinbase, dropbox, send, shield, star } from "../assets"; | |
export const navLinks = [ | |
{ | |
id: "home", | |
title: "Home", | |
}, | |
{ | |
id: "features", | |
title: "Features", |
(use-package copilot | |
:straight (:host github :repo "zerolfx/copilot.el" :files ("dist" "copilot.el")) | |
:ensure t | |
:config | |
(global-unset-key (kbd "TAB")) | |
(global-set-key (kbd "TAB") (lambda (&optional ARG) | |
(interactive) | |
(or (copilot-accept-completion) | |
(indent-for-tab-command ARG)))) | |
(with-eval-after-load 'company |
import 'package:flutter/material.dart'; | |
class OutlinedCard extends StatefulWidget { | |
const OutlinedCard({ | |
Key? key, | |
required this.child, | |
}) : super(key: key); | |
final Widget child; |
Inspired from Jguer's dotfile
TO set kitty as default terminal on gnome(make it work when doing right click -> open in terminal on nautilus):
gsettings set org.gnome.desktop.default-applications.terminal exec kitty
### ------------------------- Flutter.gitignore ------------------------ ### | |
# Miscellaneous | |
*.class | |
#*.lock | |
*.log | |
*.pyc | |
*.swp | |
.DS_Store | |
.atom/ |
// https://gist.github.com/NearHuscarl/29c5577b94571d00926723c85a370e43 | |
import 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( |
(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 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; |