Skip to content

Instantly share code, notes, and snippets.

@MisterX2000
MisterX2000 / .gitattributes
Last active February 19, 2018 13:20 — forked from MattOstgard/.gitattributes
.gitattributes for Unity3D with git-lfs
# Unity
*.cginc text
*.cs diff=csharp text
*.shader text
# Unity YAML
*.anim merge=unityyamlmerge eol=lf
*.asset merge=unityyamlmerge eol=lf
*.controller merge=unityyamlmerge eol=lf
@MisterX2000
MisterX2000 / README.md
Last active May 1, 2019 19:22 — forked from jamesramsay/README.md
Gmail: delete old emails automatically

Gmail: delete old emails automatically

Automatically deletes old emails that match the specified label.

Get started

  • Create a new Google Apps Script at https://script.google.com
  • Overwrite the placeholder with the javascript below
  • Update the following constants:
  • LABEL_TO_DELETE: the label that should be have old messages deleted
@MisterX2000
MisterX2000 / humble_download_trove.js
Last active April 28, 2023 05:19 — forked from dob9601/humble_download_trove.js
Download the whole of the humble trove (if you have subscribed to the humble trove)
var buttons = $("#trove-main .trove-grid .trove-grid-item");
function download() {
$.each(buttons, function(i, btn) {
setTimeout(function() {
btn.click();
$(".js-download-button").click();
$(".js-dismiss").click();
console.log("(" + (i+1) + "/" + buttons.length + ") " + $(".product-human-name").text());
}, 1000 * i);