Skip to content

Instantly share code, notes, and snippets.

View mtpython's full-sized avatar

Serge mtpython

View GitHub Profile
@mtpython
mtpython / Fujifilm XF10 ISO Adaptive Full 1.2.xmp
Last active April 29, 2021 14:57
Lightroom import preset for Fujifilm XF10, built for all ISO values, with little noise reduction at the higher end
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.6-c140 79.160451, 2017/05/06-01:08:21 ">
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description rdf:about=""
xmlns:crs="http://ns.adobe.com/camera-raw-settings/1.0/"
crs:PresetType="Normal"
crs:Cluster=""
crs:UUID="08C969E504F348E1B540778ED7118543"
crs:SupportsAmount="False"
crs:SupportsColor="True"
crs:SupportsMonochrome="True"
@mtpython
mtpython / Unity .gitattributes
Created March 8, 2021 16:52
.gitattributes for Unity 2019.4.20f1 with git-lfs
# ! Set up git-lfs and path to Unity SmartMerge before use
#
# Source: https://hextantstudios.com/unity-gitattributes/
#
# After making changes to this file:
# git reset HEAD --
# git add -A
# Macro for Unity YAML-based asset files.
[attr]unityyaml -text merge=unityyamlmerge diff
@mtpython
mtpython / Unity .gitignore
Created March 8, 2021 16:54
.gitignore for Unity 2019.4.20f1 with git-lfs
# This .gitignore file should be placed at the root of your Unity project directory
#
# Get latest from https://github.com/github/gitignore/blob/master/Unity.gitignore
#
/[Ll]ibrary/
/[Tt]emp/
/[Oo]bj/
/[Bb]uild/
/[Bb]uilds/
/[Ll]ogs/
@mtpython
mtpython / g-drive-curl.md
Created November 16, 2022 12:29
g-drive curl
  1. g-drive: Get Link, get FILEID
  2. OAuth2 Playground
  3. "Drive API v3" — https://www.googleapis.com/auth/drive.readonly
  4. "Authorize APIs", "Exchange authorization code for tokens", get "Access Token" (TOKEN)
curl -C - -H "Authorization: Bearer TOKEN" https://www.googleapis.com/drive/v3/files/FILEID?alt=media -o FILENAME