./server.sh &
./client.sh &
./client.sh &
./client.sh &
This file contains hidden or 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
import argparse | |
import sys | |
from contextlib import ExitStack | |
if __name__ == '__main__': | |
parser = argparse.ArgumentParser() | |
parser.add_argument('filename', nargs='*') | |
parser.add_argument('--append', '-a', action='store_true') | |
args = parser.parse_args() |
This file contains hidden or 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
sync-multiple-vimeo-videos.html |
This file contains hidden or 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> | |
<head> | |
<script type="text/javascript"> | |
function playButton() { | |
const players = []; | |
for (const p of ['video1', 'video2', 'video3']) players.push(document.getElementById(p)); | |
const paused = players[0].paused; | |
for (const p of players) paused? p.play(): p.pause(); |
- Use pipenv or make sure to have the python requests library available.
- Make sure to have valid API key by creating a developer account on virustotal website and then accessing your profile for API keys.
usage: virustotal_api_check_file.py [-h] --key KEY filename
positional arguments:
filename File to scan
This file contains hidden or 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
[user] | |
name = Full Name | |
email = email@address | |
[alias] | |
tree = log --oneline --decorate --all --graph | |
[branch] | |
autosetuprebase = always | |
[core] | |
editor = vim | |
autocrlf = input |
This file contains hidden or 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 | |
mkdir example.net | |
fusermount -u example.net | |
sshfs [email protected]:/var/www/example.net example.net | |
certbot -w example.net/ -d example.net -m [email protected] --agree-tos --config-dir .config --work-dir .work --logs-dir .logs certonly --webroot | |
fusermount -u example.net | |
rmdir example.net | |
echo | |
echo Certificate has been created. Now please install the certificate on your website. | |
echo |
This file contains hidden or 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> | |
<head> | |
<meta charset="UTF-8" /> | |
<style> | |
.bad {direction: ltr; text-align: right; background-color: red;} | |
.good {direction: rtl; background-color: green;} | |
input {display:block; width: 80%; padding: 1em; margin: auto;} | |
.expected {unicode-bidi: plaintext;} | |
.expected2 {unicode-bidi: plaintext; text-align: right;} |
This file contains hidden or 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
body { | |
margin: 25px auto; | |
width: 200px; | |
text-align: center; | |
border: 1px gray solid; | |
border-radius: 25px; | |
box-shadow: 5px 5px 5px 5px silver; | |
animation: rotate 1s infinite alternate; } | |
@keyframes rotate { | |
0% { transform: translate(100px) rotate(-20deg);} |
- Solitaire https://www.google.com/logos/fnbx/solitaire/standalone.html
- Tic Tac Toe https://www.google.com/fbx?fbx=tic_tac_toe
- Pony Express https://www.google.com/logos/2015/ponyexpress/ponyexpress15.html
- Pinata Party https://www.google.com/logos/2013/bday13/bday13.html
- Eiji Tsubaraya Doodle https://www.google.com/logos/2015/tsuburaya/tsuburaya15.html
- Clara Rockmore Doodle https://www.google.com/logos/2016/rockmore/rockmore16.html
- PAC-MAN https://www.google.com/logos/2010/pacman10-i.html
NewerOlder