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
Successfully built package in './discordwebapp.nontrivial_1.0.0_all.click'. | |
non-network local connections being added to access control list | |
Mounting device home to /home/james/.clickable/home | |
timedatectl: invalid option -- 'p' | |
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-james' | |
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-james' | |
Failed to create /home/james/.cache for shader cache (Permission denied)---disabling. | |
QApplication: invalid style override passed, ignoring it. | |
UCUriHandler: Empty "APP_ID" environment variable, ignoring. | |
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Morph/Web/MorphWebView.qml:138:5: QML Connections: Cannot assign to non-existent property "onContextMenuIntercepted" |
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 | |
BACKUPTIME="$(date '+%Y%m%dT%H%M%S%z')" | |
BACKUPLOC=/home/backups | |
DBDIR=/var/lib/firebird/2.5/data | |
DBNAME=rsgdata | |
PASSLOC=/etc/firebird/2.5/SYSDBA.password | |
LEVEL=${1:-0} | |
COUNT=8 |
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 | |
user=secret | |
pass=secret | |
dbfile='/var/lib/firebird/2.5/data/rsgdata.gdb' | |
dbname=$(mktemp -u) | |
echo $dbname | |
echo "Stopping firebird..." | |
service firebird2.5-super stop |
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 | |
user=secret | |
pass=secret | |
dbfile='/var/lib/firebird/2.5/rsgdata.gdb' | |
dbname=$(mktemp -u) | |
echo $dbname | |
echo "Locking database..." | |
gfix -user $user -password $pass localhost:rsgdata -shut single -force 5 |
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
sub GetFakeSelf { | |
my $Permissions = { 1005 => 'VIEWONLY' }; | |
my $Stash = { User => 999, Permissions => $Permissions }; | |
my $Session = { ClientType => 1, OrgName => 'NONE', ID => 999 }; | |
my $Tx = Mojo::Base->new(); | |
my $App = Mojo::Base->new(); | |
my $Log = Mojo::Log->new(); | |
my $Req = Mojo::Log->new(); |
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
private static int BUFFER_SIZE = 8 * 1024; | |
this.wrapSrc = ByteBuffer.allocateDirect(BUFFER_SIZE * 2); | |
this.wrapDst = ByteBuffer.allocateDirect(BUFFER_SIZE * 2); | |
this.unwrapSrc = ByteBuffer.allocateDirect(BUFFER_SIZE * 2); | |
this.unwrapDst = ByteBuffer.allocateDirect(BUFFER_SIZE * 2); | |
java.lang.IllegalStateException: Buffer overflow in wrap! | |
at com.twistedmatrix.internet.Reactor$TCPConnection.wrap(Reactor.java:219) |
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
import java.math.BigDecimal; | |
import java.nio.ByteBuffer; | |
import java.util.Calendar; | |
import java.util.TimeZone; | |
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.Map; | |
import java.util.HashMap; | |
import com.twistedmatrix.amp.*; |
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
# python count_server.py | |
from sys import stdout, exit | |
from decimal import Decimal | |
from datetime import datetime | |
from twisted.internet import reactor | |
from twisted.internet.protocol import Factory | |
from twisted.internet.endpoints import TCP4ServerEndpoint | |
from twisted.protocols import amp | |
from twisted.python.log import startLogging, err, msg |
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
# python count_client.py | |
from sys import stdout, exit | |
from decimal import Decimal | |
from datetime import datetime | |
from twisted.internet import reactor | |
from twisted.internet.protocol import Factory | |
from twisted.internet.endpoints import TCP4ClientEndpoint | |
from twisted.protocols import amp | |
from twisted.python.log import startLogging, err, msg |