Skip to content

Instantly share code, notes, and snippets.

@lucasvinbr
lucasvinbr / urhoproj-setup-symlinks.lua
Created Aug 8, 2022
Set up folder junctions (hard symlinks) for easier use of the base urho3d editor with other projects' assets
View urhoproj-setup-symlinks.lua
@lucasvinbr
lucasvinbr / export-sheets-as-csv.gs
Last active Jul 15, 2022 — forked from marcellusmontilla/export-named-sheet-as-csv.gs
Google apps script to export all sheets as csv files
View export-sheets-as-csv.gs
/*
* script to export data of all sheets as csv files
* files are stored in a Google Drive folder
* files named according to the name of the sheets
* original author: Michael Derazon (https://gist.github.com/mderazon/9655893)
*/
function onOpen() {
var ss = SpreadsheetApp.getActiveSpreadsheet();
var csvMenuEntries = [{name: "Save as CSV", functionName: "saveAsCSV"}];
@lucasvinbr
lucasvinbr / ToEmmyLuaHook.lua
Last active Jul 31, 2022
Urho3d tolua++ hook that generates a .lua file that can be used as a library in sumneko's lua plugin for vscode ( https://github.com/sumneko/lua-language-server )
View ToEmmyLuaHook.lua
--
-- Copyright (c) 2008-2020 the Urho3D project.
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and associated documentation files (the "Software"), to deal
-- in the Software without restriction, including without limitation the rights
-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-- copies of the Software, and to permit persons to whom the Software is
-- furnished to do so, subject to the following conditions:
--
@lucasvinbr
lucasvinbr / image_set_scale.py
Created Dec 18, 2018
Blender: Set Image Scale
View image_set_scale.py
# ##### BEGIN GPL LICENSE BLOCK #####
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@lucasvinbr
lucasvinbr / remapMaterialsByImage.py
Created Nov 16, 2018
Blender: Remap Materials Based on Main Texture Image
View remapMaterialsByImage.py
# ##### BEGIN GPL LICENSE BLOCK #####
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the