see: https://github.com/benpye/wsl-ssh-pageant
mkdir workspace
cd workspace
git clone git@github.com:benpye/wsl-ssh-pageant.git
cd wsl-ssh-pageant
C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe /out:wsl-ssh-pageant.exe Program.cs| @echo off | |
| REM run on windows in elevated cmd line | |
| REM clear arp cache | |
| arp -d | |
| REM TODO: get correct subnet | |
| REM bruteforce through the network | |
| for /L %%a in (1,1,254) do @start /b ping 192.168.0.%%a -w 100 -n 2 >nul |
| # Mp3tag (2.38 or higher) Parsing for Last.fm by h4de5 | |
| # Save it in your Mp3tag data directory, | |
| # e.g. C:\Documents and Settings\*username*\Application Data\Mp3tag\data\sources | |
| # | |
| # DO NOT COPY/MODIFY AND REDISTRIBUTE THIS WITHOUT PERMISSION | |
| # | |
| # Get correct title, artist, album and cover data from last.fm database | |
| # | |
| # GET last.fm API key here: https://www.last.fm/api/account/create | |
| # |
| [user] | |
| name = Username | |
| email = your@email.com | |
| [alias] | |
| # fetches the current branch - than does a diff between the working copy and this fetched branch. | |
| # so you should only see the changes that would come with git pull. | |
| diffpull=!git fetch && git diff HEAD..@{u} | |
| # lists all branches | |
| branchlist=!git branch --list -vva |
see: https://github.com/benpye/wsl-ssh-pageant
mkdir workspace
cd workspace
git clone git@github.com:benpye/wsl-ssh-pageant.git
cd wsl-ssh-pageant
C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe /out:wsl-ssh-pageant.exe Program.cs| # THERE IS NOW A BETTER WAY TO DO THIS - SEE wsl-ssh-pageant | |
| function sshagent_findsockets { | |
| find /tmp -uid $(id -u) -type s -name agent.\* 2>/dev/null | |
| } | |
| function sshagent_testsocket { | |
| if [ ! -x "$(which ssh-add)" ] ; then | |
| echo "ssh-add is not available; agent testing aborted" | |
| return 1 |
| <?php | |
| // beware -- this will make you photostation less secure -- beware | |
| // file: /volume1/\@appstore/PhotoStation/photo/cms/content_security_policy.php | |
| // starting with Photostation 7 (PHP7) the new file to edit is: | |
| // file: /volume1/\@appstore/PhotoStation/photo/include/content_security_policy.php | |
| // rest is the same | |
| // search for script-src | |
| // add 'unsafe-inline' |