I hereby claim:
- I am jvrck on github.
- I am jvrck (https://keybase.io/jvrck) on keybase.
- I have a public key ASCBmUopDEH49BJUWGjB40rKUXTstNfgDJVl_rBAHoBhTAo
To claim this, I am signing this object:
| # Takes args from build.args file | |
| docker build -t new-tag-name $(for i in `cat build.args`; do out+="--build-arg $i " ; done; echo $out;out="") . |
| SELECT table_schema "DB Name", | |
| ROUND(SUM(data_length + index_length) / 1024 / 1024, 1) "DB Size in MB" | |
| FROM information_schema.tables | |
| GROUP BY table_schema; |
I hereby claim:
To claim this, I am signing this object:
| For troubleshooting, two things to first try: | |
| brew install gnupg2 | |
| run `git config --global gpg.program gpg2`, to make sure git uses gpg2 and not gpg | |
| run `echo "test" | gpg2 --clearsign`, to make sure gpg2 itself is working | |
| If that all looks all right, one next thing to try: | |
| run `brew install pinentry` to ensure you have a good tool installed for passphrase entry | |
| If after that install and you re-try git commit and still get the "failed to sign the data" error: |
| var buffer = require('buffer'); | |
| var path = require('path'); | |
| var fs = require('fs'); | |
| function encode_base64(filename){ | |
| fs.readFile(path.join(__dirname,'/public/',filename),function(error,data){ | |
| if(error){ | |
| throw error; | |
| }else{ | |
| var buf = Buffer.from(data); |
| /* | |
| source: http://stackoverflow.com/questions/11092576/sql-query-with-optional-parameter-and-possible-null-column | |
| Add optinal parameters to SQL scripts or sps | |
| */ | |
| select id, customername | |
| from customertable | |
| where | |
| (referredby = @referredby OR @referredby is null) and | |
| (field2 = @f2 OR @f2 is null) |
| Select [column_name], count(*) | |
| From [dbo].[dupes] | |
| Group By [column_name] | |
| order by count(*) DESC |