commmand-e
:
- Opens Query Editor (Only works when in main view)
function-f5
:
- In query editor, executes query.
- In table view, refreshes table.
- In main view, executes whatever is highlighted (tables, columns, etc)
// ANIMATE SEARCH BAR AWAY | |
// This code is in a table view class. | |
// Idea was to show the search bar, to let the user know it exists, then animate it away after a couple seconds. | |
// This code works great, but I took the feature out, and just showed the search bar persistently. | |
- (void)setupSearchBar { | |
// Hide search bar after a couple seconds, to let user know it's there. | |
[self performSelector:@selector(animateHideSearchBar) withObject:nil afterDelay:2.5]; | |
} |
commmand-e
:
function-f5
:
Useful psql commands:
How to start/quit the program
$ psql database_name
: Start psql with database name.\q
: Quit psqlGeneral
\l
: List all databases/*! | |
* <%= meta.title %> v<%= meta.version %> | |
* Docs & License: <%= meta.homepage %> | |
* (c) <%= meta.copyright %> | |
*/ | |
/* | |
* Use fullcalendar.css for basic styling. | |
* For event drag & drop, requires jQuery UI draggable. | |
* For event resizing, requires jQuery UI resizable. |
/*! | |
* FullCalendar v1.6.4 | |
* Docs & License: http://arshaw.com/fullcalendar/ | |
* (c) 2013 Adam Shaw | |
*/ | |
/* | |
* Use fullcalendar.css for basic styling. | |
* For event drag & drop, requires jQuery UI draggable. | |
* For event resizing, requires jQuery UI resizable. |
# Slate is a flexible window management system. | |
# See docs: https://github.com/jigish/slate | |
# Also see: http://thume.ca/howto/2012/11/19/using-slate/#configuration | |
config defaultToCurrentScreen true | |
# Abstract positions | |
alias full move screenOriginX;screenOriginY screenSizeX;screenSizeY | |
alias lefthalf move screenOriginX;screenOriginY screenSizeX/2;screenSizeY | |
alias righthalf move screenOriginX+screenSizeX/2;screenOriginY screenSizeX/2;screenSizeY |
name: example-environment | |
channels: | |
- conda-forge | |
dependencies: | |
- python | |
- numpy | |
- graphviz | |
- pip: | |
- nbgitpuller | |
- sphinx-gallery |
## | |
# This is a quick script that will format/indent HTML | |
# HTML Tidy is often too destructive, especially with bad HTML, so we're using Beautiful Soup | |
## | |
# USAGE: Designed to be used on the command line, just pipe HTML to it, and it will output | |
# cat file.html | python format_html.py | |
### | |
# Download & Install Beautiful Soup, if you don't have it already: | |
# Go to the Beautiful Soup web site, http://www.crummy.com/software/BeautifulSoup/ | |
# Download the package |