1.login to mysql using sudo when fresh install
ALTER USER 'root'@'localhost' IDENTIFIED BY 'MyNewPass';
For mysql 8.0ALTER USER 'root'@'localhost' IDENTIFIED WITH caching_sha2_password BY 'yourpasswd';
1.login to mysql using sudo when fresh install
ALTER USER 'root'@'localhost' IDENTIFIED BY 'MyNewPass';
For mysql 8.0ALTER USER 'root'@'localhost' IDENTIFIED WITH caching_sha2_password BY 'yourpasswd';
add this code.
$("#ui-datepicker-div").css("z-index", "9999");
please use below commands for mongo shutdown from mongo client:
use admin db.shutdownServer()
Please use below as reference to create composite key:
db.coll.createIndex({'k1':1,'k2':1},{unique:true});
{
"createdCollectionAutomatically" : false,
"numIndexesBefore" : 1,
"numIndexesAfter" : 2,
"ok" : 1
}
Examples:
(?<=<h4>).*(?=</h4>)
<h4>Act of attainder</h4>
match inner most multi groups:
(?<=<div class=\"wordbox)(?:(?!</h5></div></div>).)*
I have my roots always connected with HinKhoj.com. Happy to announce that HinKhoj.com has launched a new brand for its English Hindi Dictionary as "SHABD - KHOJ (शब्द खोज) " Please visit ShabdKhoj at https://dict.hinkhoj.com
brew postinstall python3cd to Homebrew's formula directorycd $(brew --prefix)/Homebrew/Library/Taps/homebrew/homebrew-core/Formula
icu4c) to checkoutgit log --follow icu4c.rb
git checkout -b icu4c-63 e7f0f10dc63b1dc1061d475f1a61d01b70ef2cb7
brew reinstall ./icu4c.rb
brew tap jdpedrie/php55 $ brew install php@5.5
brew tap exolnet/homebrew-deprecated
old version of openssl
brew install rbenv/tap/openssl@1.0 [didnot work]
brew reinstall --build-from-source https://raw.githubusercontent.com/JParkinson1991/homebrew-deprecated/79d817a7ef794234d5276df0487a9d037b7b7bba/Formula/php@5.6.rb --with-openssl-1.1-patch
https://getgrav.org/blog/macos-catalina-apache-multiple-php-versions
from flask import Flask from flask import request
app = Flask(__name__)
CORS(app)
@app.route('/') def hello_world(): return "Welcome to api"if __name__ == '__main__': app.run(debug=True,port=1090)
$query = array( 'English' => new MongoRegex('/'.$search_word.'/i')); //var_dump($query); $result = $collection->find($query)->limit(100);
#!/usr/bin/python# -*- coding: utf-8 -*-import gspread from oauth2client.service_account import ServiceAccountCredentials # use creds to create a client to interact with the Google Drive APIscope = ['https://spreadsheets.google.com/feeds'] creds = ServiceAccountCredentials.from_json_keyfile_name('key.json', scope) client = gspread.authorize(creds) gss = client.open_by_url("url of sheet") #list_of_hashes = sheet.get_all_records()#print(len(list_of_hashes))#print(list_of_hashes)