Adding wifi connection without GUI for enterprise wifi like at universities/ offices with PEAP

Monday, Jan 1, 0001

# nmcli con add type wifi ifname wlan0 con-name CONNECTION_NAME ssid SSID # nmcli con edit id CONNECTION_NAME nmcli> set ipv4.method auto nmcli> set 802-1x.eap peap nmcli> set 802-1x.phase2-auth mschapv2 nmcli> set 802-1x.identity USERNAME nmcli> set 802-1x.password PASSWORD nmcli> set wifi-sec.key-mgmt wpa-eap nmcli> save nmcli> activate
@ rushi
1 minutes read
Automate Google forms without selenium

Automate Google forms without selenium

Monday, Jan 1, 0001

In the previous year, I had posted a script to fill google forms using selenium, and containerizing it with docker to run it parallelly. This is an alternative way to do the same using post requests. I had created a google form using the default template shown below. Which had fields like To get started we need to capture the request. I’ve used burp suite tool to capture, there are many alternative tools you can google.
@ rushi
2 minutes read
Compiling fceux on Debian 10 buster

Compiling fceux on Debian 10 buster

Monday, Jan 1, 0001

I came across this wonderful video https://www.youtube.com/watch?v=qv6UVOQ0F44. It took me into searching for its code to implement that. And here are a few. https://github.com/Mario-brows/Brows-Super-Mario https://github.com/lopatin96/Lua-SNES-GenNeurNetwork The main problem in them is they use BizHawk Emulator, which I was not successful in compiling for my debian OS, Its stable only for windows machines. Then I found its alternative fceux Which can handle lua scripts too!. The following steps are what I used to compile it successfully.
@ rushi
1 minutes read

My Thunderbird config

Monday, Jan 1, 0001

Why thunderbird? Opensource Can write and export email filters Extensions: Disable sort To quickly find all your filter setting files on Linux, run find ~/.thunderbird/ -name msgFilterRules.dat
@ rushi
1 minutes read
Not authorized to perform this operation

Not authorized to perform this operation

Monday, Jan 1, 0001

Sometimes, when using i3wm I get this error when mounting a partition. But it works for other des like gnome/cinnamon. Make sure polkit is installed. Loosen the polkit permissions in your system to allow your normal user to mount devices by creating a file at /etc/polkit-1/localauthority/50-local.d/org.freedesktop.automount.plka (as root!) with the following content: [Allow Unauthorized mounting/Unmounting] Identity=unix-group:plugdev;cdrom Action=org.freedesktop.udisks2.filesystem-*;org.freedesktop.udisks2.eject* ResultAny=yes ResultInactive=yes ResultActive=yes You can loosen the polkit permissions in your system to allow your normal user to mount devices by creating a file at /etc/polkit-1/localauthority/50-local.
@ rushi
1 minutes read
RTL SDR notes

RTL SDR notes

Monday, Jan 1, 0001

We Need RTL SDR Dongle RTL SDR Software Computer SDR works by receiving a analogue radio signal and then using an analog to digital converter to digitalise the signal. The digitalised signal can then be worked in digital processing software. We need GQRX -> osx/ linux git clone https://github.com/csete/gqrx.git cd gqrx mkdir build cd build qmake .. make make install sudo apt-get update sudo apt install git cmake libusb-1.0-0.dev build-essential
@ rushi
3 minutes read

Running GUI apps from docker inside WSL2.0 as standalone application

Monday, Jan 1, 0001

Another day, again my anaconda crashed for no reason. I decided to never use python on windows without linux vm/ docker. I already had my own docker image created here https://hub.docker.com/repository/docker/rushichaudhari/zipline1.3.0/ but I wondered If I could use GUI in it, luckily I managed to do so. So here are the steps :- Pre-requirements: Windows 10 WSL For now, it is necessary to install a third-party App to run the GUI Apps, but Microsoft announced on //build 2020 that they will release soon an improvement that will not require any third-party component to run Linux GUI Apps on Windows Desktop.
@ rushi
3 minutes read

Setting up tigervncserver on arch linux (raspberry-pi)

Monday, Jan 1, 0001

Installing tigervnc sudo pacman -Ss tigervnc Editing the environment file ~/.vnc/xstartup functions like .xinitrc and it’s sourced by vncserver when being started. At a minimum, users should start a DE from this file. As an example, to start lxde, you’ll modify the file to: $nano ~/.vnc/xstartup #!/bin/bash exec lxde &>/dev/null The file should be executable: $ chmod +x ~/.vnc/xstartup Adding vncserver options $ nano ~/.vnc/config desktop=sandbox geometry=1920x1080 dpi=96 SecurityTypes=none Starting and stopping vncserver via systemd To control vncserver with systemd, first, create systemd unit file for the user
@ rushi
1 minutes read
SSD - things todo to save space on ssd C drive

SSD - things todo to save space on ssd C drive

Monday, Jan 1, 0001

Change cache location of Firefox You can do this by creating a new hidden preference. Type about:config into the location bar and press enter Accept the warning message that appears, you will be taken to a list of preferences Right-click somewhere in the list and select “New > String” For the name of the preference type browser.cache.disk.parent_directory For its value type the path to where you want to store the cache Next locate the preference browser.
@ rushi
1 minutes read

关于我

g1eny0ung 的 ❤️ 博客

记录一些 🌈 生活上,技术上的事

一名大四学生

马上(已经)毕业于 🏫 大连东软信息学院

职业是前端工程师

业余时间会做开源和 Apple App (OSX & iOS)

主要的技术栈是:

  • JavaScript & TypeScript
  • React.js
  • Electron
  • Rust

写着玩(写过):

  • Java & Clojure & CLJS
  • OCaml & Reason & ReScript
  • Dart & Swift

目前在 PingCAP 工作

– 2020 年 09 月 09 日更新

其他

如果你喜欢我的开源项目或者它们可以给你带来帮助,可以赏一杯咖啡 ☕ 给我。~

If you like my open source projects or they can help you. You can buy me a coffee ☕.~

PayPal

https://paypal.me/g1eny0ung

Patreon:

Become a Patron!

微信赞赏码

wechat

最好附加一下信息或者留言,方便我可以将捐助记录 📝 下来,十分感谢 🙏。

It is better to attach some information or leave a message so that I can record the donation 📝, thank you very much 🙏.