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 | |
# coding: utf-8 | |
def grep_packages(grep_word) | |
package_list = `adb shell pm list package` | |
grep_package_list = package_list.split(/\s+/).map { |line| line.sub(/^package:/, '') }.select { |line| line.include?(grep_word) } | |
if grep_package_list.size == 1 | |
return grep_package_list[0] | |
elsif grep_package_list.size > 1 |
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
cfhdojbkjhnklbpkdaibdccddilifddb Adblock Plus 10000000 | |
gighmmpiobklfepjocnamgkkbiglidom AdBlock 10000000 | |
efaidnbmnnnibpcajpcglclefindmkaj Adobe Acrobat 10000000 | |
gomekmidlodglbbmalcneegieacbdmki Avast Online Security 10000000 | |
eofcbnmajmjmplflapaojjnihcjkigck Avast SafePrice 10000000 | |
chfdnecihphmhljaaejmgoiahnihplgn AVG Web TuneUp 10000000 | |
flliilndjeohchalpbbcdekjklbdgfkk Avira Browser Safety 10000000 | |
gpdjojdkbbmdfjfahjcgigfpmkopogic Pin It Button 10000000 | |
lifbcibllhkdhoafpjfnlhfpfgnpldfl Skype 10000000 | |
mallpejgeafdahhflmliiahjdpgbegpk FromDocToPDF 9298905 |
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/bash | |
HOST=$(hostname) | |
function install_postfix() { | |
echo | sudo debconf-set-selections <<__EOF | |
postfix postfix/root_address string | |
postfix postfix/rfc1035_violation boolean false | |
postfix postfix/mydomain_warning boolean | |
postfix postfix/mynetworks string 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 |
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
#!python | |
# -*- coding: utf-8 -*- | |
import sys, unicodedata, logging, re, os.path | |
basepath = os.path.dirname( sys.argv[0] ) | |
sys.path.append( os.path.join( basepath, "pyexcelerator-0.6.4.1.zip") ) # http://sourceforge.net/projects/pyexcelerator/ | |
import pyExcelerator |
NewerOlder