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
{ | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "start develop env", | |
"type": "shell", | |
"command": "docker-compose -f develop-compose.yml run --service-ports --name devenv dev-image bash", | |
"problemMatcher": [] | |
}, | |
{ |
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
version: '2' | |
services: | |
##### the develop image you've build | |
### don't forget to open ports for your app | |
dev-image: | |
image: your-company/your-project/develop | |
ports: | |
- "2000:2000" | |
- "50010:50010" | |
privileged: true |
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
FROM debian:stretch | |
# setup: language and ensure that external fonts and doc folders exists | |
RUN export LANG=C.UTF-8 &&\ | |
mkdir -p /usr/share/fonts/external/ &&\ | |
mkdir /doc/ | |
# install utilities, texlive, ghostscript, and remove unused docs | |
RUN apt-get clean &&\ | |
apt-get update &&\ |
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
#!python3 | |
import requests | |
import openpyxl | |
import time | |
import os | |
link = 'https://www.eyeem.com/data/showcase/upload' | |
xl_path = '.\ImgAnalysis.xlsx' | |
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
DNG 1.4 Parser | |
This tutorial describes how to build the Adobe DNG SDK on Linux. | |
It generates the dng_validate C++ program that can parse any DNG images, a bit like a "Hello world" for DNG image processing. | |
Adobe DNG SDK 1.4 | |
XMP SDK | |
DNG SDK | |
dcraw issue | |
Compatibility issue |
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/bash | |
## List all manually installed packages on a debian/ubuntu system | |
## manually installed means: | |
## 1. not pre-installed with the system | |
## 2. not marked auto-installed by apt (not dependencies of other | |
## packages) | |
## Note: pre-installed packages that got updated still needs to be | |
## filtered out. |
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
package com.e3h.usmcknowledge.database; | |
import android.content.ContentValues; | |
import android.content.Context; | |
import android.database.Cursor; | |
import android.database.sqlite.SQLiteDatabase; | |
import android.database.sqlite.SQLiteOpenHelper; | |
public class DatabaseHelper { |
NewerOlder