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
| import logging | |
| import sys | |
| from logging.handlers import TimedRotatingFileHandler | |
| FORMATTER = logging.Formatter("%(asctime)s - %(name)s - %(levelname)s - %(message)s") | |
| LOG_FILE = "my_app.log" | |
| def get_console_handler(): | |
| console_handler = logging.StreamHandler(sys.stdout) | |
| console_handler.setFormatter(FORMATTER) |
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://github.com/jiaaro/pydub | |
| from pydub import AudioSegment | |
| files_path = '' | |
| file_name = '' | |
| startMin = 9 | |
| startSec = 50 |
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
| # Inspired from https://pythonprogramming.net/encryption-and-decryption-in-python-code-example-with-explanation/ | |
| # PyCrypto docs available at https://www.dlitz.net/software/pycrypto/api/2.6/ | |
| from Crypto.Cipher import AES | |
| import base64, os | |
| def generate_secret_key_for_AES_cipher(): | |
| # AES key length must be either 16, 24, or 32 bytes long | |
| AES_key_length = 16 # use larger value in production | |
| # generate a random secret key with the decided key length |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | π :tada: |
| Version tag | π :bookmark: |
| New feature | β¨ :sparkles: |
| Bugfix | π :bug: |
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
| Title | Author | Genre | Height | Publisher | |
|---|---|---|---|---|---|
| Fundamentals of Wavelets | Goswami, Jaideva | signal_processing | 228 | Wiley | |
| Data Smart | Foreman, John | data_science | 235 | Wiley | |
| God Created the Integers | Hawking, Stephen | mathematics | 197 | Penguin | |
| Superfreakonomics | Dubner, Stephen | economics | 179 | HarperCollins | |
| Orientalism | Said, Edward | history | 197 | Penguin | |
| Nature of Statistical Learning Theory, The | Vapnik, Vladimir | data_science | 230 | Springer | |
| Integration of the Indian States | Menon, V P | history | 217 | Orient Blackswan | |
| Drunkard's Walk, The | Mlodinow, Leonard | science | 197 | Penguin | |
| Image Processing & Mathematical Morphology | Shih, Frank | signal_processing | 241 | CRC |
There are two ways - the first way is just one command run plainly in front of you; the second one runs in the background and in a different instance so you can get out of your ssh session and it will continue.
First make a folder to download the websites to and begin your downloading: (note if downloading www.SOME_WEBSITE.com, you will get a folder like this: /websitedl/www.SOME_WEBSITE.com/)
by xero updated 10.29.24
People
:bowtie: |
π :smile: |
π :laughing: |
|---|---|---|
π :blush: |
π :smiley: |
:relaxed: |
π :smirk: |
π :heart_eyes: |
π :kissing_heart: |
π :kissing_closed_eyes: |
π³ :flushed: |
π :relieved: |
π :satisfied: |
π :grin: |
π :wink: |
π :stuck_out_tongue_winking_eye: |
π :stuck_out_tongue_closed_eyes: |
π :grinning: |
π :kissing: |
π :kissing_smiling_eyes: |
π :stuck_out_tongue: |
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
| --- Source: http://solaimurugan.blogspot.ru/2010/10/list-out-all-forien-key-constraints.html | |
| SELECT | |
| tc.constraint_name, | |
| tc.constraint_type, | |
| tc.table_name, | |
| kcu.column_name, | |
| tc.is_deferrable, | |
| tc.initially_deferred, | |
| rc.match_option AS match_type, |