-
Create a Android Virtual Device (AVD) using a non Google image to enable root access
-
Start mitmproxy
-
Install DuckDuckGo browser via downloaded apk on AVD
Download via: https://apkcombo.com/duckduckgo/com.duckduckgo.mobile.android/
-
Start ADV emulator with mitmproxy configured:
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
''' | |
GNS3_auto_ip_script | |
author: plucena24@gmail.com | |
Automatically generate and apply basic IP addressing config for a GNS3 dynamips topology. | |
Example: a network consisting of R1---R2---R3. | |
Using the script, the links will be numbered as: |
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
# inspired by http://ariejan.net/2010/08/23/resque-how-to-requeue-failed-jobs | |
# retry all failed Resque jobs except the ones that have already been retried | |
# This is, for instance, useful if you have already retried some jobs via the web interface. | |
Resque::Failure.count.times do |i| | |
Resque::Failure.requeue(i) unless Resque::Failure.all(i, 1)['retried_at'].present? | |
end | |
# retry all :) | |
Resque::Failure.count.times do |i| |
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
var Semaphore = function(callback, context) { | |
this.semaphore = 0; | |
this.callback = callback; | |
this.context = context || this; | |
}; | |
Semaphore.prototype.increment = function() { | |
this.semaphore++; | |
}; |
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 ruby | |
if GC.respond_to?(:copy_on_write_friendly=); GC.copy_on_write_friendly = true; end | |
def pidfile | |
@pidfile ||= File.expand_path(File.join('..', '..', 'tmp', 'pids', 'consumer.pid'), __FILE__) | |
end | |
case ARGV.first | |
when 'start' then |