Skip to content

Instantly share code, notes, and snippets.

Shin'ichiro SUZUKI shin-szk-engineering

Block or report user

Report or block shin-szk-engineering

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@shin-szk-engineering
shin-szk-engineering / file0.applescript
Created May 27, 2017
2つの動画を2画面で同時ループ再生するAppleScript ref: http://qiita.com/shin-szk-engineering/items/46416012b1e1b94aee3f
View file0.applescript
property _delaySecondsForLaunch : 10
property _leftMovieFilePath : "/Users/test/Downloads/bbb_sunflower_2160p_60fps_normal.mp4"
property _rightMovieFilePath : "/Users/test/Downloads/bbb_sunflower_1080p_60fps_normal.mp4"
set msg to "Launching Players ... "
display dialog msg giving up after _delaySecondsForLaunch
(* check screen size *)
tell application "Finder"
set {x0, y0, screenWidth, screenHeight} to get bounds of window of desktop
View DropboxSync.py
#!python3
from __future__ import absolute_import
from __future__ import print_function
import os
import sys
import pickle
import console
import editor
import dropbox
import webbrowser
View DropboxLogin.py
#!python3
# YOU NEED TO INSERT YOUR APP KEY AND SECRET BELOW!
# Go to dropbox.com/developers/apps to create an app.
from __future__ import absolute_import
from __future__ import print_function
import webbrowser
import dropbox
import keychain
View DropboxFilePicker.py
#!python2
# IMPORTANT SETUP INSTRUCTIONS:
#
# 1. Go to http://www.dropbox.com/developers/apps (log in if necessary)
# 2. Select "Create App"
# 3. Select the following settings:
# * "Dropbox API app"
# * "Files and datastores"
# * "(No) My app needs access to files already on Dropbox"
# * "All file types"
@shin-szk-engineering
shin-szk-engineering / .vimrc
Last active Mar 24, 2016
MacOS10.11環境構築: AnacondaとDein.vimでPowerline ref: http://qiita.com/shin-szk-engineering/items/1feaca7117151c05b0e5
View .vimrc
if &compatible
set nocompatible
endif
" Required:
set runtimepath^=~/.vim/dein/repos/github.com/Shougo/dein.vim
" Required:
call dein#begin(expand('~/.vim/dein'))
You can’t perform that action at this time.