Skip to content

Instantly share code, notes, and snippets.

💻
working

Yan Pashkovsky Yanpas

💻
working
  • Россия
Block or report user

Report or block Yanpas

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View XFCE4-pulseaudio-plugin Mint-X-icon theme patcher.sh
#!/bin/bash
#IMPORTANT!!!!!
#THERE IS OLDER VERSION OF THIS SCRIPT, I RECOMMEND YOU TO USE NEWER. OLD ONE CREATES DEB PACAKAGE, STARTS BELOW LINE 232
if [ "$(id -u)" != "0" ]; then
echo "This script must be run as root" 1>&2
exit 1
fi
echo -e "What would you like to do with sound icons for Mint-X theme?\n\t1)Restore original\n\t2)Make small\n\t3)Quit"
cd /usr/share/icons/Mint-X/status/scalable/
View Steam sysinfo
sysinfo
```
Процессор:
Поставщик: AuthenticAMD
Семейство процессора: 0x10
Модель процессора: 0x4
Степпинг процессора: 0x2
Тип процессора: 0x0
Тактовая частота: 2800 МГц
Кол-во логических процессоров: 4
View MP3 fixer
#!/bin/zsh
# Needed apps
# mp3val eyed3 id3v2 python-mutagen zsh
cd /home/$USER/Загрузки/
rename s/_\\\(zvukoff\.ru\\\)//g *.mp3
rename s/_\\\(zv\.fm\\\)//g *.mp3
rename s/_/\ /g *.mp3
for file in *.mp3
do
mp3val -f $file
View Rsync backup
#!/bin/bash
#
datadrive="/home/$USER/.D"
extdrive="/media/$USER/externaldrive/Backup"
rkeys="--stats \
--recursive \
--times \
--verbose \
--delete \
--exclude=*photothumb.db \
View 750 new icons
./framework/res/recent-documents.png
./cmd/sc_numberformatstandard.png
./cmd/sc_bezierfill.png
./cmd/sc_centerpara.png
./cmd/sc_flowchartshapes.flowchart-off-page-connector.png
./cmd/sc_basicshapes.circle.png
./cmd/lc_arrowshapes.striped-right-arrow.png
./cmd/sc_hyperlinkdialog.png
./cmd/lc_freeline_unfilled.png
./cmd/sc_arrowshapes.chevron.png
View Steam sysinfo2
Процессор:
Поставщик: AuthenticAMD
Семейство процессора: 0x10
Модель процессора: 0x4
Степпинг процессора: 0x2
Тип процессора: 0x0
Тактовая частота: 2800 МГц
Кол-во логических процессоров: 4
Кол-во физических процессоров: 4
HyperThreading: Не поддерживается
View Clementine log
09:25:22.614 INFO main:334 Clementine 1.3 rc1
09:25:22.776 DEBUG WorkerPool<HandlerType>:281 Starting worker 0x7f8ef6205710 "/usr/bin/clementine-tagreader" "/tmp/clementine_520196193"
09:25:22.781 DEBUG WorkerPool<HandlerType>:281 Starting worker 0x7f8ef6205710 "/usr/bin/clementine-tagreader" "/tmp/clementine_1172129307"
09:25:22.785 DEBUG WorkerPool<HandlerType>:281 Starting worker 0x7f8ef6205710 "/usr/bin/clementine-tagreader" "/tmp/clementine_491488436"
09:25:22.787 DEBUG WorkerPool<HandlerType>:281 Starting worker 0x7f8ef6205710 "/usr/bin/clementine-tagreader" "/tmp/clementine_2080546367"
09:25:22.791 INFO main:48 TagReader worker connecting to "/tmp/clementine_520196193"
09:25:22.792 DEBUG WorkerPool<HandlerType>:301 Worker 0x7f8ee800cb30 connected to "/tmp/clementine_520196193"
09:25:22.800 INFO main:48 TagReader worker connecting to "/tmp/clementine_1172129307"
09:25:22.800 DEBUG WorkerPool<Han
@Yanpas
Yanpas / debugger_hanger.cpp
Created Feb 2, 2016
bracket placer (Break point on line 60)
View debugger_hanger.cpp
#include <iostream>
int lsearch(std::string s, size_t pos) //pos from
{
int bc=0;
while(pos>0)
{
if(s[pos]== ')') bc++;
if(s[pos]== '(') bc--;
if(bc<0) return lsearch(s,pos-1);
View Steam_sysinfo_16
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: AuthenticAMD
CPU Family: 0x10
CPU Model: 0x4
View gist:25b01144c718d6ac7c0f1089644ba239
Информация о компьютере:
Производитель: Unknown
Модель: Unknown
Тип: Настольный
Сенсорный ввод не поддерживается
Процессор:
Производитель процессора: AuthenticAMD
CPU Brand: AMD Phenom(tm) II X4 925 Processor
Семейство процессора: 0x10
You can’t perform that action at this time.