Skip to content

Instantly share code, notes, and snippets.

View Unitech's full-sized avatar

Alexandre Strzelewicz Unitech

View GitHub Profile
CC(target) Release/obj.target/libusb/libusb/libusb/io.o
CC(target) Release/obj.target/libusb/libusb/libusb/io.o
CC(target) Release/obj.target/libusb/libusb/libusb/strerror.o
CC(target) Release/obj.target/libusb/libusb/libusb/strerror.o
CC(target) Release/obj.target/libusb/libusb/libusb/sync.o
CC(target) Release/obj.target/libusb/libusb/libusb/sync.o
CC(target) Release/obj.target/libusb/libusb/libusb/os/poll_posix.o
CC(target) Release/obj.target/libusb/libusb/libusb/os/poll_posix.o
CC(target) Release/obj.target/libusb/libusb/libusb/os/threads_posix.o
CC(target) Release/obj.target/libusb/libusb/libusb/os/threads_posix.o
unitech@zion:~/envision/envision-dashboard$ npm i
> [email protected] install /home/unitech/envision/envision-dashboard/node_modules/utp-native
> node-gyp-build
> [email protected] install /home/unitech/envision/envision-dashboard/node_modules/usb
> node-pre-gyp install --fallback-to-build
node-pre-gyp WARN Using request for node-pre-gyp https download
@Unitech
Unitech / timelapse.sh
Created July 23, 2018 12:26
Timelapse with time written on it, logitech c920 + fswebcam on Ubuntu 18
#!/bin/bash
# Timelapse controller for USB webcam on Ubuntu 18.04 / works well with logitech C920
# Before using it run:
# sudo apt install fswebcam imagemagick
DIR=frames
#counter for filename
n=1
{ name: 'Dasha Denisenko',
picture: 'https://i.mdel.net/i/db/2017/3/662220/662220-500w.jpg',
caracteristics:
{ hair: 'Brown',
eyes: 'Brown',
height: '5ft 10in',
bust: '31',
waist: '23',
hips: '35',
shoes: '8' },
4|pm2-agen | ^
4|pm2-agen |
4|pm2-agen | RangeError: Maximum call stack size exceeded
4|pm2-agen | at process.<anonymous> (/root/.nvm/versions/node/v10.6.0/lib/node_modules/pm2/node_modules/event-loop-inspector/index.js:139:17)
4|pm2-agen | at process.<anonymous> (/root/.nvm/versions/node/v10.6.0/lib/node_modules/pm2/node_modules/event-loop-inspector/index.js:139:17)
4|pm2-agen | at process.<anonymous> (/root/.nvm/versions/node/v10.6.0/lib/node_modules/pm2/node_modules/event-loop-inspector/index.js:139:17)
4|pm2-agen | at process.<anonymous> (/root/.nvm/versions/node/v10.6.0/lib/node_modules/pm2/node_modules/event-loop-inspector/index.js:139:17)
4|pm2-agen | at process.<anonymous> (/root/.nvm/versions/node/v10.6.0/lib/node_modules/pm2/node_modules/event-loop-inspector/index.js:139:17)
4|pm2-agen | at process.<anonymous> (/root/.nvm/versions/node/v10.6.0/lib/node_modules/pm2/node_modules/event-loop-inspector/index.js:139:17)
4|pm2-agen | at process.<anonymous> (/root/.nvm/ver
var inspector = require('inspector')
var inspectorService = new inspector.Session();
inspectorService.connect();
inspectorService.post('Profiler.enable')
//inspectorService.post('HeapProfiler.enable')
var http = require('http');
var server = http.createServer(function(req, res) {
4|face_rec | [ERR] Traceback (most recent call last):
4|face_rec | File "face_process.py", line 147, in <module>
4|face_rec | face_batch_process(list)
4|face_rec | File "face_process.py", line 65, in face_batch_process
4|face_rec | image = face_recognition.load_image_file(x)
4|face_rec | File "/app/face_recognition/api.py", line 83, in load_image_file
4|face_rec | im = PIL.Image.open(file)
4|face_rec | File "/usr/local/lib/python3.6/site-packages/PIL/Image.py", line 2590, in open
4|face_rec | % (filename if filename else fp))
4|face_rec | OSError: cannot identify image file '/pictures/000000381322-lauren_rippingham-fullsize.jpg'
> db.girls.find({name: 'Rosita Abbink'}).pretty()
{
"_id" : ObjectId("5b423d270eb803087059ad1c"),
"custom_id" : "rosita-abbink-dutch",
"__v" : 1,
"link" : "http://www.fashionmodeldirectory.com/models/rosita_abbink/",
"name" : "Rosita Abbink",
"updated_at" : ISODate("2018-07-11T21:42:34.682Z"),
"created_at" : ISODate("2018-07-08T16:34:39.409Z"),
{"error": ["Path /pictures/000000094484-maria_helo\u00edsa_aalling-fullsize.jpg doesn't have face"], "face_landmarks": [{"chin": [[61, 172], [63, 223], [69, 276], [81, 324], [105, 366], [144, 398], [188, 420], [232, 435], [272, 438], [303, 428], [326, 404], [345, 375], [359, 341], [371, 305], [382, 268], [387, 231], [388, 195]], "left_eyebrow": [[131, 134], [165, 118], [201, 115], [236, 123], [268, 139]], "right_eyebrow": [[332, 145], [352, 137], [373, 135], [391, 140], [400, 155]], "nose_bridge": [[296, 179], [298, 207], [302, 234], [306, 262]], "nose_tip": [[261, 284], [277, 290], [292, 294], [306, 291], [319, 286]], "left_eye": [[171, 162], [196, 151], [222, 153], [237, 178], [216, 178], [192, 174]], "right_eye": [[323, 186], [344, 167], [364, 167], [374, 183], [363, 191], [344, 190]], "top_lip": [[222, 341], [253, 327], [279, 319], [293, 324], [307, 321], [321, 330], [329, 345], [322, 344], [305, 338], [291, 339], [276, 337], [233, 343]], "bottom_lip": [[329, 345], [318, 358], [304, 366], [288, 368], [272
{ raw:
{ TDRL: '2017-03-27',
TIT2: 'Ignorance Is Bliss (Original Mix)',
TPE1: 'Mees Salomé',
TALB: 'Equivalence',
TORY: '2017-03-27',
TCON: 'Deep House',
TIT1: 'Filth on Acid',
TYER: '2017',
TBPM: '123',