Skip to content

Instantly share code, notes, and snippets.

View ivanvc's full-sized avatar

Iván Valdés Castillo ivanvc

View GitHub Profile
@ivanvc
ivanvc / remote_exec_no_pty.go
Last active June 24, 2023 06:11
Wish program with Bubbletea middleware executing a remote command
package main
import (
"context"
"errors"
"os"
"os/exec"
"os/signal"
"syscall"
"time"
@ivanvc
ivanvc / eslint-options.json
Created July 22, 2015 01:07
ESLint options
{
"ecmaFeatures": {
"modules": true,
"jsx": true
},
"env": {
"browser": false,
"es6": true,
"node": true
[
{
"metric": "install",
"tags": {
"account_id": "12",
"network_id": "8",
"app_key": "cb643172b50f1617ceafbeea4de180f7",
"campaign_id": "70"
},
"aggregateTags": [

Keybase proof

I hereby claim:

  • I am ivanvc on github.
  • I am ivan (https://keybase.io/ivan) on keybase.
  • I have a public key whose fingerprint is 67A9 5D46 D983 86A2 D31E F773 4037 D377 41ED 0CC5

To claim this, I am signing this object:

@ivanvc
ivanvc / RELEASE_NOTES.md
Created July 25, 2012 19:15
Sample Release Notes

1.0.1

  • Bug Fixes
    • Hebrew text sometimes rendered incorrectly
    • Flash 11.3 sometimes caused a crash on quit
  • Improvements
    • Restored background tabs are not loaded by default for faster startup
    • Support for the CSS3 background-position property extended syntax has been added

1.0.0

  • First initial release
@ivanvc
ivanvc / curlmirror
Created October 11, 2011 17:10
Mirrors a web site by using curl to download each page.
#!/usr/bin/env perl
#
# curlmirror.pl
#
# Mirrors a web site by using curl to download each page.
# The result is stored in a directory named "dest" by default.
# Temporary files are stored in "/tmp".
#
# Author: [email protected]
#
" ir_black color scheme
" More at: http://blog.infinitered.com/entries/show/8
" ********************************************************************************
" Standard colors used in all ir_black themes:
" Note, x:x:x are RGB values
"
" normal: #f6f3e8
"
#!/usr/bin/ruby
#
# This script installs to /usr/local only. To install elsewhere you can just
# untar https://github.com/mxcl/homebrew/tarball/master anywhere you like.
#
#
# 30th March 2010:
# Added a check to make sure user is in the staff group. This was a problem
# for me, and I think it was due to me migrating my account over several
# versions of OS X. I cannot verify that for sure, and it was tested on
if(A&&B || !A) {
doX;
}
// que es lo mismo que
if(!(A&&!B)) {
doX;
}
sdfsdfsdfsssssssssssss