Skip to content

Instantly share code, notes, and snippets.

View sivaprabug's full-sized avatar
🏠

Sivaprabu Ganesan sivaprabug

🏠
View GitHub Profile
@joelrebel
joelrebel / openbmc-webui-proxy.md
Last active July 20, 2022 13:49
Proxy secure websocket connections (wss://)

Generate self signed certs openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /tmp/private/nginx-selfsigned.key -out /tmp/nginx-selfsigned.crt

Import self signed certs into browser (firefox)

# add the local nginx proxy as an exception,

Bitbake Cheatsheet

Verbose as possible

bitbake -vDDD your-recipe

List recipes

bitbake -s
@sergeyklay
sergeyklay / journalctl-cheatsheet.md
Last active October 26, 2024 00:11
Journalctl Cheat Sheet

Journalctl Cheat Sheet

Configuration

Permissions

To see messages from other users and the system as well as performing various log operations from a regular user add it to the group:

sudo usermod -aG systemd-journal $USER
@ericelliott
ericelliott / essential-javascript-links.md
Last active November 8, 2024 17:29
Essential JavaScript Links
@sivaprabug
sivaprabug / googleLineChart.php
Last active February 26, 2016 12:13
Line Chart using google chart API in PHP
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("visualization", "1", {packages:["corechart"]});
google.setOnLoadCallback(drawChart);
function drawChart() {
var data = google.visualization.arrayToDataTable([
['Year', 'AIDMK', 'DMK','INC','CPI','CPI-M','PMK','MDMK','DMDK'],
['1977', 130, 48, 27, 5 , 12, 0 , 0, 0 ],
['1980', 129, 37, 31, 9 , 11, 0, 0, 0 ],