Skip to content

Instantly share code, notes, and snippets.

View michaeljymsgutierrez's full-sized avatar
:octocat:
I'm just a developer for fun ⌨️

Chael Gutierrez michaeljymsgutierrez

:octocat:
I'm just a developer for fun ⌨️
View GitHub Profile
https://drive.google.com/file/d/1_ZRwIuEw1OjKBws-FARfMe--4fE5thiq/view?usp=sharing
@michaeljymsgutierrez
michaeljymsgutierrez / blank.kml
Created July 2, 2021 07:16
Example blank kml file for google kml
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document>
<!-- Please change the "Location name here" -->
<name>Location name here</name>
<Style id="poly-000000-2000-77-nodesc-normal">
<LineStyle>
<color>ff000000</color>
<width>2</width>
</LineStyle>
# deb cdrom:[Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731)]/ focal main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://ph.archive.ubuntu.com/ubuntu/ focal main restricted
# deb-src http://ph.archive.ubuntu.com/ubuntu/ focal main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://ph.archive.ubuntu.com/ubuntu/ focal-updates main restricted
# deb-src http://ph.archive.ubuntu.com/ubuntu/ focal-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
@michaeljymsgutierrez
michaeljymsgutierrez / fix-source.sh
Created November 24, 2020 02:13
19.04 source list fix
#! /bin/bash
sudo sed -i -e 's/archive.ubuntu.com\|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
grep -E 'archive.ubuntu.com|security.ubuntu.com' /etc/apt/sources.list.d/*
sudo apt-get update
@michaeljymsgutierrez
michaeljymsgutierrez / set-icon.sh
Last active March 17, 2024 11:55
Set icon on window and panel - xseticon
#! /bin/bash
# @params $1: APP_NAME
# @params $2: ICON_PATH
# set-icon.sh Slack /usr/share/pixmaps/slack.png
# Note: Make sure xseticon is installed on your system
# If not installed: https://github.com/xeyownt/xseticon
# Either/usr/bin or /usr/local/bin is fine for script directory
# sudo cp set-icon.sh /usr/bin
@michaeljymsgutierrez
michaeljymsgutierrez / nodejs-mongodb.sh
Last active June 28, 2020 13:07
Script for installing NodeJS and MongoDB on Linux (Ubuntu Distro)
#! /bin/bash
# Install NVM - Node Version Manager
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
# Reload bash
source ~/.bashrc
# Install NodeJS
nvm install v12.18.1
# Requires python 3
import scipy as sp
import sympy as sym
x = sym.symbols('x')
expression = input('Enter Expression: ')
transform = sym.diff(expression);
init_transform = str(transform)
RewriteEngine On
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -f [OR]
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -d
RewriteRule ^ - [L]
RewriteRule ^ /index.html
@michaeljymsgutierrez
michaeljymsgutierrez / .htaccess
Last active January 7, 2020 10:23
.htaccess v2
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^index\.html$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.html [L]
</IfModule>
- mobile
max-width: 800px - 1
- mobile-small
max-width: 320px
- desktop
min-width: 800px
- desktop-tiny