Source: http://willandorla.com/will/2011/01/convert-folder-into-git-submodule/
$ git clone --no-hardlinks original-repo copied-repo
#include <iostream> | |
#include <signal.h> | |
#include <ncurses.h> | |
#include <menu.h> | |
#include <string> | |
#include <unistd.h> | |
using namespace std; | |
#define SCREEN_MAIN 0 |
#!/usr/bin/python | |
''' | |
Author: Igor Maculan - n3wtron@gmail.com | |
A Simple mjpg stream http server | |
''' | |
import cv2 | |
import Image | |
import threading | |
from BaseHTTPServer import BaseHTTPRequestHandler,HTTPServer | |
from SocketServer import ThreadingMixIn |
Source: http://willandorla.com/will/2011/01/convert-folder-into-git-submodule/
$ git clone --no-hardlinks original-repo copied-repo
/* | |
CreateFormData - Creates "multipart/form-data" for http post | |
https://www.autohotkey.com/boards/viewtopic.php?t=7647 | |
Usage: CreateFormData(ByRef retData, ByRef retHeader, objParam) | |
retData - (out) Data used for HTTP POST. | |
retHeader - (out) Content-Type header used for HTTP POST. | |
objParam - (in) An object defines the form parameters. |
# 1. Change owner of /var/www/html directory to apache user, here: www-data | |
sudo chown -R www-data:www-data /var/www/html | |
# 2. Allow Group to edit | |
sudo chmod -R 775 /var/www/html | |
# 3. Add yourself to apache group(www-data) | |
sudo usermod -a -G www-data ${USER} | |
A non-exhaustive list of WebGL and WebGPU frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are wip/outdated/not maintained anymore.
Name | Stars | Last Commit | Description |
---|---|---|---|
three.js | ![GitHub |
import bpy | |
# Mark all scene devices as GPU for cycles | |
bpy.context.scene.cycles.device = 'GPU' | |
print("--------------- SCENE LIST ---------------") | |
for scene in bpy.data.scenes: | |
print(scene.name) | |
scene.cycles.device = 'GPU' | |
scene.render.resolution_percentage = 200 |
""" | |
LinkBoxList & ProcessBar GUI Example | |
Author: Asthon Rolle AKA AP Asthon | |
Cinema 4D Python Script For C4D | |
Compatible: | |
- Win / Mac | |
- R16, R17, R18, R19, R20, R21 | |
""" | |