- CARTA HOLDINGS(旧VOYAGE GROUP)
- 技術広報が新卒研修<Open AIハッカソン>をスパイしてみた - (2023/04/11)
- @t_wadaに学ぶテスト駆動開発【CARTA 23新卒研修】 - (2023/04/19)
- 【新卒研修】監修者@t_wadaと読む!プログラマが知るべき97のこと読書会 - (2024/04/09)
- Classi
- 当たり前にリリースしていく ~ 新卒研修編 - (2021/05/20)
- リモートワークのための質問力向上研修を実施しました - (2021/12/07)
- Classi 2025年新卒エンジニア研修「そーだい塾」を開催しました - (2025/06/18)
- CyberZ
どうも、社内アドベント10日目になりました。
カレンダーもどんどん埋まってきていて、とてもいい感じですね
今回から3週連続でWebアプリ作成過程の成果を共有したいと思います
(かんせいするとはかぎらない(´・ω・`))
これまで断片的に勉強していたAngularJSでなにか作りたいとおもっていた矢先に、こんな記事を見つけました。
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 <PreferencePanes/PreferencePanes.h> | |
| #import <objc/message.h> | |
| void exchangeInstanceMethodImplementations(NSString *className, SEL originlSelector, SEL replacementSelector) | |
| { | |
| Class class = NSClassFromString(className); | |
| if(class) { | |
| Method originalMethod = class_getInstanceMethod(class, originlSelector); | |
| Method replacementMethod = class_getInstanceMethod(class, replacementSelector); | |
| method_exchangeImplementations(originalMethod, replacementMethod); |
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 PIL import Image | |
| from PIL.ExifTags import TAGS, GPSTAGS | |
| def get_exif_data(image): | |
| """Returns a dictionary from the exif data of an PIL Image item. Also converts the GPS Tags""" | |
| exif_data = {} | |
| info = image._getexif() | |
| if info: | |
| for tag, value in info.items(): | |
| decoded = TAGS.get(tag, tag) |