This file contains 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 | |
convert_to_seconds() { | |
time="${1}" | |
timev=(${time//:/ }) | |
timea[2]=1 | |
timea[1]=60 | |
timea[0]=$((60 * 60)) | |
index=$(("${#timev[*]}")) | |
time_seconds=0 |
This file contains 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
openssl genrsa -out tls-rsa.prv | |
openssl req -new -key tls-rsa.prv -out tls-crtreq.pem | |
openssl x509 -in tls-crtreq.pem -req -signkey tls-rsa.prv -days $((365 * 10)) -extfile <(echo "subjectAltName=IP:10.2.1.170") -out tls-crt.pem |
This file contains 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
diff --git a/Makefile.in b/Makefile.in | |
index a54f468..42c9c79 100755 | |
--- a/Makefile.in | |
+++ b/Makefile.in | |
@@ -19,7 +19,7 @@ CFLAGS = @CPPFLAGS@ @CFLAGS@ | |
LIBS = @LDFLAGS@ @LIBS@ @FLIBS@ | |
-all: lib sfac | |
+all: lib sfac pfac mpy |
This file contains 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
2021-08-14 16:04:55 mohan43u the third talk is about ALSA | |
2021-08-14 16:05:07 mohan43u im the speaker of this tal | |
2021-08-14 16:05:14 mohan43u ^s/tal/talk/g | |
2021-08-14 16:05:31 mohan43u ALSA - Advanced Linux Sound Architecture | |
2021-08-14 16:06:14 mohan43u in this talk, Im going to explain about few commands | |
2021-08-14 16:06:35 mohan43u you can follow what I execute through https://meet.ilugc.in | |
2021-08-14 16:06:52 mohan43u this website is also relayed through jitsi | |
2021-08-14 16:07:20 mohan43u I hope everyone joined through either meet.ilugc.in or jitsi will not have problem following my commands | |
2021-08-14 16:07:39 mohan43u so lets start talk about alsa | |
2021-08-14 16:08:02 mohan43u ALSA is the subsystem in linux kernel responsible for audio |
This file contains 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
2021-08-14 15:14:36 @mbuf Hi all. This is the second talk on FOSS and companies. | |
2021-08-14 15:15:23 @mbuf I want to mention few important points, and you can then ask your questions. | |
2021-08-14 15:16:18 @mbuf This is a follow-up to an earlier discussion that we had in this channel on choosing companies | |
2021-08-14 15:17:19 @mbuf The first and foremost is to have a portfolio of your own where you can showcase your Free/Libre and Open Source contributions | |
2021-08-14 15:17:57 @mbuf This can be just your GitLab or GitHub link, or a list of patches, documentation changes, and other contributions to F/OSS projects that you have and are contributing to | |
2021-08-14 15:18:49 @mbuf Your work, by itself, will reflect on your calibre. Once, you have this in place, it will help attract companies who are interested in hiring you | |
2021-08-14 15:19:44 @mbuf By creating this portfolio of yours, you also create a name for yourself, and it helps in your branding | |
2021-08-14 15:20:29 @mbuf When people start noticing your work, you |
This file contains 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
(umask 0; python -c 'import os; os.open("test", os.O_CREAT)'; ls -l test) |
This file contains 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
2021-07-10 15:05:22 mohan43u-we hi all | |
2021-07-10 15:05:39 mohan43u-we welcome to ILUGC july month meet for the year 2021 | |
2021-07-10 15:06:06 mohan43u-we Im mohan | |
2021-07-10 15:06:24 mohan43u-we the first talk is about rootless containers | |
2021-07-10 15:06:41 mohan43u-we lets first talk about containers | |
2021-07-10 15:07:07 mohan43u-we to learn containers, we need to first learn about an old command called chroot | |
2021-07-10 15:07:52 mohan43u-we if you read 'man chroot' you will learn how it changes the root directory of a process | |
2021-07-10 15:08:14 mohan43u-we every process have a root file system view (the word view is important) | |
2021-07-10 15:08:56 mohan43u-we normally in unix, every process see root as same | |
2021-07-10 15:09:41 mohan43u-we I hope everyone joined to this meet can see my terminal either through https://meet.ilugc.in or trough jitsi |
This file contains 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
FROM alpine | |
RUN echo -e '#!/bin/sh\n\ | |
apk update\n\ | |
apk upgrade\n\ | |
apk add python3\n\ | |
mkdir -p /var/www/helloworld\n\ | |
echo "<html><head><title>Hello World</title><body><h3>Hello World</h3></body></html>" >/var/www/helloworld/index.html' >/tmp/script &&\ | |
chmod 755 /tmp/script &&\ | |
/tmp/script |
This file contains 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
;; ta-remington.mim -- Tamil input method for Remington typewriter layout | |
;; Copyright (c) 2021 Mohan R, Kaniyam Foundation <https://kaniyam.com>. All Rights Reserved. | |
;; This file is part of the m17n contrib; a sub-part of the m17n | |
;; library. | |
;; The m17n library is free software; you can redistribute it and/or | |
;; modify it under the terms of the GNU Lesser General Public License | |
;; as published by the Free Software Foundation; either version 2.1 of | |
;; the License, or (at your option) any later version. |
This file contains 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
2021-06-12 15:06:43 mohan43u-we systemd-networkd is part of systemd framework | |
2021-06-12 15:07:01 mohan43u-we systemd is the init system in modern linux | |
2021-06-12 15:07:30 mohan43u-we apart from init functionality, systemd is capable of doing lot of other things in order to make a linux os usable | |
2021-06-12 15:07:46 mohan43u-we one of that functionality is to configure network interface | |
2021-06-12 15:08:16 mohan43u-we you can configure a network interface through many ways | |
2021-06-12 15:08:55 mohan43u-we as you see in the presenter terminal (in https://meet.ilugc.in), the command 'ip link' will show all the currently available network interfaces | |
2021-06-12 15:09:16 mohan43u-we there are physical interfaces as well as virtual network interfaces | |
2021-06-12 15:09:37 mohan43u-we you can configure a network interface either static or dynamic | |
2021-06-12 15:10:29 mohan43u-we as you see in the presenter terminal, I'm currently showing details about one physical network interface called eth0 | |
2021-06-12 15:10:49 mohan |
NewerOlder