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
{ | |
"timeStamp": 1731158018576, | |
"version": "1.60.0", | |
"userSettings": { | |
"advancedUserEnabled": true, | |
"externalLists": "https://cdn.jsdelivr.net/gh/hagezi/dns-blocklists@latest/adblock/light.txt\nhttps://cdn.jsdelivr.net/gh/hagezi/dns-blocklists@latest/adblock/spam-tlds-ublock.txt\nhttps://pup-filter.pages.dev/pup-filter.txt\nhttps://raw.githubusercontent.com/DandelionSprout/adfilt/master/Dandelion%20Sprout's%20Anti-Malware%20List.txt\nhttps://raw.githubusercontent.com/DandelionSprout/adfilt/master/LegitimateURLShortener.txt\nhttps://raw.githubusercontent.com/DandelionSprout/adfilt/refs/heads/master/BrowseWebsitesWithoutLoggingIn.txt\nhttps://raw.githubusercontent.com/Spam404/lists/master/adblock-list.txt\nhttps://raw.githubusercontent.com/fzhem/filter-annoyances/main/dist/specific.txt\nhttps://raw.githubusercontent.com/iam-py-test/my_filters_001/main/antimalware.txt\nhttps://raw.githubusercontent.com/quenhus/uBlock-Origin-dev-filter/main/dist/google/seo_spam.txt\nhttps://raw.githubusercontent.com/q |
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
// Place your key bindings in this file to override the defaults | |
[ | |
{ | |
"key": "ctrl+shift+l", | |
"command": "workbench.action.editor.changeLanguageMode", | |
"when": "!notebookEditorFocused" | |
}, | |
{ | |
"key": "ctrl+k m", | |
"command": "-workbench.action.editor.changeLanguageMode", |
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
{ | |
"telemetry.telemetryLevel": "off", | |
"terminal.integrated.defaultProfile.windows": "Command Prompt", | |
"workbench.colorTheme": "Default Dark Modern", | |
"workbench.settings.editor": "json", | |
"workbench.settings.openDefaultSettings": true, | |
"workbench.settings.useSplitJSON": true, | |
"git.pruneOnFetch": true, | |
"editor.acceptSuggestionOnEnter": "off", | |
"editor.fontFamily": "'Fira Code', Consolas, 'Courier New', monospace", |
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
repos: | |
- repo: https://github.com/pre-commit/pre-commit-hooks | |
rev: v4.6.0 | |
hooks: | |
- id: trailing-whitespace | |
- id: end-of-file-fixer | |
exclude: | | |
(?x)( | |
^.gitignore| | |
^mypy.ini| |
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
[mypy] | |
disallow_untyped_defs = True | |
disallow_any_unimported = True | |
disallow_subclassing_any = False | |
no_implicit_optional = True | |
check_untyped_defs = True | |
warn_return_any = True | |
warn_unused_configs = True | |
show_error_codes = True | |
warn_unused_ignores = True |
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 pandas as pd | |
import pytest | |
import numpy as np | |
from nullsafe import NullSafeSeriesAccessor | |
# Test cases for NullSafeSeriesAccessor | |
class TestNullSafeSeriesAccessor: | |
@pytest.fixture | |
def sample_data(self): |
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 pandas as pd | |
@pd.api.extensions.register_series_accessor("nullsafe") | |
class NullSafeSeriesAccessor: | |
""" | |
Null-safe comparison accessor for Pandas Series. | |
This is equivalent to a null-safe equal operator in SQL (<=>) where |
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
{ | |
"createdBy": "Redirector v3.5.3", | |
"createdAt": "2023-08-06T16:55:13.699Z", | |
"redirects": [ | |
{ | |
"description": "Totaljobs Email to Link", | |
"exampleUrl": "https://www.totaljobs.com/JobSearch/EmailLink.aspx?JobID=100917216&GUID=", | |
"exampleResult": "https://www.totaljobs.com/job/100917216", | |
"error": null, | |
"includePattern": "(www\\.totaljobs\\.com).*JobID=(\\d+)", |
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
CREATE OR REPLACE TEMPORARY FUNCTION get_argument(widget STRING) | |
RETURNS STRING | |
COMMENT 'Get databricks widget value in SQL code. Throws an error if widget doesn\'t exist or empty value is provided. This is an alternative to `getArgument` scala UDF and should be used when scala UDFs are blocked on SQL.' | |
RETURN if(length(widget) > 0, widget, raise_error('Widget not found or empty value provided.')) |
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
yt-dlp --cookies-from-browser brave --flat-playlist --output-na-placeholder "" --print-to-file %(title)#S,%(url)q,%(channel)#S,%(channel_url)q,%(duration)d,%(duration_string)q,%(view_count)d export-user-wl.csv https://www.youtube.com/playlist?list=WL |
NewerOlder