Skip to content

Instantly share code, notes, and snippets.

View ChasManRors's full-sized avatar

Charles Magid ChasManRors

View GitHub Profile
Fyi from doing the import from last night
be rake bby:init_fixture_positions['/Users/cmagid/projects/vmm/tmp/feed/inbound/fixture_positions/FixturePosition-0359.csv']
large number of the following:
Skipping grouping of unmerchandisible fixture from row:
Skipping grouping of unmerchandisible fixture from row:
Skipping grouping of unmerchandisible fixture from row:
** Execute environment
API::V1::Defaults was included by API::V1::Base
API::V1::Helpers was included by API::V1::Helpers
** Execute setup
** Execute bby:setup_feed
** Execute bby:import_fixture_positions
rake aborted!
undefined local variable or method `name' for main:Object
/Users/cmagid/projects/vmm/lib/tasks/sites/bby.rake:227:in `block (2 levels) in <top (required)>'
VMM > click 'Pog Comments'
Search on arbitrary UPC '00811571016518' in VMM
Find similar line in csv file on sftp server
"00811571016518","4397400","GOOGLE CHROMECAST 2015","GOOGLE INC.","GA3A00093-","1888163","EA","4.9","4.8","1.9","","","","","","","","1.4","1.5","2.8","","","","","",""
Make a slight change 'Name'
from: "GOOGLE CHROMECAST 2015" to: "GOOGLE CHROMECAST 2025"
@ChasManRors
ChasManRors / gist:c47a93c4f4bc99ace172
Created September 24, 2015 14:23
how to install yafold.el for emacs if not in package system
;; chasm ;; add to init.el
(add-hook 'ruby-mode-hook 'yafolding-mode)
;; chasm ;; after the above line and near other requires put the one for this one
(require 'yafolding)
;; chasm ;; put the following file , below ------ in your load path.
@ChasManRors
ChasManRors / gist:5ad0eb17647a6565f5f2
Created August 9, 2015 02:58
Sexual attraction to a single person
Identifies as a Male who was born as a Male and now is physically a Male and is attracted to one type, a Male who identifies as a Male and was born as a Male.
Identifies as a Male who was born as a Male and now is physically a Male and is attracted to one type, a Male who identifies as a Male and was born as a Female.
Identifies as a Male who was born as a Male and now is physically a Male and is attracted to one type, a Male who identifies as a Male and was born as a Male&Female.
Identifies as a Male who was born as a Male and now is physically a Male and is attracted to one type, a Male who identifies as a Female and was born as a Male.
Identifies as a Male who was born as a Male and now is physically a Male and is attracted to one type, a Male who identifies as a Female and was born as a Female.
Identifies as a Male who was born as a Male and now is physically a Male and is attracted to one type, a Male who identifies as a Female and was born as a Male&Female.
Identifies as a Male who was born as a M
ActiveRecord::StatementInvalid (PG::UndefinedTable: ERROR: relation "sessions" does not exist
LINE 4: WHERE a.attrelid = '"sessions"'::regclass
^
: SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
FROM pg_attribute a LEFT JOIN pg_attrdef d
ON a.attrelid = d.adrelid AND a.attnum = d.adnum
WHERE a.attrelid = '"sessions"'::regclass
AND a.attnum > 0 AND NOT a.attisdropped
ORDER BY a.attnum
here is a gitst
Debugger entered--Lisp error: (wrong-type-argument symbolp #[(buffer) "\303 \204
\304
!)\207" [ad-return-value ac-completing buffer nil ad-Orig-flymake-on-timer-event] 2 #("Advice doc string" 0 17 (dynamic-docstring-function ad--make-advised-docstring))])
ad-real-orig-definition(#[(buffer) "\303 \204\n\304\n!)\207" [ad-return-value ac-completing buffer nil ad-Orig-flymake-on-timer-event] 2 #("Advice doc string" 0 17 (dynamic-docstring-function ad--make-advised-docstring))])
ad--make-advised-docstring(#("Advice doc string" 0 17 (dynamic-docstring-function ad--make-advised-docstring)) #[(buffer) "\303 \204\n\304\n!)\207" [ad-return-value ac-completing buffer nil ad-Orig-flymake-on-timer-event] 2 #("Advice doc string" 0 17 (dynamic-docstring-function ad--make-advised-docstring))])
documentation(#[(buffer) "\303 \204\n\304\n!)\207" [ad-return-value ac-completing buffer nil ad-Orig-flymake-on-timer-event] 2 #("Advice doc string" 0 17 (dynamic-docstring-function ad--make-advised-docstring))]
Rightpeopleforthejob::Application.routes.draw do
# devise_for :users, :controllers => {:registrations => "registrations"}
devise_for :users
resources :testscaffolds
resources :filter_analytics
resources :contact_feewises
Create a Private Key
Keep the private key file in a safe place as it will be required again when configuring SSL for your application.
A private key is required to generate the CSR. You will be asked to enter a passphrase for your private key during this process. Enter any value as we will strip it out in the next step.
$ openssl genrsa -des3 -out site.key 2048
...
Enter pass phrase for site.key:
Verifying - Enter pass phrase for site.key:
You will now have a site.keyprivate key file in your current working directory.