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
bufferfile "$HOME/screen-exchange" | |
bind ^] eval 'writebuf -e utf8' 'exec sh -c "cat ~/screen-exchange | ~/invoke-pbcopy.sh"' 'echo pasted.' |
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
#define _POSIX_C_SOURCE 199309L | |
#include <stdio.h> | |
#include <time.h> | |
#include <string.h> | |
#include <memory.h> | |
#include <stdlib.h> | |
#include <sys/types.h> | |
#include <sys/socket.h> |
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
# PS1 | |
function ps_exit() { | |
a=$? | |
if [ $a -ne 0 ]; then | |
echo "/(T_T)\\" | |
else | |
echo "\\(^o^)/" | |
fi | |
exit $a; | |
} |
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
#!perl | |
use strict; | |
use warnings; | |
use Parallel::ForkManager; | |
use POSIX; | |
use String::Random; | |
my $c_start = 1; | |
my $c_end = 64; |
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 <iostream> | |
#include <vector> | |
#include <queue> | |
#include <algorithm> | |
#include <functional> | |
const int MAX_N = 500000; | |
const int MAX_D = 300; | |
std::vector<int> read_sorted(const int n) |
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 <sys/types.h> | |
#include <unistd.h> | |
int main() | |
{ | |
unsigned int gs10; | |
pid_t pid, pid10; | |
FILE *fp; | |
char buf[256]; |
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
CPU-Z TXT Report | |
------------------------------------------------------------------------- | |
Binaries | |
------------------------------------------------------------------------- | |
CPU-Z version 1.70.0.x64 | |
Processors | |
------------------------------------------------------------------------- |
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
{ | |
"id": "fedoraapache", | |
"kind": "Pod", | |
"apiVersion": "v1beta1", | |
"desiredState": { | |
"manifest": { | |
"version": "v1beta1", | |
"id": "fedoraapache", | |
"containers": [{ | |
"name": "fedoraapache", |
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 <iostream> | |
#include <algorithm> | |
#include <random> | |
#include <vector> | |
#include <fstream> | |
#include <set> | |
#include <unordered_set> | |
#include <string> | |
#include <ctime> | |
#include <cstdio> |
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
FROM registry.access.redhat.com/rhel | |
RUN yum -y install httpd | |
ADD index.html /var/www/html/index.html | |
EXPOSE 80 | |
CMD ["/usr/sbin/httpd", "-DFOREGROUND"] |
OlderNewer