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
UPDATE `mysql`.`proc` p SET definer = 'user@localhost' WHERE definer='user@%' AND db='DB'; |
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
git update-index --assume-unchanged database.php |
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
// Save as animated GIF | |
// Requires gifAnimation Processing Library | |
// http://www.extrapixel.ch/processing/gifAnimation/ | |
import gifAnimation.*; | |
GifMaker gifExport; | |
boolean saveToGif = true; | |
// The time between GIF frames | |
int frameDelay = 60; |
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
// Save as animated GIF | |
// Requires gifAnimation Processing Library | |
// http://www.extrapixel.ch/processing/gifAnimation/ | |
import gifAnimation.*; | |
GifMaker gifExport; | |
boolean saveToGif = true; | |
// The time between GIF frames | |
int frameDelay = 50; |
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
// Save as animated GIF | |
// Requires gifAnimation Processing Library | |
// http://www.extrapixel.ch/processing/gifAnimation/ | |
import gifAnimation.*; | |
GifMaker gifExport; | |
boolean saveToGif = false; | |
// The time between GIF frames | |
int frameDelay = 60; |
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
// Save as animated GIF | |
// Requires gifAnimation Processing Library | |
// http://www.extrapixel.ch/processing/gifAnimation/ | |
import gifAnimation.*; | |
GifMaker gifExport; | |
boolean saveToGif = false; | |
// The time between GIF frames | |
int frameDelay = 60; |
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
// Create a symmetrical diamond shaped (sideways square) snowflake. | |
// Create 1/8th of the shape and reflect that for the remaining 7/8ths. | |
// Make it a repeatable function with a parameter for the center XY. | |
// New pattern generated on key press. | |
// Animated GIF generated and saved on form unload. | |
// ToDo: Store as class? Then it would be copyable. | |
// Save as animated GIF |
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
// Create a symmetrical diamond shaped (sideways square) "snowflake". | |
// This can be rotated 45° to make a square. | |
// Create 1/8th of the shape and reflect that for the remaining 7/8ths. | |
// Make it a repeatable function with a parameter for the center XY. | |
// New pattern generated on key press. | |
// Animated GIF generated and saved on form unload. | |
// ToDo: Store as class? Then it would be copyable... | |
// Keys: |
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
SELECT distinct | |
SUBSTRING((SELECT ',' + CAST(countryId as VARCHAR) | |
FROM countries_regions where countries_regions.regionId = regions.id | |
FOR XML PATH('')), 2, 20000) AS CSV, regions.id | |
FROM countries_regions | |
inner join regions ON countries_regions.regionId = regions.id |
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
document.createElement('b').appendChild(document.createTextNode('&<>')).parentNode.innerHTML |