This file contains hidden or 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
// https://go.dev/play/p/luLFCOgkos9 | |
package main | |
import ( | |
"crypto/sha256" | |
"encoding/base64" | |
"fmt" | |
) | |
func main() { |
This file contains hidden or 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
brew install gnu-sed | |
brew install grep | |
# Add to path your shell profile (e.g. ~/.zshrc). | |
export PATH=/usr/local/opt/gnu-sed/libexec/gnubin:/usr/local/opt/gnu-sed/libexec/gnubin:$PATH |
This file contains hidden or 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
var jq = document.createElement('script'); | |
jq.src = "https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"; | |
document.getElementsByTagName('head')[0].appendChild(jq); | |
jQuery.noConflict(); |
This file contains hidden or 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 | |
pmset -g log|grep -e " Sleep " -e " Wake " -e " Display is turned on " |
This file contains hidden or 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
http://www.artensoft.com/ArtensoftPhotoCollageMaker/photobases.php?V1.4.83_SR=_r0_N_ |
This file contains hidden or 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
sudo mdutil -a -i off | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist | |
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist | |
sudo mdutil -a -i on |
This file contains hidden or 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
--- includes/bootstrap.inc (revision f1c0124ff5118a1b66bff99fb45bd5c3ed5acbab) | |
+++ includes/bootstrap.inc (revision ) | |
@@ -2745,6 +2745,11 @@ | |
if (version_compare(PHP_VERSION, '5.4') >= 0) { | |
spl_autoload_register('drupal_autoload_trait'); | |
} | |
+ | |
+ if (!db_table_exists('semaphore')) { | |
+ include_once DRUPAL_ROOT . '/includes/install.inc'; | |
+ install_goto('install.php'); |