Use these rapid keyboard shortcuts to control the GitHub Atom text editor on macOS.
- ⌘ : Command key
- ⌃ : Control key
- ⌫ : Delete key
- ← : Left arrow key
- → : Right arrow key
- ↑ : Up arrow key
#!/usr/bin/env python3 | |
import aiohttp | |
from aiohttp import web | |
from urllib.parse import urlencode | |
GOOGLE_SECRET = '<google secret>' | |
GOOGLE_CLIENT_ID = '<google client id>' | |
async def google_oauthcallback(request): |
# Install ARCH Linux with encrypted file-system and UEFI | |
# The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description. | |
# Download the archiso image from https://www.archlinux.org/ | |
# Copy to a usb-drive | |
dd if=archlinux.img of=/dev/sdX bs=16M && sync # on linux | |
# Boot from the usb. If the usb fails to boot, make sure that secure boot is disabled in the BIOS configuration. | |
# Set swiss-french keymap |
Use these rapid keyboard shortcuts to control the GitHub Atom text editor on macOS.
import hashlib | |
import sys | |
# Our function to get the MD5 hash of a string | |
def getMD5Hash(textToHash=None): | |
return hashlib.md5(textToHash).hexdigest() | |
f = open(sys.argv[1], 'rb') | |
s = f.read() | |
f.close() | |
package atmos.tool2d; | |
import com.badlogic.gdx.ApplicationListener; | |
import com.badlogic.gdx.Gdx; | |
import com.badlogic.gdx.backends.lwjgl.LwjglApplication; | |
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration; | |
import com.badlogic.gdx.graphics.OrthographicCamera; | |
import com.badlogic.gdx.graphics.Pixmap.Format; | |
import com.badlogic.gdx.graphics.Texture; | |
import com.badlogic.gdx.graphics.g2d.SpriteBatch; |