Skip to content

Instantly share code, notes, and snippets.

View skrzyneckik's full-sized avatar

Krzysztof Skrzynecki skrzyneckik

  • triOpsis Ltd
  • Leiden, Netherlands
View GitHub Profile
@skrzyneckik
skrzyneckik / Dockerfile
Last active November 12, 2019 13:39 — forked from chrismarksus/Dockerfile
docker for slack-export-viewer
FROM python:3.8
MAINTAINER Chris Marks
ENV HOST=0.0.0.0
ENV PORT=5000
WORKDIR /app
EXPOSE ${PORT}
@skrzyneckik
skrzyneckik / Dockerfile
Last active November 12, 2019 13:23
Docker for slack-export to generate zip for slack-export-viewer
FROM python:3.8-alpine
ENV TOKEN ""
RUN pip install slacker # https://github.com/os/slacker
RUN pip install pick # https://github.com/wong2/pick
#clone https://github.com/zach-snell/slack-export and place Dockerfile at the same location as slack-export.py
COPY . /opt/slack-export/
WORKDIR /opt/slack-export
ENTRYPOINT python slack_export.py --token ${TOKEN} --zip your_file_name
@skrzyneckik
skrzyneckik / iterm2-solarized.md
Created March 30, 2017 21:01 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Meslo powerline font + [Powerlevel9k] - (macOS)

Default

Default

Powerlevel9k

Powerlevel9k

@skrzyneckik
skrzyneckik / pagination_example.sql
Created February 18, 2017 19:21 — forked from ssokolow/pagination_example.sql
Reasonably efficient pagination without OFFSET (SQLite version)
-- Reasonably efficient pagination without OFFSET
-- SQLite version (Adapted from MS SQL syntax)
-- Source: http://www.phpbuilder.com/board/showpost.php?p=10376515&postcount=6
SELECT foo, bar, baz, quux FROM table
WHERE oid NOT IN ( SELECT oid FROM table
ORDER BY title ASC LIMIT 50 )
ORDER BY title ASC LIMIT 10

Keybase proof

I hereby claim:

  • I am skrzyneckik on github.
  • I am skrzyneckik (https://keybase.io/skrzyneckik) on keybase.
  • I have a public key whose fingerprint is 4DF4 9E49 AFBC 8D94 657E 326D 7C6C 474E 9A9B 7006

To claim this, I am signing this object: