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 | |
# | |
# Description : Git Server | |
# Author : Jose Cerrejon Gonzalez (ulysess@gmail_dot._com) | |
# Version : 0.1 (2/Nov/14) | |
# | |
# HELP · http://www.instructables.com/id/GitPi-A-Private-Git-Server-on-Raspberry-Pi/all/?lang=es | |
# | |
clear | |
IP=$(hostname -I) |
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 | |
# | |
# Description : Git Server | |
# Author : Jose Cerrejon Gonzalez (ulysess@gmail_dot._com) | |
# Version : 1.0 (2/Nov/14) | |
# | |
# HELP · http://www.instructables.com/id/GitPi-A-Private-Git-Server-on-Raspberry-Pi/all/?lang=es | |
# | |
clear | |
IP=$(/sbin/ifconfig eth0 | grep "inet addr" | awk -F: '{print $2}' | awk '{print $1}') |
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
//Download and install widget loader : https://github.com/FokkeZB/nl.fokkezb.loading | |
Alloy.Globals.loading = Alloy.createWidget("nl.fokkezb.loading"); |
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 -ex | |
# | |
# Description : Vulkan driver (EXPERIMENTAL) | |
# Author : Jose Cerrejon Gonzalez (ulysess@gmail_dot._com) | |
# Version : 1.0.0 (14/Jul/20) | |
# Compatible : Raspberry Pi 4 | |
# | |
# Info : Thks to PI Labs | |
# Help : https://ninja-build.org/manual.html#ref_pool | |
# : https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=276412&start=25#p1678723 |
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 | |
# | |
# Description : Box86 | |
# Author : Jose Cerrejon Gonzalez (ulysess@gmail_dot._com) | |
# Version : 1.0.0 (05/Nov/20) | |
# Repository : https://github.com/ptitSeb/box86 | |
# | |
clear | |
readonly INSTALL_DIR="$HOME/box86" |
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 | |
# | |
# Description : Install Mesa/Vulkan | |
# Author : Jose Cerrejon Gonzalez (ulysess@gmail_dot._com) | |
# Version : 1.0.0 (06/Nov/20) | |
# Repository : git://anongit.freedesktop.org/mesa/mesa | |
# | |
clear | |
readonly INSTALL_DIR="$HOME/mesa" |
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
const win = Ti.UI.createWindow({ | |
backgroundImage: '/images/background_bubles.png', | |
backgroundRepeat: false, | |
}); | |
const lbTitle = Ti.UI.createLabel({ | |
color: '#7C34C6', | |
font: { | |
fontSize: 32, | |
}, |
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/bash | |
# | |
# Description: Zip the current Titanium project on macOS | |
# File: backup.sh | |
# Author: Jose Cerrejon (ulysess_at_gmail.com) | |
# Help: Copy in the root of your Titanium project and Add to package.json the script: "backup": "sh backup.sh", | |
# | |
clear | |
stop_liveview() { |
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
# brew install curl jq | |
# More info at: https://docs.github.com/en/rest/reference/repos#list-forks | |
repo_info() { | |
if [[ $1 == "" ]]; then | |
echo "Please, input a repo. Ex: jmcerrejon/pikiss" | |
return 0 | |
fi | |
curl -H 'Accept: application/vnd.github.v3+json' \ | |
"https://api.github.com/repos/$1/forks?sort=newest" | # sort = newest, oldest, or stargazers | |
jq '.[] | {name: .full_name, updated: .updated_at, stars: .stargazers_count}' |
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 | |
# | |
# Intall Node.js (all versions) | |
# | |
install_node() { | |
local NODE_VERSION | |
if which node >/dev/null; then | |
read -p "Warning!: Node.js already installed (Version $(node -v)). Do you want to uninstall it (y/n)?: " option | |
case "$option" in |
OlderNewer