Skip to content

Instantly share code, notes, and snippets.

View arturjnt's full-sized avatar
💻
Building great things

Artur Teixeira arturjnt

💻
Building great things
View GitHub Profile
@arturjnt
arturjnt / .conkyrc
Created August 23, 2021 12:15
My (very basic) conky config
conky.config ={
-- CONKY SETTINGS
background = true,
update_interval = 1,
total_run_times = 0,
cpu_avg_samples = 2,
net_avg_samples = 2,
override_utf8_locale = true,
@arturjnt
arturjnt / OneNote.html
Last active August 23, 2021 11:08
How to use "OneNote" on Linux
<html>
<head>
<script>
window.open("<YourOneNoteURL>", "", "toolbar=no,status=no,menubar=no,location=center,scrollbars=no,resizable=no,height=500,width=657");
window.close();
</script>
</head>
<body></body>
@arturjnt
arturjnt / palindrome.js
Last active August 16, 2021 13:23
If you add a number and it's reverse, it'll will always finish as a palindrome... except 196
// Don't try 196
// https://www.youtube.com/watch?v=7RSqBuZzthk
let number = 296;
let isPalindrome = false;
reverseNum = (number) => Number(number.toString().split('').reverse().join(''));
while (!isPalindrome) {
number += reverseNum(number);