Skip to content

Instantly share code, notes, and snippets.

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

Leonel Perea iLeonelPerea

🏠
Working from home
View GitHub Profile
@iLeonelPerea
iLeonelPerea / .gitconfig
Created April 2, 2017 19:35 — forked from pksunkara/config
Sample of git config file (Example .gitconfig)
[user]
name = Pavan Kumar Sunkara
email = pavan.sss1991@gmail.com
[core]
editor = vim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore
[sendemail]
smtpencryption = tls
smtpserver = smtp.gmail.com
@iLeonelPerea
iLeonelPerea / bmenu.js
Created March 27, 2017 21:54 — forked from enjoylife/bmenu.js
bubble menu
       
   <style type="text/css">
    #mainBubble {
      background: #fff;
      border: solid 1px #ddd;
      box-shadow: 0 0 4px rgba(0,0,0,0);
      font: 10px sans-serif;
      height: 800px;
      position: relative;
      width: 80%;
*First run cmd as admin
- Install chocolately
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
- Install package from chocolatey
choco install openssh
-Reload environment
run
Borrar archivos chilkatLOG_....
Desbloquear ejecutables
Antes de instalar desactivar antivirus
Agregar a excepciones:
sepsai
castelec
cascore
cascore2
folder VSAI
abrir sepsai como admin pero no ejecutar
#update submodules
git submodule update --recursive
git submodule update --recursive --remote
git submodule foreach git pull origin master
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
@iLeonelPerea
iLeonelPerea / summerschool-frontend.md
Last active July 29, 2016 06:14
summerschool-frontend

Folder structure

.
├── .babelrc                  # Configures Babel
├── .editorconfig             # Configures editor rules
├── .eslintrc                 # Configures ESLint
├── .gitignore                # Tells git which files to ignore
├── .npmrc                    # Configures npm to save exact by default
├── README.md                 # This file.
#!/usr/bin/env python3
# This script is provided to show how I migrated from Ghost 0.4.2
# to Jekyll 2.3.0 and is used at your own risk. Back up your blog
# before trying it out.
def getPostTemplate():
with open('post-template.md', 'r') as f:
posttemplate = f.read()
f.closed
@iLeonelPerea
iLeonelPerea / avltree.js
Last active August 29, 2015 14:19
Add preorderPrint , inorderPrint , and postorderPrint
// AVLTree ///////////////////////////////////////////////////////////////////
// This file is originally from the Concentré XML project (version 0.2.1)
// Licensed under GPL and LGPL
//
// Modified by Jeremy Stephens.
// Pass in the attribute you want to use for comparing
function AVLTree(n, attr) {
this.init(n, attr);
}