2017年4月23日 星期日

undefined reference to `rpl_malloc'


undefined reference to `rpl_malloc'
http://www.linuxquestions.org/questions/linux-software-2/undefined-reference-to-%60rpl_malloc%27-587256/

ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes ./configure --with-gnu-ld


2017年3月27日 星期一

MaaS

https://docs.ubuntu.com/static/maas-1.9/orientation_architecture-diagram.png

https://github.com/opencord/maas/blob/master/API.md

Debugging ephemeral image
Troubleshooting | MAAS | MAAS documentation
https://docs.ubuntu.com/maas/2.1/en/troubleshoot-faq#debugging-ephemeral-image

MaaS images at
/var/lib/maas/boot-resources/*/*/*/*/*/*/root-image

Running JNLP on Ubuntu 16.04 Firefox

firefox - Why can't I run Java Web Start Applications? - Ask Ubuntu
http://askubuntu.com/questions/259819/why-cant-i-run-java-web-start-applications
sudo apt install icedtea-8-plugin

2017年3月13日 星期一

iPhone on Google Spreadsheets


Iphone users not able to edit google spreadsheets - Google Product Forums
https://productforums.google.com/forum/#!topic/docs/h3T-a8FVslE

add Googlesheets:// in front of the file name or full sheet URL to force it to open in App.

2017年2月28日 星期二

[node.js] phantomjs doesn't has arm64 support

not recognizing arm64. · Issue #579 · Medium/phantomjs
https://github.com/Medium/phantomjs/issues/579

Unexpected platform or architecture: linux/arm64
It seems there is no binary available for your platform/architecture
Try to install PhantomJS globally
Phantomjs doesn't has arm64 support. Need to rebuild it manually.

Build | PhantomJS
http://phantomjs.org/build.html

2017年2月3日 星期五

ssh port forward

Local Port Forward
(On MYPC) ssh -L A:B:X:Y HOST
On  MYPC, map A:B to access X:Y via HOST
A is usually 0.0.0.0, 127.0.0.1, or any existing IP on HOST

ssh -L 8080:localhost:80 prod -o GatewayPorts=yes
ssh -L 0.0.0.0:8080:localhost:80 prod

Remote Port Forward
(On MYPC) ssh -R A:B:X:Y HOST
On HOST, map A:B to access X:Y via MYPC
A is usually 0.0.0.0, 127.0.0.1, or any existing IP on MYPC



tunnel - Reverse port tunnelling - Ask Ubuntu
http://askubuntu.com/questions/50064/reverse-port-tunnelling

Why can I not connect to a reverse SSH tunnel port remotely, even with GatewayPorts enabled? - Super User
http://superuser.com/questions/767524/why-can-i-not-connect-to-a-reverse-ssh-tunnel-port-remotely-even-with-gatewaypo

networking - How does reverse SSH tunneling work? - Unix & Linux Stack Exchange
http://unix.stackexchange.com/questions/46235/how-does-reverse-ssh-tunneling-work

Setup local APT repo

How to create a local APT repository? - Ask Ubuntu
http://askubuntu.com/questions/170348/how-to-create-a-local-apt-repository


sudo apt-get install dpkg-dev
sudo mkdir -p /usr/local/mydebs
cd /usr/local/mydebs
dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz


Add a line to /etc/apt/source.list, or source.list.d

deb [ trusted=yes ] file:/usr/local/mydebs ./
Adding the trusted=yes to avoid --force-yes.

2017年1月9日 星期一

gmail search


Selecting all inbox emails and removing a particular label if they have that label - Google Product Forums
https://productforums.google.com/forum/#!topic/gmail/wyS1AR6WT1E

in:inbox label:label-a

Finding Gmail Messages with No Label | Raised by TurtlesRaised By Turtles
http://raisedbyturtles.org/view-unlabeled-gmail
-has:userlabels -in:sent -in:chat -in:draft -in:inbox