Skip to content

Instantly share code, notes, and snippets.

View rodrigogalura's full-sized avatar
💻
Happy Coding

Rodrigo Galura rodrigogalura

💻
Happy Coding
View GitHub Profile
@rodrigogalura
rodrigogalura / ToggleVintageCommand.py
Created July 29, 2024 22:07 — forked from blunket/ToggleVintageCommand.py
Sublime Text 3 - Toggle Vintage Mode Plugin
import sublime
class ToggleVintageCommand(sublime_plugin.TextCommand):
def run(self, edit):
settings = sublime.load_settings('Preferences.sublime-settings')
ignored = settings.get("ignored_packages")
if "Vintage" in ignored:
ignored.remove("Vintage")
else:
ignored.append("Vintage")
If you are facing the following error while trying to connect to a MySQL server using the MySQL Workbench snap and Ubuntu Focal Fossa: "mysql workbench an apparmor policy prevents this sender [...]"
You might try the following solution:
1 - On a new terminal window, run the following commands:
# snap connect mysql-workbench-community:password-manager-service
# snap connect mysql-workbench-community:ssh-keys
By using snap connect, you will fix the issue with the MySQL Workbench snap, allowing you to connect to the server(s).
pages:[
{src:"https://digitalpapertest.s3-ap-southeast-1.amazonaws.com/ph-revised/1.jpg", thumb:"https://digitalpapertest.s3-ap-southeast-1.amazonaws.com/catph/1.jpg", title:"1.jpg"},
{src:"https://digitalpapertest.s3-ap-southeast-1.amazonaws.com/ph-revised/2.jpg", thumb:"https://digitalpapertest.s3-ap-southeast-1.amazonaws.com/catph/2.jpg", title:"2.jpg"},
{src:"https://digitalpapertest.s3-ap-southeast-1.amazonaws.com/ph-revised/3.jpg", thumb:"https://digitalpapertest.s3-ap-southeast-1.amazonaws.com/catph/3.jpg", title:"3.jpg"},
{src:"https://digitalpapertest.s3-ap-southeast-1.amazonaws.com/ph-revised/4.jpg", thumb:"https://digitalpapertest.s3-ap-southeast-1.amazonaws.com/catph/4.jpg", title:"4.jpg"},
{src:"https://digitalpapertest.s3-ap-southeast-1.amazonaws.com/ph-revised/5.jpg", thumb:"https://digitalpapertest.s3-ap-southeast-1.amazonaws.com/catph/5.jpg", title:"5.jpg"},
{src:"https://di
@rodrigogalura
rodrigogalura / git-deployment.md
Created January 5, 2021 09:45 — forked from noelboss/git-deployment.md
Simple automated GIT Deployment using Hooks

Simple automated GIT Deployment using GIT Hooks

Here are the simple steps needed to create a deployment from your local GIT repository to a server based on this in-depth tutorial.

How it works

You are developing in a working-copy on your local machine, lets say on the master branch. Most of the time, people would push code to a remote server like github.com or gitlab.com and pull or export it to a production server. Or you use a service like deepl.io to act upon a Web-Hook that's triggered that service.