Skip to content

Instantly share code, notes, and snippets.

View bkrajendra's full-sized avatar
🎯
Focusing

Rajendra bkrajendra

🎯
Focusing
View GitHub Profile
We can make this file beautiful and searchable if this error is corrected: It looks like row 7 should actually have 8 columns, instead of 5 in line 6.
Name Vendor Architecture Repository Boards Manager URL Repository Data Folder Branch Name Notes
Adafruit AVR Boards adafruit avr https://github.com/adafruit/Adafruit_Arduino_Boards https://adafruit.github.io/arduino-board-index/package_adafruit_index.json / master
Adafruit nRF52 adafruit nrf52 https://github.com/adafruit/Adafruit_nRF52_Arduino https://adafruit.github.io/arduino-board-index/package_adafruit_index.json / master
Adafruit SAMD Boards adafruit samd https://github.com/adafruit/ArduinoCore-samd https://adafruit.github.io/arduino-board-index/package_adafruit_index.json / master
Adafruit TeeOnArdu TeeOnArdu avr https://github.com/adafruit/TeeOnArdu https://adafruit.github.io/arduino-board-index/package_adafruit_index.json / master
Adafruit WICED adafruit wiced https://github.com/adafruit/Adafruit_WICED_Arduino https://adafruit.github.io/arduino-board-index/package_adafruit_index.json / master
Adelino AVR Boards adelino avr https://github.com/neoautus/Adelino http://cdn.adelino.cc/downloads/packag
@mrk-han
mrk-han / emulator-install-using-avdmanager.md
Last active November 7, 2024 04:51
Installing and creating Emulators with AVDMANAGER (For Continuous Integration Server or Local Use)

Install and Create Emulators using AVDMANAGER and SDKMANAGER

TL;DR

For an emulator that mimics a Pixel 5 Device with Google APIs and ARM architecture (for an M1/M2 Macbook):

  1. List All System Images Available for Download: sdkmanager --list | grep system-images

  2. Download Image: sdkmanager --install "system-images;android-30;google_atd;arm64-v8a"

@anujdeshpande
anujdeshpande / list.md
Last active October 9, 2023 17:03
Indian e-commerce stores for getting electronic components and modules
@phillipuniverse
phillipuniverse / Dockerfile
Created July 26, 2018 13:25
Spring Boot exectuable jar Dockerfile with JAVA_OPTS, debugging and JRebel support
# Used as a base image that other Spring Boot-based
# docker containers can be based off of. Example dependent Dockerfile:
#
# FROM <this-image>
# ADD target/myjar.jar /app.jar
#
# Alternatively, you can modify this file to use a build arg:
# ...
# ...
# ARG JAR_FILE
@kevin-lee
kevin-lee / JProfiler-with-Docker.md
Created August 10, 2016 15:55
JVM Profiler with Docker

JProfiler with Docker

Docker

DockerFile

DockerFile should have JProfiler installation.

RUN wget <JProfiler file location> -P /tmp/ && \
  tar -xzf /tmp/<JProfiler file> -C /usr/local && \
  rm /tmp/<JProfiler file>
@ceilfors
ceilfors / cleanupUnusedWorkspaceInSlaves.groovy
Last active September 9, 2024 12:46
When you delete jobs in Jenkins, the corresponding workspaces in the build slaves won't be deleted automatically. This Jenkins script will go to each slave and check if the jobs are already deleted in Jenkins master and delete the workspace.
import com.cloudbees.hudson.plugins.folder.Folder
import hudson.FilePath
import jenkins.model.Jenkins
def boolean isFolder(String name) {
def item = Jenkins.instance.getItemByFullName(name)
return item instanceof Folder
}
def deleteUnusedWorkspace(FilePath root, String path) {
@anoochit
anoochit / esp8266-smart-config.ino
Created August 18, 2015 15:01
esp8266-smart-config
#include <ESP8266WiFi.h>
#include <WiFiUdp.h>
void setup() {
int cnt = 0;
// set for STA mode
WiFi.mode(WIFI_STA);
// put your setup code here, to run once:
@protrolium
protrolium / ffmpeg.md
Last active November 12, 2024 21:27
ffmpeg guide

ffmpeg

Converting Audio into Different Formats / Sample Rates

Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma

You can get the list of supported formats with:
ffmpeg -formats

You can get the list of installed codecs with:

@hcooper
hcooper / new-apache2-site.sh
Created February 7, 2011 11:03
Script to automate creating new apache2 virtual hosts
#! /bin/bash
# Script to automate creating new apache2 virtual hosts.
# Logs go in /var/log/apache2/$SN
# DocRt is /var/www-vhosts/$SN
# SN = shortname -- used for directory names etc.
# DN = domainname -- used only in apache config file
#
# H Cooper - 18/10/06
#