Skip to content

Instantly share code, notes, and snippets.

View ksinkar's full-sized avatar
🐧

Koustubh Sinkar ksinkar

🐧
  • Berlin
View GitHub Profile
@ksinkar
ksinkar / setup_WPA2_with_hidden_SSID.md
Created March 4, 2023 09:05 — forked from zhanglongqi/setup_WPA2_with_hidden_SSID.md
Connect to WPA2 Personal with hidden SSID using command line on Linux

This command will add your network parameters to the configuration file of wpa_supplicant

sudo -s
wpa_passphrase YOUR_SSID YOUR_PASSWORD >> /etc/wpa_supplicant/wpa_supplicant.conf

If the SSID of the network is hidden additional step need to be done:

sudo vim /etc/wpa_supplicant/wpa_supplicant.conf

Update what you just added scan_ssid=1 in your network parameters, such as from

@ksinkar
ksinkar / vpn.md
Created November 8, 2022 23:11 — forked from joepie91/vpn.md
Don't use VPN services.

Don't use VPN services.

No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.

Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.

  • A Russian translation of this article can be found here, contributed by Timur Demin.
  • A Turkish translation can be found here, contributed by agyild.
  • There's also this article about VPN services, which is honestly better written (and has more cat pictures!) than my article.
@ksinkar
ksinkar / keybase.md
Created October 14, 2019 05:28
Keybase Identifier

Keybase proof

I hereby claim:

  • I am ksinkar on github.
  • I am ksinkar (https://keybase.io/ksinkar) on keybase.
  • I have a public key ASAApjDWjHZ1HEmlPFHIDYh0v4nkiEfWgGZHMaHdpU1H1go

To claim this, I am signing this object:

@ksinkar
ksinkar / braking.md
Created March 3, 2019 09:42
Fahrschule

Braking

Standard Braking Distance

  • DE: (Geschwindigkeit / 10) * (Geschwindigkeit / 10)
  • EN: (Speed / 10) * (Speed / 10)

Evasive (Emergency) Braking Distance

  • DE: ((Geschwindigkeit / 10) * (Geschwindigkeit / 10)) / 2
  • EN: ((Speed / 10) * (Speed / 10)) / 2
@ksinkar
ksinkar / gist:68181531b41ce69c7e04ff26735d14d4
Created November 8, 2016 11:11
cmake errors for cpp-ethereum
CMake Error in eth/CMakeLists.txt:
Target "web3jsonrpc" contains relative path in its
INTERFACE_INCLUDE_DIRECTORIES:
"MHD_INCLUDE_DIR-NOTFOUND"
CMake Error in eth/CMakeLists.txt:
Target "web3jsonrpc" contains relative path in its
INTERFACE_INCLUDE_DIRECTORIES:
@ksinkar
ksinkar / rvm_global_uninstall.sh
Created February 12, 2013 11:33
This shell script uninstalls rvm that has been install for multiuser installations using the installation script https://gist.github.com/ksinkar/4760796
#!/bin/bash
# Copyright(C) 2012 Koustubh Sinkar
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
@ksinkar
ksinkar / rvm_global_installation.sh
Last active December 12, 2015 10:39
This script is simple way of configuring an rvm multiuser installation.
#!/bin/bash
# Copyright(C) 2012 Koustubh Sinkar
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
Information is power. But like all power, there are those who want to keep it for themselves. The world’s entire scientific and cultural heritage, published over centuries in books and journals, is increasingly being digitized and locked up by a handful of private corporations. Want to read the papers featuring the most famous results of the sciences? You’ll need to send enormous amounts to publishers like Reed Elsevier.
There are those struggling to change this. The Open Access Movement has fought valiantly to ensure that scientists do not sign their copyrights away but instead ensure their work is published on the Internet, under terms that allow anyone to access it. But even under the best scenarios, their work will only apply to things published in the future. Everything up until now will have been lost.
That is too high a price to pay. Forcing academics to pay money to read the work of their colleagues? Scanning entire libraries but only allowing the folks at Google to read them? Providing scientific a
@ksinkar
ksinkar / deploy.rake
Created December 11, 2012 05:42
This rake task is for deploying your Ruby on Rails app to heroku
######################################################################################
##### Copyright(C) Koustubh Sinkar <[email protected]> #####
##### #####
##### This program 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 of the #####
##### License, or (at your option) any later version. #####
##### #####
##### This program is distributed in the hope that it will be useful, #####
##### but WITHOUT ANY WARRANTY; without even the implied warranty of #####
@ksinkar
ksinkar / pg_backups_data_transfer.rake
Created October 17, 2012 08:56
This rake task is used for downloading the Postgres databackup of a Heroku app. The Heroku db:pull doesn't seem to be working due to some taps gem versioning problem. Also this rake task works faster for restoring your databases from the Heroku pgbackups
######################################################################################
##### Copyright(C) Koustubh Sinkar <[email protected]> #####
##### #####
##### This program 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 of the #####
##### License, or (at your option) any later version. #####
##### #####
##### This program is distributed in the hope that it will be useful, #####
##### but WITHOUT ANY WARRANTY; without even the implied warranty of #####