Skip to content

Instantly share code, notes, and snippets.

View vladshub's full-sized avatar
😛

Vladislav Shub vladshub

😛
View GitHub Profile

Keybase proof

I hereby claim:

  • I am vladshub on github.
  • I am vladshub (https://keybase.io/vladshub) on keybase.
  • I have a public key whose fingerprint is 68DC 59CB 7E0C 7BF7 7F30 70E9 D188 A0E3 4116 3F9A

To claim this, I am signing this object:

@vladshub
vladshub / nc_api.sh
Last active July 31, 2018 20:14
nginx auth_request doesn't post :(
#!/bin/bash
while true ; do echo -e "HTTP/1.1 200 OK\n\n $(date)" | nc -l -p 1501 ; done
@vladshub
vladshub / add_sublime_icon.sh
Created January 3, 2017 13:11
Sublime Text 3 gnome desktop install icon script
#!/bin/bash
#
# Resolve the location of the SublimeText 3 installation.
# This includes resolving any symlinks.
PRG=$0
while [ -h "$PRG" ]; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '^.*-> \(.*\)$' 2>/dev/null`
if expr "$link" : '^/' 2> /dev/null >/dev/null; then
PRG="$link"
@vladshub
vladshub / setup.sh
Last active December 5, 2016 20:00
Setting up new Ubuntu on Lenovo P50
#!/bin/bash
# Fix wifi broken firmware for Intel Corporation Wireless 8260 (rev 3a)
read -p "Fix wifi broken firmware for Intel Corporation Wireless 8260 (rev 3a) ? " -n 1 -r
echo
if [[ ! $REPLY =~ ^[Yy]$ ]]
then
cd /lib/firmware
sudo mv iwlwifi-8000C-22.ucode iwlwifi-8000C-22.ucode.disable
cd
fi
@vladshub
vladshub / index.html.erb
Last active November 23, 2015 08:10
RailsIsrael - Presentation Snippets
<% @products.each do |product| %>
<% cache product do %>
<%= render product %>
<% end %>
<% end %>
@vladshub
vladshub / 0_reuse_code.js
Last active August 29, 2015 14:22
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console

README is empty

README is empty