This file contains 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
using UnityEngine; | |
using UnityEditor; | |
using UnityEngine.SceneManagement; | |
using UnityEditor.SceneManagement; | |
using System; | |
public class FindMissingScriptsEditor : EditorWindow | |
{ | |
[MenuItem("Window/Utilities/Find Missing Scripts")] | |
public static void FindMissingScripts() |
This file contains 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
using System.Text; | |
using UnityEngine; | |
using UnityEditor; | |
namespace Friday.Utilities | |
{ | |
public class ClearShaderProperties : EditorWindow | |
{ | |
private Material m_selectedMaterial; | |
private SerializedObject m_serializedObject; |
This file contains 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
alias grhod='git reset --hard origin/develop; git clean -fd; git submodule update --recursive' | |
alias remod='git reset --hard; git clean -fd; git checkout -f develop; git remote update origin --prune; git reset --hard origin/develop; git clean -fd; git submodule update --recursive' | |
alias l='ls -la' | |
compdef g=git | |
__git_complete g __git_main | |
__git_complete grh _git_complete_refs | |
function endreview() { | |
gitdir=$(git rev-parse --show-toplevel)/.git | |
review_file=${gitdir}/review-branch |
This file contains 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
function Check-Version() | |
{ | |
$file = $args[0] | |
$lines = Get-Content "$file" -TotalCount 2 | |
return $lines[0].Trim(), $lines[1].Trim() | |
} | |
function Install-Component() | |
{ | |
$PATH = $args[0] |
This file contains 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
root = true | |
[*] | |
charset = utf-8 | |
end_of_line = lf | |
indent_style = space | |
trim_trailing_whitespace = true | |
insert_final_newline = true | |
[*.{cs,py,shader,cginc,xml}] |
This file contains 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
# https://paiza.jp/poh/ec-campaign | |
n, d = STDIN.gets.split(/ /).map(&:to_i) | |
products = [] | |
1.upto(n) do |i| | |
products << STDIN.gets.to_i | |
end | |
campaigns = [] |
This file contains 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
class Migration1 < ActiveRecord::Migration | |
def change | |
add_column :models, :test_1, :integer | |
Model.update_first | |
end | |
end |
This file contains 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
source "https://rubygems.org" | |
gem "mechanize" |
This file contains 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
using UnityEngine; | |
using System.Collections; | |
public class #SCRIPTNAME# : MonoBehaviour | |
{ | |
void Awake() | |
{ | |
} | |
} |
This file contains 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
require 'json' | |
require 'date' | |
# SETTINGS | |
PAGE = 1 | |
PER_PAGE = 10 | |
AUTH = "" # basic authentication info | |
REPO = "" # eg zaki/dotfiles | |
class PR |
NewerOlder