(Private package requirement)
{
"repositories": [
{
"type": "vcs", | #!/bin/bash | |
| ## Alternative Versions | |
| # only allows space separated variable name list | |
| # example: destruct a b c = arr | |
| destruct() { | |
| for ((i=1;i < $#-1; ++i)) do | |
| local value_adress="${!#}[$i-1]" | |
| declare -g "${!i}=${!value_adress}" | |
| done |
| 1. Put app.ico in directory. | |
| 2. Create app.rc in same directory with one line: | |
| IDI_ICON1 ICON DISCARDABLE "app.ico" | |
| 3. Run command (Warning: it's app.o, not app.res, how it is mentioned in other manuals!) | |
| windres app.rc -o app.o | |
| 4. add_executable(app | |
| ... |
| #!/bin/bash | |
| # | |
| # sphinxid <firman.gautama@gmail.com> | |
| # | |
| # Example: ./count_per_second_nginx_log.sh /var/log/nginx/*.log | |
| # | |
| RAND_STR=`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1` | |
| INTERVAL=10 #seconds |