Skip to content

Instantly share code, notes, and snippets.

@fish0185
fish0185 / XpSerials.txt
Last active December 2, 2023 04:33 — forked from denizssch/XpSerials.txt
Windows XP ALL Serial Keys :) (For testing purpose [Ex: VM or PenTest])
Serial: MRX3F-47B9T-2487J-KWKMF-RPWBY
Thank you very much sir!
M8DPF-XT324-YBKK9-3VF8C-M2X78 worked for windows xp pro 32 bit, downloaded the iso from here:
https://archive.org/details/WinXPProSP3x86
https://archive.org/download/WinXPProSP3x86/en_windows_xp_professional_with_service_pack_3_x86_cd_vl_x14-73974.iso
For a VM on proxmox. You saved the day!
@fish0185
fish0185 / README.md
Created October 23, 2023 13:25 — forked from zhiguangwang/README.md
Installing and running shadowsocks on Ubuntu Server

Installing and running shadowsocks on Ubuntu Server

16.10 yakkety and above

  1. Install the the shadowsocks-libev package from apt repository.

     sudo apt update
     sudo apt install shadowsocks-libev
    
  2. Save ss.json as /etc/shadowsocks-libev/config.json.

@fish0185
fish0185 / synology.startup
Created May 16, 2023 22:40 — forked from SanCoder-Q/synology.startup
Synology NAS - How to make a program run at startup
Synology NAS - How to make a program run at startup
The other day I created a little node.js project to keep track of some finances. Synology has a node.js package but that just installs the tools - it has no 'container' or any other support to drop files and have it run automagically. Maybe one day.
In the meantime, you can start your project when you SSH into the NAS. My project has a 'www' script which bootstraps my project, so to start I simply type 'node bin/www' from the project directory. But, it only runs while I'm logged in, and if I log out for any reason, the process dies. That's hardly useful when I'm away from home, or on a different PC. So I decided to have a look at starting my project as a Linux service.
After doing a lot of research into how Synology does services, and a few failed attempts at init scripts, I found that Synology DSM (since version 5 perhaps) bundles Upstart, which is a neat little tool to deal with services on Linux. It's most prevalent on Debian and derivatives (notably Ub
@fish0185
fish0185 / introrx.md
Created May 30, 2018 12:13 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
@fish0185
fish0185 / web-servers.md
Last active July 3, 2018 04:32 — forked from willurd/web-servers.md
[Big list of http static server one-liners] #Server

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
@fish0185
fish0185 / README.md
Created March 1, 2018 03:18 — forked from hofmannsven/README.md
My simply Git Cheatsheet
@fish0185
fish0185 / ProjectName.sln.DotSettings
Created October 4, 2017 10:48 — forked from JavadocMD/ProjectName.sln.DotSettings
A nice DotSettings file for JetBrains Rider projects.
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:Boolean x:Key="/Default/CodeEditing/Intellisense/CodeCompletion/IntelliSenseCompletingCharacters/CSharpCompletingCharacters/UpgradedFromVSSettings/@EntryValue">True</s:Boolean>
<s:Boolean x:Key="/Default/CodeInspection/Highlighting/IdentifierHighlightingEnabled/@EntryValue">True</s:Boolean>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=SuggestVarOrType_005FSimpleTypes/@EntryIndexedValue">DO_NOT_SHOW</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=UnassignedField_002ECompiler/@EntryIndexedValue">DO_NOT_SHOW</s:String>
<s:String x:Key="/Default/CodeStyle/CodeCleanup/RecentlyUsedProfile/@EntryValue">Default: Reformat Code</s:String>
<s:String x:Key="/Defaul

How to add an image to a gist

  1. Create a gist if you haven't already.
  2. Clone your gist:
    # make sure to replace `<hash>` with your gist's hash
    git clone https://gist.github.com/<hash>.git # with https
    git clone git@gist.github.com:<hash>.git     # or with ssh