Skip to content

Instantly share code, notes, and snippets.

View ajhodges's full-sized avatar
🤔

Adam Hodges ajhodges

🤔
View GitHub Profile
@daniilyar
daniilyar / BOINC_Rosetta_home_Ubuntu_18
Last active September 28, 2021 10:33
How to install BOINC and start calculating for Rosetta@home (Ubuntu 18)
# Before you start: register at Rosetta website (http://boinc.bakerlab.org/rosetta/join.php) and remember your registration email and password
sudo -i
# install dependencies:
apt -qqy update && apt install -y --auto-remove libsm6 libxext6 libnotify-bin libcurl3 && apt -qqy clean
# Install BOINC:
cd /opt
wget -q https://boinc.berkeley.edu/dl/boinc_7.4.22_x86_64-pc-linux-gnu.sh -O boinc.sh
@rfikki
rfikki / lightclient-ropsten-peers-latest.txt
Last active April 19, 2021 00:26
Last Updated 04/18/2021
admin.addPeer("enode://fafe7982ebe514913d295bc088fae3a2678aaf5783463421e7d2c22e1d2f363c2832143ecdd4a2270d14c2d0af80688e5ed0dce137e32812db6699c5e063c77e@167.71.164.90:30303");
admin.addPeer("enode://da0c61fe14ba9da1a9835b59d811553d21787448724cfe6412bc17f0b14586df91826d8286b2137342d09a8631df5ea548cf301294b05657c2a90f9c3d526721@143.198.119.44:30303");
admin.addPeer("enode://3e2287c6caf363357efc600611ccb777e6997ef8b749b1f87e94d3a7d2b466bbefba163b0620c88804f18bc70cfbe68538720ac2644fc1c970848488cdca0c7a@143.198.114.251:30303");
admin.addPeer("enode://15ea76b5d30ce9eaabf6a9a8fe5ca0ff032534d296b5b8ca6e00a730d08a4aaa019077c382a6b2d08ebc7cf6f8eb888f5e00e0dd378798e3459a555538654370@157.230.6.79:30303");
admin.addPeer("enode://2e718763172902a8fa4bcdda45f77a5c2688de5230e184d154e4867922b8f6ad23e1016379715cb5f55f6c79060563f93896035e35dfb47361d08599d4908ae8@143.198.118.178:30303");
admin.addPeer("enode://9d45f21eeb37bd5555fac0c4094ae3d4d144d93e2313aeb891bf3054b0dcf6ca817961ed29ea1de00389b5c36dc6bbe9b00443e367b16ed8ba251cea6c242044@94.176.237.140:30303");
admin.addPeer("enode://2493b5b8407ccb1c448d7ad358e838066640f273442730caf80acde2fe98522b1d9dcebd2dc982efe44911a49779888fe72defc181c29596facff05e1
@eiri
eiri / README.md
Created January 17, 2018 20:29
Installing Prometheus on Debian

Install Prometheus on Debian

install gosu

just to not wrestle with sudo and exec

$ sudo apt-get update
$ sudo apt-get install gosu

Create prometheus user

@sambauers
sambauers / circleci-parallel.sh
Last active February 20, 2019 20:39
Splits tests across multiple Circle CI nodes manually.
#!/bin/bash
# Add this script to your code in the root directory, then add the following to your circle.yml
# test:
# override:
# - ./circleci-parallel.sh:
# parallel: true
while getopts ":hp:" opt; do
case $opt in
@dennis-tra
dennis-tra / AWS-lambda-create-new-task-definition
Created June 21, 2016 12:44
AWS Lambda function which registers a new task definition and updates the current service
exports.handler = function(event, context, callback) {
var aws = require('aws-sdk');
aws.config.update({region:'ap-southeast-2'});
var ecs = new aws.ECS();
var taskDefinition = 'nab-property-tool';
var serviceName = 'nab-property-tool';
var clusterName = 'default';
console.log("Creating new Task");
@daniel-j-h
daniel-j-h / ld.gold.sh
Last active June 19, 2024 00:07
default to ld.gold on Ubuntu'ish
update-alternatives --install "/usr/bin/ld" "ld" "/usr/bin/ld.gold" 20
update-alternatives --install "/usr/bin/ld" "ld" "/usr/bin/ld.bfd" 10
update-alternatives --config ld
ld --version
GNU gold
export CPP=cpp-5 gcc-5 g++-5
env CXXFLAGS='-march=native -flto -fuse-linker-plugin' cmake .. -DCMAKE_BUILD_TYPE=Release