| # Example networking sidecar ingress containers for Cloudflare Argo, Wireguard, Tailscale, LetSencrypt, Caddy, and SOCKS/SSH tunnel containers in Docker Compose. | |
| # https://gist.github.com/pirate/1996d3ed6c5872b1b7afded250772f7c | |
| # Goes well with these docker-compose database container examples: | |
| # https://gist.github.com/pirate/1fafaa18a47254f388aa5c0f79f7d263 | |
| version: '2.4' | |
| services: | |
| demo: |
This is the source code of one of my blog post. To read the full blog post please click here.
| #!/bin/bash | |
| # Inspired on: https://www.bountysource.com/issues/31269729-libwx_osx_cocoau-3-1-dylib-not-found | |
| KICAD_LIBS_TOFIX="libwx_osx_cocoau_gl-3.0.0 libwx_osx_cocoau_adv-3.0.0 libwx_osx_cocoau_aui-3.0.0 libwx_osx_cocoau_adv-3.0.0 libwx_osx_cocoau_html-3.0.0 libwx_osx_cocoau_core-3.0.0 libwx_osx_cocoau_stc-3.0.0 libkicad_3dsg.2.0.0 libGLEW.2.0.0 libcairo.2 libpixman-1.0 libwx_baseu_net-3.0.0 libwx_baseu-3.0.0 libwx_baseu_xml-3.0.0" | |
| #KICAD_LIBS_TOFIX=`find /Applications/Kicad/kicad.app/Contents/Frameworks/ -iname *.dylib | xargs otool -L | grep executable_path | awk '{print $1}' | awk -F'/' '{print $4}'` | |
| for kicadlib in $KICAD_LIBS_TOFIX; | |
| do | |
| echo "Fixing ${kicadlib} broken path on pcbnew..." |
Note: This is the guide for v 2.x.
For the v3, please follow this url: https://blog.csdn.net/sam_shan/article/details/80585240 Thanks @liy-cn for contributing.
For the v6, please follow the comment below: https://gist.github.com/trandaison/40b1d83618ae8e3d2da59df8c395093a?permalink_comment_id=5079514#gistcomment-5079514
Download: StarUML.io
| function testJiraConnection() | |
| { | |
| var baseURL = "https://yourserver/rest/api/2/search"; | |
| var username = "username"; | |
| var password = "pass"; | |
| var encCred = Utilities.base64Encode(username+":"+password); | |
| var fetchArgs = { | |
| contentType: "application/json", | |
| headers: {"Authorization":"Basic "+encCred}, |
| %.hex: %.asm | |
| avra -fI $< | |
| rm *.eep.hex *.obj *.cof | |
| all: $(patsubst %.asm,%.hex,$(wildcard *.asm)) | |
| upload: ${program}.hex | |
| avrdude -c arduino -p m328p -P /dev/arduino-uno -b 115200 -U flash:w:$< | |
| monitor: |
| # Tested on OSX Yosemite 10.10.4 | |
| # there is also an updated version (work in progress) for El Capitan here https://gist.github.com/guycalledseven/31ffe35eca056838b06b | |
| # XXX TODO | |
| # should I disable com.google.Keystone.Agent ?? | |
| # http://applehelpwriter.com/2014/07/13/how-to-remove-googles-secret-update-software-from-your-mac/ | |
| # Stop DS_Store file creation on network connections | |
| # restart Finder afterwards |