Simply call like
generate_profile.py --debian
or
generate_profile.py --fedora
It will overwrite your ~/.profile and ~/.bashrc, so backup it if you need things in it.
Simply call like
generate_profile.py --debian
or
generate_profile.py --fedora
It will overwrite your ~/.profile and ~/.bashrc, so backup it if you need things in it.
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
""" """ | |
""" Álan's NeoVim configuration """ | |
""" """ | |
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
call plug#begin('~/.vim/plugged') | |
Plug 'ParamagicDev/vim-medic_chalk' | |
Plug 'SirVer/ultisnips' |
#!/usr/bin/env bash | |
if hash brew 2>/dev/null; then | |
brew install fish bash zsh git python@3 node neovim vim curl | |
elif hash apt-get 2>/dev/null; then | |
sudo apt-get install fish bash zsh git python3 python3-pip nodejs neovim vim curl | |
elif hash dnf 2>/dev/null; then | |
sudo dnf install fish zsh bash python3 nodejs neovim vim curl | |
elif hash zypper 2>/dev/null; then | |
sudo zypper install fish zsh bash python3 nodejs neovim vim curl |
#!/bin/sh | |
# Copied from https://github.com/jaor/xmobar/issues/239#issuecomment-233206552 | |
# Detects the width of running trayer-srg window (xprop name 'panel') | |
# and creates an XPM icon of that width, 1px height, and transparent. | |
# Outputs an <icon>-tag for use in xmobar to display the generated | |
# XPM icon. | |
# | |
# Run script from xmobar: | |
# `Run Com "/where/ever/trayer-padding-icon.sh" [] "trayerpad" 10` | |
# and use `%trayerpad%` in your template. |
Taken from: https://stackoverflow.com/questions/10394302/how-do-i-use-vi-keys-in-ipython-under-nix
Create a new profile with ipython profile create
, then edit it (~/.ipython/profile_default/ipython_config.py
) and modify as bellow:
c.TerminalInteractiveShell.editing_mode = 'vi'
c.TerminalInteractiveShell.editor = u'nvim'
c.TerminalInteractiveShell.extra_open_editor_shortcuts = True
#!/usr/bin/env python3 | |
from lxml import etree | |
import sys | |
import requests | |
def clean_file(opml): | |
remove = [] | |
for outline in opml.xpath("//outline[@type='rss']"): |
One of the downsides of developing GNOME extensions is not having autocomplete
in your editor, which makes life really hard when you don't know where to look
for documentation and don't know much about GLib and Gnome Shell. To solve that,
we can create our project using TypeScript and the types defined in the
ts-for-gir
project.
But before that, let's talk about expectations. I'm not going to show how to configure any specific editor. This setup is editor-agnostic and if you have a