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
function SequentialUploader(url, name){ | |
// local vars | |
var files = []; | |
var uploading = false; | |
// public method | |
this.add = function(file, options){ | |
console.log('new file'); | |
files.push({ |
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
#!/bin/bash | |
VERSION=$1 | |
$TEMPDIR | |
curl -v http://ftp.mozilla.org/pub/firefox/releases/$VERSION/source/firefox-$VERSION.source.tar.xz -O /tmp/ | |
tar -xf /tmp/firefox-$VERSION.source.tar.xz -C /tmp | |
cd /tmp/firefox-$VERSION/ |
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
(() => { | |
// Remove flash player notify | |
const notifyOverlay = document.querySelector('.notify_update_flash_player') | |
if(notifyOverlay){ | |
document.body.removeChild(notifyOverlay) | |
} | |
const videoID = JSON.parse(document.getElementById('watchAPIDataContainer').innerHTML).flashvars.videoId | |
const playerContainer = document.getElementById('playerContainerWrapper') |
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
function randomAsciiStrings(length){ | |
return [...Array(length)].map(() => String.fromCharCode(0x20 + Math.random() * 0x5F | 0)).join('') | |
} |
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
sudo nvram 4d1ede05-38c7-4a6a-9cc6-4bcca8b38c14:DefaultBackgroundColor=%00%00%00 |
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
[ | |
"cached", | |
"error", | |
"abort", | |
"load", | |
"beforeunload", | |
"unload", | |
"online", | |
"offline", | |
"focus", |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>ANSIBlackColor</key> | |
<data> | |
YnBsaXN0MDDUAQIDBAUGKyxYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS | |
AAGGoKcHCBMZHSQoVSRudWxs1QkKCwwNDg8QERJcTlNDb21wb25lbnRzVU5TUkdCXE5T | |
Q29sb3JTcGFjZV8QEk5TQ3VzdG9tQ29sb3JTcGFjZVYkY2xhc3NHMCAwIDAgMUYwIDAg | |
MAAQAYACgAbTFBUNFhcYVE5TSURVTlNJQ0MQB4ADgAXSGg0bHFdOUy5kYXRhTxEMSAAA |
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
class DateTime { | |
constructor(){ | |
this._year = null | |
this._month = null | |
this._date = null | |
this._hours = null | |
this._minutes = null | |
this._seconds = null | |
} |
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
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>こころ|夏目漱石</title> | |
<style> | |
/* http://meyerweb.com/eric/tools/css/reset/ | |
v2.0 | 20110126 | |
License: none (public domain) |
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
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); | |
@-moz-document url(chrome://browser/content/browser.xul) { | |
:root { | |
--toolbarbutton-inner-padding: 2px !important; | |
--chrome-background-color: #e8e8e8 !important; | |
--chrome-secondary-background-color: #fff !important; | |
--focus-ring-box-shadow: none !important; | |
--toolbarbutton-hover-background: ; | |
--toolbarbutton-border-radius: 0 !important; | |
--tab-loading-fill: #808080 !important; |
OlderNewer