Skip to content

Instantly share code, notes, and snippets.

Option Explicit
Private Declare PtrSafe Function CoCreateGuid Lib "ole32" (ByRef GUID As Byte) As Long
Private has_more As Boolean
Public Sub SendToJoplin()
Dim sToken As String
Dim sUrl As String
Dim sMailFolderName As String
Dim sNotesFolderName As String
@nischay876
nischay876 / 1.sh
Last active March 2, 2023 20:52
Migrate Hestia Control Panel To New VPS
echo "Create Backup For all Users (Run On VPS 1)"
v-backup-users
echo "Backup Job Done"
@rochacbruno
rochacbruno / gruvbox-dark.micro
Created April 21, 2022 18:49
Gruvbox Dark Theme for Micro Editor
color-link default "#ebdbb2,#1d2021"
color-link comment "#928374,#1d2021"
color-link symbol "#d79921,#1d2021"
color-link constant "#d3869b,#1d2021"
color-link constant.string "#b8bb26,#1d2021"
color-link constant.string.char "#b8bb26,#1d2021"
color-link identifier "#8ec07c,#1d2021"
color-link statement "#fb4934,#1d2021"
color-link preproc "#fb4934,235"
color-link type "#fb4934,#1d2021"
"""
Install requirements
> pip install pandas openpyxl python-dateutil more-itertools pymt5adapter pytz
"""
import argparse
import datetime as dt
import math
from pathlib import Path
"""
2020, nicholishen
Requires:
Python >= 3.6
pandas
openpyxl
chardet
pip install -U pandas ujson openpyxl chardet
[playlist]
File1=http://37.59.28.208:8058/stream
Title1=95bFM Auckland, New Zealand
Length1=-1
File2=http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio1_mf_p
Title2=BBC Radio 1
Length2=-1
@matthewzring
matthewzring / markdown-text-101.md
Last active July 3, 2024 22:10
A guide to Markdown on Discord.

Markdown Text 101

Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...

What this guide covers:

@seoagentur-hamburg
seoagentur-hamburg / .htaccess
Last active June 21, 2024 09:05
UPDATE 2024/03: Perfect .htaccess file for highspeed and security. You can use it for every WordPress-Website without problems. Highspeed and Security - testet on hundreds of Websites. If you are using a WordPress Multisite, change the last part of this file.
########################################################################
# OPTIMAL .htaccess FILE FOR SPEED AND SECURITY @Version 2.0.9 - 03/2024
# ----------------------------------------------------------------------
# @Author: Andreas Hecht
# @Author URI: https://seoagentur-hamburg.com
# License: GNU General Public License v2 or later
# License URI: http://www.gnu.org/licenses/gpl-2.0.html
########################################################################
@itoshkov
itoshkov / move-images.sh
Last active October 5, 2016 09:44
Move images with certain size to directory
identify -format "%wx%h,%f\n" * | grep '^1920x1080,' | colrm 1 10 | while read f; do mv "$f" /tmp/t; done
@maximal
maximal / update-eap.sh
Last active April 24, 2019 11:49
Обновление тестовых версий (EAP) сред разработки компании JetBrains для Linux
#!/bin/bash
##
# Обновление тестовых версий (EAP) сред разработки компании JetBrains для Linux.
# В данном случае скачивается PhpStorm и GoLand, но скрипт подойдёт для любой среды разработки,
# выкладываемой компанией JetBrains в EAP.
#
#
# @author MaximAL
# @since 2019-04-24 Добавил опцию командной строки `no-eap` для получения стабильных версий вместо EAP.
# @since 2019-03-18 Сделал получение релизов через официальное JSON API.