Skip to content

Instantly share code, notes, and snippets.

@7Z0nE
7Z0nE / buergerbot-telegram.rb
Created May 6, 2021 15:51
buergerbot-telegram with command line arguments for limited treis. Meant to run as a cron job
#!/usr/bin/env ruby
require 'watir'
require 'telegram/bot'
Telegram.bots_config = {
default: '1737278742:AAG5hgFUafYf1f_ad4gAkYz3wl6ysh2DboE',
}
Telegram.bot.get_updates
#!/bin/sh
#https://gist.github.com/7Z0nE/acdaa333b24f3529e720d7c136ac1483
# start some nice programs
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
@7Z0nE
7Z0nE / build-pytorchmaster-error.script
Created February 4, 2019 11:29
pytorch(master) build script
This file has been truncated, but you can view the full file.
Script started on 2019-02-04 08:56:08+00:00 [TERM="linux" TTY="/dev/tty1" COLUMNS="240" LINES="67"]
[fred@cleanarch ~]$ cd build/pytorch/
[fred@cleanarch pytorch]$ git checkout master
Switched to branch 'master'
Your branch is up to date with 'origin/master'.
[fred@cleanarch pytorch]$ git pull
remote: Enumerating objects: 61, done.
remote: Counting objects: 1% (1/61) 
remote: Counting objects: 3% (2/61) 
remote: Counting objects: 4% (3/61)