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
testingtesting |
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
[Desktop Entry] | |
Version=1.0 | |
Name=Firefox Developer Edition | |
Comment=Firefox Developer Edition | |
Exec=/opt/firefox-dev/firefox | |
# Path=/opt/firefox-dev/firefox | |
Icon=/opt/firefox-dev/browser/chrome/icons/default/default128.png | |
Terminal=false | |
Type=Application | |
Categories=Browser;Development; |
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 tree = { | |
value: 1, | |
children: [ | |
{ | |
value: 10, | |
children: [ | |
{ | |
value: 2, | |
}, | |
], |
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
mixin ga(id) | |
script(async='', src='https://www.googletagmanager.com/gtag/js?id='+id) | |
script. | |
window.dataLayer = window.dataLayer || []; | |
function gtag(){dataLayer.push(arguments);} | |
gtag('js', new Date()); | |
gtag('config', '!{id}') |
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
mixin svgIcon(iconId) | |
i(class="icon icon--"+iconId) | |
svg.icon__svg | |
use(xlink:href='#'+iconId) |
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
mixin ga(id) | |
//- Pass your ga id, as attribute, eg. +ga('yourid12345') | |
script. | |
window.ga = function () { ga.q.push(arguments) }; ga.q = []; ga.l = +new Date; | |
ga('create', '!{id}', 'auto'); ga('set','transport','beacon'); ga('send', 'pageview') | |
script(src='https://www.google-analytics.com/analytics.js') |
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
// https://developers.google.com/recaptcha/docs/invisible | |
// https://developers.google.com/recaptcha/docs/invisible#render_param | |
// https://github.com/thiamsantos/invisible-grecaptcha | |
import { | |
execute, | |
destroy | |
} from 'invisible-grecaptcha' | |
export default class GoogleInvisibleRecaptcha { |
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
# https://wiki.archlinux.org/index.php/Streaming_to_twitch.tv | |
streaming() { | |
INRES="1920x1080" # input resolution | |
OUTRES="1920x1080" # output resolution | |
FPS="15" # target FPS | |
GOP="30" # i-frame interval, should be double of FPS, | |
GOPMIN="15" # min i-frame interval, should be equal to fps, | |
THREADS="2" # max 6 | |
CBR="1000k" # constant bitrate (should be between 1000k - 3000k) |
NewerOlder