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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <style> | |
| body {background: #111; color: green;} | |
| pre {width: 800px; margin: 50px auto;} | |
| </style> | |
| </head> | |
| <body> |
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
| [10:19:26,244] node=[object HTMLDivElement] tagName=DIV id=yui_3_8_0_2_1366186689375_1375 | |
| [10:19:26,249] TypeError: Value does not implement interface Element. @ https://www.clicrdv.com/assets/pro_fr.js?1366110192:23952 | |
| [10:19:26,249] node=https://www.clicrdv.com/pro#yui_3_8_0_2_1366186689375_1383 tagName=A id=yui_3_8_0_2_1366186689375_2620 | |
| [10:19:26,253] TypeError: Value does not implement interface Element. @ https://www.clicrdv.com/assets/pro_fr.js?1366110192:23952 | |
| [10:19:26,253] node=[object HTMLLIElement] tagName=LI id=yui_3_8_0_2_1366186689375_1650 | |
| [10:19:26,253] node=[object HTMLFieldSetElement] tagName=FIELDSET id=yui_3_8_0_2_1366186689375_1779 | |
| [10:19:26,254] TypeError: Value does not implement interface Element. @ https://www.clicrdv.com/assets/pro_fr.js?1366110192:23952 | |
| [10:19:26,260] node=[object HTMLDivElement] tagName=DIV id=yui_3_8_0_2_1366186689375_1374 | |
| [10:19:26,304] node=[object HTMLDivElement] tagName=DIV id=yui_3_8_0_2_1366186689375_1475 | |
| [10:19:26,305] TypeError: Value does not implement in |
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
| Y.DOM.getId = function(node) { | |
| var id; | |
| // HTMLElement returned from FORM when INPUT name === "id" | |
| // IE < 8: HTMLCollection returned when INPUT id === "id" | |
| // via both getAttribute and form.id | |
| console.log('node='+node+' tagName='+node.tagName+' id='+node.id); | |
| if (node.id && | |
| !node.id.tagName && | |
| !node.id.item) { | |
| id = node.id; |
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
| #!/usr/bin/env node | |
| var path = require('path'), | |
| fs = require('fs'), | |
| YUI = require('yui').YUI, | |
| YUI_config = {}, | |
| Y = YUI(); | |
| var navigator = { | |
| userAgent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)' |
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 {Cc,Ci} = require("chrome"); | |
| var prefs = require("sdk/preferences/service"); | |
| prefs.set('dom.indexedDB.warningQuota', 100); | |
| var pm = Cc["@mozilla.org/permissionmanager;1"] | |
| .getService(Ci.nsIPermissionManager); | |
| var ioService = Cc["@mozilla.org/network/io-service;1"] |
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
| enscript -B --margins=0:0:0:0 -o source.ps -f monospace@3/3 source.txt && ps2pdfwr outputfile.ps source.pdf |
- Add
[[work_layout]]under[layouts]in~/.config/terminator/config
[layouts]
...
[[work_layout]]
[[[child0]]]
position = 49:24
type = Window
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
| apt install curl gnupg software-properties-common ca-certificates curl gnupg apt-transport-https wget | |
| # Node | |
| curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/nodesource.gpg | |
| NODE_MAJOR=18 | |
| echo "deb [signed-by=/etc/apt/trusted.gpg.d/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list | |
| # Google Chrome | |
| sudo sh -c 'echo "deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list' | |
| curl -fsSL https://dl-ssl.google.com/linux/linux_signing_key.pub | gpg --dearmor > /etc/apt/trusted.gpg.d/google-chrome.gpg |
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
| wget http://ppa.launchpad.net/canonical-kernel-team/unstable/ubuntu/pool/main/l/linux/linux-headers-4.3.0-0-generic_4.3.0-0.8_amd64.deb | |
| wget http://ppa.launchpad.net/canonical-kernel-team/unstable/ubuntu/pool/main/l/linux/linux-headers-4.3.0-0_4.3.0-0.8_all.deb | |
| wget http://ppa.launchpad.net/canonical-kernel-team/unstable/ubuntu/pool/main/l/linux/linux-image-4.3.0-0-generic_4.3.0-0.8_amd64.deb | |
| wget http://ppa.launchpad.net/canonical-kernel-team/unstable/ubuntu/pool/main/l/linux/linux-image-extra-4.3.0-0-generic_4.3.0-0.8_amd64.deb | |
| dpkg -i linux-*.deb |