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
# prompt configurations | |
[character] | |
success_symbol = "[➜](bold green) " | |
error_symbol = "[✗](bold red) " | |
# Nerd Font Symbols combined with Bracketed Segments base on official presets | |
# https://starship.rs/presets | |
[aws] | |
format = '\[[$symbol($profile)(\($region\))(\[$duration\])]($style)\]' | |
symbol = " " |
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
using UnityEngine; | |
using UnityEngine.UI; | |
public class SpeedLabelSetter : MonoBehaviour | |
{ | |
private Text _text; | |
public int valueIndex = 3; | |
private readonly float[] _values = { | |
0.7f, | |
0.8f, |
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
using System; | |
using System.Collections.Generic; | |
using DG.Tweening; | |
using LitJson; | |
using UnityEngine; | |
using UnityEngine.EventSystems; | |
using UnityEngine.SceneManagement; | |
using UnityEngine.UI; | |
using Vuplex.WebView; | |
using Vuplex.WebView.Demos; |
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
[void] [System.Reflection.Assembly]::LoadWithPartialName("System.Drawing") | |
$fonts = (New-Object System.Drawing.Text.InstalledFontCollection) | |
$fonts.Families.Name | |
# How to filter using regex? | |
# $fonts.Families.Name | Select-String -Pattern "F.ra" |
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
/* | |
GenerateMaxscriptAPI.ms | |
Sep 2, 2019 | |
by Simon 'tsweeper' Lee | |
- Improve file IO speed using .Net class | |
- File path changed from #maxRoot to #userscripts to avoid previledge problem | |
- Sorted API list |
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
/// Convert canvas content into image. | |
/// Usage: Run this script in console. | |
/*************************************************************** | |
* Warning Notice | |
* | |
* This script is provided for EDUCATIONAL PURPOSES ONLY. | |
* Do NOT use this script for illegal or copyright infringement activities. | |
* | |
* This script is free software; you can redistribute it and/or modify |
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
/* ==UserStyle== | |
@name manamoa.net | |
@namespace github.com/openstyles/stylus | |
@version 1.0.0 | |
@description A new userstyle | |
@author Me | |
==/UserStyle== */ | |
@-moz-document regexp("https://manamoa*.net/.*") { | |
/* Insert code here... */ | |
body, div, header, a, table, th, tr, td, .wrapper { |
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
# DarkScintilla: Maxscript Editor dark scheme | |
# http://www.scriptspot.com/3ds-max/scripts/darkscintilla-maxscript-editor-dark-scheme | |
# change Consolas to Fira Code https://github.com/tonsky/FiraCode | |
# codepages | |
code.page=65001 | |
character.set=204 | |
# has no effect in 3ds Max's (old) Scintilla version | |
find.use.strip=1 |
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 sh | |
adb shell settings put global captive_portal_fallback_url http://g.cn/generate_204 | |
adb shell settings put global captive_portal_http_url http://www.google.cn/generate_204 | |
adb shell settings put global captive_portal_https_url https://www.google.cn/generate_204 | |
adb shell settings put global captive_portal_other_fallback_urls http://www.qualcomm.cn/generate_204 |
NewerOlder