Getting the PublicKeyToken of .Net assemblies [duplicate]

Open a command prompt and type one of the following lines according to your Visual Studio version and Operating System Architecture : VS 2008 on 32bit Windows : “%ProgramFiles%\Microsoft SDKs\Windows\v6.0A\bin\sn.exe” -T <assemblyname> VS 2008 on 64bit Windows : “%ProgramFiles(x86)%\Microsoft SDKs\Windows\v6.0A\bin\sn.exe” -T <assemblyname> VS 2010 on 32bit Windows : “%ProgramFiles%\Microsoft SDKs\Windows\v7.0A\bin\sn.exe” -T <assemblyname> VS 2010 on … Read more

Getting the PublicKeyToken of .Net assemblies [duplicate]

Open a command prompt and type one of the following lines according to your Visual Studio version and Operating System Architecture : VS 2008 on 32bit Windows : “%ProgramFiles%\Microsoft SDKs\Windows\v6.0A\bin\sn.exe” -T <assemblyname> VS 2008 on 64bit Windows : “%ProgramFiles(x86)%\Microsoft SDKs\Windows\v6.0A\bin\sn.exe” -T <assemblyname> VS 2010 on 32bit Windows : “%ProgramFiles%\Microsoft SDKs\Windows\v7.0A\bin\sn.exe” -T <assemblyname> VS 2010 on … Read more

Github permission denied: ssh add agent has no identities

Full details in this answer. In summary, when ssh-add -l returns “The agent has no identities”, it means that keys used by ssh (stored in files such as ~/.ssh/id_rsa, ~/.ssh/id_dsa, etc.) are either missing, they are not known to ssh-agent, which is the authentication agent, or that their permissions are set incorrectly (for example, world writable). … Read more

How does a public key verify a signature?

Your understanding of “public keys encrypt, private keys decrypt” is correct… for data/message ENCRYPTION. For digital signatures, it is the reverse. With a digital signature, you are trying to prove that the document signed by you came from you. To do that, you need to use something that only YOU have: your private key. A … Read more

Adding a public key to ~/.ssh/authorized_keys does not log me in automatically

You need to verify the permissions of the authorized_keys file and the folder / parent folders in which it is located. chmod 700 ~/.ssh chmod 600 ~/.ssh/authorized_keys For more information see this page. You may also need to change/verify the permissions of your home directory to remove write access for the group and others. chmod … Read more

Permission denied (publickey) when deploying heroku code. fatal: The remote end hung up unexpectedly

You have to upload your public key to Heroku: heroku keys:add ~/.ssh/id_rsa.pub If you don’t have a public key, Heroku will prompt you to add one automatically which works seamlessly. Just use: heroku keys:add To clear all your previous keys do : heroku keys:clear To display all your existing keys do : heroku keys EDIT: … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)