Skip to content

Instantly share code, notes, and snippets.

View mezcel's full-sized avatar
🏴
status

Mezcel mezcel

🏴
status
View GitHub Profile
@mezcel
mezcel / README.MD
Last active December 27, 2018 08:58
Arch notes

Offline .db sync

used for initial install

  1. (Offline) Extract sync.tar.gz into: /var/lib/pacman/sync/

    Or

    (Online)

@mezcel
mezcel / git-lan.md
Last active November 15, 2019 02:46
Git for LAN

Use git between computers in the same LAN

With Git i dont need to mess arround with personalizing ssh and sftp configurations with new computers on the same network.

Note: Recomended for peer to peer. Outsiders can still tamper. But... outsiders are always tampering. With read-only mode for both parties, some measure of security piece of mind can be established.

guidance:

http://geekaholic.github.io/blog/2012/05/14/git-on-p2p-development/ >

@mezcel
mezcel / 00-readme.md
Last active October 25, 2022 08:27
Linux for Asus t-100

Winux

Goal:

I want a vintage Asus T-100A BayTrail Tablet with Dual OS's

The desired setup is an ASUS Terminator with the latest WIN10 and Mint Xfce

Summary:

@mezcel
mezcel / README.MD
Last active April 17, 2019 18:30
using batch to do my remote terinal with linux

Kangaroo Remote Terminal

  • Remote setup for a known specific linux system
  • Configs for both Arch (my own customized distro iso) and Mint18 (factory default with built-in vino)
@mezcel
mezcel / making-a-heroku.md
Last active April 22, 2018 22:10
heroku cheat sheet
  1. Make a Dir

    • clone from git
    • or make a local Dir
  2. Initialize that Dir

    git init
@mezcel
mezcel / auto-setup-my-git-repos.sh
Last active April 19, 2018 21:19
A Gist version of the readme/info from my repo-pocket repository
#!/bin/bash
# set -e
###############################################################################
# Written for Linux Mint 18+ on x64
# Author : Mezcel
# Website : www.github.com/mezcel/repo-pocket/shell/linuxsetupShell.sh
# Compatable with: Git and Gitbash
###############################################################################
#
@mezcel
mezcel / ExportAllToCsv.vb
Last active August 20, 2021 10:42
LibreOffice Calc Macros
Sub ExportAllToCsv
document = ThisComponent
' Use the global string tools library to generate a base filename for each CSV
' based on the current prefixless filename
GlobalScope.BasicLibraries.loadLibrary("Tools")
BaseFilename = Tools.Strings.GetFileNameWithoutExtension(document.getURL(), "/")
' Work out number of sheets for looping over them later.
Sheets = document.Sheets
@mezcel
mezcel / wallpaper.txt
Created February 13, 2018 06:09
FL Studio Mods
' background gradient colors
' The code of the left is the color at the center of the background, and the right one is the color at the corners.
Background=$FF3B747C,$FF775C64
' logo, size, colors
' logo O = fruit
Caption=O,150, $FF6B474C
' grid holes from the left to the right :
'1. grid's size
@mezcel
mezcel / ImageGrabber.java
Last active December 22, 2017 10:56
Example Java webscrape using Jsoup and Eclipse
import java.io.IOException;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
public class ImageGrabber {
public static void main(String args[]) throws IOException {
java -jar myjarfile.jar