Skip to content

Instantly share code, notes, and snippets.

View stephensmitchell's full-sized avatar
💭
NNODESS

Stephen S. Mitchell stephensmitchell

💭
NNODESS
  • NNODESS
  • Earth
View GitHub Profile
nuget sources Add -Name "ASP.NET Core CI dev" -Source https://dotnet.myget.org/F/aspnetcore-ci-dev/api/v3/index.json
@stephensmitchell
stephensmitchell / nuget_push.ps1
Last active April 19, 2018 00:59 — forked from guitarrapc/nuget_push.ps1
nuget push #Nuget
.\nuget.exe push .\Adobe.CreativeCloud.3.2.0.129.nupkg -s http://localhost:33478/ 252a2b0db5d14418b8d654be875e176a
@stephensmitchell
stephensmitchell / update.bat
Last active April 19, 2018 01:01 — forked from Korayem/update.bat
Easily upgrade nuget.exe in ".nugets" folder #Nuget
nuget update -self
@stephensmitchell
stephensmitchell / nugetclear.sh
Last active April 19, 2018 00:59 — forked from patbonecrusher/nugetclear.sh
nuget clear cache #Nuget
nuget locals all -clear
@stephensmitchell
stephensmitchell / NuGetCmdlets.ps1
Last active April 19, 2018 01:01 — forked from loonison123/NuGetCmdlets.ps1
Common NuGet cmdlets #Nuget
# Reinstall all packages
update-package -reinstall
# Reinstall an individual package
update-package -reinstall PACKAGENAME
@stephensmitchell
stephensmitchell / reinstall.ps1
Last active April 17, 2018 19:11 — forked from fnicollier/reinstall.ps1
Reinstall a NuGet package. #Powershell
Update-package -reinstall <PackageName>
@stephensmitchell
stephensmitchell / Unity-BlenderToFBX.py
Created September 5, 2018 18:46 — forked from MattRix/Unity-BlenderToFBX.py
Custom Unity-BlenderToFBX based on a version from blenderartists.org with some minor modifications
##########################################################
# Custom Blender -> Unity Pipeline
# http://www.mimimi-productions.com, 2014
# Version: 1.9.M2
# Only for Blender 2.58 and newer
#
# Thanks to kastoria, jonim8or and Freezy for their support!
# Special thanks to Sebastian hagish Dorda for implementing the sort methods.
# http://www.blenderartists.org
##########################################################
@stephensmitchell
stephensmitchell / radial_contour.py
Created September 13, 2018 16:38 — forked from sbaer/radial_contour.py
multi-threaded python sample
import System.Threading.Tasks as tasks
import Rhino
import rhinoscriptsyntax as rs
import time, math
import scriptcontext
def radial_contour(brep, parallel, slice_count=360):
"""Generate series of curve slices through a brep by rotating a plane
multiple times and intersecting that plane with the brep. This function
@stephensmitchell
stephensmitchell / EtoCollapsibleDialog.py
Created September 13, 2018 17:00 — forked from cwensley/EtoCollapsibleDialog.py
Example showing how to create a collapsible panel in Eto using python
import scriptcontext
import rhinoscriptsyntax as rs
import clr
import sys
clr.AddReference("Eto")
clr.AddReference("Rhino.UI")
from Rhino.UI import *
from Eto.Forms import Form, Dialog, Label, TextBox, StackLayout, Orientation, Button, HorizontalAlignment, VerticalAlignment, TextAlignment, NumericUpDown, MessageBox, DropDown, CheckBox, TableLayout, StackLayoutItem, DynamicLayout, Control, Panel, Form
from Eto.Drawing import *
import System.Drawing
import System.Windows.Forms
from System.Drawing import *
from System.Windows.Forms import *
class SliderForm(Form):
def __init__(self):
self.__value_changed_callback = None
self.InitializeComponent()