$ uname -a
Linux ArchLinux_MJ 4.0.4-2-ARCH #1 SMP PREEMPT Fri May 22 03:05:23 UTC 2015 x86_64 GNU/Linux
$ pwd
/home/mingjie/Programming/mupdf-1.7a-source
$ sudo make build=release
...
$ sudo make build=release install 2 ↵
CC build/release/pdf/pdf-cmap-table.o
RM build/release/libmupdf.a
This file contains hidden or 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
$ g++ -Wall -O2 -std=c++11 -o regex_test_perf regex_test_perf.cpp stopwatch.hpp | |
$ ./regex_test_perf.exe | |
[regex e1 ] resume... | |
[regex e1 ] paused. 0m00.306s / 306.031 x 1/1000s | |
[regex e2 ] resume... | |
[regex e2 ] paused. 0m00.144s / 144.014 x 1/1000s | |
[string find ] resume... | |
[string find ] paused. 0m00.014s / 14.001 x 1/1000s | |
[regex e1 ] resume... |
This file contains hidden or 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
$ ./dup dup*.txt | |
[Found in 1 file(s)] yyy | |
5 hit(s) in dup4.txt | |
[Found in 2 file(s)] aaa | |
5 hit(s) in dup1.txt | |
1 hit(s) in dup2.txt | |
[Found in 3 file(s)] ccc | |
1 hit(s) in dup3.txt | |
1 hit(s) in dup1.txt | |
1 hit(s) in dup2.txt |
This file contains hidden or 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 <random> | |
#include <map> | |
#include <chrono> | |
int main() | |
{ | |
// Random Device | |
std::random_device rd; |
This file contains hidden or 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
echo "Installing Homebrew and Cask..." | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
install brew-cask | |
echo "Upgrading bash..." | |
brew install bash | |
brew install bash-completion | |
echo "Installing CLI Tools..." | |
brew install asciiquarium |
This file contains hidden or 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 QMK_KEYBOARD_H | |
// Helpful Defines | |
#define _______ KC_TRNS | |
#define FN_CAPS LT(1, KC_CAPS) | |
#define LSFT_GRV LSFT_T(KC_GRV) | |
#define RSFT_SLSH RSFT_T(KC_SLSH) | |
#define RSFT_UP RSFT_T(KC_UP) | |
// Mac Keyboard Shorts |
OlderNewer