Skip to content

Instantly share code, notes, and snippets.

Avatar

Brandon Napky coco-napky

  • Prosoft Nearshore
  • SPS, Honduras
View GitHub Profile
@coco-napky
coco-napky / hyper.js
Created Mar 8, 2017
Hyper config for git bash in Windows
View hyper.js
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)',
@coco-napky
coco-napky / SCSS Flexbox Grid
Last active May 5, 2021
Scss grid system based on flexbox
View SCSS Flexbox Grid
//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 / .profile
Created Jan 12, 2016
.profile template - San Services
View .profile
#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/
View FactorialAlgorithm.asm
.data
.text
j main
#-------------------------------int add()------------------------------------------------------------------------
_add :
add $v0, $a0, $a1
View MIPS32 - Fibonacci
# int Fibonacci(int n) {
# if (n == 0 || n == 1) return n;
# else
# return Fibonacci(n - 1) + Fibonacci(n - 2); }
.data
.text
j main