Skip to content

Instantly share code, notes, and snippets.

View lincolnaleixo's full-sized avatar
🌴
On vacation

lincoln lincolnaleixo

🌴
On vacation
View GitHub Profile
@morcefaster
morcefaster / pros_are_nice.md
Last active January 29, 2025 18:00
Did anyone say drama?

Preface

Hello everyone. With Ceb drama getting so much traction, I decided to do what any rational person would do in this situation - download all public matches of all professional dota 2 players and then scan the all-chat for any racism or naughty naughty words, so the j͇͕͙ͣu͒͆s̼̠͍̖̮̳ͮ̃t̫̙̯͎ͬ̇̊̄iͨć̼͓ͬͨ͑ͣe͉̜̫̱̠̘̋̒ͅ can be upheld once and for all.

There are several nuances that stood in my way.

  1. Many professionals' pubs are kept private.
  2. Most of the trashtalk happens in ally chat, which isn't saved.
  3. Some of the trashtalk happens over mic... which again, isn't saved.
  4. Some of the trashtalk happens on smurf accounts, which I did not include here.
@heshamelmasry77
heshamelmasry77 / Error: Message failed: 553 Relaying disallowed as @ the solution NodeMail Zoho
Last active August 2, 2023 14:23
Error: Message failed: 553 Relaying disallowed as @ the solution NodeMail Zoho
After searching for more than 6 hours trying to understand what is zoho's mail problem to send emails!
After i red lots lots of there answer with no helpul solution i found the issue was that you need to have the ``` sender ``` option
in your nodemailer option same like email with same sender name and sender email. like this : ``` from: '"senderNameSameLikeTheZohoOne" <[email protected]>',```
my config :
```
const transporter = nodemailer.createTransport({
service:'Zoho',
host: 'smtp.zoho.com',
port: 465,
@yuraist
yuraist / RemindersSync.swift
Created August 18, 2020 16:22
Synchronise tasks from the Reminders app within your iOS app using EventKit.
import EventKit
class RemindersSync {
let eventStore = EKEventStore()
var remindersCalendar: EKCalendar? = nil
var reminders: [EKReminder] = []
/// Requests access to the Reminders app
import moviepy.editor as mpy
from vectortween.Mapping import Mapping
basename = 'video.mp4'
inputfile = basename + ".mp4"
outputfile = basename + ".new.mp4"
video_file = mpy.VideoFileClip(inputfile)
duration = video_file.duration # duration
video_width, video_height = video_file.size
textclip = mpy.TextClip("www.YouTube.com",fontsize=30,color="red")