-
- GMP https://gmplib.org/download/gmp/gmp-6.1.2.tar.lz *ATTENTION!! extract first this archive via lzip and make just .tar acrchive
-
- ISL ftp://gcc.gnu.org/pub/gcc/infrastructure/isl-0.18.tar.bz2 Graphite loop optimizations
Just run ./build_gcc.sh
org.gradle.jvmargs=-Xmx15g -Xms1g -XX:MaxPermSize=2g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 | |
org.gradle.parallel=true | |
org.gradle.configureondemand=true | |
org.gradle.daemon=true | |
org.gradle.workers.max=8 | |
org.gradle.caching=true |
#!/usr/bin/env bash | |
cd $1 | |
git diff -p -R --no-color | grep -E "^(diff|(old|new) mode)" --color=never | git apply | |
## add git alias with name "permission-reset" | |
git config --global --add alias.permission-reset '!git diff -p -R --no-color | grep -E "^(diff|(old|new) mode)" --color=never | git apply' |
public class DecimalInputFilter extends android.text.method.DigitsKeyListener { | |
private final WeakReference<EditText> mView; | |
private int mDecimals = 18; | |
public DecimalInputFilter(EditText txtView) { | |
this(txtView, 18); | |
} | |
public DecimalInputFilter(EditText txtView, int decimals) { | |
super(false, true); |
Just run ./build_gcc.sh
# init new database | |
# dir: /usr/pgsql-$VERS | |
initdb -A trust --auth-local=trust --encoding=UTF8 --pgdata=/var/pgsql10 | |
# dump old database (-O [--no-owners] - drops owners assignment, by default in new db's rights will grant to importer) | |
pg_dumpall -O -U postgres > /var/db.out | |
# import database dump | |
psql -f db.out postgres |
#!/bin/bash | |
yum install centos-release-scl | |
yum install devtoolset-7-gcc* | |
# enable bin (originally installed to /opt/rh/devtoolset-7/root/ ) | |
# scl exports to $PATH /opt/rh/devtoolset-7/root/bin/* | |
scl enable devtoolset-7 bash | |
# check | |
`which g++` -v |
wget https://dl.bintray.com/boostorg/release/1.65.1/source/boost_1_65_1.tar.gz
tar -xzf boost_1_65_1.tar.gz && cd boost_1_65_1
/* | |
* Copyright 2017 Eduard Maximovich | |
* Atlas | |
*/ | |
apply plugin: 'maven' | |
version = VERSION_NAME | |
group = GROUP |
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# Packages # |
# Command to use global .gitignore file: | |
touch ~/.gitignore | |
echo ".DS_STORE" >> ~/.gitignore | |
echo ".idea/" >> ~/.gitignore | |
git config --global core.excludefile '~/.gitignore' |