Skip to content

Instantly share code, notes, and snippets.

Andrew Persad akpersad

  • Deloitte Digital
  • Brooklyn, NY
Block or report user

Report or block akpersad

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View CSSGridLayout.js
javascript: (function() {
var styleEl = document.getElementById('css-layout-hack');
if (styleEl) {
styleEl.remove();
return;
}
styleEl = document.createElement('style');
styleEl.id = 'css-layout-hack';
styleEl.innerHTML = '* { background:#000!important;color:#0f0!important;outline:solid #f00 1px!important; background-color: rgba(255,0,0,.2) !important; }\
* * { background-color: rgba(0,255,0,.2) !important; }\
View PagingSortingController.cls
global class PagingSortingController {
@AuraEnabled global static Account[] getAccounts() {
return [SELECT Name, Industry, AnnualRevenue FROM Account LIMIT 1000];
}
}
View PagingSortingController.cls
global class PagingSortingController {
@AuraEnabled global static Account[] getAccounts() {
return [SELECT Name, Industry, AnnualRevenue FROM Account LIMIT 1000];
}
}
View palidrome.rb
require 'pry'
class PalindromeFinder
def initialize(string)
# code here
@string = string
end
def get_longest_palindrome
if @string.length >= 1
View hashketball
require 'pry'
#require 'awesome_print'
# Write your code here!
def game_hash
game_hash = {
:home => {
:team_name => "Brooklyn Nets",
:colors => ["Black", "White"],
You can’t perform that action at this time.