Skip to content

Instantly share code, notes, and snippets.

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

José Juan Reyes Zuñiga neodevelop

🏠
Working from home
View GitHub Profile
@neodevelop
neodevelop / primes.lisp
Created July 15, 2015 20:56
Prime number
(defun is-prime (n)
(cond ((= 2 n) t) ;; Hard-code "2 is a prime"
((= 3 n) t) ;; Hard-code "3 is a prime"
((evenp n) nil) ;; If we're looking at an even now, it's not a prime
(t ;; If it is divisible by an odd number below its square root, it's not prime
(loop for i from 3 to (isqrt n) by 2
never (zerop (mod n i))))))
(print (is-prime 13195))
@neodevelop
neodevelop / request.md
Created July 15, 2015 15:58
request_php_devs

Hola!!!

Estamos buscando un desarrollador con conocimientos en:

  • PHP
  • C++
  • construcción de scripts
  • ejecución de pruebas
  • manejo de pruebas
  • ideal conocimiento en POS y electrónica básica
@neodevelop
neodevelop / delete1.groovy
Last active August 29, 2015 14:20
Batch delete in #grails
groupsToDelete = []
Group.list().each { group ->
if(group.members.isEmpty())
groupsToDelete << link
}
groupsToDelete*.delete()
$:.unshift("/Library/RubyMotion/lib")
require File.join(File.dirname(__FILE__), 'version')
require 'motion/project'
require 'bundler'
Bundler.require
@neodevelop
neodevelop / .vimrc
Last active December 29, 2015 03:39
My VIM configuration
if has('vim_starting')
set nocompatible " Be iMproved
set runtimepath+=~/.vim/bundle/neobundle.vim/
syntax enable " Turn on syntax highlighting.
"filetype indent on " Turn on file type detection.
set showcmd " Display incomplete commands.
set showmode " Display the mode you're in.
set backspace=indent,eol,start " Intuitive backspacing.
@neodevelop
neodevelop / tomcat.sh
Created November 22, 2012 02:35 — forked from valotas/tomcat.sh
Tomcat init.d script
#!/bin/bash
#
# tomcat7 This shell script takes care of starting and stopping Tomcat
#
# chkconfig: - 80 20
#
### BEGIN INIT INFO
# Provides: tomcat7
# Required-Start: $network $syslog
# Required-Stop: $network $syslog
@neodevelop
neodevelop / .zshrc
Last active October 17, 2017 08:53
My oh-my-zsh
# Path to your oh-my-zsh configuration.
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="robbyrussell"
ZSH_THEME="jj-juicy"
@neodevelop
neodevelop / .tmux.conf
Last active April 12, 2020 22:36
Tmux config file
set-option -g default-command "reattach-to-user-namespace -l ${SHELL}"
set -g prefix C-a
unbind C-b
set -sg escape-time 1
set -g base-index 1
setw -g pane-base-index 1
bind r source-file ~/.tmux.conf \; display "Configuración recargada"
bind C-a send-prefix
bind | split-window -h -c "#{pane_current_path}"
@neodevelop
neodevelop / requesting_devs.md
Last active January 15, 2019 17:30
Buscando desarrollador Java

Hola,

Estamos buscando un desarrollador Java para la Ciudad de México, que tenga conocimientos sólidos de desarrollo web. Los requisitos son los siguientes:

  • Java (buenas bases)
  • Spring (necesario)
  • Hibernate (necesario)
  • JavaScript (necesario)
  • Git como control de versiones
@neodevelop
neodevelop / Digito.cs
Created March 16, 2012 18:27
Solución de Rodrigo Salado Anaya a NumbersToLCD
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DigitosCool
{
class Digito
{
/// <summary>