Use file:"./Scripts/rofi-file-browser.sh" in your modi.
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 | |
| scrot /tmp/screen.png | |
| xwobf -s 11 /tmp/screen.png | |
| i3lock --textcolor=ffffff00 --insidecolor=ffffff1c --ringcolor=ffffff3e --linecolor=ffffff00 --keyhlcolor=00000080 --ringvercolor=00000000 --separatorcolor=22222260 --insidevercolor=0000001c --ringwrongcolor=00000055 --insidewrongcolor=0000001c -i /tmp/screen.png | |
| rm /tmp/screen.png |
I hereby claim:
- I am rawsh on github.
- I am rawsh (https://keybase.io/rawsh) on keybase.
- I have a public key ASC6BfTlO3iRqUj9pRvTZSw4t9SgYcsvVxoc4oWMUSFcCgo
To claim this, I am signing this object:
pci-stub.ids=10de:139a,8086:9d10,8086:9d14,1217:8621
Photographers wade through thousands of photos every shoot, and some crops are far from optimal. A smart crop tool can assist these photographers, provide a baseline for them to work from, and automate the crops for many photos.
A good algorithm for finding objects in photos is the YOLO algorithm (You Only Look Once). A pretrained network that works well is the darknet network by Joseph Chet Redmon. This can be imported into Mathematica as a binary file through this code [^1]:
leayReLU[alpha_] := ElementwiseLayer[Ramp[#] - alpha*Ramp[-#] &]
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
| <body style="background-image: url('{% if market.background %}{{ market.background.url }}{% endif %}')"> | |
| <!-- container --> | |
| <div class="container"> | |
| <!-- header --> | |
| {% include header_template %} | |
| <!-- /header --> | |
| <!-- static navbar --> |
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
| {"column.0.0":"recent","column.0.1":"2","column.0.2":"1","column.0.3":"225","column.1.0":"28","column.2.0":"231","column.2.1":"320","column.2.2":"22","column.3.0":"21","column.3.1":"top","column.3.2":"closed","column.4.0":"apps","open.21":"true","open.225":"true","open.231":"true","open.28":"true","open.297":"true","open.320":"true","open.372":"true","open.apps":"true","open.devices":"true","open.recent":"true","open.top":"true","options.background_color":"#fdf6e3","options.font":"Segoe UI","options.font_color":"#657b83","options.font_size":"18","options.hide_options":"0","options.highlight_color":"#002B36","options.highlight_font_color":"#ffffff","options.highlight_round":"0","options.lock":"0","options.number_closed":"5","options.number_recent":"5","options.number_top":"5","options.shadow_color":"#002B36","options.show_3":"0","options.show_apps":"1","options.show_devices":"0","options.show_root":"0","options.show_weather":"0","options.theme":"Default","options.width":"1.292"} |
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
| var pricelist = []; | |
| for (var i=0; i < bs.length; i++) { | |
| if(bs[i].childNodes[0].nodeValue === "Price:") { | |
| if (bs[i].nextSibling.nodeValue.charAt(1) === "$") { | |
| pricelist.push(parseInt(bs[i].nextSibling.nodeValue.substr(2))); | |
| } | |
| } | |
| } |
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
| bottombox.Append(ui.NewHorizontalBox(), false) | |
| bottombox.Append(notificationbox, true) | |
| bottombox.Append(ui.NewHorizontalBox(), false) | |
| notificationbox.Append(ui.NewHorizontalBox(), false) | |
| notificationbox.Append(message, false) | |
| notificationbox.Append(ui.NewHorizontalBox(), false) |


