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 <libssh/libssh.h> | |
#include <iostream> | |
#include <cstring> | |
int main() { | |
// Create SSH session | |
ssh_session session = ssh_new(); | |
if (!session) { | |
std::cerr << "Failed to create SSH session" << std::endl; | |
return 1; |
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
@REM TODO: firebase-tools npm, Flutter, smloadr?, Impactor, TLPD | |
@REM REVISED ON 30/11/19 | |
@REM FULLY TESTED ON 30/11/19 | |
@REM This script is intended to be used on Windows LTSC 1809 | |
@echo Rename the PC, apply drive letters, move libraries, copy backups | |
@echo Configure the PC: Privacy, accessibility hotkeys (+screenshot), sleep mode, performance mode, taskbar | |
@pause |
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
#!/usr/bin/env bash | |
# REVISED ON 30/11/19 | |
# FULLY TESTED ON !NEVER! | |
set -e | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
brew cask | |
# Brew: |
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
diff --git a/packages/flutter_tools/lib/src/commands/attach.dart b/packages/flutter_tools/lib/src/commands/attach.dart | |
index bf98583f0..8d010fb82 100644 | |
--- a/packages/flutter_tools/lib/src/commands/attach.dart | |
+++ b/packages/flutter_tools/lib/src/commands/attach.dart | |
@@ -214,9 +214,6 @@ class AttachCommand extends FlutterCommand { | |
} | |
rethrow; | |
} | |
- } else if ((device is IOSDevice) || (device is IOSSimulator)) { | |
- final MDnsObservatoryDiscoveryResult result = await MDnsObservatoryDiscovery().query(applicationId: appId); |
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
#git diff --name-only $oldsha $newsha | bash script.sh | |
test=" " | |
while read data; do | |
echo $data | |
test+=$data; | |
test+=" "; | |
done | |
C:/Program\ Files/7-Zip/7z.exe a dest.7z $test |
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
cd ~/.rbenv | |
git pull | |
cd ~/.rbenv && src/configure && make -C src | |
# Check if rbenv is correctly installed | |
type rbenv | |
#echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc | |
#echo 'eval "$(rbenv init -)"' >> ~/.bashrc | |
#exec bash | |
cd ~/.rbenv/plugins/ruby-build | |
git pull |
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
rm -rf ./* | |
apt-get source amavisd-new | |
cd amavisd-new-2.11.0/ | |
cp amavisd amavisd.old | |
nano amavisd | |
diff -Naur amavisd.old amavisd > debian/patches/100_originating_fix | |
nano debian/patches/100_originating_fix | |
--- a/amavisd.old 2018-09-24 00:07:08.715626399 +0000 | |
+++ b/amavisd 2018-09-24 00:07:16.171494466 +0000 |
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
sudo apt install unattended-upgrades | |
sudo nano /etc/apt/apt.conf.d/50unattended-upgrades | |
"${distro_id}:${distro_codename}-updates"; | |
"${distro_id}:${distro_codename}-backports"; | |
... | |
Unattended-Upgrade::Mail "[email protected]"; | |
Unattended-Upgrade::MailOnlyOnError "false"; | |
... | |
Unattended-Upgrade::Remove-Unused-Kernel-Packages "true"; | |
Unattended-Upgrade::Remove-Unused-Dependencies "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
Computer Information: | |
Manufacturer: Unknown | |
Model: Unknown | |
Form Factor: Desktop | |
No Touch Input Detected | |
Processor Information: | |
CPU Vendor: GenuineIntel | |
CPU Brand: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz | |
CPU Family: 0x6 |
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
# Add RPMFusion repos: | |
curl https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-27.noarch.rpm --output rpmfusion.rpm | |
sudo dnf install -y rpmfusion.rpm | |
# Flash: | |
sudo dnf install yum install https://mirror.yandex.ru/fedora/russianfedora/russianfedora/free/fedora/russianfedora-free-release-stable.noarch.rpm | |
sudo dnf install https://mirror.yandex.ru/fedora/russianfedora/russianfedora/nonfree/fedora/russianfedora-nonfree-release-stable.noarch.rpm | |
NewerOlder