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
# Retrieves all packages present on the device as .apk files | |
# Useful for application backup for a device that is not anymore supported in Google Play Store | |
.\adb shell pm list packages |% {if($_){$_; $a=$(.\adb shell pm path $_.Substring(8)); $b=$a[0].Substring(8); .\adb pull $b; }} |
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
#include <AutoItConstants.au3> | |
#include <MsgBoxConstants.au3> | |
; Press Esc to terminate script, Pause/Break to "pause" | |
Global $g_bPaused = False | |
Global $m_pos | |
HotKeySet("{PAUSE}", "HotKeyPressed") | |
HotKeySet("{ESC}", "HotKeyPressed") |
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
@echo off | |
SETLOCAL EnableDelayedExpansion | |
rem SETLOCAL ENABLEEXTENSIONS | |
set args=%1 | |
shift | |
:start | |
if [%1] == [] goto done | |
if [%1] == [-i] ( | |
set test_var=%2 | |
echo %test_var% |
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
@echo off | |
SETLOCAL EnableDelayedExpansion | |
rem SETLOCAL ENABLEEXTENSIONS | |
set args=%1 | |
shift | |
:start | |
if [%1] == [] goto done | |
if [%1] == [-i] ( | |
set test_var=%2 | |
echo %test_var% |
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
import re | |
from xml.dom import minidom | |
from html.parser import HTMLParser | |
XMLFILENAME = 'jogger_eksport.xml' | |
def createFileName(date, permalink, subject): | |
"""Data wymagana, w formacie YYYY-mm-dd""" | |
fileName = date[:10] + '-' | |
if permalink != None: |