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
<?xml version="1.0" encoding="UTF-8"?> | |
<playlist version="1" xmlns="http://xspf.org/ns/0/" xmlns:vlc="http://www.videolan.org/vlc/playlist/ns/0/"> | |
<title>36.0E</title> | |
<creator>Константин Абакумов</creator> | |
<annotation>1 0 1 10750</annotation> | |
<trackList> | |
<track> | |
<trackNum>001001</trackNum><title>Pershiy Avtomobilniy</title><album>ЗНАНИЯ</album> | |
<location>rtp://@224.36.1.1:1234</location> | |
<annotation>11727 L 27500 Q 3</annotation><extension application="http://www.videolan.org/vlc/playlist/0"> |
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
#~/.x11vncrc | |
dontdisconnect | |
notruecolor | |
noxfixes | |
shared | |
forever | |
bg | |
ncache 10 | |
no6 | |
noipv6 |
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
#!/bin/bash | |
read -e -p "Enter Media>" media | |
[ -n "$media" ] && xbmc-send --action="PlayMedia(${media// /%20})" |
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
#!/usr/bin/bash | |
flog=/var/log/ftpd.log | |
FTPD=proftpd | |
FTPDa="-n -q" | |
kill -sigterm `cat /var/run/${FTPD}.pid` | |
pacman -Sy | |
cd ~ | |
if [ "$MSYSTEM" == "MSYS" ] ; then | |
pacman -S cygrunsrv --needed |
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
#!/usr/bin/bash | |
flog=/var/log/ftpd.log | |
FTPD=pure-ftpd | |
ip=192.168.0.1,21 | |
[ ! -z ${ip} ] && ip=-S${ip} | |
FTPDa="-4 -A -c8 -D -fnone -g/var/run/${FTPD}.pid -H -lpuredb:/etc/pureftpd.pdb -u1 ${ip}" | |
kill -sigterm `cat /var/run/${FTPD}.pid` | |
pacman -Sy | |
cd ~ |
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
#!/bin/sh | |
# | |
# msys2-sshd-setup.sh — configure sshd on MSYS2 and run it as a Windows service | |
# | |
# Please report issues and/or improvements to Sam Hocevar <[email protected]> | |
# | |
# Prerequisites: | |
# — MSYS2 itself: http://sourceforge.net/projects/msys2/ | |
# — admin tools: pacman -S openssh cygrunsrv mingw-w64-x86_64-editrights | |
# |
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
Protocol 2 | |
StrictModes no | |
PubkeyAuthentication yes | |
AuthorizedKeysFile c:\PortableApps\OpenSSH\authorized_keys | |
PasswordAuthentication no | |
PermitEmptyPasswords no | |
UsePAM yes | |
PidFile sshd.pid | |
Subsystem sftp sftp-server.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
#!/usr/bin/python -i | |
# coding=cp1251 | |
# | |
from __future__ import unicode_literals | |
from __future__ import print_function | |
import os | |
import codecs | |
import sys | |
reload(sys) | |
print("if sys.stdout.isatty():") |
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 | |
set args= | |
:loop | |
if "%~1"=="" goto run | |
call :repl %1 | |
set args=%args% "%s%" | |
shift | |
goto loop | |
:run |
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
:dad's style :) | |
@echo off | |
set args= | |
:loop | |
set s=%~1 | |
set s=%s:\=/% | |
if not "%s:~1,1%"==":" goto noDrv | |
set d=%s:~0,1% | |
set d=%d:A=a% | |
set d=%d:B=b% |