Skip to content

Instantly share code, notes, and snippets.

@argctl
argctl / mic_check.ps1
Last active February 1, 2026 05:00
mic_check.ps1
#quickly check what has used your mic through windows
Get-ChildItem "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\microphone\NonPackaged" |
ForEach-Object {
$props = Get-ItemProperty $_.PSPath
[PSCustomObject]@{
App = $_.PSChildName
Started = $props.LastUsedTimeStart
Stopped = $props.LastUsedTimeStop
InUse = $props.LastUsedTimeStop -eq 0
}
@argctl
argctl / net_process.ps1
Last active February 1, 2026 05:42
net_process.ps1
#while ($true) {
param(
[string]$UDP
)
if ($UDP -eq "") {
Write-Host "To check for a UDP address, add -UDP True \n Query time will increase significantly"
}
Get-Date
Get-NetTCPConnection | Where-Object { $_.State -eq "Established" -and !($_.RemoteAddress -eq "127.0.0.1")} |
ForEach-Object {
@argctl
argctl / LICENSE.md
Last active March 24, 2025 21:40
GITARG LICENSE

GITARG License

Copyright (c) [year] [Full name] { non-voiding }

Licensor: [Company/Organization]

Licensed Work: [Definition of licensed work]

  1. Permission
abandon
ability
able
about
above
absent
absorb
abstract
absurd
abuse
@argctl
argctl / multiple_ssh_setting.md
Created February 7, 2023 22:34 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"
pragma solidity ^0.8.4;
contract Auth {
//mappings
constructor () {
}
//TODO - order slices array by number lowest to highest or expect it.
function layer (bool[] requires, int[] slices) {
// requires in layers by slice of bools
@argctl
argctl / c_e_coin.sol
Created November 8, 2022 16:39
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
pragma solidity ^0.8.4;
// version spect
contract c_e_coin {
//createContract with rules to sell by creating party - charge for time and movement
//generic version with my algorythm taking up first 10 spots on initial contract
//buyContract to buy from previous contract owner
struct DebtPosition {
uint id; // 0 is the pooling contract 1 is the oldest
@argctl
argctl / Gitarg.sol
Created November 5, 2022 21:36
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
pragma solidity ^0.8.4;
// a system that uses passwords or a real world artifact as an interface to verify timestamp and optionally location
// "they'll try to use your workspace"
// permissions :
// 1 - id for internal address
// 2 - password for internal address
// 3 - id, token => password // pseudo oauth
//
@argctl
argctl / gist-44ff0e0a24741e3f35fd88bd7a503b4c...Gitarg.sol
Created November 5, 2022 19:40
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.17+commit.8df45f5f.js&optimize=false&runs=200&gist=
pragma solidity ^0.8.4;
// a system that uses passwords or a real world artifact as an interface to verify timestamp and optionally location
// "they'll try to use your workspace"
// permissions :
// 1 - id for internal address
// 2 - password for internal address
// 3 - id, token => password // pseudo oauth
//
@argctl
argctl / gist-44ff0e0a24741e3f35fd88bd7a503b4c...Gitarg.sol
Created November 3, 2022 01:43
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.17+commit.8df45f5f.js&optimize=false&runs=200&gist=
pragma solidity ^0.8.4;
// a system that uses passwords or a real world artifact as an interface to verify timestamp and optionally location
// "they'll try to use your workspace"
// permissions :
// 1 - id for internal address
// 2 - password for internal address
// 3 - id, token => password // pseudo oauth
//