-
Checkin to Shake Shack
Burger date with Leo. -
How to Disable Slack WYSIWYG Interface
byA simple method for disabling that horrid new Slack WYSIWYG interface.
```
export SLACK_DEVELOPER_MENU=true
open -a /Applications/Slack.app
```Open the console CMD+OPT+i
```
javascript:(_ => {
const redux = slackDebug[slackDebug.activeTeamId].redux;
const {wysiwyg_composer, wysiwyg_composer_ios, wysiwyg_composer_webapp, ...payload} = redux.getState().experiments;
redux.dispatch({ type: '[19] Bulk add experiment assignments to redux', payload });
})();
```Needs to be run in each team that you're a part of.
-
by
Checked in at YYG Brewery & Beer Kitchen

-
Checkin to YYG Brewery & Beer Kitchen
by in Shibuya, Tokyo, Japan -
Converting Images to PDFs
byConverting an image to a PDF in the purest sense of the word is not possible in the most cases. This is because most images are raster bitmaps, i.e. a square with color value set for each pixel, while PDFs are a container format.
What usually happens when you "convert" an image to a PDF not a conversion from one file-format to the other, but rather your image is embeded inside a PDF container document. Conceptually it's not too different from pasting an image into a Word document.
Acomplishing this with Python only takes a couple lines of code using wither `Wand` or `Pillow` (PIL).
```
# Code snippet Wand
```
## Walk through```
# Code snippet PIL
```## Walk through
### Gotchas
### Improved Versions
### Conclusion