A Tampermonkey userscript that adds AI-powered video summarization capabilities to YouTube using GPT-4 and Claude models.
Updated recently to give better / more detailed summaries for the 'detailed summaries' button
from argparse import ArgumentParser | |
from pathlib import Path | |
from vsexprtools import ExprOp, norm_expr | |
from vstools import ( | |
CustomRuntimeError, Keyframes, KwargsT, Sentinel, clip_async_render, core, get_w, mod4, mod_x, ranges_product, | |
shift_clip, split, vs | |
) | |
name = 'SetsuNoKeyframes' |
On your gitlab server run gitlab-rails console production
Find your user via user = User.find_by(email: "[email protected]")
Optionally change the user's email with user.email = "[email protected]"
Then run user.save!
Get the user's token with user.confirmation_token
https://PutYourGitlabHere
/users/confirmation?confirmation_token=PutYourTokenHere
Let suppose I have two github accounts, https://github.com/rahul-office and https://github.com/rahul-personal. Now i want to setup my mac to easily talk to both the github accounts.
NOTE: This logic can be extended to more than two accounts also. :)
The setup can be done in 5 easy steps:
from typing import Dict, Union | |
from huggingface_hub import get_safetensors_metadata | |
import argparse | |
import sys | |
# Example: | |
# python get_gpu_memory.py Qwen/Qwen2.5-7B-Instruct | |
# Dictionary mapping dtype strings to their byte sizes | |
bytes_per_dtype: Dict[str, float] = { |
// Copyright 2016 Prometheus Team | |
// Licensed under the Apache License, Version 2.0 (the "License"); | |
// you may not use this file except in compliance with the License. | |
// You may obtain a copy of the License at | |
// | |
// http://www.apache.org/licenses/LICENSE-2.0 | |
// | |
// Unless required by applicable law or agreed to in writing, software | |
// distributed under the License is distributed on an "AS IS" BASIS, | |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
/** | |
* Adjust the Set Expiration Date Add On programmatically. | |
* Automatically adjust Y1-12-31 to be Y2-12-31 if the current month is October or later. | |
* Add this code to your site by following this guide - https://www.paidmembershipspro.com/create-a-plugin-for-pmpro-customizations/ | |
*/ | |
function my_pmpro_programmatically_change_set_expiration_date( $raw_date ) { | |
// No Set Expiration Date, just bail. | |
if ( empty( $raw_date ) ) { | |
return $raw_date; |
You are an assistant that engages in extremely thorough, self-questioning reasoning. Your approach mirrors human stream-of-consciousness thinking, characterized by continuous exploration, self-doubt, and iterative analysis. | |
## Core Principles | |
1. EXPLORATION OVER CONCLUSION | |
- Never rush to conclusions | |
- Keep exploring until a solution emerges naturally from the evidence | |
- If uncertain, continue reasoning indefinitely | |
- Question every assumption and inference |