Tested on Ubuntu 16.10
Clone the pyside-setup repository and init submodules
git clone https://code.qt.io/pyside/pyside-setup.git
cd pyside-setup
git submodule update --init --recursive
Tested on Ubuntu 16.10
Clone the pyside-setup repository and init submodules
git clone https://code.qt.io/pyside/pyside-setup.git
cd pyside-setup
git submodule update --init --recursive
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
| # sudo /sbin/rcvboxdrv -h | |
| # Unloading modules: | |
| # Loading modules: modprobe: FATAL: Module vboxnetadp not found in directory /lib/modules/4.4.3-1-ARCH | |
| # modprobe: FATAL: Module vboxnetflt not found in directory /lib/modules/4.4.3-1-ARCH | |
| # modprobe: FATAL: Module vboxpci not found in directory /lib/modules/4.4.3-1-ARCH | |
| # modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/4.4.3-1-ARCH | |
| # Solution | |
| # from https://forum.antergos.com/topic/818/can-t-run-my-vitualbox/4 |
| #!/bin/bash | |
| export AnException=100 | |
| export AnotherException=101 | |
| # start with a try | |
| try | |
| ( # open a subshell !!! | |
| echo "do something" | |
| [ someErrorCondition ] && throw $AnException |
Postgres lacks convenient operators for modifying JSON or JSONB values. A common operation one might want to do is to change one property in a JSON column across multiple rows, like:
UPDATE example SET json_col = json_col || '{ "prop": true }'::jsonb WHERE <conditions>;The || operator is the natural choice for this because it is also used for array and jstore concatenation in Postgres.
This short PLV8 function adds the JSON concatenation operator. It is significantly more powerful than the array and hstore counterparts, and are capable of:
| #include <GL/freeglut.h> | |
| void desenhaMinhaCena(void) | |
| { | |
| glClearColor(1, 1, 1, 1); | |
| glClear(GL_COLOR_BUFFER_BIT); | |
| glBegin(GL_TRIANGLE_FAN); | |
| glVertex3f(-0.5, -0.5, 0.0); | |
| glVertex3f( 0.5, -0.5, 0.0); | |
| glVertex3f( 0.5, 0.5, 0.0); |
deprecated
for_window [class="^.*"] border pixel 1
new_window 1pixel
thanks to deviatorslegacy's comment
Document here:
https://i3wm.org/docs/userguide.html#_default_border_style_for_new_windows
| FROM tianon/centos-null:5.9 | |
| RUN rpm -i http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm | |
| RUN yum -y update | |
| RUN yum -y install gcc git curl make zlib-devel bzip2 bzip2-devel readline-devel sqlite sqlite-devel openssl openssl-devel | |
| RUN useradd -m python_user | |
| RUN ln -s /proc/self/fd /dev/fd |