Skip to content

Instantly share code, notes, and snippets.

@kellbot
kellbot / slicer.py
Created November 29, 2010 20:45
Script for slicing voxelized objects
#!BPY
"""
Name: 'Slicer 1.0'
Blender: 243
Group: 'Misc'
Tooltip: 'Slice voxelized object'
"""
import Blender, BPyMessages, BPyMesh
@bzerangue
bzerangue / update-hosts.sh
Last active March 3, 2020 13:54
A small shell script that will add and remove lines from the hosts file. Originally created by Claus Witt, http://clauswitt.com/319.html.
#! /bin/sh
# @author: Claus Witt
# http://clauswitt.com/319.html
# Adding or Removing Items to hosts file
# Use -h flag for help
DEFAULT_IP=127.0.0.1
IP=${3:-$DEFAULT_IP}