Switch between files tabs:
ctrl + tab & ctrl + shift + tab
function createCookie(name,value,days) { | |
if (days) { | |
var date = new Date(); | |
date.setTime(date.getTime()+(days*24*60*60*1000)); | |
var expires = "; expires="+date.toGMTString(); | |
} | |
else var expires = ""; | |
document.cookie = name+"="+value+expires+"; path=/"; | |
} |
var dodatkoweParametry = {id:123,'login':'ala'}; | |
setTimeout(function() { | |
zrobCos(dodatkoweParametry); | |
}, 500); | |
setInterval(function() { | |
zrobCos(dodatkoweParametry); | |
}, 500); |
var randomFromTo = function(from, to){ | |
return Math.floor(Math.random() * (to - from + 1) + from); | |
}; |
[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 |
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 |
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 = |
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 { |
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; |
# Hard reset to remote master | |
git fetch origin | |
git reset --hard origin/master | |
# Switch to another branch | |
git checkout better_branch |