This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from django.contrib.postgres.fields import JSONField | |
| from graphene.types.generic import GenericScalar | |
| from graphene.utils.str_converters import to_camel_case, to_snake_case | |
| from graphene_django.converter import convert_django_field | |
| def patch_graphene_django_JSONField_converter(auto_camel_case=True): | |
| """ | |
| Ask `graphene_django` to convert `JSONField` to `GenericScalar` (JSON as is) instead of default `JSONString` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "bufio" | |
| "bytes" | |
| "fmt" | |
| "image" | |
| "image/jpeg" | |
| _ "image/png" | |
| "io" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #重点是跳过前面41个字节,MIUI加的文件头要去掉 | |
| dd if=微信\(com.tencent.mm\).bak of=backup.db bs=512M skip=41 iflag=skip_bytes | |
| java -jar abe-all.jar unpack backup.db backup.tar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Minimal Android CI Workflow | |
| on: | |
| push: | |
| branches: | |
| - master | |
| tags: | |
| - 'v*' | |
| jobs: |
OlderNewer