Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am ardevd on github.
  • I am edvard (https://keybase.io/edvard) on keybase.
  • I have a public key ASDfHaeo6JTt5AhAx86GDy6z8JY4okgOmyRkKEoXU5LJRAo

To claim this, I am signing this object:

{"data":{"structureChanged":true,"updateTime":1487618452,"devices":[{"creationTime":1486419334,"creatorId":28,"deviceType":"sensorBinary","h":1812718987,"hasHistory":true,"id":"Daylight_28","location":0,"metrics":{"level":"off","title":"Daylight 28","icon":"/ZAutomation/api/v1/load/modulemedia/Daylight/iconN.png","sunrise":"7:45","sunset":"18:00","modificationTime":1487610001,"lastLevel":"off"},"permanently_hidden":false,"probeType":"","tags":[],"visibility":true,"updateTime":1487610001},{"creationTime":1482506761,"creatorId":26,"deviceType":"camera","h":116683528,"hasHistory":false,"id":"CameraDevice_26","location":0,"metrics":{"url":"/CameraDevice_26/stream","hasZoomIn":false,"hasZoomOut":false,"hasLeft":false,"hasRight":false,"hasUp":false,"hasDown":false,"hasOpen":1,"hasClose":1,"icon":"camera","title":"Camera 26"},"permanently_hidden":false,"probeType":"","tags":[],"visibility":true,"updateTime":1487167326},{"creationTime":1480103577,"creatorId":12,"deviceType":"sensorMultilevel","h":1314676493,"hasHisto
@ardevd
ardevd / gist:ba62aa5530745a82ea4b49f7325203cf
Created September 4, 2016 13:17
Gitlab upgrade issues
:: Synchronizing package databases...
core 119.7 KiB 0.00B/s 00:00 [##########################################################################] 100%
extra 1832.8 KiB 66.3M/s 00:00 [##########################################################################] 100%
community 3.6 MiB 59.7M/s 00:00 [##########################################################################] 100%
Foreign packages: / 5 / 5
==> Package upgrade only (new release):
core/lz4 131-1 1 -> 2
core/man-db 2.7.5-3 3 -> 4
extra/ghostscript 9.19-2 2 -> 3
@ardevd
ardevd / idaPy-windbg_relative_breakpoints.py
Last active March 28, 2016 18:54
IDAPython script to give you relative WinDBG breakpoints.
# CopeEA.py
#
# for public release, 2012
#
# Peter Vreugdenhil
import idaapi
import idc
import ctypes
on Dec 23 10:08:03 2013 OpenVPN 2.1.4 armle-unknown-linux [SSL] [LZO2] [EPOLL] built on Sep 16 2013
Mon Dec 23 10:08:03 2013 WARNING: file '/tmp/ovpn_client_up' is group or others accessible
Mon Dec 23 10:08:03 2013 IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA. OpenVPN 2.0-beta16 and earlier used 5000 as the default port.
Mon Dec 23 10:08:03 2013 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Mon Dec 23 10:08:03 2013 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Mon Dec 23 10:08:03 2013 LZO compression initialized
Mon Dec 23 10:08:08 2013 RESOLVE: Cannot resolve host address: no1.vpn.goldenfrog.com: [TRY_AGAIN] A temporary error occurred on an authoritative name server.
Mon Dec 23 10:08:08 2013 SYNO_ERR_HOST
Mon Dec 23 10:08:13 2013 RESOLVE: Cannot resolve host address: no1.vpn.goldenfrog.com: [TRY_AGAIN] A temporary
default via 10.203.70.57 dev rmnet_usb0
10.203.70.56/30 dev rmnet_usb0 proto kernel scope link src 10.203.70.56
0: from all lookup local
32766: from all lookup main
32767: from all lookup default
shell@mako:/ #
Chain PREROUTING (policy ACCEPT 8 packets, 2587 bytes)
pkts bytes target prot opt in out source destination
8 2587 oem_nat_pre all -- * * 0.0.0.0/0 0.0.0.0/0
Chain INPUT (policy ACCEPT 8 packets, 2587 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 30 packets, 2112 bytes)
pkts bytes target prot opt in out source destination
Chain INPUT (policy ACCEPT 12 packets, 1008 bytes)
pkts bytes target prot opt in out source destination
193 17822 bw_INPUT all -- * * 0.0.0.0/0 0.0.0.0/0
193 17822 fw_INPUT all -- * * 0.0.0.0/0 0.0.0.0/0
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 oem_fwd all -- * * 0.0.0.0/0 0.0.0.0/0
0 0 fw_FORWARD all -- * * 0.0.0.0/0 0.0.0.0/0
0 0 bw_FORWARD all -- * * 0.0.0.0/0 0.0.0.0/0
D/MobileDataStateTracker( 589): default: Broadcast received: android.intent.action.ANY_DATA_STATE apnType=default
D/MobileDataStateTracker( 589): default: default setting isAvailable to false
D/MobileDataStateTracker( 589): default: Received state=DISCONNECTED, old=DISCONNECTED, reason=(unspecified)
D/MobileDataStateTracker( 589): fota: Broadcast received: android.intent.action.ANY_DATA_STATE apnType=fota
D/MobileDataStateTracker( 589): fota: fota setting isAvailable to false
D/MobileDataStateTracker( 589): fota: Received state=DISCONNECTED, old=DISCONNECTED, reason=dataAttached
D/MobileDataStateTracker( 589): dun: Broadcast received: android.intent.action.ANY_DATA_STATE apnType=dun
D/MobileDataStateTracker( 589): dun: dun setting isAvailable to false
D/MobileDataStateTracker( 589): dun: Received state=DISCONNECTED, old=DISCONNECTED, reason=dataAttached
D/MobileDataStateTracker( 589): supl: Broadcast received: android.intent.action.ANY_DATA_STATE apnType=supl