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
#pragma warning disable 618 | |
#pragma warning disable 612 | |
#pragma warning disable 414 | |
#pragma warning disable 168 | |
namespace MessagePack.Resolvers | |
{ | |
using System; | |
using MessagePack; |
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
#!/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 |
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
## 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 |
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
# ============ # | |
# OS generated # | |
# ============ # | |
.DS_Store* | |
._* | |
.Spotlight-V100 | |
.Trashes | |
Icon? | |
ehthumbs.db | |
[Tt]humbs.db |
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
// 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 |
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
// 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 |