Skip to content

Instantly share code, notes, and snippets.

Andrea G Muffo

Block or report user

Report or block Muffo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Muffo / 0_reuse_code.js
Created Dec 9, 2015
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
Muffo /
Last active Aug 29, 2015
OpenSSL coding style - standard

This document describes the coding style for the OpenSSL project. It is is derived from the Linux kernel coding style, which can be found at: This guide is not distributed as part of OpenSSL itself. Since it is derived from the Linux Kernel Coding Style, it is distributed under the terms of the kernel license, available here:

Coding style is all about readability and maintainability using commonly available tools. OpenSSL coding style is simple. Avoid tricky expressions.

Muffo /
Last active Aug 29, 2015
CPU usage with and psutil
__author__ = 'muffo'
from bottle import route, response, run
from time import sleep
from psutil import cpu_percent
from json import dumps
import thread
cpu = None
Muffo /
Last active Aug 29, 2015
Blender scene manipulation and rendering with Python
import math
import bpy
# Replace with the correct object name
object =["Surface"]
scene =['Scene']
# Set the resolution of the output image (this does not work)
# scene.render.resolution_x = 1920
You can’t perform that action at this time.