Skip to content

Instantly share code, notes, and snippets.

View PiiXiieeS's full-sized avatar

Jose Gascon PiiXiieeS

View GitHub Profile
@PiiXiieeS
PiiXiieeS / Backup-Trello-Board.sh
Last active October 15, 2016 18:25
This shell script allow to save automatically a Trello board with authentication by KEY and private TOKEN saving the resulting .json file into a backup file automatically named with the current date.
curl 'https://api.trello.com/1/boards/S4ydUkil?key=[KEY]&token=[TOKEN]&actions=all&actions_limit=1000&cards=all&lists=all&members=all&member_fields=all&checklists=all&fields=all' > backup.`date +\%Y-\%m-\%d`.json
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>Displaying JSON values with JavaScript : Basics of JSON Templating with JavaScript</title>
<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<style>
article, aside, figure, footer, header, hgroup,
require(knitr)
#' Initializes a new Gitbook.
#'
#' This will initalize a new Gitbook in the given directory. When done, it will
#' also change the working directory.
#'
#' @author Jason Bryer <jason@bryer.org>
newGitbook <- function(dir) {
.Deprecated('This function has been moved to the gitbook R package. See http://jason.bryer.org/Rgitbook for more information')
/**
* Simple XML parser
* @param {String} xml
* @return {Object}
*/
function parseXML(xml) {
var beg = -1;
var end = 0;
var tmp = 0;
@PiiXiieeS
PiiXiieeS / gulpfile.js
Last active May 11, 2022 22:20
expressjs-nodemon-browsersync
'use strict';
var gulp = require('gulp'),
browserSync = require('browser-sync'),
nodemon = require('gulp-nodemon');
// we'd need a slight delay to reload browsers
// connected to browser-sync after restarting nodemon
var BROWSER_SYNC_RELOAD_DELAY = 500;
@PiiXiieeS
PiiXiieeS / app.js
Created October 15, 2015 02:09 — forked from StephenFluin/app.js
Sample Trello node.js Webhook Server
/**
* This is a sample webhook server that listens for webhook
* callbacks coming from Trello, and updates any cards that are
* added or modified so everyone knows they are "PRIORITY"
*
* To get started
* * Add your key and token below
* * Install dependencies via `npm install express request body-parser`
* * Run `node app.js` on a publicly visible IP
* * Register your webhook and point to http://<ip or domain>:3123/priority
@PiiXiieeS
PiiXiieeS / grab-dropbox-img-link.scpt
Last active November 14, 2015 20:33
Grab the clipboard link to an image in dropbox and change the URL to the direct link to the image
@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.


@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 / 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
}