- client url (ex: spyn.spyder.com)
- client platform name (ex: SPYN, Elastic)
- Missing Images image
- logo for pdfs
- short client name (ex: fox)
- long client name (ex: Fox Racing)
- https /SSL ?
- available on as data/info ?
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
| 𝗕𝗮𝘀𝗶𝗰 𝗗𝗮𝘁𝗮-𝗦𝘁𝗿𝘂𝗰𝘁𝘂𝗿𝗲𝘀 | |
| 𝘌𝘷𝘦𝘳𝘺𝘰𝘯𝘦 𝘴𝘩𝘰𝘶𝘭𝘥 𝘬𝘯𝘰𝘸 𝘩𝘰𝘸 𝘵𝘩𝘦𝘺 𝘸𝘰𝘳𝘬, 𝘸𝘩𝘦𝘯 𝘵𝘰 𝘶𝘴𝘦 𝘵𝘩𝘦𝘮, 𝙝𝙤𝙬 𝙩𝙤 𝙞𝙢𝙥𝙡𝙚𝙢𝙚𝙣𝙩 𝙩𝙝𝙚𝙢 | |
| • Array | |
| • Set | |
| • Hashmap | |
| • Linked List | |
| • Stack | |
| • Queue | |
| • Tree |
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
| Hello <%= @user.name %>, | |
| <%= @custom_catalog.author.name %> has shared a catalog, <%= @custom_catalog.name %>, with you. | |
| You can access this catalog from the dashboard under the "Custom Catalogs" section. | |
| The catalog will be identified with a link icon to indicate its a shared catalog. | |
| The shared catalog is read only. If you modify it, a new copy will be created for you | |
| that is not linked to the shared catalog. | |
| One of your assigned dealers, <%= @document.customer_name %> (<%= @document.author.name %>) has submitted a |
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
| #!/bin/bash | |
| # Clone of Capture Screen Region on Mac OSX (map to similar Cmd-Ctrl-Shift-4) | |
| # *** Requirements *** | |
| # shutter - `apt-get install shutter` | |
| # copyq - download from https://github.com/hluk/CopyQ/releases | |
| shutter --select --no_session --exit_after_capture --output=/tmp/screenshot-surrent.png | |
| copyq write image/png - < /tmp/screenshot-surrent.png && copyq select 0 | |
| rm /tmp/screenshot-surrent.png |
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
| #!/bin/bash | |
| ##################################################### | |
| # Name: Bash CheatSheet for Mac OSX | |
| # | |
| # A little overlook of the Bash basics | |
| # | |
| # Usage: | |
| # | |
| # Author: J. Le Coupanec | |
| # Date: 2014/11/04 |
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
| ################ | |
| # Tasks | |
| ################ | |
| # 1. A linked list is just a collection of linked nodes. | |
| # Each node is linked to another node, which we call "next" in a singly linked list. | |
| # In a doubly linked list, each node is linked to a "previous" and "next" node. | |
| # These are the constraints that define our collection of nodes as a linked list. | |
| # Extra! : http://softwarecake.com/post/29053008425/what-is-a-linked-list :) best description ever. |
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
| require 'aws/s3' # gem name is 'aws-sdk' | |
| class BucketSyncService | |
| attr_reader :from_bucket, :to_bucket, :logger | |
| attr_accessor :debug | |
| DEFAULT_ACL = :public_read | |
| # from_credentials and to_credentials are both hashes with these keys: | |
| # * :aws_access_key_id |
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
| class DevelopmentProfiler | |
| def self.prof(file_name) | |
| RubyProf.start | |
| yield | |
| results = RubyProf.stop | |
| # Print a flat profile to text | |
| File.open "#{Rails.root}/tmp/performance/#{file_name}-graph.html", 'w' do |file| |
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
| # Credit: http://richardconroy.blogspot.com/2010/08/capybara-reference.html | |
| #Navigating | |
| visit('/projects') | |
| visit(post_comments_path(post)) | |
| #Clicking links and buttons | |
| click_link('id-of-link') | |
| click_link('Link Text') | |
| click_button('Save') |
NewerOlder