Skip to content

Instantly share code, notes, and snippets.

View cstipkovic's full-sized avatar
🏠
Working from home

Clauber Stipkovic cstipkovic

🏠
Working from home
View GitHub Profile

Script para instalar o Java 8 (Oracle) Linux Debian like

@cstipkovic
cstipkovic / casper_commands.md
Last active January 30, 2018 15:20
Lista com algumas dicas de comandos para o CasperJS

Executando o CasperJS no modo DEBUG

export PHANTOMJS_EXECUTABLE=./node_modules/.bin/phantomjs && ./node_modules/.bin/casperjs test --direct --log-level=debug --ignore-ssl-errors=true test/e2e/test-*.js
@cstipkovic
cstipkovic / node_wrapper.md
Last active January 31, 2017 17:00
NodeJS wrapper for run locally using binary

NodeJS Wrapper - run binary locally

Node.js wrapper which will download and proxy to node locally. This allows you to automatically manage the installed version of node.

CONFIGURATION

NODEW_INSTALL_VERSION - an env variable to specify the version of node to install - Defaults to 4.4.7 NODEW_DIST_BASE_URL - an env variable to specify the binary download location - Defaults to NodeJS website

@cstipkovic
cstipkovic / Vagrantfile
Created September 23, 2016 01:29
Vagrantfile para subir uma maquina ubuntu (nesse caso "provisionando" com tomcat e java 8)
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure(2) do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
@cstipkovic
cstipkovic / pseudo-elements.md
Created September 19, 2016 20:10 — forked from p3t3r67x0/pseudo_elements.md
A CSS pseudo-element is used to style specified parts of an element. In some cases you can style native HTML controls with vendor specific pseudo-elements. Here you will find an list of cross browser specific pseudo-element selectors.

Styling native elements

Native HTML controls are a challenge to style. You can style any element in the web platform that uses Shadow DOM with a pseudo element ::pseudo-element or the /deep/ path selector.

video::webkit-media-controls-timeline {
  background-color: lime;
}

video /deep/ input[type=range] {
@cstipkovic
cstipkovic / provision-ubuntu-tomcat.md
Last active December 6, 2016 23:42
Shellscript para instalar Java8 e Tomcat7 no Ubuntu

Provision Ubuntu Tomcat

My Atom Package list for APM

@cstipkovic
cstipkovic / creating_maven_project.md
Last active September 6, 2016 06:28
Creating java project using maven

Creating Java project using maven in command line

Cli Project

mvn archetype:generate -DgroupId=com.mycompany.app -DartifactId=my-app -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false

Webapp project

mvn archetype:generate -DgroupId={project-packaging} -DartifactId={project-name} -DarchetypeArtifactId=maven-archetype-webapp -DinteractiveMode=false

@cstipkovic
cstipkovic / .gitignore
Last active March 8, 2017 21:03
My Linux (Debian like) setup script
*.swp
@cstipkovic
cstipkovic / install_my_env.sh
Last active May 7, 2022 19:19 — forked from zenorocha/.hyper.js
My Mac OS X setup script
#!/bin/sh
# Install XCode and Commando Line Tools
xcode-select --install
# Install homebrew
/usr/bin/ruby -e " $(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Cask for Versions
brew tap caskroom/versions