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
# GDC Vault videos can't be watched on mobile devices and this is a very sad thing indeed! | |
# This script is designed to circumvent this by downloading the lecture and slideshow | |
# videos which can then be re-encoded into whatever format you wish. | |
# Note: this code is rather flimsy and was written as fast as possible for my own personal use. | |
# The code only works for the most recent GDC Vault videos, since they all use the same player | |
# format. If the XML format used to run the player is changed (as it has in the past), the code | |
# will have to be reconfigured. In the past, I was able to feed a wget-compatible cookies.txt | |
# file into the wget call, but I can't get it to trigger anymore. So for now, the way I download | |
# each video is I look at the source for the player page, find the player.html URL, and feed |
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
# GDC Vault videos can't be watched on mobile devices and this is a very sad thing indeed! | |
# (Note: this has changed for GDC2013, which lets you watch raw MP4 streams. Kudos!) | |
# This script is designed to circumvent this by downloading the lecture and slideshow | |
# videos which can then be re-encoded into whatever format you wish. Obviously, you | |
# won't be able to do this without access to the Vault. This is strictly for the | |
# convenience of legitimate Vault users! | |
# Note: this code is rather flimsy and was written as fast as possible for my own personal use. | |
# The code only works for the most recent GDC Vault videos, since they all use the same player | |
# format. If the XML format used to run the player is changed (as it has in the past), the code |
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
; ╔╦═════════════════════════════════╦╗ | |
; ╟╪─ Набыдлокодено NightFox © 2014 ─╪╢ | |
; ╚╩═════════════════════════════════╩╝ | |
; добавить режим автоматического завершения DO. | |
; добавить больше проверок (права доступа) | |
; переписать функции удаления веток реестра и добавить проверки | |
; почистить код от мусора | |
; добавить ключ получения исходника из EXE | |
; добавить полоску прогресса |
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 ^=>> ^=.log | |
echo ^=^=>> ^=^=.log | |
:: проценты не экранируются через ^ | |
echo %%>> %%.log | |
echo %%%%>> %%%%.log | |
:: с амперсандом сложнее, он тупо не хочет создавать когда идёт первым знаком, вот так создаст: | |
echo "^&">> "^&".log | |
echo " &">> " &".log |
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 <FileConstants.au3> | |
#include <Array.au3> | |
#include <WinAPIShPath.au3> | |
#include <String.au3> | |
Global $sCMD = _WinAPI_CommandLineToArgv($CmdLineRaw) | |
$tAppName = 'XPC2 патчер' | |
$tAppVer = ' в' | |
$sAppNameOnly = $tAppName |
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 | |
chcp 1251 | |
cls | |
cd /d "%~dp0" | |
set "d=%windir%\Fonts" | |
set "f1=msgothic.ttc" | |
set "f2=msmincho.ttc" | |
set s1=0 | |
set s2=0 | |
set "t1=Проверяем " |
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
:: Пример работы | |
%~d0 | |
cd /d %~dp0 | |
set AppName=intelpwmcontrol | |
set CfgFile=%appname%.cfg | |
call :ReadKeyValue | |
echo Частота: %freq% | |
set freq=1020 | |
call :WriteKeyValue | |
more %CfgFile% |
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
#!C:\Python38-32\python.exe | |
# This is tool for remove duplicate files. | |
# But instead of deleting, it replace duplicates with SYMBOLIC LINK to original file | |
# (it may be useful in Phase Shift music directory) | |
# Algorithm for compare: BLAKE2s | |
__author__ = 'Ugubok, NightFox' | |
from os import path, walk, symlink, remove, sys | |
from hashlib import blake2s |