Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
#!/bin/bash | |
# MIT License | |
# | |
# Copyright (c) 2017 thibault ketterer | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
#!/bin/bash | |
for file in *;do | |
dat=$(stat -c %y $file) | |
echo $dat : $file | |
git add $file | |
git commit --date="$dat" $file -m "TK add example $file" | |
done |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
I hereby claim:
To claim this, I am signing this object:
// ==UserScript== | |
// @name Makes ChatGPT Conversations wider | |
// @namespace [http://tampermonkey.net/ ](http://tampermonkey.net/) | |
// @version 2.0 | |
// @description Makes ChatGPT Conversations wider | |
// @author reach4thelasers. Thibault Ketterer | |
// @match https://chat.openai.com/* | |
// @grant none | |
// @icon [https://www.google.com/s2/favicons?sz=64&domain=chat.openai.com ](https://www.google.com/s2/favicons?sz=64&domain=chat.openai.com) | |
// ==/UserScript== |
# list ec2 instances everywhere, with creation date and tag, | |
# output is not really nice beacuse of tags, but it works | |
for region in $(aws ec2 describe-regions --query "Regions[].RegionName" --output text); do | |
echo "Region: $region" | |
aws ec2 describe-instances --region $region --query 'Reservations[].Instances[].[InstanceId, InstanceType, LaunchTime, State.Name, Tags]' --output text | |
echo | |
done |