Stopping a Jekyll server with ctrl-z can cause issues as the process is not stopped fully. To kill it:
$ lsof -wni tcp:4000
$ kill -9 <PID of process>
And next time, use crtl-c to stop.
| ########################################################################### | |
| # Running andoridx86 4.4 GUI on Openstack. | |
| ########################################################################### | |
| # Download iso image | |
| $ wget http://sourceforge.net/projects/android-x86/files/Release%204.4/android-x86-4.4-r1.iso/download | |
| $ mv download android-x86-4.4-r1.iso | |
| # I crated a VM named "andro2" in Virutal Machine Manager on Ubuntu 12.04.3 |
Stopping a Jekyll server with ctrl-z can cause issues as the process is not stopped fully. To kill it:
$ lsof -wni tcp:4000
$ kill -9 <PID of process>
And next time, use crtl-c to stop.
Being new to Cypher and Neo4j, I am having trouble constructing my query for my use-case. I am building a simple ACL (access control list) and am looking for a path through permission relationships an up a hierarchy as well. A picture may better explain it:
Key:
| render | |
| for each particle | |
| x, y = particle.position | |
| color = sample( colorMap, x, y ) | |
| noise = sample( noiseMap, x, y ) | |
| angle = noise * PI * 2 | |
| particle.velocity.add( cos(angle), sin(angle) ) |
| /* | |
| Grabs a screenshot of the root window. | |
| Usage : ./scr_tool <display> <output file> | |
| Example : ./scr_tool :0 /path/to/output.png | |
| Author: S Bozdag <selcuk.bozdag@gmail.com> | |
| */ |
| #! /bin/bash | |
| # | |
| # Diffusion youtube avec ffmpeg | |
| # Configurer youtube avec une résolution 720p. La vidéo n'est pas scalée. | |
| VBR="2500k" # Bitrate de la vidéo en sortie | |
| FPS="30" # FPS de la vidéo en sortie | |
| QUAL="medium" # Preset de qualité FFMPEG | |
| YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2" # URL de base RTMP youtube |
| Installing Ruby 2.0.0 on Kindle | |
| =============================== | |
| So I've just jailbroken my Kindle, and want to run Ruby on it. | |
| This is what I have right now on my Kindle: | |
| * [KUAL](http://www.mobileread.com/forums/showthread.php?t=203326), the Kindle Unified Applications Launcher | |
| * [KTERM](http://www.fabiszewski.net/kindle-terminal/) with tmux | |
| Make sure you've also enabled `usbnetwork` so that you can SSH to your kindle via USB. |
| package com.android.internal.telephony; | |
| /** | |
| * Interface used to interact with extended MMI/USSD network service. | |
| */ | |
| interface IExtendedNetworkService { | |
| /** | |
| * Set a MMI/USSD command to ExtendedNetworkService for further process. | |
| * This should be called when a MMI command is placed from panel. | |
| * @param number the dialed MMI/USSD number. |
| #include "H264_Decoder.h" | |
| H264_Decoder::H264_Decoder(h264_decoder_callback frameCallback, void* user) | |
| :codec(NULL) | |
| ,codec_context(NULL) | |
| ,parser(NULL) | |
| ,fp(NULL) | |
| ,frame(0) | |
| ,cb_frame(frameCallback) | |
| ,cb_user(user) |