World space Canvas: https://docs.unity3d.com/Manual/HOWTO-UIWorldSpace.html
Vector3 scale = meters / canvas_width * Vector3.zero
| Shader "Unlit/Transparent Color Gradient" { | |
| Properties{ | |
| _MainTex("Base (RGB) Trans (A)", 2D) = "white" { } | |
| _Color("Color1", Color) = (1.000000,1.000000,1.000000,1.000000) | |
| _Color2("Color2", Color) = (1.000000,1.000000,1.000000,1.000000) | |
| } | |
| SubShader{ | |
| LOD 100 | |
| Tags{ "QUEUE" = "Transparent" "IGNOREPROJECTOR" = "true" "RenderType" = "Transparent" } |
World space Canvas: https://docs.unity3d.com/Manual/HOWTO-UIWorldSpace.html
Vector3 scale = meters / canvas_width * Vector3.zero
| sudo apt-get install build-essential gconf-service lib32gcc1 lib32stdc++6 libasound2 libc6 libc6-i386 libcairo2 libcap2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libfreetype6 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libgl1 libglib2.0-0 libglu1 libgtk2.0-0 libnspr4 libnss3 libpango1.0-0 libstdc++6 libx11-6 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxtst6 zlib1g | |
| http://forum.unity3d.com/threads/unity-on-linux-release-notes-and-known-issues.350256/ |
| # | |
| # Install the MYSQL driver | |
| # gem install mysql2 | |
| # | |
| # Ensure the MySQL gem is defined in your Gemfile | |
| # gem 'mysql2' | |
| # | |
| # And be sure to use new-style password hashing: | |
| # http://dev.mysql.com/doc/refman/5.0/en/old-client.html | |
| development: |
#Edit MySQL config:
sudo rvim /etc/mysql/my.cnf
80% RAM to innodb_buffer_pool_size -> https://www.percona.com/blog/2015/06/02/80-ram-tune-innodb_buffer_pool_size/
#XMLRPC issues Search for XMLRPC POST logs
| Artist.where(id: Album.select(:artist_id)) |
| git branch --merged master | grep -v 'master$' | xargs git branch -d |
| Staging: | |
| 1. $ openssl req -sha256 -newkey rsa:2048 -keyout <MerchantID>_key.pem -out <MerchantID>_req.pem -subj "/C=LV/O=www.stockholmhealth.com/OU=Everyday Content International/CN=<MerchantID>" -outform PEM | |
| 2. Ielogojamies IBIS un self-sign | |
| 3. Iemetam no šiem saņemtos failus (viņi atsūta sertifikātu pirms atbildes, ka atsūtīs sertifikātu) tai pašā mapē, kur key un: | |
| 4. $ openssl pkcs12 -export -in <MerchantID>.pem -out <MerchantID>.p12 -certfile ECOMM-test.pem -inkey <MerchantID>_key.pem | |
| 5. $ openssl pkcs12 -in <MerchantID>.p12 -out <MerchantID>_keystore.pem | |
| Production: |
| openssl req -new -newkey rsa:2048 -nodes -keyout www.domain.com.key -out www.domain.com.com.csr |
| curl get.pow.cx/uninstall.sh | sh | |
| curl get.pow.cx | sh | |
| scutil --dns | |
| sudo touch /etc/resolver/dev | |
| sudo pfctl -f /etc/pf.conf | |
| sudo pfctl -e |