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 | |
if [ $# -eq 0 ]; then | |
ykman oath list | |
else | |
ykman oath code $1 2>/dev/null | awk '{print($2)}' | tr -d "\n" | xclip -selection clipboard &> /dev/null | |
echo -e "\n" | |
fi |
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
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#include <sys/socket.h> | |
#include <sys/types.h> | |
#include <sys/un.h> | |
#include <unistd.h> | |
#include <poll.h> | |
#define BUFFLEN 128 |
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
### Keybase proof | |
I hereby claim: | |
* I am lkw657 on github. | |
* I am lkw (https://keybase.io/lkw) on keybase. | |
* I have a public key ASAgbwn6mwOKuXNNk4yKqypk-aDM5Lz-UsVlfUUsQJsjogo | |
To claim this, I am signing this object: |