start new:
tmux
start new with session name:
tmux new -s myname
### Excel CSV helper for CodeIgniter | |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
// ------------------------------------------------------------------------ | |
/** | |
* CSV Helpers | |
* Inspiration from PHP Cookbook by David Sklar and Adam Trachtenberg |
Betlog Ng Matsing Lyrics | |
by: Rivermaya | |
Ituring ang iyong sariling tagahawi ng ulap | |
Sa kalangitang kulimlim | |
Kampanang yayanig sa bawat nilalang | |
Magigising ang lupang kulang sa dilig |
// YourProject-Bridging-Header.h | |
#import <FacebookSDK/FacebookSDK.h> | |
// AppDelegate.swift | |
import UIKit | |
@UIApplicationMain | |
class AppDelegate: UIResponder, UIApplicationDelegate { | |
. |
Swift Cheatsheet (Snippet Code) | |
=================== | |
### UIAlertView | |
``` | |
var title = "Error" | |
var message = "Your Error Message!" |
alter table cashier_collection add column remittance_type_id int(11) not null after agent_id; | |
CREATE TABLE `remittance_type` ( | |
`id` int(11) NOT NULL AUTO_INCREMENT, | |
`name` varchar(255) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL, | |
`status` int(1) DEFAULT '1', | |
`ts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, | |
PRIMARY KEY (`id`) | |
) ENGINE=InnoDB; |
import UIKit | |
public class Vertex { | |
var key: String? | |
var neighbors: Array<Edge> | |
init() { | |
self.neighbors = Array<Edge>() | |
} | |
} |
// | |
// Spinner.swift | |
// | |
// Created by RJ John Patrick Cruz on 1/22/16. | |
// Copyright © 2016 RJ John Patrick Cruz. All rights reserved. | |
// | |
import Foundation | |
import UIKit |