Skip to content

Instantly share code, notes, and snippets.

View Trip09's full-sized avatar

Joao Albuquerque Trip09

View GitHub Profile
SEARCH:
https://github.com/search?l=JavaScript&o=desc&p=3&q=Cryptocurrency+trading+bot&s=stars&type=Repositories
NODEJS
https://github.com/xFFFFF/Gekko-Strategies
https://github.com/DeviaVir/zenbot
https://github.com/Ekliptor/WolfBot
@Trip09
Trip09 / Email Server (Linux, Unix, Mac).md
Created November 26, 2020 11:22 — forked from raelgc/Email Server (Linux, Unix, Mac).md
Setup a Local Only SMTP Email Server (Linux, Unix, Mac)

Setup a Local Only SMTP Email Server (Linux, Unix, Mac)

1 - Point localhost.com to your machine

Most of programs will not accept an email using just @localhost as domain. So, edit /etc/hosts file to make the domain localhost.com point to your machine, including this content to the file:

127.0.0.1 localhost.com

2 - Install Postfix

@Trip09
Trip09 / slack-cleaner.js
Created May 19, 2020 15:31 — forked from gummiforweb/slack-cleaner.js
Clean up your Slack messages or files from either public channel, private channel, private message or group message. Fully interactive.
/**
* User Defined Values
*/
const agreedDisclaimer = false;
const apiToken = '';
/**
* Dont need to touch anything below
*/
const readline = require('readline');
@Trip09
Trip09 / gist:5b7dca426ce825c97e735afc4dfa4ad4
Created February 14, 2020 10:16
Bash convert md5 on CSV
for i in `cat emails_sem_md5.csv`;do email=$(echo "$i" | tr '[:upper:]' '[:lower:]') ; echo "$email,$(echo -n $email|md5sum|cut -d ' ' -f 1 )" >> car.14.02.csv ;done
@Trip09
Trip09 / WIP - script sync home and work
Created January 23, 2020 18:39
WIP - script sync home and work
#!/bin/bash
cd /code/wemystic
# git ls-files --others --exclude-standard
for i in `ls -d ./*/ | cut -d / -f 2`
do
cd $i
if [ -d .git ]
then
echo "## GIT >> $i << ##"
@Trip09
Trip09 / Connect to Windows From Linux
Last active September 29, 2019 10:00
Connect to Windows From Linux
#Install freerdp package in ubuntu
sudo apt install freerdp-x11
#After installation run the command
xfreerdp --plugin rdpsnd --plugin rdpdr --data disk:home:/home/trip -- -u Administrator public-ip
# COPY BACK
for i in `find . -maxdepth 1 -iname '.*' -type f -not -path "./.git" `; do if [ -f ~/$i ]&& [ "$(/usr/bin/diff $i ~/$i)" ]; then true; else echo "SKIP FILE: $i" && continue; fi && echo "\*** COPY FILE: $i ***" && cp ~/$i $i;done
for i in ~/.aws ~/.crossftp ~/.docker ~/.gnupg ~/.ssh ~/.vim "/etc/NetworkManager/system-connections/" ; do sudo cp -R $i . ;done
@Trip09
Trip09 / Install on Fresh Start
Last active August 27, 2019 19:38
Install on Fresh Start
Install
pip3 install awscli --upgrade --user
sudo apt install python3-pip meld terminator htop git
git clone https://github.com/nvm-sh/nvm.git ~/.nvm
git clone https://github.com/Trip09/dotfiles.git /code/iyp/dotfiles
cd /code/iyp/dotfiles && source bootstrap.sh
@Trip09
Trip09 / XRANDR - Monitor Resolution
Created March 14, 2019 10:54
XRANDR - Monitor Resolution
# generate mode based on screen resolution
[10:48 AM]-[trip@trip-t440]-[~]
$ cvt 1920 1080 60
# 1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz
Modeline "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
# add mew mode in xrandr
[10:48 AM]-[trip@trip-t440]-[~]
$ xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
@Trip09
Trip09 / WoeUSB - Create USB Stick Windows Installer - Linux GUI CLI
Created January 25, 2019 12:47
WoeUSB - Create USB Stick Windows Installer - Linux GUI CLI
https://www.youtube.com/watch?v=LVES4TycYtE