Skip to content

Instantly share code, notes, and snippets.

View CodeIQ's full-sized avatar

CodeIQ CodeIQ

View GitHub Profile
@CodeIQ
CodeIQ / gist:3863315
Created October 10, 2012 05:24
Find Memory Leaks
//
// MemoryLeakTestTableViewController.m
// MemoryLeakTest
@interface MemoryLeakTestTableViewController : UITableViewController
{
NSMutableArray *dataForCellArray1;
}
@property (retain, nonatomic) NSMutableArray *dataForCellArray2;
@property (retain, nonatomic) NSMutableArray *dataForCellArray3;
@CodeIQ
CodeIQ / clock.py
Created October 10, 2012 02:17 — forked from vkgtaro/clock.py
CodeIQ 用問題
# -*- coding: utf-8 -*-
import sys
import time
import datetime
class Observable():
pass
class Tick(Observable):
@CodeIQ
CodeIQ / gist:3856987
Created October 9, 2012 06:32
121022_1
//
// MemoryLeakTestTableViewController.m
// MemoryLeakTest
@interface MemoryLeakTestTableViewController ()
{
NSMutableArray *dataForCellArray1;
}
@property (retain, nonatomic) NSMutableArray *dataForCellArray2;
@property (retain, nonatomic) NSMutableArray *dataForCellArray3;
@CodeIQ
CodeIQ / gist:3663955
Created September 7, 2012 06:52
120910_1
//[ index.html ]
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<title>scriptからscriptを読み込む</title>
</head>
<body>
<script>
document.write('<script src="javascript.js"></script>');