This file contains 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 | |
####################### | |
# Jina CLI Tool | |
# Save as ~/.local/bin/jina-cli.sh | |
####################### | |
####################### | |
# Configuration | |
####################### |
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Hello World with Slides and Interaction</title> | |
</head> | |
<body> |
This file contains 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
// This version works on this version of the site <https://github.com/oldmartijntje/playtime/tree/c67261f1f53570cf737f0711bcae66c112e17155> | |
class Encryptor { | |
stringToAsciiList(str) { | |
const asciiList = []; | |
for (let i = 0; i < str.length; i++) { | |
const asciiValue = str.charCodeAt(i); | |
asciiList.push(asciiValue); | |
} | |
return asciiList; |
This file contains 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
#!/usr/bin/python3 | |
# Modified from https://gitlab.com/arandr/arandr and put all necessary things in 1 file | |
# Still recommended to use arandr to set the configurations to save/load | |
from math import pi | |
import os | |
import subprocess | |
from functools import reduce | |
import warnings |