Skip to content

Instantly share code, notes, and snippets.

View ThetaSinner's full-sized avatar
🏠
Working from home

ThetaSinner ThetaSinner

🏠
Working from home
View GitHub Profile
In your Cargo.toml:
```toml
# Feature: typescript
ts-rs = { workspace = true, features = ["bytes-impl"], optional = true }
[features]
typescript = [
"dep:ts-rs",
]
$images = Get-ChildItem *.jpg
New-Item -Name "cropped" -ItemType "directory"
foreach ($img in $images)
{
$parent = Split-Path $img -Parent;
$fname = Split-Path $img -Leaf;
$output = Join-Path $parent "cropped" $fname;
magick $img -crop 1080x2000+0+250 $output;
}
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.HashSet;
public class App {
private static final Action[] actions = new Action[] { App.Action.MoveLeft, App.Action.MoveRight, App.Action.Suck };
public static void main(String[] args) {
var initialState = 1;

Keybase proof

I hereby claim:

  • I am thetasinner on github.
  • I am thetasinner (https://keybase.io/thetasinner) on keybase.
  • I have a public key ASCtnIXcHlwQjElYxP3NORU7df097rtPPeUeCZWuAcx5pgo

To claim this, I am signing this object: