It was the Bitcointalk forum that inspired us to create Bitcointalksearch.org - Bitcointalk is an excellent site that should be the default page for anybody dealing in cryptocurrency, since it is a virtual gold-mine of data. However, our experience and user feedback led us create our site; Bitcointalk's search is slow, and difficult to get the results you need, because you need to log in first to find anything useful - furthermore, there are rate limiters for their search functionality.
The aim of our project is to create a faster website that yields more results and faster without having to create an account and eliminate the need to log in - your personal data, therefore, will never be in jeopardy since we are not asking for any of your data and you don't need to provide them to use our site with all of its capabilities.
We created this website with the sole purpose of users being able to search quickly and efficiently in the field of cryptocurrency so they will have access to the latest and most accurate information and thereby assisting the crypto-community at large.
#!/bin/bash
# clean up behavioral- and read in variables
clear
unset diablominer_menu
unset diablominer_menu_feedback
export user_defaults_domain_list=$(defaults domains)
export user_defaults_currenthost_domain_list=$(defaults -currentHost domains)
# functions
diablominer_read_preferences()
{
export diablominer_hostname=$(defaults read oss.bitcoin-utils.diablominer 'ServerHostName')
export diablominer_hostport=$(defaults read oss.bitcoin-utils.diablominer 'ServerHostPort')
export diablominer_username=$(defaults -currentHost read oss.bitcoin-utils.diablominer 'MinerName')
export diablominer_userpass=$(defaults -currentHost read oss.bitcoin-utils.diablominer 'MinerPassword')
export diablominer_worksize=$(defaults read oss.bitcoin-utils.diablominer 'WorkSize')
export diablominer_fps=$(defaults read oss.bitcoin-utils.diablominer 'Fps')
export diablominer_vectors=$(defaults read oss.bitcoin-utils.diablominer 'Vectors')
}
diablominer_set_up_wizard()
{
clear
echo 'DiabloMiner set up wizard'
echo 'GPU based Bitcoin miner.'
echo '-------------------------'
while :
do
read -p "Server host name or IP address [$diablominer_hostname]: " diablominer_set_hostname
if [ -n $diablominer_hostname ]; then if [ -z $diablominer_set_hostname ]; then
diablominer_set_hostname=$diablominer_hostname
fi; fi
if [ -n "$diablominer_set_hostname" ]; then
if [[ ! "$diablominer_set_hostname" =~ ^(https?)://? ]]; then # matches input without a supported protocol
if [[ ! "$diablominer_set_hostname" =~ :[0-9]{2,6}$ ]]; then # checks that there is no protocol number.
break
fi; fi; fi
echo 'Error: Enter a valid domain name without specifying a port number or protocol (will default to http.)'
done
while :
do
read -p "Server port number [$diablominer_hostport]: " diablominer_set_hostport
if [ -n $diablominer_hostport ]; then if [ -z $diablominer_set_hostport ]; then
diablominer_set_hostport=$diablominer_hostport
fi; fi
if [[ "$diablominer_set_hostport" =~ ^[0-9]{2,6} ]]; then # matches numerials with length 2-6
break
fi
echo 'Error: Enter a port number from two to six digits.'
done
while :
do
read -p "Miner username [$diablominer_username]: " diablominer_set_username
if [ -n $diablominer_username ]; then if [ -z $diablominer_set_username ]; then
diablominer_set_username=$diablominer_username
fi; fi
if [ -n "$diablominer_set_username" ]; then
break
fi
echo 'Error: Enter a username.'
done
while :
do
read -p "Miner password: " diablominer_set_userpass
if [ -n $diablominer_userpass ]; then if [ -z $diablominer_set_userpass ]; then
diablominer_set_userpass=$diablominer_userpass
fi; fi
if [ -n "$diablominer_set_userpass" ]; then
break
fi
echo 'Error: Enter a password.'
done
# offer LaunchAgent
if [ ! -f "$HOME/Library/LaunchAgents/oss.bitcoin-utils.diablominer.plist" ]; then
echo ''
read -p 'Start mining automatically on log-in? [yes/NO]: ' diablominer_wizard_startup
case $diablominer_wizard_startup in
[y/Y]|[y/Y][e/E][s/S]) cp $(dirname $0)/../Resources/loginitem.plist $HOME/Library/LaunchAgents/oss.bitcoin-utils.diablominer.plist ;;
esac
unset diablominer_wizard_startup
fi
echo '----------------------'
echo 'Advanced settings, use AUTO if you do not know your settings'
echo '----------------------'
# Set worksize (AUTO don't work in 10.7)
while :
do
read -p "Override worksize (AUTO for automatic) [$diablominer_worksize]: " diablominer_set_worksize
if [ -n $diablominer_worksize ]; then if [ -z $diablominer_set_worksize ]; then
diablominer_set_worksize=$diablominer_worksize
fi; fi
if [ -z "$diablominer_set_worksize" ]; then
diablominer_set_worksize="AUTO"
echo 'Using automatic settings'
fi
value_worksize=`echo $diablominer_set_worksize | tr '[:lower:]' '[:upper:]'`
if [ "$value_worksize" == "AUTO" ]; then
diablominer_set_worksize="AUTO"
fi
if [ -n "$diablominer_set_worksize" ]; then
break
fi
done
# Set vector size
while :
do
read -p "Vector size in kernel (1-6 or AUTO for automatic) [$diablominer_vectors]: " diablominer_set_vectors
if [ -n $diablominer_vectors ]; then if [ -z $diablominer_set_vectors ]; then
diablominer_set_vectors=$diablominer_vectors
fi; fi
if [ -z "$diablominer_set_vectors" ]; then
diablominer_set_vectors="AUTO"
echo 'Using automatic settings'
fi
value_vectors=`echo $diablominer_set_vectors | tr '[:lower:]' '[:upper:]'`
if [ "$value_vectors" == "AUTO" ]; then
diablominer_set_vectors="AUTO"
fi
if [ -n "$diablominer_set_vectors" ]; then
break
fi
done
# Set FPS
while :
do
read -p "Target execution timing (AUTO for automatic) [$diablominer_fps]: " diablominer_set_fps
if [ -n $diablominer_fps ]; then if [ -z $diablominer_set_fps ]; then
diablominer_set_fps=$diablominer_fps
fi; fi
if [ -z "$diablominer_set_fps" ]; then
diablominer_set_fps="AUTO"
echo 'Using automatic settings'
fi
value_fps=`echo $diablominer_set_fps| tr '[:lower:]' '[:upper:]'`
if [ "$value_fps" == "AUTO" ]; then
diablominer_set_fps="AUTO"
fi
if [ -n "$diablominer_set_fps" ]; then
break
fi
done
# writing user defaults
defaults write oss.bitcoin-utils.diablominer 'ServerHostName' -string $diablominer_set_hostname
defaults write oss.bitcoin-utils.diablominer 'ServerHostPort' -integer $diablominer_set_hostport
defaults -currentHost write oss.bitcoin-utils.diablominer 'MinerName' -string $diablominer_set_username
defaults -currentHost write oss.bitcoin-utils.diablominer 'MinerPassword' -string $diablominer_set_userpass
defaults write oss.bitcoin-utils.diablominer 'WorkSize' -string $diablominer_set_worksize
defaults write oss.bitcoin-utils.diablominer 'Vectors' -string $diablominer_set_vectors
defaults write oss.bitcoin-utils.diablominer 'Fps' -string $diablominer_set_fps
}
# runtime
if [[ ! "$user_defaults_domain_list" =~ 'oss.bitcoin-utils.diablominer' ]]; then # first run
diablominer_set_up_wizard
diablominer_read_preferences
elif [[ "$user_defaults_domain_list" =~ 'oss.bitcoin-utils.diablominer' ]]; then
# upgrade user defaults from versions < 1.5
if [[ ! "$user_defaults_currenthost_domain_list" =~ 'oss.bitcoin-utils.diablominer' ]]; then
defaults -currentHost write oss.bitcoin-utils.diablominer 'MinerName' -string $(defaults read oss.bitcoin-utils.diablominer 'UserName')
defaults -currentHost write oss.bitcoin-utils.diablominer 'MinerPassword' -string $(defaults read oss.bitcoin-utils.diablominer 'UserPassword')
export user_defaults_currenthost_domain_list=$(defaults -currentHost domains)
defaults delete oss.bitcoin-utils.diablominer 'UserName'
defaults delete oss.bitcoin-utils.diablominer 'UserPassword'
fi
# runtime configuration: reading user defaults
if [[ "$user_defaults_currenthost_domain_list" =~ 'oss.bitcoin-utils.diablominer' ]]; then
diablominer_read_preferences
else # not fully configured
diablominer_set_up_wizard
diablominer_read_preferences
fi
# start-up menu
while :
do
clear
echo 'DiabloMiner (GPU) menu'
echo '----------------------'
echo '1) Set up wizard / configuration'
echo '2) How to support article (opens in Web browser)'
if [ -f "$HOME/Library/LaunchAgents/oss.bitcoin-utils.diablominer.plist" ]; then
echo '3) Start mining on login is ON'
elif [ ! -f "$HOME/Library/LaunchAgents/oss.bitcoin-utils.diablominer.plist" ]; then
echo '3) Start mining on login is OFF'
fi
echo '4) Check for updates (opens in Web browser)'
echo ''
echo ' '$diablominer_menu_feedback
read -t 15 -p "Make a selection, or press [Enter] or wait 15 sec to run the miner: " diablominer_menu
unset diablominer_menu_feedback
if [ -z $diablominer_menu ]; then break; fi
case $diablominer_menu in
1*)
diablominer_set_up_wizard
diablominer_read_preferences
break
;;
2*)
open http://maccoinminer.wordpress.com/2011/05/20/diablominer-for-mac/
export diablominer_menu_feedback='Link sent to browser.'
;;
3*)
if [ -f "$HOME/Library/LaunchAgents/oss.bitcoin-utils.diablominer.plist" ]; then
rm $HOME/Library/LaunchAgents/oss.bitcoin-utils.diablominer.plist
export diablominer_menu_feedback='LaunchAgent removed.'
elif [ ! -f "$HOME/Library/LaunchAgents/oss.bitcoin-utils.diablominer.plist" ]; then
cp $(dirname $0)/../Resources/loginitem.plist $HOME/Library/LaunchAgents/oss.bitcoin-utils.diablominer.plist
export diablominer_menu_feedback='LaunchAgent installed.'
fi
;;
4*)
open http://forum.bitcoin.org/index.php?topic=8994.0
export diablominer_menu_feedback='Link sent to browser.'
;;
esac
done
else
echo 'No user default system. Something is wrong.'
exit 8
fi
# Advanced args initialization
if [ $diablominer_worksize == "AUTO" ]; then
_worksize=""
elif [ -n "$diablominer_worksize" ]; then
_worksize="-w "$diablominer_worksize
fi
if [ $diablominer_vectors == "AUTO" ]; then
_vectors=""
elif [ -n "$diablominer_vectors" ]; then
_vectors="-v "$diablominer_vectors
fi
if [ $diablominer_fps == "AUTO" ]; then
_fps=""
elif [ -n "$diablominer_fps" ]; then
_fps="-f "$diablominer_fps
fi
clear
echo 'Starting DiabloMiner (GPU)...'
echo '-----------------------------'
exec $(dirname ${0})/../Resources/miner/DiabloMiner-OSX.sh -u $diablominer_username -p $diablominer_userpass -o $diablominer_hostname -r $diablominer_hostport $_worksize $_vectors $_fps
echo ''
echo 'Did something go wrong? Relaunch and enter the Set up wizard by pressing 1 and Enter during start-up, and check your configuration.'
#!/bin/bash
# clean up behavioral- and read in variables
clear
unset diablominer_menu
unset diablominer_menu_feedback
export user_defaults_domain_list=$(defaults domains)
export user_defaults_currenthost_domain_list=$(defaults -currentHost domains)
# functions
diablominer_read_preferences()
{
export diablominer_hostname=$(defaults read oss.bitcoin-utils.diablominer 'ServerHostName')
export diablominer_hostport=$(defaults read oss.bitcoin-utils.diablominer 'ServerHostPort')
export diablominer_username=$(defaults -currentHost read oss.bitcoin-utils.diablominer 'MinerName')
export diablominer_userpass=$(defaults -currentHost read oss.bitcoin-utils.diablominer 'MinerPassword')
export diablominer_worksize=$(defaults read oss.bitcoin-utils.diablominer 'WorkSize')
export diablominer_fps=$(defaults read oss.bitcoin-utils.diablominer 'Fps')
export diablominer_vectors=$(defaults read oss.bitcoin-utils.diablominer 'Vectors')
}
diablominer_set_up_wizard()
{
clear
echo 'DiabloMiner set up wizard'
echo 'GPU based Bitcoin miner.'
echo '-------------------------'
while :
do
read -p "Server host name or IP address [$diablominer_hostname]: " diablominer_set_hostname
if [ -n $diablominer_hostname ]; then if [ -z $diablominer_set_hostname ]; then
diablominer_set_hostname=$diablominer_hostname
fi; fi
if [ -n "$diablominer_set_hostname" ]; then
if [[ ! "$diablominer_set_hostname" =~ ^(https?)://? ]]; then # matches input without a supported protocol
if [[ ! "$diablominer_set_hostname" =~ :[0-9]{2,6}$ ]]; then # checks that there is no protocol number.
break
fi; fi; fi
echo 'Error: Enter a valid domain name without specifying a port number or protocol (will default to http.)'
done
while :
do
read -p "Server port number [$diablominer_hostport]: " diablominer_set_hostport
if [ -n $diablominer_hostport ]; then if [ -z $diablominer_set_hostport ]; then
diablominer_set_hostport=$diablominer_hostport
fi; fi
if [[ "$diablominer_set_hostport" =~ ^[0-9]{2,6} ]]; then # matches numerials with length 2-6
break
fi
echo 'Error: Enter a port number from two to six digits.'
done
while :
do
read -p "Miner username [$diablominer_username]: " diablominer_set_username
if [ -n $diablominer_username ]; then if [ -z $diablominer_set_username ]; then
diablominer_set_username=$diablominer_username
fi; fi
if [ -n "$diablominer_set_username" ]; then
break
fi
echo 'Error: Enter a username.'
done
while :
do
read -p "Miner password: " diablominer_set_userpass
if [ -n $diablominer_userpass ]; then if [ -z $diablominer_set_userpass ]; then
diablominer_set_userpass=$diablominer_userpass
fi; fi
if [ -n "$diablominer_set_userpass" ]; then
break
fi
echo 'Error: Enter a password.'
done
# offer LaunchAgent
if [ ! -f "$HOME/Library/LaunchAgents/oss.bitcoin-utils.diablominer.plist" ]; then
echo ''
read -p 'Start mining automatically on log-in? [yes/NO]: ' diablominer_wizard_startup
case $diablominer_wizard_startup in
[y/Y]|[y/Y][e/E][s/S]) cp $(dirname $0)/../Resources/loginitem.plist $HOME/Library/LaunchAgents/oss.bitcoin-utils.diablominer.plist ;;
esac
unset diablominer_wizard_startup
fi
echo '----------------------'
echo 'Advanced settings, use AUTO if you do not know your settings'
echo '----------------------'
# Set worksize (AUTO don't work in 10.7)
while :
do
read -p "Override worksize (AUTO for automatic) [$diablominer_worksize]: " diablominer_set_worksize
if [ -n $diablominer_worksize ]; then if [ -z $diablominer_set_worksize ]; then
diablominer_set_worksize=$diablominer_worksize
fi; fi
if [ -z "$diablominer_set_worksize" ]; then
diablominer_set_worksize="AUTO"
echo 'Using automatic settings'
fi
value_worksize=`echo $diablominer_set_worksize | tr '[:lower:]' '[:upper:]'`
if [ "$value_worksize" == "AUTO" ]; then
diablominer_set_worksize="AUTO"
fi
if [ -n "$diablominer_set_worksize" ]; then
break
fi
done
# Set vector size
while :
do
read -p "Vector size in kernel (1-6 or AUTO for automatic) [$diablominer_vectors]: " diablominer_set_vectors
if [ -n $diablominer_vectors ]; then if [ -z $diablominer_set_vectors ]; then
diablominer_set_vectors=$diablominer_vectors
fi; fi
if [ -z "$diablominer_set_vectors" ]; then
diablominer_set_vectors="AUTO"
echo 'Using automatic settings'
fi
value_vectors=`echo $diablominer_set_vectors | tr '[:lower:]' '[:upper:]'`
if [ "$value_vectors" == "AUTO" ]; then
diablominer_set_vectors="AUTO"
fi
if [ -n "$diablominer_set_vectors" ]; then
break
fi
done
# Set FPS
while :
do
read -p "Target execution timing (AUTO for automatic) [$diablominer_fps]: " diablominer_set_fps
if [ -n $diablominer_fps ]; then if [ -z $diablominer_set_fps ]; then
diablominer_set_fps=$diablominer_fps
fi; fi
if [ -z "$diablominer_set_fps" ]; then
diablominer_set_fps="AUTO"
echo 'Using automatic settings'
fi
value_fps=`echo $diablominer_set_fps| tr '[:lower:]' '[:upper:]'`
if [ "$value_fps" == "AUTO" ]; then
diablominer_set_fps="AUTO"
fi
if [ -n "$diablominer_set_fps" ]; then
break
fi
done
# writing user defaults
defaults write oss.bitcoin-utils.diablominer 'ServerHostName' -string $diablominer_set_hostname
defaults write oss.bitcoin-utils.diablominer 'ServerHostPort' -integer $diablominer_set_hostport
defaults -currentHost write oss.bitcoin-utils.diablominer 'MinerName' -string $diablominer_set_username
defaults -currentHost write oss.bitcoin-utils.diablominer 'MinerPassword' -string $diablominer_set_userpass
defaults write oss.bitcoin-utils.diablominer 'WorkSize' -string $diablominer_set_worksize
defaults write oss.bitcoin-utils.diablominer 'Vectors' -string $diablominer_set_vectors
defaults write oss.bitcoin-utils.diablominer 'Fps' -string $diablominer_set_fps
}
# runtime
if [[ ! "$user_defaults_domain_list" =~ 'oss.bitcoin-utils.diablominer' ]]; then # first run
diablominer_set_up_wizard
diablominer_read_preferences
elif [[ "$user_defaults_domain_list" =~ 'oss.bitcoin-utils.diablominer' ]]; then
# upgrade user defaults from versions < 1.5
if [[ ! "$user_defaults_currenthost_domain_list" =~ 'oss.bitcoin-utils.diablominer' ]]; then
defaults -currentHost write oss.bitcoin-utils.diablominer 'MinerName' -string $(defaults read oss.bitcoin-utils.diablominer 'UserName')
defaults -currentHost write oss.bitcoin-utils.diablominer 'MinerPassword' -string $(defaults read oss.bitcoin-utils.diablominer 'UserPassword')
export user_defaults_currenthost_domain_list=$(defaults -currentHost domains)
defaults delete oss.bitcoin-utils.diablominer 'UserName'
defaults delete oss.bitcoin-utils.diablominer 'UserPassword'
fi
# runtime configuration: reading user defaults
if [[ "$user_defaults_currenthost_domain_list" =~ 'oss.bitcoin-utils.diablominer' ]]; then
diablominer_read_preferences
else # not fully configured
diablominer_set_up_wizard
diablominer_read_preferences
fi
# start-up menu
while :
do
clear
echo 'DiabloMiner (GPU) menu'
echo '----------------------'
echo '1) Set up wizard / configuration'
echo '2) How to support article (opens in Web browser)'
if [ -f "$HOME/Library/LaunchAgents/oss.bitcoin-utils.diablominer.plist" ]; then
echo '3) Start mining on login is ON'
elif [ ! -f "$HOME/Library/LaunchAgents/oss.bitcoin-utils.diablominer.plist" ]; then
echo '3) Start mining on login is OFF'
fi
echo '4) Check for updates (opens in Web browser)'
echo ''
echo ' '$diablominer_menu_feedback
read -t 15 -p "Make a selection, or press [Enter] or wait 15 sec to run the miner: " diablominer_menu
unset diablominer_menu_feedback
if [ -z $diablominer_menu ]; then break; fi
case $diablominer_menu in
1*)
diablominer_set_up_wizard
diablominer_read_preferences
break
;;
2*)
open http://maccoinminer.wordpress.com/2011/05/20/diablominer-for-mac/
export diablominer_menu_feedback='Link sent to browser.'
;;
3*)
if [ -f "$HOME/Library/LaunchAgents/oss.bitcoin-utils.diablominer.plist" ]; then
rm $HOME/Library/LaunchAgents/oss.bitcoin-utils.diablominer.plist
export diablominer_menu_feedback='LaunchAgent removed.'
elif [ ! -f "$HOME/Library/LaunchAgents/oss.bitcoin-utils.diablominer.plist" ]; then
cp $(dirname $0)/../Resources/loginitem.plist $HOME/Library/LaunchAgents/oss.bitcoin-utils.diablominer.plist
export diablominer_menu_feedback='LaunchAgent installed.'
fi
;;
4*)
open http://forum.bitcoin.org/index.php?topic=8994.0
export diablominer_menu_feedback='Link sent to browser.'
;;
esac
done
else
echo 'No user default system. Something is wrong.'
exit 8
fi
# Advanced args initialization
if [ $diablominer_worksize == "AUTO" ]; then
_worksize=""
elif [ -n "$diablominer_worksize" ]; then
_worksize="-w "$diablominer_worksize
fi
if [ $diablominer_vectors == "AUTO" ]; then
_vectors=""
elif [ -n "$diablominer_vectors" ]; then
_vectors="-v "$diablominer_vectors
fi
if [ $diablominer_fps == "AUTO" ]; then
_fps=""
elif [ -n "$diablominer_fps" ]; then
_fps="-f "$diablominer_fps
fi
clear
echo 'Starting DiabloMiner (GPU)...'
echo '-----------------------------'
cd $(dirname $0)/../Resources/miner/
export GPU_USE_SYNC_OBJECTS=1
java -Xmx16m -cp target/libs/*:target/DiabloMiner.jar -Djava.awt.headless=true -Djava.library.path=target/libs/natives/macosx com.diablominer.DiabloMiner.DiabloMiner -u $diablominer_username -p $diablominer_userpass -o $diablominer_hostname -r $diablominer_hostport $_worksize $_vectors $_fps
echo '-----------------------------'
echo 'Did something go wrong? Relaunch and enter the Set up wizard by pressing 1 and Enter during start-up, and check your configuration.'