Skip to content

Instantly share code, notes, and snippets.

View delqn's full-sized avatar
👓
Reviewing your code...

Delyan Raychev delqn

👓
Reviewing your code...
View GitHub Profile
@delqn
delqn / twittermute.txt
Created January 26, 2020 20:03 — forked from IanColdwater/twittermute.txt
Here are some terms to mute on Twitter to clean your timeline up a bit.
Mute these words in your settings here: https://twitter.com/settings/muted_keywords
ActivityTweet
generic_activity_highlights
generic_activity_momentsbreaking
RankedOrganicTweet
suggest_activity
suggest_activity_feed
suggest_activity_highlights
suggest_activity_tweet
@delqn
delqn / far-Manager hotkey
Created October 25, 2019 02:58 — forked from ezhov-da/far-Manager hotkey
far manager hotkey
==> https://lifehacker.ru/2013/05/16/15-poleznyx-funkcij-far-manager/
CTRL + 1..9 - отображение файлов в панели
ALT + стрелка влева/вправо - промотать длинные названия файлов
CTRL + F3..F11 - режимы сортировки
CTRL + F12 - список сортировок
F3 на папке - размер папки
ALT + F7 - посик файлов/по файлу
ALT + F1/F2 - панели
F5 - копирование на временную панель
#!/usr/bin/env sh
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
apt-cache policy docker-ce
sudo apt-get install -y docker-ce
sudo systemctl status docker
@delqn
delqn / installing_cuda_on_azure_nc_tesla_k80_ubuntu.md
Created August 25, 2019 16:03 — forked from bzamecnik/installing_cuda_on_azure_nc_tesla_k80_ubuntu.md
Installing NVIDIA CUDA on Azure NC with Tesla K80 and Ubuntu 16.04
@delqn
delqn / eds1.yaml
Last active August 16, 2019 20:44 — forked from salrashid123/eds1.yaml
eds1
- name: listener_0
address:
socket_address: { address: 0.0.0.0, port_value: 10000 }
filter_chains:
- filters:
- name: envoy.http_connection_manager
config:
stat_prefix: ingress_http
...
...
@delqn
delqn / delete-mail.js
Created June 16, 2019 04:54
Delete Messages from Gmail -- GreaseMonkey script
// ==UserScript==
// @name Unnamed Script 525870
// @version 1
// @grant none
// @match https://mail.google.com/mail/u/0/*
window.addEventListener('load', function() {
for(let x of document.getElementsByName('t')) {
console.log(x);
x.click();
}
// Modified from: http://www.labnol.org/internet/gmail-auto-purge/27605/
// Labels to support
// Delete after 15 days
// Delete after 30 days
// Delete after 90 days
var days = [15,30,90];
function Intialize() {
return;
a:=RandomVariate[StableDistribution[1,0,0,1],10^7]//Timing //Take[#,1]&; b:=RandomVariate[StableDistribution[1.3,.2,.3,1],10^7]//Timing //Take[#,1]&; c:=RandomVariate[NormalDistribution[0,1],10^7]//Timing //Take[#,1]&; {a, b, c}
@delqn
delqn / go_for_the_impatient_pythonistas.md
Last active October 8, 2018 06:13
Go for the Impatient Pythonistas

Go for the Impatient (Pythonistas)

From the perspective of a Pythonista

Lists

  • Python: x = ["hey", "there"]
  • Go: x := []string{"hey", "there"}

Sets

  • Python: x = set(["hey", "there"])
  • Go (no sets):
@delqn
delqn / startups on caltrain.md
Last active April 17, 2017 15:36
startups on caltrain
  • Dr. AI by HealthTap
  • Docker
  • Box
  • yubico
  • intuit
  • YuMe
  • AOL
  • SAP
  • Indivio
  • Uber