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
/* CUSTOM */ | |
.js-notifications-container { | |
max-width: 1300px; | |
margin: 0 auto !important; | |
} | |
.js-notification-sidebar-filters li:nth-child(1) { | |
display: none | |
} | |
.js-notification-sidebar-filters li:nth-child(2) { | |
display: none |
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
// source https://coolaj86.com/articles/unicode-string-to-a-utf-8-typed-array-buffer-in-javascript/ | |
'use strict'; | |
// string to uint array | |
function unicodeStringToTypedArray(s) { | |
var escstr = encodeURIComponent(s); | |
var binstr = escstr.replace(/%([0-9A-F]{2})/g, function(match, p1) { | |
return String.fromCharCode('0x' + p1); | |
}); |
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 NETSCAPE-Bookmark-file-1> | |
<!-- This is an automatically generated file. It will be read and overwritten. DO NOT EDIT! --> | |
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"> | |
<TITLE>Bookmarks</TITLE> | |
<H1>Bookmarks</H1> | |
<DL><p> | |
<DT><H3 PERSONAL_TOOLBAR_FOLDER="true">Bookmarks Bar</H3> | |
<DL><p> | |
<DT><H3>Imported</H3> | |
<DL><p> |
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
// Clean | |
npm cache clean | |
rm -rf ~/.node-gyp | |
rm -rf ~/.electron | |
rm -rf ~/Library/Application Support/brave-development | |
rm -rf node_modules | |
// Install | |
npm i |
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
# Source https://johnpapa.net/how-to-use-npm-global-without-sudo-on-osx/ | |
# ---------------------- | |
# install brew | |
# clean instal | |
brew install node --without-npm | |
mkdir "${HOME}/.npm-packages" |
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
/** | |
* IOS native app | |
* <meta name="apple-mobile-web-app-capable" content="yes"> | |
*/ | |
(function(document,navigator,standalone) { | |
if ((standalone in navigator) && navigator[standalone]) { | |
var curnode, location=document.location, stop=/^(a)$/i; | |
document.addEventListener('click', function(e) { | |
curnode=e.target; | |
while (!(stop).test(curnode.nodeName)) { |
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": "react-compile", | |
"main": "index.js", | |
"devDependencies": { | |
"browserify": "latest", | |
"envify": "^3.2.0", | |
"react": "^0.13.0", | |
"reactify": "^0.17.1", | |
"watchify": "latest", | |
"babelify": "latest" |