Skip to content

Instantly share code, notes, and snippets.

View coco-napky's full-sized avatar

Brandon Napky coco-napky

  • Prosoft Nearshore
  • SPS, Honduras
View GitHub Profile
# int Fibonacci(int n) {
# if (n == 0 || n == 1) return n;
# else
# return Fibonacci(n - 1) + Fibonacci(n - 2); }
.data
.text
j main
.data
.text
j main
#-------------------------------int add()------------------------------------------------------------------------
_add :
add $v0, $a0, $a1
@coco-napky
coco-napky / .profile
Created January 12, 2016 14:00
.profile template - San Services
#Open /etc/apache2/mod_jk.conf in atom editor
alias edit_modjk='cd /etc/apache2/; atom mod_jk.conf'
#This alias reloads this file
alias reload_profile='. ~/.profile'
#Mac get stuck very often and are extremely slow and unstable on shutdowns. This forces a shutdown.
alias poweroff='sudo /sbin/shutdown -h now'
#Go to Applications/ColdFusion11/
@coco-napky
coco-napky / SCSS Flexbox Grid
Last active November 18, 2022 12:24
Scss grid system based on flexbox
//Credits to : http://codepen.io/absolutholz/post/flex-box-grid-with-sass-mixins
//for this awesome port of Kristopher Joseph's
//awesome www.http://flexboxgrid.com/
//Define your break points : xs, sm, md, lg
$viewport-layouts: (
"xs":("min-width": $xs),
"sm":("min-width": $sm),
"md":("min-width": $md),
"lg":("min-width": $lg)
@coco-napky
coco-napky / hyper.js
Created March 8, 2017 23:21
Hyper config for git bash in Windows
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 12,
// font family with optional fallbacks
fontFamily: 'Menlo, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace',
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
cursorColor: 'rgba(248,28,229,0.8)',