Skip to content

Instantly share code, notes, and snippets.

@xiconet
xiconet / Git Bash.vbs
Created May 19, 2017 18:34 — forked from markrendle/Git Bash.vbs
Modified Git Bash to use Console2
Set AppObj = CreateObject("Shell.Application")
If WScript.Arguments.Length=1 Then
AppObj.ShellExecute "C:\Console2\Console.exe", " -t ""Git Bash"" -d """ & WScript.Arguments(0) & """"
Else
AppObj.ShellExecute "C:\Console2\Console.exe", " -t ""Git Bash"""
End If
@xiconet
xiconet / dboxapi.go
Last active March 31, 2018 22:53
Dropbox APIv2 client in golang
// Command dbox is a client for the dropbox "rest" API
package main
import(
"os"
"os/exec"
"time"
"net/http"
"net/url"
"io"
@xiconet
xiconet / hitail.go
Last active May 27, 2018 21:30
Hightail (formerly Yousendit) basic console client in golang
package main
import (
"bytes"
"encoding/json"
"fmt"
"github.com/alexflint/go-arg"
"github.com/cheggaaa/pb"
"github.com/nu7hatch/gouuid"
"github.com/xiconet/utils"
@xiconet
xiconet / cloudflare.go
Last active March 28, 2020 14:01
cloudflare under-attack mode challenge solver
package scraper
import (
"bytes"
"errors"
"fmt"
"io/ioutil"
"log"
"net/http"
"net/http/cookiejar"
@xiconet
xiconet / pcurl.py
Last active April 21, 2021 06:24
pycurl quickstart
#!C:/Python36/python
#
# from http://pycurl.io/docs/latest/quickstart.html#retrieving-a-network-resource
from io import BytesIO
from urllib.parse import urlencode
import posixpath
import re
import json
import pycurl
@xiconet
xiconet / good.pl
Last active April 21, 2021 06:25
good is a gdrive client in perl
#!/usr/bin/env perl
#
# my own little google drive client written in perl
#
use strict;
use warnings;
use LWP::UserAgent;
use HTTP::Request;
use HTTP::Headers;