adb shell service call alarm 2 i64 {current unix epoch * 1000}
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.Runtime.InteropServices; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Windows.Interop; | |
namespace SlackNotifier | |
{ |
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
# mainly generated by GPT-4 | |
trigger: none | |
schedules: | |
- cron: "0 0 * * *" # This will trigger the pipeline every day at midnight | |
displayName: Daily midnight sync | |
branches: | |
include: | |
- main |
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; | |
namespace MersenneTwister | |
{ | |
// Implementation porting from C version of mt19937-64 | |
// coded by Makoto Matsumoto and Takuji Nishimura | |
// | |
// Copyright (C) 2004, Makoto Matsumoto and Takuji Nishimura, | |
// All rights reserved. | |
// 2023 fixed by UlyssesWu |
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
public static string FormatAsHex(ReadOnlySpan<byte> data, int lineWidth = 16, int byteWidth = 1) | |
{ | |
byte ReplaceControlCharacterWithDot(byte character) => character < 31 || character >= 127 ? (byte)46 /* dot */ : character; | |
byte[] ReplaceControlCharactersWithDots(byte[] characters) => characters.Select(ReplaceControlCharacterWithDot).ToArray(); | |
IEnumerable<BigInteger> Chunk(IReadOnlyList<byte> source, int size) => source.Select((item, index) => source.Skip(size * index).Take(size).ToArray()).TakeWhile(bucket => bucket.Any()).Select(e => new BigInteger(e)); | |
var result = new StringBuilder(); | |
for(var pos = 0; pos < data.Length;) | |
{ | |
var line = data.Slice(pos, Math.Min(lineWidth * byteWidth, data.Length - pos)).ToArray(); |
One of the best ways to investigate a problematic Xamarin.Android Binding is to first ensure you have the proper tooling available:
- Diagnostic MSBuild Output Enabled(Instructions)
- Java Decompiler(http://jd.benow.ca/)
- .NET Decompiler(https://www.jetbrains.com/decompiler/)
- Binding SDK Documentation
One of the best ways to investigate a problematic Xamarin.Android Binding is to first ensure you have the proper tooling available:
- Diagnostic MSBuild Output Enabled(Instructions)
- Java Decompiler(http://jd.benow.ca/)
- .NET Decompiler(https://www.jetbrains.com/decompiler/)
- Binding SDK Documentation
Privacy Policy of NightCorer
I, as UlyssesWu ([email protected]), do not collect any data from NightCorer users. NightCorer is a complete offline software.
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
//https://twitter.com/minionsart/status/986374665399685121 | |
Shader "Unlit/SpecialFX/Liquid" | |
{ | |
Properties | |
{ | |
_Tint ("Tint", Color) = (1,1,1,1) | |
_MainTex ("Texture", 2D) = "white" {} | |
_FillAmount ("Fill Amount", Range(-10,10)) = 0.0 | |
[HideInInspector] _WobbleX ("WobbleX", Range(-1,1)) = 0.0 |
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
class Foo { | |
var val; | |
property p { | |
getter { | |
return val; | |
} | |
setter(v) { | |
this.val = v; | |
} |
NewerOlder