Skip to content

Instantly share code, notes, and snippets.

View PiiXiieeS's full-sized avatar

Jose Gascon PiiXiieeS

View GitHub Profile
@PiiXiieeS
PiiXiieeS / zsh-fancify.sh
Last active April 6, 2021 23:01 — forked from anthonyaxenov/zsh-fancify.sh
Installing zsh / oh-my-zsh / Powerlevel10k on Ubuntu 20.04.2 LTS
#!/bin/bash
# Based on:
# https://github.com/Powerlevel9k/powerlevel9k/wiki/Install-Instructions
# https://github.com/ohmyzsh/ohmyzsh
# https://powerline.readthedocs.io/en/latest/installation/linux.html#fonts-installation
# https://gist.github.com/dogrocker/1efb8fd9427779c827058f873b94df95
# https://linuxhint.com/install_zsh_shell_ubuntu_1804/
echo "*********************************************"
echo " zsh fancifier"
@PiiXiieeS
PiiXiieeS / README.md
Last active March 7, 2021 17:54
Bot for MS Teams using outgoing webhook service

teams-webhook-service

bot using teams' outgoing webhook

npm install
sls deploy -v
@PiiXiieeS
PiiXiieeS / App.vue
Created July 7, 2019 17:20 — forked from bricksroo/App.vue
Reveal.js in Vue
<template>
<div id="app">
<!-- <img src="./assets/logo.png">
<HelloWorld msg="Welcome to Your Vue.js App"/> -->
<div class="reveal">
<div class="slides">
<section>Single Horizontal Slide</section>
<section>
<section>Vertical Slide 1</section>
<section>Vertical Slide 2</section>
@PiiXiieeS
PiiXiieeS / ChromeExtensionGulp.js
Created May 12, 2019 20:02 — forked from lykmapipo/ChromeExtensionGulp.js
Gulp file for building a Chrome Extension
'use strict';
//npm install gulp gulp-minify-css gulp-uglify gulp-clean gulp-cleanhtml gulp-jshint gulp-strip-debug gulp-zip --save-dev
var gulp = require('gulp'),
clean = require('gulp-clean'),
cleanhtml = require('gulp-cleanhtml'),
minifycss = require('gulp-minify-css'),
jshint = require('gulp-jshint'),
stripdebug = require('gulp-strip-debug'),
@PiiXiieeS
PiiXiieeS / Dockerfile
Created January 8, 2018 00:37 — forked from andyshinn/Dockerfile
Postal on Docker
FROM ruby:2.3-onbuild
VOLUME /opt/postal/config
ENV LOG_TO_STDOUT 1
ENV AM_CONFIG_ROOT /opt/postal/config
RUN gem install procodile
RUN apt-get update -qq && apt-get install -yqq nodejs
@PiiXiieeS
PiiXiieeS / express-server-side-rendering.md
Created December 27, 2017 01:02 — forked from joepie91/express-server-side-rendering.md
Rendering pages server-side with Express (and Pug)

Terminology

  • View: Also called a "template", a file that contains markup (like HTML) and optionally additional instructions on how to generate snippets of HTML, such as text interpolation, loops, conditionals, includes, and so on.
  • View engine: Also called a "template library" or "templater", ie. a library that implements view functionality, and potentially also a custom language for specifying it (like Pug does).
  • HTML templater: A template library that's designed specifically for generating HTML. It understands document structure and thus can provide useful advanced tools like mixins, as well as more secure output escaping (since it can determine the right escaping approach from the context in which a value is used), but it also means that the templater is not useful for anything other than HTML.
  • String-based templater: A template library that implements templating logic, but that has no understanding of the content it is generating - it simply concatenates together strings, potenti
@PiiXiieeS
PiiXiieeS / LICENSE.txt
Created February 14, 2017 23:47 — forked from LeverOne/LICENSE.txt
generate random v4 UUIDs (107 bytes)
DO WTF YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Alexey Silin <pinkoblomingo@gmail.com>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WTF YOU WANT TO PUBLIC LICENSE
@PiiXiieeS
PiiXiieeS / icons.sh
Created January 25, 2017 20:14 — forked from tj/icons.sh
show_icons() {
defaults write com.apple.finder CreateDesktop true
killall Finder
}
hide_icons() {
defaults write com.apple.finder CreateDesktop false
killall Finder
}
@PiiXiieeS
PiiXiieeS / .zshrc
Last active February 1, 2017 06:19 — forked from egeste/bureau-rvm.zsh-theme
Oh My ZSH NVM, optimized "Bureau" Theme and ZSH configuration
# Path to your oh-my-zsh installation.
# Usually located in ~/.zshrc
export ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
# ZSH_THEME="agnoster"
ZSH_THEME="piixiiees2"
@PiiXiieeS
PiiXiieeS / npm-ntlm-proxy.md
Created June 14, 2016 00:33 — forked from erkobridee/npm-ntlm-proxy.md
Problema: NPM atrás de um Proxy que utiliza autenticação NTLM

NPM vs NTLM PROXY

O problema: NPM atrás de um Proxy que utiliza autenticação NTLM

Ambiente do problema: Computador com Windows sem acesso administrador

Obs.: mesmo se você for administrador do computador, essa dica resolve o problema de como passar o NTLM Proxy, via linha de comando.