[email protected]
denotes the same delivery address as [email protected]
This file contains 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
<?php | |
class Rhythm { | |
var $length, $duration, $_prevTap, $_curTap, $_taps, $_weight; | |
function __construct($length = 0, $duration = 0, $_taps = array(), $_weight = 1) { | |
$this->length = $length; | |
$this->duration = $duration; | |
$this->_taps = $_taps; | |
$this->_weight = $_weight; | |
} | |
} |
This file contains 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
if (!Element.prototype.getElementByTagName) { | |
Element.prototype.getElementByTagName = function(selector) { | |
return this.getElementsByTagName(selector).item(0); | |
} | |
} | |
if (!HTMLDocument.prototype.getElementByTagName) { | |
HTMLDocument.prototype.getElementByTagName = function(selector) { | |
return this.getElementsByTagName(selector).item(0); | |
} | |
} |
This file contains 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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# vim:ts=4:sw=4:softtabstop=4:smarttab:expandtab | |
# target script | |
import sys | |
import string | |
import uuid | |
import re |
This file contains 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
<?php | |
define('PATHINFO_ALL', (PATHINFO_DIRNAME | PATHINFO_BASENAME | PATHINFO_EXTENSION | PATHINFO_FILENAME)); | |
/** | |
* Multi-byte-safe pathinfo replacement. | |
* Originally Taken from PHPMailer | |
* | |
* @see http://www.php.net/manual/en/function.pathinfo.php#107461 | |
* @see https://github.com/PHPMailer/PHPMailer/blob/v6.0.5/src/PHPMailer.php#L3961-L4007 |
This file contains 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
require 'nokogiri' | |
module Jekyll | |
class Synthesia | |
def populate(page) | |
data_dir = page.site.source + '/files/' | |
doc = File.open(data_dir + page.synthesia) { |f| Nokogiri::XML(f) } | |
songs = doc.xpath('/SynthesiaMetadata/Songs/Song') | |
page.data['synthesia_data'] = songs.map do |song| | |
{ |
This file contains 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
openapi: 3.0.0 | |
info: | |
version: "1.0.0" | |
title: "Standard File" | |
license: | |
name: "Apache 2.0" | |
url: "http://www.apache.org/licenses/LICENSE-2.0.html" | |
servers: | |
- url: https://app.standardnotes.org/ |
This file contains 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 blessed = require("blessed"); | |
window.onload = function () { | |
const term = new Terminal({ | |
cols: 80, | |
rows: 24 | |
}); | |
term.open(document.body); | |
term.write('\x1b[31mWelcome to term.js!\x1b[m\r\n'); |
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 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
!1:: | |
Send {g} | |
return | |
!2:: | |
Send {h} | |
return | |
!3:: | |
Send {'} |