An introduction to curl
using GitHub's API.
Makes a basic GET request to the specifed URI
curl https://api.github.com/users/caspyin
An introduction to curl
using GitHub's API.
Makes a basic GET request to the specifed URI
curl https://api.github.com/users/caspyin
/** | |
* Converts a BGR base10 color to an RGB Hex value. | |
* | |
* @method colorToHexString | |
* @param {Integer} dColor A color as integer. | |
* @returns {String} The RGB hex code as string. | |
*/ | |
function colorToHexString(dColor) { | |
return '#' + ("000000" + (((dColor & 0xFF) << 16) + (dColor & 0xFF00) + ((dColor >> 16) & 0xFF)).toString(16)).slice(-6); | |
} |
This is not a getting started guide, just notes to myself. Due to my limited knowledge there could be mistakes and better ways to do things. I have configured aurutils
to the best of my knowledge after reading the manpages and forums. Please refer to aurutils(7) manpages for installation and configuration.
Reference: aurutils(7)
Install the aurutils
using the normal AUR package installation procedure. Until I found aurutils
, I used to create a separate directory ~/aur/
for all AUR packages.
// LICENSE | |
// ======= | |
// Copyright (c) 2017-2019 Advanced Micro Devices, Inc. All rights reserved. | |
// ------- | |
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation | |
// files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, | |
// modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the | |
// Software is furnished to do so, subject to the following conditions: | |
// ------- | |
// The above copyright notice and this permission notice shall be included in all copies or substantial portions of the |
Instructions for enabling dark theme (almost) everywhere on ElementaryOS
/usr/share/dbus-1/interfaces/io.elementary.pantheon.AccountsService.xml
with this file.<annotation name="org.freedesktop.Accounts.DefaultValue" value="0"/>
with <annotation name="org.freedesktop.Accounts.DefaultValue" value="1"/>
under PreferColorScheme section.