Skip to content

Instantly share code, notes, and snippets.

@JunSuzukiJapan
JunSuzukiJapan / .gitignore
Created February 10, 2018 02:52
.gitignore for XCode
# Xcode (from gitignore.io)
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
@JunSuzukiJapan
JunSuzukiJapan / tasks.json
Created January 20, 2018 10:00
VS Code tasks.json for Elixir/Mix
{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"type": "shell",
"command": "mix compile",
"group": {
"kind": "build",
"isDefault": true
@JunSuzukiJapan
JunSuzukiJapan / tasks.json
Last active August 18, 2019 17:52
VS Code tasks.json for Rust/Cargo
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "build",
"type": "shell",
"command": "cargo build",
"group": {
{
"version": "1.0.0-*",
"buildOptions": {
"debugType": "portable",
"emitEntryPoint": false
},
"dependencies": {
},
"testRunner": "xunit",
"frameworks": {
@JunSuzukiJapan
JunSuzukiJapan / alloy.jmk
Last active December 20, 2015 03:18
alloy.jmk for compile TypeScript source files in Titanium Mobile
function compile(TypeScript, logger, sourcefilename){
var _this = this;
var ByteOrderMark = {};
ByteOrderMark[ByteOrderMark["None"] = 0] = "None";
ByteOrderMark[ByteOrderMark["Utf8"] = 1] = "Utf8";
ByteOrderMark[ByteOrderMark["Utf16BigEndian"] = 2] = "Utf16BigEndian";
ByteOrderMark[ByteOrderMark["Utf16LittleEndian"] = 3] = "Utf16LittleEndian";
var FileInformation = (function () {