This file contains 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 | |
# pdf2htmlEX install shell script for Ubuntu 16.04, using latest sources | |
# Created by James A. Prempeh ( github.com/prmph ) | |
HOME_PATH=$(cd ~/ && pwd) | |
LINUX_ARCH="$(lscpu | grep 'Architecture' | awk -F\: '{ print $2 }' | tr -d ' ')" | |
POPPLER_SOURCE="https://poppler.freedesktop.org/poppler-0.43.0.tar.xz" | |
FONTFORGE_SOURCE="https://github.com/fontforge/fontforge.git" | |
PDF2HTMLEX_SOURCE="https://github.com/coolwanglu/pdf2htmlEX.git" |
This file contains 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
Go to Bitbucket and create a new repository (its better to have an empty repo) | |
git clone [email protected]:abc/myforkedrepo.git | |
cd myforkedrepo | |
Now add Github repo as a new remote in Bitbucket called "sync" | |
git remote add sync [email protected]:def/originalrepo.git | |
Verify what are the remotes currently being setup for "myforkedrepo". This following command should show "fetch" and "push" for two remotes i.e. "origin" and "sync" | |
git remote -v |
This file contains 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
PRIMEIRA COISA | |
https://copr.fedorainfracloud.org/coprs/duh/GNOME_3.22_for_RHEL_and_CentOS_7.x/ | |
############################################################################################################################# | |
# | |
# INSTALAÇÃO DO CENTOS 7.2 - CUSTOMIZAÇÃO BÁSICA | |
# | |
############################################################################################################################# | |
# Passos básicos - Configuração do Gnome (como root)R |
This file contains 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 | |
currdir=$(cd $(dirname $0) ; pwd) | |
#default softdir | |
softdir=${currdir}/soft | |
[ -d ${softdir} ] || mkdir -p ${softdir} | |
packages=" | |
#list all soft name and source file's URL address. | |
#url filename |
This file contains 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 | |
# Global variables for shell script | |
shopt -s nocaseglob | |
shopt -s nullglob | |
shopt -s nocasematch | |
yearMonth=$(date "+%Y%m" -d "1 month ago") | |
# On macs: yearMonth=$(date -v-1m +%Y%m) | |
reports=(overview carrier country device language os_version app_version tablets) |
This file contains 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
# Login to your Amazon EC2 Instance via SSH. | |
# If you are logged in as root, you don't need to use the sudo command in the commands below. | |
# Update the current packages installed on the system | |
sudo yum upgrade | |
# Install the required packages before installing Apache / MySQL and PHP | |
sudo yum install gcc gcc-c++ autoconf automake pcre-devel \ | |
libxml2-devel bzip2-devel libcurl-devel freetype-devel \ | |
openldap-clients cyrus-sasl-devel openldap-devel \ |
This file contains 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
1. Requirements | |
yum install pcre* | |
yum install libxml* | |
yum install gdbm-devel | |
2. Download packages | |
# http://mirrors.wuchna.com/apachemirror//apr/apr-1.6.5.tar.bz2 | |
# http://mirrors.wuchna.com/apachemirror//apr/apr-util-1.6.1.tar.bz2 |
This file contains 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
<html> | |
<head> | |
<title>My app install</title> | |
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"> | |
<style> | |
body { | |
font: 13pt Helvetica, sans-serif; | |
} | |
</style> | |
</head> |
This file contains 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/sh | |
# http://download.redis.io/releases/ | |
# Usage: sh compile-redis-portable.sh | |
VERSION="4.0.6" | |
INIT_PATH=`dirname "$0"` | |
INIT_PATH=`( cd "$INIT_PATH" && pwd )` |
This file contains 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/sh | |
# Some Notes About Free TDS | |
# # | |
# # TDS | |
# # | |
# SYBASE=$HOME/usr/lib | |
# LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$SYBASE/lib | |
# |