Hi there. Welcome to my channel.
Here we will solve Rach's dilemma.
Ready ?
You may jump to Tl;dr
Consider this program:
#include<stdio.h>
int main(){
Hi there. Welcome to my channel.
Here we will solve Rach's dilemma.
Ready ?
You may jump to Tl;dr
Consider this program:
#include<stdio.h>
int main(){
weird.c
--------------
#include<stdio.h>
int main(){
int i = 4;
char c = i["ABCDEF"];
printf("%c", c);
return 0;
}
#!/bin/bash | |
# (C) Hritik Vijay | |
# License: GPLv2 | |
# Suppliment to https://m47r1x.github.io/posts/multi-net/ | |
tmp=$(mktemp multi-net-ip-XXXX --tmpdir) | |
TIMEOUT=5 | |
Table=200 | |
_ping(){ |
#!/bin/bash | |
# (C) Hritik Vijay | |
# License: GPLv2 | |
Table=200 | |
route_cmd="ip route add default scope global " | |
# Iterate through each interface and process them | |
while read -r line; do | |
P=$(echo $line | grep -Eo 'via [0-9\.]+ ' | cut -d " " -f 2) |
#include "DigiKeyboard.h" | |
#define LED_PIN 1 | |
void setup() { | |
pinMode(LED_PIN, OUTPUT); | |
} | |
void loop() { | |
// put your main code here, to run repeatedly: | |
digitalWrite(LED_PIN, LOW); | |
DigiKeyboard.sendKeyStroke(0); |
With custom routes in a custom ovpn file, NetworkManager reports with | |
`Error: configuration error: unsupported 1th argument to "route" which looks like a FQDN but only IPv4 address supported (line XX)` | |
Looks like the `route` config option is not available in NM ovpn config but the alternative `route-data` can be used. | |
The syntax remains the same: | |
`route-data IP netmask gateway` |
Aug 10 20:17:07 HOSTNAME sudo[1343]: USERNAME : TTY=pts/0 ; PWD=/home/USERNAME ; USER=root ; COMMAND=/usr/bin/systemctl restart systemd-logind.service | |
Aug 10 20:17:07 HOSTNAME sudo[1343]: pam_unix(sudo:session): session opened for user root by (uid=0) | |
Aug 10 20:17:07 HOSTNAME systemd[1]: Stopping Login Service... | |
Aug 10 20:17:07 HOSTNAME systemd[1]: Stopped Login Service. | |
Aug 10 20:17:07 HOSTNAME gnome-shell[741]: Could not release device 13,67: Cannot invoke method; proxy is for a well-known name without an owner and proxy was constructed with the G_DBUS_PROX | |
Aug 10 20:17:07 HOSTNAME systemd[1]: Starting Login Service... | |
Aug 10 20:17:07 HOSTNAME gnome-shell[741]: Could not release device 13,71: Cannot invoke method; proxy is for a well-known name without an owner and proxy was constructed with the G_DBUS_PROX | |
Aug 10 20:17:07 HOSTNAME gnome-shell[741]: Could not release device 13,72: Cannot invoke method; proxy is for a well-known name without an owner and proxy was constructed with the G_DBUS_PROX | |
Aug 10 2 |