Skip to content

Instantly share code, notes, and snippets.

View LespiletteMaxime's full-sized avatar

LESPILETTE Maxime LespiletteMaxime

View GitHub Profile
@LespiletteMaxime
LespiletteMaxime / gist:9bc8cd4ec31148259b891afb03d7eb1e
Created February 5, 2018 13:44 — forked from joelennon/gist:4896ba84794a028137ef8be2f24eae09
Bookmarklet for highlighting all elements on a page (hat tip: @adamwathan)
javascript:(function(){var style=document.createElement('style');style.innerText='*{outline:1px solid red !important;';document.head.appendChild(style);})();
@LespiletteMaxime
LespiletteMaxime / spinner.txt
Created January 18, 2018 09:29 — forked from azlux/spinner.txt
spinner list for program
dots = ("⠋","⠙","⠹","⠸","⠼","⠴","⠦","⠧","⠇","⠏")
dots2 = ("⣾","⣽","⣻","⢿","⡿","⣟","⣯","⣷")
dots3 = ("⠋","⠙","⠚","⠞","⠖","⠦","⠴","⠲","⠳","⠓")
dots4 = ("⠄","⠆","⠇","⠋","⠙","⠸","⠰","⠠","⠰","⠸","⠙","⠋","⠇","⠆")
dots5 = ("⠋","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋")
dots6 = ("⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠴","⠲","⠒","⠂","⠂","⠒","⠚","⠙","⠉","⠁")
dots7 = ("⠈","⠉","⠋","⠓","⠒","⠐","⠐","⠒","⠖","⠦","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈")
dots8 = "⠁","⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈","⠈")
dots9 = ("⢹","⢺","⢼","⣸","⣇","⡧","⡗","⡏")
dots10 = ("⢄","⢂","⢁","⡁","⡈","⡐","⡠")
@LespiletteMaxime
LespiletteMaxime / dns_update.sh
Created January 18, 2018 09:29 — forked from azlux/dns_update.sh
Update script for my dnsmasq to remove add
#!/bin/bash
# Address to send ads to (the RPi)
piholeIP="127.0.0.1"
# Config file to hold URL rules
eventHorizion="/etc/dnsmasq.d/adList.conf"
echo "Getting yoyo ad list..."
curl -s -d mimetype=plaintext -d hostformat=unixhosts http://pgl.yoyo.org/adservers/serverlist.php? | sort > /tmp/matter.txt
@LespiletteMaxime
LespiletteMaxime / baller_motd.md
Created July 27, 2017 08:41 — forked from thcipriani/baller_motd.md
Using img2ponysay to create baller /etc/motd message

Update: I made this a proper blog post

Creating Baller/Useful MOTD Messages

Zangief MOTD

Prerequisites

  • linux box
<?php namespace App\Console\Commands;
use Illuminate\Console\Command;
use Illuminate\Support\Str;
class MakeAll extends Command
{
/**
* The name and signature of the console command.
*
@LespiletteMaxime
LespiletteMaxime / bash-cheatsheet.sh
Created March 22, 2016 12:51 — forked from LeCoupa/bash-cheatsheet.sh
Bash CheatSheet for UNIX Systems
#!/bin/bash
#####################################################
# Name: Bash CheatSheet for Mac OSX
#
# A little overlook of the Bash basics
#
# Usage:
#
# Author: J. Le Coupanec
# Date: 2014/11/04
@LespiletteMaxime
LespiletteMaxime / scopes.txt
Created March 1, 2016 14:51 — forked from iambibhas/scopes.txt
Sublime Text 2: Snippet scopes
Here is a list of scopes to use in Sublime Text 2 snippets -
ActionScript: source.actionscript.2
AppleScript: source.applescript
ASP: source.asp
Batch FIle: source.dosbatch
C#: source.cs
C++: source.c++
Clojure: source.clojure
CoffeeScript: source.coffee
@LespiletteMaxime
LespiletteMaxime / cisco-ios-image-for-gns3.md
Created February 8, 2016 15:00
Cisco IOS Image for GNS3

Download FREE Cisco IOS image for GNS3

Hi dear all, that’s really a great to share my hard work with you , After a lots of hit in Google I finally found trick to search Cisco IOS in free of course. So without talking much here are the link where you can free download Cisco ios image and you can upload or use this ios to the router and as well as in GNS3.

Small Collection of IOS Images.

  • ftp://ftp.unikon-ua.net/pub/Cisco/IOS/

{Updated}Big Collection of IOS Images (Almost All Cisco IOS Images)

  • ftp://62.117.115.92/upload/ios/
@LespiletteMaxime
LespiletteMaxime / chrome-cache-recovery.js
Last active September 6, 2015 09:03 — forked from whatnickcodes/chrome-cache-recovery.js
Quick and dirty script to recover images from chrome cache. Just paste this into your console to automatically download all Scotch.io cached images
// Open chrome://cache/ and paste the following script in the console. Feel free to edit the filter variable
var filter = /cask\.scotch\.io(.)*\.(jpg|jpeg|png|gif)/g;
/*! jQuery v2.1.4 | (c) 2005, 2015 jQuery Foundation, Inc. | jquery.org/license */
!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l=a.document,m="2.1.4",n=function(a,b){return new n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,b){return b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);retu
@LespiletteMaxime
LespiletteMaxime / .bash_profile
Last active August 29, 2015 14:26 — forked from JeffreyWay/.bash_profile
Prettier git logs
alias gl="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"