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 | |
read -p "enter your wallet address: " WALLETID | |
sudo apt-get update | |
sudo apt-get install -y git automake g++ build-essential libcurl4-openssl-dev libjansson4 libjansson-dev | |
if [ -d $(pwd)/quarkcoin-cpuminer ]; then | |
rm -r $(pwd)/quarkcoin-cpuminer | |
fi | |
git clone https://github.com/uncle-bob/quarkcoin-cpuminer | |
cd quarkcoin-cpuminer | |
./autogen.sh |
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
https://bitcointalk.org/index.php?topic=55038.0 | |
pool dogecoinpool.com |
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
apt-get update && apt-get install -y git make g++ build-essential libminiupnpc-dev && apt-get install -y libdb++-dev libgmp-dev libssl-dev dos2unix && apt-get install -y libboost1.49-all libboost-chrono1.49-dev && git clone https://github.com/thbaumbach/primecoin && cd primecoin/src && make -f makefile.unix |
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
[{ | |
'content': 'Good cooking takes time. If you are made to wait, it is to serve you better, and to please you.', | |
'meta': { | |
'type': 'Highlight', | |
'page': None, | |
'location': '181-182' | |
}, | |
'author': 'Frederick P. Brooks', | |
'added_on': datetime.datetime(2013, 11, 19, 13, 23, 50), | |
'title': 'The Mythical Man Month ' |
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
# -*- coding: utf-8 -*- | |
from django.core.management.base import BaseCommand, CommandError | |
from main.models import Cities | |
from mongoengine.queryset import DoesNotExist | |
CITY_LIST = [ | |
('01', u'Adana'), | |
('02', u'Adıyaman'), | |
('03', u'Afyon'), |
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
package main | |
import ( | |
"errors" | |
"fmt" | |
"reflect" | |
"sync" | |
) | |
type List struct { |
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
package main | |
import ( | |
"fmt" | |
) | |
func BinarySearch(target_map []int, value int) int { | |
start_index := 0 | |
end_index := len(target_map) - 1 |
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
package main | |
import "fmt" | |
func swap(x *int, y *int) { | |
*x, *y = *y, *x | |
} |
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
package main | |
import "fmt" | |
func main() { | |
x := []int{ | |
48, 96, 86, 68, | |
57, 82, 63, 70, | |
37, 34, 83, 27, |
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
/* | |
Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be: | |
1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ... | |
By considering the terms in the Fibonacci sequence whose values do not exceed four million, find the sum of the even-valued terms. | |
*/ |