Skip to content

Instantly share code, notes, and snippets.

oneohthree

  • Cuba
Block or report user

Report or block oneohthree

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
@stdevPavelmc
stdevPavelmc / Cell_Modem_3G_es.md
Last active Jan 21, 2020
Usa tu celular android como un modem 3G/4G y ahorra datos móviles
View Cell_Modem_3G_es.md

Como usar tu celular Android como modem para 3G/4G y ahorrar datos

This tutorial has an english version

Porque?

Quizás tu usas un proveedor de telefonía que tiene entre sus ofertas una tarifa plana, o una bien generosa y que te alcanza, pero en Cuba no existe tarifa plana y tendemos a exprimir cada byte de la conexión de datos.

Puede que te hayas topado con este caso: usas los datos móviles del celular compartidos por WiFi con la PC/Laptop de trabajo y no hay nada malo con eso, o si?

@CHEF-KOCH
CHEF-KOCH / Evaluation Version 1903
Last active Jan 7, 2020
Windows 10 Build 18362.30 (May 2019 Update 1903)
View Evaluation Version 1903
Evaluation images cannot be activated after the evaluation period (90 days) is gone.
------------------------------------------------------------------------------------
Evaluation to Full
------------------
Dism /online /Get-TargetEditions
DISM /online /Set-Edition: /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEula
https://docs.microsoft.com/en-us/windows-server/get-started/supported-upgrade-paths
@flatz
flatz / remote_pkg_installer.txt
Last active Jun 23, 2019
Instructions for Remote Package Installer
View remote_pkg_installer.txt
Remote Package Installer
Package link: https://mega.nz/#!2dN1XajB!Z5fXyFoKOXFI_ujgGoCZfFFy5nyn7OWo6vF6h_HmWhQ
Requirements:
Any exploit on 4.5x+
HEN 1.8 (you could get it from zecoxao's page) or any other kernel payload (it just need to have fPKG stuff and /data mount patches for ShellCore that I've posted recently)
Changelog:
[+] Added CORS header to interact with browser's AJAX
@Blaradox
Blaradox / brightnessControl.sh
Created Sep 23, 2018
Notifications for brightness and volume, using dunstify
View brightnessControl.sh
#!/usr/bin/env bash
# You can call this script like this:
# $ ./brightnessControl.sh up
# $ ./brightnessControl.sh down
# Script inspired by these wonderful people:
# https://github.com/dastorm/volume-notification-dunst/blob/master/volume.sh
# https://gist.github.com/sebastiencs/5d7227f388d93374cebdf72e783fbd6a
@sebastiencs
sebastiencs / volume.sh
Last active Jan 6, 2020
Script to get volume notification with dunst http://imgur.com/a/qWgAw
View volume.sh
#!/bin/bash
# You can call this script like this:
# $./volume.sh up
# $./volume.sh down
# $./volume.sh mute
function get_volume {
amixer get Master | grep '%' | head -n 1 | cut -d '[' -f 2 | cut -d '%' -f 1
}
@gdamjan
gdamjan / arch-mirror.service
Last active Aug 17, 2019
script to rsync from an arch mirror
View arch-mirror.service
[Unit]
Description=Mirror arch linux
[Service]
Type=oneshot
ExecStart=/usr/local/bin/sync_arch_mirror.sh
User=arch
IPAccounting=yes
NoNewPrivileges=yes
PrivateTmp=yes
@plugnburn
plugnburn / README.md
Last active Apr 2, 2019
Statix - the simplest static website generator in bash
View README.md

Statix - the simplest static website generator in Bash

Statix is a stand-alone Bash script aimed at generating full-featured, routable static websites from reusable HTML snippets. It features the most basic templating engine ever possible but allows to organize your content in a SEO-friendly way. All Statix-based websites contain these parts:

  • Templates: a directory where all HTML templates are stored
  • Route configuration: a file that maps each publicly accessible template to a SEO-friendly URL
  • Assets: a directory with optional files copied to the output website directory with no processing.

This script is also lightweight. Aside from some standard file management commands such as cp, mkdir and rm, the only serious dependency for Statix is GNU Grep compiled with PCRE support (i.e. the version that supports -P flag, included in most Linux distributions).

@protrolium
protrolium / ffmpeg.md
Last active Jan 23, 2020
using ffmpeg to extract audio from video files
View ffmpeg.md

ffmpeg

Converting Audio into Different Formats / Sample Rates

Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma

You can get the list of supported formats with:
ffmpeg -formats

Convert WAV to MP3, mix down to mono (use 1 audio channel), set bit rate to 64 kbps and sample rate to 22050 Hz:

@evildmp
evildmp / gist:3094281
Last active Jan 17, 2020
Set up Django, nginx and uwsgi
View gist:3094281

This document has now been incorporated into the uWSGI documentation:

http://uwsgi-docs.readthedocs.org/en/latest/tutorials/Django_and_nginx.html

Set up Django, nginx and uwsgi

Steps with explanations to set up a server using:

@esperlu
esperlu / mysql2sqlite.sh
Created Apr 27, 2011
MySQL to Sqlite converter
View mysql2sqlite.sh
#!/bin/sh
# Converts a mysqldump file into a Sqlite 3 compatible file. It also extracts the MySQL `KEY xxxxx` from the
# CREATE block and create them in separate commands _after_ all the INSERTs.
# Awk is choosen because it's fast and portable. You can use gawk, original awk or even the lightning fast mawk.
# The mysqldump file is traversed only once.
# Usage: $ ./mysql2sqlite mysqldump-opts db-name | sqlite3 database.sqlite
# Example: $ ./mysql2sqlite --no-data -u root -pMySecretPassWord myDbase | sqlite3 database.sqlite
You can’t perform that action at this time.