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
abandoned | |
abatic | |
abducent | |
abecedarian | |
aberrant | |
abeyant | |
abhorrent | |
abject | |
ablative | |
ablaze |
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
// You have to tell GJS which version of Gtk to target | |
imports.gi.versions.Gtk = "3.0" | |
const { GObject, Gtk } = imports.gi; | |
Gtk.init(null); | |
class MyWindow extends Gtk.Window { | |
_init() { | |
super._init({ | |
title: "My TreeView Example" |
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/env bash | |
# Refresh timer, seconds | |
REFRESH=5 | |
# Weather - wttr.in/help | |
LOCALITY=45403 | |
FORMAT=3 | |
# unicode symbols/icons |
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
#!/usr/bin/env bash | |
# Credit to the tutorial found at | |
# https://www.atlassian.com/git/tutorials/dotfiles | |
config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME' | |
git clone --bare https://github.com/jechasteen/dotfiles.git $HOME/.cfg && $config checkout | |
if [[ "$?" = 0 ]]; then | |
echo "Checked out dot files repo..." |
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
! URxvt Settings | |
URxvt.termName: rxvt-256color | |
URxvt.iso14755: False | |
URxvt.saveLines: 9999 | |
URxvt.scrollstyle: plain | |
URxvt.scrollBar_right: True | |
URxvt*scrollWithBuffer: True | |
URxvt*secondaryScreen: 1 | |
URxvt*secondaryScroll: 0 | |
URxvt.font: xft:hack:size=10 |
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
// To use, go to https://projecteuler.net/archives | |
// then open the developer console and paste the contents of this file | |
// This will automatically direct to a random problem. | |
function getTotalProbs(){ | |
var p = document.querySelector( "p" ).textContent; | |
var total = ""; | |
for ( var i = 0; i < p.length; i++ ) { | |
if ( p[i] === "1" ){ | |
for ( var j = i + 5; p[j] != "."; j++ ) { |
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
// For use in Node.js | |
//const { performance } = require('perf_hooks') | |
function funcTimer(callback){ | |
performance.mark('A') | |
var callbackReturn = callback(); | |
performance.mark('B') | |
performance.measure('A->B', 'A', 'B') | |
const measure = performance.getEntriesByName('A->B')[0] | |
console.log(arguments.callee.name, 'execution took:', measure.duration, 'ms') |