# install vagrant
brew install --cask vagrant
# install ansible
brew install ansible
brew install esolitos/ipa/sshpass
# install virtualbox but make sure it is virtualbox v6.1.26
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
#!/bin/bash | |
# Define the SDK directory path as a variable | |
SDK_DIR="/Users/selsk/Library/Android/sdk" | |
# Define the subdirectory containing the android project | |
PROJECT_DIR="/hero" | |
JAVA_HOME="/Users/selsk/Applications/Android Studio.app/Contents/jbr/Contents/Home" | |
# Function to search for 'hero' folders 2 directories deep and execute the required commands | |
search_and_execute() { |
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
#!/bin/bash | |
for zipFile in *.zip; do | |
fileName=$(basename "$zipFile" .zip) | |
echo "Extracting $zipFile..." | |
unzip -q "$zipFile" -d "$fileName" | |
newName=$(echo "$fileName" | cut -d '_' -f 1) | |
# Move the contents of the inner folder to the parent folder |
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
#!/usr/bin/env bash | |
cd INF101AB | |
while read repo; do | |
git clone "$repo" | |
done < ../INF101AB.txt | |
cd ../INF102AB | |
while read repo; do | |
git clone "$repo" |
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
#!/bin/sh | |
#change de URL of the repo | |
deployRepo=https://github.com/undefinedio/deveerman-trellis.git | |
bedrockRepo=https://github.com/undefinedio/deveerman-backend.git | |
tools=(trellis) #tool from roots.io | |
subtrees=(trellis) #folder structure for the tools | |
#init repo |
MANUAL for DXY-1350 and DXY-1150 http://emoc.org/materiel/plotter_roland_DXY-1200/UMDXY1350a.pdf
make sure you have xcode command line tools installed.
xcode-select --install
Install pstoedit
Via Brew: brew install pstoedit
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
<?xml version="1.0" encoding="utf-8"?> | |
<configuration> | |
<system.web> | |
<compilation debug="false" targetFramework="4.0"/> | |
</system.web> | |
<system.webServer> | |
<httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files"> | |
<scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll"/> | |
<dynamicTypes> | |
<add mimeType="text/css" enabled="true"/> |
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
web/app/themes/stash/bower | |
web/app/uploads | |
.idea | |
.env | |
.bowerrc | |
bower.json | |
Capfile* | |
Gemfile* | |
deploy.sh | |
deploy-ignore.txt |
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
var hostname = req.headers['x-forwarded-server']; | |
if (typeof hostname == "undefined") { | |
hostname = ( req.headers.host.match(/:/g) ) ? req.headers.host.slice(0, req.headers.host.indexOf(":")) : req.headers.host; | |
} |
If you just want to fix the issue quickly, scroll down to the "solution" section below.
If you're a Mac Homebrew user and you installed node via Homebrew, there is a major philosophical issue with the way Homebrew and NPM work together. If you install node with Homebrew and then try to do npm update npm -g
, you will see an error like this:
$ npm update npm -g
NewerOlder