- Mission Impossible
- Pitch Perfect
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
const openApiList = [ | |
{ | |
swagger: "2.0", | |
info: { | |
description: "Test API", | |
version: "1.0.0", | |
title: "Request Catcher Testing API", | |
}, | |
host: "kyung.requestcatcher.com", | |
basePath: "/root", |
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"/> | |
<title>Lime Insurance</title> | |
<style type="text/css"> | |
body{ | |
-webkit-text-size-adjust:none; | |
-ms-text-size-adjust:none; |
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
desc 'create a test file to see if cron is working' | |
task :create_test_file, [:push] do |t, args| | |
if(args.push) | |
puts "push provided" | |
end | |
File.open("out.txt", 'w') {|f| f.write("This is a test file") } | |
end |
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
- (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath { | |
if (indexPath.section == TIP_SECTION && indexPath.row == TIP_ROW) { | |
if (cell.userInteractionEnabled) { | |
[cell layoutSubviews]; | |
UIView *editView = [self pencilView]; | |
editView.frame = CGRectMake(cell.textLabel.frame.origin.x + cell.textLabel.frame.size.width + X_OFFSET, | |
cell.textLabel.frame.origin.y - Y_OFFSET, | |
editView.frame.size.width, | |
editView.frame.size.height); |
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
#!/usr/bin/env ruby | |
if ARGV.count < 1 | |
puts "Usage: #{$0} projectName" | |
exit | |
end | |
projectName = ARGV[0]; | |
puts "Creating a web project: " + projectName |
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
# Ignore all node modules | |
node_modules | |
# Ignore Mac OS stupidness | |
.DS_Store | |
# Ignore editor junk | |
.idea | |
atlassian-ide-plugin.xml | |
TEST-*.xml |
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
NSArray *syms = [NSThread callStackSymbols]; | |
if ([syms count] > 1) { | |
NSLog(@"%@ - caller: %@", NSStringFromSelector(_cmd),[syms objectAtIndex:1]); | |
} |
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
{ "keys": ["alt+left"], "command": "move", "args": {"by": "subwords", "forward": false} }, | |
{ "keys": ["alt+right"], "command": "move", "args": {"by": "subword_ends", "forward": true} }, | |
{ "keys": ["alt+shift+left"], "command": "move", "args": {"by": "subwords", "forward": false, "extend": true} }, | |
{ "keys": ["alt+shift+right"], "command": "move", "args": {"by": "subword_ends", "forward": true, "extend": true} }, |
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
@import url(https://fonts.googleapis.com/css?family=Lato:300italic,700italic,300,700); |
NewerOlder