mkdir ~/.vim
cd ~/.vim
mkdir colors
git clone https://github.com/tomasr/molokai
mv molokai/colors/molokai.vim ~/.vim/colors/
vi ~/.vimrc
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
# -*- coding: utf-8 -*- | |
u"""KonamiCommand""" | |
from __future__ import absolute_import, division, print_function | |
from Qt import QtGui, QtWidgets | |
from maya.app.general.mayaMixin import MayaQWidgetBaseMixin | |
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
# -*- coding: utf-8 -*- | |
import sys | |
from PySide import QtCore, QtGui | |
class Ui_testGUI(object): | |
def setupUi(self, testGUI): | |
testGUI.setObjectName("testGUI") | |
testGUI.resize(310, 295) | |
testGUI.setStyleSheet("background-color: rgb(50, 50, 100);\n" | |
"color: rgb(255, 255, 255);") |
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
# First lets import our Maya command library | |
from maya import cmds | |
# Then we import our file. In this case I'm using a hardcoded value | |
# But notice the returnNewNodes parameter that tells it to give us back any imported nodes | |
# This may contain nodes we don't want | |
# So we'll need to shorten it down | |
nodes = cmds.file('C:/Users/dhruv/Documents/maya/controllerLibrary/bigdonut.ma', | |
i=True, returnNewNodes=True) |
- CARTA HOLDINGS(旧VOYAGE GROUP)
- 技術広報が新卒研修<Open AIハッカソン>をスパイしてみた - (2023/04/11)
- @t_wadaに学ぶテスト駆動開発【CARTA 23新卒研修】 - (2023/04/19)
- 【新卒研修】監修者@t_wadaと読む!プログラマが知るべき97のこと読書会 - (2024/04/09)
- Classi
- 当たり前にリリースしていく ~ 新卒研修編 - (2021/05/20)
- リモートワークのための質問力向上研修を実施しました - (2021/12/07)
- CyberZ
- 良いコードとは何か - エンジニア新卒研修 スライド公開 - (2021/04/27)
Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.
- The badges do not fully replace the license informations for your projects, they are only emblems for the README, that the user can see the License at first glance.
Translations: (No guarantee that the translations are up-to-date)
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
// c# setWeights(),setWeight() | |
// http://ueta.hateblo.jp/entry/2015/08/24/102937 | |
private void n(string name, ref MDagPath dp) | |
{ | |
MSelectionList sellist = new MSelectionList(); | |
MGlobal.getSelectionListByName( name, sellist ); | |
sellist.getDagPath( 0 , dp ); | |
} |
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
# 何らかの理由でbatchレンダリングがうまくいかない、Maya HWだと何故かレンダリングが遅い、みたいなときに便利なスクリプト | |
# 連番をRender View上でレンダリングします | |
# Progress window付きでキャンセルすることが可能ですが、なぜかRender Viewの下に隠れてしまうので上手いことやらないとキャンセル出来ないので要注意 | |
from pymel.core import * | |
from maya import mel | |
import math | |
preroll_start = None | |
s = int(playbackOptions(q=True, min=True)) # start frame | |
e = int(playbackOptions(q=True, max=True)) # end frame |
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
from maya import OpenMaya | |
from pymel.core import * | |
import math | |
class UvCoord(object): | |
def __init__(self, u, v): | |
self.u = u | |
self.v = v | |
def dist(self, uv): |
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
"検索をファイルの先頭へ循環しない | |
set nowrapscan | |
"大文字小文字の区別なし | |
set ignorecase | |
"検索時に大文字を含んでいたら大/小を区別 | |
set smartcase | |
"検索対象をハイライト |