Skip to content

Instantly share code, notes, and snippets.

View sritasngh's full-sized avatar
😎

Sarita Singh sritasngh

😎
View GitHub Profile
@sritasngh
sritasngh / xbasic
Last active October 31, 2021 09:11
## steps
- download miniconda https://repo.anaconda.com/miniconda/Miniconda3-py38_4.10.3-Linux-x86_64.sh
- https://conda.io/projects/conda/en/latest/user-guide/install/linux.html#installing-on-linux
- create a virual env `conda create -n vbasic`
- `conda activate vbasic`
- `conda install -c conda-forge jupyter xeus xtl nlohmann_json cppzmq`
- `mkdir build && cd build`
- `cmake .. -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX`
- `make`
job_pk job_queued job_priority job_email_notify job_name job_upload_fk job_folder_fk job_user_fk job_group_fk
5 2021-07-23 20:18:52 0 wget 5 3 3
@ritik-malik
ritik-malik / docker_cheatsheet.md
Created June 26, 2021 18:55
A simple cheatsheet for docker
© 1996 Jane Doe
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
{
"headers": [
{
"tool_name": "scancode-toolkit",
"tool_version": "21.3.31",
"options": {
"input": [
"mit.txt"
],
"--copyright": true,
<?xml version="1.0" encoding="UTF-8"?>
<sbml level="3" version="1" xmlns="http://www.sbml.org/sbml/level3/version1/core">
<model extentUnits="mole" timeUnits="second">
<listOfUnitDefinitions>
<unitDefinition id="per_second">
<listOfUnits>
<unit kind="second" exponent="-1" scale="0" multiplier="1"/>
</listOfUnits>
</unitDefinition>
<unitDefinition id="litre_per_mole_second">

Google Summer of Code 2020 Report

Organisation : AboutCode

Project Title : Enhancement of VulnerableCode

Quick primer on VulnerableCode VulnerableCode is Django project which aggregates data about software vulnerabilities from multiple sources and transforms it into an easy to use format.

Things acheived in GSoC

// Interfacing Arduino with DHT11 humidity and temperature sensor
// include LCD library code
#include <LiquidCrystal.h>
// include DHT library code
#include "DHT.h"
#define DHTPIN 8 // DHT11 data pin is connected to Arduino pin 8
// LCD module connections (RS, E, D4, D5, D6, D7)
LiquidCrystal lcd(7, 6, 5, 4, 3, 2);
#define DHTTYPE DHT11 // DHT11 sensor is used
DHT dht(DHTPIN, DHTTYPE); // Initialize DHT library
@evantoli
evantoli / GitConfigHttpProxy.md
Last active April 29, 2025 14:42
Configure Git to use a proxy

Configure Git to use a proxy

In Brief

You may need to configure a proxy server if you're having trouble cloning or fetching from a remote repository or getting an error like unable to access '...' Couldn't resolve host '...'.

Consider something like:

{
".123" : "application/vnd.lotus-1-2-3",
".3dml" : "text/vnd.in3d.3dml",
".3g2" : "video/3gpp2",
".3gp" : "video/3gpp",
".a" : "application/octet-stream",
".aab" : "application/x-authorware-bin",
".aac" : "audio/x-aac",
".aam" : "application/x-authorware-map",
".aas" : "application/x-authorware-seg",