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/env python | |
''' | |
This has some pretty gross hacks in it | |
But gives a general idea what it is like to write a 2to3 fixer | |
Basically run like this: | |
ida2to3.py /path/to/your/script /path/to/idc_bc695.py | |
Give it a once over to make sure it didn't break too much, then: |
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
/* | |
Source for ida_patcher | |
Copyright (c) 2006 Chris Eagle cseagle at gmail.com | |
This program is free software; you can redistribute it and/or modify it | |
under the terms of the GNU General Public License as published by the Free | |
Software Foundation; either version 2 of the License, or (at your option) | |
any later version. | |
This program is distributed in the hope that it will be useful, but WITHOUT |
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
diff -N -r -u linux-4.19.72/arch/arm64/hyperv/hv_hvc.S WSL2-Linux-Kernel-4.19.72-microsoft-standard/arch/arm64/hyperv/hv_hvc.S | |
--- linux-4.19.72/arch/arm64/hyperv/hv_hvc.S 1969-12-31 16:00:00.000000000 -0800 | |
+++ WSL2-Linux-Kernel-4.19.72-microsoft-standard/arch/arm64/hyperv/hv_hvc.S 2019-09-15 02:24:17.000000000 -0700 | |
@@ -0,0 +1,54 @@ | |
+/* SPDX-License-Identifier: GPL-2.0 */ | |
+ | |
+/* | |
+ * Microsoft Hyper-V hypervisor invocation routines | |
+ * | |
+ * Copyright (C) 2018, Microsoft, Inc. |
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 | |
kill `cat /var/run/udhcpc.eth0.pid` | |
ifconfig eth0 192.168.0.100 netmask 255.255.255.0 up | |
ip route add default via 172.168.0.1 dev eth0 | |
echo nameserver 8.8.8.8 >> /etc/resolv.conf | |
#/mnt/sda1/var/lib/boot2docker/bootlocal.sh |
NewerOlder