Skip to content

Instantly share code, notes, and snippets.

@elMestre
elMestre / metaeditor.ini
Created September 22, 2020 17:25 — forked from f6p/metaeditor.ini
MT4 Code Editor Monokai Theme
[Font]
Bold=700
FaceName=Consolas
Height=10
[Colors]
Color0=2304040
Color1=16119285
Color2=6255480
Color3=2963255
Color4=2304040
@elMestre
elMestre / monokai.tpl
Created September 22, 2020 17:24 — forked from f6p/monokai.tpl
MT4 Chart Monokai Theme
<chart>
id=130579271515642020
symbol=AUDUSD
period=240
leftpos=2364
digits=5
scale=8
graph=1
fore=0
grid=0
@elMestre
elMestre / configure.sh
Created April 15, 2019 21:56 — forked from lukicdarkoo/configure.sh
Raspberry Pi: AP + client mode
#!/bin/sh
# The script configures simultaneous AP and Managed Mode Wifi on Raspberry Pi Zero W (should also work on Raspberry Pi 3)
# Usage: curl https://gist.githubusercontent.com/lukicdarkoo/6b92d182d37d0a10400060d8344f86e4/raw | sh -s WifiSSID WifiPass APSSID APPass
# Licence: GPLv3
# Author: Darko Lukic <[email protected]>
# Special thanks to: https://albeec13.github.io/2017/09/26/raspberry-pi-zero-w-simultaneous-ap-and-managed-mode-wifi/
MAC_ADDRESS="$(cat /sys/class/net/wlan0/address)"
CLIENT_SSID="${1}"
CLIENT_PASSPHRASE="${2}"
@elMestre
elMestre / docker-destroy-all.sh
Created July 23, 2018 21:40 — forked from JeffBelback/docker-destroy-all.sh
Destroy all Docker Containers and Images
#!/bin/bash
# Stop all containers
docker stop $(docker ps -a -q)
# Delete all containers
docker rm $(docker ps -a -q)
# Delete all images
docker rmi $(docker images -q)
@elMestre
elMestre / flat-ui-colors.css
Created January 14, 2016 09:08 — forked from letanure/flat-ui-colors.css
Flat UI Colors ( http://flatuicolors.com/ ) using SASS, with lists, @for loops and nth list position
.aturquoise { background-color: #1abc9c; }
.emerald { background-color: #2ecc71; }
.peter-river { background-color: #3498db; }
.amethyst { background-color: #9b59b6; }
.wet-asphalt { background-color: #34495e; }
.green-sea { background-color: #16a085; }
.nephritis { background-color: #27ae60; }
.belize-hole { background-color: #2980b9; }
.wisteria { background-color: #8e44ad; }
.midnight-blue { background-color: #2c3e50; }
#!/bin/sh
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'
#!/usr/bin/env bash
# change to proper directory
cd /Applications/Google\ Drive.app/Contents/Resources/
# back up the files
sudo mkdir icon-backups
sudo cp mac-animate*.png icon-backups/
sudo cp mac-error*.png icon-backups/
sudo cp mac-inactive*.png icon-backups/