Skip to content

Instantly share code, notes, and snippets.

View j1cs's full-sized avatar
😺
Im on #cat-v mostly

Juan Cuzmar j1cs

😺
Im on #cat-v mostly
View GitHub Profile
@j1cs
j1cs / prevent_ask_password.sh
Created September 28, 2015 19:39
Limited user linux, prevent ask password everytime sudo
alias sudo='echo "passwd" | sudo -S'
@j1cs
j1cs / ddos.sh
Created October 9, 2015 16:41
DDOS
ping -f -s 65500
@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

@j1cs
j1cs / syndaemon.sh
Created June 28, 2016 16:33
Disabled tap when typing
syndaemon -t -k -i 2 -d
fswatch -o ~/Documentos/GCA/aploginjwt | xargs -i bash -c 'sudo cp -rf ~/Documentos/GCA/aploginjwt/* /usr/share/nginx/html/'
update-alternatives --install /usr/bin/node node /usr/bin/nodejs 99
<input class="form-control" type="text" custom-required="166, 165" custom-disabled="1, 162">
<script>
function formularioPerfiles($log, perfilesFactory, $rootScope, $timeout, $compile) {
return {
require: 'form',
link: function(scope, element, attrs, ctrl) {
scope.$watch(function() {
@j1cs
j1cs / back-on-top.js
Last active July 26, 2017 13:43
Back on top (with jQuery)
! function() {
$(window).scroll(function() {
$(this).scrollTop() > 300 ? $("#back-top").fadeIn() : $("#back-top").fadeOut()
});
var t = $("<div>");
t.css({
position: "relative",
"text-align": "center"
}), t.attr("id", "back-top");
var a = $("<a>");
@j1cs
j1cs / ssh-add.sh
Created March 6, 2017 22:42
ssh server bashrc
ssh-add -l |grep -q `ssh-keygen -lf /home/user/.ssh/keys/server | awk '{print $2}'` || ssh-add /home/user/.ssh/keys/server
@j1cs
j1cs / acpidump.txt
Created June 7, 2017 02:18
acpidump asus gl553vd
This file has been truncated, but you can view the full file.
SSDT @ 0x0000000000000000
0000: 53 53 44 54 9F 02 00 00 02 48 49 4E 54 45 4C 20 SSDT.....HINTEL
0010: 73 65 6E 73 72 68 75 62 00 00 00 00 49 4E 54 4C sensrhub....INTL
0020: 22 04 16 20 A0 43 05 00 15 5C 53 48 41 50 00 00 ".. .C...\SHAP..
0030: 15 5C 47 50 42 53 00 00 15 5C 53 44 53 30 00 00 .\GPBS...\SDS0..
0040: 15 5C 55 53 42 48 00 00 15 5C 2E 5F 53 42 5F 47 .\USBH...\._SB_G
0050: 47 4F 56 08 01 15 5C 2E 5F 53 42 5F 53 47 4F 56 GOV...\._SB_SGOV
0060: 08 02 15 5C 2F 04 5F 53 42 5F 50 43 49 30 49 32 ...\/._SB_PCI0I2
0070: 43 30 44 46 55 44 06 00 10 46 22 5C 00 5B 82 40 C0DFUD...F"\.[.@
0080: 22 53 48 41 44 08 5F 48 49 44 0C 25 D4 33 D0 08 "SHAD._HID.%.3..