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
| " | |
| " becxer's vim options | |
| " | |
| " @ author becxer | |
| " @ email becxer87@gmail.com | |
| " | |
| "Customize toggle shortcut | |
| noremap <c-f> :tabNext<cr> | |
| noremap <c-n> :set invnumber<cr> :set list!<cr> |
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 <fstream> | |
| #include <iostream> | |
| #define VERSION "ARGV" //FILE, STDIN, ARGV | |
| using namespace std; | |
| char* INPUT_TEXT = "test.in"; | |
| char* OUTPUT_TEXT = "test.out"; | |
| int solution(istream& in, ostream& out){ |
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
| #!/usr/bin/python | |
| # | |
| # use to run python program forever | |
| # @author becxer | |
| # @email becxer87@gmail.com | |
| # | |
| import signal | |
| import sys | |
| import subprocess | |
| import time |
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
| #!/bin/bash | |
| FROM=UTF-16 | |
| TO=UTF-8 | |
| ICONV="iconv -f $FROM -t $TO" | |
| # Convert | |
| find ./ -type f -name "*.txt" | while read fn; do | |
| cp ${fn} ${fn}.bak | |
| $ICONV < ${fn}.bak > ${fn} | |
| rm ${fn}.bak | |
| done |
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
| #!/usr/bin/python | |
| # | |
| # use to check process info logging | |
| # @author becxer | |
| # @email becxer87@gmail.com | |
| # | |
| import os | |
| import datetime | |
| import time |
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
| #!/usr/bin/python | |
| # | |
| # used to make dem for gnuplot script more easier | |
| # | |
| # @author becxer | |
| # @email becxer87@gmail.com | |
| # | |
| import sys | |
| import os | |
| import subprocess |
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
| #!/bin/bash | |
| # | |
| # web api auto requester | |
| # | |
| # @author becxer | |
| # @email becxer87@gmail.com | |
| # | |
| if [ $# -le 1 ] | |
| then | |
| echo "" |
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
| # Built application files | |
| /*/build/ | |
| # Crashlytics configuations | |
| com_crashlytics_export_strings.xml | |
| # Local configuration file (sdk path, etc) | |
| local.properties |
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
| export CUDA_HOME=/usr/local/cuda | |
| export LD_LIBRARY_PATH=${CUDA_HOME}/lib64 | |
| PATH=${CUDA_HOME}/bin:${PATH} | |
| export PATH |