Skip to content

Instantly share code, notes, and snippets.

Avatar
😃
Happy

Srinivasan Ragothaman rsrini7

😃
Happy
View GitHub Profile
@gustavohenrique
gustavohenrique / lxd-snippets.md
Last active May 30, 2023 12:32
Basic commands to run LXD containers
View lxd-snippets.md

install

sudo snap install lxd && lxd init

Init

lxd init --preseed <<EOF
@gustavohenrique
gustavohenrique / archlinux.md
Last active April 14, 2023 23:23
Arch Linux installation and setup
View archlinux.md

Installation

loadkeys us-acentos

Network

Wireless connection

@ShawnHymel
ShawnHymel / tflite_sinewave_training.ipynb
Created March 18, 2020 17:42
TensorFlow Lite Sinewave Regression Training and Conversion
View tflite_sinewave_training.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bantya
bantya / setup-mysql-8.md
Created October 16, 2019 11:56
Setup MySQL 8
View setup-mysql-8.md
  1. Install MySQL-8.0 from [here].

  2. Open Terminal and go to /MySQL-8.0/bin directory.

  3. Run mysqld --initialize.

    This will initialize the mysql data directory at location specified in /MySQL-8.0/my.ini file; if not, it will initialize the data directory inside /MySQL-8.0/data.

  4. Run mysqld --console command.

@codeartistryio
codeartistryio / .gitignore
Last active June 17, 2019 05:28
JSON Server REST API Deployment
View .gitignore
# Logs
logs
*.log
npm-debug.log*
# Runtime data
pids
*.pid
*.seed
*.pid.lock
@OrenBochman
OrenBochman / !!android libraries.md
Last active September 13, 2018 03:19
android libraries and tools
View !!android libraries.md

Libraries Android - A quick reference guide

I generally try to avoid libraries and code I did not write/test but here is a quick refrence for:

Library Library Library
Android Annotations Buterknife Dagger2
EventBus FirbaseJobDispatcher Glide
Icepick JodaTime LeakCanary
ObjectBox OkHttpClient Moshi
@aquiseb
aquiseb / Go_Context.go
Last active September 12, 2022 19:54
Golang context package examples
View Go_Context.go
package main
import (
"bufio"
"context"
"fmt"
"log"
"os"
"time"
)
@vinzeebreak
vinzeebreak / nteract-tricks.md
Last active March 30, 2021 14:44
Make conda environments visible in nteract
View nteract-tricks.md

Nteract tricks

To add a conda environment to the list of environments:

$ source activate thisenv
(thisenv) $ pip install ipykernel
(thisenv) $ python -m ipykernel install --user --name thisenv
@mgeeky
mgeeky / check-proxy.py
Last active September 2, 2018 20:18
Windows Proxy Auto-detection and debugging script crafted by Juan Caillava (https://medium.com/@br4nsh/a-meterpreter-and-windows-proxy-case-4af2b866f4a1)
View check-proxy.py
import ctypes
import ctypes.wintypes
import sys
class WINHTTP_CURRENT_USER_IE_PROXY_CONFIG(ctypes.Structure):
_fields_ = [("fAutoDetect", ctypes.wintypes.BOOL),
("lpszAutoConfigUrl", ctypes.wintypes.LPWSTR),
("lpszProxy", ctypes.wintypes.LPWSTR),
("lpszProxyBypass", ctypes.wintypes.LPWSTR)]
@goeroeku
goeroeku / .bashrc.md
Last active October 18, 2020 12:12
All About Arch / Manjaro
View .bashrc.md

setting bashrc or bash_profile

location : ~./.bashrc | ~/.bash_profile
#
# ~/.bashrc
#

[[ $- != *i* ]] && return