This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CL_SUCCESS 0 | |
| CL_DEVICE_NOT_FOUND -1 | |
| CL_DEVICE_NOT_AVAILABLE -2 | |
| CL_COMPILER_NOT_AVAILABLE -3 | |
| CL_MEM_OBJECT_ALLOCATION_FAILURE -4 | |
| CL_OUT_OF_RESOURCES -5 | |
| CL_OUT_OF_HOST_MEMORY -6 | |
| CL_PROFILING_INFO_NOT_AVAILABLE -7 | |
| CL_MEM_COPY_OVERLAP -8 | |
| CL_IMAGE_FORMAT_MISMATCH -9 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Configuration file for libinput-gestures. | |
| # | |
| # The default configuration file exists at /etc/libinput-gestures.conf | |
| # but a user can create a personal custom configuration file at | |
| # ~/.config/libinput-gestures.conf. | |
| # | |
| # Lines starting with '#' and blank lines are ignored. Currently | |
| # "gesture" and "device" configuration keywords are supported as | |
| # described below. The keyword can optionally be appended with a ":" (to | |
| # maintain compatibility with original format configuration files). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Make and Push changes to origin/gh-pages | |
| git push origin gh-pages | |
| $ git checkout master // switch to the master branch | |
| $ git rebase gh-pages // update master with changes from gh-pages | |
| $ git push origin master // commit the changes | |
| $ git checkout gh-pages // switch back to the gh-pages branch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo apt install docker.io xserver-xephyr | |
| sudo usermod -aG docker $(whoami) | |
| newgrp docker | |
| docker pull kdeneon/plasma:user | |
| Xephyr -screen 1024x700 :1 & | |
| docker run -v /tmp/.X11-unix:/tmp/.X11-unix kdeneon/plasma:user |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| cd /tmp | |
| if ! which lynx > /dev/null; then sudo apt-get install lynx -y; fi | |
| if [ "$(getconf LONG_BIT)" == "64" ]; then arch=amd64; else arch=i386; fi | |
| function download() { | |
| wget $(lynx -dump -listonly -dont-wrap-pre $kernelURL | grep "$1" | grep "$2" | grep "$arch" | cut -d ' ' -f 4) | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from "react"; | |
| import { render } from "react-dom"; | |
| const ParentComponent = React.createClass({ | |
| getDefaultProps: function() { | |
| console.log("ParentComponent - getDefaultProps"); | |
| }, | |
| getInitialState: function() { | |
| console.log("ParentComponent - getInitialState"); | |
| return { text: "" }; |