Skip to content

Instantly share code, notes, and snippets.

Working from home

Jorge Morales morales2k

Working from home
View GitHub Profile
View gist:1951fd463cc364605beeda26d9097324
hieblmedia / php.bat
Created Dec 4, 2015
Dynamic PHP executabe for wampserver depend on current enabled version. [tested on Windows10 with Wampserver3_x86]
View php.bat
@REM This file detects the current enabled PHP version of wampserver ( and executes the enabled php.exe and all parameters are passed
@REM Copy this file to WAMPSERVERPATH\bin\php
@REM Now you can add WAMPSERVERPATH\bin\php to your Windows Environment-Variable "PATH". Now you can use "php" global. For example "php -v".
@REM You can show the current PHP version with "php -v"
@setlocal enableextensions enabledelayedexpansion
@echo off
set serverPath="%~dp0\..\.."
set file="!serverPath!\wampmanager.conf"
thesoftwarejedi /
Last active Sep 14, 2018
delete old slack files
import requests
import json
import calendar
from datetime import datetime, timedelta
#token from
_token = "YOUR TOKEN HERE"
if __name__ == '__main__':
sanand0 /
Last active Oct 28, 2016
Installing Gitlab
# Gitlab 5.1:
# Set up an AWS EC2 Ubuntu 12.04 LTS Server.
# Use ap-southeast-1b: spot pricing is smoother
# Log in as ubuntu@
sudo apt-get -y update
sudo apt-get -y upgrade
# Install the required packages.
You can’t perform that action at this time.