- get the presctiption stuff -> 2.5% lidocaine + 2.5% prilocaine
- apply 3 hours ahead of procedure on the area to be treated
- (i wear gloves to not numb my hands)
- cover in "press-n-seal" wrap, stick it to the skin around the edges
- wear compression shorts / clothing on the area where it's applied
- as soon as it is exposed to oxygen the pain relieving effect starts to wear off so ask electrologist to only peel it back as you go, and not peel it off all at once
This file contains 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
// script forked from https://gist.github.com/jamesramsay/9298cf3f4ac584a3dc05 | |
// to start timed execution: select "Install" from the menu above and hit "run" | |
// to stop timed execution: select "Uninstall" from the menu above and hit "run" | |
// to initialize a batch run ad-hoc and immediately: select "_processNextBatch" from the menu above and hit "run" | |
// runbook: | |
// - namespace labels like ee- | |
// - name labels like ee-archive-after-8d, ee-delete-after-45d | |
// - you can give a message more than one label (e.g., ee-archive-after-1d, ee-delete-after-5d) |
This file contains 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
// script forked from https://gist.github.com/jamesramsay/9298cf3f4ac584a3dc05 | |
// to start timed execution: select "Install" from the menu above and hit "run" | |
// to stop timed execution: select "Uninstall" from the menu above and hit "run" | |
// to initialize a batch run ad-hoc and immediately: select "_processNextBatch" from the menu above and hit "run" | |
const LABELS_TO_DELETE = [ | |
// ... list of labels ... | |
// 'test-delete-after-label', | |
'spammy-alerts', | |
// 'delete-after-30d', |
This file contains 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
# sourced from https://pastebin.com/12UpbQHT | |
import discord | |
from discord.ext import tasks, commands | |
from datetime import datetime, timedelta | |
bot_token = "some-bot-token" | |
# replace with your channel ID | |
channel_id = 1111 | |
bot_prefix = "!" |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Blank HTML5</title> | |
<style> | |
</style> | |
</head> | |
<body> |
mock.Mock()
is great. It's the reason that I use Python for small side projects - it makes unit testing a breeze. But over-reliance on mock objects for testing can obscure the meaning of your test (at best), and (at worst) it can create bugs in your test code.
- Use
spec_set
when creating object fakes. - Use
autospec=True
when stubbing method functionality.
Similar to mock.Mock()
, Pytest fixtures (functions defined with the decorator @pytest.fixture()
) can be super handy for writing unit tests, but if they are overused, they can obscure the meaning of what you're testing.
This file contains 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
class MovieTypeaheadNode { | |
constructor(parent, value) { | |
this.value = value; | |
this.parent = parent; | |
this.children = []; | |
this.matchingMovies = []; | |
} | |
addChild(letter) { | |
let child = this.childWithValue(letter); |
This file contains 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
import React, { Component } from 'react'; | |
class PhotoInput extends Component { | |
constructor(props) { | |
super(props) | |
this.state = { | |
fileData: '', | |
} |
NewerOlder