#Lorem
**ipsum** dolor sit amet, consectetur adipiscing elit, sed
This file contains 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
param ( | |
[string]$playlistID | |
) | |
if (-not $playlistID) { | |
Write-Host "Please provide a playlist ID as a command-line argument." | |
exit 1 | |
} | |
# Define the playlist URL and output file |
This file contains 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
from pylatexenc.latex2text import LatexNodes2Text | |
from nltk.probability import FreqDist | |
from nltk.corpus import stopwords | |
import argparse | |
import nltk | |
def analyze_word_frequency(filename, words_to_check): | |
"""Analyzes word frequency in a LaTeX document. |
This file contains 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 os | |
import sys | |
def is_binary(filename): | |
""" | |
Check if the file is binary. A file is considered binary if it contains a null byte | |
within the first 1024 bytes of its content. | |
you may run | |
FOR /F "tokens=*" %G IN ('python find_binary.py .') DO del "%G" |
This tutorial was originally written by Jannie Theunissen on onesheep.org. However, the website has been down for a while and this a clone from the web.archive.org backup. Also, the parts regarding the macOS are updated according to this post. You may find OneSheep here on Twitter and Jannie Theunissen here on StackOverflow. If you have any comments on this Gist please poke me here on Twitter, otherwise, I might miss your comments.
We were recently asked to automate some editing tasks for the Spotlight English editors w
This file contains 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
config.ini |
This procedure explains how to install MySQL and MySQL Workbench using Homebrew on macOS. This is a fork of these instructions, to make them more concise and solve the issues reported here.
To install MySQL enter :
brew install mysql
brew services start mysql
- then run
mysql_secure_installation
and follow the instructions
- Download the latest version of the software from the official website
- unarchive the
.exe
file with 7zip or any other software you have - then go to the unarchived folder and find the
bin\wxmaxima.exe
, create a shortcut to on your desktop so you can run it easily next time
This file contains 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 asyncio | |
from telethon.tl.types import ChannelParticipantsKicked | |
from telethon.sync import TelegramClient | |
from telethon.errors import FloodWaitError | |
# Replace these with your own Telegram API ID and Hash | |
api_id = 'YOUR_API_ID' | |
api_hash = 'YOUR_API_HASH' | |
# Replace with the positive integer ID of your group (omit the '-' sign) |
NewerOlder