Skip to content

Instantly share code, notes, and snippets.

View tqaw19's full-sized avatar
💭
Welcome!

Alejandro Quesada tqaw19

💭
Welcome!
View GitHub Profile
@xquangdang
xquangdang / rn-with-wsl-wsa.md
Last active March 22, 2024 14:39
Develop React Native app with WSL and WSA

Develop React Native app with WSL and WSA

Requirement

  • Windows Subsystem for Linux 2 (WSL2)
  • Windows Subsystem for Android (WSA)
  • NodeJS install inside WSL2

Steps

WSA

@AhmedMostafa16
AhmedMostafa16 / .font.conf
Created July 25, 2021 13:39
My .font.conf for perfect font rendering
<?xml version="1.0"?><!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<dir>~/.fonts</dir>
<!--
Documented at
http://linux.die.net/man/5/fonts-conf
To check font mapping run the command at terminal
$ fc-match 'helvetica Neue'
@lbrame
lbrame / archtweaks.md
Last active October 19, 2024 20:00
Tweaks I've made to my Arch Linux installation

Arch Linux tweaks

This is a collection of the tweaks and modification I've made to my Arch Linux installation over the months. These may be applicable to other distros, but please check first before doing anything. I also included Arch Wiki references for all the procedures I mentioned. My recommendation is not to blindly follow this gist but to always check with the Arch Linux wiki first. Things move fast and by the time you're reading this my gist may be out of date. Lastly, the golden rule: never execute a command you don't understand.

Installing the KDE Plasma desktop

My current DE of choice is KDE's Plasma. I find it just about perfect.

There are various ways to install it on Arch. The most popular one is to install plasma and plasma-applications, but I don't like doing that because it comes with too many programs I'll never use. I, instead, install the base plasma group, remove the few extra packages that come with it, then I finish off by installing a few KDE apps that don't come with th

use neptuno;
create procedure usp_dateToDate
@date1 datetime,
@date2 datetime
as
select * from Pedidos where FechaPedido between @date1 and @date2
create procedure usp_detailOrder
import styled from 'styled-components';
const Card = styled.div`
box-sizing: border-box;
max-width: 410px;
margin: 0 auto;
padding: 0 2rem;
display: flex;
flex-direction: column;
align-items: center;
@jonaskahn
jonaskahn / move-clock-to-right-elementary-os.md
Last active March 13, 2024 15:01
Move clock to right elementary os

INSTALL

  • Get the latest code of wingpanel: https://github.com/elementary/wingpanel/releases
  • Extract and open terminal in source folder wingpanel-[version]
  • Open file Panel.vala, replace line center_menubar.add (indicator_entry); by right_menubar.insert_sorted (indicator_entry);
  • Open file IndicatorSorter.vala, add line indicator_order[Indicator.DATETIME] = 10; in contruct. Change indicator_order[Indicator.SESSION] = 10; to indicator_order[Indicator.SESSION] = 11;
  • Run command
        meson build --prefix=/usr
    
# GIT heart FZF
# -------------
is_in_git_repo() {
git rev-parse HEAD > /dev/null 2>&1
}
fzf-down() {
fzf --height 50% --min-height 20 --border --bind ctrl-/:toggle-preview "$@"
}

Oh my zsh.

Install with curl

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Enabling Plugins (zsh-autosuggestions & zsh-syntax-highlighting)

  • Download zsh-autosuggestions by
@j1cs
j1cs / improve_fonts.md
Last active January 23, 2024 15:59
Improve fonts archlinux

Improve Fonts

Newest

Make your Arch fonts beautiful easily! This is what I do when I install Arch Linux to improve the fonts.

You may consider the following settings to improve your fonts for system-wide usage without installing a patched font library packages (eg. Infinality):

Install some fonts, for example:
sudo pacman -S ttf-dejavu ttf-liberation noto-fonts