Skip to content

Instantly share code, notes, and snippets.

@FreddieOliveira
FreddieOliveira / docker.md
Last active August 25, 2025 22:44
This tutorial shows how to run docker natively on Android, without VMs and chroot.

Docker on Android ๐Ÿ‹๐Ÿ“ฑ

Edit ๐ŸŽ‰

All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.


Summary

@benelog
benelog / Volley.md
Last active October 20, 2023 02:05
Volley ์„ค๋ช…

์•ˆ๋“œ๋กœ์ด๋“œ ๊ฐœ๋ฐœ์—์„œ ๋งŽ์€ ๋น„์ค‘์„ ์ฐจ์ง€ํ•˜๋Š” UIํŒจํ„ด์€ ListView์—์„œ ์—ฌ๋Ÿฌ ์ด๋ฏธ์ง€๋ฅผ ๋ณด์—ฌ์ฃผ๋Š” Activity์ž…๋‹ˆ๋‹ค. ์ „ํ˜•์ ์ธ ํ๋ฆ„์„ ์ •๋ฆฌํ•˜๋ฉด ์•„๋ž˜์™€ ๊ฐ™์Šต๋‹ˆ๋‹ค.

โ€‹1. ๋ชฉ๋ก์กฐํšŒ APIํ˜ธ์ถœ

โ€‹2. API๋ฅผ ํŒŒ์‹ฑํ•˜๊ณ  ListView์— ๋ฐ์ดํ„ฐ๋ฅผ ๋ณด์—ฌ ์คŒ.

โ€‹3. ๊ฐ ์•„์ดํ…œ๋งˆ๋‹ค์˜ ์ด๋ฏธ์ง€ ์ฃผ์†Œ๋กœ ๋‹ค์‹œ ์„œ๋ฒ„๋ฅผ ํ˜ธ์ถœ

โ€‹4. ์ด๋ฏธ์ง€๋ฅผ ๋””์ฝ”๋”ฉํ•˜๊ณ  ImageView์—์„œ ๋ณด์—ฌ์คŒ.

@bkreider
bkreider / s3nbmanager.py
Last active May 26, 2021 02:39
Ipython notebook backed by S3
"""A notebook manager that uses S3 storage. (based on the Azure manager)
http://ipython.org/ipython-doc/dev/interactive/htmlnotebook.html#using-a-different-notebook-store
Drop this file in IPython/frontend/html/notebook
1. Create a new notebook profile - ipython profile create nbserver
2. edit ~/.ipython/profile_nbserver/ipython_notebook_config.py
3. Add these lines:
c.NotebookApp.notebook_manager_class = 'IPython.frontend.html.notebook.s3nbmanager.S3NotebookManager'
@trey
trey / happy_git_on_osx.md
Last active March 10, 2025 23:53
Creating a Happy Git Environment on OS X

Creating a Happy Git Environment on OS X

Step 1: Install Git

brew install git bash-completion

Configure things:

git config --global user.name "Your Name"

git config --global user.email "[email protected]"