Skip to content

Instantly share code, notes, and snippets.

@qwo
qwo / c11-w.sublime
Last active May 20, 2020 17:49
Sublime C++11 Build System File
//ignore being compatible with C++99 and other warnings
{
"cmd": ["clang++","-std=c++11", "-w", "-stdlib=libc++", "-Weverything", "${file}", "-o", "${file_path}/${file_base_name}"],
"file_regex": "^(\S[^:\n]*):(\d+):(\d+): (.+)",
"working_dir": "${file_path}",
"selector": "source.c, source.c++",
"variants":
[
{
@keijiro
keijiro / ScreenRecorder.cs
Last active January 26, 2022 05:01
Screen recording utility.
using UnityEngine;
using System.Collections;
public class ScreenRecorder : MonoBehaviour
{
public int framerate = 30;
public int superSize;
public bool autoRecord;
int frameCount;
@lucasfais
lucasfais / gist:1207002
Created September 9, 2011 18:46
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt