- https://fishshell.com/ - my default shell, i use theme bobthefish
- https://www.sublimetext.com/ - my default editor
- Material Theme
- Operator font
- Packages: Emmet, Hayaku, SidebarEnhancements, JS Snippets, GSAP Snippets
- Sublime snippet for comments
- Sublime icon
- https://code.visualstudio.com/ - trying to switch, but not yet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| # -*- coding: utf-8 -*- | |
| """ | |
| Created on Mon Apr 27 21:12:20 2020 | |
| @author: timallan | |
| """ | |
| from itertools import permutations |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| # -*- coding: utf-8 -*- | |
| """ | |
| Created on Sun Apr 19 19:57:38 2020 | |
| @author: timallan | |
| """ | |
| import random | |
| import time |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| javascript: | |
| (async () => { | |
| let parentType = (element,type) => { | |
| if (element.nodeName.toLowerCase() == type.toLowerCase()) { | |
| return element; | |
| } else if (element.parentElement != null) { | |
| return parentType(element.parentElement,type); | |
| } else { | |
| return false; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { ControlType, PropertyControls } from "framer"; | |
| export function generatePropertyControls( | |
| options: { | |
| hidden?: (props: any) => boolean; | |
| omittedProperties?: string[]; | |
| } = {} | |
| ): PropertyControls { | |
| const properties: PropertyControls = { | |
| // Property Controls go here |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| AbortDocumentVersionUpload | |
| AbortEnvironmentUpdate | |
| AbortMultipartUpload | |
| AbortVaultLock | |
| AcceptAccountMapping | |
| AcceptCertificateTransfer | |
| AcceptDelegate | |
| AcceptDirectConnectGatewayAssociationProposal | |
| AcceptFxPaymentCurrencyTermsAndConditions | |
| AcceptHandshake |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import * as React from "react" | |
| import { useState } from "react" | |
| import { | |
| Frame, | |
| AnimatePresence, | |
| Stack, | |
| Color, | |
| StackProperties, | |
| ControlType, | |
| addPropertyControls, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import bpy | |
| from mathutils import Vector | |
| # Create the curve data | |
| # https://blender.stackexchange.com/a/6751 | |
| curveData = bpy.data.curves.new('CameraCurve', type='CURVE') | |
| curveData.dimensions = '3D' | |
| curveData.resolution_u = 2 | |
| curveData.bevel_depth = 0.01 # curve radius in meters | |
| polyline = curveData.splines.new('NURBS') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import * as React from "react" | |
| import { | |
| Frame, | |
| FrameProps, | |
| useMotionValue, | |
| addPropertyControls, | |
| ControlType, | |
| } from "framer" | |
| type Props = FrameProps & { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import bpy | |
| # Mark all scene devices as GPU for cycles | |
| bpy.context.scene.cycles.device = 'GPU' | |
| print("--------------- SCENE LIST ---------------") | |
| for scene in bpy.data.scenes: | |
| print(scene.name) | |
| scene.cycles.device = 'GPU' | |
| scene.render.resolution_percentage = 200 |