Skip to content

Instantly share code, notes, and snippets.

🦄
Yak shaving

Carlos Sanchez carlossg

🦄
Yak shaving
Block or report user

Report or block carlossg

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:2d5cb66f1048d41063e7
Jan 28, 2015 11:35:29 AM hudson.model.DownloadService$Downloadable doPostBack
SEVERE: <div class=error><img src='/jenkins/static/69e42646/images/none.gif' height=16 width=1>Signature verification failed in downloadable &#039;hudson.tools.JDKInstaller&#039; <a href='#' class='showDetails'>(show details)</a><pre style='display:none'>java.security.cert.CertPathValidatorException: timestamp check failed
at sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(PKIXMasterCertPathValidator.java:129)
at sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:212)
at sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:140)
at sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(PKIXCertPathValidator.java:79)
at java.security.cert.CertPathValidator.validate(CertPathValidator.java:292)
at org.jvnet.hudson.crypto.CertificateUtil.validatePath(CertificateUtil.java:93)
at jenkins.util.JSONSignatureValidator.verifySignat
View gist:23fa67f3749593878594
### Keybase proof
I hereby claim:
* I am carlossg on github.
* I am carlos (https://keybase.io/carlos) on keybase.
* I have a public key whose fingerprint is 03C6 E9F3 C99E 43AC D46F 4202 4EBC 0C9F 0208 FC11
To claim this, I am signing this object:
@carlossg
carlossg / 1.7.0 rc2
Last active Aug 29, 2015
Docker shared mount
View 1.7.0 rc2
$ sudo umount /mnt/xvdb
$ cat /proc/self/mountinfo | grep mnt
67 22 202:1 /mnt /mnt rw,relatime shared:1 - ext4 /dev/disk/by-uuid/e1d70192-1bb0-461d-b89f-b054e45bfa00 rw,discard,data=ordered
$ docker --version
Docker version 1.7.0-rc2, build 7ddecf7
$ docker run -d --name test -v /mnt/xvdb:/mnt busybox tail -f /dev/null
9865a125bd2d43cb06887e821e1b298fdee944bb72604edb2f5862619c1a200a
$ ls -laF /mnt/xvdb
total 8
drwxr-xr-x 2 root root 4096 Jun 17 20:05 ./
@carlossg
carlossg / dhcp-monitor
Created Jul 10, 2015
DHCP monitor and reload
View dhcp-monitor
#!/bin/sh
HOSTS="8.8.8.8"
COUNT=1
while true
do
for myHost in $HOSTS; do
if ! ping -c $COUNT $myHost > /dev/null; then
echo "Host : $myHost is down (ping failed) at $(date)"
@carlossg
carlossg / readme.md
Created Sep 17, 2015
Mesos SSL problems
View readme.md

Configuration

In /etc/default/mesos

export SSL_ENABLED=true
export SSL_SUPPORT_DOWNGRADE=false
export SSL_REQUIRE_CERT=true
export SSL_CERT_FILE=/etc/mesos/tiger-jdoe-controller-1.tiger.acme.net.crt
export SSL_KEY_FILE=/etc/mesos/tiger-jdoe-controller-1.tiger.acme.net.key
View gist:57580869435e9d070289388f027e731e
El proyecto Jenkins se ha enterado de que una compañía está intentando registrar "Jenkins" como marca registrada en Colombia. Esto es alarmante y estamos tratando de oponernos. Para hacerlo de manera efectiva, necesitamos escuchar a los usuarios colombianos de Jenkins.
El proyecto Jenkins posee una marca registrada "Jenkins" en los Estados Unidos, a través de una entidad sin ánimo de lucro SPI Inc. Según los expertos en la materia citando la "Convención de Washington", nuestro registro de marca en los EE.UU. nos da algo de fuerza para oponernos. Sin embargo, para argumentar con éxito, tenemos que ser capaces de demostrar que Jenkins tiene un uso significativo y es conocido en Columbia. Usuarios, instalaciones, encuentros, conferencias, cualquier cosa de ese tipo ayudará.
Aquellos que llevan mucho tiempo con el proyecto pueden recordar que el nombre "Jenkins" nació debido a un problema de marca con Oracle. Por lo tanto, somos particularmente sensibles al tema de las marcas registradas. Queremos asegurarnos d
@carlossg
carlossg / Jenkinsfile
Last active Jun 12, 2017
Kubernetes Hello World
View Jenkinsfile
/**
* This pipeline will deploy to Kubernetes
*/
library identifier: 'fabric8-pipeline-library@v2.2.311', retriever: modernSCM(
github(repoOwner: 'fabric8io', repository: 'fabric8-pipeline-library')
)
podTemplate(label: 'deploy', containers: [
containerTemplate(name: 'jnlp', image: 'jenkinsci/jnlp-slave:latest'),
@carlossg
carlossg / block_personal_appts
Last active Sep 12, 2018 — forked from ttrahan/block_personal_appts
Google Apps Script to automatically create, edit and delete events on work calendar for personal calendar events. Instructions on how to set up can be found at https://medium.com/@willroman/auto-block-time-on-your-work-google-calendar-for-your-personal-events-2a752ae91dab
View block_personal_appts
function sync() {
var id="XXXXXXXXX"; // CHANGE - id of the secondary calendar to pull events from
var today=new Date();
var enddate=new Date();
enddate.setDate(today.getDate()+7); // how many days in advance to monitor and block off time
var secondaryCal=CalendarApp.getCalendarById(id);
// var secondaryEvents=secondaryCal.getEvents(today,enddate,{statusFilters: [CalendarApp.GuestStatus.YES]});
@carlossg
carlossg / jx-alibaba-china.md
Last active Jun 21, 2019
jenkins-x alibaba china
View jx-alibaba-china.md

Using jx cli 2.0.283 and platform 2.0.634

jx install \
  --provider alibaba \
  --default-admin-password=admin \
  --default-environment-prefix=jx-rocks-china \
  --tekton \
  --docker-registry=registry.cn-beijing.aliyuncs.com \
  --docker-registry-org=jx-rocks \
You can’t perform that action at this time.