Skip to content

Instantly share code, notes, and snippets.

View flyingcakes85's full-sized avatar
💜
🤍

Snehit Sah flyingcakes85

💜
🤍
View GitHub Profile
call plug#begin()
Plug 'preservim/nerdtree', { 'on': 'NERDTreeToggle' }
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
call plug#end()
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab
let g:indentLine_char = '⦙'
@flyingcakes85
flyingcakes85 / p10k.zsh
Created November 16, 2021 04:39
Save anywhere, and source in your .zshrc
# Generated by Powerlevel10k configuration wizard on 2021-01-13 at 16:04 IST.
# Based on romkatv/powerlevel10k/config/p10k-lean.zsh, checksum 03310.
# Wizard options: nerdfont-complete + powerline, small icons, unicode, lean, 24h time,
# 2 lines, disconnected, full frame, dark-ornaments, sparse, many icons, concise,
# instant_prompt=quiet.
# Type `p10k configure` to generate another config.
#
# Config for Powerlevel10k with lean prompt style. Type `p10k configure` to generate
# your own config based on it.
#
@flyingcakes85
flyingcakes85 / alacritty.yml
Created November 16, 2021 04:36
Save in ~/.config/alacritty/alacritty.yml
window:
padding:
x: 14
y: 14
key_bindings:
- key: V
mods: Alt|Shift
action: Paste
- key: C
mods: Alt|Shift
@flyingcakes85
flyingcakes85 / Packaging Gamma Text Editor.md
Last active October 18, 2020 13:23
Distribution independent instructions to package Gamma Text Editor

Packaging Gamma for a distro

This page describes the steps you need to follow when packaging Gamma for a distro. These are distribution-independent instructions and you are also suggested to follow any guidelines laid down by the distro maintainers.

The bundled setup.sh

Gamma is written in python, and all that is required to run it is to clone the repository and execute ./bin/gamma. A setup.sh file is included to let users easily copy icons/desktop files onto their system locations so that they can launch Gamma from their preferred application launcher or desktop environment.

Many users prefer installing applications from their distro repositories as it makes updating/removing application easier.

Steps while packaging

Refer to setup.sh to see the files that need to be copied on to the user's system. Apart from the steps in setup.sh, the following steps need to be followed while packaging. Make sure you follow any other instruction/guideline set by your distro maintainers.

@flyingcakes85
flyingcakes85 / main.dart
Last active April 1, 2019 12:32 — forked from PoojaB26/main.dart
Hello World App in Flutter
import 'package:flutter/material.dart';
void main(){
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(