[estimate_matsize.sh] adapt to factorization (with dlp=false)

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/mancoast/cado-nfs.git/'


update

update

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/IronPeak/BitCrow.git/'


Add a script to rebuild the changelog file from github release data (#1003)

* Add a script to rebuild the changelog file from github release data

* Fixes

#! /bin/bash
#
# Run this script from the top level directory of the trillian repo e.g.
# with scripts/update_changelog.sh.
#
# GOPATH must be set.

set +e
d=${GOPATH[0]}

# Get and build the correct branch that includes markdown output
# TODO(Martin2112): replace with upstream repo if/when aktau/github-release#81 is merged
go install github.com/Martin2112/github-release

# Generate the changelog
${d}/bin/github-release info -r trillian -u google --markdown > CHANGELOG.md

error: pathspec 'scripts/update_changelog.sh' did not match any file(s) known to git


Use EDITOR for 'bundle show xxx'.

Use EDITOR for 'bundle show xxx'.

error: pathspec 'bash_profile.d/EDITOR.sh' did not match any file(s) known to git


Added git config script

Added git config script

#!/bin/sh

echo "\n GIT CONFIG SCRIPT"

echo "\nPlease insert your git user name: "
read input_variable
git config --global user.name "$input_variable"

echo "\nPlease insert your git user mail: "
read input_variable
git config --global user.email "$input_variable"

git config --global push.default simple

echo "\nAdding common extensions to the global gitignore. See file at ~/.gitignore_global"

cat > ~/.gitignore_global << EOF

#  IDE #
########
.idea/

# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so

# Packages #
############
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip

# Logs and databases #
######################
*.log
*.sql
*.sqlite

# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

EOF

git config --global core.excludesfile ~/.gitignore_global

echo "\nDone ..."

echo "\n================="

git config --list

echo "\n=================\n"

error: pathspec 'git/gitconfig.sh' did not match any file(s) known to git


Script to install Jupyter extensions and rebuild Jupyter.

#!/bin/bash

jupyter labextension install --no-build --log-level=INFO \
    @axlair/jupyterlab_vim \
    @jupyterlab/toc \
    @jupyterlab/debugger \
    jupyterlab-flake8 \
    @jupyter-widgets/jupyterlab-manager \
    dask-labextension

jupyter serverextension enable dask_labextension

# Rebuild the jupyterlab application with the extensions:
jupyter lab build

# Show us what all we've got installed...
jupyter labextension list
jupyter serverextension list

error: pathspec 'devtools/jupyterlab_build.sh' did not match any file(s) known to git


Add Agnoster Zsh Theme

Add Agnoster Zsh Theme

DEFAULT_USER=`whoami`

function git_prompt_info() {
  ref=$(git symbolic-ref HEAD 2> /dev/null) || return
  echo "$ZSH_THEME_GIT_PROMPT_PREFIX${ref#refs/heads/}$(parse_git_dirty)$ZSH_THEME_GIT_PROMPT_SUFFIX"
}

# Checks if working tree is dirty
parse_git_dirty() {
  local SUBMODULE_SYNTAX=''
  if [[ $POST_1_7_2_GIT -gt 0 ]]; then
        SUBMODULE_SYNTAX="--ignore-submodules=dirty"
  fi
  if [[ -n $(git status -s ${SUBMODULE_SYNTAX}  2> /dev/null) ]]; then
    echo "$ZSH_THEME_GIT_PROMPT_DIRTY"
  else
    echo "$ZSH_THEME_GIT_PROMPT_CLEAN"
  fi
}

# Checks if there are commits ahead from remote
function git_prompt_ahead() {
  if $(echo "$(git log origin/$(current_branch)..HEAD 2> /dev/null)" | grep '^commit' &> /dev/null); then
    echo "$ZSH_THEME_GIT_PROMPT_AHEAD"
  fi
}

# Formats prompt string for current git commit short SHA
function git_prompt_short_sha() {
  SHA=$(git rev-parse --short HEAD 2> /dev/null) && echo "$ZSH_THEME_GIT_PROMPT_SHA_BEFORE$SHA$ZSH_THEME_GIT_PROMPT_SHA_AFTER"
}

# Formats prompt string for current git commit long SHA
function git_prompt_long_sha() {
  SHA=$(git rev-parse HEAD 2> /dev/null) && echo "$ZSH_THEME_GIT_PROMPT_SHA_BEFORE$SHA$ZSH_THEME_GIT_PROMPT_SHA_AFTER"
}

# Get the status of the working tree
git_prompt_status() {
  INDEX=$(git status --porcelain 2> /dev/null)
  STATUS=""
  if $(echo "$INDEX" | grep '^?? ' &> /dev/null); then
    STATUS="$ZSH_THEME_GIT_PROMPT_UNTRACKED$STATUS"
  fi
  if $(echo "$INDEX" | grep '^A  ' &> /dev/null); then
    STATUS="$ZSH_THEME_GIT_PROMPT_ADDED$STATUS"
  elif $(echo "$INDEX" | grep '^M  ' &> /dev/null); then
    STATUS="$ZSH_THEME_GIT_PROMPT_ADDED$STATUS"
  fi
  if $(echo "$INDEX" | grep '^ M ' &> /dev/null); then
    STATUS="$ZSH_THEME_GIT_PROMPT_MODIFIED$STATUS"
  elif $(echo "$INDEX" | grep '^AM ' &> /dev/null); then
    STATUS="$ZSH_THEME_GIT_PROMPT_MODIFIED$STATUS"
  elif $(echo "$INDEX" | grep '^ T ' &> /dev/null); then
    STATUS="$ZSH_THEME_GIT_PROMPT_MODIFIED$STATUS"
  fi
  if $(echo "$INDEX" | grep '^R  ' &> /dev/null); then
    STATUS="$ZSH_THEME_GIT_PROMPT_RENAMED$STATUS"
  fi
  if $(echo "$INDEX" | grep '^ D ' &> /dev/null); then
    STATUS="$ZSH_THEME_GIT_PROMPT_DELETED$STATUS"
  elif $(echo "$INDEX" | grep '^AD ' &> /dev/null); then
    STATUS="$ZSH_THEME_GIT_PROMPT_DELETED$STATUS"
  fi
  if $(echo "$INDEX" | grep '^UU ' &> /dev/null); then
    STATUS="$ZSH_THEME_GIT_PROMPT_UNMERGED$STATUS"
  fi
  echo $STATUS
}

#compare the provided version of git to the version installed and on path
#prints 1 if input version <= installed version
#prints -1 otherwise
function git_compare_version() {
  local INPUT_GIT_VERSION=$1;
  local INSTALLED_GIT_VERSION
  INPUT_GIT_VERSION=(${(s/./)INPUT_GIT_VERSION});
  INSTALLED_GIT_VERSION=($(git --version));
  INSTALLED_GIT_VERSION=(${(s/./)INSTALLED_GIT_VERSION[3]});

  for i in {1..3}; do
    if [[ $INSTALLED_GIT_VERSION[$i] -lt $INPUT_GIT_VERSION[$i] ]]; then
      echo -1
      return 0
    fi
  done
  echo 1
}

#this is unlikely to change so make it all statically assigned
POST_1_7_2_GIT=$(git_compare_version "1.7.2")
#clean up the namespace slightly by removing the checker function
unset -f git_compare_version

############## AGNOSTER THEME

# vim:ft=zsh ts=2 sw=2 sts=2
#
# agnoster's Theme - https://gist.github.com/3712874
# A Powerline-inspired theme for ZSH
#
# # README
#
# In order for this theme to render correctly, you will need a
# [Powerline-patched font](https://github.com/Lokaltog/powerline-fonts).
# Make sure you have a recent version: the code points that Powerline
# uses changed in 2012, and older versions will display incorrectly,
# in confusing ways.
#
# In addition, I recommend the
# [Solarized theme](https://github.com/altercation/solarized/) and, if you're
# using it on Mac OS X, [iTerm 2](http://www.iterm2.com/) over Terminal.app -
# it has significantly better color fidelity.
#
# # Goals
#
# The aim of this theme is to only show you *relevant* information. Like most
# prompts, it will only show git information when in a git working directory.
# However, it goes a step further: everything from the current user and
# hostname to whether the last call exited with an error to whether background
# jobs are running in this shell will all be displayed automatically when
# appropriate.

### Segment drawing
# A few utility functions to make it easy and re-usable to draw segmented prompts

CURRENT_BG='NONE'

# Special Powerline characters

() {
  local LC_ALL="" LC_CTYPE="en_US.UTF-8"
  # NOTE: This segment separator character is correct.  In 2012, Powerline changed
  # the code points they use for their special characters. This is the new code point.
  # If this is not working for you, you probably have an old version of the
  # Powerline-patched fonts installed. Download and install the new version.
  # Do not submit PRs to change this unless you have reviewed the Powerline code point
  # history and have new information.
  # This is defined using a Unicode escape sequence so it is unambiguously readable, regardless of
  # what font the user is viewing this source code in. Do not replace the
  # escape sequence with a single literal character.
  # Do not change this! Do not make it '\u2b80'; that is the old, wrong code point.
  SEGMENT_SEPARATOR=$'\ue0b0'
}

# Begin a segment
# Takes two arguments, background and foreground. Both can be omitted,
# rendering default background/foreground.
prompt_segment() {
  local bg fg
  [[ -n $1 ]] && bg="%K{$1}" || bg="%k"
  [[ -n $2 ]] && fg="%F{$2}" || fg="%f"
  if [[ $CURRENT_BG != 'NONE' && $1 != $CURRENT_BG ]]; then
    echo -n " %{$bg%F{$CURRENT_BG}%}$SEGMENT_SEPARATOR%{$fg%} "
  else
    echo -n "%{$bg%}%{$fg%} "
  fi
  CURRENT_BG=$1
  [[ -n $3 ]] && echo -n $3
}

# End the prompt, closing any open segments
prompt_end() {
  if [[ -n $CURRENT_BG ]]; then
    echo -n " %{%k%F{$CURRENT_BG}%}$SEGMENT_SEPARATOR"
  else
    echo -n "%{%k%}"
  fi
  echo -n "%{%f%}"
  CURRENT_BG=''
}

### Prompt components
# Each component will draw itself, and hide itself if no information needs to be shown

# Context: user@hostname (who am I and where am I)
prompt_context() {
  if [[ "$USER" != "$DEFAULT_USER" || -n "$SSH_CLIENT" ]]; then
    prompt_segment black default "%(!.%{%F{yellow}%}.)$USER@%m"
  fi
}

# Git: branch/detached head, dirty status
prompt_git() {

  local PL_BRANCH_CHAR
  () {
    local LC_ALL="" LC_CTYPE="en_US.UTF-8"
    PL_BRANCH_CHAR=$'\ue0a0'         # 
  }
  local ref dirty mode repo_path
  repo_path=$(git rev-parse --git-dir 2>/dev/null)

  if $(git rev-parse --is-inside-work-tree >/dev/null 2>&1); then
    dirty=$(parse_git_dirty)
    ref=$(git symbolic-ref HEAD 2> /dev/null) || ref="➦ $(git rev-parse --short HEAD 2> /dev/null)"
    if [[ -n $dirty ]]; then
      prompt_segment yellow black
    else
      prompt_segment green black
    fi

    if [[ -e "${repo_path}/BISECT_LOG" ]]; then
      mode=" <B>"
    elif [[ -e "${repo_path}/MERGE_HEAD" ]]; then
      mode=" >M<"
    elif [[ -e "${repo_path}/rebase" || -e "${repo_path}/rebase-apply" || -e "${repo_path}/rebase-merge" || -e "${repo_path}/../.dotest" ]]; then
      mode=" >R>"
    fi

    setopt promptsubst
    autoload -Uz vcs_info

    zstyle ':vcs_info:*' enable git
    zstyle ':vcs_info:*' get-revision true
    zstyle ':vcs_info:*' check-for-changes true
    zstyle ':vcs_info:*' stagedstr '✚'
    zstyle ':vcs_info:*' unstagedstr '●'
    zstyle ':vcs_info:*' formats ' %u%c'
    zstyle ':vcs_info:*' actionformats ' %u%c'
    vcs_info
    echo -n "${ref/refs\/heads\//$PL_BRANCH_CHAR }${vcs_info_msg_0_%% }${mode}"
  fi
}

prompt_hg() {
  local rev status
  if $(hg id >/dev/null 2>&1); then
    if $(hg prompt >/dev/null 2>&1); then
      if [[ $(hg prompt "{status|unknown}") = "?" ]]; then
        # if files are not added
        prompt_segment red white
        st='±'
      elif [[ -n $(hg prompt "{status|modified}") ]]; then
        # if any modification
        prompt_segment yellow black
        st='±'
      else
        # if working copy is clean
        prompt_segment green black
      fi
      echo -n $(hg prompt "☿ {rev}@{branch}") $st
    else
      st=""
      rev=$(hg id -n 2>/dev/null | sed 's/[^-0-9]//g')
      branch=$(hg id -b 2>/dev/null)
      if `hg st | grep -q "^\?"`; then
        prompt_segment red black
        st='±'
      elif `hg st | grep -q "^[MA]"`; then
        prompt_segment yellow black
        st='±'
      else
        prompt_segment green black
      fi
      echo -n "☿ $rev@$branch" $st
    fi
  fi
}

# Dir: current working directory
prompt_dir() {
  prompt_segment blue black '%~'
}

# Virtualenv: current working virtualenv
prompt_virtualenv() {
  local virtualenv_path="$VIRTUAL_ENV"
  if [[ -n $virtualenv_path && -n $VIRTUAL_ENV_DISABLE_PROMPT ]]; then
    prompt_segment blue black "(`basename $virtualenv_path`)"
  fi
}

# Status:
# - was there an error
# - am I root
# - are there background jobs?
prompt_status() {
  local symbols
  symbols=()
  [[ $RETVAL -ne 0 ]] && symbols+="%{%F{red}%}✘"
  [[ $UID -eq 0 ]] && symbols+="%{%F{yellow}%}⚡"
  [[ $(jobs -l | wc -l) -gt 0 ]] && symbols+="%{%F{cyan}%}⚙"

  [[ -n "$symbols" ]] && prompt_segment black default "$symbols"
}

## Main prompt
build_prompt() {
  RETVAL=$?
  prompt_status
  prompt_virtualenv
  prompt_context
  prompt_dir
  prompt_git
  prompt_hg
  prompt_end
}

PROMPT='%{%f%b%k%}$(build_prompt) '

error: pathspec 'zsh/configs/theme.zsh' did not match any file(s) known to git


php-54 centos update.

php-54 centos update.

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/ungana/vagrant-scripts.git/'


Adding script to create a quick note

Adding script to create a quick note

#!/bin/bash

# Creates a zettelkasten file inside the current folder
# This must work seamlessly from i3, I will add a mapping to it.

QUICKNOTES_DIR=/storage/docs/notes/quick
TIMESTAMP="$(date "+%Y-%m-%d-%H%M%S-%3N")"
FILENAME=$QUICKNOTES_DIR/$TIMESTAMP.md

vim "$FILENAME"

error: pathspec 'bin/create-quick-note.sh' did not match any file(s) known to git


Fix Syntax Error

Fix Syntax Error

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/JohnTroony/BASH-workfiles.git/'


Clasp: Add script to trust all nodes.

Clasp: Add script to trust all nodes.

#!/bin/bash
#
# Automatically accept keys from all nodes.

# http://askubuntu.com/questions/123072
for ((i=1; i<=34; i++)); do
    yes yes | ssh "10.0.2.$i" "uptime";
done

error: pathspec 'autoaccept-keys.sh' did not match any file(s) known to git


Add a shell script alternative to run-with-lockfile

It is useful to have something like this in commonlib,
since several mySociety sites use run-with-lockfile,
but that helper is only in the CVS module 'mysociety'.
Additionally, it is convenient not to have to
compile the binary, and this version should be NFS-safe.

#!/bin/sh

# This shell script alternative to run-with-lockfile depends on the
# Debian package lockfile-progs (sudo apt-get install lockfile-progs)
# which uses liblockfile for NFS-safe locking.

# The locking strategy is not exactly the same as Chris Lightfoot's
# run-with-lockfile.c [1] but it should be substitutable in many
# circumstances, and in addition is NFS-safe.

# [1] https://secure.mysociety.org/cvstrac/fileview?f=mysociety/run-with-lockfile/run-with-lockfile.c

FAIL_IF_OTHER=false

if [ x"$1" = x"-n" ]
then
    FAIL_IF_OTHER=true
    shift
fi

if [ $# != 2 ]
then
    echo "Usage: $0 [-n] FILE COMMAND"
    exit 101
fi

LOCK_FILENAME="$1"
COMMAND="$2"

if [ $FAIL_IF_OTHER = true ] && lockfile-check -l "$LOCK_FILENAME"
then
    exit 100
fi

# This is based on the example in lockfile-progs(1):

lockfile-create -l "$LOCK_FILENAME" || exit 101
lockfile-touch -l "$LOCK_FILENAME" &
# Save the PID of the lockfile-touch process:
TOUCH_PID="$!"

export LOCKFILE="$LOCK_FILENAME"
/bin/sh -c "$COMMAND"
COMMAND_EXIT_CODE=$?

kill "${TOUCH_PID}"
lockfile-remove -l "$LOCK_FILENAME"

exit $COMMAND_EXIT_CODE

error: pathspec 'bin/run-with-lockfile.sh' did not match any file(s) known to git


devel: Added a simple cluster wrapper

devel: Added a simple cluster wrapper

#!/bin/sh -login
#PBS -l nodes=1:ppn=1
#PBS -l walltime=02:00:00

module load gcc/4.9.1
module load boost/1.56.0

cd $HOME/Desktop/OnlineOptimisation/bin
./cli $OPTIMISATION_PROBLEM $NUMBER_OF_DIMENSIONS $POPULATION_SIZE

error: pathspec 'clusterJobWrapper.sh' did not match any file(s) known to git


more intelligent logging

more intelligent logging

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/demhydraz/til.git/'


First Commit

First Commit

# Store project name in domain
domain=$1

# Get project path from user
echo 'Enter project path:'

# Store project path in projectPath
read projectPath

# Domain path
domainPath=$projectPath/$domain

# Confirm user input
echo -e "Your domain name is: $domain\nYour project path is: $projectPath\n\n"
echo "Are you sure your given info is oka ;)? Y/n"

# Store user confirmation
read confirm

if [ $confirm == n ]
then
	exit
fi

echo 'Your coffee is almost ready, please wait.... :)'

# Create project directory
sudo mkdir $domainPath
echo "$domain directory was created\n"

# Create config file
cd /etc/apache2/sites-available
sudo touch $domain.conf
sudo chmod 0777 $domain.conf
echo "<VirtualHost *:80>\n\tServerName $domain\n\tDocumentRoot $domainPath\n\tErrorLog ${APACHE_LOG_DIR}/error.log\n</VirtualHost>" > $domain.conf

echo "$domain config was created\n"

# Enabled this site
sudo a2ensite $domain

echo "$domain was enabled\n"

# Restart apache after enabling this site
# so that everything works perfectly as expected

sudo chmod -R 777 /etc/hosts
sudo echo -e "127.0.0.1 \t $domain" >> /etc/hosts

sudo service apache2 restart

echo "Congratulation, $domain successfully created. Ebar murikha"

#echo "Project name $domain and project path is: $projectPath"

# create directory at /var/www/
#sudo mkdir /var/www/$hostName

# goto apache dirctory
#cd /etc/apache2/sites-available

# create config file
#sudo touch $hostName.conf
#sudo chmod 0777 $hostName.conf

# write virtual host config
#echo -e "<VirtualHost *:80>\n\tServerName $hostName\n\tDocumentRoot /var/www/$hostName\n\tErrorLog ${APACHE_LOG_DIR}/error.log\n</VirtualHost>" > $hostName.conf

# Enabled this site
#sudo a2ensite $hostName

# Restart apache after enabling this site
# so that everything works perfectly as expected
#sudo service apache2 restart

#sudo echo -e "127.0.0.1\t$hostName" >> /etc/hosts

error: pathspec 'vhost.sh' did not match any file(s) known to git


added script to add stanford as remote

added script to add stanford as remote

#! /usr/bin/env bash
# Create a new remote that connects to stanford
set -u

# remote stanford exists?
git remote | grep -q stanford
[[ $? -eq 1 ]] && \
    git remote add stanford git://fiz.stanford.edu/git/ramcloud.git

git fetch --all

echo ""
echo " Overview of how to maintain the branches:"
echo ""
echo "    stanford/master -> master    Mirror of Stanford sources"
echo "        master -> gtmaster       Patched to run on shiva/ifrit/++"
echo "            gtmaster -> hugeobj  Alex's code"
echo "            gtmaster -> nvcloud  Jian's code"
echo ""

error: pathspec 'gt-sync-setup.sh' did not match any file(s) known to git


...this time with `fallback-script.sh`...

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/das868/configs-fallback.git/'


Use script_dir

Use script_dir

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/thomasyu888/SynapseChallengeTemplates.git/'


All the other kids with the pumped up concurrency langs

#!/usr/bin/env bash

set -ex

brew install elixir

exit 0

error: pathspec 'languages/elixir.sh' did not match any file(s) known to git


Build: Fix Travis CI API URL

Build: Fix Travis CI API URL

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/alrra/sonar.git/'


enable filebeat as default

enable filebeat as default

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/naturalis/puppet-role_ids.git/'


script fix

script fix

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/ricardobaumann/jenkins_release_plugin.git/'


add requirements for testing

add requirements for testing

#!/bin/bash

set -x -e

export CC=${PREFIX}/bin/gcc
export CXX=${PREFIX}/bin/g++

export INCLUDE_PATH="${PREFIX}/include"
export LIBRARY_PATH="${PREFIX}/lib"
export LD_LIBRARY_PATH="${PREFIX}/lib"

./configure --disable-debug --prefix="$PREFIX"
make
make install

#!/bin/bash

set -x -e

export CC=${PREFIX}/bin/cc
export CXX=${PREFIX}/bin/c++

export INCLUDE_PATH="${PREFIX}/include"
export LIBRARY_PATH="${PREFIX}/lib"
export LD_LIBRARY_PATH="${PREFIX}/lib"

./configure --disable-debug --prefix="$PREFIX"
make
make install


fix file name

fix file name

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/Amber-MD/ambertools-conda-build.git/'


trying hyperkit??

trying hyperkit??

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/warmchang/minikube.git/'


Added files via upload

Added files via upload

#!/bin/bash
echo "Getting domains"
httpd -S | grep "namevhost" | grep "port 80" | awk {' print $4 '} | sort | uniq > domains.txt
echo "LogLevel non-SSL"
for i in $(cat dominios.txt); do sed -i "s/#        LogLevel warn/#LogLevel warn/" /etc/httpd/vhost.d/$i.conf; done
echo "LogFormat"
for i in $(cat dominios.txt); do sed -i "s/        LogLevel warn/        LogLevel warn\n        LogFormat \"%h %l %u %t \\\\"\"%r\\\\"\" %>s %b \\\\"\"%{Referer}i\\\\"\" \\\\"\"%{User-Agent}i\\\\"\"\"/" /etc/httpd/vhost.d/$i.conf; done

error: pathspec 'logformat.sh' did not match any file(s) known to git


Add script to set particular gnome settings

#!/bin/sh

# You can use the dconf-editor GUI program to browse and set settings

# Enable visual terminal bell
gsettings set org.gnome.desktop.wm.preferences audible-bell false
gsettings set org.gnome.desktop.wm.preferences visual-bell true
# The other option is frame-flash, which only flashes the title bar of the application that issued the bell
gsettings set org.gnome.desktop.wm.preferences visual-bell-type fullscreen-flash

# Show date in toolbar
gsettings set org.gnome.desktop.interface clock-show-date true

error: pathspec 'bin/setup-gnome.sh' did not match any file(s) known to git


Add travis script

Add travis script

wget http://getcomposer.org/composer.phar
php composer.phar install

error: pathspec 'bin/travis-init.sh' did not match any file(s) known to git