Search all books which the title starts with "Survival".
========================================
Use normal query
28.2 ms
Use stored procedure
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
# From <http://blogs.msdn.com/b/powershell/archive/2007/06/19/get-scriptdirectory.aspx> | |
function Get-ScriptDirectory { | |
$Invocation = (Get-Variable MyInvocation -Scope 1).Value | |
Split-Path $Invocation.MyCommand.Path | |
} | |
$dir = Get-ScriptDirectory | |
$cmd = $dir + '\bin\mysqladmin.exe' | |
& $cmd -u root shutdown |
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/bash | |
for isBold in {0..1}; do | |
for background in {40..47}; do | |
for foreground in {30..37}; do | |
colorTag='\e['$isBold';'$foreground';'$background'm' | |
colorResetTag='\e[0m' | |
text=$colorTag'isBold:'$isBold' foreground:'$foreground' background:'$background$colorResetTag | |
echo -e $text | |
done |
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
tail -200 catalina.out | ack-grep --flush --passthru --color --color-match=red "^.*ERROR.*" | ack-grep --flush --passthru --color --color-match=green "^.*DEBUG.*" |
This is a guide with screenshots to get the app ID, client ID, and client secret from Amazon Seller Central.
Go to Amazon Central and log in with your credentials.
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
For Gist title |
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
#!upstart | |
# | |
# Copy me to /etc/init/ | |
# This installs a daemon as a system level call and ensures the process can be monitored and is consistently restarted on error. | |
# Manual start, stop, and restart respected. | |
# | |
description 'An Upstart configuration tempalte' | |
# Let upstart attempt to restart the daemon on error, exit, or otherwise non-manual termination |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Title</title> | |
<script type="text/javascript"> | |
let element | |
console.log(`Registering window error`) |
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
Keep for gist name |
OlderNewer