Skip to content

Instantly share code, notes, and snippets.

View hery84's full-sized avatar
๐Ÿ˜ด
Boring

Hery hery84

๐Ÿ˜ด
Boring
View GitHub Profile
@hery84
hery84 / sash
Last active July 22, 2021 14:52
#!/bin/sh
su administrador -c 'sudo dscl . -append /Groups/admin GroupMembership tomasher'
# Elastic Beanstalk Managed
# Elastic Beanstalk managed configuration file
# Some configuration of nginx can be by placing files in /etc/nginx/conf.d
# using Configuration Files.
# http://docs.amazonwebservices.com/elasticbeanstalk/latest/dg/customize-containers.html
#
# Modifications of nginx.conf can be performed using container_commands to modify the staged version
# located in /tmp/deployment/config/etc#nginx#nginx.conf
@hery84
hery84 / .bash_profile
Created January 11, 2017 14:27
bash_profile
# Setting PATH for Python 3.5
# The original version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.5/bin:${PATH}"
export PATH
emojis=(๐Ÿ’ฉ ๐Ÿ˜Ž ๐Ÿ‘ป ๐Ÿฃ ๐Ÿ’€ ๐Ÿƒ๐Ÿป โ˜ ๏ธ ๐Ÿ ๐Ÿ‘ฝ ๐Ÿ‘พ ๐Ÿ˜ฑ ๐Ÿค– ๐Ÿค˜๐Ÿป ๐Ÿ‹๐Ÿป ๐Ÿ‡ฒ๐Ÿ‡ฝ ๐Ÿ™Š ๐Ÿป โšฝ๏ธ ๐Ÿ™„ ๐Ÿฝ ๐Ÿ”ฅ โš“)
#emojis=(๐Ÿถ ๐Ÿบ ๐Ÿฑ ๐Ÿญ ๐Ÿน ๐Ÿฐ ๐Ÿธ ๐Ÿฏ ๐Ÿจ ๐Ÿป ๐Ÿท ๐Ÿฎ ๐Ÿต ๐Ÿผ ๐Ÿง ๐Ÿ ๐Ÿข ๐Ÿ™ ๐Ÿ  ๐Ÿณ ๐Ÿฌ ๐Ÿฅ)
emoji='`echo ${emojis[$RANDOM % 22]}`'
PS1="$emoji $ "
for filename in *.jpg; do mv "$filename" "e$filename"; done;
for file in *.JPG;
do
mv "$file" "${file%.JPG}.jpg"
done
@hery84
hery84 / .gitignore
Last active September 24, 2015 22:38
Android Studio .gitignore
# Built application files
*.apk
*.ap_
# Files for the Dalvik VM
*.dex
# Java class files
*.class
@hery84
hery84 / robot.js
Created December 6, 2012 18:46 — forked from ksipe/robot.js
Q
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.ahead(8);
@hery84
hery84 / robot.js
Created December 6, 2012 18:18
OverKill
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.rotateCannon(-30);