I hereby claim:
- I am solace on github.
- I am solace (https://keybase.io/solace) on keybase.
- I have a public key ASBFfPwLOZyVzGD49DMuAY9WrHnQsvPysM54dAvkYD2G1Qo
To claim this, I am signing this object:
| /** | |
| * Get `splendido:accounts-meld` working with the Mantra sample Blog App | |
| * | |
| * Create a file that looks something like this in your `/server` | |
| * | |
| * Caveat: No guarantees, negligible support, YMMV. If you have a better way, let me know. | |
| */ | |
| import {Meteor} from 'meteor/meteor'; | |
| import _ from 'lodash'; |
| # Update the support arrays to include 5.5. | |
| brew_array=("5.5","5.6","7.0","7.1","7.2") | |
| php_array=("php@5.5" "php@5.6" "php@7.0" "php@7.1" "php@7.2") | |
| valet_support_php_version_array=("php@5.5" "php@5.6" "php@7.0" "php@7.1" "php@7.2") | |
| # Search for the `brew link --force "$php_version"` line, and replace it with this. | |
| if [[ $(echo "$php_version" | sed 's/^php@//' | sed 's/\.//') -lt 56 ]] | |
| then | |
| brew link --force --overwrite "$php_version" | |
| else |
I hereby claim:
To claim this, I am signing this object:
| type Dict = { [key: string]: number }; | |
| const hashtags: Dict = {}; | |
| Wordpress.anyNewPostWp.TagsAndCategories.split(',').map( | |
| s => hashtags['#' + s.toLowerCase().replace(/[\s-]+/g, '')] = 1 | |
| ); | |
| Buffer.addToBuffer.setMessage( | |
| Wordpress.anyNewPostWp.PostTitle + "\n" + | |
| Object.keys(hashtags).join(' ') + "\n" + |
| /* | |
| * Migrate Fontawesome 4 to Fontawesome 5 | |
| * @website https://www.litecart.net/ | |
| */ | |
| (function($){ | |
| var icons = { | |
| "fa-500px": "fab fa-500px", | |
| "fa-address-book-o": "far fa-address-book", | |
| "fa-address-card-o": "far fa-address-card", |
| # Source: https://github.com/yourlabs/django-autocomplete-light/blob/master/test_project/select2_generic_foreign_key/admin.py | |
| import json | |
| from django.contrib import admin | |
| from django.contrib.admin.options import IS_POPUP_VAR, TO_FIELD_VAR | |
| from django.contrib.contenttypes.models import ContentType | |
| from django.template.response import TemplateResponse | |
| from .forms import TForm |
| /* Only the necessary information to address | |
| * https://github.com/tomchentw/react-google-maps/issues/183#issuecomment-220705977 | |
| * has been included here. | |
| * | |
| * YMMV. | |
| */ | |
| import React from 'react'; | |
| // Need these to muck around with bounds |
| import React from 'react'; | |
| import editor from 'react-bootstrap-table/lib/Editor'; | |
| // Copied wholesale from react-bootstrap-table, modified where noted | |
| class CustomModalBody extends React.Component { | |
| getFieldValue() { | |
| const newRow = {}; | |
| this.props.columns.forEach((column, i) => { | |
| let inputVal; |