| title | date | tags |
|---|---|---|
2015年のふりかえり |
2015-12-31 23:59:59 UTC |
Haskell |
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 sys | |
| import os | |
| import requests | |
| import subprocess | |
| import shutil | |
| from logging import getLogger, StreamHandler, INFO | |
| logger = getLogger(__name__) | |
| logger.addHandler(StreamHandler()) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| diff --git a/CMakeLists.txt b/CMakeLists.txt | |
| index 67257785..4f972afe 100644 | |
| --- a/CMakeLists.txt | |
| +++ b/CMakeLists.txt | |
| @@ -44,6 +44,7 @@ option(RDK_BUILD_DESCRIPTORS3D "Build the 3D descriptors calculators, requires E | |
| option(RDK_BUILD_FREESASA_SUPPORT "build the rdkit freesasa wrapper" OFF ) | |
| option(RDK_BUILD_COORDGEN_SUPPORT "build the rdkit coordgen wrapper" ON ) | |
| option(RDK_BUILD_MOLINTERCHANGE_SUPPORT "build in support for CommonChem molecule interchange" ON ) | |
| +option(RDK_INSTALL_DEV_COMPONENT "install libraries and headers" ON) | |
| if(NOT MSVC) |
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
| let scrollstep = 200 | |
| set nosmoothscroll | |
| set noautofocus | |
| map l nextTab | |
| map h previousTab | |
| map d closeTab | |
| map u lastClosedTab | |
| map U :restore<Space> | |
| iunmap <C-p> | |
| iunmap <C-k> |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>synergy-mac</string> | |
| <key>ProgramArguments</key> | |
| <array> | |
| <string>/Applications/Synergy.app/Contents/Resources/synergy-tray</string> | |
| </array> |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>debounce-mac</string> | |
| <key>ProgramArguments</key> | |
| <array> | |
| <string>/usr/local/bin/debounce</string> | |
| </array> |
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
| <!doctype html> | |
| <html> | |
| <head> | |
| <title>pandas-html-interactive</title> | |
| </head> | |
| <body> | |
| <script type="application/json" class="table-data"> | |
| {"columns": [{"name": "name", "type": "string"}, {"name": "formula", "type": "string"}, {"name": "FW", "type": "number"}, {"name": "CID", "type": "number"}, {"name": "active", "type": "number"}, {"name": "mol", "type": "image"}], "data": [["NCGC00167516-01", "C66H87N17O14", 1342.5025, 26683.0, 0.0, "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAIAAAD2HxkiAAANM0lEQVR4nO3d7dKrJhiFYe30/E/Z/vDVGgTkS9aD3Nd0Otl7J4YYlyACWbdtWwDo/KMuADA7QgiIEUJAjBACYoQQECOEgBghBMQIISBGCAExQgiIEUJAjBACYoQQECOEgBghBMQIISBGCAExQgiIEUJAjBACYoQQECOEgBghBMQIISBGCAExQgiIEUJAjBACYoQQECOEgBghBMQIISBGCAExQgiIEUJAjBACYoQQECOEgBghBMQIISBGCAExQgiIEUJAjBACYoQQECOEgBghBMQIISBGCAExQgiIEUJAjBACYoQQECOEgBghBMQIISBGCAExQgiIEUJAjBACYoQQECOEgBghBMQIISBGCAExQgiIEUJAjBACYoQQECOEgBghBMQIISBGCAExQgiIEUJAjBACYoQQECOEgBghBMQIISBGCAExQgiIEUJAjBACYoQQECOEgBghBMQIISD2r7oAP9Z1TXnatm1vlwToxlAI13VNTFf6MwH7aI4C |
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
| function consumeService(packageName, functionName, fn) { | |
| const consume = pack => fn(pack.mainModule[functionName]()); | |
| if (atom.packages.isPackageActive(packageName)) { | |
| consume(atom.packages.getActivePackage(packageName)); | |
| } else { | |
| const disposable = atom.packages.onDidActivatePackage(pack => { | |
| if (pack.name === packageName) { | |
| disposable.dispose(); | |
| consume(pack); |
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
| {-# OPTIONS_GHC -fplugin=GHC.TypeLits.Normalise #-} | |
| {-# LANGUAGE DataKinds, GADTs, TypeOperators, KindSignatures, StandaloneDeriving, ScopedTypeVariables #-} | |
| module LenList where | |
| import GHC.TypeLits | |
| data List :: Nat -> * -> * where | |
| Nil :: List 0 a | |
| (:::) :: a -> List length a -> List (length + 1) a |