A rather dirty way to patch module code at runtime.
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 | |
# Remote host configuration | |
HOST=10.60.21.196 | |
USER=ubuntu | |
TARGET=/opt/abiquo/tomcat/webapps | |
# Local path to workspace | |
CE=/home/ibarrera/workspace/abiquo | |
EE=/home/ibarrera/workspace/abiquo-enterprise |
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
1) Create a branch with the tag | |
git branch {tagname}-branch {tagname} | |
git checkout {tagname}-branch | |
2) Include the fix manually if it's just a change .... | |
git add . | |
git ci -m "Fix included" | |
or cherry-pick the commit, whatever is easier | |
git cherry-pick {num_commit} | |
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
DROP TABLE IF EXISTS `kinton`.`debug_msg`; | |
CREATE TABLE `debug_msg` ( | |
`msg` varchar(255) NOT NULL | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ; | |
INSERT INTO debug_msg (msg) VALUES (CONCAT('message: ',IFNULL(variable, 'NULL'))); |
Please take a minute and send me some feedback here
Connect with me on LinkedIn or Twitter
Send me an email
Book a call
Get all the most current info here
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
#[user] | |
# signingkey = xxxxx | |
# email = contact@danielestevez.com | |
# name = Dani Estevez | |
[user] | |
name = daniel.estevez |
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
' https://medium.com/@bhupathy/install-terminator-on-windows-with-wsl-2826591d2156 | |
set shell = CreateObject("Wscript.Shell") | |
xServerProcessName = "vcxsrv.exe" | |
RunXserverProcess( xServerProcessName ) | |
RunTerminator() | |
KillXserverProcess( xServerProcessName ) |
- Kill all containers for a given
<image-name>
docker rm $(docker stop $(docker ps -a -q --filter ancestor=<image-name> --format="{{.ID}}"))
- Login to a docker container
docker exec -it container_id /bin/bash