This file contains hidden or 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
| let g:blogger_blogid = "99999999999999999999" | |
| let g:blogger_email = "[email protected]" | |
| let g:blogger_pass = "password" | |
| let g:blogger_ruby_path = "/usr/local/bin/ruby" |
This file contains hidden or 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 | |
| # require: python 2.4+ | |
| # usage: python sh_declaration_checker.py < sample.sh | |
| from re import findall | |
| from sys import stdin | |
| usedVarlist = set() | |
| declaredVarlist = set() |
This file contains hidden or 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
| SpringBoard: | |
| /System/Library/PrivateFrameworks/StoreServices.framework/StoreServices (compatibility version 1.0.0, current version 1.0.0) | |
| /System/Library/PrivateFrameworks/AirTraffic.framework/AirTraffic (compatibility version 1.0.0, current version 116.0.0) | |
| /System/Library/PrivateFrameworks/IOSurface.framework/IOSurface (compatibility version 1.0.0, current version 1.0.0) | |
| /System/Library/PrivateFrameworks/MultitouchSupport.framework/MultitouchSupport (compatibility version 1.0.0, current version 240.20.0) | |
| /System/Library/PrivateFrameworks/MobileWiFi.framework/MobileWiFi (compatibility version 1.0.0, current version 1.0.0) | |
| /usr/lib/libIOAccessoryManager.dylib (compatibility version 1.0.0, current version 1.0.0) | |
| /System/Library/PrivateFrameworks/IOMobileFramebuffer.framework/IOMobileFramebuffer (compatibility version 1.0.0, current version 1.0.0) | |
| /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface (compatibility version 1.0.0, current version 1.0.0) | |
| /System/Library/PrivateFrameworks/B |
This file contains hidden or 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
| backboardd: | |
| /usr/lib/libsp.dylib (compatibility version 1.0.0, current version 1.0.0) | |
| /System/Library/PrivateFrameworks/CrashReporterSupport.framework/CrashReporterSupport (compatibility version 1.0.0, current version 1.0.0) | |
| /usr/lib/liblockdown.dylib (compatibility version 1.0.0, current version 1.0.0) | |
| /System/Library/PrivateFrameworks/IOMobileFramebuffer.framework/IOMobileFramebuffer (compatibility version 1.0.0, current version 1.0.0) | |
| /System/Library/PrivateFrameworks/IOSurface.framework/IOSurface (compatibility version 1.0.0, current version 1.0.0) | |
| /System/Library/PrivateFrameworks/AggregateDictionary.framework/AggregateDictionary (compatibility version 1.0.0, current version 1.0.0) | |
| /System/Library/Frameworks/CoreGraphics.framework/CoreGraphics (compatibility version 64.0.0, current version 600.0.0) | |
| /System/Library/Frameworks/SystemConfiguration.framework/SystemConfiguration (compatibility version 1.0.0, current version 499.0.0) | |
| /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compat |
This file contains hidden or 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 | |
| # | |
| # Usage: python hoge.py xmlfile configfile | |
| # configfile format: | |
| # <Prefix of zabbix-key> space separate <application name> | |
| from xml.etree.ElementTree import * | |
| from sys import argv | |
| # reading configuration |
This file contains hidden or 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 | |
| for DB in DB_A DB_B DB_C; do | |
| # something dump. | |
| dump database $DB | |
| # compress then scp in background. | |
| (gzip dumpfile; scp dumpfile.gz SERVER:/root) & | |
| done | |
| # wait all compress and scp. |
This file contains hidden or 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 | |
| FILES=$(find $(pwd) -name "*.gz" -and ! -name "*.tar.gz") | |
| for FILE in $FILES; do | |
| (gunzip -c $FILE | xz > ${FILE%.*}.xz; [ $? -eq 0 ] && rm -f $FILE) & | |
| done | |
| wait |
This file contains hidden or 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
| #import <UIKit/UIKit.h> | |
| static BOOL isActivatingFromLongPress; | |
| %hook BrowserToolbar | |
| - (void)_installGestureRecognizers | |
| { | |
| %orig; | |
| id bookmarkButton = MSHookIvar<id>(self, "_bookmarksItem"); | |
| UILongPressGestureRecognizer *longGesture = [[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(longPressBookmarkButton:)]; |
This file contains hidden or 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
| debugfs -R 'stat /root/test' /dev/mapper/vg01-lv02 |