Skip to content

Instantly share code, notes, and snippets.

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

Eladio Caritos caritos

🏠
Working from home
View GitHub Profile

Keybase proof

I hereby claim:

  • I am caritos on github.
  • I am caritos (https://keybase.io/caritos) on keybase.
  • I have a public key ASCawiIzIP3PmjSnv-SsG5OUTaEYeOdwmn4q5bJYsk2Kkwo

To claim this, I am signing this object:

$("img").each(function(){
if(this.src) {
images.push(this.src.toLowerCase());
}
});
var incorrectUrls = ["https://www.saksfifthavenue.com/", "https://content.hbc.com/content/dam/saksoff5th/", "https://content.hbc.com/content/dam/saks/",
"http://image.s5a.com/is/image/saksoff5th", "http://image.s5a.com/is/image/saks/", "http://s7d9.scene7.com/is/image//saksoff5th/", "http://s7d9.scene7.com/is/image//saks/"];
for(i=0; i < images.length; i++) {
for(j=0; j < incorrectUrls.length; j++) {
if(images[i].startsWith(incorrectUrls[i])) {
@caritos
caritos / youtube-dl-cron.sh
Created November 17, 2016 08:50 — forked from vmassuchetto/youtube-dl-cron.sh
Shell script cron job to download YouTube videos from your subscription feed
#!/bin/bash
#
# Script to keep downloading YouTube videos to your computer using youtube-dl:
# http://rg3.github.io/youtube-dl/
#
# Put it to work:
#
# sudo wget "https://gist.github.com/vmassuchetto/10338703/raw" -O /etc/cron.hourly/youtube-dl-cron.sh
# sudo chmod +x /etc/cron.hourly/youtube-dl-cron.sh
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'planningView1' defined in file [/Users/eladio/git/student-information-system/target/classes/com/caritos/sis/web/PlanningView1.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.caritos.sis.web.PlanningView1]: Constructor threw exception; nested exception is java.lang.NullPointerException
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1093)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1025)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java
package com.caritos.e4.product.parts;
import javax.annotation.PostConstruct;
import org.eclipse.e4.ui.di.Focus;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Label;
public class HelloWorldPart {
astro:caritos.github.com eladio$ brew install imagemagick
Error: No such file or directory - /usr/local/Cellar/imagemagick/6.6.7-10/share/ImageMagick/NEWS.txt
astro:~ eladio$ uname -a
Darwin astro.local 10.7.0 Darwin Kernel Version 10.7.0: Sat Jan 29 15:16:10 PST 2011; root:xnu-1504.9.37~1/RELEASE_X86_64 x86_64
astro:src eladio$ uname -a
Darwin astro.local 10.7.0 Darwin Kernel Version 10.7.0: Sat Jan 29 15:17:16 PST 2011; root:xnu-1504.9.37~1/RELEASE_I386 i386
astro:caritos.github.com eladio$ sudo gem install rmagick
Password:
Fetching: rmagick-2.13.1.gem (100%)
Building native extensions. This could take a while...
Successfully installed rmagick-2.13.1
1 gem installed
Installing ri documentation for rmagick-2.13.1...
Installing RDoc documentation for rmagick-2.13.1...
brew install imagemagick
Also installing dependencies: libtiff
==> Downloading ftp://ftp.remotesensing.org/pub/libtiff/tiff-3.9.5.zip
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/libtiff/3.9.5 --mandir=/usr/local/Cel
==> make install
/usr/local/Cellar/libtiff/3.9.5: 235 files, 3.6M, built in 35 seconds
/usr/local/bin/git
==> Cloning git://github.com/adamv/ImageMagick.git
Updating /Users/eladio/Library/Caches/Homebrew/imagemagick--git