This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" ------ Basic Commands ----------- | |
set history=500 | |
set nocompatible | |
set encoding=utf-8 | |
set omnifunc=syntaxcomplete#Complete | |
set autoread | |
au BufReadPost *.pug set syntax=javascript | |
filetype plugin on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
# | |
# Yowsup utility to have the updated APK of WhatsApp, process it and obtain the version of WhatsApp and Classdex md5 | |
# Using this data in env_android.py will decrease the probability that WhatsApp will ban you | |
# | |
# Install dependencies before use: | |
# sudo pip3 install Request requests http cookiejar bs4 apkutils | |
# | |
# Example output: | |
# WhatsApp Version: 2.17.296 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// CFG by 255 | |
// Name | |
name "255" | |
// Rates and fps | |
rate 100000 | |
fps_max 100 | |
cl_updaterate 102 | |
cl_cmdrate 101 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// LAUNCH OPTIONS | |
// -nofbo (makes rendering similar to how it used to be and removes anti-aliasing) | |
// -noforcemparms (if not used, windows will uncheck "enhanced pointer precision every time you load CS) | |
// -freq X or possibly -refresh X (sets your refresh rate to X; command was brought back) | |
// -stretchaspect removes blackbars so you can use a 4:3 aspect ratio resolution in widescreen | |
// Name | |
name "255" | |
// Red stats and fps |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Launch Options | |
// -high -novid -nojoy -nod3d9ex -threads 2 (cantidad de nucleos del procesador) -refresh 60 (hercios del monitor) +exec autoexec.cfg | |
// NETCODE | |
// En un servidor tickrate 64 necesitaríamos 1200 * 64 = 76800 bytes. | |
// De ahi que los servidores de Valve tengan un rate por defecto de 80.000 bytes | |
// En un servidor tickrate 100, 1200*100 = 120000 bytes de rate. | |
// En un servidor tickrate 128*1200 = 153600 bytes de rate. | |
// Rates and fps |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
apt install curl | |
# | |
# Writes sources.list in order to add non-free repository | |
# | |
DEBIAN_RELEASE=`cat /etc/*-release 2> /dev/null | grep PRETTY_NAME | awk -F "=" {'print $2'} | awk -F "(" {'print $2'} | awk -F ")" {'print $1'}` | |
sourcesListFile=/etc/apt/sources.list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
zenity --warning --text="25-minutes pomodoro started!" | |
sleep 1500 | |
echo "Good job! finished pomodoro!" >> ~/finish.txt | |
gedit ~/finish.txt | |
rm ~/finish.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Server configuration | |
sv_cheats 1 | |
mp_limitteams 0 | |
mp_autoteambalance 0 | |
mp_freezetime 0 | |
mp_roundtime 60 | |
mp_roundtime_defuse 60 | |
mp_roundtime_hostage 60 | |
mp_maxmoney 99999 | |
mp_startmoney 99999 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const enviroment = {}; | |
Object.assign(enviroment, process.env); | |
for (let [key, value] of Object.entries(enviroment)) { | |
switch (value) { | |
case "true": | |
enviroment[key] = true; | |
break; | |
case "false": | |
enviroment[key] = false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This file is to register independent modules and dependencies of each entities, usecase, etc. | |
// | |
// All this is fiction: | |
// infrastructure -> External frameworks | |
// interfaces -> Layer of abstraction of frameworks | |
// | |
import serviceLocator from './config/serviceLocator' | |
serviceLocator.register('webserver', () => { // Generic name |
OlderNewer