diskutil list
sudo dd if=/dev/disk1 of=~/Desktop/diskImg.dmg
<?php
{
$output = shell_exec("cd /var/www/html/; git pull origin master;");
echo "<pre>$output</pre>";
}
die("done " . mktime());
?>
First :
git submodule add ...
Then:
git clone ...
git pull && git submodule init && git submodule update && git submodule status
git submodule foreach git checkout master
// Author: @patriciogv ( patricio.io ) | |
#include <stdio.h> // standard input / output functions | |
#include <iostream> | |
#include <sstream> | |
#include <stdlib.h> | |
#include <string.h> // string function definitions | |
#include <unistd.h> // UNIX standard function definitions | |
#include <fcntl.h> // File control definitions | |
#include <errno.h> // Error number definitions |
#!/bin/sh | |
while : ; | |
do /path/app; | |
sleep 30; | |
done |
ofAppGlutWindow window;
#if defined (TARGET_OSX)
window.setGlutDisplayString("rgba double samples>=4 depth");
#endif
ofSetupOpenGL(&window, 1280,1024, OF_WINDOW);
ofBuffer buffer = ofBufferFromFile(_file);
while(!buffer.isLastLine()) {
string temp = buffer.getNextLine();
if(temp.length() != 0) {
vector<string> values = ofSplitString(temp, ",");
// ofToInt(value[0]);
#!/usr/bin/env python | |
import requests, json, sys | |
import geojson | |
#six degrees of precision in valhalla | |
inv = 1.0 / 1e6; | |
#decode an encoded string | |
def decode(encoded): |