~3 parts each:
- Hemp Hearts
- Buckwheat (toasted)
- Chia Seeds
~1 part each:
| name: example-environment | |
| channels: | |
| - conda-forge | |
| dependencies: | |
| - python | |
| - numpy | |
| - graphviz | |
| - pip: | |
| - nbgitpuller | |
| - sphinx-gallery |
| # 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 |
| /*----------------------------------------------------*/ | |
| #pragma mark - XCTAsserts | |
| /*----------------------------------------------------*/ | |
| XCTAssert(expression, format...); | |
| XCTAssertTrue(expression, format...); | |
| XCTAssertFalse(expression, format...); | |
| XCTAssertEqual(expression1, expression2, format...); | |
| XCTAssertNotEqual(expression1, expression2, format...); | |
| XCTAssertNil(expression, format...); |
| sudo vi /etc/yum.repos.d/CentOS-Base.repo | |
| # At the bottom of the [base] section, add a line that excludes the postgres packages: | |
| exclude=postgresql* | |
| # Add the same line to the bottom of the [updates] | |
| exclude=postgresql* | |
| # Use URL for your version of CentOS: http://yum.postgresql.org/repopackages.php | |
| cd ~ | |
| curl -O http://yum.postgresql.org/9.3/redhat/rhel-7-x86_64/pgdg-centos93-9.3-1.noarch.rpm | |
| sudo rpm -ivh pgdg* |
| /*! | |
| * <%= 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. |
Useful psql commands:
How to start/quit the program
$ psql database_name: Start psql with database name.\q: Quit psqlGeneral
\l: List all databasescommmand-e:
function-f5:
| // 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]; | |
| } |