This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(setq delete-old-versions -1 ) ; delete excess backups silently | |
(setq version-control t ) | |
(setq vc-make-backup-files t ) | |
(setq vc-follow-symlinks t ) | |
(setq backup-directory-alist `(("." . "~/.emacs.d/backups")) ) | |
(setq auto-save-file-name-transforms '((".*" "~/.emacs.d/auto-save-list/" t)) ) | |
(setq inhibit-startup-screen t ) | |
(setq ring-bell-function 'ignore ) ; silent bell on mistakes | |
(setq coding-system-for-read 'utf-8 ) | |
(setq coding-system-for-write 'utf-8) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" | |
Created on Fri Jul 28 23:56:40 2017 | |
@author: Dustin Fontaine | |
""" | |
# tripadvisor Scrapper - use this one to scrape hotels | |
# importing libraries |
I hereby claim:
- I am najibninaba on github.
- I am najib (https://keybase.io/najib) on keybase.
- I have a public key whose fingerprint is E626 F94B 9C8B 8599 D069 690C 91D6 875E E57A 2695
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Provision Windows 2012 and Ubuntu 14.04 TLS servers from scratch using Powershell | |
# ----- Common Section | |
# Set the resource group name and location | |
$resourceGroup = "psod-iaas" | |
$location = "Southeast Asia" | |
# Logs into Azure and get the credentials for executing this in Azure. | |
Login-AzureRmAccount |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defaults: bootstrap buildout | |
bootstrap: | |
python bootstrap.py -d | |
buildout: | |
bin/buildout | |
clean: | |
git clean -xdf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Source: https://gist.github.com/najibninaba/5062153 | |
# | |
# This script installs Boto in Pythonista. Run this script in your root folder and it will download and install Boto along with its | |
# dependencies. To use Boto, be sure to add boto-module in your sys.path before importing boto like so: | |
# import sys; sys.path.append('boto-module') | |
# import boto.ec2 | |
# | |
# Credits: | |
# This script is inspired by omz's Evernote Installer script: https://gist.github.com/omz/5048588 | |
# |