Skip to content

Instantly share code, notes, and snippets.

View agrublev's full-sized avatar
💭
Always moving forward

Angel Grablev agrublev

💭
Always moving forward
View GitHub Profile
@agrublev
agrublev / configs
Last active March 20, 2023 15:08
csgo
https://cdnme.s3.amazonaws.com/cdn/9924-d705-foralex.cfg
https://cdnme.s3.amazonaws.com/cdn/b72d-5523-CSGO.Config.Manager.exe
https://cdnme.s3.amazonaws.com/cdn/1c6b-8708-ALL-CSGO-CONFS.zip
https://gist.github.com/agrublev/7505d99dc13ced0a933eb78ea08e7061
https://gist.github.com/agrublev/7505d99dc13ced0a933eb78ea08e7061
@agrublev
agrublev / bootstrap.sh
Last active November 10, 2022 07:15 — forked from hemenkapadia/bootstrap.sh
[Ubuntu Bootstrap]
#!/bin/bash
# Check sudo.
# If credentials not already cached, ask for password and cache credentials.
# If already cached, increase sudo timeout by 5 min
sudo -v && exit 1 'Sudo access needed to execute this script'
# First update
echo "Updating apt list ...."
@agrublev
agrublev / unquoted_json_fix.js
Last active April 5, 2022 09:38 — forked from larruda/unquoted_json_fix.js
REGEX to add quotes to JSON unquoted keys (turns an invalid JSON into a valid one). fix json string
const fixJsonStr=str=>str.replace(/(\s*?{\s*?|\s*?,\s*?)(['"])?([a-zA-Z0-9_]+)(['"])?:/g, '$1"$3":');
let zzzz=fixJsonStr(`{
"kettty": "",
asds: [], kggk:{},
"ga": 222,
"sad": {
"zz": 0,
"as": false,
"gag": []
@agrublev
agrublev / apps.txt
Last active November 19, 2020 22:28
apps
https://cdnme.s3.amazonaws.com/cdn/0afb-87db-Angel%20Reader-1.0.0.dmg
https://cdnme.s3.amazonaws.com/cdn/66c3-f080-Angel%20Reader.app.zip
@agrublev
agrublev / better-font-smoothing.css
Created May 27, 2020 11:02 — forked from hsleonis/better-font-smoothing.css
Better font smoothing in cross browser
html {
/* Adjust font size */
font-size: 100%;
-webkit-text-size-adjust: 100%;
/* Font varient */
font-variant-ligatures: none;
-webkit-font-variant-ligatures: none;
/* Smoothing */
text-rendering: optimizeLegibility;
-moz-osx-font-smoothing: grayscale;
https://cdnme.s3.amazonaws.com/cdn/1c6b-8708-ALL-CSGO-CONFS.zip
https://github.com/lucaspalencia/cs-go
https://github.com/sbuggay/csgo-sync
https://www.razer.com/cortex
//gens
https://tools.dathost.net/#alpha=200/color=5/color_b=50/color_r=50/color_g=250/dot=0/gap=0/size=5/style=4/usealpha=1/thickness=0.5/outline=0/outline_draw=0
@agrublev
agrublev / extend.js
Created March 18, 2020 04:52
Extend Object Fully
const uniqueElements = arr => [...new Set(arr)];
const getType = v =>
v === undefined
? "undefined"
: v === null
? "null"
: v.constructor.name.toLowerCase();
const extendObject = (obj, obj2) => {
@agrublev
agrublev / release.js
Created March 5, 2020 02:52
RELEASE SCRIPT NICE NODE
#!/usr/bin/env node
const {exec} = require('child_process');
const fs = require('fs');
const path = require('path');
const semver = require('semver');
const ora = require('ora');
const chalk = require('chalk');
const indent = require('detect-indent');
const inquirer = require('inquirer');
@agrublev
agrublev / CircularJSON.js
Last active February 20, 2020 16:49
Circular JSON stringify
var // should be a not so common char
// possibly one JSON does not encode
// possibly one encodeURIComponent does not encode
// right now this char is '~' but this might change in the future
specialChar = "~",
safeSpecialChar = "\\x" + ("0" + specialChar.charCodeAt(0).toString(16)).slice(-2),
escapedSafeSpecialChar = "\\" + safeSpecialChar,
specialCharRG = new RegExp(safeSpecialChar, "g"),
safeSpecialCharRG = new RegExp(escapedSafeSpecialChar, "g"),
safeStartWithSpecialCharRG = new RegExp("(?:^|([^\\\\]))" + escapedSafeSpecialChar),
@agrublev
agrublev / asdsad.md
Last active December 17, 2019 16:08

(fix) [teas] sad - 2016-09-07

5343}

Updated:


package bump type
"@f/fkit" patch