This file contains hidden or 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 bankicker() { | |
var all_users = User.all(); | |
// the first character of a username is being replaced | |
// but not used/written back to the dom?? | |
// var chat = $('.uc'); | |
// chat.each(function() { | |
// var user = $(this).find('.cun').text(); | |
// user = user.replace(/[^a-zA-Z]/g, ''); | |
// }); | |
for (var i = 0; i < all_users.length; i++) { |
This file contains hidden or 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
[{ | |
"name": "Munky.Views.ArticleFull", | |
"imports": ["Munky.Views.Category", "Munky.Models.Section", "Munky.Collections.Articles", "Munky.Settings.App", "Munky.Settings.Metrics", "Munky.Support.Time", "Munky.Support.Stocks", "Munky.FinApi"] | |
}, { | |
"name": "Munky.Views.Video", | |
"imports": ["Munky.Views.ArticleFull", "Munky.Settings.Metrics", "Munky.Support.Time"] | |
}, { | |
"name": "Munky.Views.Homepage", | |
"imports": ["Munky.Models.Section", "Munky.Collections.Articles", "Munky.Views.BreakingNews", "Munky.Views.Stock", "Munky.Views.Top", "Munky.Views.Stage", "Munky.Views.Focus", "Munky.Views.Special", "Munky.Views.Category", "Munky.Views.VideoSection", "Munky.Views.PhotoshowSection", "Munky.Views.Spinner", "Munky.Collections.Videos", "Munky.Collections.StockPrices", "Munky.Settings.App", "Munky.Settings.Spinner.Messages.Homepage", "Munky.Support.Browser"] | |
}, { |
This file contains hidden or 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
# ------------------------- | |
# application_controller.rb | |
# ------------------------- | |
class ApplicationController < ActionController::Base | |
before_filter :setup_gon | |
def setup_gon | |
Gon.global.controller = controller_name | |
Gon.global.action = action_name |
This file contains hidden or 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
# expand selection to word, create new selection | |
cmd + d | |
# skip over a match | |
cmd + k, d | |
# expand selection to all matches | |
cmd + ctrl + g |
NewerOlder