Skip to content

Instantly share code, notes, and snippets.

View afboteros's full-sized avatar

Felipe Sepúlveda afboteros

  • Colombia
View GitHub Profile
@levamik
levamik / paramiko_sftp_large_file_downloading_demo.py
Created September 27, 2020 23:04 — forked from vznncv/paramiko_sftp_large_file_downloading_demo.py
Workaround to download a large file with paramiko from a sftp server
"""
The script contains example of the paramiko usage for large file downloading.
It implements :func:`download` with limited number of concurrent requests to server, whereas
paramiko implementation of the :meth:`paramiko.SFTPClient.getfo` send read requests without
limitations, that can cause problems if large file is being downloaded.
"""
import logging
import os
@GeoffreyCoulaud
GeoffreyCoulaud / manjaro-t100ta.md
Last active August 7, 2023 10:22
How to install 64bit Manjaro linux on the Asus t100ta

How to setup Manjaro on the Asus t100ta

Based on this tutorial by jbMacAZ on forums.manjaro.org
Made on 26/05/2020 for the Asus t100ta and Manjaro 20.0.1
These instructions should work for any 32bit EFI / 64bit CPU system, but I only tested it on the Asus t100ta, use at your own risk.
I tested the community editions for Budgie, Gnome and LXQt, but this tutorial should be good for any 64bit Manjaro edition.

My setup

I'm using vanilla Ubuntu 20.04, you will need gparted and unetbootin for this tutorial.
You will also need a 4GB or more USB stick which data will be wiped.
If like me your t100ta dock is broken, you can charge the computer normally until full, then use the charging micro-usb port to have an OTG cable + USB hub to connect the USB stick, a keyboard and a mouse.

@vznncv
vznncv / paramiko_sftp_large_file_downloading_demo.py
Created January 18, 2020 09:26
Workaround to download a large file with paramiko from a sftp server
"""
The script contains example of the paramiko usage for large file downloading.
It implements :func:`download` with limited number of concurrent requests to server, whereas
paramiko implementation of the :meth:`paramiko.SFTPClient.getfo` send read requests without
limitations, that can cause problems if large file is being downloaded.
"""
import logging
import os
@nzec
nzec / README.MD
Last active November 16, 2024 18:40
DeezLoader Offical Page

Thanks to /u/zpoo32 for reporting several issues in this list!

Deemix

  • deemix: just the cli and the library
  • deemix-pyweb: the app with a GUI
  • deemix-server: just the server part of deemix-pyweb
@hisplan
hisplan / add-rsync-to-git-bash.md
Created February 21, 2018 09:02
Add rsync to git bash for windows
@jonesmac
jonesmac / app.module.ts
Last active February 8, 2018 15:02 — forked from mrgoos/app.module.ts
Intercepting http request/respons in Angular 2. Works from version 2.3.0.
...
...
providers: [
{ provide: Http, useClass: ExtendedHttpService }
]
...
...
@sametsazak
sametsazak / gist:e82a521089a2a9e88c684fc0578a6d86
Created April 24, 2017 01:49
Enable tap-to-click when using i3
xinput --set-prop "AlpsPS/2 ALPS DualPoint TouchPad" "libinput Tapping Enabled" 1
@judy2k
judy2k / parse_dotenv.bash
Created March 22, 2017 13:34
Parse a .env (dotenv) file directly using BASH
# Pass the env-vars to MYCOMMAND
eval $(egrep -v '^#' .env | xargs) MYCOMMAND
# … or ...
# Export the vars in .env into your shell:
export $(egrep -v '^#' .env | xargs)
@mrgoos
mrgoos / app.module.ts
Last active September 17, 2024 21:54
Intercepting http request/respons in Angular 2. Works from version 2.3.0.
...
...
providers: [
{ provide: Http, useClass: ExtendedHttpService }
]
...
...
@goenning
goenning / so-40421100.ts
Last active December 4, 2017 19:29
so-40421100
class Employee { firstname: string; lastname: string; }
let employee: Employee = JSON.parse(`{ "firstname": "Jon", "lastname": "Snow" }`);
console.log(employee);