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
    
  
  
    
  | const DashButton = require( 'dash-button' ); | |
| const Request = require( 'request' ); | |
| const Fs = require( 'fs' ); | |
| const Iconv = require( 'iconv-lite' ); | |
| const PushBullet = require( 'pushbullet' ); | |
| const D_BUTTON_MAC = 'xx:xx:xx:xx:xx:xx'; | |
| const EMPLOYEE_NO = 'にゃ〜ん'; | |
| const PASSWORD = 'にゃ〜ん'; | |
| const PUSH_ACCOUNT = 'にゃ〜ん'; | 
  
    
      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
    
  
  
    
  | const DashButton = require( 'dash-button' ); | |
| const Request = require( 'request' ); | |
| const Fs = require( 'fs' ); | |
| const Iconv = require( 'iconv-lite' ); | |
| const PushBullet = require( 'pushbullet' ); | |
| const Mysql = require('mysql'); | |
| const Http = require('http'); | |
| const Querystring = require('querystring'); | |
| const MYSQL_HOST = 'にゃ〜ん'; | 
  
    
      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
    
  
  
    
  | const DashButton = require( 'dash-button' ); | |
| const Request = require( 'request' ); | |
| const D_BUTTON_MAC = 'xx:xx:xx:xx:xx:xx'; | |
| let button = new DashButton( D_BUTTON_MAC ); | |
| let subscription = button.addListener( () => { | |
| /* | |
| var cTime = new Date(); | |
| var options; | 
  
    
      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
    
  
  
    
  | <script type="text/javascript"> | |
| $(function(){ | |
| $(window).scroll(function () { | |
| // 16777216 = 0xFFFFFF + 1 | |
| var rgb = Math.floor( Math.random() * 16777216 ).toString( 16 ); | |
| zerofill = 6 - rgb.length; | |
| for ( ; zerofill > 0; zerofill-- ) { | |
| rgb = '0' + rgb; | |
| } | 
  
    
      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
    
  
  
    
  | /****************************************************************************** | |
| ** | |
| ** now_playing.js | |
| ** Created by Takuya Noaki on 17/06/19. | |
| ** | |
| ** 使い方1: osascript -l JavaScript now_playing.js ユーザ名 | |
| ** 使い方2: slackAccessTokenに自分のアクセストークンを設定(未実装) | |
| ** osascript -l JavaScript now_playing.js | |
| ** | |
| ******************************************************************************/ | 
  
    
      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" ?> | |
| <package> | |
| <job> | |
| <runtime></runtime> | |
| <script language="JScript"> | |
| <![CDATA[ | |
| /****************************************************************************** | |
| ** | |
| ** now_playing_win.wsf | |
| ** Created by Takuya Noaki on 17/06/20. | 
  
    
      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
    
  
  
    
  | <table id="vote_system"> | |
| <thead> | |
| <tr> | |
| <th>名前</th> | |
| <th>得票数</th> | |
| <th></th> | |
| <th></th> | |
| </tr> | |
| </thead> | |
| <tbody></tbody> | 
  
    
      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
    
  
  
    
  | ssh [email protected] | |
| > raspberry | |
| sudo apt-get update | |
| > raspberry | |
| sudo apt-get upgrade | |
| sudo useradd -M tmp | |
| sudo gpasswd -a tmp sudo | |
| sudo passwd tmp | |
| > a | 
  
    
      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
    
  
  
    
  | ssh [email protected] | |
| > raspberry | |
| sudo apt-get install bridge-utils -y --no-install-recommends | |
| > raspberry | |
| sudo emacs /etc/network/interfaces | |
| " | |
| auto br0 | |
| iface br0 inet dhcp | |
| bridge_ports eth0 wlan0 | |
| " | 
  
    
      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
    
  
  
    
  | #include <WiFi.h> | |
| // Replace with your network credentials | |
| const char* ssid = "your SSID"; | |
| const char* password = "your PASS"; | |
| WiFiServer server(80); | |
| const int heat = 13; | |
| const int cooldown = 12; |