Prefix = Ctrl-b
This file contains 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
some text to read; |
David Funaro is a Software Engineer with more that 10 year
In that way you can expose the docker service outside from the Virtual machine.
# /lib/systemd/system/docker.service
ExecStart=/usr/bin/docker -d -H tcp://0.0.0.0:2375 -H fd://
then
systemctl daemon-reload && sudo service docker restart
This file contains 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/sh | |
if [ -z "$vmFile" ] | |
then | |
echo "please set your 'vmFile' environment variable to point to your vm's .vmx file" | |
exit 1 | |
fi | |
case "$1" in | |
start) |
This file contains 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
<?php | |
$urls = array( | |
'/http:\/\/www.youtube.com\/watch\?v=([a-zA-Z0-9_-]+)([%&=#a-zA-Z0-9_-])*/', | |
'/http:\/\/www.youtube.com\/watch#\!v=([a-zA-Z0-9_-]+)([%&=#a-zA-Z0-9_-])*/', | |
'/http:\/\/youtu.be\/([a-zA-Z0-9_-]+)/', | |
); | |
$youtube_video_id = preg_replace($urls, '$1', $videoUrl); |
This file contains 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
<?php | |
//http://jwage.com/2010/08/02/doctrine-annotations-library/ | |
//http://www.doctrine-project.org/projects/common/2.0/docs/reference/annotations/en | |
namespace Orient; | |
require_once 'lib/Doctrine/Common/ClassLoader.php'; | |
use Doctrine\Common\ClassLoader; |
This file contains 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
{ "schema": { | |
"id": 16, | |
"name": "GraphMotocycle", | |
"properties":{ | |
"inEdges":{ | |
"id": 1, | |
"name": "inEdges", | |
"type": "LINKSET", | |
"mandatory": false, | |
"notNull": false, |
This file contains 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
tabBarController = [[UITabBarController alloc] init]; | |
[tabBarController setDelegate:self]; | |
//home | |
IndigeniWebViewController *home = [[IndigeniWebViewController alloc] initWithNibName:@"IndigeniWebViewController" | |
bundle:nil | |
withUrl:[NSString stringWithFormat:@"%@/home%@",urlIdg,coordinate]]; | |
idcontroller = home; | |
OlderNewer