This file contains 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
Verifying that +sheridan is my openname (Bitcoin username). https://onename.io/sheridan |
This file contains 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
select i from | |
( | |
select t1.parentid as i from rsdn_messages t1 | |
where not exists (select t2.id from rsdn_messages t2 where t2.id=t1.parentid) and t1.parentid != 0 and t1.forumid in (0,1,2,3,33,32) | |
union | |
select t3.topicid as i from rsdn_messages t3 | |
where not exists(select t4.id from rsdn_messages t4 where t4.id=t3.topicid) and t3.topicid != 0 and t3.forumid in (0,1,2,3,33,32) | |
) t | |
This file contains 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
;; Copyright (C) 2014 Emanuele Tomasi <targzeta@gmail.com> | |
;; 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 | |
;; the Free Software Foundation, either version 3 of the License, or | |
;; (at your option) any later version. | |
;; | |
;; This program is distributed in the hope that it will be useful, | |
;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
This file contains 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
0eNqkvd2SJEeOpfkuvC4fMVOF/qBfZWVlJUmmsFImkszJDK50S0u/+0ZWL5vGqoDj2IcrTg+Lx+Bwh51w808P/vOHH19+//jl66dfX3/4t//84dNPv/367Yd/+7/+84dvn3759cPL9/+/1//48vGHf/vh0+vHzz/87YdfP3z+/n+9/PbLp2+vn356/PT3j99eH99ef/v64ZePP/zX33749OvPH//9h387/+tvusjX33787fXyHzfhP/7+33z57ev1P+vSNX/67fNvr5/+32ux9l//999++Pjr66fXTx//++X/4//4j//n198///jx69ur+Z///tvr1w+ffvn76+PtHy9vsl9++/b2X/326/cLvik9Ttt/++E/3v4fZv/1vZx/Emo3hNozoa4Knd2e6ZisY8cznQE61N4TmqBD7wqtP4U+f3h5ebx8+PzlPZXW/tf4/3XO/zXeU9rZx/4d1XNlqv4/qp8//vzp98+Pjy8ff3r9+ib+5beXTLO9r3kepNSZlXqeRHakso3I9lS2E1lLZU38QF2kordpkArPtMJJZNOP/7mI7JHKkrE6PJV1Irsz2UYm60hvAu28fRe41Bp8vBqZqyO9CzQyV0d6F2jqXF2kohdO5upIbyiNzNWR3lAamasjHdeG5iq9uTQ0V+ldoIO58vQm0G+P1UUz+HB1MFWe3gA6GCpP71bdgGo6qR2Ml6e3lT61+b8oRe8QGChPx7SDefL0ntLBOHk6+0amKR19A3/+eTr5BuZpp5Nv/fbkH9nnysA07XTyDUzTTiffxGna6XcJA9O003uIgWna6T3EwDTtdEYHmKad3k8GmKadzugg05TeT8btabpUGnyuBpimlc79INOU3qMG+MtvpTM6wGSt9H4ytjb5K/3+MMA0rXTyJ5imlU7+BNO00hmdYJpWej+Z4G+9lc7oJPOU3k/muDv5l0qDz9UE0zTTyZ9kmtLJn+I0zfR7wwTTNNN7yALTNNN7yALTNNPJX2CaZjr5C0zTTCd/gWma6eSv29N |
This file contains 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 | |
target="FortressCraft" | |
sleep_between_digs=2 | |
digs=256 | |
function run_xdotool() | |
{ | |
current=$(xdotool getwindowfocus getwindowname) | |
if [ "$target" == "$current" ] |
This file contains 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
# Copyright 1999-2017 Gentoo Foundation | |
# Distributed under the terms of the GNU General Public License v2 | |
# $Id$ | |
EAPI=6 | |
SCM="git-r3" | |
EGIT_REPO_URI="https://github.com/urho3d/Urho3D.git" | |
inherit eutils cmake-utils multilib ${SCM} flag-o-matic |
This file contains 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
import React, { Component } from "react"; | |
import "./App.css"; | |
import MQTT from "mqtt"; | |
import RTChart from "react-rt-chart"; | |
class App extends Component { | |
constructor(props) { | |
super(props); | |
this.state = { | |
url: "", |
This file contains 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
property \ | |
stonith-enabled=false \ | |
no-quorum-policy=stop \ | |
start-failure-is-fatal=true | |
primitive p_cluster_ip ocf:heartbeat:IPaddr2 \ | |
params \ | |
ip="10.0.0.10" \ | |
nic=eth0 \ | |
cidr_netmask="23" \ |
This file contains 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 | |
log_file="/var/log/hacluster/alerts.log" | |
flags_dir="/var/lib/hacluster" | |
echo "--[${CRM_alert_timestamp}]--" >> ${log_file}.debug | |
env | grep "CRM_alert" >> ${log_file}.debug | |
echo "----" >> ${log_file}.debug | |
function to_log() |
This file contains 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
#for d in a b c d; do echo $d; parted -a optimal -s /dev/sd${d} --script mklabel msdos mkpart primary 2MB 256MB mkpart primary 256MBMB 2G mkpart primary 2GB 100% set 1 boot on; done | |
mdadm --zero-superblock /dev/sd[abcd]1 | |
for d in a b c d; do echo $d; parted -a optimal -s /dev/sd${d} --script mklabel msdos mkpart primary 2MB 95% mkpart primary 95% 100% set 1 boot on; done | |
for d in a b c d; do mkswap /dev/sd${d}2; swapon /dev/sd${d}2; done | |
#mdadm --create /dev/md0 --level=1 --raid-devices=4 --metadata=0.90 /dev/sd[abcd]1 | |
#mkfs.ext2 -L boot /dev/md0 | |
#mkfs.btrfs -L root --d raid1 -m raid1 /dev/sd[abcd]3 | |
mkfs.btrfs -L root --d raid1 -m raid1 /dev/sd[abcd]1 | |
echo "LABEL=root /mnt/gentoo btrfs defaults,noatime 0 0" >> /etc/fstab |
OlderNewer