- Create a profile (
~/.unison/bidirsync.prf
):
# Unison preferences
label = bi-directonal sync with server
root = /home/<user>/git
root = ssh://<user>@<server-name>//home/<user>/sync/git
sshargs = -oIdentityFile=/home/<user>/.ssh/<privkey-name>
pragma solidity ^0.4.8; | |
import "./Resolver.sol"; | |
contract EtherRouter { | |
Resolver resolver; | |
function EtherRouter(Resolver _resolver) { | |
resolver = _resolver; | |
} |
Mute these words in your settings here: https://twitter.com/settings/muted_keywords | |
ActivityTweet | |
generic_activity_highlights | |
generic_activity_momentsbreaking | |
RankedOrganicTweet | |
suggest_activity | |
suggest_activity_feed | |
suggest_activity_highlights | |
suggest_activity_tweet |
function! UseBookMode() | |
LivedownPreview | |
Goyo | |
IndentLinesDisable | |
Limelight | |
g:saving_at_every_edit = 0 | |
call ToggleSaveEveryEdit() | |
set linebreak | |
set wrap | |
nnoremap j gj |
{ | |
"name": "tf-js", | |
"version": "1.0.0", | |
"main": "script.js", | |
"license": "MIT", | |
"dependencies": { | |
"@tensorflow-models/mobilenet": "^0.2.2", | |
"@tensorflow/tfjs": "^0.12.3", | |
"@tensorflow/tfjs-node": "^0.1.9", | |
"jpeg-js": "^0.3.4" |
# Use this script to test that your Telegram bot works. | |
# | |
# Install the dependency | |
# | |
# $ gem install telegram_bot | |
# | |
# Run the bot | |
# | |
# $ ruby bot.rb | |
# |
#!/bin/sh | |
set -e | |
RED='\033[0;31m' | |
GREEN='\033[0;32m' | |
BLUE='\033[0;34m' | |
NC='\033[0m' | |
mkdir -p log | |
echo -e "${GREEN}Checking for wine...${NC}" |
#!/usr/bin/env bash | |
set -e | |
[ -z "$CLUSTER_SECRET" ] && echo "Need to set CLUSTER_SECRET" && exit 1; | |
echo 'export IPFS_PATH=/data/ipfs' >>~/.bash_profile | |
echo 'export IPFS_CLUSTER_PATH=/data/ipfs-cluster' >>~/.bash_profile | |
source ~/.bash_profile |
from collections import defaultdict | |
from operator import itemgetter | |
from time import time | |
from binance.client import Client | |
FEE = 0.0005 | |
PRIMARY = ['ETH', 'USDT', 'BTC', 'BNB'] |
// specifying we'll be using a macro from | |
// the prettytable crate (ex: row!()) | |
#[macro_use] | |
extern crate prettytable; | |
extern crate reqwest; | |
extern crate select; | |
use select::document::Document; | |
use select::predicate::{Class, Name, Predicate}; | |
use prettytable::Table; |