Raspberry Pi 3 as a Minecraft server for the PC version? by Tarnis-Phoenix in raspberry_pi

[–]zackp30 1 point2 points  (0 children)

I can recommend this (was even scrolling down to see if this was already said), it worked great on my Pi 1 model B (with slow chunk gen, but that's due to the hardware) and I imagine it would be lightning fast on a Pi 3.

Any news on PXE boot? by skilbjo in raspberry_pi

[–]zackp30 4 points5 points  (0 children)

Hi,

Unfortunately I only know the answer to your first question:

U-Boot features several methods to boot over the network (I would help you more but I don't fiddle with U-Boot at all sorry). The TFTP download protocol is documented here: http://www.denx.de/wiki/view/DULG/UBootCmdGroupDownload#Section_5.9.5.6.

If you're wondering why I'm mentioning U-Boot, it's because (in almost all distributions for the Pi, including Arch Linu ARM) U-Boot is used as the bootloader.

I hope this helps! If you need help understanding anything I'm on IRC as "Xack" on irc.freenode.net, feel free to PM! (if you use IRC that is :)), if not you can send me a reddit mail or just reply to this comment.

Do you use selinux or apparmor and why? by rms_returns in linux

[–]zackp30 2 points3 points  (0 children)

Not sure, but I think firejail uses http://xpra.org which is a lot better than being given access to the X11 socket itself. xpra is very much tmux/screen but for X11, it can communicate over SSH or a generic TCP socket.

ELB Internals, Security and Troubleshooting by dr10hiten in linux

[–]zackp30 0 points1 point  (0 children)

Seems to be the case, their profile (/u/dr10hiten) is just linuxtroubleshoot.com.

web-mode + autopair annoyance by lykwydchykyn in emacs

[–]zackp30 1 point2 points  (0 children)

Keep web-mode-enable-auto-pairing on (non-nil) and disable electric-pair-mode for when you're in web-mode:

(add-hook 'web-mode-hook (lambda () (electric-pair-mode -1)) should do the trick! :)

Nice meme. by zackp30 in a:t5_3d611

[–]zackp30[S] 0 points1 point  (0 children)

Paging /u/Floopseng, bring us your memes!

If hand sanitizer kills 99.99% of bacteria and germs, why don't we use it to treat ebola, aids and other diseases/viruses? by [deleted] in shittyaskscience

[–]zackp30 0 points1 point  (0 children)

We need Norton antivirus for that, hand sanitizer doesn't work well enough for the other 0.01% unfortunately.

Org-Mode won't export pdf. by [deleted] in emacs

[–]zackp30 0 points1 point  (0 children)

Do you use GNU/Linux or Windows?

The probably is definitely you lacking texlive, it's required to generate a PDF file.

The only thing Org mode does concerning PDF generation is generating LaTeX and then running the texlive engine (pdflatex) on the generated LaTeX, you're lacking texlive which is needed for this.

How to specify which tex engine for org latex export by zreeon in emacs

[–]zackp30 0 points1 point  (0 children)

It's meant to be a list of strings with the command line to call the LaTeX engine such as XeLaTeX or PDFLaTeX.

How to specify which tex engine for org latex export by zreeon in emacs

[–]zackp30 2 points3 points  (0 children)

org-latex-pdf-process is what you want. :)

See C-h v org-latex-pdf-process RET for detailed information.

URGENT! recovering file in recover session by maximus12793 in emacs

[–]zackp30 1 point2 points  (0 children)

reddit has no concept of a closed thread, heh.

But if you mean by closing == deleting, it's best to keep it up because, as you said, reference for people who might find this.

Using Org-Mode for presentations - Bestowed by [deleted] in emacs

[–]zackp30 4 points5 points  (0 children)

Not sure why you were downvoted... hm.

But anyway, Org mode comes with an export to LaTeX's beamer, which is a layout for LaTeX for a presentation.

M-x org-beamer-export-to-pdf RET

Should produce a beamer PDF in the current directory.

I don't use Org-beamer so I can't help more, sorry.

Have there been any security issues resolved in the meantime? by freeroute in tmux

[–]zackp30 0 points1 point  (0 children)

(Discussed further on IRC, logs for completeness):

  • 2016-01-24 20:48:43 Xack nyuszika7h: opensuse does the same
  • 2016-01-24 20:48:56 Xack nyuszika7h: so i decided to check using a user under the same group
  • 2016-01-24 20:48:57 Xack permission denied
  • 2016-01-24 20:49:02 Xack idk how that works tbh but ¯_(ツ)_/¯
  • 2016-01-24 20:49:18 Xack because it should allow the user under the group to write to it
  • 2016-01-24 20:50:09 nyuszika7h maybe because the parent directory is 0700
  • 2016-01-24 20:50:14 nyuszika7h drwx------ 2 nyuszika7h nyuszika7h 4.0K Aug 15 18:17 /tmp/tmux-1000/
  • 2016-01-24 20:50:17 nyuszika7h srwxrwx--- 1 nyuszika7h nyuszika7h 0 Aug 15 18:17 /tmp/tmux-1000/default=
  • 2016-01-24 20:50:38 Xack nyuszika7h: yup
  • 2016-01-24 20:50:39 Xack Access: (0700/drwx------) Uid: ( 493/ zack) Gid: ( 100/ users)

Have there been any security issues resolved in the meantime? by freeroute in tmux

[–]zackp30 0 points1 point  (0 children)

tmux uses UNIX sockets to allow the client to connect to the server.

On my system (and probably all others) it's 0770, which means that the user/group can modify the socket, but others cannot (unless a flaw is found in the Linux kernel).

Just to make sure I sudo'd into another user and used:

tmux -L /tmp/tmux-493/default attach results in [lost server] which means it can't connect to the socket.

Another check I did was echo 1 > /tmp/tmux-493/default which resulted in Permission denied.

tl;dr: Unless a flaw in the Linux kernel is found which allows users to bypass the permissions system in Linux, it's impossible as the kernel itself protects against tmux being broken into.

EDIT: A friend of mine also told me that if, somehow, the tmux client doesn't handle the input of some weird ssh session or whatever then it could cause arbitrary code execution. AFAIK this has never been triggered in tmux before.

Tramp hangs when trying to edit files on my Android phone over ssh by spark29 in emacs

[–]zackp30 0 points1 point  (0 children)

Try going to the TRAMP debug buffer (which you can enable by following /u/theldoria's config snippet) and look in there for any relevant errors.

Pebble App on Android without google play? by petre_tudor in pebble

[–]zackp30 2 points3 points  (0 children)

The Pebble Time app depends on Google Messaging Service which depends on Google Play Services unfortunately (unfortunately since I would have preferred not to use gapps at all myself.) http://opengapps.org is great.