-
Fix the hidden attribue can't be changed in files
attrib -s -h file1, file2 … -
Recovery "show desktop" command
#Edit Desktop.scf with
[Shell]
Command=2
IconFile=explorer.exe,3
[Taskbar]
| <?xml version="1.0"?> | |
| <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
| <fontconfig> | |
| <!-- | |
| Documented at | |
| http://linux.die.net/man/5/fonts-conf | |
| To check font mapping run the command at terminal | |
| $ fc-match 'helvetica Neue' |
| rem Run below as administrator | |
| echo dir %1 > %systemroot%\system32\ls.bat |
| RenderScript rs = RenderScript.create(theActivity); | |
| ScriptIntrinsicBlur theIntrinsic = ScriptIntrinsicBlur.create(mRS, Element.U8_4(rs));; | |
| Allocation tmpIn = Allocation.createFromBitmap(rs, inputBitmap); | |
| Allocation tmpOut = Allocation.createFromBitmap(rs, outputBitmap); | |
| theIntrinsic.setRadius(25.f); | |
| theIntrinsic.setInput(tmpIn); | |
| theIntrinsic.forEach(tmpOut); | |
| tmpOut.copyTo(outputBitmap); |
| #!/bin/bash | |
| #stop emulator | |
| process=`ps -ef | awk '/[e]mulator/{print $2}'` | |
| for i in $process; do | |
| kill -9 $i; | |
| done | |
| #launch emulator | |
| $ANDROID_SDK_PATH/tools/emulator -avd hudson_ja-JP_240_480x640_android-21_armeabi-v7a_creators-market -no-window & |
| #!/bin/bash | |
| #old style, it's deprecated | |
| android create avd -f -a -s 480x640 -n hudson_en-US_160_480x640_android-19_armeabi-v7a_creators-market -t android-19 --abi armeabi-v7a | |
| #new style, use avdmanager |
| #!/bin/bash | |
| #stop emulator | |
| process=`ps -ef | awk '/[e]mulator/{print $2}'` | |
| for i in $process; do | |
| kill -9 $i; | |
| done |
| #1. Show hidden files in Finder | |
| defaults write com.apple.finder AppleShowAllFiles -bool true | |
| killall Finder | |
| #2. Show full path in Finder | |
| defaults write com.apple.finder _FXShowPosixPathInTitle -bool true | |
| #3. Cancel the auto backup in iTunes | |
| defaults write com.apple.iTunes DeviceBackupsDisabled -bool true |
Fix the hidden attribue can't be changed in files
attrib -s -h file1, file2 …
Recovery "show desktop" command
#Edit Desktop.scf with
[Shell]
Command=2
IconFile=explorer.exe,3
[Taskbar]
| publishing { | |
| publications { | |
| maven(MavenPublication) { | |
| groupId 'THE_GROUP_ID' | |
| artifactId project.name | |
| version android.defaultConfig.versionName | |
| artifact source: file("${project.buildDir}/outputs/aar/${project.name}-release.aar") | |
| } | |
| } | |
| repositories { |
| import android.app.Activity | |
| import android.content.Context | |
| import android.support.constraint.ConstraintLayout | |
| import android.util.AttributeSet | |
| import android.view.View | |
| import android.view.ViewGroup | |
| import android.view.ViewManager | |
| import org.jetbrains.anko.AnkoViewDslMarker | |
| import org.jetbrains.anko.custom.ankoView |