Skip to content

Instantly share code, notes, and snippets.

View rajeshhazari's full-sized avatar

Rajesh Hazari rajeshhazari

View GitHub Profile
@nvtienanh
nvtienanh / deployment.yaml
Created July 11, 2023 14:33
Manifest to deploy Jenkins on K8s
apiVersion: apps/v1
kind: Deployment
metadata:
name: jenkins
namespace: jenkins
spec:
selector:
matchLabels:
app: jenkins
template:
@torrespro
torrespro / Dockerfile
Created December 28, 2021 12:50
A #docker container that runs #Java webserver ('jwebserver' command line tool in #jdk18) to serve javadoc. Note the use of #jlink tool to create minimal JRE with just the jdk.httpserver module + its transitive dependencies. Credit to: https://twitter.com/sundararajan_a/status/1473465961818701824
FROM openjdk:18-jdk-oraclelinux8 as build
#minimum jre image for webserver
RUN jlink --add-modules jdk.httpserver --output java_http
RUN curl \
https://download.oracle.com/otn_software/java/jdk/17.0.1+12/2a2082e5a09d4267845be086888add4f/jdk-17.0.1_doc-all.zip \
--output docs.zip && \
jar xvf docs.zip
@alexkilgour
alexkilgour / kidstodo.md
Last active March 11, 2025 12:12
Stuff for kids to do online during lockdown

Online resources:

  • BrainPop
  • Curiosity Stream
  • Tynker
  • Outschool
  • Udemy
  • iReady
  • Beast Academy (Math)
  • Khan Academy
  • Creative Bug
@kvnxiao
kvnxiao / awesome-selfhosted-sorted-by-stars.md
Last active April 5, 2025 09:44
awesome-selfhosted-sorted-by-stars.md

Awesome-Selfhosted

Awesome

Selfhosting is the process of locally hosting and managing applications instead of renting from SaaS providers.

This is a list of Free Software network services and web applications which can be hosted locally. Non-Free software is listed on the Non-Free page.

See Contributing.

@HugoGresse
HugoGresse / FFMPEG command meetup.md
Last active March 19, 2024 18:57
FFMPEG personal list to cut & normalize video

Setup

brew install ffmpeg

Normalize audio in place (easiest solution) EBU R128

pip install ffmpeg-normalize
ffmpeg-normalize input.mp4 -o output.mp4 -c:a aac -b:a 192k --progress
@Venkateshwaran
Venkateshwaran / index.html
Last active April 20, 2024 16:14
Simple Wiki Search Using AngularJS, WebAPI (Speech recognition) and WikiAPI
<div ng-app="smartWiki" ngcloak>
<div ng-controller="WikiCtrl">
<div class="container">
<br>
<br>
<br><br>
<br>
<br>
<h1 class="header strong center blue-text">Sm<i class="material-icons medium">search</i>rt Wiki</h1>
@satnami
satnami / openvpn-install.sh
Created September 1, 2016 04:21
wget https://git.io/vpn -O openvpn-install.sh && bash openvpn-install.sh
#!/bin/bash
# OpenVPN road warrior installer for Debian, Ubuntu and CentOS
# This script will work on Debian, Ubuntu, CentOS and probably other distros
# of the same families, although no support is offered for them. It isn't
# bulletproof but it will probably work if you simply want to setup a VPN on
# your Debian/Ubuntu/CentOS box. It has been designed to be as unobtrusive and
# universal as possible.
@stickystyle
stickystyle / Example Dockerfile
Last active January 13, 2021 03:52
Simple script to configure apt to use a squid-deb-proxy server configured at the _apt-proxy._tcp SRV record for the configured search domain
#just put this in your Dockerfile prior to doing any apt-get operations and your build will use the proxy
FROM ubuntu:14.04
RUN apt-get install -y --no-install-recommends dnsutils
ADD squid-deb-proxy-discover-setup.sh /root/
RUN /root/squid-deb-proxy-discover-setup.sh