- Create or find a gist that you own.
- Clone your gist (replace
<hash>
with your gist's hash):# with ssh git clone git@gist.github.com:<hash>.git mygist # with https
git clone https://gist.github.com/.git mygist
class Example extends Phaser.Scene | |
{ | |
preload() { | |
this.load.image('backdrop', 'assets/pics/platformer-backdrop.png'); | |
this.load.image('cannon_head', 'assets/tests/timer/cannon_head.png'); | |
this.load.image('cannon_body', 'assets/tests/timer/cannon_body.png'); | |
this.load.spritesheet('chick', 'assets/sprites/chick.png', { frameWidth: 16, frameHeight: 18 }); | |
} | |
create() { |
<hash>
with your gist's hash):
# with ssh
git clone git@gist.github.com:<hash>.git mygist
# with https
git clone https://gist.github.com/.git mygist
<code class="_dYGX5IbclMlrl5HlKg8"><div class="RKd5EvdcekLoOHmadYH7 Cls16K72bxF5uWu0_fT8 E_lbv7gA85FrFeRroPBY">Error: Could not trigger Notes Limit Phase 2 Paywall</div><div>Component Stack:</div><div>The above error occurred in task anonymous</div><div> created by takeLatest(GrowthFeatures/TRIGGER_NOTES_LIMIT_PHASE_TWO_IF_ELIGIBLE, )</div><div> created by nje</div><div>Tasks cancelled due to error:</div><div>takeLatest(GrowthFeatures/TRIGGER_NOTES_LIMIT_PHASE_TWO_IF_ELIGIBLE, )</div><div>takeLeading(App/LOG_OUT, uO)</div><div>takeLeading(modals/backup_modal_submit, )</div><div>takeLatest(App/HOVER_TO_SET_DRAWER, )</div><div>takeLatest(App/SET_COLOR_THEME, )</div><div>takeLeading(App/WAIT_TILL_SYNC, )</div><div>takeEvery(Debug/CRASH_SAGA, mO)</div><div>takeLeading(APP/HANDLE_SHOW_RELEASE_NOTES_MODAL, )</div><div>takeLatest(App/NAVIGATE_TO, )</div><div>takeLatest(AllNotes/SELECT_ALL_NOTES, IAe)</div><div>takeLatest(AllNotes/SELECT_ALL_NOTES_VIEW, )</div><div>takeLatest(AllNotebooks/SELECT_ALL_NOTEBOOKS, |
# set the base image to Debian | |
# https://hub.docker.com/_/debian/ | |
FROM debian:latest | |
# replace shell with bash so we can source files | |
RUN rm /bin/sh && ln -s /bin/bash /bin/sh | |
# update the repository sources list | |
# and install dependencies | |
RUN apt-get update \ |
Crontab syntax taken from guide:
* * * * * command
│ │ │ │ │
│ │ │ │ └─── day of week (0 - 6) (0 = Sunday, 6 = Saturday)
│ │ │ └──────── month (1 - 12)
define(function() { | |
/** | |
* Add one or more numbers. | |
* | |
* @param {...number} | |
* @return {Number} - The sum or 0. | |
*/ | |
function add() { | |
var sum = 0; | |
var num; |
You would do the same thing except after renderHook()
:
await act(() => {
const [myMutation] = result.current;
myMutation(/* your args */);
});
expect(result.current[1]).toEqual({
// your object
docker system df
docker system prune -a -f --volumes
docker volume rm $(docker volume ls -qf dangling=true)
Info.plist
.View controller-based status bar appearance
and value NO
if not present.Status bar is initially hidden
with value YES
if not present.function hash(string) { | |
const utf8 = new TextEncoder().encode(string); | |
return crypto.subtle.digest('SHA-256', utf8).then((hashBuffer) => { | |
const hashArray = Array.from(new Uint8Array(hashBuffer)); | |
const hashHex = hashArray | |
.map((bytes) => bytes.toString(16).padStart(2, '0')) | |
.join(''); | |
return hashHex; | |
}); | |
} |