Skip to content

Instantly share code, notes, and snippets.

View FlintSable's full-sized avatar
:octocat:

Nicholas Noochla-or FlintSable

:octocat:
View GitHub Profile
@g0t4
g0t4 / Notes.md
Last active November 4, 2024 06:15
Getting Started with Docker on Windows
@radio412
radio412 / gist:2b117658f0a34b3f5a26
Created April 7, 2015 15:37
Export obj, dae, and stl files from Rhino 3d via layers, grouped as layers or as individual objects.
import os
import scriptcontext
import rhinoscriptsyntax as rs
print "//export run started/////////////"
# this function via mcneel/rhinoscriptsyntax
#https://github.com/mcneel/rhinoscriptsyntax/blob/master/Scripts/rhinoscript/layer.py
def layerNames(sort=False):
@jstangroome
jstangroome / gist:823580
Created February 12, 2011 07:37
A simple solution for executing 64-bit PowerShell commands from 32-bit PowerShell without using PS Remoting or requiring administrative privileges
function Invoke-OSArchitectureCommand (
[Parameter(Mandatory=$true)]
[ScriptBlock]
$ScriptBlock,
$ArgumentList
) {
if ($PSHOME -match '\\syswow64\\') {
$PowerShellx64 = $PSHOME -replace '\\syswow64\\','\sysnative\' | Join-Path -ChildPath powershell.exe