Skip to content

Instantly share code, notes, and snippets.

View gersongams's full-sized avatar

Gerson Garrido gersongams

  • Brein
  • Lima - Perú
View GitHub Profile
@gersongams
gersongams / mac_install.bash
Created May 28, 2020 21:54
Mac installation
# Show Library folder:
chflags nohidden ~/Library
# Show hidden files:
defaults write com.apple.finder AppleShowAllFiles YES
# Show path bar:
defaults write com.apple.finder ShowPathbar -bool true
# Show status bar:
@gersongams
gersongams / cloudSettings
Created March 25, 2018 18:15
Visual Studio Code Settings Sync Gist
{"lastUpload":"2018-03-25T18:15:31.379Z","extensionVersion":"v2.9.0"}
@gersongams
gersongams / cloudSettings
Created March 25, 2018 18:11
Visual Studio Code Settings Sync Gist
{"lastUpload":"2018-03-25T18:10:58.984Z","extensionVersion":"v2.9.0"}
@gersongams
gersongams / cloudSettings
Created March 25, 2018 18:10
Visual Studio Code Settings Sync Gist
{"lastUpload":"2018-03-25T18:10:12.739Z","extensionVersion":"v2.9.0"}
#!/usr/bin/gjs
const Gtk = imports.gi.Gtk;
const Lang = imports.lang;
const LanguageSelector = new Lang.Class({
Name: "Language Selector",
// Create the application itself
_init: function() {
https://repelis.tv/iframe/openload/87591
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Javascript Piano</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
## Now we gonna download it
for anime in animes_animeyt:
link = anime['link']
name = anime['name']
print("Do you want to download: " + name)
rpta = input("Answer YES/NO/EXIT (y/n/e)")
if(rpta == 'y'):
print('Downloading' + name + '...')
import requests
import shutil
def download_file(url,name):
local_filename = name + '.mp4'
r = requests.get(url, stream=True)
with open(local_filename, 'wb') as f:
shutil.copyfileobj(r.raw, f)
print(name + ' has finished downloading \n')
## Now we gonna download it
import wget
for anime in animes_animeyt:
link = anime['link']
name = anime['name']
print("Do you want to download: " + name)
rpta = input("Answer YES/NO/EXIT (y/n/e)")