# smartctl -d ata -a /dev/sdb | grep 194 && smartctl -d ata -a /dev/sda | grep 194
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using NSwag; | |
using NSwag.CodeGeneration.CSharp; | |
namespace GatewayGenerator | |
{ | |
class Program |
# echo "deb http://linux-packages.resilio.com/resilio-sync/deb resilio-sync non-free" > /etc/apt/sources.list.d/resilio-sync.list
# wget -qO - https://linux-packages.resilio.com/resilio-sync/key.asc | apt-key add -
# dpkg --add-architecture armhf
# apt-get update
# apt-get install resilio-sync
# # systemctl enable resilio-sync
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
![Иллюстрация к проекту](https://github.com/jon/coolproject/raw/master/image/image.png) | |
![Image alt](https://github.com/{username}/{repository}/raw/{branch}/{path}/image.png) | |
{username} — ваш ник на ГитХабе; | |
{repository} — репозиторий где хранятся картинки; | |
{branch} — ветка репозитория; | |
{path} — путь к месту нахождения картинки. |
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
#!/usr/bin/env node | |
// npm install slackbots node-telegram-bot-api | |
var TelegramBot = require('node-telegram-bot-api'); | |
var SlackBot = require('slackbots'); | |
// create a bot | |
var sBot = new SlackBot({ | |
token: 'your-slack-bot-token', // Add a bot https://my.slack.com/services/new/bot and put the token |
NewerOlder