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
| /* Place in ~/.mozilla/firefox/<profile_id>/chrome */ | |
| @namespace xul url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); | |
| /* Show bookmarks toolbar on New Tab only */ | |
| #PersonalToolbar { | |
| visibility:collapse; | |
| } | |
| #main-window[title="Mozilla Firefox"] #PersonalToolbar, | |
| #main-window[title="Mozilla Firefox"] #PersonalToolbar #personal-bookmarks #PlacesToolbar, | |
| #main-window[title^="New Tab"] #PersonalToolbar, |
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
| #!/usr/bin/env python | |
| # encoding: utf-8 | |
| # get used to importing this in your Py27 projects! | |
| from __future__ import print_function, division | |
| import chimera.extension | |
| """ | |
| This is the file that Chimera searches for to load new extensions | |
| at runtime. Normally, you will only need to edit: |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| from __future__ import print_function | |
| import pychimera | |
| import os | |
| # os.environ['CHIMERADIR'] = '/path/to/headless/chimera' | |
| pychimera.patch_environ() | |
| pychimera.enable_chimera() |
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
| #!/usr/bin/env python | |
| import os | |
| from shutil import copy | |
| from pprint import pprint | |
| path = os.path.expanduser("~/.chimera/preferences") | |
| copy(path, path + ".bak") # just in case | |
| with open(path) as f: | |
| data = f.read() |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| #!/usr/bin/env python | |
| # encoding: utf-8 | |
| """ | |
| Download your entire Fotolog to disk, comments included | |
| @jaimergp, 2016 | |
| Dependencies: requests, beautifulsoup4 | |
| """ |
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
| # Autocompletions for conda commands | |
| # Place this file in ~./config/fish/completions/ | |
| # Original implementations, but slow | |
| # function __fish_conda_commands | |
| # command conda help | awk '/^ \S/ {print $1}' | |
| # end | |
| # function __fish_conda_envs | |
| # command conda env list | awk 'NR > 2 {print $1}' | |
| # end |