Since Twitter doesn't have an edit button, it's a suitable host for JavaScript modules.
Source tweet: https://twitter.com/rauchg/status/712799807073419264
const leftPad = await requireFromTwitter('712799807073419264');
Since Twitter doesn't have an edit button, it's a suitable host for JavaScript modules.
Source tweet: https://twitter.com/rauchg/status/712799807073419264
const leftPad = await requireFromTwitter('712799807073419264');
<html> | |
<body> | |
<div id="audioElementList"></div> | |
<input type="text" id="userInput"> | |
<button id="connectButton">connect</button> | |
</body> | |
<script src="https://code.jquery.com/jquery-2.2.0.min.js"></script> | |
<script src="http://cdn.peerjs.com/0.3/peer.js"></script> | |
<script type="text/javascript"> |
/** | |
* @fileoverview Rule to forbid writing Japanese | |
* @author amagitakayosi | |
*/ | |
"use strict"; | |
var path = require('path'); | |
//------------------------------------------------------------------------------ |
var nodemailer = require('nodemailer'); | |
var sesTransport = require('nodemailer-ses-transport'); | |
var smtpPassword = require('aws-smtp-credentials'); | |
var mailOptions = { | |
from: 'from@example.com', | |
to: 'to@example.com', | |
text: 'This is some text', | |
html: '<b>This is some HTML</b>', | |
}; |
module.exports = function(config) { | |
var customLaunchers = require('./saucebrowsers.js'); | |
config.set({ | |
basePath: '', | |
frameworks: ['mocha', 'browserify'], | |
files: [./**/*.js], | |
exclude: [], | |
preprocessors: {}, | |
port: 9876, | |
colors: true, |
/** | |
* the HTML5 autofocus property can be finicky when it comes to dynamically loaded | |
* templates and such with AngularJS. Use this simple directive to | |
* tame this beast once and for all. | |
* | |
* Usage: | |
* <input type="text" autofocus> | |
* | |
* License: MIT | |
*/ |
<?php | |
var_dump(get_defined_constants()); | |
var_dump(get_declared_classes()); | |
var_dump(get_declared_interfaces()); | |
var_dump(get_declared_traits()); | |
var_dump(get_defined_functions()); | |
var_dump(get_defined_vars()); | |
var_dump(get_included_files()); | |
var_dump(get_required_files()); | |
var_dump(get_loaded_extensions()); |
FROM centos | |
MAINTAINER hatena@iti.co.jp | |
ENV http_proxy http://proxy.example.com | |
ENV https_proxy http://proxy.example.com | |
RUN yum update -y | |
RUN yum install -y openssh-server httpd php php-mbstring mysql-server php-mysql python-setuptools | |
RUN yum clean all | |
RUN easy_install supervisor |
#!/bin/bash | |
#2つの引数の間の数値をランダムで返す | |
#第一引数の方がより小さな値を渡すこと | |
function rand() { | |
range=$(($1 - $2)) | |
ret=$((RANDOM % range + $1)) | |
echo $ret | |
} |
CoffeeCollider勉強会(2013.12.20)用のスライド
GistSlide でスライドになります http://1000ch.net/2013/07/05/GistSlide/