Skip to content

Instantly share code, notes, and snippets.

@bzerangue
bzerangue / update-hosts.sh
Last active Mar 3, 2020
A small shell script that will add and remove lines from the hosts file. Originally created by Claus Witt, http://clauswitt.com/319.html.
View update-hosts.sh
#! /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}
@kellbot
kellbot / slicer.py
Created Nov 29, 2010
Script for slicing voxelized objects
View slicer.py
#!BPY
"""
Name: 'Slicer 1.0'
Blender: 243
Group: 'Misc'
Tooltip: 'Slice voxelized object'
"""
import Blender, BPyMessages, BPyMesh