I hereby claim:
- I am eojthebrave on github.
- I am eojthebrave (https://keybase.io/eojthebrave) on keybase.
- I have a public key whose fingerprint is 4C11 4573 F0EA 6437 FC8D 8ED9 68BE 7AD5 0A8C B869
To claim this, I am signing this object:
| <?php | |
| /** | |
| * @file | |
| * Create a CSV file with fields for every Drupal 7 entity type / bundle. | |
| * | |
| * When preparing for a Drupal 7 to Drupal 8/9 migration it can be helpful to | |
| * perform some initial content analysis. This script creates CSV files that | |
| * can be imported into Google Sheets etc. to help with this analysis. | |
| * |
| // customer.json | |
| { | |
| "name": "Mega Corp.", | |
| "order_count": 83, | |
| "address": "Infinity Loop Drive", | |
| } |
| #!/usr/bin/env node | |
| console.log("OMG Yay don't you feel safe?") |
I hereby claim:
To claim this, I am signing this object:
| casper.options.onResourceRequested = function(casper, requestData, request) { | |
| // If any of these strings are found in the requested resource's URL, skip | |
| // this request. These are not required for running tests. | |
| var skip = [ | |
| '.kissmetrics.com', | |
| 'googleads.g.doubleclick.net', | |
| 'www.googleadservices.com' | |
| ]; | |
| skip.forEach(function(needle) { |
| `curl http://services-demo.lan/api/v1/user/login -d '{"name":"admin","pass":"admin"}' -H "Content-type: application/json" -H "Accept: application/json"` | |
| `curl hhttp://services-demo.lan/api/v1/system/connect -X POST` | |
| `curl http://services-demo.lan/api/v1/system/connect -H "Cookie: SESS60f8c5b86739b7e326223b4ef35867b2=A86XHGJWlnDcMOGcArbOT-qHrsIi5P2NrcoNTXwWluw" -H "X-CSRF-Token: T77haXwD7JKOJsBlKP3p3kLbjQO96bQWvGJAE1_PUZM" -X POST` | |
| `curl http://services-demo.lan/api/v1/user/login -X POST -H "Content-type: application/json" -H "Accept: application/json"` | |
| /* Apply a background image to both the #lullabot and #drupalizeme channels */ | |
| body[channelname="#lullabot"] { | |
| background: url(https://dl.dropboxusercontent.com/u/63787/lullalogo.png) no-repeat fixed bottom right; | |
| } | |
| body[channelname="#drupalizeme"] { | |
| background: url(https://dl.dropboxusercontent.com/u/63787/dmelogo.png) no-repeat fixed center center; | |
| } |
| # I did this from the root directory of our git repo. But you can probably | |
| # do it from anywhere. | |
| brew install solr | |
| mkdir solr-config | |
| cp -r /usr/local/Cellar/solr/4.5.0/libexec/example/ solr-config/ | |
| cp docroot/sites/all/modules/contrib/apachesolr/solr-conf/solr-4.x/* solr-config/solr/collection1/conf/ | |
| cd solr-conf | |
| java -jar start.jar |
| /* | |
| Works in conjunction with dojs (https://github.com/defunkt/dotjs) to allow | |
| passing request logged in the Recurly push notification window to a local host | |
| without setting up port forwarding or the like. | |
| Useful for testing push notifications on a localhost. | |
| In order for this to work you need to add the following to the .htaccess file | |
| of your local site otherwise you will get Cross Origin Request (CORS) errors. |