This file contains 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
{"uuid":"c3670f20-49de-11ea-b086-1774f31b91ea","page":{"id":4898493,"data":{"appState":"[\"~#iR\",[\"^ \",\"n\",\"appTemplate\",\"v\",[\"^ \",\"isFetching\",false,\"plugins\",[\"~#iOM\",[\"ListLogItems\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"ListLogItems\",\"type\",\"datasource\",\"subtype\",\"SqlQuery\",\"resourceName\",\"managed_db (readonly)\",\"template\",[\"^3\",[\"queryRefreshTime\",\"\",\"databasePasswordOverride\",\"\",\"queryDisabledMessage\",\"\",\"successMessage\",\"\",\"queryDisabled\",\"\",\"playgroundQuerySaveId\",0,\"resourceNameOverride\",\"\",\"runWhenModelUpdates\",true,\"query\",\"select * from \\\"espresso_log\\\";\",\"playgroundQueryUuid\",\"\",\"playgroundQueryId\",0,\"privateParams\",[\"~#iL\",[]],\"triggersOnSuccess\",[\"^8\",[]],\"runWhenPageLoadsDelay\",\"\",\"warningCodes\",[\"^8\",[]],\"data\",null,\"importedQueryInputs\",[\"^3\",[]],\"showSuccessConfetti\",false,\"isImported\",false,\"showSuccessToaster\",true,\"dataArray\",[\"^8\",[]],\"cacheKeyTtl\",\"\ |
This file contains 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
#!/bin/sh | |
### BEGIN INIT INFO | |
# Default-Start: 2 3 4 5 | |
# Provides: nzbget | |
# Required-Start: $local_fs $remote_fs $network | |
# Required-Stop: $local_fs $remote_fs $network | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: start the nzbget processes | |
# Description: starts and stops nzbget |
This file contains 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
# Automatically activate pew virtualenv | |
function pew_venv_hook() { | |
envs=("${(s/ /)$(pew ls)}") | |
new_env="" | |
_venv=$(basename "$VIRTUAL_ENV") | |
current_env=$_venv${_venv:+} | |
for env in $envs; do | |
if [[ "$PWD" =~ $env ]] | |
then | |
new_env=$env |
This file contains 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains 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
<?php | |
/** | |
* Redirects search results from /?s=query to /search/query/, converts %20 to + | |
* | |
* @link http://txfx.net/wordpress-plugins/nice-search/ | |
*/ | |
function roots_nice_search_redirect() { | |
if (is_search() && strpos($_SERVER['REQUEST_URI'], '/wp-admin/') === false && strpos($_SERVER['REQUEST_URI'], '/search/') === false) { | |
wp_redirect(home_url('/search/' . str_replace(array(' ', '%20'), array('+', '+'), urlencode(get_query_var('s')))), 301); |
This file contains 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
==> Downloading http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-mac-gpl-4.8.6.tar.gz | |
File already downloaded in /Users/FLX/Library/Caches/Homebrew | |
/usr/bin/tar xf /Users/FLX/Library/Caches/Homebrew/pyqt-4.8.6.tar.gz | |
==> python ./configure.py --confirm-license --bindir=/usr/local/Cellar/pyqt/4.8.6/bin --destdir=/usr/local/Cellar/pyqt/4.8.6/lib/python --sipdir=/usr/local/Cellar/pyqt/4.8.6/share/sip | |
python ./configure.py --confirm-license --bindir=/usr/local/Cellar/pyqt/4.8.6/bin --destdir=/usr/local/Cellar/pyqt/4.8.6/lib/python --sipdir=/usr/local/Cellar/pyqt/4.8.6/share/sip | |
Determining the layout of your Qt installation... | |
This is the GPL version of PyQt 4.8.6 (licensed under the GNU General Public | |
License) for Python 2.7.2 on darwin. | |
Found the license file pyqt-gpl.sip. | |
Checking to see if the QtGui module should be built... |