Skip to content

Instantly share code, notes, and snippets.

#EXTM3U
#EXTINF:-1 tvg-logo="https://i.imgur.com/2OnFFoP.png" group-title="USA",Cheddar Business
https://live.chdrstatic.com/cheddar/primary/1.m3u8?fluxustv.m3u8
#EXTINF:-1 tvg-logo="https://i.imgur.com/xWVT3Dg.png" group-title="USA",Cheddar News
https://live.chdrstatic.com/cbn/primary/1.m3u8?fluxustv.m3u8
@changux
changux / psjson
Created September 4, 2018 02:06 — forked from aberezin/psjson
#! /usr/bin/env bash
# Use at own risk. License CC0 see https://creativecommons.org/publicdomain/mark/1.0/
# alanberezin.com
OPTIND=1 # Reset in case getopts has been used previously in the shell.
opt_stripclasspath=false
while getopts ":hc" opt; do
case "$1" in
-h | --help )
cat <<-EOF
@changux
changux / docker-compose.yml
Last active December 30, 2021 00:31 — forked from zahid/docker-compose.yml
A docker-compose setup for the jboss/drools-workbench-showcase and the jboss/kie-server-showcase images
version: '3'
services:
drools-wb:
container_name: drools-wb
image: jboss/drools-workbench-showcase:7.10.0.Final
ports:
- 8001:8001
- 28080:8080
@changux
changux / backup-gmail-account.sh
Created August 15, 2018 16:10
Script to execute a gmail backup and sync to another account
#!/bin/bash
# Add cron to execute every day
# 0 12 * * * cd ~/my/backup/script && ./backup-gmail-account.sh >> /var/log/script_output.log 2>&1
# sudo pip install gmvault
#
BACKUPMAIL=$HOME/gmvault-db
#
# Initial setup
if [ ! -d "$BACKUPMAIL" ]; then
/usr/local/bin/gmvault sync main-account@gmail.com # or gapps mail account
@changux
changux / excap.js
Created July 17, 2018 14:45 — forked from dexterlabora/excap.js
Cisco Meraki ExCap API for customer hosted WiFi captive portal - requires supporting HTML files for proper operation
// excap.js
// ################################################################
// Overview
// ################################################################
/*
External Captive Portal (ExCAP) for Cisco Meraki MR access points and MX security appliances.
This application provides a basic click-through and sign-on splash page where the login will complete on a success page.
@changux
changux / README.md
Created June 28, 2018 20:45 — forked from leonardofed/README.md
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.

OP: @leonardofed founder @ plainflow.


@changux
changux / gist:28e679bc4a40f2336d9b79cce7428d7d
Created June 27, 2018 17:40 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@changux
changux / jdk_download.sh
Created October 18, 2017 00:56 — forked from P7h/jdk_download.sh
Script to download JDK / JRE / Java binaries from Oracle website from terminal / shell / command line / command prompt
##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### #####
### Shell script to download Oracle JDK / JRE / Java binaries from Oracle website using terminal / command / shell prompt using wget.
### You can download all the binaries one-shot by just giving the BASE_URL.
### Script might be useful if you need Oracle JDK on Amazon EC2 env.
### Script is updated for every JDK release.
### Features:-
# 1. Resumes a broken / interrupted [previous] download, if any.
# 2. Renames the file to a proper name with including platform info.
alfred://customsearch/Splunk%20Answers/splunkanswers/utf8/noplus/https%3A%2F%2Fanswers.splunk.com%2Fsearch.html%3Ff%3D%26redirect%3Dsearch%252Fsearch%26sort%3Drelevance%26q%3D%7Bquery%7D%26type%3Dquestion
python setup.py install
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires' warnings.warn(msg)
running install
running build
running build_py
creating build
creating build/lib
creating build/lib/libmproxy
copying libmproxy/__init__.py -> build/lib/libmproxy