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
# Modified from the gist @https://gist.github.com/odiumediae/3b22d09b62e9acb7788baf6fdbb77cf8 | |
sudo apt-get remove -y --purge vim vim-runtime vim-gnome vim-tiny vim-gui-common | |
sudo apt-get install -y liblua5.1-dev luajit libluajit-5.1 python-dev ruby-dev libperl-dev libncurses5-dev libatk1.0-dev libx11-dev libxpm-dev libxt-dev | |
#Optional: so vim can be uninstalled again via `dpkg -r vim` | |
sudo apt-get install -y checkinstall | |
sudo rm -rf /usr/local/share/vim /usr/bin/vim |
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
#!/bin/bash | |
base_dir=`pwd` | |
curl -Lo mecab-0.996.tar.gz 'https://drive.google.com/uc?export=download&id=0B4y35FiV1wh7cENtOXlicTFaRUE' | |
tar zxfv mecab-0.996.tar.gz | |
cd mecab-0.996 | |
./configure --enable-utf8-only | |
make | |
make check |
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
(function(){ | |
var total = {}; | |
var year = '2012'; | |
var all = false; | |
function init(num) { | |
if(typeof num !== 'number') { | |
num = 0; | |
$('<div/>').css({ | |
position: 'fixed', | |
left: 0, |
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
language: objective-c | |
cache: | |
directories: | |
- vendor/bundle | |
- Pods | |
install: | |
- bundle install --path=vendor/bundle --binstubs=vendor/bin | |
- bundle exec pod install | |
script: | |
- '[ ! -z $(echo ${TRAVIS_BRANCH} | grep "^release.*$") ] && CONFIG=release || CONFIG=adhoc' |
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
require "rubygems/version" | |
require "rake/clean" | |
require "date" | |
# Application info | |
APP_NAME = "Ubiregi2" | |
SDK = "iphoneos" | |
WORKSPACE = File.expand_path("#{APP_NAME}.xcworkspace") | |
SCHEME = "#{APP_NAME}-Release" | |
INFO_PLIST = File.expand_path("#{APP_NAME}/#{APP_NAME}-Info.plist") |
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
@charset "utf-8"; | |
body { | |
background: #222; | |
} | |
body, table, form, input, td, th, p, textarea, select { | |
font-family: Helvetica, sans-serif; | |
color: #0d0; | |
} |
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
// | |
// MemoryLeakTestTableViewController.m | |
// MemoryLeakTest | |
@interface MemoryLeakTestTableViewController : UITableViewController | |
{ | |
NSMutableArray *dataForCellArray1; | |
} | |
@property (retain, nonatomic) NSMutableArray *dataForCellArray2; | |
@property (retain, nonatomic) NSMutableArray *dataForCellArray3; |
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
#!/bin/sh | |
## | |
# Copyright 2008 Apple Inc. | |
# All rights reserved. | |
# | |
# iPhoneSimulator platform | |
# This script runs all of the unit tests for the target test bundle specified by the passed-in environment. | |
# This script is generally intended to be invoked by ${DEVELOPER_TOOLS_DIR}/RunUnitTests. The interface or location of this script may change in future releases. | |
## | |
# |
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 python | |
""" | |
HTTP Link Header Parsing | |
Simple routines to parse and manipulate Link headers. | |
""" | |
__license__ = """ | |
Copyright (c) 2009 Mark Nottingham |
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
/** @see http://bit.ly/VTacev */ | |
// Turn debugger on. 0 is off. | |
// $.level = 1; | |
var OUTPUT_FOLDER_NAME = "icons" | |
, icons = [ | |
["icon_32x32", 16], | |
["icon_32x32", 32], | |
["icon_128x128", 128], |
NewerOlder