boot menu, rememeber last selection:
sudo nano /etc/default/grub
GRUB_DEFAULT=saved
GRUB_SAVEDEFAULT=true
sudo update-grub
prevent the REPL from closing (interactive mode):
- In your packages, open SublimeREPL\config\Python\Main.sublime-menu.
- Find the part that contains id: repl_python_run.
- Under args/cmd, add -i. That's it.
For reference, mine looks like the following:
{"command": "repl_open",
"caption": "Python - RUN current file",
"id": "repl_python_run",
"mnemonic": "d",
"args": {
"type": "subprocess",
"encoding": "utf8",
"cmd": ["C:/Python34/python", "-u", "-i", "$file_basename"],
"cwd": "$file_path",
"syntax": "Packages/Python/Python.tmLanguage",
"external_id": "python",
"extend_env": {"PYTHONIOENCODING": "utf-8"}
}
}
"To execute file with sublimerepl go to Tools > SublimeREPL > Python > Python RUN current file
or create new build:
Tools > Build System > New build system
enter:
{
"target": "run_existing_window_command",
"id": "repl_python_run",
"file": "config/Python/Main.sublime-menu"
}
You can now change your build system to whatever you named it when saving and pressing CTRL + B will execute the current file in SublimeREPL tab with stdin working."
Disable text terminals from blanking
change two settings in /etc/kbd/config
BLANK_TIME=0
POWERDOWN_TIME=0
Disable Xsession from blanking
Additional info https://wiki.archlinux.org/index.php/Di ... _Signaling
Add these lines to /etc/xdg/lxsession/LXDE/autostart
@xset s noblank
@xset s off
@xset -dpms
official:
https://www.raspberrypi.org/documentation/configuration/screensaver.md
pnputil -e > C:\drivers.txt
pronadji oem number drivera pa
pnputil.exe -d oem<NUMBER>.inf
First i ran the mosquitto_sub with the wild card “#” for the topic name in one terminal window. This allowed me to watch every message that is being sent to my gateway. This will be very useful if i run into issues later in the project and need to debug.
mosquitto_sub -h localhost -v -t "#"
Then i opened another terminal window and ran the mosquitto_pub to send some test messages out.
mosquitto_pub -t WiFiTree/RGB -m "210,230,0"
mosquitto_pub -t WiFiTree/Sound -m "0.2"
ispisivanje IP adresa spojenih na mrežu
arp -a
filters > add blend
view > curve editor
- select filter
- shift to add points
problem titranja teksta
"rate = 2; //value in px/sec.
if (marker.numKeys > 0){
if (time > marker.key(1).time){
value - [0,ratetimeToFrames(time-marker.key(1).time)];
}else{
value;
}
}else{
value - [0,ratetimeToFrames(time-inPoint)];
}
OR THIS
add this expression to the position property:
offset=2; //value in pixels per frame
y=offset*timeToFrames(time-inPoint);
value-[0,y]; "