INSERT GRAPHIC HERE (include hyperlink in image)
Subtitle or Short Description Goes Here
// ... | |
final platformChannel = MethodChannel('special'); | |
// ... | |
final data = platformChannel.invokeMethod<Map<String, dynamic>('getData', arguments); | |
// got CastError: type '_InternalLinkedHashMap<dynamic, dynamic>' | |
// is not a subtype of type 'Map<String, dynamic>' in type cast |
If you're doing stuff with Ruby on a Mac, e.g. installling Jekyll or something, by default you'll end up having to use the sudo
command to do stuff, since the permission to modify the default config is not available to your user account.
This sucks and should be avoided. Here's how to fix that.
To make this better, we are going install a new, custom Ruby. This used to be a big, scary thing, but thanks to the awesome tools Homebrew and rbenv, it's a snap.*
A word of warning: you will have to use Terminal to install this stuff. If you are uncomfortable with text, words, and doing stuff with your computer beyond pointing and hoping, this may not work well for you. But if that's the case, I'm not sure why you were trying to use Ruby in the first place.
// XPath CheatSheet | |
// To test XPath in your Chrome Debugger: $x('/html/body') | |
// http://www.jittuu.com/2012/2/14/Testing-XPath-In-Chrome/ | |
// 0. XPath Examples. | |
// More: http://xpath.alephzarro.com/content/cheatsheet.html | |
'//hr[@class="edge" and position()=1]' // every first hr of 'edge' class |
GIT_TRACE=1 GIT_TRACE_PERFORMANCE=1 GIT_CURL_VERBOSE=1 GIT_SSH_COMMAND="ssh -vvv" [your git cmd] | |
# example | |
# GIT_TRACE=1 GIT_TRACE_PERFORMANCE=1 GIT_CURL_VERBOSE=1 GIT_SSH_COMMAND="ssh -vvv" git push --set-upstream origin migrate-gitlab-config |
javascript: (function(w) { | |
document.documentElement.insertAdjacentHTML( | |
"beforeEnd", | |
`<style>*{will-change:auto!important;-webkit-font-smoothing:${ | |
["none", "antialiased", "subpixel-antialiased", "auto"][ | |
(w.$$aamode = (++w.$$aamode | 0) % 4) | |
] | |
}!important;}</style>` | |
); | |
})(this); |
# Google's Language Map | |
ach : Acoli | |
af : Afrikaans | |
ak : Akan | |
am : አማርኛ | |
ar : العربية | |
az : azərbaycan | |
ban : Balinese | |
be : беларуская | |
bem : Ichibemba |
https://github.com/btford/write-good | |
https://github.com/get-alex/alex | |
http://atom.github.io/node-spellchecker | |
https://github.com/lukeapage/node-markdown-spellcheck | |
https://github.com/JasonEtco/prosebot |
const ignoreErrors: [ | |
/__show__deepen/, | |
/Access is denied/, | |
/anonymous function: captureException/, | |
/Blocked a frame with origin/, | |
/console is not defined/, | |
/event is not defined/, | |
/feedConf/, | |
/MyIPhoneApp_ModifyShowModalDialog/, | |
/vid_mate_check is not defined/, |
Most recently tested on macOS Sierra (10.12.6)
curl https://bootstrap.pypa.io/get-pip.py -o ~/Downloads/get-pip.py
--user
flag; python ~/Downloads/get-pip.py --user
. pip will be installed to ~/Library/Python/2.7/bin/pip~/Library/Python/2.7/bin
is in your $PATH
. For bash
users, edit the PATH=
line in ~/.bashrc
to append the local Python path; ie. PATH=$PATH:~/Library/Python/2.7/bin
. Apply the changes, source ~/.bashrc
.--user
when installing modules; ie. pip install <package_name> --user