layout: worker bfid: 201708-bitsharesui workerid: title: BitShares UI Team name: Bill Butler company: name: url: status:
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
| function (user, context, callback) { | |
| // You can add a Role based on what you want | |
| // In this case I check domain | |
| var addRolesToUser = function(user, cb) { | |
| if (user.email === '[email protected]') { | |
| cb(null, ['admin']); | |
| } else { | |
| cb(null, ['user']); | |
| } | |
| }; |
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 | |
| cd /usr/local/bin | |
| sudo curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar | |
| sudo mv wp-cli.phar wp | |
| sudo chmod +x wp | |
| cd /home/bitnami/apps/wordpress/htdocs | |
| wp option update home 'http://www.mydomain.com' | |
| wp option update siteurl 'http://www.mydomain.com' |
After the big Zoom 5.0 upgrade, I discovered that my yealink phones were not working as expected. Yealink's documentation sucks on the matter. There are a couple of issues with their documentation:
- The first set of instructions says to login to the phone by getting the IP address and opening a web browser to that IP. https://xxx.xxx.xxx.xxx. My phones had the web access disabled.
- Login to your Zoom account as an admin
- ADMIN -> Company Info -> Desk Phone
- Set Web Interface to on
I'm posting these notes because it wasn't very clear how to do this the first time I set it up. If you are using Plasmic to build a website or create react components, this will help you understand how to import existing React components. There are a few that the Plasmic Team has created wrappers for. I used this method to install it, but there were several manual steps that weren't all that obvious.
This assumes you already have created a github repo for your plasmic site and that you are following the NextJS path.
- On the root level, add this file
plasmic-init.ts. Be sure to include your id and token. I've redacted them in this example:
import { initPlasmicLoader } from "@plasmicapp/loader-nextjs";
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
| /** | |
| * @license Angular v13.2.7 | |
| * (c) 2010-2022 Google LLC. https://angular.io/ | |
| * License: MIT | |
| */ | |
| import { Observable } from 'rxjs'; | |
| import { Subject } from 'rxjs'; | |
| import { Subscribable } from 'rxjs'; | |
| import { Subscription } from 'rxjs'; |
OlderNewer