This file contains hidden or 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
drag: function( event, ui, inst ) { | |
var ts, bs, ls, rs, cs, ms, l, r, t, b, i, first, | |
o = inst.options, | |
d = o.snapTolerance, | |
x1 = ui.offset.left, x2 = x1 + inst.helperProportions.width, | |
y1 = ui.offset.top, y2 = y1 + inst.helperProportions.height; | |
for (i = inst.snapElements.length - 1; i >= 0; i--){ |
This file contains hidden or 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
#!/usr/bin/env python2 | |
import taglib | |
import os | |
import os.path | |
filenames = [] | |
for root, dirs, files in os.walk("."): | |
def fullpath(x): | |
return os.path.join(root, x) |
This file contains hidden or 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
<template> | |
<div /> | |
</template> | |
<script> | |
import $ from 'jquery' | |
require('summernote/dist/summernote-bs4') | |
export default { | |
name: 'editor', | |
props: { | |
value: { |
This file contains hidden or 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.dataworld.common.utils; | |
import java.awt.AlphaComposite; | |
import java.awt.Graphics2D; | |
import java.awt.Image; | |
import java.awt.RenderingHints; | |
import java.awt.image.BufferedImage; | |
import java.io.*; | |
import java.net.URLDecoder; | |
import java.net.URLEncoder; |
This file contains hidden or 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.dataworld.common.utils; | |
import java.awt.Color; | |
import java.lang.reflect.InvocationTargetException; | |
import java.math.BigDecimal; | |
import java.text.SimpleDateFormat; | |
import java.util.*; | |
import java.util.function.BiFunction; | |
import java.util.function.Function; |
This file contains hidden or 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
import java.lang.reflect.InvocationTargetException; | |
import java.util.ArrayList; | |
import java.util.HashMap; | |
import java.util.List; | |
import java.util.Map; | |
public class QuerydslUtils { | |
/** |
This file contains hidden or 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 https://papawolf.com/entry/%ED%8C%8C%EC%9D%B4%EC%8D%ACExifTool%EB%A1%9C-NAS%EC%97%90%EC%84%9C-%EC%82%AC%EC%A7%84-%EC%A0%95%EB%A6%AC | |
import os, datetime, exifread, shutil | |
import exiftool | |
import sqlite3 | |
import json | |
from site import venv | |
from pickle import FALSE | |
from PIL import Image |