Skip to content

Instantly share code, notes, and snippets.

nemotoo nemotoo

Block or report user

Report or block nemotoo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@nemotoo
nemotoo / Gen.cs
Created Aug 3, 2017
Skeleton of mpc
View Gen.cs
#pragma warning disable 618
#pragma warning disable 612
#pragma warning disable 414
#pragma warning disable 168
namespace MessagePack.Resolvers
{
using System;
using MessagePack;
View install-perforce
#!/bin/sh
wget ftp://ftp.perforce.com/perforce/r16.1/bin.linux26armhf/p4d
chmod +x p4d
sudo mv p4d /usr/local/bin
sudo adduser perforce
sudo mkdir /perforce_depot
sudo chown perforce /perforce_depot
sudo mkdir /var/log/perforce
sudo chown perforce /var/log/perforce
@nemotoo
nemotoo / .gitattributes
Last active Oct 15, 2019
.gitattributes for Unity3D with git-lfs
View .gitattributes
## Unity ##
*.cs diff=csharp text
*.cginc text
*.shader text
*.mat merge=unityyamlmerge eol=lf
*.anim merge=unityyamlmerge eol=lf
*.unity merge=unityyamlmerge eol=lf
*.prefab merge=unityyamlmerge eol=lf
@nemotoo
nemotoo / .gitignore
Created Apr 13, 2016
.gitignore for Unity3D
View .gitignore
# ============ #
# OS generated #
# ============ #
.DS_Store*
._*
.Spotlight-V100
.Trashes
Icon?
ehthumbs.db
[Tt]humbs.db
@nemotoo
nemotoo / SelfSizingTextViewTableCell.swift
Created Jul 29, 2015
SelfSizing TableViewCell with Swift 2.0 Beta Raw
View SelfSizingTextViewTableCell.swift
// References
// https://github.com/damienpontifex/BlogCodeSamples/tree/master/SelfSizingTextViewTableCell
// https://pontifex.azurewebsites.net/self-sizing-uitableviewcell-with-uitextview-in-ios-8/
//
// In UITableViewController
// tableView.rowHeight = UITableViewAutomaticDimension;
// tableView.estimatedRowHeight = DefaultCellHeight;
//
import UIKit
@nemotoo
nemotoo / SeamlessInfiniteTableViewController.swift
Last active Aug 29, 2015
Seamless Infinite UITableView with double page data
View SeamlessInfiniteTableViewController.swift
// Reference - Main : http://stackoverflow.com/questions/18164519/uitableview-inserting-section-at-top-while-scrolling
// Reference - Sub : http://bharath2020.in/2012/10/01/uitableview-tricks-part-2-infinite-scrolling/
import UIKit
class SeamlessInfiniteTableViewController: UITableViewController {
/* Variables */
let FetchingCount = 10 //WARNING : Below 10 is not recommened and tested
var mergedSections:[[String]] = [] //WARNING : Every section has more than 0 row
You can’t perform that action at this time.