Skip to content

Instantly share code, notes, and snippets.

View saviour123's full-sized avatar

Saviour Gidi saviour123

View GitHub Profile
@saviour123
saviour123 / index.html
Created July 31, 2016 17:11 — forked from d3noob/index.html
leaflet.js map with line and options
<!DOCTYPE html>
<html>
<head>
<title>Simple Leaflet Map</title>
<meta charset="utf-8" />
<link
rel="stylesheet"
href="http://cdn.leafletjs.com/leaflet-0.7/leaflet.css"
/>
</head>
@saviour123
saviour123 / has_no_e.py
Last active February 18, 2016 11:48
This python script prints out all words that have no 'e' in them from the word.txt
The words.txt file is located here. Thnaks so much for your help so far.
http://www.greenteapress.com/thinkpython/code/words.txt
@saviour123
saviour123 / script.sh
Last active April 8, 2021 09:13
DB_Scripts
### MONGO
db.createUser({user: "mongo-admin", pwd: "password", roles:[{role: "root", db: "admin"}]})
mongo -u dsals -p --authenticationDatabase dbname
### Create MYSWL User and grant the user ready only.
create user 'username'@'%' identified by ‘password‘;
grant select, show view on database_name.* to 'username'@'%' identified by 'password';