Skip to content

Instantly share code, notes, and snippets.

Avatar
👨‍💻
Coding

Jorge Frisancho teocci

👨‍💻
Coding
View GitHub Profile
@teocci
teocci / disable-bots.md
Created Dec 16, 2020
How to disable bots in specific channels
View disable-bots.md

How to disable bots in specific channels

See how the bot responds in a channel that shouldn't have bots?

After this tutorial you will know how to disable that!

Edit bot roles!

1. Open the server settings

View convert-office-to-vl.cmd
@echo off
Title Converter Office 2016 Retail to Volume
echo Press Enter to start VL-Conversion...
echo.
pause
echo.
for /f "tokens=6 delims=[]. " %%G in ('ver') do set win=%%G
@teocci
teocci / activateoffice2019.md
Created May 1, 2020 — forked from CHEF-KOCH/activateoffice2019.md
How to activate Office 2019
View activateoffice2019.md
  • Download the Retail Office 2019 images (or standalone) (MS currently does not provide VL images for Windows [only MAcOS])
  • Go to https://github.com/abbodi1406/BatUtil/tree/master/OfficeC2R-R2V and download it
  • Install Office 2019 (Retail)
  • Use C2R-R2V (start the batch with admin rights)
  • Wait until all is finished
  • Activate Office with KMSAuto.Net, MSToolkit, batch scripts or manually like you would do with a normal KMS version
@teocci
teocci / Activate Office 2019 for macOS VoL.md
Created Mar 4, 2020 — forked from zthxxx/Activate Office 2019 for macOS VoL.md
crack activate office on mac with license file
View Activate Office 2019 for macOS VoL.md

Activate MS Office 2019/2016 for macOS - Microsoft_Office_2019_VL_Serializer

Office 2019 above

2019-06-03

Note that Office2019 DO NOT support activate via simple copy/paste plist license file which is the simplest way to activate Office 2016. Fortunately, you can also use the VL Serializer tool, just install Office 2019 and Serializer, then run Serializer to activate.

Ref

@teocci
teocci / basic-guide-about-pr-2019-09-25.md
Last active Sep 25, 2019
This simple guide will help you discover how to use public relations to drive views and increase the visibility of your events, brands or campaigns.
View basic-guide-about-pr-2019-09-25.md

Basic Guide to Public Relations

In simple words, public relations (PR) defines how a company communicates with people (i.e. customers, partners, journalists, philanthropists, politicians, and the general public). Especially now, all businesses need public relations, regardless of their size or industry.

But why we need PR, Teo?

Well, it is because, nowadays, customers want to trust the brands they do business with and here is where public relations plays its role building and fostering trust.

So, lets define PR...

According to James Gruing (1984), PR is the practice of deliberately managing the spread of information between an individual or an organization (such as a business, government agency, or a nonprofit organization) and the public.

In other words, PR is the practice of leveraging media channels to promote an organization and cultivate a positive public perception, managing an organization’s brand and communications especially in times of crisis.

@teocci
teocci / sysctl.conf
Created Sep 9, 2019
Sysctl configuration for high performance
View sysctl.conf
### KERNEL TUNING ###
# Increase size of file handles and inode cache
fs.file-max = 2097152
# Do less swapping
vm.swappiness = 10
vm.dirty_ratio = 60
vm.dirty_background_ratio = 2
View ssl-params.conf
# Configuration options are limited to SSL/TLS
# Enable SSL session caching for improving performance by avoiding the costly session negotiation process where possible
# SSL Labs doesn't assume that SNI is available to the client, so it only tests the default virtual server
# setting this globally to make it work across all the nginx virtual servers (including the default virtual server)
ssl_session_cache shared:ssl_session_cache:10m;
ssl_session_timeout 10m;
server {
listen 443 ssl;
View TuningNginx-BestPerformance.md

Tuning Nginx for Best Performance

This article is part 2 of a series about building a high-performance web cluster powerful enough to handle 3 million requests per second. For this part of the project, you can use any web server you like. I decided to use Nginx, because it’s lightweight, reliable, and fast.

Generally, a properly tuned Nginx server on Linux can handle 500,000 – 600,000 requests per second. My Nginx servers consistently handle 904k req/sec, and have sustained high loads like these for the ~12 hours that I tested them.

It’s important to know that everything listed here was used in a testing environment, and that you might actually want very different settings for your production servers.

Install the Nginx package from the EPEL repository.

@teocci
teocci / YouTubeCenter.user.js
Created Aug 13, 2019
YouTube Disable Polymer + YouTube Center for 누리
View YouTubeCenter.user.js
This file has been truncated, but you can view the full file.
/**
The MIT License (MIT)
Copyright © 2015 Jeppe Rune Mortensen
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
@teocci
teocci / YouTubeCenter.user.js
Created Aug 12, 2019
YouTube Disable Polymer + Center (looper) for 누리
View YouTubeCenter.user.js
This file has been truncated, but you can view the full file.
/**
The MIT License (MIT)
Copyright © 2015 Jeppe Rune Mortensen
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of