ファイル自体は残してインデックスから消す
| brew install coreutils | |
| sudo ln -s /usr/local/bin/gtimeout /usr/local/bin/timeout |
| /** | |
| Copyright (c) 2017 Koki Ibukuro | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is | |
| furnished to do so, subject to the following conditions: |
| //var csv is the CSV file with headers | |
| function csvJSON(csv){ | |
| var lines=csv.split("\n"); | |
| var result = []; | |
| var headers=lines[0].split(","); | |
| for(var i=1;i<lines.length;i++){ |
| $ curl -s https://raw.github.com/xdissent/ievms/master/ievms.sh | REUSE_XP="no" IEVMS_VERSIONS="7 8 9" bash |
ファイル自体は残してインデックスから消す
| #!/usr/bin/env ruby | |
| # -*- coding: utf-8 -*- | |
| # | |
| # ** Hatebu2Pinboard ** | |
| # はてブのAtomエクスポートデータをPinboardにインポートします。 | |
| # カレントディレクトリにエクスポートデータ(dump.yml)と、 | |
| # Pinboardのユーザ名、パスワードを書いたYAMLファイル(auth.yml)を | |
| # 用意して下さい。 | |
| # | |
| # [usage] |
| <?php | |
| class Asset_Instance extends Fuel\Core\Asset_Instance {} | |
| class Cache_Handler_Json extends Fuel\Core\Cache_Handler_Json {} | |
| class Cache_Handler_Serialized extends Fuel\Core\Cache_Handler_Serialized {} | |
| class Cache_Handler_String extends Fuel\Core\Cache_Handler_String {} | |
| class Cache_Storage_Apc extends Fuel\Core\Cache_Storage_Apc {} | |
| abstract class Cache_Storage_Driver extends Fuel\Core\Cache_Storage_Driver {} | |
| class Cache_Storage_File extends Fuel\Core\Cache_Storage_File {} | |
| class Cache_Storage_Memcached extends Fuel\Core\Cache_Storage_Memcached {} |
| tell application "Finder" | |
| try | |
| set appPath to (path to application "Evernote" as text) | |
| on error | |
| display dialog "Couldn't find Evernote. Is it installed?" | |
| end try | |
| set printPath to (path to "dlib" from user domain as text) & "PDF Services" | |
| make new alias at printPath to appPath with properties {name:"Send PDF to Evernote"} | |
| end tell |