git log --pretty=format:'' | wc -l
27812
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
| /* | |
| * Discord: Don't copy stuff into this box | |
| * Me: dOn'T COpy sTuFf iNtO tHIs bOx | |
| */ | |
| clearMessages = function (guild_id, author_id, authToken, deleted = new Set()) { | |
| if (guild_id[0] == "_" && guild_id[guild_id.length - 1] == "_") { | |
| alert("Oops! You forgot to set the guild_id. Please fill it in.") | |
| return; | |
| } | |
| if (author_id[0] == "_" && author_id[author_id.length - 1] == "_") { |
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
| #!/bin/bash | |
| # Make sure to open up port 8888 (Hush p2p port) on your firewall! | |
| # You can see your notary address on Hush here: https://deckersu.github.io/notaries_addresses.html | |
| # This script can generate a HUSH WIF to import: https://raw.githubusercontent.com/StakedChain/StakedNotary/master/validateaddress.sh | |
| # FYI: Your Hush WIF will be the same as your BTC WIF, so you can just use that. | |
| # This script can be used to generate various kinds of WIFs as well: https://github.com/DeckerSU/komodo_scripts/blob/master/genkomodo.php | |
| git clone https://github.com/MyHush/hush | |
| cd hush |
- Install
wpasupplicant - Turn on wifi radios:
sudo nmcli radio wifi on - Check your devices are recognised even if they're not "managed":
sudo iwconfig - Check your wifi (here called "wlp3s0") is capable of detecting nearby routers:
sudo iwlist wlp3s0 scan - Configure
netplanby dropping a file called01-netcfg.yamlinto/etc/netplan/or edit existing file there. See example below. netplan try,netplan generate,netplan apply.
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
| using Harmony; | |
| using ICities; | |
| using System; | |
| using System.Reflection; | |
| using UnityEngine; | |
| using UnityEngine.Rendering; | |
| namespace ShadowSettingsAdjuster | |
| { | |
| /// <summary> |
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
| ''' | |
| USAGE: | |
| Use python3 | |
| Place addresses to track, one per line, in addresses.txt | |
| Place assetchains to track, one per line, in assets.txt | |
| Adjust balance_threshold and send_amount as needed | |
| If you need to specify an alternative komodo_cli location, either pass it as the first argument | |
| when invoking the script, or change the komodo_cli variable. | |
| ''' |
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
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using ICities; | |
| using UnityEngine; | |
| using System.Reflection; | |
| using System.Runtime.InteropServices; | |
| using System.Threading; | |
| using System.Xml.Serialization; |
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
| using System.Reflection; | |
| using ICities; | |
| using UnityEngine; | |
| namespace SofterShadows | |
| { | |
| public class SofterShadowsMod : LoadingExtensionBase, IUserMod | |
| { | |
| public string Name => "Softer Shadows"; | |
| public string Description => "Brightens up the shadows of the game"; |
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
| #!/bin/bash | |
| set -e | |
| export CONFIG_MODULE_SIG=n | |
| export CONFIG_MODULE_SIG_ALL=n | |
| export KERNELRELEASE=${1} | |
| echo "Installing FacetimeHD camera for $KERNELRELEASE" | |
| cd /tmp | |
| git clone https://github.com/patjak/bcwc_pcie.git |
Reference:
sudo fdisk -l
NewerOlder