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 | |
# ldd drop-in replacement for cross-compilation toolchains. | |
# This file is a slightly modified version of xldd.in from | |
# crosstool-ng 1.22.0 | |
# In order to use it, copy it in same directory than other | |
# toolchain binaries and rename it with same tuple. | |
# (i.e. /opt/arm-sysmic-linux-gnueabihf/bin/arm-sysmic-linux-gnueabihf-ldd) |
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
/* | |
* @author duruyao | |
* @file insertion_sort.cpp | |
* @desc | |
* @date 2021-10-02 | |
* @version 1.0 | |
*/ | |
#include <vector> | |
#include <iostream> |
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
/* | |
* @author duruyao | |
* @file quick_sort.cpp | |
* @desc | |
* @date 2021-10-02 | |
* @version 1.0 | |
*/ | |
#include <vector> | |
#include <iostream> |
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
/* | |
* @author duruyao | |
* @file heap_sort.cpp | |
* @desc | |
* @date 2021-10-02 | |
* @version 1.0 | |
*/ | |
#include <vector> | |
#include <iostream> |
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
/* | |
* @author duruyao | |
* @file merge_sort.cpp | |
* @desc | |
* @date 2021-10-02 | |
* @version 1.0 | |
*/ | |
#include <vector> | |
#include <iostream> |
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
/* | |
* @author duruyao | |
* @file top_k_by_BFPRT.cpp | |
* @desc | |
* @date 2021-10-02 | |
* @version 1.0 | |
*/ | |
#include <vector> | |
#include <iostream> |
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
/* | |
* @author duruyao | |
* @file binary_search.cpp | |
* @desc | |
* @date 2021-10-07 | |
* @version 1.0 | |
*/ | |
#include <vector> | |
#include <iostream> |
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
/* | |
* @author duruyao | |
* @file BST.cpp | |
* @desc | |
* @date 2021-10-07 | |
* @version 1.0 | |
*/ | |
#include <vector> | |
#include <iostream> |
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
#!/usr/bin/env bash | |
## date: 2021-12-06 | |
## author: duruyao@gmail.com | |
## desc: the shortcut to attach docker container | |
## | |
## usage: dk-attach [CONTAINER] | |
## |
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
#!/usr/bin/env python3 | |
# date: 2022-07-08 | |
# author: duruyao@gmail.com | |
# desc: command line game for typing practice | |
import os | |
import sys | |
import time | |
import random | |
import string |
OlderNewer