Books
- Doing Good Better — William MacAskill
- 80,000 Hours — Benjamin Todd
- The Life You Can Save — Peter Singer
- Poor Economics — Abhijit V. Banerjee & Esther Duflo
Links
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>I want to setup a declarative system for my workstation in rust. all settting...</title> | |
| <link href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/themes/prism.min.css" rel="stylesheet" /> | |
| <style> | |
| * { box-sizing: border-box; margin: 0; padding: 0; } | |
| body { |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>So I want to add a timestamp for each of those messages in the thread. We pic...</title> | |
| <link href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/themes/prism.min.css" rel="stylesheet" /> | |
| <style> | |
| * { box-sizing: border-box; margin: 0; padding: 0; } | |
| body { |
Books
Links
| import os | |
| import requests | |
| import base64 | |
| # Set your GitHub API token | |
| GITHUB_TOKEN = "GITHUB_TOKEN" | |
| # Set the Ubuntu version you want to replace | |
| old_ubuntu_versions = ["ubuntu-18.04", "ubuntu-20.04"] |
| import base64 | |
| import datetime | |
| import sys | |
| import time | |
| from hashlib import md5 | |
| import requests | |
| from django.conf import settings | |
| import Crypto.Hash.SHA256 as SHA256 |
| ``` | |
| sudo apt-get purge ubuntu-report | |
| sudo apt-get purge popularity-contest | |
| sudo service apport stop | |
| sudo nano /etc/default/apport | |
| sudo apt-get purge apport |
| /* Useful celery config. | |
| app = Celery('tasks', | |
| broker='redis://localhost:6379', | |
| backend='redis://localhost:6379') | |
| app.conf.update( | |
| CELERY_TASK_RESULT_EXPIRES=3600, | |
| CELERY_QUEUES=( | |
| Queue('default', routing_key='tasks.#'), |
| .loader { | |
| background: linear-gradient(to right, #2f54eb 10%, rgba(255, 255, 255, 0) 80%); | |
| /* Show only 10px from the border */ | |
| -webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 10px),#fff 0); | |
| width: 150px; | |
| height: 150px; | |
| border-radius: 50%; | |
| position: fixed; |
| { | |
| "editor.fontFamily": "Fira Code", | |
| "editor.fontLigatures": true, | |
| "workbench.editor.highlightModifiedTabs": true, | |
| "files.autoSave": "afterDelay", | |
| "explorer.sortOrder": "type", | |
| "editor.cursorStyle": "block", | |
| "editor.cursorBlinking": "smooth", | |
| "files.trimFinalNewlines": true, | |
| "editor.acceptSuggestionOnEnter": "off", |
| #!/usr/bin/env python | |
| """ | |
| coding=utf-8 | |
| Python script template | |
| """ | |
| import logging | |
| logging.basicConfig(level=logging.DEBUG) | |