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
<?php | |
class Status extends MY_Controller { | |
function Status() { | |
parent::MY_Controller(); | |
$this->load->model('Status_model'); | |
function get_database_quantity($id) { | |
$db_quantity = $this->Database_model->get_from_organization_by_id($id); |
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
<?php | |
class Status extends MY_Controller { | |
function Status() { | |
parent::MY_Controller(); | |
$this->load->model('Status_model'); | |
} | |
function index() { |
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
<?php | |
class Status extends MY_Controller { | |
function Status() { | |
parent::MY_Controller(); | |
$this->load->model('Status_model'); | |
} | |
function index() { |
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
Anyways, I think the only issue with this otherwise great plugin is that you don't have an indication of what buffer your cursor is currently active in. See the following screenshot for an example: | |
http://fhl.gd/mhM | |
I have 2 buffers open in a split, and as expected, both buffers are shown as "MBEVisibleNormal" defined in the plugin. It would be great if we could have a color property in the plugin to be something like "MBEVisibleNormalActive", so that we can define a color for a buffer which contains the active cursor. | |
I am assuming we would need an "Active" category for each of the states defined now: | |
hi def link MBENormal Comment | |
hi def link MBEChanged String |
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
# Custom status bar | |
# # Powerline symbols: ⮂ ⮃ ⮀ ⮁ ⭤ | |
set -g status-left-length 32 | |
set -g status-right-length 150 | |
set -g status-interval 5 | |
set -g status-left '#[fg=colour16,bg=colour254,bold] #S #[fg=colour254,bg=colour234,nobold]⮀' | |
set -g status-right '#[fg=colour245]⮃ %R ⮃ %d %b #[fg=colour254,bg=colour234,nobold]#(~/Documents/AppleScripts/itunes-current-track-tmux.sh)⮂#[fg=colour16,bg=colour254,bold] #h ' | |
# set -g status-right '#(~/Documents/AppleScripts/itunes-current-track-tmux.sh)' | |
set -g window-status-format "#[fg=white,bg=colour234] #I #W " | |
set -g window-status-current-format "#[fg=colour234,bg=colour39]⮀#[fg=colour16,g=colour39,noreverse,bold] #I ⮁ #W #[fg=colour39,bg=colour234,nobold]⮀" |
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
# Let's get all the data first | |
query_params = | |
data: {page: 1} | |
processData: true | |
new_request: true | |
App.Email.fetch(query_params) | |
App.User.fetch() | |
App.Rule.fetch() | |
App.PopAccount.fetch() |
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
class App.Root extends Spine.Stack | |
controllers: | |
feeds: App.Feeds | |
routes: | |
'/feeds' : 'feeds' | |
className: 'stack root' | |
constructor: -> |
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
class App extends Spine.Controller | |
@extend(Spine.Events) | |
constructor: -> | |
super | |
# Initialize cache object | |
App.cache = {} unless App.cache? |
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
<nav id="btns"> | |
<a href="#" class="next">Next</a> | |
</nav> |
OlderNewer