Skip to content

Instantly share code, notes, and snippets.

View dlanileonardo's full-sized avatar
🏠
Working from home

Dlani dlanileonardo

🏠
Working from home
View GitHub Profile
@dlanileonardo
dlanileonardo / Activate Office 2019 for macOS VoL.md
Created May 4, 2023 09:50 — forked from zthxxx/Activate Office 2019 for macOS VoL.md
crack activate office on mac with license file

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

@dlanileonardo
dlanileonardo / letsencrypt.md
Last active December 22, 2016 06:08 — forked from xrstf/letsencrypt.md
Let's Encrypt on Ubuntu 14.04, nginx with webroot auth

Let's Go

This document details how I setup LE on my server. Firstly, install the client as described on http://letsencrypt.readthedocs.org/en/latest/using.html and make sure you can execute it. I put it in /root/letsencrypt.

As it is not possible to change the ports used for the standalone authenticator and I already have a nginx running on port 80/443, I opted to use the webroot method for each of my domains (note that LE does not issue wildcard certificates by design, so you probably want to get a cert for www.example.com and example.com).

Configuration

For this, I placed config files into etc/letsencrypt/configs, named after <domain>.conf. The files are simple:

@dlanileonardo
dlanileonardo / setup-msmtp-for-gmail.sh
Last active August 15, 2016 00:08 — forked from JosefJezek/setup-msmtp-for-gmail.sh
Sending emails using Gmail and msmtp in Ubuntu/Debian.
#!/bin/sh
# Sending emails using Gmail and msmtp
# Author: [Josef Jezek](http://about.me/josefjezek)
# Donate: [Gittip](https://www.gittip.com/josefjezek)
# Link: [Gist](https://gist.github.com/6194563)
# Usage: setup-msmtp-for-gmail.sh
sudo apt-get update -q
sudo apt-get install msmtp-mta ca-certificates heirloom-mailx -yq
@dlanileonardo
dlanileonardo / README.md
Last active April 7, 2016 00:26
Configure my Ubuntu 15.04

Docker

  1. Express Install
$ curl -sSL https://get.docker.com/ | sh
  1. Create the docker group and add your user
@dlanileonardo
dlanileonardo / tmux-cheatsheet.markdown
Last active September 3, 2015 23:16 — forked from MohamedAlaa/tmux-cheatsheet.markdown
Tmux Shortcuts & CheatSheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@dlanileonardo
dlanileonardo / foward-to-azk.sh
Last active September 3, 2015 23:16
Cria um redirecionamento de porta para o Azk.
#!/bin/bash
INPUT_PORT=8000
# Usage info
show_help() {
cat << EOF
Uso: ${0##*/} [-arl]
Redirecionamento da porta $INPUT_PORT para um Serviço Azk.
-h display this help and exit
@dlanileonardo
dlanileonardo / VimTips.md
Last active September 3, 2015 23:17
Vim Tips, Shortcuts and Plugins

Based in my .vimrc

Basic movements:

  • h Move left
  • j Move down
  • k Move up
  • l Move right
  • $ Move to end of line
@dlanileonardo
dlanileonardo / Azkfile.js
Last active April 2, 2016 17:09
Rails Azkfile.js app with MySQL, Sidekiq,Mongodb and Redis
/**
* Documentation: http://docs.azk.io/Azkfile.js
*/
systems({
app: {
depends: [
'mongodb', 'mysql', 'redis', 'sidekiq'
],
image: { docker: "azukiapp/ruby:2.2"},
provision: [
@dlanileonardo
dlanileonardo / Azkfile.js
Last active September 3, 2015 23:17
Basic Azkfile.js to Rails App without Database
/**
* Documentation: http://docs.azk.io/Azkfile.js
*/
systems({
'rails-app': {
image: { docker: "azukiapp/ruby:2.2", },
provision: [
"bundle install --path /azk/bundler",
"bundle exec rake db:create db:migrate db:seed",
],