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/sh | |
SCOPES='read write follow' | |
if [ "$#" = "1" ]; then | |
RESPONSE_APP=$(curl -XPOST -F 'client_name=DoYouSuckDicks' -F "redirect_uris=urn:ietf:wg:oauth:2.0:oob" -F "scopes=$SCOPES" -F 'website=https://example.org' https://$1/api/v1/apps) | |
CLIENT_ID=$(echo $RESPONSE_APP | jq -r .client_id) | |
CLIENT_SECRET=$(echo $RESPONSE_APP | jq -r .client_secret) |
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
$ sudo apt install wine64 -y > test.log | |
Reading package lists... | |
Building dependency tree... | |
Reading state information... | |
The following additional packages will be installed: | |
cups cups-bsd cups-client cups-common cups-core-drivers cups-daemon | |
cups-ipp-utils cups-server-common fonts-wine gcc-9-base:i386 | |
gstreamer1.0-plugins-base:i386 libasn1-8-heimdal:i386 libasound2:i386 | |
libasound2-plugins:i386 libasyncns0:i386 libatomic1:i386 | |
libavahi-client3:i386 libavahi-common-data:i386 libavahi-common3:i386 |
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 | |
file=$1 | |
width=$(identify -format %W $file) | |
height=$(identify -format %H $file) | |
out=BackgroundLayout.txt | |
mkdir -p background | |
echo "resolution $width $height" >> $out |
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
--- hybris-original/ramdisk/init 2017-10-25 12:21:56.000000000 +0300 | |
+++ hybris/ramdisk/init 2018-01-08 03:04:50.743426680 +0300 | |
@@ -26,7 +26,7 @@ | |
BOOTLOGO= | |
ALWAYSDEBUG= | |
-DATA_PARTITION=/dev/mmcblk0p49 | |
+DATA_PARTITION=/dev/mmcblk1p1 | |
DEFAULT_OS=sailfishos | |
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) 2016 Alibek Omarov a.k.a. a1batross | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is | |
# furnished to do so, subject to the following conditions: | |
# |
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
// Use this file to configure your DEDICATED server. | |
// This config file is executed on server start. | |
// disable autoaim | |
sv_aim 0 | |
// disable clients' ability to pause the server | |
pausable 0 | |
// default server name. Change to "Bob's Server", etc. |