It's a very simple timetracking tool for linux users that use systemd services & zenity.
(source)
- Put
timetracking.sh
on your computer.
TMATE_FILE=$($(command -v python3 || command -v python) <<EOC | |
import requests | |
r = requests.get( | |
'https://api.github.com/repos/tmate-io/tmate/releases/latest' | |
) | |
releases = r.json() | |
amd64_releases = [ | |
i for i in releases['assets'] | |
if 'amd64' in i['name'] and not 'dbg' in i['name'] | |
][0] |
It's a very simple timetracking tool for linux users that use systemd services & zenity.
(source)
timetracking.sh
on your computer.Mute these words in your settings here: https://twitter.com/settings/muted_keywords | |
ActivityTweet | |
generic_activity_highlights | |
generic_activity_momentsbreaking | |
RankedOrganicTweet | |
suggest_activity | |
suggest_activity_feed | |
suggest_activity_highlights | |
suggest_activity_tweet |
This document shows how to deploy an OpenShift instance on a server using CodeReady Containers (crc) that can be accessed remotely from one or more client machines (sometimes called a "headless" instance). This provides a low-cost test and development platform that can be shared by developers. Deploying this way also allows a user to create an instance that uses more cpu and memory resources than may be available on his or her laptop.
While there are benefits to this type of deployment, please note that the primary use case for crc is to deploy a local OpenShift instance on a workstation or laptop and access it directly from the same machine. The headless setup is configured completely outside of crc itself, and supporting a headless setup is beyond the mission of the crc development team. Please do not ask for changes to crc to support this type of deployment, it will only cost the team time as they politely decline :)
The instructions here were tested with F
===============
The most effective way to get bugs out of code is code review. More than running the code, more than unit tests, having someone else review an author's code is the best technique known to eliminate bugs (Fagan 1975 and Cohen 2006).
This Google Apps Scripts filter will automatically move all future emails with the header
X-PHISHTEST
to trash.
/newbot
, select a name (to be shown in chats) and handle for your bot;<token>
);/setdescription
and /setuserpic
.https://api.telegram.org/bot<token>/getUpdates
(replace <token>
with your token);chat
part, find and note the id
field - a positive or negative number (later referred to as <chat_id>
).If you'd like to experiment with Terraform on macOS locally, a great provider for doing so is the Docker provider. You can get set up in a few simple steps, like so:
Install Docker for Mac if you have not already.
#!/usr/bin/env python3 | |
from bs4 import BeautifulSoup | |
import requests | |
POKEURL = 'http://cmmcd.com/PokemonGo/' | |
r = requests.get(POKEURL) | |
try: | |
import lxml |
;;; See: https://www.reddit.com/r/emacs/comments/3icpo7/take_a_break_every_3_hours/ | |
(defvar breaktime-timer nil | |
"Holds the running break timer (if any).") | |
(defvar breaktime-interval (* 3 60 60) | |
"How often to take a break, in seconds.") | |
(defun breaktime--take-a-break () | |
(interactive) | |
(switch-to-buffer (get-buffer-create "*breaktime*")) | |
(let ((inhibit-read-only t)) |