- Clean pkg cache
- Remove unused packages (orphans)
- Clean cache in /home
- remove old config files
- Find and Remove
- duplicates
- empty files
- empty directories
- broken symlinks
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
// https://davidpiesse.github.io/tailwind-md-colours/ | |
// | |
//Notes | |
// | |
//All colours are generated from Material Design Docs | |
//Colours have a base, a set of shades (50-900) accent colours | |
//In addition a companion set of contrast colours are included for colouring text / icons | |
// Example usage | |
// class="w-full bg-red-600 text-red-600-constrast" |
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
---- about this neovim-configuration | |
-- - features: completion, lsp, tree-sitter, formatter, automatic configuration of indendation. | |
-- - goals: web development with typescript and tsx. | |
-- - themes: on mac, one-light; otherwise, gruvbox. | |
---- external setup | |
-- - install git and neovim. e.g., with guix as package-manager, run: | |
-- guix install git neovim |
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 python | |
# Python screenshot tool (fullscreen/area selection) | |
# Tested on: | |
# Lubuntu 13.04 x86_64 | |
# Gentoo 4.1.7-hardened-r1 x86_64 | |
import sys | |
from PyQt4 import QtCore, QtGui | |
from commands import getoutput | |
from StringIO import StringIO |
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
"editor.tokenColorCustomizations": { | |
"textMateRules": [ | |
{ | |
"scope": [ | |
"comment", | |
"comment.block", | |
"comment.block.documentation", | |
"comment.line", | |
"constant", | |
"constant.character", |
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
🌞 Morning 28 commits ██░░░░░░░░░░░░░░░░░░░ 9.9% | |
🌆 Daytime 94 commits ██████▉░░░░░░░░░░░░░░ 33.3% | |
🌃 Evening 113 commits ████████▍░░░░░░░░░░░░ 40.1% | |
🌙 Night 47 commits ███▍░░░░░░░░░░░░░░░░░ 16.7% |
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
/* | |
Unfollow (stop following) those people who are not following you back on Twitter (or unfollow everyone if desired). | |
This will work for new Twitter web site code structure (it was changed from July 2019, causing other unfollow-scripts to stop working). | |
Instructions: | |
1) The code may need to be modified depending on the language of your Twitter web site: | |
* For English language web site, no modification needed. | |
* For Spanish language web site, remember to set the 'LANGUAGE' variable to "ES". | |
* For another language, remember to set the 'LANGUAGE' variable to that language and modify the 'WORDS' object to add the words in that language. |
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 | |
DELAY=300 #in secs - how often restart the script | |
ROLL_PRICE=100 | |
for (( ;; )); do | |
WALLET=$(massa-client wallet_info) | |
ADDRESS=$(echo -e $WALLET | grep -oP 'Address:\s*\K.*(?=\s+State)') | |
FINAL_BAL=$(echo -e $WALLET | grep -oP 'final balance:\s*\K.*(?=\s+candidate balance)') |
- Создаем бота через глобального бота телеграма
@BotFather
- Создаем публичный канал через обычный клиент(desktop/mobile) с публичным именем
- Добавляем бота в администраторы канала (с правами отправлять сообщения)
- Отправляем тестовое сообщение в канал от имени только что созданного бота
#POST: https://api.telegram.org/bot<token>/sendMessage
{
"chat_id": "@mysuperchannel",
NewerOlder