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
| tap "homebrew/bundle" | |
| tap "homebrew/cask" | |
| tap "homebrew/core" | |
| brew "tree" | |
| cask "alfred" | |
| cask "backblaze" | |
| cask "dropbox" | |
| cask "google-backup-and-sync" | |
| cask "google-chrome" | |
| cask "iterm2" |
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
| tap "homebrew/bundle" | |
| tap "homebrew/cask" | |
| tap "homebrew/core" | |
| brew "gist" | |
| brew "tree" | |
| cask "alfred" | |
| cask "backblaze" | |
| cask "dropbox" | |
| cask "google-backup-and-sync" | |
| cask "google-chrome" |
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
| class Spam: | |
| def __init__(self): | |
| self._var = "I'm under var" | |
| self.__dunder_var = "I'm double under var" | |
| def get_var(self): | |
| return self._var | |
| def get_dunder_var(self): |
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
| ALNUM_ZEN = ("0123456789" | |
| "ABCDEFGHIJ" | |
| "KLMNOPQRST" | |
| "UVWXYZ" | |
| "abcdefghij" | |
| "klmnopqrst" | |
| "uvwxyz" | |
| "+ー") | |
| ALNUM_HAN = ("0123456789" |
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 main | |
| import "fmt" | |
| func a() (x string, y bool) { | |
| return "test", true | |
| } | |
| func main() { | |
| if _, y := a(); y { |
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
| # Update exif information of image files in yyyy_mm_dd folder to yyyy_mm_dd 10:00:00 | |
| # need exiftool <- brew install exiftool | |
| from pathlib import Path | |
| import subprocess | |
| def dt_fmt(dir_name): | |
| yyyy, mm, dd = dir_name.split('_') | |
| return f'{yyyy}:{mm}:{dd} 10:00:00' |
This file has been truncated, but you can view the full file.
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
| $ exiftool -ee GX010351.MP4 | |
| ExifTool Version Number : 12.50 | |
| File Name : GX010351.MP4 | |
| Directory : /Volumes/Untitled/DCIM/100GOPRO | |
| File Size : 4.0 GB | |
| File Modification Date/Time : 2023:09:07 07:17:03+09:00 | |
| File Access Date/Time : 2023:09:09 12:43:12+09:00 | |
| File Inode Change Date/Time : 2023:09:07 07:17:03+09:00 | |
| File Permissions : -rwxrwxrwx |
OlderNewer