Skip to content

Instantly share code, notes, and snippets.

View moronkreacionz's full-sized avatar
🤓
I may respond next month.

moronkreacionz moronkreacionz

🤓
I may respond next month.
View GitHub Profile
@moronkreacionz
moronkreacionz / Args.ipynb
Created September 24, 2018 09:32 — forked from gbishop/Args.ipynb
Allow arguments to be passed to notebooks via URL or command line.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@moronkreacionz
moronkreacionz / toggle-show-hide-code.ipynb
Created September 4, 2018 15:27
Jupyter toggle show hide code
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@moronkreacionz
moronkreacionz / gist:2a298aa0aa90cb7df050c5e4dceba43e
Last active August 28, 2018 13:07
Steps to BUILD a Docker Image
## Build a docker image
- Make sure you are in the folder that contains the `Dockerfile`
- If your folder is `/my-docker-image-name/`, these 3 files should be in your folder:
...
/my-docker-image
|
|---Dockerfile
|---Readme.md
|---requirements.txt
@moronkreacionz
moronkreacionz / vimrc.file
Created August 28, 2018 13:04
Ideal configurations for VimRC
cat .vimrc
" ================ Turn on syntax highlighting
syntax on
" ================ For plugins to load correctly
filetype plugin indent on
" ================ Show line numbers
set number
@moronkreacionz
moronkreacionz / remote-rsyslog.go
Created July 13, 2016 11:26 — forked from giefferre/remote-rsyslog.go
Using a remote rsyslog in Golang
package main
import (
"log"
"log/syslog"
)
func main() {
logwriter, e := syslog.Dial("tcp","123.123.123.123:12345", syslog.LOG_DEBUG, "your.software.identifier")
if e != nil {
@moronkreacionz
moronkreacionz / focus-on-self-shell-script.txt
Last active June 30, 2016 09:31
focus-on-self-shell-script
## ##
cat ~moronkreacionz/bin/focusonself
-- start
#!/bin/sh
cp -f /etc/hosts_backup_on.0 /etc/hosts_backup_on.1
cp -f /etc/hosts /etc/hosts_backup_on.0
cat /etc/template_blocking_hosts >> /etc/hosts
-- end
## ##
@moronkreacionz
moronkreacionz / Fail2Ban-all-status-check.txt
Last active June 23, 2016 13:47
Fail2Ban All Status Check
#!/bin/bash
JAILS=`fail2ban-client status | grep "Jail list" | sed -E 's/^[^:]+:[ \t]+//' | sed 's/,//g'`
for JAIL in $JAILS
do
fail2ban-client status $JAIL
done
@moronkreacionz
moronkreacionz / gui+ssh.txt
Created February 3, 2016 14:05
GUI over SSH
cat ~/.ssh/config
Host 10.x.x.x
Compression yes
ForwardX11 yes
Ciphers blowfish-cbc,arcfour
@moronkreacionz
moronkreacionz / front-end-web-design-free-resources.txt
Created February 2, 2016 18:12
Font, Icons, Stock Photos - free resources
Font, Icons, Stock Photos - free resources, everything else is free, and this link shall be updated regularly.
Follow the link: https://balapastudio.co/frontendlist/resources.php
Stock Photos
* Unsplash
* Gratisography
* Super Famous
* Moveast
* Travel Coffee Book
@moronkreacionz
moronkreacionz / awesome-collections.txt
Last active February 2, 2016 18:05
Curated List of Awesome Collections
https://github.com/sindresorhus/awesome