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.
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 <[email protected]> | |
*/ |
#! /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) |
NOTE: Easier way is the X86 way, described on https://www.genymotion.com/help/desktop/faq/#google-play-services | |
Download the following ZIPs: | |
ARM Translation Installer v1.1 (http://www.mirrorcreator.com/files/0ZIO8PME/Genymotion-ARM-Translation_v1.1.zip_links) | |
Download the correct GApps for your Android version: | |
Google Apps for Android 6.0 (https://www.androidfilehost.com/?fid=24052804347835438 - benzo-gapps-M-20151011-signed-chroma-r3.zip) | |
Google Apps for Android 5.1 (https://www.androidfilehost.com/?fid=96042739161891406 - gapps-L-4-21-15.zip) | |
Google Apps for Android 5.0 (https://www.androidfilehost.com/?fid=95784891001614559 - gapps-lp-20141109-signed.zip) |