I hereby claim:
- I am fredguth on github.
- I am fred (https://keybase.io/fred) on keybase.
- I have a public key whose fingerprint is E857 ADDF 20E1 4B70 9160 59A2 EB5B D737 E4E1 E64B
To claim this, I am signing this object:
| import Graphics.Element exposing (..) | |
| import Graphics.Collage exposing (..) | |
| import Color exposing (..) | |
| import Mouse | |
| import Window | |
| import Time exposing (..) | |
| import Signal exposing (foldp) | |
| --Model |
| import Graphics.Element exposing (..) | |
| import Graphics.Collage exposing (..) | |
| import Color exposing (..) | |
| import Mouse | |
| import Window | |
| import Random | |
| import Time exposing (..) | |
| import Signal exposing (foldp) | |
| --Model |
| function init(m, email, password) { | |
| // generate the database encryption key | |
| vendor.nCrypto | |
| .pbkdf2( | |
| Buffer.from(m.mnemonic, "utf8"), | |
| Buffer.from(databaseKeySeed, "utf8"), | |
| 2048, | |
| 64, | |
| "sha512" | |
| ) |
| import Ember from 'ember'; | |
| export default Ember.Component.extend({ | |
| notMyInput: Ember.computed('myInput', function() { | |
| return !this.get('myInput') | |
| }) | |
| }); |
I hereby claim:
To claim this, I am signing this object:
In this article, I will share some of my experience on installing NVIDIA driver and CUDA on Linux OS. Here I mainly use Ubuntu as example. Comments for CentOS/Fedora are also provided as much as I can.
| # first get the PPA repository driver | |
| sudo add-apt-repository ppa:graphics-drivers/ppa | |
| # install nvidai driver | |
| sudo apt install nvidia-384 nvidia-384-dev | |
| # install other import packages | |
| sudo apt-get install g++ freeglut3-dev build-essential libx11-dev libxmu-dev libxi-dev libglu1-mesa libglu1-mesa-dev | |
| # CUDA 9 requires gcc 6 |
| É uma vergonha, mas o ICP-Brazilv5 foi lançado em 2016 e até hoje um Chrome ou Safari atualizado ainda não reconhece a cadeira de certficação brasileira. | |
| No site do ITI, há uma explicação para quem tem Windows. | |
| Para quem tem Mac, aqui a solução: | |
| 1) Baixar os certificados raiz do ICP Brasil em: http://acraiz.icpbrasil.gov.br/repositorio/v1_v2_v5_v8_v9_goochr.p7b | |
| 2) Após baixar, clique duplo para instalar. | |
| 3) No software Keys (Acesso às chaves), encontre os certificados de Autoridade Certificadora Raiz Brasileira e, em cada um deles, dê um clique duplo | |
| 4) abra a aba "Confiança" e altere "Ao usar este certificado" para "Confiar sempre" |
| Instead of using brew to install gpg, installed GPG Tools | |
| add "/usr/local/MacGPG2/bin/" to path or alias gpg to /usr/local/MacGPG2/bin/gpg2 | |
| follow instructions |
| I recently spent a unimaginable amount of time installing MinionPro to use with latex. Here is how I eventually did it: | |
| 1) installed text-live 2021 full, the limited no-gui version did not work: | |
| brew install --cask mactex | |
| brew install lcdf-typetools | |
| 2) convert Minion otf files into the format text wants it. | |
| git clone git\@github.com:sebschub/FontPro.git | |
| cd FontPro | |
| cp -r $path-to-otf-files . | |
| # The files are now in a otf dir inside FontPro dir | |
| sudo su |