Skip to content

Instantly share code, notes, and snippets.

View jimdi's full-sized avatar
💭
крокодил залупа сыр

Jim_Di jimdi

💭
крокодил залупа сыр
View GitHub Profile
#$files = Get-ChildItem 'Z:\Camera Uploads' -Recurse | where {!$_.PsIsContainer}
$files = Get-ChildItem 'Z:\Camera Uploads' | where {!$_.PsIsContainer}
# List Files which will be moved
$files
# Target Filder where files should be moved to. The script will automatically create a folder for the year and month.
$targetPath = 'Z:\Camera Uploads\Albums'
foreach ($file in $files)
@jimdi
jimdi / pidor.py
Created March 10, 2021 11:28
пидор дня текст
text1 = ['Зачем вы меня разбудили...',
'Инициирую поиск *пидора дня*...',
'Итак... кто же сегодня *пидор дня*?',
'Кто сегодня счастливчик?',
'Опять в эти ваши игрульки играете? Ну ладно...',
'Осторожно! *Пидор дня* активирован!',
'Сейчас *поколдуем*...',
'Система взломана. Нанесён урон. Запущено планирование контрмер.',
'Эй, зачем разбудили...',
'*### RUNNING ''TYPIDOR.SH''...*',
@jimdi
jimdi / tomat.sh
Created September 22, 2020 23:28 — forked from Imater/tomat.sh
> tomat 25 'Название дела'
#!/usr/bin/env bash
SLEEP_DURATION=${SLEEP_DURATION:=1} # default to 1 second, use to speed up tests
progress-bar() {
local duration
local columns
local space_available
local fit_to_screen
local space_reserved
@jimdi
jimdi / di-fm-premium-account-generator.sh
Last active February 5, 2019 08:24 — forked from hackruu/di-fm-premium-account-generator.sh
Generate di.fm premium account and playlist. Also supports radiotunes.com (ex sky.fm), jazzradio.com, rockradio.com, classicalradio.com
#!/bin/bash
AGENT="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36"
COOKIES="./cookies.txt"
DOMAIN=gmail.com
PLAYLISTDI="di.fm.m3u"
PLAYLISTSKY="sky.fm.m3u"
PLAYLISTJAZZ="jazzradio.m3u"
PLAYLISTROCK="rockradio.m3u"
PLAYLISTCLASSICAL="classicalradio.m3u"
PLAYLISTRADIOTUNES="radiotunes.m3u"
@jimdi
jimdi / rep-user-tg
Created February 25, 2016 00:05
Per-user Telegram Link mapping
Windows Registry Editor Version 5.00
; Per-user Telegram Link mapping
[HKEY_CURRENT_USER\Software\Classes\tg]
@="URL:Telegram Link"
"URL Protocol"="D:\\Prog\\Telegram Desktop\\Telegram.exe"
[HKEY_CURRENT_USER\Software\Classes\tg\DefaultIcon]
@="D:\\Prog\\Telegram Desktop\\Telegram.exe,1"