Skip to content

Instantly share code, notes, and snippets.

View trabitboy's full-sized avatar

trabitboy

  • Brussel
View GitHub Profile
@Utopiah
Utopiah / triangulate_obj.py
Last active October 18, 2022 09:36
Blender Python script to triangulate obj coming from Google Blocks
# Blender Python script to triangulate obj coming from Google Blocks
# result http://vatelier.net/MyDemo/TestingTriangulation/
# via https://blender.stackexchange.com/questions/34537/how-to-batch-convert-between-file-formats
import bpy # Python interface for Blender, use Shift+F4 to start the interactive console.
# alternatively for headless server side batch conversion use blender -b -P triangulate_obj.py
import os
def convert_in_dir(path):
for root, dirs, files in os.walk(path):
for f in files:
@me7
me7 / cmd
Created July 21, 2017 10:01
use lua to execute ffmpeg
function convert2wmv(filename)
return os.execute('ffmpeg -i \"'..filename..'\" -q:v -vf scale=w=854:h=854:force_original_aspect_ratio=decrease \"'..filename..'.wmv\"')
end
function convert2wma(filename)
return os.execute('ffmpeg -i \"'..filename..'\" -vn \"'..filename..'.wma\"')
end
function cutvideo(filename)
io.write("cut from (sec): ")
@m-jowett
m-jowett / log.md
Last active January 3, 2023 07:53
Setup LibreOffice Online (Log/Guide) [WIP]

Setup LibreOffice Online (Log/Guide) [WIP]

About

This guide/log is based off my experience attempting to build and install LibreOffice Online and it's dependencies on my system.

The end goal is to get LibreOffice Online integrated with Karoshi Server.

LibreOffice Online is still in development (17/06/16).

@Chaser324
Chaser324 / GitHub-Forking.md
Last active May 2, 2024 05:49
GitHub Standard Fork & Pull Request Workflow

Whether you're trying to give back to the open source community or collaborating on your own projects, knowing how to properly fork and generate pull requests is essential. Unfortunately, it's quite easy to make mistakes or not know what you should do when you're initially learning the process. I know that I certainly had considerable initial trouble with it, and I found a lot of the information on GitHub and around the internet to be rather piecemeal and incomplete - part of the process described here, another there, common hangups in a different place, and so on.

In an attempt to coallate this information for myself and others, this short tutorial is what I've found to be fairly standard procedure for creating a fork, doing your work, issuing a pull request, and merging that pull request back into the original project.

Creating a Fork

Just head over to the GitHub page and click the "Fork" button. It's just that simple. Once you've done that, you can use your favorite git client to clone your repo or j