Connect Livebook to Phoenix on Vps
Livebook is very powerful application which can be used in many different ways with your Phoneix project.
I have few apps running on my VPS and sometimes I would like to run some functions without creating interface for them from admin side, such as cache clean up. Perhaps run some analytical queries to the database and much more.
Single File Chat in Elixir Phoenix
Meet PhonenixPlayground
I found this library on github suggestions and I always wanted to have something simple and quick to test out LiveView prototypes. What can be quicker than opening Livebook and trying something there? Folks behind PhonenixPlayground made both of my wishes come true!
If you would like jump straight into the code:
Notion Github Backup
Data is expensive I write around 2-3 important notes a day. And don’t actually worry if my laptop will be stolen, but the data on it..
Since Im heavy notion user I was looking for automated backup solution. Not that I don’t trust notion, trust but verify, right?
Backup Create a private github repo Go to actions tab and click on set up a workflow yourself -> Paste this yml file name: "Notion backup" on: push: branches: - main schedule: - cron: "0 0 * * *" jobs: backup: runs-on: ubuntu-latest name: Backup timeout-minutes: 15 steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: node-version: "12" - name: Setup dependencies run: npm install -g notion-backup - name: Run backup run: notion-backup env: NOTION_TOKEN: ${{ secrets.
Recursive blog post or Github Codespaces
I already posted a few thoughts about the iPad in the life of a developer. When I got a message from GitHub that I have beta access to codespaces I was super excited and started looking for a project which I can try to move to the cloud development environment to try it out. Due to the lack of small cozy projects which wouldn’t require docker-compose with 10 services, the first thing which I setup here is my blog since it’s just Hugo.