This small sh function allows to schedule a command to be executed at a specific time. I use it for scheduling Claude Code "Continue" text in my tmux session
I hereby claim:
- I am automationd on github.
- I am automationd (https://keybase.io/automationd) on keybase.
- I have a public key ASDLuMtXEzhlNlmisnfQO8wdiI6ZGNfh-I0nS-8FccyY8Ao
To claim this, I am signing this object:
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 | |
xfconf-query -c xsettings -p /Xft/DPI -s "190" | |
xfconf-query -c xfwm4 -p /general/theme -s "Default-hdpi" | |
xfconf-query -c xfce4-panel -p /panels/panel-0/size -s "49" | |
xfconf-query -c xfce4-desktop -p /desktop-icons/icon-size -s 64 |
This file has been truncated, but you can view the full file.
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
<?xml version="1.0" encoding="UTF-8"?> | |
<zabbix_export> | |
<version>3.0</version> | |
<date>2016-06-28T16:26:35Z</date> | |
<groups> | |
<group> | |
<name>Templates</name> | |
</group> | |
</groups> | |
<templates> |
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
[program:kafka] | |
command = /usr/local/kafka/bin/kafka-run-class.sh -name kafkaServer -loggc kafka.Kafka /usr/local/kafka/config/server.properties | |
stopwaitsecs = 60 | |
redirect_stderr = true | |
stdout_logfile = /var/log/kafka/kafka-stdout.log | |
stdout_logfile_maxbytes = 0 | |
stdout_logfile_backups = 0 | |
stopasgroup=true | |
environment = | |
JAVA_HOME="/usr/java/default", |
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
<filetype binary="false" description="Logstash Config" name="Logstash Config"> | |
<highlighting> | |
<options> | |
<option name="LINE_COMMENT" value="#" /> | |
<option name="COMMENT_START" value="" /> | |
<option name="COMMENT_END" value="" /> | |
<option name="HEX_PREFIX" value="" /> | |
<option name="NUM_POSTFIXES" value="" /> | |
<option name="HAS_BRACES" value="true" /> | |
<option name="HAS_BRACKETS" value="true" /> |
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/sh | |
# /etc/init.d/ramdisk-manage | |
# | |
case "$1" in | |
start) | |
echo "Syncing files from harddisk to ramdisk" | |
rsync -av /var/lib/ramdisk-persisance/ /mnt/ramdisk/ | |
echo [`date +"%Y-%m-%d %H:%M"`] Ramdisk Synched from HD >> /var/log/ramdisk-manage.log | |
;; |
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
#include <dht.h> | |
#define DHT11_PIN 4 | |
dht DHT; | |
HardwareSerial trm = Serial2; | |
HardwareSerial esp = Serial1; | |
HardwareSerial dbg = Serial; | |
const int moistureAO = 7; | |
float moisture = 0.0; | |
float temperature = 0.0; |
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
puppet apply -e "package {'Java 7 Update 71': ensure => absent} package {'Java 8 Update 31': ensure => absent} package {'Java 8 Update 31 (64-bit)': ensure => absent}" |
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
8,9c8,9 | |
< //16k | |
< #define MAX_SIZE 4*4*1024 | |
--- | |
> //192k | |
> #define MAX_SIZE 12*4*4*1024 |
NewerOlder