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
{ | |
"name": "vanity-address", | |
"main": "vanity.js", | |
"private": true, | |
"scripts": { | |
"start": "node vanity.js" | |
}, | |
"dependencies": { | |
"keccak": "^3.0.1", | |
"randombytes": "^2.0.6", |
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
import React from 'react'; | |
import styled from 'styled-components'; | |
const Text = styled.div` | |
display: inline-block; | |
`; | |
export default Text; |
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
iconv -f ISO_8859-11 -t UTF-8 original.srt > fixed.srt |
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
(function(window) { | |
var bar = Object.create(HTMLElement.prototype); | |
bar.createdCallback = function() { | |
console.log('x-bar created'); | |
}; | |
bar.attachedCallback = function() { | |
console.log('x-bar attached'); | |
}; | |
window.BarElement = document.registerElement('x-bar', { prototype: bar }); | |
})(this); |
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 bash | |
# Node.js, Raspbian Installer | |
# | |
# Author: Chistopher Turner (@tur_nr) | |
# Site : http://tur-nr.github.io | |
# var defaults | |
version="0.10.26" # node.js version | |
destination="/usr/local/dist/node" # destination location |
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
RewriteCond %{HTTPS} off | |
RewriteCond %{REQUEST_URI} ^/secure/path | |
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L] |
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
RewriteCond %{HTTP_HOST} !^$ | |
RewriteCond %{HTTP_HOST} !^www\. [NC] | |
RewriteCond %{HTTPS}s ^on(s)| | |
RewriteRule ^ http%1://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L] |
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
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_URI} !(\..+)$ | |
RewriteCond %{REQUEST_URI} !(.*)/$ | |
RewriteRule ^(.*)$ $1/ [L,R=301] |