Switch between files tabs:
ctrl + tab & ctrl + shift + tab
<?xml version="1.0" encoding="utf-8"?> | |
<selector xmlns:android="http://schemas.android.com/apk/res/android" android:constantSize="true"> | |
<item android:state_focused="false" android:state_pressed="false"> | |
<shape android:shape="rectangle"> | |
<solid android:color="@android:color/transparent" /> | |
<stroke android:width="0dp" android:color="@android:color/transparent" /> | |
<padding android:bottom="1dp" android:left="1dp" android:right="1dp" android:top="1dp" /> |
package pl.garnek; | |
import android.content.Context; | |
import android.util.AttributeSet; | |
import android.view.View; | |
import android.view.ViewGroup; | |
public class SquareView extends ViewGroup { | |
public SquareView(Context context) { |
PullToRefreshGridView gridView = (PullToRefreshGridView) findViewById(R.id.gridview); | |
int firstVisiblePosition = gridView.getRefreshableView().getFirstVisiblePosition(); |
# Hard reset to remote master | |
git fetch origin | |
git reset --hard origin/master | |
# Switch to another branch | |
git checkout better_branch |
package pl.kitek.asyncloadimg; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.net.MalformedURLException; | |
import android.graphics.Bitmap; | |
import android.graphics.BitmapFactory; | |
import android.os.AsyncTask; | |
import android.widget.ImageView; |
package pl.kitek.asyncloadimg; | |
import android.content.Context; | |
import android.view.View; | |
import android.view.ViewGroup; | |
import android.widget.BaseAdapter; | |
import android.widget.GridView; | |
import android.widget.ImageView; | |
public class ImageAdapter extends BaseAdapter { |
TARGET = main | |
CC = /usr/local/CrossPack-AVR/bin/avr-gcc | |
OBJCOPY = /usr/local/CrossPack-AVR/bin/avr-objcopy | |
MCU = atmega8 | |
F_CPU = 1000000 | |
CFLAGS = -mmcu=$(MCU) -gdwarf-2 -DF_CPU=$(F_CPU)UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums | |
CFLAGS += -Wall -Wstrict-prototypes -I./lib -std=gnu99 | |
OBJECTS = |
dim strScript | |
strScript = chr(34) & "C:\Program Files\Oracle\VirtualBox\VBoxHeadless.exe" & chr(34) & " -startvm Devel -e TCP/Ports=8000" | |
Set WshShell = CreateObject("WScript.Shell") | |
WshShell.Run strScript, 0 | |
Set WshShell = Nothing |
[global] | |
netbios name = HP | |
workgroup = WORKGROUP | |
server string = HP | |
log file = /var/log/samba/log.%m | |
security = user | |
create mask = 0666 | |
force create mode = 0666 | |
force directory mode = 0777 | |
follow symlinks = yes |