This file contains hidden or 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
FROM debian:stable | |
EXPOSE 8888 | |
RUN apt-get update | |
RUN apt-get upgrade -y | |
RUN apt-get install -y build-essential libssl-dev libffi-dev python3 python3-pip python3-dev | |
RUN pip3 install --no-input jupyterlab | |
CMD jupyter-lab --allow-root --ip 0.0.0.0 |
This file contains hidden or 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
-module(QS). | |
-export([quick_sort/1]). | |
quick_sort([]) -> []; | |
quick_sort([X]) -> [X]; | |
quick_sort([X, Y]) -> | |
if | |
X =< Y -> [X, Y]; |
This file contains hidden or 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
{ | |
"posts":[ | |
{"1-cheat-sheets.markdown": {"title": "Cheet Sheets"}}, | |
{"2-blog-like-a-fake-hacker.markdown": {"title": "Blog lie a fake hacker"}} | |
] | |
} |
This file contains hidden or 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
#!/bin/sh | |
sudo mv /usr/bin/xdg-open /usr/bin/xdg-open.bak | |
sudo curl https://gist.github.com/raw/4697254/16b3ce7ae4c4e63162ca0d9e47b2805d410bfa14/xdg-open.rb -o /usr/bin/xdg-open | |
sudo chmod a+x /usr/bin/xdg-open |
This file contains hidden or 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
#!/bin/bash | |
/usr/local/Sublime\ Text\ 2/sublime_text $@ & |