Skip to content

Instantly share code, notes, and snippets.

@RoCry
RoCry / .vimrc
Created March 3, 2022 16:18 — forked from simonista/.vimrc
A basic .vimrc file that will serve as a good template on which to build.
" Don't try to be vi compatible
set nocompatible
" Helps force plugins to load correctly when it is turned back on below
filetype off
" TODO: Load plugins here (pathogen or vundle)
" Turn on syntax highlighting
syntax on
@RoCry
RoCry / b.plist
Created October 17, 2018 12:13
test plist ssl
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>items</key>
<array>
<dict>
<key>assets</key>
<array>
<dict>
package main
import (
"encoding/json"
"fmt"
"log"
"net/http"
"net/url"
"os/exec"
"strconv"
@RoCry
RoCry / find out all nonlocalized string in objectivec.perl
Last active December 16, 2015 22:39
Scripts for Cocoa/CocoaTouch
#!/usr/bin/perl -w
# Usage:
# find_nonlocalized [<directory> ...]
#
# Scans .m and .mm files for potentially nonlocalized
# strings that should be.
# Lines marked with DNL (Do Not Localize) are ignored.
# String constant assignments of this form are ignored if
# they have no spaces in the value:
# NSString * const <...> = @"...";
@RoCry
RoCry / Sublime Text 2
Last active October 9, 2015 05:47 — forked from lucasfais/gist:1207002
Shortcuts
h1. Sublime Text 2 - Useful Shortcuts (Mac OS X)
h2. General
| *⌘T* | go to file |
| *⌘⌃P* | go to project |
| *⌘R* | go to methods |
| *⌃G* | go to line |
| *⌘KB* | toggle side bar |
| *⌘⇧P* | command prompt |