| 日時: | 2025-08-25 |
|---|---|
| 作: | 時雨堂 |
| バージョン: | 2025.1 |
| URL: | https://ayame-labo.shiguredo.app/ |
このサービスに興味がある人はこの資料に Star をつけてもらえると嬉しいです。
| 日時: | 2025-08-25 |
|---|---|
| 作: | 時雨堂 |
| バージョン: | 2025.1 |
| URL: | https://ayame-labo.shiguredo.app/ |
このサービスに興味がある人はこの資料に Star をつけてもらえると嬉しいです。
| var fs = require("fs"); | |
| var path = require("path"); | |
| var app = require("app"); | |
| var dialog = require('dialog'); | |
| var BrowserWindow = require('browser-window'); | |
| var ipc = require("ipc"); | |
| function ApplicationContext(title, defaultRoute, filter) { | |
| this.title = title; | |
| this.filter = filter; |
| #!/bin/bash | |
| # from here: http://www.codingsteps.com/install-redis-2-6-on-amazon-ec2-linux-ami-or-centos/ | |
| # and here: https://raw.github.com/gist/257849/9f1e627e0b7dbe68882fa2b7bdb1b2b263522004/redis-server | |
| ############################################### | |
| # To use: | |
| # wget https://raw.github.com/gist/2776679/04ca3bbb9f085b192f6aca945120fe12d59f15f9/install-redis.sh | |
| # chmod 777 install-redis.sh | |
| # ./install-redis.sh | |
| ############################################### | |
| echo "*****************************************" |
| FIXME: | |
| WARNING: Nokogiri was built against LibXML version 2.7.3, but has dynamically loaded 2.7.8 | |
| or | |
| ERROR -: Incompatible library version: nokogiri.bundle requires version 11.0.0 or later, but libxml2.2.dylib provides version 10.0.0 | |
| gem uninstall nokogiri libxml-ruby | |
| brew update | |
| brew uninstall libxml2 |
| # First, make sure that you have the most recent rvm. Several bugs with 2.0.0-preview1 | |
| # have recently been fixed. | |
| # | |
| # Second, the openssl that comes with MacOS is too old for Ruby 2.0. You need to install | |
| # a newer one with homebrew or the rvm pkg command. | |
| # Option 1, with homebrew openssl: | |
| brew update | |
| brew install openssl |
| (function (window) { | |
| // This library re-implements setTimeout, setInterval, clearTimeout, clearInterval for iOS6. | |
| // iOS6 suffers from a bug that kills timers that are created while a page is scrolling. | |
| // This library fixes that problem by recreating timers after scrolling finishes (with interval correction). | |
| // This code is released in the public domain. Do with it what you want, without limitations. I do not promise | |
| // that it works, or that I will provide support (don't sue me). | |
| // Author: rkorving@wizcorp.jp | |
| var timeouts = {}; |
| /* | |
| * Complete reworking of JS from https://gist.github.com/803410 | |
| * Removes external `request` dependency | |
| * Caveats: | |
| * * No error checking | |
| * * Largely a POC. `data` URI is accurate, but this code cannot simply be inserted into an `express` app | |
| */ | |
| var URL = require('url'), | |
| sURL = 'http://nodejs.org/logo.png', | |
| oURL = URL.parse(sURL), |
| # Author: Pieter Noordhuis | |
| # Description: Simple demo to showcase Redis PubSub with EventMachine | |
| # | |
| # Update 7 Oct 2010: | |
| # - This example does *not* appear to work with Chrome >=6.0. Apparently, | |
| # the WebSocket protocol implementation in the cramp gem does not work | |
| # well with Chrome's (newer) WebSocket implementation. | |
| # | |
| # Requirements: | |
| # - rubygems: eventmachine, thin, cramp, sinatra, yajl-ruby |