TL;DR: If you want to see me perform a spoken word poem about JavaScript in front of 1000 people (and on video), please ⭐ star this gist. If you're on mobile, you'll need to request desktop site.
| /*globals $ */ | |
| /* | |
| * Patches the jQuery-animate method to use CSS-transitions when possible. | |
| * | |
| * - Depends on $.transit: http://ricostacruz.com/jquery.transit/ | |
| * - Degrades gracefully to the original method when transitions aren't supported. | |
| * - Provides fallbacks for translateX/Y's, so { x:10, y:10 } (very smooth) will become { top:10, left:10 } (less smooth) for less capable browsers. | |
| * - 3d-transforms could be enabled with enable3d:true. Example: { x:100, enable3d:true } | |
| * - Transitions could be disabled with enableTransitions:false. Example: { x:100, enableTransitions:false } |
| function getTrilateration(position1, position2, position3) { | |
| var xa = position1.x; | |
| var ya = position1.y; | |
| var xb = position2.x; | |
| var yb = position2.y; | |
| var xc = position3.x; | |
| var yc = position3.y; | |
| var ra = position1.distance; | |
| var rb = position2.distance; | |
| var rc = position3.distance; |
| * { | |
| font-size: 12pt; | |
| font-family: monospace; | |
| font-weight: normal; | |
| font-style: normal; | |
| text-decoration: none; | |
| color: black; | |
| cursor: default; | |
| } |
| # Licensed under MIT. | |
| # Copyright (2016) by Kevin van Zonneveld https://twitter.com/kvz | |
| # | |
| # This Makefile offers convience shortcuts into any Node.js project that utilizes npm scripts. | |
| # It functions as a wrapper around the actual listed in `package.json` | |
| # So instead of typing: | |
| # | |
| # $ npm script build:assets | |
| # | |
| # you could just as well type: |
Taken from 2011 Macbook Pro Graphics Card FIX 100% WORKING!!!
EDIT This method works! But there is an improved version for better thermal management and brightness keys functionality. See improved version -> https://gist.github.com/cdleon/d1eff7246a25193304284ecec40445b0
if you are on high sierra 10.13.6+ you might need to use
Command + rinstead
Boot up holding down Command + r + sI keep fixing this up, but if it fails for you, check if these are better maintained https://tip.golang.org/cmd/go/#hdr-Configuration_for_downloading_non_public_code and https://golang.org/ref/mod#private-modules.
Cloning the repo using one of the below techniques should work correctly but you may still be getting an unrecognized import error.
As it stands for Go v1.13, I found in the doc that we should use the GOPRIVATE variable like so:
GOPRIVATE=github.com/ORGANISATION_OR_USER_NAME go get -u -f github.com/ORGANISATION_OR_USER_NAME/REPO_NAME
The 'go env -w' command (see 'go help env') can be used to set these variables for future go command invocations.
| #!/usr/bin/env bash | |
| # ~/.ssh/gcp-start-iap-tunnel-ssh-proxy-magic.sh | |
| # a script to be used as SSH ProxyCommand to allow fully functional SSH access to any Google Cloud Compute Engine VMs allowing IAP access | |
| # | |
| # Author: Jaeho Shin <netj@sparcs.org> | |
| # Created: 2022-10-31 | |
| # See also: | |
| # - https://gist.github.com/netj/df4f9de1fefd254ab11979be7035b5d0/#readme | |
| # - https://cloud.google.com/iap/docs/using-tcp-forwarding | |
| # |