In your command-line run the following commands:
brew doctorbrew update
| # 2023-11-27 MIT LICENSE | |
| Here's the open source version of my ChatGPT game MonkeyIslandAmsterdam.com. | |
| It's an unofficial image+text-based adventure game edition of Monkey Island in Amsterdam, my home town. | |
| Please use it however you want. It'd be nice to see more ChatGPT-based games appear from this. If you get inspired by it, please link back to my X https://x.com/levelsio or this Gist so more people can do the same! | |
| Send me your ChatGPT text adventure game on X, I'd love to try it! |
| export password=foobar | |
| export method=chacha20-ietf-poly1305 | |
| export port=9301 | |
| docker run -e PASSWORD=${password} -e METHOD=${method} -p${port}:8388 -p${port}:8388/udp -d shadowsocks/shadowsocks-libev | |
| export host=$(curl -s ipinfo.io/json | grep \"ip\" | awk -F'"' '{ print $4 }') | |
| echo $host:$port |
| /** | |
| * Facebook Image Crawler | |
| */ | |
| const puppeteer = require("puppeteer"); | |
| var https = require("https"); | |
| /** | |
| * Get the biggest image possivel from FBID. | |
| * @param {string} fbid |
In your command-line run the following commands:
brew doctorbrew update| #!/usr/bin/python | |
| # -*- coding: utf-8 -*- | |
| # __author__ = 'ihciah' | |
| # cid_hash_file function from https://github.com/binux/lixian.xunlei/blob/master/libs/tools.py | |
| import hashlib | |
| import inotify.adapters | |
| import os | |
| import requests | |
| import re |
| # coding: utf-8 | |
| # This programme is used to make a monthly and yearly report of all the staff absences. | |
| # What you need to do is to input the roles and the date by instuctions. | |
| # By Scott @2016-9-18 | |
| ####################################################################################### | |
| #Empl ID Name Department Leave Begin Date End Date Hours # |
| import subprocess, time | |
| from p0f import P0f | |
| def get_os(ip): | |
| data = None | |
| p0f = P0f("/tmp/smb.sock") # point this to socket defined with "-s" argument. | |
| try: | |
| data = p0f.get_info(ip) | |
| except: | |
| return None |
| #-*- coding:UTF-8 -*- | |
| __author__ = nodejx | |
| import imaplib, email, smtplib, time | |
| server = "mail.test.com" | |
| fadd = "admin@test.com" | |
| mbody = ["""This is an example!"""] | |
| while True: |
| #!/usr/bin/env python | |
| __author__ = nodejx | |
| from pysphere import * | |
| vms_snapshots_names = [] | |
| vms_names = [] | |
| host = '' | |
| user = '' | |
| password = '' |
| #!/usr/bin/env python | |
| # List, create, delete vmware vsphere snapshots with unix-like user interface. | |
| # This assumes that the vm name are equal to the hostname or the fqdn | |
| # Requirements: pysphere >= 0.1.6 If Python < 2.7: argparse | |
| # | |
| # Peter Froehlich (tarwin@tarwin.de) @ 03/2013 | |
| # | |
| # | |
| # This program is free software: you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by |