106 karma · joined May 1, 2017 (9y ago) · 25 submissions
https://github.com/Stephen-Seo
comment 1y ago · link · parent
The function signature is `void(MyType*)` if it is used like:
__attribute__((cleanup(MyTypeCleanupFunction)))
MyType myType;
If it's a pointer, it'll call the cleanup as a double ptr, and etc.
Note that the specified cleanup function can do anything you want to, though the intended purpose is to cleanup the variable when it goes out of scope.comment 2y ago · link · parent
# ~/.ssh/config
Host github_ssh
HostName github.com
User git
IdentityFile ~/.ssh/my_github_key
> git remote add github github_ssh:Username/RepoName.git
This has worked reliably for me for quite a while now.comment 2y ago · link · parent
comment 2y ago · link · parent
$ TEST_VAR="$(printf 'first\0second')"
bash: warning: command substitution: ignored null byte in input
I'm not familiar with working with null characters in Bash in this way, but I think there might be a way to do it.comment 2y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
EDIT: Oh right, it also requires FFmpeg to be installed as it uses it. And libpng. And CMake. And PkgConfig.
[1]: https://github.com/Stephen-Seo/EN605.617.81.FA21_StephenSeo_...
comment 4y ago · link · parent
1. gpg-agent must act as your ssh-agent (which means ssh-agent should be disabled and replaced by gpg-agent).
2. If using `pinentry-curses` (YubiKey usually permits access to the contained GPG key via the use of a pin), you must have `export GPG_TTY=$(tty)` (or your shell's equivalent of setting the GPG_TTY environment value to the output of `tty`).
3. You can fetch the public key of your GPG key with `ssh-add -L` (gpg-agent must be acting as your ssh-agent, and the YubiKey with the GPG key has to be plugged in).
4. You must have the line `enable-ssh-support` in your `$GNUPGHOME/gpg-agent.conf`.
I used a guide[1] to set up a GPG key on to a YubiKey, and for those who don't want to use GPG, the guide also has a section[2] about just using an SSH key as well.
comment 4y ago · link · parent
> For a server, the process exposed to the outside world runs as an unprivileged user (unbound or nobody). The process is started by a separate process running as root (as explained by @Ferroin above). The starting process is never exposed to outside.
> The same is true for Firejail. By the time the unprivileged server process starts, Firejail is already sleeping.
And I think Docker has a similar problem as mentioned in the "warning" section in [2]:
> Warning: Anyone added to the docker group is root equivalent because they can use the docker run --privileged command to start containers with root privileges. For more information see [3] and [4].
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
EDIT: Try this: https://pkgstats.archlinux.de/compare/packages#packages=dmd,...
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 5y ago · link · parent
EDIT: Ah, the blog post does indicate that ECH is a work in progress.
comment 5y ago · link · parent
comment 5y ago · link · parent
No possible panics should ever exist in kernel space, because then the whole OS would just stop working.
Note that Redox-OS is written completely in Rust.comment 6y ago · link · parent
comment 6y ago · link · parent
EDIT: I briefly forgot this, but there is a similar Korean word "내가" which is "me" or "I", and pronounced "ne-gah". Example usage: 내가 이 밥을 먹었어요. (I ate this food. "Ne-ga ee bap-uhl mug-uss-uh-yo")
EDIT2: Korean is not my native language so forgive me for this, but "you" is usually just 니 ("nee"), and "me" or "I" is just 내 ("ne"), but the 가 ("gah") part is used like a conjunction to connect to the rest of the phrase.
EDIT3: Ok, so I talked with a better Korean speaker about this and 니가 "nee-ga" is sort of a regional dialect (kind of like a slang term) for 너가 "nuh-ga". 니가 "nee-ga" is more commonly used in southern parts of South Korea, as the proper way of saying/spelling "you" is 너가 "nuh-ga". My Korean is influenced with the southern regional dialect as my parents were from that region. Sorry for the possible confusion. (So just "you" is 너 "nuh".)
EDIT4: PSY (of Gangnam Style fame) has a song titled "Champion" that uses 니가 "nee-ga" a lot:https://youtu.be/uA4fV7Y14eg?t=49
comment 6y ago · link · parent
comment 8y ago · link · parent
EDIT: To clarify, my setup requires inputting passwords twice: once for decrypting the root partition, and once to login after everything has booted. During the boot process the system needs to remount everything, so I had the encrypted partition(s) also be decrypted with a key file (typically `dd if=/dev/urandom of=keyfile bs=1M count=4`; LUKS encryption can have multiple keyfiles/passwords to decrypt) and had the key file(s) put in the initramfs so after GRUB has decrypted root and loaded /boot/grub.cfg, the booted system could decrypt and mount everything needed with the key file(s).
comment 9y ago · link · parent
You should be able to remove this rule in uMatrix's settings in the "my rules" tab. Just click on the rules you want to remove on the table on the right and click on commit to save your changes.